tencentcloud-sdk-nodejs-intl-en 3.0.1441 → 3.0.1442
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/captcha/v20190722/captcha_client.js +1 -1
- package/tencentcloud/captcha/v20190722/models.js +19 -33
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/faceid/v20180301/faceid_client.js +121 -10
- package/tencentcloud/faceid/v20180301/models.js +1623 -894
- package/tencentcloud/ocr/v20181119/models.js +233 -154
- package/tencentcloud/ocr/v20181119/ocr_client.js +3 -3
- package/tencentcloud/vod/v20180717/models.js +7809 -5588
- package/tencentcloud/vod/v20180717/vod_client.js +286 -286
package/package.json
CHANGED
|
@@ -96,7 +96,7 @@ class CaptchaClient extends AbstractClient {
|
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
/**
|
|
99
|
-
* This API is used to
|
|
99
|
+
* This API is used to check the ticket results of verification codes for Web and APP.
|
|
100
100
|
* @param {DescribeCaptchaResultRequest} req
|
|
101
101
|
* @param {function(string, DescribeCaptchaResultResponse):void} cb
|
|
102
102
|
* @public
|
|
@@ -1213,67 +1213,67 @@ class DescribeCaptchaResultRequest extends AbstractModel {
|
|
|
1213
1213
|
super();
|
|
1214
1214
|
|
|
1215
1215
|
/**
|
|
1216
|
-
*
|
|
1216
|
+
* <p>Fixed value: 9.</p>
|
|
1217
1217
|
* @type {number || null}
|
|
1218
1218
|
*/
|
|
1219
1219
|
this.CaptchaType = null;
|
|
1220
1220
|
|
|
1221
1221
|
/**
|
|
1222
|
-
*
|
|
1222
|
+
* <p>User verification ticket returned by the frontend callback function</p>
|
|
1223
1223
|
* @type {string || null}
|
|
1224
1224
|
*/
|
|
1225
1225
|
this.Ticket = null;
|
|
1226
1226
|
|
|
1227
1227
|
/**
|
|
1228
|
-
*
|
|
1228
|
+
* <p>Public network IP of the verification</p>
|
|
1229
1229
|
* @type {string || null}
|
|
1230
1230
|
*/
|
|
1231
1231
|
this.UserIp = null;
|
|
1232
1232
|
|
|
1233
1233
|
/**
|
|
1234
|
-
*
|
|
1234
|
+
* <p>Random string returned by the frontend callback function</p>
|
|
1235
1235
|
* @type {string || null}
|
|
1236
1236
|
*/
|
|
1237
1237
|
this.Randstr = null;
|
|
1238
1238
|
|
|
1239
1239
|
/**
|
|
1240
|
-
*
|
|
1240
|
+
* <p>Captcha appId. Log in to the <a href="https://console.cloud.tencent.com/captcha/graphical">verification code console</a>. In the [Key] column of the verification list, you can see CaptchaAppId.</p>
|
|
1241
1241
|
* @type {number || null}
|
|
1242
1242
|
*/
|
|
1243
1243
|
this.CaptchaAppId = null;
|
|
1244
1244
|
|
|
1245
1245
|
/**
|
|
1246
|
-
*
|
|
1246
|
+
* <p>Captcha application key. Log in to the <a href="https://console.cloud.tencent.com/captcha/graphical">verification code console</a>, and view AppSecretKey in the [Key] column of the verification list. AppSecretKey is a key for server-side verification of verification code tickets. Keep it confidential and do not leak it to third parties.</p>
|
|
1247
1247
|
* @type {string || null}
|
|
1248
1248
|
*/
|
|
1249
1249
|
this.AppSecretKey = null;
|
|
1250
1250
|
|
|
1251
1251
|
/**
|
|
1252
|
-
* Reserved field
|
|
1252
|
+
* <p>Reserved field</p>
|
|
1253
1253
|
* @type {number || null}
|
|
1254
1254
|
*/
|
|
1255
1255
|
this.BusinessId = null;
|
|
1256
1256
|
|
|
1257
1257
|
/**
|
|
1258
|
-
* Reserved field
|
|
1258
|
+
* <p>Reserved field</p>
|
|
1259
1259
|
* @type {number || null}
|
|
1260
1260
|
*/
|
|
1261
1261
|
this.SceneId = null;
|
|
1262
1262
|
|
|
1263
1263
|
/**
|
|
1264
|
-
*
|
|
1264
|
+
* <p>mac address or unique device identifier</p>
|
|
1265
1265
|
* @type {string || null}
|
|
1266
1266
|
*/
|
|
1267
1267
|
this.MacAddress = null;
|
|
1268
1268
|
|
|
1269
1269
|
/**
|
|
1270
|
-
* Mobile
|
|
1270
|
+
* <p>Mobile device number</p>
|
|
1271
1271
|
* @type {string || null}
|
|
1272
1272
|
*/
|
|
1273
1273
|
this.Imei = null;
|
|
1274
1274
|
|
|
1275
1275
|
/**
|
|
1276
|
-
*
|
|
1276
|
+
* <p>Whether to return the time when the frontend obtains the verification code. Value: 1: need to return</p>
|
|
1277
1277
|
* @type {number || null}
|
|
1278
1278
|
*/
|
|
1279
1279
|
this.NeedGetCaptchaTime = null;
|
|
@@ -1311,63 +1311,49 @@ class DescribeCaptchaResultResponse extends AbstractModel {
|
|
|
1311
1311
|
super();
|
|
1312
1312
|
|
|
1313
1313
|
/**
|
|
1314
|
-
* OK
|
|
1315
|
-
7 captcha no match. the passed in Randstr is invalid. please check if the Randstr is consistent with the Randstr returned by the frontend.
|
|
1316
|
-
The passed-in ticket has expired (the valid period of the ticket is 5 minutes). generate the ticket and Randstr again for validation.
|
|
1317
|
-
The passed-in ticket is reused. generate the ticket and Randstr again for verification.
|
|
1318
|
-
15 decrypt fail. the passed-in Ticket is invalid. please check if the Ticket is consistent with the Ticket returned by the frontend.
|
|
1319
|
-
16 appid-ticket mismatch. the passed in CaptchaAppId is incorrect. please check if the CaptchaAppId is consistent with the CaptchaAppId passed in by the frontend, and ensure that the CaptchaAppId is obtained from the verification code console [verification management] -> [basic configuration].
|
|
1320
|
-
21 diff invoice verification exception. possible reasons: (1) if the Ticket contains the trerror prefix, generally because the user has a poor network connection, resulting in the frontend's automatic disaster recovery and generation of a disaster recovery Ticket. the business side may skip or post-process as needed. (2) if the Ticket does not include the trerror prefix, it is because the security risk of the request was detected by the CAPTCHA-intl risk control system. the business side may intercept as needed.
|
|
1321
|
-
100 appid-secretkey-ticket mismatch. parameter validation error. (1) please check whether the CaptchaAppId and AppSecretKey are correct. the CaptchaAppId and AppSecretKey need to be obtained from verification code console > verification management > basic configuration. (2) please check whether the passed-in ticket is generated by the passed-in CaptchaAppId.
|
|
1314
|
+
* <p>1 OK verification passed<br>7 captcha no match The passed-in Randstr is invalid. Please check whether Randstr is consistent with the frontend Randstr.<br>8 ticket expired The passed-in ticket has expired (ticket valid period is 5 minutes). Please generate a new ticket and Randstr for verification.<br>9 ticket reused The passed-in ticket has been reused. Please generate a new ticket and Randstr for verification.<br>15 decrypt fail The passed-in ticket is invalid. Please check whether ticket is consistent with the frontend ticket.<br>16 appid-ticket mismatch The passed-in CaptchaAppId is incorrect. Please check whether CaptchaAppId is consistent with the frontend CaptchaAppId, and ensure that CaptchaAppId is obtained from [Verification Management] -> [Basic Configuration] in the verification code console.<br>21 diff Bill verification exception. Possible reasons: (1) If the ticket contains the trerror prefix, it is generally because the user has a poor network connection, which causes frontend automatic disaster recovery and generates a disaster recovery ticket. The business side can skip or post-process it based on needs. (2) If the ticket does not contain the trerror prefix, it is because the verification code risk control system has detected a security risk in the request. The business side can block it based on needs.<br>100 appid-secretkey-ticket mismatch Parameter validation error. (1) Please check whether CaptchaAppId and AppSecretKey are correct. CaptchaAppId and AppSecretKey need to be obtained from [Verification Management] > [Basic Configuration] in the verification code console. (2) Please check whether the passed-in ticket is generated by the passed-in CaptchaAppId.</p>
|
|
1322
1315
|
* @type {number || null}
|
|
1323
1316
|
*/
|
|
1324
1317
|
this.CaptchaCode = null;
|
|
1325
1318
|
|
|
1326
1319
|
/**
|
|
1327
|
-
*
|
|
1320
|
+
* <p>Description and error message</p>
|
|
1328
1321
|
* @type {string || null}
|
|
1329
1322
|
*/
|
|
1330
1323
|
this.CaptchaMsg = null;
|
|
1331
1324
|
|
|
1332
1325
|
/**
|
|
1333
|
-
* In
|
|
1334
|
-
EvilLevel=0 indicates that the request is not malicious.
|
|
1335
|
-
The parameter EvilLevel = 100 indicates that the request is malicious.
|
|
1326
|
+
* <p>In non-perception mode, this parameter returns the verification result:<br>EvilLevel=0: The request is not malicious<br>EvilLevel=100: The request is malicious</p>
|
|
1336
1327
|
* @type {number || null}
|
|
1337
1328
|
*/
|
|
1338
1329
|
this.EvilLevel = null;
|
|
1339
1330
|
|
|
1340
1331
|
/**
|
|
1341
|
-
* Frontend retrieval time
|
|
1332
|
+
* <p>Frontend verification code retrieval time, Timestamp Format</p>
|
|
1342
1333
|
* @type {number || null}
|
|
1343
1334
|
*/
|
|
1344
1335
|
this.GetCaptchaTime = null;
|
|
1345
1336
|
|
|
1346
1337
|
/**
|
|
1347
|
-
*
|
|
1348
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1338
|
+
* <p>Interception type</p>
|
|
1349
1339
|
* @type {number || null}
|
|
1350
1340
|
*/
|
|
1351
1341
|
this.EvilBitmap = null;
|
|
1352
1342
|
|
|
1353
1343
|
/**
|
|
1354
|
-
*
|
|
1344
|
+
* <p>Time of submitting the verification code</p>
|
|
1355
1345
|
* @type {number || null}
|
|
1356
1346
|
*/
|
|
1357
1347
|
this.SubmitCaptchaTime = null;
|
|
1358
1348
|
|
|
1359
1349
|
/**
|
|
1360
|
-
* Device risk category
|
|
1361
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1350
|
+
* <p>Device risk category</p>
|
|
1362
1351
|
* @type {string || null}
|
|
1363
1352
|
*/
|
|
1364
1353
|
this.DeviceRiskCategory = null;
|
|
1365
1354
|
|
|
1366
1355
|
/**
|
|
1367
|
-
*
|
|
1368
|
-
Note:The score ranges from 0 to 100 (e.g., 20, 70, 90).
|
|
1369
|
-
A higher score indicates a greater probability that the interaction was initiated by a bot or represents a bot attack.
|
|
1370
|
-
A lower score indicates a greater probability that the interaction was performed by a real human user.
|
|
1356
|
+
* <p>Verification code score</p><p>Value range: 0-100. Higher scores indicate higher risk</p>
|
|
1371
1357
|
* @type {number || null}
|
|
1372
1358
|
*/
|
|
1373
1359
|
this.Score = null;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.1442";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -23,14 +23,19 @@ const CheckIdNameDateResponse = models.CheckIdNameDateResponse;
|
|
|
23
23
|
const IdCardVerificationRequest = models.IdCardVerificationRequest;
|
|
24
24
|
const ImageRecognitionV2Response = models.ImageRecognitionV2Response;
|
|
25
25
|
const GetWebVerificationResultIntlResponse = models.GetWebVerificationResultIntlResponse;
|
|
26
|
+
const UpdateAMLOngoingScreeningStatusResponse = models.UpdateAMLOngoingScreeningStatusResponse;
|
|
27
|
+
const GetAMLScreeningResultResponse = models.GetAMLScreeningResultResponse;
|
|
28
|
+
const Company = models.Company;
|
|
26
29
|
const MobileStatusRequest = models.MobileStatusRequest;
|
|
27
30
|
const OCRResult = models.OCRResult;
|
|
31
|
+
const ListEKYCWebhooksResponse = models.ListEKYCWebhooksResponse;
|
|
28
32
|
const BangladeshIDCard = models.BangladeshIDCard;
|
|
29
33
|
const LivenessCompareResponse = models.LivenessCompareResponse;
|
|
30
|
-
const
|
|
34
|
+
const PhilippinesSSSID = models.PhilippinesSSSID;
|
|
31
35
|
const DetectAIFakeFacesRequest = models.DetectAIFakeFacesRequest;
|
|
32
36
|
const IndonesiaIDCard = models.IndonesiaIDCard;
|
|
33
37
|
const SingaporeIDCard = models.SingaporeIDCard;
|
|
38
|
+
const CreateEKYCWebhookResponse = models.CreateEKYCWebhookResponse;
|
|
34
39
|
const MacaoIDCard = models.MacaoIDCard;
|
|
35
40
|
const GeneralCard = models.GeneralCard;
|
|
36
41
|
const PhilippinesUMID = models.PhilippinesUMID;
|
|
@@ -48,9 +53,11 @@ const NormalCardInfo = models.NormalCardInfo;
|
|
|
48
53
|
const ApplySdkVerificationTokenRequest = models.ApplySdkVerificationTokenRequest;
|
|
49
54
|
const CardVerifyResult = models.CardVerifyResult;
|
|
50
55
|
const CheckIdNameDateRequest = models.CheckIdNameDateRequest;
|
|
56
|
+
const WebhookList = models.WebhookList;
|
|
51
57
|
const ApplyLivenessTokenResponse = models.ApplyLivenessTokenResponse;
|
|
52
58
|
const CardInfo = models.CardInfo;
|
|
53
59
|
const PhilippinesVoteID = models.PhilippinesVoteID;
|
|
60
|
+
const DeleteEKYCWebhookResponse = models.DeleteEKYCWebhookResponse;
|
|
54
61
|
const ApplySdkVerificationTokenResponse = models.ApplySdkVerificationTokenResponse;
|
|
55
62
|
const GetFaceIdTokenIntlRequest = models.GetFaceIdTokenIntlRequest;
|
|
56
63
|
const PakistanDrivingLicense = models.PakistanDrivingLicense;
|
|
@@ -60,59 +67,71 @@ const NormalIndonesiaIDCard = models.NormalIndonesiaIDCard;
|
|
|
60
67
|
const HMTPermit = models.HMTPermit;
|
|
61
68
|
const PhilippinesTinID = models.PhilippinesTinID;
|
|
62
69
|
const DetectAIFakeFacesResponse = models.DetectAIFakeFacesResponse;
|
|
70
|
+
const DeleteEKYCWebhookRequest = models.DeleteEKYCWebhookRequest;
|
|
63
71
|
const LivenessCompareRequest = models.LivenessCompareRequest;
|
|
64
72
|
const MLIDCard = models.MLIDCard;
|
|
65
73
|
const GetFaceIdResultIntlResponse = models.GetFaceIdResultIntlResponse;
|
|
66
74
|
const CheckBankCardInformationRequest = models.CheckBankCardInformationRequest;
|
|
75
|
+
const ListEKYCWebhooksRequest = models.ListEKYCWebhooksRequest;
|
|
67
76
|
const BankCardVerificationRequest = models.BankCardVerificationRequest;
|
|
68
77
|
const ThailandIDCard = models.ThailandIDCard;
|
|
69
78
|
const CheckIdCardInformationResponse = models.CheckIdCardInformationResponse;
|
|
70
79
|
const PhoneVerificationResponse = models.PhoneVerificationResponse;
|
|
71
80
|
const IdCardOCRVerificationRequest = models.IdCardOCRVerificationRequest;
|
|
81
|
+
const UpdateEKYCWebhookResponse = models.UpdateEKYCWebhookResponse;
|
|
72
82
|
const BankCard4EVerificationResponse = models.BankCard4EVerificationResponse;
|
|
73
83
|
const GenerateReflectSequenceRequest = models.GenerateReflectSequenceRequest;
|
|
74
84
|
const EditDetail = models.EditDetail;
|
|
75
85
|
const PakistanIDCard = models.PakistanIDCard;
|
|
76
86
|
const Encryption = models.Encryption;
|
|
77
|
-
const
|
|
87
|
+
const MobileNetworkTimeVerificationRequest = models.MobileNetworkTimeVerificationRequest;
|
|
88
|
+
const GetAMLScreeningResultRequest = models.GetAMLScreeningResultRequest;
|
|
78
89
|
const GetLivenessResultRequest = models.GetLivenessResultRequest;
|
|
79
90
|
const CheckIdCardInformationRequest = models.CheckIdCardInformationRequest;
|
|
80
91
|
const IdCardOCRVerificationResponse = models.IdCardOCRVerificationResponse;
|
|
81
92
|
const NigeriaIDCard = models.NigeriaIDCard;
|
|
82
93
|
const CompareFaceLivenessResponse = models.CompareFaceLivenessResponse;
|
|
83
94
|
const BankCardVerificationResponse = models.BankCardVerificationResponse;
|
|
84
|
-
const
|
|
95
|
+
const Person = models.Person;
|
|
96
|
+
const UpdateAMLCustomerProfileRequest = models.UpdateAMLCustomerProfileRequest;
|
|
97
|
+
const GetNFCResultResponse = models.GetNFCResultResponse;
|
|
85
98
|
const ApplyWebVerificationBizTokenIntlRequest = models.ApplyWebVerificationBizTokenIntlRequest;
|
|
86
99
|
const FileInfo = models.FileInfo;
|
|
87
100
|
const PhilippinesDrivingLicense = models.PhilippinesDrivingLicense;
|
|
88
|
-
const
|
|
101
|
+
const GenerateReflectSequenceResponse = models.GenerateReflectSequenceResponse;
|
|
89
102
|
const IdCardVerificationResponse = models.IdCardVerificationResponse;
|
|
90
103
|
const WebVerificationConfigIntl = models.WebVerificationConfigIntl;
|
|
91
104
|
const CompareResult = models.CompareResult;
|
|
105
|
+
const RunAMLNameScreeningResponse = models.RunAMLNameScreeningResponse;
|
|
92
106
|
const InternationalIDPassport = models.InternationalIDPassport;
|
|
93
107
|
const MobileNetworkTimeVerificationResponse = models.MobileNetworkTimeVerificationResponse;
|
|
94
108
|
const CreateUploadUrlResponse = models.CreateUploadUrlResponse;
|
|
95
109
|
const JapanIDCard = models.JapanIDCard;
|
|
96
110
|
const NigeriaDrivingLicense = models.NigeriaDrivingLicense;
|
|
111
|
+
const CreateEKYCWebhookRequest = models.CreateEKYCWebhookRequest;
|
|
97
112
|
const HKIDCard = models.HKIDCard;
|
|
98
113
|
const PhoneVerificationRequest = models.PhoneVerificationRequest;
|
|
99
114
|
const IndonesiaDrivingLicense = models.IndonesiaDrivingLicense;
|
|
100
115
|
const VerificationDetail = models.VerificationDetail;
|
|
101
116
|
const DetectReflectLivenessAndCompareResponse = models.DetectReflectLivenessAndCompareResponse;
|
|
102
117
|
const VideoLivenessCompareResponse = models.VideoLivenessCompareResponse;
|
|
118
|
+
const UpdateAMLCustomerProfileResponse = models.UpdateAMLCustomerProfileResponse;
|
|
103
119
|
const BankCard2EVerificationRequest = models.BankCard2EVerificationRequest;
|
|
104
120
|
const Address = models.Address;
|
|
105
121
|
const RetrievalLivenessExtraInfo = models.RetrievalLivenessExtraInfo;
|
|
106
122
|
const ImageRecognitionV2Request = models.ImageRecognitionV2Request;
|
|
107
123
|
const MainlandIDCard = models.MainlandIDCard;
|
|
108
124
|
const NormalMLIDCard = models.NormalMLIDCard;
|
|
125
|
+
const UpdateEKYCWebhookRequest = models.UpdateEKYCWebhookRequest;
|
|
109
126
|
const BankCard4EVerificationRequest = models.BankCard4EVerificationRequest;
|
|
110
127
|
const CreateUploadUrlRequest = models.CreateUploadUrlRequest;
|
|
111
128
|
const GetNFCTokenResponse = models.GetNFCTokenResponse;
|
|
112
129
|
const NormalHKIDCard = models.NormalHKIDCard;
|
|
113
130
|
const GetSdkVerificationResultRequest = models.GetSdkVerificationResultRequest;
|
|
131
|
+
const RunAMLNameScreeningRequest = models.RunAMLNameScreeningRequest;
|
|
114
132
|
const ApplyLivenessTokenRequest = models.ApplyLivenessTokenRequest;
|
|
115
133
|
const GetNFCTokenRequest = models.GetNFCTokenRequest;
|
|
134
|
+
const UpdateAMLOngoingScreeningStatusRequest = models.UpdateAMLOngoingScreeningStatusRequest;
|
|
116
135
|
const TaiWanIDCard = models.TaiWanIDCard;
|
|
117
136
|
const GetWebVerificationResultIntlRequest = models.GetWebVerificationResultIntlRequest;
|
|
118
137
|
|
|
@@ -160,6 +179,17 @@ class FaceidClient extends AbstractClient {
|
|
|
160
179
|
this.request("GetFaceIdTokenIntl", req, resp, cb);
|
|
161
180
|
}
|
|
162
181
|
|
|
182
|
+
/**
|
|
183
|
+
* AML name list screening
|
|
184
|
+
* @param {RunAMLNameScreeningRequest} req
|
|
185
|
+
* @param {function(string, RunAMLNameScreeningResponse):void} cb
|
|
186
|
+
* @public
|
|
187
|
+
*/
|
|
188
|
+
RunAMLNameScreening(req, cb) {
|
|
189
|
+
let resp = new RunAMLNameScreeningResponse();
|
|
190
|
+
this.request("RunAMLNameScreening", req, resp, cb);
|
|
191
|
+
}
|
|
192
|
+
|
|
163
193
|
/**
|
|
164
194
|
* This API is used to obtain a BizToken before each call to the Web verification service. Save the BizToken to initiate the verification process and retrieve the result upon completion. The BizToken is valid for 10 minutes.
|
|
165
195
|
* @param {ApplyWebVerificationBizTokenIntlRequest} req
|
|
@@ -183,12 +213,12 @@ class FaceidClient extends AbstractClient {
|
|
|
183
213
|
}
|
|
184
214
|
|
|
185
215
|
/**
|
|
186
|
-
* This API verifies NFC data. Pass in the NFCToken returned by the SDK, the document fields to be verified
|
|
187
|
-
The service currently supports NFC recognition and verification of the following fields and portrait photos on Chinese mainland second-generation resident identity cards, exit-entry permits for
|
|
216
|
+
* This API verifies NFC data. Pass in the NFCToken returned by the SDK, along with the document fields and portrait photo to be verified.The service automatically compares the information to verify with the decrypted document NFC data and outputs the verification result. The NFCToken generated by the SDK is valid for 10 minutes. The service is billed per query.
|
|
217
|
+
The service currently supports NFC recognition and verification of the following fields and portrait photos on Chinese mainland second-generation resident identity cards, exit-entry permits for traveling to and from Hong Kong and Macao, and international passports with an NFC chip:
|
|
188
218
|
|
|
189
219
|
-Chinese mainland second-generation resident identity card: identity card number, name, sex, ethnicity, date of birth, address, issuing authority, validity start time, validity end time, portrait photo
|
|
190
|
-
-Exit-Entry Permit for
|
|
191
|
-
-
|
|
220
|
+
-Exit-Entry Permit for Traveling to and from Hong Kong and Macao: ID number, name, sex, English name, issuing place, issuing authority, validity end time, date of birth, portrait photo, machine-readable code
|
|
221
|
+
-International passports with an NFC chip: passport number, name, nationality, sex, country or region code, validity start time, validity end time, date of birth, birth place, issuing place, issuing authority, portrait photo, machine-readable code
|
|
192
222
|
* @param {GetNFCResultRequest} req
|
|
193
223
|
* @param {function(string, GetNFCResultResponse):void} cb
|
|
194
224
|
* @public
|
|
@@ -333,6 +363,17 @@ The data generated with the SDK must be stored in COS, and the region of the COS
|
|
|
333
363
|
this.request("CompareFaceLiveness", req, resp, cb);
|
|
334
364
|
}
|
|
335
365
|
|
|
366
|
+
/**
|
|
367
|
+
* Changes the status of continuous name list screening.
|
|
368
|
+
* @param {UpdateAMLOngoingScreeningStatusRequest} req
|
|
369
|
+
* @param {function(string, UpdateAMLOngoingScreeningStatusResponse):void} cb
|
|
370
|
+
* @public
|
|
371
|
+
*/
|
|
372
|
+
UpdateAMLOngoingScreeningStatus(req, cb) {
|
|
373
|
+
let resp = new UpdateAMLOngoingScreeningStatusResponse();
|
|
374
|
+
this.request("UpdateAMLOngoingScreeningStatus", req, resp, cb);
|
|
375
|
+
}
|
|
376
|
+
|
|
336
377
|
/**
|
|
337
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.
|
|
338
379
|
* @param {DetectAIFakeFacesRequest} req
|
|
@@ -356,7 +397,11 @@ The data generated with the SDK must be stored in COS, and the region of the COS
|
|
|
356
397
|
}
|
|
357
398
|
|
|
358
399
|
/**
|
|
359
|
-
* NFC verification service
|
|
400
|
+
* NFC verification service: obtain Token information (valid for 10 minutes) for the NFC identify request. This API supports NFC recognition and verification of the following documents:
|
|
401
|
+
|
|
402
|
+
-Chinese mainland second-generation resident identity card
|
|
403
|
+
-Exit-Entry Permit for Traveling to and from Hong Kong and Macao
|
|
404
|
+
-International passports with an NFC chip
|
|
360
405
|
* @param {GetNFCTokenRequest} req
|
|
361
406
|
* @param {function(string, GetNFCTokenResponse):void} cb
|
|
362
407
|
* @public
|
|
@@ -366,6 +411,17 @@ The data generated with the SDK must be stored in COS, and the region of the COS
|
|
|
366
411
|
this.request("GetNFCToken", req, resp, cb);
|
|
367
412
|
}
|
|
368
413
|
|
|
414
|
+
/**
|
|
415
|
+
* This API updates the Webhook configuration.
|
|
416
|
+
* @param {UpdateEKYCWebhookRequest} req
|
|
417
|
+
* @param {function(string, UpdateEKYCWebhookResponse):void} cb
|
|
418
|
+
* @public
|
|
419
|
+
*/
|
|
420
|
+
UpdateEKYCWebhook(req, cb) {
|
|
421
|
+
let resp = new UpdateEKYCWebhookResponse();
|
|
422
|
+
this.request("UpdateEKYCWebhook", req, resp, cb);
|
|
423
|
+
}
|
|
424
|
+
|
|
369
425
|
/**
|
|
370
426
|
* This API is used to detect liveness with the package generated by the liveness comparison (reflection-based) SDK, and to compare the person detected with that in the image passed in.
|
|
371
427
|
The image and the data generated with the SDK must be stored in COS, and the region of the COS bucket must be same as that of requests made with this API. We recommend that you pass resources with upload link APIs.
|
|
@@ -378,6 +434,28 @@ The image and the data generated with the SDK must be stored in COS, and the reg
|
|
|
378
434
|
this.request("DetectReflectLivenessAndCompare", req, resp, cb);
|
|
379
435
|
}
|
|
380
436
|
|
|
437
|
+
/**
|
|
438
|
+
* AML name list screening
|
|
439
|
+
* @param {UpdateAMLCustomerProfileRequest} req
|
|
440
|
+
* @param {function(string, UpdateAMLCustomerProfileResponse):void} cb
|
|
441
|
+
* @public
|
|
442
|
+
*/
|
|
443
|
+
UpdateAMLCustomerProfile(req, cb) {
|
|
444
|
+
let resp = new UpdateAMLCustomerProfileResponse();
|
|
445
|
+
this.request("UpdateAMLCustomerProfile", req, resp, cb);
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
/**
|
|
449
|
+
* Queries the AML name list screening result.
|
|
450
|
+
* @param {GetAMLScreeningResultRequest} req
|
|
451
|
+
* @param {function(string, GetAMLScreeningResultResponse):void} cb
|
|
452
|
+
* @public
|
|
453
|
+
*/
|
|
454
|
+
GetAMLScreeningResult(req, cb) {
|
|
455
|
+
let resp = new GetAMLScreeningResultResponse();
|
|
456
|
+
this.request("GetAMLScreeningResult", req, resp, cb);
|
|
457
|
+
}
|
|
458
|
+
|
|
381
459
|
/**
|
|
382
460
|
* This API is used to validate the authenticity and consistency of the name and identity card number.
|
|
383
461
|
* @param {IdCardVerificationRequest} req
|
|
@@ -390,7 +468,7 @@ The image and the data generated with the SDK must be stored in COS, and the reg
|
|
|
390
468
|
}
|
|
391
469
|
|
|
392
470
|
/**
|
|
393
|
-
*
|
|
471
|
+
* After completing the Web verification process, call this API with the verification token (BizToken) to query the verification result info. The BizToken is valid within three days (259,200 seconds) after application and can be called multiple times.
|
|
394
472
|
* @param {GetWebVerificationResultIntlRequest} req
|
|
395
473
|
* @param {function(string, GetWebVerificationResultIntlResponse):void} cb
|
|
396
474
|
* @public
|
|
@@ -400,6 +478,17 @@ The image and the data generated with the SDK must be stored in COS, and the reg
|
|
|
400
478
|
this.request("GetWebVerificationResultIntl", req, resp, cb);
|
|
401
479
|
}
|
|
402
480
|
|
|
481
|
+
/**
|
|
482
|
+
* This API queries the list of Webhook configurations.
|
|
483
|
+
* @param {ListEKYCWebhooksRequest} req
|
|
484
|
+
* @param {function(string, ListEKYCWebhooksResponse):void} cb
|
|
485
|
+
* @public
|
|
486
|
+
*/
|
|
487
|
+
ListEKYCWebhooks(req, cb) {
|
|
488
|
+
let resp = new ListEKYCWebhooksResponse();
|
|
489
|
+
this.request("ListEKYCWebhooks", req, resp, cb);
|
|
490
|
+
}
|
|
491
|
+
|
|
403
492
|
/**
|
|
404
493
|
* This API is used to validate the authenticity and consistency of the name, identity card number, and valid period.
|
|
405
494
|
* @param {CheckIdNameDateRequest} req
|
|
@@ -411,6 +500,17 @@ The image and the data generated with the SDK must be stored in COS, and the reg
|
|
|
411
500
|
this.request("CheckIdNameDate", req, resp, cb);
|
|
412
501
|
}
|
|
413
502
|
|
|
503
|
+
/**
|
|
504
|
+
* This API is used to create an EKYC Webhook configuration.
|
|
505
|
+
* @param {CreateEKYCWebhookRequest} req
|
|
506
|
+
* @param {function(string, CreateEKYCWebhookResponse):void} cb
|
|
507
|
+
* @public
|
|
508
|
+
*/
|
|
509
|
+
CreateEKYCWebhook(req, cb) {
|
|
510
|
+
let resp = new CreateEKYCWebhookResponse();
|
|
511
|
+
this.request("CreateEKYCWebhook", req, resp, cb);
|
|
512
|
+
}
|
|
513
|
+
|
|
414
514
|
/**
|
|
415
515
|
* Bank card basic information query
|
|
416
516
|
* @param {CheckBankCardInformationRequest} req
|
|
@@ -444,6 +544,17 @@ The image and the data generated with the SDK must be stored in COS, and the reg
|
|
|
444
544
|
this.request("BankCard2EVerification", req, resp, cb);
|
|
445
545
|
}
|
|
446
546
|
|
|
547
|
+
/**
|
|
548
|
+
* This API deletes the Webhook configuration.
|
|
549
|
+
* @param {DeleteEKYCWebhookRequest} req
|
|
550
|
+
* @param {function(string, DeleteEKYCWebhookResponse):void} cb
|
|
551
|
+
* @public
|
|
552
|
+
*/
|
|
553
|
+
DeleteEKYCWebhook(req, cb) {
|
|
554
|
+
let resp = new DeleteEKYCWebhookResponse();
|
|
555
|
+
this.request("DeleteEKYCWebhook", req, resp, cb);
|
|
556
|
+
}
|
|
557
|
+
|
|
447
558
|
/**
|
|
448
559
|
* This API is used to get the verification result with the corresponding token (SdkToken) after the liveness detection is completed. The token is valid for two hours after issuance and can be called multiple times.
|
|
449
560
|
* @param {GetLivenessResultRequest} req
|