tencentcloud-sdk-nodejs-intl-en 3.0.1471 → 3.0.1473
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.
- package/package.json +1 -1
- package/tencentcloud/cls/v20201016/cls_client.js +1 -1
- package/tencentcloud/cls/v20201016/models.js +73 -42
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/csip/v20221121/csip_client.js +19 -12
- package/tencentcloud/csip/v20221121/models.js +722 -179
- package/tencentcloud/dts/v20211206/dts_client.js +7 -3
- package/tencentcloud/dts/v20211206/models.js +446 -208
- package/tencentcloud/faceid/v20180301/faceid_client.js +5 -1
- package/tencentcloud/faceid/v20180301/models.js +251 -21
- package/tencentcloud/lighthouse/v20200324/lighthouse_client.js +5 -4
- package/tencentcloud/lighthouse/v20200324/models.js +127 -14
- package/tencentcloud/ocr/v20181119/models.js +694 -405
- package/tencentcloud/ocr/v20181119/ocr_client.js +23 -7
- package/tencentcloud/teo/v20220901/models.js +316 -50
- package/tencentcloud/teo/v20220901/teo_client.js +27 -1
- package/tencentcloud/tke/v20180525/models.js +86 -0
- package/tencentcloud/tke/v20180525/tke_client.js +13 -0
- package/tencentcloud/vod/v20180717/models.js +407 -162
- package/tencentcloud/vod/v20180717/vod_client.js +42 -15
- package/tencentcloud/waf/v20180125/models.js +12871 -9082
- package/tencentcloud/waf/v20180125/waf_client.js +583 -257
|
@@ -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
|
|
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
|
|
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>
|
|
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
|
|
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
|
|
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>
|
|
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>
|
|
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
|
|
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: {
|
|
1002
|
+
* <p>Encrypted ciphertext.</p><ul><li>The data format before encryption is as follows: {"FaceInput":"AAAAA","FaceInputType":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
|
|
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
|
|
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>
|
|
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>"" (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
|
|
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,
|
|
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
|
|
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>
|
|
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>
|
|
5527
|
+
* <p>Algorithm used for encryption (supports 'AES-256-CBC' and 'SM4-GCM'). If not passed, the default is 'AES-256-CBC'.</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 [
|
|
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 < 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., "22.5431")</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
|
-
*
|
|
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>
|
|
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
|
|
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 < 0.6 indicates an attack.</p>
|
|
8110
8308
|
* @type {number || null}
|
|
8111
8309
|
*/
|
|
8112
8310
|
this.SimilarityScore = null;
|
|
8113
8311
|
|
|
8114
8312
|
/**
|
|
8115
|
-
* <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,
|
|
@@ -101,6 +101,7 @@ const DescribeAllScenesRequest = models.DescribeAllScenesRequest;
|
|
|
101
101
|
const ModifyDisksRenewFlagRequest = models.ModifyDisksRenewFlagRequest;
|
|
102
102
|
const DisassociateInstancesKeyPairsRequest = models.DisassociateInstancesKeyPairsRequest;
|
|
103
103
|
const DataDiskPrice = models.DataDiskPrice;
|
|
104
|
+
const Command = models.Command;
|
|
104
105
|
const SceneInfo = models.SceneInfo;
|
|
105
106
|
const ImportKeyPairRequest = models.ImportKeyPairRequest;
|
|
106
107
|
const ImportKeyPairResponse = models.ImportKeyPairResponse;
|
|
@@ -1226,10 +1227,10 @@ The account receiving the shared image must be a root account.
|
|
|
1226
1227
|
}
|
|
1227
1228
|
|
|
1228
1229
|
/**
|
|
1229
|
-
* This API is used change one or more Lighthouse
|
|
1230
|
-
* Only
|
|
1231
|
-
* Batch operations are supported. The maximum number of instances in each request is
|
|
1232
|
-
* This API is async. After
|
|
1230
|
+
* This API is used to change the bundle of one or more Lighthouse instances.
|
|
1231
|
+
* Only instances in the RUNNING or STOPPED state can be operated through this API.
|
|
1232
|
+
* Batch operations are supported. The maximum number of instances in each request is 15.
|
|
1233
|
+
* This API is an async API. After a request is sent successfully, a RequestId is returned, but the operation is not completed immediately. You can call the <a href="https://www.tencentcloud.com/document/product/1207/47573?from_cn_redirect=1" target="_blank">DescribeInstances</a> API to query the instance operation result. If the latest operation state (LatestOperationState) of the instance is "SUCCESS", the operation is successful.
|
|
1233
1234
|
* @param {ModifyInstancesBundleRequest} req
|
|
1234
1235
|
* @param {function(string, ModifyInstancesBundleResponse):void} cb
|
|
1235
1236
|
* @public
|