tencentcloud-sdk-nodejs-essbasic 4.0.397 → 4.0.433

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.
@@ -20,31 +20,37 @@ import {
20
20
  ResourceUrlInfo,
21
21
  SyncProxyOrganizationResponse,
22
22
  FlowApproverInfo,
23
- PrepareFlowsResponse,
24
- ProxyOrganizationOperator,
23
+ ChannelCreateConvertTaskApiResponse,
24
+ OperateChannelTemplateRequest,
25
25
  TemplateInfo,
26
+ UploadFilesRequest,
26
27
  GetDownloadFlowUrlResponse,
27
28
  DescribeResourceUrlsByFlowsResponse,
28
29
  ChannelCreateMultiFlowSignQRCodeResponse,
29
30
  Recipient,
30
31
  DescribeTemplatesResponse,
31
32
  OperateChannelTemplateResponse,
33
+ CreateSignUrlsResponse,
32
34
  CreateSignUrlsRequest,
33
35
  ChannelCreateMultiFlowSignQRCodeRequest,
34
36
  AuthFailMessage,
37
+ CreateChannelFlowEvidenceReportRequest,
35
38
  DescribeFlowDetailInfoRequest,
36
- SignQrCode,
37
- UploadFilesRequest,
38
- DescribeResourceUrlsByFlowsRequest,
39
+ ChannelGetTaskResultApiResponse,
40
+ ProxyOrganizationOperator,
41
+ ChannelGetTaskResultApiRequest,
39
42
  UploadFile,
40
43
  Component,
41
44
  GetDownloadFlowUrlRequest,
42
45
  FlowDetailInfo,
43
46
  CreateConsoleLoginUrlRequest,
47
+ OrganizationInfo,
44
48
  CreateFlowsByTemplatesResponse,
49
+ ChannelCreateFlowSignReviewRequest,
45
50
  PrepareFlowsRequest,
46
51
  SyncProxyOrganizationOperatorsResponse,
47
52
  CreateSealByImageResponse,
53
+ SignUrl,
48
54
  FlowResourceUrlInfo,
49
55
  DescribeTemplatesRequest,
50
56
  SyncProxyOrganizationOperatorsRequest,
@@ -52,23 +58,31 @@ import {
52
58
  CreateFlowsByTemplatesRequest,
53
59
  SyncProxyOrganizationRequest,
54
60
  CreateSealByImageRequest,
55
- UserInfo,
61
+ SignQrCode,
56
62
  DescribeUsageResponse,
57
63
  UsageDetail,
58
- CreateSignUrlsResponse,
59
- OperateChannelTemplateRequest,
64
+ ChannelCreateBatchCancelFlowUrlResponse,
65
+ DescribeResourceUrlsByFlowsRequest,
60
66
  DownloadFlowInfo,
61
67
  ChannelCancelMultiFlowSignQRCodeRequest,
68
+ CreateChannelFlowEvidenceReportResponse,
62
69
  SyncFailReason,
70
+ PrepareFlowsResponse,
63
71
  DescribeUsageRequest,
72
+ ChannelCreateBatchCancelFlowUrlRequest,
73
+ ApproverRestriction,
64
74
  ChannelCreateFlowByFilesRequest,
65
75
  ChannelCreateFlowByFilesResponse,
66
76
  UploadFilesResponse,
77
+ ChannelCreateFlowSignReviewResponse,
67
78
  Agent,
68
79
  FormField,
80
+ UserInfo,
81
+ ChannelCreateConvertTaskApiRequest,
69
82
  FlowApproverDetail,
70
83
  FlowInfo,
71
84
  SignUrlInfo,
85
+ TaskInfo,
72
86
  CcInfo,
73
87
  ChannelCancelMultiFlowSignQRCodeResponse,
74
88
  DescribeFlowDetailInfoResponse,
@@ -84,49 +98,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
84
98
  }
85
99
 
86
100
  /**
87
- * 接口(CreateFlowsByTemplates)用于使用多个模板批量创建签署流程。当前可批量发起合同(签署流程)数量最大为20个。
88
- */
89
- async CreateFlowsByTemplates(
90
- req: CreateFlowsByTemplatesRequest,
91
- cb?: (error: string, rep: CreateFlowsByTemplatesResponse) => void
92
- ): Promise<CreateFlowsByTemplatesResponse> {
93
- return this.request("CreateFlowsByTemplates", req, cb)
94
- }
95
-
96
- /**
97
- * 此接口(GetDownloadFlowUrl)用于创建电子签批量下载地址,让合作企业进入控制台直接下载,支持客户合同(流程)按照自定义文件夹形式 分类下载。
98
- 当前接口限制最多合同(流程)50个.
99
-
100
- */
101
- async GetDownloadFlowUrl(
102
- req: GetDownloadFlowUrlRequest,
103
- cb?: (error: string, rep: GetDownloadFlowUrlResponse) => void
104
- ): Promise<GetDownloadFlowUrlResponse> {
105
- return this.request("GetDownloadFlowUrl", req, cb)
106
- }
107
-
108
- /**
109
- * 通过此接口(DescribeTemplates)查询该企业在电子签渠道版中配置的有效模板列表
110
- */
111
- async DescribeTemplates(
112
- req: DescribeTemplatesRequest,
113
- cb?: (error: string, rep: DescribeTemplatesResponse) => void
114
- ): Promise<DescribeTemplatesResponse> {
115
- return this.request("DescribeTemplates", req, cb)
116
- }
101
+ * 提交企业签署流程审批结果
117
102
 
118
- /**
119
- * 此接口(OperateChannelTemplate)用于渠道侧将模板库中的模板对合作企业进行查询和设置, 其中包括可见性的修改以及对合作企业的设置.
120
- 1、同步标识=select时:
121
- 返回渠道侧模板库当前模板的属性.
122
- 2、同步标识=update或者delete时:
123
- 对渠道子客进行模板库中模板授权,修改操作
103
+ 在通过接口(CreateFlowsByTemplates 或者ChannelCreateFlowByFiles)创建签署流程时,若指定了参数 NeedSignReview 为true,则可以调用此接口提交企业内部签署审批结果。
104
+ 若签署流程状态正常,且本企业存在签署方未签署,同一签署流程可以多次提交签署审批结果,签署时的最后一个“审批结果”有效。
124
105
  */
125
- async OperateChannelTemplate(
126
- req: OperateChannelTemplateRequest,
127
- cb?: (error: string, rep: OperateChannelTemplateResponse) => void
128
- ): Promise<OperateChannelTemplateResponse> {
129
- return this.request("OperateChannelTemplate", req, cb)
106
+ async ChannelCreateFlowSignReview(
107
+ req: ChannelCreateFlowSignReviewRequest,
108
+ cb?: (error: string, rep: ChannelCreateFlowSignReviewResponse) => void
109
+ ): Promise<ChannelCreateFlowSignReviewResponse> {
110
+ return this.request("ChannelCreateFlowSignReview", req, cb)
130
111
  }
131
112
 
132
113
  /**
@@ -150,28 +131,6 @@ export class Client extends TencentCloudCommon.AbstractClient {
150
131
  return this.request("ChannelCreateFlowByFiles", req, cb)
151
132
  }
152
133
 
153
- /**
154
- * 该接口 (PrepareFlows) 用于创建待发起文件
155
- 用户通过该接口进入签署流程发起的确认页面,进行发起信息二次确认, 如果确认则进行正常发起。
156
- 目前该接口只支持B2C,不建议使用。
157
- */
158
- async PrepareFlows(
159
- req: PrepareFlowsRequest,
160
- cb?: (error: string, rep: PrepareFlowsResponse) => void
161
- ): Promise<PrepareFlowsResponse> {
162
- return this.request("PrepareFlows", req, cb)
163
- }
164
-
165
- /**
166
- * 创建跳转小程序查看或签署的链接;自动签署的签署方不创建签署链接;
167
- */
168
- async CreateSignUrls(
169
- req: CreateSignUrlsRequest,
170
- cb?: (error: string, rep: CreateSignUrlsResponse) => void
171
- ): Promise<CreateSignUrlsResponse> {
172
- return this.request("CreateSignUrls", req, cb)
173
- }
174
-
175
134
  /**
176
135
  * 渠道通过图片为子客代创建印章,图片最大5m;此接口不可直接使用,需要运营申请
177
136
  */
@@ -193,24 +152,13 @@ export class Client extends TencentCloudCommon.AbstractClient {
193
152
  }
194
153
 
195
154
  /**
196
- * 此接口(CreateConsoleLoginUrl)用于创建电子签控制台登录链接。若企业未激活,调用同步企业信息、同步经办人信息
197
-
198
- */
199
- async CreateConsoleLoginUrl(
200
- req: CreateConsoleLoginUrlRequest,
201
- cb?: (error: string, rep: CreateConsoleLoginUrlResponse) => void
202
- ): Promise<CreateConsoleLoginUrlResponse> {
203
- return this.request("CreateConsoleLoginUrl", req, cb)
204
- }
205
-
206
- /**
207
- * 此接口(SyncProxyOrganizationOperators)用于同步渠道合作企业经办人列表
155
+ * 渠道创建文件转换任务
208
156
  */
209
- async SyncProxyOrganizationOperators(
210
- req: SyncProxyOrganizationOperatorsRequest,
211
- cb?: (error: string, rep: SyncProxyOrganizationOperatorsResponse) => void
212
- ): Promise<SyncProxyOrganizationOperatorsResponse> {
213
- return this.request("SyncProxyOrganizationOperators", req, cb)
157
+ async ChannelCreateConvertTaskApi(
158
+ req: ChannelCreateConvertTaskApiRequest,
159
+ cb?: (error: string, rep: ChannelCreateConvertTaskApiResponse) => void
160
+ ): Promise<ChannelCreateConvertTaskApiResponse> {
161
+ return this.request("ChannelCreateConvertTaskApi", req, cb)
214
162
  }
215
163
 
216
164
  /**
@@ -225,13 +173,56 @@ export class Client extends TencentCloudCommon.AbstractClient {
225
173
  }
226
174
 
227
175
  /**
228
- * 此接口(DescribeFlowDetailInfo)用于查询合同(签署流程)的详细信息。
176
+ * 接口(CreateFlowsByTemplates)用于使用多个模板批量创建签署流程。当前可批量发起合同(签署流程)数量最大为20个。
177
+
178
+ */
179
+ async CreateFlowsByTemplates(
180
+ req: CreateFlowsByTemplatesRequest,
181
+ cb?: (error: string, rep: CreateFlowsByTemplatesResponse) => void
182
+ ): Promise<CreateFlowsByTemplatesResponse> {
183
+ return this.request("CreateFlowsByTemplates", req, cb)
184
+ }
185
+
186
+ /**
187
+ * 创建跳转小程序查看或签署的链接;自动签署的签署方不创建签署链接;
229
188
  */
230
- async DescribeFlowDetailInfo(
231
- req: DescribeFlowDetailInfoRequest,
232
- cb?: (error: string, rep: DescribeFlowDetailInfoResponse) => void
233
- ): Promise<DescribeFlowDetailInfoResponse> {
234
- return this.request("DescribeFlowDetailInfo", req, cb)
189
+ async CreateSignUrls(
190
+ req: CreateSignUrlsRequest,
191
+ cb?: (error: string, rep: CreateSignUrlsResponse) => void
192
+ ): Promise<CreateSignUrlsResponse> {
193
+ return this.request("CreateSignUrls", req, cb)
194
+ }
195
+
196
+ /**
197
+ * 此接口(CreateConsoleLoginUrl)用于创建电子签控制台登录链接。若企业未激活,调用同步企业信息、同步经办人信息
198
+
199
+ */
200
+ async CreateConsoleLoginUrl(
201
+ req: CreateConsoleLoginUrlRequest,
202
+ cb?: (error: string, rep: CreateConsoleLoginUrlResponse) => void
203
+ ): Promise<CreateConsoleLoginUrlResponse> {
204
+ return this.request("CreateConsoleLoginUrl", req, cb)
205
+ }
206
+
207
+ /**
208
+ * 指定需要批量撤销的签署流程Id,获取批量撤销链接
209
+ 客户指定需要撤销的签署流程Id,最多100个,超过100不处理;接口调用成功返回批量撤销合同的链接,通过链接跳转到电子签小程序完成批量撤销
210
+ */
211
+ async ChannelCreateBatchCancelFlowUrl(
212
+ req: ChannelCreateBatchCancelFlowUrlRequest,
213
+ cb?: (error: string, rep: ChannelCreateBatchCancelFlowUrlResponse) => void
214
+ ): Promise<ChannelCreateBatchCancelFlowUrlResponse> {
215
+ return this.request("ChannelCreateBatchCancelFlowUrl", req, cb)
216
+ }
217
+
218
+ /**
219
+ * 渠道版查询转换任务状态
220
+ */
221
+ async ChannelGetTaskResultApi(
222
+ req: ChannelGetTaskResultApiRequest,
223
+ cb?: (error: string, rep: ChannelGetTaskResultApiResponse) => void
224
+ ): Promise<ChannelGetTaskResultApiResponse> {
225
+ return this.request("ChannelGetTaskResultApi", req, cb)
235
226
  }
236
227
 
237
228
  /**
@@ -244,6 +235,30 @@ export class Client extends TencentCloudCommon.AbstractClient {
244
235
  return this.request("SyncProxyOrganization", req, cb)
245
236
  }
246
237
 
238
+ /**
239
+ * 此接口(GetDownloadFlowUrl)用于创建电子签批量下载地址,让合作企业进入控制台直接下载,支持客户合同(流程)按照自定义文件夹形式 分类下载。
240
+ 当前接口限制最多合同(流程)50个.
241
+
242
+ */
243
+ async GetDownloadFlowUrl(
244
+ req: GetDownloadFlowUrlRequest,
245
+ cb?: (error: string, rep: GetDownloadFlowUrlResponse) => void
246
+ ): Promise<GetDownloadFlowUrlResponse> {
247
+ return this.request("GetDownloadFlowUrl", req, cb)
248
+ }
249
+
250
+ /**
251
+ * 该接口 (PrepareFlows) 用于创建待发起文件
252
+ 用户通过该接口进入签署流程发起的确认页面,进行发起信息二次确认, 如果确认则进行正常发起。
253
+ 目前该接口只支持B2C,不建议使用。
254
+ */
255
+ async PrepareFlows(
256
+ req: PrepareFlowsRequest,
257
+ cb?: (error: string, rep: PrepareFlowsResponse) => void
258
+ ): Promise<PrepareFlowsResponse> {
259
+ return this.request("PrepareFlows", req, cb)
260
+ }
261
+
247
262
  /**
248
263
  * 根据签署流程信息批量获取资源下载链接,需合作企业先进行授权
249
264
  */
@@ -254,6 +269,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
254
269
  return this.request("DescribeResourceUrlsByFlows", req, cb)
255
270
  }
256
271
 
272
+ /**
273
+ * 通过此接口(DescribeTemplates)查询该企业在电子签渠道版中配置的有效模板列表
274
+ */
275
+ async DescribeTemplates(
276
+ req: DescribeTemplatesRequest,
277
+ cb?: (error: string, rep: DescribeTemplatesResponse) => void
278
+ ): Promise<DescribeTemplatesResponse> {
279
+ return this.request("DescribeTemplates", req, cb)
280
+ }
281
+
257
282
  /**
258
283
  * 此接口(UploadFiles)用于文件上传。
259
284
  调用时需要设置Domain 为 file.ess.tencent.cn
@@ -264,4 +289,48 @@ export class Client extends TencentCloudCommon.AbstractClient {
264
289
  ): Promise<UploadFilesResponse> {
265
290
  return this.request("UploadFiles", req, cb)
266
291
  }
292
+
293
+ /**
294
+ * 创建出证报告,返回报告 URL
295
+ */
296
+ async CreateChannelFlowEvidenceReport(
297
+ req: CreateChannelFlowEvidenceReportRequest,
298
+ cb?: (error: string, rep: CreateChannelFlowEvidenceReportResponse) => void
299
+ ): Promise<CreateChannelFlowEvidenceReportResponse> {
300
+ return this.request("CreateChannelFlowEvidenceReport", req, cb)
301
+ }
302
+
303
+ /**
304
+ * 此接口(OperateChannelTemplate)用于渠道侧将模板库中的模板对合作企业进行查询和设置, 其中包括可见性的修改以及对合作企业的设置.
305
+ 1、同步标识=select时:
306
+ 返回渠道侧模板库当前模板的属性.
307
+ 2、同步标识=update或者delete时:
308
+ 对渠道子客进行模板库中模板授权,修改操作
309
+ */
310
+ async OperateChannelTemplate(
311
+ req: OperateChannelTemplateRequest,
312
+ cb?: (error: string, rep: OperateChannelTemplateResponse) => void
313
+ ): Promise<OperateChannelTemplateResponse> {
314
+ return this.request("OperateChannelTemplate", req, cb)
315
+ }
316
+
317
+ /**
318
+ * 此接口(SyncProxyOrganizationOperators)用于同步渠道合作企业经办人列表
319
+ */
320
+ async SyncProxyOrganizationOperators(
321
+ req: SyncProxyOrganizationOperatorsRequest,
322
+ cb?: (error: string, rep: SyncProxyOrganizationOperatorsResponse) => void
323
+ ): Promise<SyncProxyOrganizationOperatorsResponse> {
324
+ return this.request("SyncProxyOrganizationOperators", req, cb)
325
+ }
326
+
327
+ /**
328
+ * 此接口(DescribeFlowDetailInfo)用于查询合同(签署流程)的详细信息。
329
+ */
330
+ async DescribeFlowDetailInfo(
331
+ req: DescribeFlowDetailInfoRequest,
332
+ cb?: (error: string, rep: DescribeFlowDetailInfoResponse) => void
333
+ ): Promise<DescribeFlowDetailInfoResponse> {
334
+ return this.request("DescribeFlowDetailInfo", req, cb)
335
+ }
267
336
  }