tencentcloud-sdk-nodejs-ess 4.0.1048 → 4.0.1050

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-ess",
3
- "version": "4.0.1048",
4
- "description": "Tencent Cloud API NODEJS SDK",
3
+ "version": "4.0.1050",
4
+ "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "tencentcloud/index.js",
6
6
  "scripts": {
7
7
  "test": "mocha -t 10000",
@@ -22,7 +22,7 @@
22
22
  "author": "tencentcloudapi",
23
23
  "license": "Apache-2.0",
24
24
  "dependencies": {
25
- "tencentcloud-sdk-nodejs-common": "^4.0.488",
25
+ "tencentcloud-sdk-nodejs-common": "*",
26
26
  "tslib": "1.13.0"
27
27
  },
28
28
  "directories": {
@@ -35,14 +35,19 @@
35
35
  },
36
36
  "devDependencies": {
37
37
  "@types/form-data": "^2.5.0",
38
+ "@types/json-bigint": "^1.0.1",
38
39
  "@types/node": "^14.0.26",
39
40
  "@types/node-fetch": "^2.5.7",
41
+ "@types/uuid": "^9.0.8",
40
42
  "@typescript-eslint/eslint-plugin": "^2.34.0",
41
43
  "@typescript-eslint/parser": "^2.34.0",
44
+ "babel-eslint": "^10.0.2",
42
45
  "chai": "^4.2.0",
43
46
  "eslint": "^6.8.0",
47
+ "eslint-plugin-react": "^7.17.0",
44
48
  "mocha": "^8.1.1",
49
+ "prettier": "^2.3.0",
45
50
  "ts-node": "^8.10.2",
46
51
  "typescript": "^3.9.7"
47
52
  }
48
- }
53
+ }
@@ -23,6 +23,7 @@ import {
23
23
  BillUsageDetail,
24
24
  DescribeCancelFlowsTaskResponse,
25
25
  IntentionActionResult,
26
+ DescribeUserFlowTypeResponse,
26
27
  DescribeFileCounterSignResultRequest,
27
28
  CreateSealRequest,
28
29
  FlowGroupUrlInfo,
@@ -157,6 +158,7 @@ import {
157
158
  CreateSchemeUrlResponse,
158
159
  CreateFlowByFilesRequest,
159
160
  FlowGroupInfo,
161
+ TemplateUserFlowType,
160
162
  CreateFlowSignUrlResponse,
161
163
  RegisterInfo,
162
164
  DescribeFileUrlsRequest,
@@ -255,6 +257,7 @@ import {
255
257
  StartFlowRequest,
256
258
  CreateSealResponse,
257
259
  CreatePrepareFlowRequest,
260
+ DescribeUserFlowTypeRequest,
258
261
  ApproverOption,
259
262
  DescribeCancelFlowsTaskRequest,
260
263
  CreateEmbedWebUrlResponse,
@@ -1742,6 +1745,20 @@ httpProfile.setEndpoint("file.test.ess.tencent.cn");
1742
1745
  return this.request("CreateDynamicFlowApprover", req, cb)
1743
1746
  }
1744
1747
 
1748
+ /**
1749
+ * 查询用户模版类型,分为两种模式:
1750
+ <ul>
1751
+ <li>QueryBindTemplate:false,查询用户合同模版类型,返回用户合同模版类型ID,用户合同模版类型名称,用户合同模版类型描述信息</li>
1752
+ <li>QueryBindTemplate:false,查询用户合同模版类型,返回用户合同模版类型ID,用户合同模版类型名称,用户合同模版类型描述信息,被绑定的模版数量</li>
1753
+ </ul>
1754
+ */
1755
+ async DescribeUserFlowType(
1756
+ req: DescribeUserFlowTypeRequest,
1757
+ cb?: (error: string, rep: DescribeUserFlowTypeResponse) => void
1758
+ ): Promise<DescribeUserFlowTypeResponse> {
1759
+ return this.request("DescribeUserFlowType", req, cb)
1760
+ }
1761
+
1745
1762
  /**
1746
1763
  * 此接口(CreateIntegrationEmployees)用于创建企业员工。创建的员工初始化为未实名,如下图所示。
1747
1764
 
@@ -178,6 +178,20 @@ export interface IntentionActionResult {
178
178
  Details?: Array<IntentionActionResultDetail>
179
179
  }
180
180
 
181
+ /**
182
+ * DescribeUserFlowType返回参数结构体
183
+ */
184
+ export interface DescribeUserFlowTypeResponse {
185
+ /**
186
+ * 查询到的所有用户合同类型列表
187
+ */
188
+ AllUserFlowTypes?: Array<TemplateUserFlowType>
189
+ /**
190
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
191
+ */
192
+ RequestId?: string
193
+ }
194
+
181
195
  /**
182
196
  * DescribeFileCounterSignResult请求参数结构体
183
197
  */
@@ -3424,7 +3438,7 @@ export interface DescribeFlowTemplatesRequest {
3424
3438
  ContentType?: number
3425
3439
  /**
3426
3440
  * 搜索过滤的条件,本字段允许您通过指定模板 ID 或模板名称来进行查询。
3427
- <ul><li><strong>模板 ID</strong>:<strong>Key</strong>设置为 <code>template-id</code> ,<strong>Values</strong>为您想要查询的 <a href="https://qcloudimg.tencent-cloud.cn/raw/5c27b917b2bbe8c341566c78ca6f8782.png" target="_blank">模板 ID </a>列表。</li> <li><strong>主企业模板 ID</strong>:<strong>Key</strong>设置为 <code>share-template-id</code> ,<strong>Values</strong>为您想要查询的 <a href="https://qcloudimg.tencent-cloud.cn/raw/5c27b917b2bbe8c341566c78ca6f8782.png" target="_blank">主企业模板 ID </a>列表。用来查询主企业分享模板到子企业场景下,子企业的模板信息,在此情境下,参数 <strong>Agent.ProxyOrganizationId</strong>(子企业的组织ID)为必填项。</li> <li><strong>模板名称</strong>:<strong>Key</strong>设置为 <code>template-name</code> ,<strong>Values</strong>为您想要查询的<a href="https://qcloudimg.tencent-cloud.cn/raw/03a924ee0a53d86575f8067d1c97876d.png" target="_blank">模板名称</a>列表。</li></ul>
3441
+ <ul><li><strong>模板 ID</strong>:<strong>Key</strong>设置为 <code>template-id</code> ,<strong>Values</strong>为您想要查询的 <a href="https://qcloudimg.tencent-cloud.cn/raw/5c27b917b2bbe8c341566c78ca6f8782.png" target="_blank">模板 ID </a>列表。</li> <li><strong>主企业模板 ID</strong>:<strong>Key</strong>设置为 <code>share-template-id</code> ,<strong>Values</strong>为您想要查询的 <a href="https://qcloudimg.tencent-cloud.cn/raw/5c27b917b2bbe8c341566c78ca6f8782.png" target="_blank">主企业模板 ID </a>列表。用来查询主企业分享模板到子企业场景下,子企业的模板信息,在此情境下,参数 <strong>Agent.ProxyOrganizationId</strong>(子企业的组织ID)为必填项。</li> <li><strong>模板名称</strong>:<strong>Key</strong>设置为 <code>template-name</code> ,<strong>Values</strong>为您想要查询的<a href="https://qcloudimg.tencent-cloud.cn/raw/03a924ee0a53d86575f8067d1c97876d.png" target="_blank">模板名称</a>列表。</li><li><strong>模板的用户合同类型</strong>:<strong>Key</strong>设置为 <code>user-flow-type-id</code> ,<strong>Values</strong>为您想要查询的用户模版类型id列表。</li></ul>
3428
3442
  */
3429
3443
  Filters?: Array<Filter>
3430
3444
  /**
@@ -4599,6 +4613,28 @@ false:有序签
4599
4613
  FlowDisplayType?: number
4600
4614
  }
4601
4615
 
4616
+ /**
4617
+ * 模版对应的合同类型
4618
+ */
4619
+ export interface TemplateUserFlowType {
4620
+ /**
4621
+ * 合同类型id
4622
+ */
4623
+ UserFlowTypeId?: string
4624
+ /**
4625
+ * 合同类型名称
4626
+ */
4627
+ Name?: string
4628
+ /**
4629
+ * 合同类型的具体描述
4630
+ */
4631
+ Description?: string
4632
+ /**
4633
+ * 每个合同类型绑定的模版数量
4634
+ */
4635
+ TemplateNum?: number
4636
+ }
4637
+
4602
4638
  /**
4603
4639
  * CreateFlowSignUrl返回参数结构体
4604
4640
  */
@@ -8137,6 +8173,31 @@ export interface CreatePrepareFlowRequest {
8137
8173
  FlowDisplayType?: number
8138
8174
  }
8139
8175
 
8176
+ /**
8177
+ * DescribeUserFlowType请求参数结构体
8178
+ */
8179
+ export interface DescribeUserFlowTypeRequest {
8180
+ /**
8181
+ * 执行本接口操作的员工信息。
8182
+ 注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
8183
+ */
8184
+ Operator: UserInfo
8185
+ /**
8186
+ * 代理企业和员工的信息。
8187
+ 在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。
8188
+ */
8189
+ Agent?: Agent
8190
+ /**
8191
+ * 搜索过滤的条件,本字段允许您通过指定模板 ID 或模板名称来进行查询。
8192
+ <ul><li><strong>模板 ID</strong>:<strong>Key</strong>设置为 <code>template-id</code> ,<strong>Values</strong>为您想要查询的 <a href="https://qcloudimg.tencent-cloud.cn/raw/5c27b917b2bbe8c341566c78ca6f8782.png" target="_blank">模板 ID </a>列表。</li> <li><strong>主企业模板 ID</strong>:<strong>Key</strong>设置为 <code>share-template-id</code> ,<strong>Values</strong>为您想要查询的 <a href="https://qcloudimg.tencent-cloud.cn/raw/5c27b917b2bbe8c341566c78ca6f8782.png" target="_blank">主企业模板 ID </a>列表。用来查询主企业分享模板到子企业场景下,子企业的模板信息,在此情境下,参数 <strong>Agent.ProxyOrganizationId</strong>(子企业的组织ID)为必填项。</li> <li><strong>模板名称</strong>:<strong>Key</strong>设置为 <code>template-name</code> ,<strong>Values</strong>为您想要查询的<a href="https://qcloudimg.tencent-cloud.cn/raw/03a924ee0a53d86575f8067d1c97876d.png" target="_blank">模板名称</a>列表。</li><li><strong>模板的用户合同类型</strong>:<strong>Key</strong>设置为 <code>user-flow-type-id</code> ,<strong>Values</strong>为您想要查询的用户模版类型id列表。</li></ul>
8193
+ */
8194
+ Filters?: Array<Filter>
8195
+ /**
8196
+ * 查询绑定了模版的用户合同类型 <ul> <li>false(默认值),查询用户合同类型</li> <li>true,查询绑定了模版的用户合同类型</li> </ul>
8197
+ */
8198
+ QueryBindTemplate?: boolean
8199
+ }
8200
+
8140
8201
  /**
8141
8202
  * 签署人个性化能力信息
8142
8203
  */
@@ -1,5 +1,5 @@
1
1
  import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
2
- import { DescribePersonCertificateResponse, CreateOrganizationGroupInvitationLinkRequest, DescribeCancelFlowsTaskResponse, DescribeFileCounterSignResultRequest, CreateSealRequest, CancelFlowResponse, DescribeExtendedServiceAuthDetailResponse, UpdateIntegrationEmployeesResponse, CreatePreparedPersonalEsignRequest, CreateLegalSealQrCodeResponse, DescribeIntegrationDepartmentsResponse, CreateFileCounterSignRequest, DescribeOrganizationVerifyStatusResponse, DeleteExtendedServiceAuthInfosResponse, CreateFlowForwardsRequest, CreateDynamicFlowApproverRequest, CreateFlowApproversResponse, DescribeFileUrlsResponse, CreateFlowRemindsRequest, CancelUserAutoSignEnableUrlRequest, ModifyApplicationCallbackInfoResponse, CreateMultiFlowSignQRCodeResponse, DescribeIntegrationDepartmentsRequest, DescribeThirdPartyAuthCodeResponse, DescribeUserVerifyStatusResponse, DisableUserAutoSignResponse, ModifyExtendedServiceRequest, CreateBatchInitOrganizationUrlResponse, BindEmployeeUserIdWithClientOpenIdResponse, CreateIntegrationEmployeesRequest, CreateOrganizationAuthFileResponse, DescribeIntegrationRolesRequest, CreateFlowEvidenceReportRequest, StartFlowResponse, CreateOrganizationAuthUrlRequest, CreateBatchQuickSignUrlResponse, CreateIntegrationRoleRequest, DeleteIntegrationRoleUsersResponse, CreateConvertTaskApiRequest, DeleteIntegrationEmployeesResponse, CreateFlowGroupSignReviewResponse, CreateBatchSignUrlResponse, CreateFlowRemindsResponse, DescribeOrganizationGroupOrganizationsRequest, DescribeUserAutoSignStatusResponse, CreateFlowGroupByFilesRequest, DescribeFlowComponentsResponse, DescribeFlowEvidenceReportResponse, CreateWebThemeConfigRequest, DescribeSignFaceVideoRequest, CreateEmployeeQualificationSealQrCodeResponse, CreateFlowGroupByTemplatesResponse, CreateUserVerifyUrlResponse, DescribeBatchOrganizationRegistrationUrlsRequest, CreateDocumentResponse, DescribeIntegrationEmployeesRequest, UnbindEmployeeUserIdWithClientOpenIdResponse, CreateIntegrationUserRolesResponse, CreateFlowRequest, CreateSchemeUrlRequest, DeleteIntegrationDepartmentResponse, DescribeThirdPartyAuthCodeRequest, CreateDynamicFlowApproverResponse, CreateBatchOrganizationRegistrationTasksResponse, CreateReleaseFlowResponse, CreateBatchInitOrganizationUrlRequest, CreateWebThemeConfigResponse, BindEmployeeUserIdWithClientOpenIdRequest, CreateOrganizationInfoChangeUrlResponse, DeleteOrganizationAuthorizationsResponse, DescribeExtendedServiceAuthDetailRequest, CreateOrganizationAuthFileRequest, CreateIntegrationDepartmentResponse, DescribeFlowTemplatesRequest, CreateIntegrationSubOrganizationActiveRecordResponse, ArchiveDynamicFlowResponse, DeleteSealPoliciesResponse, CreateLegalSealQrCodeRequest, DescribeOrganizationAuthStatusResponse, CreateUserAutoSignSealUrlResponse, CreateEmployeeQualificationSealQrCodeRequest, CreatePersonAuthCertificateImageResponse, CreateBatchCancelFlowUrlResponse, CreateSealPolicyResponse, DeleteSealPoliciesRequest, DisableUserAutoSignRequest, DescribeIntegrationEmployeesResponse, CreateEmployeeChangeUrlResponse, CreateConvertTaskApiResponse, CreateFlowSignReviewRequest, CreateOrganizationAuthUrlResponse, DescribeOrganizationAuthStatusRequest, CreateSchemeUrlResponse, CreateFlowByFilesRequest, CreateFlowSignUrlResponse, DescribeFileUrlsRequest, CreatePartnerAutoSignAuthUrlResponse, ArchiveDynamicFlowRequest, CreateUserAutoSignSealUrlRequest, ModifyFlowDeadlineRequest, CreateFlowApproversRequest, ModifyFlowDeadlineResponse, CreateFlowEvidenceReportResponse, CreateIntegrationRoleResponse, DescribeFlowComponentsRequest, CreateIntegrationDepartmentRequest, DescribeUserVerifyStatusRequest, CreateFlowBlockchainEvidenceUrlResponse, CreateDocumentRequest, CreatePreparedPersonalEsignResponse, VerifyDigitFileResponse, DescribeOrganizationSealsResponse, CreateUserMobileChangeUrlRequest, CreateEmbedWebUrlRequest, DeleteIntegrationEmployeesRequest, DescribeUserAutoSignStatusRequest, GetTaskResultApiRequest, DescribeFlowBriefsResponse, ModifyIntegrationRoleRequest, CreateFlowGroupByFilesResponse, CreateReleaseFlowRequest, DeleteIntegrationRoleUsersRequest, CreateFlowSignUrlRequest, CreateIntegrationEmployeesResponse, CreateIntegrationUserRolesRequest, CreatePersonAuthCertificateImageRequest, CreateFlowByFilesResponse, UploadFilesResponse, DescribeFlowEvidenceReportRequest, CreateEmployeeChangeUrlRequest, DescribeBillUsageResponse, CreateFlowSignReviewResponse, ModifyIntegrationDepartmentRequest, RenewAutoSignLicenseRequest, CreateUserAutoSignEnableUrlRequest, CreateOrganizationBatchSignUrlResponse, UnbindEmployeeUserIdWithClientOpenIdRequest, DeleteOrganizationAuthorizationsRequest, CreateBatchOrganizationRegistrationTasksRequest, CreateUserVerifyUrlRequest, CreatePartnerAutoSignAuthUrlRequest, CreateExtendedServiceAuthInfosResponse, CreateFlowForwardsResponse, CreateOrganizationBatchSignUrlRequest, CreatePrepareFlowResponse, ModifyIntegrationDepartmentResponse, GetTaskResultApiResponse, DescribeOrganizationVerifyStatusRequest, DescribeBillUsageRequest, CancelMultiFlowSignQRCodeRequest, DeleteIntegrationDepartmentRequest, CancelUserAutoSignEnableUrlResponse, ModifyApplicationCallbackInfoRequest, CreateFileCounterSignResponse, StartFlowRequest, CreateSealResponse, CreatePrepareFlowRequest, DescribeCancelFlowsTaskRequest, CreateEmbedWebUrlResponse, ModifyExtendedServiceResponse, CreateFlowGroupByTemplatesRequest, DescribeFileCounterSignResultResponse, CancelFlowRequest, DescribeExtendedServiceAuthInfosRequest, DescribeIntegrationRolesResponse, CreateBatchSignUrlRequest, CreateExtendedServiceAuthInfosRequest, VerifyDigitFileRequest, UpdateIntegrationEmployeesRequest, DescribeFlowBriefsRequest, CreateSealPolicyRequest, DescribeBillUsageDetailResponse, CreateUserMobileChangeUrlResponse, CreateUserAutoSignEnableUrlResponse, DescribeSignFaceVideoResponse, ModifyIntegrationRoleResponse, VerifyPdfResponse, CreateFlowGroupSignReviewRequest, DescribeBillUsageDetailRequest, DescribeFlowTemplatesResponse, DescribeBatchOrganizationRegistrationUrlsResponse, UploadFilesRequest, DescribeOrganizationSealsRequest, DescribePersonCertificateRequest, CreateBatchOrganizationAuthorizationUrlRequest, CreateBatchCancelFlowUrlRequest, CreateMultiFlowSignQRCodeRequest, VerifyPdfRequest, DescribeFlowInfoRequest, DeleteExtendedServiceAuthInfosRequest, DescribeExtendedServiceAuthInfosResponse, CreateBatchOrganizationAuthorizationUrlResponse, DescribeFlowInfoResponse, RenewAutoSignLicenseResponse, CancelMultiFlowSignQRCodeResponse, CreateFlowResponse, CreateIntegrationSubOrganizationActiveRecordRequest, CreateFlowBlockchainEvidenceUrlRequest, CreateBatchQuickSignUrlRequest, CreateOrganizationInfoChangeUrlRequest, DescribeOrganizationGroupOrganizationsResponse, CreateOrganizationGroupInvitationLinkResponse } from "./ess_models";
2
+ import { DescribePersonCertificateResponse, CreateOrganizationGroupInvitationLinkRequest, DescribeCancelFlowsTaskResponse, DescribeUserFlowTypeResponse, DescribeFileCounterSignResultRequest, CreateSealRequest, CancelFlowResponse, DescribeExtendedServiceAuthDetailResponse, UpdateIntegrationEmployeesResponse, CreatePreparedPersonalEsignRequest, CreateLegalSealQrCodeResponse, DescribeIntegrationDepartmentsResponse, CreateFileCounterSignRequest, DescribeOrganizationVerifyStatusResponse, DeleteExtendedServiceAuthInfosResponse, CreateFlowForwardsRequest, CreateDynamicFlowApproverRequest, CreateFlowApproversResponse, DescribeFileUrlsResponse, CreateFlowRemindsRequest, CancelUserAutoSignEnableUrlRequest, ModifyApplicationCallbackInfoResponse, CreateMultiFlowSignQRCodeResponse, DescribeIntegrationDepartmentsRequest, DescribeThirdPartyAuthCodeResponse, DescribeUserVerifyStatusResponse, DisableUserAutoSignResponse, ModifyExtendedServiceRequest, CreateBatchInitOrganizationUrlResponse, BindEmployeeUserIdWithClientOpenIdResponse, CreateIntegrationEmployeesRequest, CreateOrganizationAuthFileResponse, DescribeIntegrationRolesRequest, CreateFlowEvidenceReportRequest, StartFlowResponse, CreateOrganizationAuthUrlRequest, CreateBatchQuickSignUrlResponse, CreateIntegrationRoleRequest, DeleteIntegrationRoleUsersResponse, CreateConvertTaskApiRequest, DeleteIntegrationEmployeesResponse, CreateFlowGroupSignReviewResponse, CreateBatchSignUrlResponse, CreateFlowRemindsResponse, DescribeOrganizationGroupOrganizationsRequest, DescribeUserAutoSignStatusResponse, CreateFlowGroupByFilesRequest, DescribeFlowComponentsResponse, DescribeFlowEvidenceReportResponse, CreateWebThemeConfigRequest, DescribeSignFaceVideoRequest, CreateEmployeeQualificationSealQrCodeResponse, CreateFlowGroupByTemplatesResponse, CreateUserVerifyUrlResponse, DescribeBatchOrganizationRegistrationUrlsRequest, CreateDocumentResponse, DescribeIntegrationEmployeesRequest, UnbindEmployeeUserIdWithClientOpenIdResponse, CreateIntegrationUserRolesResponse, CreateFlowRequest, CreateSchemeUrlRequest, DeleteIntegrationDepartmentResponse, DescribeThirdPartyAuthCodeRequest, CreateDynamicFlowApproverResponse, CreateBatchOrganizationRegistrationTasksResponse, CreateReleaseFlowResponse, CreateBatchInitOrganizationUrlRequest, CreateWebThemeConfigResponse, BindEmployeeUserIdWithClientOpenIdRequest, CreateOrganizationInfoChangeUrlResponse, DeleteOrganizationAuthorizationsResponse, DescribeExtendedServiceAuthDetailRequest, CreateOrganizationAuthFileRequest, CreateIntegrationDepartmentResponse, DescribeFlowTemplatesRequest, CreateIntegrationSubOrganizationActiveRecordResponse, ArchiveDynamicFlowResponse, DeleteSealPoliciesResponse, CreateLegalSealQrCodeRequest, DescribeOrganizationAuthStatusResponse, CreateUserAutoSignSealUrlResponse, CreateEmployeeQualificationSealQrCodeRequest, CreatePersonAuthCertificateImageResponse, CreateBatchCancelFlowUrlResponse, CreateSealPolicyResponse, DeleteSealPoliciesRequest, DisableUserAutoSignRequest, DescribeIntegrationEmployeesResponse, CreateEmployeeChangeUrlResponse, CreateConvertTaskApiResponse, CreateFlowSignReviewRequest, CreateOrganizationAuthUrlResponse, DescribeOrganizationAuthStatusRequest, CreateSchemeUrlResponse, CreateFlowByFilesRequest, CreateFlowSignUrlResponse, DescribeFileUrlsRequest, CreatePartnerAutoSignAuthUrlResponse, ArchiveDynamicFlowRequest, CreateUserAutoSignSealUrlRequest, ModifyFlowDeadlineRequest, CreateFlowApproversRequest, ModifyFlowDeadlineResponse, CreateFlowEvidenceReportResponse, CreateIntegrationRoleResponse, DescribeFlowComponentsRequest, CreateIntegrationDepartmentRequest, DescribeUserVerifyStatusRequest, CreateFlowBlockchainEvidenceUrlResponse, CreateDocumentRequest, CreatePreparedPersonalEsignResponse, VerifyDigitFileResponse, DescribeOrganizationSealsResponse, CreateUserMobileChangeUrlRequest, CreateEmbedWebUrlRequest, DeleteIntegrationEmployeesRequest, DescribeUserAutoSignStatusRequest, GetTaskResultApiRequest, DescribeFlowBriefsResponse, ModifyIntegrationRoleRequest, CreateFlowGroupByFilesResponse, CreateReleaseFlowRequest, DeleteIntegrationRoleUsersRequest, CreateFlowSignUrlRequest, CreateIntegrationEmployeesResponse, CreateIntegrationUserRolesRequest, CreatePersonAuthCertificateImageRequest, CreateFlowByFilesResponse, UploadFilesResponse, DescribeFlowEvidenceReportRequest, CreateEmployeeChangeUrlRequest, DescribeBillUsageResponse, CreateFlowSignReviewResponse, ModifyIntegrationDepartmentRequest, RenewAutoSignLicenseRequest, CreateUserAutoSignEnableUrlRequest, CreateOrganizationBatchSignUrlResponse, UnbindEmployeeUserIdWithClientOpenIdRequest, DeleteOrganizationAuthorizationsRequest, CreateBatchOrganizationRegistrationTasksRequest, CreateUserVerifyUrlRequest, CreatePartnerAutoSignAuthUrlRequest, CreateExtendedServiceAuthInfosResponse, CreateFlowForwardsResponse, CreateOrganizationBatchSignUrlRequest, CreatePrepareFlowResponse, ModifyIntegrationDepartmentResponse, GetTaskResultApiResponse, DescribeOrganizationVerifyStatusRequest, DescribeBillUsageRequest, CancelMultiFlowSignQRCodeRequest, DeleteIntegrationDepartmentRequest, CancelUserAutoSignEnableUrlResponse, ModifyApplicationCallbackInfoRequest, CreateFileCounterSignResponse, StartFlowRequest, CreateSealResponse, CreatePrepareFlowRequest, DescribeUserFlowTypeRequest, DescribeCancelFlowsTaskRequest, CreateEmbedWebUrlResponse, ModifyExtendedServiceResponse, CreateFlowGroupByTemplatesRequest, DescribeFileCounterSignResultResponse, CancelFlowRequest, DescribeExtendedServiceAuthInfosRequest, DescribeIntegrationRolesResponse, CreateBatchSignUrlRequest, CreateExtendedServiceAuthInfosRequest, VerifyDigitFileRequest, UpdateIntegrationEmployeesRequest, DescribeFlowBriefsRequest, CreateSealPolicyRequest, DescribeBillUsageDetailResponse, CreateUserMobileChangeUrlResponse, CreateUserAutoSignEnableUrlResponse, DescribeSignFaceVideoResponse, ModifyIntegrationRoleResponse, VerifyPdfResponse, CreateFlowGroupSignReviewRequest, DescribeBillUsageDetailRequest, DescribeFlowTemplatesResponse, DescribeBatchOrganizationRegistrationUrlsResponse, UploadFilesRequest, DescribeOrganizationSealsRequest, DescribePersonCertificateRequest, CreateBatchOrganizationAuthorizationUrlRequest, CreateBatchCancelFlowUrlRequest, CreateMultiFlowSignQRCodeRequest, VerifyPdfRequest, DescribeFlowInfoRequest, DeleteExtendedServiceAuthInfosRequest, DescribeExtendedServiceAuthInfosResponse, CreateBatchOrganizationAuthorizationUrlResponse, DescribeFlowInfoResponse, RenewAutoSignLicenseResponse, CancelMultiFlowSignQRCodeResponse, CreateFlowResponse, CreateIntegrationSubOrganizationActiveRecordRequest, CreateFlowBlockchainEvidenceUrlRequest, CreateBatchQuickSignUrlRequest, CreateOrganizationInfoChangeUrlRequest, DescribeOrganizationGroupOrganizationsResponse, CreateOrganizationGroupInvitationLinkResponse } from "./ess_models";
3
3
  /**
4
4
  * ess client
5
5
  * @class
@@ -974,6 +974,14 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
974
974
  ![image](https://qcloudimg.tencent-cloud.cn/raw/75d323c66e44b05bbc8e949c18664455.png)
975
975
  */
976
976
  CreateDynamicFlowApprover(req: CreateDynamicFlowApproverRequest, cb?: (error: string, rep: CreateDynamicFlowApproverResponse) => void): Promise<CreateDynamicFlowApproverResponse>;
977
+ /**
978
+ * 查询用户模版类型,分为两种模式:
979
+ <ul>
980
+ <li>QueryBindTemplate:false,查询用户合同模版类型,返回用户合同模版类型ID,用户合同模版类型名称,用户合同模版类型描述信息</li>
981
+ <li>QueryBindTemplate:false,查询用户合同模版类型,返回用户合同模版类型ID,用户合同模版类型名称,用户合同模版类型描述信息,被绑定的模版数量</li>
982
+ </ul>
983
+ */
984
+ DescribeUserFlowType(req: DescribeUserFlowTypeRequest, cb?: (error: string, rep: DescribeUserFlowTypeResponse) => void): Promise<DescribeUserFlowTypeResponse>;
977
985
  /**
978
986
  * 此接口(CreateIntegrationEmployees)用于创建企业员工。创建的员工初始化为未实名,如下图所示。
979
987
 
@@ -1143,6 +1143,16 @@ class Client extends TencentCloudCommon.AbstractClient {
1143
1143
  async CreateDynamicFlowApprover(req, cb) {
1144
1144
  return this.request("CreateDynamicFlowApprover", req, cb);
1145
1145
  }
1146
+ /**
1147
+ * 查询用户模版类型,分为两种模式:
1148
+ <ul>
1149
+ <li>QueryBindTemplate:false,查询用户合同模版类型,返回用户合同模版类型ID,用户合同模版类型名称,用户合同模版类型描述信息</li>
1150
+ <li>QueryBindTemplate:false,查询用户合同模版类型,返回用户合同模版类型ID,用户合同模版类型名称,用户合同模版类型描述信息,被绑定的模版数量</li>
1151
+ </ul>
1152
+ */
1153
+ async DescribeUserFlowType(req, cb) {
1154
+ return this.request("DescribeUserFlowType", req, cb);
1155
+ }
1146
1156
  /**
1147
1157
  * 此接口(CreateIntegrationEmployees)用于创建企业员工。创建的员工初始化为未实名,如下图所示。
1148
1158
 
@@ -155,6 +155,19 @@ export interface IntentionActionResult {
155
155
  */
156
156
  Details?: Array<IntentionActionResultDetail>;
157
157
  }
158
+ /**
159
+ * DescribeUserFlowType返回参数结构体
160
+ */
161
+ export interface DescribeUserFlowTypeResponse {
162
+ /**
163
+ * 查询到的所有用户合同类型列表
164
+ */
165
+ AllUserFlowTypes?: Array<TemplateUserFlowType>;
166
+ /**
167
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
168
+ */
169
+ RequestId?: string;
170
+ }
158
171
  /**
159
172
  * DescribeFileCounterSignResult请求参数结构体
160
173
  */
@@ -3301,7 +3314,7 @@ export interface DescribeFlowTemplatesRequest {
3301
3314
  ContentType?: number;
3302
3315
  /**
3303
3316
  * 搜索过滤的条件,本字段允许您通过指定模板 ID 或模板名称来进行查询。
3304
- <ul><li><strong>模板 ID</strong>:<strong>Key</strong>设置为 <code>template-id</code> ,<strong>Values</strong>为您想要查询的 <a href="https://qcloudimg.tencent-cloud.cn/raw/5c27b917b2bbe8c341566c78ca6f8782.png" target="_blank">模板 ID </a>列表。</li> <li><strong>主企业模板 ID</strong>:<strong>Key</strong>设置为 <code>share-template-id</code> ,<strong>Values</strong>为您想要查询的 <a href="https://qcloudimg.tencent-cloud.cn/raw/5c27b917b2bbe8c341566c78ca6f8782.png" target="_blank">主企业模板 ID </a>列表。用来查询主企业分享模板到子企业场景下,子企业的模板信息,在此情境下,参数 <strong>Agent.ProxyOrganizationId</strong>(子企业的组织ID)为必填项。</li> <li><strong>模板名称</strong>:<strong>Key</strong>设置为 <code>template-name</code> ,<strong>Values</strong>为您想要查询的<a href="https://qcloudimg.tencent-cloud.cn/raw/03a924ee0a53d86575f8067d1c97876d.png" target="_blank">模板名称</a>列表。</li></ul>
3317
+ <ul><li><strong>模板 ID</strong>:<strong>Key</strong>设置为 <code>template-id</code> ,<strong>Values</strong>为您想要查询的 <a href="https://qcloudimg.tencent-cloud.cn/raw/5c27b917b2bbe8c341566c78ca6f8782.png" target="_blank">模板 ID </a>列表。</li> <li><strong>主企业模板 ID</strong>:<strong>Key</strong>设置为 <code>share-template-id</code> ,<strong>Values</strong>为您想要查询的 <a href="https://qcloudimg.tencent-cloud.cn/raw/5c27b917b2bbe8c341566c78ca6f8782.png" target="_blank">主企业模板 ID </a>列表。用来查询主企业分享模板到子企业场景下,子企业的模板信息,在此情境下,参数 <strong>Agent.ProxyOrganizationId</strong>(子企业的组织ID)为必填项。</li> <li><strong>模板名称</strong>:<strong>Key</strong>设置为 <code>template-name</code> ,<strong>Values</strong>为您想要查询的<a href="https://qcloudimg.tencent-cloud.cn/raw/03a924ee0a53d86575f8067d1c97876d.png" target="_blank">模板名称</a>列表。</li><li><strong>模板的用户合同类型</strong>:<strong>Key</strong>设置为 <code>user-flow-type-id</code> ,<strong>Values</strong>为您想要查询的用户模版类型id列表。</li></ul>
3305
3318
  */
3306
3319
  Filters?: Array<Filter>;
3307
3320
  /**
@@ -4442,6 +4455,27 @@ export interface FlowGroupInfo {
4442
4455
  */
4443
4456
  FlowDisplayType?: number;
4444
4457
  }
4458
+ /**
4459
+ * 模版对应的合同类型
4460
+ */
4461
+ export interface TemplateUserFlowType {
4462
+ /**
4463
+ * 合同类型id
4464
+ */
4465
+ UserFlowTypeId?: string;
4466
+ /**
4467
+ * 合同类型名称
4468
+ */
4469
+ Name?: string;
4470
+ /**
4471
+ * 合同类型的具体描述
4472
+ */
4473
+ Description?: string;
4474
+ /**
4475
+ * 每个合同类型绑定的模版数量
4476
+ */
4477
+ TemplateNum?: number;
4478
+ }
4445
4479
  /**
4446
4480
  * CreateFlowSignUrl返回参数结构体
4447
4481
  */
@@ -7882,6 +7916,30 @@ export interface CreatePrepareFlowRequest {
7882
7916
  */
7883
7917
  FlowDisplayType?: number;
7884
7918
  }
7919
+ /**
7920
+ * DescribeUserFlowType请求参数结构体
7921
+ */
7922
+ export interface DescribeUserFlowTypeRequest {
7923
+ /**
7924
+ * 执行本接口操作的员工信息。
7925
+ 注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
7926
+ */
7927
+ Operator: UserInfo;
7928
+ /**
7929
+ * 代理企业和员工的信息。
7930
+ 在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。
7931
+ */
7932
+ Agent?: Agent;
7933
+ /**
7934
+ * 搜索过滤的条件,本字段允许您通过指定模板 ID 或模板名称来进行查询。
7935
+ <ul><li><strong>模板 ID</strong>:<strong>Key</strong>设置为 <code>template-id</code> ,<strong>Values</strong>为您想要查询的 <a href="https://qcloudimg.tencent-cloud.cn/raw/5c27b917b2bbe8c341566c78ca6f8782.png" target="_blank">模板 ID </a>列表。</li> <li><strong>主企业模板 ID</strong>:<strong>Key</strong>设置为 <code>share-template-id</code> ,<strong>Values</strong>为您想要查询的 <a href="https://qcloudimg.tencent-cloud.cn/raw/5c27b917b2bbe8c341566c78ca6f8782.png" target="_blank">主企业模板 ID </a>列表。用来查询主企业分享模板到子企业场景下,子企业的模板信息,在此情境下,参数 <strong>Agent.ProxyOrganizationId</strong>(子企业的组织ID)为必填项。</li> <li><strong>模板名称</strong>:<strong>Key</strong>设置为 <code>template-name</code> ,<strong>Values</strong>为您想要查询的<a href="https://qcloudimg.tencent-cloud.cn/raw/03a924ee0a53d86575f8067d1c97876d.png" target="_blank">模板名称</a>列表。</li><li><strong>模板的用户合同类型</strong>:<strong>Key</strong>设置为 <code>user-flow-type-id</code> ,<strong>Values</strong>为您想要查询的用户模版类型id列表。</li></ul>
7936
+ */
7937
+ Filters?: Array<Filter>;
7938
+ /**
7939
+ * 查询绑定了模版的用户合同类型 <ul> <li>false(默认值),查询用户合同类型</li> <li>true,查询绑定了模版的用户合同类型</li> </ul>
7940
+ */
7941
+ QueryBindTemplate?: boolean;
7942
+ }
7885
7943
  /**
7886
7944
  * 签署人个性化能力信息
7887
7945
  */