tencentcloud-sdk-nodejs-ess 4.0.432 → 4.0.437

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.
@@ -459,74 +459,28 @@ export interface SignQrCode {
459
459
  }
460
460
 
461
461
  /**
462
- * GetTaskResultApi请求参数结构体
462
+ * CreateFlowApprovers返回参数结构体
463
463
  */
464
- export interface GetTaskResultApiRequest {
465
- /**
466
- * 任务Id,通过CreateConvertTaskApi得到
467
- */
468
- TaskId: string
469
-
470
- /**
471
- * 操作人信息
472
- */
473
- Operator?: UserInfo
474
-
475
- /**
476
- * 应用号信息
477
- */
478
- Agent?: Agent
479
-
464
+ export interface CreateFlowApproversResponse {
480
465
  /**
481
- * 暂未开放
466
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
482
467
  */
483
- Organization?: OrganizationInfo
468
+ RequestId?: string
484
469
  }
485
470
 
486
471
  /**
487
- * UploadFiles请求参数结构体
472
+ * DescribeFlowInfo请求参数结构体
488
473
  */
489
- export interface UploadFilesRequest {
490
- /**
491
- * 文件对应业务类型,用于区分文件存储路径:
492
- 1. TEMPLATE - 模板; 文件类型:.pdf .doc .docx .html
493
- 2. DOCUMENT - 签署过程及签署后的合同文档/图片控件 文件类型:.pdf/.jpg/.png
494
- 3. SEAL - 印章; 文件类型:.jpg/.jpeg/.png
495
- */
496
- BusinessType: string
497
-
498
- /**
499
- * 调用方信息
500
- */
501
- Caller?: Caller
502
-
474
+ export interface DescribeFlowInfoRequest {
503
475
  /**
504
- * 上传文件内容数组,最多支持20个文件
476
+ * 需要查询的流程ID列表,限制最大100个
505
477
  */
506
- FileInfos?: Array<UploadFile>
507
-
508
- /**
509
- * 上传文件链接数组,最多支持20个URL
510
- */
511
- FileUrls?: string
512
-
513
- /**
514
- * 此参数只对 PDF 文件有效。是否将pdf灰色矩阵置白
515
- true--是,处理置白
516
- false--否,不处理
517
- */
518
- CoverRect?: boolean
519
-
520
- /**
521
- * 文件类型, 默认通过文件内容解析得到文件类型,客户可以显示的说明上传文件的类型。
522
- 如:PDF 表示上传的文件 xxx.pdf的文件类型是 PDF
523
- */
524
- FileType?: string
478
+ FlowIds: Array<string>
525
479
 
526
480
  /**
527
- * 用户自定义ID数组,与上传文件一一对应
481
+ * 调用方用户信息
528
482
  */
529
- CustomIds?: Array<string>
483
+ Operator?: UserInfo
530
484
  }
531
485
 
532
486
  /**
@@ -781,7 +735,7 @@ HONGKONG_MACAO_AND_TAIWAN 港澳台居民居住证(格式同居民身份证)
781
735
  PreReadTime?: number
782
736
 
783
737
  /**
784
- * 签署方经办人的用户ID,和签署方经办人姓名+手机号+证件必须有一个
738
+ * 签署方经办人的用户ID,和签署方经办人姓名+手机号+证件必须有一个。非企微场景不使用此字段
785
739
  */
786
740
  UserId?: string
787
741
 
@@ -789,6 +743,16 @@ HONGKONG_MACAO_AND_TAIWAN 港澳台居民居住证(格式同居民身份证)
789
743
  * 当前只支持true,默认为true
790
744
  */
791
745
  Required?: boolean
746
+
747
+ /**
748
+ * 签署人用户来源,企微侧用户请传入:WEWORKAPP
749
+ */
750
+ ApproverSource?: string
751
+
752
+ /**
753
+ * 客户自定义签署人标识,64位长度,保证唯一。非企微场景不使用此字段
754
+ */
755
+ CustomApproverTag?: string
792
756
  }
793
757
 
794
758
  /**
@@ -826,6 +790,60 @@ export interface DescribeThirdPartyAuthCodeResponse {
826
790
  RequestId?: string
827
791
  }
828
792
 
793
+ /**
794
+ * 此结构体(FlowDetailInfo)描述的是合同(流程)的详细信息
795
+ */
796
+ export interface FlowDetailInfo {
797
+ /**
798
+ * 合同(流程)的Id
799
+ */
800
+ FlowId: string
801
+
802
+ /**
803
+ * 合同(流程)的名字
804
+ */
805
+ FlowName: string
806
+
807
+ /**
808
+ * 合同(流程)的类型
809
+ 注意:此字段可能返回 null,表示取不到有效值。
810
+ */
811
+ FlowType: string
812
+
813
+ /**
814
+ * 合同(流程)的状态
815
+ 1:未签署
816
+ 2:部分签署
817
+ 3:已退回
818
+ 4:完成签署
819
+ 5:已过期
820
+ 6:已取消
821
+ */
822
+ FlowStatus: number
823
+
824
+ /**
825
+ * 合同(流程)的信息
826
+ 注意:此字段可能返回 null,表示取不到有效值。
827
+ */
828
+ FlowMessage: string
829
+
830
+ /**
831
+ * 流程的描述
832
+ 注意:此字段可能返回 null,表示取不到有效值。
833
+ */
834
+ FlowDescription: string
835
+
836
+ /**
837
+ * 合同(流程)的创建时间戳
838
+ */
839
+ CreatedOn: number
840
+
841
+ /**
842
+ * 合同(流程)的签署人数组
843
+ */
844
+ FlowApproverInfos: Array<FlowApproverDetail>
845
+ }
846
+
829
847
  /**
830
848
  * CreateFlowByFiles返回参数结构体
831
849
  */
@@ -997,6 +1015,28 @@ export interface UserInfo {
997
1015
  ProxyIp?: string
998
1016
  }
999
1017
 
1018
+ /**
1019
+ * 补充签署人信息
1020
+ */
1021
+ export interface FillApproverInfo {
1022
+ /**
1023
+ * 签署人签署Id
1024
+ */
1025
+ RecipientId: string
1026
+
1027
+ /**
1028
+ * 签署人来源
1029
+ WEWORKAPP: 企业微信
1030
+ */
1031
+ ApproverSource: string
1032
+
1033
+ /**
1034
+ * 企业自定义账号Id
1035
+ WEWORKAPP场景下指企业自有应用获取企微明文的userid
1036
+ */
1037
+ CustomUserId: string
1038
+ }
1039
+
1000
1040
  /**
1001
1041
  * 一码多扫签署二维码签署信息
1002
1042
  */
@@ -1147,6 +1187,21 @@ HONGKONG_MACAO_AND_TAIWAN 港澳台居民居住证(格式同居民身份证)
1147
1187
  * 合同的强制预览时间:3~300s,未指定则按合同页数计算
1148
1188
  */
1149
1189
  PreReadTime?: number
1190
+
1191
+ /**
1192
+ * 签署人userId,非企微场景不使用此字段
1193
+ */
1194
+ UserId?: string
1195
+
1196
+ /**
1197
+ * 签署人用户来源,企微侧用户请传入:WEWORKAPP
1198
+ */
1199
+ ApproverSource?: string
1200
+
1201
+ /**
1202
+ * 客户自定义签署人标识,64位长度,保证唯一,非企微场景不使用此字段
1203
+ */
1204
+ CustomApproverTag?: string
1150
1205
  }
1151
1206
 
1152
1207
  /**
@@ -1244,6 +1299,52 @@ export interface CreateBatchCancelFlowUrlResponse {
1244
1299
  RequestId?: string
1245
1300
  }
1246
1301
 
1302
+ /**
1303
+ * UploadFiles请求参数结构体
1304
+ */
1305
+ export interface UploadFilesRequest {
1306
+ /**
1307
+ * 文件对应业务类型,用于区分文件存储路径:
1308
+ 1. TEMPLATE - 模板; 文件类型:.pdf .doc .docx .html
1309
+ 2. DOCUMENT - 签署过程及签署后的合同文档/图片控件 文件类型:.pdf/.jpg/.png
1310
+ 3. SEAL - 印章; 文件类型:.jpg/.jpeg/.png
1311
+ */
1312
+ BusinessType: string
1313
+
1314
+ /**
1315
+ * 调用方信息
1316
+ */
1317
+ Caller?: Caller
1318
+
1319
+ /**
1320
+ * 上传文件内容数组,最多支持20个文件
1321
+ */
1322
+ FileInfos?: Array<UploadFile>
1323
+
1324
+ /**
1325
+ * 不再使用,上传文件链接数组,最多支持20个URL
1326
+ */
1327
+ FileUrls?: string
1328
+
1329
+ /**
1330
+ * 此参数只对 PDF 文件有效。是否将pdf灰色矩阵置白
1331
+ true--是,处理置白
1332
+ false--否,不处理
1333
+ */
1334
+ CoverRect?: boolean
1335
+
1336
+ /**
1337
+ * 文件类型, 默认通过文件内容解析得到文件类型,客户可以显示的说明上传文件的类型。
1338
+ 如:PDF 表示上传的文件 xxx.pdf的文件类型是 PDF
1339
+ */
1340
+ FileType?: string
1341
+
1342
+ /**
1343
+ * 用户自定义ID数组,与上传文件一一对应
1344
+ */
1345
+ CustomIds?: Array<string>
1346
+ }
1347
+
1247
1348
  /**
1248
1349
  * StartFlow返回参数结构体
1249
1350
  */
@@ -1259,6 +1360,31 @@ export interface StartFlowResponse {
1259
1360
  RequestId?: string
1260
1361
  }
1261
1362
 
1363
+ /**
1364
+ * GetTaskResultApi请求参数结构体
1365
+ */
1366
+ export interface GetTaskResultApiRequest {
1367
+ /**
1368
+ * 任务Id,通过CreateConvertTaskApi得到
1369
+ */
1370
+ TaskId: string
1371
+
1372
+ /**
1373
+ * 操作人信息
1374
+ */
1375
+ Operator?: UserInfo
1376
+
1377
+ /**
1378
+ * 应用号信息
1379
+ */
1380
+ Agent?: Agent
1381
+
1382
+ /**
1383
+ * 暂未开放
1384
+ */
1385
+ Organization?: OrganizationInfo
1386
+ }
1387
+
1262
1388
  /**
1263
1389
  * 二期接口返回的模板中文件的信息结构
1264
1390
  */
@@ -1435,6 +1561,21 @@ export interface CreateConvertTaskApiRequest {
1435
1561
  Organization?: OrganizationInfo
1436
1562
  }
1437
1563
 
1564
+ /**
1565
+ * DescribeFlowInfo返回参数结构体
1566
+ */
1567
+ export interface DescribeFlowInfoResponse {
1568
+ /**
1569
+ * 签署流程信息
1570
+ */
1571
+ FlowDetailInfos: Array<FlowDetailInfo>
1572
+
1573
+ /**
1574
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1575
+ */
1576
+ RequestId?: string
1577
+ }
1578
+
1438
1579
  /**
1439
1580
  * CreateSchemeUrl返回参数结构体
1440
1581
  */
@@ -1615,6 +1756,93 @@ DYNAMIC_TABLE - 传入json格式的表格内容,具体见数据结构FlowInfo
1615
1756
  ComponentName?: string
1616
1757
  }
1617
1758
 
1759
+ /**
1760
+ * 签署人详情信息
1761
+ */
1762
+ export interface FlowApproverDetail {
1763
+ /**
1764
+ * 签署人信息
1765
+ 注意:此字段可能返回 null,表示取不到有效值。
1766
+ */
1767
+ ApproveMessage?: string
1768
+
1769
+ /**
1770
+ * 签署人名字
1771
+ */
1772
+ ApproveName: string
1773
+
1774
+ /**
1775
+ * 签署人的状态
1776
+ 0:还没有发起
1777
+ 1:流程中 没有开始处理
1778
+ 2:待处理
1779
+ 3:签署态
1780
+ 4:拒绝态
1781
+ 5:过期没人处理
1782
+ 6:取消态
1783
+ 7:还没有预发起
1784
+ 8:待填写
1785
+ 9:因为各种原因而终止
1786
+ */
1787
+ ApproveStatus: number
1788
+
1789
+ /**
1790
+ * 模板配置时候的签署人id,与控件绑定
1791
+ */
1792
+ ReceiptId: string
1793
+
1794
+ /**
1795
+ * 客户自定义userId
1796
+ 注意:此字段可能返回 null,表示取不到有效值。
1797
+ */
1798
+ CustomUserId: string
1799
+
1800
+ /**
1801
+ * 签署人手机号
1802
+ */
1803
+ Mobile: string
1804
+
1805
+ /**
1806
+ * 签署顺序
1807
+ */
1808
+ SignOrder: number
1809
+
1810
+ /**
1811
+ * 签署人签署时间
1812
+ */
1813
+ ApproveTime: number
1814
+
1815
+ /**
1816
+ * 参与者类型
1817
+ 注意:此字段可能返回 null,表示取不到有效值。
1818
+ */
1819
+ ApproveType: string
1820
+
1821
+ /**
1822
+ * 签署人侧用户来源
1823
+ 注意:此字段可能返回 null,表示取不到有效值。
1824
+ */
1825
+ ApproverSource: string
1826
+
1827
+ /**
1828
+ * 客户自定义签署人标识
1829
+ 注意:此字段可能返回 null,表示取不到有效值。
1830
+ */
1831
+ CustomApproverTag: string
1832
+
1833
+ /**
1834
+ * 签署人企业Id
1835
+ 注意:此字段可能返回 null,表示取不到有效值。
1836
+ */
1837
+ OrganizationId: string
1838
+
1839
+ /**
1840
+ * 签署人企业名称
1841
+ 注意:此字段可能返回 null,表示取不到有效值。
1842
+ */
1843
+ OrganizationName: string
1844
+ }
1845
+
1618
1846
  /**
1619
1847
  * DescribeFlowTemplates请求参数结构体
1620
1848
  */
@@ -1697,6 +1925,26 @@ ProcessTimeout - 转换文件超时
1697
1925
  RequestId?: string
1698
1926
  }
1699
1927
 
1928
+ /**
1929
+ * CreateFlowApprovers请求参数结构体
1930
+ */
1931
+ export interface CreateFlowApproversRequest {
1932
+ /**
1933
+ * 调用方用户信息,userId 必填
1934
+ */
1935
+ Operator: UserInfo
1936
+
1937
+ /**
1938
+ * 签署流程编号
1939
+ */
1940
+ FlowId: string
1941
+
1942
+ /**
1943
+ * 补充签署人信息
1944
+ */
1945
+ Approvers: Array<FillApproverInfo>
1946
+ }
1947
+
1700
1948
  /**
1701
1949
  * 流程信息摘要
1702
1950
  */
@@ -1,5 +1,5 @@
1
1
  import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
2
- import { CancelMultiFlowSignQRCodeRequest, CreateFlowEvidenceReportResponse, DescribeFileUrlsResponse, CreateDocumentResponse, StartFlowRequest, CancelFlowResponse, CreateDocumentRequest, CreateFlowRequest, CreateSchemeUrlRequest, DescribeThirdPartyAuthCodeRequest, GetTaskResultApiRequest, UploadFilesRequest, CancelFlowRequest, DescribeFlowBriefsResponse, CreateMultiFlowSignQRCodeResponse, UploadFilesResponse, DescribeThirdPartyAuthCodeResponse, CreateFlowByFilesResponse, DescribeFlowBriefsRequest, DescribeFileUrlsRequest, CreateFlowSignReviewResponse, DescribeFlowTemplatesResponse, CreateFlowEvidenceReportRequest, CreateBatchCancelFlowUrlResponse, StartFlowResponse, CreateBatchCancelFlowUrlRequest, CreateMultiFlowSignQRCodeRequest, CreateConvertTaskApiResponse, CreateFlowSignReviewRequest, CreateConvertTaskApiRequest, CreateSchemeUrlResponse, CreateFlowByFilesRequest, CancelMultiFlowSignQRCodeResponse, CreateFlowResponse, DescribeFlowTemplatesRequest, GetTaskResultApiResponse } from "./ess_models";
2
+ import { CancelMultiFlowSignQRCodeRequest, CreateFlowEvidenceReportResponse, DescribeFileUrlsResponse, CreateDocumentResponse, StartFlowRequest, CancelFlowResponse, CreateDocumentRequest, CreateFlowRequest, CreateSchemeUrlRequest, DescribeThirdPartyAuthCodeRequest, CreateFlowApproversResponse, DescribeFlowInfoRequest, CancelFlowRequest, DescribeFlowBriefsResponse, CreateMultiFlowSignQRCodeResponse, UploadFilesResponse, DescribeThirdPartyAuthCodeResponse, CreateFlowByFilesResponse, DescribeFlowBriefsRequest, DescribeFileUrlsRequest, CreateFlowSignReviewResponse, DescribeFlowTemplatesResponse, CreateFlowEvidenceReportRequest, CreateBatchCancelFlowUrlResponse, UploadFilesRequest, StartFlowResponse, GetTaskResultApiRequest, CreateBatchCancelFlowUrlRequest, CreateMultiFlowSignQRCodeRequest, CreateConvertTaskApiResponse, CreateFlowSignReviewRequest, CreateConvertTaskApiRequest, DescribeFlowInfoResponse, CreateSchemeUrlResponse, CreateFlowByFilesRequest, CancelMultiFlowSignQRCodeResponse, CreateFlowResponse, DescribeFlowTemplatesRequest, GetTaskResultApiResponse, CreateFlowApproversRequest } from "./ess_models";
3
3
  /**
4
4
  * ess client
5
5
  * @class
@@ -11,6 +11,11 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
11
11
  适用场景:通过传参合同流程编号,下载对应的合同PDF文件流到本地。
12
12
  */
13
13
  DescribeFileUrls(req: DescribeFileUrlsRequest, cb?: (error: string, rep: DescribeFileUrlsResponse) => void): Promise<DescribeFileUrlsResponse>;
14
+ /**
15
+ * 查询合同详情
16
+ 适用场景:可用于主动查询某个合同详情信息。
17
+ */
18
+ DescribeFlowInfo(req: DescribeFlowInfoRequest, cb?: (error: string, rep: DescribeFlowInfoResponse) => void): Promise<DescribeFlowInfoResponse>;
14
19
  /**
15
20
  * 此接口用于发起流程
16
21
  适用场景:见创建签署流程接口。
@@ -57,6 +62,13 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
57
62
  注:该接口是通过模板生成合同流程的前置接口,先创建一个不包含签署文件的流程。配合“创建电子文档”接口和“发起流程”接口使用。
58
63
  */
59
64
  CreateFlow(req: CreateFlowRequest, cb?: (error: string, rep: CreateFlowResponse) => void): Promise<CreateFlowResponse>;
65
+ /**
66
+ * 此接口(CreateFlowByFiles)用来通过上传后的pdf资源编号来创建待签署的合同流程。
67
+ 适用场景1:适用非制式的合同文件签署。一般开发者自己有完整的签署文件,可以通过该接口传入完整的PDF文件及流程信息生成待签署的合同流程。
68
+ 适用场景2:可通过该接口传入制式合同文件,同时在指定位置添加签署控件。可以起到接口创建临时模板的效果。如果是标准的制式文件,建议使用模板功能生成模板ID进行合同流程的生成。
69
+ 注意事项:该接口需要依赖“多文件上传”接口生成pdf资源编号(FileIds)进行使用。
70
+ */
71
+ CreateFlowByFiles(req: CreateFlowByFilesRequest, cb?: (error: string, rep: CreateFlowByFilesResponse) => void): Promise<CreateFlowByFilesResponse>;
60
72
  /**
61
73
  * 此接口(CancelMultiFlowSignQRCode)用于取消一码多扫二维码。该接口对传入的二维码ID,若还在有效期内,可以提前失效。
62
74
  */
@@ -100,12 +112,13 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
100
112
  */
101
113
  DescribeFlowBriefs(req: DescribeFlowBriefsRequest, cb?: (error: string, rep: DescribeFlowBriefsResponse) => void): Promise<DescribeFlowBriefsResponse>;
102
114
  /**
103
- * 此接口(CreateFlowByFiles)用来通过上传后的pdf资源编号来创建待签署的合同流程。
104
- 适用场景1:适用非制式的合同文件签署。一般开发者自己有完整的签署文件,可以通过该接口传入完整的PDF文件及流程信息生成待签署的合同流程。
105
- 适用场景2:可通过该接口传入制式合同文件,同时在指定位置添加签署控件。可以起到接口创建临时模板的效果。如果是标准的制式文件,建议使用模板功能生成模板ID进行合同流程的生成。
106
- 注意事项:该接口需要依赖“多文件上传”接口生成pdf资源编号(FileIds)进行使用。
115
+ * 补充签署流程本企业签署人信息
116
+ 适用场景:在通过模版或者文件发起合同时,若未指定本企业签署人信息,则流程发起后,可以调用此接口补充签署人。
117
+ 同一签署人可以补充多个员工作为候选签署人,最终签署人取决于谁先领取合同完成签署。
118
+
119
+ 注:目前暂时只支持补充来源于企业微信的员工作为候选签署人
107
120
  */
108
- CreateFlowByFiles(req: CreateFlowByFilesRequest, cb?: (error: string, rep: CreateFlowByFilesResponse) => void): Promise<CreateFlowByFilesResponse>;
121
+ CreateFlowApprovers(req: CreateFlowApproversRequest, cb?: (error: string, rep: CreateFlowApproversResponse) => void): Promise<CreateFlowApproversResponse>;
109
122
  /**
110
123
  * 此接口(UploadFiles)用于文件上传。
111
124
  适用场景:用于生成pdf资源编号(FileIds)来配合“用PDF创建流程”接口使用,使用场景可详见“用PDF创建流程”接口说明。
@@ -34,6 +34,13 @@ class Client extends TencentCloudCommon.AbstractClient {
34
34
  async DescribeFileUrls(req, cb) {
35
35
  return this.request("DescribeFileUrls", req, cb);
36
36
  }
37
+ /**
38
+ * 查询合同详情
39
+ 适用场景:可用于主动查询某个合同详情信息。
40
+ */
41
+ async DescribeFlowInfo(req, cb) {
42
+ return this.request("DescribeFlowInfo", req, cb);
43
+ }
37
44
  /**
38
45
  * 此接口用于发起流程
39
46
  适用场景:见创建签署流程接口。
@@ -96,6 +103,15 @@ class Client extends TencentCloudCommon.AbstractClient {
96
103
  async CreateFlow(req, cb) {
97
104
  return this.request("CreateFlow", req, cb);
98
105
  }
106
+ /**
107
+ * 此接口(CreateFlowByFiles)用来通过上传后的pdf资源编号来创建待签署的合同流程。
108
+ 适用场景1:适用非制式的合同文件签署。一般开发者自己有完整的签署文件,可以通过该接口传入完整的PDF文件及流程信息生成待签署的合同流程。
109
+ 适用场景2:可通过该接口传入制式合同文件,同时在指定位置添加签署控件。可以起到接口创建临时模板的效果。如果是标准的制式文件,建议使用模板功能生成模板ID进行合同流程的生成。
110
+ 注意事项:该接口需要依赖“多文件上传”接口生成pdf资源编号(FileIds)进行使用。
111
+ */
112
+ async CreateFlowByFiles(req, cb) {
113
+ return this.request("CreateFlowByFiles", req, cb);
114
+ }
99
115
  /**
100
116
  * 此接口(CancelMultiFlowSignQRCode)用于取消一码多扫二维码。该接口对传入的二维码ID,若还在有效期内,可以提前失效。
101
117
  */
@@ -153,13 +169,14 @@ class Client extends TencentCloudCommon.AbstractClient {
153
169
  return this.request("DescribeFlowBriefs", req, cb);
154
170
  }
155
171
  /**
156
- * 此接口(CreateFlowByFiles)用来通过上传后的pdf资源编号来创建待签署的合同流程。
157
- 适用场景1:适用非制式的合同文件签署。一般开发者自己有完整的签署文件,可以通过该接口传入完整的PDF文件及流程信息生成待签署的合同流程。
158
- 适用场景2:可通过该接口传入制式合同文件,同时在指定位置添加签署控件。可以起到接口创建临时模板的效果。如果是标准的制式文件,建议使用模板功能生成模板ID进行合同流程的生成。
159
- 注意事项:该接口需要依赖“多文件上传”接口生成pdf资源编号(FileIds)进行使用。
172
+ * 补充签署流程本企业签署人信息
173
+ 适用场景:在通过模版或者文件发起合同时,若未指定本企业签署人信息,则流程发起后,可以调用此接口补充签署人。
174
+ 同一签署人可以补充多个员工作为候选签署人,最终签署人取决于谁先领取合同完成签署。
175
+
176
+ 注:目前暂时只支持补充来源于企业微信的员工作为候选签署人
160
177
  */
161
- async CreateFlowByFiles(req, cb) {
162
- return this.request("CreateFlowByFiles", req, cb);
178
+ async CreateFlowApprovers(req, cb) {
179
+ return this.request("CreateFlowApprovers", req, cb);
163
180
  }
164
181
  /**
165
182
  * 此接口(UploadFiles)用于文件上传。