tencentcloud-sdk-nodejs-faceid 4.0.819 → 4.0.820

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-faceid",
3
- "version": "4.0.819",
3
+ "version": "4.0.820",
4
4
  "description": "Tencent Cloud API NODEJS SDK",
5
5
  "main": "tencentcloud/index.js",
6
6
  "scripts": {
package/products.md CHANGED
@@ -6,7 +6,7 @@
6
6
  | advisor | [云顾问](https://cloud.tencent.com/document/product/1264) | 2024-03-20 01:07:31 |
7
7
  | af | [借贷反欺诈](https://cloud.tencent.com/document/product/668) | 2024-03-20 01:07:31 |
8
8
  | afc | [定制建模](https://cloud.tencent.com/document/product/1029) | 2024-03-20 01:07:32 |
9
- | aiart | [大模型图像创作引擎](https://cloud.tencent.com/document/product/1668) | 2024-03-20 01:07:33 |
9
+ | aiart | [大模型图像创作引擎](https://cloud.tencent.com/document/product/1668) | 2024-03-26 10:43:03 |
10
10
  | ame | [正版曲库直通车](https://cloud.tencent.com/document/product/1155) | 2023-08-17 01:06:14 |
11
11
  | ams | [音频内容安全](https://cloud.tencent.com/document/product/1219) | 2024-03-20 01:07:34 |
12
12
  | anicloud | [动效素材服务](https://cloud.tencent.com/document/product/1641) | 2023-05-18 01:01:53 |
@@ -40,7 +40,7 @@
40
40
  | cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2024-03-20 01:09:28 |
41
41
  | cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2024-03-21 01:09:20 |
42
42
  | ccc | [云联络中心](https://cloud.tencent.com/document/product/679) | 2024-03-20 01:09:36 |
43
- | cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2024-03-20 01:09:44 |
43
+ | cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2024-03-26 01:09:47 |
44
44
  | cdc | [本地专用集群](https://cloud.tencent.com/document/product/1346) | 2024-03-20 01:10:04 |
45
45
  | cdn | [内容分发网络 CDN](https://cloud.tencent.com/document/product/228) | 2024-03-21 01:09:58 |
46
46
  | cds | [T-Sec-数据安全审计(DSA)](https://cloud.tencent.com/document/product/856) | 2024-03-20 01:10:22 |
@@ -55,7 +55,7 @@
55
55
  | cii | [智能保险助手](https://cloud.tencent.com/document/product/1368) | 2023-05-18 01:12:07 |
56
56
  | cim | [](https://cloud.tencent.com/document/product) | 2019-05-16 17:21:18 |
57
57
  | cis | [](https://cloud.tencent.com/document/product) | 2018-06-07 15:01:42 |
58
- | ckafka | [消息队列 CKafka 版](https://cloud.tencent.com/document/product/597) | 2024-03-20 01:11:02 |
58
+ | ckafka | [消息队列 CKafka 版](https://cloud.tencent.com/document/product/597) | 2024-03-26 01:11:10 |
59
59
  | clb | [负载均衡](https://cloud.tencent.com/document/product/214) | 2024-03-25 01:11:07 |
60
60
  | cloudaudit | [操作审计](https://cloud.tencent.com/document/product/629) | 2024-01-15 01:09:37 |
61
61
  | cloudhsm | [云加密机](https://cloud.tencent.com/document/product/639) | 2024-03-20 01:11:31 |
@@ -96,10 +96,10 @@
96
96
  | eis | [数据连接器](https://cloud.tencent.com/document/product/1270) | 2023-08-10 01:17:44 |
97
97
  | emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2024-03-20 01:16:19 |
98
98
  | es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2024-03-20 01:16:27 |
99
- | ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2024-03-25 01:16:14 |
100
- | essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-03-20 01:16:49 |
99
+ | ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2024-03-26 01:16:22 |
100
+ | essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-03-26 01:16:43 |
101
101
  | facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2024-03-20 01:17:05 |
102
- | faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2024-03-25 01:16:50 |
102
+ | faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2024-03-26 01:17:00 |
103
103
  | fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2024-03-20 01:17:11 |
104
104
  | ft | [人像变换](https://cloud.tencent.com/document/product/1202) | 2024-03-20 01:17:13 |
105
105
  | gaap | [全球应用加速](https://cloud.tencent.com/document/product/608) | 2024-03-25 01:16:59 |
@@ -134,7 +134,7 @@
134
134
  | kms | [密钥管理系统](https://cloud.tencent.com/document/product/573) | 2024-03-20 01:19:25 |
135
135
  | lcic | [实时互动-教育版](https://cloud.tencent.com/document/product/1639) | 2024-03-21 01:19:23 |
136
136
  | lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2024-03-20 01:19:40 |
137
- | live | [云直播CSS](https://cloud.tencent.com/document/product/267) | 2024-03-21 01:19:47 |
137
+ | live | [云直播CSS](https://cloud.tencent.com/document/product/267) | 2024-03-26 01:19:46 |
138
138
  | lowcode | [云开发低码](https://cloud.tencent.com/document/product/1301) | 2022-04-04 06:56:51 |
139
139
  | lp | [登录保护](https://cloud.tencent.com/document/product/1190) | 2022-04-04 06:56:52 |
140
140
  | mall | [商场客留大数据](https://cloud.tencent.com/document/product/1707) | 2024-03-20 01:20:11 |
@@ -153,7 +153,7 @@
153
153
  | mvj | [营销价值判断](https://cloud.tencent.com/document/product) | 2020-03-19 08:11:44 |
154
154
  | nlp | [NLP 服务](https://cloud.tencent.com/document/product/271) | 2024-03-20 01:21:33 |
155
155
  | npp | [号码保护](https://cloud.tencent.com/document/product) | 2020-04-22 08:00:22 |
156
- | oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2024-03-20 01:21:36 |
156
+ | oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2024-03-26 01:21:37 |
157
157
  | ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2024-03-25 01:21:34 |
158
158
  | omics | [腾讯健康组学平台](https://cloud.tencent.com/document/product/1643) | 2024-03-20 01:22:11 |
159
159
  | organization | [集团账号管理](https://cloud.tencent.com/document/product/850) | 2024-03-20 01:22:17 |
@@ -222,7 +222,7 @@
222
222
  | tourism | [文旅客情大数据](https://cloud.tencent.com/document/product/1684) | 2024-03-20 01:28:59 |
223
223
  | trdp | [流量风险决策平台](https://cloud.tencent.com/document/product/1604) | 2023-05-18 02:01:19 |
224
224
  | trocket | [消息队列 RocketMQ 版](https://cloud.tencent.com/document/product/1493) | 2024-03-20 01:29:00 |
225
- | trp | [T-Sec-安心平台(RP)](https://cloud.tencent.com/document/product/1458) | 2024-03-20 01:29:06 |
225
+ | trp | [T-Sec-安心平台(RP)](https://cloud.tencent.com/document/product/1458) | 2024-03-26 01:27:42 |
226
226
  | trro | [远程实时操控](https://cloud.tencent.com/document/product/1584) | 2024-03-20 01:29:13 |
227
227
  | trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2024-03-22 01:25:05 |
228
228
  | tse | [微服务引擎](https://cloud.tencent.com/document/product/1364) | 2024-03-21 01:28:04 |
@@ -237,7 +237,7 @@
237
237
  | vrs | [声音复刻](https://cloud.tencent.com/document/product/1283) | 2024-03-20 01:31:26 |
238
238
  | waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2024-03-20 01:31:28 |
239
239
  | wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2024-03-20 01:32:09 |
240
- | wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2024-03-20 01:32:15 |
240
+ | wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2024-03-26 01:30:25 |
241
241
  | weilingwith | [微瓴同业开放平台](https://cloud.tencent.com/document/product/1693) | 2024-03-20 01:33:01 |
242
242
  | wss | [SSL证书管理服务](https://cloud.tencent.com/document/product) | 2020-04-01 08:53:44 |
243
243
  | yinsuda | [音速达直播音乐版权引擎](https://cloud.tencent.com/document/product/1592) | 2024-03-20 01:33:11 |
@@ -19,6 +19,7 @@ import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common"
19
19
  import {
20
20
  AttackRiskDetail,
21
21
  ExtraInfo,
22
+ GetFaceidRiskInfoTokenResponse,
22
23
  CheckIdNameDateResponse,
23
24
  IdCardVerificationRequest,
24
25
  ImageRecognitionV2Response,
@@ -26,13 +27,13 @@ import {
26
27
  IntentionQuestionResult,
27
28
  RuleIdConfig,
28
29
  MobileStatusRequest,
29
- GetActionSequenceResponse,
30
+ ParseNfcDataResponse,
30
31
  LivenessRecognitionRequest,
31
32
  CheckEidTokenStatusResponse,
32
33
  EidInfo,
33
34
  DetectAuthRequest,
34
35
  CheckEidTokenStatusRequest,
35
- ParseNfcDataResponse,
36
+ GetFaceIdRiskInfoResponse,
36
37
  LivenessCompareResponse,
37
38
  BankCard2EVerificationResponse,
38
39
  MobileStatusResponse,
@@ -82,6 +83,7 @@ import {
82
83
  GetDetectInfoResponse,
83
84
  IdCardOCRVerificationResponse,
84
85
  IdCardVerificationResponse,
86
+ GetActionSequenceRequest,
85
87
  GetDetectInfoEnhancedRequest,
86
88
  LivenessRecognitionResponse,
87
89
  GetLiveCodeRequest,
@@ -92,6 +94,7 @@ import {
92
94
  CheckPhoneAndNameResponse,
93
95
  GetFaceIdTokenRequest,
94
96
  IntentionActionResult,
97
+ GetFaceidRiskInfoTokenRequest,
95
98
  BankCard2EVerificationRequest,
96
99
  ImageRecognitionV2Request,
97
100
  PhoneVerificationCTCCResponse,
@@ -100,7 +103,8 @@ import {
100
103
  PhoneVerificationCTCCRequest,
101
104
  ImageRecognitionRequest,
102
105
  BankCard4EVerificationRequest,
103
- GetActionSequenceRequest,
106
+ GetActionSequenceResponse,
107
+ GetFaceIdRiskInfoRequest,
104
108
  GetLiveCodeResponse,
105
109
  GetDetectInfoRequest,
106
110
  DetectInfoIdCardData,
@@ -129,13 +133,13 @@ export class Client extends TencentCloudCommon.AbstractClient {
129
133
  }
130
134
 
131
135
  /**
132
- * 使用动作活体检测模式前,需调用本接口获取动作顺序。
136
+ * 完成验证后,用FaceIdToken调用本接口获取设备风险相关信息,FaceIdToken生成后三天内(3\*24\*3,600秒)可多次拉取。
133
137
  */
134
- async GetActionSequence(
135
- req: GetActionSequenceRequest,
136
- cb?: (error: string, rep: GetActionSequenceResponse) => void
137
- ): Promise<GetActionSequenceResponse> {
138
- return this.request("GetActionSequence", req, cb)
138
+ async GetFaceIdRiskInfo(
139
+ req: GetFaceIdRiskInfoRequest,
140
+ cb?: (error: string, rep: GetFaceIdRiskInfoResponse) => void
141
+ ): Promise<GetFaceIdRiskInfoResponse> {
142
+ return this.request("GetFaceIdRiskInfo", req, cb)
139
143
  }
140
144
 
141
145
  /**
@@ -188,6 +192,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
188
192
  return this.request("EncryptedPhoneVerification", req, cb)
189
193
  }
190
194
 
195
+ /**
196
+ * 使用动作活体检测模式前,需调用本接口获取动作顺序。
197
+ */
198
+ async GetActionSequence(
199
+ req: GetActionSequenceRequest,
200
+ cb?: (error: string, rep: GetActionSequenceResponse) => void
201
+ ): Promise<GetActionSequenceResponse> {
202
+ return this.request("GetActionSequence", req, cb)
203
+ }
204
+
191
205
  /**
192
206
  * 完成验证后,用BizToken调用本接口获取结果信息,BizToken生成后三天内(3\*24\*3,600秒)可多次拉取。
193
207
  */
@@ -319,6 +333,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
319
333
  return this.request("MobileStatus", req, cb)
320
334
  }
321
335
 
336
+ /**
337
+ * 本接口用于校验姓名、身份证号、身份证有效期的真实性和一致性。
338
+ */
339
+ async CheckIdNameDate(
340
+ req: CheckIdNameDateRequest,
341
+ cb?: (error: string, rep: CheckIdNameDateResponse) => void
342
+ ): Promise<CheckIdNameDateResponse> {
343
+ return this.request("CheckIdNameDate", req, cb)
344
+ }
345
+
322
346
  /**
323
347
  * 本接口用于校验中国移动手机号、姓名和身份证号的真实性和一致性。中国移动支持的手机号段详情请查阅<a href="https://cloud.tencent.com/document/product/1007/46063">运营商类</a>文档。
324
348
  */
@@ -340,13 +364,13 @@ export class Client extends TencentCloudCommon.AbstractClient {
340
364
  }
341
365
 
342
366
  /**
343
- * 本接口用于校验姓名、身份证号、身份证有效期的真实性和一致性。
367
+ * 每次调用人脸核身SDK服务前,需先调用本接口获取SDKToken,用来串联核身流程,在验证完成后,用于获取风险结果信息,该Token仅能核身一次。
344
368
  */
345
- async CheckIdNameDate(
346
- req: CheckIdNameDateRequest,
347
- cb?: (error: string, rep: CheckIdNameDateResponse) => void
348
- ): Promise<CheckIdNameDateResponse> {
349
- return this.request("CheckIdNameDate", req, cb)
369
+ async GetFaceidRiskInfoToken(
370
+ req: GetFaceidRiskInfoTokenRequest,
371
+ cb?: (error: string, rep: GetFaceidRiskInfoTokenResponse) => void
372
+ ): Promise<GetFaceidRiskInfoTokenResponse> {
373
+ return this.request("GetFaceidRiskInfoToken", req, cb)
350
374
  }
351
375
 
352
376
  /**
@@ -44,6 +44,20 @@ export interface ExtraInfo {
44
44
  RetrievalLivenessExtraInfo?: Array<RetrievalLivenessExtraInfo>
45
45
  }
46
46
 
47
+ /**
48
+ * GetFaceidRiskInfoToken返回参数结构体
49
+ */
50
+ export interface GetFaceidRiskInfoTokenResponse {
51
+ /**
52
+ * 有效期 10分钟。只能完成1次核身。
53
+ */
54
+ FaceIdToken?: string
55
+ /**
56
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
57
+ */
58
+ RequestId?: string
59
+ }
60
+
47
61
  /**
48
62
  * CheckIdNameDate返回参数结构体
49
63
  */
@@ -267,13 +281,111 @@ export interface MobileStatusRequest {
267
281
  }
268
282
 
269
283
  /**
270
- * GetActionSequence返回参数结构体
284
+ * ParseNfcData返回参数结构体
271
285
  */
272
- export interface GetActionSequenceResponse {
286
+ export interface ParseNfcDataResponse {
273
287
  /**
274
- * 动作顺序(2,1 or 1,2) 。1代表张嘴,2代表闭眼。
288
+ * 0为首次查询成功,-1为查询失败。
289
+ 注意:此字段可能返回 null,表示取不到有效值。
275
290
  */
276
- ActionSequence?: string
291
+ ResultCode: string
292
+ /**
293
+ * 身份证号
294
+ 注意:此字段可能返回 null,表示取不到有效值。
295
+ */
296
+ IdNum: string
297
+ /**
298
+ * 姓名
299
+ 注意:此字段可能返回 null,表示取不到有效值。
300
+ */
301
+ Name: string
302
+ /**
303
+ * 照片
304
+ 注意:此字段可能返回 null,表示取不到有效值。
305
+ */
306
+ Picture: string
307
+ /**
308
+ * 出生日期
309
+ 注意:此字段可能返回 null,表示取不到有效值。
310
+ */
311
+ BirthDate: string
312
+ /**
313
+ * 有效期起始时间
314
+ 注意:此字段可能返回 null,表示取不到有效值。
315
+ */
316
+ BeginTime: string
317
+ /**
318
+ * 有效期结束时间
319
+ 注意:此字段可能返回 null,表示取不到有效值。
320
+ */
321
+ EndTime: string
322
+ /**
323
+ * 住址
324
+ 注意:此字段可能返回 null,表示取不到有效值。
325
+ */
326
+ Address: string
327
+ /**
328
+ * 民族
329
+ 注意:此字段可能返回 null,表示取不到有效值。
330
+ */
331
+ Nation: string
332
+ /**
333
+ * 性别
334
+ 注意:此字段可能返回 null,表示取不到有效值。
335
+ */
336
+ Sex: string
337
+ /**
338
+ * 身份证 01 中国护照 03 军官证 04 武警证 05 港澳通行证 06 台胞证 07 外国护照 08 士兵证 09 临时身份证 10 户口本 11 警官证 12 外国人永久居留证 13 港澳台居民居住证 14 回乡证 15 大陆居民来往台湾通行证 16 其他证件 99
339
+ 注意:此字段可能返回 null,表示取不到有效值。
340
+ */
341
+ IdType: string
342
+ /**
343
+ * 英文姓名
344
+ 注意:此字段可能返回 null,表示取不到有效值。
345
+ */
346
+ EnName: string
347
+ /**
348
+ * 签发机关
349
+ 注意:此字段可能返回 null,表示取不到有效值。
350
+ */
351
+ SigningOrganization: string
352
+ /**
353
+ * 港澳台居民居住证,通行证号码
354
+ 注意:此字段可能返回 null,表示取不到有效值。
355
+ */
356
+ OtherIdNum: string
357
+ /**
358
+ * 旅行证件国籍
359
+ 注意:此字段可能返回 null,表示取不到有效值。
360
+ */
361
+ Nationality: string
362
+ /**
363
+ * 旅行证件机读区第二行 29~42 位
364
+ 注意:此字段可能返回 null,表示取不到有效值。
365
+ */
366
+ PersonalNumber: string
367
+ /**
368
+ * 旅行证件类的核验结果。JSON格式如下:
369
+ {"result_issuer ":"签发者证书合法性验证结果 ","result_pape r":"证件安全对象合法性验证 结果 ","result_data" :"防数据篡改验证结果 ","result_chip" :"防证书件芯片被复制验证结果"}
370
+ 0:验证通过,1: 验证不通过,2: 未验证,3:部分通过,当4项核验结果都为0时,表示证件为真
371
+ 注意:此字段可能返回 null,表示取不到有效值。
372
+ */
373
+ CheckMRTD: string
374
+ /**
375
+ * 身份证照片面合成图片
376
+ 注意:此字段可能返回 null,表示取不到有效值。
377
+ */
378
+ ImageA: string
379
+ /**
380
+ * 身份证国徽面合成图片
381
+ 注意:此字段可能返回 null,表示取不到有效值。
382
+ */
383
+ ImageB: string
384
+ /**
385
+ * 对result code的结果描述
386
+ 注意:此字段可能返回 null,表示取不到有效值。
387
+ */
388
+ ResultDescription: string
277
389
  /**
278
390
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
279
391
  */
@@ -437,111 +549,39 @@ export interface CheckEidTokenStatusRequest {
437
549
  }
438
550
 
439
551
  /**
440
- * ParseNfcData返回参数结构体
552
+ * GetFaceIdRiskInfo返回参数结构体
441
553
  */
442
- export interface ParseNfcDataResponse {
443
- /**
444
- * 0为首次查询成功,-1为查询失败。
445
- 注意:此字段可能返回 null,表示取不到有效值。
446
- */
447
- ResultCode: string
448
- /**
449
- * 身份证号
450
- 注意:此字段可能返回 null,表示取不到有效值。
451
- */
452
- IdNum: string
453
- /**
454
- * 姓名
455
- 注意:此字段可能返回 null,表示取不到有效值。
456
- */
457
- Name: string
458
- /**
459
- * 照片
460
- 注意:此字段可能返回 null,表示取不到有效值。
461
- */
462
- Picture: string
463
- /**
464
- * 出生日期
465
- 注意:此字段可能返回 null,表示取不到有效值。
466
- */
467
- BirthDate: string
468
- /**
469
- * 有效期起始时间
470
- 注意:此字段可能返回 null,表示取不到有效值。
471
- */
472
- BeginTime: string
473
- /**
474
- * 有效期结束时间
475
- 注意:此字段可能返回 null,表示取不到有效值。
476
- */
477
- EndTime: string
554
+ export interface GetFaceIdRiskInfoResponse {
478
555
  /**
479
- * 住址
556
+ * 描述当前请求所在设备的风险标签,详情如下: 01-设备疑似被Root/设备疑似越狱 02-设备疑似被注入 03-设备疑似为模拟器 04-设备疑似存在风险操作 05-摄像头疑似被劫持 06-疑似黑产设备
480
557
  注意:此字段可能返回 null,表示取不到有效值。
481
558
  */
482
- Address: string
559
+ DeviceInfoTag?: string
483
560
  /**
484
- * 民族
561
+ * 描述当前请求所在设备的风险等级,共4级,详情如下: 1 - 安全 2 - 低风险 3 - 中风险 4 - 高危 ,-1表示未获取到风险等级
485
562
  注意:此字段可能返回 null,表示取不到有效值。
486
563
  */
487
- Nation: string
564
+ DeviceInfoLevel?: number
488
565
  /**
489
- * 性别
566
+ * 设备id标识
490
567
  注意:此字段可能返回 null,表示取不到有效值。
491
568
  */
492
- Sex: string
569
+ OpenId?: string
493
570
  /**
494
- * 身份证 01 中国护照 03 军官证 04 武警证 05 港澳通行证 06 台胞证 07 外国护照 08 士兵证 09 临时身份证 10 户口本 11 警官证 12 外国人永久居留证 13 港澳台居民居住证 14 回乡证 15 大陆居民来往台湾通行证 16 其他证件 99
571
+ * 描述当前请求所在设备的相机指纹风险等级,共4级,详情如下: 1 - 安全 2 - 低风险 3 - 中风险 4 - 高危 ,-1表示未获取到风险等级
495
572
  注意:此字段可能返回 null,表示取不到有效值。
496
573
  */
497
- IdType: string
574
+ CameraInfoLevel?: number
498
575
  /**
499
- * 英文姓名
576
+ * 描述当前请求所在设备的相机指纹风险标签,详情如下: 01-设备疑似被Root/设备疑似越狱 02-设备疑似被注入 03-设备疑似为模拟器 04-设备疑似存在风险操作 05-摄像头疑似被劫持 06-疑似黑产设备,空表示没有相机指纹风险
500
577
  注意:此字段可能返回 null,表示取不到有效值。
501
578
  */
502
- EnName: string
579
+ CameraInfoTag?: string
503
580
  /**
504
- * 签发机关
581
+ * 获取token时透传的信息
505
582
  注意:此字段可能返回 null,表示取不到有效值。
506
583
  */
507
- SigningOrganization: string
508
- /**
509
- * 港澳台居民居住证,通行证号码
510
- 注意:此字段可能返回 null,表示取不到有效值。
511
- */
512
- OtherIdNum: string
513
- /**
514
- * 旅行证件国籍
515
- 注意:此字段可能返回 null,表示取不到有效值。
516
- */
517
- Nationality: string
518
- /**
519
- * 旅行证件机读区第二行 29~42 位
520
- 注意:此字段可能返回 null,表示取不到有效值。
521
- */
522
- PersonalNumber: string
523
- /**
524
- * 旅行证件类的核验结果。JSON格式如下:
525
- {"result_issuer ":"签发者证书合法性验证结果 ","result_pape r":"证件安全对象合法性验证 结果 ","result_data" :"防数据篡改验证结果 ","result_chip" :"防证书件芯片被复制验证结果"}
526
- 0:验证通过,1: 验证不通过,2: 未验证,3:部分通过,当4项核验结果都为0时,表示证件为真
527
- 注意:此字段可能返回 null,表示取不到有效值。
528
- */
529
- CheckMRTD: string
530
- /**
531
- * 身份证照片面合成图片
532
- 注意:此字段可能返回 null,表示取不到有效值。
533
- */
534
- ImageA: string
535
- /**
536
- * 身份证国徽面合成图片
537
- 注意:此字段可能返回 null,表示取不到有效值。
538
- */
539
- ImageB: string
540
- /**
541
- * 对result code的结果描述
542
- 注意:此字段可能返回 null,表示取不到有效值。
543
- */
544
- ResultDescription: string
584
+ Extra?: string
545
585
  /**
546
586
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
547
587
  */
@@ -2258,6 +2298,16 @@ export interface IdCardVerificationResponse {
2258
2298
  RequestId?: string
2259
2299
  }
2260
2300
 
2301
+ /**
2302
+ * GetActionSequence请求参数结构体
2303
+ */
2304
+ export interface GetActionSequenceRequest {
2305
+ /**
2306
+ * 默认不需要使用
2307
+ */
2308
+ ActionType?: string
2309
+ }
2310
+
2261
2311
  /**
2262
2312
  * GetDetectInfoEnhanced请求参数结构体
2263
2313
  */
@@ -2560,6 +2610,20 @@ export interface IntentionActionResult {
2560
2610
  Details?: Array<IntentionActionResultDetail>
2561
2611
  }
2562
2612
 
2613
+ /**
2614
+ * GetFaceidRiskInfoToken请求参数结构体
2615
+ */
2616
+ export interface GetFaceidRiskInfoTokenRequest {
2617
+ /**
2618
+ * SDK中生成的Meta字符串
2619
+ */
2620
+ Meta?: string
2621
+ /**
2622
+ * 透传参数 1000长度字符串
2623
+ */
2624
+ Extra?: string
2625
+ }
2626
+
2563
2627
  /**
2564
2628
  * BankCard2EVerification请求参数结构体
2565
2629
  */
@@ -2777,13 +2841,27 @@ export interface BankCard4EVerificationRequest {
2777
2841
  }
2778
2842
 
2779
2843
  /**
2780
- * GetActionSequence请求参数结构体
2844
+ * GetActionSequence返回参数结构体
2781
2845
  */
2782
- export interface GetActionSequenceRequest {
2846
+ export interface GetActionSequenceResponse {
2783
2847
  /**
2784
- * 默认不需要使用
2848
+ * 动作顺序(2,1 or 1,2) 。1代表张嘴,2代表闭眼。
2785
2849
  */
2786
- ActionType?: string
2850
+ ActionSequence?: string
2851
+ /**
2852
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2853
+ */
2854
+ RequestId?: string
2855
+ }
2856
+
2857
+ /**
2858
+ * GetFaceIdRiskInfo请求参数结构体
2859
+ */
2860
+ export interface GetFaceIdRiskInfoRequest {
2861
+ /**
2862
+ * SDK人脸核身流程的标识,调用GetFaceidRiskInfoToken接口时生成。
2863
+ */
2864
+ FaceIdToken: string
2787
2865
  }
2788
2866
 
2789
2867
  /**
@@ -1,5 +1,5 @@
1
1
  import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
2
- import { CheckIdNameDateResponse, IdCardVerificationRequest, ImageRecognitionV2Response, GetDetectInfoEnhancedResponse, MobileStatusRequest, GetActionSequenceResponse, LivenessRecognitionRequest, CheckEidTokenStatusResponse, DetectAuthRequest, CheckEidTokenStatusRequest, ParseNfcDataResponse, LivenessCompareResponse, BankCard2EVerificationResponse, MobileStatusResponse, LivenessResponse, EncryptedPhoneVerificationRequest, EncryptedPhoneVerificationResponse, LivenessRequest, DetectAIFakeFacesRequest, CheckBankCardInformationResponse, GetEidTokenRequest, CheckIdNameDateRequest, GetFaceIdTokenResponse, MinorsVerificationRequest, GetFaceIdResultResponse, DetectAIFakeFacesResponse, LivenessCompareRequest, CheckBankCardInformationRequest, BankCardVerificationRequest, GetWeChatBillDetailsResponse, CheckIdCardInformationResponse, GetEidResultRequest, DetectAuthResponse, PhoneVerificationResponse, IdCardOCRVerificationRequest, BankCard4EVerificationResponse, MobileNetworkTimeVerificationRequest, PhoneVerificationCMCCResponse, MobileNetworkTimeVerificationResponse, PhoneVerificationCUCCResponse, CheckIdCardInformationRequest, MinorsVerificationResponse, GetWeChatBillDetailsRequest, BankCardVerificationResponse, PhoneVerificationCUCCRequest, PhoneVerificationCMCCRequest, ImageRecognitionResponse, GetDetectInfoResponse, IdCardOCRVerificationResponse, IdCardVerificationResponse, GetDetectInfoEnhancedRequest, LivenessRecognitionResponse, GetLiveCodeRequest, GetEidResultResponse, PhoneVerificationRequest, GetFaceIdResultRequest, CheckPhoneAndNameResponse, GetFaceIdTokenRequest, BankCard2EVerificationRequest, ImageRecognitionV2Request, PhoneVerificationCTCCResponse, ParseNfcDataRequest, PhoneVerificationCTCCRequest, ImageRecognitionRequest, BankCard4EVerificationRequest, GetActionSequenceRequest, GetLiveCodeResponse, GetDetectInfoRequest, CheckPhoneAndNameRequest, GetEidTokenResponse } from "./faceid_models";
2
+ import { GetFaceidRiskInfoTokenResponse, CheckIdNameDateResponse, IdCardVerificationRequest, ImageRecognitionV2Response, GetDetectInfoEnhancedResponse, MobileStatusRequest, ParseNfcDataResponse, LivenessRecognitionRequest, CheckEidTokenStatusResponse, DetectAuthRequest, CheckEidTokenStatusRequest, GetFaceIdRiskInfoResponse, LivenessCompareResponse, BankCard2EVerificationResponse, MobileStatusResponse, LivenessResponse, EncryptedPhoneVerificationRequest, EncryptedPhoneVerificationResponse, LivenessRequest, DetectAIFakeFacesRequest, CheckBankCardInformationResponse, GetEidTokenRequest, CheckIdNameDateRequest, GetFaceIdTokenResponse, MinorsVerificationRequest, GetFaceIdResultResponse, DetectAIFakeFacesResponse, LivenessCompareRequest, CheckBankCardInformationRequest, BankCardVerificationRequest, GetWeChatBillDetailsResponse, CheckIdCardInformationResponse, GetEidResultRequest, DetectAuthResponse, PhoneVerificationResponse, IdCardOCRVerificationRequest, BankCard4EVerificationResponse, MobileNetworkTimeVerificationRequest, PhoneVerificationCMCCResponse, MobileNetworkTimeVerificationResponse, PhoneVerificationCUCCResponse, CheckIdCardInformationRequest, MinorsVerificationResponse, GetWeChatBillDetailsRequest, BankCardVerificationResponse, PhoneVerificationCUCCRequest, PhoneVerificationCMCCRequest, ImageRecognitionResponse, GetDetectInfoResponse, IdCardOCRVerificationResponse, IdCardVerificationResponse, GetActionSequenceRequest, GetDetectInfoEnhancedRequest, LivenessRecognitionResponse, GetLiveCodeRequest, GetEidResultResponse, PhoneVerificationRequest, GetFaceIdResultRequest, CheckPhoneAndNameResponse, GetFaceIdTokenRequest, GetFaceidRiskInfoTokenRequest, BankCard2EVerificationRequest, ImageRecognitionV2Request, PhoneVerificationCTCCResponse, ParseNfcDataRequest, PhoneVerificationCTCCRequest, ImageRecognitionRequest, BankCard4EVerificationRequest, GetActionSequenceResponse, GetFaceIdRiskInfoRequest, GetLiveCodeResponse, GetDetectInfoRequest, CheckPhoneAndNameRequest, GetEidTokenResponse } from "./faceid_models";
3
3
  /**
4
4
  * faceid client
5
5
  * @class
@@ -11,9 +11,9 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
11
11
  */
12
12
  GetLiveCode(req?: GetLiveCodeRequest, cb?: (error: string, rep: GetLiveCodeResponse) => void): Promise<GetLiveCodeResponse>;
13
13
  /**
14
- * 使用动作活体检测模式前,需调用本接口获取动作顺序。
14
+ * 完成验证后,用FaceIdToken调用本接口获取设备风险相关信息,FaceIdToken生成后三天内(3\*24\*3,600秒)可多次拉取。
15
15
  */
16
- GetActionSequence(req: GetActionSequenceRequest, cb?: (error: string, rep: GetActionSequenceResponse) => void): Promise<GetActionSequenceResponse>;
16
+ GetFaceIdRiskInfo(req: GetFaceIdRiskInfoRequest, cb?: (error: string, rep: GetFaceIdRiskInfoResponse) => void): Promise<GetFaceIdRiskInfoResponse>;
17
17
  /**
18
18
  * 查询微信渠道服务(微信小程序、微信原生H5、微信普通H5)的账单明细及计费状态。
19
19
  */
@@ -34,6 +34,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
34
34
  * 本接口用于校验手机号、姓名和身份证号的真实性和一致性,入参支持明文、MD5和SHA256加密传输。
35
35
  */
36
36
  EncryptedPhoneVerification(req: EncryptedPhoneVerificationRequest, cb?: (error: string, rep: EncryptedPhoneVerificationResponse) => void): Promise<EncryptedPhoneVerificationResponse>;
37
+ /**
38
+ * 使用动作活体检测模式前,需调用本接口获取动作顺序。
39
+ */
40
+ GetActionSequence(req: GetActionSequenceRequest, cb?: (error: string, rep: GetActionSequenceResponse) => void): Promise<GetActionSequenceResponse>;
37
41
  /**
38
42
  * 完成验证后,用BizToken调用本接口获取结果信息,BizToken生成后三天内(3\*24\*3,600秒)可多次拉取。
39
43
  */
@@ -87,6 +91,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
87
91
  * 本接口用于验证手机号的状态,您可以输入手机号进行查询。
88
92
  */
89
93
  MobileStatus(req: MobileStatusRequest, cb?: (error: string, rep: MobileStatusResponse) => void): Promise<MobileStatusResponse>;
94
+ /**
95
+ * 本接口用于校验姓名、身份证号、身份证有效期的真实性和一致性。
96
+ */
97
+ CheckIdNameDate(req: CheckIdNameDateRequest, cb?: (error: string, rep: CheckIdNameDateResponse) => void): Promise<CheckIdNameDateResponse>;
90
98
  /**
91
99
  * 本接口用于校验中国移动手机号、姓名和身份证号的真实性和一致性。中国移动支持的手机号段详情请查阅<a href="https://cloud.tencent.com/document/product/1007/46063">运营商类</a>文档。
92
100
  */
@@ -96,9 +104,9 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
96
104
  */
97
105
  MinorsVerification(req: MinorsVerificationRequest, cb?: (error: string, rep: MinorsVerificationResponse) => void): Promise<MinorsVerificationResponse>;
98
106
  /**
99
- * 本接口用于校验姓名、身份证号、身份证有效期的真实性和一致性。
107
+ * 每次调用人脸核身SDK服务前,需先调用本接口获取SDKToken,用来串联核身流程,在验证完成后,用于获取风险结果信息,该Token仅能核身一次。
100
108
  */
101
- CheckIdNameDate(req: CheckIdNameDateRequest, cb?: (error: string, rep: CheckIdNameDateResponse) => void): Promise<CheckIdNameDateResponse>;
109
+ GetFaceidRiskInfoToken(req: GetFaceidRiskInfoTokenRequest, cb?: (error: string, rep: GetFaceidRiskInfoTokenResponse) => void): Promise<GetFaceidRiskInfoTokenResponse>;
102
110
  /**
103
111
  * 活体检测
104
112
  */
@@ -34,10 +34,10 @@ class Client extends TencentCloudCommon.AbstractClient {
34
34
  return this.request("GetLiveCode", req, cb);
35
35
  }
36
36
  /**
37
- * 使用动作活体检测模式前,需调用本接口获取动作顺序。
37
+ * 完成验证后,用FaceIdToken调用本接口获取设备风险相关信息,FaceIdToken生成后三天内(3\*24\*3,600秒)可多次拉取。
38
38
  */
39
- async GetActionSequence(req, cb) {
40
- return this.request("GetActionSequence", req, cb);
39
+ async GetFaceIdRiskInfo(req, cb) {
40
+ return this.request("GetFaceIdRiskInfo", req, cb);
41
41
  }
42
42
  /**
43
43
  * 查询微信渠道服务(微信小程序、微信原生H5、微信普通H5)的账单明细及计费状态。
@@ -69,6 +69,12 @@ class Client extends TencentCloudCommon.AbstractClient {
69
69
  async EncryptedPhoneVerification(req, cb) {
70
70
  return this.request("EncryptedPhoneVerification", req, cb);
71
71
  }
72
+ /**
73
+ * 使用动作活体检测模式前,需调用本接口获取动作顺序。
74
+ */
75
+ async GetActionSequence(req, cb) {
76
+ return this.request("GetActionSequence", req, cb);
77
+ }
72
78
  /**
73
79
  * 完成验证后,用BizToken调用本接口获取结果信息,BizToken生成后三天内(3\*24\*3,600秒)可多次拉取。
74
80
  */
@@ -148,6 +154,12 @@ class Client extends TencentCloudCommon.AbstractClient {
148
154
  async MobileStatus(req, cb) {
149
155
  return this.request("MobileStatus", req, cb);
150
156
  }
157
+ /**
158
+ * 本接口用于校验姓名、身份证号、身份证有效期的真实性和一致性。
159
+ */
160
+ async CheckIdNameDate(req, cb) {
161
+ return this.request("CheckIdNameDate", req, cb);
162
+ }
151
163
  /**
152
164
  * 本接口用于校验中国移动手机号、姓名和身份证号的真实性和一致性。中国移动支持的手机号段详情请查阅<a href="https://cloud.tencent.com/document/product/1007/46063">运营商类</a>文档。
153
165
  */
@@ -161,10 +173,10 @@ class Client extends TencentCloudCommon.AbstractClient {
161
173
  return this.request("MinorsVerification", req, cb);
162
174
  }
163
175
  /**
164
- * 本接口用于校验姓名、身份证号、身份证有效期的真实性和一致性。
176
+ * 每次调用人脸核身SDK服务前,需先调用本接口获取SDKToken,用来串联核身流程,在验证完成后,用于获取风险结果信息,该Token仅能核身一次。
165
177
  */
166
- async CheckIdNameDate(req, cb) {
167
- return this.request("CheckIdNameDate", req, cb);
178
+ async GetFaceidRiskInfoToken(req, cb) {
179
+ return this.request("GetFaceidRiskInfoToken", req, cb);
168
180
  }
169
181
  /**
170
182
  * 活体检测
@@ -25,6 +25,19 @@ export interface ExtraInfo {
25
25
  */
26
26
  RetrievalLivenessExtraInfo?: Array<RetrievalLivenessExtraInfo>;
27
27
  }
28
+ /**
29
+ * GetFaceidRiskInfoToken返回参数结构体
30
+ */
31
+ export interface GetFaceidRiskInfoTokenResponse {
32
+ /**
33
+ * 有效期 10分钟。只能完成1次核身。
34
+ */
35
+ FaceIdToken?: string;
36
+ /**
37
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
38
+ */
39
+ RequestId?: string;
40
+ }
28
41
  /**
29
42
  * CheckIdNameDate返回参数结构体
30
43
  */
@@ -241,13 +254,111 @@ export interface MobileStatusRequest {
241
254
  Encryption?: Encryption;
242
255
  }
243
256
  /**
244
- * GetActionSequence返回参数结构体
257
+ * ParseNfcData返回参数结构体
245
258
  */
246
- export interface GetActionSequenceResponse {
259
+ export interface ParseNfcDataResponse {
247
260
  /**
248
- * 动作顺序(2,1 or 1,2) 。1代表张嘴,2代表闭眼。
261
+ * 0为首次查询成功,-1为查询失败。
262
+ 注意:此字段可能返回 null,表示取不到有效值。
249
263
  */
250
- ActionSequence?: string;
264
+ ResultCode: string;
265
+ /**
266
+ * 身份证号
267
+ 注意:此字段可能返回 null,表示取不到有效值。
268
+ */
269
+ IdNum: string;
270
+ /**
271
+ * 姓名
272
+ 注意:此字段可能返回 null,表示取不到有效值。
273
+ */
274
+ Name: string;
275
+ /**
276
+ * 照片
277
+ 注意:此字段可能返回 null,表示取不到有效值。
278
+ */
279
+ Picture: string;
280
+ /**
281
+ * 出生日期
282
+ 注意:此字段可能返回 null,表示取不到有效值。
283
+ */
284
+ BirthDate: string;
285
+ /**
286
+ * 有效期起始时间
287
+ 注意:此字段可能返回 null,表示取不到有效值。
288
+ */
289
+ BeginTime: string;
290
+ /**
291
+ * 有效期结束时间
292
+ 注意:此字段可能返回 null,表示取不到有效值。
293
+ */
294
+ EndTime: string;
295
+ /**
296
+ * 住址
297
+ 注意:此字段可能返回 null,表示取不到有效值。
298
+ */
299
+ Address: string;
300
+ /**
301
+ * 民族
302
+ 注意:此字段可能返回 null,表示取不到有效值。
303
+ */
304
+ Nation: string;
305
+ /**
306
+ * 性别
307
+ 注意:此字段可能返回 null,表示取不到有效值。
308
+ */
309
+ Sex: string;
310
+ /**
311
+ * 身份证 01 中国护照 03 军官证 04 武警证 05 港澳通行证 06 台胞证 07 外国护照 08 士兵证 09 临时身份证 10 户口本 11 警官证 12 外国人永久居留证 13 港澳台居民居住证 14 回乡证 15 大陆居民来往台湾通行证 16 其他证件 99
312
+ 注意:此字段可能返回 null,表示取不到有效值。
313
+ */
314
+ IdType: string;
315
+ /**
316
+ * 英文姓名
317
+ 注意:此字段可能返回 null,表示取不到有效值。
318
+ */
319
+ EnName: string;
320
+ /**
321
+ * 签发机关
322
+ 注意:此字段可能返回 null,表示取不到有效值。
323
+ */
324
+ SigningOrganization: string;
325
+ /**
326
+ * 港澳台居民居住证,通行证号码
327
+ 注意:此字段可能返回 null,表示取不到有效值。
328
+ */
329
+ OtherIdNum: string;
330
+ /**
331
+ * 旅行证件国籍
332
+ 注意:此字段可能返回 null,表示取不到有效值。
333
+ */
334
+ Nationality: string;
335
+ /**
336
+ * 旅行证件机读区第二行 29~42 位
337
+ 注意:此字段可能返回 null,表示取不到有效值。
338
+ */
339
+ PersonalNumber: string;
340
+ /**
341
+ * 旅行证件类的核验结果。JSON格式如下:
342
+ {"result_issuer ":"签发者证书合法性验证结果 ","result_pape r":"证件安全对象合法性验证 结果 ","result_data" :"防数据篡改验证结果 ","result_chip" :"防证书件芯片被复制验证结果"}
343
+ 0:验证通过,1: 验证不通过,2: 未验证,3:部分通过,当4项核验结果都为0时,表示证件为真
344
+ 注意:此字段可能返回 null,表示取不到有效值。
345
+ */
346
+ CheckMRTD: string;
347
+ /**
348
+ * 身份证照片面合成图片
349
+ 注意:此字段可能返回 null,表示取不到有效值。
350
+ */
351
+ ImageA: string;
352
+ /**
353
+ * 身份证国徽面合成图片
354
+ 注意:此字段可能返回 null,表示取不到有效值。
355
+ */
356
+ ImageB: string;
357
+ /**
358
+ * 对result code的结果描述
359
+ 注意:此字段可能返回 null,表示取不到有效值。
360
+ */
361
+ ResultDescription: string;
251
362
  /**
252
363
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
253
364
  */
@@ -405,111 +516,39 @@ export interface CheckEidTokenStatusRequest {
405
516
  EidToken: string;
406
517
  }
407
518
  /**
408
- * ParseNfcData返回参数结构体
519
+ * GetFaceIdRiskInfo返回参数结构体
409
520
  */
410
- export interface ParseNfcDataResponse {
521
+ export interface GetFaceIdRiskInfoResponse {
411
522
  /**
412
- * 0为首次查询成功,-1为查询失败。
523
+ * 描述当前请求所在设备的风险标签,详情如下: 01-设备疑似被Root/设备疑似越狱 02-设备疑似被注入 03-设备疑似为模拟器 04-设备疑似存在风险操作 05-摄像头疑似被劫持 06-疑似黑产设备
413
524
  注意:此字段可能返回 null,表示取不到有效值。
414
525
  */
415
- ResultCode: string;
526
+ DeviceInfoTag?: string;
416
527
  /**
417
- * 身份证号
528
+ * 描述当前请求所在设备的风险等级,共4级,详情如下: 1 - 安全 2 - 低风险 3 - 中风险 4 - 高危 ,-1表示未获取到风险等级
418
529
  注意:此字段可能返回 null,表示取不到有效值。
419
530
  */
420
- IdNum: string;
421
- /**
422
- * 姓名
423
- 注意:此字段可能返回 null,表示取不到有效值。
424
- */
425
- Name: string;
531
+ DeviceInfoLevel?: number;
426
532
  /**
427
- * 照片
533
+ * 设备id标识
428
534
  注意:此字段可能返回 null,表示取不到有效值。
429
535
  */
430
- Picture: string;
536
+ OpenId?: string;
431
537
  /**
432
- * 出生日期
538
+ * 描述当前请求所在设备的相机指纹风险等级,共4级,详情如下: 1 - 安全 2 - 低风险 3 - 中风险 4 - 高危 ,-1表示未获取到风险等级
433
539
  注意:此字段可能返回 null,表示取不到有效值。
434
540
  */
435
- BirthDate: string;
541
+ CameraInfoLevel?: number;
436
542
  /**
437
- * 有效期起始时间
543
+ * 描述当前请求所在设备的相机指纹风险标签,详情如下: 01-设备疑似被Root/设备疑似越狱 02-设备疑似被注入 03-设备疑似为模拟器 04-设备疑似存在风险操作 05-摄像头疑似被劫持 06-疑似黑产设备,空表示没有相机指纹风险
438
544
  注意:此字段可能返回 null,表示取不到有效值。
439
545
  */
440
- BeginTime: string;
546
+ CameraInfoTag?: string;
441
547
  /**
442
- * 有效期结束时间
443
- 注意:此字段可能返回 null,表示取不到有效值。
444
- */
445
- EndTime: string;
446
- /**
447
- * 住址
448
- 注意:此字段可能返回 null,表示取不到有效值。
449
- */
450
- Address: string;
451
- /**
452
- * 民族
453
- 注意:此字段可能返回 null,表示取不到有效值。
454
- */
455
- Nation: string;
456
- /**
457
- * 性别
458
- 注意:此字段可能返回 null,表示取不到有效值。
459
- */
460
- Sex: string;
461
- /**
462
- * 身份证 01 中国护照 03 军官证 04 武警证 05 港澳通行证 06 台胞证 07 外国护照 08 士兵证 09 临时身份证 10 户口本 11 警官证 12 外国人永久居留证 13 港澳台居民居住证 14 回乡证 15 大陆居民来往台湾通行证 16 其他证件 99
463
- 注意:此字段可能返回 null,表示取不到有效值。
464
- */
465
- IdType: string;
466
- /**
467
- * 英文姓名
468
- 注意:此字段可能返回 null,表示取不到有效值。
469
- */
470
- EnName: string;
471
- /**
472
- * 签发机关
473
- 注意:此字段可能返回 null,表示取不到有效值。
474
- */
475
- SigningOrganization: string;
476
- /**
477
- * 港澳台居民居住证,通行证号码
478
- 注意:此字段可能返回 null,表示取不到有效值。
479
- */
480
- OtherIdNum: string;
481
- /**
482
- * 旅行证件国籍
483
- 注意:此字段可能返回 null,表示取不到有效值。
484
- */
485
- Nationality: string;
486
- /**
487
- * 旅行证件机读区第二行 29~42 位
488
- 注意:此字段可能返回 null,表示取不到有效值。
489
- */
490
- PersonalNumber: string;
491
- /**
492
- * 旅行证件类的核验结果。JSON格式如下:
493
- {"result_issuer ":"签发者证书合法性验证结果 ","result_pape r":"证件安全对象合法性验证 结果 ","result_data" :"防数据篡改验证结果 ","result_chip" :"防证书件芯片被复制验证结果"}
494
- 0:验证通过,1: 验证不通过,2: 未验证,3:部分通过,当4项核验结果都为0时,表示证件为真
495
- 注意:此字段可能返回 null,表示取不到有效值。
496
- */
497
- CheckMRTD: string;
498
- /**
499
- * 身份证照片面合成图片
500
- 注意:此字段可能返回 null,表示取不到有效值。
501
- */
502
- ImageA: string;
503
- /**
504
- * 身份证国徽面合成图片
505
- 注意:此字段可能返回 null,表示取不到有效值。
506
- */
507
- ImageB: string;
508
- /**
509
- * 对result code的结果描述
548
+ * 获取token时透传的信息
510
549
  注意:此字段可能返回 null,表示取不到有效值。
511
550
  */
512
- ResultDescription: string;
551
+ Extra?: string;
513
552
  /**
514
553
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
515
554
  */
@@ -2176,6 +2215,15 @@ export interface IdCardVerificationResponse {
2176
2215
  */
2177
2216
  RequestId?: string;
2178
2217
  }
2218
+ /**
2219
+ * GetActionSequence请求参数结构体
2220
+ */
2221
+ export interface GetActionSequenceRequest {
2222
+ /**
2223
+ * 默认不需要使用
2224
+ */
2225
+ ActionType?: string;
2226
+ }
2179
2227
  /**
2180
2228
  * GetDetectInfoEnhanced请求参数结构体
2181
2229
  */
@@ -2468,6 +2516,19 @@ export interface IntentionActionResult {
2468
2516
  */
2469
2517
  Details?: Array<IntentionActionResultDetail>;
2470
2518
  }
2519
+ /**
2520
+ * GetFaceidRiskInfoToken请求参数结构体
2521
+ */
2522
+ export interface GetFaceidRiskInfoTokenRequest {
2523
+ /**
2524
+ * SDK中生成的Meta字符串
2525
+ */
2526
+ Meta?: string;
2527
+ /**
2528
+ * 透传参数 1000长度字符串
2529
+ */
2530
+ Extra?: string;
2531
+ }
2471
2532
  /**
2472
2533
  * BankCard2EVerification请求参数结构体
2473
2534
  */
@@ -2677,13 +2738,26 @@ export interface BankCard4EVerificationRequest {
2677
2738
  Encryption?: Encryption;
2678
2739
  }
2679
2740
  /**
2680
- * GetActionSequence请求参数结构体
2741
+ * GetActionSequence返回参数结构体
2681
2742
  */
2682
- export interface GetActionSequenceRequest {
2743
+ export interface GetActionSequenceResponse {
2683
2744
  /**
2684
- * 默认不需要使用
2745
+ * 动作顺序(2,1 or 1,2) 。1代表张嘴,2代表闭眼。
2685
2746
  */
2686
- ActionType?: string;
2747
+ ActionSequence?: string;
2748
+ /**
2749
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2750
+ */
2751
+ RequestId?: string;
2752
+ }
2753
+ /**
2754
+ * GetFaceIdRiskInfo请求参数结构体
2755
+ */
2756
+ export interface GetFaceIdRiskInfoRequest {
2757
+ /**
2758
+ * SDK人脸核身流程的标识,调用GetFaceidRiskInfoToken接口时生成。
2759
+ */
2760
+ FaceIdToken: string;
2687
2761
  }
2688
2762
  /**
2689
2763
  * GetLiveCode返回参数结构体