tencentcloud-sdk-nodejs-essbasic 4.0.331 → 4.0.334
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 +421 -0
- package/SERVICE_CHANGELOG.md +944 -483
- package/package.json +1 -1
- package/products.md +45 -44
- package/src/services/essbasic/v20210526/essbasic_client.ts +33 -8
- package/src/services/essbasic/v20210526/essbasic_models.ts +228 -112
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +14 -5
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +17 -4
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +196 -99
|
@@ -821,82 +821,18 @@ export interface SyncProxyOrganizationOperatorsResponse {
|
|
|
821
821
|
}
|
|
822
822
|
|
|
823
823
|
/**
|
|
824
|
-
*
|
|
824
|
+
* CreateSealByImage返回参数结构体
|
|
825
825
|
*/
|
|
826
|
-
export interface
|
|
827
|
-
/**
|
|
828
|
-
* 签署链接
|
|
829
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
830
|
-
*/
|
|
831
|
-
SignUrl: string
|
|
832
|
-
|
|
833
|
-
/**
|
|
834
|
-
* 链接失效时间,默认30分钟
|
|
835
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
836
|
-
*/
|
|
837
|
-
Deadline: number
|
|
838
|
-
|
|
839
|
-
/**
|
|
840
|
-
* 当流程为顺序签署此参数有效时,数字越小优先级越高,暂不支持并行签署 可选
|
|
841
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
842
|
-
*/
|
|
843
|
-
SignOrder: number
|
|
844
|
-
|
|
845
|
-
/**
|
|
846
|
-
* 签署人编号
|
|
847
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
848
|
-
*/
|
|
849
|
-
SignId: string
|
|
850
|
-
|
|
851
|
-
/**
|
|
852
|
-
* 自定义用户编号
|
|
853
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
854
|
-
*/
|
|
855
|
-
CustomUserId: string
|
|
856
|
-
|
|
857
|
-
/**
|
|
858
|
-
* 用户姓名
|
|
859
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
860
|
-
*/
|
|
861
|
-
Name: string
|
|
862
|
-
|
|
863
|
-
/**
|
|
864
|
-
* 用户手机号码
|
|
865
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
866
|
-
*/
|
|
867
|
-
Mobile: string
|
|
868
|
-
|
|
869
|
-
/**
|
|
870
|
-
* 签署参与者机构名字
|
|
871
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
872
|
-
*/
|
|
873
|
-
OrganizationName: string
|
|
874
|
-
|
|
875
|
-
/**
|
|
876
|
-
* 参与者类型:
|
|
877
|
-
ORGANIZATION 企业经办人
|
|
878
|
-
PERSON 自然人
|
|
879
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
880
|
-
*/
|
|
881
|
-
ApproverType: string
|
|
882
|
-
|
|
826
|
+
export interface CreateSealByImageResponse {
|
|
883
827
|
/**
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
IdCardNumber: string
|
|
888
|
-
|
|
889
|
-
/**
|
|
890
|
-
* 签署链接对应流程Id
|
|
891
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
892
|
-
*/
|
|
893
|
-
FlowId: string
|
|
828
|
+
* 印章id
|
|
829
|
+
*/
|
|
830
|
+
SealId: string
|
|
894
831
|
|
|
895
832
|
/**
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
OpenId: string
|
|
833
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
834
|
+
*/
|
|
835
|
+
RequestId?: string
|
|
900
836
|
}
|
|
901
837
|
|
|
902
838
|
/**
|
|
@@ -1038,6 +974,61 @@ export interface SyncProxyOrganizationRequest {
|
|
|
1038
974
|
Operator?: UserInfo
|
|
1039
975
|
}
|
|
1040
976
|
|
|
977
|
+
/**
|
|
978
|
+
* CreateSealByImage请求参数结构体
|
|
979
|
+
*/
|
|
980
|
+
export interface CreateSealByImageRequest {
|
|
981
|
+
/**
|
|
982
|
+
* 渠道应用相关信息
|
|
983
|
+
*/
|
|
984
|
+
Agent: Agent
|
|
985
|
+
|
|
986
|
+
/**
|
|
987
|
+
* 印章名称
|
|
988
|
+
*/
|
|
989
|
+
SealName: string
|
|
990
|
+
|
|
991
|
+
/**
|
|
992
|
+
* 印章图片base64
|
|
993
|
+
*/
|
|
994
|
+
SealImage: string
|
|
995
|
+
|
|
996
|
+
/**
|
|
997
|
+
* 操作者的信息
|
|
998
|
+
*/
|
|
999
|
+
Operator?: UserInfo
|
|
1000
|
+
}
|
|
1001
|
+
|
|
1002
|
+
/**
|
|
1003
|
+
* 接口调用者信息
|
|
1004
|
+
*/
|
|
1005
|
+
export interface UserInfo {
|
|
1006
|
+
/**
|
|
1007
|
+
* 自定义用户编号
|
|
1008
|
+
*/
|
|
1009
|
+
CustomUserId?: string
|
|
1010
|
+
|
|
1011
|
+
/**
|
|
1012
|
+
* 用户的来源渠道
|
|
1013
|
+
*/
|
|
1014
|
+
Channel?: string
|
|
1015
|
+
|
|
1016
|
+
/**
|
|
1017
|
+
* 用户在渠道的编号
|
|
1018
|
+
*/
|
|
1019
|
+
OpenId?: string
|
|
1020
|
+
|
|
1021
|
+
/**
|
|
1022
|
+
* 用户真实IP
|
|
1023
|
+
*/
|
|
1024
|
+
ClientIp?: string
|
|
1025
|
+
|
|
1026
|
+
/**
|
|
1027
|
+
* 用户代理IP
|
|
1028
|
+
*/
|
|
1029
|
+
ProxyIp?: string
|
|
1030
|
+
}
|
|
1031
|
+
|
|
1041
1032
|
/**
|
|
1042
1033
|
* 用量明细
|
|
1043
1034
|
*/
|
|
@@ -1136,28 +1127,13 @@ export interface DownloadFlowInfo {
|
|
|
1136
1127
|
}
|
|
1137
1128
|
|
|
1138
1129
|
/**
|
|
1139
|
-
*
|
|
1130
|
+
* 抄送信息
|
|
1140
1131
|
*/
|
|
1141
|
-
export interface
|
|
1142
|
-
/**
|
|
1143
|
-
* 文件id数组
|
|
1144
|
-
*/
|
|
1145
|
-
FileIds: Array<string>
|
|
1146
|
-
|
|
1147
|
-
/**
|
|
1148
|
-
* 上传成功文件数量
|
|
1149
|
-
*/
|
|
1150
|
-
TotalCount: number
|
|
1151
|
-
|
|
1152
|
-
/**
|
|
1153
|
-
* 文件Url
|
|
1154
|
-
*/
|
|
1155
|
-
FileUrls: Array<string>
|
|
1156
|
-
|
|
1132
|
+
export interface CcInfo {
|
|
1157
1133
|
/**
|
|
1158
|
-
*
|
|
1134
|
+
* 被抄送人手机号
|
|
1159
1135
|
*/
|
|
1160
|
-
|
|
1136
|
+
Mobile?: string
|
|
1161
1137
|
}
|
|
1162
1138
|
|
|
1163
1139
|
/**
|
|
@@ -1221,13 +1197,104 @@ export interface DescribeUsageRequest {
|
|
|
1221
1197
|
}
|
|
1222
1198
|
|
|
1223
1199
|
/**
|
|
1224
|
-
*
|
|
1200
|
+
* ChannelCreateFlowByFiles请求参数结构体
|
|
1225
1201
|
*/
|
|
1226
|
-
export interface
|
|
1202
|
+
export interface ChannelCreateFlowByFilesRequest {
|
|
1227
1203
|
/**
|
|
1228
|
-
*
|
|
1204
|
+
* 渠道应用相关信息
|
|
1229
1205
|
*/
|
|
1230
|
-
|
|
1206
|
+
Agent?: Agent
|
|
1207
|
+
|
|
1208
|
+
/**
|
|
1209
|
+
* 操作者的信息
|
|
1210
|
+
*/
|
|
1211
|
+
Operator?: UserInfo
|
|
1212
|
+
|
|
1213
|
+
/**
|
|
1214
|
+
* 签署文件资源Id列表,目前仅支持单个文件
|
|
1215
|
+
*/
|
|
1216
|
+
FileIds?: Array<string>
|
|
1217
|
+
|
|
1218
|
+
/**
|
|
1219
|
+
* 流程名称,长度不超过200个字符
|
|
1220
|
+
*/
|
|
1221
|
+
FlowName?: string
|
|
1222
|
+
|
|
1223
|
+
/**
|
|
1224
|
+
* 流程截止时间,十位数时间戳,最大值为33162419560,即3020年
|
|
1225
|
+
*/
|
|
1226
|
+
Deadline?: number
|
|
1227
|
+
|
|
1228
|
+
/**
|
|
1229
|
+
* 流程的描述,长度不超过1000个字符
|
|
1230
|
+
*/
|
|
1231
|
+
FlowDescription?: string
|
|
1232
|
+
|
|
1233
|
+
/**
|
|
1234
|
+
* 流程的类型,长度不超过255个字符
|
|
1235
|
+
*/
|
|
1236
|
+
FlowType?: string
|
|
1237
|
+
|
|
1238
|
+
/**
|
|
1239
|
+
* 流程回调地址,长度不超过255个字符
|
|
1240
|
+
*/
|
|
1241
|
+
CallbackUrl?: string
|
|
1242
|
+
|
|
1243
|
+
/**
|
|
1244
|
+
* 流程签约方列表,最多不超过5个参与方
|
|
1245
|
+
*/
|
|
1246
|
+
FlowApprovers?: Array<FlowApproverInfo>
|
|
1247
|
+
|
|
1248
|
+
/**
|
|
1249
|
+
* 合同签署顺序类型(无序签,顺序签),默认为false,即有序签署
|
|
1250
|
+
*/
|
|
1251
|
+
Unordered?: boolean
|
|
1252
|
+
|
|
1253
|
+
/**
|
|
1254
|
+
* 签署文件中的控件,如:填写控件等
|
|
1255
|
+
*/
|
|
1256
|
+
Components?: Array<Component>
|
|
1257
|
+
}
|
|
1258
|
+
|
|
1259
|
+
/**
|
|
1260
|
+
* ChannelCreateFlowByFiles返回参数结构体
|
|
1261
|
+
*/
|
|
1262
|
+
export interface ChannelCreateFlowByFilesResponse {
|
|
1263
|
+
/**
|
|
1264
|
+
* 合同流程ID
|
|
1265
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1266
|
+
*/
|
|
1267
|
+
FlowId: string
|
|
1268
|
+
|
|
1269
|
+
/**
|
|
1270
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1271
|
+
*/
|
|
1272
|
+
RequestId?: string
|
|
1273
|
+
}
|
|
1274
|
+
|
|
1275
|
+
/**
|
|
1276
|
+
* UploadFiles返回参数结构体
|
|
1277
|
+
*/
|
|
1278
|
+
export interface UploadFilesResponse {
|
|
1279
|
+
/**
|
|
1280
|
+
* 文件id数组
|
|
1281
|
+
*/
|
|
1282
|
+
FileIds: Array<string>
|
|
1283
|
+
|
|
1284
|
+
/**
|
|
1285
|
+
* 上传成功文件数量
|
|
1286
|
+
*/
|
|
1287
|
+
TotalCount: number
|
|
1288
|
+
|
|
1289
|
+
/**
|
|
1290
|
+
* 文件Url
|
|
1291
|
+
*/
|
|
1292
|
+
FileUrls: Array<string>
|
|
1293
|
+
|
|
1294
|
+
/**
|
|
1295
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1296
|
+
*/
|
|
1297
|
+
RequestId?: string
|
|
1231
1298
|
}
|
|
1232
1299
|
|
|
1233
1300
|
/**
|
|
@@ -1407,33 +1474,82 @@ export interface FlowInfo {
|
|
|
1407
1474
|
}
|
|
1408
1475
|
|
|
1409
1476
|
/**
|
|
1410
|
-
*
|
|
1477
|
+
* 签署链接内容
|
|
1411
1478
|
*/
|
|
1412
|
-
export interface
|
|
1479
|
+
export interface SignUrlInfo {
|
|
1413
1480
|
/**
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1481
|
+
* 签署链接
|
|
1482
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1483
|
+
*/
|
|
1484
|
+
SignUrl: string
|
|
1417
1485
|
|
|
1418
1486
|
/**
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1487
|
+
* 链接失效时间,默认30分钟
|
|
1488
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1489
|
+
*/
|
|
1490
|
+
Deadline: number
|
|
1422
1491
|
|
|
1423
1492
|
/**
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1493
|
+
* 当流程为顺序签署此参数有效时,数字越小优先级越高,暂不支持并行签署 可选
|
|
1494
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1495
|
+
*/
|
|
1496
|
+
SignOrder: number
|
|
1427
1497
|
|
|
1428
1498
|
/**
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1499
|
+
* 签署人编号
|
|
1500
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1501
|
+
*/
|
|
1502
|
+
SignId: string
|
|
1432
1503
|
|
|
1433
1504
|
/**
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1505
|
+
* 自定义用户编号
|
|
1506
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1507
|
+
*/
|
|
1508
|
+
CustomUserId: string
|
|
1509
|
+
|
|
1510
|
+
/**
|
|
1511
|
+
* 用户姓名
|
|
1512
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1513
|
+
*/
|
|
1514
|
+
Name: string
|
|
1515
|
+
|
|
1516
|
+
/**
|
|
1517
|
+
* 用户手机号码
|
|
1518
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1519
|
+
*/
|
|
1520
|
+
Mobile: string
|
|
1521
|
+
|
|
1522
|
+
/**
|
|
1523
|
+
* 签署参与者机构名字
|
|
1524
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1525
|
+
*/
|
|
1526
|
+
OrganizationName: string
|
|
1527
|
+
|
|
1528
|
+
/**
|
|
1529
|
+
* 参与者类型:
|
|
1530
|
+
ORGANIZATION 企业经办人
|
|
1531
|
+
PERSON 自然人
|
|
1532
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1533
|
+
*/
|
|
1534
|
+
ApproverType: string
|
|
1535
|
+
|
|
1536
|
+
/**
|
|
1537
|
+
* 经办人身份证号
|
|
1538
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1539
|
+
*/
|
|
1540
|
+
IdCardNumber: string
|
|
1541
|
+
|
|
1542
|
+
/**
|
|
1543
|
+
* 签署链接对应流程Id
|
|
1544
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1545
|
+
*/
|
|
1546
|
+
FlowId: string
|
|
1547
|
+
|
|
1548
|
+
/**
|
|
1549
|
+
* 企业经办人 用户在渠道的编号
|
|
1550
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1551
|
+
*/
|
|
1552
|
+
OpenId: string
|
|
1437
1553
|
}
|
|
1438
1554
|
|
|
1439
1555
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
|
|
2
|
-
import { SyncProxyOrganizationResponse, PrepareFlowsResponse, GetDownloadFlowUrlResponse, DescribeResourceUrlsByFlowsResponse, DescribeTemplatesResponse, OperateChannelTemplateResponse, CreateSignUrlsRequest, DescribeFlowDetailInfoRequest, UploadFilesRequest, DescribeResourceUrlsByFlowsRequest, GetDownloadFlowUrlRequest, CreateConsoleLoginUrlRequest, CreateFlowsByTemplatesResponse, PrepareFlowsRequest, SyncProxyOrganizationOperatorsResponse, DescribeTemplatesRequest, SyncProxyOrganizationOperatorsRequest, CreateConsoleLoginUrlResponse, CreateFlowsByTemplatesRequest, SyncProxyOrganizationRequest, CreateSignUrlsResponse, OperateChannelTemplateRequest,
|
|
2
|
+
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
3
|
/**
|
|
4
4
|
* essbasic client
|
|
5
5
|
* @class
|
|
@@ -11,7 +11,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
11
11
|
*/
|
|
12
12
|
CreateFlowsByTemplates(req: CreateFlowsByTemplatesRequest, cb?: (error: string, rep: CreateFlowsByTemplatesResponse) => void): Promise<CreateFlowsByTemplatesResponse>;
|
|
13
13
|
/**
|
|
14
|
-
* 此接口(GetDownloadFlowUrl
|
|
14
|
+
* 此接口(GetDownloadFlowUrl)用于创建电子签批量下载地址,让合作企业进入控制台直接下载,支持客户合同(流程)按照自定义文件夹形式 分类下载。
|
|
15
15
|
当前接口限制最多合同(流程)50个.
|
|
16
16
|
|
|
17
17
|
*/
|
|
@@ -20,10 +20,14 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
20
20
|
* 通过此接口(DescribeTemplates)查询该企业在电子签渠道版中配置的有效模板列表
|
|
21
21
|
*/
|
|
22
22
|
DescribeTemplates(req: DescribeTemplatesRequest, cb?: (error: string, rep: DescribeTemplatesResponse) => void): Promise<DescribeTemplatesResponse>;
|
|
23
|
+
/**
|
|
24
|
+
* 接口(ChannelCreateFlowByFiles)用于渠道版通过文件创建流程。此接口不可直接使用,需要运营申请
|
|
25
|
+
*/
|
|
26
|
+
ChannelCreateFlowByFiles(req: ChannelCreateFlowByFilesRequest, cb?: (error: string, rep: ChannelCreateFlowByFilesResponse) => void): Promise<ChannelCreateFlowByFilesResponse>;
|
|
23
27
|
/**
|
|
24
28
|
* 该接口 (PrepareFlows) 用于创建待发起文件
|
|
25
29
|
用户通过该接口进入流程发起的确认页面,进行发起信息二次确认, 如果确认则进行正常发起。
|
|
26
|
-
目前该接口只支持B2C
|
|
30
|
+
目前该接口只支持B2C,不建议使用。
|
|
27
31
|
*/
|
|
28
32
|
PrepareFlows(req: PrepareFlowsRequest, cb?: (error: string, rep: PrepareFlowsResponse) => void): Promise<PrepareFlowsResponse>;
|
|
29
33
|
/**
|
|
@@ -34,6 +38,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
34
38
|
对渠道子客进行模板库中模板授权,修改操作
|
|
35
39
|
*/
|
|
36
40
|
OperateChannelTemplate(req: OperateChannelTemplateRequest, cb?: (error: string, rep: OperateChannelTemplateResponse) => void): Promise<OperateChannelTemplateResponse>;
|
|
41
|
+
/**
|
|
42
|
+
* 渠道通过图片为子客代创建印章,图片最大5m;此接口不可直接使用,需要运营申请
|
|
43
|
+
*/
|
|
44
|
+
CreateSealByImage(req: CreateSealByImageRequest, cb?: (error: string, rep: CreateSealByImageResponse) => void): Promise<CreateSealByImageResponse>;
|
|
37
45
|
/**
|
|
38
46
|
* 创建参与者签署短链
|
|
39
47
|
*/
|
|
@@ -61,8 +69,9 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
61
69
|
*/
|
|
62
70
|
SyncProxyOrganization(req: SyncProxyOrganizationRequest, cb?: (error: string, rep: SyncProxyOrganizationResponse) => void): Promise<SyncProxyOrganizationResponse>;
|
|
63
71
|
/**
|
|
64
|
-
|
|
65
|
-
|
|
72
|
+
* 根据流程信息批量获取资源下载链接,可直接下载
|
|
73
|
+
限制:只能下载合作企业授权过的、单方签署的流程文件(若合作企业与渠道是同一企业,可以下载所有流程文件)
|
|
74
|
+
*/
|
|
66
75
|
DescribeResourceUrlsByFlows(req: DescribeResourceUrlsByFlowsRequest, cb?: (error: string, rep: DescribeResourceUrlsByFlowsResponse) => void): Promise<DescribeResourceUrlsByFlowsResponse>;
|
|
67
76
|
/**
|
|
68
77
|
* 此接口(UploadFiles)用于文件上传。
|
|
@@ -34,7 +34,7 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
34
34
|
return this.request("CreateFlowsByTemplates", req, cb);
|
|
35
35
|
}
|
|
36
36
|
/**
|
|
37
|
-
* 此接口(GetDownloadFlowUrl
|
|
37
|
+
* 此接口(GetDownloadFlowUrl)用于创建电子签批量下载地址,让合作企业进入控制台直接下载,支持客户合同(流程)按照自定义文件夹形式 分类下载。
|
|
38
38
|
当前接口限制最多合同(流程)50个.
|
|
39
39
|
|
|
40
40
|
*/
|
|
@@ -47,10 +47,16 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
47
47
|
async DescribeTemplates(req, cb) {
|
|
48
48
|
return this.request("DescribeTemplates", req, cb);
|
|
49
49
|
}
|
|
50
|
+
/**
|
|
51
|
+
* 接口(ChannelCreateFlowByFiles)用于渠道版通过文件创建流程。此接口不可直接使用,需要运营申请
|
|
52
|
+
*/
|
|
53
|
+
async ChannelCreateFlowByFiles(req, cb) {
|
|
54
|
+
return this.request("ChannelCreateFlowByFiles", req, cb);
|
|
55
|
+
}
|
|
50
56
|
/**
|
|
51
57
|
* 该接口 (PrepareFlows) 用于创建待发起文件
|
|
52
58
|
用户通过该接口进入流程发起的确认页面,进行发起信息二次确认, 如果确认则进行正常发起。
|
|
53
|
-
目前该接口只支持B2C
|
|
59
|
+
目前该接口只支持B2C,不建议使用。
|
|
54
60
|
*/
|
|
55
61
|
async PrepareFlows(req, cb) {
|
|
56
62
|
return this.request("PrepareFlows", req, cb);
|
|
@@ -65,6 +71,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
65
71
|
async OperateChannelTemplate(req, cb) {
|
|
66
72
|
return this.request("OperateChannelTemplate", req, cb);
|
|
67
73
|
}
|
|
74
|
+
/**
|
|
75
|
+
* 渠道通过图片为子客代创建印章,图片最大5m;此接口不可直接使用,需要运营申请
|
|
76
|
+
*/
|
|
77
|
+
async CreateSealByImage(req, cb) {
|
|
78
|
+
return this.request("CreateSealByImage", req, cb);
|
|
79
|
+
}
|
|
68
80
|
/**
|
|
69
81
|
* 创建参与者签署短链
|
|
70
82
|
*/
|
|
@@ -104,8 +116,9 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
104
116
|
return this.request("SyncProxyOrganization", req, cb);
|
|
105
117
|
}
|
|
106
118
|
/**
|
|
107
|
-
|
|
108
|
-
|
|
119
|
+
* 根据流程信息批量获取资源下载链接,可直接下载
|
|
120
|
+
限制:只能下载合作企业授权过的、单方签署的流程文件(若合作企业与渠道是同一企业,可以下载所有流程文件)
|
|
121
|
+
*/
|
|
109
122
|
async DescribeResourceUrlsByFlows(req, cb) {
|
|
110
123
|
return this.request("DescribeResourceUrlsByFlows", req, cb);
|
|
111
124
|
}
|