tencentcloud-sdk-nodejs-essbasic 4.0.397 → 4.0.431

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.
@@ -17,132 +17,133 @@
17
17
  */
18
18
  import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common"
19
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,
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
+
146
147
  } from "./essbasic_models"
147
148
 
148
149
  /**
@@ -150,586 +151,430 @@ import {
150
151
  * @class
151
152
  */
152
153
  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
- /**
154
+
155
+ constructor(clientConfig: TencentCloudCommon.ClientConfig) {
156
+ super("essbasic.tencentcloudapi.com", "2020-12-22", clientConfig);
157
+ }
158
+
159
+ /**
160
+ * 该接口为第三方平台向电子签平台验证手机号三要素
161
+ */
162
+ async CheckMobileVerification(req: CheckMobileVerificationRequest, cb?: (error: string, rep: CheckMobileVerificationResponse) => void): Promise<CheckMobileVerificationResponse> {
163
+ return this.request("CheckMobileVerification", req, cb);
164
+ }
165
+
166
+ /**
167
+ * 此接口(CreateSubOrganization)用于在腾讯电子签内注册子机构。
168
+ */
169
+ async CreateSubOrganization(req: CreateSubOrganizationRequest, cb?: (error: string, rep: CreateSubOrganizationResponse) => void): Promise<CreateSubOrganizationResponse> {
170
+ return this.request("CreateSubOrganization", req, cb);
171
+ }
172
+
173
+ /**
178
174
  * 此接口(CancelFlow)用于撤销正在进行中的流程。
179
175
 
180
176
  注:已归档流程不可完成撤销动作。
181
177
  */
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
- /**
178
+ async CancelFlow(req: CancelFlowRequest, cb?: (error: string, rep: CancelFlowResponse) => void): Promise<CancelFlowResponse> {
179
+ return this.request("CancelFlow", req, cb);
180
+ }
181
+
182
+ /**
183
+ * 此接口(DescribeFileUrls)用于获取签署文件下载的URL。
184
+ */
185
+ async DescribeFileUrls(req: DescribeFileUrlsRequest, cb?: (error: string, rep: DescribeFileUrlsResponse) => void): Promise<DescribeFileUrlsResponse> {
186
+ return this.request("DescribeFileUrls", req, cb);
187
+ }
188
+
189
+ /**
190
+ * 该接口为第三方平台向电子签平台获取慧眼H5人脸核身Url
191
+ */
192
+ async CreateH5FaceIdUrl(req: CreateH5FaceIdUrlRequest, cb?: (error: string, rep: CreateH5FaceIdUrlResponse) => void): Promise<CreateH5FaceIdUrlResponse> {
193
+ return this.request("CreateH5FaceIdUrl", req, cb);
194
+ }
195
+
196
+ /**
197
+ * 第三方应用可通过此接口(DescribeFlowApprovers)查询流程参与者信息。
198
+ */
199
+ async DescribeFlowApprovers(req: DescribeFlowApproversRequest, cb?: (error: string, rep: DescribeFlowApproversResponse) => void): Promise<DescribeFlowApproversResponse> {
200
+ return this.request("DescribeFlowApprovers", req, cb);
201
+ }
202
+
203
+ /**
204
+ * 该接口为第三方平台向电子签平台验证银行卡四要素
205
+ */
206
+ async CheckBankCard4EVerification(req: CheckBankCard4EVerificationRequest, cb?: (error: string, rep: CheckBankCard4EVerificationResponse) => void): Promise<CheckBankCard4EVerificationResponse> {
207
+ return this.request("CheckBankCard4EVerification", req, cb);
208
+ }
209
+
210
+ /**
230
211
  * 此接口 (DeleteSeal) 用于删除指定ID的印章。
231
212
 
232
213
  注意:默认印章不支持删除
233
214
  */
234
- async DeleteSeal(
235
- req: DeleteSealRequest,
236
- cb?: (error: string, rep: DeleteSealResponse) => void
237
- ): Promise<DeleteSealResponse> {
238
- return this.request("DeleteSeal", req, cb)
239
- }
215
+ async DeleteSeal(req: DeleteSealRequest, cb?: (error: string, rep: DeleteSealResponse) => void): Promise<DeleteSealResponse> {
216
+ return this.request("DeleteSeal", req, cb);
217
+ }
240
218
 
241
- /**
219
+ /**
242
220
  * 此接口(CreateSignUrl)用于生成指定用户的签署URL。
243
221
 
244
222
  注:调用此接口前,请确保您已提前调用了发送流程接口(SendFlow)指定相关签署方。
245
223
  */
246
- async CreateSignUrl(
247
- req: CreateSignUrlRequest,
248
- cb?: (error: string, rep: CreateSignUrlResponse) => void
249
- ): Promise<CreateSignUrlResponse> {
250
- return this.request("CreateSignUrl", req, cb)
251
- }
224
+ async CreateSignUrl(req: CreateSignUrlRequest, cb?: (error: string, rep: CreateSignUrlResponse) => void): Promise<CreateSignUrlResponse> {
225
+ return this.request("CreateSignUrl", req, cb);
226
+ }
252
227
 
253
- /**
228
+ /**
254
229
  * 此接口(DescribeUsers)用于查询应用号下的个人用户信息。
255
230
 
256
231
  注:此接口仅可查询您所属机构应用号创建的个人用户信息,不可跨应用/跨机构查询。
257
232
  */
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
- /**
233
+ async DescribeUsers(req: DescribeUsersRequest, cb?: (error: string, rep: DescribeUsersResponse) => void): Promise<DescribeUsersResponse> {
234
+ return this.request("DescribeUsers", req, cb);
235
+ }
236
+
237
+ /**
238
+ * 发送流程并获取签署URL
239
+ */
240
+ async SendFlowUrl(req: SendFlowUrlRequest, cb?: (error: string, rep: SendFlowUrlResponse) => void): Promise<SendFlowUrlResponse> {
241
+ return this.request("SendFlowUrl", req, cb);
242
+ }
243
+
244
+ /**
245
+ * 此接口用于发送签署验证码
246
+ */
247
+ async SendSignInnerVerifyCode(req: SendSignInnerVerifyCodeRequest, cb?: (error: string, rep: SendSignInnerVerifyCodeResponse) => void): Promise<SendSignInnerVerifyCodeResponse> {
248
+ return this.request("SendSignInnerVerifyCode", req, cb);
249
+ }
250
+
251
+ /**
252
+ * 查询流程文件
253
+ */
254
+ async DescribeFlowFiles(req: DescribeFlowFilesRequest, cb?: (error: string, rep: DescribeFlowFilesResponse) => void): Promise<DescribeFlowFilesResponse> {
255
+ return this.request("DescribeFlowFiles", req, cb);
256
+ }
257
+
258
+ /**
296
259
  * 此接口(CreateSeal)用于创建个人/企业印章。
297
260
 
298
261
  注意:使用FileId参数指定印章,需先调用多文件上传 (UploadFiles) 上传印章图片。
299
262
  */
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
- /**
263
+ async CreateSeal(req: CreateSealRequest, cb?: (error: string, rep: CreateSealResponse) => void): Promise<CreateSealResponse> {
264
+ return this.request("CreateSeal", req, cb);
265
+ }
266
+
267
+ /**
268
+ * 此接口 (ModifyUserDefaultSeal) 用于重新指定个人默认印章。
269
+ */
270
+ async ModifyUserDefaultSeal(req: ModifyUserDefaultSealRequest, cb?: (error: string, rep: ModifyUserDefaultSealResponse) => void): Promise<ModifyUserDefaultSealResponse> {
271
+ return this.request("ModifyUserDefaultSeal", req, cb);
272
+ }
273
+
274
+ /**
318
275
  * 此接口(CreatePreviewSignUrl)用于生成生成预览签署URL。
319
276
 
320
277
  注:调用此接口前,请确保您已提前调用了发送流程接口(SendFlow)指定相关签署方。
321
278
  */
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
- /**
279
+ async CreatePreviewSignUrl(req: CreatePreviewSignUrlRequest, cb?: (error: string, rep: CreatePreviewSignUrlResponse) => void): Promise<CreatePreviewSignUrlResponse> {
280
+ return this.request("CreatePreviewSignUrl", req, cb);
281
+ }
282
+
283
+ /**
284
+ * 此接口用于确认验证码是否正确
285
+ */
286
+ async CheckVerifyCodeMatchFlowId(req: CheckVerifyCodeMatchFlowIdRequest, cb?: (error: string, rep: CheckVerifyCodeMatchFlowIdResponse) => void): Promise<CheckVerifyCodeMatchFlowIdResponse> {
287
+ return this.request("CheckVerifyCodeMatchFlowId", req, cb);
288
+ }
289
+
290
+ /**
291
+ * 该接口为第三方平台向电子签平台检测慧眼或腾讯电子签小程序人脸核身结果
292
+ */
293
+ async CheckFaceIdentify(req: CheckFaceIdentifyRequest, cb?: (error: string, rep: CheckFaceIdentifyResponse) => void): Promise<CheckFaceIdentifyResponse> {
294
+ return this.request("CheckFaceIdentify", req, cb);
295
+ }
296
+
297
+ /**
350
298
  * 此接口(GenerateUserSeal)用于生成个人签名图片。
351
299
 
352
300
  注意:
353
301
  1. 个人签名由用户注册时预留的姓名信息生成,不支持自定义签名内容。
354
302
  2. 个人用户仅支持拥有一个系统生成的电子签名。
355
303
  */
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
- /**
304
+ async GenerateUserSeal(req: GenerateUserSealRequest, cb?: (error: string, rep: GenerateUserSealResponse) => void): Promise<GenerateUserSealResponse> {
305
+ return this.request("GenerateUserSeal", req, cb);
306
+ }
307
+
308
+ /**
309
+ * 此接口(UploadFiles)用于文件上传。
310
+ */
311
+ async UploadFiles(req: UploadFilesRequest, cb?: (error: string, rep: UploadFilesResponse) => void): Promise<UploadFilesResponse> {
312
+ return this.request("UploadFiles", req, cb);
313
+ }
314
+
315
+ /**
316
+ * 此接口(DescribeCustomFlowIds)用于通过自定义流程id来查询对应的电子签流程id
317
+ */
318
+ async DescribeCustomFlowIds(req: DescribeCustomFlowIdsRequest, cb?: (error: string, rep: DescribeCustomFlowIdsResponse) => void): Promise<DescribeCustomFlowIdsResponse> {
319
+ return this.request("DescribeCustomFlowIds", req, cb);
320
+ }
321
+
322
+ /**
384
323
  * 此接口(CreateSubOrganizationAndSeal)用于注册子机构,同时系统将为该子企业自动生成一个默认电子印章图片。
385
324
 
386
325
  注意:
387
326
  1. 在后续的签署流程中,若未指定签署使用的印章ID,则默认调用自动生成的印章图片进行签署。
388
327
  2. 此接口为白名单接口,如您需要使用此能力,请提前与客户经理沟通或邮件至e-contract@tencent.com与我们联系。
389
328
  */
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
- /**
329
+ async CreateSubOrganizationAndSeal(req: CreateSubOrganizationAndSealRequest, cb?: (error: string, rep: CreateSubOrganizationAndSealResponse) => void): Promise<CreateSubOrganizationAndSealResponse> {
330
+ return this.request("CreateSubOrganizationAndSeal", req, cb);
331
+ }
332
+
333
+ /**
334
+ * 通过此接口(DescribeFlow)可查询签署流程的详细信息。
335
+ */
336
+ async DescribeFlow(req: DescribeFlowRequest, cb?: (error: string, rep: DescribeFlowResponse) => void): Promise<DescribeFlowResponse> {
337
+ return this.request("DescribeFlow", req, cb);
338
+ }
339
+
340
+ /**
408
341
  * 此接口(CreateFlowByFiles)用于通过PDF文件创建签署流程。
409
342
 
410
343
  注意:调用此接口前,请先调用多文件上传接口 (UploadFiles),提前上传合同文件。
411
344
  */
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
- /**
345
+ async CreateFlowByFiles(req: CreateFlowByFilesRequest, cb?: (error: string, rep: CreateFlowByFilesResponse) => void): Promise<CreateFlowByFilesResponse> {
346
+ return this.request("CreateFlowByFiles", req, cb);
347
+ }
348
+
349
+ /**
350
+ * 第三方应用可通过此接口(DescribeCatalogApprovers)查询指定目录的参与者列表
351
+ */
352
+ async DescribeCatalogApprovers(req: DescribeCatalogApproversRequest, cb?: (error: string, rep: DescribeCatalogApproversResponse) => void): Promise<DescribeCatalogApproversResponse> {
353
+ return this.request("DescribeCatalogApprovers", req, cb);
354
+ }
355
+
356
+ /**
430
357
  * 此接口(DescribeSubOrganizations)用于查询子机构信息。
431
358
 
432
359
  注:此接口仅可查询您所属机构应用号创建的子机构信息,不可跨应用/跨机构查询。
433
360
  */
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
- /**
361
+ async DescribeSubOrganizations(req: DescribeSubOrganizationsRequest, cb?: (error: string, rep: DescribeSubOrganizationsResponse) => void): Promise<DescribeSubOrganizationsResponse> {
362
+ return this.request("DescribeSubOrganizations", req, cb);
363
+ }
364
+
365
+ /**
366
+ * 该接口为第三方平台向电子签平台验证银行卡二要素
367
+ */
368
+ async CheckBankCard2EVerification(req: CheckBankCard2EVerificationRequest, cb?: (error: string, rep: CheckBankCard2EVerificationResponse) => void): Promise<CheckBankCard2EVerificationResponse> {
369
+ return this.request("CheckBankCard2EVerification", req, cb);
370
+ }
371
+
372
+ /**
452
373
  * 此接口(ArchiveFlow)用于流程的归档。
453
374
 
454
375
  注意:归档后的流程不可再进行发送、签署、拒签、撤回等一系列操作。
455
376
  */
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
- /**
377
+ async ArchiveFlow(req: ArchiveFlowRequest, cb?: (error: string, rep: ArchiveFlowResponse) => void): Promise<ArchiveFlowResponse> {
378
+ return this.request("ArchiveFlow", req, cb);
379
+ }
380
+
381
+ /**
382
+ * 该接口为第三方平台向电子签平台验证手机号二要素
383
+ */
384
+ async CheckMobileAndName(req: CheckMobileAndNameRequest, cb?: (error: string, rep: CheckMobileAndNameResponse) => void): Promise<CheckMobileAndNameResponse> {
385
+ return this.request("CheckMobileAndName", req, cb);
386
+ }
387
+
388
+ /**
389
+ * 生成企业电子印章
390
+ */
391
+ async GenerateOrganizationSeal(req: GenerateOrganizationSealRequest, cb?: (error: string, rep: GenerateOrganizationSealResponse) => void): Promise<GenerateOrganizationSealResponse> {
392
+ return this.request("GenerateOrganizationSeal", req, cb);
393
+ }
394
+
395
+ /**
484
396
  * 此接口(ModifySubOrganizationInfo)用于更新子机构信息。
485
397
 
486
398
  注:若修改子机构名称或更新机构证件照片,需要重新通过子机构实名接口(VerifySubOrganization)进行重新实名。
487
399
  */
488
- async ModifySubOrganizationInfo(
489
- req: ModifySubOrganizationInfoRequest,
490
- cb?: (error: string, rep: ModifySubOrganizationInfoResponse) => void
491
- ): Promise<ModifySubOrganizationInfoResponse> {
492
- return this.request("ModifySubOrganizationInfo", req, cb)
493
- }
400
+ async ModifySubOrganizationInfo(req: ModifySubOrganizationInfoRequest, cb?: (error: string, rep: ModifySubOrganizationInfoResponse) => void): Promise<ModifySubOrganizationInfoResponse> {
401
+ return this.request("ModifySubOrganizationInfo", req, cb);
402
+ }
494
403
 
495
- /**
404
+ /**
496
405
  * 第三方应用可通过此接口(CreateUserAndSeal)注册腾讯电子签实名个人用户,同时系统将为该用户自动生成一个默认电子签名图片。
497
406
 
498
407
  注意:
499
408
  1. 在后续的签署流程中,若未指定签署使用的印章ID,则默认调用自动生成的签名图片进行签署。
500
409
  2. 此接口为白名单接口,如您需要使用此能力,请提前与客户经理沟通或邮件至e-contract@tencent.com与我们联系。
501
410
  */
502
- async CreateUserAndSeal(
503
- req: CreateUserAndSealRequest,
504
- cb?: (error: string, rep: CreateUserAndSealResponse) => void
505
- ): Promise<CreateUserAndSealResponse> {
506
- return this.request("CreateUserAndSeal", req, cb)
507
- }
411
+ async CreateUserAndSeal(req: CreateUserAndSealRequest, cb?: (error: string, rep: CreateUserAndSealResponse) => void): Promise<CreateUserAndSealResponse> {
412
+ return this.request("CreateUserAndSeal", req, cb);
413
+ }
508
414
 
509
- /**
415
+ /**
510
416
  * 通过此接口(DestroyFlowFile)可删除指定流程中的合同文件。
511
417
 
512
418
  注:调用此接口前,请确保此流程已属于归档状态。您可通过查询流程信息接口(DescribeFlow)进行查询。
513
419
  */
514
- async DestroyFlowFile(
515
- req: DestroyFlowFileRequest,
516
- cb?: (error: string, rep: DestroyFlowFileResponse) => void
517
- ): Promise<DestroyFlowFileResponse> {
518
- return this.request("DestroyFlowFile", req, cb)
519
- }
420
+ async DestroyFlowFile(req: DestroyFlowFileRequest, cb?: (error: string, rep: DestroyFlowFileResponse) => void): Promise<DestroyFlowFileResponse> {
421
+ return this.request("DestroyFlowFile", req, cb);
422
+ }
520
423
 
521
- /**
424
+ /**
522
425
  * 此接口(ModifySeal)用于修改指定印章ID的印章图片和名称。
523
426
 
524
427
  注:印章类型暂不支持修改,如需调整,请联系客服经理或通过创建印章接口(CreateSeal)进行创建新印章。
525
428
  */
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
- /**
429
+ async ModifySeal(req: ModifySealRequest, cb?: (error: string, rep: ModifySealResponse) => void): Promise<ModifySealResponse> {
430
+ return this.request("ModifySeal", req, cb);
431
+ }
432
+
433
+ /**
434
+ * 根据用户自定义id查询文件id
435
+ */
436
+ async DescribeFileIdsByCustomIds(req: DescribeFileIdsByCustomIdsRequest, cb?: (error: string, rep: DescribeFileIdsByCustomIdsResponse) => void): Promise<DescribeFileIdsByCustomIdsResponse> {
437
+ return this.request("DescribeFileIdsByCustomIds", req, cb);
438
+ }
439
+
440
+ /**
441
+ * 此接口(SignFlow)可用于对流程文件进行签署。
442
+ */
443
+ async SignFlow(req: SignFlowRequest, cb?: (error: string, rep: SignFlowResponse) => void): Promise<SignFlowResponse> {
444
+ return this.request("SignFlow", req, cb);
445
+ }
446
+
447
+ /**
448
+ * 该接口为第三方平台向电子签平台获取慧眼人脸核身结果
449
+ */
450
+ async DescribeFaceIdResults(req: DescribeFaceIdResultsRequest, cb?: (error: string, rep: DescribeFaceIdResultsResponse) => void): Promise<DescribeFaceIdResultsResponse> {
451
+ return this.request("DescribeFaceIdResults", req, cb);
452
+ }
453
+
454
+ /**
455
+ * 第三方应用可通过此接口(DescribeCatalogSignComponents)拉取目录签署区
456
+ */
457
+ async DescribeCatalogSignComponents(req: DescribeCatalogSignComponentsRequest, cb?: (error: string, rep: DescribeCatalogSignComponentsResponse) => void): Promise<DescribeCatalogSignComponentsResponse> {
458
+ return this.request("DescribeCatalogSignComponents", req, cb);
459
+ }
460
+
461
+ /**
462
+ * 此接口(RejectFlow)用于用户拒绝签署合同流程。
463
+ */
464
+ async RejectFlow(req: RejectFlowRequest, cb?: (error: string, rep: RejectFlowResponse) => void): Promise<RejectFlowResponse> {
465
+ return this.request("RejectFlow", req, cb);
466
+ }
467
+
468
+ /**
584
469
  * 此接口(ModifyUser)用于更新个人用户信息。
585
470
 
586
471
  注:若修改用户姓名,需要重新通过个人用户实名接口(VerifyUser)进行重新实名。
587
472
  */
588
- async ModifyUser(
589
- req: ModifyUserRequest,
590
- cb?: (error: string, rep: ModifyUserResponse) => void
591
- ): Promise<ModifyUserResponse> {
592
- return this.request("ModifyUser", req, cb)
593
- }
473
+ async ModifyUser(req: ModifyUserRequest, cb?: (error: string, rep: ModifyUserResponse) => void): Promise<ModifyUserResponse> {
474
+ return this.request("ModifyUser", req, cb);
475
+ }
594
476
 
595
- /**
477
+ /**
596
478
  * 此接口(VerifySubOrganization)用于通过子机构的实名认证。
597
479
 
598
480
  注:此接口为白名单接口,如您需要使用此能力,请提前与客户经理沟通或邮件至e-contract@tencent.com与我们联系。
599
481
  */
600
- async VerifySubOrganization(
601
- req: VerifySubOrganizationRequest,
602
- cb?: (error: string, rep: VerifySubOrganizationResponse) => void
603
- ): Promise<VerifySubOrganizationResponse> {
604
- return this.request("VerifySubOrganization", req, cb)
605
- }
482
+ async VerifySubOrganization(req: VerifySubOrganizationRequest, cb?: (error: string, rep: VerifySubOrganizationResponse) => void): Promise<VerifySubOrganizationResponse> {
483
+ return this.request("VerifySubOrganization", req, cb);
484
+ }
606
485
 
607
- /**
486
+ /**
608
487
  * 第三方应用可通过此接口(VerifyUser)将腾讯电子签个人用户的实名认证状态设为通过。
609
488
 
610
489
  注:此接口为白名单接口,如您需要使用此能力,请提前与客户经理沟通或邮件至e-contract@tencent.com与我们联系。
611
490
  */
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
- /**
491
+ async VerifyUser(req: VerifyUserRequest, cb?: (error: string, rep: VerifyUserResponse) => void): Promise<VerifyUserResponse> {
492
+ return this.request("VerifyUser", req, cb);
493
+ }
494
+
495
+ /**
496
+ * 此接口(DescribeCustomFlowIdsByFlowId)用于根据流程id反查自定义流程id
497
+ */
498
+ async DescribeCustomFlowIdsByFlowId(req: DescribeCustomFlowIdsByFlowIdRequest, cb?: (error: string, rep: DescribeCustomFlowIdsByFlowIdResponse) => void): Promise<DescribeCustomFlowIdsByFlowIdResponse> {
499
+ return this.request("DescribeCustomFlowIdsByFlowId", req, cb);
500
+ }
501
+
502
+ /**
503
+ * 该接口为第三方平台向电子签平台获取慧眼人脸核身照片
504
+ */
505
+ async DescribeFaceIdPhotos(req: DescribeFaceIdPhotosRequest, cb?: (error: string, rep: DescribeFaceIdPhotosResponse) => void): Promise<DescribeFaceIdPhotosResponse> {
506
+ return this.request("DescribeFaceIdPhotos", req, cb);
507
+ }
508
+
509
+ /**
510
+ * 该接口为第三方平台向电子签平台获取慧眼慧眼API签名
511
+ */
512
+ async CreateFaceIdSign(req: CreateFaceIdSignRequest, cb?: (error: string, rep: CreateFaceIdSignResponse) => void): Promise<CreateFaceIdSignResponse> {
513
+ return this.request("CreateFaceIdSign", req, cb);
514
+ }
515
+
516
+ /**
517
+ * 该接口为第三方平台向电子签平台验证姓名和身份证信息
518
+ */
519
+ async CheckIdCardVerification(req: CheckIdCardVerificationRequest, cb?: (error: string, rep: CheckIdCardVerificationResponse) => void): Promise<CheckIdCardVerificationResponse> {
520
+ return this.request("CheckIdCardVerification", req, cb);
521
+ }
522
+
523
+ /**
524
+ * 该接口为第三方平台向电子签平台验证银行卡三要素
525
+ */
526
+ async CheckBankCard3EVerification(req: CheckBankCard3EVerificationRequest, cb?: (error: string, rep: CheckBankCard3EVerificationResponse) => void): Promise<CheckBankCard3EVerificationResponse> {
527
+ return this.request("CheckBankCard3EVerification", req, cb);
528
+ }
529
+
530
+ /**
531
+ * 此接口(SendFlow)用于指定签署者及签署内容,后续可通过生成签署接口(CreateSignUrl)获取签署url。
532
+ */
533
+ async SendFlow(req: SendFlowRequest, cb?: (error: string, rep: SendFlowResponse) => void): Promise<SendFlowResponse> {
534
+ return this.request("SendFlow", req, cb);
535
+ }
536
+
537
+ /**
538
+ * 此接口(CreateUser)用于注册腾讯电子签个人用户。
539
+ */
540
+ async CreateUser(req: CreateUserRequest, cb?: (error: string, rep: CreateUserResponse) => void): Promise<CreateUserResponse> {
541
+ return this.request("CreateUser", req, cb);
542
+ }
543
+
544
+ /**
545
+ * 此接口 (ModifyOrganizationDefaultSeal) 用于重新指定企业默认印章。
546
+ */
547
+ async ModifyOrganizationDefaultSeal(req: ModifyOrganizationDefaultSealRequest, cb?: (error: string, rep: ModifyOrganizationDefaultSealResponse) => void): Promise<ModifyOrganizationDefaultSealResponse> {
548
+ return this.request("ModifyOrganizationDefaultSeal", req, cb);
549
+ }
550
+
551
+ /**
552
+ * 此接口(DescribeSeals)用于查询指定ID的印章信息。
553
+ */
554
+ async DescribeSeals(req: DescribeSealsRequest, cb?: (error: string, rep: DescribeSealsResponse) => void): Promise<DescribeSealsResponse> {
555
+ return this.request("DescribeSeals", req, cb);
556
+ }
557
+
558
+ /**
710
559
  * 该接口为第三方平台向电子签平台验证银行卡二/三/四要素
711
560
  银行卡二要素(同CheckBankCard2EVerification): bank_card + name
712
561
  银行卡三要素(同CheckBankCard3EVerification): bank_card + name + id_card_number
713
562
  银行卡四要素(同CheckBankCard4EVerification): bank_card + name + id_card_number + mobile
714
563
  */
715
- async CheckBankCardVerification(
716
- req: CheckBankCardVerificationRequest,
717
- cb?: (error: string, rep: CheckBankCardVerificationResponse) => void
718
- ): Promise<CheckBankCardVerificationResponse> {
719
- return this.request("CheckBankCardVerification", req, cb)
720
- }
564
+ async CheckBankCardVerification(req: CheckBankCardVerificationRequest, cb?: (error: string, rep: CheckBankCardVerificationResponse) => void): Promise<CheckBankCardVerificationResponse> {
565
+ return this.request("CheckBankCardVerification", req, cb);
566
+ }
721
567
 
722
- /**
568
+ /**
723
569
  * 此接口(CreateServerFlowSign)用于静默签署文件。
724
570
 
725
571
  注:
726
572
  1、此接口为白名单接口,调用前请提前与客服经理或邮件至e-contract@tencent.com进行联系。
727
573
  2、仅合同发起者可使用流程静默签署能力。
728
574
  */
729
- async CreateServerFlowSign(
730
- req: CreateServerFlowSignRequest,
731
- cb?: (error: string, rep: CreateServerFlowSignResponse) => void
732
- ): Promise<CreateServerFlowSignResponse> {
733
- return this.request("CreateServerFlowSign", req, cb)
734
- }
575
+ async CreateServerFlowSign(req: CreateServerFlowSignRequest, cb?: (error: string, rep: CreateServerFlowSignResponse) => void): Promise<CreateServerFlowSignResponse> {
576
+ return this.request("CreateServerFlowSign", req, cb);
577
+ }
578
+
579
+
735
580
  }