tencentcloud-sdk-nodejs-intl-en 3.0.1440 → 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.
@@ -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
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,73 +53,85 @@ 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;
57
64
  const CompareFaceLivenessRequest = models.CompareFaceLivenessRequest;
65
+ const GetNFCResultRequest = models.GetNFCResultRequest;
58
66
  const NormalIndonesiaIDCard = models.NormalIndonesiaIDCard;
59
67
  const HMTPermit = models.HMTPermit;
60
68
  const PhilippinesTinID = models.PhilippinesTinID;
61
69
  const DetectAIFakeFacesResponse = models.DetectAIFakeFacesResponse;
70
+ const DeleteEKYCWebhookRequest = models.DeleteEKYCWebhookRequest;
62
71
  const LivenessCompareRequest = models.LivenessCompareRequest;
63
72
  const MLIDCard = models.MLIDCard;
64
73
  const GetFaceIdResultIntlResponse = models.GetFaceIdResultIntlResponse;
65
74
  const CheckBankCardInformationRequest = models.CheckBankCardInformationRequest;
66
- const GetWxNFCResultResponse = models.GetWxNFCResultResponse;
75
+ const ListEKYCWebhooksRequest = models.ListEKYCWebhooksRequest;
67
76
  const BankCardVerificationRequest = models.BankCardVerificationRequest;
68
- const GetWxNFCResultRequest = models.GetWxNFCResultRequest;
69
77
  const ThailandIDCard = models.ThailandIDCard;
70
78
  const CheckIdCardInformationResponse = models.CheckIdCardInformationResponse;
71
79
  const PhoneVerificationResponse = models.PhoneVerificationResponse;
72
80
  const IdCardOCRVerificationRequest = models.IdCardOCRVerificationRequest;
81
+ const UpdateEKYCWebhookResponse = models.UpdateEKYCWebhookResponse;
73
82
  const BankCard4EVerificationResponse = models.BankCard4EVerificationResponse;
74
83
  const GenerateReflectSequenceRequest = models.GenerateReflectSequenceRequest;
75
84
  const EditDetail = models.EditDetail;
76
85
  const PakistanIDCard = models.PakistanIDCard;
77
86
  const Encryption = models.Encryption;
78
87
  const MobileNetworkTimeVerificationRequest = models.MobileNetworkTimeVerificationRequest;
88
+ const GetAMLScreeningResultRequest = models.GetAMLScreeningResultRequest;
79
89
  const GetLivenessResultRequest = models.GetLivenessResultRequest;
80
90
  const CheckIdCardInformationRequest = models.CheckIdCardInformationRequest;
81
91
  const IdCardOCRVerificationResponse = models.IdCardOCRVerificationResponse;
82
92
  const NigeriaIDCard = models.NigeriaIDCard;
83
93
  const CompareFaceLivenessResponse = models.CompareFaceLivenessResponse;
84
94
  const BankCardVerificationResponse = models.BankCardVerificationResponse;
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
101
  const GenerateReflectSequenceResponse = models.GenerateReflectSequenceResponse;
89
- const ImageRecognitionResponse = models.ImageRecognitionResponse;
90
102
  const IdCardVerificationResponse = models.IdCardVerificationResponse;
91
103
  const WebVerificationConfigIntl = models.WebVerificationConfigIntl;
92
104
  const CompareResult = models.CompareResult;
105
+ const RunAMLNameScreeningResponse = models.RunAMLNameScreeningResponse;
93
106
  const InternationalIDPassport = models.InternationalIDPassport;
94
107
  const MobileNetworkTimeVerificationResponse = models.MobileNetworkTimeVerificationResponse;
95
108
  const CreateUploadUrlResponse = models.CreateUploadUrlResponse;
96
109
  const JapanIDCard = models.JapanIDCard;
97
110
  const NigeriaDrivingLicense = models.NigeriaDrivingLicense;
111
+ const CreateEKYCWebhookRequest = models.CreateEKYCWebhookRequest;
98
112
  const HKIDCard = models.HKIDCard;
99
113
  const PhoneVerificationRequest = models.PhoneVerificationRequest;
100
114
  const IndonesiaDrivingLicense = models.IndonesiaDrivingLicense;
101
115
  const VerificationDetail = models.VerificationDetail;
102
116
  const DetectReflectLivenessAndCompareResponse = models.DetectReflectLivenessAndCompareResponse;
103
117
  const VideoLivenessCompareResponse = models.VideoLivenessCompareResponse;
118
+ const UpdateAMLCustomerProfileResponse = models.UpdateAMLCustomerProfileResponse;
104
119
  const BankCard2EVerificationRequest = models.BankCard2EVerificationRequest;
105
120
  const Address = models.Address;
106
121
  const RetrievalLivenessExtraInfo = models.RetrievalLivenessExtraInfo;
107
122
  const ImageRecognitionV2Request = models.ImageRecognitionV2Request;
108
123
  const MainlandIDCard = models.MainlandIDCard;
109
124
  const NormalMLIDCard = models.NormalMLIDCard;
110
- const ImageRecognitionRequest = models.ImageRecognitionRequest;
125
+ const UpdateEKYCWebhookRequest = models.UpdateEKYCWebhookRequest;
111
126
  const BankCard4EVerificationRequest = models.BankCard4EVerificationRequest;
112
127
  const CreateUploadUrlRequest = models.CreateUploadUrlRequest;
113
128
  const GetNFCTokenResponse = models.GetNFCTokenResponse;
114
129
  const NormalHKIDCard = models.NormalHKIDCard;
115
130
  const GetSdkVerificationResultRequest = models.GetSdkVerificationResultRequest;
131
+ const RunAMLNameScreeningRequest = models.RunAMLNameScreeningRequest;
116
132
  const ApplyLivenessTokenRequest = models.ApplyLivenessTokenRequest;
117
133
  const GetNFCTokenRequest = models.GetNFCTokenRequest;
134
+ const UpdateAMLOngoingScreeningStatusRequest = models.UpdateAMLOngoingScreeningStatusRequest;
118
135
  const TaiWanIDCard = models.TaiWanIDCard;
119
136
  const GetWebVerificationResultIntlRequest = models.GetWebVerificationResultIntlRequest;
120
137
 
@@ -162,6 +179,17 @@ class FaceidClient extends AbstractClient {
162
179
  this.request("GetFaceIdTokenIntl", req, resp, cb);
163
180
  }
164
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
+
165
193
  /**
166
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.
167
195
  * @param {ApplyWebVerificationBizTokenIntlRequest} req
@@ -184,6 +212,22 @@ class FaceidClient extends AbstractClient {
184
212
  this.request("GetFaceIdResultIntl", req, resp, cb);
185
213
  }
186
214
 
215
+ /**
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:
218
+
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
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
222
+ * @param {GetNFCResultRequest} req
223
+ * @param {function(string, GetNFCResultResponse):void} cb
224
+ * @public
225
+ */
226
+ GetNFCResult(req, cb) {
227
+ let resp = new GetNFCResultResponse();
228
+ this.request("GetNFCResult", req, resp, cb);
229
+ }
230
+
187
231
  /**
188
232
  * This API is used to generate a temporary `UploadUrl` for uploading resource files (with the `HTTP PUT` method). After resource upload, `ResourceUrl` will be passed to the `TargetAction` API to complete the resource passing (specific fields vary by case).
189
233
  The data will be stored in a COS bucket in the region specified by the parameter `Region` for two hours.
@@ -320,14 +364,14 @@ The data generated with the SDK must be stored in COS, and the region of the COS
320
364
  }
321
365
 
322
366
  /**
323
- * This API is used to judge whether the image passed in and the ID photo in the authoritative database belong to the same person based on the identity information (this interface has stopped integration, new customers please use the <a href="https://www.tencentcloud.com/document/product/1007/102203?from_cn_redirect=1">photo face verification (V2.0)</a> API).
324
- * @param {ImageRecognitionRequest} req
325
- * @param {function(string, ImageRecognitionResponse):void} cb
367
+ * Changes the status of continuous name list screening.
368
+ * @param {UpdateAMLOngoingScreeningStatusRequest} req
369
+ * @param {function(string, UpdateAMLOngoingScreeningStatusResponse):void} cb
326
370
  * @public
327
371
  */
328
- ImageRecognition(req, cb) {
329
- let resp = new ImageRecognitionResponse();
330
- this.request("ImageRecognition", req, resp, cb);
372
+ UpdateAMLOngoingScreeningStatus(req, cb) {
373
+ let resp = new UpdateAMLOngoingScreeningStatusResponse();
374
+ this.request("UpdateAMLOngoingScreeningStatus", req, resp, cb);
331
375
  }
332
376
 
333
377
  /**
@@ -353,7 +397,11 @@ The data generated with the SDK must be stored in COS, and the region of the COS
353
397
  }
354
398
 
355
399
  /**
356
- * NFC verification service, obtain Token information for the NFC identify request.This API supports NFC recognition and verification of ID cards (second-generation resident identity card, Residence Permit for Hong Kong (China) and Macao (China), Residence Permit for Taiwan (China), Permanent Residence Permit for Foreigners) as well as travel documents (exit-entry permit for travelling to and from Hong Kong (China) and Macao (China), Taiwan travel permit, Mainland Travel Permit for Taiwan Residents, Return Home Permit).
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
357
405
  * @param {GetNFCTokenRequest} req
358
406
  * @param {function(string, GetNFCTokenResponse):void} cb
359
407
  * @public
@@ -364,14 +412,14 @@ The data generated with the SDK must be stored in COS, and the region of the COS
364
412
  }
365
413
 
366
414
  /**
367
- * Obtain document NFC data, input the Token returned by the NFC SDK (valid for 10 minutes), and return the corresponding document information retrieved via NFC. This API supports NFC recognition and verification of ID cards (second-generation resident identity card, Residence Permit for Hong Kong (China) and Macao (China), Residence Permit for Taiwan (China), Permanent Residence Permit for Foreigners) as well as travel documents (exit-entry permit for travelling to and from Hong Kong (China) and Macao (China), Taiwan travel permit, Mainland Travel Permit for Taiwan Residents, Return Home Permit).
368
- * @param {GetWxNFCResultRequest} req
369
- * @param {function(string, GetWxNFCResultResponse):void} cb
415
+ * This API updates the Webhook configuration.
416
+ * @param {UpdateEKYCWebhookRequest} req
417
+ * @param {function(string, UpdateEKYCWebhookResponse):void} cb
370
418
  * @public
371
419
  */
372
- GetWxNFCResult(req, cb) {
373
- let resp = new GetWxNFCResultResponse();
374
- this.request("GetWxNFCResult", req, resp, cb);
420
+ UpdateEKYCWebhook(req, cb) {
421
+ let resp = new UpdateEKYCWebhookResponse();
422
+ this.request("UpdateEKYCWebhook", req, resp, cb);
375
423
  }
376
424
 
377
425
  /**
@@ -386,6 +434,28 @@ The image and the data generated with the SDK must be stored in COS, and the reg
386
434
  this.request("DetectReflectLivenessAndCompare", req, resp, cb);
387
435
  }
388
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
+
389
459
  /**
390
460
  * This API is used to validate the authenticity and consistency of the name and identity card number.
391
461
  * @param {IdCardVerificationRequest} req
@@ -398,7 +468,7 @@ The image and the data generated with the SDK must be stored in COS, and the reg
398
468
  }
399
469
 
400
470
  /**
401
- * This API is used to get the verification result with the corresponding BizToken after the web-based verification is completed. The token is valid for three days (259,200s) after issuance and can be called multiple times.
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.
402
472
  * @param {GetWebVerificationResultIntlRequest} req
403
473
  * @param {function(string, GetWebVerificationResultIntlResponse):void} cb
404
474
  * @public
@@ -408,6 +478,17 @@ The image and the data generated with the SDK must be stored in COS, and the reg
408
478
  this.request("GetWebVerificationResultIntl", req, resp, cb);
409
479
  }
410
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
+
411
492
  /**
412
493
  * This API is used to validate the authenticity and consistency of the name, identity card number, and valid period.
413
494
  * @param {CheckIdNameDateRequest} req
@@ -419,6 +500,17 @@ The image and the data generated with the SDK must be stored in COS, and the reg
419
500
  this.request("CheckIdNameDate", req, resp, cb);
420
501
  }
421
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
+
422
514
  /**
423
515
  * Bank card basic information query
424
516
  * @param {CheckBankCardInformationRequest} req
@@ -452,6 +544,17 @@ The image and the data generated with the SDK must be stored in COS, and the reg
452
544
  this.request("BankCard2EVerification", req, resp, cb);
453
545
  }
454
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
+
455
558
  /**
456
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.
457
560
  * @param {GetLivenessResultRequest} req