tencentcloud-sdk-nodejs 4.0.358 → 4.0.359

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 (42) hide show
  1. package/CHANGELOG.md +137 -0
  2. package/SERVICE_CHANGELOG.md +167 -66
  3. package/package.json +1 -1
  4. package/products.md +12 -12
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/cdn/v20180606/cdn_models.ts +13 -1
  7. package/src/services/ess/v20201111/ess_client.ts +27 -1
  8. package/src/services/ess/v20201111/ess_models.ts +161 -51
  9. package/src/services/essbasic/v20210526/essbasic_client.ts +45 -19
  10. package/src/services/essbasic/v20210526/essbasic_models.ts +127 -15
  11. package/src/services/ivld/v20210903/ivld_client.ts +4 -2
  12. package/src/services/partners/v20180321/partners_models.ts +1 -1
  13. package/src/services/ses/v20201002/ses_client.ts +1 -1
  14. package/src/services/ses/v20201002/ses_models.ts +2 -2
  15. package/src/services/ssl/v20191205/ssl_models.ts +19 -1
  16. package/src/services/tcr/v20190924/tcr_models.ts +15 -0
  17. package/src/services/tdmq/v20200217/tdmq_models.ts +4 -4
  18. package/src/services/trtc/v20190722/trtc_client.ts +2 -0
  19. package/src/services/trtc/v20190722/trtc_models.ts +104 -1
  20. package/src/services/vod/v20180717/vod_models.ts +15 -11
  21. package/tencentcloud/common/sdk_version.d.ts +1 -1
  22. package/tencentcloud/common/sdk_version.js +1 -1
  23. package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +11 -1
  24. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +10 -1
  25. package/tencentcloud/services/ess/v20201111/ess_client.js +13 -0
  26. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +139 -46
  27. package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +18 -9
  28. package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +23 -10
  29. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +109 -14
  30. package/tencentcloud/services/ivld/v20210903/ivld_client.d.ts +4 -2
  31. package/tencentcloud/services/ivld/v20210903/ivld_client.js +4 -2
  32. package/tencentcloud/services/partners/v20180321/partners_models.d.ts +1 -1
  33. package/tencentcloud/services/ses/v20201002/ses_client.d.ts +1 -1
  34. package/tencentcloud/services/ses/v20201002/ses_client.js +1 -1
  35. package/tencentcloud/services/ses/v20201002/ses_models.d.ts +2 -2
  36. package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +17 -1
  37. package/tencentcloud/services/tcr/v20190924/tcr_models.d.ts +12 -0
  38. package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +4 -4
  39. package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +86 -1
  40. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +14 -10
  41. package/test/ess.v20201111.test.js +20 -0
  42. package/test/essbasic.v20210526.test.js +24 -4
@@ -1,6 +1,6 @@
1
1
  import { AbstractClient } from "../../../common/abstract_client";
2
2
  import { ClientConfig } from "../../../common/interface";
3
- import { SyncProxyOrganizationResponse, PrepareFlowsResponse, GetDownloadFlowUrlResponse, DescribeResourceUrlsByFlowsResponse, DescribeTemplatesResponse, OperateChannelTemplateResponse, CreateSignUrlsRequest, DescribeFlowDetailInfoRequest, UploadFilesRequest, DescribeResourceUrlsByFlowsRequest, GetDownloadFlowUrlRequest, CreateConsoleLoginUrlRequest, CreateFlowsByTemplatesResponse, PrepareFlowsRequest, SyncProxyOrganizationOperatorsResponse, CreateSealByImageResponse, DescribeTemplatesRequest, SyncProxyOrganizationOperatorsRequest, CreateConsoleLoginUrlResponse, CreateFlowsByTemplatesRequest, SyncProxyOrganizationRequest, CreateSealByImageRequest, CreateSignUrlsResponse, OperateChannelTemplateRequest, DescribeUsageRequest, ChannelCreateFlowByFilesRequest, ChannelCreateFlowByFilesResponse, UploadFilesResponse, DescribeUsageResponse, DescribeFlowDetailInfoResponse } from "./essbasic_models";
3
+ import { SyncProxyOrganizationResponse, PrepareFlowsResponse, GetDownloadFlowUrlResponse, DescribeResourceUrlsByFlowsResponse, ChannelCreateMultiFlowSignQRCodeResponse, DescribeTemplatesResponse, OperateChannelTemplateResponse, CreateSignUrlsRequest, ChannelCreateMultiFlowSignQRCodeRequest, DescribeFlowDetailInfoRequest, UploadFilesRequest, DescribeResourceUrlsByFlowsRequest, GetDownloadFlowUrlRequest, CreateConsoleLoginUrlRequest, CreateFlowsByTemplatesResponse, PrepareFlowsRequest, SyncProxyOrganizationOperatorsResponse, CreateSealByImageResponse, DescribeTemplatesRequest, SyncProxyOrganizationOperatorsRequest, CreateConsoleLoginUrlResponse, CreateFlowsByTemplatesRequest, SyncProxyOrganizationRequest, CreateSealByImageRequest, DescribeUsageResponse, CreateSignUrlsResponse, OperateChannelTemplateRequest, ChannelCancelMultiFlowSignQRCodeRequest, DescribeUsageRequest, ChannelCreateFlowByFilesRequest, ChannelCreateFlowByFilesResponse, UploadFilesResponse, ChannelCancelMultiFlowSignQRCodeResponse, DescribeFlowDetailInfoResponse } from "./essbasic_models";
4
4
  /**
5
5
  * essbasic client
6
6
  * @class
@@ -21,6 +21,19 @@ export declare class Client extends AbstractClient {
21
21
  * 通过此接口(DescribeTemplates)查询该企业在电子签渠道版中配置的有效模板列表
22
22
  */
23
23
  DescribeTemplates(req: DescribeTemplatesRequest, cb?: (error: string, rep: DescribeTemplatesResponse) => void): Promise<DescribeTemplatesResponse>;
24
+ /**
25
+ * 此接口(OperateChannelTemplate)用于渠道侧将模板库中的模板对合作企业进行查询和设置, 其中包括可见性的修改以及对合作企业的设置.
26
+ 1、同步标识=select时:
27
+ 返回渠道侧模板库当前模板的属性.
28
+ 2、同步标识=update或者delete时:
29
+ 对渠道子客进行模板库中模板授权,修改操作
30
+ */
31
+ OperateChannelTemplate(req: OperateChannelTemplateRequest, cb?: (error: string, rep: OperateChannelTemplateResponse) => void): Promise<OperateChannelTemplateResponse>;
32
+ /**
33
+ * 此接口(ChannelCreateMultiFlowSignQRCode)用于创建一码多扫流程签署二维码。
34
+ 适用的模版仅限于B2C(1、无序签署,2、顺序签署时B静默签署,3、顺序签署时B非首位签署)、单C的模版,且模版中发起方没有填写控件。
35
+ */
36
+ ChannelCreateMultiFlowSignQRCode(req: ChannelCreateMultiFlowSignQRCodeRequest, cb?: (error: string, rep: ChannelCreateMultiFlowSignQRCodeResponse) => void): Promise<ChannelCreateMultiFlowSignQRCodeResponse>;
24
37
  /**
25
38
  * 接口(ChannelCreateFlowByFiles)用于渠道版通过文件创建流程。此接口不可直接使用,需要运营申请
26
39
  */
@@ -32,21 +45,17 @@ export declare class Client extends AbstractClient {
32
45
  */
33
46
  PrepareFlows(req: PrepareFlowsRequest, cb?: (error: string, rep: PrepareFlowsResponse) => void): Promise<PrepareFlowsResponse>;
34
47
  /**
35
- * 此接口(OperateChannelTemplate)用于渠道侧将模板库中的模板对合作企业进行查询和设置, 其中包括可见性的修改以及对合作企业的设置.
36
- 1、同步标识=select时:
37
- 返回渠道侧模板库当前模板的属性.
38
- 2、同步标识=update或者delete时:
39
- 对渠道子客进行模板库中模板授权,修改操作
48
+ * 创建参与者签署短链
40
49
  */
41
- OperateChannelTemplate(req: OperateChannelTemplateRequest, cb?: (error: string, rep: OperateChannelTemplateResponse) => void): Promise<OperateChannelTemplateResponse>;
50
+ CreateSignUrls(req: CreateSignUrlsRequest, cb?: (error: string, rep: CreateSignUrlsResponse) => void): Promise<CreateSignUrlsResponse>;
42
51
  /**
43
52
  * 渠道通过图片为子客代创建印章,图片最大5m;此接口不可直接使用,需要运营申请
44
53
  */
45
54
  CreateSealByImage(req: CreateSealByImageRequest, cb?: (error: string, rep: CreateSealByImageResponse) => void): Promise<CreateSealByImageResponse>;
46
55
  /**
47
- * 创建参与者签署短链
56
+ * 此接口(ChannelCancelMultiFlowSignQRCode)用于取消一码多扫二维码。该接口对传入的二维码ID,若还在有效期内,可以提前失效。
48
57
  */
49
- CreateSignUrls(req: CreateSignUrlsRequest, cb?: (error: string, rep: CreateSignUrlsResponse) => void): Promise<CreateSignUrlsResponse>;
58
+ ChannelCancelMultiFlowSignQRCode(req: ChannelCancelMultiFlowSignQRCodeRequest, cb?: (error: string, rep: ChannelCancelMultiFlowSignQRCodeResponse) => void): Promise<ChannelCancelMultiFlowSignQRCodeResponse>;
50
59
  /**
51
60
  * 此接口(CreateConsoleLoginUrl)用于创建电子签控制台登录链接。若企业未激活,调用同步企业信息、同步经办人信息
52
61
 
@@ -47,6 +47,23 @@ class Client extends abstract_client_1.AbstractClient {
47
47
  async DescribeTemplates(req, cb) {
48
48
  return this.request("DescribeTemplates", req, cb);
49
49
  }
50
+ /**
51
+ * 此接口(OperateChannelTemplate)用于渠道侧将模板库中的模板对合作企业进行查询和设置, 其中包括可见性的修改以及对合作企业的设置.
52
+ 1、同步标识=select时:
53
+ 返回渠道侧模板库当前模板的属性.
54
+ 2、同步标识=update或者delete时:
55
+ 对渠道子客进行模板库中模板授权,修改操作
56
+ */
57
+ async OperateChannelTemplate(req, cb) {
58
+ return this.request("OperateChannelTemplate", req, cb);
59
+ }
60
+ /**
61
+ * 此接口(ChannelCreateMultiFlowSignQRCode)用于创建一码多扫流程签署二维码。
62
+ 适用的模版仅限于B2C(1、无序签署,2、顺序签署时B静默签署,3、顺序签署时B非首位签署)、单C的模版,且模版中发起方没有填写控件。
63
+ */
64
+ async ChannelCreateMultiFlowSignQRCode(req, cb) {
65
+ return this.request("ChannelCreateMultiFlowSignQRCode", req, cb);
66
+ }
50
67
  /**
51
68
  * 接口(ChannelCreateFlowByFiles)用于渠道版通过文件创建流程。此接口不可直接使用,需要运营申请
52
69
  */
@@ -62,14 +79,10 @@ class Client extends abstract_client_1.AbstractClient {
62
79
  return this.request("PrepareFlows", req, cb);
63
80
  }
64
81
  /**
65
- * 此接口(OperateChannelTemplate)用于渠道侧将模板库中的模板对合作企业进行查询和设置, 其中包括可见性的修改以及对合作企业的设置.
66
- 1、同步标识=select时:
67
- 返回渠道侧模板库当前模板的属性.
68
- 2、同步标识=update或者delete时:
69
- 对渠道子客进行模板库中模板授权,修改操作
82
+ * 创建参与者签署短链
70
83
  */
71
- async OperateChannelTemplate(req, cb) {
72
- return this.request("OperateChannelTemplate", req, cb);
84
+ async CreateSignUrls(req, cb) {
85
+ return this.request("CreateSignUrls", req, cb);
73
86
  }
74
87
  /**
75
88
  * 渠道通过图片为子客代创建印章,图片最大5m;此接口不可直接使用,需要运营申请
@@ -78,10 +91,10 @@ class Client extends abstract_client_1.AbstractClient {
78
91
  return this.request("CreateSealByImage", req, cb);
79
92
  }
80
93
  /**
81
- * 创建参与者签署短链
94
+ * 此接口(ChannelCancelMultiFlowSignQRCode)用于取消一码多扫二维码。该接口对传入的二维码ID,若还在有效期内,可以提前失效。
82
95
  */
83
- async CreateSignUrls(req, cb) {
84
- return this.request("CreateSignUrls", req, cb);
96
+ async ChannelCancelMultiFlowSignQRCode(req, cb) {
97
+ return this.request("ChannelCancelMultiFlowSignQRCode", req, cb);
85
98
  }
86
99
  /**
87
100
  * 此接口(CreateConsoleLoginUrl)用于创建电子签控制台登录链接。若企业未激活,调用同步企业信息、同步经办人信息
@@ -213,6 +213,19 @@ export interface DescribeResourceUrlsByFlowsResponse {
213
213
  */
214
214
  RequestId?: string;
215
215
  }
216
+ /**
217
+ * ChannelCreateMultiFlowSignQRCode返回参数结构体
218
+ */
219
+ export interface ChannelCreateMultiFlowSignQRCodeResponse {
220
+ /**
221
+ * 签署二维码对象
222
+ */
223
+ QrCode: SignQrCode;
224
+ /**
225
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
226
+ */
227
+ RequestId?: string;
228
+ }
216
229
  /**
217
230
  * 签署参与者信息
218
231
  */
@@ -347,6 +360,44 @@ export interface CreateSignUrlsRequest {
347
360
  */
348
361
  AutoJumpBack?: boolean;
349
362
  }
363
+ /**
364
+ * ChannelCreateMultiFlowSignQRCode请求参数结构体
365
+ */
366
+ export interface ChannelCreateMultiFlowSignQRCodeRequest {
367
+ /**
368
+ * 应用信息
369
+ 此接口Agent.ProxyOrganizationOpenId 和 Agent. ProxyOperator.OpenId 必填
370
+ */
371
+ Agent: Agent;
372
+ /**
373
+ * 模版ID
374
+ */
375
+ TemplateId: string;
376
+ /**
377
+ * 合同名称
378
+ */
379
+ FlowName: string;
380
+ /**
381
+ * 用户信息
382
+ */
383
+ Operator?: UserInfo;
384
+ /**
385
+ * 合同有效天数 默认7天 最高设置不超过30天
386
+ */
387
+ FlowEffectiveDay?: number;
388
+ /**
389
+ * 二维码有效天数 默认7天 最高设置不超过90天
390
+ */
391
+ QrEffectiveDay?: number;
392
+ /**
393
+ * 最大合同份数,默认5份 超过此上限 二维码自动失效
394
+ */
395
+ MaxFlowNum?: number;
396
+ /**
397
+ * 回调地址
398
+ */
399
+ CallbackUrl?: string;
400
+ }
350
401
  /**
351
402
  * 授权出错信息
352
403
  */
@@ -377,6 +428,23 @@ export interface DescribeFlowDetailInfoRequest {
377
428
  */
378
429
  Operator?: UserInfo;
379
430
  }
431
+ /**
432
+ * 一码多扫签署二维码对象
433
+ */
434
+ export interface SignQrCode {
435
+ /**
436
+ * 二维码id
437
+ */
438
+ QrCodeId: string;
439
+ /**
440
+ * 二维码url
441
+ */
442
+ QrCodeUrl: string;
443
+ /**
444
+ * 二维码过期时间
445
+ */
446
+ ExpiredTime: number;
447
+ }
380
448
  /**
381
449
  * UploadFiles请求参数结构体
382
450
  */
@@ -734,7 +802,7 @@ export interface DescribeTemplatesRequest {
734
802
  */
735
803
  TemplateId?: string;
736
804
  /**
737
- * 查询内容:0-模版列表及详情(默认),1-仅模版列表
805
+ * 查询内容:0-模板列表及详情(默认),1-仅模板列表
738
806
  */
739
807
  ContentType?: number;
740
808
  /**
@@ -878,6 +946,24 @@ export interface UserInfo {
878
946
  */
879
947
  ProxyIp?: string;
880
948
  }
949
+ /**
950
+ * DescribeUsage返回参数结构体
951
+ */
952
+ export interface DescribeUsageResponse {
953
+ /**
954
+ * 用量明细条数
955
+ */
956
+ Total: number;
957
+ /**
958
+ * 用量明细
959
+ 注意:此字段可能返回 null,表示取不到有效值。
960
+ */
961
+ Details: Array<UsageDetail>;
962
+ /**
963
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
964
+ */
965
+ RequestId?: string;
966
+ }
881
967
  /**
882
968
  * 用量明细
883
969
  */
@@ -961,13 +1047,22 @@ export interface DownloadFlowInfo {
961
1047
  FlowIdList: Array<string>;
962
1048
  }
963
1049
  /**
964
- * 抄送信息
1050
+ * ChannelCancelMultiFlowSignQRCode请求参数结构体
965
1051
  */
966
- export interface CcInfo {
1052
+ export interface ChannelCancelMultiFlowSignQRCodeRequest {
967
1053
  /**
968
- * 被抄送人手机号
1054
+ * 应用信息
1055
+ 此接口Agent.ProxyOrganizationOpenId 和 Agent. ProxyOperator.OpenId 必填
969
1056
  */
970
- Mobile?: string;
1057
+ Agent: Agent;
1058
+ /**
1059
+ * 二维码id
1060
+ */
1061
+ QrCodeId: string;
1062
+ /**
1063
+ * 用户信息
1064
+ */
1065
+ Operator?: UserInfo;
971
1066
  }
972
1067
  /**
973
1068
  * 同步经办人失败原因
@@ -1319,18 +1414,18 @@ PERSON 自然人
1319
1414
  OpenId: string;
1320
1415
  }
1321
1416
  /**
1322
- * DescribeUsage返回参数结构体
1417
+ * 抄送信息
1323
1418
  */
1324
- export interface DescribeUsageResponse {
1325
- /**
1326
- * 用量明细条数
1327
- */
1328
- Total: number;
1419
+ export interface CcInfo {
1329
1420
  /**
1330
- * 用量明细
1331
- 注意:此字段可能返回 null,表示取不到有效值。
1421
+ * 被抄送人手机号
1332
1422
  */
1333
- Details: Array<UsageDetail>;
1423
+ Mobile?: string;
1424
+ }
1425
+ /**
1426
+ * ChannelCancelMultiFlowSignQRCode返回参数结构体
1427
+ */
1428
+ export interface ChannelCancelMultiFlowSignQRCodeResponse {
1334
1429
  /**
1335
1430
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1336
1431
  */
@@ -17,9 +17,11 @@ export declare class Client extends AbstractClient {
17
17
  /**
18
18
  * 将URL指向的媒资视频文件导入系统之中。
19
19
 
20
- **请注意,本接口为异步接口**。接口返回MediaId仅代表导入视频任务发起,不代表任务完成,您可调用读接口(DescribeMedia/DescribeMedias)接口查询MediaId对应的媒资文件的状态。
20
+ **请注意,本接口为异步接口**。接口返回MediaId仅代表导入视频任务发起,不代表任务完成,您可调用读接口(DescribeMedia/DescribeMedias)接口查询MediaId
21
21
 
22
- 当前URL只支持COS地址,其形式为`https://${Bucket}-${AppId}.cos.${Region}.myqcloud.com/${ObjectKey}`,其中`${Bucket}`为您的COS桶名称,Region为COS桶所在[可用区](https://cloud.tencent.com/document/product/213/6091),`${ObjectKey}`为指向存储在COS桶内的待分析的视频的[ObjectKey](https://cloud.tencent.com/document/product/436/13324)
22
+ URL字段推荐您使用COS地址,其形式为`https://${Bucket}-${AppId}.cos.${Region}.myqcloud.com/${ObjectKey}`,其中`${Bucket}`为您的COS桶名称,Region为COS桶所在[可用区](https://cloud.tencent.com/document/product/213/6091),`${ObjectKey}`为指向存储在COS桶内的待分析的视频的[ObjectKey](https://cloud.tencent.com/document/product/436/13324)
23
+
24
+ 另外,目前产品也支持使用外部URL地址,但是当传入URL为非COS地址时,需要您指定额外的WriteBackCosPath以供产品回写结果数据。
23
25
 
24
26
  分析完成后,本产品将在您的`${Bucket}`桶内创建名为`${ObjectKey}_${task-create-time}`的目录(`task-create-time`形式为1970-01-01T08:08:08)并将分析结果将回传回该目录,也即,结构化分析结果(包括图片,JSON等数据)将会写回`https://${Bucket}-${AppId}.cos.${Region}.myqcloud.com/${ObjectKey}_${task-create-time}`目录
25
27
 
@@ -39,9 +39,11 @@ class Client extends abstract_client_1.AbstractClient {
39
39
  /**
40
40
  * 将URL指向的媒资视频文件导入系统之中。
41
41
 
42
- **请注意,本接口为异步接口**。接口返回MediaId仅代表导入视频任务发起,不代表任务完成,您可调用读接口(DescribeMedia/DescribeMedias)接口查询MediaId对应的媒资文件的状态。
42
+ **请注意,本接口为异步接口**。接口返回MediaId仅代表导入视频任务发起,不代表任务完成,您可调用读接口(DescribeMedia/DescribeMedias)接口查询MediaId
43
43
 
44
- 当前URL只支持COS地址,其形式为`https://${Bucket}-${AppId}.cos.${Region}.myqcloud.com/${ObjectKey}`,其中`${Bucket}`为您的COS桶名称,Region为COS桶所在[可用区](https://cloud.tencent.com/document/product/213/6091),`${ObjectKey}`为指向存储在COS桶内的待分析的视频的[ObjectKey](https://cloud.tencent.com/document/product/436/13324)
44
+ URL字段推荐您使用COS地址,其形式为`https://${Bucket}-${AppId}.cos.${Region}.myqcloud.com/${ObjectKey}`,其中`${Bucket}`为您的COS桶名称,Region为COS桶所在[可用区](https://cloud.tencent.com/document/product/213/6091),`${ObjectKey}`为指向存储在COS桶内的待分析的视频的[ObjectKey](https://cloud.tencent.com/document/product/436/13324)
45
+
46
+ 另外,目前产品也支持使用外部URL地址,但是当传入URL为非COS地址时,需要您指定额外的WriteBackCosPath以供产品回写结果数据。
45
47
 
46
48
  分析完成后,本产品将在您的`${Bucket}`桶内创建名为`${ObjectKey}_${task-create-time}`的目录(`task-create-time`形式为1970-01-01T08:08:08)并将分析结果将回传回该目录,也即,结构化分析结果(包括图片,JSON等数据)将会写回`https://${Bucket}-${AppId}.cos.${Region}.myqcloud.com/${ObjectKey}_${task-create-time}`目录
47
49
 
@@ -157,7 +157,7 @@ export interface DescribeAgentAuditedClientsRequest {
157
157
  */
158
158
  Limit?: number;
159
159
  /**
160
- * 客户类型:可以为new(新拓)/assign(指定)/old(存量已关联)/old_newchecking(存量-新关联考核中)/old_newnotpass(存量-新关联未达标)/direct(直销)/direct_newopp(直销(新商机))/空
160
+ * 可以为new(自拓)/assign(指派)/old(官网)/direct(直销)/direct_newopp(直销(新商机))/空
161
161
  */
162
162
  ClientType?: string;
163
163
  /**
@@ -90,7 +90,7 @@ export declare class Client extends AbstractClient {
90
90
  */
91
91
  DeleteBlackList(req: DeleteBlackListRequest, cb?: (error: string, rep: DeleteBlackListResponse) => void): Promise<DeleteBlackListResponse>;
92
92
  /**
93
- * 您可以通过此API发送TEXT或者HTML邮件,适用于触发类邮件(验证码、交易类)。默认仅支持使用模板发送邮件。
93
+ * 您可以通过此API发送HTML或者TEXT邮件,适用于触发类邮件(验证码、交易类)。默认仅支持使用模板发送邮件。
94
94
  */
95
95
  SendEmail(req: SendEmailRequest, cb?: (error: string, rep: SendEmailResponse) => void): Promise<SendEmailResponse>;
96
96
  /**
@@ -150,7 +150,7 @@ class Client extends abstract_client_1.AbstractClient {
150
150
  return this.request("DeleteBlackList", req, cb);
151
151
  }
152
152
  /**
153
- * 您可以通过此API发送TEXT或者HTML邮件,适用于触发类邮件(验证码、交易类)。默认仅支持使用模板发送邮件。
153
+ * 您可以通过此API发送HTML或者TEXT邮件,适用于触发类邮件(验证码、交易类)。默认仅支持使用模板发送邮件。
154
154
  */
155
155
  async SendEmail(req, cb) {
156
156
  return this.request("SendEmail", req, cb);
@@ -21,7 +21,7 @@ export interface BatchSendEmailRequest {
21
21
  */
22
22
  TaskType: number;
23
23
  /**
24
- * 邮件的“回复”电子邮件地址。可以填写您能收到邮件的邮箱地址,可以是个人邮箱。如果不填,收件人将会回复到腾讯云
24
+ * 邮件的“回复”电子邮件地址。可以填写您能收到邮件的邮箱地址,可以是个人邮箱。如果不填,收件人的回复邮件将会发送失败。
25
25
  */
26
26
  ReplyToAddresses?: string;
27
27
  /**
@@ -279,7 +279,7 @@ export interface SendEmailRequest {
279
279
  */
280
280
  Subject: string;
281
281
  /**
282
- * 邮件的“回复”电子邮件地址。可以填写您能收到邮件的邮箱地址,可以是个人邮箱。如果不填,收件人将会回复到腾讯云。
282
+ * 邮件的“回复”电子邮件地址。可以填写您能收到邮件的邮箱地址,可以是个人邮箱。如果不填,收件人的回复邮件将会发送失败。
283
283
  */
284
284
  ReplyToAddresses?: string;
285
285
  /**
@@ -492,7 +492,23 @@ export interface DescribeManagersResponse {
492
492
  /**
493
493
  * 根证书
494
494
  */
495
- export declare type RootCertificates = null;
495
+ export interface RootCertificates {
496
+ /**
497
+ * 国密签名证书
498
+ 注意:此字段可能返回 null,表示取不到有效值。
499
+ */
500
+ Sign: string;
501
+ /**
502
+ * 国密加密证书
503
+ 注意:此字段可能返回 null,表示取不到有效值。
504
+ */
505
+ Encrypt: string;
506
+ /**
507
+ * 标准证书
508
+ 注意:此字段可能返回 null,表示取不到有效值。
509
+ */
510
+ Standard: string;
511
+ }
496
512
  /**
497
513
  * DescribeCertificate返回参数结构体
498
514
  */
@@ -668,6 +668,10 @@ export interface CreateReplicationInstanceRequest {
668
668
  * 复制实例地域名称
669
669
  */
670
670
  ReplicationRegionName?: string;
671
+ /**
672
+ * 是否同步TCR云标签至生成的COS Bucket
673
+ */
674
+ SyncTag?: boolean;
671
675
  }
672
676
  /**
673
677
  * ModifyInstanceToken返回参数结构体
@@ -2435,6 +2439,10 @@ export interface CreateInstanceRequest {
2435
2439
  * 实例计费类型,0表示按量计费,1表示预付费,默认为按量计费
2436
2440
  */
2437
2441
  RegistryChargeType?: number;
2442
+ /**
2443
+ * 是否同步TCR云标签至生成的COS Bucket
2444
+ */
2445
+ SyncTag?: boolean;
2438
2446
  }
2439
2447
  /**
2440
2448
  * DescribeInstanceToken请求参数结构体
@@ -2923,6 +2931,10 @@ export interface DeleteInstanceRequest {
2923
2931
  * 是否删除存储桶,默认为false
2924
2932
  */
2925
2933
  DeleteBucket?: boolean;
2934
+ /**
2935
+ * 是否dryRun模式,缺省值:false
2936
+ */
2937
+ DryRun?: boolean;
2926
2938
  }
2927
2939
  /**
2928
2940
  * DescribeImageManifests返回参数结构体
@@ -4700,7 +4700,7 @@ export interface CreateCmqQueueRequest {
4700
4700
  */
4701
4701
  Tags?: Array<Tag>;
4702
4702
  /**
4703
- * 队列可回溯存储空间,取值范围1024MB - 10240MB,0表示不开启
4703
+ * 队列可回溯存储空间:若开启消息回溯,取值范围:10240MB - 512000MB,若不开启消息回溯,取值:0
4704
4704
  */
4705
4705
  RetentionSizeInMB?: number;
4706
4706
  }
@@ -5121,11 +5121,11 @@ export interface PublishCmqMsgRequest {
5121
5121
  */
5122
5122
  TopicName: string;
5123
5123
  /**
5124
- * 消息内容
5124
+ * 消息内容,消息总大小需不大于1024K
5125
5125
  */
5126
5126
  MsgContent: string;
5127
5127
  /**
5128
- * 消息标签
5128
+ * 消息标签,支持传递多标签或单路由,单个标签、路由长度不能超过64个字符。
5129
5129
  */
5130
5130
  MsgTag?: Array<string>;
5131
5131
  }
@@ -5300,7 +5300,7 @@ export interface ModifyCmqQueueAttributeRequest {
5300
5300
  */
5301
5301
  Transaction?: number;
5302
5302
  /**
5303
- * 队列可回溯存储空间,取值范围1024MB - 10240MB,0表示不开启
5303
+ * 队列可回溯存储空间:若开启消息回溯,取值范围:10240MB - 512000MB,若不开启消息回溯,取值:0
5304
5304
  */
5305
5305
  RetentionSizeInMB?: number;
5306
5306
  }
@@ -658,6 +658,16 @@ export interface EncodeParams {
658
658
  * MeasureTrtcMcuExternal返回参数结构体
659
659
  */
660
660
  export interface MeasureTrtcMcuExternalResponse {
661
+ /**
662
+ * 应用的用量信息数组。
663
+ 注意:此字段可能返回 null,表示取不到有效值。
664
+ */
665
+ Usages: Array<OneSdkAppIdTranscodeTimeUsagesNewInfo>;
666
+ /**
667
+ * 用户计费类型
668
+ 注意:此字段可能返回 null,表示取不到有效值。
669
+ */
670
+ Type: string;
661
671
  /**
662
672
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
663
673
  */
@@ -876,6 +886,64 @@ export interface WaterMarkImage {
876
886
  */
877
887
  Height: number;
878
888
  }
889
+ /**
890
+ * 查询旁路转码计费时长。
891
+ 查询时间小于等于1天时,返回每5分钟粒度的数据;查询时间大于1天时,返回按天汇总的数据。
892
+ */
893
+ export interface SdkAppIdTrtcMcuTranscodeTimeNewUsage {
894
+ /**
895
+ * 本组数据对应的时间点,格式如:2020-09-07或2020-09-07 00:05:05。
896
+ */
897
+ TimeKey: string;
898
+ /**
899
+ * 语音时长,单位:秒。
900
+ */
901
+ AudioTime: number;
902
+ /**
903
+ * 视频时长-标清SD,单位:秒。
904
+ */
905
+ VideoTimeH264SD: number;
906
+ /**
907
+ * 视频时长-高清HD,单位:秒。
908
+ */
909
+ VideoTimeH264HD: number;
910
+ /**
911
+ * 视频时长-全高清FHD,单位:秒。
912
+ */
913
+ VideoTimeH264FHD: number;
914
+ /**
915
+ * 视频时长-带宽,单位:mbps。
916
+ */
917
+ Flux: number;
918
+ /**
919
+ * 视频时长-标清2K,单位:秒。
920
+ */
921
+ VideoTimeH2642K: number;
922
+ /**
923
+ * 视频时长-标清4K,单位:秒。
924
+ */
925
+ VideoTimeH2644K: number;
926
+ /**
927
+ * 视频时长-标清265SD,单位:秒。
928
+ */
929
+ VideoTimeH265SD: number;
930
+ /**
931
+ * 视频时长-高清265HD,单位:秒。
932
+ */
933
+ VideoTimeH265HD: number;
934
+ /**
935
+ * 视频时长-全高清265FHD,单位:秒。
936
+ */
937
+ VideoTimeH265FHD: number;
938
+ /**
939
+ * 视频时长-标清2652K,单位:秒。
940
+ */
941
+ VideoTimeH2652K: number;
942
+ /**
943
+ * 视频时长-标清265 4K,单位:秒。
944
+ */
945
+ VideoTimeH2654K: number;
946
+ }
879
947
  /**
880
948
  * 查询旁路转码计费时长。
881
949
  查询时间小于等于1天时,返回每5分钟粒度的数据;查询时间大于1天时,返回按天汇总的数据。
@@ -902,6 +970,23 @@ export interface SdkAppIdTrtcMcuTranscodeTimeUsage {
902
970
  */
903
971
  VideoTimeFhd: number;
904
972
  }
973
+ /**
974
+ * 旁路转码时长的查询结果
975
+ */
976
+ export interface OneSdkAppIdTranscodeTimeUsagesNewInfo {
977
+ /**
978
+ * 旁路转码时长查询结果数组
979
+ */
980
+ SdkAppIdTranscodeTimeUsages: Array<SdkAppIdTrtcMcuTranscodeTimeNewUsage>;
981
+ /**
982
+ * 查询记录数量
983
+ */
984
+ TotalNum: number;
985
+ /**
986
+ * 所查询的应用ID,可能值为:1-应用的应用ID,2-total,显示为total则表示查询的是所有应用的用量合计值。
987
+ */
988
+ SdkAppId: string;
989
+ }
905
990
  /**
906
991
  * ModifyPicture返回参数结构体
907
992
  */
@@ -1861,7 +1946,7 @@ export interface AudioParams {
1861
1946
  SampleRate: number;
1862
1947
  /**
1863
1948
  * 声道数:
1864
- 1:单身道;
1949
+ 1:单声道;
1865
1950
  2:双声道(默认)。
1866
1951
  */
1867
1952
  Channel: number;
@@ -1347,8 +1347,9 @@ export interface AudioTemplateInfoForUpdate {
1347
1347
  <li>libmp3lame:更适合 flv;</li>
1348
1348
  <li>mp2。</li>
1349
1349
  当外层参数 Container 为 hls 时,可选值为:
1350
- <li>libfdk_aac;</li>
1351
- <li>libmp3lame。</li>
1350
+ <li>libfdk_aac。</li>
1351
+ 当外层参数 Format 为 HLS 或 MPEG-DASH 时,可选值为:
1352
+ <li>libfdk_aac。</li>
1352
1353
  */
1353
1354
  Codec?: string;
1354
1355
  /**
@@ -1460,8 +1461,9 @@ export interface AudioTemplateInfo {
1460
1461
  <li>libmp3lame:更适合 flv;</li>
1461
1462
  <li>mp2。</li>
1462
1463
  当外层参数 Container 为 hls 时,可选值为:
1463
- <li>libfdk_aac;</li>
1464
- <li>libmp3lame。</li>
1464
+ <li>libfdk_aac。</li>
1465
+ 当外层参数 Format 为 HLS 或 MPEG-DASH 时,可选值为:
1466
+ <li>libfdk_aac。</li>
1465
1467
  */
1466
1468
  Codec: string;
1467
1469
  /**
@@ -1663,7 +1665,8 @@ export interface AiRecognitionTaskHeadTailResultInput {
1663
1665
  export interface CreateAdaptiveDynamicStreamingTemplateRequest {
1664
1666
  /**
1665
1667
  * 自适应转码格式,取值范围:
1666
- <li>HLS。</li>
1668
+ <li>HLS;</li>
1669
+ <li>MPEG-DASH。</li>
1667
1670
  */
1668
1671
  Format: string;
1669
1672
  /**
@@ -4930,13 +4933,18 @@ export interface ModifyAdaptiveDynamicStreamingTemplateRequest {
4930
4933
  * 自适应转码模板唯一标识。
4931
4934
  */
4932
4935
  Definition: number;
4936
+ /**
4937
+ * <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
4938
+ */
4939
+ SubAppId?: number;
4933
4940
  /**
4934
4941
  * 模板名称,长度限制:64 个字符。
4935
4942
  */
4936
4943
  Name?: string;
4937
4944
  /**
4938
4945
  * 自适应转码格式,取值范围:
4939
- <li>HLS。</li>
4946
+ <li>HLS;</li>
4947
+ <li>MPEG-DASH。</li>
4940
4948
  */
4941
4949
  Format?: string;
4942
4950
  /**
@@ -4960,10 +4968,6 @@ export interface ModifyAdaptiveDynamicStreamingTemplateRequest {
4960
4968
  * 模板描述信息,长度限制:256 个字符。
4961
4969
  */
4962
4970
  Comment?: string;
4963
- /**
4964
- * 点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。
4965
- */
4966
- SubAppId?: number;
4967
4971
  }
4968
4972
  /**
4969
4973
  * 视频转动图结果信息
@@ -28,6 +28,16 @@ it("ess.v20201111.StartFlow", async function () {
28
28
  }
29
29
  })
30
30
 
31
+ it("ess.v20201111.CreateMultiFlowSignQRCode", async function () {
32
+ try {
33
+ const data = await client.CreateMultiFlowSignQRCode({})
34
+ expect(data).to.be.ok
35
+ } catch(error) {
36
+ expect(error.requestId).to.be.ok
37
+ expect(error.code).to.be.ok
38
+ }
39
+ })
40
+
31
41
  it("ess.v20201111.CancelFlow", async function () {
32
42
  try {
33
43
  const data = await client.CancelFlow({})
@@ -78,6 +88,16 @@ it("ess.v20201111.CreateFlow", async function () {
78
88
  }
79
89
  })
80
90
 
91
+ it("ess.v20201111.CancelMultiFlowSignQRCode", async function () {
92
+ try {
93
+ const data = await client.CancelMultiFlowSignQRCode({})
94
+ expect(data).to.be.ok
95
+ } catch(error) {
96
+ expect(error.requestId).to.be.ok
97
+ expect(error.code).to.be.ok
98
+ }
99
+ })
100
+
81
101
  it("ess.v20201111.CreateSchemeUrl", async function () {
82
102
  try {
83
103
  const data = await client.CreateSchemeUrl({})