tencentcloud-sdk-nodejs-ess 4.0.616 → 4.0.617

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.
@@ -1,5 +1,5 @@
1
1
  import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
2
- import { CancelFlowResponse, DescribeFlowEvidenceReportRequest, UpdateIntegrationEmployeesResponse, CreatePreparedPersonalEsignRequest, CreateFlowApproversResponse, DescribeIntegrationMainOrganizationUserRequest, ModifyApplicationCallbackInfoResponse, CreateMultiFlowSignQRCodeResponse, DescribeThirdPartyAuthCodeResponse, DisableUserAutoSignResponse, BindEmployeeUserIdWithClientOpenIdResponse, CreateIntegrationEmployeesRequest, CreateConvertTaskApiRequest, CreateFlowEvidenceReportRequest, StartFlowResponse, DescribeIntegrationRolesRequest, CreateFlowRemindsResponse, DescribeOrganizationGroupOrganizationsRequest, DescribeFlowTemplatesRequest, DescribeFlowEvidenceReportResponse, CreateDocumentResponse, DescribeIntegrationEmployeesRequest, CreateIntegrationUserRolesResponse, CreateFlowRequest, CreateSchemeUrlRequest, DescribeThirdPartyAuthCodeRequest, UnbindEmployeeUserIdWithClientOpenIdResponse, CreateReleaseFlowResponse, BindEmployeeUserIdWithClientOpenIdRequest, DeleteSealPoliciesResponse, DescribeUserAutoSignStatusResponse, CreateBatchCancelFlowUrlResponse, CreateSealPolicyResponse, DisableUserAutoSignRequest, DescribeIntegrationEmployeesResponse, CreateConvertTaskApiResponse, CreateFlowSignReviewRequest, UnbindEmployeeUserIdWithClientOpenIdRequest, CreateSchemeUrlResponse, CreateUserAutoSignEnableUrlResponse, CreateFlowSignUrlResponse, DescribeFileUrlsRequest, CreateChannelSubOrganizationModifyQrCodeRequest, CreateFlowApproversRequest, CreateFlowEvidenceReportResponse, DescribeFileUrlsResponse, DeleteIntegrationRoleUsersResponse, CreateDocumentRequest, CreatePreparedPersonalEsignResponse, DescribeOrganizationSealsResponse, DeleteIntegrationEmployeesRequest, GetTaskResultApiRequest, CreateIntegrationEmployeesResponse, DeleteIntegrationRoleUsersRequest, CreateFlowSignUrlRequest, CreateReleaseFlowRequest, CreateIntegrationUserRolesRequest, CreateChannelSubOrganizationModifyQrCodeResponse, CreateFlowByFilesResponse, UploadFilesResponse, VerifyPdfRequest, CreateFlowSignReviewResponse, CreateUserAutoSignEnableUrlRequest, DescribeIntegrationMainOrganizationUserResponse, DeleteSealPoliciesRequest, CreateFlowByFilesRequest, CreatePrepareFlowResponse, GetTaskResultApiResponse, CancelMultiFlowSignQRCodeRequest, ModifyApplicationCallbackInfoRequest, StartFlowRequest, CreatePrepareFlowRequest, CreateSealPolicyRequest, DescribeOrganizationSealsRequest, CancelFlowRequest, DescribeIntegrationRolesResponse, CreateFlowRemindsRequest, UpdateIntegrationEmployeesRequest, DescribeFlowBriefsRequest, DeleteIntegrationEmployeesResponse, VerifyPdfResponse, DescribeFlowBriefsResponse, DescribeFlowTemplatesResponse, UploadFilesRequest, CreateBatchCancelFlowUrlRequest, CreateMultiFlowSignQRCodeRequest, DescribeFlowInfoRequest, DescribeFlowInfoResponse, CreateFlowResponse, DescribeUserAutoSignStatusRequest, DescribeOrganizationGroupOrganizationsResponse, CancelMultiFlowSignQRCodeResponse } from "./ess_models";
2
+ import { ModifyIntegrationDepartmentResponse, CancelFlowResponse, DescribeFlowEvidenceReportRequest, UpdateIntegrationEmployeesResponse, CreatePreparedPersonalEsignRequest, DescribeIntegrationDepartmentsResponse, CreateFlowApproversResponse, DescribeIntegrationMainOrganizationUserRequest, ModifyApplicationCallbackInfoResponse, CreateMultiFlowSignQRCodeResponse, DescribeThirdPartyAuthCodeResponse, DisableUserAutoSignResponse, BindEmployeeUserIdWithClientOpenIdResponse, CreateIntegrationEmployeesRequest, DescribeIntegrationRolesRequest, CreateFlowEvidenceReportRequest, StartFlowResponse, CreateConvertTaskApiRequest, CreateFlowRemindsResponse, DescribeOrganizationGroupOrganizationsRequest, DescribeFlowTemplatesRequest, DescribeFlowEvidenceReportResponse, CreateDocumentResponse, DescribeIntegrationEmployeesRequest, CreateIntegrationUserRolesResponse, CreateFlowRequest, CreateSchemeUrlRequest, DeleteIntegrationDepartmentResponse, DescribeThirdPartyAuthCodeRequest, UnbindEmployeeUserIdWithClientOpenIdResponse, CreateReleaseFlowResponse, BindEmployeeUserIdWithClientOpenIdRequest, DescribeIntegrationDepartmentsRequest, CreateIntegrationDepartmentResponse, DeleteSealPoliciesResponse, DescribeUserAutoSignStatusResponse, CreateBatchCancelFlowUrlResponse, CreateSealPolicyResponse, DisableUserAutoSignRequest, DescribeIntegrationEmployeesResponse, CreateConvertTaskApiResponse, CreateFlowSignReviewRequest, UnbindEmployeeUserIdWithClientOpenIdRequest, CreateSchemeUrlResponse, CreateUserAutoSignEnableUrlResponse, CreateFlowSignUrlResponse, DescribeFileUrlsRequest, CreateChannelSubOrganizationModifyQrCodeRequest, CreateFlowApproversRequest, CreateFlowEvidenceReportResponse, DescribeFileUrlsResponse, CreateIntegrationDepartmentRequest, DeleteIntegrationRoleUsersResponse, CreateDocumentRequest, CreatePreparedPersonalEsignResponse, DescribeOrganizationSealsResponse, DeleteIntegrationEmployeesRequest, GetTaskResultApiRequest, CreateIntegrationEmployeesResponse, DeleteIntegrationRoleUsersRequest, CreateFlowSignUrlRequest, CreateReleaseFlowRequest, CreateIntegrationUserRolesRequest, CreateChannelSubOrganizationModifyQrCodeResponse, CreateFlowByFilesResponse, UploadFilesResponse, VerifyPdfRequest, CreateFlowSignReviewResponse, ModifyIntegrationDepartmentRequest, CreateUserAutoSignEnableUrlRequest, DescribeIntegrationMainOrganizationUserResponse, DeleteSealPoliciesRequest, CreateFlowByFilesRequest, CreatePrepareFlowResponse, GetTaskResultApiResponse, CancelMultiFlowSignQRCodeRequest, DeleteIntegrationDepartmentRequest, ModifyApplicationCallbackInfoRequest, StartFlowRequest, CreatePrepareFlowRequest, CreateSealPolicyRequest, DescribeOrganizationSealsRequest, CancelFlowRequest, DescribeIntegrationRolesResponse, CreateFlowRemindsRequest, UpdateIntegrationEmployeesRequest, DescribeFlowBriefsRequest, DeleteIntegrationEmployeesResponse, VerifyPdfResponse, DescribeFlowBriefsResponse, DescribeFlowTemplatesResponse, UploadFilesRequest, CreateBatchCancelFlowUrlRequest, CreateMultiFlowSignQRCodeRequest, DescribeFlowInfoRequest, DescribeFlowInfoResponse, CreateFlowResponse, DescribeUserAutoSignStatusRequest, DescribeOrganizationGroupOrganizationsResponse, CancelMultiFlowSignQRCodeResponse } from "./ess_models";
3
3
  /**
4
4
  * ess client
5
5
  * @class
@@ -7,9 +7,10 @@ import { CancelFlowResponse, DescribeFlowEvidenceReportRequest, UpdateIntegratio
7
7
  export declare class Client extends TencentCloudCommon.AbstractClient {
8
8
  constructor(clientConfig: TencentCloudCommon.ClientConfig);
9
9
  /**
10
- * 此API接口用户查询加入集团的成员企业
11
- */
12
- DescribeOrganizationGroupOrganizations(req: DescribeOrganizationGroupOrganizationsRequest, cb?: (error: string, rep: DescribeOrganizationGroupOrganizationsResponse) => void): Promise<DescribeOrganizationGroupOrganizationsResponse>;
10
+ * 查询合同详情
11
+ 适用场景:可用于主动查询某个合同详情信息。
12
+ */
13
+ DescribeFlowInfo(req: DescribeFlowInfoRequest, cb?: (error: string, rep: DescribeFlowInfoResponse) => void): Promise<DescribeFlowInfoResponse>;
13
14
  /**
14
15
  * 新增/删除应用callbackinfo
15
16
  callbackinfo包含: 回调地址和签名key
@@ -47,10 +48,13 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
47
48
  */
48
49
  CreateUserAutoSignEnableUrl(req: CreateUserAutoSignEnableUrlRequest, cb?: (error: string, rep: CreateUserAutoSignEnableUrlResponse) => void): Promise<CreateUserAutoSignEnableUrlResponse>;
49
50
  /**
50
- * 创建出证报告,返回报告 ID。需要配合出证套餐才能调用。
51
- 出证需要一定时间,建议调用创建出证24小时之后再通过DescribeFlowEvidenceReport进行查询。
52
- */
53
- CreateFlowEvidenceReport(req: CreateFlowEvidenceReportRequest, cb?: (error: string, rep: CreateFlowEvidenceReportResponse) => void): Promise<CreateFlowEvidenceReportResponse>;
51
+ * 对企业员工进行印章授权
52
+ */
53
+ CreateSealPolicy(req: CreateSealPolicyRequest, cb?: (error: string, rep: CreateSealPolicyResponse) => void): Promise<CreateSealPolicyResponse>;
54
+ /**
55
+ * 此API接口用户查询加入集团的成员企业
56
+ */
57
+ DescribeOrganizationGroupOrganizations(req: DescribeOrganizationGroupOrganizationsRequest, cb?: (error: string, rep: DescribeOrganizationGroupOrganizationsResponse) => void): Promise<DescribeOrganizationGroupOrganizationsResponse>;
54
58
  /**
55
59
  * 对流程的合同文件进行验证,判断文件是否合法。
56
60
  */
@@ -65,6 +69,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
65
69
  客户指定需要撤回的签署流程Id,最多100个,超过100不处理;接口调用成功返回批量撤回合同的链接,通过链接跳转到电子签小程序完成批量撤回。
66
70
  */
67
71
  CreateBatchCancelFlowUrl(req: CreateBatchCancelFlowUrlRequest, cb?: (error: string, rep: CreateBatchCancelFlowUrlResponse) => void): Promise<CreateBatchCancelFlowUrlResponse>;
72
+ /**
73
+ * 通过此接口,删除企业的部门。
74
+ */
75
+ DeleteIntegrationDepartment(req: DeleteIntegrationDepartmentRequest, cb?: (error: string, rep: DeleteIntegrationDepartmentResponse) => void): Promise<DeleteIntegrationDepartmentResponse>;
68
76
  /**
69
77
  * 将电子签系统员工userId与客户系统员工openId进行绑定
70
78
  */
@@ -109,14 +117,22 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
109
117
  */
110
118
  CreateDocument(req: CreateDocumentRequest, cb?: (error: string, rep: CreateDocumentResponse) => void): Promise<CreateDocumentResponse>;
111
119
  /**
112
- * 查询合同详情
113
- 适用场景:可用于主动查询某个合同详情信息。
120
+ * 此接口(CreateMultiFlowSignQRCode)用于创建一码多扫流程签署二维码。
121
+ 适用场景:无需填写签署人信息,可通过模板id生成签署二维码,签署人可通过扫描二维码补充签署信息进行实名签署。常用于提前不知道签署人的身份信息场景,例如:劳务工招工、大批量员工入职等场景。
122
+
123
+ **本接口适用于发起方没有填写控件的 B2C或者单C模板**
124
+
125
+ **若是B2C模板,还要满足以下任意一个条件**
126
+ - 模板中配置的签署顺序是无序
127
+ - B端企业的签署方式是静默签署
128
+ - B端企业是非首位签署
114
129
  */
115
- DescribeFlowInfo(req: DescribeFlowInfoRequest, cb?: (error: string, rep: DescribeFlowInfoResponse) => void): Promise<DescribeFlowInfoResponse>;
130
+ CreateMultiFlowSignQRCode(req: CreateMultiFlowSignQRCodeRequest, cb?: (error: string, rep: CreateMultiFlowSignQRCodeResponse) => void): Promise<CreateMultiFlowSignQRCodeResponse>;
116
131
  /**
117
- * 对企业员工进行印章授权
118
- */
119
- CreateSealPolicy(req: CreateSealPolicyRequest, cb?: (error: string, rep: CreateSealPolicyResponse) => void): Promise<CreateSealPolicyResponse>;
132
+ * 创建出证报告,返回报告 ID。需要配合出证套餐才能调用。
133
+ 出证需要一定时间,建议调用创建出证24小时之后再通过DescribeFlowEvidenceReport进行查询。
134
+ */
135
+ CreateFlowEvidenceReport(req: CreateFlowEvidenceReportRequest, cb?: (error: string, rep: CreateFlowEvidenceReportResponse) => void): Promise<CreateFlowEvidenceReportResponse>;
120
136
  /**
121
137
  * 通过模板创建签署流程<br/>
122
138
  适用场景:在标准制式的合同场景中,可通过提前预制好模板文件,每次调用模板文件的id,补充合同内容信息及签署信息生成电子合同。<br/>
@@ -152,17 +168,9 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
152
168
  */
153
169
  DescribeIntegrationRoles(req: DescribeIntegrationRolesRequest, cb?: (error: string, rep: DescribeIntegrationRolesResponse) => void): Promise<DescribeIntegrationRolesResponse>;
154
170
  /**
155
- * 此接口(CreateMultiFlowSignQRCode)用于创建一码多扫流程签署二维码。
156
- 适用场景:无需填写签署人信息,可通过模板id生成签署二维码,签署人可通过扫描二维码补充签署信息进行实名签署。常用于提前不知道签署人的身份信息场景,例如:劳务工招工、大批量员工入职等场景。
157
-
158
- **本接口适用于发起方没有填写控件的 B2C或者单C模板**
159
-
160
- **若是B2C模板,还要满足以下任意一个条件**
161
- - 模板中配置的签署顺序是无序
162
- - B端企业的签署方式是静默签署
163
- - B端企业是非首位签署
164
- */
165
- CreateMultiFlowSignQRCode(req: CreateMultiFlowSignQRCodeRequest, cb?: (error: string, rep: CreateMultiFlowSignQRCodeResponse) => void): Promise<CreateMultiFlowSignQRCodeResponse>;
171
+ * 通过此接口,创建企业的部门,支持绑定客户系统部门ID。
172
+ */
173
+ CreateIntegrationDepartment(req: CreateIntegrationDepartmentRequest, cb?: (error: string, rep: CreateIntegrationDepartmentResponse) => void): Promise<CreateIntegrationDepartmentResponse>;
166
174
  /**
167
175
  * 通过发起转换任务接口(CreateConvertTaskApi)返回的任务Id查询转换任务状态,通过本接口确认转换任务是否完成。<br/>
168
176
  大文件转换所需的时间可能会比较长。
@@ -247,6 +255,14 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
247
255
  如您需要自主配置小程序跳转链接,请参考: <a href="https://cloud.tencent.com/document/product/1323/74774">跳转小程序链接配置说明</a>
248
256
  */
249
257
  CreateSchemeUrl(req: CreateSchemeUrlRequest, cb?: (error: string, rep: CreateSchemeUrlResponse) => void): Promise<CreateSchemeUrlResponse>;
258
+ /**
259
+ * 通过此接口,查询企业的部门,支持查询单个部门节点或单个部门节点及一级子节点部门列表。
260
+ */
261
+ DescribeIntegrationDepartments(req: DescribeIntegrationDepartmentsRequest, cb?: (error: string, rep: DescribeIntegrationDepartmentsResponse) => void): Promise<DescribeIntegrationDepartmentsResponse>;
262
+ /**
263
+ * 通过此接口,更新企业的部门信息,支持更新部门名、客户系统部门ID、部门序列号。
264
+ */
265
+ ModifyIntegrationDepartment(req: ModifyIntegrationDepartmentRequest, cb?: (error: string, rep: ModifyIntegrationDepartmentResponse) => void): Promise<ModifyIntegrationDepartmentResponse>;
250
266
  /**
251
267
  * 创建员工,如需在此接口提醒员工实名,入参Employees的OpenId不传
252
268
  */
@@ -28,10 +28,11 @@ class Client extends TencentCloudCommon.AbstractClient {
28
28
  super("ess.tencentcloudapi.com", "2020-11-11", clientConfig);
29
29
  }
30
30
  /**
31
- * 此API接口用户查询加入集团的成员企业
32
- */
33
- async DescribeOrganizationGroupOrganizations(req, cb) {
34
- return this.request("DescribeOrganizationGroupOrganizations", req, cb);
31
+ * 查询合同详情
32
+ 适用场景:可用于主动查询某个合同详情信息。
33
+ */
34
+ async DescribeFlowInfo(req, cb) {
35
+ return this.request("DescribeFlowInfo", req, cb);
35
36
  }
36
37
  /**
37
38
  * 新增/删除应用callbackinfo
@@ -84,11 +85,16 @@ class Client extends TencentCloudCommon.AbstractClient {
84
85
  return this.request("CreateUserAutoSignEnableUrl", req, cb);
85
86
  }
86
87
  /**
87
- * 创建出证报告,返回报告 ID。需要配合出证套餐才能调用。
88
- 出证需要一定时间,建议调用创建出证24小时之后再通过DescribeFlowEvidenceReport进行查询。
89
- */
90
- async CreateFlowEvidenceReport(req, cb) {
91
- return this.request("CreateFlowEvidenceReport", req, cb);
88
+ * 对企业员工进行印章授权
89
+ */
90
+ async CreateSealPolicy(req, cb) {
91
+ return this.request("CreateSealPolicy", req, cb);
92
+ }
93
+ /**
94
+ * 此API接口用户查询加入集团的成员企业
95
+ */
96
+ async DescribeOrganizationGroupOrganizations(req, cb) {
97
+ return this.request("DescribeOrganizationGroupOrganizations", req, cb);
92
98
  }
93
99
  /**
94
100
  * 对流程的合同文件进行验证,判断文件是否合法。
@@ -110,6 +116,12 @@ class Client extends TencentCloudCommon.AbstractClient {
110
116
  async CreateBatchCancelFlowUrl(req, cb) {
111
117
  return this.request("CreateBatchCancelFlowUrl", req, cb);
112
118
  }
119
+ /**
120
+ * 通过此接口,删除企业的部门。
121
+ */
122
+ async DeleteIntegrationDepartment(req, cb) {
123
+ return this.request("DeleteIntegrationDepartment", req, cb);
124
+ }
113
125
  /**
114
126
  * 将电子签系统员工userId与客户系统员工openId进行绑定
115
127
  */
@@ -170,17 +182,25 @@ class Client extends TencentCloudCommon.AbstractClient {
170
182
  return this.request("CreateDocument", req, cb);
171
183
  }
172
184
  /**
173
- * 查询合同详情
174
- 适用场景:可用于主动查询某个合同详情信息。
185
+ * 此接口(CreateMultiFlowSignQRCode)用于创建一码多扫流程签署二维码。
186
+ 适用场景:无需填写签署人信息,可通过模板id生成签署二维码,签署人可通过扫描二维码补充签署信息进行实名签署。常用于提前不知道签署人的身份信息场景,例如:劳务工招工、大批量员工入职等场景。
187
+
188
+ **本接口适用于发起方没有填写控件的 B2C或者单C模板**
189
+
190
+ **若是B2C模板,还要满足以下任意一个条件**
191
+ - 模板中配置的签署顺序是无序
192
+ - B端企业的签署方式是静默签署
193
+ - B端企业是非首位签署
175
194
  */
176
- async DescribeFlowInfo(req, cb) {
177
- return this.request("DescribeFlowInfo", req, cb);
195
+ async CreateMultiFlowSignQRCode(req, cb) {
196
+ return this.request("CreateMultiFlowSignQRCode", req, cb);
178
197
  }
179
198
  /**
180
- * 对企业员工进行印章授权
181
- */
182
- async CreateSealPolicy(req, cb) {
183
- return this.request("CreateSealPolicy", req, cb);
199
+ * 创建出证报告,返回报告 ID。需要配合出证套餐才能调用。
200
+ 出证需要一定时间,建议调用创建出证24小时之后再通过DescribeFlowEvidenceReport进行查询。
201
+ */
202
+ async CreateFlowEvidenceReport(req, cb) {
203
+ return this.request("CreateFlowEvidenceReport", req, cb);
184
204
  }
185
205
  /**
186
206
  * 通过模板创建签署流程<br/>
@@ -231,18 +251,10 @@ class Client extends TencentCloudCommon.AbstractClient {
231
251
  return this.request("DescribeIntegrationRoles", req, cb);
232
252
  }
233
253
  /**
234
- * 此接口(CreateMultiFlowSignQRCode)用于创建一码多扫流程签署二维码。
235
- 适用场景:无需填写签署人信息,可通过模板id生成签署二维码,签署人可通过扫描二维码补充签署信息进行实名签署。常用于提前不知道签署人的身份信息场景,例如:劳务工招工、大批量员工入职等场景。
236
-
237
- **本接口适用于发起方没有填写控件的 B2C或者单C模板**
238
-
239
- **若是B2C模板,还要满足以下任意一个条件**
240
- - 模板中配置的签署顺序是无序
241
- - B端企业的签署方式是静默签署
242
- - B端企业是非首位签署
243
- */
244
- async CreateMultiFlowSignQRCode(req, cb) {
245
- return this.request("CreateMultiFlowSignQRCode", req, cb);
254
+ * 通过此接口,创建企业的部门,支持绑定客户系统部门ID。
255
+ */
256
+ async CreateIntegrationDepartment(req, cb) {
257
+ return this.request("CreateIntegrationDepartment", req, cb);
246
258
  }
247
259
  /**
248
260
  * 通过发起转换任务接口(CreateConvertTaskApi)返回的任务Id查询转换任务状态,通过本接口确认转换任务是否完成。<br/>
@@ -356,6 +368,18 @@ class Client extends TencentCloudCommon.AbstractClient {
356
368
  async CreateSchemeUrl(req, cb) {
357
369
  return this.request("CreateSchemeUrl", req, cb);
358
370
  }
371
+ /**
372
+ * 通过此接口,查询企业的部门,支持查询单个部门节点或单个部门节点及一级子节点部门列表。
373
+ */
374
+ async DescribeIntegrationDepartments(req, cb) {
375
+ return this.request("DescribeIntegrationDepartments", req, cb);
376
+ }
377
+ /**
378
+ * 通过此接口,更新企业的部门信息,支持更新部门名、客户系统部门ID、部门序列号。
379
+ */
380
+ async ModifyIntegrationDepartment(req, cb) {
381
+ return this.request("ModifyIntegrationDepartment", req, cb);
382
+ }
359
383
  /**
360
384
  * 创建员工,如需在此接口提醒员工实名,入参Employees的OpenId不传
361
385
  */
@@ -1,3 +1,12 @@
1
+ /**
2
+ * ModifyIntegrationDepartment返回参数结构体
3
+ */
4
+ export interface ModifyIntegrationDepartmentResponse {
5
+ /**
6
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7
+ */
8
+ RequestId?: string;
9
+ }
1
10
  /**
2
11
  * CancelFlow返回参数结构体
3
12
  */
@@ -120,6 +129,19 @@ export interface CreatePreparedPersonalEsignRequest {
120
129
  */
121
130
  FileId?: string;
122
131
  }
132
+ /**
133
+ * DescribeIntegrationDepartments返回参数结构体
134
+ */
135
+ export interface DescribeIntegrationDepartmentsResponse {
136
+ /**
137
+ * 部门列表
138
+ */
139
+ Departments?: Array<IntegrationDepartment>;
140
+ /**
141
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
142
+ */
143
+ RequestId?: string;
144
+ }
123
145
  /**
124
146
  * 模板中文件的信息结构
125
147
  */
@@ -327,33 +349,32 @@ export interface CreateIntegrationEmployeesRequest {
327
349
  Agent?: Agent;
328
350
  }
329
351
  /**
330
- * CreateConvertTaskApi请求参数结构体
352
+ * DescribeIntegrationRoles请求参数结构体
331
353
  */
332
- export interface CreateConvertTaskApiRequest {
333
- /**
334
- * 资源类型 取值范围doc,docx,html,xls,xlsx之一
335
- */
336
- ResourceType: string;
337
- /**
338
- * 资源名称,长度限制为256字符
339
- */
340
- ResourceName: string;
354
+ export interface DescribeIntegrationRolesRequest {
341
355
  /**
342
- * 资源Id,通过UploadFiles获取
356
+ * 操作人信息
343
357
  */
344
- ResourceId: string;
358
+ Operator: UserInfo;
345
359
  /**
346
- * 调用方用户信息,userId 必填
360
+ * 返回最大数量,最大为200
347
361
  */
348
- Operator?: UserInfo;
362
+ Limit: number;
349
363
  /**
350
- * 应用号信息
364
+ * 代理相关应用信息,如集团主企业代子企业操作的场景中ProxyOrganizationId必填
351
365
  */
352
366
  Agent?: Agent;
353
367
  /**
354
- * 暂未开放
368
+ * 查询的关键字段:
369
+ Key:"RoleType",Values:["1"]查询系统角色,Values:["2"]查询自定义角色
370
+ Key:"RoleStatus",Values:["1"]查询启用角色,Values:["2"]查询禁用角色
371
+ Key:"IsGroupRole",Values:["0"],查询非集团角色,Values:["1"]表示查询集团角色
372
+ */
373
+ Filters?: Array<Filter>;
374
+ /**
375
+ * 偏移量,默认为0,最大为2000
355
376
  */
356
- Organization?: OrganizationInfo;
377
+ Offset?: number;
357
378
  }
358
379
  /**
359
380
  * CreateFlowEvidenceReport请求参数结构体
@@ -436,32 +457,33 @@ export interface AuthorizedUser {
436
457
  UserId: string;
437
458
  }
438
459
  /**
439
- * DescribeIntegrationRoles请求参数结构体
460
+ * CreateConvertTaskApi请求参数结构体
440
461
  */
441
- export interface DescribeIntegrationRolesRequest {
462
+ export interface CreateConvertTaskApiRequest {
442
463
  /**
443
- * 操作人信息
464
+ * 资源类型 取值范围doc,docx,html,xls,xlsx之一
444
465
  */
445
- Operator: UserInfo;
466
+ ResourceType: string;
446
467
  /**
447
- * 返回最大数量,最大为200
468
+ * 资源名称,长度限制为256字符
448
469
  */
449
- Limit: number;
470
+ ResourceName: string;
450
471
  /**
451
- * 代理相关应用信息,如集团主企业代子企业操作的场景中ProxyOrganizationId必填
472
+ * 资源Id,通过UploadFiles获取
452
473
  */
453
- Agent?: Agent;
474
+ ResourceId: string;
454
475
  /**
455
- * 查询的关键字段:
456
- Key:"RoleType",Values:["1"]查询系统角色,Values:["2"]查询自定义角色
457
- Key:"RoleStatus",Values:["1"]查询启用角色,Values:["2"]查询禁用角色
458
- Key:"IsGroupRole",Values:["0"],查询非集团角色,Values:["1"]表示查询集团角色
459
- */
460
- Filters?: Array<Filter>;
476
+ * 调用方用户信息,userId 必填
477
+ */
478
+ Operator?: UserInfo;
461
479
  /**
462
- * 偏移量,默认为0,最大为2000
480
+ * 应用号信息
463
481
  */
464
- Offset?: number;
482
+ Agent?: Agent;
483
+ /**
484
+ * 暂未开放
485
+ */
486
+ Organization?: OrganizationInfo;
465
487
  }
466
488
  /**
467
489
  * CreateFlowReminds返回参数结构体
@@ -966,6 +988,15 @@ export interface CreateSchemeUrlRequest {
966
988
  */
967
989
  Agent?: Agent;
968
990
  }
991
+ /**
992
+ * DeleteIntegrationDepartment返回参数结构体
993
+ */
994
+ export interface DeleteIntegrationDepartmentResponse {
995
+ /**
996
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
997
+ */
998
+ RequestId?: string;
999
+ }
969
1000
  /**
970
1001
  * 自动签开启、签署相关配置
971
1002
  */
@@ -1048,6 +1079,40 @@ export interface BindEmployeeUserIdWithClientOpenIdRequest {
1048
1079
  */
1049
1080
  OpenId: string;
1050
1081
  }
1082
+ /**
1083
+ * DescribeIntegrationDepartments请求参数结构体
1084
+ */
1085
+ export interface DescribeIntegrationDepartmentsRequest {
1086
+ /**
1087
+ * 操作人信息,UserId必填且需拥有组织架构管理权限
1088
+ */
1089
+ Operator: UserInfo;
1090
+ /**
1091
+ * 查询类型 0-查询单个部门节点 1-单个部门节点及一级子节点部门列表
1092
+ */
1093
+ QueryType: number;
1094
+ /**
1095
+ * 部门ID,与DeptOpenId二选一,优先DeptId,都为空时获取根节点数据
1096
+ */
1097
+ DeptId?: string;
1098
+ /**
1099
+ * 客户系统部门ID,与DeptId二选一,优先DeptId,都为空时获取根节点数据
1100
+ */
1101
+ DeptOpenId?: string;
1102
+ }
1103
+ /**
1104
+ * CreateIntegrationDepartment返回参数结构体
1105
+ */
1106
+ export interface CreateIntegrationDepartmentResponse {
1107
+ /**
1108
+ * 电子签部门ID
1109
+ */
1110
+ DeptId?: string;
1111
+ /**
1112
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1113
+ */
1114
+ RequestId?: string;
1115
+ }
1051
1116
  /**
1052
1117
  * DeleteSealPolicies返回参数结构体
1053
1118
  */
@@ -1851,6 +1916,35 @@ export interface DescribeFileUrlsResponse {
1851
1916
  */
1852
1917
  RequestId?: string;
1853
1918
  }
1919
+ /**
1920
+ * CreateIntegrationDepartment请求参数结构体
1921
+ */
1922
+ export interface CreateIntegrationDepartmentRequest {
1923
+ /**
1924
+ * 操作人信息,UserId必填且需拥有组织架构管理权限
1925
+ */
1926
+ Operator: UserInfo;
1927
+ /**
1928
+ * 部门名称,不超过50个字符
1929
+ */
1930
+ DeptName: string;
1931
+ /**
1932
+ * 电子签父部门ID,与ParentDeptOpenId二选一,优先ParentDeptId,都为空时自动填充至根节点下
1933
+ */
1934
+ ParentDeptId?: string;
1935
+ /**
1936
+ * 第三方平台中父部门ID,与ParentDeptId二选一,优先ParentDeptId,都为空时自动填充至根节点下
1937
+ */
1938
+ ParentDeptOpenId?: string;
1939
+ /**
1940
+ * 客户系统部门ID,不超过64个字符
1941
+ */
1942
+ DeptOpenId?: string;
1943
+ /**
1944
+ * 排序号,1~30000范围内
1945
+ */
1946
+ OrderNo?: number;
1947
+ }
1854
1948
  /**
1855
1949
  * 成员企业信息
1856
1950
  */
@@ -2514,6 +2608,35 @@ export interface CreateFlowSignReviewResponse {
2514
2608
  */
2515
2609
  RequestId?: string;
2516
2610
  }
2611
+ /**
2612
+ * ModifyIntegrationDepartment请求参数结构体
2613
+ */
2614
+ export interface ModifyIntegrationDepartmentRequest {
2615
+ /**
2616
+ * 操作人信息,UserId必填且需拥有组织架构管理权限
2617
+ */
2618
+ Operator: UserInfo;
2619
+ /**
2620
+ * 电子签部门ID
2621
+ */
2622
+ DeptId: string;
2623
+ /**
2624
+ * 电子签父部门ID
2625
+ */
2626
+ ParentDeptId?: string;
2627
+ /**
2628
+ * 部门名称,不超过50个字符
2629
+ */
2630
+ DeptName?: string;
2631
+ /**
2632
+ * 客户系统部门ID,不超过64个字符
2633
+ */
2634
+ DeptOpenId?: string;
2635
+ /**
2636
+ * 排序号,1~30000范围内
2637
+ */
2638
+ OrderNo?: number;
2639
+ }
2517
2640
  /**
2518
2641
  * 查询过滤条件
2519
2642
  */
@@ -2866,6 +2989,23 @@ export interface CancelMultiFlowSignQRCodeRequest {
2866
2989
  */
2867
2990
  Agent?: Agent;
2868
2991
  }
2992
+ /**
2993
+ * DeleteIntegrationDepartment请求参数结构体
2994
+ */
2995
+ export interface DeleteIntegrationDepartmentRequest {
2996
+ /**
2997
+ * 操作人信息,UserId必填且需拥有组织架构管理权限
2998
+ */
2999
+ Operator: UserInfo;
3000
+ /**
3001
+ * 电子签中的部门id
3002
+ */
3003
+ DeptId: string;
3004
+ /**
3005
+ * 交接部门ID。待删除部门中的合同、印章和模版数据,交接至该部门ID下,未填写交接至公司根部门。
3006
+ */
3007
+ ReceiveDeptId?: string;
3008
+ }
2869
3009
  /**
2870
3010
  * ModifyApplicationCallbackInfo请求参数结构体
2871
3011
  */
@@ -3323,6 +3463,36 @@ export interface Component {
3323
3463
  */
3324
3464
  KeywordIndexes?: Array<number>;
3325
3465
  }
3466
+ /**
3467
+ * 部门信息
3468
+ */
3469
+ export interface IntegrationDepartment {
3470
+ /**
3471
+ * 部门ID
3472
+ 注意:此字段可能返回 null,表示取不到有效值。
3473
+ */
3474
+ DeptId?: string;
3475
+ /**
3476
+ * 部门名
3477
+ 注意:此字段可能返回 null,表示取不到有效值。
3478
+ */
3479
+ DeptName?: string;
3480
+ /**
3481
+ * 父部门ID
3482
+ 注意:此字段可能返回 null,表示取不到有效值。
3483
+ */
3484
+ ParentDeptId?: string;
3485
+ /**
3486
+ * 客户系统部门ID
3487
+ 注意:此字段可能返回 null,表示取不到有效值。
3488
+ */
3489
+ DeptOpenId?: string;
3490
+ /**
3491
+ * 序列号
3492
+ 注意:此字段可能返回 null,表示取不到有效值。
3493
+ */
3494
+ OrderNo?: number;
3495
+ }
3326
3496
  /**
3327
3497
  * DescribeIntegrationRoles返回参数结构体
3328
3498
  */