tencentcloud-sdk-nodejs-intl-en 3.0.1341 → 3.0.1343

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-intl-en",
3
- "version": "3.0.1341",
3
+ "version": "3.0.1343",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -652,7 +652,7 @@ This is an asynchronous API. After it returns the result successfully, you can c
652
652
  This API is used to perform asynchronous operations. After returning a successful result, call the DescribeTaskStatus API with the returned RequestID as an input parameter to check whether this task is successful.
653
653
  This API is used to describe restrictions.
654
654
  -SCF binding is supported only in Guangzhou, Shenzhen Finance, Shanghai, Shanghai Finance, Beijing, Chengdu, Hong Kong (China), Singapore, Tokyo, and Silicon Valley.
655
- -Only the standard account type supports binding SCF. The classic account type is unsupported. We recommend upgrading to the standard account type. For more information, see [account type upgrade instructions](https://www.tencentcloud.com/document/product/1199/49090?from_cn_redirect=1).
655
+ -Only the standard account type supports binding SCF. The classic account type is unsupported. We recommend upgrading to the standard account type. For more information, see [Checking Account Type](https://www.tencentcloud.com/document/product/684/15246).
656
656
  -Classic CLB does not support binding SCF.
657
657
  -Basic Network Type does not support binding SCF.
658
658
  -CLB supports binding ALL SCFs in the same region by default, supports cross-VPC binding, but cross-region selection is not supported.
@@ -1,2 +1,2 @@
1
- const sdkVersion = "3.0.1341";
1
+ const sdkVersion = "3.0.1343";
2
2
  module.exports = sdkVersion
@@ -19,19 +19,23 @@ const AbstractClient = require('../../common/abstract_client')
19
19
  const GetLivenessResultResponse = models.GetLivenessResultResponse;
20
20
  const GetFaceIdTokenIntlResponse = models.GetFaceIdTokenIntlResponse;
21
21
  const InternationalIDPassport = models.InternationalIDPassport;
22
+ const ApplySdkVerificationTokenRequest = models.ApplySdkVerificationTokenRequest;
23
+ const PhilippinesVoteID = models.PhilippinesVoteID;
22
24
  const GetSdkVerificationResultResponse = models.GetSdkVerificationResultResponse;
23
25
  const GetSdkVerificationResultRequest = models.GetSdkVerificationResultRequest;
24
- const Encryption = models.Encryption;
26
+ const ApplyWebVerificationBizTokenIntlResponse = models.ApplyWebVerificationBizTokenIntlResponse;
25
27
  const AttackRiskDetail = models.AttackRiskDetail;
26
- const ExtraInfo = models.ExtraInfo;
28
+ const Encryption = models.Encryption;
27
29
  const CreateUploadUrlResponse = models.CreateUploadUrlResponse;
28
30
  const NormalMLIDCard = models.NormalMLIDCard;
29
- const EditDetail = models.EditDetail;
31
+ const DetectReflectLivenessAndCompareResponse = models.DetectReflectLivenessAndCompareResponse;
30
32
  const DetectReflectLivenessAndCompareRequest = models.DetectReflectLivenessAndCompareRequest;
31
33
  const GetFaceIdTokenIntlRequest = models.GetFaceIdTokenIntlRequest;
32
34
  const JapanIDCard = models.JapanIDCard;
35
+ const BankCardVerificationRequest = models.BankCardVerificationRequest;
36
+ const EditDetail = models.EditDetail;
33
37
  const NigeriaDrivingLicense = models.NigeriaDrivingLicense;
34
- const PakistanDrivingLicense = models.PakistanDrivingLicense;
38
+ const CheckBankCardInformationResponse = models.CheckBankCardInformationResponse;
35
39
  const ThailandIDCard = models.ThailandIDCard;
36
40
  const VerificationDetail = models.VerificationDetail;
37
41
  const GetWebVerificationResultIntlResponse = models.GetWebVerificationResultIntlResponse;
@@ -41,27 +45,31 @@ const SingaporeIDCard = models.SingaporeIDCard;
41
45
  const IndonesiaDrivingLicense = models.IndonesiaDrivingLicense;
42
46
  const GetFaceIdResultIntlRequest = models.GetFaceIdResultIntlRequest;
43
47
  const NormalCardInfo = models.NormalCardInfo;
44
- const ApplySdkVerificationTokenRequest = models.ApplySdkVerificationTokenRequest;
48
+ const PakistanDrivingLicense = models.PakistanDrivingLicense;
49
+ const BankCard4EVerificationResponse = models.BankCard4EVerificationResponse;
45
50
  const GenerateReflectSequenceRequest = models.GenerateReflectSequenceRequest;
46
51
  const BangladeshIDCard = models.BangladeshIDCard;
52
+ const VideoLivenessCompareResponse = models.VideoLivenessCompareResponse;
47
53
  const PhilippinesSSSID = models.PhilippinesSSSID;
48
54
  const CardVerifyResult = models.CardVerifyResult;
49
- const TaiWanIDCard = models.TaiWanIDCard;
50
- const DetectAIFakeFacesRequest = models.DetectAIFakeFacesRequest;
55
+ const BankCard2EVerificationRequest = models.BankCard2EVerificationRequest;
56
+ const Address = models.Address;
51
57
  const PakistanIDCard = models.PakistanIDCard;
52
- const ApplyLivenessTokenResponse = models.ApplyLivenessTokenResponse;
58
+ const CheckBankCardInformationRequest = models.CheckBankCardInformationRequest;
53
59
  const GetLivenessResultRequest = models.GetLivenessResultRequest;
54
60
  const CardInfo = models.CardInfo;
55
- const PhilippinesVoteID = models.PhilippinesVoteID;
61
+ const ExtraInfo = models.ExtraInfo;
56
62
  const WebVerificationConfigIntl = models.WebVerificationConfigIntl;
57
63
  const MainlandIDCard = models.MainlandIDCard;
58
- const Address = models.Address;
64
+ const DetectAIFakeFacesRequest = models.DetectAIFakeFacesRequest;
65
+ const TaiWanIDCard = models.TaiWanIDCard;
59
66
  const RetrievalLivenessExtraInfo = models.RetrievalLivenessExtraInfo;
60
67
  const NigeriaIDCard = models.NigeriaIDCard;
61
68
  const NormalIndonesiaIDCard = models.NormalIndonesiaIDCard;
62
69
  const CompareFaceLivenessResponse = models.CompareFaceLivenessResponse;
63
- const IndonesiaIDCard = models.IndonesiaIDCard;
70
+ const BankCardVerificationResponse = models.BankCardVerificationResponse;
64
71
  const ApplySdkVerificationTokenResponse = models.ApplySdkVerificationTokenResponse;
72
+ const BankCard4EVerificationRequest = models.BankCard4EVerificationRequest;
65
73
  const CreateUploadUrlRequest = models.CreateUploadUrlRequest;
66
74
  const ApplyWebVerificationBizTokenIntlRequest = models.ApplyWebVerificationBizTokenIntlRequest;
67
75
  const NormalHKIDCard = models.NormalHKIDCard;
@@ -69,20 +77,22 @@ const CompareFaceLivenessRequest = models.CompareFaceLivenessRequest;
69
77
  const ApplyLivenessTokenRequest = models.ApplyLivenessTokenRequest;
70
78
  const NormalThailandIDCard = models.NormalThailandIDCard;
71
79
  const PhilippinesDrivingLicense = models.PhilippinesDrivingLicense;
72
- const GetFaceIdResultIntlResponse = models.GetFaceIdResultIntlResponse;
80
+ const VideoLivenessCompareRequest = models.VideoLivenessCompareRequest;
73
81
  const GenerateReflectSequenceResponse = models.GenerateReflectSequenceResponse;
74
82
  const HMTPermit = models.HMTPermit;
75
- const ApplyWebVerificationBizTokenIntlResponse = models.ApplyWebVerificationBizTokenIntlResponse;
83
+ const IndonesiaIDCard = models.IndonesiaIDCard;
76
84
  const GeneralCard = models.GeneralCard;
77
85
  const LivenessCompareResponse = models.LivenessCompareResponse;
78
86
  const MacaoIDCard = models.MacaoIDCard;
79
87
  const PhilippinesUMID = models.PhilippinesUMID;
88
+ const BankCard2EVerificationResponse = models.BankCard2EVerificationResponse;
89
+ const ApplyLivenessTokenResponse = models.ApplyLivenessTokenResponse;
80
90
  const PhilippinesTinID = models.PhilippinesTinID;
81
91
  const DetectAIFakeFacesResponse = models.DetectAIFakeFacesResponse;
82
92
  const LivenessCompareRequest = models.LivenessCompareRequest;
83
93
  const MLIDCard = models.MLIDCard;
84
94
  const OCRResult = models.OCRResult;
85
- const DetectReflectLivenessAndCompareResponse = models.DetectReflectLivenessAndCompareResponse;
95
+ const GetFaceIdResultIntlResponse = models.GetFaceIdResultIntlResponse;
86
96
  const GetWebVerificationResultIntlRequest = models.GetWebVerificationResultIntlRequest;
87
97
  const CompareResult = models.CompareResult;
88
98
 
@@ -97,6 +107,17 @@ class FaceidClient extends AbstractClient {
97
107
  super("faceid.intl.tencentcloudapi.com", "2018-03-01", credential, region, profile);
98
108
  }
99
109
 
110
+ /**
111
+ * This API is used to pass in URLs of a video and a photo, determine whether the person in the video is real, and if yes, then determine whether the person in the video is the same as that in the photo.
112
+ * @param {VideoLivenessCompareRequest} req
113
+ * @param {function(string, VideoLivenessCompareResponse):void} cb
114
+ * @public
115
+ */
116
+ VideoLivenessCompare(req, cb) {
117
+ let resp = new VideoLivenessCompareResponse();
118
+ this.request("VideoLivenessCompare", req, resp, cb);
119
+ }
120
+
100
121
  /**
101
122
  * This API is used to apply for a token before calling the liveness detection service each time. This token is required for initiating the verification process and getting the result after the verification is completed.
102
123
  * @param {ApplyLivenessTokenRequest} req
@@ -108,6 +129,17 @@ class FaceidClient extends AbstractClient {
108
129
  this.request("ApplyLivenessToken", req, resp, cb);
109
130
  }
110
131
 
132
+ /**
133
+ * This interface supports judgment of real person and photo comparison to verify the user's identity online. By passing the video and photo into the interface, it will first judge whether the person in the video is real. If yes, it judges whether the person in the video is the same one as the uploaded photo and returns authentication result.
134
+ * @param {CompareFaceLivenessRequest} req
135
+ * @param {function(string, CompareFaceLivenessResponse):void} cb
136
+ * @public
137
+ */
138
+ CompareFaceLiveness(req, cb) {
139
+ let resp = new CompareFaceLivenessResponse();
140
+ this.request("CompareFaceLiveness", req, resp, cb);
141
+ }
142
+
111
143
  /**
112
144
  * 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.
113
145
  * @param {GetWebVerificationResultIntlRequest} req
@@ -120,15 +152,15 @@ class FaceidClient extends AbstractClient {
120
152
  }
121
153
 
122
154
  /**
123
- * This API is used to pass in a video and a photo, determine whether the person in the video is real, and if yes, then determine whether the person in the video is the same as that in the photo.
124
- This API on the legacy version will continue to serve existing users but will be unavailable to new users. We recommend you use `VideoLivenessCompare` for better service quality.
125
- * @param {LivenessCompareRequest} req
126
- * @param {function(string, LivenessCompareResponse):void} cb
155
+ * This API is used to generate an appropriate light sequence based on the information collected by the liveness comparison (reflection-based) SDK and pass the light sequence into the SDK to start the eKYC process.
156
+ 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.
157
+ * @param {GenerateReflectSequenceRequest} req
158
+ * @param {function(string, GenerateReflectSequenceResponse):void} cb
127
159
  * @public
128
160
  */
129
- LivenessCompare(req, cb) {
130
- let resp = new LivenessCompareResponse();
131
- this.request("LivenessCompare", req, resp, cb);
161
+ GenerateReflectSequence(req, cb) {
162
+ let resp = new GenerateReflectSequenceResponse();
163
+ this.request("GenerateReflectSequence", req, resp, cb);
132
164
  }
133
165
 
134
166
  /**
@@ -144,15 +176,37 @@ The image and the data generated with the SDK must be stored in COS, and the reg
144
176
  }
145
177
 
146
178
  /**
147
- * This API is used to generate an appropriate light sequence based on the information collected by the liveness comparison (reflection-based) SDK and pass the light sequence into the SDK to start the eKYC process.
148
- 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.
149
- * @param {GenerateReflectSequenceRequest} req
150
- * @param {function(string, GenerateReflectSequenceResponse):void} cb
179
+ * This API is used to verify the authenticity and consistency of the bank card number, name, and ID number of information.
180
+ * @param {BankCardVerificationRequest} req
181
+ * @param {function(string, BankCardVerificationResponse):void} cb
151
182
  * @public
152
183
  */
153
- GenerateReflectSequence(req, cb) {
154
- let resp = new GenerateReflectSequenceResponse();
155
- this.request("GenerateReflectSequence", req, resp, cb);
184
+ BankCardVerification(req, cb) {
185
+ let resp = new BankCardVerificationResponse();
186
+ this.request("BankCardVerification", req, resp, cb);
187
+ }
188
+
189
+ /**
190
+ * This API is used to apply for an SDK token before calling the selfie verification SDK each time. The SDK token is used throughout the eKYC process and to get the verification result after the verification is completed. A token is valid for one eKYC process only.
191
+ * @param {GetFaceIdTokenIntlRequest} req
192
+ * @param {function(string, GetFaceIdTokenIntlResponse):void} cb
193
+ * @public
194
+ */
195
+ GetFaceIdTokenIntl(req, cb) {
196
+ let resp = new GetFaceIdTokenIntlResponse();
197
+ this.request("GetFaceIdTokenIntl", req, resp, cb);
198
+ }
199
+
200
+ /**
201
+ * This API is used to pass in a video and a photo, determine whether the person in the video is real, and if yes, then determine whether the person in the video is the same as that in the photo.
202
+ This API on the legacy version will continue to serve existing users but will be unavailable to new users. We recommend you use `VideoLivenessCompare` for better service quality.
203
+ * @param {LivenessCompareRequest} req
204
+ * @param {function(string, LivenessCompareResponse):void} cb
205
+ * @public
206
+ */
207
+ LivenessCompare(req, cb) {
208
+ let resp = new LivenessCompareResponse();
209
+ this.request("LivenessCompare", req, resp, cb);
156
210
  }
157
211
 
158
212
  /**
@@ -189,14 +243,14 @@ The data generated with the SDK must be stored in COS, and the region of the COS
189
243
  }
190
244
 
191
245
  /**
192
- * This API is used to apply for an SDK token before calling the selfie verification SDK each time. The SDK token is used throughout the eKYC process and to get the verification result after the verification is completed. A token is valid for one eKYC process only.
193
- * @param {GetFaceIdTokenIntlRequest} req
194
- * @param {function(string, GetFaceIdTokenIntlResponse):void} cb
246
+ * This API is used to validate the authenticity and consistency of the name and bank card number.
247
+ * @param {BankCard2EVerificationRequest} req
248
+ * @param {function(string, BankCard2EVerificationResponse):void} cb
195
249
  * @public
196
250
  */
197
- GetFaceIdTokenIntl(req, cb) {
198
- let resp = new GetFaceIdTokenIntlResponse();
199
- this.request("GetFaceIdTokenIntl", req, resp, cb);
251
+ BankCard2EVerification(req, cb) {
252
+ let resp = new BankCard2EVerificationResponse();
253
+ this.request("BankCard2EVerification", req, resp, cb);
200
254
  }
201
255
 
202
256
  /**
@@ -212,14 +266,14 @@ The data will be stored in a COS bucket in the region specified by the parameter
212
266
  }
213
267
 
214
268
  /**
215
- * This interface supports judgment of real person and photo comparison to verify the user's identity online. By passing the video and photo into the interface, it will first judge whether the person in the video is real. If yes, it judges whether the person in the video is the same one as the uploaded photo and returns authentication result.
216
- * @param {CompareFaceLivenessRequest} req
217
- * @param {function(string, CompareFaceLivenessResponse):void} cb
269
+ * This API is used to verify the authenticity and consistency of the bank card number, name, ID number, and mobile number for account opening.
270
+ * @param {BankCard4EVerificationRequest} req
271
+ * @param {function(string, BankCard4EVerificationResponse):void} cb
218
272
  * @public
219
273
  */
220
- CompareFaceLiveness(req, cb) {
221
- let resp = new CompareFaceLivenessResponse();
222
- this.request("CompareFaceLiveness", req, resp, cb);
274
+ BankCard4EVerification(req, cb) {
275
+ let resp = new BankCard4EVerificationResponse();
276
+ this.request("BankCard4EVerification", req, resp, cb);
223
277
  }
224
278
 
225
279
  /**
@@ -244,6 +298,17 @@ The data will be stored in a COS bucket in the region specified by the parameter
244
298
  this.request("DetectAIFakeFaces", req, resp, cb);
245
299
  }
246
300
 
301
+ /**
302
+ * Bank card basic information query
303
+ * @param {CheckBankCardInformationRequest} req
304
+ * @param {function(string, CheckBankCardInformationResponse):void} cb
305
+ * @public
306
+ */
307
+ CheckBankCardInformation(req, cb) {
308
+ let resp = new CheckBankCardInformationResponse();
309
+ this.request("CheckBankCardInformation", req, resp, cb);
310
+ }
311
+
247
312
  /**
248
313
  * 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.
249
314
  * @param {GetLivenessResultRequest} req