tencentcloud-sdk-nodejs-intl-en 3.0.1341 → 3.0.1342
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/common/sdk_version.js +1 -1
- package/tencentcloud/faceid/v20180301/faceid_client.js +90 -38
- package/tencentcloud/faceid/v20180301/models.js +1150 -611
- package/tencentcloud/trtc/v20190722/models.js +23 -22
- package/tencentcloud/vclm/v20240523/models.js +121 -0
- package/tencentcloud/vclm/v20240523/vclm_client.js +13 -0
package/package.json
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.1342";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -19,17 +19,21 @@ 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
|
|
26
|
+
const ApplyWebVerificationBizTokenIntlResponse = models.ApplyWebVerificationBizTokenIntlResponse;
|
|
25
27
|
const AttackRiskDetail = models.AttackRiskDetail;
|
|
26
|
-
const
|
|
28
|
+
const Encryption = models.Encryption;
|
|
27
29
|
const CreateUploadUrlResponse = models.CreateUploadUrlResponse;
|
|
28
30
|
const NormalMLIDCard = models.NormalMLIDCard;
|
|
29
|
-
const
|
|
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
38
|
const PakistanDrivingLicense = models.PakistanDrivingLicense;
|
|
35
39
|
const ThailandIDCard = models.ThailandIDCard;
|
|
@@ -41,27 +45,30 @@ const SingaporeIDCard = models.SingaporeIDCard;
|
|
|
41
45
|
const IndonesiaDrivingLicense = models.IndonesiaDrivingLicense;
|
|
42
46
|
const GetFaceIdResultIntlRequest = models.GetFaceIdResultIntlRequest;
|
|
43
47
|
const NormalCardInfo = models.NormalCardInfo;
|
|
44
|
-
const
|
|
48
|
+
const BankCard4EVerificationResponse = models.BankCard4EVerificationResponse;
|
|
45
49
|
const GenerateReflectSequenceRequest = models.GenerateReflectSequenceRequest;
|
|
46
50
|
const BangladeshIDCard = models.BangladeshIDCard;
|
|
51
|
+
const VideoLivenessCompareResponse = models.VideoLivenessCompareResponse;
|
|
47
52
|
const PhilippinesSSSID = models.PhilippinesSSSID;
|
|
48
53
|
const CardVerifyResult = models.CardVerifyResult;
|
|
49
|
-
const
|
|
50
|
-
const
|
|
54
|
+
const BankCard2EVerificationRequest = models.BankCard2EVerificationRequest;
|
|
55
|
+
const Address = models.Address;
|
|
51
56
|
const PakistanIDCard = models.PakistanIDCard;
|
|
52
57
|
const ApplyLivenessTokenResponse = models.ApplyLivenessTokenResponse;
|
|
53
58
|
const GetLivenessResultRequest = models.GetLivenessResultRequest;
|
|
54
59
|
const CardInfo = models.CardInfo;
|
|
55
|
-
const
|
|
60
|
+
const ExtraInfo = models.ExtraInfo;
|
|
56
61
|
const WebVerificationConfigIntl = models.WebVerificationConfigIntl;
|
|
57
62
|
const MainlandIDCard = models.MainlandIDCard;
|
|
58
|
-
const
|
|
63
|
+
const DetectAIFakeFacesRequest = models.DetectAIFakeFacesRequest;
|
|
64
|
+
const TaiWanIDCard = models.TaiWanIDCard;
|
|
59
65
|
const RetrievalLivenessExtraInfo = models.RetrievalLivenessExtraInfo;
|
|
60
66
|
const NigeriaIDCard = models.NigeriaIDCard;
|
|
61
67
|
const NormalIndonesiaIDCard = models.NormalIndonesiaIDCard;
|
|
62
68
|
const CompareFaceLivenessResponse = models.CompareFaceLivenessResponse;
|
|
63
|
-
const
|
|
69
|
+
const BankCardVerificationResponse = models.BankCardVerificationResponse;
|
|
64
70
|
const ApplySdkVerificationTokenResponse = models.ApplySdkVerificationTokenResponse;
|
|
71
|
+
const BankCard4EVerificationRequest = models.BankCard4EVerificationRequest;
|
|
65
72
|
const CreateUploadUrlRequest = models.CreateUploadUrlRequest;
|
|
66
73
|
const ApplyWebVerificationBizTokenIntlRequest = models.ApplyWebVerificationBizTokenIntlRequest;
|
|
67
74
|
const NormalHKIDCard = models.NormalHKIDCard;
|
|
@@ -69,20 +76,21 @@ const CompareFaceLivenessRequest = models.CompareFaceLivenessRequest;
|
|
|
69
76
|
const ApplyLivenessTokenRequest = models.ApplyLivenessTokenRequest;
|
|
70
77
|
const NormalThailandIDCard = models.NormalThailandIDCard;
|
|
71
78
|
const PhilippinesDrivingLicense = models.PhilippinesDrivingLicense;
|
|
72
|
-
const
|
|
79
|
+
const VideoLivenessCompareRequest = models.VideoLivenessCompareRequest;
|
|
73
80
|
const GenerateReflectSequenceResponse = models.GenerateReflectSequenceResponse;
|
|
74
81
|
const HMTPermit = models.HMTPermit;
|
|
75
|
-
const
|
|
82
|
+
const IndonesiaIDCard = models.IndonesiaIDCard;
|
|
76
83
|
const GeneralCard = models.GeneralCard;
|
|
77
84
|
const LivenessCompareResponse = models.LivenessCompareResponse;
|
|
78
85
|
const MacaoIDCard = models.MacaoIDCard;
|
|
79
86
|
const PhilippinesUMID = models.PhilippinesUMID;
|
|
87
|
+
const BankCard2EVerificationResponse = models.BankCard2EVerificationResponse;
|
|
80
88
|
const PhilippinesTinID = models.PhilippinesTinID;
|
|
81
89
|
const DetectAIFakeFacesResponse = models.DetectAIFakeFacesResponse;
|
|
82
90
|
const LivenessCompareRequest = models.LivenessCompareRequest;
|
|
83
91
|
const MLIDCard = models.MLIDCard;
|
|
84
92
|
const OCRResult = models.OCRResult;
|
|
85
|
-
const
|
|
93
|
+
const GetFaceIdResultIntlResponse = models.GetFaceIdResultIntlResponse;
|
|
86
94
|
const GetWebVerificationResultIntlRequest = models.GetWebVerificationResultIntlRequest;
|
|
87
95
|
const CompareResult = models.CompareResult;
|
|
88
96
|
|
|
@@ -97,6 +105,17 @@ class FaceidClient extends AbstractClient {
|
|
|
97
105
|
super("faceid.intl.tencentcloudapi.com", "2018-03-01", credential, region, profile);
|
|
98
106
|
}
|
|
99
107
|
|
|
108
|
+
/**
|
|
109
|
+
* 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.
|
|
110
|
+
* @param {VideoLivenessCompareRequest} req
|
|
111
|
+
* @param {function(string, VideoLivenessCompareResponse):void} cb
|
|
112
|
+
* @public
|
|
113
|
+
*/
|
|
114
|
+
VideoLivenessCompare(req, cb) {
|
|
115
|
+
let resp = new VideoLivenessCompareResponse();
|
|
116
|
+
this.request("VideoLivenessCompare", req, resp, cb);
|
|
117
|
+
}
|
|
118
|
+
|
|
100
119
|
/**
|
|
101
120
|
* 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
121
|
* @param {ApplyLivenessTokenRequest} req
|
|
@@ -108,6 +127,17 @@ class FaceidClient extends AbstractClient {
|
|
|
108
127
|
this.request("ApplyLivenessToken", req, resp, cb);
|
|
109
128
|
}
|
|
110
129
|
|
|
130
|
+
/**
|
|
131
|
+
* 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.
|
|
132
|
+
* @param {CompareFaceLivenessRequest} req
|
|
133
|
+
* @param {function(string, CompareFaceLivenessResponse):void} cb
|
|
134
|
+
* @public
|
|
135
|
+
*/
|
|
136
|
+
CompareFaceLiveness(req, cb) {
|
|
137
|
+
let resp = new CompareFaceLivenessResponse();
|
|
138
|
+
this.request("CompareFaceLiveness", req, resp, cb);
|
|
139
|
+
}
|
|
140
|
+
|
|
111
141
|
/**
|
|
112
142
|
* 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
143
|
* @param {GetWebVerificationResultIntlRequest} req
|
|
@@ -120,15 +150,15 @@ class FaceidClient extends AbstractClient {
|
|
|
120
150
|
}
|
|
121
151
|
|
|
122
152
|
/**
|
|
123
|
-
* This API is used to
|
|
124
|
-
|
|
125
|
-
* @param {
|
|
126
|
-
* @param {function(string,
|
|
153
|
+
* 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.
|
|
154
|
+
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.
|
|
155
|
+
* @param {GenerateReflectSequenceRequest} req
|
|
156
|
+
* @param {function(string, GenerateReflectSequenceResponse):void} cb
|
|
127
157
|
* @public
|
|
128
158
|
*/
|
|
129
|
-
|
|
130
|
-
let resp = new
|
|
131
|
-
this.request("
|
|
159
|
+
GenerateReflectSequence(req, cb) {
|
|
160
|
+
let resp = new GenerateReflectSequenceResponse();
|
|
161
|
+
this.request("GenerateReflectSequence", req, resp, cb);
|
|
132
162
|
}
|
|
133
163
|
|
|
134
164
|
/**
|
|
@@ -144,15 +174,37 @@ The image and the data generated with the SDK must be stored in COS, and the reg
|
|
|
144
174
|
}
|
|
145
175
|
|
|
146
176
|
/**
|
|
147
|
-
* This API is used to
|
|
148
|
-
|
|
149
|
-
* @param {
|
|
150
|
-
* @param {function(string, GenerateReflectSequenceResponse):void} cb
|
|
177
|
+
* This API is used to verify the authenticity and consistency of the bank card number, name, and ID number of information.
|
|
178
|
+
* @param {BankCardVerificationRequest} req
|
|
179
|
+
* @param {function(string, BankCardVerificationResponse):void} cb
|
|
151
180
|
* @public
|
|
152
181
|
*/
|
|
153
|
-
|
|
154
|
-
let resp = new
|
|
155
|
-
this.request("
|
|
182
|
+
BankCardVerification(req, cb) {
|
|
183
|
+
let resp = new BankCardVerificationResponse();
|
|
184
|
+
this.request("BankCardVerification", req, resp, cb);
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* 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.
|
|
189
|
+
* @param {GetFaceIdTokenIntlRequest} req
|
|
190
|
+
* @param {function(string, GetFaceIdTokenIntlResponse):void} cb
|
|
191
|
+
* @public
|
|
192
|
+
*/
|
|
193
|
+
GetFaceIdTokenIntl(req, cb) {
|
|
194
|
+
let resp = new GetFaceIdTokenIntlResponse();
|
|
195
|
+
this.request("GetFaceIdTokenIntl", req, resp, cb);
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* 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.
|
|
200
|
+
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.
|
|
201
|
+
* @param {LivenessCompareRequest} req
|
|
202
|
+
* @param {function(string, LivenessCompareResponse):void} cb
|
|
203
|
+
* @public
|
|
204
|
+
*/
|
|
205
|
+
LivenessCompare(req, cb) {
|
|
206
|
+
let resp = new LivenessCompareResponse();
|
|
207
|
+
this.request("LivenessCompare", req, resp, cb);
|
|
156
208
|
}
|
|
157
209
|
|
|
158
210
|
/**
|
|
@@ -189,14 +241,14 @@ The data generated with the SDK must be stored in COS, and the region of the COS
|
|
|
189
241
|
}
|
|
190
242
|
|
|
191
243
|
/**
|
|
192
|
-
* This API is used to
|
|
193
|
-
* @param {
|
|
194
|
-
* @param {function(string,
|
|
244
|
+
* This API is used to validate the authenticity and consistency of the name and bank card number.
|
|
245
|
+
* @param {BankCard2EVerificationRequest} req
|
|
246
|
+
* @param {function(string, BankCard2EVerificationResponse):void} cb
|
|
195
247
|
* @public
|
|
196
248
|
*/
|
|
197
|
-
|
|
198
|
-
let resp = new
|
|
199
|
-
this.request("
|
|
249
|
+
BankCard2EVerification(req, cb) {
|
|
250
|
+
let resp = new BankCard2EVerificationResponse();
|
|
251
|
+
this.request("BankCard2EVerification", req, resp, cb);
|
|
200
252
|
}
|
|
201
253
|
|
|
202
254
|
/**
|
|
@@ -212,14 +264,14 @@ The data will be stored in a COS bucket in the region specified by the parameter
|
|
|
212
264
|
}
|
|
213
265
|
|
|
214
266
|
/**
|
|
215
|
-
* This
|
|
216
|
-
* @param {
|
|
217
|
-
* @param {function(string,
|
|
267
|
+
* This API is used to verify the authenticity and consistency of the bank card number, name, ID number, and mobile number for account opening.
|
|
268
|
+
* @param {BankCard4EVerificationRequest} req
|
|
269
|
+
* @param {function(string, BankCard4EVerificationResponse):void} cb
|
|
218
270
|
* @public
|
|
219
271
|
*/
|
|
220
|
-
|
|
221
|
-
let resp = new
|
|
222
|
-
this.request("
|
|
272
|
+
BankCard4EVerification(req, cb) {
|
|
273
|
+
let resp = new BankCard4EVerificationResponse();
|
|
274
|
+
this.request("BankCard4EVerification", req, resp, cb);
|
|
223
275
|
}
|
|
224
276
|
|
|
225
277
|
/**
|