tencentcloud-sdk-nodejs-ess 4.0.297

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.
@@ -0,0 +1,6 @@
1
+ import * as Models from "./ess_models"
2
+ import { Client } from "./ess_client"
3
+ export const v20201111 = {
4
+ Client: Client,
5
+ Models: Models,
6
+ }
@@ -0,0 +1 @@
1
+ export { ess } from "./ess"
@@ -0,0 +1 @@
1
+ export * from "./services";
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./services"), exports);
@@ -0,0 +1,6 @@
1
+ export declare const ess: {
2
+ v20201111: {
3
+ Client: typeof import("./v20201111/ess_client").Client;
4
+ Models: typeof import("./v20201111/ess_models");
5
+ };
6
+ };
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ess = void 0;
4
+ const v20201111_1 = require("./v20201111");
5
+ exports.ess = {
6
+ v20201111: v20201111_1.v20201111,
7
+ };
@@ -0,0 +1,45 @@
1
+ import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
2
+ import { DescribeFileUrlsResponse, CreateDocumentResponse, StartFlowRequest, CancelFlowResponse, CreateDocumentRequest, CreateFlowRequest, CreateSchemeUrlRequest, DescribeThirdPartyAuthCodeRequest, CancelFlowRequest, DescribeFlowBriefsResponse, DescribeThirdPartyAuthCodeResponse, CreateFlowByFilesResponse, DescribeFlowBriefsRequest, DescribeFileUrlsRequest, StartFlowResponse, CreateSchemeUrlResponse, CreateFlowByFilesRequest, CreateFlowResponse } from "./ess_models";
3
+ /**
4
+ * ess client
5
+ * @class
6
+ */
7
+ export declare class Client extends TencentCloudCommon.AbstractClient {
8
+ constructor(clientConfig: TencentCloudCommon.ClientConfig);
9
+ /**
10
+ * 此接口用于发起流程
11
+ */
12
+ StartFlow(req: StartFlowRequest, cb?: (error: string, rep: StartFlowResponse) => void): Promise<StartFlowResponse>;
13
+ /**
14
+ * 用于撤销流程
15
+ */
16
+ CancelFlow(req: CancelFlowRequest, cb?: (error: string, rep: CancelFlowResponse) => void): Promise<CancelFlowResponse>;
17
+ /**
18
+ * 创建电子文档
19
+ */
20
+ CreateDocument(req: CreateDocumentRequest, cb?: (error: string, rep: CreateDocumentResponse) => void): Promise<CreateDocumentResponse>;
21
+ /**
22
+ * 查询文件下载URL
23
+ */
24
+ DescribeFileUrls(req: DescribeFileUrlsRequest, cb?: (error: string, rep: DescribeFileUrlsResponse) => void): Promise<DescribeFileUrlsResponse>;
25
+ /**
26
+ * 创建签署流程
27
+ */
28
+ CreateFlow(req: CreateFlowRequest, cb?: (error: string, rep: CreateFlowResponse) => void): Promise<CreateFlowResponse>;
29
+ /**
30
+ * 获取小程序跳转链接
31
+ */
32
+ CreateSchemeUrl(req: CreateSchemeUrlRequest, cb?: (error: string, rep: CreateSchemeUrlResponse) => void): Promise<CreateSchemeUrlResponse>;
33
+ /**
34
+ * 通过AuthCode查询用户是否实名
35
+ */
36
+ DescribeThirdPartyAuthCode(req: DescribeThirdPartyAuthCodeRequest, cb?: (error: string, rep: DescribeThirdPartyAuthCodeResponse) => void): Promise<DescribeThirdPartyAuthCodeResponse>;
37
+ /**
38
+ * 查询流程摘要
39
+ */
40
+ DescribeFlowBriefs(req: DescribeFlowBriefsRequest, cb?: (error: string, rep: DescribeFlowBriefsResponse) => void): Promise<DescribeFlowBriefsResponse>;
41
+ /**
42
+ * 此接口(CreateFlowByFiles)用来通过上传后的pdf资源编号来创建流程。
43
+ */
44
+ CreateFlowByFiles(req: CreateFlowByFilesRequest, cb?: (error: string, rep: CreateFlowByFilesResponse) => void): Promise<CreateFlowByFilesResponse>;
45
+ }
@@ -0,0 +1,85 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Client = void 0;
4
+ /* eslint-disable @typescript-eslint/no-unused-vars */
5
+ /*
6
+ * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
7
+ *
8
+ * Licensed under the Apache License, Version 2.0 (the "License");
9
+ * you may not use this file except in compliance with the License.
10
+ * You may obtain a copy of the License at
11
+ *
12
+ * http://www.apache.org/licenses/LICENSE-2.0
13
+ *
14
+ * Unless required by applicable law or agreed to in writing,
15
+ * software distributed under the License is distributed on an
16
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17
+ * KIND, either express or implied. See the License for the
18
+ * specific language governing permissions and limitations
19
+ * under the License.
20
+ */
21
+ const TencentCloudCommon = require("tencentcloud-sdk-nodejs-common");
22
+ /**
23
+ * ess client
24
+ * @class
25
+ */
26
+ class Client extends TencentCloudCommon.AbstractClient {
27
+ constructor(clientConfig) {
28
+ super("ess.tencentcloudapi.com", "2020-11-11", clientConfig);
29
+ }
30
+ /**
31
+ * 此接口用于发起流程
32
+ */
33
+ async StartFlow(req, cb) {
34
+ return this.request("StartFlow", req, cb);
35
+ }
36
+ /**
37
+ * 用于撤销流程
38
+ */
39
+ async CancelFlow(req, cb) {
40
+ return this.request("CancelFlow", req, cb);
41
+ }
42
+ /**
43
+ * 创建电子文档
44
+ */
45
+ async CreateDocument(req, cb) {
46
+ return this.request("CreateDocument", req, cb);
47
+ }
48
+ /**
49
+ * 查询文件下载URL
50
+ */
51
+ async DescribeFileUrls(req, cb) {
52
+ return this.request("DescribeFileUrls", req, cb);
53
+ }
54
+ /**
55
+ * 创建签署流程
56
+ */
57
+ async CreateFlow(req, cb) {
58
+ return this.request("CreateFlow", req, cb);
59
+ }
60
+ /**
61
+ * 获取小程序跳转链接
62
+ */
63
+ async CreateSchemeUrl(req, cb) {
64
+ return this.request("CreateSchemeUrl", req, cb);
65
+ }
66
+ /**
67
+ * 通过AuthCode查询用户是否实名
68
+ */
69
+ async DescribeThirdPartyAuthCode(req, cb) {
70
+ return this.request("DescribeThirdPartyAuthCode", req, cb);
71
+ }
72
+ /**
73
+ * 查询流程摘要
74
+ */
75
+ async DescribeFlowBriefs(req, cb) {
76
+ return this.request("DescribeFlowBriefs", req, cb);
77
+ }
78
+ /**
79
+ * 此接口(CreateFlowByFiles)用来通过上传后的pdf资源编号来创建流程。
80
+ */
81
+ async CreateFlowByFiles(req, cb) {
82
+ return this.request("CreateFlowByFiles", req, cb);
83
+ }
84
+ }
85
+ exports.Client = Client;