tencentcloud-sdk-nodejs 4.0.751 → 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.
Files changed (28) hide show
  1. package/CHANGELOG.md +119 -0
  2. package/SERVICE_CHANGELOG.md +146 -38
  3. package/examples/hunyuan/v20230901/chat_std.js +40 -0
  4. package/examples/hunyuan/v20230901/chat_std.ts +42 -0
  5. package/package.json +1 -1
  6. package/products.md +8 -8
  7. package/src/common/sdk_version.ts +1 -1
  8. package/src/services/bi/v20220105/bi_models.ts +17 -0
  9. package/src/services/cynosdb/v20190107/cynosdb_models.ts +5 -0
  10. package/src/services/ess/v20201111/ess_models.ts +2 -2
  11. package/src/services/essbasic/v20210526/essbasic_models.ts +1 -114
  12. package/src/services/faceid/v20180301/faceid_client.ts +15 -3
  13. package/src/services/faceid/v20180301/faceid_models.ts +123 -73
  14. package/src/services/gme/v20180711/gme_client.ts +7 -3
  15. package/src/services/teo/v20220901/teo_models.ts +51 -10
  16. package/tencentcloud/common/sdk_version.d.ts +1 -1
  17. package/tencentcloud/common/sdk_version.js +1 -1
  18. package/tencentcloud/services/bi/v20220105/bi_models.d.ts +17 -0
  19. package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +5 -0
  20. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +2 -2
  21. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +1 -114
  22. package/tencentcloud/services/faceid/v20180301/faceid_client.d.ts +5 -1
  23. package/tencentcloud/services/faceid/v20180301/faceid_client.js +6 -0
  24. package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +121 -73
  25. package/tencentcloud/services/gme/v20180711/gme_client.d.ts +6 -2
  26. package/tencentcloud/services/gme/v20180711/gme_client.js +6 -2
  27. package/tencentcloud/services/teo/v20220901/teo_models.d.ts +51 -10
  28. package/test/faceid.v20180301.test.js +10 -0
@@ -3680,119 +3680,6 @@ export interface DescribeChannelSealPolicyWorkflowUrlRequest {
3680
3680
  }
3681
3681
  /**
3682
3682
  * 此结构体 (FlowInfo) 用于描述签署流程信息。
3683
-
3684
- 【数据表格传参说明】
3685
- 当模板的 ComponentType='DYNAMIC_TABLE'时( 第三方应用集成或集成版),FormField.ComponentValue需要传递json格式的字符串参数,用于确定表头&填充数据表格(支持内容的单元格合并)
3686
- 输入示例1:
3687
-
3688
- ```
3689
- {
3690
- "headers":[
3691
- {
3692
- "content":"head1"
3693
- },
3694
- {
3695
- "content":"head2"
3696
- },
3697
- {
3698
- "content":"head3"
3699
- }
3700
- ],
3701
- "rowCount":3,
3702
- "body":{
3703
- "cells":[
3704
- {
3705
- "rowStart":1,
3706
- "rowEnd":1,
3707
- "columnStart":1,
3708
- "columnEnd":1,
3709
- "content":"123"
3710
- },
3711
- {
3712
- "rowStart":2,
3713
- "rowEnd":3,
3714
- "columnStart":1,
3715
- "columnEnd":2,
3716
- "content":"456"
3717
- },
3718
- {
3719
- "rowStart":3,
3720
- "rowEnd":3,
3721
- "columnStart":3,
3722
- "columnEnd":3,
3723
- "content":"789"
3724
- }
3725
- ]
3726
- }
3727
- }
3728
-
3729
- ```
3730
-
3731
- 输入示例2(表格表头宽度比例配置):
3732
-
3733
- ```
3734
- {
3735
- "headers":[
3736
- {
3737
- "content":"head1",
3738
- "widthPercent": 30
3739
- },
3740
- {
3741
- "content":"head2",
3742
- "widthPercent": 30
3743
- },
3744
- {
3745
- "content":"head3",
3746
- "widthPercent": 40
3747
- }
3748
- ],
3749
- "rowCount":3,
3750
- "body":{
3751
- "cells":[
3752
- {
3753
- "rowStart":1,
3754
- "rowEnd":1,
3755
- "columnStart":1,
3756
- "columnEnd":1,
3757
- "content":"123"
3758
- },
3759
- {
3760
- "rowStart":2,
3761
- "rowEnd":3,
3762
- "columnStart":1,
3763
- "columnEnd":2,
3764
- "content":"456"
3765
- },
3766
- {
3767
- "rowStart":3,
3768
- "rowEnd":3,
3769
- "columnStart":3,
3770
- "columnEnd":3,
3771
- "content":"789"
3772
- }
3773
- ]
3774
- }
3775
- }
3776
-
3777
- ```
3778
- 表格参数说明
3779
-
3780
- | 名称 | 类型 | 描述 |
3781
- | ------------------- | ------- | ------------------------------------------------- |
3782
- | headers | Array | 表头:不超过10列,不支持单元格合并,字数不超过100 |
3783
- | rowCount | Integer | 表格内容最大行数 |
3784
- | cells.N.rowStart | Integer | 单元格坐标:行起始index |
3785
- | cells.N.rowEnd | Integer | 单元格坐标:行结束index |
3786
- | cells.N.columnStart | Integer | 单元格坐标:列起始index |
3787
- | cells.N.columnEnd | Integer | 单元格坐标:列结束index |
3788
- | cells.N.content | String | 单元格内容,字数不超过100 |
3789
-
3790
- 表格参数headers说明
3791
-
3792
- | 名称 | 类型 | 描述 |
3793
- | ------------------- | ------- | ------------------------------------------------- |
3794
- | widthPercent | Integer | 表头单元格列占总表头的比例,例如1:30表示 此列占表头的30%,不填写时列宽度平均拆分;例如2:总2列,某一列填写40,剩余列可以为空,按照60计算。;例如3:总3列,某一列填写30,剩余2列可以为空,分别为(100-30)/2=35 |
3795
- | content | String | 表头单元格内容,字数不超过100 |
3796
3683
  */
3797
3684
  export interface FlowInfo {
3798
3685
  /**
@@ -6875,7 +6762,7 @@ export interface ChannelCreateEmbedWebUrlRequest {
6875
6762
  * 用户自定义参数
6876
6763
  <ul>
6877
6764
  <li>目前仅支持EmbedType=CREATE_TEMPLATE时传入</li>
6878
- <li>指定后,创建,编辑,删除模版时,回调都会携带该userData</li>
6765
+ <li>指定后,创建,编辑,删除模板时,回调都会携带该userData</li>
6879
6766
  <li>支持的格式:json字符串的BASE64编码字符串</li>
6880
6767
  <li>示例:<ul>
6881
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, LivenessRecognitionResponse, PhoneVerificationCUCCResponse, CheckIdCardInformationRequest, MinorsVerificationResponse, GetWeChatBillDetailsRequest, BankCardVerificationResponse, PhoneVerificationCUCCRequest, PhoneVerificationCMCCRequest, ImageRecognitionResponse, GetDetectInfoResponse, IdCardVerificationResponse, GetDetectInfoEnhancedRequest, MobileNetworkTimeVerificationResponse, GetLiveCodeRequest, GetEidResultResponse, PhoneVerificationRequest, GetFaceIdResultRequest, CheckPhoneAndNameResponse, GetFaceIdTokenRequest, BankCard2EVerificationRequest, IdCardOCRVerificationResponse, PhoneVerificationCTCCResponse, ParseNfcDataRequest, PhoneVerificationCTCCRequest, ImageRecognitionRequest, BankCard4EVerificationRequest, GetActionSequenceRequest, GetLiveCodeResponse, GetDetectInfoRequest, CheckPhoneAndNameRequest, GetEidTokenResponse } from "./faceid_models";
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
- * LivenessRecognition返回参数结构体
1526
+ * MobileNetworkTimeVerification返回参数结构体
1506
1527
  */
1507
- export interface LivenessRecognitionResponse {
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
- * 业务错误码,成功情况返回Success, 错误情况请参考下方错误码 列表中FailedOperation部分
1530
+ * 认证结果码,收费情况如下。
1531
+ 收费结果码:
1532
+ 0: 成功
1533
+ -2: 手机号不存在
1534
+ -3: 手机号存在,但无法查询到在网时长
1535
+ 不收费结果码:
1536
+ -1: 手机号格式不正确
1537
+ -4: 验证中心服务繁忙
1519
1538
  */
1520
- Result?: string;
1539
+ Result: string;
1521
1540
  /**
1522
1541
  * 业务结果描述。
1523
1542
  */
1524
- Description?: string;
1543
+ Description: string;
1525
1544
  /**
1526
- * 最佳截图列表,仅在配置了返回多张最佳截图时返回。
1527
- 注意:此字段可能返回 null,表示取不到有效值。
1545
+ * 在网时长区间。
1546
+ 格式为(a,b],表示在网时长在a个月以上,b个月以下。若b为+时表示没有上限。
1528
1547
  */
1529
- BestFrameList?: Array<string>;
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
- * MobileNetworkTimeVerification返回参数结构体
2174
+ * LivenessRecognition返回参数结构体
2101
2175
  */
2102
- export interface MobileNetworkTimeVerificationResponse {
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
- Result: string;
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: string;
2193
+ Description?: string;
2118
2194
  /**
2119
- * 在网时长区间。
2120
- 格式为(a,b],表示在网时长在a个月以上,b个月以下。若b为+时表示没有上限。
2195
+ * 最佳截图列表,仅在配置了返回多张最佳截图时返回。
2196
+ 注意:此字段可能返回 null,表示取不到有效值。
2121
2197
  */
2122
- Range: string;
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
- * IdCardOCRVerification返回参数结构体
2439
+ * ImageRecognitionV2请求参数结构体
2364
2440
  */
2365
- export interface IdCardOCRVerificationResponse {
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
- * OCR得到的性别
2394
- 注意:此字段可能返回 null,表示取不到有效值。
2395
- */
2396
- Sex: string;
2397
- /**
2398
- * OCR得到的民族
2399
- 注意:此字段可能返回 null,表示取不到有效值。
2447
+ * 姓名。中文请使用UTF-8编码。
2400
2448
  */
2401
- Nation: string;
2449
+ Name: string;
2402
2450
  /**
2403
- * OCR得到的生日
2404
- 注意:此字段可能返回 null,表示取不到有效值。
2451
+ * 用于人脸比对的照片,图片的Base64值;
2452
+ Base64编码后的图片数据大小不超过3M,仅支持jpg、png格式。
2453
+ 请使用标准的Base64编码方式(带=补位),编码规范参考RFC4648。
2405
2454
  */
2406
- Birth: string;
2455
+ ImageBase64: string;
2407
2456
  /**
2408
- * OCR得到的地址
2409
- 注意:此字段可能返回 null,表示取不到有效值。
2457
+ * 本接口不需要传递此参数。
2410
2458
  */
2411
- Address: string;
2459
+ Optional?: string;
2412
2460
  /**
2413
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2461
+ * 敏感数据加密信息。对传入信息(姓名、身份证号)有加密需求的用户可使用此参数,详情请点击左侧链接。
2414
2462
  */
2415
- RequestId?: string;
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
- * 用于创建年龄语音识别任务的接口,请求频率10次/秒。该接口目前通过白名单开放试用,如有需求,请提交工单申请。
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
- * 查询年龄语音识别任务结果,请求频率10次/秒。该接口目前通过白名单开放试用,如有需求,请提交工单申请。
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
- * 用于创建年龄语音识别任务的接口,请求频率10次/秒。该接口目前通过白名单开放试用,如有需求,请提交工单申请。
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
- * 查询年龄语音识别任务结果,请求频率10次/秒。该接口目前通过白名单开放试用,如有需求,请提交工单申请。
345
+ * 目前该功能底层能力已不具备,不对外提供,目前需要下线,走预下线流程。
346
+
347
+ 查询年龄语音识别任务结果,请求频率10次/秒。该接口目前通过白名单开放试用,如有需求,请提交工单申请。
344
348
  */
345
349
  async DescribeAgeDetectTask(req, cb) {
346
350
  return this.request("DescribeAgeDetectTask", req, cb);
@@ -590,40 +590,61 @@ export interface DescribeConfigGroupVersionDetailResponse {
590
590
  export interface OriginDetail {
591
591
  /**
592
592
  * 源站类型,取值有:
593
- <li>IP_DOMAIN:IPV4、IPV6或域名类型源站;</li>
594
- <li>COSCOS源。</li>
595
- <li>ORIGIN_GROUP:源站组类型源站。</li>
596
- <li>AWS_S3:AWS S3对象存储源站。</li>
593
+ <li>IP_DOMAIN:IPV4、IPV6 或域名类型源站;</li>
594
+ <li>COS:腾讯云 COS 对象存储源站;</li>
595
+ <li>AWS_S3:AWS S3 对象存储源站;</li>
596
+ <li>ORIGIN_GROUP:源站组类型源站;</li>
597
+ <li>VODEO:云点播(混合云版);</li>
598
+ <li>SPACE:源站卸载,当前仅白名单开放;</li>
599
+ <li>LB:负载均衡,当前仅白名单开放。</li>
597
600
  */
598
601
  OriginType?: string;
599
602
  /**
600
- * 源站地址,当OriginType参数指定为ORIGIN_GROUP时,该参数填写源站组ID,其他情况下填写源站地址。
603
+ * 源站地址,根据 OriginType 的取值分为以下情况:
604
+ <li>当 OriginType = IP_DOMAIN 时,该参数为 IPv4、IPv6 地址或域名;</li>
605
+ <li>当 OriginType = COS 时,该参数为 COS 桶的访问域名;</li>
606
+ <li>当 OriginType = AWS_S3,该参数为 S3 桶的访问域名;</li>
607
+ <li>当 OriginType = ORIGIN_GROUP 时,该参数为源站组 ID;</li>
608
+ <li>当 OriginType = VODEO 时,如果 VodeoDistributionRange = ALL,则该参数为 "all-buckets-in-vodeo-application";如果 VodeoDistributionRange = Bucket,则该参数为对应存储桶域名。</li>
609
+
601
610
  */
602
611
  Origin?: string;
603
612
  /**
604
- * 备用源站组ID,该参数在OriginType参数指定为ORIGIN_GROUP时生效,为空表示不使用备用源站。
613
+ * 备用源站组 ID,该参数仅在 OriginType = ORIGIN_GROUP 且配置了备源站组时会生效。
605
614
  */
606
615
  BackupOrigin?: string;
607
616
  /**
608
- * 主源源站组名称,当OriginType参数指定为ORIGIN_GROUP时该参数生效。
617
+ * 主源源站组名称,当 OriginType = ORIGIN_GROUP 时该参数会返回值。
609
618
  */
610
619
  OriginGroupName?: string;
611
620
  /**
612
- * 备用源站源站组名称,当OriginType参数指定为ORIGIN_GROUP,且用户指定了被用源站时该参数生效。
621
+ * 备用源站组名称,该参数仅当 OriginType = ORIGIN_GROUP 且配置了备用源站组时会生效。
613
622
  */
614
623
  BackOriginGroupName?: string;
615
624
  /**
616
- * 指定是否允许访问私有对象存储源站。当源站类型OriginType=COS或AWS_S3时有效 取值有:
625
+ * 指定是否允许访问私有对象存储源站,该参数仅当源站类型 OriginType = COS AWS_S3 时会生效,取值有:
617
626
  <li>on:使用私有鉴权;</li>
618
627
  <li>off:不使用私有鉴权。</li>
619
628
  不填写,默认值为off。
620
629
  */
621
630
  PrivateAccess?: string;
622
631
  /**
623
- * 私有鉴权使用参数,当源站类型PrivateAccess=on时有效。
632
+ * 私有鉴权使用参数,该参数仅当源站类型 PrivateAccess = on 时会生效。
624
633
  注意:此字段可能返回 null,表示取不到有效值。
625
634
  */
626
635
  PrivateParameters?: Array<PrivateParameter>;
636
+ /**
637
+ * MO 子应用 ID
638
+ */
639
+ VodeoSubAppId?: number;
640
+ /**
641
+ * MO 分发范围,取值有: <li>All:全部</li> <li>Bucket:存储桶</li>
642
+ */
643
+ VodeoDistributionRange?: string;
644
+ /**
645
+ * MO 存储桶 ID,分发范围(DistributionRange)为存储桶(Bucket)时必填
646
+ */
647
+ VodeoBucketId?: string;
627
648
  }
628
649
  /**
629
650
  * DescribeDDoSAttackData返回参数结构体
@@ -1092,6 +1113,18 @@ export interface OriginInfo {
1092
1113
  * 私有鉴权使用参数,当源站类型 PrivateAccess=on 时有效。
1093
1114
  */
1094
1115
  PrivateParameters?: Array<PrivateParameter>;
1116
+ /**
1117
+ * MO 子应用 ID
1118
+ */
1119
+ VodeoSubAppId?: number;
1120
+ /**
1121
+ * MO 分发范围,取值有: <li>All:全部</li> <li>Bucket:存储桶</li>
1122
+ */
1123
+ VodeoDistributionRange?: string;
1124
+ /**
1125
+ * MO 存储桶 ID,分发范围(DistributionRange)为存储桶(Bucket)时必填
1126
+ */
1127
+ VodeoBucketId?: string;
1095
1128
  }
1096
1129
  /**
1097
1130
  * 标签配置
@@ -6697,6 +6730,11 @@ export interface Resource {
6697
6730
  注意:此字段可能返回 null,表示取不到有效值。
6698
6731
  */
6699
6732
  ZoneNumber?: number;
6733
+ /**
6734
+ * 资源标记类型,取值有:
6735
+ <li>vodeo:vodeo资源。</li>
6736
+ */
6737
+ Type?: string;
6700
6738
  }
6701
6739
  /**
6702
6740
  * 对象存储源站记录私有鉴权参数
@@ -7351,6 +7389,9 @@ export interface DescribeAccelerationDomainsRequest {
7351
7389
  <li>backup-origin: 按照备用源站地址进行过滤;</li>
7352
7390
  <li>domain-cname:按照 CNAME 进行过滤;</li>
7353
7391
  <li>share-cname:按照共享 CNAME 进行过滤;</li>
7392
+ <li>vodeo-sub-app-id:按照【 vodeo 子应用 ID】进行过滤;</li>
7393
+ <li>vodeo-distribution-range:按照【 vodeo 分发范围】进行过滤;</li>
7394
+ <li>vodeo-bucket-id:按照【vodeo 存储桶 ID】进行过滤;</li>
7354
7395
  */
7355
7396
  Filters?: Array<AdvancedFilter>;
7356
7397
  /**
@@ -128,6 +128,16 @@ it("faceid.v20180301.BankCardVerification", async function () {
128
128
  }
129
129
  })
130
130
 
131
+ it("faceid.v20180301.ImageRecognitionV2", async function () {
132
+ try {
133
+ const data = await client.ImageRecognitionV2({})
134
+ expect(data).to.be.ok
135
+ } catch(error) {
136
+ expect(error.requestId).to.be.ok
137
+ expect(error.code).to.be.ok
138
+ }
139
+ })
140
+
131
141
  it("faceid.v20180301.LivenessCompare", async function () {
132
142
  try {
133
143
  const data = await client.LivenessCompare({})