tencentcloud-sdk-nodejs-ess 4.0.372 → 4.0.375
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 +760 -0
- package/SERVICE_CHANGELOG.md +791 -51
- package/package.json +1 -1
- package/products.md +30 -28
- package/src/services/ess/v20201111/ess_client.ts +3 -3
- package/src/services/ess/v20201111/ess_models.ts +176 -154
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +3 -3
- package/tencentcloud/services/ess/v20201111/ess_client.js +3 -3
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +166 -147
|
@@ -16,7 +16,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
16
16
|
*/
|
|
17
17
|
CreateMultiFlowSignQRCode(req: CreateMultiFlowSignQRCodeRequest, cb?: (error: string, rep: CreateMultiFlowSignQRCodeResponse) => void): Promise<CreateMultiFlowSignQRCodeResponse>;
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* 用于撤销签署流程
|
|
20
20
|
*/
|
|
21
21
|
CancelFlow(req: CancelFlowRequest, cb?: (error: string, rep: CancelFlowResponse) => void): Promise<CancelFlowResponse>;
|
|
22
22
|
/**
|
|
@@ -45,7 +45,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
45
45
|
跳转到小程序的实现,参考官方文档(分为<a href="https://developers.weixin.qq.com/miniprogram/dev/api/navigate/wx.navigateToMiniProgram.html">全屏</a>、<a href="https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/openEmbeddedMiniProgram.html">半屏</a>两种方式)
|
|
46
46
|
|
|
47
47
|
|
|
48
|
-
如您需要自主配置小程序跳转链接,请参考: <a href="https://
|
|
48
|
+
如您需要自主配置小程序跳转链接,请参考: <a href="https://cloud.tencent.com/document/product/1323/74774">跳转小程序链接配置说明</a>
|
|
49
49
|
*/
|
|
50
50
|
CreateSchemeUrl(req: CreateSchemeUrlRequest, cb?: (error: string, rep: CreateSchemeUrlResponse) => void): Promise<CreateSchemeUrlResponse>;
|
|
51
51
|
/**
|
|
@@ -57,7 +57,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
57
57
|
*/
|
|
58
58
|
DescribeFlowBriefs(req: DescribeFlowBriefsRequest, cb?: (error: string, rep: DescribeFlowBriefsResponse) => void): Promise<DescribeFlowBriefsResponse>;
|
|
59
59
|
/**
|
|
60
|
-
* 此接口(CreateFlowByFiles)用来通过上传后的pdf
|
|
60
|
+
* 此接口(CreateFlowByFiles)用来通过上传后的pdf资源编号来创建签署流程。
|
|
61
61
|
*/
|
|
62
62
|
CreateFlowByFiles(req: CreateFlowByFilesRequest, cb?: (error: string, rep: CreateFlowByFilesResponse) => void): Promise<CreateFlowByFilesResponse>;
|
|
63
63
|
/**
|
|
@@ -41,7 +41,7 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
41
41
|
return this.request("CreateMultiFlowSignQRCode", req, cb);
|
|
42
42
|
}
|
|
43
43
|
/**
|
|
44
|
-
*
|
|
44
|
+
* 用于撤销签署流程
|
|
45
45
|
*/
|
|
46
46
|
async CancelFlow(req, cb) {
|
|
47
47
|
return this.request("CancelFlow", req, cb);
|
|
@@ -82,7 +82,7 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
82
82
|
跳转到小程序的实现,参考官方文档(分为<a href="https://developers.weixin.qq.com/miniprogram/dev/api/navigate/wx.navigateToMiniProgram.html">全屏</a>、<a href="https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/openEmbeddedMiniProgram.html">半屏</a>两种方式)
|
|
83
83
|
|
|
84
84
|
|
|
85
|
-
如您需要自主配置小程序跳转链接,请参考: <a href="https://
|
|
85
|
+
如您需要自主配置小程序跳转链接,请参考: <a href="https://cloud.tencent.com/document/product/1323/74774">跳转小程序链接配置说明</a>
|
|
86
86
|
*/
|
|
87
87
|
async CreateSchemeUrl(req, cb) {
|
|
88
88
|
return this.request("CreateSchemeUrl", req, cb);
|
|
@@ -100,7 +100,7 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
100
100
|
return this.request("DescribeFlowBriefs", req, cb);
|
|
101
101
|
}
|
|
102
102
|
/**
|
|
103
|
-
* 此接口(CreateFlowByFiles)用来通过上传后的pdf
|
|
103
|
+
* 此接口(CreateFlowByFiles)用来通过上传后的pdf资源编号来创建签署流程。
|
|
104
104
|
*/
|
|
105
105
|
async CreateFlowByFiles(req, cb) {
|
|
106
106
|
return this.request("CreateFlowByFiles", req, cb);
|
|
@@ -7,7 +7,7 @@ export interface UploadFile {
|
|
|
7
7
|
*/
|
|
8
8
|
FileBody: string;
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* 文件名,最大长度不超过200字符
|
|
11
11
|
*/
|
|
12
12
|
FileName?: string;
|
|
13
13
|
}
|
|
@@ -111,11 +111,11 @@ export interface TemplateInfo {
|
|
|
111
111
|
*/
|
|
112
112
|
export interface CreateDocumentResponse {
|
|
113
113
|
/**
|
|
114
|
-
*
|
|
114
|
+
* 签署流程电子文档ID
|
|
115
115
|
*/
|
|
116
116
|
DocumentId: string;
|
|
117
117
|
/**
|
|
118
|
-
*
|
|
118
|
+
* 签署流程文件的预览地址, 5分钟内有效。仅当NeedPreview为true 时返回
|
|
119
119
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
120
120
|
*/
|
|
121
121
|
PreviewFileUrl: string;
|
|
@@ -129,19 +129,19 @@ export interface CreateDocumentResponse {
|
|
|
129
129
|
*/
|
|
130
130
|
export interface StartFlowRequest {
|
|
131
131
|
/**
|
|
132
|
-
*
|
|
132
|
+
* 签署流程编号,由CreateFlow接口返回
|
|
133
133
|
*/
|
|
134
|
-
|
|
134
|
+
FlowId: string;
|
|
135
135
|
/**
|
|
136
|
-
*
|
|
136
|
+
* 用户信息
|
|
137
137
|
*/
|
|
138
|
-
|
|
138
|
+
Operator: UserInfo;
|
|
139
139
|
/**
|
|
140
140
|
* 应用相关信息
|
|
141
141
|
*/
|
|
142
142
|
Agent?: Agent;
|
|
143
143
|
/**
|
|
144
|
-
* 客户端Token
|
|
144
|
+
* 客户端Token,保持接口幂等性,最大长度64个字符
|
|
145
145
|
*/
|
|
146
146
|
ClientToken?: string;
|
|
147
147
|
}
|
|
@@ -159,87 +159,96 @@ export interface CancelFlowResponse {
|
|
|
159
159
|
*/
|
|
160
160
|
export interface CreateDocumentRequest {
|
|
161
161
|
/**
|
|
162
|
-
*
|
|
162
|
+
* 签署流程编号,由CreateFlow接口返回
|
|
163
163
|
*/
|
|
164
|
-
|
|
164
|
+
FlowId: string;
|
|
165
165
|
/**
|
|
166
166
|
* 用户上传的模板ID
|
|
167
167
|
*/
|
|
168
168
|
TemplateId: string;
|
|
169
169
|
/**
|
|
170
|
-
*
|
|
171
|
-
*/
|
|
172
|
-
FlowId: string;
|
|
173
|
-
/**
|
|
174
|
-
* 文件名列表
|
|
170
|
+
* 文件名列表,单个文件名最大长度200个字符
|
|
175
171
|
*/
|
|
176
172
|
FileNames: Array<string>;
|
|
177
173
|
/**
|
|
178
|
-
*
|
|
174
|
+
* 无
|
|
179
175
|
*/
|
|
180
|
-
|
|
176
|
+
Operator: UserInfo;
|
|
181
177
|
/**
|
|
182
178
|
* 应用相关信息
|
|
183
179
|
*/
|
|
184
180
|
Agent?: Agent;
|
|
185
181
|
/**
|
|
186
|
-
*
|
|
182
|
+
* 内容控件信息数组
|
|
187
183
|
*/
|
|
188
|
-
|
|
184
|
+
FormFields?: Array<FormField>;
|
|
189
185
|
/**
|
|
190
186
|
* 是否需要生成预览文件 默认不生成;
|
|
191
187
|
预览链接有效期300秒;
|
|
192
188
|
*/
|
|
193
189
|
NeedPreview?: boolean;
|
|
190
|
+
/**
|
|
191
|
+
* 客户端Token,保持接口幂等性,最大长度64个字符
|
|
192
|
+
*/
|
|
193
|
+
ClientToken?: string;
|
|
194
194
|
}
|
|
195
195
|
/**
|
|
196
196
|
* CreateFlow请求参数结构体
|
|
197
197
|
*/
|
|
198
198
|
export interface CreateFlowRequest {
|
|
199
199
|
/**
|
|
200
|
-
*
|
|
201
|
-
*/
|
|
202
|
-
Operator: UserInfo;
|
|
203
|
-
/**
|
|
204
|
-
* 流程的名字, 长度不能超过200,中文字母数字下划线
|
|
200
|
+
* 签署流程名称,最大长度200个字符
|
|
205
201
|
*/
|
|
206
202
|
FlowName: string;
|
|
207
203
|
/**
|
|
208
|
-
*
|
|
204
|
+
* 签署流程参与者信息
|
|
209
205
|
*/
|
|
210
206
|
Approvers: Array<FlowCreateApprover>;
|
|
211
207
|
/**
|
|
212
|
-
*
|
|
208
|
+
* 操作人信息
|
|
213
209
|
*/
|
|
214
|
-
|
|
210
|
+
Operator: UserInfo;
|
|
215
211
|
/**
|
|
216
|
-
*
|
|
212
|
+
* 应用相关信息
|
|
217
213
|
*/
|
|
218
|
-
|
|
214
|
+
Agent?: Agent;
|
|
219
215
|
/**
|
|
220
|
-
*
|
|
216
|
+
* 发送类型(true为无序签,false为顺序签)
|
|
221
217
|
*/
|
|
222
|
-
|
|
218
|
+
Unordered?: boolean;
|
|
223
219
|
/**
|
|
224
|
-
|
|
225
|
-
|
|
220
|
+
* 签署流程的签署截止时间。
|
|
221
|
+
值为unix时间戳,精确到秒,不传默认为当前时间一年后
|
|
222
|
+
*/
|
|
226
223
|
DeadLine?: number;
|
|
227
224
|
/**
|
|
228
|
-
*
|
|
225
|
+
* 签署流程的类型(如销售合同/入职合同等),最大长度200个字符
|
|
229
226
|
*/
|
|
230
|
-
|
|
227
|
+
FlowType?: string;
|
|
231
228
|
/**
|
|
232
229
|
* 用户自定义字段(需进行base64 encode),回调的时候会进行透传, 长度需要小于20480
|
|
233
230
|
*/
|
|
234
231
|
UserData?: string;
|
|
235
232
|
/**
|
|
236
|
-
*
|
|
233
|
+
* 签署流程描述,最大长度1000个字符
|
|
237
234
|
*/
|
|
238
|
-
|
|
235
|
+
FlowDescription?: string;
|
|
239
236
|
/**
|
|
240
|
-
* 客户端Token
|
|
237
|
+
* 客户端Token,保持接口幂等性,最大长度64个字符
|
|
241
238
|
*/
|
|
242
239
|
ClientToken?: string;
|
|
240
|
+
/**
|
|
241
|
+
* 合同显示的页卡模板,说明:只支持{合同名称}, {发起方企业}, {发起方姓名}, {签署方N企业}, {签署方N姓名},且N不能超过签署人的数量,N从1开始
|
|
242
|
+
*/
|
|
243
|
+
CustomShowMap?: string;
|
|
244
|
+
/**
|
|
245
|
+
* 暂未开放
|
|
246
|
+
*/
|
|
247
|
+
RelatedFlowId?: string;
|
|
248
|
+
/**
|
|
249
|
+
* 暂未开放
|
|
250
|
+
*/
|
|
251
|
+
CallbackUrl?: string;
|
|
243
252
|
}
|
|
244
253
|
/**
|
|
245
254
|
* CreateSchemeUrl请求参数结构体
|
|
@@ -250,36 +259,36 @@ export interface CreateSchemeUrlRequest {
|
|
|
250
259
|
*/
|
|
251
260
|
Operator: UserInfo;
|
|
252
261
|
/**
|
|
253
|
-
*
|
|
262
|
+
* 应用相关信息
|
|
254
263
|
*/
|
|
255
264
|
Agent?: Agent;
|
|
256
265
|
/**
|
|
257
|
-
|
|
266
|
+
* 链接类型
|
|
267
|
+
HTTP:跳转电子签小程序的http_url,
|
|
268
|
+
APP:第三方APP或小程序跳转电子签小程序的path。
|
|
269
|
+
默认为HTTP类型
|
|
270
|
+
*/
|
|
271
|
+
EndPoint?: string;
|
|
272
|
+
/**
|
|
273
|
+
* 姓名,最大长度50个字符
|
|
258
274
|
*/
|
|
259
275
|
Name?: string;
|
|
260
276
|
/**
|
|
261
|
-
*
|
|
277
|
+
* 手机号,大陆手机号11位
|
|
262
278
|
*/
|
|
263
279
|
Mobile?: string;
|
|
264
280
|
/**
|
|
265
|
-
*
|
|
281
|
+
* 企业名称
|
|
266
282
|
*/
|
|
267
|
-
|
|
283
|
+
OrganizationName?: string;
|
|
268
284
|
/**
|
|
269
|
-
*
|
|
285
|
+
* 签署流程编号 (PathType=1时必传)
|
|
270
286
|
*/
|
|
271
287
|
FlowId?: string;
|
|
272
288
|
/**
|
|
273
|
-
*
|
|
289
|
+
* 跳转页面 1: 小程序合同详情 2: 小程序合同列表页 0: 不传, 默认主页
|
|
274
290
|
*/
|
|
275
|
-
|
|
276
|
-
/**
|
|
277
|
-
* 链接类型
|
|
278
|
-
HTTP:跳转电子签小程序的http_url,
|
|
279
|
-
APP:第三方APP或小程序跳转电子签小程序的path。
|
|
280
|
-
默认为HTTP类型
|
|
281
|
-
*/
|
|
282
|
-
EndPoint?: string;
|
|
291
|
+
PathType?: number;
|
|
283
292
|
/**
|
|
284
293
|
* 是否自动回跳 true:是, false:否。该参数只针对"APP" 类型的签署链接有效
|
|
285
294
|
*/
|
|
@@ -304,7 +313,7 @@ export interface FileUrl {
|
|
|
304
313
|
*/
|
|
305
314
|
export interface DescribeThirdPartyAuthCodeRequest {
|
|
306
315
|
/**
|
|
307
|
-
*
|
|
316
|
+
* 电子签小程序跳转客户小程序时携带的授权查看码
|
|
308
317
|
*/
|
|
309
318
|
AuthCode: string;
|
|
310
319
|
}
|
|
@@ -372,17 +381,17 @@ export interface UploadFilesRequest {
|
|
|
372
381
|
*/
|
|
373
382
|
export interface CancelFlowRequest {
|
|
374
383
|
/**
|
|
375
|
-
*
|
|
376
|
-
*/
|
|
377
|
-
Operator: UserInfo;
|
|
378
|
-
/**
|
|
379
|
-
* 流程id
|
|
384
|
+
* 签署流程id
|
|
380
385
|
*/
|
|
381
386
|
FlowId: string;
|
|
382
387
|
/**
|
|
383
|
-
*
|
|
388
|
+
* 撤销原因,最长200个字符;
|
|
384
389
|
*/
|
|
385
390
|
CancelMessage: string;
|
|
391
|
+
/**
|
|
392
|
+
* 操作用户id
|
|
393
|
+
*/
|
|
394
|
+
Operator: UserInfo;
|
|
386
395
|
/**
|
|
387
396
|
* 应用相关信息
|
|
388
397
|
*/
|
|
@@ -409,7 +418,7 @@ export interface Component {
|
|
|
409
418
|
* 如果是 Component 控件类型,则可选类型为:
|
|
410
419
|
TEXT - 内容文本控件
|
|
411
420
|
DATE - 内容日期控件
|
|
412
|
-
|
|
421
|
+
CHECK_BOX - 勾选框控件
|
|
413
422
|
如果是 SignComponent 控件类型,则可选类型为:
|
|
414
423
|
SIGN_SEAL - 签署印章控件
|
|
415
424
|
SIGN_DATE - 签署日期控件
|
|
@@ -487,11 +496,11 @@ export interface Component {
|
|
|
487
496
|
*/
|
|
488
497
|
ComponentDateFontSize?: number;
|
|
489
498
|
/**
|
|
490
|
-
*
|
|
499
|
+
* 指定关键字时横坐标偏移量,单位pt
|
|
491
500
|
*/
|
|
492
501
|
OffsetX?: number;
|
|
493
502
|
/**
|
|
494
|
-
*
|
|
503
|
+
* 指定关键字时纵坐标偏移量,单位pt
|
|
495
504
|
*/
|
|
496
505
|
OffsetY?: number;
|
|
497
506
|
}
|
|
@@ -524,12 +533,6 @@ export interface FlowCreateApprover {
|
|
|
524
533
|
* 如果签署方为企业,需要填入企业全称
|
|
525
534
|
*/
|
|
526
535
|
OrganizationName?: string;
|
|
527
|
-
/**
|
|
528
|
-
* 是否需要签署
|
|
529
|
-
- `false`: 不需要签署
|
|
530
|
-
- `true`: 需要签署
|
|
531
|
-
*/
|
|
532
|
-
Required?: boolean;
|
|
533
536
|
/**
|
|
534
537
|
* 签署方经办人姓名
|
|
535
538
|
*/
|
|
@@ -538,24 +541,28 @@ export interface FlowCreateApprover {
|
|
|
538
541
|
* 签署方经办人手机号码
|
|
539
542
|
*/
|
|
540
543
|
ApproverMobile?: string;
|
|
541
|
-
/**
|
|
542
|
-
* 签署方经办人证件号码
|
|
543
|
-
*/
|
|
544
|
-
ApproverIdCardNumber?: string;
|
|
545
544
|
/**
|
|
546
545
|
* 签署方经办人证件类型ID_CARD 身份证
|
|
547
546
|
HONGKONG_AND_MACAO 港澳居民来往内地通行证
|
|
548
547
|
HONGKONG_MACAO_AND_TAIWAN 港澳台居民居住证(格式同居民身份证)
|
|
549
548
|
*/
|
|
550
549
|
ApproverIdCardType?: string;
|
|
550
|
+
/**
|
|
551
|
+
* 签署方经办人证件号码
|
|
552
|
+
*/
|
|
553
|
+
ApproverIdCardNumber?: string;
|
|
551
554
|
/**
|
|
552
555
|
* 签署方经办人在模板中的角色ID
|
|
553
556
|
*/
|
|
554
557
|
RecipientId?: string;
|
|
555
558
|
/**
|
|
556
|
-
*
|
|
559
|
+
* 签署意愿确认渠道,WEIXINAPP:人脸识别
|
|
557
560
|
*/
|
|
558
|
-
|
|
561
|
+
VerifyChannel?: Array<string>;
|
|
562
|
+
/**
|
|
563
|
+
* 是否发送短信,sms--短信通知,none--不通知,默认为sms
|
|
564
|
+
*/
|
|
565
|
+
NotifyType?: string;
|
|
559
566
|
/**
|
|
560
567
|
* 签署前置条件:是否需要阅读全文,默认为不需要
|
|
561
568
|
*/
|
|
@@ -565,13 +572,13 @@ export interface FlowCreateApprover {
|
|
|
565
572
|
*/
|
|
566
573
|
PreReadTime?: number;
|
|
567
574
|
/**
|
|
568
|
-
*
|
|
575
|
+
* 签署方经办人的用户ID,和签署方经办人姓名+手机号+证件必须有一个
|
|
569
576
|
*/
|
|
570
|
-
|
|
577
|
+
UserId?: string;
|
|
571
578
|
/**
|
|
572
|
-
*
|
|
579
|
+
* 当前只支持true,默认为true
|
|
573
580
|
*/
|
|
574
|
-
|
|
581
|
+
Required?: boolean;
|
|
575
582
|
}
|
|
576
583
|
/**
|
|
577
584
|
* UploadFiles返回参数结构体
|
|
@@ -608,7 +615,7 @@ export interface DescribeThirdPartyAuthCodeResponse {
|
|
|
608
615
|
*/
|
|
609
616
|
export interface CreateFlowByFilesResponse {
|
|
610
617
|
/**
|
|
611
|
-
*
|
|
618
|
+
* 签署流程编号
|
|
612
619
|
*/
|
|
613
620
|
FlowId: string;
|
|
614
621
|
/**
|
|
@@ -625,16 +632,16 @@ export interface CreateFlowByFilesResponse {
|
|
|
625
632
|
* DescribeFlowBriefs请求参数结构体
|
|
626
633
|
*/
|
|
627
634
|
export interface DescribeFlowBriefsRequest {
|
|
628
|
-
/**
|
|
629
|
-
* 操作人信息
|
|
630
|
-
*/
|
|
631
|
-
Operator: UserInfo;
|
|
632
635
|
/**
|
|
633
636
|
* 需要查询的流程ID列表
|
|
634
637
|
*/
|
|
635
638
|
FlowIds: Array<string>;
|
|
636
639
|
/**
|
|
637
|
-
*
|
|
640
|
+
* 操作人信息
|
|
641
|
+
*/
|
|
642
|
+
Operator: UserInfo;
|
|
643
|
+
/**
|
|
644
|
+
* 应用相关信息
|
|
638
645
|
*/
|
|
639
646
|
Agent?: Agent;
|
|
640
647
|
}
|
|
@@ -707,24 +714,29 @@ export interface DescribeFileUrlsRequest {
|
|
|
707
714
|
- 流程 "FLOW"
|
|
708
715
|
*/
|
|
709
716
|
BusinessType: string;
|
|
717
|
+
/**
|
|
718
|
+
* 业务编号的数组,如模板编号、文档编号、印章编号
|
|
719
|
+
最大支持20个资源
|
|
720
|
+
*/
|
|
721
|
+
BusinessIds: Array<string>;
|
|
710
722
|
/**
|
|
711
723
|
* 操作者信息
|
|
712
724
|
*/
|
|
713
725
|
Operator: UserInfo;
|
|
714
726
|
/**
|
|
715
|
-
*
|
|
716
|
-
*/
|
|
717
|
-
BusinessIds: Array<string>;
|
|
718
|
-
/**
|
|
719
|
-
* 文件类型,"JPG", "PDF","ZIP"等
|
|
727
|
+
* 应用相关信息
|
|
720
728
|
*/
|
|
721
|
-
|
|
729
|
+
Agent?: Agent;
|
|
722
730
|
/**
|
|
723
731
|
* 下载后的文件命名,只有fileType为zip的时候生效
|
|
724
732
|
*/
|
|
725
733
|
FileName?: string;
|
|
726
734
|
/**
|
|
727
|
-
*
|
|
735
|
+
* 文件类型,"JPG", "PDF","ZIP"等
|
|
736
|
+
*/
|
|
737
|
+
FileType?: string;
|
|
738
|
+
/**
|
|
739
|
+
* 指定资源起始偏移量,默认0
|
|
728
740
|
*/
|
|
729
741
|
Offset?: number;
|
|
730
742
|
/**
|
|
@@ -732,21 +744,17 @@ export interface DescribeFileUrlsRequest {
|
|
|
732
744
|
*/
|
|
733
745
|
Limit?: number;
|
|
734
746
|
/**
|
|
735
|
-
*
|
|
736
|
-
*/
|
|
737
|
-
Agent?: Agent;
|
|
738
|
-
/**
|
|
739
|
-
* 下载url过期时间,0: 按默认值5分钟,允许范围:1s~24*60*60s(1天)
|
|
747
|
+
* 下载url过期时间,单位秒。0: 按默认值5分钟,允许范围:1s~24*60*60s(1天)
|
|
740
748
|
*/
|
|
741
749
|
UrlTtl?: number;
|
|
742
750
|
/**
|
|
743
|
-
*
|
|
751
|
+
* 暂不开放
|
|
744
752
|
*/
|
|
745
|
-
|
|
753
|
+
Scene?: string;
|
|
746
754
|
/**
|
|
747
|
-
*
|
|
755
|
+
* 暂不开放
|
|
748
756
|
*/
|
|
749
|
-
|
|
757
|
+
CcToken?: string;
|
|
750
758
|
}
|
|
751
759
|
/**
|
|
752
760
|
* 参与者信息
|
|
@@ -811,19 +819,19 @@ export interface Caller {
|
|
|
811
819
|
/**
|
|
812
820
|
* 应用号
|
|
813
821
|
*/
|
|
814
|
-
ApplicationId
|
|
822
|
+
ApplicationId?: string;
|
|
815
823
|
/**
|
|
816
824
|
* 主机构ID
|
|
817
825
|
*/
|
|
818
826
|
OrganizationId?: string;
|
|
819
|
-
/**
|
|
820
|
-
* 下属机构ID
|
|
821
|
-
*/
|
|
822
|
-
SubOrganizationId?: string;
|
|
823
827
|
/**
|
|
824
828
|
* 经办人的用户ID
|
|
825
829
|
*/
|
|
826
830
|
OperatorId?: string;
|
|
831
|
+
/**
|
|
832
|
+
* 下属机构ID
|
|
833
|
+
*/
|
|
834
|
+
SubOrganizationId?: string;
|
|
827
835
|
}
|
|
828
836
|
/**
|
|
829
837
|
* DescribeFlowTemplates返回参数结构体
|
|
@@ -885,33 +893,36 @@ export interface CreateMultiFlowSignQRCodeRequest {
|
|
|
885
893
|
*/
|
|
886
894
|
TemplateId: string;
|
|
887
895
|
/**
|
|
888
|
-
*
|
|
896
|
+
* 签署流程名称,最大长度不超过200字符
|
|
889
897
|
*/
|
|
890
|
-
|
|
898
|
+
FlowName: string;
|
|
891
899
|
/**
|
|
892
|
-
*
|
|
900
|
+
* 用户信息
|
|
893
901
|
*/
|
|
894
|
-
|
|
902
|
+
Operator: UserInfo;
|
|
895
903
|
/**
|
|
896
904
|
* 应用信息
|
|
897
905
|
*/
|
|
898
906
|
Agent?: Agent;
|
|
899
907
|
/**
|
|
900
|
-
|
|
908
|
+
* 回调地址,最大长度1000字符串
|
|
909
|
+
回调时机:
|
|
910
|
+
用户通过签署二维码发起签署流程时,企业额度不足导致失败
|
|
911
|
+
*/
|
|
912
|
+
CallbackUrl?: string;
|
|
913
|
+
/**
|
|
914
|
+
* 最大可发起签署流程份数,默认5份
|
|
915
|
+
发起流程数量超过此上限后二维码自动失效
|
|
916
|
+
*/
|
|
917
|
+
MaxFlowNum?: number;
|
|
918
|
+
/**
|
|
919
|
+
* 签署流程有效天数 默认7天 最高设置不超过30天
|
|
901
920
|
*/
|
|
902
921
|
FlowEffectiveDay?: number;
|
|
903
922
|
/**
|
|
904
923
|
* 二维码有效天数 默认7天 最高设置不超过90天
|
|
905
924
|
*/
|
|
906
925
|
QrEffectiveDay?: number;
|
|
907
|
-
/**
|
|
908
|
-
* 最大合同份数,默认5份 超过此上限 二维码自动失效
|
|
909
|
-
*/
|
|
910
|
-
MaxFlowNum?: number;
|
|
911
|
-
/**
|
|
912
|
-
* 回调地址
|
|
913
|
-
*/
|
|
914
|
-
CallbackUrl?: string;
|
|
915
926
|
}
|
|
916
927
|
/**
|
|
917
928
|
* StartFlow返回参数结构体
|
|
@@ -944,25 +955,38 @@ export interface CreateSchemeUrlResponse {
|
|
|
944
955
|
*/
|
|
945
956
|
export interface CreateFlowByFilesRequest {
|
|
946
957
|
/**
|
|
947
|
-
*
|
|
958
|
+
* 签署流程名称,最大长度200个字符
|
|
948
959
|
*/
|
|
949
|
-
|
|
960
|
+
FlowName: string;
|
|
950
961
|
/**
|
|
951
|
-
*
|
|
962
|
+
* 签署参与者信息
|
|
952
963
|
*/
|
|
953
|
-
|
|
964
|
+
Approvers: Array<ApproverInfo>;
|
|
954
965
|
/**
|
|
955
|
-
* 签署pdf
|
|
966
|
+
* 签署pdf文件的资源编号列表,通过UploadFiles接口获取
|
|
956
967
|
*/
|
|
957
968
|
FileIds: Array<string>;
|
|
958
969
|
/**
|
|
959
|
-
*
|
|
970
|
+
* 调用方用户信息
|
|
960
971
|
*/
|
|
961
|
-
|
|
972
|
+
Operator: UserInfo;
|
|
962
973
|
/**
|
|
963
|
-
*
|
|
974
|
+
* 应用号信息
|
|
964
975
|
*/
|
|
965
|
-
|
|
976
|
+
Agent?: Agent;
|
|
977
|
+
/**
|
|
978
|
+
* 经办人内容控件配置。可选类型为:
|
|
979
|
+
TEXT - 内容文本控件
|
|
980
|
+
MULTI_LINE_TEXT - 多行文本控件
|
|
981
|
+
CHECK_BOX - 勾选框控件
|
|
982
|
+
注:默认字体大小为 字号12
|
|
983
|
+
*/
|
|
984
|
+
Components?: Array<Component>;
|
|
985
|
+
/**
|
|
986
|
+
* 签署流程的签署截止时间。
|
|
987
|
+
值为unix时间戳,精确到秒,不传默认为当前时间一年后
|
|
988
|
+
*/
|
|
989
|
+
Deadline?: number;
|
|
966
990
|
/**
|
|
967
991
|
* 发送类型:
|
|
968
992
|
true:无序签
|
|
@@ -971,32 +995,27 @@ export interface CreateFlowByFilesRequest {
|
|
|
971
995
|
*/
|
|
972
996
|
Unordered?: boolean;
|
|
973
997
|
/**
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
998
|
+
* 是否需要预览,true:预览模式,false:非预览(默认);
|
|
999
|
+
预览链接有效期300秒;
|
|
1000
|
+
*/
|
|
1001
|
+
NeedPreview?: boolean;
|
|
977
1002
|
/**
|
|
978
|
-
*
|
|
1003
|
+
* 签署流程描述,最大长度1000个字符
|
|
979
1004
|
*/
|
|
980
|
-
|
|
1005
|
+
FlowDescription?: string;
|
|
981
1006
|
/**
|
|
982
|
-
*
|
|
1007
|
+
* 签署流程的类型(如销售合同/入职合同等),最大长度200个字符
|
|
983
1008
|
*/
|
|
984
|
-
|
|
1009
|
+
FlowType?: string;
|
|
985
1010
|
/**
|
|
986
|
-
*
|
|
987
|
-
|
|
988
|
-
MULTI_LINE_TEXT - 多行文本控件
|
|
989
|
-
注:默认字体大小为 字号12
|
|
1011
|
+
* 被抄送人的信息列表。
|
|
1012
|
+
注:此功能为白名单功能,若有需要,请联系电子签客服开白使用
|
|
990
1013
|
*/
|
|
991
|
-
Components?: Array<Component>;
|
|
992
|
-
/**
|
|
993
|
-
* 被抄送人的信息列表
|
|
994
|
-
*/
|
|
995
1014
|
CcInfos?: Array<CcInfo>;
|
|
996
1015
|
/**
|
|
997
|
-
*
|
|
1016
|
+
* 合同显示的页卡模板,说明:只支持{合同名称}, {发起方企业}, {发起方姓名}, {签署方N企业}, {签署方N姓名},且N不能超过签署人的数量,N从1开始
|
|
998
1017
|
*/
|
|
999
|
-
|
|
1018
|
+
CustomShowMap?: string;
|
|
1000
1019
|
}
|
|
1001
1020
|
/**
|
|
1002
1021
|
* CancelMultiFlowSignQRCode返回参数结构体
|
|
@@ -1012,7 +1031,7 @@ export interface CancelMultiFlowSignQRCodeResponse {
|
|
|
1012
1031
|
*/
|
|
1013
1032
|
export interface CreateFlowResponse {
|
|
1014
1033
|
/**
|
|
1015
|
-
*
|
|
1034
|
+
* 签署流程编号
|
|
1016
1035
|
*/
|
|
1017
1036
|
FlowId: string;
|
|
1018
1037
|
/**
|
|
@@ -1037,7 +1056,7 @@ export interface FormField {
|
|
|
1037
1056
|
*/
|
|
1038
1057
|
ComponentId?: string;
|
|
1039
1058
|
/**
|
|
1040
|
-
*
|
|
1059
|
+
* 控件名字,最大长度不超过30字符
|
|
1041
1060
|
*/
|
|
1042
1061
|
ComponentName?: string;
|
|
1043
1062
|
}
|