tencentcloud-sdk-nodejs-intl-en 3.0.1470 → 3.0.1472

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -71,6 +71,7 @@ const DeleteEKYCWebhookRequest = models.DeleteEKYCWebhookRequest;
71
71
  const LivenessCompareRequest = models.LivenessCompareRequest;
72
72
  const MLIDCard = models.MLIDCard;
73
73
  const GetFaceIdResultIntlResponse = models.GetFaceIdResultIntlResponse;
74
+ const ExtraRiskResult = models.ExtraRiskResult;
74
75
  const CheckBankCardInformationRequest = models.CheckBankCardInformationRequest;
75
76
  const ListEKYCWebhooksRequest = models.ListEKYCWebhooksRequest;
76
77
  const BankCardVerificationRequest = models.BankCardVerificationRequest;
@@ -99,6 +100,7 @@ const ApplyWebVerificationBizTokenIntlRequest = models.ApplyWebVerificationBizTo
99
100
  const FileInfo = models.FileInfo;
100
101
  const PhilippinesDrivingLicense = models.PhilippinesDrivingLicense;
101
102
  const GenerateReflectSequenceResponse = models.GenerateReflectSequenceResponse;
103
+ const ExtraRiskInfo = models.ExtraRiskInfo;
102
104
  const IdCardVerificationResponse = models.IdCardVerificationResponse;
103
105
  const WebVerificationConfigIntl = models.WebVerificationConfigIntl;
104
106
  const CompareResult = models.CompareResult;
@@ -118,6 +120,7 @@ const VideoLivenessCompareResponse = models.VideoLivenessCompareResponse;
118
120
  const UpdateAMLCustomerProfileResponse = models.UpdateAMLCustomerProfileResponse;
119
121
  const BankCard2EVerificationRequest = models.BankCard2EVerificationRequest;
120
122
  const Address = models.Address;
123
+ const BlackListItem = models.BlackListItem;
121
124
  const RetrievalLivenessExtraInfo = models.RetrievalLivenessExtraInfo;
122
125
  const ImageRecognitionV2Request = models.ImageRecognitionV2Request;
123
126
  const MainlandIDCard = models.MainlandIDCard;
@@ -130,6 +133,7 @@ const NormalHKIDCard = models.NormalHKIDCard;
130
133
  const GetSdkVerificationResultRequest = models.GetSdkVerificationResultRequest;
131
134
  const RunAMLNameScreeningRequest = models.RunAMLNameScreeningRequest;
132
135
  const ApplyLivenessTokenRequest = models.ApplyLivenessTokenRequest;
136
+ const RiskDetailItem = models.RiskDetailItem;
133
137
  const GetNFCTokenRequest = models.GetNFCTokenRequest;
134
138
  const UpdateAMLOngoingScreeningStatusRequest = models.UpdateAMLOngoingScreeningStatusRequest;
135
139
  const TaiWanIDCard = models.TaiWanIDCard;
@@ -375,7 +379,7 @@ The data generated with the SDK must be stored in COS, and the region of the COS
375
379
  }
376
380
 
377
381
  /**
378
- * Based on the multimodal AI large model algorithm, it provides anti-attack detection capabilities for facial images and videos. It can effectively identify highly simulated AIGC face-changing, high-definition remakes, batch black market attacks, watermarks and other attack traces, and enhance the anti-counterfeiting security capabilities of images and videos.
382
+ * Based on multimodal AI large model algorithms, this API provides anti-attack detection capabilities for face images and videos. It can effectively identify highly realistic AIGC face swaps, high-definition recaptures, batch black-market attacks, watermarks, and other attack traces, enhancing the anti-counterfeiting security capabilities for images and videos.
379
383
  * @param {DetectAIFakeFacesRequest} req
380
384
  * @param {function(string, DetectAIFakeFacesResponse):void} cb
381
385
  * @public
@@ -83,7 +83,7 @@ class GetLivenessResultResponse extends AbstractModel {
83
83
  }
84
84
 
85
85
  /**
86
- * Suspected attack detail
86
+ * Suspected attack risk details
87
87
  * @class
88
88
  */
89
89
  class AttackRiskDetail extends AbstractModel {
@@ -91,7 +91,7 @@ class AttackRiskDetail extends AbstractModel {
91
91
  super();
92
92
 
93
93
  /**
94
- * <p>Suspected attack trace type, specific type as follows:<br>SuspectedSpoofingAttack: Re-photography Attack<br>SuspectedSynthesisImage: Suspected synthesized image<br>SuspectedSynthesisVideo: Suspected synthesized video<br>SuspectedAnomalyAttack: Facial features suspected of not being real<br>SuspectedAdversarialAttack: Suspected adversarial sample attack<br>SuspectedBlackIndustry: Suspected black industry batch Template attack<br>SuspectedWatermark: Suspected watermark</p>
94
+ * <p>Types of suspected attack traces. The specific types are as follows:<br>SuspectedSpoofingAttack: Recapture attack<br>SuspectedSynthesisImage: Suspected synthetic image<br>SuspectedSynthesisVideo: Suspected synthetic video<br>SuspectedAnomalyAttack: Suspected non-live facial features<br>SuspectedAdversarialAttack: Suspected adversarial example attack<br>SuspectedBlackIndustry: Suspected batch template attack from black market operations<br>SuspectedWatermark: Suspected watermark presence</p>
95
95
  * @type {string || null}
96
96
  */
97
97
  this.Type = null;
@@ -111,7 +111,7 @@ class AttackRiskDetail extends AbstractModel {
111
111
  }
112
112
 
113
113
  /**
114
- * Additional details
114
+ * Additional detailed information
115
115
  * @class
116
116
  */
117
117
  class ExtraInfo extends AbstractModel {
@@ -119,7 +119,7 @@ class ExtraInfo extends AbstractModel {
119
119
  super();
120
120
 
121
121
  /**
122
- * Detailed information of the hit template, return only the template information with the highest similarity.
122
+ * Detailed information of the matched template. Only the template with the highest similarity is returned.
123
123
  * @type {Array.<RetrievalLivenessExtraInfo> || null}
124
124
  */
125
125
  this.RetrievalLivenessExtraInfo = null;
@@ -981,29 +981,35 @@ class DetectAIFakeFacesRequest extends AbstractModel {
981
981
  super();
982
982
 
983
983
  /**
984
- * <p>Import the face image or facial video to be detected (currently only single face detection is supported) in base64 encoding. If your scenario involves both video and image, we recommend using video for detection. For better detection results, please note the following input data limits and suggestions:</p><ul><li><p>base64 value of the image:<br>Recommend an overall image resolution of 480x640, with the face size no less than 100x100, captured by the mobile front camera.<br>The size of the base64-encoded image data is recommended not to exceed 3M, with a maximum of 10M. Only jpg and png formats are supported.<br>Please use the standard base64 encoding method (with = padding). Refer to RFC4648 for the coding specification.</p></li><li><p>base64 value of the video:<br>The size after base64 encoding is recommended to be within 8M, with a maximum of 10M. Supported formats include mp4, avi,flv,and mov, captured by the mobile front camera.<br>Video duration is recommended to be 2-5s, with a maximum of 20s.<br>Video resolution is recommended at 480x640 (maximum support for 720p), with a frame rate between 25fps and 30fps.<br>Please use the standard base64 encoding method (with = padding). Refer to RFC4648 for the coding specification.</p></li></ul><p>If you do not use Encryption for secure transmission, this field is a required parameter.</p>
984
+ * <p>Pass in the face image or face video to be detected (currently only single-face detection is supported), encoded in Base64. If both video and image are available in your scenario, we recommend using video for detection. For better detection results, note the following restrictions and recommendations for input data:</p><ul><li><p>Base64 value of the image:<br>Recommended overall image resolution is 480x640, with the face size above 100X100, captured by the front camera of a mobile phone.<br>The Base64-encoded image data is recommended to be no more than 3 MB, and must not exceed 10 MB. Only jpg and png formats are supported.<br>Use the standard Base64 encoding method (with = padding). For encoding specifications, refer to RFC4648.</p></li><li><p>Base64 value of the video:<br>The Base64-encoded size is recommended to be within 8 MB, and must not exceed 10 MB. mp4, avi, flv, and mov formats are supported, captured by the front camera of a mobile phone.<br>Recommended video duration is 2 to 5 seconds, and must not exceed 20 seconds.<br>Recommended video resolution is 480x640 (up to 720p supported), with a frame rate between 25 fps and 30 fps.<br>Use the standard Base64 encoding method (with = padding). For encoding specifications, refer to RFC4648.</p></li></ul><p>If you do not use Encryption for encrypted transmission, this field is required.</p>
985
985
  * @type {string || null}
986
986
  */
987
987
  this.FaceInput = null;
988
988
 
989
989
  /**
990
- * <p>Passed in type.</p><ul><li>Value ranges from 1 to 2:<br>1: Passed in image type.<br>2: Passed in video type.<br>Other: Return error code InvalidParameter.</li></ul><p>If you do not use Encryption for encrypting transmission, this field is mandatory.</p>
990
+ * <p>Type of the input.</p><ul><li>Valid values:<br>1: image type.<br>2: video type.<br>Others: the error code InvalidParameter is returned.</li></ul><p>If you do not use Encryption for encrypted transmission, this field is required.</p>
991
991
  * @type {number || null}
992
992
  */
993
993
  this.FaceInputType = null;
994
994
 
995
995
  /**
996
- * <p>Whether to encrypt the entire request information.</p><ul><li>Supported encryption algorithms: AES-256-CBC, SM4-GCM.</li><li>The user with encryption requirements can use this parameter. For details, please click the left-side link.</li></ul>
996
+ * <p>Whether to encrypt the entire request body.</p><ul><li>Supported encryption algorithms: AES-256-CBC and SM4-GCM.</li><li>Users with encryption requirements can use this parameter. For details, click the link on the left.</li></ul>
997
997
  * @type {Encryption || null}
998
998
  */
999
999
  this.Encryption = null;
1000
1000
 
1001
1001
  /**
1002
- * <p>Encrypted ciphertext.</p><ul><li>The data format before encryption is as follows: {"FaceInput":"AAAAA","FaceInputType":1}.</li></ul>
1002
+ * <p>Encrypted ciphertext.</p><ul><li>The data format before encryption is as follows: {&quot;FaceInput&quot;:&quot;AAAAA&quot;,&quot;FaceInputType&quot;:1}.</li></ul>
1003
1003
  * @type {string || null}
1004
1004
  */
1005
1005
  this.EncryptedBody = null;
1006
1006
 
1007
+ /**
1008
+ * <p>Carries the risk control context of this request at one time, that is, "who, where, and from which IP the request is initiated".</p>
1009
+ * @type {ExtraRiskInfo || null}
1010
+ */
1011
+ this.ExtraRiskInfo = null;
1012
+
1007
1013
  }
1008
1014
 
1009
1015
  /**
@@ -1023,6 +1029,12 @@ class DetectAIFakeFacesRequest extends AbstractModel {
1023
1029
  }
1024
1030
  this.EncryptedBody = 'EncryptedBody' in params ? params.EncryptedBody : null;
1025
1031
 
1032
+ if (params.ExtraRiskInfo) {
1033
+ let obj = new ExtraRiskInfo();
1034
+ obj.deserialize(params.ExtraRiskInfo)
1035
+ this.ExtraRiskInfo = obj;
1036
+ }
1037
+
1026
1038
  }
1027
1039
  }
1028
1040
 
@@ -2600,6 +2612,7 @@ class ApplySdkVerificationTokenRequest extends AbstractModel {
2600
2612
  1: OCR + liveness detection + face comparison
2601
2613
  2: Liveness detection + face comparison
2602
2614
  3: Liveness detection
2615
+ 4: OCR
2603
2616
  Default value: 1
2604
2617
  * @type {number || null}
2605
2618
  */
@@ -2986,8 +2999,11 @@ Note: This field may return null, indicating that no valid values can be obtaine
2986
2999
  -9101 Alarm for covered certificate,
2987
3000
  -9102 Alarm for photocopied certificate,
2988
3001
  -9103 Alarm for photographed certificate,
3002
+ -9104 Alarm for tamper certificate,
2989
3003
  -9107 Alarm for reflective certificate,
2990
3004
  -9108 Alarm for blurry image,
3005
+ -8101 Alarm for document information format verification,
3006
+ -8102 Alarm for document information consistency verification,
2991
3007
  -9109 This capability is not enabled.
2992
3008
  * @type {Array.<number> || null}
2993
3009
  */
@@ -2999,6 +3015,12 @@ Note: This field may return null, indicating that no valid values can be obtaine
2999
3015
  */
3000
3016
  this.EditDetails = null;
3001
3017
 
3018
+ /**
3019
+ * Detected card type. Returns the corresponding document type combining country or region name and document type. Enums: Passport, IndonesiaIDCard, MalaysiaIDCard, SingaporeIDCard, ThailandIDCard, ThailandPinkCard, VietnamIDCard, MyanmarDriverLicense, HongKongIDCard, MacaoIDCard, TaiwanIDCard, HmtTravelPermit, HmtMainlandTravelPermit, HmtResidencePermit, HmtResidencePermitBack, MainlandIDCard, MainlandIDCardBack, MainlandTempIDCard, MainlandTempIDCardBack, BrazilIDCard, BrazilIDCardBack, BrazilRNM, BrazilRNMBack, BrazilRNE, BrazilDriverLicense, BrazilDriverLicenseBack, MexicoVoterCard, PhilippinesUMID, PhilippinesDriverLicense, PhilippinesVoteID, PhilippinesSSSID, PhilippinesTINID, PhilippinesNationalID, PhilippinesPRCID, PhilippinesPostalID, PhilippinesHealthCard, Other.
3020
+ * @type {string || null}
3021
+ */
3022
+ this.DetectedCardType = null;
3023
+
3002
3024
  }
3003
3025
 
3004
3026
  /**
@@ -3051,6 +3073,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
3051
3073
  this.EditDetails.push(obj);
3052
3074
  }
3053
3075
  }
3076
+ this.DetectedCardType = 'DetectedCardType' in params ? params.DetectedCardType : null;
3054
3077
 
3055
3078
  }
3056
3079
  }
@@ -4287,23 +4310,29 @@ class DetectAIFakeFacesResponse extends AbstractModel {
4287
4310
  super();
4288
4311
 
4289
4312
  /**
4290
- * <p>Detection result for the input image/video to check the existence of face spoofing attack.</p><ul><li>Low: Low attack risk.</li><li>Mid: Moderately suspected attack.</li><li>High: Highly suspected attack.</li></ul><p>It is advisable to judge as interception when the return value is High, and pass for Mid and Low to better balance security and pass rate.</p>
4313
+ * <p>Detection result for the input image/video, indicating whether a face attack exists.</p><ul><li>Low: Low attack risk.</li><li>Mid: Moderate suspected attack.</li><li>High: High suspected attack.</li></ul><p>It is recommended to block requests when the returned value is High, and allow requests when the value is Mid or Low, to better balance security and pass rate.</p>
4291
4314
  * @type {string || null}
4292
4315
  */
4293
4316
  this.AttackRiskLevel = null;
4294
4317
 
4295
4318
  /**
4296
- * <p>List of suspected attack traces detected. It is returned only when AttackRiskLevel is High or Mid.</p><ul><li>Description: Return an empty array if no attack traces are detected.</li><li>This output parameter is for result determination reference. The result of AttackRiskLevel is still recommended for actual use.</li></ul>
4319
+ * <p>List of detected suspected attack traces. Returned only when AttackRiskLevel is High or Mid.</p><ul><li>Note: An empty array is returned when no attack trace is detected.</li><li>This output parameter is for reference only. It is recommended to use the result of AttackRiskLevel in actual applications.</li></ul>
4297
4320
  * @type {Array.<AttackRiskDetail> || null}
4298
4321
  */
4299
4322
  this.AttackRiskDetailList = null;
4300
4323
 
4301
4324
  /**
4302
- * <p>Return additional information (including detailed information of cache hit templates).</p>
4325
+ * <p>Returns additional information, including details of the matched template.</p>
4303
4326
  * @type {ExtraInfo || null}
4304
4327
  */
4305
4328
  this.ExtraInfo = null;
4306
4329
 
4330
+ /**
4331
+ * <p>Independent container for additional risk conclusions, indicating whether the additional risk check is trustworthy and whether any issues are found.</p>
4332
+ * @type {ExtraRiskResult || null}
4333
+ */
4334
+ this.ExtraRiskResult = null;
4335
+
4307
4336
  /**
4308
4337
  * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
4309
4338
  * @type {string || null}
@@ -4335,6 +4364,12 @@ class DetectAIFakeFacesResponse extends AbstractModel {
4335
4364
  obj.deserialize(params.ExtraInfo)
4336
4365
  this.ExtraInfo = obj;
4337
4366
  }
4367
+
4368
+ if (params.ExtraRiskResult) {
4369
+ let obj = new ExtraRiskResult();
4370
+ obj.deserialize(params.ExtraRiskResult)
4371
+ this.ExtraRiskResult = obj;
4372
+ }
4338
4373
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
4339
4374
 
4340
4375
  }
@@ -4656,6 +4691,71 @@ Only returned for the Enhance and Plus version, with the default value being emp
4656
4691
  }
4657
4692
  }
4658
4693
 
4694
+ /**
4695
+ * ExtraRiskResult
4696
+ * @class
4697
+ */
4698
+ class ExtraRiskResult extends AbstractModel {
4699
+ constructor(){
4700
+ super();
4701
+
4702
+ /**
4703
+ * <p>Completion of the additional checks in this request, indicating whether the result can be trusted.</p><p>Valid values:</p><ul><li>Completed: Conclusions (matched or passed) have been given for all checks required by this request.</li><li>Partial: At least one check cannot reach a conclusion due to unavailable dependencies, insufficient data, or incomplete or invalid input parameters. The result is for reference only and does not indicate security.</li></ul>
4704
+ * @type {string || null}
4705
+ */
4706
+ this.Status = null;
4707
+
4708
+ /**
4709
+ * <p>Additional risk level, which may be an empty string.</p><p>Valid values:</p><ul><li>High: An effective risk match exists (RiskDetailList is not empty in this case).</li><li>Low: The check is completed and no match is confirmed.</li><li>&quot;&quot; (empty string): Unrecognized. No check in this request can reach a conclusion, or not all checks are completed. It indicates neither risk nor security.</li></ul>
4710
+ * @type {string || null}
4711
+ */
4712
+ this.RiskLevel = null;
4713
+
4714
+ /**
4715
+ * <p>List of matched risk items. An empty array [] is returned if no risk item is matched.</p>
4716
+ * @type {Array.<BlackListItem> || null}
4717
+ */
4718
+ this.BlackListResult = null;
4719
+
4720
+ /**
4721
+ * <p>Face blocklist match details. An empty array [] is returned if no match is found.</p>
4722
+ * @type {Array.<RiskDetailItem> || null}
4723
+ */
4724
+ this.RiskDetailList = null;
4725
+
4726
+ }
4727
+
4728
+ /**
4729
+ * @private
4730
+ */
4731
+ deserialize(params) {
4732
+ if (!params) {
4733
+ return;
4734
+ }
4735
+ this.Status = 'Status' in params ? params.Status : null;
4736
+ this.RiskLevel = 'RiskLevel' in params ? params.RiskLevel : null;
4737
+
4738
+ if (params.BlackListResult) {
4739
+ this.BlackListResult = new Array();
4740
+ for (let z in params.BlackListResult) {
4741
+ let obj = new BlackListItem();
4742
+ obj.deserialize(params.BlackListResult[z]);
4743
+ this.BlackListResult.push(obj);
4744
+ }
4745
+ }
4746
+
4747
+ if (params.RiskDetailList) {
4748
+ this.RiskDetailList = new Array();
4749
+ for (let z in params.RiskDetailList) {
4750
+ let obj = new RiskDetailItem();
4751
+ obj.deserialize(params.RiskDetailList[z]);
4752
+ this.RiskDetailList.push(obj);
4753
+ }
4754
+ }
4755
+
4756
+ }
4757
+ }
4758
+
4659
4759
  /**
4660
4760
  * CheckBankCardInformation request structure.
4661
4761
  * @class
@@ -5398,7 +5498,7 @@ class PakistanIDCard extends AbstractModel {
5398
5498
  }
5399
5499
 
5400
5500
  /**
5401
- * Sensitive Data Encryption
5501
+ * Sensitive data encryption
5402
5502
  * @class
5403
5503
  */
5404
5504
  class Encryption extends AbstractModel {
@@ -5406,25 +5506,25 @@ class Encryption extends AbstractModel {
5406
5506
  super();
5407
5507
 
5408
5508
  /**
5409
- * <p>When using the encryption service, fill in the field to be encrypted. This API can auto-fill one or more encrypted fields.</p>
5509
+ * <p>When using the encryption service, enter the fields to be encrypted. In this API, you can enter one or more encrypted fields.</p>
5410
5510
  * @type {Array.<string> || null}
5411
5511
  */
5412
5512
  this.EncryptList = null;
5413
5513
 
5414
5514
  /**
5415
- * <p>Encrypted symmetric key. For key generation and use, see the <a href="https://www.tencentcloud.com/document/product/1007/47180?from_cn_redirect=1">data encryption</a> document.</p>
5515
+ * <p>Encrypted symmetric key. For key generation and usage, see the <a href="https://www.tencentcloud.com/document/product/1007/47180?from_cn_redirect=1">Data Encryption</a> documentation.</p>
5416
5516
  * @type {string || null}
5417
5517
  */
5418
5518
  this.CiphertextBlob = null;
5419
5519
 
5420
5520
  /**
5421
- * <p>Users with encryption requirements import the initial vector for CBC encryption (custom string, length 16 characters).</p>
5521
+ * <p>For users with encryption requirements, pass in the CBC encryption initialization vector (a customer-defined string with a length of 16 characters).</p>
5422
5522
  * @type {string || null}
5423
5523
  */
5424
5524
  this.Iv = null;
5425
5525
 
5426
5526
  /**
5427
- * <p>Encryption algorithm (supports 'AES-256-CBC', 'SM4-GCM'), defaults to 'AES-256-CBC' if not passed.</p>
5527
+ * <p>Algorithm used for encryption (supports &#39;AES-256-CBC&#39; and &#39;SM4-GCM&#39;). If not passed, the default is &#39;AES-256-CBC&#39;.</p>
5428
5528
  * @type {string || null}
5429
5529
  */
5430
5530
  this.Algorithm = null;
@@ -5798,7 +5898,7 @@ class CompareFaceLivenessResponse extends AbstractModel {
5798
5898
  * Business Error Codes.
5799
5899
  -When the return value is "Success", it indicates that liveness detection and face comparison passed. Determined to be the same person.
5800
5900
  -When the return value is "FailedOperation.CompareLowSimilarity", it indicates that liveness detection passed, but face comparison similarity is below 70. Determined not to be the same person.
5801
- -For other error cases, please refer to [Liveness Face Comparison (API only) Error Codes](https://www.tencentcloud.com/zh/document/product/1061/55390?lang=zh&pg=#97df7537-87fe-4266-87e9-02c816d41ee2)
5901
+ -For other error cases, please refer to [Selfie Verification (Pure API) Error Codes](https://www.tencentcloud.com/document/product/1061/55390?lang=en&pg=#97df7537-87fe-4266-87e9-02c816d41ee2)
5802
5902
  * @type {string || null}
5803
5903
  */
5804
5904
  this.Result = null;
@@ -6531,6 +6631,55 @@ class GenerateReflectSequenceResponse extends AbstractModel {
6531
6631
  }
6532
6632
  }
6533
6633
 
6634
+ /**
6635
+ * ExtraRiskInfo
6636
+ * @class
6637
+ */
6638
+ class ExtraRiskInfo extends AbstractModel {
6639
+ constructor(){
6640
+ super();
6641
+
6642
+ /**
6643
+ * <p>A stable and unique person identifier within the customer's business domain, used to correlate multiple location reports from the same person to determine whether abnormal displacement exists.</p><p>Input restrictions: Length ≤ 128 characters; Must not contain control characters (ASCII &lt; 0x20 or 0x7F); It is recommended to pass a desensitized identifier instead of a plaintext ID number or mobile number.</p>
6644
+ * @type {string || null}
6645
+ */
6646
+ this.PersonId = null;
6647
+
6648
+ /**
6649
+ * <p>Latitude at the time of device collection, in WGS84 decimal degrees </p><p>Input restrictions: Must be paired with Longitude; Valid range: [-90, 90]; Must be a valid number, NaN/Inf not accepted; Pass as a string in JSON (e.g., &quot;22.5431&quot;)</p>
6650
+ * @type {string || null}
6651
+ */
6652
+ this.Latitude = null;
6653
+
6654
+ /**
6655
+ * <p>Longitude at the time of device collection, in WGS84 decimal degrees </p><p>Input restrictions: Must be paired with Latitude; Valid range: [-180, 180]; Other restrictions are the same as above</p>
6656
+ * @type {string || null}
6657
+ */
6658
+ this.Longitude = null;
6659
+
6660
+ /**
6661
+ * <p>Public egress IP of the device at the time of collection </p><p>Input restrictions: Length ≤ 64; Must be a resolvable IPv4/IPv6 address; Private, loopback, link-local, and multicast addresses are considered non-locatable</p>
6662
+ * @type {string || null}
6663
+ */
6664
+ this.Ip = null;
6665
+
6666
+ }
6667
+
6668
+ /**
6669
+ * @private
6670
+ */
6671
+ deserialize(params) {
6672
+ if (!params) {
6673
+ return;
6674
+ }
6675
+ this.PersonId = 'PersonId' in params ? params.PersonId : null;
6676
+ this.Latitude = 'Latitude' in params ? params.Latitude : null;
6677
+ this.Longitude = 'Longitude' in params ? params.Longitude : null;
6678
+ this.Ip = 'Ip' in params ? params.Ip : null;
6679
+
6680
+ }
6681
+ }
6682
+
6534
6683
  /**
6535
6684
  * IdCardVerification response structure.
6536
6685
  * @class
@@ -8092,7 +8241,56 @@ class Address extends AbstractModel {
8092
8241
  }
8093
8242
 
8094
8243
  /**
8095
- * Template retrieve detailed information
8244
+ * BlackListItem
8245
+ * @class
8246
+ */
8247
+ class BlackListItem extends AbstractModel {
8248
+ constructor(){
8249
+ super();
8250
+
8251
+ /**
8252
+ * <p>Blocklist entry ID, customized by the customer when creating the entry, used to trace which entry is matched.</p>
8253
+ * @type {string || null}
8254
+ */
8255
+ this.ModelId = null;
8256
+
8257
+ /**
8258
+ * <p>Entry type. Currently only face is supported.</p>
8259
+ * @type {string || null}
8260
+ */
8261
+ this.ModelType = null;
8262
+
8263
+ /**
8264
+ * <p>Face similarity, expressed as a string with 4 decimal places, ranging from 0.0000 to 1.0000.</p>
8265
+ * @type {string || null}
8266
+ */
8267
+ this.FaceScore = null;
8268
+
8269
+ /**
8270
+ * <p>Background similarity</p>
8271
+ * @type {string || null}
8272
+ */
8273
+ this.BackgroundScore = null;
8274
+
8275
+ }
8276
+
8277
+ /**
8278
+ * @private
8279
+ */
8280
+ deserialize(params) {
8281
+ if (!params) {
8282
+ return;
8283
+ }
8284
+ this.ModelId = 'ModelId' in params ? params.ModelId : null;
8285
+ this.ModelType = 'ModelType' in params ? params.ModelType : null;
8286
+ this.FaceScore = 'FaceScore' in params ? params.FaceScore : null;
8287
+ this.BackgroundScore = 'BackgroundScore' in params ? params.BackgroundScore : null;
8288
+
8289
+ }
8290
+ }
8291
+
8292
+ /**
8293
+ * Template retrieval details
8096
8294
  * @class
8097
8295
  */
8098
8296
  class RetrievalLivenessExtraInfo extends AbstractModel {
@@ -8100,19 +8298,19 @@ class RetrievalLivenessExtraInfo extends AbstractModel {
8100
8298
  super();
8101
8299
 
8102
8300
  /**
8103
- * <p>Hit template type, among them Common-public library; Auto-Auto Clustering Library; Owner-custom template library</p>
8301
+ * <p>Type of the matched template. Common: public library; Auto: automatic clustering library; Owner: custom template library.</p>
8104
8302
  * @type {string || null}
8105
8303
  */
8106
8304
  this.HitGroup = null;
8107
8305
 
8108
8306
  /**
8109
- * <p>Similarity between the request image and the attack template hit. The similarity value ranges from 0 to 2. The smaller the value, the higher the probability of hitting the attack template. The default threshold is 0.6. When the SimilarityScore is ≥0.6, the judgment is as normal. When the SimilarityScore is <0.6, the judgment is an attack.</p>
8307
+ * <p>Similarity between the request image and the matched attack template. The value range is [0,2]. A smaller value indicates a higher probability of matching an attack template. The default threshold is 0.6. A SimilarityScore ≥ 0.6 indicates normal, and a SimilarityScore &lt; 0.6 indicates an attack.</p>
8110
8308
  * @type {number || null}
8111
8309
  */
8112
8310
  this.SimilarityScore = null;
8113
8311
 
8114
8312
  /**
8115
- * <p>Template id of the cache hit</p>
8313
+ * <p>id of the matched template</p>
8116
8314
  * @type {string || null}
8117
8315
  */
8118
8316
  this.HitTemplate = null;
@@ -8764,6 +8962,34 @@ Their meanings are as follows:
8764
8962
  }
8765
8963
  }
8766
8964
 
8965
+ /**
8966
+ * RiskDetailItem
8967
+ * @class
8968
+ */
8969
+ class RiskDetailItem extends AbstractModel {
8970
+ constructor(){
8971
+ super();
8972
+
8973
+ /**
8974
+ * <p>Risk item type.</p><p>Valid values:</p><ul><li>IpLocationMismatch: The country/region of the reported coordinates is inconsistent with the country/region of the IP address.</li><li>AbnormalLocationChange: The same person has physically impossible displacement within a short period of time.</li><li>BlacklistHit: A customer-created face blocklist is matched.</li></ul>
8975
+ * @type {string || null}
8976
+ */
8977
+ this.Type = null;
8978
+
8979
+ }
8980
+
8981
+ /**
8982
+ * @private
8983
+ */
8984
+ deserialize(params) {
8985
+ if (!params) {
8986
+ return;
8987
+ }
8988
+ this.Type = 'Type' in params ? params.Type : null;
8989
+
8990
+ }
8991
+ }
8992
+
8767
8993
  /**
8768
8994
  * GetNFCToken request structure.
8769
8995
  * @class
@@ -8960,6 +9186,7 @@ module.exports = {
8960
9186
  LivenessCompareRequest: LivenessCompareRequest,
8961
9187
  MLIDCard: MLIDCard,
8962
9188
  GetFaceIdResultIntlResponse: GetFaceIdResultIntlResponse,
9189
+ ExtraRiskResult: ExtraRiskResult,
8963
9190
  CheckBankCardInformationRequest: CheckBankCardInformationRequest,
8964
9191
  ListEKYCWebhooksRequest: ListEKYCWebhooksRequest,
8965
9192
  BankCardVerificationRequest: BankCardVerificationRequest,
@@ -8988,6 +9215,7 @@ module.exports = {
8988
9215
  FileInfo: FileInfo,
8989
9216
  PhilippinesDrivingLicense: PhilippinesDrivingLicense,
8990
9217
  GenerateReflectSequenceResponse: GenerateReflectSequenceResponse,
9218
+ ExtraRiskInfo: ExtraRiskInfo,
8991
9219
  IdCardVerificationResponse: IdCardVerificationResponse,
8992
9220
  WebVerificationConfigIntl: WebVerificationConfigIntl,
8993
9221
  CompareResult: CompareResult,
@@ -9007,6 +9235,7 @@ module.exports = {
9007
9235
  UpdateAMLCustomerProfileResponse: UpdateAMLCustomerProfileResponse,
9008
9236
  BankCard2EVerificationRequest: BankCard2EVerificationRequest,
9009
9237
  Address: Address,
9238
+ BlackListItem: BlackListItem,
9010
9239
  RetrievalLivenessExtraInfo: RetrievalLivenessExtraInfo,
9011
9240
  ImageRecognitionV2Request: ImageRecognitionV2Request,
9012
9241
  MainlandIDCard: MainlandIDCard,
@@ -9019,6 +9248,7 @@ module.exports = {
9019
9248
  GetSdkVerificationResultRequest: GetSdkVerificationResultRequest,
9020
9249
  RunAMLNameScreeningRequest: RunAMLNameScreeningRequest,
9021
9250
  ApplyLivenessTokenRequest: ApplyLivenessTokenRequest,
9251
+ RiskDetailItem: RiskDetailItem,
9022
9252
  GetNFCTokenRequest: GetNFCTokenRequest,
9023
9253
  UpdateAMLOngoingScreeningStatusRequest: UpdateAMLOngoingScreeningStatusRequest,
9024
9254
  TaiWanIDCard: TaiWanIDCard,