tencentcloud-sdk-nodejs-ess 4.0.445 → 4.0.447
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 +590 -0
- package/SERVICE_CHANGELOG.md +699 -7
- package/package.json +1 -1
- package/products.md +16 -16
- package/src/services/ess/v20201111/ess_client.ts +13 -0
- package/src/services/ess/v20201111/ess_models.ts +108 -2
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +5 -1
- package/tencentcloud/services/ess/v20201111/ess_client.js +6 -0
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +90 -2
package/package.json
CHANGED
package/products.md
CHANGED
|
@@ -37,14 +37,14 @@
|
|
|
37
37
|
| casb | [云数据加密代理网关](https://cloud.tencent.com/document/product/1303) | 2022-04-04 06:11:55 |
|
|
38
38
|
| cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2022-09-15 11:03:22 |
|
|
39
39
|
| cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2022-09-08 06:11:23 |
|
|
40
|
-
| ccc | [云呼叫中心](https://cloud.tencent.com/document/product/679) | 2022-09-
|
|
41
|
-
| cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2022-09-
|
|
40
|
+
| ccc | [云呼叫中心](https://cloud.tencent.com/document/product/679) | 2022-09-21 06:12:40 |
|
|
41
|
+
| cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2022-09-21 06:12:53 |
|
|
42
42
|
| cdc | [本地专用集群](https://cloud.tencent.com/document/product/1346) | 2022-07-30 15:07:54 |
|
|
43
43
|
| cdn | [内容分发网络](https://cloud.tencent.com/document/product/228) | 2022-09-19 06:14:28 |
|
|
44
44
|
| cds | [数据安全审计](https://cloud.tencent.com/document/product/856) | 2022-04-04 06:17:07 |
|
|
45
45
|
| cfg | [混沌演练平台](https://cloud.tencent.com/document/product/1500) | 2022-07-22 06:04:01 |
|
|
46
46
|
| cfs | [文件存储](https://cloud.tencent.com/document/product/582) | 2022-09-07 06:15:13 |
|
|
47
|
-
| cfw | [云防火墙](https://cloud.tencent.com/document/product/1132) | 2022-09-
|
|
47
|
+
| cfw | [云防火墙](https://cloud.tencent.com/document/product/1132) | 2022-09-20 06:15:17 |
|
|
48
48
|
| chdfs | [云 HDFS](https://cloud.tencent.com/document/product/1105) | 2022-07-04 06:04:36 |
|
|
49
49
|
| ciam | [账号风控平台](https://cloud.tencent.com/document/product/1441) | 2022-07-19 20:27:09 |
|
|
50
50
|
| cii | [智能保险助手](https://cloud.tencent.com/document/product/1368) | 2022-06-27 06:06:02 |
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
| cms | [内容安全](https://cloud.tencent.com/document/product) | 2020-10-29 08:03:08 |
|
|
62
62
|
| cpdp | [企业收付平台](https://cloud.tencent.com/document/product/1122) | 2022-09-14 06:15:14 |
|
|
63
63
|
| cr | [金融联络机器人](https://cloud.tencent.com/document/product/656) | 2021-02-24 08:03:24 |
|
|
64
|
-
| cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2022-09-
|
|
64
|
+
| cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2022-09-21 06:19:55 |
|
|
65
65
|
| cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2022-09-16 06:18:26 |
|
|
66
66
|
| cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 |
|
|
67
67
|
| cynosdb | [云原生数据库 TDSQL-C](https://cloud.tencent.com/document/product/1003) | 2022-09-14 06:18:19 |
|
|
@@ -87,10 +87,10 @@
|
|
|
87
87
|
| eis | [企业集成服务](https://cloud.tencent.com/document/product/1270) | 2022-08-16 06:23:41 |
|
|
88
88
|
| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2022-09-06 06:30:34 |
|
|
89
89
|
| es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2022-09-16 06:24:23 |
|
|
90
|
-
| ess | [电子签服务](https://cloud.tencent.com/document/product/1323) | 2022-09-
|
|
91
|
-
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2022-09-
|
|
90
|
+
| ess | [电子签服务](https://cloud.tencent.com/document/product/1323) | 2022-09-20 21:03:08 |
|
|
91
|
+
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2022-09-20 21:03:25 |
|
|
92
92
|
| facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2022-06-15 06:09:10 |
|
|
93
|
-
| faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2022-09-
|
|
93
|
+
| faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2022-09-20 06:29:06 |
|
|
94
94
|
| fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2022-04-04 06:43:06 |
|
|
95
95
|
| ft | [人像变换](https://cloud.tencent.com/document/product/1202) | 2022-04-04 06:43:12 |
|
|
96
96
|
| gaap | [全球应用加速](https://cloud.tencent.com/document/product/608) | 2022-09-01 06:29:26 |
|
|
@@ -111,10 +111,10 @@
|
|
|
111
111
|
| iotcloud | [物联网通信](https://cloud.tencent.com/document/product/634) | 2022-08-16 06:27:22 |
|
|
112
112
|
| iotexplorer | [物联网开发平台](https://cloud.tencent.com/document/product/1081) | 2022-09-12 06:28:33 |
|
|
113
113
|
| iottid | [物联网设备身份认证](https://cloud.tencent.com/document/product/1086) | 2022-04-04 06:49:46 |
|
|
114
|
-
| iotvideo | [物联网智能视频服务](https://cloud.tencent.com/document/product/1131) | 2022-
|
|
114
|
+
| iotvideo | [物联网智能视频服务](https://cloud.tencent.com/document/product/1131) | 2022-09-21 06:33:00 |
|
|
115
115
|
| iotvideoindustry | [物联网智能视频服务(行业版)](https://cloud.tencent.com/document/product/1361) | 2022-08-11 06:37:02 |
|
|
116
116
|
| irp | [智能推荐平台](https://cloud.tencent.com/document/product/1541) | 2022-08-19 06:27:03 |
|
|
117
|
-
| ivld | [视频智能标签](https://cloud.tencent.com/document/product/1509) | 2022-
|
|
117
|
+
| ivld | [视频智能标签](https://cloud.tencent.com/document/product/1509) | 2022-09-20 19:36:34 |
|
|
118
118
|
| kms | [密钥管理系统](https://cloud.tencent.com/document/product/573) | 2022-08-05 06:26:44 |
|
|
119
119
|
| lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2022-09-14 06:27:13 |
|
|
120
120
|
| live | [云直播](https://cloud.tencent.com/document/product/267) | 2022-09-16 06:31:07 |
|
|
@@ -126,9 +126,9 @@
|
|
|
126
126
|
| mgobe | [游戏联机对战引擎](https://cloud.tencent.com/document/product/1038) | 2022-07-08 06:11:32 |
|
|
127
127
|
| mmps | [小程序安全](https://cloud.tencent.com/document/product/1223) | 2022-08-25 06:38:57 |
|
|
128
128
|
| mna | [移动网络加速](https://cloud.tencent.com/document/product/1385) | 2022-09-14 20:21:28 |
|
|
129
|
-
| mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2022-09-
|
|
129
|
+
| mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2022-09-21 06:37:03 |
|
|
130
130
|
| monitor | [云监控](https://cloud.tencent.com/document/product/248) | 2022-09-15 06:31:40 |
|
|
131
|
-
| mps | [视频处理](https://cloud.tencent.com/document/product/862) | 2022-09-
|
|
131
|
+
| mps | [视频处理](https://cloud.tencent.com/document/product/862) | 2022-09-20 06:38:58 |
|
|
132
132
|
| mrs | [医疗报告结构化](https://cloud.tencent.com/document/product/1314) | 2022-06-28 06:14:04 |
|
|
133
133
|
| ms | [移动应用安全](https://cloud.tencent.com/document/product/283) | 2022-09-16 17:41:33 |
|
|
134
134
|
| msp | [迁移服务平台](https://cloud.tencent.com/document/product/659) | 2022-04-04 07:00:13 |
|
|
@@ -136,7 +136,7 @@
|
|
|
136
136
|
| nlp | [自然语言处理](https://cloud.tencent.com/document/product/271) | 2022-04-13 07:00:13 |
|
|
137
137
|
| npp | [号码保护](https://cloud.tencent.com/document/product) | 2020-04-22 08:00:22 |
|
|
138
138
|
| oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2022-08-30 06:43:16 |
|
|
139
|
-
| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2022-09-
|
|
139
|
+
| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2022-09-21 06:39:36 |
|
|
140
140
|
| organization | [企业组织](https://cloud.tencent.com/document/product/850) | 2022-07-21 06:14:50 |
|
|
141
141
|
| partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2022-09-05 06:41:45 |
|
|
142
142
|
| pds | [私域安全](https://cloud.tencent.com/document/product/1473) | 2022-04-04 07:02:02 |
|
|
@@ -182,14 +182,14 @@
|
|
|
182
182
|
| tdid | [分布式身份](https://cloud.tencent.com/document/product/1439) | 2022-04-04 07:15:50 |
|
|
183
183
|
| tdmq | [分布式消息队列](https://cloud.tencent.com/document/product/1179) | 2022-07-29 06:15:49 |
|
|
184
184
|
| tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2022-09-07 06:51:54 |
|
|
185
|
-
| teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2022-09-
|
|
185
|
+
| teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2022-09-20 06:52:09 |
|
|
186
186
|
| thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2022-06-02 06:15:03 |
|
|
187
187
|
| tia | [智能钛机器学习](https://cloud.tencent.com/document/product/851) | 2021-10-21 11:12:52 |
|
|
188
188
|
| tic | [腾讯云IaC平台](https://cloud.tencent.com/document/product/1213) | 2022-04-04 07:16:52 |
|
|
189
189
|
| ticm | [智能鉴黄](https://cloud.tencent.com/document/product/864) | 2021-01-07 08:08:15 |
|
|
190
190
|
| tics | [威胁情报云查服务](https://cloud.tencent.com/document/product/1013) | 2022-04-04 07:16:59 |
|
|
191
191
|
| tiems | [腾讯云 TI 平台 TI-EMS ](https://cloud.tencent.com/document/product/1120) | 2022-07-19 06:19:39 |
|
|
192
|
-
| tiia | [图像分析](https://cloud.tencent.com/document/product/865) | 2022-09-
|
|
192
|
+
| tiia | [图像分析](https://cloud.tencent.com/document/product/865) | 2022-09-20 06:53:40 |
|
|
193
193
|
| tione | [腾讯云 TI 平台 TI-ONE](https://cloud.tencent.com/document/product/851) | 2022-09-06 13:11:30 |
|
|
194
194
|
| tiw | [互动白板](https://cloud.tencent.com/document/product/1137) | 2022-05-17 06:17:19 |
|
|
195
195
|
| tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2022-09-15 06:43:33 |
|
|
@@ -197,7 +197,7 @@
|
|
|
197
197
|
| tms | [文本内容安全](https://cloud.tencent.com/document/product/1124) | 2022-04-04 07:18:11 |
|
|
198
198
|
| tmt | [机器翻译](https://cloud.tencent.com/document/product/551) | 2022-08-31 06:55:53 |
|
|
199
199
|
| trp | [T-Sec-安心平台(RP)](https://cloud.tencent.com/document/product/1458) | 2022-09-02 07:00:24 |
|
|
200
|
-
| trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2022-09-
|
|
200
|
+
| trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2022-09-20 06:56:04 |
|
|
201
201
|
| tse | [腾讯云微服务引擎](https://cloud.tencent.com/document/product/1364) | 2022-08-24 06:56:05 |
|
|
202
202
|
| tsf | [腾讯微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2022-07-27 06:18:08 |
|
|
203
203
|
| tsw | [腾讯微服务观测平台 TSW](https://cloud.tencent.com/document/product/1311) | 2022-04-04 07:22:40 |
|
|
@@ -209,7 +209,7 @@
|
|
|
209
209
|
| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2022-09-16 06:49:40 |
|
|
210
210
|
| waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2022-09-15 06:49:04 |
|
|
211
211
|
| wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2022-04-04 07:39:05 |
|
|
212
|
-
| wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2022-09-
|
|
212
|
+
| wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2022-09-19 21:02:53 |
|
|
213
213
|
| wss | [SSL证书管理服务](https://cloud.tencent.com/document/product) | 2020-04-01 08:53:44 |
|
|
214
214
|
| yinsuda | [音速达直播音乐版权引擎](https://cloud.tencent.com/document/product/1592) | 2022-09-16 06:52:09 |
|
|
215
215
|
| youmall | [](https://cloud.tencent.com/document/product) | 2019-01-11 11:24:15 |
|
|
@@ -47,14 +47,17 @@ import {
|
|
|
47
47
|
OrganizationInfo,
|
|
48
48
|
DescribeFlowBriefsRequest,
|
|
49
49
|
Recipient,
|
|
50
|
+
VerifyPdfRequest,
|
|
50
51
|
UserInfo,
|
|
51
52
|
FillApproverInfo,
|
|
52
53
|
SignUrl,
|
|
54
|
+
VerifyPdfResponse,
|
|
53
55
|
DescribeFileUrlsRequest,
|
|
54
56
|
ApproverInfo,
|
|
55
57
|
CreateFlowSignReviewResponse,
|
|
56
58
|
Caller,
|
|
57
59
|
DescribeFlowTemplatesResponse,
|
|
60
|
+
PdfVerifyResult,
|
|
58
61
|
CreateFlowEvidenceReportRequest,
|
|
59
62
|
CreateBatchCancelFlowUrlResponse,
|
|
60
63
|
UploadFilesRequest,
|
|
@@ -91,6 +94,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
91
94
|
super("ess.tencentcloudapi.com", "2020-11-11", clientConfig)
|
|
92
95
|
}
|
|
93
96
|
|
|
97
|
+
/**
|
|
98
|
+
* 验证合同文件
|
|
99
|
+
*/
|
|
100
|
+
async VerifyPdf(
|
|
101
|
+
req: VerifyPdfRequest,
|
|
102
|
+
cb?: (error: string, rep: VerifyPdfResponse) => void
|
|
103
|
+
): Promise<VerifyPdfResponse> {
|
|
104
|
+
return this.request("VerifyPdf", req, cb)
|
|
105
|
+
}
|
|
106
|
+
|
|
94
107
|
/**
|
|
95
108
|
* 查询文件下载URL
|
|
96
109
|
适用场景:通过传参合同流程编号,下载对应的合同PDF文件流到本地。
|
|
@@ -294,7 +294,7 @@ export interface CreateFlowRequest {
|
|
|
294
294
|
/**
|
|
295
295
|
* 暂未开放
|
|
296
296
|
*/
|
|
297
|
-
|
|
297
|
+
RelatedFlowId?: string
|
|
298
298
|
|
|
299
299
|
/**
|
|
300
300
|
* 签署流程的签署截止时间。
|
|
@@ -336,7 +336,7 @@ false:有序签
|
|
|
336
336
|
/**
|
|
337
337
|
* 暂未开放
|
|
338
338
|
*/
|
|
339
|
-
|
|
339
|
+
CallbackUrl?: string
|
|
340
340
|
|
|
341
341
|
/**
|
|
342
342
|
* 应用相关信息
|
|
@@ -1009,6 +1009,21 @@ export interface Recipient {
|
|
|
1009
1009
|
RecipientExtra?: string
|
|
1010
1010
|
}
|
|
1011
1011
|
|
|
1012
|
+
/**
|
|
1013
|
+
* VerifyPdf请求参数结构体
|
|
1014
|
+
*/
|
|
1015
|
+
export interface VerifyPdfRequest {
|
|
1016
|
+
/**
|
|
1017
|
+
* 合同Id,流程Id
|
|
1018
|
+
*/
|
|
1019
|
+
FlowId: string
|
|
1020
|
+
|
|
1021
|
+
/**
|
|
1022
|
+
* 调用方用户信息,userId 必填
|
|
1023
|
+
*/
|
|
1024
|
+
Operator?: UserInfo
|
|
1025
|
+
}
|
|
1026
|
+
|
|
1012
1027
|
/**
|
|
1013
1028
|
* 用户信息
|
|
1014
1029
|
*/
|
|
@@ -1081,6 +1096,27 @@ export interface SignUrl {
|
|
|
1081
1096
|
HttpSignUrl: string
|
|
1082
1097
|
}
|
|
1083
1098
|
|
|
1099
|
+
/**
|
|
1100
|
+
* VerifyPdf返回参数结构体
|
|
1101
|
+
*/
|
|
1102
|
+
export interface VerifyPdfResponse {
|
|
1103
|
+
/**
|
|
1104
|
+
* 验签结果,1-文件未被篡改,全部签名在腾讯电子签完成; 2-文件未被篡改,部分签名在腾讯电子签完成;3-文件被篡改;4-异常:文件内没有签名域;5-异常:文件签名格式错误
|
|
1105
|
+
*/
|
|
1106
|
+
VerifyResult: number
|
|
1107
|
+
|
|
1108
|
+
/**
|
|
1109
|
+
* 验签结果详情,内部状态1-验签成功,在电子签签署;2-验签成功,在其他平台签署;3-验签失败;4-pdf文件没有签名域
|
|
1110
|
+
;5-文件签名格式错误
|
|
1111
|
+
*/
|
|
1112
|
+
PdfVerifyResults: Array<PdfVerifyResult>
|
|
1113
|
+
|
|
1114
|
+
/**
|
|
1115
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1116
|
+
*/
|
|
1117
|
+
RequestId?: string
|
|
1118
|
+
}
|
|
1119
|
+
|
|
1084
1120
|
/**
|
|
1085
1121
|
* DescribeFileUrls请求参数结构体
|
|
1086
1122
|
*/
|
|
@@ -1283,6 +1319,76 @@ export interface DescribeFlowTemplatesResponse {
|
|
|
1283
1319
|
RequestId?: string
|
|
1284
1320
|
}
|
|
1285
1321
|
|
|
1322
|
+
/**
|
|
1323
|
+
* 合同文件验签单个结果结构体
|
|
1324
|
+
*/
|
|
1325
|
+
export interface PdfVerifyResult {
|
|
1326
|
+
/**
|
|
1327
|
+
* 验签结果
|
|
1328
|
+
*/
|
|
1329
|
+
VerifyResult: number
|
|
1330
|
+
|
|
1331
|
+
/**
|
|
1332
|
+
* 签署平台
|
|
1333
|
+
*/
|
|
1334
|
+
SignPlatform: string
|
|
1335
|
+
|
|
1336
|
+
/**
|
|
1337
|
+
* 签署人名称
|
|
1338
|
+
*/
|
|
1339
|
+
SignerName: string
|
|
1340
|
+
|
|
1341
|
+
/**
|
|
1342
|
+
* 签署时间
|
|
1343
|
+
*/
|
|
1344
|
+
SignTime: number
|
|
1345
|
+
|
|
1346
|
+
/**
|
|
1347
|
+
* 签名算法
|
|
1348
|
+
*/
|
|
1349
|
+
SignAlgorithm: string
|
|
1350
|
+
|
|
1351
|
+
/**
|
|
1352
|
+
* 签名证书序列号
|
|
1353
|
+
*/
|
|
1354
|
+
CertSn: string
|
|
1355
|
+
|
|
1356
|
+
/**
|
|
1357
|
+
* 证书起始时间
|
|
1358
|
+
*/
|
|
1359
|
+
CertNotBefore: number
|
|
1360
|
+
|
|
1361
|
+
/**
|
|
1362
|
+
* 证书过期时间
|
|
1363
|
+
*/
|
|
1364
|
+
CertNotAfter: number
|
|
1365
|
+
|
|
1366
|
+
/**
|
|
1367
|
+
* 签名域横坐标
|
|
1368
|
+
*/
|
|
1369
|
+
ComponentPosX: number
|
|
1370
|
+
|
|
1371
|
+
/**
|
|
1372
|
+
* 签名域纵坐标
|
|
1373
|
+
*/
|
|
1374
|
+
ComponentPosY: number
|
|
1375
|
+
|
|
1376
|
+
/**
|
|
1377
|
+
* 签名域宽度
|
|
1378
|
+
*/
|
|
1379
|
+
ComponentWidth: number
|
|
1380
|
+
|
|
1381
|
+
/**
|
|
1382
|
+
* 签名域高度
|
|
1383
|
+
*/
|
|
1384
|
+
ComponentHeight: number
|
|
1385
|
+
|
|
1386
|
+
/**
|
|
1387
|
+
* 签名域所在页码
|
|
1388
|
+
*/
|
|
1389
|
+
ComponentPage: number
|
|
1390
|
+
}
|
|
1391
|
+
|
|
1286
1392
|
/**
|
|
1287
1393
|
* CreateFlowEvidenceReport请求参数结构体
|
|
1288
1394
|
*/
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
|
|
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";
|
|
2
|
+
import { CancelMultiFlowSignQRCodeRequest, CreateFlowEvidenceReportResponse, DescribeFileUrlsResponse, CreateDocumentResponse, StartFlowRequest, CancelFlowResponse, CreateDocumentRequest, CreateFlowRequest, CreateSchemeUrlRequest, DescribeThirdPartyAuthCodeRequest, CreateFlowApproversResponse, DescribeFlowInfoRequest, CancelFlowRequest, DescribeFlowBriefsResponse, CreateMultiFlowSignQRCodeResponse, UploadFilesResponse, DescribeThirdPartyAuthCodeResponse, CreateFlowByFilesResponse, DescribeFlowBriefsRequest, VerifyPdfRequest, VerifyPdfResponse, 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
|
|
6
6
|
*/
|
|
7
7
|
export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
8
8
|
constructor(clientConfig: TencentCloudCommon.ClientConfig);
|
|
9
|
+
/**
|
|
10
|
+
* 验证合同文件
|
|
11
|
+
*/
|
|
12
|
+
VerifyPdf(req: VerifyPdfRequest, cb?: (error: string, rep: VerifyPdfResponse) => void): Promise<VerifyPdfResponse>;
|
|
9
13
|
/**
|
|
10
14
|
* 查询文件下载URL
|
|
11
15
|
适用场景:通过传参合同流程编号,下载对应的合同PDF文件流到本地。
|
|
@@ -27,6 +27,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
27
27
|
constructor(clientConfig) {
|
|
28
28
|
super("ess.tencentcloudapi.com", "2020-11-11", clientConfig);
|
|
29
29
|
}
|
|
30
|
+
/**
|
|
31
|
+
* 验证合同文件
|
|
32
|
+
*/
|
|
33
|
+
async VerifyPdf(req, cb) {
|
|
34
|
+
return this.request("VerifyPdf", req, cb);
|
|
35
|
+
}
|
|
30
36
|
/**
|
|
31
37
|
* 查询文件下载URL
|
|
32
38
|
适用场景:通过传参合同流程编号,下载对应的合同PDF文件流到本地。
|
|
@@ -232,7 +232,7 @@ export interface CreateFlowRequest {
|
|
|
232
232
|
/**
|
|
233
233
|
* 暂未开放
|
|
234
234
|
*/
|
|
235
|
-
|
|
235
|
+
RelatedFlowId?: string;
|
|
236
236
|
/**
|
|
237
237
|
* 签署流程的签署截止时间。
|
|
238
238
|
值为unix时间戳,精确到秒,不传默认为当前时间一年后
|
|
@@ -267,7 +267,7 @@ export interface CreateFlowRequest {
|
|
|
267
267
|
/**
|
|
268
268
|
* 暂未开放
|
|
269
269
|
*/
|
|
270
|
-
|
|
270
|
+
CallbackUrl?: string;
|
|
271
271
|
/**
|
|
272
272
|
* 应用相关信息
|
|
273
273
|
*/
|
|
@@ -836,6 +836,19 @@ export interface Recipient {
|
|
|
836
836
|
*/
|
|
837
837
|
RecipientExtra?: string;
|
|
838
838
|
}
|
|
839
|
+
/**
|
|
840
|
+
* VerifyPdf请求参数结构体
|
|
841
|
+
*/
|
|
842
|
+
export interface VerifyPdfRequest {
|
|
843
|
+
/**
|
|
844
|
+
* 合同Id,流程Id
|
|
845
|
+
*/
|
|
846
|
+
FlowId: string;
|
|
847
|
+
/**
|
|
848
|
+
* 调用方用户信息,userId 必填
|
|
849
|
+
*/
|
|
850
|
+
Operator?: UserInfo;
|
|
851
|
+
}
|
|
839
852
|
/**
|
|
840
853
|
* 用户信息
|
|
841
854
|
*/
|
|
@@ -897,6 +910,24 @@ export interface SignUrl {
|
|
|
897
910
|
*/
|
|
898
911
|
HttpSignUrl: string;
|
|
899
912
|
}
|
|
913
|
+
/**
|
|
914
|
+
* VerifyPdf返回参数结构体
|
|
915
|
+
*/
|
|
916
|
+
export interface VerifyPdfResponse {
|
|
917
|
+
/**
|
|
918
|
+
* 验签结果,1-文件未被篡改,全部签名在腾讯电子签完成; 2-文件未被篡改,部分签名在腾讯电子签完成;3-文件被篡改;4-异常:文件内没有签名域;5-异常:文件签名格式错误
|
|
919
|
+
*/
|
|
920
|
+
VerifyResult: number;
|
|
921
|
+
/**
|
|
922
|
+
* 验签结果详情,内部状态1-验签成功,在电子签签署;2-验签成功,在其他平台签署;3-验签失败;4-pdf文件没有签名域
|
|
923
|
+
;5-文件签名格式错误
|
|
924
|
+
*/
|
|
925
|
+
PdfVerifyResults: Array<PdfVerifyResult>;
|
|
926
|
+
/**
|
|
927
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
928
|
+
*/
|
|
929
|
+
RequestId?: string;
|
|
930
|
+
}
|
|
900
931
|
/**
|
|
901
932
|
* DescribeFileUrls请求参数结构体
|
|
902
933
|
*/
|
|
@@ -1066,6 +1097,63 @@ export interface DescribeFlowTemplatesResponse {
|
|
|
1066
1097
|
*/
|
|
1067
1098
|
RequestId?: string;
|
|
1068
1099
|
}
|
|
1100
|
+
/**
|
|
1101
|
+
* 合同文件验签单个结果结构体
|
|
1102
|
+
*/
|
|
1103
|
+
export interface PdfVerifyResult {
|
|
1104
|
+
/**
|
|
1105
|
+
* 验签结果
|
|
1106
|
+
*/
|
|
1107
|
+
VerifyResult: number;
|
|
1108
|
+
/**
|
|
1109
|
+
* 签署平台
|
|
1110
|
+
*/
|
|
1111
|
+
SignPlatform: string;
|
|
1112
|
+
/**
|
|
1113
|
+
* 签署人名称
|
|
1114
|
+
*/
|
|
1115
|
+
SignerName: string;
|
|
1116
|
+
/**
|
|
1117
|
+
* 签署时间
|
|
1118
|
+
*/
|
|
1119
|
+
SignTime: number;
|
|
1120
|
+
/**
|
|
1121
|
+
* 签名算法
|
|
1122
|
+
*/
|
|
1123
|
+
SignAlgorithm: string;
|
|
1124
|
+
/**
|
|
1125
|
+
* 签名证书序列号
|
|
1126
|
+
*/
|
|
1127
|
+
CertSn: string;
|
|
1128
|
+
/**
|
|
1129
|
+
* 证书起始时间
|
|
1130
|
+
*/
|
|
1131
|
+
CertNotBefore: number;
|
|
1132
|
+
/**
|
|
1133
|
+
* 证书过期时间
|
|
1134
|
+
*/
|
|
1135
|
+
CertNotAfter: number;
|
|
1136
|
+
/**
|
|
1137
|
+
* 签名域横坐标
|
|
1138
|
+
*/
|
|
1139
|
+
ComponentPosX: number;
|
|
1140
|
+
/**
|
|
1141
|
+
* 签名域纵坐标
|
|
1142
|
+
*/
|
|
1143
|
+
ComponentPosY: number;
|
|
1144
|
+
/**
|
|
1145
|
+
* 签名域宽度
|
|
1146
|
+
*/
|
|
1147
|
+
ComponentWidth: number;
|
|
1148
|
+
/**
|
|
1149
|
+
* 签名域高度
|
|
1150
|
+
*/
|
|
1151
|
+
ComponentHeight: number;
|
|
1152
|
+
/**
|
|
1153
|
+
* 签名域所在页码
|
|
1154
|
+
*/
|
|
1155
|
+
ComponentPage: number;
|
|
1156
|
+
}
|
|
1069
1157
|
/**
|
|
1070
1158
|
* CreateFlowEvidenceReport请求参数结构体
|
|
1071
1159
|
*/
|