tencentcloud-sdk-nodejs 4.0.433 → 4.0.436
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 +483 -0
- package/SERVICE_CHANGELOG.md +337 -66
- package/package.json +1 -1
- package/products.md +18 -18
- package/src/common/sdk_version.ts +1 -1
- package/src/services/as/v20180419/as_client.ts +3 -1
- package/src/services/as/v20180419/as_models.ts +16 -6
- package/src/services/asr/v20190614/asr_models.ts +11 -8
- package/src/services/bma/v20210624/bma_client.ts +45 -8
- package/src/services/bma/v20210624/bma_models.ts +217 -37
- package/src/services/cpdp/v20190820/cpdp_models.ts +21 -0
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +1 -1
- package/src/services/es/v20180416/es_models.ts +11 -0
- package/src/services/ess/v20201111/ess_client.ts +43 -11
- package/src/services/ess/v20201111/ess_models.ts +289 -57
- package/src/services/faceid/v20180301/faceid_models.ts +5 -0
- package/src/services/live/v20180801/live_client.ts +1 -1
- package/src/services/monitor/v20180724/monitor_models.ts +12 -0
- package/src/services/tag/v20180813/tag_models.ts +2 -2
- package/src/services/teo/v20220106/teo_client.ts +9 -3
- package/src/services/teo/v20220106/teo_models.ts +522 -250
- package/src/services/trp/v20210515/trp_models.ts +5 -0
- package/src/services/vm/index.ts +2 -0
- package/src/services/vm/v20210922/index.ts +6 -0
- package/src/services/vm/v20210922/vm_client.ts +100 -0
- package/src/services/vm/v20210922/vm_models.ts +1023 -0
- package/src/services/vod/v20180717/vod_models.ts +9 -0
- package/src/services/vpc/v20170312/vpc_client.ts +13 -0
- package/src/services/vpc/v20170312/vpc_models.ts +105 -0
- package/src/services/waf/v20180125/waf_client.ts +2 -1
- package/src/services/waf/v20180125/waf_models.ts +133 -91
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/as/v20180419/as_client.d.ts +3 -1
- package/tencentcloud/services/as/v20180419/as_client.js +3 -1
- package/tencentcloud/services/as/v20180419/as_models.d.ts +14 -6
- package/tencentcloud/services/asr/v20190614/asr_models.d.ts +10 -8
- package/tencentcloud/services/bma/v20210624/bma_client.d.ts +15 -3
- package/tencentcloud/services/bma/v20210624/bma_client.js +21 -3
- package/tencentcloud/services/bma/v20210624/bma_models.d.ts +184 -33
- package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +19 -0
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +1 -1
- package/tencentcloud/services/es/v20180416/es_models.d.ts +9 -0
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +19 -6
- package/tencentcloud/services/ess/v20201111/ess_client.js +23 -6
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +244 -49
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +4 -0
- package/tencentcloud/services/live/v20180801/live_client.d.ts +1 -1
- package/tencentcloud/services/live/v20180801/live_client.js +1 -1
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +10 -0
- package/tencentcloud/services/tag/v20180813/tag_models.d.ts +2 -2
- package/tencentcloud/services/teo/v20220106/teo_client.d.ts +1 -1
- package/tencentcloud/services/teo/v20220106/teo_models.d.ts +464 -218
- package/tencentcloud/services/trp/v20210515/trp_models.d.ts +4 -0
- package/tencentcloud/services/vm/index.d.ts +4 -0
- package/tencentcloud/services/vm/index.js +2 -0
- package/tencentcloud/services/vm/v20210922/index.d.ts +6 -0
- package/tencentcloud/services/vm/v20210922/index.js +9 -0
- package/tencentcloud/services/vm/v20210922/vm_client.d.ts +28 -0
- package/tencentcloud/services/vm/v20210922/vm_client.js +57 -0
- package/tencentcloud/services/vm/v20210922/vm_models.d.ts +866 -0
- package/tencentcloud/services/vm/v20210922/vm_models.js +18 -0
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +8 -0
- package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +5 -1
- package/tencentcloud/services/vpc/v20170312/vpc_client.js +6 -0
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +88 -0
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +110 -75
- package/test/bma.v20210624.test.js +32 -2
- package/test/ess.v20201111.test.js +22 -2
- package/test/vm.v20210922.test.js +61 -0
- package/test/vpc.v20170312.test.js +10 -0
|
@@ -50,6 +50,46 @@ export interface ProtectURLInfo {
|
|
|
50
50
|
CreateTime: string
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
+
/**
|
|
54
|
+
* ModifyCRWhiteList请求参数结构体
|
|
55
|
+
*/
|
|
56
|
+
export interface ModifyCRWhiteListRequest {
|
|
57
|
+
/**
|
|
58
|
+
* 白名单ID
|
|
59
|
+
*/
|
|
60
|
+
WhiteListId?: number
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* 平台名称
|
|
64
|
+
*/
|
|
65
|
+
PlatForm?: string
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* 平台站点链接
|
|
69
|
+
*/
|
|
70
|
+
PlatUrl?: string
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* 作者ID
|
|
74
|
+
*/
|
|
75
|
+
AuthorId?: string
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* 作品ID
|
|
79
|
+
*/
|
|
80
|
+
WorksId?: number
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* xxx
|
|
84
|
+
*/
|
|
85
|
+
WorkId?: number
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* xxx
|
|
89
|
+
*/
|
|
90
|
+
WhiteSites?: string
|
|
91
|
+
}
|
|
92
|
+
|
|
53
93
|
/**
|
|
54
94
|
* CreateCRUserVerify请求参数结构体
|
|
55
95
|
*/
|
|
@@ -91,38 +131,18 @@ export interface CreateBPFalseTicketResponse {
|
|
|
91
131
|
}
|
|
92
132
|
|
|
93
133
|
/**
|
|
94
|
-
*
|
|
134
|
+
* CreateCRRightFile请求参数结构体
|
|
95
135
|
*/
|
|
96
|
-
export interface
|
|
97
|
-
/**
|
|
98
|
-
* x
|
|
99
|
-
*/
|
|
100
|
-
WorkName: string
|
|
101
|
-
|
|
136
|
+
export interface CreateCRRightFileRequest {
|
|
102
137
|
/**
|
|
103
|
-
*
|
|
104
|
-
*/
|
|
105
|
-
MonitorStatus: number
|
|
106
|
-
|
|
107
|
-
/**
|
|
108
|
-
* x
|
|
109
|
-
*/
|
|
110
|
-
AuthStatus: number
|
|
111
|
-
|
|
112
|
-
/**
|
|
113
|
-
* x
|
|
114
|
-
*/
|
|
115
|
-
CommStatus: number
|
|
116
|
-
|
|
117
|
-
/**
|
|
118
|
-
* x
|
|
138
|
+
* xxx
|
|
119
139
|
*/
|
|
120
|
-
|
|
140
|
+
WorkId: number
|
|
121
141
|
|
|
122
142
|
/**
|
|
123
|
-
*
|
|
143
|
+
* xxx
|
|
124
144
|
*/
|
|
125
|
-
|
|
145
|
+
FileList: Array<File>
|
|
126
146
|
}
|
|
127
147
|
|
|
128
148
|
/**
|
|
@@ -255,6 +275,56 @@ export interface CreateBPOfflineTicketResponse {
|
|
|
255
275
|
RequestId?: string
|
|
256
276
|
}
|
|
257
277
|
|
|
278
|
+
/**
|
|
279
|
+
* CreateCRTort请求参数结构体
|
|
280
|
+
*/
|
|
281
|
+
export interface CreateCRTortRequest {
|
|
282
|
+
/**
|
|
283
|
+
* xx
|
|
284
|
+
*/
|
|
285
|
+
WorkId: number
|
|
286
|
+
|
|
287
|
+
/**
|
|
288
|
+
* xx
|
|
289
|
+
*/
|
|
290
|
+
TortURL: string
|
|
291
|
+
|
|
292
|
+
/**
|
|
293
|
+
* xx
|
|
294
|
+
*/
|
|
295
|
+
TortPlat?: string
|
|
296
|
+
|
|
297
|
+
/**
|
|
298
|
+
* xx
|
|
299
|
+
*/
|
|
300
|
+
TortTitle?: string
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
/**
|
|
304
|
+
* UpdateCRWork请求参数结构体
|
|
305
|
+
*/
|
|
306
|
+
export interface UpdateCRWorkRequest {
|
|
307
|
+
/**
|
|
308
|
+
* xx
|
|
309
|
+
*/
|
|
310
|
+
WorkId: number
|
|
311
|
+
|
|
312
|
+
/**
|
|
313
|
+
* xx
|
|
314
|
+
*/
|
|
315
|
+
ContentType?: string
|
|
316
|
+
|
|
317
|
+
/**
|
|
318
|
+
* xx
|
|
319
|
+
*/
|
|
320
|
+
Content?: string
|
|
321
|
+
|
|
322
|
+
/**
|
|
323
|
+
* xx
|
|
324
|
+
*/
|
|
325
|
+
CertType?: string
|
|
326
|
+
}
|
|
327
|
+
|
|
258
328
|
/**
|
|
259
329
|
* DescribeBPFakeURLs请求参数结构体
|
|
260
330
|
*/
|
|
@@ -820,9 +890,14 @@ export interface ModifyCRMonitorRequest {
|
|
|
820
890
|
WorkId: number
|
|
821
891
|
|
|
822
892
|
/**
|
|
823
|
-
* 监测状态 1-开启监测 2-关闭监测
|
|
893
|
+
* 监测状态 1-开启监测 2-关闭监测
|
|
824
894
|
*/
|
|
825
895
|
MonitorStatus: string
|
|
896
|
+
|
|
897
|
+
/**
|
|
898
|
+
* 默认不停止,支持续期
|
|
899
|
+
*/
|
|
900
|
+
MonitorEnd?: string
|
|
826
901
|
}
|
|
827
902
|
|
|
828
903
|
/**
|
|
@@ -1106,28 +1181,63 @@ export interface DescribeCRMonitorsRequest {
|
|
|
1106
1181
|
}
|
|
1107
1182
|
|
|
1108
1183
|
/**
|
|
1109
|
-
*
|
|
1184
|
+
* DescribeCRWorkInfo返回参数结构体
|
|
1110
1185
|
*/
|
|
1111
|
-
export interface
|
|
1186
|
+
export interface DescribeCRWorkInfoResponse {
|
|
1112
1187
|
/**
|
|
1113
|
-
*
|
|
1188
|
+
* x
|
|
1114
1189
|
*/
|
|
1115
|
-
|
|
1190
|
+
WorkName: string
|
|
1116
1191
|
|
|
1117
1192
|
/**
|
|
1118
|
-
*
|
|
1193
|
+
* x
|
|
1119
1194
|
*/
|
|
1120
|
-
|
|
1195
|
+
MonitorStatus: number
|
|
1121
1196
|
|
|
1122
1197
|
/**
|
|
1123
|
-
*
|
|
1198
|
+
* x
|
|
1124
1199
|
*/
|
|
1125
|
-
|
|
1200
|
+
AuthStatus: number
|
|
1126
1201
|
|
|
1127
1202
|
/**
|
|
1128
|
-
*
|
|
1203
|
+
* x
|
|
1129
1204
|
*/
|
|
1130
|
-
|
|
1205
|
+
CommStatus: number
|
|
1206
|
+
|
|
1207
|
+
/**
|
|
1208
|
+
* x
|
|
1209
|
+
*/
|
|
1210
|
+
IsProducer: number
|
|
1211
|
+
|
|
1212
|
+
/**
|
|
1213
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1214
|
+
*/
|
|
1215
|
+
RequestId?: string
|
|
1216
|
+
}
|
|
1217
|
+
|
|
1218
|
+
/**
|
|
1219
|
+
* CreateCRRightFile返回参数结构体
|
|
1220
|
+
*/
|
|
1221
|
+
export interface CreateCRRightFileResponse {
|
|
1222
|
+
/**
|
|
1223
|
+
* xxx
|
|
1224
|
+
*/
|
|
1225
|
+
FileIds: Array<number>
|
|
1226
|
+
|
|
1227
|
+
/**
|
|
1228
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1229
|
+
*/
|
|
1230
|
+
RequestId?: string
|
|
1231
|
+
}
|
|
1232
|
+
|
|
1233
|
+
/**
|
|
1234
|
+
* ModifyCRWhiteList返回参数结构体
|
|
1235
|
+
*/
|
|
1236
|
+
export interface ModifyCRWhiteListResponse {
|
|
1237
|
+
/**
|
|
1238
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1239
|
+
*/
|
|
1240
|
+
RequestId?: string
|
|
1131
1241
|
}
|
|
1132
1242
|
|
|
1133
1243
|
/**
|
|
@@ -1445,6 +1555,51 @@ export interface CreateBPFakeURLResponse {
|
|
|
1445
1555
|
RequestId?: string
|
|
1446
1556
|
}
|
|
1447
1557
|
|
|
1558
|
+
/**
|
|
1559
|
+
* CreateCRTort返回参数结构体
|
|
1560
|
+
*/
|
|
1561
|
+
export interface CreateCRTortResponse {
|
|
1562
|
+
/**
|
|
1563
|
+
* xx
|
|
1564
|
+
*/
|
|
1565
|
+
WorkId: number
|
|
1566
|
+
|
|
1567
|
+
/**
|
|
1568
|
+
* xx
|
|
1569
|
+
*/
|
|
1570
|
+
TortId: number
|
|
1571
|
+
|
|
1572
|
+
/**
|
|
1573
|
+
* xx
|
|
1574
|
+
*/
|
|
1575
|
+
TortTitle: string
|
|
1576
|
+
|
|
1577
|
+
/**
|
|
1578
|
+
* xx
|
|
1579
|
+
*/
|
|
1580
|
+
TortPlat: string
|
|
1581
|
+
|
|
1582
|
+
/**
|
|
1583
|
+
* xx
|
|
1584
|
+
*/
|
|
1585
|
+
TortURL: string
|
|
1586
|
+
|
|
1587
|
+
/**
|
|
1588
|
+
* xx
|
|
1589
|
+
*/
|
|
1590
|
+
TortDomain: string
|
|
1591
|
+
|
|
1592
|
+
/**
|
|
1593
|
+
* xx
|
|
1594
|
+
*/
|
|
1595
|
+
TortBodyName: string
|
|
1596
|
+
|
|
1597
|
+
/**
|
|
1598
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1599
|
+
*/
|
|
1600
|
+
RequestId?: string
|
|
1601
|
+
}
|
|
1602
|
+
|
|
1448
1603
|
/**
|
|
1449
1604
|
* CreateBPFalseTicket请求参数结构体
|
|
1450
1605
|
*/
|
|
@@ -1465,6 +1620,31 @@ export interface ModifyCRMonitorResponse {
|
|
|
1465
1620
|
RequestId?: string
|
|
1466
1621
|
}
|
|
1467
1622
|
|
|
1623
|
+
/**
|
|
1624
|
+
* 权属文件列表
|
|
1625
|
+
*/
|
|
1626
|
+
export interface File {
|
|
1627
|
+
/**
|
|
1628
|
+
* xxx
|
|
1629
|
+
*/
|
|
1630
|
+
FileUrl: string
|
|
1631
|
+
|
|
1632
|
+
/**
|
|
1633
|
+
* xxx
|
|
1634
|
+
*/
|
|
1635
|
+
FileType: number
|
|
1636
|
+
|
|
1637
|
+
/**
|
|
1638
|
+
* xxx
|
|
1639
|
+
*/
|
|
1640
|
+
ValidStartDate: string
|
|
1641
|
+
|
|
1642
|
+
/**
|
|
1643
|
+
* xxx
|
|
1644
|
+
*/
|
|
1645
|
+
ValidEndDate: string
|
|
1646
|
+
}
|
|
1647
|
+
|
|
1468
1648
|
/**
|
|
1469
1649
|
* DescribeBPProtectURLs请求参数结构体
|
|
1470
1650
|
*/
|
|
@@ -4237,6 +4237,8 @@ SUCCESS:支付成功
|
|
|
4237
4237
|
CLOSED:关单
|
|
4238
4238
|
PAY_FAIL:支付失败
|
|
4239
4239
|
REVOKE:退票
|
|
4240
|
+
PART_REFUND:部分退款
|
|
4241
|
+
FULL_REFUND:全部退款
|
|
4240
4242
|
*/
|
|
4241
4243
|
OrderStatus: string
|
|
4242
4244
|
|
|
@@ -8796,6 +8798,25 @@ development: 开发环境
|
|
|
8796
8798
|
* 公司信息
|
|
8797
8799
|
*/
|
|
8798
8800
|
OrganizationInfo?: OrganizationInfo
|
|
8801
|
+
|
|
8802
|
+
/**
|
|
8803
|
+
* 子商户证件类型
|
|
8804
|
+
1 - 身份证
|
|
8805
|
+
3 - 回乡证
|
|
8806
|
+
4 - 中国护照
|
|
8807
|
+
5 - 台胞证
|
|
8808
|
+
19 - 外国护照
|
|
8809
|
+
52 - 组织机构代码证
|
|
8810
|
+
68 - 营业执照
|
|
8811
|
+
73 - 统一社会信用代码
|
|
8812
|
+
*/
|
|
8813
|
+
SubMerchantIdType?: string
|
|
8814
|
+
|
|
8815
|
+
/**
|
|
8816
|
+
* 子商户证件号码
|
|
8817
|
+
<敏感信息>加密详见<a href="https://cloud.tencent.com/document/product/1122/48979" target="_blank">《商户端接口敏感信息加密说明》</a>
|
|
8818
|
+
*/
|
|
8819
|
+
SubMerchantIdCode?: string
|
|
8799
8820
|
}
|
|
8800
8821
|
|
|
8801
8822
|
/**
|
|
@@ -1997,6 +1997,11 @@ export interface CreateInstanceRequest {
|
|
|
1997
1997
|
* 可维护时间段
|
|
1998
1998
|
*/
|
|
1999
1999
|
OperationDuration?: OperationDuration
|
|
2000
|
+
|
|
2001
|
+
/**
|
|
2002
|
+
* 是否开启存算分离
|
|
2003
|
+
*/
|
|
2004
|
+
EnableHybridStorage?: boolean
|
|
2000
2005
|
}
|
|
2001
2006
|
|
|
2002
2007
|
/**
|
|
@@ -2539,6 +2544,12 @@ RENEW_FLAG_DEFAULT:不自动续费
|
|
|
2539
2544
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2540
2545
|
*/
|
|
2541
2546
|
AutoIndexEnabled: boolean
|
|
2547
|
+
|
|
2548
|
+
/**
|
|
2549
|
+
* 是否支持存储计算分离
|
|
2550
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2551
|
+
*/
|
|
2552
|
+
EnableHybridStorage: boolean
|
|
2542
2553
|
}
|
|
2543
2554
|
|
|
2544
2555
|
/**
|
|
@@ -33,8 +33,8 @@ import {
|
|
|
33
33
|
DescribeThirdPartyAuthCodeRequest,
|
|
34
34
|
Filter,
|
|
35
35
|
SignQrCode,
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
CreateFlowApproversResponse,
|
|
37
|
+
DescribeFlowInfoRequest,
|
|
38
38
|
CancelFlowRequest,
|
|
39
39
|
DescribeFlowBriefsResponse,
|
|
40
40
|
Component,
|
|
@@ -42,11 +42,13 @@ import {
|
|
|
42
42
|
FlowCreateApprover,
|
|
43
43
|
UploadFilesResponse,
|
|
44
44
|
DescribeThirdPartyAuthCodeResponse,
|
|
45
|
+
FlowDetailInfo,
|
|
45
46
|
CreateFlowByFilesResponse,
|
|
46
47
|
OrganizationInfo,
|
|
47
48
|
DescribeFlowBriefsRequest,
|
|
48
49
|
Recipient,
|
|
49
50
|
UserInfo,
|
|
51
|
+
FillApproverInfo,
|
|
50
52
|
SignUrl,
|
|
51
53
|
DescribeFileUrlsRequest,
|
|
52
54
|
ApproverInfo,
|
|
@@ -55,13 +57,16 @@ import {
|
|
|
55
57
|
DescribeFlowTemplatesResponse,
|
|
56
58
|
CreateFlowEvidenceReportRequest,
|
|
57
59
|
CreateBatchCancelFlowUrlResponse,
|
|
60
|
+
UploadFilesRequest,
|
|
58
61
|
StartFlowResponse,
|
|
62
|
+
GetTaskResultApiRequest,
|
|
59
63
|
FileInfo,
|
|
60
64
|
CreateBatchCancelFlowUrlRequest,
|
|
61
65
|
CreateMultiFlowSignQRCodeRequest,
|
|
62
66
|
CreateConvertTaskApiResponse,
|
|
63
67
|
CreateFlowSignReviewRequest,
|
|
64
68
|
CreateConvertTaskApiRequest,
|
|
69
|
+
DescribeFlowInfoResponse,
|
|
65
70
|
CreateSchemeUrlResponse,
|
|
66
71
|
CreateFlowByFilesRequest,
|
|
67
72
|
ApproverRestriction,
|
|
@@ -69,8 +74,10 @@ import {
|
|
|
69
74
|
CreateFlowResponse,
|
|
70
75
|
Agent,
|
|
71
76
|
FormField,
|
|
77
|
+
FlowApproverDetail,
|
|
72
78
|
DescribeFlowTemplatesRequest,
|
|
73
79
|
GetTaskResultApiResponse,
|
|
80
|
+
CreateFlowApproversRequest,
|
|
74
81
|
FlowBrief,
|
|
75
82
|
CcInfo,
|
|
76
83
|
} from "./ess_models"
|
|
@@ -95,6 +102,17 @@ export class Client extends AbstractClient {
|
|
|
95
102
|
return this.request("DescribeFileUrls", req, cb)
|
|
96
103
|
}
|
|
97
104
|
|
|
105
|
+
/**
|
|
106
|
+
* 查询合同详情
|
|
107
|
+
适用场景:可用于主动查询某个合同详情信息。
|
|
108
|
+
*/
|
|
109
|
+
async DescribeFlowInfo(
|
|
110
|
+
req: DescribeFlowInfoRequest,
|
|
111
|
+
cb?: (error: string, rep: DescribeFlowInfoResponse) => void
|
|
112
|
+
): Promise<DescribeFlowInfoResponse> {
|
|
113
|
+
return this.request("DescribeFlowInfo", req, cb)
|
|
114
|
+
}
|
|
115
|
+
|
|
98
116
|
/**
|
|
99
117
|
* 此接口用于发起流程
|
|
100
118
|
适用场景:见创建签署流程接口。
|
|
@@ -189,6 +207,19 @@ export class Client extends AbstractClient {
|
|
|
189
207
|
return this.request("CreateFlow", req, cb)
|
|
190
208
|
}
|
|
191
209
|
|
|
210
|
+
/**
|
|
211
|
+
* 此接口(CreateFlowByFiles)用来通过上传后的pdf资源编号来创建待签署的合同流程。
|
|
212
|
+
适用场景1:适用非制式的合同文件签署。一般开发者自己有完整的签署文件,可以通过该接口传入完整的PDF文件及流程信息生成待签署的合同流程。
|
|
213
|
+
适用场景2:可通过该接口传入制式合同文件,同时在指定位置添加签署控件。可以起到接口创建临时模板的效果。如果是标准的制式文件,建议使用模板功能生成模板ID进行合同流程的生成。
|
|
214
|
+
注意事项:该接口需要依赖“多文件上传”接口生成pdf资源编号(FileIds)进行使用。
|
|
215
|
+
*/
|
|
216
|
+
async CreateFlowByFiles(
|
|
217
|
+
req: CreateFlowByFilesRequest,
|
|
218
|
+
cb?: (error: string, rep: CreateFlowByFilesResponse) => void
|
|
219
|
+
): Promise<CreateFlowByFilesResponse> {
|
|
220
|
+
return this.request("CreateFlowByFiles", req, cb)
|
|
221
|
+
}
|
|
222
|
+
|
|
192
223
|
/**
|
|
193
224
|
* 此接口(CancelMultiFlowSignQRCode)用于取消一码多扫二维码。该接口对传入的二维码ID,若还在有效期内,可以提前失效。
|
|
194
225
|
*/
|
|
@@ -274,16 +305,17 @@ export class Client extends AbstractClient {
|
|
|
274
305
|
}
|
|
275
306
|
|
|
276
307
|
/**
|
|
277
|
-
*
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
308
|
+
* 补充签署流程本企业签署人信息
|
|
309
|
+
适用场景:在通过模版或者文件发起合同时,若未指定本企业签署人信息,则流程发起后,可以调用此接口补充签署人。
|
|
310
|
+
同一签署人可以补充多个员工作为候选签署人,最终签署人取决于谁先领取合同完成签署。
|
|
311
|
+
|
|
312
|
+
注:目前暂时只支持补充来源于企业微信的员工作为候选签署人
|
|
281
313
|
*/
|
|
282
|
-
async
|
|
283
|
-
req:
|
|
284
|
-
cb?: (error: string, rep:
|
|
285
|
-
): Promise<
|
|
286
|
-
return this.request("
|
|
314
|
+
async CreateFlowApprovers(
|
|
315
|
+
req: CreateFlowApproversRequest,
|
|
316
|
+
cb?: (error: string, rep: CreateFlowApproversResponse) => void
|
|
317
|
+
): Promise<CreateFlowApproversResponse> {
|
|
318
|
+
return this.request("CreateFlowApprovers", req, cb)
|
|
287
319
|
}
|
|
288
320
|
|
|
289
321
|
/**
|