tencentcloud-sdk-nodejs-faceid 4.0.818 → 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.818",
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 |
@@ -14,7 +14,7 @@
14
14
  | apcas | [汽车精准获客服务](https://cloud.tencent.com/document/product/1244) | 2022-04-04 06:05:36 |
15
15
  | ape | [正版图库直通车](https://cloud.tencent.com/document/product/1181) | 2022-04-04 06:05:40 |
16
16
  | api | [云 API](https://cloud.tencent.com/document/product/1278) | 2023-01-05 01:02:52 |
17
- | apigateway | [API 网关](https://cloud.tencent.com/document/product/628) | 2024-03-20 01:07:49 |
17
+ | apigateway | [API 网关](https://cloud.tencent.com/document/product/628) | 2024-03-25 01:07:43 |
18
18
  | apm | [应用性能监控](https://cloud.tencent.com/document/product/1463) | 2024-03-20 01:08:03 |
19
19
  | as | [弹性伸缩](https://cloud.tencent.com/document/product/377) | 2024-03-20 01:08:05 |
20
20
  | asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2024-03-20 01:08:14 |
@@ -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,8 +55,8 @@
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 |
59
- | clb | [负载均衡](https://cloud.tencent.com/document/product/214) | 2024-03-20 01:11:19 |
58
+ | ckafka | [消息队列 CKafka 版](https://cloud.tencent.com/document/product/597) | 2024-03-26 01:11:10 |
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 |
62
62
  | cloudstudio | [Cloud Studio(云端 IDE)](https://cloud.tencent.com/document/product/1039) | 2024-03-20 01:11:33 |
@@ -70,7 +70,7 @@
70
70
  | csip | [云安全一体化平台](https://cloud.tencent.com/document/product/664) | 2024-03-20 01:12:19 |
71
71
  | csxg | [5G入云服务](https://cloud.tencent.com/document/product/1687) | 2024-03-20 01:12:25 |
72
72
  | cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2024-03-20 01:12:26 |
73
- | cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2024-03-22 01:11:57 |
73
+ | cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2024-03-25 01:12:24 |
74
74
  | cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 |
75
75
  | cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2024-03-20 01:13:46 |
76
76
  | dasb | [T-Sec-堡垒机(BH)](https://cloud.tencent.com/document/product/1025) | 2024-03-20 01:14:04 |
@@ -96,13 +96,13 @@
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-22 01:15:20 |
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-22 01:15:45 |
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
- | gaap | [全球应用加速](https://cloud.tencent.com/document/product/608) | 2024-03-20 01:17:14 |
105
+ | gaap | [全球应用加速](https://cloud.tencent.com/document/product/608) | 2024-03-25 01:16:59 |
106
106
  | gme | [游戏多媒体引擎](https://cloud.tencent.com/document/product/607) | 2024-03-20 01:17:27 |
107
107
  | goosefs | [数据加速器 GooseFS](https://cloud.tencent.com/document/product/1424) | 2024-03-20 01:17:31 |
108
108
  | gpm | [游戏玩家匹配](https://cloud.tencent.com/document/product/1294) | 2022-07-11 06:12:36 |
@@ -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,8 +153,8 @@
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 |
157
- | ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2024-03-20 01:21:51 |
156
+ | oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2024-03-26 01:21:37 |
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 |
160
160
  | partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2024-03-20 01:22:23 |
@@ -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
  */
@@ -185,7 +199,8 @@ export interface IntentionQuestionResult {
185
199
  -107: "请勿遮挡鼻子"
186
200
  -201: "人脸比对相似度低"
187
201
  -202: "人脸比对失败"
188
- -301: "意愿核验不通过"
202
+ -301: "意愿核验不通过"
203
+ -302: "用户回答阶段未检测到张嘴动作"
189
204
  -800: "前端不兼容错误"
190
205
  -801: "用户未授权摄像头和麦克风权限"
191
206
  -802: "核验流程异常中断,请勿切屏或进行其他操作"
@@ -266,13 +281,111 @@ export interface MobileStatusRequest {
266
281
  }
267
282
 
268
283
  /**
269
- * GetActionSequence返回参数结构体
284
+ * ParseNfcData返回参数结构体
270
285
  */
271
- export interface GetActionSequenceResponse {
286
+ export interface ParseNfcDataResponse {
272
287
  /**
273
- * 动作顺序(2,1 or 1,2) 。1代表张嘴,2代表闭眼。
288
+ * 0为首次查询成功,-1为查询失败。
289
+ 注意:此字段可能返回 null,表示取不到有效值。
274
290
  */
275
- 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
276
389
  /**
277
390
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
278
391
  */
@@ -436,111 +549,39 @@ export interface CheckEidTokenStatusRequest {
436
549
  }
437
550
 
438
551
  /**
439
- * ParseNfcData返回参数结构体
552
+ * GetFaceIdRiskInfo返回参数结构体
440
553
  */
441
- export interface ParseNfcDataResponse {
554
+ export interface GetFaceIdRiskInfoResponse {
442
555
  /**
443
- * 0为首次查询成功,-1为查询失败。
556
+ * 描述当前请求所在设备的风险标签,详情如下: 01-设备疑似被Root/设备疑似越狱 02-设备疑似被注入 03-设备疑似为模拟器 04-设备疑似存在风险操作 05-摄像头疑似被劫持 06-疑似黑产设备
444
557
  注意:此字段可能返回 null,表示取不到有效值。
445
558
  */
446
- ResultCode: string
559
+ DeviceInfoTag?: string
447
560
  /**
448
- * 身份证号
561
+ * 描述当前请求所在设备的风险等级,共4级,详情如下: 1 - 安全 2 - 低风险 3 - 中风险 4 - 高危 ,-1表示未获取到风险等级
449
562
  注意:此字段可能返回 null,表示取不到有效值。
450
563
  */
451
- IdNum: string
564
+ DeviceInfoLevel?: number
452
565
  /**
453
- * 姓名
454
- 注意:此字段可能返回 null,表示取不到有效值。
455
- */
456
- Name: string
457
- /**
458
- * 照片
459
- 注意:此字段可能返回 null,表示取不到有效值。
460
- */
461
- Picture: string
462
- /**
463
- * 出生日期
464
- 注意:此字段可能返回 null,表示取不到有效值。
465
- */
466
- BirthDate: string
467
- /**
468
- * 有效期起始时间
469
- 注意:此字段可能返回 null,表示取不到有效值。
470
- */
471
- BeginTime: string
472
- /**
473
- * 有效期结束时间
474
- 注意:此字段可能返回 null,表示取不到有效值。
475
- */
476
- EndTime: string
477
- /**
478
- * 住址
479
- 注意:此字段可能返回 null,表示取不到有效值。
480
- */
481
- Address: string
482
- /**
483
- * 民族
484
- 注意:此字段可能返回 null,表示取不到有效值。
485
- */
486
- Nation: string
487
- /**
488
- * 性别
489
- 注意:此字段可能返回 null,表示取不到有效值。
490
- */
491
- Sex: string
492
- /**
493
- * 身份证 01 中国护照 03 军官证 04 武警证 05 港澳通行证 06 台胞证 07 外国护照 08 士兵证 09 临时身份证 10 户口本 11 警官证 12 外国人永久居留证 13 港澳台居民居住证 14 回乡证 15 大陆居民来往台湾通行证 16 其他证件 99
494
- 注意:此字段可能返回 null,表示取不到有效值。
495
- */
496
- IdType: string
497
- /**
498
- * 英文姓名
499
- 注意:此字段可能返回 null,表示取不到有效值。
500
- */
501
- EnName: string
502
- /**
503
- * 签发机关
504
- 注意:此字段可能返回 null,表示取不到有效值。
505
- */
506
- SigningOrganization: string
507
- /**
508
- * 港澳台居民居住证,通行证号码
509
- 注意:此字段可能返回 null,表示取不到有效值。
510
- */
511
- OtherIdNum: string
512
- /**
513
- * 旅行证件国籍
514
- 注意:此字段可能返回 null,表示取不到有效值。
515
- */
516
- Nationality: string
517
- /**
518
- * 旅行证件机读区第二行 29~42 位
566
+ * 设备id标识
519
567
  注意:此字段可能返回 null,表示取不到有效值。
520
568
  */
521
- PersonalNumber: string
569
+ OpenId?: string
522
570
  /**
523
- * 旅行证件类的核验结果。JSON格式如下:
524
- {"result_issuer ":"签发者证书合法性验证结果 ","result_pape r":"证件安全对象合法性验证 结果 ","result_data" :"防数据篡改验证结果 ","result_chip" :"防证书件芯片被复制验证结果"}
525
- 0:验证通过,1: 验证不通过,2: 未验证,3:部分通过,当4项核验结果都为0时,表示证件为真
571
+ * 描述当前请求所在设备的相机指纹风险等级,共4级,详情如下: 1 - 安全 2 - 低风险 3 - 中风险 4 - 高危 ,-1表示未获取到风险等级
526
572
  注意:此字段可能返回 null,表示取不到有效值。
527
573
  */
528
- CheckMRTD: string
574
+ CameraInfoLevel?: number
529
575
  /**
530
- * 身份证照片面合成图片
576
+ * 描述当前请求所在设备的相机指纹风险标签,详情如下: 01-设备疑似被Root/设备疑似越狱 02-设备疑似被注入 03-设备疑似为模拟器 04-设备疑似存在风险操作 05-摄像头疑似被劫持 06-疑似黑产设备,空表示没有相机指纹风险
531
577
  注意:此字段可能返回 null,表示取不到有效值。
532
578
  */
533
- ImageA: string
579
+ CameraInfoTag?: string
534
580
  /**
535
- * 身份证国徽面合成图片
581
+ * 获取token时透传的信息
536
582
  注意:此字段可能返回 null,表示取不到有效值。
537
583
  */
538
- ImageB: string
539
- /**
540
- * 对result code的结果描述
541
- 注意:此字段可能返回 null,表示取不到有效值。
542
- */
543
- ResultDescription: string
584
+ Extra?: string
544
585
  /**
545
586
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
546
587
  */
@@ -1780,6 +1821,10 @@ export interface GetEidTokenConfig {
1780
1821
  * 是否支持港澳台居住证识别
1781
1822
  */
1782
1823
  IsSupportHMTResidentPermitOCR?: boolean
1824
+ /**
1825
+ * 用户语音回答过程中是否开启张嘴识别检测,默认不开启,仅在意愿核身问答模式中使用。
1826
+ */
1827
+ MouthOpenRecognition?: boolean
1783
1828
  }
1784
1829
 
1785
1830
  /**
@@ -2253,6 +2298,16 @@ export interface IdCardVerificationResponse {
2253
2298
  RequestId?: string
2254
2299
  }
2255
2300
 
2301
+ /**
2302
+ * GetActionSequence请求参数结构体
2303
+ */
2304
+ export interface GetActionSequenceRequest {
2305
+ /**
2306
+ * 默认不需要使用
2307
+ */
2308
+ ActionType?: string
2309
+ }
2310
+
2256
2311
  /**
2257
2312
  * GetDetectInfoEnhanced请求参数结构体
2258
2313
  */
@@ -2555,6 +2610,20 @@ export interface IntentionActionResult {
2555
2610
  Details?: Array<IntentionActionResultDetail>
2556
2611
  }
2557
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
+
2558
2627
  /**
2559
2628
  * BankCard2EVerification请求参数结构体
2560
2629
  */
@@ -2772,13 +2841,27 @@ export interface BankCard4EVerificationRequest {
2772
2841
  }
2773
2842
 
2774
2843
  /**
2775
- * GetActionSequence请求参数结构体
2844
+ * GetActionSequence返回参数结构体
2776
2845
  */
2777
- export interface GetActionSequenceRequest {
2846
+ export interface GetActionSequenceResponse {
2778
2847
  /**
2779
- * 默认不需要使用
2848
+ * 动作顺序(2,1 or 1,2) 。1代表张嘴,2代表闭眼。
2780
2849
  */
2781
- 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
2782
2865
  }
2783
2866
 
2784
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
  */
@@ -163,6 +176,7 @@ export interface IntentionQuestionResult {
163
176
  -201: "人脸比对相似度低"
164
177
  -202: "人脸比对失败"
165
178
  -301: "意愿核验不通过"
179
+ -302: "用户回答阶段未检测到张嘴动作"
166
180
  -800: "前端不兼容错误"
167
181
  -801: "用户未授权摄像头和麦克风权限"
168
182
  -802: "核验流程异常中断,请勿切屏或进行其他操作"
@@ -240,13 +254,111 @@ export interface MobileStatusRequest {
240
254
  Encryption?: Encryption;
241
255
  }
242
256
  /**
243
- * GetActionSequence返回参数结构体
257
+ * ParseNfcData返回参数结构体
244
258
  */
245
- export interface GetActionSequenceResponse {
259
+ export interface ParseNfcDataResponse {
246
260
  /**
247
- * 动作顺序(2,1 or 1,2) 。1代表张嘴,2代表闭眼。
261
+ * 0为首次查询成功,-1为查询失败。
262
+ 注意:此字段可能返回 null,表示取不到有效值。
248
263
  */
249
- 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;
250
362
  /**
251
363
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
252
364
  */
@@ -404,111 +516,39 @@ export interface CheckEidTokenStatusRequest {
404
516
  EidToken: string;
405
517
  }
406
518
  /**
407
- * ParseNfcData返回参数结构体
519
+ * GetFaceIdRiskInfo返回参数结构体
408
520
  */
409
- export interface ParseNfcDataResponse {
521
+ export interface GetFaceIdRiskInfoResponse {
410
522
  /**
411
- * 0为首次查询成功,-1为查询失败。
523
+ * 描述当前请求所在设备的风险标签,详情如下: 01-设备疑似被Root/设备疑似越狱 02-设备疑似被注入 03-设备疑似为模拟器 04-设备疑似存在风险操作 05-摄像头疑似被劫持 06-疑似黑产设备
412
524
  注意:此字段可能返回 null,表示取不到有效值。
413
525
  */
414
- ResultCode: string;
526
+ DeviceInfoTag?: string;
415
527
  /**
416
- * 身份证号
528
+ * 描述当前请求所在设备的风险等级,共4级,详情如下: 1 - 安全 2 - 低风险 3 - 中风险 4 - 高危 ,-1表示未获取到风险等级
417
529
  注意:此字段可能返回 null,表示取不到有效值。
418
530
  */
419
- IdNum: string;
531
+ DeviceInfoLevel?: number;
420
532
  /**
421
- * 姓名
422
- 注意:此字段可能返回 null,表示取不到有效值。
423
- */
424
- Name: string;
425
- /**
426
- * 照片
427
- 注意:此字段可能返回 null,表示取不到有效值。
428
- */
429
- Picture: string;
430
- /**
431
- * 出生日期
432
- 注意:此字段可能返回 null,表示取不到有效值。
433
- */
434
- BirthDate: string;
435
- /**
436
- * 有效期起始时间
437
- 注意:此字段可能返回 null,表示取不到有效值。
438
- */
439
- BeginTime: string;
440
- /**
441
- * 有效期结束时间
442
- 注意:此字段可能返回 null,表示取不到有效值。
443
- */
444
- EndTime: string;
445
- /**
446
- * 住址
447
- 注意:此字段可能返回 null,表示取不到有效值。
448
- */
449
- Address: string;
450
- /**
451
- * 民族
452
- 注意:此字段可能返回 null,表示取不到有效值。
453
- */
454
- Nation: string;
455
- /**
456
- * 性别
457
- 注意:此字段可能返回 null,表示取不到有效值。
458
- */
459
- Sex: string;
460
- /**
461
- * 身份证 01 中国护照 03 军官证 04 武警证 05 港澳通行证 06 台胞证 07 外国护照 08 士兵证 09 临时身份证 10 户口本 11 警官证 12 外国人永久居留证 13 港澳台居民居住证 14 回乡证 15 大陆居民来往台湾通行证 16 其他证件 99
462
- 注意:此字段可能返回 null,表示取不到有效值。
463
- */
464
- IdType: string;
465
- /**
466
- * 英文姓名
467
- 注意:此字段可能返回 null,表示取不到有效值。
468
- */
469
- EnName: string;
470
- /**
471
- * 签发机关
472
- 注意:此字段可能返回 null,表示取不到有效值。
473
- */
474
- SigningOrganization: string;
475
- /**
476
- * 港澳台居民居住证,通行证号码
477
- 注意:此字段可能返回 null,表示取不到有效值。
478
- */
479
- OtherIdNum: string;
480
- /**
481
- * 旅行证件国籍
533
+ * 设备id标识
482
534
  注意:此字段可能返回 null,表示取不到有效值。
483
535
  */
484
- Nationality: string;
485
- /**
486
- * 旅行证件机读区第二行 29~42 位
487
- 注意:此字段可能返回 null,表示取不到有效值。
488
- */
489
- PersonalNumber: string;
536
+ OpenId?: string;
490
537
  /**
491
- * 旅行证件类的核验结果。JSON格式如下:
492
- {"result_issuer ":"签发者证书合法性验证结果 ","result_pape r":"证件安全对象合法性验证 结果 ","result_data" :"防数据篡改验证结果 ","result_chip" :"防证书件芯片被复制验证结果"}
493
- 0:验证通过,1: 验证不通过,2: 未验证,3:部分通过,当4项核验结果都为0时,表示证件为真
538
+ * 描述当前请求所在设备的相机指纹风险等级,共4级,详情如下: 1 - 安全 2 - 低风险 3 - 中风险 4 - 高危 ,-1表示未获取到风险等级
494
539
  注意:此字段可能返回 null,表示取不到有效值。
495
540
  */
496
- CheckMRTD: string;
541
+ CameraInfoLevel?: number;
497
542
  /**
498
- * 身份证照片面合成图片
543
+ * 描述当前请求所在设备的相机指纹风险标签,详情如下: 01-设备疑似被Root/设备疑似越狱 02-设备疑似被注入 03-设备疑似为模拟器 04-设备疑似存在风险操作 05-摄像头疑似被劫持 06-疑似黑产设备,空表示没有相机指纹风险
499
544
  注意:此字段可能返回 null,表示取不到有效值。
500
545
  */
501
- ImageA: string;
546
+ CameraInfoTag?: string;
502
547
  /**
503
- * 身份证国徽面合成图片
504
- 注意:此字段可能返回 null,表示取不到有效值。
505
- */
506
- ImageB: string;
507
- /**
508
- * 对result code的结果描述
548
+ * 获取token时透传的信息
509
549
  注意:此字段可能返回 null,表示取不到有效值。
510
550
  */
511
- ResultDescription: string;
551
+ Extra?: string;
512
552
  /**
513
553
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
514
554
  */
@@ -1709,6 +1749,10 @@ export interface GetEidTokenConfig {
1709
1749
  * 是否支持港澳台居住证识别
1710
1750
  */
1711
1751
  IsSupportHMTResidentPermitOCR?: boolean;
1752
+ /**
1753
+ * 用户语音回答过程中是否开启张嘴识别检测,默认不开启,仅在意愿核身问答模式中使用。
1754
+ */
1755
+ MouthOpenRecognition?: boolean;
1712
1756
  }
1713
1757
  /**
1714
1758
  * MinorsVerification返回参数结构体
@@ -2171,6 +2215,15 @@ export interface IdCardVerificationResponse {
2171
2215
  */
2172
2216
  RequestId?: string;
2173
2217
  }
2218
+ /**
2219
+ * GetActionSequence请求参数结构体
2220
+ */
2221
+ export interface GetActionSequenceRequest {
2222
+ /**
2223
+ * 默认不需要使用
2224
+ */
2225
+ ActionType?: string;
2226
+ }
2174
2227
  /**
2175
2228
  * GetDetectInfoEnhanced请求参数结构体
2176
2229
  */
@@ -2463,6 +2516,19 @@ export interface IntentionActionResult {
2463
2516
  */
2464
2517
  Details?: Array<IntentionActionResultDetail>;
2465
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
+ }
2466
2532
  /**
2467
2533
  * BankCard2EVerification请求参数结构体
2468
2534
  */
@@ -2672,13 +2738,26 @@ export interface BankCard4EVerificationRequest {
2672
2738
  Encryption?: Encryption;
2673
2739
  }
2674
2740
  /**
2675
- * GetActionSequence请求参数结构体
2741
+ * GetActionSequence返回参数结构体
2676
2742
  */
2677
- export interface GetActionSequenceRequest {
2743
+ export interface GetActionSequenceResponse {
2678
2744
  /**
2679
- * 默认不需要使用
2745
+ * 动作顺序(2,1 or 1,2) 。1代表张嘴,2代表闭眼。
2680
2746
  */
2681
- 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;
2682
2761
  }
2683
2762
  /**
2684
2763
  * GetLiveCode返回参数结构体