tencentcloud-sdk-nodejs 4.0.879 → 4.0.881

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 (164) hide show
  1. package/CHANGELOG.md +454 -0
  2. package/SERVICE_CHANGELOG.md +442 -271
  3. package/package.json +1 -1
  4. package/products.md +27 -27
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/ams/index.ts +2 -2
  7. package/src/services/asr/v20190614/asr_models.ts +1 -1
  8. package/src/services/billing/v20180709/billing_models.ts +5 -0
  9. package/src/services/bma/index.ts +2 -2
  10. package/src/services/cam/v20190116/cam_models.ts +22 -8
  11. package/src/services/cdb/v20170320/cdb_client.ts +21 -5
  12. package/src/services/cdb/v20170320/cdb_models.ts +180 -44
  13. package/src/services/chdfs/index.ts +2 -2
  14. package/src/services/cls/v20201016/cls_models.ts +14 -8
  15. package/src/services/cmq/v20190304/cmq_client.ts +1 -1
  16. package/src/services/cmq/v20190304/cmq_models.ts +16 -16
  17. package/src/services/cynosdb/v20190107/cynosdb_client.ts +18 -6
  18. package/src/services/cynosdb/v20190107/cynosdb_models.ts +57 -0
  19. package/src/services/dbbrain/index.ts +2 -2
  20. package/src/services/dlc/v20210125/dlc_client.ts +20 -7
  21. package/src/services/dlc/v20210125/dlc_models.ts +83 -5
  22. package/src/services/dsgc/v20190723/dsgc_models.ts +6 -6
  23. package/src/services/dts/v20180330/dts_client.ts +3 -18
  24. package/src/services/dts/v20180330/dts_models.ts +63 -117
  25. package/src/services/emr/v20190103/emr_models.ts +2 -2
  26. package/src/services/ess/v20201111/ess_client.ts +864 -827
  27. package/src/services/ess/v20201111/ess_models.ts +162 -84
  28. package/src/services/essbasic/index.ts +2 -2
  29. package/src/services/essbasic/v20210526/essbasic_client.ts +38 -3
  30. package/src/services/essbasic/v20210526/essbasic_models.ts +191 -114
  31. package/src/services/facefusion/index.ts +2 -2
  32. package/src/services/facefusion/v20181201/facefusion_models.ts +6 -6
  33. package/src/services/iai/index.ts +2 -2
  34. package/src/services/ims/index.ts +2 -2
  35. package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +4 -4
  36. package/src/services/iotvideo/index.ts +2 -2
  37. package/src/services/irp/index.ts +2 -2
  38. package/src/services/lcic/v20220817/lcic_models.ts +4 -4
  39. package/src/services/lighthouse/v20200324/lighthouse_models.ts +1 -1
  40. package/src/services/lke/v20231130/lke_client.ts +17 -9
  41. package/src/services/lke/v20231130/lke_models.ts +181 -70
  42. package/src/services/mgobe/index.ts +2 -2
  43. package/src/services/mongodb/index.ts +2 -2
  44. package/src/services/mongodb/v20190725/mongodb_client.ts +19 -6
  45. package/src/services/mongodb/v20190725/mongodb_models.ts +56 -0
  46. package/src/services/mps/v20190612/mps_models.ts +69 -8
  47. package/src/services/ocr/v20181119/ocr_client.ts +13 -10
  48. package/src/services/ocr/v20181119/ocr_models.ts +361 -169
  49. package/src/services/organization/v20210331/organization_client.ts +32 -8
  50. package/src/services/organization/v20210331/organization_models.ts +70 -30
  51. package/src/services/ses/v20201002/ses_client.ts +2 -3
  52. package/src/services/ses/v20201002/ses_models.ts +8 -0
  53. package/src/services/sms/index.ts +2 -2
  54. package/src/services/tbp/index.ts +2 -2
  55. package/src/services/tdmq/v20200217/tdmq_client.ts +115 -19
  56. package/src/services/tdmq/v20200217/tdmq_models.ts +391 -86
  57. package/src/services/thpc/index.ts +4 -4
  58. package/src/services/tke/index.ts +2 -2
  59. package/src/services/tke/v20180525/tke_models.ts +4 -4
  60. package/src/services/tms/index.ts +2 -2
  61. package/src/services/trro/v20220325/trro_models.ts +6 -6
  62. package/src/services/trtc/v20190722/trtc_models.ts +4 -1
  63. package/src/services/tsf/v20180326/tsf_models.ts +32 -27
  64. package/src/services/vm/index.ts +2 -2
  65. package/tencentcloud/common/sdk_version.d.ts +1 -1
  66. package/tencentcloud/common/sdk_version.js +1 -1
  67. package/tencentcloud/services/ams/index.d.ts +4 -4
  68. package/tencentcloud/services/ams/index.js +2 -2
  69. package/tencentcloud/services/asr/v20190614/asr_models.d.ts +1 -1
  70. package/tencentcloud/services/billing/v20180709/billing_models.d.ts +5 -0
  71. package/tencentcloud/services/bma/index.d.ts +4 -4
  72. package/tencentcloud/services/bma/index.js +2 -2
  73. package/tencentcloud/services/cam/v20190116/cam_models.d.ts +22 -8
  74. package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +5 -1
  75. package/tencentcloud/services/cdb/v20170320/cdb_client.js +6 -0
  76. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +173 -43
  77. package/tencentcloud/services/chdfs/index.d.ts +4 -4
  78. package/tencentcloud/services/chdfs/index.js +2 -2
  79. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +14 -8
  80. package/tencentcloud/services/cmq/v20190304/cmq_client.d.ts +1 -1
  81. package/tencentcloud/services/cmq/v20190304/cmq_client.js +1 -1
  82. package/tencentcloud/services/cmq/v20190304/cmq_models.d.ts +16 -16
  83. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +7 -3
  84. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +9 -3
  85. package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +55 -0
  86. package/tencentcloud/services/dbbrain/index.d.ts +4 -4
  87. package/tencentcloud/services/dbbrain/index.js +2 -2
  88. package/tencentcloud/services/dlc/v20210125/dlc_client.d.ts +8 -4
  89. package/tencentcloud/services/dlc/v20210125/dlc_client.js +9 -3
  90. package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +80 -5
  91. package/tencentcloud/services/dsgc/v20190723/dsgc_models.d.ts +6 -6
  92. package/tencentcloud/services/dts/v20180330/dts_client.d.ts +1 -7
  93. package/tencentcloud/services/dts/v20180330/dts_client.js +0 -8
  94. package/tencentcloud/services/dts/v20180330/dts_models.d.ts +63 -114
  95. package/tencentcloud/services/emr/v20190103/emr_models.d.ts +2 -2
  96. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +517 -496
  97. package/tencentcloud/services/ess/v20201111/ess_client.js +620 -595
  98. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +158 -84
  99. package/tencentcloud/services/essbasic/index.d.ts +4 -4
  100. package/tencentcloud/services/essbasic/index.js +2 -2
  101. package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +20 -1
  102. package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +23 -0
  103. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +187 -114
  104. package/tencentcloud/services/facefusion/index.d.ts +4 -4
  105. package/tencentcloud/services/facefusion/index.js +2 -2
  106. package/tencentcloud/services/facefusion/v20181201/facefusion_models.d.ts +6 -6
  107. package/tencentcloud/services/iai/index.d.ts +4 -4
  108. package/tencentcloud/services/iai/index.js +2 -2
  109. package/tencentcloud/services/ims/index.d.ts +4 -4
  110. package/tencentcloud/services/ims/index.js +2 -2
  111. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +4 -4
  112. package/tencentcloud/services/iotvideo/index.d.ts +4 -4
  113. package/tencentcloud/services/iotvideo/index.js +2 -2
  114. package/tencentcloud/services/irp/index.d.ts +4 -4
  115. package/tencentcloud/services/irp/index.js +2 -2
  116. package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +4 -4
  117. package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +1 -1
  118. package/tencentcloud/services/lke/v20231130/lke_client.d.ts +11 -5
  119. package/tencentcloud/services/lke/v20231130/lke_client.js +11 -5
  120. package/tencentcloud/services/lke/v20231130/lke_models.d.ts +179 -70
  121. package/tencentcloud/services/mgobe/index.d.ts +4 -4
  122. package/tencentcloud/services/mgobe/index.js +2 -2
  123. package/tencentcloud/services/mongodb/index.d.ts +4 -4
  124. package/tencentcloud/services/mongodb/index.js +2 -2
  125. package/tencentcloud/services/mongodb/v20190725/mongodb_client.d.ts +7 -3
  126. package/tencentcloud/services/mongodb/v20190725/mongodb_client.js +9 -3
  127. package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +53 -0
  128. package/tencentcloud/services/mps/v20190612/mps_models.d.ts +69 -8
  129. package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +1 -1
  130. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +356 -167
  131. package/tencentcloud/services/organization/v20210331/organization_client.d.ts +11 -3
  132. package/tencentcloud/services/organization/v20210331/organization_client.js +15 -3
  133. package/tencentcloud/services/organization/v20210331/organization_models.d.ts +66 -30
  134. package/tencentcloud/services/ses/v20201002/ses_client.d.ts +0 -1
  135. package/tencentcloud/services/ses/v20201002/ses_client.js +0 -1
  136. package/tencentcloud/services/ses/v20201002/ses_models.d.ts +8 -0
  137. package/tencentcloud/services/sms/index.d.ts +4 -4
  138. package/tencentcloud/services/sms/index.js +2 -2
  139. package/tencentcloud/services/tbp/index.d.ts +4 -4
  140. package/tencentcloud/services/tbp/index.js +2 -2
  141. package/tencentcloud/services/tdmq/v20200217/tdmq_client.d.ts +38 -6
  142. package/tencentcloud/services/tdmq/v20200217/tdmq_client.js +55 -7
  143. package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +375 -86
  144. package/tencentcloud/services/thpc/index.d.ts +6 -6
  145. package/tencentcloud/services/thpc/index.js +4 -4
  146. package/tencentcloud/services/tke/index.d.ts +4 -4
  147. package/tencentcloud/services/tke/index.js +2 -2
  148. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +4 -4
  149. package/tencentcloud/services/tms/index.d.ts +4 -4
  150. package/tencentcloud/services/tms/index.js +2 -2
  151. package/tencentcloud/services/trro/v20220325/trro_models.d.ts +6 -6
  152. package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +4 -1
  153. package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +32 -27
  154. package/tencentcloud/services/vm/index.d.ts +4 -4
  155. package/tencentcloud/services/vm/index.js +2 -2
  156. package/test/cdb.v20170320.test.js +10 -0
  157. package/test/cynosdb.v20190107.test.js +12 -2
  158. package/test/dlc.v20210125.test.js +12 -2
  159. package/test/dts.v20180330.test.js +0 -10
  160. package/test/ess.v20201111.test.js +182 -162
  161. package/test/essbasic.v20210526.test.js +20 -0
  162. package/test/mongodb.v20190725.test.js +12 -2
  163. package/test/organization.v20210331.test.js +22 -2
  164. package/test/tdmq.v20200217.test.js +84 -4
@@ -1,37 +1,12 @@
1
1
  import { AbstractClient } from "../../../common/abstract_client";
2
2
  import { ClientConfig } from "../../../common/interface";
3
- import { DescribePersonCertificateResponse, CreateOrganizationGroupInvitationLinkRequest, DescribeCancelFlowsTaskResponse, CreateSealRequest, CancelFlowResponse, DescribeExtendedServiceAuthDetailResponse, UpdateIntegrationEmployeesResponse, CreatePreparedPersonalEsignRequest, DescribeIntegrationDepartmentsResponse, DeleteExtendedServiceAuthInfosResponse, CreateFlowApproversResponse, DescribeFileUrlsResponse, CreateExtendedServiceAuthInfosRequest, CancelUserAutoSignEnableUrlRequest, ModifyApplicationCallbackInfoResponse, CreateMultiFlowSignQRCodeResponse, DescribeThirdPartyAuthCodeResponse, DescribeUserVerifyStatusResponse, DisableUserAutoSignResponse, ModifyExtendedServiceRequest, CancelUserAutoSignEnableUrlResponse, BindEmployeeUserIdWithClientOpenIdResponse, CreateIntegrationEmployeesRequest, DescribeIntegrationRolesRequest, CreateFlowEvidenceReportRequest, StartFlowResponse, CreateOrganizationAuthUrlRequest, CreateBatchQuickSignUrlResponse, CreateIntegrationRoleRequest, DeleteIntegrationRoleUsersResponse, CreateConvertTaskApiRequest, DeleteIntegrationEmployeesResponse, CreateFlowGroupSignReviewResponse, CreateBatchSignUrlResponse, CreateFlowRemindsResponse, DescribeOrganizationGroupOrganizationsRequest, CreateFlowGroupByFilesRequest, DescribeFlowComponentsResponse, DescribeFlowEvidenceReportResponse, DescribeSignFaceVideoRequest, DeleteSealPoliciesRequest, CreateFlowGroupByTemplatesResponse, CreateUserVerifyUrlResponse, DescribeBatchOrganizationRegistrationUrlsRequest, CreateDocumentResponse, DescribeIntegrationEmployeesRequest, UnbindEmployeeUserIdWithClientOpenIdResponse, CreateIntegrationUserRolesResponse, CreateFlowRequest, CreateSchemeUrlRequest, DeleteIntegrationDepartmentResponse, DescribeThirdPartyAuthCodeRequest, CreateBatchOrganizationRegistrationTasksResponse, CreateReleaseFlowResponse, CreateWebThemeConfigResponse, BindEmployeeUserIdWithClientOpenIdRequest, CreateOrganizationInfoChangeUrlResponse, DescribeExtendedServiceAuthDetailRequest, CreateIntegrationDepartmentResponse, DescribeFlowTemplatesRequest, CreateIntegrationSubOrganizationActiveRecordResponse, DeleteSealPoliciesResponse, DescribeUserAutoSignStatusResponse, CreateUserAutoSignSealUrlResponse, CreatePersonAuthCertificateImageResponse, CreateBatchCancelFlowUrlResponse, CreateSealPolicyResponse, DisableUserAutoSignRequest, DescribeIntegrationEmployeesResponse, CreateConvertTaskApiResponse, CreateFlowSignReviewRequest, CreateOrganizationAuthUrlResponse, UnbindEmployeeUserIdWithClientOpenIdRequest, CreateSchemeUrlResponse, CreateFlowByFilesRequest, CreateFlowSignUrlResponse, DescribeFileUrlsRequest, CreateUserAutoSignSealUrlRequest, ModifyFlowDeadlineRequest, CreateFlowApproversRequest, ModifyFlowDeadlineResponse, CreateOrganizationGroupInvitationLinkResponse, CreateFlowEvidenceReportResponse, CreateIntegrationRoleResponse, DescribeFlowComponentsRequest, CreateIntegrationDepartmentRequest, DescribeUserVerifyStatusRequest, CreateDocumentRequest, CreatePreparedPersonalEsignResponse, DescribeOrganizationSealsResponse, CreateUserMobileChangeUrlRequest, CreateEmbedWebUrlRequest, DeleteIntegrationEmployeesRequest, GetTaskResultApiRequest, DescribeFlowBriefsResponse, ModifyIntegrationRoleRequest, CreateFlowGroupByFilesResponse, CreateReleaseFlowRequest, DeleteIntegrationRoleUsersRequest, CreateFlowSignUrlRequest, CreateIntegrationEmployeesResponse, CreateIntegrationUserRolesRequest, CreatePersonAuthCertificateImageRequest, CreateFlowByFilesResponse, UploadFilesResponse, DescribeFlowEvidenceReportRequest, DescribeBillUsageRequest, DescribeBillUsageResponse, CreateFlowSignReviewResponse, ModifyIntegrationDepartmentRequest, RenewAutoSignLicenseRequest, CreateUserAutoSignEnableUrlRequest, CreateOrganizationBatchSignUrlResponse, CreateBatchOrganizationRegistrationTasksRequest, CreateUserVerifyUrlRequest, CreateExtendedServiceAuthInfosResponse, CreateWebThemeConfigRequest, CreateOrganizationBatchSignUrlRequest, CreatePrepareFlowResponse, ModifyIntegrationDepartmentResponse, GetTaskResultApiResponse, CancelMultiFlowSignQRCodeRequest, DeleteIntegrationDepartmentRequest, ModifyApplicationCallbackInfoRequest, DescribeUserAutoSignStatusRequest, StartFlowRequest, CreateSealResponse, CreatePrepareFlowRequest, DescribeCancelFlowsTaskRequest, CreateEmbedWebUrlResponse, ModifyExtendedServiceResponse, CreateFlowGroupByTemplatesRequest, DescribeOrganizationSealsRequest, CancelFlowRequest, DescribeExtendedServiceAuthInfosRequest, DescribeIntegrationRolesResponse, CreateBatchSignUrlRequest, CreateFlowRemindsRequest, UpdateIntegrationEmployeesRequest, DescribeFlowBriefsRequest, CreateSealPolicyRequest, DescribeBillUsageDetailResponse, CreateUserMobileChangeUrlResponse, CreateUserAutoSignEnableUrlResponse, DescribeSignFaceVideoResponse, ModifyIntegrationRoleResponse, VerifyPdfResponse, CreateFlowGroupSignReviewRequest, DescribeBillUsageDetailRequest, DescribeFlowTemplatesResponse, DescribeBatchOrganizationRegistrationUrlsResponse, UploadFilesRequest, DescribePersonCertificateRequest, CreateBatchCancelFlowUrlRequest, CreateMultiFlowSignQRCodeRequest, VerifyPdfRequest, DescribeFlowInfoRequest, DeleteExtendedServiceAuthInfosRequest, DescribeExtendedServiceAuthInfosResponse, DescribeIntegrationDepartmentsRequest, DescribeFlowInfoResponse, RenewAutoSignLicenseResponse, CancelMultiFlowSignQRCodeResponse, CreateFlowResponse, CreateIntegrationSubOrganizationActiveRecordRequest, CreateBatchQuickSignUrlRequest, CreateOrganizationInfoChangeUrlRequest, DescribeOrganizationGroupOrganizationsResponse } from "./ess_models";
3
+ import { DescribePersonCertificateResponse, CreateOrganizationGroupInvitationLinkRequest, DescribeCancelFlowsTaskResponse, CreateSealRequest, CancelFlowResponse, DescribeExtendedServiceAuthDetailResponse, UpdateIntegrationEmployeesResponse, CreatePreparedPersonalEsignRequest, CreateLegalSealQrCodeResponse, DescribeIntegrationDepartmentsResponse, DeleteExtendedServiceAuthInfosResponse, CreateFlowApproversResponse, DescribeFileUrlsResponse, CreateExtendedServiceAuthInfosRequest, CancelUserAutoSignEnableUrlRequest, ModifyApplicationCallbackInfoResponse, CreateMultiFlowSignQRCodeResponse, DescribeThirdPartyAuthCodeResponse, DescribeUserVerifyStatusResponse, DisableUserAutoSignResponse, ModifyExtendedServiceRequest, CancelUserAutoSignEnableUrlResponse, BindEmployeeUserIdWithClientOpenIdResponse, CreateIntegrationEmployeesRequest, DescribeIntegrationRolesRequest, CreateFlowEvidenceReportRequest, StartFlowResponse, CreateOrganizationAuthUrlRequest, CreateBatchQuickSignUrlResponse, CreateIntegrationRoleRequest, DeleteIntegrationRoleUsersResponse, CreateConvertTaskApiRequest, DeleteIntegrationEmployeesResponse, CreateFlowGroupSignReviewResponse, CreateBatchSignUrlResponse, CreateFlowRemindsResponse, DescribeOrganizationGroupOrganizationsRequest, CreateFlowGroupByFilesRequest, DescribeFlowComponentsResponse, DescribeFlowEvidenceReportResponse, DescribeSignFaceVideoRequest, DeleteSealPoliciesRequest, CreateFlowGroupByTemplatesResponse, CreateUserVerifyUrlResponse, DescribeBatchOrganizationRegistrationUrlsRequest, CreateDocumentResponse, DescribeIntegrationEmployeesRequest, UnbindEmployeeUserIdWithClientOpenIdResponse, CreateIntegrationUserRolesResponse, CreateFlowRequest, CreateSchemeUrlRequest, DeleteIntegrationDepartmentResponse, DescribeThirdPartyAuthCodeRequest, CreateBatchOrganizationRegistrationTasksResponse, CreateReleaseFlowResponse, CreateWebThemeConfigResponse, BindEmployeeUserIdWithClientOpenIdRequest, CreateOrganizationInfoChangeUrlResponse, DescribeExtendedServiceAuthDetailRequest, CreateIntegrationDepartmentResponse, DescribeFlowTemplatesRequest, CreateIntegrationSubOrganizationActiveRecordResponse, DeleteSealPoliciesResponse, CreateLegalSealQrCodeRequest, DescribeUserAutoSignStatusResponse, CreateUserAutoSignSealUrlResponse, CreatePersonAuthCertificateImageResponse, CreateBatchCancelFlowUrlResponse, CreateSealPolicyResponse, DisableUserAutoSignRequest, DescribeIntegrationEmployeesResponse, CreateConvertTaskApiResponse, CreateFlowSignReviewRequest, CreateOrganizationAuthUrlResponse, UnbindEmployeeUserIdWithClientOpenIdRequest, CreateSchemeUrlResponse, CreateFlowByFilesRequest, CreateFlowSignUrlResponse, DescribeFileUrlsRequest, CreateUserAutoSignSealUrlRequest, ModifyFlowDeadlineRequest, CreateFlowApproversRequest, ModifyFlowDeadlineResponse, CreateOrganizationGroupInvitationLinkResponse, CreateFlowEvidenceReportResponse, CreateIntegrationRoleResponse, DescribeFlowComponentsRequest, CreateIntegrationDepartmentRequest, DescribeUserVerifyStatusRequest, CreateFlowBlockchainEvidenceUrlResponse, CreateDocumentRequest, CreatePreparedPersonalEsignResponse, DescribeOrganizationSealsResponse, CreateUserMobileChangeUrlRequest, CreateEmbedWebUrlRequest, DeleteIntegrationEmployeesRequest, GetTaskResultApiRequest, DescribeFlowBriefsResponse, ModifyIntegrationRoleRequest, CreateFlowGroupByFilesResponse, CreateReleaseFlowRequest, DeleteIntegrationRoleUsersRequest, CreateFlowSignUrlRequest, CreateIntegrationEmployeesResponse, CreateIntegrationUserRolesRequest, CreatePersonAuthCertificateImageRequest, CreateFlowByFilesResponse, UploadFilesResponse, DescribeFlowEvidenceReportRequest, DescribeBillUsageRequest, DescribeBillUsageResponse, CreateFlowSignReviewResponse, ModifyIntegrationDepartmentRequest, RenewAutoSignLicenseRequest, CreateUserAutoSignEnableUrlRequest, CreateOrganizationBatchSignUrlResponse, CreateBatchOrganizationRegistrationTasksRequest, CreateUserVerifyUrlRequest, CreateExtendedServiceAuthInfosResponse, CreateWebThemeConfigRequest, CreateOrganizationBatchSignUrlRequest, CreatePrepareFlowResponse, ModifyIntegrationDepartmentResponse, GetTaskResultApiResponse, CancelMultiFlowSignQRCodeRequest, DeleteIntegrationDepartmentRequest, ModifyApplicationCallbackInfoRequest, DescribeUserAutoSignStatusRequest, StartFlowRequest, CreateSealResponse, CreatePrepareFlowRequest, DescribeCancelFlowsTaskRequest, CreateEmbedWebUrlResponse, ModifyExtendedServiceResponse, CreateFlowGroupByTemplatesRequest, DescribeOrganizationSealsRequest, CancelFlowRequest, DescribeExtendedServiceAuthInfosRequest, DescribeIntegrationRolesResponse, CreateBatchSignUrlRequest, CreateFlowRemindsRequest, UpdateIntegrationEmployeesRequest, DescribeFlowBriefsRequest, CreateSealPolicyRequest, DescribeBillUsageDetailResponse, CreateUserMobileChangeUrlResponse, CreateUserAutoSignEnableUrlResponse, DescribeSignFaceVideoResponse, ModifyIntegrationRoleResponse, VerifyPdfResponse, CreateFlowGroupSignReviewRequest, DescribeBillUsageDetailRequest, DescribeFlowTemplatesResponse, DescribeBatchOrganizationRegistrationUrlsResponse, UploadFilesRequest, DescribePersonCertificateRequest, CreateBatchCancelFlowUrlRequest, CreateMultiFlowSignQRCodeRequest, VerifyPdfRequest, DescribeFlowInfoRequest, DeleteExtendedServiceAuthInfosRequest, DescribeExtendedServiceAuthInfosResponse, DescribeIntegrationDepartmentsRequest, DescribeFlowInfoResponse, RenewAutoSignLicenseResponse, CancelMultiFlowSignQRCodeResponse, CreateFlowResponse, CreateIntegrationSubOrganizationActiveRecordRequest, CreateFlowBlockchainEvidenceUrlRequest, CreateBatchQuickSignUrlRequest, CreateOrganizationInfoChangeUrlRequest, DescribeOrganizationGroupOrganizationsResponse } from "./ess_models";
4
4
  /**
5
5
  * ess client
6
6
  * @class
7
7
  */
8
8
  export declare class Client extends AbstractClient {
9
9
  constructor(clientConfig: ClientConfig);
10
- /**
11
- * 该接口用于发起合同后,生成个人用户的批量签署链接, 暂时不支持企业端签署。
12
- **注意:**
13
- 1. 该接口目前仅支持签署人类型是**个人签署方的批量签署场景**(ApproverType=1)。
14
- 2. 该接口可生成批量签署链接的C端签署人**必须仅有手写签名(控件类型为SIGN_SIGNATURE)和时间类型的签署控件**,**不支持填写控件** 。
15
- 3. 请确保C端签署人在批量签署合同中**为待签署状态**,如需顺序签署请待前一位参与人签署完成后,再创建该C端用户的签署链接。
16
- 4. 该签署链接**有效期为30分钟**,过期后将失效,如需签署可重新创建批量签署链接 。
17
- 5. 该接口返回的签署链接适用于APP集成的场景,支持APP打开或浏览器直接打开,**不支持微信小程序嵌入**。
18
- 跳转到小程序的实现,参考微信官方文档(分为<a href="https://developers.weixin.qq.com/miniprogram/dev/api/navigate/wx.navigateToMiniProgram.html">全屏</a>、<a href="https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/openEmbeddedMiniProgram.html">半屏</a>两种方式),如何配置也可以请参考: <a href="https://qian.tencent.com/developers/company/openwxminiprogram">跳转电子签小程序配置</a>。
19
- 6. 因h5涉及人脸身份认证能力基于慧眼人脸核身,对Android和iOS系统均有一定要求, 因此<font color='red'>App嵌入H5签署合同需要按照慧眼提供的<a href="https://cloud.tencent.com/document/product/1007/61076">慧眼人脸核身兼容性文档</a>做兼容性适配</font>。
20
- */
21
- CreateBatchQuickSignUrl(req: CreateBatchQuickSignUrlRequest, cb?: (error: string, rep: CreateBatchQuickSignUrlResponse) => void): Promise<CreateBatchQuickSignUrlResponse>;
22
- /**
23
- * 此接口用于查询合同流程的详情信息,支持查询多个(数量不能超过100)。
24
-
25
- 适用场景:可用于主动查询某个合同详情信息。
26
- */
27
- DescribeFlowInfo(req: DescribeFlowInfoRequest, cb?: (error: string, rep: DescribeFlowInfoResponse) => void): Promise<DescribeFlowInfoResponse>;
28
- /**
29
- * 新增/删除企业应用集成中的回调配置。
30
- 新增回调配置只会增加不存在的CallbackUrl;删除操作将针对找到的相同CallbackUrl的配置进行删除。
31
- 请确保回调地址能够接收并处理 HTTP POST 请求,并返回状态码 200 以表示处理正常。
32
- 更多回调相关的说明参考文档[回调通知能力](https://qian.tencent.com/developers/company/callback_types_v2)
33
- */
34
- ModifyApplicationCallbackInfo(req: ModifyApplicationCallbackInfoRequest, cb?: (error: string, rep: ModifyApplicationCallbackInfoResponse) => void): Promise<ModifyApplicationCallbackInfoResponse>;
35
10
  /**
36
11
  * 此接口用于启动流程。它是模板发起合同的最后一步。
37
12
  在[创建签署流程](https://qian.tencent.com/developers/companyApis/startFlows/CreateFlow)和[创建电子文档](https://qian.tencent.com/developers/companyApis/startFlows/CreateDocument)之后,用于开始整个合同流程, 推进流程进入到签署环节。
@@ -46,28 +21,6 @@ export declare class Client extends AbstractClient {
46
21
  3.<font color="red">在发起签署流程之前,建议等待 [PDF合成完成的回调](https://qian.tencent.com/developers/company/callback_types_file_resources)</font>,尤其是当模板中存在动态表格等复杂填写控件时,因为合成过程可能会耗费秒级别的时间。
47
22
  */
48
23
  StartFlow(req: StartFlowRequest, cb?: (error: string, rep: StartFlowResponse) => void): Promise<StartFlowResponse>;
49
- /**
50
- * 该接口会生成一个手机号变更的链接,用户可以通过该链接进入电子签系统进行手机号的变更。
51
- 该接口支持员工和个人端手机号的变更。
52
- */
53
- CreateUserMobileChangeUrl(req: CreateUserMobileChangeUrlRequest, cb?: (error: string, rep: CreateUserMobileChangeUrlResponse) => void): Promise<CreateUserMobileChangeUrlResponse>;
54
- /**
55
- * 用于撤销合同流程<br/>
56
- 适用场景:如果某个合同流程当前至少还有一方没有签署,则可通过该接口取消该合同流程。常用于合同发错、内容填错,需要及时撤销的场景。<br/>
57
- - **可撤回合同状态**:未全部签署完成
58
- - **不撤回合同状态**:已全部签署完成、已拒签、已过期、已撤回、拒绝填写、已解除等合同状态。
59
-
60
- 注:
61
- 1. 如果合同流程中的参与方均已签署完毕,则无法通过该接口撤销合同,签署完毕的合同需要双方走解除流程将合同作废,可以参考<a href="https://qian.tencent.com/developers/companyApis/operateFlows/CreateReleaseFlow" target="_blank">发起解除合同流程</a>接口。
62
-
63
- 2. 有对应合同撤销权限的人: <font color='red'>合同的发起人(并已经授予撤销权限)或者发起人所在企业的超管、法人</font>
64
- ![image](https://qcloudimg.tencent-cloud.cn/raw/1f9f07fea6a70766cd286e0d58682ee2.png)
65
-
66
- 3. <font color='red'>只有撤销没有参与方签署过或只有自动签署签署过的合同,才会返还合同额度。</font>
67
-
68
- 4. 撤销后可以看合同PDF内容的人员: 发起方的超管, 发起方自己,发起方撤销合同的操作人员,已经签署合同、已经填写合同、邀请填写已经补充信息的参与人员
69
- */
70
- CancelFlow(req: CancelFlowRequest, cb?: (error: string, rep: CancelFlowResponse) => void): Promise<CancelFlowResponse>;
71
24
  /**
72
25
  * 此接口(DescribeFlowTemplates)用于查询本企业模板列表信息。
73
26
 
@@ -89,26 +42,6 @@ export declare class Client extends AbstractClient {
89
42
  ![image](https://qcloudimg.tencent-cloud.cn/raw/45c638bd93f9c8024763add9ab47c27f.png)
90
43
  */
91
44
  DescribeFlowTemplates(req: DescribeFlowTemplatesRequest, cb?: (error: string, rep: DescribeFlowTemplatesResponse) => void): Promise<DescribeFlowTemplatesResponse>;
92
- /**
93
- * 本接口(DeleteSealPolicies)用于撤销企业员工持有的印章权限
94
- */
95
- DeleteSealPolicies(req: DeleteSealPoliciesRequest, cb?: (error: string, rep: DeleteSealPoliciesResponse) => void): Promise<DeleteSealPoliciesResponse>;
96
- /**
97
- * 本接口(DescribeFileUrls)用于查询文件的下载URL。
98
- 适用场景:通过传参合同流程编号,下载对应的合同PDF文件流到本地。
99
- */
100
- DescribeFileUrls(req: DescribeFileUrlsRequest, cb?: (error: string, rep: DescribeFileUrlsResponse) => void): Promise<DescribeFileUrlsResponse>;
101
- /**
102
- * 获取设置自动签印章小程序链接。
103
-
104
- 注意:
105
- <ul><li>需要<code>企业开通自动签</code>后使用。</li>
106
- <li>仅支持<code>已经开通了自动签的个人</code>更换自动签印章。</li>
107
- <li>链接有效期默认7天,<code>最多30天</code>。</li>
108
- <li>该接口的链接适用于<code>小程序</code>端。</li>
109
- <li>该接口不会扣除您的合同套餐,暂不参与计费。</li></ul>
110
- */
111
- CreateUserAutoSignSealUrl(req: CreateUserAutoSignSealUrlRequest, cb?: (error: string, rep: CreateUserAutoSignSealUrlResponse) => void): Promise<CreateUserAutoSignSealUrlResponse>;
112
45
  /**
113
46
  * 获取个人用户自动签的开通链接。
114
47
 
@@ -126,12 +59,6 @@ export declare class Client extends AbstractClient {
126
59
  2. 同一合同组,同一签署人可以多次提交签署审批结果,签署时的最后一个“审批结果”有效。
127
60
  */
128
61
  CreateFlowGroupSignReview(req: CreateFlowGroupSignReviewRequest, cb?: (error: string, rep: CreateFlowGroupSignReviewResponse) => void): Promise<CreateFlowGroupSignReviewResponse>;
129
- /**
130
- * 此接口(UnbindEmployeeUserIdWithClientOpenId)用于解除电子签系统员工UserId与客户系统员工OpenId之间的绑定关系。
131
-
132
- 注:`在调用此接口时,需确保OpenId已通过调用`<a href="https://qian.tencent.com/developers/companyApis/staffs/BindEmployeeUserIdWithClientOpenId" target="_blank">BindEmployeeUserIdWithClientOpenId</a>`接口与电子签系统的UserId绑定过。若OpenId未经过绑定,则无法使用此接口进行解绑操作。`
133
- */
134
- UnbindEmployeeUserIdWithClientOpenId(req: UnbindEmployeeUserIdWithClientOpenIdRequest, cb?: (error: string, rep: UnbindEmployeeUserIdWithClientOpenIdResponse) => void): Promise<UnbindEmployeeUserIdWithClientOpenIdResponse>;
135
62
  /**
136
63
  * 客户可以主动调用生成实名链接去做C端用户实名,会对实名的用户进行打标记为调用链接客户的用户
137
64
  使用场景:
@@ -151,33 +78,6 @@ export declare class Client extends AbstractClient {
151
78
  用户可以通过这些链接快速将其集成到自己的系统中。
152
79
  */
153
80
  CreateEmbedWebUrl(req: CreateEmbedWebUrlRequest, cb?: (error: string, rep: CreateEmbedWebUrlResponse) => void): Promise<CreateEmbedWebUrlResponse>;
154
- /**
155
- * 对合同流程文件进行数字签名验证,判断数字签名是否有效,合同文件内容是否被篡改。
156
- */
157
- VerifyPdf(req: VerifyPdfRequest, cb?: (error: string, rep: VerifyPdfResponse) => void): Promise<VerifyPdfResponse>;
158
- /**
159
- * 管理企业扩展服务 ,企业经办人需要是企业超管或者法人。
160
-
161
- 跳转小程序的几种方式:主要是设置不同的EndPoint
162
- 1. 通过链接Url直接跳转到小程序,不需要返回
163
- 设置EndPoint为WEIXINAPP,得到链接打开即可。
164
-
165
- 2. 客户App直接跳转到小程序-->腾讯电子签小程序操作完成-->返回App
166
- 跳转到小程序的实现,参考官方文档<a href="https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/launchApp.html">打开 App</a>
167
- 设置EndPoint为APP,得到path。
168
-
169
- 3. 客户小程序直接跳到电子签小程序-->腾讯电子签小程序操作完成--->回到客户小程序
170
- 跳转到小程序的实现,参考官方文档(分为<a href="https://developers.weixin.qq.com/miniprogram/dev/api/navigate/wx.navigateToMiniProgram.html">全屏</a>、<a href="https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/openEmbeddedMiniProgram.html">半屏</a>两种方式),如何配置也可以请参考: <a href="https://qian.tencent.com/developers/company/openwxminiprogram">跳转电子签小程序配置</a>
171
- 设置EndPoint为APP,得到path。
172
-
173
- 4.其中小程序的原始Id如下,或者查看小程序信息自助获取。
174
-
175
- | 小程序 | AppID | 原始ID |
176
- | ------------ | ------------ | ------------ |
177
- | 腾讯电子签(正式版) | wxa023b292fd19d41d | gh_da88f6188665 |
178
- | 腾讯电子签Demo | wx371151823f6f3edf | gh_39a5d3de69fa |
179
- */
180
- ModifyExtendedService(req: ModifyExtendedServiceRequest, cb?: (error: string, rep: ModifyExtendedServiceResponse) => void): Promise<ModifyExtendedServiceResponse>;
181
81
  /**
182
82
  * 此接口用于获取企业批量认证异步任务的状态及结果。
183
83
 
@@ -186,66 +86,10 @@ export declare class Client extends AbstractClient {
186
86
  异步任务的处理完成时间视当前已提交的任务量、任务的复杂程度等因素决定,正常情况下 3~5 秒即可完成,但也可能需要更长的时间
187
87
  */
188
88
  DescribeBatchOrganizationRegistrationUrls(req: DescribeBatchOrganizationRegistrationUrlsRequest, cb?: (error: string, rep: DescribeBatchOrganizationRegistrationUrlsResponse) => void): Promise<DescribeBatchOrganizationRegistrationUrlsResponse>;
189
- /**
190
- * 指定需要批量撤回的签署流程Id,以获取批量撤销链接。
191
- 客户需指定要撤回的签署流程Id,最多可指定100个,超过100则不处理。
192
- 接口调用成功后,将返回批量撤回合同的链接。通过点击链接,可跳转至电子签小程序完成批量撤回操作。
193
-
194
- - **可撤回合同状态**:未全部签署完成
195
- - **不撤回合同状态**:已全部签署完成、已拒签、已过期、已撤回、拒绝填写、已解除等合同状态。
196
-
197
- 批量撤销结果可以通过接口返回的TaskId关联[批量撤销任务结果回调](https://qian.tencent.com/developers/company/callback_types_contracts_sign#%E4%B9%9D-%E6%89%B9%E9%87%8F%E6%92%A4%E9%94%80%E7%BB%93%E6%9E%9C%E5%9B%9E%E8%B0%83)或通过接口[查询批量撤销签署流程任务结果](https://qian.tencent.com/developers/companyApis/operateFlows/CreateBatchCancelFlowUrl)
198
-
199
-
200
- 注:
201
- 1. 如果合同流程中的参与方均已签署完毕,则无法通过该接口撤销合同,签署完毕的合同需要双方走解除流程将合同作废,可以参考<a href="https://qian.tencent.com/developers/companyApis/operateFlows/CreateReleaseFlow" target="_blank">发起解除合同流程</a>接口。
202
-
203
- 2. 有对应合同撤销权限的人: <font color='red'>合同的发起人(并已经授予撤销权限)或者发起人所在企业的超管、法人</font>
204
- ![image](https://qcloudimg.tencent-cloud.cn/raw/1f9f07fea6a70766cd286e0d58682ee2.png)
205
-
206
- 3. <font color='red'>只有撤销没有参与方签署过或只有自动签署签署过的合同,才会返还合同额度。</font>
207
- */
208
- CreateBatchCancelFlowUrl(req: CreateBatchCancelFlowUrlRequest, cb?: (error: string, rep: CreateBatchCancelFlowUrlResponse) => void): Promise<CreateBatchCancelFlowUrlResponse>;
209
- /**
210
- * 此接口(DeleteIntegrationDepartment)用于删除企业的部门信息。
211
- */
212
- DeleteIntegrationDepartment(req: DeleteIntegrationDepartmentRequest, cb?: (error: string, rep: DeleteIntegrationDepartmentResponse) => void): Promise<DeleteIntegrationDepartmentResponse>;
213
- /**
214
- * 此接口(BindEmployeeUserIdWithClientOpenId)用于将电子签系统员工UserId与客户系统员工OpenId进行绑定。
215
-
216
- 此OpenId只在 [更新企业员工信息 ](https://qian.tencent.com/developers/companyApis/staffs/UpdateIntegrationEmployees)、[移除企业员工](https://qian.tencent.com/developers/companyApis/staffs/DeleteIntegrationEmployees) 等场景下可以使用
217
- */
218
- BindEmployeeUserIdWithClientOpenId(req: BindEmployeeUserIdWithClientOpenIdRequest, cb?: (error: string, rep: BindEmployeeUserIdWithClientOpenIdResponse) => void): Promise<BindEmployeeUserIdWithClientOpenIdResponse>;
219
89
  /**
220
90
  * 本接口(CreatePreparedPersonalEsign)用于创建导入个人印章(处方单场景专用,使用此接口请与客户经理确认)。
221
91
  */
222
92
  CreatePreparedPersonalEsign(req: CreatePreparedPersonalEsignRequest, cb?: (error: string, rep: CreatePreparedPersonalEsignResponse) => void): Promise<CreatePreparedPersonalEsignResponse>;
223
- /**
224
- * 适用场景: 当通过模板或文件发起合同时,若未指定企业签署人信息,则可调用此接口补充或添加签署人。同一签署人可补充多个员工作为或签署人,最终实际签署人取决于谁先领取合同完成签署。
225
-
226
- 限制条件:
227
-
228
- 1.本企业(发起方企业)企业微信签署人仅支持通过企业微信UserId或姓名+手机号进行补充。
229
- 2.本企业(发起方企业)非企业微信签署人仅支持通过姓名+手机号进行补充。
230
- 3.他方企业仅支持通过姓名+手机号进行补充。
231
- 4.个人签署人支持通过姓名+手机号进行补充,补充动态签署人时:若个人用户已完成实名,则可通过姓名+证件号码进行补充。
232
- */
233
- CreateFlowApprovers(req: CreateFlowApproversRequest, cb?: (error: string, rep: CreateFlowApproversResponse) => void): Promise<CreateFlowApproversResponse>;
234
- /**
235
- * 通过[获取批量撤销签署流程腾讯电子签小程序链接](https://qian.tencent.com/developers/companyApis/operateFlows/CreateBatchCancelFlowUrl)发起批量撤销任务后,可通过此接口查询批量撤销任务的结果。
236
- */
237
- DescribeCancelFlowsTask(req: DescribeCancelFlowsTaskRequest, cb?: (error: string, rep: DescribeCancelFlowsTaskResponse) => void): Promise<DescribeCancelFlowsTaskResponse>;
238
- /**
239
- * 本接口(CreateOrganizationAuthUrl)用于生成创建企业认证链接。
240
- 用于业务方系统自己生成认证链接进行跳转.而不用电子签自带的生成链接
241
-
242
- 注: **此接口需要购买单独的实名套餐包方可调用,如有需求请联系对接人员评估**
243
- */
244
- CreateOrganizationAuthUrl(req: CreateOrganizationAuthUrlRequest, cb?: (error: string, rep: CreateOrganizationAuthUrlResponse) => void): Promise<CreateOrganizationAuthUrlResponse>;
245
- /**
246
- * 解绑员工与对应角色的关系,如需绑定请使用 CreateIntegrationUserRoles 接口。
247
- */
248
- DeleteIntegrationRoleUsers(req: DeleteIntegrationRoleUsersRequest, cb?: (error: string, rep: DeleteIntegrationRoleUsersResponse) => void): Promise<DeleteIntegrationRoleUsersResponse>;
249
93
  /**
250
94
  * 提交企业流程审批结果
251
95
  **当前存在两种审核操作:**
@@ -279,12 +123,6 @@ export declare class Client extends AbstractClient {
279
123
  </ul>
280
124
  */
281
125
  CreateFlowSignReview(req: CreateFlowSignReviewRequest, cb?: (error: string, rep: CreateFlowSignReviewResponse) => void): Promise<CreateFlowSignReviewResponse>;
282
- /**
283
- * 创建发起流程web页面
284
- <br/>适用场景:通过该接口(CreatePrepareFlow)传入合同文件/模板编号及签署人信息,可获得发起流程的可嵌入页面,在页面完成签署控件等信息的编辑与确认后,快速发起流程。
285
- <br/>注:该接口包含模板/文件发起流程的全部功能,调用接口后不会立即发起,需在可嵌入页面点击按钮进行发起流程。
286
- */
287
- CreatePrepareFlow(req: CreatePrepareFlowRequest, cb?: (error: string, rep: CreatePrepareFlowResponse) => void): Promise<CreatePrepareFlowResponse>;
288
126
  /**
289
127
  * 创建签署流程电子文档<br />
290
128
 
@@ -329,40 +167,46 @@ export declare class Client extends AbstractClient {
329
167
  */
330
168
  CreateDocument(req: CreateDocumentRequest, cb?: (error: string, rep: CreateDocumentResponse) => void): Promise<CreateDocumentResponse>;
331
169
  /**
332
- * 此接口(CreateMultiFlowSignQRCode)用于创建一码多签签署码。
170
+ * 查询企业扩展服务的开通和授权情况,当前支持查询以下内容:
333
171
 
334
- **适用场景**:
335
- 签署人可通过扫描二维码补充签署信息进行实名签署。常用于提前不知道签署人的身份信息场景,例如:劳务工招工、大批量员工入职等场景。
172
+ 1. **企业自动签署**
173
+ 2. **批量签署授权**
174
+ 3. **企业与港澳台居民签署合同**
175
+ 4. **拓宽签署方年龄限制**
176
+ 5. **个人签署方仅校验手机号**
177
+ 6. **隐藏合同经办人姓名**
178
+ 7. **正楷临摹签名失败后更换其他签名类型**
179
+ 8. **短信通知签署方**
180
+ 9. **个人签署方手动签字**
181
+ 10. **骑缝章**
182
+ 11. **签署密码开通引导**
336
183
 
337
- **注意**:
338
- 1. 本接口适用于**发起方没有填写控件的 B2C或者单C模板**, 若是B2C模板,还要满足以下任意一个条件
339
- - 模板中配置的签署顺序是无序
340
- - B端企业的签署方式是静默签署
341
- - B端企业是非首位签署
342
- 2. 通过一码多签签署码发起的合同,合同涉及到的回调消息可参考文档[合同发起及签署相关回调
343
- ]( https://qian.tencent.com/developers/company/callback_types_contracts_sign)
344
- 3. 用户通过一码多签签署码发起合同时,因企业额度不足导致失败 会触发签署二维码相关回调,具体参考文档[签署二维码相关回调](https://qian.tencent.com/developers/company/callback_types_commons#%E7%AD%BE%E7%BD%B2%E4%BA%8C%E7%BB%B4%E7%A0%81%E7%9B%B8%E5%85%B3%E5%9B%9E%E8%B0%83)
345
184
 
346
- 签署码的样式如下图:
185
+ 对应能力开通页面在Web控制台-更多-企业设置-拓展服务,如下图所示:
347
186
 
348
- ![image](https://qcloudimg.tencent-cloud.cn/raw/27317cf5aacb094fb1dc6f94179a5148.png )
187
+ ![image](https://qcloudimg.tencent-cloud.cn/raw/7d79746ecca1c5fe878a2ec36ed69c23.jpg)
188
+
189
+ 注: <font color='red'>所在企业的超管、法人才有权限调用此接口</font>(Operator.UserId需要传递超管或者法人的UserId)
349
190
  */
350
- CreateMultiFlowSignQRCode(req: CreateMultiFlowSignQRCodeRequest, cb?: (error: string, rep: CreateMultiFlowSignQRCodeResponse) => void): Promise<CreateMultiFlowSignQRCodeResponse>;
191
+ DescribeExtendedServiceAuthInfos(req: DescribeExtendedServiceAuthInfosRequest, cb?: (error: string, rep: DescribeExtendedServiceAuthInfosResponse) => void): Promise<DescribeExtendedServiceAuthInfosResponse>;
351
192
  /**
352
- * 提交申请出证报告任务并返回报告ID。
193
+ * 通过此接口获取个人用户自动签的开通状态。
353
194
 
354
- 注意:
355
- <ul><li>使用此功能`需搭配出证套餐` ,使用前请联系对接的客户经理沟通。</li>
356
- <li>操作人必须是`发起方或者签署方企业的(非走授权书认证)法人或者超管`。</li>
357
- <li>合同流程必须所有参与方`已经签署完成`。</li>
358
- <li>出证过程需一定时间,建议在`提交出证任务后的24小时之后`,通过<a href="https://qian.tencent.com/developers/companyApis/certificate/DescribeFlowEvidenceReport" target="_blank">获取出证报告任务执行结果</a>接口进行查询执行结果和出证报告的下载URL。</li></ul>
195
+ 注意: `处方单等特殊场景专用,此接口为白名单功能,使用前请联系对接的客户经理沟通。`
196
+ */
197
+ DescribeUserAutoSignStatus(req: DescribeUserAutoSignStatusRequest, cb?: (error: string, rep: DescribeUserAutoSignStatusResponse) => void): Promise<DescribeUserAutoSignStatusResponse>;
198
+ /**
199
+ * 此接口(CreateFlowGroupByTemplates)可用于通过多个模板创建合同组签署流程。
359
200
 
360
- <svg id="SvgjsSvg1006" width="262" height="229" xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svgjs="http://svgjs.com/svgjs"><defs id="SvgjsDefs1007"><pattern patternUnits="userSpaceOnUse" id="pattern_mark_0" width="300" height="300"><text x="150" y="100" fill="rgba(229,229,229,0.8)" font-size="18" transform="rotate(-45, 150, 150)" style="dominant-baseline: middle; text-anchor: middle;"></text></pattern><pattern patternUnits="userSpaceOnUse" id="pattern_mark_1" width="300" height="300"><text x="150" y="200" fill="rgba(229,229,229,0.8)" font-size="18" transform="rotate(-45, 150, 150)" style="dominant-baseline: middle; text-anchor: middle;"></text></pattern><marker id="SvgjsMarker1021" markerWidth="12" markerHeight="8" refX="9" refY="4" viewBox="0 0 12 8" orient="auto" markerUnits="userSpaceOnUse" stroke-dasharray="0,0"><path id="SvgjsPath1022" d="M0,0 L12,4 L0,8 L0,0" fill="#323232" stroke="#323232" stroke-width="1"></path></marker></defs><rect id="svgbackgroundid" width="262" height="229" fill="transparent"></rect><rect id="SvgjsRect1009" width="262" height="229" fill="url(#pattern_mark_0)"></rect><rect id="SvgjsRect1010" width="262" height="229" fill="url(#pattern_mark_1)"></rect><g id="SvgjsG1011" transform="translate(31.75,25)"><path id="SvgjsPath1012" d="M 0 0L 198 0L 198 59L 0 59Z" stroke="rgba(86,146,48,1)" stroke-width="1" fill-opacity="1" fill="#e7ebed"></path><g id="SvgjsG1013"><text id="SvgjsText1014" font-family="微软雅黑" text-anchor="middle" font-size="13px" width="178px" fill="#323232" font-weight="400" align="middle" lineHeight="125%" anchor="middle" family="微软雅黑" size="13px" weight="400" font-style="" opacity="1" y="10.375" transform="rotate(0)"><tspan id="SvgjsTspan1015" dy="16" x="99"><tspan id="SvgjsTspan1016" style="text-decoration:;fill: rgb(28, 30, 33);">CreateFlowEvidenceReport</tspan></tspan><tspan id="SvgjsTspan1017" dy="16" x="99"><tspan id="SvgjsTspan1018" style="text-decoration:;fill: rgb(51, 51, 51);">提交申请出证报告任务</tspan></tspan></text></g></g><g id="SvgjsG1019"><path id="SvgjsPath1020" d="M130.75 84.5L130.75 114.5L130.75 114.5L130.75 143.2" stroke="#323232" stroke-width="1" fill="none" marker-end="url(#SvgjsMarker1021)"></path></g><g id="SvgjsG1023" transform="translate(25,145)"><path id="SvgjsPath1024" d="M 0 0L 211.5 0L 211.5 59L 0 59Z" stroke="rgba(86,146,48,1)" stroke-width="1" fill-opacity="1" fill="#e7ebed"></path><g id="SvgjsG1025"><text id="SvgjsText1026" font-family="微软雅黑" text-anchor="middle" font-size="13px" width="192px" fill="#323232" font-weight="400" align="middle" lineHeight="125%" anchor="middle" family="微软雅黑" size="13px" weight="400" font-style="" opacity="1" y="10.375" transform="rotate(0)"><tspan id="SvgjsTspan1027" dy="16" x="106"><tspan id="SvgjsTspan1028" style="text-decoration:;fill: rgb(28, 30, 33);">DescribeFlowEvidenceReport</tspan></tspan><tspan id="SvgjsTspan1029" dy="16" x="106"><tspan id="SvgjsTspan1030" style="text-decoration:;fill: rgb(51, 51, 51);">获取出证报告任务执行结果</tspan></tspan></text></g></g></svg>
201
+ 适用场景:该接口适用于需要一次性完成多份合同签署的情况,多份合同一般具有关联性,用户以目录的形式查看合同。
202
+
203
+ 注:`合同发起后就会扣减合同的额度, 如果未签署完成时撤销合同会返还此额度(过期,拒签,签署完成,解除完成等状态不会返还额度),合同组中每个合同会扣减一个合同额度`
361
204
  */
362
- CreateFlowEvidenceReport(req: CreateFlowEvidenceReportRequest, cb?: (error: string, rep: CreateFlowEvidenceReportResponse) => void): Promise<CreateFlowEvidenceReportResponse>;
205
+ CreateFlowGroupByTemplates(req: CreateFlowGroupByTemplatesRequest, cb?: (error: string, rep: CreateFlowGroupByTemplatesResponse) => void): Promise<CreateFlowGroupByTemplatesResponse>;
363
206
  /**
364
- * 通过模板创建签署流程<br/>
365
- 适用场景:在标准制式的合同场景中,可通过提前预制好模板文件,每次调用模板文件的id,补充合同内容信息及签署信息生成电子合同。
207
+ * 此接口(CreateFlowByFiles)用来通过上传后的pdf资源编号来创建待签署的合同流程。<br/>
208
+ 适用场景:适用非制式的合同文件签署。一般开发者自己有完整的签署文件,可以通过该接口传入完整的PDF文件及流程信息生成待签署的合同流程。<br/>
209
+
366
210
  <table>
367
211
  <thead>
368
212
  <tr>
@@ -391,162 +235,165 @@ export declare class Client extends AbstractClient {
391
235
  </table>
392
236
 
393
237
 
394
- 注:配合<a href="https://qian.tencent.com/developers/companyApis/startFlows/CreateDocument" target="_blank">创建电子文档</a>和<a href="https://qian.tencent.com/developers/companyApis/startFlows/StartFlow" target="_blank">发起签署流程</a>接口使用。整体的逻辑如下图
395
-
396
- ![image](https://qcloudimg.tencent-cloud.cn/raw/06f2bc0f1772d8deac2f92b5df61a5ac.png)
397
-
398
- 注:**静默(自动)签署不支持合同签署方存在填写**功能
399
- <br>
400
238
 
401
- <font color="red">相关视频指引</font> <br>
402
- 1. <a href="https://dyn.ess.tencent.cn/guide/apivideo/createflow_seversign.mp4" target="_blank">创建静默(自动)签署模板和开通自动签署</a><br>
403
- 2. <a href="https://dyn.ess.tencent.cn/guide/apivideo/flow_document_start.mp4" target="_blank">用模板创建发起合同</a><br>
404
- */
405
- CreateFlow(req: CreateFlowRequest, cb?: (error: string, rep: CreateFlowResponse) => void): Promise<CreateFlowResponse>;
406
- /**
407
- * 本接口(CreateBatchOrganizationRegistrationTasks)用于批量创建企业认证链接
408
- 该接口为异步提交任务接口,需要跟查询企业批量认证链接(DescribeBatchOrganizationRegistrationUrls) 配合使用.
239
+ 该接口需要依赖[上传文件](https://qian.tencent.com/developers/companyApis/templatesAndFiles/UploadFiles)接口生成pdf资源编号(FileIds)进行使用。(如果非pdf文件需要调用[创建文件转换任务](https://qian.tencent.com/developers/companyApis/templatesAndFiles/CreateConvertTaskApi)接口转换成pdf资源)<br/>
409
240
 
410
- 批量创建链接有以下限制:
411
241
 
412
- 1. 单次最多创建10个企业。
413
- 2. 一天同一家企业最多创建8000家企业。
414
- 3. 同一批创建的企业不能重复 其中包括 企业名称,企业统一信用代码
415
- 4. 跳转到小程序的实现,参考微信官方文档(分为全屏、半屏两种方式),如何配置也可以请参考: 跳转电子签小程序配置
242
+ ![image](https://qcloudimg.tencent-cloud.cn/raw/f097a74b289e3e1acd740936bdfe9843.png)
416
243
 
417
244
  注:
245
+ - 合同**发起后就会扣减合同的额度**, 只有撤销没有参与方签署过或只有自动签署签署过的合同,才会返还合同额度。(**过期,拒签,签署完成,解除完成等状态不会返还额度**)
246
+ - **静默(自动)签署不支持合同签署方存在填写**功能
418
247
 
419
- 1. **此接口需要购买单独的实名套餐包方可调用,如有需求请联系对接人员评估**
420
-
421
- 2. 如果生成的链接是APP链接,跳转到小程序的实现,参考微信官方文档(分为<a href="https://developers.weixin.qq.com/miniprogram/dev/api/navigate/wx.navigateToMiniProgram.html">全屏</a>、<a href="https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/openEmbeddedMiniProgram.html">半屏</a>两种方式),如何配置也可以请参考: <a href="https://qian.tencent.com/developers/company/openwxminiprogram">跳转电子签小程序配置</a>
422
-
423
-
424
- **腾讯电子签小程序的AppID 和 原始Id如下:**
425
248
 
426
- | 小程序 | AppID | 原始ID |
427
- | --- | --- | --- |
428
- | 腾讯电子签(正式版) | wxa023b292fd19d41d | gh_da88f6188665 |
429
- | 腾讯电子签Demo | wx371151823f6f3edf | gh_39a5d3de69fa |
249
+ <font color="red">相关视频指引</font> <br>
250
+ 1. <a href="https://dyn.ess.tencent.cn/guide/apivideo/ess_uploadfiles.mp4" target="_blank">上传用于合同发起的PDF文件代码编写示例</a><br>
251
+ 2. <a href="https://dyn.ess.tencent.cn/guide/apivideo/ess-CreateFlowByFiles.mp4" target="_blank">用PDF文件创建签署流程编写示例</a><br>
430
252
  */
431
- CreateBatchOrganizationRegistrationTasks(req: CreateBatchOrganizationRegistrationTasksRequest, cb?: (error: string, rep: CreateBatchOrganizationRegistrationTasksResponse) => void): Promise<CreateBatchOrganizationRegistrationTasksResponse>;
253
+ CreateFlowByFiles(req: CreateFlowByFilesRequest, cb?: (error: string, rep: CreateFlowByFilesResponse) => void): Promise<CreateFlowByFilesResponse>;
432
254
  /**
433
- * 用于客户企业在调用生成[C端用户实名链接(CreateUserVerifyUrl)](https://qian.tencent.com/developers/companyApis/users/CreateUserVerifyUrl)接口之前判断C端用户是否实名,如果已经实名,就不需要再次调用生成C端链接接口去实名
434
- 注意:此接口仅会返回当前员工是否通过[C端用户实名链接(CreateUserVerifyUrl)](https://qian.tencent.com/developers/companyApis/users/CreateUserVerifyUrl)所实名的员工是否实名,并不会返回个人用户自己在电子签进行实名的状况
255
+ * 此接口(DescribeIntegrationRoles)用于分页查询企业角色列表,列表按照角色创建时间升序排列。
435
256
  */
436
- DescribeUserVerifyStatus(req: DescribeUserVerifyStatusRequest, cb?: (error: string, rep: DescribeUserVerifyStatusResponse) => void): Promise<DescribeUserVerifyStatusResponse>;
257
+ DescribeIntegrationRoles(req: DescribeIntegrationRolesRequest, cb?: (error: string, rep: DescribeIntegrationRolesResponse) => void): Promise<DescribeIntegrationRolesResponse>;
437
258
  /**
438
- * 发起解除协议的主要应用场景为:基于一份已经签署的合同(签署流程),进行解除操作。
439
- 解除协议的模板是官方提供 ,经过提供法务审核,暂不支持自定义。
259
+ * 此接口(DescribeIntegrationEmployees)用于分页查询企业员工信息列表,支持设置过滤条件以筛选员工查询结果。
260
+ */
261
+ DescribeIntegrationEmployees(req: DescribeIntegrationEmployeesRequest, cb?: (error: string, rep: DescribeIntegrationEmployeesResponse) => void): Promise<DescribeIntegrationEmployeesResponse>;
262
+ /**
263
+ * 获取个人用户认证证书图片下载URL
440
264
 
441
- 注意:
442
- <ul><li><code>原合同必须签署完</code>成后才能发起解除协议。</li>
443
- <li>只有原合同企业类型的参与人才能发起解除协议,<code>个人参与方不能发起解除协议</code>。</li>
444
- <li>原合同个人类型参与人必须是解除协议的参与人,<code>不能更换其他第三方个人</code>参与解除协议。</li>
445
- <li>如果原合同企业参与人无法参与解除协议,可以指定同企业具有同等权限的<code>企业员工代为处理</code>。</li>
446
- <li>发起解除协议同发起其他企业合同一样,也会参与合同<code>扣费</code>,扣费标准同其他类型合同。</li>
447
- <li>在解除协议签署完毕后,原合同及解除协议均变为已解除状态。</li>
448
- <li>非原合同企业参与人发起解除协议时,需要有<code>解除合同的权限</code>。</li>
265
+ 个人用户认证证书图片样式如下图
266
+
267
+ ![image](https://dyn.ess.tencent.cn/guide/capi/CreatePersonAuthCertificateImage.png)
268
+
269
+ 注:
270
+ <ul>
271
+ <li>只能获取个人用户证明图片, 企业员工的暂不支持</li>
272
+ <li>处方单等特殊场景专用,此接口为白名单功能,使用前请联系对接的客户经理沟通。 </li>
449
273
  </ul>
450
274
  */
451
- CreateReleaseFlow(req: CreateReleaseFlowRequest, cb?: (error: string, rep: CreateReleaseFlowResponse) => void): Promise<CreateReleaseFlowResponse>;
275
+ CreatePersonAuthCertificateImage(req: CreatePersonAuthCertificateImageRequest, cb?: (error: string, rep: CreatePersonAuthCertificateImageResponse) => void): Promise<CreatePersonAuthCertificateImageResponse>;
452
276
  /**
453
- * 获取跳转至腾讯电子签小程序的签署链接
277
+ * 此接口用于赋予员工指定的角色权限,如需解绑请使用 DeleteIntegrationRoleUsers 接口。
278
+ */
279
+ CreateIntegrationUserRoles(req: CreateIntegrationUserRolesRequest, cb?: (error: string, rep: CreateIntegrationUserRolesResponse) => void): Promise<CreateIntegrationUserRolesResponse>;
280
+ /**
281
+ * 通过此接口,可以创建小程序批量签署链接,个人/企业员工可通过此链接跳转至小程序进行批量签署。请确保生成链接时的身份信息与签署合同参与方的信息保持一致。
454
282
 
455
- 适用场景:如果需要签署人在自己的APP、小程序、H5应用中签署,可以通过此接口获取跳转腾讯电子签小程序的签署跳转链接。
283
+ 注意事项:
284
+ - 使用此接口生成链接,需要贵企业先开通 <font color="red">使用手机号验证签署方身份 </font>功能。您可以在 <b>【腾讯电子签网页端】->【企业设置】->【拓展服务】</b>中找到该功能。
285
+ - 生成批量签署链接时,<font color="red">合同目标参与方的状态必须为<b>待签署</b>状态</font>。签署人点击链接后需要输入短信验证码才能查看合同内容。
286
+ - 企业员工批量签署链接:需要传入签署方所在企业名称,用户名字和手机号(或者身份证件信息)参数来生成签署链接。<font color="red">该签署方企业必须已完成腾讯电子签企业认证</font>
287
+ - 个人批量签署链接:需要传入签署方用户名字和手机号(或者身份证件信息)参数来生成签署链接。个人批量签署进行的合同的签名区, 全部变成<font color="red">手写签名</font>(不管合同里边设置的签名限制)来进行。
288
+ */
289
+ CreateBatchSignUrl(req: CreateBatchSignUrlRequest, cb?: (error: string, rep: CreateBatchSignUrlResponse) => void): Promise<CreateBatchSignUrlResponse>;
290
+ /**
291
+ * 指定需要批量催办的签署流程ID,批量催办合同,最多100个。需要符合以下条件的合同才可被催办:
456
292
 
457
- 跳转到小程序的实现,参考微信官方文档(分为<a href="https://developers.weixin.qq.com/miniprogram/dev/api/navigate/wx.navigateToMiniProgram.html">全屏</a>、<a href="https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/openEmbeddedMiniProgram.html">半屏</a>两种方式),如何配置也可以请参考: <a href="https://qian.tencent.com/developers/company/openwxminiprogram">跳转电子签小程序配置</a>
293
+ 1. 发起合同时,**签署人的NotifyType需设置为sms**
294
+ 2. 合同中当前状态为 **待签署** 的签署人是催办的对象
295
+ 3. **每个合同只能催办一次**
458
296
 
459
- 注:
460
- <ul><li>1. 如果签署人是在PC端扫码签署,可以通过生成跳转链接自主转换成二维码,让签署人在PC端扫码签署</li>
461
- <li>2. 签署链接的有效期为<font color="red">90天</font>,超过有效期链接不可用</li>
462
- <li>3. 如果需跳转详情页(即PathType值为1)进行填写或签署合同,需指定签署方信息:姓名、手机号码、企业名称等,才能生成正确的跳转链接</li>
463
- <li>4. <font color="red">生成的链路后面不能再增加参数</font>(会出现覆盖链接中已有参数导致错误)</li></ul>
297
+ **催办的效果**: 对方会收到如下的短信通知
464
298
 
465
- 其中小程序的原始Id如下,或者查看小程序信息自助获取。
299
+ ![image](https://qcloudimg.tencent-cloud.cn/raw/3caf94b7f540fa5736270d38528d3a7b.png)
466
300
 
467
- | 小程序 | AppID | 原始ID |
468
- | ------------ | ------------ | ------------ |
469
- | 腾讯电子签(正式版) | wxa023b292fd19d41d | gh_da88f6188665 |
470
- | 腾讯电子签Demo | wx371151823f6f3edf | gh_39a5d3de69fa |
301
+ 注:`合同催办是白名单功能,请联系客户经理申请开白后使用`
471
302
  */
472
- CreateSchemeUrl(req: CreateSchemeUrlRequest, cb?: (error: string, rep: CreateSchemeUrlResponse) => void): Promise<CreateSchemeUrlResponse>;
303
+ CreateFlowReminds(req: CreateFlowRemindsRequest, cb?: (error: string, rep: CreateFlowRemindsResponse) => void): Promise<CreateFlowRemindsResponse>;
473
304
  /**
474
- * 通过此接口获取个人用户自动签的开通状态。
475
-
476
- 注意: `处方单等特殊场景专用,此接口为白名单功能,使用前请联系对接的客户经理沟通。`
305
+ * 此接口(DescribePersonCertificate)用于查询个人数字证书信息。<br />注:`1.目前仅用于查询开通了医疗自动签署功能的个人数字证书。`<br />`2.调用此接口需要开通白名单,使用前请联系相关人员开通白名单。`
477
306
  */
478
- DescribeUserAutoSignStatus(req: DescribeUserAutoSignStatusRequest, cb?: (error: string, rep: DescribeUserAutoSignStatusResponse) => void): Promise<DescribeUserAutoSignStatusResponse>;
307
+ DescribePersonCertificate(req: DescribePersonCertificateRequest, cb?: (error: string, rep: DescribePersonCertificateResponse) => void): Promise<DescribePersonCertificateResponse>;
479
308
  /**
480
- * 此接口(CreateFlowGroupByTemplates)可用于通过多个模板创建合同组签署流程。
309
+ * 通过此接口可以关闭个人用户自动签功能。
310
+ 无需对应的用户刷脸等方式同意即可关闭。
481
311
 
482
- 适用场景:该接口适用于需要一次性完成多份合同签署的情况,多份合同一般具有关联性,用户以目录的形式查看合同。
312
+ 注意:
483
313
 
484
- 注:`合同发起后就会扣减合同的额度, 如果未签署完成时撤销合同会返还此额度(过期,拒签,签署完成,解除完成等状态不会返还额度),合同组中每个合同会扣减一个合同额度`
314
+ <ul><li>处方单等特殊场景专用,此接口为白名单功能,使用前请联系对接的客户经理沟通。</li>
315
+ <li>如果此用户在开通时候绑定过个人自动签账号许可, 关闭此用户的自动签不会归还个人自动签账号许可的额度。</li></ul>
485
316
  */
486
- CreateFlowGroupByTemplates(req: CreateFlowGroupByTemplatesRequest, cb?: (error: string, rep: CreateFlowGroupByTemplatesResponse) => void): Promise<CreateFlowGroupByTemplatesResponse>;
317
+ DisableUserAutoSign(req: DisableUserAutoSignRequest, cb?: (error: string, rep: DisableUserAutoSignResponse) => void): Promise<DisableUserAutoSignResponse>;
487
318
  /**
488
- * 查询企业扩展服务的开通和授权情况,当前支持查询以下内容:
319
+ * 该接口(DeleteIntegrationEmployees)用于离职本企业员工,同时可选择是否进行离职交接。
489
320
 
490
- 1. **企业自动签署**
491
- 2. **批量签署授权**
492
- 3. **企业与港澳台居民签署合同**
493
- 4. **拓宽签署方年龄限制**
494
- 5. **个人签署方仅校验手机号**
495
- 6. **隐藏合同经办人姓名**
496
- 7. **正楷临摹签名失败后更换其他签名类型**
497
- 8. **短信通知签署方**
498
- 9. **个人签署方手动签字**
499
- 10. **骑缝章**
500
- 11. **签署密码开通引导**
501
321
 
322
+ - 如果该员工没有未处理的合同,可不设置交接人的ReceiveUserId或ReceiveOpenId进行离职操作。
323
+ - 如果该员工有未处理的合同,需要设置ReceiveUserId或ReceiveOpenId表示交接的负责人,交接后员工会进行离职操作。
502
324
 
503
- 对应能力开通页面在Web控制台-更多-企业设置-拓展服务,如下图所示:
325
+ 未处理的合同包括以下:
504
326
 
505
- ![image](https://qcloudimg.tencent-cloud.cn/raw/7d79746ecca1c5fe878a2ec36ed69c23.jpg)
327
+ - 待签署的合同(包括顺序签署还没有轮到的合同,此类合同某些情况可能不会出现在用户的列表中)。
328
+ - 待填写的合同。
329
+ - 待解除的合同等。
506
330
 
507
- 注: <font color='red'>所在企业的超管、法人才有权限调用此接口</font>(Operator.UserId需要传递超管或者法人的UserId)
331
+ 注:
332
+ 1. <font color="red">超管或法人身份的员工不能被离职</font>, 需要在控制台或小程序更换法人和超管后进行离职删除。
333
+ 2. <font color="red">员工存在待处理合同时必须交接</font>后才能离职无人交接时不能被离职删除。
334
+ 3. 未实名的员工可以直接离职,不用交接合同
508
335
  */
509
- DescribeExtendedServiceAuthInfos(req: DescribeExtendedServiceAuthInfosRequest, cb?: (error: string, rep: DescribeExtendedServiceAuthInfosResponse) => void): Promise<DescribeExtendedServiceAuthInfosResponse>;
336
+ DeleteIntegrationEmployees(req: DeleteIntegrationEmployeesRequest, cb?: (error: string, rep: DeleteIntegrationEmployeesResponse) => void): Promise<DeleteIntegrationEmployeesResponse>;
510
337
  /**
511
- * 生成集团加入链接,分享至子企业超管或者法人,子企业管理员可通过链接加入集团。
512
- 注意:调用当前接口的企业 必须为集团企业。如何成为集团企业可以参考下面的文档[集团操作文档](https://qian.tencent.com/document/86707)
338
+ * 获取设置自动签印章小程序链接。
339
+
340
+ 注意:
341
+ <ul><li>需要<code>企业开通自动签</code>后使用。</li>
342
+ <li>仅支持<code>已经开通了自动签的个人</code>更换自动签印章。</li>
343
+ <li>链接有效期默认7天,<code>最多30天</code>。</li>
344
+ <li>该接口的链接适用于<code>小程序</code>端。</li>
345
+ <li>该接口不会扣除您的合同套餐,暂不参与计费。</li></ul>
513
346
  */
514
- CreateOrganizationGroupInvitationLink(req: CreateOrganizationGroupInvitationLinkRequest, cb?: (error: string, rep: CreateOrganizationGroupInvitationLinkResponse) => void): Promise<CreateOrganizationGroupInvitationLinkResponse>;
347
+ CreateUserAutoSignSealUrl(req: CreateUserAutoSignSealUrlRequest, cb?: (error: string, rep: CreateUserAutoSignSealUrlResponse) => void): Promise<CreateUserAutoSignSealUrlResponse>;
515
348
  /**
516
- * 此接口(UploadFiles)文件上传。<br/>
517
-
518
- 适用场景:用于合同,印章的文件上传。文件上传以后,
519
- 如果是PDF格式文件可配合<a href="https://qian.tencent.com/developers/companyApis/startFlows/CreateFlowByFiles" target="_blank">用PDF文件创建签署流程</a>接口进行合同流程的发起
520
- 如果是其他类型可以配合<a href="https://qian.tencent.com/developers/companyApis/templatesAndFiles/CreateConvertTaskApi" target="_blank">创建文件转换任务</a>接口转换成PDF文件
349
+ * 给医疗个人自动签许可续期。续期成功后,可对医疗自动签许可追加一年有效期,只可续期一次。
521
350
 
522
- 注:
523
- 1. 图片类型(png/jpg/jpeg)限制大小为5M以下, PDF/word/excel等其他格式限制大小为60M以下
524
- 2. 调用此接口时需要设置单独的Domain请求域名,<font color="red">联调开发环境为: file.test.ess.tencent.cn,正式环境需要设置为:file.ess.tencent.cn</font>,代码示例
525
- ```
526
- HttpProfile httpProfile = new HttpProfile();
527
- httpProfile.setEndpoint("file.test.ess.tencent.cn");
528
- ```
351
+ 注意: `处方单等特殊场景专用,此接口为白名单功能,使用前请联系对接的客户经理沟通。`
352
+ */
353
+ RenewAutoSignLicense(req: RenewAutoSignLicenseRequest, cb?: (error: string, rep: RenewAutoSignLicenseResponse) => void): Promise<RenewAutoSignLicenseResponse>;
354
+ /**
355
+ * 对合同流程文件进行数字签名验证,判断数字签名是否有效,合同文件内容是否被篡改。
356
+ */
357
+ VerifyPdf(req: VerifyPdfRequest, cb?: (error: string, rep: VerifyPdfResponse) => void): Promise<VerifyPdfResponse>;
358
+ /**
359
+ * 此接口(BindEmployeeUserIdWithClientOpenId)用于将电子签系统员工UserId与客户系统员工OpenId进行绑定。
529
360
 
530
- <font color="red">相关视频指引</font> <br>
531
- 1. <a href="https://dyn.ess.tencent.cn/guide/apivideo/ess_uploadfiles.mp4" target="_blank">上传用于合同发起的PDF文件代码编写示例</a><br>
361
+ 此OpenId只在 [更新企业员工信息 ](https://qian.tencent.com/developers/companyApis/staffs/UpdateIntegrationEmployees)、[移除企业员工](https://qian.tencent.com/developers/companyApis/staffs/DeleteIntegrationEmployees) 等场景下可以使用
532
362
  */
533
- UploadFiles(req: UploadFilesRequest, cb?: (error: string, rep: UploadFilesResponse) => void): Promise<UploadFilesResponse>;
363
+ BindEmployeeUserIdWithClientOpenId(req: BindEmployeeUserIdWithClientOpenIdRequest, cb?: (error: string, rep: BindEmployeeUserIdWithClientOpenIdResponse) => void): Promise<BindEmployeeUserIdWithClientOpenIdResponse>;
534
364
  /**
535
- * 获取出证报告任务执行结果,返回报告 URL。
365
+ * 解绑员工与对应角色的关系,如需绑定请使用 CreateIntegrationUserRoles 接口。
366
+ */
367
+ DeleteIntegrationRoleUsers(req: DeleteIntegrationRoleUsersRequest, cb?: (error: string, rep: DeleteIntegrationRoleUsersResponse) => void): Promise<DeleteIntegrationRoleUsersResponse>;
368
+ /**
369
+ * 此接口(CreateFlowGroupByFiles)可用于通过多个文件创建合同组签署流程。
536
370
 
371
+ 适用场景:该接口适用于需要一次性完成多份合同签署的情况,多份合同一般具有关联性,用户以目录的形式查看合同。
537
372
 
373
+ 注意事项:使用该接口需要先依赖[多文件上传](https://qian.tencent.com/developers/companyApis/templatesAndFiles/UploadFiles)接口返回的FileIds。
374
+
375
+ 注:`合同发起后就会扣减合同的额度, 如果未签署完成时撤销合同会返还此额度(过期,拒签,签署完成,解除完成等状态不会返还额度),合同组中每个合同会扣减一个合同额度`
376
+ */
377
+ CreateFlowGroupByFiles(req: CreateFlowGroupByFilesRequest, cb?: (error: string, rep: CreateFlowGroupByFilesResponse) => void): Promise<CreateFlowGroupByFilesResponse>;
378
+ /**
379
+ * 此接口(CreateIntegrationDepartment)用于创建企业的部门信息,支持绑定客户系统部门ID。
380
+ */
381
+ CreateIntegrationDepartment(req: CreateIntegrationDepartmentRequest, cb?: (error: string, rep: CreateIntegrationDepartmentResponse) => void): Promise<CreateIntegrationDepartmentResponse>;
382
+ /**
383
+ * 提交申请出证报告任务并返回报告ID。
538
384
 
539
385
  注意:
540
386
  <ul><li>使用此功能`需搭配出证套餐` ,使用前请联系对接的客户经理沟通。</li>
541
- <li>需调用创建并返回出证报告接口<a href="https://qian.tencent.com/developers/companyApis/certificate/CreateFlowEvidenceReport" target="_blank">提交申请出证报告任务</a>获取报告编号后调用当前接口获取报告链接。</li></ul>
387
+ <li>操作人必须是`发起方或者签署方企业的(非走授权书认证)法人或者超管`。</li>
388
+ <li>合同流程必须所有参与方`已经签署完成`。</li>
389
+ <li>出证过程需一定时间,建议在`提交出证任务后的24小时之后`,通过<a href="https://qian.tencent.com/developers/companyApis/certificate/DescribeFlowEvidenceReport" target="_blank">获取出证报告任务执行结果</a>接口进行查询执行结果和出证报告的下载URL。</li></ul>
542
390
 
543
391
  <svg id="SvgjsSvg1006" width="262" height="229" xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svgjs="http://svgjs.com/svgjs"><defs id="SvgjsDefs1007"><pattern patternUnits="userSpaceOnUse" id="pattern_mark_0" width="300" height="300"><text x="150" y="100" fill="rgba(229,229,229,0.8)" font-size="18" transform="rotate(-45, 150, 150)" style="dominant-baseline: middle; text-anchor: middle;"></text></pattern><pattern patternUnits="userSpaceOnUse" id="pattern_mark_1" width="300" height="300"><text x="150" y="200" fill="rgba(229,229,229,0.8)" font-size="18" transform="rotate(-45, 150, 150)" style="dominant-baseline: middle; text-anchor: middle;"></text></pattern><marker id="SvgjsMarker1021" markerWidth="12" markerHeight="8" refX="9" refY="4" viewBox="0 0 12 8" orient="auto" markerUnits="userSpaceOnUse" stroke-dasharray="0,0"><path id="SvgjsPath1022" d="M0,0 L12,4 L0,8 L0,0" fill="#323232" stroke="#323232" stroke-width="1"></path></marker></defs><rect id="svgbackgroundid" width="262" height="229" fill="transparent"></rect><rect id="SvgjsRect1009" width="262" height="229" fill="url(#pattern_mark_0)"></rect><rect id="SvgjsRect1010" width="262" height="229" fill="url(#pattern_mark_1)"></rect><g id="SvgjsG1011" transform="translate(31.75,25)"><path id="SvgjsPath1012" d="M 0 0L 198 0L 198 59L 0 59Z" stroke="rgba(86,146,48,1)" stroke-width="1" fill-opacity="1" fill="#e7ebed"></path><g id="SvgjsG1013"><text id="SvgjsText1014" font-family="微软雅黑" text-anchor="middle" font-size="13px" width="178px" fill="#323232" font-weight="400" align="middle" lineHeight="125%" anchor="middle" family="微软雅黑" size="13px" weight="400" font-style="" opacity="1" y="10.375" transform="rotate(0)"><tspan id="SvgjsTspan1015" dy="16" x="99"><tspan id="SvgjsTspan1016" style="text-decoration:;fill: rgb(28, 30, 33);">CreateFlowEvidenceReport</tspan></tspan><tspan id="SvgjsTspan1017" dy="16" x="99"><tspan id="SvgjsTspan1018" style="text-decoration:;fill: rgb(51, 51, 51);">提交申请出证报告任务</tspan></tspan></text></g></g><g id="SvgjsG1019"><path id="SvgjsPath1020" d="M130.75 84.5L130.75 114.5L130.75 114.5L130.75 143.2" stroke="#323232" stroke-width="1" fill="none" marker-end="url(#SvgjsMarker1021)"></path></g><g id="SvgjsG1023" transform="translate(25,145)"><path id="SvgjsPath1024" d="M 0 0L 211.5 0L 211.5 59L 0 59Z" stroke="rgba(86,146,48,1)" stroke-width="1" fill-opacity="1" fill="#e7ebed"></path><g id="SvgjsG1025"><text id="SvgjsText1026" font-family="微软雅黑" text-anchor="middle" font-size="13px" width="192px" fill="#323232" font-weight="400" align="middle" lineHeight="125%" anchor="middle" family="微软雅黑" size="13px" weight="400" font-style="" opacity="1" y="10.375" transform="rotate(0)"><tspan id="SvgjsTspan1027" dy="16" x="106"><tspan id="SvgjsTspan1028" style="text-decoration:;fill: rgb(28, 30, 33);">DescribeFlowEvidenceReport</tspan></tspan><tspan id="SvgjsTspan1029" dy="16" x="106"><tspan id="SvgjsTspan1030" style="text-decoration:;fill: rgb(51, 51, 51);">获取出证报告任务执行结果</tspan></tspan></text></g></g></svg>
544
392
  */
545
- DescribeFlowEvidenceReport(req: DescribeFlowEvidenceReportRequest, cb?: (error: string, rep: DescribeFlowEvidenceReportResponse) => void): Promise<DescribeFlowEvidenceReportResponse>;
393
+ CreateFlowEvidenceReport(req: CreateFlowEvidenceReportRequest, cb?: (error: string, rep: CreateFlowEvidenceReportResponse) => void): Promise<CreateFlowEvidenceReportResponse>;
546
394
  /**
547
- * 此接口(CreateFlowByFiles)用来通过上传后的pdf资源编号来创建待签署的合同流程。<br/>
548
- 适用场景:适用非制式的合同文件签署。一般开发者自己有完整的签署文件,可以通过该接口传入完整的PDF文件及流程信息生成待签署的合同流程。<br/>
549
-
395
+ * 通过模板创建签署流程<br/>
396
+ 适用场景:在标准制式的合同场景中,可通过提前预制好模板文件,每次调用模板文件的id,补充合同内容信息及签署信息生成电子合同。
550
397
  <table>
551
398
  <thead>
552
399
  <tr>
@@ -575,32 +422,40 @@ httpProfile.setEndpoint("file.test.ess.tencent.cn");
575
422
  </table>
576
423
 
577
424
 
425
+ 注:配合<a href="https://qian.tencent.com/developers/companyApis/startFlows/CreateDocument" target="_blank">创建电子文档</a>和<a href="https://qian.tencent.com/developers/companyApis/startFlows/StartFlow" target="_blank">发起签署流程</a>接口使用。整体的逻辑如下图
578
426
 
579
- 该接口需要依赖[上传文件](https://qian.tencent.com/developers/companyApis/templatesAndFiles/UploadFiles)接口生成pdf资源编号(FileIds)进行使用。(如果非pdf文件需要调用[创建文件转换任务](https://qian.tencent.com/developers/companyApis/templatesAndFiles/CreateConvertTaskApi)接口转换成pdf资源)<br/>
580
-
581
-
582
- ![image](https://qcloudimg.tencent-cloud.cn/raw/f097a74b289e3e1acd740936bdfe9843.png)
583
-
584
- 注:
585
- - 合同**发起后就会扣减合同的额度**, 只有撤销没有参与方签署过或只有自动签署签署过的合同,才会返还合同额度。(**过期,拒签,签署完成,解除完成等状态不会返还额度**)
586
- - **静默(自动)签署不支持合同签署方存在填写**功能
427
+ ![image](https://qcloudimg.tencent-cloud.cn/raw/06f2bc0f1772d8deac2f92b5df61a5ac.png)
587
428
 
429
+ 注:**静默(自动)签署不支持合同签署方存在填写**功能
430
+ <br>
588
431
 
589
432
  <font color="red">相关视频指引</font> <br>
590
- 1. <a href="https://dyn.ess.tencent.cn/guide/apivideo/ess_uploadfiles.mp4" target="_blank">上传用于合同发起的PDF文件代码编写示例</a><br>
591
- 2. <a href="https://dyn.ess.tencent.cn/guide/apivideo/ess-CreateFlowByFiles.mp4" target="_blank">用PDF文件创建签署流程编写示例</a><br>
433
+ 1. <a href="https://dyn.ess.tencent.cn/guide/apivideo/createflow_seversign.mp4" target="_blank">创建静默(自动)签署模板和开通自动签署</a><br>
434
+ 2. <a href="https://dyn.ess.tencent.cn/guide/apivideo/flow_document_start.mp4" target="_blank">用模板创建发起合同</a><br>
592
435
  */
593
- CreateFlowByFiles(req: CreateFlowByFilesRequest, cb?: (error: string, rep: CreateFlowByFilesResponse) => void): Promise<CreateFlowByFilesResponse>;
436
+ CreateFlow(req: CreateFlowRequest, cb?: (error: string, rep: CreateFlowResponse) => void): Promise<CreateFlowResponse>;
594
437
  /**
595
- * 通过此接口,创建子企业激活记录,集团企业管理员可针对未激活的成员企业进行激活。
596
- 激活子企业时请保证子企业 lisence 充足。
597
- 这个操作与页面端激活成员企业操作类似
598
- ![image](https://qcloudimg.tencent-cloud.cn/raw/c4e76fbac92e4ce451a03601c964793b.png)
438
+ * 发起解除协议的主要应用场景为:基于一份已经签署的合同(签署流程),进行解除操作。
439
+ 解除协议的模板是官方提供 ,经过提供法务审核,暂不支持自定义。
599
440
 
600
- p.s.
601
- 此接口只能用于激活,不能用于续期。
441
+ 注意:
442
+ <ul><li><code>原合同必须签署完</code>成后才能发起解除协议。</li>
443
+ <li>只有原合同企业类型的参与人才能发起解除协议,<code>个人参与方不能发起解除协议</code>。</li>
444
+ <li>原合同个人类型参与人必须是解除协议的参与人,<code>不能更换其他第三方个人</code>参与解除协议。</li>
445
+ <li>如果原合同企业参与人无法参与解除协议,可以指定同企业具有同等权限的<code>企业员工代为处理</code>。</li>
446
+ <li>发起解除协议同发起其他企业合同一样,也会参与合同<code>扣费</code>,扣费标准同其他类型合同。</li>
447
+ <li>在解除协议签署完毕后,原合同及解除协议均变为已解除状态。</li>
448
+ <li>非原合同企业参与人发起解除协议时,需要有<code>解除合同的权限</code>。</li>
449
+ </ul>
602
450
  */
603
- CreateIntegrationSubOrganizationActiveRecord(req: CreateIntegrationSubOrganizationActiveRecordRequest, cb?: (error: string, rep: CreateIntegrationSubOrganizationActiveRecordResponse) => void): Promise<CreateIntegrationSubOrganizationActiveRecordResponse>;
451
+ CreateReleaseFlow(req: CreateReleaseFlowRequest, cb?: (error: string, rep: CreateReleaseFlowResponse) => void): Promise<CreateReleaseFlowResponse>;
452
+ /**
453
+ * 该接口用于获取创建法人章的二维码<br/>
454
+
455
+ **注意**
456
+ 1. 该二维码**有效期为7天**,过期后将失效,可重新创建 。
457
+ */
458
+ CreateLegalSealQrCode(req: CreateLegalSealQrCodeRequest, cb?: (error: string, rep: CreateLegalSealQrCodeResponse) => void): Promise<CreateLegalSealQrCodeResponse>;
604
459
  /**
605
460
  * 本接口(CreateSeal)用于创建企业电子印章,支持创建企业公章,合同章,财务专用章和人事专用章创建。
606
461
 
@@ -611,22 +466,25 @@ p.s.
611
466
  */
612
467
  CreateSeal(req: CreateSealRequest, cb?: (error: string, rep: CreateSealResponse) => void): Promise<CreateSealResponse>;
613
468
  /**
614
- * 此接口(DescribeIntegrationRoles)用于分页查询企业角色列表,列表按照角色创建时间升序排列。
615
- */
616
- DescribeIntegrationRoles(req: DescribeIntegrationRolesRequest, cb?: (error: string, rep: DescribeIntegrationRolesResponse) => void): Promise<DescribeIntegrationRolesResponse>;
617
- /**
618
- * 此接口(CreateIntegrationDepartment)用于创建企业的部门信息,支持绑定客户系统部门ID。
619
- */
620
- CreateIntegrationDepartment(req: CreateIntegrationDepartmentRequest, cb?: (error: string, rep: CreateIntegrationDepartmentResponse) => void): Promise<CreateIntegrationDepartmentResponse>;
621
- /**
622
- * 此接口(GetTaskResultApi)用来查询转换任务的状态。如需发起转换任务,请使用<a href="https://qian.tencent.com/developers/companyApis/templatesAndFiles/CreateConvertTaskApi" target="_blank">创建文件转换任务接口</a>进行资源文件的转换操作<br />
623
- 前提条件:已调用 <a href="https://qian.tencent.com/developers/companyApis/templatesAndFiles/CreateConvertTaskApi" target="_blank">创建文件转换任务接口</a>进行文件转换,并得到了返回的转换任务Id。<br />
469
+ * 此接口(CreateMultiFlowSignQRCode)用于创建一码多签签署码。
624
470
 
625
- 适用场景:已创建一个文件转换任务,想查询该文件转换任务的状态,或获取转换后的文件资源Id。<br />
626
- 注:
627
- 1. `大文件转换所需的时间可能会比较长`
471
+ **适用场景**:
472
+ 签署人可通过扫描二维码补充签署信息进行实名签署。常用于提前不知道签署人的身份信息场景,例如:劳务工招工、大批量员工入职等场景。
473
+
474
+ **注意**:
475
+ 1. 本接口适用于**发起方没有填写控件的 B2C或者单C模板**, 若是B2C模板,还要满足以下任意一个条件
476
+ - 模板中配置的签署顺序是无序
477
+ - B端企业的签署方式是静默签署
478
+ - B端企业是非首位签署
479
+ 2. 通过一码多签签署码发起的合同,合同涉及到的回调消息可参考文档[合同发起及签署相关回调
480
+ ]( https://qian.tencent.com/developers/company/callback_types_contracts_sign)
481
+ 3. 用户通过一码多签签署码发起合同时,因企业额度不足导致失败 会触发签署二维码相关回调,具体参考文档[签署二维码相关回调](https://qian.tencent.com/developers/company/callback_types_commons#%E7%AD%BE%E7%BD%B2%E4%BA%8C%E7%BB%B4%E7%A0%81%E7%9B%B8%E5%85%B3%E5%9B%9E%E8%B0%83)
482
+
483
+ 签署码的样式如下图:
484
+
485
+ ![image](https://qcloudimg.tencent-cloud.cn/raw/27317cf5aacb094fb1dc6f94179a5148.png )
628
486
  */
629
- GetTaskResultApi(req: GetTaskResultApiRequest, cb?: (error: string, rep: GetTaskResultApiResponse) => void): Promise<GetTaskResultApiResponse>;
487
+ CreateMultiFlowSignQRCode(req: CreateMultiFlowSignQRCodeRequest, cb?: (error: string, rep: CreateMultiFlowSignQRCodeResponse) => void): Promise<CreateMultiFlowSignQRCodeResponse>;
630
488
  /**
631
489
  * 查询企业扩展服务的授权详情(列表),当前支持查询以下内容:
632
490
  1. 企业自动签(本企业授权、集团企业授权、合作企业授权)
@@ -636,21 +494,6 @@ p.s.
636
494
  注: <font color='red'>所在企业的超管、法人才有权限调用此接口</font>(Agent.ProxyOperator.OpenId 需要传递超管或者法人的OpenId)
637
495
  */
638
496
  DescribeExtendedServiceAuthDetail(req: DescribeExtendedServiceAuthDetailRequest, cb?: (error: string, rep: DescribeExtendedServiceAuthDetailResponse) => void): Promise<DescribeExtendedServiceAuthDetailResponse>;
639
- /**
640
- * 通过此接口(DescribeBillUsage)查询该企业的套餐套餐使用情况。
641
- */
642
- DescribeBillUsage(req: DescribeBillUsageRequest, cb?: (error: string, rep: DescribeBillUsageResponse) => void): Promise<DescribeBillUsageResponse>;
643
- /**
644
- * 此接口(ModifyIntegrationDepartment)用于更新企业的部门信息,支持更新部门名称、客户系统部门ID和部门序号等信息。
645
- */
646
- ModifyIntegrationDepartment(req: ModifyIntegrationDepartmentRequest, cb?: (error: string, rep: ModifyIntegrationDepartmentResponse) => void): Promise<ModifyIntegrationDepartmentResponse>;
647
- /**
648
- * 创建企业扩展服务授权,当前仅支持授权 “企业自动签” 和 “批量签署” 给企业员工。
649
- 该接口作用和电子签控制台 企业设置-扩展服务-企业自动签署和批量签署授权 两个模块功能相同,可通过该接口授权给企业员工。
650
-
651
- 注:“企业自动签授权”支持集团代子企业操作,请联系运营开通此功能。
652
- */
653
- CreateExtendedServiceAuthInfos(req: CreateExtendedServiceAuthInfosRequest, cb?: (error: string, rep: CreateExtendedServiceAuthInfosResponse) => void): Promise<CreateExtendedServiceAuthInfosResponse>;
654
497
  /**
655
498
  * 此接口(CancelMultiFlowSignQRCode)用于废除一码多签签署码。
656
499
  该接口所需的二维码ID,源自[创建一码多签签署码](https://qian.tencent.com/developers/companyApis/startFlows/CreateMultiFlowSignQRCode)生成的。
@@ -658,9 +501,22 @@ p.s.
658
501
  */
659
502
  CancelMultiFlowSignQRCode(req: CancelMultiFlowSignQRCodeRequest, cb?: (error: string, rep: CancelMultiFlowSignQRCodeResponse) => void): Promise<CancelMultiFlowSignQRCodeResponse>;
660
503
  /**
661
- * 此接口(DescribeIntegrationEmployees)用于分页查询企业员工信息列表,支持设置过滤条件以筛选员工查询结果。
504
+ * 查询流程基础信息
505
+ 适用场景:可用于主动查询某个合同流程的签署状态信息。可以配合回调通知使用。
506
+
507
+ 注: `每个企业限制日调用量限制:100W,当日超过此限制后再调用接口返回错误`
662
508
  */
663
- DescribeIntegrationEmployees(req: DescribeIntegrationEmployeesRequest, cb?: (error: string, rep: DescribeIntegrationEmployeesResponse) => void): Promise<DescribeIntegrationEmployeesResponse>;
509
+ DescribeFlowBriefs(req: DescribeFlowBriefsRequest, cb?: (error: string, rep: DescribeFlowBriefsResponse) => void): Promise<DescribeFlowBriefsResponse>;
510
+ /**
511
+ * 该接口用于在使用视频认证方式签署合同后,获取用户的签署人脸认证视频。
512
+
513
+ 1. 该接口**仅适用于在H5端签署**的合同,**在通过视频认证后**获取人脸图片。
514
+ 2. 该接口**不支持小程序端**的签署人脸图片获取。
515
+ 3. 请在**签署完成后的三天内**获取人脸图片,**过期后将无法获取**。
516
+
517
+ **注意:该接口需要开通白名单,请联系客户经理开通后使用。**
518
+ */
519
+ DescribeSignFaceVideo(req: DescribeSignFaceVideoRequest, cb?: (error: string, rep: DescribeSignFaceVideoResponse) => void): Promise<DescribeSignFaceVideoResponse>;
664
520
  /**
665
521
  * 该接口用于发起合同后,生成用户的签署链接 <br/>
666
522
 
@@ -672,37 +528,44 @@ p.s.
672
528
  */
673
529
  CreateFlowSignUrl(req: CreateFlowSignUrlRequest, cb?: (error: string, rep: CreateFlowSignUrlResponse) => void): Promise<CreateFlowSignUrlResponse>;
674
530
  /**
675
- * 获取个人用户认证证书图片下载URL
676
-
677
- 个人用户认证证书图片样式如下图
678
-
679
- ![image](https://dyn.ess.tencent.cn/guide/capi/CreatePersonAuthCertificateImage.png)
531
+ * 用来撤销<a href="https://qian.tencent.com/developers/companyApis/users/CreateUserAutoSignEnableUrl" target="_blank">获取个人用户自动签的开通状态</a>生成的开通链接,撤销生成的链接失效。
680
532
 
681
533
  注:
682
- <ul>
683
- <li>只能获取个人用户证明图片, 企业员工的暂不支持</li>
684
- <li>处方单等特殊场景专用,此接口为白名单功能,使用前请联系对接的客户经理沟通。 </li>
685
- </ul>
534
+ <ul><li>若个人用户已经用生成的完成自动签署的开通,撤销链接无效不会对开通结果产生影响(此情况接口会报错)。</li>
535
+ <li>处方单等特殊场景专用,此接口为白名单功能,使用前请联系对接的客户经理沟通。</li></ul>
686
536
  */
687
- CreatePersonAuthCertificateImage(req: CreatePersonAuthCertificateImageRequest, cb?: (error: string, rep: CreatePersonAuthCertificateImageResponse) => void): Promise<CreatePersonAuthCertificateImageResponse>;
537
+ CancelUserAutoSignEnableUrl(req: CancelUserAutoSignEnableUrlRequest, cb?: (error: string, rep: CancelUserAutoSignEnableUrlResponse) => void): Promise<CancelUserAutoSignEnableUrlResponse>;
688
538
  /**
689
- * 此接口(CreateConvertTaskApi)用来将word、excel、html、图片、txt类型文件转换为PDF文件。<br />
690
- 前提条件:源文件已经通过 <a href="https://qian.tencent.com/developers/companyApis/templatesAndFiles/UploadFiles" target="_blank">文件上传接口</a>完成上传,并得到了源文件的资源Id。<br />
691
- 适用场景1:已经上传了一个word文件,希望将该word文件转换成pdf文件后发起合同
692
- 适用场景2:已经上传了一个jpg图片文件,希望将该图片文件转换成pdf文件后发起合同<br />
693
- 转换文件是一个耗时操作,若想查看转换任务是否完成,可以通过<a href="https://qian.tencent.com/developers/companyApis/templatesAndFiles/GetTaskResultApi" target="_blank">查询转换任务状态</a>接口获取任务状态。<br />
694
- 注:
695
- 1. `支持的文件类型有doc、docx、xls、xlsx、html、jpg、jpeg、png、bmp、txt`
696
- 2. `可通过发起合同时设置预览来检查转换文件是否达到预期效果`
539
+ * 通过此接口(DescribeBillUsageDetail)查询该企业的套餐消耗详情。
697
540
  */
698
- CreateConvertTaskApi(req: CreateConvertTaskApiRequest, cb?: (error: string, rep: CreateConvertTaskApiResponse) => void): Promise<CreateConvertTaskApiResponse>;
541
+ DescribeBillUsageDetail(req: DescribeBillUsageDetailRequest, cb?: (error: string, rep: DescribeBillUsageDetailResponse) => void): Promise<DescribeBillUsageDetailResponse>;
699
542
  /**
700
- * 查询流程基础信息
701
- 适用场景:可用于主动查询某个合同流程的签署状态信息。可以配合回调通知使用。
702
-
703
- 注: `每个企业限制日调用量限制:100W,当日超过此限制后再调用接口返回错误`
543
+ * 此接口(DescribeIntegrationDepartments)用于查询企业的部门信息列表,支持查询单个部门节点或单个部门节点及一级子节点部门列表。
704
544
  */
705
- DescribeFlowBriefs(req: DescribeFlowBriefsRequest, cb?: (error: string, rep: DescribeFlowBriefsResponse) => void): Promise<DescribeFlowBriefsResponse>;
545
+ DescribeIntegrationDepartments(req: DescribeIntegrationDepartmentsRequest, cb?: (error: string, rep: DescribeIntegrationDepartmentsResponse) => void): Promise<DescribeIntegrationDepartmentsResponse>;
546
+ /**
547
+ * 此接口(ModifyIntegrationDepartment)用于更新企业的部门信息,支持更新部门名称、客户系统部门ID和部门序号等信息。
548
+ */
549
+ ModifyIntegrationDepartment(req: ModifyIntegrationDepartmentRequest, cb?: (error: string, rep: ModifyIntegrationDepartmentResponse) => void): Promise<ModifyIntegrationDepartmentResponse>;
550
+ /**
551
+ * 此API接口用来查询加入集团的成员企业信息
552
+ 适用场景:子企业在加入集团后,主企业可能通过此接口获取到所有的子企业列表,方便进行展示和统计
553
+ */
554
+ DescribeOrganizationGroupOrganizations(req: DescribeOrganizationGroupOrganizationsRequest, cb?: (error: string, rep: DescribeOrganizationGroupOrganizationsResponse) => void): Promise<DescribeOrganizationGroupOrganizationsResponse>;
555
+ /**
556
+ * 该接口会生成一个手机号变更的链接,用户可以通过该链接进入电子签系统进行手机号的变更。
557
+ 该接口支持员工和个人端手机号的变更。
558
+ */
559
+ CreateUserMobileChangeUrl(req: CreateUserMobileChangeUrlRequest, cb?: (error: string, rep: CreateUserMobileChangeUrlResponse) => void): Promise<CreateUserMobileChangeUrlResponse>;
560
+ /**
561
+ * 本接口(DeleteSealPolicies)用于撤销企业员工持有的印章权限
562
+ */
563
+ DeleteSealPolicies(req: DeleteSealPoliciesRequest, cb?: (error: string, rep: DeleteSealPoliciesResponse) => void): Promise<DeleteSealPoliciesResponse>;
564
+ /**
565
+ * 本接口(DescribeFileUrls)用于查询文件的下载URL。
566
+ 适用场景:通过传参合同流程编号,下载对应的合同PDF文件流到本地。
567
+ */
568
+ DescribeFileUrls(req: DescribeFileUrlsRequest, cb?: (error: string, rep: DescribeFileUrlsResponse) => void): Promise<DescribeFileUrlsResponse>;
706
569
  /**
707
570
  * 此接口(CreateIntegrationRole)用来创建企业自定义的SaaS角色或集团角色。
708
571
 
@@ -718,131 +581,108 @@ p.s.
718
581
  */
719
582
  CreateIntegrationRole(req: CreateIntegrationRoleRequest, cb?: (error: string, rep: CreateIntegrationRoleResponse) => void): Promise<CreateIntegrationRoleResponse>;
720
583
  /**
721
- * 此接口用于赋予员工指定的角色权限,如需解绑请使用 DeleteIntegrationRoleUsers 接口。
722
- */
723
- CreateIntegrationUserRoles(req: CreateIntegrationUserRolesRequest, cb?: (error: string, rep: CreateIntegrationUserRolesResponse) => void): Promise<CreateIntegrationUserRolesResponse>;
724
- /**
725
- * 该接口用于在使用视频认证方式签署合同后,获取用户的签署人脸认证视频。
726
-
727
- 1. 该接口**仅适用于在H5端签署**的合同,**在通过视频认证后**获取人脸图片。
728
- 2. 该接口**不支持小程序端**的签署人脸图片获取。
729
- 3. 请在**签署完成后的三天内**获取人脸图片,**过期后将无法获取**。
730
-
731
- **注意:该接口需要开通白名单,请联系客户经理开通后使用。**
732
- */
733
- DescribeSignFaceVideo(req: DescribeSignFaceVideoRequest, cb?: (error: string, rep: DescribeSignFaceVideoResponse) => void): Promise<DescribeSignFaceVideoResponse>;
734
- /**
735
- * 此接口(ModifyIntegrationRole)用来更新企业自定义的SaaS角色或集团角色。
584
+ * 管理企业扩展服务 ,企业经办人需要是企业超管或者法人。
736
585
 
737
- 适用场景1:更新当前企业的自定义SaaS角色或集团角色,并且更新时不进行角色中权限的更新(PermissionGroups 参数不传)。
586
+ 跳转小程序的几种方式:主要是设置不同的EndPoint
587
+ 1. 通过链接Url直接跳转到小程序,不需要返回
588
+ 设置EndPoint为WEIXINAPP,得到链接打开即可。
738
589
 
739
- 适用场景2:更新当前企业的自定义SaaS角色或集团角色,并且更新时进行角色中权限的设置(PermissionGroups 参数要传),权限树内容 PermissionGroups 可参考接口 DescribeIntegrationRoles 的输出。此处注意权限树内容可能会更新,需尽量拉取最新的权限树内容,并且权限树内容 PermissionGroups 必须是一颗完整的权限树。
590
+ 2. 客户App直接跳转到小程序-->腾讯电子签小程序操作完成-->返回App
591
+ 跳转到小程序的实现,参考官方文档<a href="https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/launchApp.html">打开 App</a>
592
+ 设置EndPoint为APP,得到path。
740
593
 
741
- 适用场景3:更新集团角色管理的子企业列表,可通过设置 SubOrganizationIds 参数达到此效果。
594
+ 3. 客户小程序直接跳到电子签小程序-->腾讯电子签小程序操作完成--->回到客户小程序
595
+ 跳转到小程序的实现,参考官方文档(分为<a href="https://developers.weixin.qq.com/miniprogram/dev/api/navigate/wx.navigateToMiniProgram.html">全屏</a>、<a href="https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/openEmbeddedMiniProgram.html">半屏</a>两种方式),如何配置也可以请参考: <a href="https://qian.tencent.com/developers/company/openwxminiprogram">跳转电子签小程序配置</a>
596
+ 设置EndPoint为APP,得到path。
742
597
 
743
- 适用场景4:主企业代理子企业操作的场景,需要设置Agent参数,并且ProxyOrganizationId设置为子企业的id即可。
598
+ 4.其中小程序的原始Id如下,或者查看小程序信息自助获取。
744
599
 
745
- 注意事项:SaaS角色和集团角色对应的权限树是不一样的。
600
+ | 小程序 | AppID | 原始ID |
601
+ | ------------ | ------------ | ------------ |
602
+ | 腾讯电子签(正式版) | wxa023b292fd19d41d | gh_da88f6188665 |
603
+ | 腾讯电子签Demo | wx371151823f6f3edf | gh_39a5d3de69fa |
746
604
  */
747
- ModifyIntegrationRole(req: ModifyIntegrationRoleRequest, cb?: (error: string, rep: ModifyIntegrationRoleResponse) => void): Promise<ModifyIntegrationRoleResponse>;
605
+ ModifyExtendedService(req: ModifyExtendedServiceRequest, cb?: (error: string, rep: ModifyExtendedServiceResponse) => void): Promise<ModifyExtendedServiceResponse>;
748
606
  /**
749
- * 通过此接口,可以创建小程序批量签署链接,个人/企业员工可通过此链接跳转至小程序进行批量签署。请确保生成链接时的身份信息与签署合同参与方的信息保持一致。
607
+ * 在已发起的签署流程中,支持对签署截止日期进行延期操作,主要涉及以下两个维度:
608
+ 1. 合同(流程)维度:只需要传递签署流程ID。这将对签署流程和发起时未单独设定签署截止时间的签署人进行延期操作。
609
+ 2. 签署人维度:需要传递流程ID和签署人ID。此操作将对签署人进行延期操作,尤其对于有序的合同(流程),签署截止时间不能超过后一位合同(流程)签署人的流程截止时间。
750
610
 
751
- 注意事项:
752
- - 使用此接口生成链接,需要贵企业先开通 <font color="red">使用手机号验证签署方身份 </font>功能。您可以在 <b>【腾讯电子签网页端】->【企业设置】->【拓展服务】</b>中找到该功能。
753
- - 生成批量签署链接时,<font color="red">合同目标参与方的状态必须为<b>待签署</b>状态</font>。签署人点击链接后需要输入短信验证码才能查看合同内容。
754
- - 企业员工批量签署链接:需要传入签署方所在企业名称,用户名字和手机号(或者身份证件信息)参数来生成签署链接。<font color="red">该签署方企业必须已完成腾讯电子签企业认证</font>
755
- - 个人批量签署链接:需要传入签署方用户名字和手机号(或者身份证件信息)参数来生成签署链接。个人批量签署进行的合同的签名区, 全部变成<font color="red">手写签名</font>(不管合同里边设置的签名限制)来进行。
756
- */
757
- CreateBatchSignUrl(req: CreateBatchSignUrlRequest, cb?: (error: string, rep: CreateBatchSignUrlResponse) => void): Promise<CreateBatchSignUrlResponse>;
758
- /**
759
- * 使用此接口,您可以创建企业批量签署链接,员工只需点击链接即可跳转至控制台进行批量签署。<br/>
760
- 附注:
761
- - 员工必须需作为批量签署合同的签署方,or或签合同的候选人之一。
762
- - 对于本方企业:如有UserId,应以UserId为主要标识;如果没有UserId,则必须填写Name和Mobile信息。
763
- - 若要生成他发企业签署链接:应传RecipientIds,且制定的合同必须是接口调用方发起的。
764
- - 支持待签署、待填写状态的合同生成签署链接。
611
+ 此接口有如下限制条件:
612
+ 1. 执行操作的员工需为发起方企业的超级管理员、法定代表人或签署流程的发起人。
613
+ 2. 在延长整个签署流程时,签署流程应至少还有一方未签署(即签署流程不能处于已全部签署完成、已拒签、已过期、已撤回、拒绝填写、已解除等合同状态)。
614
+ 3. 在延长整个签署流程时,新的签署截止日期应晚于合同已设定的签署截止日期和当前日期。
615
+ 4. 在延长签署方的截止时间时,签署方不能处于流程完结或已终止状态(即签署人不能处于已签署、已拒签、已过期、已撤回、拒绝填写、已解除等状态)。
616
+ 5. 在延长签署方的截止时间时,签署方的新签署截止日期应晚于当前日期和签署方已设定的截止日期。若为有序合同,还应早于或等于下一签署人的截止日期,且早于签署流程整体的截止日期。
617
+ 6. 不支持操作合同组合同。
765
618
  */
766
- CreateOrganizationBatchSignUrl(req: CreateOrganizationBatchSignUrlRequest, cb?: (error: string, rep: CreateOrganizationBatchSignUrlResponse) => void): Promise<CreateOrganizationBatchSignUrlResponse>;
619
+ ModifyFlowDeadline(req: ModifyFlowDeadlineRequest, cb?: (error: string, rep: ModifyFlowDeadlineResponse) => void): Promise<ModifyFlowDeadlineResponse>;
767
620
  /**
768
- * 指定需要批量催办的签署流程ID,批量催办合同,最多100个。需要符合以下条件的合同才可被催办:
769
-
770
- 1. 发起合同时,**签署人的NotifyType需设置为sms**
771
- 2. 合同中当前状态为 **待签署** 的签署人是催办的对象
772
- 3. **每个合同只能催办一次**
621
+ * 获取区块链存证报告查看链接/二维码接口
773
622
 
774
- **催办的效果**: 对方会收到如下的短信通知
623
+ 适用场景:企业员工可以通过此接口生成合同区块链存证报告的查看链接/二维码,以供他人扫码打开腾讯电子签小程序查看。
775
624
 
776
- ![image](https://qcloudimg.tencent-cloud.cn/raw/3caf94b7f540fa5736270d38528d3a7b.png)
625
+ [点击查看区块链存证报告样式](https://qcloudimg.tencent-cloud.cn/raw/47d5e9c2ffa90ad4e27b3cd14095aa08.jpg)
777
626
 
778
- 注:`合同催办是白名单功能,请联系客户经理申请开白后使用`
627
+ 注:
628
+ <ul><li>1. 二维码下载链接过期时间为5分钟,请尽快下载保存。二维码/短链的过期时间为<font color="red">7天</font>,超过有效期则不可用。</li>
629
+ <li>2. 合同状态需为<font color="red">签署完成</font> 、<font color="red">已解除</font>才能生成报告查看二维码/短链。</li>
630
+ <li>3. 调用接口时,需确保接口调用身份拥有此合同的访问数据权限或为合同参与方。</li>
631
+ <li>4. 通过扫码或者点击链接,用户无需登录或者鉴权即可查看对应合同的区块链存证报告,请妥善保管好二维码或链接。</li></ul>
779
632
  */
780
- CreateFlowReminds(req: CreateFlowRemindsRequest, cb?: (error: string, rep: CreateFlowRemindsResponse) => void): Promise<CreateFlowRemindsResponse>;
633
+ CreateFlowBlockchainEvidenceUrl(req: CreateFlowBlockchainEvidenceUrlRequest, cb?: (error: string, rep: CreateFlowBlockchainEvidenceUrlResponse) => void): Promise<CreateFlowBlockchainEvidenceUrlResponse>;
781
634
  /**
782
- * 查询流程填写控件内容,可以根据合同流程ID查询该合同流程相关联的填写控件信息和填写内容。
635
+ * 用于客户企业在调用生成[C端用户实名链接(CreateUserVerifyUrl)](https://qian.tencent.com/developers/companyApis/users/CreateUserVerifyUrl)接口之前判断C端用户是否实名,如果已经实名,就不需要再次调用生成C端链接接口去实名
636
+ 注意:此接口仅会返回当前员工是否通过[C端用户实名链接(CreateUserVerifyUrl)](https://qian.tencent.com/developers/companyApis/users/CreateUserVerifyUrl)所实名的员工是否实名,并不会返回个人用户自己在电子签进行实名的状况
783
637
  */
784
- DescribeFlowComponents(req: DescribeFlowComponentsRequest, cb?: (error: string, rep: DescribeFlowComponentsResponse) => void): Promise<DescribeFlowComponentsResponse>;
638
+ DescribeUserVerifyStatus(req: DescribeUserVerifyStatusRequest, cb?: (error: string, rep: DescribeUserVerifyStatusResponse) => void): Promise<DescribeUserVerifyStatusResponse>;
785
639
  /**
786
- * 通过此接口可以关闭个人用户自动签功能。
787
- 无需对应的用户刷脸等方式同意即可关闭。
640
+ * 此接口(ModifyIntegrationRole)用来更新企业自定义的SaaS角色或集团角色。
788
641
 
789
- 注意:
642
+ 适用场景1:更新当前企业的自定义SaaS角色或集团角色,并且更新时不进行角色中权限的更新(PermissionGroups 参数不传)。
790
643
 
791
- <ul><li>处方单等特殊场景专用,此接口为白名单功能,使用前请联系对接的客户经理沟通。</li>
792
- <li>如果此用户在开通时候绑定过个人自动签账号许可, 关闭此用户的自动签不会归还个人自动签账号许可的额度。</li></ul>
793
- */
794
- DisableUserAutoSign(req: DisableUserAutoSignRequest, cb?: (error: string, rep: DisableUserAutoSignResponse) => void): Promise<DisableUserAutoSignResponse>;
795
- /**
796
- * 此接口(DescribePersonCertificate)用于查询个人数字证书信息。<br />注:`1.目前仅用于查询开通了医疗自动签署功能的个人数字证书。`<br />`2.调用此接口需要开通白名单,使用前请联系相关人员开通白名单。`
797
- */
798
- DescribePersonCertificate(req: DescribePersonCertificateRequest, cb?: (error: string, rep: DescribePersonCertificateResponse) => void): Promise<DescribePersonCertificateResponse>;
799
- /**
800
- * 通过AuthCode查询个人用户是否实名
644
+ 适用场景2:更新当前企业的自定义SaaS角色或集团角色,并且更新时进行角色中权限的设置(PermissionGroups 参数要传),权限树内容 PermissionGroups 可参考接口 DescribeIntegrationRoles 的输出。此处注意权限树内容可能会更新,需尽量拉取最新的权限树内容,并且权限树内容 PermissionGroups 必须是一颗完整的权限树。
801
645
 
646
+ 适用场景3:更新集团角色管理的子企业列表,可通过设置 SubOrganizationIds 参数达到此效果。
802
647
 
803
- 注意:
804
- <ul>
805
- <li>此接口为合作引流场景使用,使用`有白名单限制`,使用前请联系对接的客户经理沟通。</li>
806
- <li>`AuthCode 只能使用一次`,查询一次再次查询会返回错误</li>
807
- </ul>
808
- */
809
- DescribeThirdPartyAuthCode(req: DescribeThirdPartyAuthCodeRequest, cb?: (error: string, rep: DescribeThirdPartyAuthCodeResponse) => void): Promise<DescribeThirdPartyAuthCodeResponse>;
810
- /**
811
- * 给医疗个人自动签许可续期。续期成功后,可对医疗自动签许可追加一年有效期,只可续期一次。
648
+ 适用场景4:主企业代理子企业操作的场景,需要设置Agent参数,并且ProxyOrganizationId设置为子企业的id即可。
812
649
 
813
- 注意: `处方单等特殊场景专用,此接口为白名单功能,使用前请联系对接的客户经理沟通。`
650
+ 注意事项:SaaS角色和集团角色对应的权限树是不一样的。
814
651
  */
815
- RenewAutoSignLicense(req: RenewAutoSignLicenseRequest, cb?: (error: string, rep: RenewAutoSignLicenseResponse) => void): Promise<RenewAutoSignLicenseResponse>;
652
+ ModifyIntegrationRole(req: ModifyIntegrationRoleRequest, cb?: (error: string, rep: ModifyIntegrationRoleResponse) => void): Promise<ModifyIntegrationRoleResponse>;
816
653
  /**
817
- * 用来设置本企业嵌入式页面个性化主题配置(例如是否展示电子签logo、定义主题色等),设置后获取的web签署界面都会使用此配置进行展示。
654
+ * 本接口(CreateBatchOrganizationRegistrationTasks)用于批量创建企业认证链接
655
+ 该接口为异步提交任务接口,需要跟查询企业批量认证链接(DescribeBatchOrganizationRegistrationUrls) 配合使用.
818
656
 
819
- 如果多次调用,会以最后一次的配置为准
820
- */
821
- CreateWebThemeConfig(req: CreateWebThemeConfigRequest, cb?: (error: string, rep: CreateWebThemeConfigResponse) => void): Promise<CreateWebThemeConfigResponse>;
822
- /**
823
- * 查询企业印章的列表,需要操作者具有查询印章权限
824
- 客户指定需要获取的印章数量和偏移量,数量最多100,超过100按100处理;入参InfoType控制印章是否携带授权人信息,为1则携带,为0则返回的授权人信息为空数组。接口调用成功返回印章的信息列表还有企业印章的总数。
825
- */
826
- DescribeOrganizationSeals(req: DescribeOrganizationSealsRequest, cb?: (error: string, rep: DescribeOrganizationSealsResponse) => void): Promise<DescribeOrganizationSealsResponse>;
827
- /**
828
- * 该接口(DeleteIntegrationEmployees)用于离职本企业员工,同时可选择是否进行离职交接。
657
+ 批量创建链接有以下限制:
829
658
 
659
+ 1. 单次最多创建10个企业。
660
+ 2. 一天同一家企业最多创建8000家企业。
661
+ 3. 同一批创建的企业不能重复 其中包括 企业名称,企业统一信用代码
662
+ 4. 跳转到小程序的实现,参考微信官方文档(分为全屏、半屏两种方式),如何配置也可以请参考: 跳转电子签小程序配置
830
663
 
831
- - 如果该员工没有未处理的合同,可不设置交接人的ReceiveUserId或ReceiveOpenId进行离职操作。
832
- - 如果该员工有未处理的合同,需要设置ReceiveUserId或ReceiveOpenId表示交接的负责人,交接后员工会进行离职操作。
664
+ 注:
833
665
 
834
- 未处理的合同包括以下:
666
+ 1. **此接口需要购买单独的实名套餐包方可调用,如有需求请联系对接人员评估**
667
+
668
+ 2. 如果生成的链接是APP链接,跳转到小程序的实现,参考微信官方文档(分为<a href="https://developers.weixin.qq.com/miniprogram/dev/api/navigate/wx.navigateToMiniProgram.html">全屏</a>、<a href="https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/openEmbeddedMiniProgram.html">半屏</a>两种方式),如何配置也可以请参考: <a href="https://qian.tencent.com/developers/company/openwxminiprogram">跳转电子签小程序配置</a>
669
+
835
670
 
836
- - 待签署的合同(包括顺序签署还没有轮到的合同,此类合同某些情况可能不会出现在用户的列表中)。
837
- - 待填写的合同。
838
- - 待解除的合同等。
671
+ **腾讯电子签小程序的AppID 和 原始Id如下:**
839
672
 
840
- 注:
841
- 1. <font color="red">超管或法人身份的员工不能被离职</font>, 需要在控制台或小程序更换法人和超管后进行离职删除。
842
- 2. <font color="red">员工存在待处理合同时必须交接</font>后才能离职无人交接时不能被离职删除。
843
- 3. 未实名的员工可以直接离职,不用交接合同
673
+ | 小程序 | AppID | 原始ID |
674
+ | --- | --- | --- |
675
+ | 腾讯电子签(正式版) | wxa023b292fd19d41d | gh_da88f6188665 |
676
+ | 腾讯电子签Demo | wx371151823f6f3edf | gh_39a5d3de69fa |
677
+ */
678
+ CreateBatchOrganizationRegistrationTasks(req: CreateBatchOrganizationRegistrationTasksRequest, cb?: (error: string, rep: CreateBatchOrganizationRegistrationTasksResponse) => void): Promise<CreateBatchOrganizationRegistrationTasksResponse>;
679
+ /**
680
+ * 创建企业扩展服务授权,当前仅支持授权 “企业自动签” 和 “批量签署” 给企业员工。
681
+ 该接口作用和电子签控制台 企业设置-扩展服务-企业自动签署和批量签署授权 两个模块功能相同,可通过该接口授权给企业员工。
682
+
683
+ 注:“企业自动签授权”支持集团代子企业操作,请联系运营开通此功能。
844
684
  */
845
- DeleteIntegrationEmployees(req: DeleteIntegrationEmployeesRequest, cb?: (error: string, rep: DeleteIntegrationEmployeesResponse) => void): Promise<DeleteIntegrationEmployeesResponse>;
685
+ CreateExtendedServiceAuthInfos(req: CreateExtendedServiceAuthInfosRequest, cb?: (error: string, rep: CreateExtendedServiceAuthInfosResponse) => void): Promise<CreateExtendedServiceAuthInfosResponse>;
846
686
  /**
847
687
  * 此接口(CreateOrganizationInfoChangeUrl)用于创建企业信息变更链接,支持创建企业超管变更链接或企业基础信息变更链接,通过入参ChangeType指定。
848
688
 
@@ -881,47 +721,62 @@ p.s.
881
721
  */
882
722
  CreateOrganizationInfoChangeUrl(req: CreateOrganizationInfoChangeUrlRequest, cb?: (error: string, rep: CreateOrganizationInfoChangeUrlResponse) => void): Promise<CreateOrganizationInfoChangeUrlResponse>;
883
723
  /**
884
- * 用来撤销<a href="https://qian.tencent.com/developers/companyApis/users/CreateUserAutoSignEnableUrl" target="_blank">获取个人用户自动签的开通状态</a>生成的开通链接,撤销生成的链接失效。
885
-
724
+ * 此接口(CreateConvertTaskApi)用来将word、excel、html、图片、txt类型文件转换为PDF文件。<br />
725
+ 前提条件:源文件已经通过 <a href="https://qian.tencent.com/developers/companyApis/templatesAndFiles/UploadFiles" target="_blank">文件上传接口</a>完成上传,并得到了源文件的资源Id。<br />
726
+ 适用场景1:已经上传了一个word文件,希望将该word文件转换成pdf文件后发起合同
727
+ 适用场景2:已经上传了一个jpg图片文件,希望将该图片文件转换成pdf文件后发起合同<br />
728
+ 转换文件是一个耗时操作,若想查看转换任务是否完成,可以通过<a href="https://qian.tencent.com/developers/companyApis/templatesAndFiles/GetTaskResultApi" target="_blank">查询转换任务状态</a>接口获取任务状态。<br />
886
729
  注:
887
- <ul><li>若个人用户已经用生成的完成自动签署的开通,撤销链接无效不会对开通结果产生影响(此情况接口会报错)。</li>
888
- <li>处方单等特殊场景专用,此接口为白名单功能,使用前请联系对接的客户经理沟通。</li></ul>
889
- */
890
- CancelUserAutoSignEnableUrl(req: CancelUserAutoSignEnableUrlRequest, cb?: (error: string, rep: CancelUserAutoSignEnableUrlResponse) => void): Promise<CancelUserAutoSignEnableUrlResponse>;
891
- /**
892
- * 通过此接口(DescribeBillUsageDetail)查询该企业的套餐消耗详情。
730
+ 1. `支持的文件类型有doc、docx、xls、xlsx、html、jpg、jpeg、png、bmp、txt`
731
+ 2. `可通过发起合同时设置预览来检查转换文件是否达到预期效果`
893
732
  */
894
- DescribeBillUsageDetail(req: DescribeBillUsageDetailRequest, cb?: (error: string, rep: DescribeBillUsageDetailResponse) => void): Promise<DescribeBillUsageDetailResponse>;
733
+ CreateConvertTaskApi(req: CreateConvertTaskApiRequest, cb?: (error: string, rep: CreateConvertTaskApiResponse) => void): Promise<CreateConvertTaskApiResponse>;
895
734
  /**
896
- * 此接口(DescribeIntegrationDepartments)用于查询企业的部门信息列表,支持查询单个部门节点或单个部门节点及一级子节点部门列表。
735
+ * 本接口(CreateOrganizationAuthUrl)用于生成创建企业认证链接。
736
+ 用于业务方系统自己生成认证链接进行跳转.而不用电子签自带的生成链接
737
+
738
+ 注: **此接口需要购买单独的实名套餐包方可调用,如有需求请联系对接人员评估**
897
739
  */
898
- DescribeIntegrationDepartments(req: DescribeIntegrationDepartmentsRequest, cb?: (error: string, rep: DescribeIntegrationDepartmentsResponse) => void): Promise<DescribeIntegrationDepartmentsResponse>;
740
+ CreateOrganizationAuthUrl(req: CreateOrganizationAuthUrlRequest, cb?: (error: string, rep: CreateOrganizationAuthUrlResponse) => void): Promise<CreateOrganizationAuthUrlResponse>;
899
741
  /**
900
- * 此接口(CreateFlowGroupByFiles)可用于通过多个文件创建合同组签署流程。
742
+ * 此接口(UploadFiles)文件上传。<br/>
901
743
 
902
- 适用场景:该接口适用于需要一次性完成多份合同签署的情况,多份合同一般具有关联性,用户以目录的形式查看合同。
744
+ 适用场景:用于合同,印章的文件上传。文件上传以后,
745
+ 如果是PDF格式文件可配合<a href="https://qian.tencent.com/developers/companyApis/startFlows/CreateFlowByFiles" target="_blank">用PDF文件创建签署流程</a>接口进行合同流程的发起
746
+ 如果是其他类型可以配合<a href="https://qian.tencent.com/developers/companyApis/templatesAndFiles/CreateConvertTaskApi" target="_blank">创建文件转换任务</a>接口转换成PDF文件
903
747
 
904
- 注意事项:使用该接口需要先依赖[多文件上传](https://qian.tencent.com/developers/companyApis/templatesAndFiles/UploadFiles)接口返回的FileIds。
748
+ 注:
749
+ 1. 图片类型(png/jpg/jpeg)限制大小为5M以下, PDF/word/excel等其他格式限制大小为60M以下
750
+ 2. 调用此接口时需要设置单独的Domain请求域名,<font color="red">联调开发环境为: file.test.ess.tencent.cn,正式环境需要设置为:file.ess.tencent.cn</font>,代码示例
751
+ ```
752
+ HttpProfile httpProfile = new HttpProfile();
753
+ httpProfile.setEndpoint("file.test.ess.tencent.cn");
754
+ ```
905
755
 
906
- 注:`合同发起后就会扣减合同的额度, 如果未签署完成时撤销合同会返还此额度(过期,拒签,签署完成,解除完成等状态不会返还额度),合同组中每个合同会扣减一个合同额度`
756
+ <font color="red">相关视频指引</font> <br>
757
+ 1. <a href="https://dyn.ess.tencent.cn/guide/apivideo/ess_uploadfiles.mp4" target="_blank">上传用于合同发起的PDF文件代码编写示例</a><br>
907
758
  */
908
- CreateFlowGroupByFiles(req: CreateFlowGroupByFilesRequest, cb?: (error: string, rep: CreateFlowGroupByFilesResponse) => void): Promise<CreateFlowGroupByFilesResponse>;
759
+ UploadFiles(req: UploadFilesRequest, cb?: (error: string, rep: UploadFilesResponse) => void): Promise<UploadFilesResponse>;
909
760
  /**
910
- * 此API接口用来查询加入集团的成员企业信息
911
- 适用场景:子企业在加入集团后,主企业可能通过此接口获取到所有的子企业列表,方便进行展示和统计
761
+ * 通过此接口,创建子企业激活记录,集团企业管理员可针对未激活的成员企业进行激活。
762
+ 激活子企业时请保证子企业 lisence 充足。
763
+ 这个操作与页面端激活成员企业操作类似
764
+ ![image](https://qcloudimg.tencent-cloud.cn/raw/c4e76fbac92e4ce451a03601c964793b.png)
765
+
766
+ p.s.
767
+ 此接口只能用于激活,不能用于续期。
912
768
  */
913
- DescribeOrganizationGroupOrganizations(req: DescribeOrganizationGroupOrganizationsRequest, cb?: (error: string, rep: DescribeOrganizationGroupOrganizationsResponse) => void): Promise<DescribeOrganizationGroupOrganizationsResponse>;
769
+ CreateIntegrationSubOrganizationActiveRecord(req: CreateIntegrationSubOrganizationActiveRecordRequest, cb?: (error: string, rep: CreateIntegrationSubOrganizationActiveRecordResponse) => void): Promise<CreateIntegrationSubOrganizationActiveRecordResponse>;
914
770
  /**
915
- * 本接口(CreateSealPolicy)用于对企业员工进行印章授权
771
+ * 查询流程填写控件内容,可以根据合同流程ID查询该合同流程相关联的填写控件信息和填写内容。
916
772
  */
917
- CreateSealPolicy(req: CreateSealPolicyRequest, cb?: (error: string, rep: CreateSealPolicyResponse) => void): Promise<CreateSealPolicyResponse>;
773
+ DescribeFlowComponents(req: DescribeFlowComponentsRequest, cb?: (error: string, rep: DescribeFlowComponentsResponse) => void): Promise<DescribeFlowComponentsResponse>;
918
774
  /**
919
- * 删除企业扩展服务授权,当前仅支持 “企业自动签” 和“批量签署” 的取消授权。
920
- 该接口作用和电子签控制台 企业设置-扩展服务-企业自动签署和批量签署授权 两个模块功能相同,可通过该接口取消企业员工授权。
775
+ * 用来设置本企业嵌入式页面个性化主题配置(例如是否展示电子签logo、定义主题色等),设置后获取的web签署界面都会使用此配置进行展示。
921
776
 
922
- 注:支持集团代子企业操作,请联系运营开通此功能。
777
+ 如果多次调用,会以最后一次的配置为准
923
778
  */
924
- DeleteExtendedServiceAuthInfos(req: DeleteExtendedServiceAuthInfosRequest, cb?: (error: string, rep: DeleteExtendedServiceAuthInfosResponse) => void): Promise<DeleteExtendedServiceAuthInfosResponse>;
779
+ CreateWebThemeConfig(req: CreateWebThemeConfigRequest, cb?: (error: string, rep: CreateWebThemeConfigResponse) => void): Promise<CreateWebThemeConfigResponse>;
925
780
  /**
926
781
  * 此接口(CreateIntegrationEmployees)用于创建企业员工。创建的员工初始化为未实名,如下图所示。
927
782
 
@@ -965,6 +820,133 @@ p.s.
965
820
  ![image](https://qcloudimg.tencent-cloud.cn/raw/b6ad1b79e0adaaa41d282456c72a1ee6.png)
966
821
  */
967
822
  CreateIntegrationEmployees(req: CreateIntegrationEmployeesRequest, cb?: (error: string, rep: CreateIntegrationEmployeesResponse) => void): Promise<CreateIntegrationEmployeesResponse>;
823
+ /**
824
+ * 该接口用于发起合同后,生成个人用户的批量签署链接, 暂时不支持企业端签署。
825
+ **注意:**
826
+ 1. 该接口目前仅支持签署人类型是**个人签署方的批量签署场景**(ApproverType=1)。
827
+ 2. 该接口可生成批量签署链接的C端签署人**必须仅有手写签名(控件类型为SIGN_SIGNATURE)和时间类型的签署控件**,**不支持填写控件** 。
828
+ 3. 请确保C端签署人在批量签署合同中**为待签署状态**,如需顺序签署请待前一位参与人签署完成后,再创建该C端用户的签署链接。
829
+ 4. 该签署链接**有效期为30分钟**,过期后将失效,如需签署可重新创建批量签署链接 。
830
+ 5. 该接口返回的签署链接适用于APP集成的场景,支持APP打开或浏览器直接打开,**不支持微信小程序嵌入**。
831
+ 跳转到小程序的实现,参考微信官方文档(分为<a href="https://developers.weixin.qq.com/miniprogram/dev/api/navigate/wx.navigateToMiniProgram.html">全屏</a>、<a href="https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/openEmbeddedMiniProgram.html">半屏</a>两种方式),如何配置也可以请参考: <a href="https://qian.tencent.com/developers/company/openwxminiprogram">跳转电子签小程序配置</a>。
832
+ 6. 因h5涉及人脸身份认证能力基于慧眼人脸核身,对Android和iOS系统均有一定要求, 因此<font color='red'>App嵌入H5签署合同需要按照慧眼提供的<a href="https://cloud.tencent.com/document/product/1007/61076">慧眼人脸核身兼容性文档</a>做兼容性适配</font>。
833
+ */
834
+ CreateBatchQuickSignUrl(req: CreateBatchQuickSignUrlRequest, cb?: (error: string, rep: CreateBatchQuickSignUrlResponse) => void): Promise<CreateBatchQuickSignUrlResponse>;
835
+ /**
836
+ * 新增/删除企业应用集成中的回调配置。
837
+ 新增回调配置只会增加不存在的CallbackUrl;删除操作将针对找到的相同CallbackUrl的配置进行删除。
838
+ 请确保回调地址能够接收并处理 HTTP POST 请求,并返回状态码 200 以表示处理正常。
839
+ 更多回调相关的说明参考文档[回调通知能力](https://qian.tencent.com/developers/company/callback_types_v2)
840
+ */
841
+ ModifyApplicationCallbackInfo(req: ModifyApplicationCallbackInfoRequest, cb?: (error: string, rep: ModifyApplicationCallbackInfoResponse) => void): Promise<ModifyApplicationCallbackInfoResponse>;
842
+ /**
843
+ * 用于撤销合同流程<br/>
844
+ 适用场景:如果某个合同流程当前至少还有一方没有签署,则可通过该接口取消该合同流程。常用于合同发错、内容填错,需要及时撤销的场景。<br/>
845
+ - **可撤回合同状态**:未全部签署完成
846
+ - **不撤回合同状态**:已全部签署完成、已拒签、已过期、已撤回、拒绝填写、已解除等合同状态。
847
+
848
+ 注:
849
+ 1. 如果合同流程中的参与方均已签署完毕,则无法通过该接口撤销合同,签署完毕的合同需要双方走解除流程将合同作废,可以参考<a href="https://qian.tencent.com/developers/companyApis/operateFlows/CreateReleaseFlow" target="_blank">发起解除合同流程</a>接口。
850
+
851
+ 2. 有对应合同撤销权限的人: <font color='red'>合同的发起人(并已经授予撤销权限)或者发起人所在企业的超管、法人</font>
852
+ ![image](https://qcloudimg.tencent-cloud.cn/raw/1f9f07fea6a70766cd286e0d58682ee2.png)
853
+
854
+ 3. <font color='red'>只有撤销没有参与方签署过或只有自动签署签署过的合同,才会返还合同额度。</font>
855
+
856
+ 4. 撤销后可以看合同PDF内容的人员: 发起方的超管, 发起方自己,发起方撤销合同的操作人员,已经签署合同、已经填写合同、邀请填写已经补充信息的参与人员
857
+ */
858
+ CancelFlow(req: CancelFlowRequest, cb?: (error: string, rep: CancelFlowResponse) => void): Promise<CancelFlowResponse>;
859
+ /**
860
+ * 此接口(UnbindEmployeeUserIdWithClientOpenId)用于解除电子签系统员工UserId与客户系统员工OpenId之间的绑定关系。
861
+
862
+ 注:`在调用此接口时,需确保OpenId已通过调用`<a href="https://qian.tencent.com/developers/companyApis/staffs/BindEmployeeUserIdWithClientOpenId" target="_blank">BindEmployeeUserIdWithClientOpenId</a>`接口与电子签系统的UserId绑定过。若OpenId未经过绑定,则无法使用此接口进行解绑操作。`
863
+ */
864
+ UnbindEmployeeUserIdWithClientOpenId(req: UnbindEmployeeUserIdWithClientOpenIdRequest, cb?: (error: string, rep: UnbindEmployeeUserIdWithClientOpenIdResponse) => void): Promise<UnbindEmployeeUserIdWithClientOpenIdResponse>;
865
+ /**
866
+ * 指定需要批量撤回的签署流程Id,以获取批量撤销链接。
867
+ 客户需指定要撤回的签署流程Id,最多可指定100个,超过100则不处理。
868
+ 接口调用成功后,将返回批量撤回合同的链接。通过点击链接,可跳转至电子签小程序完成批量撤回操作。
869
+
870
+ - **可撤回合同状态**:未全部签署完成
871
+ - **不撤回合同状态**:已全部签署完成、已拒签、已过期、已撤回、拒绝填写、已解除等合同状态。
872
+
873
+ 批量撤销结果可以通过接口返回的TaskId关联[批量撤销任务结果回调](https://qian.tencent.com/developers/company/callback_types_contracts_sign#%E4%B9%9D-%E6%89%B9%E9%87%8F%E6%92%A4%E9%94%80%E7%BB%93%E6%9E%9C%E5%9B%9E%E8%B0%83)或通过接口[查询批量撤销签署流程任务结果](https://qian.tencent.com/developers/companyApis/operateFlows/CreateBatchCancelFlowUrl)
874
+
875
+
876
+ 注:
877
+ 1. 如果合同流程中的参与方均已签署完毕,则无法通过该接口撤销合同,签署完毕的合同需要双方走解除流程将合同作废,可以参考<a href="https://qian.tencent.com/developers/companyApis/operateFlows/CreateReleaseFlow" target="_blank">发起解除合同流程</a>接口。
878
+
879
+ 2. 有对应合同撤销权限的人: <font color='red'>合同的发起人(并已经授予撤销权限)或者发起人所在企业的超管、法人</font>
880
+ ![image](https://qcloudimg.tencent-cloud.cn/raw/1f9f07fea6a70766cd286e0d58682ee2.png)
881
+
882
+ 3. <font color='red'>只有撤销没有参与方签署过或只有自动签署签署过的合同,才会返还合同额度。</font>
883
+ */
884
+ CreateBatchCancelFlowUrl(req: CreateBatchCancelFlowUrlRequest, cb?: (error: string, rep: CreateBatchCancelFlowUrlResponse) => void): Promise<CreateBatchCancelFlowUrlResponse>;
885
+ /**
886
+ * 此接口(DeleteIntegrationDepartment)用于删除企业的部门信息。
887
+ */
888
+ DeleteIntegrationDepartment(req: DeleteIntegrationDepartmentRequest, cb?: (error: string, rep: DeleteIntegrationDepartmentResponse) => void): Promise<DeleteIntegrationDepartmentResponse>;
889
+ /**
890
+ * 适用场景: 当通过模板或文件发起合同时,若未指定企业签署人信息,则可调用此接口补充或添加签署人。同一签署人可补充多个员工作为或签署人,最终实际签署人取决于谁先领取合同完成签署。
891
+
892
+ 限制条件:
893
+
894
+ 1.本企业(发起方企业)企业微信签署人仅支持通过企业微信UserId或姓名+手机号进行补充。
895
+ 2.本企业(发起方企业)非企业微信签署人仅支持通过姓名+手机号进行补充。
896
+ 3.他方企业仅支持通过姓名+手机号进行补充。
897
+ 4.个人签署人支持通过姓名+手机号进行补充,补充动态签署人时:若个人用户已完成实名,则可通过姓名+证件号码进行补充。
898
+ */
899
+ CreateFlowApprovers(req: CreateFlowApproversRequest, cb?: (error: string, rep: CreateFlowApproversResponse) => void): Promise<CreateFlowApproversResponse>;
900
+ /**
901
+ * 创建发起流程web页面
902
+ <br/>适用场景:通过该接口(CreatePrepareFlow)传入合同文件/模板编号及签署人信息,可获得发起流程的可嵌入页面,在页面完成签署控件等信息的编辑与确认后,快速发起流程。
903
+ <br/>注:该接口包含模板/文件发起流程的全部功能,调用接口后不会立即发起,需在可嵌入页面点击按钮进行发起流程。
904
+ */
905
+ CreatePrepareFlow(req: CreatePrepareFlowRequest, cb?: (error: string, rep: CreatePrepareFlowResponse) => void): Promise<CreatePrepareFlowResponse>;
906
+ /**
907
+ * 通过此接口(DescribeBillUsage)查询该企业的套餐套餐使用情况。
908
+ */
909
+ DescribeBillUsage(req: DescribeBillUsageRequest, cb?: (error: string, rep: DescribeBillUsageResponse) => void): Promise<DescribeBillUsageResponse>;
910
+ /**
911
+ * 此接口用于查询合同流程的详情信息,支持查询多个(数量不能超过100)。
912
+
913
+ 适用场景:可用于主动查询某个合同详情信息。
914
+ */
915
+ DescribeFlowInfo(req: DescribeFlowInfoRequest, cb?: (error: string, rep: DescribeFlowInfoResponse) => void): Promise<DescribeFlowInfoResponse>;
916
+ /**
917
+ * 本接口(CreateSealPolicy)用于对企业员工进行印章授权
918
+ */
919
+ CreateSealPolicy(req: CreateSealPolicyRequest, cb?: (error: string, rep: CreateSealPolicyResponse) => void): Promise<CreateSealPolicyResponse>;
920
+ /**
921
+ * 通过[获取批量撤销签署流程腾讯电子签小程序链接](https://qian.tencent.com/developers/companyApis/operateFlows/CreateBatchCancelFlowUrl)发起批量撤销任务后,可通过此接口查询批量撤销任务的结果。
922
+ */
923
+ DescribeCancelFlowsTask(req: DescribeCancelFlowsTaskRequest, cb?: (error: string, rep: DescribeCancelFlowsTaskResponse) => void): Promise<DescribeCancelFlowsTaskResponse>;
924
+ /**
925
+ * 生成集团加入链接,分享至子企业超管或者法人,子企业管理员可通过链接加入集团。
926
+ 注意:调用当前接口的企业 必须为集团企业。如何成为集团企业可以参考下面的文档[集团操作文档](https://qian.tencent.com/document/86707)
927
+ */
928
+ CreateOrganizationGroupInvitationLink(req: CreateOrganizationGroupInvitationLinkRequest, cb?: (error: string, rep: CreateOrganizationGroupInvitationLinkResponse) => void): Promise<CreateOrganizationGroupInvitationLinkResponse>;
929
+ /**
930
+ * 获取出证报告任务执行结果,返回报告 URL。
931
+
932
+
933
+
934
+ 注意:
935
+ <ul><li>使用此功能`需搭配出证套餐` ,使用前请联系对接的客户经理沟通。</li>
936
+ <li>需调用创建并返回出证报告接口<a href="https://qian.tencent.com/developers/companyApis/certificate/CreateFlowEvidenceReport" target="_blank">提交申请出证报告任务</a>获取报告编号后调用当前接口获取报告链接。</li></ul>
937
+
938
+ <svg id="SvgjsSvg1006" width="262" height="229" xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svgjs="http://svgjs.com/svgjs"><defs id="SvgjsDefs1007"><pattern patternUnits="userSpaceOnUse" id="pattern_mark_0" width="300" height="300"><text x="150" y="100" fill="rgba(229,229,229,0.8)" font-size="18" transform="rotate(-45, 150, 150)" style="dominant-baseline: middle; text-anchor: middle;"></text></pattern><pattern patternUnits="userSpaceOnUse" id="pattern_mark_1" width="300" height="300"><text x="150" y="200" fill="rgba(229,229,229,0.8)" font-size="18" transform="rotate(-45, 150, 150)" style="dominant-baseline: middle; text-anchor: middle;"></text></pattern><marker id="SvgjsMarker1021" markerWidth="12" markerHeight="8" refX="9" refY="4" viewBox="0 0 12 8" orient="auto" markerUnits="userSpaceOnUse" stroke-dasharray="0,0"><path id="SvgjsPath1022" d="M0,0 L12,4 L0,8 L0,0" fill="#323232" stroke="#323232" stroke-width="1"></path></marker></defs><rect id="svgbackgroundid" width="262" height="229" fill="transparent"></rect><rect id="SvgjsRect1009" width="262" height="229" fill="url(#pattern_mark_0)"></rect><rect id="SvgjsRect1010" width="262" height="229" fill="url(#pattern_mark_1)"></rect><g id="SvgjsG1011" transform="translate(31.75,25)"><path id="SvgjsPath1012" d="M 0 0L 198 0L 198 59L 0 59Z" stroke="rgba(86,146,48,1)" stroke-width="1" fill-opacity="1" fill="#e7ebed"></path><g id="SvgjsG1013"><text id="SvgjsText1014" font-family="微软雅黑" text-anchor="middle" font-size="13px" width="178px" fill="#323232" font-weight="400" align="middle" lineHeight="125%" anchor="middle" family="微软雅黑" size="13px" weight="400" font-style="" opacity="1" y="10.375" transform="rotate(0)"><tspan id="SvgjsTspan1015" dy="16" x="99"><tspan id="SvgjsTspan1016" style="text-decoration:;fill: rgb(28, 30, 33);">CreateFlowEvidenceReport</tspan></tspan><tspan id="SvgjsTspan1017" dy="16" x="99"><tspan id="SvgjsTspan1018" style="text-decoration:;fill: rgb(51, 51, 51);">提交申请出证报告任务</tspan></tspan></text></g></g><g id="SvgjsG1019"><path id="SvgjsPath1020" d="M130.75 84.5L130.75 114.5L130.75 114.5L130.75 143.2" stroke="#323232" stroke-width="1" fill="none" marker-end="url(#SvgjsMarker1021)"></path></g><g id="SvgjsG1023" transform="translate(25,145)"><path id="SvgjsPath1024" d="M 0 0L 211.5 0L 211.5 59L 0 59Z" stroke="rgba(86,146,48,1)" stroke-width="1" fill-opacity="1" fill="#e7ebed"></path><g id="SvgjsG1025"><text id="SvgjsText1026" font-family="微软雅黑" text-anchor="middle" font-size="13px" width="192px" fill="#323232" font-weight="400" align="middle" lineHeight="125%" anchor="middle" family="微软雅黑" size="13px" weight="400" font-style="" opacity="1" y="10.375" transform="rotate(0)"><tspan id="SvgjsTspan1027" dy="16" x="106"><tspan id="SvgjsTspan1028" style="text-decoration:;fill: rgb(28, 30, 33);">DescribeFlowEvidenceReport</tspan></tspan><tspan id="SvgjsTspan1029" dy="16" x="106"><tspan id="SvgjsTspan1030" style="text-decoration:;fill: rgb(51, 51, 51);">获取出证报告任务执行结果</tspan></tspan></text></g></g></svg>
939
+ */
940
+ DescribeFlowEvidenceReport(req: DescribeFlowEvidenceReportRequest, cb?: (error: string, rep: DescribeFlowEvidenceReportResponse) => void): Promise<DescribeFlowEvidenceReportResponse>;
941
+ /**
942
+ * 此接口(GetTaskResultApi)用来查询转换任务的状态。如需发起转换任务,请使用<a href="https://qian.tencent.com/developers/companyApis/templatesAndFiles/CreateConvertTaskApi" target="_blank">创建文件转换任务接口</a>进行资源文件的转换操作<br />
943
+ 前提条件:已调用 <a href="https://qian.tencent.com/developers/companyApis/templatesAndFiles/CreateConvertTaskApi" target="_blank">创建文件转换任务接口</a>进行文件转换,并得到了返回的转换任务Id。<br />
944
+
945
+ 适用场景:已创建一个文件转换任务,想查询该文件转换任务的状态,或获取转换后的文件资源Id。<br />
946
+ 注:
947
+ 1. `大文件转换所需的时间可能会比较长`
948
+ */
949
+ GetTaskResultApi(req: GetTaskResultApiRequest, cb?: (error: string, rep: GetTaskResultApiResponse) => void): Promise<GetTaskResultApiResponse>;
968
950
  /**
969
951
  * 此接口(UpdateIntegrationEmployees)<font color="red"><b>用于修改未实名企业员工信息(姓名,手机号,邮件、部门)</b></font>。
970
952
  如果企业员工已经实名, 姓名,手机号,邮件等需要企业员工到小程序或者控制台自己修改, 部门则需要超管到控制台分配
@@ -1001,17 +983,56 @@ p.s.
1001
983
  */
1002
984
  UpdateIntegrationEmployees(req: UpdateIntegrationEmployeesRequest, cb?: (error: string, rep: UpdateIntegrationEmployeesResponse) => void): Promise<UpdateIntegrationEmployeesResponse>;
1003
985
  /**
1004
- * 在已发起的签署流程中,支持对签署截止日期进行延期操作,主要涉及以下两个维度:
1005
- 1. 合同(流程)维度:只需要传递签署流程ID。这将对签署流程和发起时未单独设定签署截止时间的签署人进行延期操作。
1006
- 2. 签署人维度:需要传递流程ID和签署人ID。此操作将对签署人进行延期操作,尤其对于有序的合同(流程),签署截止时间不能超过后一位合同(流程)签署人的流程截止时间。
986
+ * 使用此接口,您可以创建企业批量签署链接,员工只需点击链接即可跳转至控制台进行批量签署。<br/>
987
+ 附注:
988
+ - 员工必须需作为批量签署合同的签署方,or或签合同的候选人之一。
989
+ - 对于本方企业:如有UserId,应以UserId为主要标识;如果没有UserId,则必须填写Name和Mobile信息。
990
+ - 若要生成他发企业签署链接:应传RecipientIds,且制定的合同必须是接口调用方发起的。
991
+ - 支持待签署、待填写状态的合同生成签署链接。
992
+ */
993
+ CreateOrganizationBatchSignUrl(req: CreateOrganizationBatchSignUrlRequest, cb?: (error: string, rep: CreateOrganizationBatchSignUrlResponse) => void): Promise<CreateOrganizationBatchSignUrlResponse>;
994
+ /**
995
+ * 通过AuthCode查询个人用户是否实名
1007
996
 
1008
- 此接口有如下限制条件:
1009
- 1. 执行操作的员工需为发起方企业的超级管理员、法定代表人或签署流程的发起人。
1010
- 2. 在延长整个签署流程时,签署流程应至少还有一方未签署(即签署流程不能处于已全部签署完成、已拒签、已过期、已撤回、拒绝填写、已解除等合同状态)。
1011
- 3. 在延长整个签署流程时,新的签署截止日期应晚于合同已设定的签署截止日期和当前日期。
1012
- 4. 在延长签署方的截止时间时,签署方不能处于流程完结或已终止状态(即签署人不能处于已签署、已拒签、已过期、已撤回、拒绝填写、已解除等状态)。
1013
- 5. 在延长签署方的截止时间时,签署方的新签署截止日期应晚于当前日期和签署方已设定的截止日期。若为有序合同,还应早于或等于下一签署人的截止日期,且早于签署流程整体的截止日期。
1014
- 6. 不支持操作合同组合同。
997
+
998
+ 注意:
999
+ <ul>
1000
+ <li>此接口为合作引流场景使用,使用`有白名单限制`,使用前请联系对接的客户经理沟通。</li>
1001
+ <li>`AuthCode 只能使用一次`,查询一次再次查询会返回错误</li>
1002
+ </ul>
1015
1003
  */
1016
- ModifyFlowDeadline(req: ModifyFlowDeadlineRequest, cb?: (error: string, rep: ModifyFlowDeadlineResponse) => void): Promise<ModifyFlowDeadlineResponse>;
1004
+ DescribeThirdPartyAuthCode(req: DescribeThirdPartyAuthCodeRequest, cb?: (error: string, rep: DescribeThirdPartyAuthCodeResponse) => void): Promise<DescribeThirdPartyAuthCodeResponse>;
1005
+ /**
1006
+ * 查询企业印章的列表,需要操作者具有查询印章权限
1007
+ 客户指定需要获取的印章数量和偏移量,数量最多100,超过100按100处理;入参InfoType控制印章是否携带授权人信息,为1则携带,为0则返回的授权人信息为空数组。接口调用成功返回印章的信息列表还有企业印章的总数。
1008
+ */
1009
+ DescribeOrganizationSeals(req: DescribeOrganizationSealsRequest, cb?: (error: string, rep: DescribeOrganizationSealsResponse) => void): Promise<DescribeOrganizationSealsResponse>;
1010
+ /**
1011
+ * 获取跳转至腾讯电子签小程序的签署链接
1012
+
1013
+ 适用场景:如果需要签署人在自己的APP、小程序、H5应用中签署,可以通过此接口获取跳转腾讯电子签小程序的签署跳转链接。
1014
+
1015
+ 跳转到小程序的实现,参考微信官方文档(分为<a href="https://developers.weixin.qq.com/miniprogram/dev/api/navigate/wx.navigateToMiniProgram.html">全屏</a>、<a href="https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/openEmbeddedMiniProgram.html">半屏</a>两种方式),如何配置也可以请参考: <a href="https://qian.tencent.com/developers/company/openwxminiprogram">跳转电子签小程序配置</a>
1016
+
1017
+ 注:
1018
+ <ul><li>1. 如果签署人是在PC端扫码签署,可以通过生成跳转链接自主转换成二维码,让签署人在PC端扫码签署</li>
1019
+ <li>2. 签署链接的有效期为<font color="red">90天</font>,超过有效期链接不可用</li>
1020
+ <li>3. 如果需跳转详情页(即PathType值为1)进行填写或签署合同,需指定签署方信息:姓名、手机号码、企业名称等,才能生成正确的跳转链接</li>
1021
+ <li>4. <font color="red">生成的链路后面不能再增加参数</font>(会出现覆盖链接中已有参数导致错误)</li></ul>
1022
+
1023
+ 其中小程序的原始Id如下,或者查看小程序信息自助获取。
1024
+
1025
+ | 小程序 | AppID | 原始ID |
1026
+ | ------------ | ------------ | ------------ |
1027
+ | 腾讯电子签(正式版) | wxa023b292fd19d41d | gh_da88f6188665 |
1028
+ | 腾讯电子签Demo | wx371151823f6f3edf | gh_39a5d3de69fa |
1029
+ */
1030
+ CreateSchemeUrl(req: CreateSchemeUrlRequest, cb?: (error: string, rep: CreateSchemeUrlResponse) => void): Promise<CreateSchemeUrlResponse>;
1031
+ /**
1032
+ * 删除企业扩展服务授权,当前仅支持 “企业自动签” 和“批量签署” 的取消授权。
1033
+ 该接口作用和电子签控制台 企业设置-扩展服务-企业自动签署和批量签署授权 两个模块功能相同,可通过该接口取消企业员工授权。
1034
+
1035
+ 注:支持集团代子企业操作,请联系运营开通此功能。
1036
+ */
1037
+ DeleteExtendedServiceAuthInfos(req: DeleteExtendedServiceAuthInfosRequest, cb?: (error: string, rep: DeleteExtendedServiceAuthInfosResponse) => void): Promise<DeleteExtendedServiceAuthInfosResponse>;
1017
1038
  }