tencentcloud-sdk-nodejs-essbasic 4.0.397 → 4.0.433
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +5514 -0
- package/README.md +3 -3
- package/SERVICE_CHANGELOG.md +3715 -47
- package/package.json +1 -1
- package/products.md +93 -93
- package/src/services/essbasic/v20210526/essbasic_client.ts +163 -94
- package/src/services/essbasic/v20210526/essbasic_models.ts +544 -103
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +64 -39
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +88 -53
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +485 -98
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
|
|
2
|
-
import { SyncProxyOrganizationResponse,
|
|
2
|
+
import { SyncProxyOrganizationResponse, ChannelCreateConvertTaskApiResponse, OperateChannelTemplateRequest, UploadFilesRequest, GetDownloadFlowUrlResponse, DescribeResourceUrlsByFlowsResponse, ChannelCreateMultiFlowSignQRCodeResponse, DescribeTemplatesResponse, OperateChannelTemplateResponse, CreateSignUrlsResponse, CreateSignUrlsRequest, ChannelCreateMultiFlowSignQRCodeRequest, CreateChannelFlowEvidenceReportRequest, DescribeFlowDetailInfoRequest, ChannelGetTaskResultApiResponse, ChannelGetTaskResultApiRequest, GetDownloadFlowUrlRequest, CreateConsoleLoginUrlRequest, CreateFlowsByTemplatesResponse, ChannelCreateFlowSignReviewRequest, PrepareFlowsRequest, SyncProxyOrganizationOperatorsResponse, CreateSealByImageResponse, DescribeTemplatesRequest, SyncProxyOrganizationOperatorsRequest, CreateConsoleLoginUrlResponse, CreateFlowsByTemplatesRequest, SyncProxyOrganizationRequest, CreateSealByImageRequest, DescribeUsageResponse, ChannelCreateBatchCancelFlowUrlResponse, DescribeResourceUrlsByFlowsRequest, ChannelCancelMultiFlowSignQRCodeRequest, CreateChannelFlowEvidenceReportResponse, PrepareFlowsResponse, DescribeUsageRequest, ChannelCreateBatchCancelFlowUrlRequest, ChannelCreateFlowByFilesRequest, ChannelCreateFlowByFilesResponse, UploadFilesResponse, ChannelCreateFlowSignReviewResponse, ChannelCreateConvertTaskApiRequest, ChannelCancelMultiFlowSignQRCodeResponse, DescribeFlowDetailInfoResponse } from "./essbasic_models";
|
|
3
3
|
/**
|
|
4
4
|
* essbasic client
|
|
5
5
|
* @class
|
|
@@ -7,27 +7,12 @@ import { SyncProxyOrganizationResponse, PrepareFlowsResponse, GetDownloadFlowUrl
|
|
|
7
7
|
export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
8
8
|
constructor(clientConfig: TencentCloudCommon.ClientConfig);
|
|
9
9
|
/**
|
|
10
|
-
|
|
11
|
-
*/
|
|
12
|
-
CreateFlowsByTemplates(req: CreateFlowsByTemplatesRequest, cb?: (error: string, rep: CreateFlowsByTemplatesResponse) => void): Promise<CreateFlowsByTemplatesResponse>;
|
|
13
|
-
/**
|
|
14
|
-
* 此接口(GetDownloadFlowUrl)用于创建电子签批量下载地址,让合作企业进入控制台直接下载,支持客户合同(流程)按照自定义文件夹形式 分类下载。
|
|
15
|
-
当前接口限制最多合同(流程)50个.
|
|
10
|
+
* 提交企业签署流程审批结果
|
|
16
11
|
|
|
12
|
+
在通过接口(CreateFlowsByTemplates 或者ChannelCreateFlowByFiles)创建签署流程时,若指定了参数 NeedSignReview 为true,则可以调用此接口提交企业内部签署审批结果。
|
|
13
|
+
若签署流程状态正常,且本企业存在签署方未签署,同一签署流程可以多次提交签署审批结果,签署时的最后一个“审批结果”有效。
|
|
17
14
|
*/
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* 通过此接口(DescribeTemplates)查询该企业在电子签渠道版中配置的有效模板列表
|
|
21
|
-
*/
|
|
22
|
-
DescribeTemplates(req: DescribeTemplatesRequest, cb?: (error: string, rep: DescribeTemplatesResponse) => void): Promise<DescribeTemplatesResponse>;
|
|
23
|
-
/**
|
|
24
|
-
* 此接口(OperateChannelTemplate)用于渠道侧将模板库中的模板对合作企业进行查询和设置, 其中包括可见性的修改以及对合作企业的设置.
|
|
25
|
-
1、同步标识=select时:
|
|
26
|
-
返回渠道侧模板库当前模板的属性.
|
|
27
|
-
2、同步标识=update或者delete时:
|
|
28
|
-
对渠道子客进行模板库中模板授权,修改操作
|
|
29
|
-
*/
|
|
30
|
-
OperateChannelTemplate(req: OperateChannelTemplateRequest, cb?: (error: string, rep: OperateChannelTemplateResponse) => void): Promise<OperateChannelTemplateResponse>;
|
|
15
|
+
ChannelCreateFlowSignReview(req: ChannelCreateFlowSignReviewRequest, cb?: (error: string, rep: ChannelCreateFlowSignReviewResponse) => void): Promise<ChannelCreateFlowSignReviewResponse>;
|
|
31
16
|
/**
|
|
32
17
|
* 此接口(ChannelCreateMultiFlowSignQRCode)用于创建一码多扫签署流程二维码。
|
|
33
18
|
适用的模版仅限于B2C(1、无序签署,2、顺序签署时B静默签署,3、顺序签署时B非首位签署)、单C的模版,且模版中发起方没有填写控件。
|
|
@@ -37,16 +22,6 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
37
22
|
* 接口(ChannelCreateFlowByFiles)用于渠道版通过文件创建签署流程。此接口不可直接使用,需要运营申请
|
|
38
23
|
*/
|
|
39
24
|
ChannelCreateFlowByFiles(req: ChannelCreateFlowByFilesRequest, cb?: (error: string, rep: ChannelCreateFlowByFilesResponse) => void): Promise<ChannelCreateFlowByFilesResponse>;
|
|
40
|
-
/**
|
|
41
|
-
* 该接口 (PrepareFlows) 用于创建待发起文件
|
|
42
|
-
用户通过该接口进入签署流程发起的确认页面,进行发起信息二次确认, 如果确认则进行正常发起。
|
|
43
|
-
目前该接口只支持B2C,不建议使用。
|
|
44
|
-
*/
|
|
45
|
-
PrepareFlows(req: PrepareFlowsRequest, cb?: (error: string, rep: PrepareFlowsResponse) => void): Promise<PrepareFlowsResponse>;
|
|
46
|
-
/**
|
|
47
|
-
* 创建跳转小程序查看或签署的链接;自动签署的签署方不创建签署链接;
|
|
48
|
-
*/
|
|
49
|
-
CreateSignUrls(req: CreateSignUrlsRequest, cb?: (error: string, rep: CreateSignUrlsResponse) => void): Promise<CreateSignUrlsResponse>;
|
|
50
25
|
/**
|
|
51
26
|
* 渠道通过图片为子客代创建印章,图片最大5m;此接口不可直接使用,需要运营申请
|
|
52
27
|
*/
|
|
@@ -56,34 +31,84 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
56
31
|
*/
|
|
57
32
|
ChannelCancelMultiFlowSignQRCode(req: ChannelCancelMultiFlowSignQRCodeRequest, cb?: (error: string, rep: ChannelCancelMultiFlowSignQRCodeResponse) => void): Promise<ChannelCancelMultiFlowSignQRCodeResponse>;
|
|
58
33
|
/**
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
*/
|
|
62
|
-
CreateConsoleLoginUrl(req: CreateConsoleLoginUrlRequest, cb?: (error: string, rep: CreateConsoleLoginUrlResponse) => void): Promise<CreateConsoleLoginUrlResponse>;
|
|
63
|
-
/**
|
|
64
|
-
* 此接口(SyncProxyOrganizationOperators)用于同步渠道合作企业经办人列表
|
|
34
|
+
* 渠道创建文件转换任务
|
|
65
35
|
*/
|
|
66
|
-
|
|
36
|
+
ChannelCreateConvertTaskApi(req: ChannelCreateConvertTaskApiRequest, cb?: (error: string, rep: ChannelCreateConvertTaskApiResponse) => void): Promise<ChannelCreateConvertTaskApiResponse>;
|
|
67
37
|
/**
|
|
68
38
|
* 此接口(DescribeUsage)用于获取渠道所有合作企业流量消耗情况。
|
|
69
39
|
注: 此接口每日限频2次,若要扩大限制次数,请提前与客服经理或邮件至e-contract@tencent.com进行联系。
|
|
70
40
|
*/
|
|
71
41
|
DescribeUsage(req: DescribeUsageRequest, cb?: (error: string, rep: DescribeUsageResponse) => void): Promise<DescribeUsageResponse>;
|
|
72
42
|
/**
|
|
73
|
-
|
|
43
|
+
* 接口(CreateFlowsByTemplates)用于使用多个模板批量创建签署流程。当前可批量发起合同(签署流程)数量最大为20个。
|
|
44
|
+
|
|
45
|
+
*/
|
|
46
|
+
CreateFlowsByTemplates(req: CreateFlowsByTemplatesRequest, cb?: (error: string, rep: CreateFlowsByTemplatesResponse) => void): Promise<CreateFlowsByTemplatesResponse>;
|
|
47
|
+
/**
|
|
48
|
+
* 创建跳转小程序查看或签署的链接;自动签署的签署方不创建签署链接;
|
|
74
49
|
*/
|
|
75
|
-
|
|
50
|
+
CreateSignUrls(req: CreateSignUrlsRequest, cb?: (error: string, rep: CreateSignUrlsResponse) => void): Promise<CreateSignUrlsResponse>;
|
|
51
|
+
/**
|
|
52
|
+
* 此接口(CreateConsoleLoginUrl)用于创建电子签控制台登录链接。若企业未激活,调用同步企业信息、同步经办人信息
|
|
53
|
+
|
|
54
|
+
*/
|
|
55
|
+
CreateConsoleLoginUrl(req: CreateConsoleLoginUrlRequest, cb?: (error: string, rep: CreateConsoleLoginUrlResponse) => void): Promise<CreateConsoleLoginUrlResponse>;
|
|
56
|
+
/**
|
|
57
|
+
* 指定需要批量撤销的签署流程Id,获取批量撤销链接
|
|
58
|
+
客户指定需要撤销的签署流程Id,最多100个,超过100不处理;接口调用成功返回批量撤销合同的链接,通过链接跳转到电子签小程序完成批量撤销
|
|
59
|
+
*/
|
|
60
|
+
ChannelCreateBatchCancelFlowUrl(req: ChannelCreateBatchCancelFlowUrlRequest, cb?: (error: string, rep: ChannelCreateBatchCancelFlowUrlResponse) => void): Promise<ChannelCreateBatchCancelFlowUrlResponse>;
|
|
61
|
+
/**
|
|
62
|
+
* 渠道版查询转换任务状态
|
|
63
|
+
*/
|
|
64
|
+
ChannelGetTaskResultApi(req: ChannelGetTaskResultApiRequest, cb?: (error: string, rep: ChannelGetTaskResultApiResponse) => void): Promise<ChannelGetTaskResultApiResponse>;
|
|
76
65
|
/**
|
|
77
66
|
* 此接口(SyncProxyOrganization)用于同步渠道侧企业信息
|
|
78
67
|
*/
|
|
79
68
|
SyncProxyOrganization(req: SyncProxyOrganizationRequest, cb?: (error: string, rep: SyncProxyOrganizationResponse) => void): Promise<SyncProxyOrganizationResponse>;
|
|
69
|
+
/**
|
|
70
|
+
* 此接口(GetDownloadFlowUrl)用于创建电子签批量下载地址,让合作企业进入控制台直接下载,支持客户合同(流程)按照自定义文件夹形式 分类下载。
|
|
71
|
+
当前接口限制最多合同(流程)50个.
|
|
72
|
+
|
|
73
|
+
*/
|
|
74
|
+
GetDownloadFlowUrl(req: GetDownloadFlowUrlRequest, cb?: (error: string, rep: GetDownloadFlowUrlResponse) => void): Promise<GetDownloadFlowUrlResponse>;
|
|
75
|
+
/**
|
|
76
|
+
* 该接口 (PrepareFlows) 用于创建待发起文件
|
|
77
|
+
用户通过该接口进入签署流程发起的确认页面,进行发起信息二次确认, 如果确认则进行正常发起。
|
|
78
|
+
目前该接口只支持B2C,不建议使用。
|
|
79
|
+
*/
|
|
80
|
+
PrepareFlows(req: PrepareFlowsRequest, cb?: (error: string, rep: PrepareFlowsResponse) => void): Promise<PrepareFlowsResponse>;
|
|
80
81
|
/**
|
|
81
82
|
* 根据签署流程信息批量获取资源下载链接,需合作企业先进行授权
|
|
82
83
|
*/
|
|
83
84
|
DescribeResourceUrlsByFlows(req: DescribeResourceUrlsByFlowsRequest, cb?: (error: string, rep: DescribeResourceUrlsByFlowsResponse) => void): Promise<DescribeResourceUrlsByFlowsResponse>;
|
|
85
|
+
/**
|
|
86
|
+
* 通过此接口(DescribeTemplates)查询该企业在电子签渠道版中配置的有效模板列表
|
|
87
|
+
*/
|
|
88
|
+
DescribeTemplates(req: DescribeTemplatesRequest, cb?: (error: string, rep: DescribeTemplatesResponse) => void): Promise<DescribeTemplatesResponse>;
|
|
84
89
|
/**
|
|
85
90
|
* 此接口(UploadFiles)用于文件上传。
|
|
86
91
|
调用时需要设置Domain 为 file.ess.tencent.cn
|
|
87
92
|
*/
|
|
88
93
|
UploadFiles(req: UploadFilesRequest, cb?: (error: string, rep: UploadFilesResponse) => void): Promise<UploadFilesResponse>;
|
|
94
|
+
/**
|
|
95
|
+
* 创建出证报告,返回报告 URL
|
|
96
|
+
*/
|
|
97
|
+
CreateChannelFlowEvidenceReport(req: CreateChannelFlowEvidenceReportRequest, cb?: (error: string, rep: CreateChannelFlowEvidenceReportResponse) => void): Promise<CreateChannelFlowEvidenceReportResponse>;
|
|
98
|
+
/**
|
|
99
|
+
* 此接口(OperateChannelTemplate)用于渠道侧将模板库中的模板对合作企业进行查询和设置, 其中包括可见性的修改以及对合作企业的设置.
|
|
100
|
+
1、同步标识=select时:
|
|
101
|
+
返回渠道侧模板库当前模板的属性.
|
|
102
|
+
2、同步标识=update或者delete时:
|
|
103
|
+
对渠道子客进行模板库中模板授权,修改操作
|
|
104
|
+
*/
|
|
105
|
+
OperateChannelTemplate(req: OperateChannelTemplateRequest, cb?: (error: string, rep: OperateChannelTemplateResponse) => void): Promise<OperateChannelTemplateResponse>;
|
|
106
|
+
/**
|
|
107
|
+
* 此接口(SyncProxyOrganizationOperators)用于同步渠道合作企业经办人列表
|
|
108
|
+
*/
|
|
109
|
+
SyncProxyOrganizationOperators(req: SyncProxyOrganizationOperatorsRequest, cb?: (error: string, rep: SyncProxyOrganizationOperatorsResponse) => void): Promise<SyncProxyOrganizationOperatorsResponse>;
|
|
110
|
+
/**
|
|
111
|
+
* 此接口(DescribeFlowDetailInfo)用于查询合同(签署流程)的详细信息。
|
|
112
|
+
*/
|
|
113
|
+
DescribeFlowDetailInfo(req: DescribeFlowDetailInfoRequest, cb?: (error: string, rep: DescribeFlowDetailInfoResponse) => void): Promise<DescribeFlowDetailInfoResponse>;
|
|
89
114
|
}
|
|
@@ -28,34 +28,13 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
28
28
|
super("essbasic.tencentcloudapi.com", "2021-05-26", clientConfig);
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
|
-
|
|
32
|
-
*/
|
|
33
|
-
async CreateFlowsByTemplates(req, cb) {
|
|
34
|
-
return this.request("CreateFlowsByTemplates", req, cb);
|
|
35
|
-
}
|
|
36
|
-
/**
|
|
37
|
-
* 此接口(GetDownloadFlowUrl)用于创建电子签批量下载地址,让合作企业进入控制台直接下载,支持客户合同(流程)按照自定义文件夹形式 分类下载。
|
|
38
|
-
当前接口限制最多合同(流程)50个.
|
|
31
|
+
* 提交企业签署流程审批结果
|
|
39
32
|
|
|
33
|
+
在通过接口(CreateFlowsByTemplates 或者ChannelCreateFlowByFiles)创建签署流程时,若指定了参数 NeedSignReview 为true,则可以调用此接口提交企业内部签署审批结果。
|
|
34
|
+
若签署流程状态正常,且本企业存在签署方未签署,同一签署流程可以多次提交签署审批结果,签署时的最后一个“审批结果”有效。
|
|
40
35
|
*/
|
|
41
|
-
async
|
|
42
|
-
return this.request("
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* 通过此接口(DescribeTemplates)查询该企业在电子签渠道版中配置的有效模板列表
|
|
46
|
-
*/
|
|
47
|
-
async DescribeTemplates(req, cb) {
|
|
48
|
-
return this.request("DescribeTemplates", req, cb);
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* 此接口(OperateChannelTemplate)用于渠道侧将模板库中的模板对合作企业进行查询和设置, 其中包括可见性的修改以及对合作企业的设置.
|
|
52
|
-
1、同步标识=select时:
|
|
53
|
-
返回渠道侧模板库当前模板的属性.
|
|
54
|
-
2、同步标识=update或者delete时:
|
|
55
|
-
对渠道子客进行模板库中模板授权,修改操作
|
|
56
|
-
*/
|
|
57
|
-
async OperateChannelTemplate(req, cb) {
|
|
58
|
-
return this.request("OperateChannelTemplate", req, cb);
|
|
36
|
+
async ChannelCreateFlowSignReview(req, cb) {
|
|
37
|
+
return this.request("ChannelCreateFlowSignReview", req, cb);
|
|
59
38
|
}
|
|
60
39
|
/**
|
|
61
40
|
* 此接口(ChannelCreateMultiFlowSignQRCode)用于创建一码多扫签署流程二维码。
|
|
@@ -70,20 +49,6 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
70
49
|
async ChannelCreateFlowByFiles(req, cb) {
|
|
71
50
|
return this.request("ChannelCreateFlowByFiles", req, cb);
|
|
72
51
|
}
|
|
73
|
-
/**
|
|
74
|
-
* 该接口 (PrepareFlows) 用于创建待发起文件
|
|
75
|
-
用户通过该接口进入签署流程发起的确认页面,进行发起信息二次确认, 如果确认则进行正常发起。
|
|
76
|
-
目前该接口只支持B2C,不建议使用。
|
|
77
|
-
*/
|
|
78
|
-
async PrepareFlows(req, cb) {
|
|
79
|
-
return this.request("PrepareFlows", req, cb);
|
|
80
|
-
}
|
|
81
|
-
/**
|
|
82
|
-
* 创建跳转小程序查看或签署的链接;自动签署的签署方不创建签署链接;
|
|
83
|
-
*/
|
|
84
|
-
async CreateSignUrls(req, cb) {
|
|
85
|
-
return this.request("CreateSignUrls", req, cb);
|
|
86
|
-
}
|
|
87
52
|
/**
|
|
88
53
|
* 渠道通过图片为子客代创建印章,图片最大5m;此接口不可直接使用,需要运营申请
|
|
89
54
|
*/
|
|
@@ -97,17 +62,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
97
62
|
return this.request("ChannelCancelMultiFlowSignQRCode", req, cb);
|
|
98
63
|
}
|
|
99
64
|
/**
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
*/
|
|
103
|
-
async CreateConsoleLoginUrl(req, cb) {
|
|
104
|
-
return this.request("CreateConsoleLoginUrl", req, cb);
|
|
105
|
-
}
|
|
106
|
-
/**
|
|
107
|
-
* 此接口(SyncProxyOrganizationOperators)用于同步渠道合作企业经办人列表
|
|
65
|
+
* 渠道创建文件转换任务
|
|
108
66
|
*/
|
|
109
|
-
async
|
|
110
|
-
return this.request("
|
|
67
|
+
async ChannelCreateConvertTaskApi(req, cb) {
|
|
68
|
+
return this.request("ChannelCreateConvertTaskApi", req, cb);
|
|
111
69
|
}
|
|
112
70
|
/**
|
|
113
71
|
* 此接口(DescribeUsage)用于获取渠道所有合作企业流量消耗情况。
|
|
@@ -117,10 +75,37 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
117
75
|
return this.request("DescribeUsage", req, cb);
|
|
118
76
|
}
|
|
119
77
|
/**
|
|
120
|
-
|
|
78
|
+
* 接口(CreateFlowsByTemplates)用于使用多个模板批量创建签署流程。当前可批量发起合同(签署流程)数量最大为20个。
|
|
79
|
+
|
|
80
|
+
*/
|
|
81
|
+
async CreateFlowsByTemplates(req, cb) {
|
|
82
|
+
return this.request("CreateFlowsByTemplates", req, cb);
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* 创建跳转小程序查看或签署的链接;自动签署的签署方不创建签署链接;
|
|
121
86
|
*/
|
|
122
|
-
async
|
|
123
|
-
return this.request("
|
|
87
|
+
async CreateSignUrls(req, cb) {
|
|
88
|
+
return this.request("CreateSignUrls", req, cb);
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* 此接口(CreateConsoleLoginUrl)用于创建电子签控制台登录链接。若企业未激活,调用同步企业信息、同步经办人信息
|
|
92
|
+
|
|
93
|
+
*/
|
|
94
|
+
async CreateConsoleLoginUrl(req, cb) {
|
|
95
|
+
return this.request("CreateConsoleLoginUrl", req, cb);
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* 指定需要批量撤销的签署流程Id,获取批量撤销链接
|
|
99
|
+
客户指定需要撤销的签署流程Id,最多100个,超过100不处理;接口调用成功返回批量撤销合同的链接,通过链接跳转到电子签小程序完成批量撤销
|
|
100
|
+
*/
|
|
101
|
+
async ChannelCreateBatchCancelFlowUrl(req, cb) {
|
|
102
|
+
return this.request("ChannelCreateBatchCancelFlowUrl", req, cb);
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* 渠道版查询转换任务状态
|
|
106
|
+
*/
|
|
107
|
+
async ChannelGetTaskResultApi(req, cb) {
|
|
108
|
+
return this.request("ChannelGetTaskResultApi", req, cb);
|
|
124
109
|
}
|
|
125
110
|
/**
|
|
126
111
|
* 此接口(SyncProxyOrganization)用于同步渠道侧企业信息
|
|
@@ -128,12 +113,34 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
128
113
|
async SyncProxyOrganization(req, cb) {
|
|
129
114
|
return this.request("SyncProxyOrganization", req, cb);
|
|
130
115
|
}
|
|
116
|
+
/**
|
|
117
|
+
* 此接口(GetDownloadFlowUrl)用于创建电子签批量下载地址,让合作企业进入控制台直接下载,支持客户合同(流程)按照自定义文件夹形式 分类下载。
|
|
118
|
+
当前接口限制最多合同(流程)50个.
|
|
119
|
+
|
|
120
|
+
*/
|
|
121
|
+
async GetDownloadFlowUrl(req, cb) {
|
|
122
|
+
return this.request("GetDownloadFlowUrl", req, cb);
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* 该接口 (PrepareFlows) 用于创建待发起文件
|
|
126
|
+
用户通过该接口进入签署流程发起的确认页面,进行发起信息二次确认, 如果确认则进行正常发起。
|
|
127
|
+
目前该接口只支持B2C,不建议使用。
|
|
128
|
+
*/
|
|
129
|
+
async PrepareFlows(req, cb) {
|
|
130
|
+
return this.request("PrepareFlows", req, cb);
|
|
131
|
+
}
|
|
131
132
|
/**
|
|
132
133
|
* 根据签署流程信息批量获取资源下载链接,需合作企业先进行授权
|
|
133
134
|
*/
|
|
134
135
|
async DescribeResourceUrlsByFlows(req, cb) {
|
|
135
136
|
return this.request("DescribeResourceUrlsByFlows", req, cb);
|
|
136
137
|
}
|
|
138
|
+
/**
|
|
139
|
+
* 通过此接口(DescribeTemplates)查询该企业在电子签渠道版中配置的有效模板列表
|
|
140
|
+
*/
|
|
141
|
+
async DescribeTemplates(req, cb) {
|
|
142
|
+
return this.request("DescribeTemplates", req, cb);
|
|
143
|
+
}
|
|
137
144
|
/**
|
|
138
145
|
* 此接口(UploadFiles)用于文件上传。
|
|
139
146
|
调用时需要设置Domain 为 file.ess.tencent.cn
|
|
@@ -141,5 +148,33 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
141
148
|
async UploadFiles(req, cb) {
|
|
142
149
|
return this.request("UploadFiles", req, cb);
|
|
143
150
|
}
|
|
151
|
+
/**
|
|
152
|
+
* 创建出证报告,返回报告 URL
|
|
153
|
+
*/
|
|
154
|
+
async CreateChannelFlowEvidenceReport(req, cb) {
|
|
155
|
+
return this.request("CreateChannelFlowEvidenceReport", req, cb);
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* 此接口(OperateChannelTemplate)用于渠道侧将模板库中的模板对合作企业进行查询和设置, 其中包括可见性的修改以及对合作企业的设置.
|
|
159
|
+
1、同步标识=select时:
|
|
160
|
+
返回渠道侧模板库当前模板的属性.
|
|
161
|
+
2、同步标识=update或者delete时:
|
|
162
|
+
对渠道子客进行模板库中模板授权,修改操作
|
|
163
|
+
*/
|
|
164
|
+
async OperateChannelTemplate(req, cb) {
|
|
165
|
+
return this.request("OperateChannelTemplate", req, cb);
|
|
166
|
+
}
|
|
167
|
+
/**
|
|
168
|
+
* 此接口(SyncProxyOrganizationOperators)用于同步渠道合作企业经办人列表
|
|
169
|
+
*/
|
|
170
|
+
async SyncProxyOrganizationOperators(req, cb) {
|
|
171
|
+
return this.request("SyncProxyOrganizationOperators", req, cb);
|
|
172
|
+
}
|
|
173
|
+
/**
|
|
174
|
+
* 此接口(DescribeFlowDetailInfo)用于查询合同(签署流程)的详细信息。
|
|
175
|
+
*/
|
|
176
|
+
async DescribeFlowDetailInfo(req, cb) {
|
|
177
|
+
return this.request("DescribeFlowDetailInfo", req, cb);
|
|
178
|
+
}
|
|
144
179
|
}
|
|
145
180
|
exports.Client = Client;
|