tencentcloud-sdk-nodejs 4.0.411 → 4.0.412

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 (64) hide show
  1. package/CHANGELOG.md +250 -0
  2. package/SERVICE_CHANGELOG.md +419 -22
  3. package/package.json +1 -1
  4. package/products.md +13 -13
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/aa/v20200224/aa_client.ts +1 -42
  7. package/src/services/aa/v20200224/aa_models.ts +0 -624
  8. package/src/services/batch/v20170312/batch_models.ts +2 -2
  9. package/src/services/cbs/v20170312/cbs_models.ts +13 -13
  10. package/src/services/ckafka/v20190819/ckafka_client.ts +13 -1
  11. package/src/services/ckafka/v20190819/ckafka_models.ts +55 -10
  12. package/src/services/cvm/v20170312/cvm_client.ts +24 -11
  13. package/src/services/cvm/v20170312/cvm_models.ts +237 -192
  14. package/src/services/ess/v20201111/ess_models.ts +22 -14
  15. package/src/services/essbasic/v20210526/essbasic_client.ts +45 -20
  16. package/src/services/essbasic/v20210526/essbasic_models.ts +264 -113
  17. package/src/services/iai/v20180301/iai_models.ts +2 -2
  18. package/src/services/live/v20180801/live_client.ts +4 -2
  19. package/src/services/live/v20180801/live_models.ts +173 -87
  20. package/src/services/ocr/v20181119/ocr_client.ts +28 -12
  21. package/src/services/tag/v20180813/tag_client.ts +16 -3
  22. package/src/services/tag/v20180813/tag_models.ts +113 -43
  23. package/src/services/trtc/v20190722/trtc_client.ts +16 -91
  24. package/src/services/trtc/v20190722/trtc_models.ts +5 -357
  25. package/src/services/wedata/v20210820/wedata_client.ts +469 -16
  26. package/src/services/wedata/v20210820/wedata_models.ts +3015 -114
  27. package/tencentcloud/common/sdk_version.d.ts +1 -1
  28. package/tencentcloud/common/sdk_version.js +1 -1
  29. package/tencentcloud/services/aa/v20200224/aa_client.d.ts +1 -9
  30. package/tencentcloud/services/aa/v20200224/aa_client.js +0 -12
  31. package/tencentcloud/services/aa/v20200224/aa_models.d.ts +0 -529
  32. package/tencentcloud/services/batch/v20170312/batch_models.d.ts +2 -2
  33. package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +13 -13
  34. package/tencentcloud/services/ckafka/v20190819/ckafka_client.d.ts +5 -1
  35. package/tencentcloud/services/ckafka/v20190819/ckafka_client.js +6 -0
  36. package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +46 -8
  37. package/tencentcloud/services/cvm/v20170312/cvm_client.d.ts +5 -1
  38. package/tencentcloud/services/cvm/v20170312/cvm_client.js +6 -0
  39. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +211 -172
  40. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +22 -14
  41. package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +13 -5
  42. package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +18 -6
  43. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +229 -100
  44. package/tencentcloud/services/iai/v20180301/iai_models.d.ts +2 -2
  45. package/tencentcloud/services/live/v20180801/live_client.d.ts +1 -1
  46. package/tencentcloud/services/live/v20180801/live_models.d.ts +148 -76
  47. package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +16 -0
  48. package/tencentcloud/services/ocr/v20181119/ocr_client.js +16 -0
  49. package/tencentcloud/services/tag/v20180813/tag_client.d.ts +5 -1
  50. package/tencentcloud/services/tag/v20180813/tag_client.js +6 -0
  51. package/tencentcloud/services/tag/v20180813/tag_models.d.ts +95 -36
  52. package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +10 -37
  53. package/tencentcloud/services/trtc/v20190722/trtc_client.js +10 -49
  54. package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +5 -306
  55. package/tencentcloud/services/wedata/v20210820/wedata_client.d.ts +147 -5
  56. package/tencentcloud/services/wedata/v20210820/wedata_client.js +218 -6
  57. package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +2583 -125
  58. package/test/aa.v20200224.test.js +0 -20
  59. package/test/ckafka.v20190819.test.js +10 -0
  60. package/test/cvm.v20170312.test.js +10 -0
  61. package/test/essbasic.v20210526.test.js +24 -4
  62. package/test/tag.v20180813.test.js +10 -0
  63. package/test/trtc.v20190722.test.js +2 -62
  64. package/test/wedata.v20210820.test.js +354 -4
@@ -21,8 +21,8 @@ import {
21
21
  ResourceUrlInfo,
22
22
  SyncProxyOrganizationResponse,
23
23
  FlowApproverInfo,
24
- PrepareFlowsResponse,
25
- ProxyOrganizationOperator,
24
+ ChannelCreateConvertTaskApiResponse,
25
+ OperateChannelTemplateRequest,
26
26
  TemplateInfo,
27
27
  GetDownloadFlowUrlResponse,
28
28
  DescribeResourceUrlsByFlowsResponse,
@@ -30,20 +30,22 @@ import {
30
30
  Recipient,
31
31
  DescribeTemplatesResponse,
32
32
  OperateChannelTemplateResponse,
33
+ CreateSignUrlsResponse,
33
34
  CreateSignUrlsRequest,
34
35
  ChannelCreateMultiFlowSignQRCodeRequest,
35
36
  AuthFailMessage,
36
37
  DescribeFlowDetailInfoRequest,
37
- SignQrCode,
38
+ ChannelGetTaskResultApiResponse,
38
39
  UploadFilesRequest,
39
- DescribeResourceUrlsByFlowsRequest,
40
+ ChannelGetTaskResultApiRequest,
40
41
  UploadFile,
41
42
  Component,
42
43
  GetDownloadFlowUrlRequest,
43
- ChannelCreateBatchCancelFlowUrlResponse,
44
44
  FlowDetailInfo,
45
45
  CreateConsoleLoginUrlRequest,
46
+ OrganizationInfo,
46
47
  CreateFlowsByTemplatesResponse,
48
+ ProxyOrganizationOperator,
47
49
  PrepareFlowsRequest,
48
50
  SyncProxyOrganizationOperatorsResponse,
49
51
  CreateSealByImageResponse,
@@ -55,14 +57,15 @@ import {
55
57
  CreateFlowsByTemplatesRequest,
56
58
  SyncProxyOrganizationRequest,
57
59
  CreateSealByImageRequest,
58
- UserInfo,
60
+ SignQrCode,
59
61
  DescribeUsageResponse,
60
62
  UsageDetail,
61
- CreateSignUrlsResponse,
62
- OperateChannelTemplateRequest,
63
+ ChannelCreateBatchCancelFlowUrlResponse,
64
+ DescribeResourceUrlsByFlowsRequest,
63
65
  DownloadFlowInfo,
64
66
  ChannelCancelMultiFlowSignQRCodeRequest,
65
67
  SyncFailReason,
68
+ PrepareFlowsResponse,
66
69
  DescribeUsageRequest,
67
70
  ChannelCreateBatchCancelFlowUrlRequest,
68
71
  ApproverRestriction,
@@ -71,6 +74,8 @@ import {
71
74
  UploadFilesResponse,
72
75
  Agent,
73
76
  FormField,
77
+ UserInfo,
78
+ ChannelCreateConvertTaskApiRequest,
74
79
  FlowApproverDetail,
75
80
  FlowInfo,
76
81
  SignUrlInfo,
@@ -99,6 +104,16 @@ export class Client extends AbstractClient {
99
104
  return this.request("CreateFlowsByTemplates", req, cb)
100
105
  }
101
106
 
107
+ /**
108
+ * 根据签署流程信息批量获取资源下载链接,需合作企业先进行授权
109
+ */
110
+ async DescribeResourceUrlsByFlows(
111
+ req: DescribeResourceUrlsByFlowsRequest,
112
+ cb?: (error: string, rep: DescribeResourceUrlsByFlowsResponse) => void
113
+ ): Promise<DescribeResourceUrlsByFlowsResponse> {
114
+ return this.request("DescribeResourceUrlsByFlows", req, cb)
115
+ }
116
+
102
117
  /**
103
118
  * 此接口(GetDownloadFlowUrl)用于创建电子签批量下载地址,让合作企业进入控制台直接下载,支持客户合同(流程)按照自定义文件夹形式 分类下载。
104
119
  当前接口限制最多合同(流程)50个.
@@ -230,6 +245,16 @@ export class Client extends AbstractClient {
230
245
  return this.request("ChannelCreateBatchCancelFlowUrl", req, cb)
231
246
  }
232
247
 
248
+ /**
249
+ * 渠道创建文件转换任务
250
+ */
251
+ async ChannelCreateConvertTaskApi(
252
+ req: ChannelCreateConvertTaskApiRequest,
253
+ cb?: (error: string, rep: ChannelCreateConvertTaskApiResponse) => void
254
+ ): Promise<ChannelCreateConvertTaskApiResponse> {
255
+ return this.request("ChannelCreateConvertTaskApi", req, cb)
256
+ }
257
+
233
258
  /**
234
259
  * 此接口(DescribeUsage)用于获取渠道所有合作企业流量消耗情况。
235
260
  注: 此接口每日限频2次,若要扩大限制次数,请提前与客服经理或邮件至e-contract@tencent.com进行联系。
@@ -242,13 +267,13 @@ export class Client extends AbstractClient {
242
267
  }
243
268
 
244
269
  /**
245
- * 此接口(DescribeFlowDetailInfo)用于查询合同(签署流程)的详细信息。
270
+ * 渠道版查询转换任务状态
246
271
  */
247
- async DescribeFlowDetailInfo(
248
- req: DescribeFlowDetailInfoRequest,
249
- cb?: (error: string, rep: DescribeFlowDetailInfoResponse) => void
250
- ): Promise<DescribeFlowDetailInfoResponse> {
251
- return this.request("DescribeFlowDetailInfo", req, cb)
272
+ async ChannelGetTaskResultApi(
273
+ req: ChannelGetTaskResultApiRequest,
274
+ cb?: (error: string, rep: ChannelGetTaskResultApiResponse) => void
275
+ ): Promise<ChannelGetTaskResultApiResponse> {
276
+ return this.request("ChannelGetTaskResultApi", req, cb)
252
277
  }
253
278
 
254
279
  /**
@@ -262,13 +287,13 @@ export class Client extends AbstractClient {
262
287
  }
263
288
 
264
289
  /**
265
- * 根据签署流程信息批量获取资源下载链接,需合作企业先进行授权
290
+ * 此接口(DescribeFlowDetailInfo)用于查询合同(签署流程)的详细信息。
266
291
  */
267
- async DescribeResourceUrlsByFlows(
268
- req: DescribeResourceUrlsByFlowsRequest,
269
- cb?: (error: string, rep: DescribeResourceUrlsByFlowsResponse) => void
270
- ): Promise<DescribeResourceUrlsByFlowsResponse> {
271
- return this.request("DescribeResourceUrlsByFlows", req, cb)
292
+ async DescribeFlowDetailInfo(
293
+ req: DescribeFlowDetailInfoRequest,
294
+ cb?: (error: string, rep: DescribeFlowDetailInfoResponse) => void
295
+ ): Promise<DescribeFlowDetailInfoResponse> {
296
+ return this.request("DescribeFlowDetailInfo", req, cb)
272
297
  }
273
298
 
274
299
  /**
@@ -142,13 +142,13 @@ ENTERPRISESERVER-企业静默签;
142
142
  }
143
143
 
144
144
  /**
145
- * PrepareFlows返回参数结构体
145
+ * ChannelCreateConvertTaskApi返回参数结构体
146
146
  */
147
- export interface PrepareFlowsResponse {
147
+ export interface ChannelCreateConvertTaskApiResponse {
148
148
  /**
149
- * 待发起文件确认页
149
+ * 任务id
150
150
  */
151
- ConfirmUrl: string
151
+ TaskId: string
152
152
 
153
153
  /**
154
154
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -157,36 +157,38 @@ export interface PrepareFlowsResponse {
157
157
  }
158
158
 
159
159
  /**
160
- * 合作企业经办人列表信息
160
+ * OperateChannelTemplate请求参数结构体
161
161
  */
162
- export interface ProxyOrganizationOperator {
162
+ export interface OperateChannelTemplateRequest {
163
163
  /**
164
- * 经办人ID(渠道颁发),最大长度64个字符
164
+ * 渠道应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 和 Agent.ProxyAppId 均必填。
165
165
  */
166
- Id: string
166
+ Agent: Agent
167
167
 
168
168
  /**
169
- * 经办人姓名,最大长度50个字符
169
+ * 操作类型,查询:"SELECT",删除:"DELETE",更新:"UPDATE"
170
170
  */
171
- Name?: string
171
+ OperateType: string
172
172
 
173
173
  /**
174
- * 经办人身份证件类型
175
- 1.ID_CARD 居民身份证
176
- 2.HONGKONG_MACAO_AND_TAIWAN 港澳台居民居住证
177
- 3.HONGKONG_AND_MACAO 港澳居民来往内地通行证
178
- */
179
- IdCardType?: string
174
+ * 渠道方模板库模板唯一标识
175
+ */
176
+ TemplateId: string
180
177
 
181
178
  /**
182
- * 经办人证件号
179
+ * 合作企业方第三方机构唯一标识数据,支持多个, 用","进行分隔
183
180
  */
184
- IdCardNumber?: string
181
+ ProxyOrganizationOpenIds?: string
185
182
 
186
183
  /**
187
- * 经办人手机号,大陆手机号输入11位,暂不支持海外手机号。
184
+ * 模板可见性, 全部可见-"all", 部分可见-"part"
188
185
  */
189
- Mobile?: string
186
+ AuthTag?: string
187
+
188
+ /**
189
+ * 操作者的信息
190
+ */
191
+ Operator?: UserInfo
190
192
  }
191
193
 
192
194
  /**
@@ -426,6 +428,26 @@ export interface OperateChannelTemplateResponse {
426
428
  RequestId?: string
427
429
  }
428
430
 
431
+ /**
432
+ * CreateSignUrls返回参数结构体
433
+ */
434
+ export interface CreateSignUrlsResponse {
435
+ /**
436
+ * 签署参与者签署H5链接信息数组
437
+ */
438
+ SignUrlInfos: Array<SignUrlInfo>
439
+
440
+ /**
441
+ * 生成失败时的错误信息,成功返回”“,顺序和出参SignUrlInfos保持一致
442
+ */
443
+ ErrorMessages: Array<string>
444
+
445
+ /**
446
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
447
+ */
448
+ RequestId?: string
449
+ }
450
+
429
451
  /**
430
452
  * CreateSignUrls请求参数结构体
431
453
  */
@@ -586,23 +608,33 @@ export interface DescribeFlowDetailInfoRequest {
586
608
  }
587
609
 
588
610
  /**
589
- * 一码多扫签署二维码对象
611
+ * ChannelGetTaskResultApi返回参数结构体
590
612
  */
591
- export interface SignQrCode {
613
+ export interface ChannelGetTaskResultApiResponse {
592
614
  /**
593
- * 二维码id
615
+ * 任务Id
594
616
  */
595
- QrCodeId: string
617
+ TaskId: string
596
618
 
597
619
  /**
598
- * 二维码url
620
+ * 任务状态
599
621
  */
600
- QrCodeUrl: string
622
+ TaskStatus: number
601
623
 
602
624
  /**
603
- * 二维码过期时间
625
+ * 状态描述
604
626
  */
605
- ExpiredTime: number
627
+ TaskMessage: string
628
+
629
+ /**
630
+ * 资源Id
631
+ */
632
+ ResourceId: string
633
+
634
+ /**
635
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
636
+ */
637
+ RequestId?: string
606
638
  }
607
639
 
608
640
  /**
@@ -633,22 +665,26 @@ export interface UploadFilesRequest {
633
665
  }
634
666
 
635
667
  /**
636
- * DescribeResourceUrlsByFlows请求参数结构体
668
+ * ChannelGetTaskResultApi请求参数结构体
637
669
  */
638
- export interface DescribeResourceUrlsByFlowsRequest {
670
+ export interface ChannelGetTaskResultApiRequest {
639
671
  /**
640
- * 渠道应用相关信息。
641
- 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 和 Agent.ProxyAppId 均必填。
642
- */
672
+ * 渠道信息
673
+ */
643
674
  Agent: Agent
644
675
 
645
676
  /**
646
- * 查询资源所对应的签署流程Id,最多支持50个。
677
+ * 任务Id
647
678
  */
648
- FlowIds?: Array<string>
679
+ TaskId: string
649
680
 
650
681
  /**
651
- * 操作者的信息
682
+ * 企业信息
683
+ */
684
+ Organization?: OrganizationInfo
685
+
686
+ /**
687
+ * 操作人信息
652
688
  */
653
689
  Operator?: UserInfo
654
690
  }
@@ -690,13 +726,18 @@ export interface Component {
690
726
  /**
691
727
  * 如果是Component控件类型,则可选的字段为:
692
728
  TEXT - 普通文本控件;
693
- DATE - 普通日期控件;跟TEXT相比会有校验逻辑
694
- DYNAMIC_TABLE-动态表格控件;
729
+ MULTI_LINE_TEXT - 多行文本控件;
730
+ CHECK_BOX - 勾选框控件;
731
+ FILL_IMAGE - 图片控件;
732
+ DYNAMIC_TABLE - 动态表格控件;
733
+ ATTACHMENT - 附件控件;
734
+ SELECTOR - 选择器控件;
735
+
695
736
  如果是SignComponent控件类型,则可选的字段为
696
737
  SIGN_SEAL - 签署印章控件;
697
738
  SIGN_DATE - 签署日期控件;
698
739
  SIGN_SIGNATURE - 用户签名控件;
699
- SIGN_PERSONAL_SEAL - 个人签署印章控件;
740
+ SIGN_PERSONAL_SEAL - 个人签署印章控件(使用文件发起暂不支持此类型);
700
741
 
701
742
  表单域的控件不能作为印章和签名控件
702
743
  */
@@ -761,8 +802,13 @@ TEXT控件可以指定字体
761
802
  ComponentExtra?: string
762
803
 
763
804
  /**
764
- * 印章 ID,传参 DEFAULT_COMPANY_SEAL 表示使用默认印章。
765
- 控件填入内容,印章控件里面,如果是手写签名内容为PNG图片格式的base64编码
805
+ * 控件填充vaule,ComponentType和传入值类型对应关系:
806
+ TEXT - 文本内容
807
+ MULTI_LINE_TEXT - 文本内容
808
+ CHECK_BOX - true/false
809
+ FILL_IMAGE、ATTACHMENT - 附件的FileId,需要通过UploadFiles接口上传获取
810
+ SELECTOR - 选项值
811
+ DYNAMIC_TABLE - 传入json格式的表格内容,具体见数据结构FlowInfo:https://cloud.tencent.com/document/api/1420/61525#FlowInfo
766
812
  */
767
813
  ComponentValue?: string
768
814
 
@@ -814,31 +860,6 @@ export interface GetDownloadFlowUrlRequest {
814
860
  Operator?: UserInfo
815
861
  }
816
862
 
817
- /**
818
- * ChannelCreateBatchCancelFlowUrl返回参数结构体
819
- */
820
- export interface ChannelCreateBatchCancelFlowUrlResponse {
821
- /**
822
- * 批量撤回url
823
- */
824
- BatchCancelFlowUrl: string
825
-
826
- /**
827
- * 签署流程批量撤回失败原因
828
- */
829
- FailMessages: Array<string>
830
-
831
- /**
832
- * 签署撤回url过期时间-年月日-时分秒
833
- */
834
- UrlExpireOn: string
835
-
836
- /**
837
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
838
- */
839
- RequestId?: string
840
- }
841
-
842
863
  /**
843
864
  * 此结构体(FlowDetailInfo)描述的是合同(流程)的详细信息
844
865
  */
@@ -935,6 +956,36 @@ export interface CreateConsoleLoginUrlRequest {
935
956
  Operator?: UserInfo
936
957
  }
937
958
 
959
+ /**
960
+ * 机构信息
961
+ */
962
+ export interface OrganizationInfo {
963
+ /**
964
+ * 用户在渠道的机构编号
965
+ */
966
+ OrganizationOpenId: string
967
+
968
+ /**
969
+ * 用户真实的IP
970
+ */
971
+ ClientIp: string
972
+
973
+ /**
974
+ * 机构的代理IP
975
+ */
976
+ ProxyIp: string
977
+
978
+ /**
979
+ * 机构在平台的编号
980
+ */
981
+ OrganizationId?: string
982
+
983
+ /**
984
+ * 用户渠道
985
+ */
986
+ Channel?: string
987
+ }
988
+
938
989
  /**
939
990
  * CreateFlowsByTemplates返回参数结构体
940
991
  */
@@ -966,6 +1017,39 @@ export interface CreateFlowsByTemplatesResponse {
966
1017
  RequestId?: string
967
1018
  }
968
1019
 
1020
+ /**
1021
+ * 合作企业经办人列表信息
1022
+ */
1023
+ export interface ProxyOrganizationOperator {
1024
+ /**
1025
+ * 经办人ID(渠道颁发),最大长度64个字符
1026
+ */
1027
+ Id: string
1028
+
1029
+ /**
1030
+ * 经办人姓名,最大长度50个字符
1031
+ */
1032
+ Name?: string
1033
+
1034
+ /**
1035
+ * 经办人身份证件类型
1036
+ 1.ID_CARD 居民身份证
1037
+ 2.HONGKONG_MACAO_AND_TAIWAN 港澳台居民居住证
1038
+ 3.HONGKONG_AND_MACAO 港澳居民来往内地通行证
1039
+ */
1040
+ IdCardType?: string
1041
+
1042
+ /**
1043
+ * 经办人证件号
1044
+ */
1045
+ IdCardNumber?: string
1046
+
1047
+ /**
1048
+ * 经办人手机号,大陆手机号输入11位,暂不支持海外手机号。
1049
+ */
1050
+ Mobile?: string
1051
+ }
1052
+
969
1053
  /**
970
1054
  * PrepareFlows请求参数结构体
971
1055
  */
@@ -1231,33 +1315,23 @@ export interface CreateSealByImageRequest {
1231
1315
  }
1232
1316
 
1233
1317
  /**
1234
- * 接口调用者信息
1318
+ * 一码多扫签署二维码对象
1235
1319
  */
1236
- export interface UserInfo {
1237
- /**
1238
- * 用户在渠道的编号,最大64位字符串
1239
- */
1240
- OpenId?: string
1241
-
1242
- /**
1243
- * 用户的来源渠道
1244
- */
1245
- Channel?: string
1246
-
1320
+ export interface SignQrCode {
1247
1321
  /**
1248
- * 自定义用户编号
1322
+ * 二维码id
1249
1323
  */
1250
- CustomUserId?: string
1324
+ QrCodeId: string
1251
1325
 
1252
1326
  /**
1253
- * 用户真实IP
1327
+ * 二维码url
1254
1328
  */
1255
- ClientIp?: string
1329
+ QrCodeUrl: string
1256
1330
 
1257
1331
  /**
1258
- * 用户代理IP
1332
+ * 二维码过期时间
1259
1333
  */
1260
- ProxyIp?: string
1334
+ ExpiredTime: number
1261
1335
  }
1262
1336
 
1263
1337
  /**
@@ -1315,18 +1389,23 @@ export interface UsageDetail {
1315
1389
  }
1316
1390
 
1317
1391
  /**
1318
- * CreateSignUrls返回参数结构体
1392
+ * ChannelCreateBatchCancelFlowUrl返回参数结构体
1319
1393
  */
1320
- export interface CreateSignUrlsResponse {
1394
+ export interface ChannelCreateBatchCancelFlowUrlResponse {
1321
1395
  /**
1322
- * 签署参与者签署H5链接信息数组
1396
+ * 批量撤回url
1323
1397
  */
1324
- SignUrlInfos: Array<SignUrlInfo>
1398
+ BatchCancelFlowUrl: string
1325
1399
 
1326
1400
  /**
1327
- * 生成失败时的错误信息,成功返回”“,顺序和出参SignUrlInfos保持一致
1401
+ * 签署流程批量撤回失败原因
1328
1402
  */
1329
- ErrorMessages: Array<string>
1403
+ FailMessages: Array<string>
1404
+
1405
+ /**
1406
+ * 签署撤回url过期时间-年月日-时分秒
1407
+ */
1408
+ UrlExpireOn: string
1330
1409
 
1331
1410
  /**
1332
1411
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -1335,33 +1414,19 @@ export interface CreateSignUrlsResponse {
1335
1414
  }
1336
1415
 
1337
1416
  /**
1338
- * OperateChannelTemplate请求参数结构体
1417
+ * DescribeResourceUrlsByFlows请求参数结构体
1339
1418
  */
1340
- export interface OperateChannelTemplateRequest {
1419
+ export interface DescribeResourceUrlsByFlowsRequest {
1341
1420
  /**
1342
- * 渠道应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 和 Agent.ProxyAppId 均必填。
1343
- */
1421
+ * 渠道应用相关信息。
1422
+ 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 和 Agent.ProxyAppId 均必填。
1423
+ */
1344
1424
  Agent: Agent
1345
1425
 
1346
1426
  /**
1347
- * 操作类型,查询:"SELECT",删除:"DELETE",更新:"UPDATE"
1348
- */
1349
- OperateType: string
1350
-
1351
- /**
1352
- * 渠道方模板库模板唯一标识
1353
- */
1354
- TemplateId: string
1355
-
1356
- /**
1357
- * 合作企业方第三方机构唯一标识数据,支持多个, 用","进行分隔
1358
- */
1359
- ProxyOrganizationOpenIds?: string
1360
-
1361
- /**
1362
- * 模板可见性, 全部可见-"all", 部分可见-"part"
1427
+ * 查询资源所对应的签署流程Id,最多支持50个。
1363
1428
  */
1364
- AuthTag?: string
1429
+ FlowIds?: Array<string>
1365
1430
 
1366
1431
  /**
1367
1432
  * 操作者的信息
@@ -1421,6 +1486,21 @@ export interface SyncFailReason {
1421
1486
  Message: string
1422
1487
  }
1423
1488
 
1489
+ /**
1490
+ * PrepareFlows返回参数结构体
1491
+ */
1492
+ export interface PrepareFlowsResponse {
1493
+ /**
1494
+ * 待发起文件确认页
1495
+ */
1496
+ ConfirmUrl: string
1497
+
1498
+ /**
1499
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1500
+ */
1501
+ RequestId?: string
1502
+ }
1503
+
1424
1504
  /**
1425
1505
  * DescribeUsage请求参数结构体
1426
1506
  */
@@ -1656,8 +1736,14 @@ export interface Agent {
1656
1736
  */
1657
1737
  export interface FormField {
1658
1738
  /**
1659
- * 表单域或控件的Value
1660
- */
1739
+ * 控件填充vaule,ComponentType和传入值类型对应关系:
1740
+ TEXT - 文本内容
1741
+ MULTI_LINE_TEXT - 文本内容
1742
+ CHECK_BOX - true/false
1743
+ FILL_IMAGE、ATTACHMENT - 附件的FileId,需要通过UploadFiles接口上传获取
1744
+ SELECTOR - 选项值
1745
+ DYNAMIC_TABLE - 传入json格式的表格内容,具体见数据结构FlowInfo:https://cloud.tencent.com/document/api/1420/61525#FlowInfo
1746
+ */
1661
1747
  ComponentValue: string
1662
1748
 
1663
1749
  /**
@@ -1673,6 +1759,71 @@ export interface FormField {
1673
1759
  ComponentName?: string
1674
1760
  }
1675
1761
 
1762
+ /**
1763
+ * 接口调用者信息
1764
+ */
1765
+ export interface UserInfo {
1766
+ /**
1767
+ * 用户在渠道的编号,最大64位字符串
1768
+ */
1769
+ OpenId?: string
1770
+
1771
+ /**
1772
+ * 用户的来源渠道
1773
+ */
1774
+ Channel?: string
1775
+
1776
+ /**
1777
+ * 自定义用户编号
1778
+ */
1779
+ CustomUserId?: string
1780
+
1781
+ /**
1782
+ * 用户真实IP
1783
+ */
1784
+ ClientIp?: string
1785
+
1786
+ /**
1787
+ * 用户代理IP
1788
+ */
1789
+ ProxyIp?: string
1790
+ }
1791
+
1792
+ /**
1793
+ * ChannelCreateConvertTaskApi请求参数结构体
1794
+ */
1795
+ export interface ChannelCreateConvertTaskApiRequest {
1796
+ /**
1797
+ * 无
1798
+ */
1799
+ Agent: Agent
1800
+
1801
+ /**
1802
+ * 资源Id
1803
+ */
1804
+ ResourceId: string
1805
+
1806
+ /**
1807
+ * 资源类型 取值范围doc,docx,html之一
1808
+ */
1809
+ ResourceType: string
1810
+
1811
+ /**
1812
+ * 资源名称
1813
+ */
1814
+ ResourceName: string
1815
+
1816
+ /**
1817
+ * 无
1818
+ */
1819
+ Organization?: OrganizationInfo
1820
+
1821
+ /**
1822
+ * 无
1823
+ */
1824
+ Operator?: UserInfo
1825
+ }
1826
+
1676
1827
  /**
1677
1828
  * 签署人的流程信息明细
1678
1829
  */
@@ -54,7 +54,7 @@ export interface Candidate {
54
54
  PersonId: string
55
55
 
56
56
  /**
57
- * 人脸ID
57
+ * 人脸ID,仅在SearchFaces/SearchFacesReturnsByGroup接口返回时有效。人员搜索类接口采用融合特征方式检索,该字段无意义
58
58
  */
59
59
  FaceId: string
60
60
 
@@ -1538,7 +1538,7 @@ MaxFaceNum用于,当输入的待识别图片包含多张人脸时,设定要
1538
1538
 
1539
1539
  /**
1540
1540
  * 被检测到的人脸,对应最多返回的最相似人员数目。默认值为5,最大值为10。
1541
- 例,设MaxFaceNum为3,MaxPersonNum为5,则最多可能返回3*5=15个人员。
1541
+ 例,设MaxFaceNum为3,MaxPersonNumPerGroup为5,GroupIds长度为3,则最多可能返回3*5*3=45个人员。
1542
1542
  */
1543
1543
  MaxPersonNumPerGroup?: number
1544
1544