tencentcloud-sdk-nodejs 4.1.15 → 4.1.17

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.
Files changed (86) hide show
  1. package/es/common/sdk_version.js +1 -1
  2. package/es/services/bh/v20230418/bh_client.js +21 -6
  3. package/es/services/ccc/v20200210/ccc_client.js +9 -0
  4. package/es/services/chc/v20230418/chc_client.js +5 -2
  5. package/es/services/cls/v20201016/cls_client.js +3 -0
  6. package/es/services/es/index.js +2 -0
  7. package/es/services/es/v20250101/es_client.js +33 -0
  8. package/es/services/es/v20250101/es_models.js +0 -0
  9. package/es/services/es/v20250101/index.js +6 -0
  10. package/es/services/ess/v20201111/ess_client.js +3 -0
  11. package/es/services/essbasic/v20210526/essbasic_client.js +3 -0
  12. package/es/services/hunyuan/v20230901/hunyuan_client.js +37 -31
  13. package/es/services/monitor/v20180724/monitor_client.js +3 -0
  14. package/es/services/sts/v20180813/sts_client.js +3 -0
  15. package/es/services/tione/v20211111/tione_client.js +3 -0
  16. package/es/services/waf/v20180125/waf_client.js +22 -13
  17. package/package.json +1 -1
  18. package/tencentcloud/common/sdk_version.d.ts +1 -1
  19. package/tencentcloud/common/sdk_version.js +1 -1
  20. package/tencentcloud/services/bh/v20230418/bh_client.d.ts +27 -7
  21. package/tencentcloud/services/bh/v20230418/bh_client.js +39 -9
  22. package/tencentcloud/services/bh/v20230418/bh_models.d.ts +229 -6
  23. package/tencentcloud/services/bpaas/v20181217/bpaas_models.d.ts +0 -27
  24. package/tencentcloud/services/ccc/v20200210/ccc_client.d.ts +13 -1
  25. package/tencentcloud/services/ccc/v20200210/ccc_client.js +18 -0
  26. package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +252 -105
  27. package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +1 -1
  28. package/tencentcloud/services/cdb/v20170320/cdb_client.js +1 -1
  29. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +4 -0
  30. package/tencentcloud/services/chc/v20230418/chc_client.d.ts +7 -3
  31. package/tencentcloud/services/chc/v20230418/chc_client.js +9 -3
  32. package/tencentcloud/services/chc/v20230418/chc_models.d.ts +59 -13
  33. package/tencentcloud/services/clb/v20180317/clb_models.d.ts +5 -0
  34. package/tencentcloud/services/cls/v20201016/cls_client.d.ts +5 -1
  35. package/tencentcloud/services/cls/v20201016/cls_client.js +6 -0
  36. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +24 -2
  37. package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +1 -1
  38. package/tencentcloud/services/cwp/v20180228/cwp_client.js +1 -1
  39. package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +2 -2
  40. package/tencentcloud/services/es/index.d.ts +4 -0
  41. package/tencentcloud/services/es/index.js +2 -0
  42. package/tencentcloud/services/es/v20180416/es_models.d.ts +120 -105
  43. package/tencentcloud/services/es/v20250101/es_client.d.ts +51 -0
  44. package/tencentcloud/services/es/v20250101/es_client.js +90 -0
  45. package/tencentcloud/services/es/v20250101/es_models.d.ts +568 -0
  46. package/tencentcloud/services/es/v20250101/es_models.js +18 -0
  47. package/tencentcloud/services/es/v20250101/index.d.ts +6 -0
  48. package/tencentcloud/services/es/v20250101/index.js +10 -0
  49. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +16 -1
  50. package/tencentcloud/services/ess/v20201111/ess_client.js +17 -0
  51. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +61 -20
  52. package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +15 -1
  53. package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +16 -0
  54. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +77 -39
  55. package/tencentcloud/services/hunyuan/v20230901/hunyuan_client.d.ts +61 -53
  56. package/tencentcloud/services/hunyuan/v20230901/hunyuan_client.js +87 -75
  57. package/tencentcloud/services/hunyuan/v20230901/hunyuan_models.d.ts +90 -0
  58. package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +4 -0
  59. package/tencentcloud/services/live/v20180801/live_models.d.ts +1 -7
  60. package/tencentcloud/services/lke/v20231130/lke_client.d.ts +1 -1
  61. package/tencentcloud/services/lke/v20231130/lke_models.d.ts +69 -5
  62. package/tencentcloud/services/lkeap/v20240522/lkeap_client.d.ts +3 -3
  63. package/tencentcloud/services/lkeap/v20240522/lkeap_client.js +3 -3
  64. package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +5 -1
  65. package/tencentcloud/services/monitor/v20180724/monitor_client.js +6 -0
  66. package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +21 -8
  67. package/tencentcloud/services/mps/v20190612/mps_models.d.ts +101 -92
  68. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +1 -1
  69. package/tencentcloud/services/sts/v20180813/sts_client.d.ts +5 -1
  70. package/tencentcloud/services/sts/v20180813/sts_client.js +6 -0
  71. package/tencentcloud/services/sts/v20180813/sts_models.d.ts +50 -4
  72. package/tencentcloud/services/tcr/v20190924/tcr_models.d.ts +5 -3
  73. package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +20 -0
  74. package/tencentcloud/services/tione/v20211111/tione_client.d.ts +5 -1
  75. package/tencentcloud/services/tione/v20211111/tione_client.js +6 -0
  76. package/tencentcloud/services/tione/v20211111/tione_models.d.ts +271 -156
  77. package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +4 -0
  78. package/tencentcloud/services/trtc/v20190722/trtc_client.js +4 -0
  79. package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +2 -5
  80. package/tencentcloud/services/tse/v20201207/tse_models.d.ts +2 -151
  81. package/tencentcloud/services/tsf/v20180326/tsf_client.d.ts +3 -1
  82. package/tencentcloud/services/tsf/v20180326/tsf_client.js +3 -1
  83. package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +20 -72
  84. package/tencentcloud/services/waf/v20180125/waf_client.d.ts +27 -15
  85. package/tencentcloud/services/waf/v20180125/waf_client.js +39 -21
  86. package/tencentcloud/services/waf/v20180125/waf_models.d.ts +219 -92
@@ -1,6 +1,6 @@
1
1
  import { AbstractClient } from "../../../common/abstract_client";
2
2
  import { ClientConfig } from "../../../common/interface";
3
- 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
+ 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, OperateTemplateRequest, 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, OperateTemplateResponse, 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";
4
4
  /**
5
5
  * ess client
6
6
  * @class
@@ -704,6 +704,21 @@ export declare class Client extends AbstractClient {
704
704
  注意事项:SaaS角色和集团角色对应的权限树是不一样的。
705
705
  */
706
706
  CreateIntegrationRole(req: CreateIntegrationRoleRequest, cb?: (error: string, rep: CreateIntegrationRoleResponse) => void): Promise<CreateIntegrationRoleResponse>;
707
+ /**
708
+ * 此接口(OperateTemplate)用于对企业自有模板进行管理操作,所有操作都会有对应的回调触发,具体参考回调文档 <a href="https://qian.tencent.com/developers/company/callback_types_templates" target="_blank">模板操作相关回调</a>
709
+
710
+
711
+ # 支持的操作
712
+ ## 1. 删除模板 (OperateType=DELETE)
713
+ 此操作会将模板从企业自有模板中彻底删除,若要保留模板而不删除,可将模板停用。
714
+
715
+ ## 2. 启用模板 (OperateType=ENABLE)
716
+ 此操作是将已停用的模板启用,操作幂等,若模板已启用,接口不报错。
717
+
718
+ ## 3. 停用模板 (OperateType=DISABLE)
719
+ 此操作是将已启用的模板停用,操作幂等,若模板已停用,接口不报错,停用后,无法通过此模板发起合同,已发起的合同不受影响。
720
+ */
721
+ OperateTemplate(req: OperateTemplateRequest, cb?: (error: string, rep: OperateTemplateResponse) => void): Promise<OperateTemplateResponse>;
707
722
  /**
708
723
  * 管理企业扩展服务
709
724
 
@@ -836,6 +836,23 @@ class Client extends abstract_client_1.AbstractClient {
836
836
  async CreateIntegrationRole(req, cb) {
837
837
  return this.request("CreateIntegrationRole", req, cb);
838
838
  }
839
+ /**
840
+ * 此接口(OperateTemplate)用于对企业自有模板进行管理操作,所有操作都会有对应的回调触发,具体参考回调文档 <a href="https://qian.tencent.com/developers/company/callback_types_templates" target="_blank">模板操作相关回调</a>
841
+
842
+
843
+ # 支持的操作
844
+ ## 1. 删除模板 (OperateType=DELETE)
845
+ 此操作会将模板从企业自有模板中彻底删除,若要保留模板而不删除,可将模板停用。
846
+
847
+ ## 2. 启用模板 (OperateType=ENABLE)
848
+ 此操作是将已停用的模板启用,操作幂等,若模板已启用,接口不报错。
849
+
850
+ ## 3. 停用模板 (OperateType=DISABLE)
851
+ 此操作是将已启用的模板停用,操作幂等,若模板已停用,接口不报错,停用后,无法通过此模板发起合同,已发起的合同不受影响。
852
+ */
853
+ async OperateTemplate(req, cb) {
854
+ return this.request("OperateTemplate", req, cb);
855
+ }
839
856
  /**
840
857
  * 管理企业扩展服务
841
858
 
@@ -1483,34 +1483,32 @@ export interface GroupOrganization {
1483
1483
  FlowEngineEnable?: boolean;
1484
1484
  }
1485
1485
  /**
1486
- * 机构信息
1486
+ * OperateTemplate请求参数结构体
1487
1487
  */
1488
- export interface OrganizationInfo {
1488
+ export interface OperateTemplateRequest {
1489
1489
  /**
1490
- * 机构在平台的编号,内部字段,暂未开放
1491
- * @deprecated
1492
- */
1493
- OrganizationId?: string;
1494
- /**
1495
- * 用户渠道,内部字段,暂未开放
1496
- * @deprecated
1490
+ * 执行本接口操作的员工信息。
1491
+ 注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
1497
1492
  */
1498
- Channel?: string;
1493
+ Operator: UserInfo;
1499
1494
  /**
1500
- * 用户在渠道的机构编号,内部字段,暂未开放
1501
- * @deprecated
1495
+ * 模板ID,为32位字符串。
1502
1496
  */
1503
- OrganizationOpenId?: string;
1497
+ TemplateId: string;
1504
1498
  /**
1505
- * 用户真实的IP,内部字段,暂未开放
1506
- * @deprecated
1499
+ * 操作类型,可取值如下:
1500
+ <ul>
1501
+ <li>DELETE: 删除</li>
1502
+ <li>ENABLE: 启用</li>
1503
+ <li>DISABLE: 停用</li>
1504
+ </ul>
1507
1505
  */
1508
- ClientIp?: string;
1506
+ OperateType: string;
1509
1507
  /**
1510
- * 机构的代理IP,内部字段,暂未开放
1511
- * @deprecated
1508
+ * 代理企业和员工的信息。
1509
+ 在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。
1512
1510
  */
1513
- ProxyIp?: string;
1511
+ Agent?: Agent;
1514
1512
  }
1515
1513
  /**
1516
1514
  * 动态签署2.0合同参与人信息
@@ -2630,6 +2628,36 @@ export interface SignComponentConfig {
2630
2628
  */
2631
2629
  HideDate?: boolean;
2632
2630
  }
2631
+ /**
2632
+ * 机构信息
2633
+ */
2634
+ export interface OrganizationInfo {
2635
+ /**
2636
+ * 机构在平台的编号,内部字段,暂未开放
2637
+ * @deprecated
2638
+ */
2639
+ OrganizationId?: string;
2640
+ /**
2641
+ * 用户渠道,内部字段,暂未开放
2642
+ * @deprecated
2643
+ */
2644
+ Channel?: string;
2645
+ /**
2646
+ * 用户在渠道的机构编号,内部字段,暂未开放
2647
+ * @deprecated
2648
+ */
2649
+ OrganizationOpenId?: string;
2650
+ /**
2651
+ * 用户真实的IP,内部字段,暂未开放
2652
+ * @deprecated
2653
+ */
2654
+ ClientIp?: string;
2655
+ /**
2656
+ * 机构的代理IP,内部字段,暂未开放
2657
+ * @deprecated
2658
+ */
2659
+ ProxyIp?: string;
2660
+ }
2633
2661
  /**
2634
2662
  * UnbindEmployeeUserIdWithClientOpenId返回参数结构体
2635
2663
  */
@@ -5618,6 +5646,15 @@ export interface DescribeFlowComponentsRequest {
5618
5646
  */
5619
5647
  Agent?: Agent;
5620
5648
  }
5649
+ /**
5650
+ * OperateTemplate返回参数结构体
5651
+ */
5652
+ export interface OperateTemplateResponse {
5653
+ /**
5654
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5655
+ */
5656
+ RequestId?: string;
5657
+ }
5621
5658
  /**
5622
5659
  * CreateIntegrationDepartment请求参数结构体
5623
5660
  */
@@ -6047,8 +6084,11 @@ export interface CreateEmbedWebUrlRequest {
6047
6084
 
6048
6085
  注意:
6049
6086
  不同的嵌入类型,操作人需要的权限项不同(权限配置可参考[权限配置](https://qian.tencent.com/document/61355))。
6050
- <table>
6087
+ <table border="1">
6088
+ <thead>
6051
6089
  <tr><th>EmbedType</th><th>权限</th></tr>
6090
+ </thead>
6091
+ <tbody>
6052
6092
  <tr><th>CREATE_SEAL</th><th>印章管理-添加印章</th></tr>
6053
6093
  <tr><th>CREATE_TEMPLATE</th><th>模板管理-创建模板</th></tr>
6054
6094
  <tr><th>MODIFY_TEMPLATE</th><th>模板管理-编辑模板</th></tr>
@@ -6062,6 +6102,7 @@ export interface CreateEmbedWebUrlRequest {
6062
6102
  <tr><th>EXTEND_SERVICE</th><th>无要求</th></tr>
6063
6103
  <tr><th>PREVIEW_FLOW</th><th>是否是当前合同的参与方,或者发起方企业的法人、超管、合同管理员</th></tr>
6064
6104
  <tr><th>PREVIEW_FLOW_DETAIL</th><th>是否是当前合同的参与方,或者发起方企业的法人、超管、合同管理员</th></tr>
6105
+ </tbody>
6065
6106
  </table>
6066
6107
  */
6067
6108
  EmbedType: string;
@@ -1,6 +1,6 @@
1
1
  import { AbstractClient } from "../../../common/abstract_client";
2
2
  import { ClientConfig } from "../../../common/interface";
3
- import { SyncProxyOrganizationResponse, ChannelCreateConvertTaskApiResponse, ChannelCreateFlowRemindsResponse, DescribeUserFlowTypeResponse, ChannelDeleteSealPoliciesRequest, ChannelBatchCancelFlowsResponse, ChannelDescribeSignFaceVideoRequest, ChannelDisableUserAutoSignResponse, DescribeExtendedServiceAuthDetailResponse, CreateLegalSealQrCodeResponse, DescribeCancelFlowsTaskResponse, CreateEmployeeQualificationSealQrCodeResponse, ChannelCreateFlowGroupByTemplatesResponse, ChannelCreateFlowSignReviewRequest, CreateFlowForwardsRequest, DescribeFlowDetailInfoRequest, ChannelCancelFlowResponse, ModifyExtendedServiceRequest, DescribeResourceUrlsByFlowsRequest, CreateChannelOrganizationInfoChangeUrlResponse, ChannelCreateFlowSignUrlResponse, ChannelCreateBatchSignUrlResponse, ChannelCreatePrepareFlowResponse, CreateBatchInitOrganizationUrlResponse, OperateChannelTemplateResponse, ChannelCreateDynamicFlowApproverResponse, ChannelCreateRoleRequest, CreateOrganizationAuthFileResponse, CreateConsoleLoginUrlResponse, ChannelDeleteRoleUsersRequest, ChannelCreateUserRolesResponse, SyncProxyOrganizationRequest, ChannelCreatePrepareFlowRequest, ChannelCreateFlowSignUrlRequest, ChannelCreateSealPolicyResponse, ChannelDescribeSignFaceVideoResponse, ChannelCancelUserAutoSignEnableUrlResponse, ChannelCreateWebThemeConfigRequest, CreateFlowGroupSignReviewResponse, ChannelCreateConvertTaskApiRequest, ChannelCreateFlowByFilesRequest, UploadFilesResponse, ChannelCreatePreparedPersonalEsignResponse, DescribeResourceUrlsByFlowsResponse, ChannelCreateFlowGroupByFilesRequest, ChannelCreateOrganizationModifyQrCodeRequest, CreateChannelSubOrganizationActiveRequest, ChannelRenewAutoSignLicenseResponse, DescribeFlowDetailInfoResponse, ChannelDescribeRolesRequest, DescribeBatchOrganizationRegistrationUrlsRequest, PrepareFlowsResponse, ChannelCancelFlowRequest, ChannelCreateOrganizationBatchSignUrlRequest, GetDownloadFlowUrlResponse, DescribeTemplatesResponse, CreateBatchOrganizationRegistrationTasksResponse, ChannelVerifyPdfRequest, CreateChannelFlowEvidenceReportRequest, ChannelDescribeBillUsageDetailRequest, ChannelCancelUserAutoSignEnableUrlRequest, DeleteOrganizationAuthorizationsResponse, DescribeExtendedServiceAuthDetailRequest, CreateOrganizationAuthFileRequest, ChannelVerifyPdfResponse, ArchiveDynamicFlowResponse, CreateConsoleLoginUrlRequest, CreateLegalSealQrCodeRequest, CreateCloseOrganizationUrlRequest, CreatePersonAuthCertificateImageResponse, CreateEmployeeQualificationSealQrCodeRequest, ChannelCreateUserAutoSignSealUrlRequest, ChannelCreateUserAutoSignEnableUrlRequest, ChannelCancelMultiFlowSignQRCodeRequest, ChannelDescribeOrganizationSealsRequest, DescribeUsageRequest, DescribeExtendedServiceAuthInfoRequest, CreateCloseOrganizationUrlResponse, DescribeChannelSealPolicyWorkflowUrlRequest, CreatePartnerAutoSignAuthUrlResponse, ArchiveDynamicFlowRequest, ChannelCreateDynamicFlowApproverRequest, ModifyFlowDeadlineResponse, ChannelCreateBoundFlowsResponse, ChannelCreateUserAutoSignSealUrlResponse, ChannelCreateBatchQuickSignUrlRequest, ChannelCreateBoundFlowsRequest, ChannelDescribeEmployeesRequest, CreateFlowBlockchainEvidenceUrlResponse, ChannelDeleteRoleUsersResponse, SyncProxyOrganizationOperatorsRequest, ChannelCreateFlowApproversResponse, DescribeUsageResponse, CreateSignUrlsRequest, ChannelCreateMultiFlowSignQRCodeRequest, ChannelCreateUserAutoSignEnableUrlResponse, ChannelGetTaskResultApiRequest, DescribeChannelOrganizationsRequest, ChannelCreatePreparedPersonalEsignRequest, CreateEmployeeChangeUrlResponse, ChannelRenewAutoSignLicenseRequest, ChannelDescribeBillUsageDetailResponse, CreatePersonAuthCertificateImageRequest, CreateFlowsByTemplatesResponse, DescribeChannelFlowEvidenceReportRequest, ChannelCreateRoleResponse, CreateEmployeeChangeUrlRequest, ChannelDescribeUserAutoSignStatusRequest, ChannelModifyRoleResponse, CreateSignUrlsResponse, ChannelDeleteRoleRequest, CreateBatchOrganizationRegistrationTasksRequest, ChannelCreateBatchQuickSignUrlResponse, CreateBatchOrganizationAuthorizationUrlResponse, CreatePartnerAutoSignAuthUrlRequest, ChannelCreateBatchCancelFlowUrlRequest, ChannelDescribeAccountBillDetailResponse, CreateFlowForwardsResponse, ChannelCreateFlowByFilesResponse, ChannelCreateFlowSignReviewResponse, ChannelDisableUserAutoSignRequest, ChannelDescribeOrganizationSealsResponse, SyncProxyOrganizationOperatorsResponse, CreateSealByImageResponse, ChannelCancelMultiFlowSignQRCodeResponse, ChannelDescribeRolesResponse, CreateChannelSubOrganizationActiveResponse, ChannelCreateReleaseFlowRequest, ChannelDescribeFlowComponentsResponse, DeleteOrganizationAuthorizationsRequest, ChannelCreateFlowGroupByFilesResponse, ChannelCreateMultiFlowSignQRCodeResponse, DescribeCancelFlowsTaskRequest, ChannelDescribeUserAutoSignStatusResponse, ModifyExtendedServiceResponse, ChannelCreateUserRolesRequest, ChannelGetTaskResultApiResponse, ChannelCreateBatchSignUrlRequest, ChannelCreateOrganizationModifyQrCodeResponse, ChannelDeleteSealPoliciesResponse, ChannelCreateWebThemeConfigResponse, GetDownloadFlowUrlRequest, ChannelCreateEmbedWebUrlResponse, ChannelBatchCancelFlowsRequest, CreateChannelOrganizationInfoChangeUrlRequest, ChannelModifyRoleRequest, ModifyFlowDeadlineRequest, ChannelUpdateSealStatusRequest, ChannelCreateFlowGroupByTemplatesRequest, CreateBatchInitOrganizationUrlRequest, CreateFlowGroupSignReviewRequest, DescribeTemplatesRequest, ChannelCreateSealPolicyRequest, CreateFlowsByTemplatesRequest, DescribeBatchOrganizationRegistrationUrlsResponse, UploadFilesRequest, CreateSealByImageRequest, DescribeChannelOrganizationsResponse, ChannelCreateOrganizationBatchSignUrlResponse, CreateBatchOrganizationAuthorizationUrlRequest, ChannelCreateBatchCancelFlowUrlResponse, OperateChannelTemplateRequest, DescribeChannelSealPolicyWorkflowUrlResponse, CreateChannelFlowEvidenceReportResponse, ChannelDescribeAccountBillDetailRequest, ChannelDescribeEmployeesResponse, ChannelDeleteRoleResponse, ChannelCreateReleaseFlowResponse, DescribeChannelFlowEvidenceReportResponse, CreateFlowBlockchainEvidenceUrlRequest, DescribeUserFlowTypeRequest, ChannelCreateFlowApproversRequest, ChannelUpdateSealStatusResponse, ChannelCreateFlowRemindsRequest, DescribeExtendedServiceAuthInfoResponse, ChannelCreateEmbedWebUrlRequest, ChannelDescribeFlowComponentsRequest, PrepareFlowsRequest } from "./essbasic_models";
3
+ import { SyncProxyOrganizationResponse, ChannelCreateConvertTaskApiResponse, ChannelCreateFlowRemindsResponse, DescribeUserFlowTypeResponse, ChannelDeleteSealPoliciesRequest, ChannelBatchCancelFlowsResponse, ChannelDescribeSignFaceVideoRequest, ChannelDisableUserAutoSignResponse, DescribeExtendedServiceAuthDetailResponse, CreateLegalSealQrCodeResponse, DescribeCancelFlowsTaskResponse, CreateEmployeeQualificationSealQrCodeResponse, ChannelCreateFlowGroupByTemplatesResponse, ChannelCreateFlowSignReviewRequest, CreateFlowForwardsRequest, DescribeFlowDetailInfoRequest, ChannelCancelFlowResponse, ModifyExtendedServiceRequest, DescribeResourceUrlsByFlowsRequest, CreateChannelOrganizationInfoChangeUrlResponse, ChannelCreateFlowSignUrlResponse, ChannelCreateBatchSignUrlResponse, ChannelCreatePrepareFlowResponse, CreateBatchInitOrganizationUrlResponse, OperateChannelTemplateResponse, ChannelCreateDynamicFlowApproverResponse, ChannelCreateRoleRequest, CreateOrganizationAuthFileResponse, CreateConsoleLoginUrlResponse, ChannelDeleteRoleUsersRequest, ChannelCreateUserRolesResponse, SyncProxyOrganizationRequest, ChannelCreatePrepareFlowRequest, ChannelCreateFlowSignUrlRequest, ChannelCreateSealPolicyResponse, OperateTemplateRequest, ChannelDescribeSignFaceVideoResponse, ChannelCancelUserAutoSignEnableUrlResponse, ChannelCreateWebThemeConfigRequest, CreateFlowGroupSignReviewResponse, ChannelCreateConvertTaskApiRequest, ChannelCreateFlowByFilesRequest, UploadFilesResponse, ChannelCreatePreparedPersonalEsignResponse, DescribeResourceUrlsByFlowsResponse, ChannelCreateFlowGroupByFilesRequest, ChannelCreateOrganizationModifyQrCodeRequest, CreateChannelSubOrganizationActiveRequest, ChannelRenewAutoSignLicenseResponse, DescribeFlowDetailInfoResponse, ChannelDescribeRolesRequest, DescribeBatchOrganizationRegistrationUrlsRequest, PrepareFlowsResponse, ChannelCancelFlowRequest, ChannelCreateOrganizationBatchSignUrlRequest, GetDownloadFlowUrlResponse, DescribeTemplatesResponse, CreateBatchOrganizationRegistrationTasksResponse, ChannelVerifyPdfRequest, CreateChannelFlowEvidenceReportRequest, ChannelDescribeBillUsageDetailRequest, ChannelCancelUserAutoSignEnableUrlRequest, DeleteOrganizationAuthorizationsResponse, DescribeExtendedServiceAuthDetailRequest, CreateOrganizationAuthFileRequest, ChannelVerifyPdfResponse, ArchiveDynamicFlowResponse, CreateConsoleLoginUrlRequest, CreateLegalSealQrCodeRequest, CreateCloseOrganizationUrlRequest, CreatePersonAuthCertificateImageResponse, CreateEmployeeQualificationSealQrCodeRequest, ChannelCreateUserAutoSignSealUrlRequest, ChannelCreateUserAutoSignEnableUrlRequest, ChannelCancelMultiFlowSignQRCodeRequest, ChannelDescribeOrganizationSealsRequest, DescribeUsageRequest, DescribeExtendedServiceAuthInfoRequest, CreateCloseOrganizationUrlResponse, DescribeChannelSealPolicyWorkflowUrlRequest, CreatePartnerAutoSignAuthUrlResponse, ArchiveDynamicFlowRequest, ChannelCreateDynamicFlowApproverRequest, ModifyFlowDeadlineResponse, ChannelCreateBoundFlowsResponse, ChannelCreateUserAutoSignSealUrlResponse, ChannelCreateBatchQuickSignUrlRequest, ChannelCreateBoundFlowsRequest, ChannelDescribeEmployeesRequest, OperateTemplateResponse, CreateFlowBlockchainEvidenceUrlResponse, ChannelDeleteRoleUsersResponse, SyncProxyOrganizationOperatorsRequest, ChannelCreateFlowApproversResponse, DescribeUsageResponse, CreateSignUrlsRequest, ChannelCreateMultiFlowSignQRCodeRequest, ChannelCreateUserAutoSignEnableUrlResponse, ChannelGetTaskResultApiRequest, DescribeChannelOrganizationsRequest, ChannelCreatePreparedPersonalEsignRequest, CreateEmployeeChangeUrlResponse, ChannelRenewAutoSignLicenseRequest, ChannelDescribeBillUsageDetailResponse, CreatePersonAuthCertificateImageRequest, CreateFlowsByTemplatesResponse, DescribeChannelFlowEvidenceReportRequest, ChannelCreateRoleResponse, CreateEmployeeChangeUrlRequest, ChannelDescribeUserAutoSignStatusRequest, ChannelModifyRoleResponse, CreateSignUrlsResponse, ChannelDeleteRoleRequest, CreateBatchOrganizationRegistrationTasksRequest, ChannelCreateBatchQuickSignUrlResponse, CreateBatchOrganizationAuthorizationUrlResponse, CreatePartnerAutoSignAuthUrlRequest, ChannelCreateBatchCancelFlowUrlRequest, ChannelDescribeAccountBillDetailResponse, CreateFlowForwardsResponse, ChannelCreateFlowByFilesResponse, ChannelCreateFlowSignReviewResponse, ChannelDisableUserAutoSignRequest, ChannelDescribeOrganizationSealsResponse, SyncProxyOrganizationOperatorsResponse, CreateSealByImageResponse, ChannelCancelMultiFlowSignQRCodeResponse, ChannelDescribeRolesResponse, CreateChannelSubOrganizationActiveResponse, ChannelCreateReleaseFlowRequest, ChannelDescribeFlowComponentsResponse, DeleteOrganizationAuthorizationsRequest, ChannelCreateFlowGroupByFilesResponse, ChannelCreateMultiFlowSignQRCodeResponse, DescribeCancelFlowsTaskRequest, ChannelDescribeUserAutoSignStatusResponse, ModifyExtendedServiceResponse, ChannelCreateUserRolesRequest, ChannelGetTaskResultApiResponse, ChannelCreateBatchSignUrlRequest, ChannelCreateOrganizationModifyQrCodeResponse, ChannelDeleteSealPoliciesResponse, ChannelCreateWebThemeConfigResponse, GetDownloadFlowUrlRequest, ChannelCreateEmbedWebUrlResponse, ChannelBatchCancelFlowsRequest, CreateChannelOrganizationInfoChangeUrlRequest, ChannelModifyRoleRequest, ModifyFlowDeadlineRequest, ChannelUpdateSealStatusRequest, ChannelCreateFlowGroupByTemplatesRequest, CreateBatchInitOrganizationUrlRequest, CreateFlowGroupSignReviewRequest, DescribeTemplatesRequest, ChannelCreateSealPolicyRequest, CreateFlowsByTemplatesRequest, DescribeBatchOrganizationRegistrationUrlsResponse, UploadFilesRequest, CreateSealByImageRequest, DescribeChannelOrganizationsResponse, ChannelCreateOrganizationBatchSignUrlResponse, CreateBatchOrganizationAuthorizationUrlRequest, ChannelCreateBatchCancelFlowUrlResponse, OperateChannelTemplateRequest, DescribeChannelSealPolicyWorkflowUrlResponse, CreateChannelFlowEvidenceReportResponse, ChannelDescribeAccountBillDetailRequest, ChannelDescribeEmployeesResponse, ChannelDeleteRoleResponse, ChannelCreateReleaseFlowResponse, DescribeChannelFlowEvidenceReportResponse, CreateFlowBlockchainEvidenceUrlRequest, DescribeUserFlowTypeRequest, ChannelCreateFlowApproversRequest, ChannelUpdateSealStatusResponse, ChannelCreateFlowRemindsRequest, DescribeExtendedServiceAuthInfoResponse, ChannelCreateEmbedWebUrlRequest, ChannelDescribeFlowComponentsRequest, PrepareFlowsRequest } from "./essbasic_models";
4
4
  /**
5
5
  * essbasic client
6
6
  * @class
@@ -606,6 +606,20 @@ Agent参数中的OpenId 必须为审批者的openId,且链接必须由审批
606
606
  ![image](https://qcloudimg.tencent-cloud.cn/raw/27317cf5aacb094fb1dc6f94179a5148.png )
607
607
  */
608
608
  ChannelCreateMultiFlowSignQRCode(req: ChannelCreateMultiFlowSignQRCodeRequest, cb?: (error: string, rep: ChannelCreateMultiFlowSignQRCodeResponse) => void): Promise<ChannelCreateMultiFlowSignQRCodeResponse>;
609
+ /**
610
+ * 此接口(OperateTemplate)用于对企业自有模板进行管理操作,所有操作都会有对应的回调触发,具体参考回调文档 <a href="https://qian.tencent.com/developers/partner/callback_types_templates" target="_blank">模板操作相关回调</a>
611
+
612
+ # 支持的操作
613
+ ## 1. 删除模板 (OperateType=DELETE)
614
+ 此操作会将模板从企业自有模板中彻底删除,若要保留模板而不删除,可将模板停用。
615
+
616
+ ## 2. 启用模板 (OperateType=ENABLE)
617
+ 此操作是将已停用的模板启用,操作幂等,若模板已启用,接口不报错。
618
+
619
+ ## 3. 停用模板 (OperateType=DISABLE)
620
+ 此操作是将已启用的模板停用,操作幂等,若模板已停用,接口不报错,停用后,无法通过此模板发起合同,已发起的合同不受影响。
621
+ */
622
+ OperateTemplate(req: OperateTemplateRequest, cb?: (error: string, rep: OperateTemplateResponse) => void): Promise<OperateTemplateResponse>;
609
623
  /**
610
624
  * 管理企业扩展服务
611
625
 
@@ -712,6 +712,22 @@ Agent参数中的OpenId 必须为审批者的openId,且链接必须由审批
712
712
  async ChannelCreateMultiFlowSignQRCode(req, cb) {
713
713
  return this.request("ChannelCreateMultiFlowSignQRCode", req, cb);
714
714
  }
715
+ /**
716
+ * 此接口(OperateTemplate)用于对企业自有模板进行管理操作,所有操作都会有对应的回调触发,具体参考回调文档 <a href="https://qian.tencent.com/developers/partner/callback_types_templates" target="_blank">模板操作相关回调</a>
717
+
718
+ # 支持的操作
719
+ ## 1. 删除模板 (OperateType=DELETE)
720
+ 此操作会将模板从企业自有模板中彻底删除,若要保留模板而不删除,可将模板停用。
721
+
722
+ ## 2. 启用模板 (OperateType=ENABLE)
723
+ 此操作是将已停用的模板启用,操作幂等,若模板已启用,接口不报错。
724
+
725
+ ## 3. 停用模板 (OperateType=DISABLE)
726
+ 此操作是将已启用的模板停用,操作幂等,若模板已停用,接口不报错,停用后,无法通过此模板发起合同,已发起的合同不受影响。
727
+ */
728
+ async OperateTemplate(req, cb) {
729
+ return this.request("OperateTemplate", req, cb);
730
+ }
715
731
  /**
716
732
  * 管理企业扩展服务
717
733
 
@@ -1675,31 +1675,33 @@ export interface ChannelCreateSealPolicyResponse {
1675
1675
  RequestId?: string;
1676
1676
  }
1677
1677
  /**
1678
- * 机构信息
1678
+ * OperateTemplate请求参数结构体
1679
1679
  */
1680
- export interface OrganizationInfo {
1681
- /**
1682
- * 用户在渠道的机构编号
1683
- */
1684
- OrganizationOpenId: string;
1685
- /**
1686
- * 机构在平台的编号
1687
- */
1688
- OrganizationId?: string;
1680
+ export interface OperateTemplateRequest {
1689
1681
  /**
1690
- * 用户渠道
1682
+ * 关于渠道应用的相关信息,包括渠道应用标识、第三方平台子客企业标识及第三方平台子客企业中的员工标识等内容,您可以参阅开发者中心所提供的 Agent 结构体以获取详细定义。
1683
+
1684
+ 此接口下面信息必填。
1685
+ <ul>
1686
+ <li>渠道应用标识: Agent.AppId</li>
1687
+ <li>第三方平台子客企业标识: Agent.ProxyOrganizationOpenId(模板的归属企业)</li>
1688
+ <li>第三方平台子客企业中的员工标识: Agent.ProxyOperator.OpenId (操作人)</li>
1689
+ </ul>
1691
1690
  */
1692
- Channel?: string;
1691
+ Agent: Agent;
1693
1692
  /**
1694
- * 用户真实的IP
1695
- * @deprecated
1693
+ * 模板ID,为32位字符串。
1696
1694
  */
1697
- ClientIp?: string;
1695
+ TemplateId: string;
1698
1696
  /**
1699
- * 机构的代理IP
1700
- * @deprecated
1697
+ * 操作类型,可取值如下:
1698
+ <ul>
1699
+ <li>DELETE: 删除</li>
1700
+ <li>ENABLE: 启用</li>
1701
+ <li>DISABLE: 停用</li>
1702
+ </ul>
1701
1703
  */
1702
- ProxyIp?: string;
1704
+ OperateType: string;
1703
1705
  }
1704
1706
  /**
1705
1707
  * ChannelDescribeSignFaceVideo返回参数结构体
@@ -3482,6 +3484,40 @@ export interface ArchiveDynamicFlowResponse {
3482
3484
  */
3483
3485
  RequestId?: string;
3484
3486
  }
3487
+ /**
3488
+ * 主题配置
3489
+ */
3490
+ export interface WebThemeConfig {
3491
+ /**
3492
+ * 是否显示页面底部电子签logo,取值如下:
3493
+ <ul><li> **true**:页面底部显示电子签logo</li>
3494
+ <li> **false**:页面底部不显示电子签logo(默认)</li></ul>
3495
+ */
3496
+ DisplaySignBrandLogo?: boolean;
3497
+ /**
3498
+ * 主题颜色:
3499
+ 支持十六进制颜色值以及RGB格式颜色值,例如:#D54941,rgb(213, 73, 65)
3500
+ <br/>
3501
+ */
3502
+ WebEmbedThemeColor?: string;
3503
+ /**
3504
+ * 企业认证页背景图(base64图片)
3505
+
3506
+ */
3507
+ AuthenticateBackground?: string;
3508
+ /**
3509
+ * 隐藏企业认证页面导航栏,取值如下:
3510
+ <ul><li> **true**:隐藏企业认证页面导航栏</li>
3511
+ <li> **false**:显示企业认证页面导航栏(默认)</li></ul>
3512
+ */
3513
+ HideAuthenticateNavigationBar?: boolean;
3514
+ /**
3515
+ * 隐藏企业认证顶部logo,取值如下:
3516
+ <ul><li> **true**:隐藏企业认证顶部logo</li>
3517
+ <li> **false**:显示企业认证顶部logo(默认)</li></ul>
3518
+ */
3519
+ HideAuthenticateTopLogo?: boolean;
3520
+ }
3485
3521
  /**
3486
3522
  * CreateConsoleLoginUrl请求参数结构体
3487
3523
  */
@@ -4901,6 +4937,15 @@ export interface ChannelDescribeEmployeesRequest {
4901
4937
  */
4902
4938
  Operator?: UserInfo;
4903
4939
  }
4940
+ /**
4941
+ * OperateTemplate返回参数结构体
4942
+ */
4943
+ export interface OperateTemplateResponse {
4944
+ /**
4945
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4946
+ */
4947
+ RequestId?: string;
4948
+ }
4904
4949
  /**
4905
4950
  * 授权用户
4906
4951
  */
@@ -9017,38 +9062,31 @@ export interface DescribeExtendedServiceAuthInfoResponse {
9017
9062
  RequestId?: string;
9018
9063
  }
9019
9064
  /**
9020
- * 主题配置
9065
+ * 机构信息
9021
9066
  */
9022
- export interface WebThemeConfig {
9067
+ export interface OrganizationInfo {
9023
9068
  /**
9024
- * 是否显示页面底部电子签logo,取值如下:
9025
- <ul><li> **true**:页面底部显示电子签logo</li>
9026
- <li> **false**:页面底部不显示电子签logo(默认)</li></ul>
9069
+ * 用户在渠道的机构编号
9027
9070
  */
9028
- DisplaySignBrandLogo?: boolean;
9071
+ OrganizationOpenId: string;
9029
9072
  /**
9030
- * 主题颜色:
9031
- 支持十六进制颜色值以及RGB格式颜色值,例如:#D54941,rgb(213, 73, 65)
9032
- <br/>
9073
+ * 机构在平台的编号
9033
9074
  */
9034
- WebEmbedThemeColor?: string;
9075
+ OrganizationId?: string;
9035
9076
  /**
9036
- * 企业认证页背景图(base64图片)
9037
-
9077
+ * 用户渠道
9038
9078
  */
9039
- AuthenticateBackground?: string;
9079
+ Channel?: string;
9040
9080
  /**
9041
- * 隐藏企业认证页面导航栏,取值如下:
9042
- <ul><li> **true**:隐藏企业认证页面导航栏</li>
9043
- <li> **false**:显示企业认证页面导航栏(默认)</li></ul>
9081
+ * 用户真实的IP
9082
+ * @deprecated
9044
9083
  */
9045
- HideAuthenticateNavigationBar?: boolean;
9084
+ ClientIp?: string;
9046
9085
  /**
9047
- * 隐藏企业认证顶部logo,取值如下:
9048
- <ul><li> **true**:隐藏企业认证顶部logo</li>
9049
- <li> **false**:显示企业认证顶部logo(默认)</li></ul>
9086
+ * 机构的代理IP
9087
+ * @deprecated
9050
9088
  */
9051
- HideAuthenticateTopLogo?: boolean;
9089
+ ProxyIp?: string;
9052
9090
  }
9053
9091
  /**
9054
9092
  * ChannelCreateEmbedWebUrl请求参数结构体