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.
- package/CHANGELOG.md +72670 -0
- package/LICENSE +201 -0
- package/README.md +121 -0
- package/SERVICE_CHANGELOG.md +72069 -0
- package/index.d.ts +2 -0
- package/index.js +6 -0
- package/package.json +47 -0
- package/prettier.config.js +38 -0
- package/products.md +193 -0
- package/src/index.ts +1 -0
- package/src/services/ess/index.ts +5 -0
- package/src/services/ess/v20201111/ess_client.ts +147 -0
- package/src/services/ess/v20201111/ess_models.ts +857 -0
- package/src/services/ess/v20201111/index.ts +6 -0
- package/src/services/index.ts +1 -0
- package/tencentcloud/index.d.ts +1 -0
- package/tencentcloud/index.js +4 -0
- package/tencentcloud/services/ess/index.d.ts +6 -0
- package/tencentcloud/services/ess/index.js +7 -0
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +45 -0
- package/tencentcloud/services/ess/v20201111/ess_client.js +85 -0
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +707 -0
- package/tencentcloud/services/ess/v20201111/ess_models.js +18 -0
- package/tencentcloud/services/ess/v20201111/index.d.ts +6 -0
- package/tencentcloud/services/ess/v20201111/index.js +9 -0
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +4 -0
- package/tsconfig.json +33 -0
- package/typings/index.d.ts +2 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ess } from "./ess"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./services";
|
|
@@ -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;
|