tencentcloud-sdk-nodejs-essbasic 4.0.1054 → 4.1.1
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/README.md +18 -4
- package/es/index.js +1 -0
- package/es/services/essbasic/index.js +6 -0
- package/es/services/essbasic/v20201222/essbasic_client.js +165 -0
- package/es/services/essbasic/v20201222/essbasic_models.js +0 -0
- package/es/services/essbasic/v20201222/index.js +6 -0
- package/es/services/essbasic/v20210526/essbasic_client.js +273 -0
- package/es/services/essbasic/v20210526/essbasic_models.js +0 -0
- package/es/services/essbasic/v20210526/index.js +6 -0
- package/es/services/index.js +1 -0
- package/package.json +16 -5
- package/tencentcloud/services/essbasic/v20201222/essbasic_client.js +2 -1
- package/tencentcloud/services/essbasic/v20201222/index.js +2 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +2 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +2 -1
- package/tencentcloud/services/essbasic/v20210526/index.js +2 -1
- package/index.d.ts +0 -2
- package/index.js +0 -6
- package/prettier.config.js +0 -38
- package/src/index.ts +0 -1
- package/src/services/essbasic/index.ts +0 -7
- package/src/services/essbasic/v20201222/essbasic_client.ts +0 -735
- package/src/services/essbasic/v20201222/essbasic_models.ts +0 -3354
- package/src/services/essbasic/v20201222/index.ts +0 -6
- package/src/services/essbasic/v20210526/essbasic_client.ts +0 -2192
- package/src/services/essbasic/v20210526/essbasic_models.ts +0 -9426
- package/src/services/essbasic/v20210526/index.ts +0 -6
- package/src/services/index.ts +0 -1
- package/tsconfig.json +0 -33
- package/typings/index.d.ts +0 -2
|
@@ -1,735 +0,0 @@
|
|
|
1
|
-
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
2
|
-
/*
|
|
3
|
-
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing,
|
|
12
|
-
* software distributed under the License is distributed on an
|
|
13
|
-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
14
|
-
* KIND, either express or implied. See the License for the
|
|
15
|
-
* specific language governing permissions and limitations
|
|
16
|
-
* under the License.
|
|
17
|
-
*/
|
|
18
|
-
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common"
|
|
19
|
-
import {
|
|
20
|
-
DescribeFaceIdResultsRequest,
|
|
21
|
-
CreateSubOrganizationRequest,
|
|
22
|
-
Component,
|
|
23
|
-
CreateSealRequest,
|
|
24
|
-
CancelFlowResponse,
|
|
25
|
-
FaceIdPhoto,
|
|
26
|
-
VerifySubOrganizationRequest,
|
|
27
|
-
VerifyUserRequest,
|
|
28
|
-
DescribeFaceIdPhotosResponse,
|
|
29
|
-
CheckVerifyCodeMatchFlowIdRequest,
|
|
30
|
-
CheckBankCard2EVerificationRequest,
|
|
31
|
-
DescribeFileIdsByCustomIdsResponse,
|
|
32
|
-
ModifySubOrganizationInfoResponse,
|
|
33
|
-
DescribeCatalogApproversRequest,
|
|
34
|
-
CheckFaceIdentifyRequest,
|
|
35
|
-
CreateServerFlowSignResponse,
|
|
36
|
-
ModifyUserResponse,
|
|
37
|
-
CheckBankCard4EVerificationResponse,
|
|
38
|
-
DescribeFileUrlsRequest,
|
|
39
|
-
FlowFileInfo,
|
|
40
|
-
SmsTemplate,
|
|
41
|
-
Address,
|
|
42
|
-
ModifyUserDefaultSealRequest,
|
|
43
|
-
GenerateUserSealRequest,
|
|
44
|
-
CheckIdCardVerificationResponse,
|
|
45
|
-
DescribeFlowResponse,
|
|
46
|
-
CreateSubOrganizationAndSealRequest,
|
|
47
|
-
CheckMobileVerificationRequest,
|
|
48
|
-
SendFlowUrlResponse,
|
|
49
|
-
DescribeCatalogApproversResponse,
|
|
50
|
-
CustomFileIdMap,
|
|
51
|
-
SendFlowResponse,
|
|
52
|
-
CatalogApprovers,
|
|
53
|
-
DescribeSealsRequest,
|
|
54
|
-
FlowApproverInfo,
|
|
55
|
-
DescribeFlowFilesRequest,
|
|
56
|
-
DescribeCustomFlowIdsResponse,
|
|
57
|
-
SubOrganizationDetail,
|
|
58
|
-
CheckIdCardVerificationRequest,
|
|
59
|
-
CreateSignUrlResponse,
|
|
60
|
-
ModifySubOrganizationInfoRequest,
|
|
61
|
-
SendSignInnerVerifyCodeResponse,
|
|
62
|
-
DescribeFaceIdPhotosRequest,
|
|
63
|
-
FileUrl,
|
|
64
|
-
CreateUserResponse,
|
|
65
|
-
CheckVerifyCodeMatchFlowIdResponse,
|
|
66
|
-
ModifyOrganizationDefaultSealRequest,
|
|
67
|
-
CreateFaceIdSignResponse,
|
|
68
|
-
DescribeFlowApproversResponse,
|
|
69
|
-
CheckMobileAndNameRequest,
|
|
70
|
-
DeleteSealRequest,
|
|
71
|
-
CheckBankCardVerificationResponse,
|
|
72
|
-
ArchiveFlowRequest,
|
|
73
|
-
CreateUserAndSealResponse,
|
|
74
|
-
FaceIdResult,
|
|
75
|
-
CreateSignUrlRequest,
|
|
76
|
-
ComponentSeal,
|
|
77
|
-
DeleteSealResponse,
|
|
78
|
-
UploadFilesRequest,
|
|
79
|
-
DescribeUsersRequest,
|
|
80
|
-
CreateFlowByFilesRequest,
|
|
81
|
-
CatalogComponents,
|
|
82
|
-
ArchiveFlowResponse,
|
|
83
|
-
FlowInfo,
|
|
84
|
-
UserDescribe,
|
|
85
|
-
CheckBankCard2EVerificationResponse,
|
|
86
|
-
VerifySubOrganizationResponse,
|
|
87
|
-
DescribeSealsResponse,
|
|
88
|
-
DescribeFileUrlsResponse,
|
|
89
|
-
ModifySealRequest,
|
|
90
|
-
CheckBankCard3EVerificationRequest,
|
|
91
|
-
CheckBankCardVerificationRequest,
|
|
92
|
-
RejectFlowRequest,
|
|
93
|
-
DescribeSubOrganizationsRequest,
|
|
94
|
-
SignSeal,
|
|
95
|
-
DescribeCatalogSignComponentsRequest,
|
|
96
|
-
ModifyOrganizationDefaultSealResponse,
|
|
97
|
-
CreateFlowByFilesResponse,
|
|
98
|
-
ModifyUserDefaultSealResponse,
|
|
99
|
-
UploadFilesResponse,
|
|
100
|
-
CheckBankCard3EVerificationResponse,
|
|
101
|
-
SignFlowRequest,
|
|
102
|
-
CustomFlowIdMap,
|
|
103
|
-
DescribeCustomFlowIdsByFlowIdRequest,
|
|
104
|
-
UploadFile,
|
|
105
|
-
DescribeUsersResponse,
|
|
106
|
-
CreateH5FaceIdUrlRequest,
|
|
107
|
-
CheckMobileVerificationResponse,
|
|
108
|
-
DescribeFlowFilesResponse,
|
|
109
|
-
CreateUserRequest,
|
|
110
|
-
CreatePreviewSignUrlRequest,
|
|
111
|
-
CreateUserAndSealRequest,
|
|
112
|
-
CreatePreviewSignUrlResponse,
|
|
113
|
-
CreateFaceIdSignRequest,
|
|
114
|
-
DescribeCustomFlowIdsByFlowIdResponse,
|
|
115
|
-
SignFlowResponse,
|
|
116
|
-
RejectFlowResponse,
|
|
117
|
-
DescribeFlowRequest,
|
|
118
|
-
DescribeFileIdsByCustomIdsRequest,
|
|
119
|
-
CreateSealResponse,
|
|
120
|
-
GenerateOrganizationSealResponse,
|
|
121
|
-
DescribeSubOrganizationsResponse,
|
|
122
|
-
DestroyFlowFileRequest,
|
|
123
|
-
CheckFaceIdentifyResponse,
|
|
124
|
-
Seal,
|
|
125
|
-
SendFlowUrlRequest,
|
|
126
|
-
CancelFlowRequest,
|
|
127
|
-
CreateH5FaceIdUrlResponse,
|
|
128
|
-
DescribeCustomFlowIdsRequest,
|
|
129
|
-
DescribeFlowApproversRequest,
|
|
130
|
-
DescribeFaceIdResultsResponse,
|
|
131
|
-
CheckBankCard4EVerificationRequest,
|
|
132
|
-
GenerateUserSealResponse,
|
|
133
|
-
DescribeCatalogSignComponentsResponse,
|
|
134
|
-
GenerateOrganizationSealRequest,
|
|
135
|
-
CreateServerFlowSignRequest,
|
|
136
|
-
Caller,
|
|
137
|
-
VerifyUserResponse,
|
|
138
|
-
SendFlowRequest,
|
|
139
|
-
SendSignInnerVerifyCodeRequest,
|
|
140
|
-
DestroyFlowFileResponse,
|
|
141
|
-
CreateSubOrganizationResponse,
|
|
142
|
-
CreateSubOrganizationAndSealResponse,
|
|
143
|
-
ModifyUserRequest,
|
|
144
|
-
CheckMobileAndNameResponse,
|
|
145
|
-
ModifySealResponse,
|
|
146
|
-
} from "./essbasic_models"
|
|
147
|
-
|
|
148
|
-
/**
|
|
149
|
-
* essbasic client
|
|
150
|
-
* @class
|
|
151
|
-
*/
|
|
152
|
-
export class Client extends TencentCloudCommon.AbstractClient {
|
|
153
|
-
constructor(clientConfig: TencentCloudCommon.ClientConfig) {
|
|
154
|
-
super("essbasic.tencentcloudapi.com", "2020-12-22", clientConfig)
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
/**
|
|
158
|
-
* 该接口为第三方平台向电子签平台验证手机号三要素
|
|
159
|
-
*/
|
|
160
|
-
async CheckMobileVerification(
|
|
161
|
-
req: CheckMobileVerificationRequest,
|
|
162
|
-
cb?: (error: string, rep: CheckMobileVerificationResponse) => void
|
|
163
|
-
): Promise<CheckMobileVerificationResponse> {
|
|
164
|
-
return this.request("CheckMobileVerification", req, cb)
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
/**
|
|
168
|
-
* 此接口(CreateSubOrganization)用于在腾讯电子签内注册子机构。
|
|
169
|
-
*/
|
|
170
|
-
async CreateSubOrganization(
|
|
171
|
-
req: CreateSubOrganizationRequest,
|
|
172
|
-
cb?: (error: string, rep: CreateSubOrganizationResponse) => void
|
|
173
|
-
): Promise<CreateSubOrganizationResponse> {
|
|
174
|
-
return this.request("CreateSubOrganization", req, cb)
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
/**
|
|
178
|
-
* 此接口(CancelFlow)用于撤销正在进行中的流程。
|
|
179
|
-
|
|
180
|
-
注:已归档流程不可完成撤销动作。
|
|
181
|
-
*/
|
|
182
|
-
async CancelFlow(
|
|
183
|
-
req: CancelFlowRequest,
|
|
184
|
-
cb?: (error: string, rep: CancelFlowResponse) => void
|
|
185
|
-
): Promise<CancelFlowResponse> {
|
|
186
|
-
return this.request("CancelFlow", req, cb)
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
/**
|
|
190
|
-
* 此接口(DescribeFileUrls)用于获取签署文件下载的URL。
|
|
191
|
-
*/
|
|
192
|
-
async DescribeFileUrls(
|
|
193
|
-
req: DescribeFileUrlsRequest,
|
|
194
|
-
cb?: (error: string, rep: DescribeFileUrlsResponse) => void
|
|
195
|
-
): Promise<DescribeFileUrlsResponse> {
|
|
196
|
-
return this.request("DescribeFileUrls", req, cb)
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
/**
|
|
200
|
-
* 该接口为第三方平台向电子签平台获取慧眼H5人脸核身Url
|
|
201
|
-
*/
|
|
202
|
-
async CreateH5FaceIdUrl(
|
|
203
|
-
req: CreateH5FaceIdUrlRequest,
|
|
204
|
-
cb?: (error: string, rep: CreateH5FaceIdUrlResponse) => void
|
|
205
|
-
): Promise<CreateH5FaceIdUrlResponse> {
|
|
206
|
-
return this.request("CreateH5FaceIdUrl", req, cb)
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
/**
|
|
210
|
-
* 第三方应用可通过此接口(DescribeFlowApprovers)查询流程参与者信息。
|
|
211
|
-
*/
|
|
212
|
-
async DescribeFlowApprovers(
|
|
213
|
-
req: DescribeFlowApproversRequest,
|
|
214
|
-
cb?: (error: string, rep: DescribeFlowApproversResponse) => void
|
|
215
|
-
): Promise<DescribeFlowApproversResponse> {
|
|
216
|
-
return this.request("DescribeFlowApprovers", req, cb)
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
/**
|
|
220
|
-
* 该接口为第三方平台向电子签平台验证银行卡四要素
|
|
221
|
-
*/
|
|
222
|
-
async CheckBankCard4EVerification(
|
|
223
|
-
req: CheckBankCard4EVerificationRequest,
|
|
224
|
-
cb?: (error: string, rep: CheckBankCard4EVerificationResponse) => void
|
|
225
|
-
): Promise<CheckBankCard4EVerificationResponse> {
|
|
226
|
-
return this.request("CheckBankCard4EVerification", req, cb)
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
/**
|
|
230
|
-
* 此接口 (DeleteSeal) 用于删除指定ID的印章。
|
|
231
|
-
|
|
232
|
-
注意:默认印章不支持删除
|
|
233
|
-
*/
|
|
234
|
-
async DeleteSeal(
|
|
235
|
-
req: DeleteSealRequest,
|
|
236
|
-
cb?: (error: string, rep: DeleteSealResponse) => void
|
|
237
|
-
): Promise<DeleteSealResponse> {
|
|
238
|
-
return this.request("DeleteSeal", req, cb)
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
/**
|
|
242
|
-
* 此接口(CreateSignUrl)用于生成指定用户的签署URL。
|
|
243
|
-
|
|
244
|
-
注:调用此接口前,请确保您已提前调用了发送流程接口(SendFlow)指定相关签署方。
|
|
245
|
-
*/
|
|
246
|
-
async CreateSignUrl(
|
|
247
|
-
req: CreateSignUrlRequest,
|
|
248
|
-
cb?: (error: string, rep: CreateSignUrlResponse) => void
|
|
249
|
-
): Promise<CreateSignUrlResponse> {
|
|
250
|
-
return this.request("CreateSignUrl", req, cb)
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
/**
|
|
254
|
-
* 此接口(DescribeUsers)用于查询应用号下的个人用户信息。
|
|
255
|
-
|
|
256
|
-
注:此接口仅可查询您所属机构应用号创建的个人用户信息,不可跨应用/跨机构查询。
|
|
257
|
-
*/
|
|
258
|
-
async DescribeUsers(
|
|
259
|
-
req: DescribeUsersRequest,
|
|
260
|
-
cb?: (error: string, rep: DescribeUsersResponse) => void
|
|
261
|
-
): Promise<DescribeUsersResponse> {
|
|
262
|
-
return this.request("DescribeUsers", req, cb)
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
/**
|
|
266
|
-
* 发送流程并获取签署URL
|
|
267
|
-
*/
|
|
268
|
-
async SendFlowUrl(
|
|
269
|
-
req: SendFlowUrlRequest,
|
|
270
|
-
cb?: (error: string, rep: SendFlowUrlResponse) => void
|
|
271
|
-
): Promise<SendFlowUrlResponse> {
|
|
272
|
-
return this.request("SendFlowUrl", req, cb)
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
/**
|
|
276
|
-
* 此接口用于发送签署验证码
|
|
277
|
-
*/
|
|
278
|
-
async SendSignInnerVerifyCode(
|
|
279
|
-
req: SendSignInnerVerifyCodeRequest,
|
|
280
|
-
cb?: (error: string, rep: SendSignInnerVerifyCodeResponse) => void
|
|
281
|
-
): Promise<SendSignInnerVerifyCodeResponse> {
|
|
282
|
-
return this.request("SendSignInnerVerifyCode", req, cb)
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
/**
|
|
286
|
-
* 查询流程文件
|
|
287
|
-
*/
|
|
288
|
-
async DescribeFlowFiles(
|
|
289
|
-
req: DescribeFlowFilesRequest,
|
|
290
|
-
cb?: (error: string, rep: DescribeFlowFilesResponse) => void
|
|
291
|
-
): Promise<DescribeFlowFilesResponse> {
|
|
292
|
-
return this.request("DescribeFlowFiles", req, cb)
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
/**
|
|
296
|
-
* 此接口(CreateSeal)用于创建个人/企业印章。
|
|
297
|
-
|
|
298
|
-
注意:使用FileId参数指定印章,需先调用多文件上传 (UploadFiles) 上传印章图片。
|
|
299
|
-
*/
|
|
300
|
-
async CreateSeal(
|
|
301
|
-
req: CreateSealRequest,
|
|
302
|
-
cb?: (error: string, rep: CreateSealResponse) => void
|
|
303
|
-
): Promise<CreateSealResponse> {
|
|
304
|
-
return this.request("CreateSeal", req, cb)
|
|
305
|
-
}
|
|
306
|
-
|
|
307
|
-
/**
|
|
308
|
-
* 此接口 (ModifyUserDefaultSeal) 用于重新指定个人默认印章。
|
|
309
|
-
*/
|
|
310
|
-
async ModifyUserDefaultSeal(
|
|
311
|
-
req: ModifyUserDefaultSealRequest,
|
|
312
|
-
cb?: (error: string, rep: ModifyUserDefaultSealResponse) => void
|
|
313
|
-
): Promise<ModifyUserDefaultSealResponse> {
|
|
314
|
-
return this.request("ModifyUserDefaultSeal", req, cb)
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
/**
|
|
318
|
-
* 此接口(CreatePreviewSignUrl)用于生成生成预览签署URL。
|
|
319
|
-
|
|
320
|
-
注:调用此接口前,请确保您已提前调用了发送流程接口(SendFlow)指定相关签署方。
|
|
321
|
-
*/
|
|
322
|
-
async CreatePreviewSignUrl(
|
|
323
|
-
req: CreatePreviewSignUrlRequest,
|
|
324
|
-
cb?: (error: string, rep: CreatePreviewSignUrlResponse) => void
|
|
325
|
-
): Promise<CreatePreviewSignUrlResponse> {
|
|
326
|
-
return this.request("CreatePreviewSignUrl", req, cb)
|
|
327
|
-
}
|
|
328
|
-
|
|
329
|
-
/**
|
|
330
|
-
* 此接口用于确认验证码是否正确
|
|
331
|
-
*/
|
|
332
|
-
async CheckVerifyCodeMatchFlowId(
|
|
333
|
-
req: CheckVerifyCodeMatchFlowIdRequest,
|
|
334
|
-
cb?: (error: string, rep: CheckVerifyCodeMatchFlowIdResponse) => void
|
|
335
|
-
): Promise<CheckVerifyCodeMatchFlowIdResponse> {
|
|
336
|
-
return this.request("CheckVerifyCodeMatchFlowId", req, cb)
|
|
337
|
-
}
|
|
338
|
-
|
|
339
|
-
/**
|
|
340
|
-
* 该接口为第三方平台向电子签平台检测慧眼或腾讯电子签小程序人脸核身结果
|
|
341
|
-
*/
|
|
342
|
-
async CheckFaceIdentify(
|
|
343
|
-
req: CheckFaceIdentifyRequest,
|
|
344
|
-
cb?: (error: string, rep: CheckFaceIdentifyResponse) => void
|
|
345
|
-
): Promise<CheckFaceIdentifyResponse> {
|
|
346
|
-
return this.request("CheckFaceIdentify", req, cb)
|
|
347
|
-
}
|
|
348
|
-
|
|
349
|
-
/**
|
|
350
|
-
* 此接口(GenerateUserSeal)用于生成个人签名图片。
|
|
351
|
-
|
|
352
|
-
注意:
|
|
353
|
-
1. 个人签名由用户注册时预留的姓名信息生成,不支持自定义签名内容。
|
|
354
|
-
2. 个人用户仅支持拥有一个系统生成的电子签名。
|
|
355
|
-
*/
|
|
356
|
-
async GenerateUserSeal(
|
|
357
|
-
req: GenerateUserSealRequest,
|
|
358
|
-
cb?: (error: string, rep: GenerateUserSealResponse) => void
|
|
359
|
-
): Promise<GenerateUserSealResponse> {
|
|
360
|
-
return this.request("GenerateUserSeal", req, cb)
|
|
361
|
-
}
|
|
362
|
-
|
|
363
|
-
/**
|
|
364
|
-
* 此接口(UploadFiles)用于文件上传。
|
|
365
|
-
*/
|
|
366
|
-
async UploadFiles(
|
|
367
|
-
req: UploadFilesRequest,
|
|
368
|
-
cb?: (error: string, rep: UploadFilesResponse) => void
|
|
369
|
-
): Promise<UploadFilesResponse> {
|
|
370
|
-
return this.request("UploadFiles", req, cb)
|
|
371
|
-
}
|
|
372
|
-
|
|
373
|
-
/**
|
|
374
|
-
* 此接口(DescribeCustomFlowIds)用于通过自定义流程id来查询对应的电子签流程id
|
|
375
|
-
*/
|
|
376
|
-
async DescribeCustomFlowIds(
|
|
377
|
-
req: DescribeCustomFlowIdsRequest,
|
|
378
|
-
cb?: (error: string, rep: DescribeCustomFlowIdsResponse) => void
|
|
379
|
-
): Promise<DescribeCustomFlowIdsResponse> {
|
|
380
|
-
return this.request("DescribeCustomFlowIds", req, cb)
|
|
381
|
-
}
|
|
382
|
-
|
|
383
|
-
/**
|
|
384
|
-
* 此接口(CreateSubOrganizationAndSeal)用于注册子机构,同时系统将为该子企业自动生成一个默认电子印章图片。
|
|
385
|
-
|
|
386
|
-
注意:
|
|
387
|
-
1. 在后续的签署流程中,若未指定签署使用的印章ID,则默认调用自动生成的印章图片进行签署。
|
|
388
|
-
2. 此接口为白名单接口,如您需要使用此能力,请提前与客户经理沟通或邮件至e-contract@tencent.com与我们联系。
|
|
389
|
-
*/
|
|
390
|
-
async CreateSubOrganizationAndSeal(
|
|
391
|
-
req: CreateSubOrganizationAndSealRequest,
|
|
392
|
-
cb?: (error: string, rep: CreateSubOrganizationAndSealResponse) => void
|
|
393
|
-
): Promise<CreateSubOrganizationAndSealResponse> {
|
|
394
|
-
return this.request("CreateSubOrganizationAndSeal", req, cb)
|
|
395
|
-
}
|
|
396
|
-
|
|
397
|
-
/**
|
|
398
|
-
* 通过此接口(DescribeFlow)可查询签署流程的详细信息。
|
|
399
|
-
*/
|
|
400
|
-
async DescribeFlow(
|
|
401
|
-
req: DescribeFlowRequest,
|
|
402
|
-
cb?: (error: string, rep: DescribeFlowResponse) => void
|
|
403
|
-
): Promise<DescribeFlowResponse> {
|
|
404
|
-
return this.request("DescribeFlow", req, cb)
|
|
405
|
-
}
|
|
406
|
-
|
|
407
|
-
/**
|
|
408
|
-
* 此接口(CreateFlowByFiles)用于通过PDF文件创建签署流程。
|
|
409
|
-
|
|
410
|
-
注意:调用此接口前,请先调用多文件上传接口 (UploadFiles),提前上传合同文件。
|
|
411
|
-
*/
|
|
412
|
-
async CreateFlowByFiles(
|
|
413
|
-
req: CreateFlowByFilesRequest,
|
|
414
|
-
cb?: (error: string, rep: CreateFlowByFilesResponse) => void
|
|
415
|
-
): Promise<CreateFlowByFilesResponse> {
|
|
416
|
-
return this.request("CreateFlowByFiles", req, cb)
|
|
417
|
-
}
|
|
418
|
-
|
|
419
|
-
/**
|
|
420
|
-
* 第三方应用可通过此接口(DescribeCatalogApprovers)查询指定目录的参与者列表
|
|
421
|
-
*/
|
|
422
|
-
async DescribeCatalogApprovers(
|
|
423
|
-
req: DescribeCatalogApproversRequest,
|
|
424
|
-
cb?: (error: string, rep: DescribeCatalogApproversResponse) => void
|
|
425
|
-
): Promise<DescribeCatalogApproversResponse> {
|
|
426
|
-
return this.request("DescribeCatalogApprovers", req, cb)
|
|
427
|
-
}
|
|
428
|
-
|
|
429
|
-
/**
|
|
430
|
-
* 此接口(DescribeSubOrganizations)用于查询子机构信息。
|
|
431
|
-
|
|
432
|
-
注:此接口仅可查询您所属机构应用号创建的子机构信息,不可跨应用/跨机构查询。
|
|
433
|
-
*/
|
|
434
|
-
async DescribeSubOrganizations(
|
|
435
|
-
req: DescribeSubOrganizationsRequest,
|
|
436
|
-
cb?: (error: string, rep: DescribeSubOrganizationsResponse) => void
|
|
437
|
-
): Promise<DescribeSubOrganizationsResponse> {
|
|
438
|
-
return this.request("DescribeSubOrganizations", req, cb)
|
|
439
|
-
}
|
|
440
|
-
|
|
441
|
-
/**
|
|
442
|
-
* 该接口为第三方平台向电子签平台验证银行卡二要素
|
|
443
|
-
*/
|
|
444
|
-
async CheckBankCard2EVerification(
|
|
445
|
-
req: CheckBankCard2EVerificationRequest,
|
|
446
|
-
cb?: (error: string, rep: CheckBankCard2EVerificationResponse) => void
|
|
447
|
-
): Promise<CheckBankCard2EVerificationResponse> {
|
|
448
|
-
return this.request("CheckBankCard2EVerification", req, cb)
|
|
449
|
-
}
|
|
450
|
-
|
|
451
|
-
/**
|
|
452
|
-
* 此接口(ArchiveFlow)用于流程的归档。
|
|
453
|
-
|
|
454
|
-
注意:归档后的流程不可再进行发送、签署、拒签、撤回等一系列操作。
|
|
455
|
-
*/
|
|
456
|
-
async ArchiveFlow(
|
|
457
|
-
req: ArchiveFlowRequest,
|
|
458
|
-
cb?: (error: string, rep: ArchiveFlowResponse) => void
|
|
459
|
-
): Promise<ArchiveFlowResponse> {
|
|
460
|
-
return this.request("ArchiveFlow", req, cb)
|
|
461
|
-
}
|
|
462
|
-
|
|
463
|
-
/**
|
|
464
|
-
* 该接口为第三方平台向电子签平台验证手机号二要素
|
|
465
|
-
*/
|
|
466
|
-
async CheckMobileAndName(
|
|
467
|
-
req: CheckMobileAndNameRequest,
|
|
468
|
-
cb?: (error: string, rep: CheckMobileAndNameResponse) => void
|
|
469
|
-
): Promise<CheckMobileAndNameResponse> {
|
|
470
|
-
return this.request("CheckMobileAndName", req, cb)
|
|
471
|
-
}
|
|
472
|
-
|
|
473
|
-
/**
|
|
474
|
-
* 生成企业电子印章
|
|
475
|
-
*/
|
|
476
|
-
async GenerateOrganizationSeal(
|
|
477
|
-
req: GenerateOrganizationSealRequest,
|
|
478
|
-
cb?: (error: string, rep: GenerateOrganizationSealResponse) => void
|
|
479
|
-
): Promise<GenerateOrganizationSealResponse> {
|
|
480
|
-
return this.request("GenerateOrganizationSeal", req, cb)
|
|
481
|
-
}
|
|
482
|
-
|
|
483
|
-
/**
|
|
484
|
-
* 此接口(ModifySubOrganizationInfo)用于更新子机构信息。
|
|
485
|
-
|
|
486
|
-
注:若修改子机构名称或更新机构证件照片,需要重新通过子机构实名接口(VerifySubOrganization)进行重新实名。
|
|
487
|
-
*/
|
|
488
|
-
async ModifySubOrganizationInfo(
|
|
489
|
-
req: ModifySubOrganizationInfoRequest,
|
|
490
|
-
cb?: (error: string, rep: ModifySubOrganizationInfoResponse) => void
|
|
491
|
-
): Promise<ModifySubOrganizationInfoResponse> {
|
|
492
|
-
return this.request("ModifySubOrganizationInfo", req, cb)
|
|
493
|
-
}
|
|
494
|
-
|
|
495
|
-
/**
|
|
496
|
-
* 第三方应用可通过此接口(CreateUserAndSeal)注册腾讯电子签实名个人用户,同时系统将为该用户自动生成一个默认电子签名图片。
|
|
497
|
-
|
|
498
|
-
注意:
|
|
499
|
-
1. 在后续的签署流程中,若未指定签署使用的印章ID,则默认调用自动生成的签名图片进行签署。
|
|
500
|
-
2. 此接口为白名单接口,如您需要使用此能力,请提前与客户经理沟通或邮件至e-contract@tencent.com与我们联系。
|
|
501
|
-
*/
|
|
502
|
-
async CreateUserAndSeal(
|
|
503
|
-
req: CreateUserAndSealRequest,
|
|
504
|
-
cb?: (error: string, rep: CreateUserAndSealResponse) => void
|
|
505
|
-
): Promise<CreateUserAndSealResponse> {
|
|
506
|
-
return this.request("CreateUserAndSeal", req, cb)
|
|
507
|
-
}
|
|
508
|
-
|
|
509
|
-
/**
|
|
510
|
-
* 通过此接口(DestroyFlowFile)可删除指定流程中的合同文件。
|
|
511
|
-
|
|
512
|
-
注:调用此接口前,请确保此流程已属于归档状态。您可通过查询流程信息接口(DescribeFlow)进行查询。
|
|
513
|
-
*/
|
|
514
|
-
async DestroyFlowFile(
|
|
515
|
-
req: DestroyFlowFileRequest,
|
|
516
|
-
cb?: (error: string, rep: DestroyFlowFileResponse) => void
|
|
517
|
-
): Promise<DestroyFlowFileResponse> {
|
|
518
|
-
return this.request("DestroyFlowFile", req, cb)
|
|
519
|
-
}
|
|
520
|
-
|
|
521
|
-
/**
|
|
522
|
-
* 此接口(ModifySeal)用于修改指定印章ID的印章图片和名称。
|
|
523
|
-
|
|
524
|
-
注:印章类型暂不支持修改,如需调整,请联系客服经理或通过创建印章接口(CreateSeal)进行创建新印章。
|
|
525
|
-
*/
|
|
526
|
-
async ModifySeal(
|
|
527
|
-
req: ModifySealRequest,
|
|
528
|
-
cb?: (error: string, rep: ModifySealResponse) => void
|
|
529
|
-
): Promise<ModifySealResponse> {
|
|
530
|
-
return this.request("ModifySeal", req, cb)
|
|
531
|
-
}
|
|
532
|
-
|
|
533
|
-
/**
|
|
534
|
-
* 根据用户自定义id查询文件id
|
|
535
|
-
*/
|
|
536
|
-
async DescribeFileIdsByCustomIds(
|
|
537
|
-
req: DescribeFileIdsByCustomIdsRequest,
|
|
538
|
-
cb?: (error: string, rep: DescribeFileIdsByCustomIdsResponse) => void
|
|
539
|
-
): Promise<DescribeFileIdsByCustomIdsResponse> {
|
|
540
|
-
return this.request("DescribeFileIdsByCustomIds", req, cb)
|
|
541
|
-
}
|
|
542
|
-
|
|
543
|
-
/**
|
|
544
|
-
* 此接口(SignFlow)可用于对流程文件进行签署。
|
|
545
|
-
*/
|
|
546
|
-
async SignFlow(
|
|
547
|
-
req: SignFlowRequest,
|
|
548
|
-
cb?: (error: string, rep: SignFlowResponse) => void
|
|
549
|
-
): Promise<SignFlowResponse> {
|
|
550
|
-
return this.request("SignFlow", req, cb)
|
|
551
|
-
}
|
|
552
|
-
|
|
553
|
-
/**
|
|
554
|
-
* 该接口为第三方平台向电子签平台获取慧眼人脸核身结果
|
|
555
|
-
*/
|
|
556
|
-
async DescribeFaceIdResults(
|
|
557
|
-
req: DescribeFaceIdResultsRequest,
|
|
558
|
-
cb?: (error: string, rep: DescribeFaceIdResultsResponse) => void
|
|
559
|
-
): Promise<DescribeFaceIdResultsResponse> {
|
|
560
|
-
return this.request("DescribeFaceIdResults", req, cb)
|
|
561
|
-
}
|
|
562
|
-
|
|
563
|
-
/**
|
|
564
|
-
* 第三方应用可通过此接口(DescribeCatalogSignComponents)拉取目录签署区
|
|
565
|
-
*/
|
|
566
|
-
async DescribeCatalogSignComponents(
|
|
567
|
-
req: DescribeCatalogSignComponentsRequest,
|
|
568
|
-
cb?: (error: string, rep: DescribeCatalogSignComponentsResponse) => void
|
|
569
|
-
): Promise<DescribeCatalogSignComponentsResponse> {
|
|
570
|
-
return this.request("DescribeCatalogSignComponents", req, cb)
|
|
571
|
-
}
|
|
572
|
-
|
|
573
|
-
/**
|
|
574
|
-
* 此接口(RejectFlow)用于用户拒绝签署合同流程。
|
|
575
|
-
*/
|
|
576
|
-
async RejectFlow(
|
|
577
|
-
req: RejectFlowRequest,
|
|
578
|
-
cb?: (error: string, rep: RejectFlowResponse) => void
|
|
579
|
-
): Promise<RejectFlowResponse> {
|
|
580
|
-
return this.request("RejectFlow", req, cb)
|
|
581
|
-
}
|
|
582
|
-
|
|
583
|
-
/**
|
|
584
|
-
* 此接口(ModifyUser)用于更新个人用户信息。
|
|
585
|
-
|
|
586
|
-
注:若修改用户姓名,需要重新通过个人用户实名接口(VerifyUser)进行重新实名。
|
|
587
|
-
*/
|
|
588
|
-
async ModifyUser(
|
|
589
|
-
req: ModifyUserRequest,
|
|
590
|
-
cb?: (error: string, rep: ModifyUserResponse) => void
|
|
591
|
-
): Promise<ModifyUserResponse> {
|
|
592
|
-
return this.request("ModifyUser", req, cb)
|
|
593
|
-
}
|
|
594
|
-
|
|
595
|
-
/**
|
|
596
|
-
* 此接口(VerifySubOrganization)用于通过子机构的实名认证。
|
|
597
|
-
|
|
598
|
-
注:此接口为白名单接口,如您需要使用此能力,请提前与客户经理沟通或邮件至e-contract@tencent.com与我们联系。
|
|
599
|
-
*/
|
|
600
|
-
async VerifySubOrganization(
|
|
601
|
-
req: VerifySubOrganizationRequest,
|
|
602
|
-
cb?: (error: string, rep: VerifySubOrganizationResponse) => void
|
|
603
|
-
): Promise<VerifySubOrganizationResponse> {
|
|
604
|
-
return this.request("VerifySubOrganization", req, cb)
|
|
605
|
-
}
|
|
606
|
-
|
|
607
|
-
/**
|
|
608
|
-
* 第三方应用可通过此接口(VerifyUser)将腾讯电子签个人用户的实名认证状态设为通过。
|
|
609
|
-
|
|
610
|
-
注:此接口为白名单接口,如您需要使用此能力,请提前与客户经理沟通或邮件至e-contract@tencent.com与我们联系。
|
|
611
|
-
*/
|
|
612
|
-
async VerifyUser(
|
|
613
|
-
req: VerifyUserRequest,
|
|
614
|
-
cb?: (error: string, rep: VerifyUserResponse) => void
|
|
615
|
-
): Promise<VerifyUserResponse> {
|
|
616
|
-
return this.request("VerifyUser", req, cb)
|
|
617
|
-
}
|
|
618
|
-
|
|
619
|
-
/**
|
|
620
|
-
* 此接口(DescribeCustomFlowIdsByFlowId)用于根据流程id反查自定义流程id
|
|
621
|
-
*/
|
|
622
|
-
async DescribeCustomFlowIdsByFlowId(
|
|
623
|
-
req: DescribeCustomFlowIdsByFlowIdRequest,
|
|
624
|
-
cb?: (error: string, rep: DescribeCustomFlowIdsByFlowIdResponse) => void
|
|
625
|
-
): Promise<DescribeCustomFlowIdsByFlowIdResponse> {
|
|
626
|
-
return this.request("DescribeCustomFlowIdsByFlowId", req, cb)
|
|
627
|
-
}
|
|
628
|
-
|
|
629
|
-
/**
|
|
630
|
-
* 该接口为第三方平台向电子签平台获取慧眼人脸核身照片
|
|
631
|
-
*/
|
|
632
|
-
async DescribeFaceIdPhotos(
|
|
633
|
-
req: DescribeFaceIdPhotosRequest,
|
|
634
|
-
cb?: (error: string, rep: DescribeFaceIdPhotosResponse) => void
|
|
635
|
-
): Promise<DescribeFaceIdPhotosResponse> {
|
|
636
|
-
return this.request("DescribeFaceIdPhotos", req, cb)
|
|
637
|
-
}
|
|
638
|
-
|
|
639
|
-
/**
|
|
640
|
-
* 该接口为第三方平台向电子签平台获取慧眼慧眼API签名
|
|
641
|
-
*/
|
|
642
|
-
async CreateFaceIdSign(
|
|
643
|
-
req: CreateFaceIdSignRequest,
|
|
644
|
-
cb?: (error: string, rep: CreateFaceIdSignResponse) => void
|
|
645
|
-
): Promise<CreateFaceIdSignResponse> {
|
|
646
|
-
return this.request("CreateFaceIdSign", req, cb)
|
|
647
|
-
}
|
|
648
|
-
|
|
649
|
-
/**
|
|
650
|
-
* 该接口为第三方平台向电子签平台验证姓名和身份证信息
|
|
651
|
-
*/
|
|
652
|
-
async CheckIdCardVerification(
|
|
653
|
-
req: CheckIdCardVerificationRequest,
|
|
654
|
-
cb?: (error: string, rep: CheckIdCardVerificationResponse) => void
|
|
655
|
-
): Promise<CheckIdCardVerificationResponse> {
|
|
656
|
-
return this.request("CheckIdCardVerification", req, cb)
|
|
657
|
-
}
|
|
658
|
-
|
|
659
|
-
/**
|
|
660
|
-
* 该接口为第三方平台向电子签平台验证银行卡三要素
|
|
661
|
-
*/
|
|
662
|
-
async CheckBankCard3EVerification(
|
|
663
|
-
req: CheckBankCard3EVerificationRequest,
|
|
664
|
-
cb?: (error: string, rep: CheckBankCard3EVerificationResponse) => void
|
|
665
|
-
): Promise<CheckBankCard3EVerificationResponse> {
|
|
666
|
-
return this.request("CheckBankCard3EVerification", req, cb)
|
|
667
|
-
}
|
|
668
|
-
|
|
669
|
-
/**
|
|
670
|
-
* 此接口(SendFlow)用于指定签署者及签署内容,后续可通过生成签署接口(CreateSignUrl)获取签署url。
|
|
671
|
-
*/
|
|
672
|
-
async SendFlow(
|
|
673
|
-
req: SendFlowRequest,
|
|
674
|
-
cb?: (error: string, rep: SendFlowResponse) => void
|
|
675
|
-
): Promise<SendFlowResponse> {
|
|
676
|
-
return this.request("SendFlow", req, cb)
|
|
677
|
-
}
|
|
678
|
-
|
|
679
|
-
/**
|
|
680
|
-
* 此接口(CreateUser)用于注册腾讯电子签个人用户。
|
|
681
|
-
*/
|
|
682
|
-
async CreateUser(
|
|
683
|
-
req: CreateUserRequest,
|
|
684
|
-
cb?: (error: string, rep: CreateUserResponse) => void
|
|
685
|
-
): Promise<CreateUserResponse> {
|
|
686
|
-
return this.request("CreateUser", req, cb)
|
|
687
|
-
}
|
|
688
|
-
|
|
689
|
-
/**
|
|
690
|
-
* 此接口 (ModifyOrganizationDefaultSeal) 用于重新指定企业默认印章。
|
|
691
|
-
*/
|
|
692
|
-
async ModifyOrganizationDefaultSeal(
|
|
693
|
-
req: ModifyOrganizationDefaultSealRequest,
|
|
694
|
-
cb?: (error: string, rep: ModifyOrganizationDefaultSealResponse) => void
|
|
695
|
-
): Promise<ModifyOrganizationDefaultSealResponse> {
|
|
696
|
-
return this.request("ModifyOrganizationDefaultSeal", req, cb)
|
|
697
|
-
}
|
|
698
|
-
|
|
699
|
-
/**
|
|
700
|
-
* 此接口(DescribeSeals)用于查询指定ID的印章信息。
|
|
701
|
-
*/
|
|
702
|
-
async DescribeSeals(
|
|
703
|
-
req: DescribeSealsRequest,
|
|
704
|
-
cb?: (error: string, rep: DescribeSealsResponse) => void
|
|
705
|
-
): Promise<DescribeSealsResponse> {
|
|
706
|
-
return this.request("DescribeSeals", req, cb)
|
|
707
|
-
}
|
|
708
|
-
|
|
709
|
-
/**
|
|
710
|
-
* 该接口为第三方平台向电子签平台验证银行卡二/三/四要素
|
|
711
|
-
银行卡二要素(同CheckBankCard2EVerification): bank_card + name
|
|
712
|
-
银行卡三要素(同CheckBankCard3EVerification): bank_card + name + id_card_number
|
|
713
|
-
银行卡四要素(同CheckBankCard4EVerification): bank_card + name + id_card_number + mobile
|
|
714
|
-
*/
|
|
715
|
-
async CheckBankCardVerification(
|
|
716
|
-
req: CheckBankCardVerificationRequest,
|
|
717
|
-
cb?: (error: string, rep: CheckBankCardVerificationResponse) => void
|
|
718
|
-
): Promise<CheckBankCardVerificationResponse> {
|
|
719
|
-
return this.request("CheckBankCardVerification", req, cb)
|
|
720
|
-
}
|
|
721
|
-
|
|
722
|
-
/**
|
|
723
|
-
* 此接口(CreateServerFlowSign)用于静默签署文件。
|
|
724
|
-
|
|
725
|
-
注:
|
|
726
|
-
1、此接口为白名单接口,调用前请提前与客服经理或邮件至e-contract@tencent.com进行联系。
|
|
727
|
-
2、仅合同发起者可使用流程静默签署能力。
|
|
728
|
-
*/
|
|
729
|
-
async CreateServerFlowSign(
|
|
730
|
-
req: CreateServerFlowSignRequest,
|
|
731
|
-
cb?: (error: string, rep: CreateServerFlowSignResponse) => void
|
|
732
|
-
): Promise<CreateServerFlowSignResponse> {
|
|
733
|
-
return this.request("CreateServerFlowSign", req, cb)
|
|
734
|
-
}
|
|
735
|
-
}
|