tencentcloud-sdk-nodejs 4.1.15 → 4.1.16
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/es/common/sdk_version.js +1 -1
- package/es/services/bh/v20230418/bh_client.js +21 -6
- package/es/services/chc/v20230418/chc_client.js +5 -2
- package/es/services/cls/v20201016/cls_client.js +3 -0
- package/es/services/es/index.js +2 -0
- package/es/services/es/v20250101/es_client.js +33 -0
- package/es/services/es/v20250101/es_models.js +0 -0
- package/es/services/es/v20250101/index.js +6 -0
- package/es/services/ess/v20201111/ess_client.js +3 -0
- package/es/services/essbasic/v20210526/essbasic_client.js +3 -0
- package/es/services/sts/v20180813/sts_client.js +3 -0
- package/es/services/tione/v20211111/tione_client.js +3 -0
- package/es/services/waf/v20180125/waf_client.js +22 -13
- package/package.json +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/bh/v20230418/bh_client.d.ts +27 -7
- package/tencentcloud/services/bh/v20230418/bh_client.js +39 -9
- package/tencentcloud/services/bh/v20230418/bh_models.d.ts +229 -6
- package/tencentcloud/services/bpaas/v20181217/bpaas_models.d.ts +0 -27
- package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +1 -1
- package/tencentcloud/services/cdb/v20170320/cdb_client.js +1 -1
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +4 -0
- package/tencentcloud/services/chc/v20230418/chc_client.d.ts +7 -3
- package/tencentcloud/services/chc/v20230418/chc_client.js +9 -3
- package/tencentcloud/services/chc/v20230418/chc_models.d.ts +59 -13
- package/tencentcloud/services/cls/v20201016/cls_client.d.ts +5 -1
- package/tencentcloud/services/cls/v20201016/cls_client.js +6 -0
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +24 -2
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +1 -1
- package/tencentcloud/services/es/index.d.ts +4 -0
- package/tencentcloud/services/es/index.js +2 -0
- package/tencentcloud/services/es/v20180416/es_models.d.ts +120 -105
- package/tencentcloud/services/es/v20250101/es_client.d.ts +51 -0
- package/tencentcloud/services/es/v20250101/es_client.js +90 -0
- package/tencentcloud/services/es/v20250101/es_models.d.ts +568 -0
- package/tencentcloud/services/es/v20250101/es_models.js +18 -0
- package/tencentcloud/services/es/v20250101/index.d.ts +6 -0
- package/tencentcloud/services/es/v20250101/index.js +10 -0
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +15 -1
- package/tencentcloud/services/ess/v20201111/ess_client.js +16 -0
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +61 -20
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +15 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +16 -0
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +77 -39
- package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +4 -0
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +1 -1
- package/tencentcloud/services/sts/v20180813/sts_client.d.ts +5 -1
- package/tencentcloud/services/sts/v20180813/sts_client.js +6 -0
- package/tencentcloud/services/sts/v20180813/sts_models.d.ts +50 -4
- package/tencentcloud/services/tcr/v20190924/tcr_models.d.ts +5 -3
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +20 -0
- package/tencentcloud/services/tione/v20211111/tione_client.d.ts +5 -1
- package/tencentcloud/services/tione/v20211111/tione_client.js +6 -0
- package/tencentcloud/services/tione/v20211111/tione_models.d.ts +271 -156
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +2 -150
- package/tencentcloud/services/tsf/v20180326/tsf_client.d.ts +3 -1
- package/tencentcloud/services/tsf/v20180326/tsf_client.js +3 -1
- package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +20 -72
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +27 -15
- package/tencentcloud/services/waf/v20180125/waf_client.js +39 -21
- 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,20 @@ 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
|
+
## 1. 删除模板 (OperateType=DELETE)
|
|
712
|
+
此操作会从模板将企业自有模板中彻底删除,若要保留模板而不删除,可将将模板停用。
|
|
713
|
+
|
|
714
|
+
## 2. 启用模板 (OperateType=ENABLE)
|
|
715
|
+
此操作是将停用的模板启用,操作幂等,若模板已经启用,接口不报错。
|
|
716
|
+
|
|
717
|
+
## 3. 停用模板 (OperateType=DELETE)
|
|
718
|
+
此操作是将启用态的模板停用,操作幂等,若模板已经停用,接口不报错,停用后,无法通过此模板发起合同,已经发起的合同不受影响。
|
|
719
|
+
*/
|
|
720
|
+
OperateTemplate(req: OperateTemplateRequest, cb?: (error: string, rep: OperateTemplateResponse) => void): Promise<OperateTemplateResponse>;
|
|
707
721
|
/**
|
|
708
722
|
* 管理企业扩展服务
|
|
709
723
|
|
|
@@ -836,6 +836,22 @@ 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
|
+
## 1. 删除模板 (OperateType=DELETE)
|
|
844
|
+
此操作会从模板将企业自有模板中彻底删除,若要保留模板而不删除,可将将模板停用。
|
|
845
|
+
|
|
846
|
+
## 2. 启用模板 (OperateType=ENABLE)
|
|
847
|
+
此操作是将停用的模板启用,操作幂等,若模板已经启用,接口不报错。
|
|
848
|
+
|
|
849
|
+
## 3. 停用模板 (OperateType=DELETE)
|
|
850
|
+
此操作是将启用态的模板停用,操作幂等,若模板已经停用,接口不报错,停用后,无法通过此模板发起合同,已经发起的合同不受影响。
|
|
851
|
+
*/
|
|
852
|
+
async OperateTemplate(req, cb) {
|
|
853
|
+
return this.request("OperateTemplate", req, cb);
|
|
854
|
+
}
|
|
839
855
|
/**
|
|
840
856
|
* 管理企业扩展服务
|
|
841
857
|
|
|
@@ -1483,34 +1483,32 @@ export interface GroupOrganization {
|
|
|
1483
1483
|
FlowEngineEnable?: boolean;
|
|
1484
1484
|
}
|
|
1485
1485
|
/**
|
|
1486
|
-
*
|
|
1486
|
+
* OperateTemplate请求参数结构体
|
|
1487
1487
|
*/
|
|
1488
|
-
export interface
|
|
1488
|
+
export interface OperateTemplateRequest {
|
|
1489
1489
|
/**
|
|
1490
|
-
*
|
|
1491
|
-
|
|
1492
|
-
*/
|
|
1493
|
-
OrganizationId?: string;
|
|
1494
|
-
/**
|
|
1495
|
-
* 用户渠道,内部字段,暂未开放
|
|
1496
|
-
* @deprecated
|
|
1490
|
+
* 执行本接口操作的员工信息。
|
|
1491
|
+
注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
|
|
1497
1492
|
*/
|
|
1498
|
-
|
|
1493
|
+
Operator: UserInfo;
|
|
1499
1494
|
/**
|
|
1500
|
-
*
|
|
1501
|
-
* @deprecated
|
|
1495
|
+
* 模板ID,为32位字符串。
|
|
1502
1496
|
*/
|
|
1503
|
-
|
|
1497
|
+
TemplateId: string;
|
|
1504
1498
|
/**
|
|
1505
|
-
*
|
|
1506
|
-
|
|
1499
|
+
* 操作类型,可取值如下:
|
|
1500
|
+
<ul>
|
|
1501
|
+
<li>DELETE: 删除</li>
|
|
1502
|
+
<li>ENABLE: 启用</li>
|
|
1503
|
+
<li>DISABLE: 停用</li>
|
|
1504
|
+
</ul>
|
|
1507
1505
|
*/
|
|
1508
|
-
|
|
1506
|
+
OperateType: string;
|
|
1509
1507
|
/**
|
|
1510
|
-
*
|
|
1511
|
-
|
|
1508
|
+
* 代理企业和员工的信息。
|
|
1509
|
+
在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。
|
|
1512
1510
|
*/
|
|
1513
|
-
|
|
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
|

|
|
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=DELETE)
|
|
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=DELETE)
|
|
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
|
|
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
|
-
|
|
1691
|
+
Agent: Agent;
|
|
1693
1692
|
/**
|
|
1694
|
-
*
|
|
1695
|
-
* @deprecated
|
|
1693
|
+
* 模板ID,为32位字符串。
|
|
1696
1694
|
*/
|
|
1697
|
-
|
|
1695
|
+
TemplateId: string;
|
|
1698
1696
|
/**
|
|
1699
|
-
*
|
|
1700
|
-
|
|
1697
|
+
* 操作类型,可取值如下:
|
|
1698
|
+
<ul>
|
|
1699
|
+
<li>DELETE: 删除</li>
|
|
1700
|
+
<li>ENABLE: 启用</li>
|
|
1701
|
+
<li>DISABLE: 停用</li>
|
|
1702
|
+
</ul>
|
|
1701
1703
|
*/
|
|
1702
|
-
|
|
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
|
|
9067
|
+
export interface OrganizationInfo {
|
|
9023
9068
|
/**
|
|
9024
|
-
*
|
|
9025
|
-
<ul><li> **true**:页面底部显示电子签logo</li>
|
|
9026
|
-
<li> **false**:页面底部不显示电子签logo(默认)</li></ul>
|
|
9069
|
+
* 用户在渠道的机构编号
|
|
9027
9070
|
*/
|
|
9028
|
-
|
|
9071
|
+
OrganizationOpenId: string;
|
|
9029
9072
|
/**
|
|
9030
|
-
*
|
|
9031
|
-
支持十六进制颜色值以及RGB格式颜色值,例如:#D54941,rgb(213, 73, 65)
|
|
9032
|
-
<br/>
|
|
9073
|
+
* 机构在平台的编号
|
|
9033
9074
|
*/
|
|
9034
|
-
|
|
9075
|
+
OrganizationId?: string;
|
|
9035
9076
|
/**
|
|
9036
|
-
*
|
|
9037
|
-
|
|
9077
|
+
* 用户渠道
|
|
9038
9078
|
*/
|
|
9039
|
-
|
|
9079
|
+
Channel?: string;
|
|
9040
9080
|
/**
|
|
9041
|
-
*
|
|
9042
|
-
|
|
9043
|
-
<li> **false**:显示企业认证页面导航栏(默认)</li></ul>
|
|
9081
|
+
* 用户真实的IP
|
|
9082
|
+
* @deprecated
|
|
9044
9083
|
*/
|
|
9045
|
-
|
|
9084
|
+
ClientIp?: string;
|
|
9046
9085
|
/**
|
|
9047
|
-
*
|
|
9048
|
-
|
|
9049
|
-
<li> **false**:显示企业认证顶部logo(默认)</li></ul>
|
|
9086
|
+
* 机构的代理IP
|
|
9087
|
+
* @deprecated
|
|
9050
9088
|
*/
|
|
9051
|
-
|
|
9089
|
+
ProxyIp?: string;
|
|
9052
9090
|
}
|
|
9053
9091
|
/**
|
|
9054
9092
|
* ChannelCreateEmbedWebUrl请求参数结构体
|
|
@@ -1825,7 +1825,7 @@ export interface SmartStructuralProRequest {
|
|
|
1825
1825
|
*/
|
|
1826
1826
|
PdfPageNumber?: number;
|
|
1827
1827
|
/**
|
|
1828
|
-
*
|
|
1828
|
+
* 自定义结构化功能需返回的字段名称,例:若客户想新增返回姓名、性别两个字段的识别结果,则输入ItemNames=["姓名","性别"]
|
|
1829
1829
|
*/
|
|
1830
1830
|
ItemNames?: Array<string>;
|
|
1831
1831
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { AssumeRoleWithSAMLResponse, AssumeRoleWithWebIdentityRequest, AssumeRoleWithWebIdentityResponse, GetFederationTokenResponse, QueryApiKeyResponse, AssumeRoleResponse,
|
|
3
|
+
import { AssumeRoleWithSAMLResponse, AssumeRoleWithWebIdentityRequest, AssumeRoleWithWebIdentityResponse, GetFederationTokenResponse, QueryApiKeyResponse, AssumeRoleResponse, GetSessionTokenResponse, GetFederationTokenRequest, GetCallerIdentityResponse, QueryApiKeyRequest, GetSessionTokenRequest, AssumeRoleRequest, GetCallerIdentityRequest, AssumeRoleWithSAMLRequest } from "./sts_models";
|
|
4
4
|
/**
|
|
5
5
|
* sts client
|
|
6
6
|
* @class
|
|
@@ -46,6 +46,10 @@ export declare class Client extends AbstractClient {
|
|
|
46
46
|
注意:当使用签名方法 V3 调用本接口时,请求头无须传入 X-TC-Token, 但 Authorization 需要传入值 SKIP。
|
|
47
47
|
*/
|
|
48
48
|
AssumeRoleWithWebIdentity(req: AssumeRoleWithWebIdentityRequest, cb?: (error: string, rep: AssumeRoleWithWebIdentityResponse) => void): Promise<AssumeRoleWithWebIdentityResponse>;
|
|
49
|
+
/**
|
|
50
|
+
* 获取MFA临时证书
|
|
51
|
+
*/
|
|
52
|
+
GetSessionToken(req: GetSessionTokenRequest, cb?: (error: string, rep: GetSessionTokenResponse) => void): Promise<GetSessionTokenResponse>;
|
|
49
53
|
/**
|
|
50
54
|
* 获取当前调用者的身份信息。
|
|
51
55
|
|
|
@@ -74,6 +74,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
74
74
|
async AssumeRoleWithWebIdentity(req, cb) {
|
|
75
75
|
return this.request("AssumeRoleWithWebIdentity", req, cb);
|
|
76
76
|
}
|
|
77
|
+
/**
|
|
78
|
+
* 获取MFA临时证书
|
|
79
|
+
*/
|
|
80
|
+
async GetSessionToken(req, cb) {
|
|
81
|
+
return this.request("GetSessionToken", req, cb);
|
|
82
|
+
}
|
|
77
83
|
/**
|
|
78
84
|
* 获取当前调用者的身份信息。
|
|
79
85
|
|
|
@@ -139,13 +139,25 @@ export interface AssumeRoleResponse {
|
|
|
139
139
|
RequestId?: string;
|
|
140
140
|
}
|
|
141
141
|
/**
|
|
142
|
-
*
|
|
142
|
+
* GetSessionToken返回参数结构体
|
|
143
143
|
*/
|
|
144
|
-
export interface
|
|
144
|
+
export interface GetSessionTokenResponse {
|
|
145
145
|
/**
|
|
146
|
-
*
|
|
146
|
+
* 临时访问凭证
|
|
147
147
|
*/
|
|
148
|
-
|
|
148
|
+
Credentials?: Credentials;
|
|
149
|
+
/**
|
|
150
|
+
* 证书无效的时间,返回 Unix 时间戳,精确到秒
|
|
151
|
+
*/
|
|
152
|
+
ExpiredTime?: number;
|
|
153
|
+
/**
|
|
154
|
+
* 临时访问凭证的过期时间,以 iso8601 格式的 UTC 时间表示
|
|
155
|
+
*/
|
|
156
|
+
Expiration?: string;
|
|
157
|
+
/**
|
|
158
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
159
|
+
*/
|
|
160
|
+
RequestId?: string;
|
|
149
161
|
}
|
|
150
162
|
/**
|
|
151
163
|
* GetFederationToken请求参数结构体
|
|
@@ -214,6 +226,32 @@ export interface GetCallerIdentityResponse {
|
|
|
214
226
|
*/
|
|
215
227
|
RequestId?: string;
|
|
216
228
|
}
|
|
229
|
+
/**
|
|
230
|
+
* QueryApiKey请求参数结构体
|
|
231
|
+
*/
|
|
232
|
+
export interface QueryApiKeyRequest {
|
|
233
|
+
/**
|
|
234
|
+
* 待查询的账号uin(不填默认查当前账号uin)
|
|
235
|
+
*/
|
|
236
|
+
TargetUin?: number;
|
|
237
|
+
}
|
|
238
|
+
/**
|
|
239
|
+
* GetSessionToken请求参数结构体
|
|
240
|
+
*/
|
|
241
|
+
export interface GetSessionTokenRequest {
|
|
242
|
+
/**
|
|
243
|
+
* MFA序列号,与进行调用的CAM用户关联的MFA设备的标识号。格式qcs::cam:uin/${ownerUin}::mfa/${mfaType}。mfaType支持softToken(软token)
|
|
244
|
+
*/
|
|
245
|
+
SerialNumber: string;
|
|
246
|
+
/**
|
|
247
|
+
* mfa身份验证码。
|
|
248
|
+
*/
|
|
249
|
+
TokenCode: string;
|
|
250
|
+
/**
|
|
251
|
+
* 指定临时证书的有效期,单位:秒,默认1800秒,主账号最长可设定有效期为7200秒,子账号最长可设定有效期为129600秒。
|
|
252
|
+
*/
|
|
253
|
+
DurationSeconds?: number;
|
|
254
|
+
}
|
|
217
255
|
/**
|
|
218
256
|
* 临时证书
|
|
219
257
|
*/
|
|
@@ -273,6 +311,14 @@ export interface AssumeRoleRequest {
|
|
|
273
311
|
* 调用者身份uin
|
|
274
312
|
*/
|
|
275
313
|
SourceIdentity?: string;
|
|
314
|
+
/**
|
|
315
|
+
* MFA序列号,与进行调用的CAM用户关联的MFA设备的标识号。格式qcs::cam:uin/${ownerUin}::mfa/${mfaType}。mfaType支持softToken(软token)
|
|
316
|
+
*/
|
|
317
|
+
SerialNumber?: string;
|
|
318
|
+
/**
|
|
319
|
+
* mfa身份验证码。
|
|
320
|
+
*/
|
|
321
|
+
TokenCode?: string;
|
|
276
322
|
}
|
|
277
323
|
/**
|
|
278
324
|
* GetCallerIdentity请求参数结构体
|
|
@@ -2108,11 +2108,11 @@ export interface DescribeTagRetentionExecutionTaskRequest {
|
|
|
2108
2108
|
*/
|
|
2109
2109
|
ExecutionId: number;
|
|
2110
2110
|
/**
|
|
2111
|
-
*
|
|
2111
|
+
* 页数,第几页,用于分页
|
|
2112
2112
|
*/
|
|
2113
2113
|
Offset?: number;
|
|
2114
2114
|
/**
|
|
2115
|
-
*
|
|
2115
|
+
* 每页个数,用于分页,最大值为100
|
|
2116
2116
|
*/
|
|
2117
2117
|
Limit?: number;
|
|
2118
2118
|
}
|
|
@@ -4310,7 +4310,9 @@ export interface CreateRepositoryRequest {
|
|
|
4310
4310
|
*/
|
|
4311
4311
|
NamespaceName: string;
|
|
4312
4312
|
/**
|
|
4313
|
-
*
|
|
4313
|
+
* 仓库名称,需满足以下规则:
|
|
4314
|
+
1. 长度需 大于2且小于245个字符
|
|
4315
|
+
2. 仅允许小写字母、数字及符号 . _ -
|
|
4314
4316
|
*/
|
|
4315
4317
|
RepositoryName: string;
|
|
4316
4318
|
/**
|
|
@@ -463,6 +463,16 @@ export interface RocketMQGroup {
|
|
|
463
463
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
464
464
|
*/
|
|
465
465
|
RetryMaxTimes?: number;
|
|
466
|
+
/**
|
|
467
|
+
* 实例ID
|
|
468
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
469
|
+
*/
|
|
470
|
+
InstanceId?: string;
|
|
471
|
+
/**
|
|
472
|
+
* 命名空间
|
|
473
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
474
|
+
*/
|
|
475
|
+
Namespace?: string;
|
|
466
476
|
}
|
|
467
477
|
/**
|
|
468
478
|
* ModifyRabbitMQUser请求参数结构体
|
|
@@ -8714,6 +8724,16 @@ export interface RocketMQTopic {
|
|
|
8714
8724
|
* 创建时间,以毫秒为单位
|
|
8715
8725
|
*/
|
|
8716
8726
|
UpdateTime?: number;
|
|
8727
|
+
/**
|
|
8728
|
+
* 实例ID
|
|
8729
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8730
|
+
*/
|
|
8731
|
+
InstanceId?: string;
|
|
8732
|
+
/**
|
|
8733
|
+
* 命名空间
|
|
8734
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8735
|
+
*/
|
|
8736
|
+
Namespace?: string;
|
|
8717
8737
|
/**
|
|
8718
8738
|
* 最后写入时间,单位为秒
|
|
8719
8739
|
注意:此字段可能返回 null,表示取不到有效值。
|