diff --git a/cloudauth-intl-20220809/ChangeLog.txt b/cloudauth-intl-20220809/ChangeLog.txt index 4a5eeb1811..ce61eaf38b 100644 --- a/cloudauth-intl-20220809/ChangeLog.txt +++ b/cloudauth-intl-20220809/ChangeLog.txt @@ -1,3 +1,6 @@ +2024-01-25 Version: 1.3.2 +- Update Tea. + 2024-01-22 Version: 1.3.1 - Generated java 2022-08-09 for Cloudauth-intl. diff --git a/cloudauth-intl-20220809/pom.xml b/cloudauth-intl-20220809/pom.xml index af4d914170..078745dd73 100644 --- a/cloudauth-intl-20220809/pom.xml +++ b/cloudauth-intl-20220809/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.aliyun cloudauth_intl20220809 - 1.3.1 + 1.3.2 jar cloudauth_intl20220809 Alibaba Cloud Cloudauth-intl (20220809) SDK for Java @@ -46,7 +46,7 @@ com.aliyun tea-openapi - 0.3.1 + 0.3.2 com.aliyun @@ -61,7 +61,7 @@ com.aliyun tea - 1.2.0 + 1.2.7 diff --git a/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/Client.java b/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/Client.java index 67bed10eb5..5b1e75d207 100644 --- a/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/Client.java +++ b/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/Client.java @@ -45,10 +45,6 @@ public CardOcrResponse cardOcrWithOptions(CardOcrRequest request, com.aliyun.tea query.put("IdFaceQuality", request.idFaceQuality); } - if (!com.aliyun.teautil.Common.isUnset(request.idOcrPictureBase64)) { - query.put("IdOcrPictureBase64", request.idOcrPictureBase64); - } - if (!com.aliyun.teautil.Common.isUnset(request.idOcrPictureUrl)) { query.put("IdOcrPictureUrl", request.idOcrPictureUrl); } @@ -73,8 +69,14 @@ public CardOcrResponse cardOcrWithOptions(CardOcrRequest request, com.aliyun.tea query.put("Spoof", request.spoof); } + java.util.Map body = new java.util.HashMap<>(); + if (!com.aliyun.teautil.Common.isUnset(request.idOcrPictureBase64)) { + body.put("IdOcrPictureBase64", request.idOcrPictureBase64); + } + com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( - new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) + new TeaPair("query", com.aliyun.openapiutil.Client.query(query)), + new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "CardOcr"), diff --git a/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/CardOcrResponse.java b/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/CardOcrResponse.java index d7f870bc3c..28634cb7ed 100644 --- a/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/CardOcrResponse.java +++ b/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/CardOcrResponse.java @@ -5,15 +5,12 @@ public class CardOcrResponse extends TeaModel { @NameInMap("headers") - @Validation(required = true) public java.util.Map headers; @NameInMap("statusCode") - @Validation(required = true) public Integer statusCode; @NameInMap("body") - @Validation(required = true) public CardOcrResponseBody body; public static CardOcrResponse build(java.util.Map map) throws Exception { diff --git a/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/CheckResultResponse.java b/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/CheckResultResponse.java index 3e0faef1dc..c8fb622a2b 100644 --- a/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/CheckResultResponse.java +++ b/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/CheckResultResponse.java @@ -5,15 +5,12 @@ public class CheckResultResponse extends TeaModel { @NameInMap("headers") - @Validation(required = true) public java.util.Map headers; @NameInMap("statusCode") - @Validation(required = true) public Integer statusCode; @NameInMap("body") - @Validation(required = true) public CheckResultResponseBody body; public static CheckResultResponse build(java.util.Map map) throws Exception { diff --git a/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/DeletePictureResponse.java b/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/DeletePictureResponse.java index 228bb6014b..5fc008f56c 100644 --- a/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/DeletePictureResponse.java +++ b/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/DeletePictureResponse.java @@ -5,15 +5,12 @@ public class DeletePictureResponse extends TeaModel { @NameInMap("headers") - @Validation(required = true) public java.util.Map headers; @NameInMap("statusCode") - @Validation(required = true) public Integer statusCode; @NameInMap("body") - @Validation(required = true) public DeletePictureResponseBody body; public static DeletePictureResponse build(java.util.Map map) throws Exception { diff --git a/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/DeleteVerifyResultResponse.java b/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/DeleteVerifyResultResponse.java index 3761708140..301fa033a3 100644 --- a/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/DeleteVerifyResultResponse.java +++ b/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/DeleteVerifyResultResponse.java @@ -5,15 +5,12 @@ public class DeleteVerifyResultResponse extends TeaModel { @NameInMap("headers") - @Validation(required = true) public java.util.Map headers; @NameInMap("statusCode") - @Validation(required = true) public Integer statusCode; @NameInMap("body") - @Validation(required = true) public DeleteVerifyResultResponseBody body; public static DeleteVerifyResultResponse build(java.util.Map map) throws Exception { diff --git a/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/DescribeAddressLabelsResponse.java b/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/DescribeAddressLabelsResponse.java index 83a9fd6bdf..8529fd714a 100644 --- a/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/DescribeAddressLabelsResponse.java +++ b/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/DescribeAddressLabelsResponse.java @@ -5,15 +5,12 @@ public class DescribeAddressLabelsResponse extends TeaModel { @NameInMap("headers") - @Validation(required = true) public java.util.Map headers; @NameInMap("statusCode") - @Validation(required = true) public Integer statusCode; @NameInMap("body") - @Validation(required = true) public DescribeAddressLabelsResponseBody body; public static DescribeAddressLabelsResponse build(java.util.Map map) throws Exception { diff --git a/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/DescribeAddressOverviewResponse.java b/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/DescribeAddressOverviewResponse.java index fd41ffa717..6ce79efd46 100644 --- a/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/DescribeAddressOverviewResponse.java +++ b/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/DescribeAddressOverviewResponse.java @@ -5,15 +5,12 @@ public class DescribeAddressOverviewResponse extends TeaModel { @NameInMap("headers") - @Validation(required = true) public java.util.Map headers; @NameInMap("statusCode") - @Validation(required = true) public Integer statusCode; @NameInMap("body") - @Validation(required = true) public DescribeAddressOverviewResponseBody body; public static DescribeAddressOverviewResponse build(java.util.Map map) throws Exception { diff --git a/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/DescribeMaliciousAddressResponse.java b/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/DescribeMaliciousAddressResponse.java index 78f9681725..f4ec1e062f 100644 --- a/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/DescribeMaliciousAddressResponse.java +++ b/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/DescribeMaliciousAddressResponse.java @@ -5,15 +5,12 @@ public class DescribeMaliciousAddressResponse extends TeaModel { @NameInMap("headers") - @Validation(required = true) public java.util.Map headers; @NameInMap("statusCode") - @Validation(required = true) public Integer statusCode; @NameInMap("body") - @Validation(required = true) public DescribeMaliciousAddressResponseBody body; public static DescribeMaliciousAddressResponse build(java.util.Map map) throws Exception { diff --git a/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/DescribeRiskScoreResponse.java b/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/DescribeRiskScoreResponse.java index 649a685cfc..a49103ee6c 100644 --- a/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/DescribeRiskScoreResponse.java +++ b/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/DescribeRiskScoreResponse.java @@ -5,15 +5,12 @@ public class DescribeRiskScoreResponse extends TeaModel { @NameInMap("headers") - @Validation(required = true) public java.util.Map headers; @NameInMap("statusCode") - @Validation(required = true) public Integer statusCode; @NameInMap("body") - @Validation(required = true) public DescribeRiskScoreResponseBody body; public static DescribeRiskScoreResponse build(java.util.Map map) throws Exception { diff --git a/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/DescribeTransactionsListResponse.java b/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/DescribeTransactionsListResponse.java index 1d4a92bd54..b50dfc4af9 100644 --- a/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/DescribeTransactionsListResponse.java +++ b/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/DescribeTransactionsListResponse.java @@ -5,15 +5,12 @@ public class DescribeTransactionsListResponse extends TeaModel { @NameInMap("headers") - @Validation(required = true) public java.util.Map headers; @NameInMap("statusCode") - @Validation(required = true) public Integer statusCode; @NameInMap("body") - @Validation(required = true) public DescribeTransactionsListResponseBody body; public static DescribeTransactionsListResponse build(java.util.Map map) throws Exception { diff --git a/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/DescribeWeb3AddressLabelsResponse.java b/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/DescribeWeb3AddressLabelsResponse.java index 521b3a7ffe..256fe7a99e 100644 --- a/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/DescribeWeb3AddressLabelsResponse.java +++ b/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/DescribeWeb3AddressLabelsResponse.java @@ -5,15 +5,12 @@ public class DescribeWeb3AddressLabelsResponse extends TeaModel { @NameInMap("headers") - @Validation(required = true) public java.util.Map headers; @NameInMap("statusCode") - @Validation(required = true) public Integer statusCode; @NameInMap("body") - @Validation(required = true) public DescribeWeb3AddressLabelsResponseBody body; public static DescribeWeb3AddressLabelsResponse build(java.util.Map map) throws Exception { diff --git a/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/DescribeWeb3RiskScoreResponse.java b/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/DescribeWeb3RiskScoreResponse.java index 53ebf402fc..69b41a79a9 100644 --- a/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/DescribeWeb3RiskScoreResponse.java +++ b/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/DescribeWeb3RiskScoreResponse.java @@ -5,15 +5,12 @@ public class DescribeWeb3RiskScoreResponse extends TeaModel { @NameInMap("headers") - @Validation(required = true) public java.util.Map headers; @NameInMap("statusCode") - @Validation(required = true) public Integer statusCode; @NameInMap("body") - @Validation(required = true) public DescribeWeb3RiskScoreResponseBody body; public static DescribeWeb3RiskScoreResponse build(java.util.Map map) throws Exception { diff --git a/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/DescribeWeb3TransactionLabelsResponse.java b/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/DescribeWeb3TransactionLabelsResponse.java index dfd31f150b..0cf7071442 100644 --- a/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/DescribeWeb3TransactionLabelsResponse.java +++ b/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/DescribeWeb3TransactionLabelsResponse.java @@ -5,15 +5,12 @@ public class DescribeWeb3TransactionLabelsResponse extends TeaModel { @NameInMap("headers") - @Validation(required = true) public java.util.Map headers; @NameInMap("statusCode") - @Validation(required = true) public Integer statusCode; @NameInMap("body") - @Validation(required = true) public DescribeWeb3TransactionLabelsResponseBody body; public static DescribeWeb3TransactionLabelsResponse build(java.util.Map map) throws Exception { diff --git a/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/DocOcrResponse.java b/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/DocOcrResponse.java index a3fcec6aa8..ef06afa9c2 100644 --- a/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/DocOcrResponse.java +++ b/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/DocOcrResponse.java @@ -5,15 +5,12 @@ public class DocOcrResponse extends TeaModel { @NameInMap("headers") - @Validation(required = true) public java.util.Map headers; @NameInMap("statusCode") - @Validation(required = true) public Integer statusCode; @NameInMap("body") - @Validation(required = true) public DocOcrResponseBody body; public static DocOcrResponse build(java.util.Map map) throws Exception { diff --git a/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/EkycVerifyResponse.java b/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/EkycVerifyResponse.java index 50ba842d72..952ae1afe8 100644 --- a/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/EkycVerifyResponse.java +++ b/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/EkycVerifyResponse.java @@ -5,15 +5,12 @@ public class EkycVerifyResponse extends TeaModel { @NameInMap("headers") - @Validation(required = true) public java.util.Map headers; @NameInMap("statusCode") - @Validation(required = true) public Integer statusCode; @NameInMap("body") - @Validation(required = true) public EkycVerifyResponseBody body; public static EkycVerifyResponse build(java.util.Map map) throws Exception { diff --git a/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/FaceCompareResponse.java b/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/FaceCompareResponse.java index 365935d33b..9fd89ab7cf 100644 --- a/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/FaceCompareResponse.java +++ b/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/FaceCompareResponse.java @@ -5,15 +5,12 @@ public class FaceCompareResponse extends TeaModel { @NameInMap("headers") - @Validation(required = true) public java.util.Map headers; @NameInMap("statusCode") - @Validation(required = true) public Integer statusCode; @NameInMap("body") - @Validation(required = true) public FaceCompareResponseBody body; public static FaceCompareResponse build(java.util.Map map) throws Exception { diff --git a/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/FaceLivenessResponse.java b/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/FaceLivenessResponse.java index 13a2ee5498..45ddc9127a 100644 --- a/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/FaceLivenessResponse.java +++ b/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/FaceLivenessResponse.java @@ -5,15 +5,12 @@ public class FaceLivenessResponse extends TeaModel { @NameInMap("headers") - @Validation(required = true) public java.util.Map headers; @NameInMap("statusCode") - @Validation(required = true) public Integer statusCode; @NameInMap("body") - @Validation(required = true) public FaceLivenessResponseBody body; public static FaceLivenessResponse build(java.util.Map map) throws Exception { diff --git a/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/FraudResultCallBackResponse.java b/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/FraudResultCallBackResponse.java index 41c97c95ad..675fcec09b 100644 --- a/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/FraudResultCallBackResponse.java +++ b/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/FraudResultCallBackResponse.java @@ -5,15 +5,12 @@ public class FraudResultCallBackResponse extends TeaModel { @NameInMap("headers") - @Validation(required = true) public java.util.Map headers; @NameInMap("statusCode") - @Validation(required = true) public Integer statusCode; @NameInMap("body") - @Validation(required = true) public FraudResultCallBackResponseBody body; public static FraudResultCallBackResponse build(java.util.Map map) throws Exception { diff --git a/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/Id2MetaVerifyIntlResponse.java b/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/Id2MetaVerifyIntlResponse.java index f300d4eff5..880c0da937 100644 --- a/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/Id2MetaVerifyIntlResponse.java +++ b/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/Id2MetaVerifyIntlResponse.java @@ -5,15 +5,12 @@ public class Id2MetaVerifyIntlResponse extends TeaModel { @NameInMap("headers") - @Validation(required = true) public java.util.Map headers; @NameInMap("statusCode") - @Validation(required = true) public Integer statusCode; @NameInMap("body") - @Validation(required = true) public Id2MetaVerifyIntlResponseBody body; public static Id2MetaVerifyIntlResponse build(java.util.Map map) throws Exception { diff --git a/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/InitializeResponse.java b/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/InitializeResponse.java index e26855cdc5..5f6d442742 100644 --- a/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/InitializeResponse.java +++ b/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/InitializeResponse.java @@ -5,15 +5,12 @@ public class InitializeResponse extends TeaModel { @NameInMap("headers") - @Validation(required = true) public java.util.Map headers; @NameInMap("statusCode") - @Validation(required = true) public Integer statusCode; @NameInMap("body") - @Validation(required = true) public InitializeResponseBody body; public static InitializeResponse build(java.util.Map map) throws Exception { diff --git a/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/Mobile3MetaVerifyIntlResponse.java b/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/Mobile3MetaVerifyIntlResponse.java index e654398601..bf437dbfb4 100644 --- a/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/Mobile3MetaVerifyIntlResponse.java +++ b/cloudauth-intl-20220809/src/main/java/com/aliyun/cloudauth_intl20220809/models/Mobile3MetaVerifyIntlResponse.java @@ -5,15 +5,12 @@ public class Mobile3MetaVerifyIntlResponse extends TeaModel { @NameInMap("headers") - @Validation(required = true) public java.util.Map headers; @NameInMap("statusCode") - @Validation(required = true) public Integer statusCode; @NameInMap("body") - @Validation(required = true) public Mobile3MetaVerifyIntlResponseBody body; public static Mobile3MetaVerifyIntlResponse build(java.util.Map map) throws Exception {