tencentcloud-sdk-nodejs 4.0.479 → 4.0.481

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.
@@ -18,113 +18,89 @@
18
18
  import { AbstractClient } from "../../../common/abstract_client"
19
19
  import { ClientConfig } from "../../../common/interface"
20
20
  import {
21
- GetLivenessResultResponse,
22
- CheckIdNameDateResponse,
23
- IdCardVerificationRequest,
24
- GetDetectInfoEnhancedResponse,
25
- IntentionQuestionResult,
26
- MobileStatusRequest,
27
- ParseNfcDataResponse,
28
- LivenessRecognitionRequest,
29
- CheckEidTokenStatusResponse,
30
- EidInfo,
31
- DetectAuthRequest,
32
- CheckEidTokenStatusRequest,
33
- GetActionSequenceResponse,
34
- LivenessCompareResponse,
35
- BankCard2EVerificationResponse,
36
- MobileStatusResponse,
37
- LivenessResponse,
38
- EncryptedPhoneVerificationRequest,
39
- EncryptedPhoneVerificationResponse,
40
21
  DetectInfoVideoData,
22
+ GetDetectInfoEnhancedRequest,
23
+ GetFaceIdTokenRequest,
41
24
  LivenessRequest,
42
- GetSdkVerificationResultResponse,
43
25
  Encryption,
44
- DetectReflectLivenessAndCompareRequest,
45
- VideoLivenessCompareRequest,
46
- CheckBankCardInformationResponse,
47
- GetWebVerificationResultRequest,
48
- GetEidTokenRequest,
49
- ApplySdkVerificationTokenRequest,
50
- CardVerifyResult,
51
- CheckIdNameDateRequest,
52
- GetFaceIdTokenResponse,
53
- ApplyLivenessTokenResponse,
54
- ApplySdkVerificationTokenResponse,
55
- MinorsVerificationRequest,
56
- GetFaceIdResultResponse,
57
- IntentionVerifyData,
58
- LivenessCompareRequest,
59
- DetectDetail,
60
- GetRealNameAuthResultResponse,
61
26
  CheckBankCardInformationRequest,
27
+ MobileNetworkTimeVerificationResponse,
28
+ GetLiveCodeRequest,
29
+ CheckIdNameDateResponse,
30
+ IdCardVerificationRequest,
62
31
  BankCardVerificationRequest,
32
+ CheckBankCardInformationResponse,
63
33
  DetectInfoBestFrame,
64
- GetWeChatBillDetailsResponse,
34
+ WeChatBillDetail,
35
+ GetEidTokenConfig,
65
36
  CheckIdCardInformationResponse,
37
+ GetDetectInfoEnhancedResponse,
38
+ PhoneVerificationRequest,
39
+ PhoneVerificationCMCCRequest,
66
40
  GetEidResultRequest,
67
41
  DetectAuthResponse,
68
42
  PhoneVerificationResponse,
69
- IdCardOCRVerificationRequest,
43
+ GetEidTokenRequest,
44
+ IntentionQuestionResult,
45
+ GetWeChatBillDetailsResponse,
46
+ CheckPhoneAndNameResponse,
70
47
  BankCard4EVerificationResponse,
71
- GenerateReflectSequenceRequest,
48
+ MobileStatusRequest,
49
+ IdCardOCRVerificationRequest,
72
50
  GetRealNameAuthTokenRequest,
73
- MobileNetworkTimeVerificationRequest,
51
+ ParseNfcDataResponse,
52
+ CheckIdNameDateRequest,
53
+ BankCard2EVerificationRequest,
54
+ LivenessRecognitionRequest,
55
+ EidInfo,
56
+ GetFaceIdTokenResponse,
57
+ GetRealNameAuthTokenResponse,
74
58
  PhoneVerificationCMCCResponse,
75
- MobileNetworkTimeVerificationResponse,
76
- ApplyWebVerificationTokenRequest,
77
- PhoneVerificationCUCCResponse,
59
+ CheckEidTokenStatusResponse,
60
+ PhoneVerificationCTCCResponse,
61
+ MobileStatusResponse,
62
+ PhoneVerificationCTCCRequest,
63
+ IdCardOCRVerificationResponse,
64
+ ChargeDetail,
65
+ ParseNfcDataRequest,
66
+ LivenessResponse,
78
67
  CheckIdCardInformationRequest,
79
- GetEidTokenConfig,
80
- GetRealNameAuthTokenResponse,
68
+ DetectInfoText,
69
+ DetectAuthRequest,
81
70
  MinorsVerificationResponse,
82
71
  GetWeChatBillDetailsRequest,
83
- BankCardVerificationResponse,
84
- PhoneVerificationCUCCRequest,
85
- PhoneVerificationCMCCRequest,
86
- FileInfo,
87
- DetectInfoText,
88
- GenerateReflectSequenceResponse,
89
- ImageRecognitionResponse,
90
- GetDetectInfoResponse,
91
- IdCardVerificationResponse,
92
- GetLivenessResultRequest,
93
- CompareResult,
94
- GetDetectInfoEnhancedRequest,
95
- LivenessRecognitionResponse,
96
- CreateUploadUrlResponse,
97
- GetLiveCodeRequest,
72
+ CheckEidTokenStatusRequest,
98
73
  GetEidResultResponse,
99
- ApplyWebVerificationTokenResponse,
100
- WeChatBillDetail,
101
- PhoneVerificationRequest,
102
74
  GetRealNameAuthResultRequest,
103
- GetFaceIdResultRequest,
104
- CheckPhoneAndNameResponse,
105
- GetFaceIdTokenRequest,
106
- VerificationDetail,
107
- DetectReflectLivenessAndCompareResponse,
108
- VideoLivenessCompareResponse,
109
- BankCard2EVerificationRequest,
110
- IdCardOCRVerificationResponse,
111
- PhoneVerificationCTCCResponse,
112
- ChargeDetail,
113
- ParseNfcDataRequest,
114
- PhoneVerificationCTCCRequest,
115
75
  ImageRecognitionRequest,
76
+ PhoneVerificationCUCCRequest,
116
77
  BankCard4EVerificationRequest,
117
- CreateUploadUrlRequest,
118
- GetWebVerificationResultResponse,
119
- GetSdkVerificationResultRequest,
120
- ApplyLivenessTokenRequest,
78
+ MobileNetworkTimeVerificationRequest,
79
+ GetFaceIdResultRequest,
80
+ PhoneVerificationCUCCResponse,
81
+ GetActionSequenceResponse,
82
+ LivenessRecognitionResponse,
83
+ BankCardVerificationResponse,
84
+ MinorsVerificationRequest,
85
+ ImageRecognitionResponse,
121
86
  GetActionSequenceRequest,
87
+ GetDetectInfoResponse,
88
+ LivenessCompareResponse,
122
89
  GetLiveCodeResponse,
123
90
  GetDetectInfoRequest,
91
+ BankCard2EVerificationResponse,
92
+ IdCardVerificationResponse,
124
93
  DetectInfoIdCardData,
125
94
  CheckPhoneAndNameRequest,
126
95
  GetEidTokenResponse,
96
+ IntentionVerifyData,
97
+ LivenessCompareRequest,
98
+ DetectDetail,
99
+ GetFaceIdResultResponse,
100
+ EncryptedPhoneVerificationRequest,
101
+ GetRealNameAuthResultResponse,
127
102
  IntentionQuestion,
103
+ EncryptedPhoneVerificationResponse,
128
104
  } from "./faceid_models"
129
105
 
130
106
  /**
@@ -146,16 +122,6 @@ export class Client extends AbstractClient {
146
122
  return this.request("GetLiveCode", req, cb)
147
123
  }
148
124
 
149
- /**
150
- * 传入视频和照片地址,先判断视频中是否为真人,判断为真人后,再判断该视频中的人与上传照片是否属于同一个人。
151
- */
152
- async VideoLivenessCompare(
153
- req: VideoLivenessCompareRequest,
154
- cb?: (error: string, rep: VideoLivenessCompareResponse) => void
155
- ): Promise<VideoLivenessCompareResponse> {
156
- return this.request("VideoLivenessCompare", req, cb)
157
- }
158
-
159
125
  /**
160
126
  * 使用动作活体检测模式前,需调用本接口获取动作顺序。
161
127
  */
@@ -196,17 +162,6 @@ export class Client extends AbstractClient {
196
162
  return this.request("CheckEidTokenStatus", req, cb)
197
163
  }
198
164
 
199
- /**
200
- * 生成一个临时的UploadUrl用于上传资源文件,客户需要使用HTTP PUT方法上传,上传完成后将ResourceUrl传给TargetAction对应接口完成资源传递(具体字段由使用场景确定)。
201
- 数据存储于Region参数对应地域的腾讯云COS Bucket,存储有效期2小时。
202
- */
203
- async CreateUploadUrl(
204
- req: CreateUploadUrlRequest,
205
- cb?: (error: string, rep: CreateUploadUrlResponse) => void
206
- ): Promise<CreateUploadUrlResponse> {
207
- return this.request("CreateUploadUrl", req, cb)
208
- }
209
-
210
165
  /**
211
166
  * 本接口用于输入银行卡号、姓名、开户证件号、开户手机号,校验信息的真实性和一致性。
212
167
  */
@@ -258,16 +213,6 @@ export class Client extends AbstractClient {
258
213
  return this.request("CheckPhoneAndName", req, cb)
259
214
  }
260
215
 
261
- /**
262
- * 每次调用活体服务前,需要先调用本接口获取Token,需要保存此Token用来发起核验流程,并且在核验完成后获取结果信息。
263
- */
264
- async ApplyLivenessToken(
265
- req: ApplyLivenessTokenRequest,
266
- cb?: (error: string, rep: ApplyLivenessTokenResponse) => void
267
- ): Promise<ApplyLivenessTokenResponse> {
268
- return this.request("ApplyLivenessToken", req, cb)
269
- }
270
-
271
216
  /**
272
217
  * 本接口用于银行卡号、姓名、开户证件号信息的真实性和一致性。
273
218
  */
@@ -278,16 +223,6 @@ export class Client extends AbstractClient {
278
223
  return this.request("BankCardVerification", req, cb)
279
224
  }
280
225
 
281
- /**
282
- * 每次调用Web核验服务前,需要先调用本接口获取Token,需要保存此Token用来发起核验流程,并且在核验完成后获取结果信息。
283
- */
284
- async ApplySdkVerificationToken(
285
- req: ApplySdkVerificationTokenRequest,
286
- cb?: (error: string, rep: ApplySdkVerificationTokenResponse) => void
287
- ): Promise<ApplySdkVerificationTokenResponse> {
288
- return this.request("ApplySdkVerificationToken", req, cb)
289
- }
290
-
291
226
  /**
292
227
  * 传入视频和照片,先判断视频中是否为真人,判断为真人后,再判断该视频中的人与上传照片是否属于同一个人。
293
228
  */
@@ -298,27 +233,6 @@ export class Client extends AbstractClient {
298
233
  return this.request("LivenessCompare", req, cb)
299
234
  }
300
235
 
301
- /**
302
- * 根据活体比对(光线)SDK采集的机器信息生成适合的光线序列,将光线序列传入SDK后开启核身。
303
- SDK生成的数据内容必须存储在腾讯云COS,COS Bucket所在的Region需要和本接口请求的Region保持一致,推荐使用生成上传链接接口来完成资源传递。
304
- */
305
- async GenerateReflectSequence(
306
- req: GenerateReflectSequenceRequest,
307
- cb?: (error: string, rep: GenerateReflectSequenceResponse) => void
308
- ): Promise<GenerateReflectSequenceResponse> {
309
- return this.request("GenerateReflectSequence", req, cb)
310
- }
311
-
312
- /**
313
- * 完成Sdk核验流程后,用核验令牌(Token)调用本接口查询对应核验结果信息。Token申请后三天内有效,可多次调用。
314
- */
315
- async GetSdkVerificationResult(
316
- req: GetSdkVerificationResultRequest,
317
- cb?: (error: string, rep: GetSdkVerificationResultResponse) => void
318
- ): Promise<GetSdkVerificationResultResponse> {
319
- return this.request("GetSdkVerificationResult", req, cb)
320
- }
321
-
322
236
  /**
323
237
  * 该接口仅限微信公众号中使用,传入姓名和身份证号获取回调URL,在微信公众号中打开验证姓名和身份证号与微信实名的信息是否一致。
324
238
 
@@ -371,13 +285,13 @@ SDK生成的数据内容必须存储在腾讯云COS,COS Bucket所在的Region
371
285
  }
372
286
 
373
287
  /**
374
- * 完成Web核验流程后,用核验令牌(BizToken)调用本接口查询对应核验结果信息。BizToken申请后三天内(3\*24\*3,600秒)有效,可多次调用。
288
+ * 本接口用于校验手机号、姓名和身份证号的真实性和一致性。支持的手机号段详情请查阅<a href="https://cloud.tencent.com/document/product/1007/46063">运营商类</a>文档。
375
289
  */
376
- async GetWebVerificationResult(
377
- req: GetWebVerificationResultRequest,
378
- cb?: (error: string, rep: GetWebVerificationResultResponse) => void
379
- ): Promise<GetWebVerificationResultResponse> {
380
- return this.request("GetWebVerificationResult", req, cb)
290
+ async PhoneVerification(
291
+ req: PhoneVerificationRequest,
292
+ cb?: (error: string, rep: PhoneVerificationResponse) => void
293
+ ): Promise<PhoneVerificationResponse> {
294
+ return this.request("PhoneVerification", req, cb)
381
295
  }
382
296
 
383
297
  /**
@@ -410,17 +324,6 @@ SDK生成的数据内容必须存储在腾讯云COS,COS Bucket所在的Region
410
324
  return this.request("MinorsVerification", req, cb)
411
325
  }
412
326
 
413
- /**
414
- * 使用活体比对(光线)SDK生成的数据包检测活体,并和传入的图片进行比对。
415
- 图片和SDK生成的数据内容必须存储在腾讯云COS,COS Bucket所在的Region需要和本接口请求的Region保持一致,推荐使用生成上传链接接口来完成资源传递。
416
- */
417
- async DetectReflectLivenessAndCompare(
418
- req: DetectReflectLivenessAndCompareRequest,
419
- cb?: (error: string, rep: DetectReflectLivenessAndCompareResponse) => void
420
- ): Promise<DetectReflectLivenessAndCompareResponse> {
421
- return this.request("DetectReflectLivenessAndCompare", req, cb)
422
- }
423
-
424
327
  /**
425
328
  * 本接口用于校验姓名、身份证号、身份证有效期的真实性和一致性。
426
329
  */
@@ -521,16 +424,6 @@ SDK生成的数据内容必须存储在腾讯云COS,COS Bucket所在的Region
521
424
  return this.request("CheckBankCardInformation", req, cb)
522
425
  }
523
426
 
524
- /**
525
- * 每次调用Web核验服务前,需要先调用本接口获取BizToken,需要保存此BizToken用来发起核验流程,并且在核验完成后获取结果信息。
526
- */
527
- async ApplyWebVerificationToken(
528
- req: ApplyWebVerificationTokenRequest,
529
- cb?: (error: string, rep: ApplyWebVerificationTokenResponse) => void
530
- ): Promise<ApplyWebVerificationTokenResponse> {
531
- return this.request("ApplyWebVerificationToken", req, cb)
532
- }
533
-
534
427
  /**
535
428
  * 完成验证后,用BizToken调用本接口获取结果信息,BizToken生成后三天内(3\*24\*3,600秒)可多次拉取。
536
429
  */
@@ -551,16 +444,6 @@ SDK生成的数据内容必须存储在腾讯云COS,COS Bucket所在的Region
551
444
  return this.request("BankCard2EVerification", req, cb)
552
445
  }
553
446
 
554
- /**
555
- * 本接口用于校验手机号、姓名和身份证号的真实性和一致性。支持的手机号段详情请查阅<a href="https://cloud.tencent.com/document/product/1007/46063">运营商类</a>文档。
556
- */
557
- async PhoneVerification(
558
- req: PhoneVerificationRequest,
559
- cb?: (error: string, rep: PhoneVerificationResponse) => void
560
- ): Promise<PhoneVerificationResponse> {
561
- return this.request("PhoneVerification", req, cb)
562
- }
563
-
564
447
  /**
565
448
  * 本接口用于校验中国电信手机号、姓名和身份证号的真实性和一致性。中国电信支持的手机号段详情请查阅<a href="https://cloud.tencent.com/document/product/1007/46063">运营商类</a>文档。
566
449
  */
@@ -580,14 +463,4 @@ SDK生成的数据内容必须存储在腾讯云COS,COS Bucket所在的Region
580
463
  ): Promise<GetRealNameAuthResultResponse> {
581
464
  return this.request("GetRealNameAuthResult", req, cb)
582
465
  }
583
-
584
- /**
585
- * 完成活体检测流程后,用核验令牌(SdkToken)调用本接口查询对应核验结果信息。Token申请后2小时内有效,可多次调用。
586
- */
587
- async GetLivenessResult(
588
- req: GetLivenessResultRequest,
589
- cb?: (error: string, rep: GetLivenessResultResponse) => void
590
- ): Promise<GetLivenessResultResponse> {
591
- return this.request("GetLivenessResult", req, cb)
592
- }
593
466
  }