tencentcloud-sdk-nodejs 4.0.750 → 4.0.752
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/CHANGELOG.md +223 -0
- package/SERVICE_CHANGELOG.md +280 -8
- package/examples/hunyuan/v20230901/chat_std.js +40 -0
- package/examples/hunyuan/v20230901/chat_std.ts +42 -0
- package/package.json +1 -1
- package/products.md +21 -21
- package/src/common/sdk_version.ts +1 -1
- package/src/services/bi/v20220105/bi_models.ts +17 -0
- package/src/services/car/v20220110/car_models.ts +1 -1
- package/src/services/cdb/v20170320/cdb_models.ts +2 -2
- package/src/services/cdc/v20201214/cdc_models.ts +12 -12
- package/src/services/clb/v20180317/clb_models.ts +4 -4
- package/src/services/cls/v20201016/cls_models.ts +12 -12
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +5 -0
- package/src/services/dts/v20211206/dts_models.ts +8 -8
- package/src/services/es/v20180416/es_client.ts +14 -2
- package/src/services/es/v20180416/es_models.ts +59 -23
- package/src/services/ess/v20201111/ess_models.ts +55 -2
- package/src/services/essbasic/v20210526/essbasic_models.ts +55 -114
- package/src/services/faceid/v20180301/faceid_client.ts +15 -3
- package/src/services/faceid/v20180301/faceid_models.ts +123 -73
- package/src/services/gme/v20180711/gme_client.ts +7 -3
- package/src/services/lighthouse/v20200324/lighthouse_models.ts +41 -41
- package/src/services/monitor/v20180724/monitor_models.ts +73 -33
- package/src/services/ms/v20180408/ms_client.ts +13 -0
- package/src/services/ms/v20180408/ms_models.ts +40 -0
- package/src/services/ocr/v20181119/ocr_models.ts +6 -0
- package/src/services/teo/v20220901/teo_models.ts +51 -10
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/bi/v20220105/bi_models.d.ts +17 -0
- package/tencentcloud/services/car/v20220110/car_models.d.ts +1 -1
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +2 -2
- package/tencentcloud/services/cdc/v20201214/cdc_models.d.ts +12 -12
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +4 -4
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +12 -12
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +5 -0
- package/tencentcloud/services/dts/v20211206/dts_models.d.ts +8 -8
- package/tencentcloud/services/es/v20180416/es_client.d.ts +5 -1
- package/tencentcloud/services/es/v20180416/es_client.js +6 -0
- package/tencentcloud/services/es/v20180416/es_models.d.ts +57 -23
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +55 -2
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +55 -114
- package/tencentcloud/services/faceid/v20180301/faceid_client.d.ts +5 -1
- package/tencentcloud/services/faceid/v20180301/faceid_client.js +6 -0
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +121 -73
- package/tencentcloud/services/gme/v20180711/gme_client.d.ts +6 -2
- package/tencentcloud/services/gme/v20180711/gme_client.js +6 -2
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +41 -41
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +73 -33
- package/tencentcloud/services/ms/v20180408/ms_client.d.ts +6 -1
- package/tencentcloud/services/ms/v20180408/ms_client.js +7 -0
- package/tencentcloud/services/ms/v20180408/ms_models.d.ts +38 -0
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +6 -0
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +51 -10
- package/test/es.v20180416.test.js +10 -0
- package/test/faceid.v20180301.test.js +10 -0
- package/test/ms.v20180408.test.js +10 -0
|
@@ -1492,6 +1492,56 @@ FormField输入示例:
|
|
|
1492
1492
|
}
|
|
1493
1493
|
|
|
1494
1494
|
```
|
|
1495
|
+
|
|
1496
|
+
|
|
1497
|
+
输入示例3(表格设置字体加粗颜色):
|
|
1498
|
+
|
|
1499
|
+
```
|
|
1500
|
+
{
|
|
1501
|
+
"headers":[
|
|
1502
|
+
{
|
|
1503
|
+
"content":"head1"
|
|
1504
|
+
},
|
|
1505
|
+
{
|
|
1506
|
+
"content":"head2"
|
|
1507
|
+
},
|
|
1508
|
+
{
|
|
1509
|
+
"content":"head3"
|
|
1510
|
+
}
|
|
1511
|
+
],
|
|
1512
|
+
"rowCount":3,
|
|
1513
|
+
"body":{
|
|
1514
|
+
"cells":[
|
|
1515
|
+
{
|
|
1516
|
+
"rowStart":1,
|
|
1517
|
+
"rowEnd":1,
|
|
1518
|
+
"columnStart":1,
|
|
1519
|
+
"columnEnd":1,
|
|
1520
|
+
"content":"123",
|
|
1521
|
+
"style": "{\"color\": \"#b50000\", \"fontSize\": 12,\"bold\": true,\"align\": \"CENTER\"}"
|
|
1522
|
+
},
|
|
1523
|
+
{
|
|
1524
|
+
"rowStart":2,
|
|
1525
|
+
"rowEnd":3,
|
|
1526
|
+
"columnStart":1,
|
|
1527
|
+
"columnEnd":2,
|
|
1528
|
+
"content":"456",
|
|
1529
|
+
"style": "{\"color\": \"#b50000\", \"fontSize\": 12,\"bold\": true,\"align\": \"LEFT\"}"
|
|
1530
|
+
},
|
|
1531
|
+
{
|
|
1532
|
+
"rowStart":3,
|
|
1533
|
+
"rowEnd":3,
|
|
1534
|
+
"columnStart":3,
|
|
1535
|
+
"columnEnd":3,
|
|
1536
|
+
"content":"789",
|
|
1537
|
+
"style": "{\"color\": \"#b500bf\", \"fontSize\": 12,\"bold\": false,\"align\": \"RIGHT\"}"
|
|
1538
|
+
}
|
|
1539
|
+
]
|
|
1540
|
+
}
|
|
1541
|
+
}
|
|
1542
|
+
|
|
1543
|
+
```
|
|
1544
|
+
|
|
1495
1545
|
表格参数说明
|
|
1496
1546
|
|
|
1497
1547
|
| 名称 | 类型 | 描述 |
|
|
@@ -1503,10 +1553,14 @@ FormField输入示例:
|
|
|
1503
1553
|
| cells.N.columnStart | Integer | 单元格坐标:列起始index |
|
|
1504
1554
|
| cells.N.columnEnd | Integer | 单元格坐标:列结束index |
|
|
1505
1555
|
| cells.N.content | String | 单元格内容,字数不超过100 |
|
|
1556
|
+
| cells.N.style | String | 单元格字体风格配置 ,风格配置的json字符串 如: {"font":"黑体","fontSize":12,"color":"FFFFFF","bold":true,"align":"CENTER"} |
|
|
1506
1557
|
|
|
1507
1558
|
表格参数headers说明
|
|
1508
1559
|
widthPercent Integer 表头单元格列占总表头的比例,例如1:30表示 此列占表头的30%,不填写时列宽度平均拆分;例如2:总2列,某一列填写40,剩余列可以为空,按照60计算。;例如3:总3列,某一列填写30,剩余2列可以为空,分别为(100-30)/2=35
|
|
1560
|
+
|
|
1509
1561
|
content String 表头单元格内容,字数不超过100
|
|
1562
|
+
|
|
1563
|
+
style String 为字体风格设置 风格支持: font : 目前支持 黑体、宋体; fontSize: 6-72; color:000000-FFFFFF 字符串形如: "FFFFFF"; bold : 是否加粗, true : 加粗 false: 不加粗; align: 对其方式, 支持 LEFT / RIGHT / CENTER
|
|
1510
1564
|
*/
|
|
1511
1565
|
export interface FormField {
|
|
1512
1566
|
/**
|
|
@@ -3626,119 +3680,6 @@ export interface DescribeChannelSealPolicyWorkflowUrlRequest {
|
|
|
3626
3680
|
}
|
|
3627
3681
|
/**
|
|
3628
3682
|
* 此结构体 (FlowInfo) 用于描述签署流程信息。
|
|
3629
|
-
|
|
3630
|
-
【数据表格传参说明】
|
|
3631
|
-
当模板的 ComponentType='DYNAMIC_TABLE'时( 第三方应用集成或集成版),FormField.ComponentValue需要传递json格式的字符串参数,用于确定表头&填充数据表格(支持内容的单元格合并)
|
|
3632
|
-
输入示例1:
|
|
3633
|
-
|
|
3634
|
-
```
|
|
3635
|
-
{
|
|
3636
|
-
"headers":[
|
|
3637
|
-
{
|
|
3638
|
-
"content":"head1"
|
|
3639
|
-
},
|
|
3640
|
-
{
|
|
3641
|
-
"content":"head2"
|
|
3642
|
-
},
|
|
3643
|
-
{
|
|
3644
|
-
"content":"head3"
|
|
3645
|
-
}
|
|
3646
|
-
],
|
|
3647
|
-
"rowCount":3,
|
|
3648
|
-
"body":{
|
|
3649
|
-
"cells":[
|
|
3650
|
-
{
|
|
3651
|
-
"rowStart":1,
|
|
3652
|
-
"rowEnd":1,
|
|
3653
|
-
"columnStart":1,
|
|
3654
|
-
"columnEnd":1,
|
|
3655
|
-
"content":"123"
|
|
3656
|
-
},
|
|
3657
|
-
{
|
|
3658
|
-
"rowStart":2,
|
|
3659
|
-
"rowEnd":3,
|
|
3660
|
-
"columnStart":1,
|
|
3661
|
-
"columnEnd":2,
|
|
3662
|
-
"content":"456"
|
|
3663
|
-
},
|
|
3664
|
-
{
|
|
3665
|
-
"rowStart":3,
|
|
3666
|
-
"rowEnd":3,
|
|
3667
|
-
"columnStart":3,
|
|
3668
|
-
"columnEnd":3,
|
|
3669
|
-
"content":"789"
|
|
3670
|
-
}
|
|
3671
|
-
]
|
|
3672
|
-
}
|
|
3673
|
-
}
|
|
3674
|
-
|
|
3675
|
-
```
|
|
3676
|
-
|
|
3677
|
-
输入示例2(表格表头宽度比例配置):
|
|
3678
|
-
|
|
3679
|
-
```
|
|
3680
|
-
{
|
|
3681
|
-
"headers":[
|
|
3682
|
-
{
|
|
3683
|
-
"content":"head1",
|
|
3684
|
-
"widthPercent": 30
|
|
3685
|
-
},
|
|
3686
|
-
{
|
|
3687
|
-
"content":"head2",
|
|
3688
|
-
"widthPercent": 30
|
|
3689
|
-
},
|
|
3690
|
-
{
|
|
3691
|
-
"content":"head3",
|
|
3692
|
-
"widthPercent": 40
|
|
3693
|
-
}
|
|
3694
|
-
],
|
|
3695
|
-
"rowCount":3,
|
|
3696
|
-
"body":{
|
|
3697
|
-
"cells":[
|
|
3698
|
-
{
|
|
3699
|
-
"rowStart":1,
|
|
3700
|
-
"rowEnd":1,
|
|
3701
|
-
"columnStart":1,
|
|
3702
|
-
"columnEnd":1,
|
|
3703
|
-
"content":"123"
|
|
3704
|
-
},
|
|
3705
|
-
{
|
|
3706
|
-
"rowStart":2,
|
|
3707
|
-
"rowEnd":3,
|
|
3708
|
-
"columnStart":1,
|
|
3709
|
-
"columnEnd":2,
|
|
3710
|
-
"content":"456"
|
|
3711
|
-
},
|
|
3712
|
-
{
|
|
3713
|
-
"rowStart":3,
|
|
3714
|
-
"rowEnd":3,
|
|
3715
|
-
"columnStart":3,
|
|
3716
|
-
"columnEnd":3,
|
|
3717
|
-
"content":"789"
|
|
3718
|
-
}
|
|
3719
|
-
]
|
|
3720
|
-
}
|
|
3721
|
-
}
|
|
3722
|
-
|
|
3723
|
-
```
|
|
3724
|
-
表格参数说明
|
|
3725
|
-
|
|
3726
|
-
| 名称 | 类型 | 描述 |
|
|
3727
|
-
| ------------------- | ------- | ------------------------------------------------- |
|
|
3728
|
-
| headers | Array | 表头:不超过10列,不支持单元格合并,字数不超过100 |
|
|
3729
|
-
| rowCount | Integer | 表格内容最大行数 |
|
|
3730
|
-
| cells.N.rowStart | Integer | 单元格坐标:行起始index |
|
|
3731
|
-
| cells.N.rowEnd | Integer | 单元格坐标:行结束index |
|
|
3732
|
-
| cells.N.columnStart | Integer | 单元格坐标:列起始index |
|
|
3733
|
-
| cells.N.columnEnd | Integer | 单元格坐标:列结束index |
|
|
3734
|
-
| cells.N.content | String | 单元格内容,字数不超过100 |
|
|
3735
|
-
|
|
3736
|
-
表格参数headers说明
|
|
3737
|
-
|
|
3738
|
-
| 名称 | 类型 | 描述 |
|
|
3739
|
-
| ------------------- | ------- | ------------------------------------------------- |
|
|
3740
|
-
| widthPercent | Integer | 表头单元格列占总表头的比例,例如1:30表示 此列占表头的30%,不填写时列宽度平均拆分;例如2:总2列,某一列填写40,剩余列可以为空,按照60计算。;例如3:总3列,某一列填写30,剩余2列可以为空,分别为(100-30)/2=35 |
|
|
3741
|
-
| content | String | 表头单元格内容,字数不超过100 |
|
|
3742
3683
|
*/
|
|
3743
3684
|
export interface FlowInfo {
|
|
3744
3685
|
/**
|
|
@@ -6821,7 +6762,7 @@ export interface ChannelCreateEmbedWebUrlRequest {
|
|
|
6821
6762
|
* 用户自定义参数
|
|
6822
6763
|
<ul>
|
|
6823
6764
|
<li>目前仅支持EmbedType=CREATE_TEMPLATE时传入</li>
|
|
6824
|
-
<li
|
|
6765
|
+
<li>指定后,创建,编辑,删除模板时,回调都会携带该userData</li>
|
|
6825
6766
|
<li>支持的格式:json字符串的BASE64编码字符串</li>
|
|
6826
6767
|
<li>示例:<ul>
|
|
6827
6768
|
<li>json字符串:{"ComeFrom":"xxx"},BASE64编码:eyJDb21lRnJvbSI6Inh4eCJ9</li>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { CheckIdNameDateResponse, IdCardVerificationRequest, 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,
|
|
3
|
+
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";
|
|
4
4
|
/**
|
|
5
5
|
* faceid client
|
|
6
6
|
* @class
|
|
@@ -52,6 +52,10 @@ export declare class Client extends AbstractClient {
|
|
|
52
52
|
* 本接口用于银行卡号、姓名、开户证件号信息的真实性和一致性。
|
|
53
53
|
*/
|
|
54
54
|
BankCardVerification(req: BankCardVerificationRequest, cb?: (error: string, rep: BankCardVerificationResponse) => void): Promise<BankCardVerificationResponse>;
|
|
55
|
+
/**
|
|
56
|
+
* 传入照片和身份信息,判断该照片与权威库的证件照是否属于同一个人。
|
|
57
|
+
*/
|
|
58
|
+
ImageRecognitionV2(req: ImageRecognitionV2Request, cb?: (error: string, rep: ImageRecognitionV2Response) => void): Promise<ImageRecognitionV2Response>;
|
|
55
59
|
/**
|
|
56
60
|
* 传入视频和照片,先判断视频中是否为真人,判断为真人后,再判断该视频中的人与上传照片是否属于同一个人。
|
|
57
61
|
*/
|
|
@@ -94,6 +94,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
94
94
|
async BankCardVerification(req, cb) {
|
|
95
95
|
return this.request("BankCardVerification", req, cb);
|
|
96
96
|
}
|
|
97
|
+
/**
|
|
98
|
+
* 传入照片和身份信息,判断该照片与权威库的证件照是否属于同一个人。
|
|
99
|
+
*/
|
|
100
|
+
async ImageRecognitionV2(req, cb) {
|
|
101
|
+
return this.request("ImageRecognitionV2", req, cb);
|
|
102
|
+
}
|
|
97
103
|
/**
|
|
98
104
|
* 传入视频和照片,先判断视频中是否为真人,判断为真人后,再判断该视频中的人与上传照片是否属于同一个人。
|
|
99
105
|
*/
|
|
@@ -59,6 +59,27 @@ export interface IdCardVerificationRequest {
|
|
|
59
59
|
*/
|
|
60
60
|
Encryption?: Encryption;
|
|
61
61
|
}
|
|
62
|
+
/**
|
|
63
|
+
* ImageRecognitionV2返回参数结构体
|
|
64
|
+
*/
|
|
65
|
+
export interface ImageRecognitionV2Response {
|
|
66
|
+
/**
|
|
67
|
+
* 相似度,取值范围 [0.00, 100.00]。推荐相似度大于等于70时可判断为同一人,可根据具体场景自行调整阈值(阈值70的误通过率为千分之一,阈值80的误通过率是万分之一)
|
|
68
|
+
*/
|
|
69
|
+
Sim?: number;
|
|
70
|
+
/**
|
|
71
|
+
* 业务错误码,成功情况返回Success, 错误情况请参考下方错误码 列表中FailedOperation部分
|
|
72
|
+
*/
|
|
73
|
+
Result?: string;
|
|
74
|
+
/**
|
|
75
|
+
* 业务结果描述。
|
|
76
|
+
*/
|
|
77
|
+
Description?: string;
|
|
78
|
+
/**
|
|
79
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
80
|
+
*/
|
|
81
|
+
RequestId?: string;
|
|
82
|
+
}
|
|
62
83
|
/**
|
|
63
84
|
* GetDetectInfoEnhanced返回参数结构体
|
|
64
85
|
*/
|
|
@@ -1502,31 +1523,29 @@ export interface PhoneVerificationCMCCResponse {
|
|
|
1502
1523
|
RequestId?: string;
|
|
1503
1524
|
}
|
|
1504
1525
|
/**
|
|
1505
|
-
*
|
|
1526
|
+
* MobileNetworkTimeVerification返回参数结构体
|
|
1506
1527
|
*/
|
|
1507
|
-
export interface
|
|
1508
|
-
/**
|
|
1509
|
-
* 验证通过后的视频最佳截图照片,照片为BASE64编码后的值,jpg格式。
|
|
1510
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1511
|
-
*/
|
|
1512
|
-
BestFrameBase64?: string;
|
|
1513
|
-
/**
|
|
1514
|
-
* 相似度,取值范围 [0.00, 100.00]。推荐相似度大于等于70时可判断为同一人,可根据具体场景自行调整阈值(阈值70的误通过率为千分之一,阈值80的误通过率是万分之一)
|
|
1515
|
-
*/
|
|
1516
|
-
Sim?: number;
|
|
1528
|
+
export interface MobileNetworkTimeVerificationResponse {
|
|
1517
1529
|
/**
|
|
1518
|
-
*
|
|
1530
|
+
* 认证结果码,收费情况如下。
|
|
1531
|
+
收费结果码:
|
|
1532
|
+
0: 成功
|
|
1533
|
+
-2: 手机号不存在
|
|
1534
|
+
-3: 手机号存在,但无法查询到在网时长
|
|
1535
|
+
不收费结果码:
|
|
1536
|
+
-1: 手机号格式不正确
|
|
1537
|
+
-4: 验证中心服务繁忙
|
|
1519
1538
|
*/
|
|
1520
|
-
Result
|
|
1539
|
+
Result: string;
|
|
1521
1540
|
/**
|
|
1522
1541
|
* 业务结果描述。
|
|
1523
1542
|
*/
|
|
1524
|
-
Description
|
|
1543
|
+
Description: string;
|
|
1525
1544
|
/**
|
|
1526
|
-
*
|
|
1527
|
-
|
|
1545
|
+
* 在网时长区间。
|
|
1546
|
+
格式为(a,b],表示在网时长在a个月以上,b个月以下。若b为+时表示没有上限。
|
|
1528
1547
|
*/
|
|
1529
|
-
|
|
1548
|
+
Range: string;
|
|
1530
1549
|
/**
|
|
1531
1550
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1532
1551
|
*/
|
|
@@ -2026,6 +2045,61 @@ export interface GetDetectInfoResponse {
|
|
|
2026
2045
|
*/
|
|
2027
2046
|
RequestId?: string;
|
|
2028
2047
|
}
|
|
2048
|
+
/**
|
|
2049
|
+
* IdCardOCRVerification返回参数结构体
|
|
2050
|
+
*/
|
|
2051
|
+
export interface IdCardOCRVerificationResponse {
|
|
2052
|
+
/**
|
|
2053
|
+
* 认证结果码,收费情况如下。
|
|
2054
|
+
收费结果码:
|
|
2055
|
+
0: 姓名和身份证号一致
|
|
2056
|
+
-1: 姓名和身份证号不一致
|
|
2057
|
+
不收费结果码:
|
|
2058
|
+
-2: 非法身份证号(长度、校验位等不正确)
|
|
2059
|
+
-3: 非法姓名(长度、格式等不正确)
|
|
2060
|
+
-4: 证件库服务异常
|
|
2061
|
+
-5: 证件库中无此身份证记录
|
|
2062
|
+
-6: 权威比对系统升级中,请稍后再试
|
|
2063
|
+
-7: 认证次数超过当日限制
|
|
2064
|
+
*/
|
|
2065
|
+
Result: string;
|
|
2066
|
+
/**
|
|
2067
|
+
* 业务结果描述。
|
|
2068
|
+
*/
|
|
2069
|
+
Description: string;
|
|
2070
|
+
/**
|
|
2071
|
+
* 用于验证的姓名
|
|
2072
|
+
*/
|
|
2073
|
+
Name: string;
|
|
2074
|
+
/**
|
|
2075
|
+
* 用于验证的身份证号
|
|
2076
|
+
*/
|
|
2077
|
+
IdCard: string;
|
|
2078
|
+
/**
|
|
2079
|
+
* OCR得到的性别
|
|
2080
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2081
|
+
*/
|
|
2082
|
+
Sex: string;
|
|
2083
|
+
/**
|
|
2084
|
+
* OCR得到的民族
|
|
2085
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2086
|
+
*/
|
|
2087
|
+
Nation: string;
|
|
2088
|
+
/**
|
|
2089
|
+
* OCR得到的生日
|
|
2090
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2091
|
+
*/
|
|
2092
|
+
Birth: string;
|
|
2093
|
+
/**
|
|
2094
|
+
* OCR得到的地址
|
|
2095
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2096
|
+
*/
|
|
2097
|
+
Address: string;
|
|
2098
|
+
/**
|
|
2099
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2100
|
+
*/
|
|
2101
|
+
RequestId?: string;
|
|
2102
|
+
}
|
|
2029
2103
|
/**
|
|
2030
2104
|
* IdCardVerification返回参数结构体
|
|
2031
2105
|
*/
|
|
@@ -2097,29 +2171,31 @@ export interface GetDetectInfoEnhancedRequest {
|
|
|
2097
2171
|
IsEncryptResponse?: boolean;
|
|
2098
2172
|
}
|
|
2099
2173
|
/**
|
|
2100
|
-
*
|
|
2174
|
+
* LivenessRecognition返回参数结构体
|
|
2101
2175
|
*/
|
|
2102
|
-
export interface
|
|
2176
|
+
export interface LivenessRecognitionResponse {
|
|
2103
2177
|
/**
|
|
2104
|
-
*
|
|
2105
|
-
|
|
2106
|
-
0: 成功
|
|
2107
|
-
-2: 手机号不存在
|
|
2108
|
-
-3: 手机号存在,但无法查询到在网时长
|
|
2109
|
-
不收费结果码:
|
|
2110
|
-
-1: 手机号格式不正确
|
|
2111
|
-
-4: 验证中心服务繁忙
|
|
2178
|
+
* 验证通过后的视频最佳截图照片,照片为BASE64编码后的值,jpg格式。
|
|
2179
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2112
2180
|
*/
|
|
2113
|
-
|
|
2181
|
+
BestFrameBase64?: string;
|
|
2182
|
+
/**
|
|
2183
|
+
* 相似度,取值范围 [0.00, 100.00]。推荐相似度大于等于70时可判断为同一人,可根据具体场景自行调整阈值(阈值70的误通过率为千分之一,阈值80的误通过率是万分之一)
|
|
2184
|
+
*/
|
|
2185
|
+
Sim?: number;
|
|
2186
|
+
/**
|
|
2187
|
+
* 业务错误码,成功情况返回Success, 错误情况请参考下方错误码 列表中FailedOperation部分
|
|
2188
|
+
*/
|
|
2189
|
+
Result?: string;
|
|
2114
2190
|
/**
|
|
2115
2191
|
* 业务结果描述。
|
|
2116
2192
|
*/
|
|
2117
|
-
Description
|
|
2193
|
+
Description?: string;
|
|
2118
2194
|
/**
|
|
2119
|
-
*
|
|
2120
|
-
|
|
2195
|
+
* 最佳截图列表,仅在配置了返回多张最佳截图时返回。
|
|
2196
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2121
2197
|
*/
|
|
2122
|
-
|
|
2198
|
+
BestFrameList?: Array<string>;
|
|
2123
2199
|
/**
|
|
2124
2200
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2125
2201
|
*/
|
|
@@ -2360,59 +2436,31 @@ export interface BankCard2EVerificationRequest {
|
|
|
2360
2436
|
Encryption?: Encryption;
|
|
2361
2437
|
}
|
|
2362
2438
|
/**
|
|
2363
|
-
*
|
|
2439
|
+
* ImageRecognitionV2请求参数结构体
|
|
2364
2440
|
*/
|
|
2365
|
-
export interface
|
|
2441
|
+
export interface ImageRecognitionV2Request {
|
|
2366
2442
|
/**
|
|
2367
|
-
*
|
|
2368
|
-
收费结果码:
|
|
2369
|
-
0: 姓名和身份证号一致
|
|
2370
|
-
-1: 姓名和身份证号不一致
|
|
2371
|
-
不收费结果码:
|
|
2372
|
-
-2: 非法身份证号(长度、校验位等不正确)
|
|
2373
|
-
-3: 非法姓名(长度、格式等不正确)
|
|
2374
|
-
-4: 证件库服务异常
|
|
2375
|
-
-5: 证件库中无此身份证记录
|
|
2376
|
-
-6: 权威比对系统升级中,请稍后再试
|
|
2377
|
-
-7: 认证次数超过当日限制
|
|
2378
|
-
*/
|
|
2379
|
-
Result: string;
|
|
2380
|
-
/**
|
|
2381
|
-
* 业务结果描述。
|
|
2382
|
-
*/
|
|
2383
|
-
Description: string;
|
|
2384
|
-
/**
|
|
2385
|
-
* 用于验证的姓名
|
|
2386
|
-
*/
|
|
2387
|
-
Name: string;
|
|
2388
|
-
/**
|
|
2389
|
-
* 用于验证的身份证号
|
|
2443
|
+
* 身份证号
|
|
2390
2444
|
*/
|
|
2391
2445
|
IdCard: string;
|
|
2392
2446
|
/**
|
|
2393
|
-
*
|
|
2394
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2395
|
-
*/
|
|
2396
|
-
Sex: string;
|
|
2397
|
-
/**
|
|
2398
|
-
* OCR得到的民族
|
|
2399
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2447
|
+
* 姓名。中文请使用UTF-8编码。
|
|
2400
2448
|
*/
|
|
2401
|
-
|
|
2449
|
+
Name: string;
|
|
2402
2450
|
/**
|
|
2403
|
-
*
|
|
2404
|
-
|
|
2451
|
+
* 用于人脸比对的照片,图片的Base64值;
|
|
2452
|
+
Base64编码后的图片数据大小不超过3M,仅支持jpg、png格式。
|
|
2453
|
+
请使用标准的Base64编码方式(带=补位),编码规范参考RFC4648。
|
|
2405
2454
|
*/
|
|
2406
|
-
|
|
2455
|
+
ImageBase64: string;
|
|
2407
2456
|
/**
|
|
2408
|
-
*
|
|
2409
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2457
|
+
* 本接口不需要传递此参数。
|
|
2410
2458
|
*/
|
|
2411
|
-
|
|
2459
|
+
Optional?: string;
|
|
2412
2460
|
/**
|
|
2413
|
-
*
|
|
2461
|
+
* 敏感数据加密信息。对传入信息(姓名、身份证号)有加密需求的用户可使用此参数,详情请点击左侧链接。
|
|
2414
2462
|
*/
|
|
2415
|
-
|
|
2463
|
+
Encryption?: Encryption;
|
|
2416
2464
|
}
|
|
2417
2465
|
/**
|
|
2418
2466
|
* PhoneVerificationCTCC返回参数结构体
|
|
@@ -46,7 +46,9 @@ export declare class Client extends AbstractClient {
|
|
|
46
46
|
*/
|
|
47
47
|
DescribeTaskInfo(req: DescribeTaskInfoRequest, cb?: (error: string, rep: DescribeTaskInfoResponse) => void): Promise<DescribeTaskInfoResponse>;
|
|
48
48
|
/**
|
|
49
|
-
*
|
|
49
|
+
* 目前该功能底层能力已不具备,不对外提供,目前需要下线,走预下线流程。
|
|
50
|
+
|
|
51
|
+
用于创建年龄语音识别任务的接口,请求频率10次/秒。该接口目前通过白名单开放试用,如有需求,请提交工单申请。
|
|
50
52
|
</br>
|
|
51
53
|
<h4><b>接口功能说明:</b></h4>
|
|
52
54
|
<li>支持对语音文件进行检测,判断是否为未成年人。</li>
|
|
@@ -266,7 +268,9 @@ export declare class Client extends AbstractClient {
|
|
|
266
268
|
*/
|
|
267
269
|
ModifyAppStatus(req: ModifyAppStatusRequest, cb?: (error: string, rep: ModifyAppStatusResponse) => void): Promise<ModifyAppStatusResponse>;
|
|
268
270
|
/**
|
|
269
|
-
*
|
|
271
|
+
* 目前该功能底层能力已不具备,不对外提供,目前需要下线,走预下线流程。
|
|
272
|
+
|
|
273
|
+
查询年龄语音识别任务结果,请求频率10次/秒。该接口目前通过白名单开放试用,如有需求,请提交工单申请。
|
|
270
274
|
*/
|
|
271
275
|
DescribeAgeDetectTask(req: DescribeAgeDetectTaskRequest, cb?: (error: string, rep: DescribeAgeDetectTaskResponse) => void): Promise<DescribeAgeDetectTaskResponse>;
|
|
272
276
|
}
|
|
@@ -84,7 +84,9 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
84
84
|
return this.request("DescribeTaskInfo", req, cb);
|
|
85
85
|
}
|
|
86
86
|
/**
|
|
87
|
-
*
|
|
87
|
+
* 目前该功能底层能力已不具备,不对外提供,目前需要下线,走预下线流程。
|
|
88
|
+
|
|
89
|
+
用于创建年龄语音识别任务的接口,请求频率10次/秒。该接口目前通过白名单开放试用,如有需求,请提交工单申请。
|
|
88
90
|
</br>
|
|
89
91
|
<h4><b>接口功能说明:</b></h4>
|
|
90
92
|
<li>支持对语音文件进行检测,判断是否为未成年人。</li>
|
|
@@ -340,7 +342,9 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
340
342
|
return this.request("ModifyAppStatus", req, cb);
|
|
341
343
|
}
|
|
342
344
|
/**
|
|
343
|
-
*
|
|
345
|
+
* 目前该功能底层能力已不具备,不对外提供,目前需要下线,走预下线流程。
|
|
346
|
+
|
|
347
|
+
查询年龄语音识别任务结果,请求频率10次/秒。该接口目前通过白名单开放试用,如有需求,请提交工单申请。
|
|
344
348
|
*/
|
|
345
349
|
async DescribeAgeDetectTask(req, cb) {
|
|
346
350
|
return this.request("DescribeAgeDetectTask", req, cb);
|