tencentcloud-sdk-nodejs 4.0.637 → 4.0.639

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 (107) hide show
  1. package/CHANGELOG.md +520 -0
  2. package/SERVICE_CHANGELOG.md +555 -98
  3. package/package.json +1 -1
  4. package/products.md +33 -32
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/apigateway/v20180808/apigateway_client.ts +4 -2
  7. package/src/services/as/v20180419/as_models.ts +2 -2
  8. package/src/services/cls/v20201016/cls_client.ts +62 -11
  9. package/src/services/cls/v20201016/cls_models.ts +335 -55
  10. package/src/services/cms/v20190321/cms_models.ts +13 -1
  11. package/src/services/cpdp/v20190820/cpdp_client.ts +1 -1
  12. package/src/services/cynosdb/v20190107/cynosdb_models.ts +38 -38
  13. package/src/services/dnspod/v20210323/dnspod_client.ts +2 -0
  14. package/src/services/dnspod/v20210323/dnspod_models.ts +55 -0
  15. package/src/services/ecm/v20190719/ecm_client.ts +146 -27
  16. package/src/services/ecm/v20190719/ecm_models.ts +424 -90
  17. package/src/services/ess/v20201111/ess_client.ts +39 -10
  18. package/src/services/ess/v20201111/ess_models.ts +273 -84
  19. package/src/services/essbasic/v20210526/essbasic_client.ts +13 -1
  20. package/src/services/essbasic/v20210526/essbasic_models.ts +50 -4
  21. package/src/services/index.ts +1 -0
  22. package/src/services/lcic/v20220817/lcic_models.ts +14 -0
  23. package/src/services/lighthouse/v20200324/lighthouse_models.ts +3 -6
  24. package/src/services/soe/v20180724/soe_client.ts +1 -0
  25. package/src/services/soe/v20180724/soe_models.ts +35 -9
  26. package/src/services/sqlserver/v20180328/sqlserver_client.ts +4 -3
  27. package/src/services/sqlserver/v20180328/sqlserver_models.ts +12 -6
  28. package/src/services/tcb/v20180608/tcb_models.ts +25 -18
  29. package/src/services/tchd/index.ts +5 -0
  30. package/src/services/tchd/v20230306/index.ts +6 -0
  31. package/src/services/tchd/v20230306/tchd_client.ts +45 -0
  32. package/src/services/tchd/v20230306/tchd_models.ts +96 -0
  33. package/src/services/tdmq/v20200217/tdmq_client.ts +12 -0
  34. package/src/services/tdmq/v20200217/tdmq_models.ts +35 -5
  35. package/src/services/tke/v20180525/tke_models.ts +6 -6
  36. package/src/services/trp/v20210515/trp_models.ts +9 -1
  37. package/src/services/trtc/v20190722/trtc_client.ts +0 -17
  38. package/src/services/trtc/v20190722/trtc_models.ts +0 -104
  39. package/src/services/tse/v20201207/tse_client.ts +324 -55
  40. package/src/services/tse/v20201207/tse_models.ts +1931 -522
  41. package/src/services/tts/v20190823/tts_models.ts +4 -1
  42. package/src/services/vod/v20180717/vod_client.ts +2 -2
  43. package/src/services/vod/v20180717/vod_models.ts +2 -2
  44. package/src/services/wav/v20210129/wav_models.ts +4 -0
  45. package/tencentcloud/common/sdk_version.d.ts +1 -1
  46. package/tencentcloud/common/sdk_version.js +1 -1
  47. package/tencentcloud/services/apigateway/v20180808/apigateway_client.d.ts +3 -1
  48. package/tencentcloud/services/apigateway/v20180808/apigateway_client.js +3 -1
  49. package/tencentcloud/services/as/v20180419/as_models.d.ts +2 -2
  50. package/tencentcloud/services/cls/v20201016/cls_client.d.ts +19 -3
  51. package/tencentcloud/services/cls/v20201016/cls_client.js +27 -3
  52. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +324 -55
  53. package/tencentcloud/services/cms/v20190321/cms_models.d.ts +13 -1
  54. package/tencentcloud/services/cpdp/v20190820/cpdp_client.d.ts +1 -1
  55. package/tencentcloud/services/cpdp/v20190820/cpdp_client.js +1 -1
  56. package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +38 -38
  57. package/tencentcloud/services/dnspod/v20210323/dnspod_models.d.ts +53 -0
  58. package/tencentcloud/services/ecm/v20190719/ecm_client.d.ts +52 -7
  59. package/tencentcloud/services/ecm/v20190719/ecm_client.js +72 -9
  60. package/tencentcloud/services/ecm/v20190719/ecm_models.d.ts +404 -90
  61. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +14 -3
  62. package/tencentcloud/services/ess/v20201111/ess_client.js +18 -3
  63. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +267 -84
  64. package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +6 -2
  65. package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +7 -1
  66. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +48 -4
  67. package/tencentcloud/services/index.d.ts +1 -0
  68. package/tencentcloud/services/index.js +2 -0
  69. package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +14 -0
  70. package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +3 -6
  71. package/tencentcloud/services/soe/v20180724/soe_models.d.ts +34 -9
  72. package/tencentcloud/services/sqlserver/v20180328/sqlserver_client.d.ts +3 -2
  73. package/tencentcloud/services/sqlserver/v20180328/sqlserver_client.js +3 -2
  74. package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +12 -6
  75. package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +25 -18
  76. package/tencentcloud/services/tchd/index.d.ts +6 -0
  77. package/tencentcloud/services/tchd/index.js +7 -0
  78. package/tencentcloud/services/tchd/v20230306/index.d.ts +6 -0
  79. package/tencentcloud/services/tchd/v20230306/index.js +9 -0
  80. package/tencentcloud/services/tchd/v20230306/tchd_client.d.ts +14 -0
  81. package/tencentcloud/services/tchd/v20230306/tchd_client.js +37 -0
  82. package/tencentcloud/services/tchd/v20230306/tchd_models.d.ts +76 -0
  83. package/tencentcloud/services/tchd/v20230306/tchd_models.js +18 -0
  84. package/tencentcloud/services/tdmq/v20200217/tdmq_client.d.ts +5 -1
  85. package/tencentcloud/services/tdmq/v20200217/tdmq_client.js +6 -0
  86. package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +33 -5
  87. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +6 -6
  88. package/tencentcloud/services/trp/v20210515/trp_models.d.ts +9 -1
  89. package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +1 -8
  90. package/tencentcloud/services/trtc/v20190722/trtc_client.js +0 -9
  91. package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +0 -100
  92. package/tencentcloud/services/tse/v20201207/tse_client.d.ts +95 -11
  93. package/tencentcloud/services/tse/v20201207/tse_client.js +141 -15
  94. package/tencentcloud/services/tse/v20201207/tse_models.d.ts +1863 -513
  95. package/tencentcloud/services/tts/v20190823/tts_models.d.ts +4 -1
  96. package/tencentcloud/services/vod/v20180717/vod_client.d.ts +2 -2
  97. package/tencentcloud/services/vod/v20180717/vod_client.js +2 -2
  98. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +2 -2
  99. package/tencentcloud/services/wav/v20210129/wav_models.d.ts +4 -0
  100. package/test/cls.v20201016.test.js +42 -2
  101. package/test/ecm.v20190719.test.js +96 -6
  102. package/test/ess.v20201111.test.js +22 -2
  103. package/test/essbasic.v20210526.test.js +10 -0
  104. package/test/tchd.v20230306.test.js +31 -0
  105. package/test/tdmq.v20200217.test.js +10 -0
  106. package/test/trtc.v20190722.test.js +0 -10
  107. package/test/tse.v20201207.test.js +220 -10
@@ -1,6 +1,6 @@
1
1
  import { AbstractClient } from "../../../common/abstract_client";
2
2
  import { ClientConfig } from "../../../common/interface";
3
- import { CreateSealRequest, ModifyIntegrationDepartmentResponse, CancelFlowResponse, DescribeFlowEvidenceReportRequest, UpdateIntegrationEmployeesResponse, CreatePreparedPersonalEsignRequest, DescribeIntegrationDepartmentsResponse, CreateFlowApproversResponse, DescribeIntegrationMainOrganizationUserRequest, ModifyApplicationCallbackInfoResponse, CreateMultiFlowSignQRCodeResponse, DescribeThirdPartyAuthCodeResponse, DisableUserAutoSignResponse, CancelUserAutoSignEnableUrlResponse, BindEmployeeUserIdWithClientOpenIdResponse, CreateIntegrationEmployeesRequest, DescribeIntegrationRolesRequest, CreateFlowEvidenceReportRequest, StartFlowResponse, CreateConvertTaskApiRequest, CreateFlowRemindsResponse, DescribeOrganizationGroupOrganizationsRequest, DescribeFlowTemplatesRequest, DescribeFlowComponentsResponse, DescribeFlowEvidenceReportResponse, CreateDocumentResponse, DescribeIntegrationEmployeesRequest, CreateIntegrationUserRolesResponse, CreateFlowRequest, CreateSchemeUrlRequest, DeleteIntegrationDepartmentResponse, DescribeThirdPartyAuthCodeRequest, UnbindEmployeeUserIdWithClientOpenIdResponse, CreateReleaseFlowResponse, BindEmployeeUserIdWithClientOpenIdRequest, DescribeIntegrationDepartmentsRequest, CreateIntegrationDepartmentResponse, DeleteSealPoliciesResponse, DescribeUserAutoSignStatusResponse, CreateBatchCancelFlowUrlResponse, CreateSealPolicyResponse, DisableUserAutoSignRequest, DescribeIntegrationEmployeesResponse, CreateConvertTaskApiResponse, CreateFlowSignReviewRequest, UnbindEmployeeUserIdWithClientOpenIdRequest, CreateSchemeUrlResponse, CreateUserAutoSignEnableUrlResponse, CreateFlowSignUrlResponse, DescribeFileUrlsRequest, CreateChannelSubOrganizationModifyQrCodeRequest, CreateFlowApproversRequest, CreateFlowEvidenceReportResponse, DescribeFileUrlsResponse, DescribeFlowComponentsRequest, CreateIntegrationDepartmentRequest, DeleteIntegrationRoleUsersResponse, CreateDocumentRequest, CreatePreparedPersonalEsignResponse, DescribeOrganizationSealsResponse, DeleteIntegrationEmployeesRequest, GetTaskResultApiRequest, CreateIntegrationEmployeesResponse, DeleteIntegrationRoleUsersRequest, CreateFlowSignUrlRequest, CreateReleaseFlowRequest, CreateIntegrationUserRolesRequest, CreateChannelSubOrganizationModifyQrCodeResponse, CreateFlowByFilesResponse, UploadFilesResponse, VerifyPdfRequest, CreateFlowSignReviewResponse, ModifyIntegrationDepartmentRequest, CreateUserAutoSignEnableUrlRequest, DescribeIntegrationMainOrganizationUserResponse, CancelUserAutoSignEnableUrlRequest, DeleteSealPoliciesRequest, CreateFlowByFilesRequest, CreatePrepareFlowResponse, GetTaskResultApiResponse, CancelMultiFlowSignQRCodeRequest, DeleteIntegrationDepartmentRequest, ModifyApplicationCallbackInfoRequest, StartFlowRequest, CreateSealResponse, CreatePrepareFlowRequest, CreateSealPolicyRequest, DescribeOrganizationSealsRequest, CancelFlowRequest, DescribeExtendedServiceAuthInfosRequest, DescribeIntegrationRolesResponse, CreateFlowRemindsRequest, UpdateIntegrationEmployeesRequest, DescribeFlowBriefsRequest, DeleteIntegrationEmployeesResponse, VerifyPdfResponse, DescribeFlowBriefsResponse, DescribeFlowTemplatesResponse, UploadFilesRequest, CreateBatchCancelFlowUrlRequest, CreateMultiFlowSignQRCodeRequest, DescribeFlowInfoRequest, DescribeFlowInfoResponse, CancelMultiFlowSignQRCodeResponse, CreateFlowResponse, DescribeUserAutoSignStatusRequest, DescribeOrganizationGroupOrganizationsResponse, DescribeExtendedServiceAuthInfosResponse } from "./ess_models";
3
+ import { CreateSealRequest, ModifyIntegrationDepartmentResponse, CancelFlowResponse, DescribeFlowEvidenceReportRequest, UpdateIntegrationEmployeesResponse, CreatePreparedPersonalEsignRequest, DescribeIntegrationDepartmentsResponse, CreateFlowApproversResponse, DescribeIntegrationMainOrganizationUserRequest, ModifyApplicationCallbackInfoResponse, CreateMultiFlowSignQRCodeResponse, DescribeThirdPartyAuthCodeResponse, DisableUserAutoSignResponse, CancelUserAutoSignEnableUrlResponse, BindEmployeeUserIdWithClientOpenIdResponse, CreateIntegrationEmployeesRequest, DescribeIntegrationRolesRequest, CreateFlowEvidenceReportRequest, StartFlowResponse, CreateConvertTaskApiRequest, DeleteIntegrationEmployeesResponse, CreateFlowRemindsResponse, DescribeOrganizationGroupOrganizationsRequest, CreateFlowGroupByFilesRequest, DescribeFlowComponentsResponse, DescribeFlowEvidenceReportResponse, CreateFlowGroupByTemplatesResponse, CreateDocumentResponse, DescribeIntegrationEmployeesRequest, CreateIntegrationUserRolesResponse, CreateFlowRequest, CreateSchemeUrlRequest, DeleteIntegrationDepartmentResponse, DescribeThirdPartyAuthCodeRequest, UnbindEmployeeUserIdWithClientOpenIdResponse, CreateReleaseFlowResponse, BindEmployeeUserIdWithClientOpenIdRequest, DescribeIntegrationDepartmentsRequest, CreateIntegrationDepartmentResponse, DescribeFlowTemplatesRequest, DeleteSealPoliciesResponse, DescribeUserAutoSignStatusResponse, CreateBatchCancelFlowUrlResponse, CreateSealPolicyResponse, DisableUserAutoSignRequest, DescribeIntegrationEmployeesResponse, CreateConvertTaskApiResponse, CreateFlowSignReviewRequest, UnbindEmployeeUserIdWithClientOpenIdRequest, CreateSchemeUrlResponse, CreateUserAutoSignEnableUrlResponse, CreateFlowSignUrlResponse, DescribeFileUrlsRequest, CreateChannelSubOrganizationModifyQrCodeRequest, CreateFlowApproversRequest, CreateFlowEvidenceReportResponse, DescribeFileUrlsResponse, DescribeFlowComponentsRequest, CreateIntegrationDepartmentRequest, DeleteIntegrationRoleUsersResponse, CreateDocumentRequest, CreatePreparedPersonalEsignResponse, DescribeOrganizationSealsResponse, DeleteIntegrationEmployeesRequest, GetTaskResultApiRequest, CreateFlowGroupByFilesResponse, CreateIntegrationEmployeesResponse, DeleteIntegrationRoleUsersRequest, CreateFlowSignUrlRequest, CreateReleaseFlowRequest, CreateIntegrationUserRolesRequest, CreateChannelSubOrganizationModifyQrCodeResponse, CreateFlowByFilesResponse, UploadFilesResponse, VerifyPdfRequest, CreateFlowSignReviewResponse, ModifyIntegrationDepartmentRequest, CreateUserAutoSignEnableUrlRequest, DescribeIntegrationMainOrganizationUserResponse, CancelUserAutoSignEnableUrlRequest, DeleteSealPoliciesRequest, CreateFlowByFilesRequest, CreatePrepareFlowResponse, GetTaskResultApiResponse, CancelMultiFlowSignQRCodeRequest, DeleteIntegrationDepartmentRequest, ModifyApplicationCallbackInfoRequest, StartFlowRequest, CreateSealResponse, CreatePrepareFlowRequest, CreateSealPolicyRequest, DescribeOrganizationSealsRequest, CancelFlowRequest, DescribeExtendedServiceAuthInfosRequest, DescribeIntegrationRolesResponse, CreateFlowRemindsRequest, UpdateIntegrationEmployeesRequest, DescribeFlowBriefsRequest, CreateFlowGroupByTemplatesRequest, VerifyPdfResponse, DescribeFlowBriefsResponse, DescribeFlowTemplatesResponse, UploadFilesRequest, CreateBatchCancelFlowUrlRequest, CreateMultiFlowSignQRCodeRequest, DescribeFlowInfoRequest, DescribeFlowInfoResponse, CancelMultiFlowSignQRCodeResponse, CreateFlowResponse, DescribeUserAutoSignStatusRequest, DescribeOrganizationGroupOrganizationsResponse, DescribeExtendedServiceAuthInfosResponse } from "./ess_models";
4
4
  /**
5
5
  * ess client
6
6
  * @class
@@ -90,6 +90,10 @@ callbackinfo包含: 回调地址和签名key
90
90
  注:目前暂时只支持补充来源于企业微信的员工作为候选签署人
91
91
  */
92
92
  CreateFlowApprovers(req: CreateFlowApproversRequest, cb?: (error: string, rep: CreateFlowApproversResponse) => void): Promise<CreateFlowApproversResponse>;
93
+ /**
94
+ * 通过此接口,更新企业的部门信息,支持更新部门名、客户系统部门ID、部门序列号。
95
+ */
96
+ ModifyIntegrationDepartment(req: ModifyIntegrationDepartmentRequest, cb?: (error: string, rep: ModifyIntegrationDepartmentResponse) => void): Promise<ModifyIntegrationDepartmentResponse>;
93
97
  /**
94
98
  * 企业方可以通过此接口关闭个人的自动签功能(处方单场景专用,使用此接口请与客户经理确认)
95
99
  */
@@ -149,6 +153,11 @@ callbackinfo包含: 回调地址和签名key
149
153
  * 企业方可以通过此接口查询个人用户自动签开启状态。(处方单场景专用,使用此接口请与客户经理确认)
150
154
  */
151
155
  DescribeUserAutoSignStatus(req: DescribeUserAutoSignStatusRequest, cb?: (error: string, rep: DescribeUserAutoSignStatusResponse) => void): Promise<DescribeUserAutoSignStatusResponse>;
156
+ /**
157
+ * 此接口(CreateFlowGroupByTemplates)通过多模板创建合同组签署流程。<br/>
158
+ 此接口合同组中的子合同必须都是模板发起的合同。 <br/>目前最大仅支持50个子合同
159
+ */
160
+ CreateFlowGroupByTemplates(req: CreateFlowGroupByTemplatesRequest, cb?: (error: string, rep: CreateFlowGroupByTemplatesResponse) => void): Promise<CreateFlowGroupByTemplatesResponse>;
152
161
  /**
153
162
  * 查询企业扩展服务授权信息,目前支持查询:企业静默签,企业与港澳台居民签署合同,使用手机号验证签署方身份,骑缝章,批量签署能力是否已经开通
154
163
  */
@@ -277,9 +286,11 @@ httpProfile.setEndpoint("file.test.ess.tencent.cn");<br/>
277
286
  */
278
287
  DescribeIntegrationDepartments(req: DescribeIntegrationDepartmentsRequest, cb?: (error: string, rep: DescribeIntegrationDepartmentsResponse) => void): Promise<DescribeIntegrationDepartmentsResponse>;
279
288
  /**
280
- * 通过此接口,更新企业的部门信息,支持更新部门名、客户系统部门ID、部门序列号。
289
+ * 此接口(CreateFlowGroupByFiles)通过多文件创建合同组签署流程。<br/>
290
+ PDF资源Id 通过上传文件接口获取
291
+ 此接口合同组中的子合同必须都是文件发起的合同
281
292
  */
282
- ModifyIntegrationDepartment(req: ModifyIntegrationDepartmentRequest, cb?: (error: string, rep: ModifyIntegrationDepartmentResponse) => void): Promise<ModifyIntegrationDepartmentResponse>;
293
+ CreateFlowGroupByFiles(req: CreateFlowGroupByFilesRequest, cb?: (error: string, rep: CreateFlowGroupByFilesResponse) => void): Promise<CreateFlowGroupByFilesResponse>;
283
294
  /**
284
295
  * 创建员工,此接口会发送提醒员工实名的短信
285
296
  */
@@ -144,6 +144,12 @@ callbackinfo包含: 回调地址和签名key
144
144
  async CreateFlowApprovers(req, cb) {
145
145
  return this.request("CreateFlowApprovers", req, cb);
146
146
  }
147
+ /**
148
+ * 通过此接口,更新企业的部门信息,支持更新部门名、客户系统部门ID、部门序列号。
149
+ */
150
+ async ModifyIntegrationDepartment(req, cb) {
151
+ return this.request("ModifyIntegrationDepartment", req, cb);
152
+ }
147
153
  /**
148
154
  * 企业方可以通过此接口关闭个人的自动签功能(处方单场景专用,使用此接口请与客户经理确认)
149
155
  */
@@ -223,6 +229,13 @@ callbackinfo包含: 回调地址和签名key
223
229
  async DescribeUserAutoSignStatus(req, cb) {
224
230
  return this.request("DescribeUserAutoSignStatus", req, cb);
225
231
  }
232
+ /**
233
+ * 此接口(CreateFlowGroupByTemplates)通过多模板创建合同组签署流程。<br/>
234
+ 此接口合同组中的子合同必须都是模板发起的合同。 <br/>目前最大仅支持50个子合同
235
+ */
236
+ async CreateFlowGroupByTemplates(req, cb) {
237
+ return this.request("CreateFlowGroupByTemplates", req, cb);
238
+ }
226
239
  /**
227
240
  * 查询企业扩展服务授权信息,目前支持查询:企业静默签,企业与港澳台居民签署合同,使用手机号验证签署方身份,骑缝章,批量签署能力是否已经开通
228
241
  */
@@ -399,10 +412,12 @@ httpProfile.setEndpoint("file.test.ess.tencent.cn");<br/>
399
412
  return this.request("DescribeIntegrationDepartments", req, cb);
400
413
  }
401
414
  /**
402
- * 通过此接口,更新企业的部门信息,支持更新部门名、客户系统部门ID、部门序列号。
415
+ * 此接口(CreateFlowGroupByFiles)通过多文件创建合同组签署流程。<br/>
416
+ PDF资源Id 通过上传文件接口获取
417
+ 此接口合同组中的子合同必须都是文件发起的合同
403
418
  */
404
- async ModifyIntegrationDepartment(req, cb) {
405
- return this.request("ModifyIntegrationDepartment", req, cb);
419
+ async CreateFlowGroupByFiles(req, cb) {
420
+ return this.request("CreateFlowGroupByFiles", req, cb);
406
421
  }
407
422
  /**
408
423
  * 创建员工,此接口会发送提醒员工实名的短信
@@ -642,6 +642,19 @@ export interface CreateConvertTaskApiRequest {
642
642
  */
643
643
  Organization?: OrganizationInfo;
644
644
  }
645
+ /**
646
+ * DeleteIntegrationEmployees返回参数结构体
647
+ */
648
+ export interface DeleteIntegrationEmployeesResponse {
649
+ /**
650
+ * 员工删除数据
651
+ */
652
+ DeleteEmployeeResult?: DeleteStaffsResult;
653
+ /**
654
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
655
+ */
656
+ RequestId?: string;
657
+ }
645
658
  /**
646
659
  * CreateFlowReminds返回参数结构体
647
660
  */
@@ -724,7 +737,7 @@ export interface FlowApproverDetail {
724
737
  /**
725
738
  * 签署方姓名
726
739
  */
727
- ApproveName: string;
740
+ ApproveName?: string;
728
741
  /**
729
742
  * 签署方的签署状态
730
743
  0:还没有发起
@@ -741,103 +754,78 @@ export interface FlowApproverDetail {
741
754
  15:已解除
742
755
  19:转他人处理
743
756
  */
744
- ApproveStatus: number;
757
+ ApproveStatus?: number;
745
758
  /**
746
759
  * 模板配置中的参与方ID,与控件绑定
747
760
  */
748
- ReceiptId: string;
761
+ ReceiptId?: string;
749
762
  /**
750
763
  * 客户自定义的用户ID
751
764
  注意:此字段可能返回 null,表示取不到有效值。
752
765
  */
753
- CustomUserId: string;
766
+ CustomUserId?: string;
754
767
  /**
755
768
  * 签署人手机号
756
769
  */
757
- Mobile: string;
770
+ Mobile?: string;
758
771
  /**
759
772
  * 签署顺序,如果是有序签署,签署顺序从小到大
760
773
  */
761
- SignOrder: number;
774
+ SignOrder?: number;
762
775
  /**
763
776
  * 签署人签署时间,时间戳,单位秒
764
777
  */
765
- ApproveTime: number;
778
+ ApproveTime?: number;
766
779
  /**
767
780
  * 签署方类型,ORGANIZATION-企业员工,PERSON-个人,ENTERPRISESERVER-企业静默签
768
781
  注意:此字段可能返回 null,表示取不到有效值。
769
782
  */
770
- ApproveType: string;
783
+ ApproveType?: string;
771
784
  /**
772
785
  * 签署方侧用户来源,如WEWORKAPP-企业微信等
773
786
  注意:此字段可能返回 null,表示取不到有效值。
774
787
  */
775
- ApproverSource: string;
788
+ ApproverSource?: string;
776
789
  /**
777
790
  * 客户自定义签署方标识
778
791
  注意:此字段可能返回 null,表示取不到有效值。
779
792
  */
780
- CustomApproverTag: string;
793
+ CustomApproverTag?: string;
781
794
  /**
782
795
  * 签署方企业Id
783
796
  注意:此字段可能返回 null,表示取不到有效值。
784
797
  */
785
- OrganizationId: string;
798
+ OrganizationId?: string;
786
799
  /**
787
800
  * 签署方企业名称
788
801
  注意:此字段可能返回 null,表示取不到有效值。
789
802
  */
790
- OrganizationName: string;
803
+ OrganizationName?: string;
791
804
  }
792
805
  /**
793
- * DescribeFlowTemplates请求参数结构体
806
+ * CreateFlowGroupByFiles请求参数结构体
794
807
  */
795
- export interface DescribeFlowTemplatesRequest {
808
+ export interface CreateFlowGroupByFilesRequest {
796
809
  /**
797
- * 调用方用户信息,userId 必填
810
+ * 调用方用户信息,userId 必填。支持填入集团子公司经办人 userId 代发合同
798
811
  */
799
812
  Operator: UserInfo;
800
813
  /**
801
- * 代理相关应用信息,如集团主企业代子企业操作的场景中ProxyOrganizationId必填
814
+ * 合同(流程)组名称,最大长度200个字符
802
815
  */
803
- Agent?: Agent;
804
- /**
805
- * 查询内容:0-模板列表及详情(默认),1-仅模板列表
806
- */
807
- ContentType?: number;
816
+ FlowGroupName: string;
808
817
  /**
809
- * 搜索条件,具体参考Filter结构体。本接口取值:template-id:按照【 **模板唯一标识** 】进行过滤
818
+ * 合同(流程)组的子合同信息,支持2-50个子合同
810
819
  */
811
- Filters?: Array<Filter>;
820
+ FlowGroupInfos: Array<FlowGroupInfo>;
812
821
  /**
813
- * 查询偏移位置,默认0
814
- */
815
- Offset?: number;
816
- /**
817
- * 查询个数,默认20,最大200
818
- */
819
- Limit?: number;
820
- /**
821
- * ApplicationId不为空,查询指定应用下的模板列表
822
- ApplicationId为空,查询所有应用下的模板列表
823
- */
824
- ApplicationId?: string;
825
- /**
826
- * 默认为false,查询SaaS模板库列表;
827
- 为true,查询第三方应用集成平台企业模板库管理列表
828
- * @deprecated
829
- */
830
- IsChannel?: boolean;
831
- /**
832
- * 暂未开放
833
- * @deprecated
822
+ * 代理相关应用信息,如集团主企业代子企业操作的场景中ProxyOrganizationId必填
834
823
  */
835
- Organization?: OrganizationInfo;
824
+ Agent?: Agent;
836
825
  /**
837
- * 暂未开放
838
- * @deprecated
826
+ * 合同(流程)组的配置项信息。包括是否通知本企业签署方,是否通知其他签署方
839
827
  */
840
- GenerateSource?: number;
828
+ FlowGroupOptions?: FlowGroupOptions;
841
829
  }
842
830
  /**
843
831
  * DescribeFlowComponents返回参数结构体
@@ -896,29 +884,23 @@ export interface CallbackInfo {
896
884
  CallbackToken?: string;
897
885
  }
898
886
  /**
899
- * 参与方填写控件信息
887
+ * CreateFlowGroupByTemplates返回参数结构体
900
888
  */
901
- export interface RecipientComponentInfo {
902
- /**
903
- * 参与方Id
904
- 注意:此字段可能返回 null,表示取不到有效值。
905
- */
906
- RecipientId?: string;
889
+ export interface CreateFlowGroupByTemplatesResponse {
907
890
  /**
908
- * 参与方填写状态
891
+ * 合同(流程)组的合同组Id
909
892
  注意:此字段可能返回 null,表示取不到有效值。
910
893
  */
911
- RecipientFillStatus?: string;
894
+ FlowGroupId?: string;
912
895
  /**
913
- * 是否发起方
896
+ * 合同(流程)组中子合同列表.
914
897
  注意:此字段可能返回 null,表示取不到有效值。
915
898
  */
916
- IsPromoter?: boolean;
899
+ FlowIds?: Array<string>;
917
900
  /**
918
- * 填写控件内容
919
- 注意:此字段可能返回 null,表示取不到有效值。
901
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
920
902
  */
921
- Components?: Array<FilledComponent>;
903
+ RequestId?: string;
922
904
  }
923
905
  /**
924
906
  * 企业模板的信息结构
@@ -1193,6 +1175,10 @@ export interface CreateSchemeUrlRequest {
1193
1175
  * 签署流程编号 (PathType=1时必传)
1194
1176
  */
1195
1177
  FlowId?: string;
1178
+ /**
1179
+ * 合同组ID
1180
+ */
1181
+ FlowGroupId?: string;
1196
1182
  /**
1197
1183
  * 跳转页面 1: 小程序合同详情 2: 小程序合同列表页 0: 不传, 默认主页
1198
1184
  */
@@ -1331,6 +1317,56 @@ export interface CreateIntegrationDepartmentResponse {
1331
1317
  */
1332
1318
  RequestId?: string;
1333
1319
  }
1320
+ /**
1321
+ * DescribeFlowTemplates请求参数结构体
1322
+ */
1323
+ export interface DescribeFlowTemplatesRequest {
1324
+ /**
1325
+ * 调用方用户信息,userId 必填
1326
+ */
1327
+ Operator: UserInfo;
1328
+ /**
1329
+ * 代理相关应用信息,如集团主企业代子企业操作的场景中ProxyOrganizationId必填
1330
+ */
1331
+ Agent?: Agent;
1332
+ /**
1333
+ * 查询内容:0-模板列表及详情(默认),1-仅模板列表
1334
+ */
1335
+ ContentType?: number;
1336
+ /**
1337
+ * 搜索条件,具体参考Filter结构体。本接口取值:template-id:按照【 **模板唯一标识** 】进行过滤
1338
+ */
1339
+ Filters?: Array<Filter>;
1340
+ /**
1341
+ * 查询偏移位置,默认0
1342
+ */
1343
+ Offset?: number;
1344
+ /**
1345
+ * 查询个数,默认20,最大200
1346
+ */
1347
+ Limit?: number;
1348
+ /**
1349
+ * ApplicationId不为空,查询指定应用下的模板列表
1350
+ ApplicationId为空,查询所有应用下的模板列表
1351
+ */
1352
+ ApplicationId?: string;
1353
+ /**
1354
+ * 默认为false,查询SaaS模板库列表;
1355
+ 为true,查询第三方应用集成平台企业模板库管理列表
1356
+ * @deprecated
1357
+ */
1358
+ IsChannel?: boolean;
1359
+ /**
1360
+ * 暂未开放
1361
+ * @deprecated
1362
+ */
1363
+ Organization?: OrganizationInfo;
1364
+ /**
1365
+ * 暂未开放
1366
+ * @deprecated
1367
+ */
1368
+ GenerateSource?: number;
1369
+ }
1334
1370
  /**
1335
1371
  * DeleteSealPolicies返回参数结构体
1336
1372
  */
@@ -1786,6 +1822,63 @@ export interface CreateUserAutoSignEnableUrlResponse {
1786
1822
  */
1787
1823
  RequestId?: string;
1788
1824
  }
1825
+ /**
1826
+ * 此结构体(FlowGroupInfo)描述的是合同组(流程组)的单个合同(流程)信息
1827
+ */
1828
+ export interface FlowGroupInfo {
1829
+ /**
1830
+ * 合同(流程)的名称
1831
+ */
1832
+ FlowName: string;
1833
+ /**
1834
+ * 合同(流程)的签署方信息
1835
+ */
1836
+ Approvers: Array<ApproverInfo>;
1837
+ /**
1838
+ * 发起合同(流程)的资源Id,此资源必须是PDF文件,来自UploadFiles,使用文件发起合同(流程)组时必传
1839
+ */
1840
+ FileIds?: Array<string>;
1841
+ /**
1842
+ * 发起合同(流程)的模板Id,用模板发起合同(流程)组时必填
1843
+ */
1844
+ TemplateId?: string;
1845
+ /**
1846
+ * 合同(流程)的类型
1847
+ */
1848
+ FlowType?: string;
1849
+ /**
1850
+ * 合同(流程)的描述
1851
+ */
1852
+ FlowDescription?: string;
1853
+ /**
1854
+ * 合同(流程)的截止时间戳,单位秒。默认是一年
1855
+ */
1856
+ Deadline?: number;
1857
+ /**
1858
+ * 合同(流程)的回调地址
1859
+ */
1860
+ CallbackUrl?: string;
1861
+ /**
1862
+ * 第三方平台传递过来的信息, 限制1024字符 格式必须是base64的
1863
+ */
1864
+ UserData?: string;
1865
+ /**
1866
+ * 合同(流程)的签署是否是无序签, true - 无序。 false - 有序, 默认
1867
+ */
1868
+ Unordered?: boolean;
1869
+ /**
1870
+ * 合同(流程)发起方的填写控件,用户
1871
+ */
1872
+ Components?: Array<Component>;
1873
+ /**
1874
+ * 本企业(发起方)是否需要签署审批,若需要审批则只允许查看不允许签署,需要您调用接口CreateFlowSignReview提交审批结果。
1875
+ */
1876
+ NeedSignReview?: boolean;
1877
+ /**
1878
+ * 本企业(发起方)自动签署,需要您在发起合同时给印章控件指定自动签的印章。
1879
+ */
1880
+ AutoSignScene?: string;
1881
+ }
1789
1882
  /**
1790
1883
  * CreateFlowSignUrl返回参数结构体
1791
1884
  */
@@ -2129,6 +2222,31 @@ export interface Staff {
2129
2222
  */
2130
2223
  WeworkOpenId?: string;
2131
2224
  }
2225
+ /**
2226
+ * 参与方填写控件信息
2227
+ */
2228
+ export interface RecipientComponentInfo {
2229
+ /**
2230
+ * 参与方Id
2231
+ 注意:此字段可能返回 null,表示取不到有效值。
2232
+ */
2233
+ RecipientId?: string;
2234
+ /**
2235
+ * 参与方填写状态
2236
+ 注意:此字段可能返回 null,表示取不到有效值。
2237
+ */
2238
+ RecipientFillStatus?: string;
2239
+ /**
2240
+ * 是否发起方
2241
+ 注意:此字段可能返回 null,表示取不到有效值。
2242
+ */
2243
+ IsPromoter?: boolean;
2244
+ /**
2245
+ * 填写控件内容
2246
+ 注意:此字段可能返回 null,表示取不到有效值。
2247
+ */
2248
+ Components?: Array<FilledComponent>;
2249
+ }
2132
2250
  /**
2133
2251
  * CreateFlowEvidenceReport返回参数结构体
2134
2252
  */
@@ -2345,16 +2463,16 @@ export interface FlowDetailInfo {
2345
2463
  /**
2346
2464
  * 合同(流程)的ID
2347
2465
  */
2348
- FlowId: string;
2466
+ FlowId?: string;
2349
2467
  /**
2350
2468
  * 合同(流程)的名字
2351
2469
  */
2352
- FlowName: string;
2470
+ FlowName?: string;
2353
2471
  /**
2354
2472
  * 合同(流程)的类型
2355
2473
  注意:此字段可能返回 null,表示取不到有效值。
2356
2474
  */
2357
- FlowType: string;
2475
+ FlowType?: string;
2358
2476
  /**
2359
2477
  * 流程状态
2360
2478
  - 0 还没有发起
@@ -2370,25 +2488,25 @@ export interface FlowDetailInfo {
2370
2488
  - 10 拒填
2371
2489
  - 21 已解除
2372
2490
  */
2373
- FlowStatus: number;
2491
+ FlowStatus?: number;
2374
2492
  /**
2375
2493
  * 合同(流程)的信息
2376
2494
  注意:此字段可能返回 null,表示取不到有效值。
2377
2495
  */
2378
- FlowMessage: string;
2496
+ FlowMessage?: string;
2379
2497
  /**
2380
2498
  * 流程的描述
2381
2499
  注意:此字段可能返回 null,表示取不到有效值。
2382
2500
  */
2383
- FlowDescription: string;
2501
+ FlowDescription?: string;
2384
2502
  /**
2385
2503
  * 合同(流程)的创建时间戳,单位秒
2386
2504
  */
2387
- CreatedOn: number;
2505
+ CreatedOn?: number;
2388
2506
  /**
2389
2507
  * 合同(流程)的签署方数组
2390
2508
  */
2391
- FlowApproverInfos: Array<FlowApproverDetail>;
2509
+ FlowApproverInfos?: Array<FlowApproverDetail>;
2392
2510
  /**
2393
2511
  * 合同(流程)的关注方信息列表
2394
2512
  */
@@ -2494,6 +2612,28 @@ export interface GetTaskResultApiRequest {
2494
2612
  */
2495
2613
  Organization?: OrganizationInfo;
2496
2614
  }
2615
+ /**
2616
+ * 此结构体(FlowGroupOptions)描述的是合同组的个性化配置,支持控制是否发送短信、未实名个人签署方查看合同组时是否需要实名认证(仅在合同组文件发起配置时生效)
2617
+ */
2618
+ export interface FlowGroupOptions {
2619
+ /**
2620
+ * 发起合同(流程)组的合同(流程)签署人校验方式
2621
+ VerifyCheck: 人脸识别(默认)
2622
+ MobileCheck:手机号验证
2623
+ 参数说明:此参数仅在合同组文件发起有效,可选人脸识别或手机号验证两种方式,若选择后者,未实名个人签署方在签署合同时,无需经过实名认证和意愿确认两次人脸识别,该能力仅适用于个人签署方。
2624
+ */
2625
+ ApproverVerifyType?: string;
2626
+ /**
2627
+ * 发起合同(流程)组本方企业经办人通知方式
2628
+ 签署通知类型:sms--短信,none--不通知
2629
+ */
2630
+ SelfOrganizationApproverNotifyType?: string;
2631
+ /**
2632
+ * 发起合同(流程)组他方经办人通知方式
2633
+ 签署通知类型:sms--短信,none--不通知
2634
+ */
2635
+ OtherApproverNotifyType?: string;
2636
+ }
2497
2637
  /**
2498
2638
  * 发起流程快速注册相关信息
2499
2639
  */
@@ -2507,6 +2647,25 @@ export interface RegisterInfo {
2507
2647
  */
2508
2648
  Uscc: string;
2509
2649
  }
2650
+ /**
2651
+ * CreateFlowGroupByFiles返回参数结构体
2652
+ */
2653
+ export interface CreateFlowGroupByFilesResponse {
2654
+ /**
2655
+ * 合同(流程)组的合同组Id
2656
+ 注意:此字段可能返回 null,表示取不到有效值。
2657
+ */
2658
+ FlowGroupId?: string;
2659
+ /**
2660
+ * 合同(流程)组中子合同列表.
2661
+ 注意:此字段可能返回 null,表示取不到有效值。
2662
+ */
2663
+ FlowIds?: Array<string>;
2664
+ /**
2665
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2666
+ */
2667
+ RequestId?: string;
2668
+ }
2510
2669
  /**
2511
2670
  * CreateIntegrationEmployees返回参数结构体
2512
2671
  */
@@ -2819,14 +2978,14 @@ export interface ApproverInfo {
2819
2978
  * 签署人的手机号,11位数字
2820
2979
  */
2821
2980
  ApproverMobile: string;
2822
- /**
2823
- * 签署人的签署控件列表
2824
- */
2825
- SignComponents: Array<Component>;
2826
2981
  /**
2827
2982
  * 如果签署方是企业签署方,则为企业名
2828
2983
  */
2829
2984
  OrganizationName?: string;
2985
+ /**
2986
+ * 签署人的签署控件列表
2987
+ */
2988
+ SignComponents?: Array<Component>;
2830
2989
  /**
2831
2990
  * 签署人的身份证号
2832
2991
  */
@@ -3927,17 +4086,29 @@ export interface DescribeFlowBriefsRequest {
3927
4086
  Agent?: Agent;
3928
4087
  }
3929
4088
  /**
3930
- * DeleteIntegrationEmployees返回参数结构体
4089
+ * CreateFlowGroupByTemplates请求参数结构体
3931
4090
  */
3932
- export interface DeleteIntegrationEmployeesResponse {
4091
+ export interface CreateFlowGroupByTemplatesRequest {
3933
4092
  /**
3934
- * 员工删除数据
4093
+ * 调用方用户信息,userId 必填。支持填入集团子公司经办人 userId 代发合同
3935
4094
  */
3936
- DeleteEmployeeResult?: DeleteStaffsResult;
4095
+ Operator: UserInfo;
3937
4096
  /**
3938
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4097
+ * 合同组名称,最大长度200个字符
3939
4098
  */
3940
- RequestId?: string;
4099
+ FlowGroupName: string;
4100
+ /**
4101
+ * 合同组的子合同信息,支持2-50个子合同
4102
+ */
4103
+ FlowGroupInfos: Array<FlowGroupInfo>;
4104
+ /**
4105
+ * 代理相关应用信息,如集团主企业代子企业操作的场景中ProxyOrganizationId必填
4106
+ */
4107
+ Agent?: Agent;
4108
+ /**
4109
+ * 合同组的配置信息。包括是否通知本企业签署方,是否通知其他签署方
4110
+ */
4111
+ FlowGroupOptions?: FlowGroupOptions;
3941
4112
  }
3942
4113
  /**
3943
4114
  * 一码多扫签署二维码签署信息
@@ -4244,18 +4415,22 @@ export interface CreateMultiFlowSignQRCodeRequest {
4244
4415
  * DescribeFlowInfo请求参数结构体
4245
4416
  */
4246
4417
  export interface DescribeFlowInfoRequest {
4247
- /**
4248
- * 需要查询的流程ID列表,限制最大100个
4249
- */
4250
- FlowIds: Array<string>;
4251
4418
  /**
4252
4419
  * 调用方用户信息,userId 必填
4253
4420
  */
4254
4421
  Operator?: UserInfo;
4422
+ /**
4423
+ * 需要查询的流程ID列表,限制最大100个
4424
+ */
4425
+ FlowIds?: Array<string>;
4255
4426
  /**
4256
4427
  * 代理相关应用信息,如集团主企业代子企业操作的场景中ProxyOrganizationId必填
4257
4428
  */
4258
4429
  Agent?: Agent;
4430
+ /**
4431
+ * 合同组ID
4432
+ */
4433
+ FlowGroupId?: string;
4259
4434
  }
4260
4435
  /**
4261
4436
  * DescribeFlowInfo返回参数结构体
@@ -4265,6 +4440,14 @@ export interface DescribeFlowInfoResponse {
4265
4440
  * 签署流程信息
4266
4441
  */
4267
4442
  FlowDetailInfos?: Array<FlowDetailInfo>;
4443
+ /**
4444
+ * 合同组ID
4445
+ */
4446
+ FlowGroupId?: string;
4447
+ /**
4448
+ * 合同组名称
4449
+ */
4450
+ FlowGroupName?: string;
4268
4451
  /**
4269
4452
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4270
4453
  */