tencentcloud-sdk-nodejs-essbasic 4.0.453 → 4.0.455

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.
@@ -23,15 +23,17 @@ import {
23
23
  ChannelCreateConvertTaskApiResponse,
24
24
  OperateChannelTemplateRequest,
25
25
  TemplateInfo,
26
- UploadFilesRequest,
26
+ ChannelDescribeEmployeesRequest,
27
27
  SyncProxyOrganizationResponse,
28
28
  ChannelBatchCancelFlowsResponse,
29
29
  GetDownloadFlowUrlResponse,
30
+ DescribeTemplatesResponse,
30
31
  DescribeResourceUrlsByFlowsResponse,
31
32
  ChannelCreateMultiFlowSignQRCodeResponse,
32
33
  Recipient,
33
- DescribeTemplatesResponse,
34
+ Department,
34
35
  OperateChannelTemplateResponse,
36
+ StaffRole,
35
37
  CreateSignUrlsResponse,
36
38
  CreateSignUrlsRequest,
37
39
  ChannelCreateMultiFlowSignQRCodeRequest,
@@ -48,6 +50,7 @@ import {
48
50
  GetDownloadFlowUrlRequest,
49
51
  ChannelBatchCancelFlowsRequest,
50
52
  FlowDetailInfo,
53
+ SyncFailReason,
51
54
  CreateConsoleLoginUrlRequest,
52
55
  OrganizationInfo,
53
56
  CreateFlowsByTemplatesResponse,
@@ -62,6 +65,7 @@ import {
62
65
  SyncProxyOrganizationOperatorsRequest,
63
66
  CreateConsoleLoginUrlResponse,
64
67
  CreateFlowsByTemplatesRequest,
68
+ Filter,
65
69
  SyncProxyOrganizationRequest,
66
70
  CreateSealByImageRequest,
67
71
  SignQrCode,
@@ -74,8 +78,9 @@ import {
74
78
  DownloadFlowInfo,
75
79
  ChannelCancelMultiFlowSignQRCodeRequest,
76
80
  CreateChannelFlowEvidenceReportResponse,
77
- SyncFailReason,
78
81
  PrepareFlowsResponse,
82
+ ChannelDescribeEmployeesResponse,
83
+ TaskInfo,
79
84
  DescribeUsageRequest,
80
85
  ChannelCreateBatchCancelFlowUrlRequest,
81
86
  ApproverRestriction,
@@ -90,7 +95,8 @@ import {
90
95
  FlowApproverDetail,
91
96
  FlowInfo,
92
97
  ChannelCreateFlowGroupByFilesRequest,
93
- TaskInfo,
98
+ UploadFilesRequest,
99
+ Staff,
94
100
  CcInfo,
95
101
  ChannelCancelMultiFlowSignQRCodeResponse,
96
102
  DescribeFlowDetailInfoResponse,
@@ -240,8 +246,8 @@ export class Client extends TencentCloudCommon.AbstractClient {
240
246
  }
241
247
 
242
248
  /**
243
- * 【描述】:创建出证报告,返回报告 URL
244
- 【注意】:此接口需要通过添加白名单获取调用权限,请联系运营人员加白
249
+ * 创建出证报告,返回报告 URL。此接口暂未开放,有问题请联系运营人员。
250
+
245
251
  */
246
252
  async CreateChannelFlowEvidenceReport(
247
253
  req: CreateChannelFlowEvidenceReportRequest,
@@ -283,6 +289,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
283
289
  return this.request("SyncProxyOrganizationOperators", req, cb)
284
290
  }
285
291
 
292
+ /**
293
+ * 查询企业员工
294
+ */
295
+ async ChannelDescribeEmployees(
296
+ req: ChannelDescribeEmployeesRequest,
297
+ cb?: (error: string, rep: ChannelDescribeEmployeesResponse) => void
298
+ ): Promise<ChannelDescribeEmployeesResponse> {
299
+ return this.request("ChannelDescribeEmployees", req, cb)
300
+ }
301
+
286
302
  /**
287
303
  * 指定需要批量撤销的签署流程Id,批量撤销合同
288
304
  客户指定需要撤销的签署流程Id,最多100个,超过100不处理;接口失败后返回错误信息
@@ -312,30 +312,33 @@ export interface TemplateInfo {
312
312
  }
313
313
 
314
314
  /**
315
- * UploadFiles请求参数结构体
315
+ * ChannelDescribeEmployees请求参数结构体
316
316
  */
317
- export interface UploadFilesRequest {
317
+ export interface ChannelDescribeEmployeesRequest {
318
318
  /**
319
- * 应用相关信息,若是渠道版调用 appid 和proxyappid 必填
319
+ * 返回最大数量,最大为20
320
320
  */
321
- Agent: Agent
322
-
323
- /**
324
- * 文件对应业务类型,用于区分文件存储路径:
325
- 1. TEMPLATE - 模板; 文件类型:.pdf .doc .docx .html
326
- 2. DOCUMENT - 签署过程及签署后的合同文档/图片控件 文件类型:.pdf/.jpg/.png
327
- */
328
- BusinessType: string
321
+ Limit: number
329
322
 
330
323
  /**
331
- * 上传文件内容数组,最多支持20个文件
324
+ * 渠道应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 和 Agent.ProxyAppId 均必填。
332
325
  */
333
- FileInfos?: Array<UploadFile>
326
+ Agent?: Agent
334
327
 
335
328
  /**
336
329
  * 操作者的信息
337
330
  */
338
331
  Operator?: UserInfo
332
+
333
+ /**
334
+ * 查询过滤实名用户,key为Status,Values为["IsVerified"]
335
+ */
336
+ Filters?: Array<Filter>
337
+
338
+ /**
339
+ * 偏移量,默认为0,最大为20000
340
+ */
341
+ Offset?: number
339
342
  }
340
343
 
341
344
  /**
@@ -378,6 +381,36 @@ export interface GetDownloadFlowUrlResponse {
378
381
  RequestId?: string
379
382
  }
380
383
 
384
+ /**
385
+ * DescribeTemplates返回参数结构体
386
+ */
387
+ export interface DescribeTemplatesResponse {
388
+ /**
389
+ * 模板详情
390
+ */
391
+ Templates: Array<TemplateInfo>
392
+
393
+ /**
394
+ * 查询总数
395
+ */
396
+ TotalCount: number
397
+
398
+ /**
399
+ * 查询数量
400
+ */
401
+ Limit: number
402
+
403
+ /**
404
+ * 查询起始偏移
405
+ */
406
+ Offset: number
407
+
408
+ /**
409
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
410
+ */
411
+ RequestId?: string
412
+ }
413
+
381
414
  /**
382
415
  * DescribeResourceUrlsByFlows返回参数结构体
383
416
  */
@@ -470,33 +503,20 @@ export interface Recipient {
470
503
  }
471
504
 
472
505
  /**
473
- * DescribeTemplates返回参数结构体
506
+ * 渠道版员工部门信息
474
507
  */
475
- export interface DescribeTemplatesResponse {
508
+ export interface Department {
476
509
  /**
477
- * 模板详情
478
- */
479
- Templates: Array<TemplateInfo>
480
-
481
- /**
482
- * 查询总数
483
- */
484
- TotalCount: number
485
-
486
- /**
487
- * 查询数量
488
- */
489
- Limit: number
490
-
491
- /**
492
- * 查询起始偏移
493
- */
494
- Offset: number
510
+ * 部门id
511
+ 注意:此字段可能返回 null,表示取不到有效值。
512
+ */
513
+ DepartmentId: string
495
514
 
496
515
  /**
497
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
498
- */
499
- RequestId?: string
516
+ * 部门名称
517
+ 注意:此字段可能返回 null,表示取不到有效值。
518
+ */
519
+ DepartmentName: string
500
520
  }
501
521
 
502
522
  /**
@@ -545,6 +565,23 @@ export interface OperateChannelTemplateResponse {
545
565
  RequestId?: string
546
566
  }
547
567
 
568
+ /**
569
+ * 渠道版员工角色信息
570
+ */
571
+ export interface StaffRole {
572
+ /**
573
+ * 角色id
574
+ 注意:此字段可能返回 null,表示取不到有效值。
575
+ */
576
+ RoleId: string
577
+
578
+ /**
579
+ * 角色名称
580
+ 注意:此字段可能返回 null,表示取不到有效值。
581
+ */
582
+ RoleName: string
583
+ }
584
+
548
585
  /**
549
586
  * CreateSignUrls返回参数结构体
550
587
  */
@@ -1208,6 +1245,23 @@ export interface FlowDetailInfo {
1208
1245
  FlowApproverInfos: Array<FlowApproverDetail>
1209
1246
  }
1210
1247
 
1248
+ /**
1249
+ * 同步经办人失败原因
1250
+ */
1251
+ export interface SyncFailReason {
1252
+ /**
1253
+ * 经办人Id
1254
+ */
1255
+ Id: string
1256
+
1257
+ /**
1258
+ * 失败原因
1259
+ 例如:Id不符合规范、证件号码不合法等
1260
+ 注意:此字段可能返回 null,表示取不到有效值。
1261
+ */
1262
+ Message: string
1263
+ }
1264
+
1211
1265
  /**
1212
1266
  * CreateConsoleLoginUrl请求参数结构体
1213
1267
  */
@@ -1621,6 +1675,21 @@ export interface CreateFlowsByTemplatesRequest {
1621
1675
  Operator?: UserInfo
1622
1676
  }
1623
1677
 
1678
+ /**
1679
+ * 此结构体 (Filter) 用于描述查询过滤条件。
1680
+ */
1681
+ export interface Filter {
1682
+ /**
1683
+ * 查询过滤条件的Key
1684
+ */
1685
+ Key: string
1686
+
1687
+ /**
1688
+ * 查询过滤条件的Value列表
1689
+ */
1690
+ Values: Array<string>
1691
+ }
1692
+
1624
1693
  /**
1625
1694
  * SyncProxyOrganization请求参数结构体
1626
1695
  */
@@ -1894,30 +1963,45 @@ export interface CreateChannelFlowEvidenceReportResponse {
1894
1963
  }
1895
1964
 
1896
1965
  /**
1897
- * 同步经办人失败原因
1966
+ * PrepareFlows返回参数结构体
1898
1967
  */
1899
- export interface SyncFailReason {
1968
+ export interface PrepareFlowsResponse {
1900
1969
  /**
1901
- * 经办人Id
1970
+ * 待发起文件确认页
1902
1971
  */
1903
- Id: string
1972
+ ConfirmUrl: string
1904
1973
 
1905
1974
  /**
1906
- * 失败原因
1907
- 例如:Id不符合规范、证件号码不合法等
1908
- 注意:此字段可能返回 null,表示取不到有效值。
1909
- */
1910
- Message: string
1975
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1976
+ */
1977
+ RequestId?: string
1911
1978
  }
1912
1979
 
1913
1980
  /**
1914
- * PrepareFlows返回参数结构体
1981
+ * ChannelDescribeEmployees返回参数结构体
1915
1982
  */
1916
- export interface PrepareFlowsResponse {
1983
+ export interface ChannelDescribeEmployeesResponse {
1917
1984
  /**
1918
- * 待发起文件确认页
1985
+ * 员工数据列表
1986
+ 注意:此字段可能返回 null,表示取不到有效值。
1987
+ */
1988
+ Employees: Array<Staff>
1989
+
1990
+ /**
1991
+ * 偏移量,默认为0,最大为20000
1992
+ 注意:此字段可能返回 null,表示取不到有效值。
1993
+ */
1994
+ Offset: number
1995
+
1996
+ /**
1997
+ * 返回最大数量,最大为20
1919
1998
  */
1920
- ConfirmUrl: string
1999
+ Limit: number
2000
+
2001
+ /**
2002
+ * 符合条件的员工数量
2003
+ */
2004
+ TotalCount: number
1921
2005
 
1922
2006
  /**
1923
2007
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -1925,6 +2009,23 @@ export interface PrepareFlowsResponse {
1925
2009
  RequestId?: string
1926
2010
  }
1927
2011
 
2012
+ /**
2013
+ * 复杂文档合成任务的任务信息
2014
+ */
2015
+ export interface TaskInfo {
2016
+ /**
2017
+ * 合成任务Id,可以通过 ChannelGetTaskResultApi 接口获取任务信息
2018
+ 注意:此字段可能返回 null,表示取不到有效值。
2019
+ */
2020
+ TaskId: string
2021
+
2022
+ /**
2023
+ * 任务状态:READY - 任务已完成;NOTREADY - 任务未完成;
2024
+ 注意:此字段可能返回 null,表示取不到有效值。
2025
+ */
2026
+ TaskStatus: string
2027
+ }
2028
+
1928
2029
  /**
1929
2030
  * DescribeUsage请求参数结构体
1930
2031
  */
@@ -2483,20 +2584,89 @@ export interface ChannelCreateFlowGroupByFilesRequest {
2483
2584
  }
2484
2585
 
2485
2586
  /**
2486
- * 复杂文档合成任务的任务信息
2587
+ * UploadFiles请求参数结构体
2487
2588
  */
2488
- export interface TaskInfo {
2589
+ export interface UploadFilesRequest {
2489
2590
  /**
2490
- * 合成任务Id,可以通过 ChannelGetTaskResultApi 接口获取任务信息
2591
+ * 应用相关信息,若是渠道版调用 appid 和proxyappid 必填
2592
+ */
2593
+ Agent: Agent
2594
+
2595
+ /**
2596
+ * 文件对应业务类型,用于区分文件存储路径:
2597
+ 1. TEMPLATE - 模板; 文件类型:.pdf .doc .docx .html
2598
+ 2. DOCUMENT - 签署过程及签署后的合同文档/图片控件 文件类型:.pdf/.jpg/.png
2599
+ */
2600
+ BusinessType: string
2601
+
2602
+ /**
2603
+ * 上传文件内容数组,最多支持20个文件
2604
+ */
2605
+ FileInfos?: Array<UploadFile>
2606
+
2607
+ /**
2608
+ * 操作者的信息
2609
+ */
2610
+ Operator?: UserInfo
2611
+ }
2612
+
2613
+ /**
2614
+ * 企业员工信息
2615
+ */
2616
+ export interface Staff {
2617
+ /**
2618
+ * 员工在电子签平台的id
2619
+ */
2620
+ UserId: string
2621
+
2622
+ /**
2623
+ * 显示的员工名
2624
+ */
2625
+ DisplayName: string
2626
+
2627
+ /**
2628
+ * 员工手机号
2629
+ */
2630
+ Mobile: string
2631
+
2632
+ /**
2633
+ * 员工邮箱
2491
2634
  注意:此字段可能返回 null,表示取不到有效值。
2492
2635
  */
2493
- TaskId: string
2636
+ Email: string
2494
2637
 
2495
2638
  /**
2496
- * 任务状态:READY - 任务已完成;NOTREADY - 任务未完成;
2639
+ * 员工在第三方平台id
2497
2640
  注意:此字段可能返回 null,表示取不到有效值。
2498
2641
  */
2499
- TaskStatus: string
2642
+ OpenId: string
2643
+
2644
+ /**
2645
+ * 员工角色
2646
+ 注意:此字段可能返回 null,表示取不到有效值。
2647
+ */
2648
+ Roles: Array<StaffRole>
2649
+
2650
+ /**
2651
+ * 员工部门
2652
+ 注意:此字段可能返回 null,表示取不到有效值。
2653
+ */
2654
+ Department: Department
2655
+
2656
+ /**
2657
+ * 员工是否实名
2658
+ */
2659
+ Verified: boolean
2660
+
2661
+ /**
2662
+ * 员工创建时间戳
2663
+ */
2664
+ CreatedOn: number
2665
+
2666
+ /**
2667
+ * 员工实名时间戳
2668
+ */
2669
+ VerifiedOn: number
2500
2670
  }
2501
2671
 
2502
2672
  /**
@@ -1,5 +1,5 @@
1
1
  import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
2
- import { ChannelCreateConvertTaskApiResponse, OperateChannelTemplateRequest, UploadFilesRequest, SyncProxyOrganizationResponse, ChannelBatchCancelFlowsResponse, GetDownloadFlowUrlResponse, DescribeResourceUrlsByFlowsResponse, ChannelCreateMultiFlowSignQRCodeResponse, DescribeTemplatesResponse, OperateChannelTemplateResponse, CreateSignUrlsResponse, CreateSignUrlsRequest, ChannelCreateMultiFlowSignQRCodeRequest, CreateChannelFlowEvidenceReportRequest, DescribeFlowDetailInfoRequest, ChannelGetTaskResultApiResponse, ChannelGetTaskResultApiRequest, ChannelVerifyPdfResponse, GetDownloadFlowUrlRequest, ChannelBatchCancelFlowsRequest, CreateConsoleLoginUrlRequest, CreateFlowsByTemplatesResponse, ChannelCreateFlowSignReviewRequest, DescribeUsageResponse, SyncProxyOrganizationOperatorsResponse, CreateSealByImageResponse, ChannelVerifyPdfRequest, DescribeTemplatesRequest, SyncProxyOrganizationOperatorsRequest, CreateConsoleLoginUrlResponse, CreateFlowsByTemplatesRequest, SyncProxyOrganizationRequest, CreateSealByImageRequest, ChannelCreateFlowGroupByFilesResponse, PrepareFlowsRequest, ChannelCreateBatchCancelFlowUrlResponse, DescribeResourceUrlsByFlowsRequest, ChannelCancelMultiFlowSignQRCodeRequest, CreateChannelFlowEvidenceReportResponse, PrepareFlowsResponse, DescribeUsageRequest, ChannelCreateBatchCancelFlowUrlRequest, ChannelCreateFlowByFilesRequest, ChannelCreateFlowByFilesResponse, UploadFilesResponse, ChannelCreateFlowSignReviewResponse, ChannelCreateConvertTaskApiRequest, ChannelCreateFlowGroupByFilesRequest, ChannelCancelMultiFlowSignQRCodeResponse, DescribeFlowDetailInfoResponse } from "./essbasic_models";
2
+ import { ChannelCreateConvertTaskApiResponse, OperateChannelTemplateRequest, ChannelDescribeEmployeesRequest, SyncProxyOrganizationResponse, ChannelBatchCancelFlowsResponse, GetDownloadFlowUrlResponse, DescribeTemplatesResponse, DescribeResourceUrlsByFlowsResponse, ChannelCreateMultiFlowSignQRCodeResponse, OperateChannelTemplateResponse, CreateSignUrlsResponse, CreateSignUrlsRequest, ChannelCreateMultiFlowSignQRCodeRequest, CreateChannelFlowEvidenceReportRequest, DescribeFlowDetailInfoRequest, ChannelGetTaskResultApiResponse, ChannelGetTaskResultApiRequest, ChannelVerifyPdfResponse, GetDownloadFlowUrlRequest, ChannelBatchCancelFlowsRequest, CreateConsoleLoginUrlRequest, CreateFlowsByTemplatesResponse, ChannelCreateFlowSignReviewRequest, DescribeUsageResponse, SyncProxyOrganizationOperatorsResponse, CreateSealByImageResponse, ChannelVerifyPdfRequest, DescribeTemplatesRequest, SyncProxyOrganizationOperatorsRequest, CreateConsoleLoginUrlResponse, CreateFlowsByTemplatesRequest, SyncProxyOrganizationRequest, CreateSealByImageRequest, ChannelCreateFlowGroupByFilesResponse, PrepareFlowsRequest, ChannelCreateBatchCancelFlowUrlResponse, DescribeResourceUrlsByFlowsRequest, ChannelCancelMultiFlowSignQRCodeRequest, CreateChannelFlowEvidenceReportResponse, PrepareFlowsResponse, ChannelDescribeEmployeesResponse, DescribeUsageRequest, ChannelCreateBatchCancelFlowUrlRequest, ChannelCreateFlowByFilesRequest, ChannelCreateFlowByFilesResponse, UploadFilesResponse, ChannelCreateFlowSignReviewResponse, ChannelCreateConvertTaskApiRequest, ChannelCreateFlowGroupByFilesRequest, UploadFilesRequest, ChannelCancelMultiFlowSignQRCodeResponse, DescribeFlowDetailInfoResponse } from "./essbasic_models";
3
3
  /**
4
4
  * essbasic client
5
5
  * @class
@@ -69,8 +69,8 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
69
69
  */
70
70
  ChannelGetTaskResultApi(req: ChannelGetTaskResultApiRequest, cb?: (error: string, rep: ChannelGetTaskResultApiResponse) => void): Promise<ChannelGetTaskResultApiResponse>;
71
71
  /**
72
- * 【描述】:创建出证报告,返回报告 URL
73
- 【注意】:此接口需要通过添加白名单获取调用权限,请联系运营人员加白
72
+ * 创建出证报告,返回报告 URL。此接口暂未开放,有问题请联系运营人员。
73
+
74
74
  */
75
75
  CreateChannelFlowEvidenceReport(req: CreateChannelFlowEvidenceReportRequest, cb?: (error: string, rep: CreateChannelFlowEvidenceReportResponse) => void): Promise<CreateChannelFlowEvidenceReportResponse>;
76
76
  /**
@@ -88,6 +88,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
88
88
  若经办人信息有误,或者需要修改,也可以先将之前的经办人做离职操作,然后重新使用控制台链接CreateConsoleLoginUrl让经办人重新实名。
89
89
  */
90
90
  SyncProxyOrganizationOperators(req: SyncProxyOrganizationOperatorsRequest, cb?: (error: string, rep: SyncProxyOrganizationOperatorsResponse) => void): Promise<SyncProxyOrganizationOperatorsResponse>;
91
+ /**
92
+ * 查询企业员工
93
+ */
94
+ ChannelDescribeEmployees(req: ChannelDescribeEmployeesRequest, cb?: (error: string, rep: ChannelDescribeEmployeesResponse) => void): Promise<ChannelDescribeEmployeesResponse>;
91
95
  /**
92
96
  * 指定需要批量撤销的签署流程Id,批量撤销合同
93
97
  客户指定需要撤销的签署流程Id,最多100个,超过100不处理;接口失败后返回错误信息
@@ -114,8 +114,8 @@ class Client extends TencentCloudCommon.AbstractClient {
114
114
  return this.request("ChannelGetTaskResultApi", req, cb);
115
115
  }
116
116
  /**
117
- * 【描述】:创建出证报告,返回报告 URL
118
- 【注意】:此接口需要通过添加白名单获取调用权限,请联系运营人员加白
117
+ * 创建出证报告,返回报告 URL。此接口暂未开放,有问题请联系运营人员。
118
+
119
119
  */
120
120
  async CreateChannelFlowEvidenceReport(req, cb) {
121
121
  return this.request("CreateChannelFlowEvidenceReport", req, cb);
@@ -141,6 +141,12 @@ class Client extends TencentCloudCommon.AbstractClient {
141
141
  async SyncProxyOrganizationOperators(req, cb) {
142
142
  return this.request("SyncProxyOrganizationOperators", req, cb);
143
143
  }
144
+ /**
145
+ * 查询企业员工
146
+ */
147
+ async ChannelDescribeEmployees(req, cb) {
148
+ return this.request("ChannelDescribeEmployees", req, cb);
149
+ }
144
150
  /**
145
151
  * 指定需要批量撤销的签署流程Id,批量撤销合同
146
152
  客户指定需要撤销的签署流程Id,最多100个,超过100不处理;接口失败后返回错误信息