tencentcloud-sdk-nodejs 4.0.388 → 4.0.389
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 +233 -0
- package/SERVICE_CHANGELOG.md +385 -112
- package/package.json +1 -1
- package/products.md +14 -12
- package/src/common/sdk_version.ts +1 -1
- package/src/services/antiddos/v20200309/antiddos_models.ts +42 -0
- package/src/services/bma/index.ts +5 -0
- package/src/services/bma/v20210624/bma_client.ts +79 -0
- package/src/services/bma/v20210624/bma_models.ts +316 -0
- package/src/services/bma/v20210624/index.ts +6 -0
- package/src/services/cfw/v20190904/cfw_client.ts +1 -1
- package/src/services/clb/v20180317/clb_models.ts +1 -1
- package/src/services/cpdp/v20190820/cpdp_models.ts +6 -0
- package/src/services/dataintegration/index.ts +5 -0
- package/src/services/dataintegration/v20220613/dataintegration_client.ts +40 -0
- package/src/services/dataintegration/v20220613/dataintegration_models.ts +61 -0
- package/src/services/dataintegration/v20220613/index.ts +6 -0
- package/src/services/dbdc/v20201029/dbdc_models.ts +31 -4
- package/src/services/ess/v20201111/ess_models.ts +93 -93
- package/src/services/gaap/v20180529/gaap_models.ts +195 -20
- package/src/services/index.ts +2 -0
- package/src/services/mariadb/v20170312/mariadb_models.ts +10 -0
- package/src/services/redis/v20180412/redis_client.ts +85 -61
- package/src/services/redis/v20180412/redis_models.ts +71 -6
- package/src/services/tdmq/v20200217/tdmq_client.ts +1 -1
- package/src/services/tdmq/v20200217/tdmq_models.ts +1 -1
- package/src/services/trp/v20210515/trp_models.ts +21 -1
- package/src/services/tsf/v20180326/tsf_models.ts +6 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +34 -0
- package/tencentcloud/services/bma/index.d.ts +6 -0
- package/tencentcloud/services/bma/index.js +7 -0
- package/tencentcloud/services/bma/v20210624/bma_client.d.ts +26 -0
- package/tencentcloud/services/bma/v20210624/bma_client.js +55 -0
- package/tencentcloud/services/bma/v20210624/bma_models.d.ts +248 -0
- package/tencentcloud/services/bma/v20210624/bma_models.js +18 -0
- package/tencentcloud/services/bma/v20210624/index.d.ts +6 -0
- package/tencentcloud/services/bma/v20210624/index.js +9 -0
- package/tencentcloud/services/cfw/v20190904/cfw_client.d.ts +1 -1
- package/tencentcloud/services/cfw/v20190904/cfw_client.js +1 -1
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +1 -1
- package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +5 -0
- package/tencentcloud/services/dataintegration/index.d.ts +6 -0
- package/tencentcloud/services/dataintegration/index.js +7 -0
- package/tencentcloud/services/dataintegration/v20220613/dataintegration_client.d.ts +14 -0
- package/tencentcloud/services/dataintegration/v20220613/dataintegration_client.js +37 -0
- package/tencentcloud/services/dataintegration/v20220613/dataintegration_models.d.ts +39 -0
- package/tencentcloud/services/dataintegration/v20220613/dataintegration_models.js +18 -0
- package/tencentcloud/services/dataintegration/v20220613/index.d.ts +6 -0
- package/tencentcloud/services/dataintegration/v20220613/index.js +9 -0
- package/tencentcloud/services/dbdc/v20201029/dbdc_models.d.ts +26 -4
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +81 -81
- package/tencentcloud/services/gaap/v20180529/gaap_models.d.ts +159 -18
- package/tencentcloud/services/index.d.ts +2 -0
- package/tencentcloud/services/index.js +4 -0
- package/tencentcloud/services/mariadb/v20170312/mariadb_models.d.ts +8 -0
- package/tencentcloud/services/redis/v20180412/redis_client.d.ts +29 -21
- package/tencentcloud/services/redis/v20180412/redis_client.js +42 -30
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +62 -6
- package/tencentcloud/services/tdmq/v20200217/tdmq_client.d.ts +1 -1
- package/tencentcloud/services/tdmq/v20200217/tdmq_client.js +1 -1
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +1 -1
- package/tencentcloud/services/trp/v20210515/trp_models.d.ts +17 -1
- package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +5 -1
- package/test/bma.v20210624.test.js +61 -0
- package/test/dataintegration.v20220613.test.js +31 -0
- package/test/redis.v20180412.test.js +40 -20
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
|
+
import { ClientConfig } from "../../../common/interface";
|
|
3
|
+
import { SendMessageResponse, SendMessageRequest } from "./dataintegration_models";
|
|
4
|
+
/**
|
|
5
|
+
* dataintegration client
|
|
6
|
+
* @class
|
|
7
|
+
*/
|
|
8
|
+
export declare class Client extends AbstractClient {
|
|
9
|
+
constructor(clientConfig: ClientConfig);
|
|
10
|
+
/**
|
|
11
|
+
* 使用SDK将数据上报到DIP
|
|
12
|
+
*/
|
|
13
|
+
SendMessage(req: SendMessageRequest, cb?: (error: string, rep: SendMessageResponse) => void): Promise<SendMessageResponse>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
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 abstract_client_1 = require("../../../common/abstract_client");
|
|
22
|
+
/**
|
|
23
|
+
* dataintegration client
|
|
24
|
+
* @class
|
|
25
|
+
*/
|
|
26
|
+
class Client extends abstract_client_1.AbstractClient {
|
|
27
|
+
constructor(clientConfig) {
|
|
28
|
+
super("dataintegration.tencentcloudapi.com", "2022-06-13", clientConfig);
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* 使用SDK将数据上报到DIP
|
|
32
|
+
*/
|
|
33
|
+
async SendMessage(req, cb) {
|
|
34
|
+
return this.request("SendMessage", req, cb);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
exports.Client = Client;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SendMessage返回参数结构体
|
|
3
|
+
*/
|
|
4
|
+
export interface SendMessageResponse {
|
|
5
|
+
/**
|
|
6
|
+
* 消息ID
|
|
7
|
+
*/
|
|
8
|
+
MessageId: Array<string>;
|
|
9
|
+
/**
|
|
10
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
11
|
+
*/
|
|
12
|
+
RequestId?: string;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* 批量消息
|
|
16
|
+
*/
|
|
17
|
+
export interface BatchContent {
|
|
18
|
+
/**
|
|
19
|
+
* 消息体
|
|
20
|
+
*/
|
|
21
|
+
Body: string;
|
|
22
|
+
/**
|
|
23
|
+
* 消息的键名
|
|
24
|
+
*/
|
|
25
|
+
Key?: string;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* SendMessage请求参数结构体
|
|
29
|
+
*/
|
|
30
|
+
export interface SendMessageRequest {
|
|
31
|
+
/**
|
|
32
|
+
* 接入资源ID
|
|
33
|
+
*/
|
|
34
|
+
DataHubId: string;
|
|
35
|
+
/**
|
|
36
|
+
* 批量消息
|
|
37
|
+
*/
|
|
38
|
+
Message: Array<BatchContent>;
|
|
39
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing,
|
|
12
|
+
* software distributed under the License is distributed on an
|
|
13
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
14
|
+
* KIND, either express or implied. See the License for the
|
|
15
|
+
* specific language governing permissions and limitations
|
|
16
|
+
* under the License.
|
|
17
|
+
*/
|
|
18
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.v20220613 = void 0;
|
|
4
|
+
const Models = require("./dataintegration_models");
|
|
5
|
+
const dataintegration_client_1 = require("./dataintegration_client");
|
|
6
|
+
exports.v20220613 = {
|
|
7
|
+
Client: dataintegration_client_1.Client,
|
|
8
|
+
Models: Models
|
|
9
|
+
};
|
|
@@ -144,10 +144,15 @@ export interface DescribeInstanceDetailResponse {
|
|
|
144
144
|
*/
|
|
145
145
|
Zone: string;
|
|
146
146
|
/**
|
|
147
|
-
*
|
|
147
|
+
* 金融围笼ID
|
|
148
148
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
149
149
|
*/
|
|
150
150
|
FenceId: string;
|
|
151
|
+
/**
|
|
152
|
+
* 所属集群ID(默认集群为空)
|
|
153
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
154
|
+
*/
|
|
155
|
+
ClusterId: string;
|
|
151
156
|
/**
|
|
152
157
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
153
158
|
*/
|
|
@@ -174,11 +179,11 @@ export interface DescribeInstanceDetail {
|
|
|
174
179
|
*/
|
|
175
180
|
ProductId: number;
|
|
176
181
|
/**
|
|
177
|
-
* 集群类型, 0:公有云, 1
|
|
182
|
+
* 集群类型, 0:公有云, 1:金融围笼, 2:CDC集群
|
|
178
183
|
*/
|
|
179
184
|
Type: number;
|
|
180
185
|
/**
|
|
181
|
-
* 主机类型, 0:物理机, 1:
|
|
186
|
+
* 主机类型, 0:物理机, 1:CVM机型, 2:CDC机型
|
|
182
187
|
*/
|
|
183
188
|
HostType: number;
|
|
184
189
|
/**
|
|
@@ -254,10 +259,15 @@ export interface DescribeInstanceDetail {
|
|
|
254
259
|
*/
|
|
255
260
|
Zone: string;
|
|
256
261
|
/**
|
|
257
|
-
*
|
|
262
|
+
* 金融围笼ID
|
|
258
263
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
259
264
|
*/
|
|
260
265
|
FenceId: string;
|
|
266
|
+
/**
|
|
267
|
+
* 所属集群ID(默认集群为空)
|
|
268
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
269
|
+
*/
|
|
270
|
+
ClusterId: string;
|
|
261
271
|
}
|
|
262
272
|
/**
|
|
263
273
|
* DescribeDBInstances请求参数结构体
|
|
@@ -565,6 +575,10 @@ export interface DBInstanceDetail {
|
|
|
565
575
|
* 分布式类型的实例的分片数
|
|
566
576
|
*/
|
|
567
577
|
ShardNum: number;
|
|
578
|
+
/**
|
|
579
|
+
* 地域
|
|
580
|
+
*/
|
|
581
|
+
Region: string;
|
|
568
582
|
/**
|
|
569
583
|
* 可用区
|
|
570
584
|
*/
|
|
@@ -581,6 +595,10 @@ export interface DBInstanceDetail {
|
|
|
581
595
|
* DB引擎,MySQL,Percona,MariaDB
|
|
582
596
|
*/
|
|
583
597
|
DbEngine: string;
|
|
598
|
+
/**
|
|
599
|
+
* 创建时间
|
|
600
|
+
*/
|
|
601
|
+
CreateTime: string;
|
|
584
602
|
}
|
|
585
603
|
/**
|
|
586
604
|
* ModifyInstanceName返回参数结构体
|
|
@@ -777,6 +795,10 @@ export interface DescribeInstanceListRequest {
|
|
|
777
795
|
* 按实例状态过滤, -1:已隔离, 0:创建中, 1:运行中, 2:扩容中, 3:删除中
|
|
778
796
|
*/
|
|
779
797
|
Status?: Array<number>;
|
|
798
|
+
/**
|
|
799
|
+
* 按所属集群ID过滤
|
|
800
|
+
*/
|
|
801
|
+
ClusterId?: Array<string>;
|
|
780
802
|
}
|
|
781
803
|
/**
|
|
782
804
|
* ModifyInstanceName请求参数结构体
|
|
@@ -128,22 +128,22 @@ export interface CreateDocumentResponse {
|
|
|
128
128
|
* StartFlow请求参数结构体
|
|
129
129
|
*/
|
|
130
130
|
export interface StartFlowRequest {
|
|
131
|
+
/**
|
|
132
|
+
* 调用方用户信息,userId 必填
|
|
133
|
+
*/
|
|
134
|
+
Operator: UserInfo;
|
|
131
135
|
/**
|
|
132
136
|
* 签署流程编号,由CreateFlow接口返回
|
|
133
137
|
*/
|
|
134
138
|
FlowId: string;
|
|
135
139
|
/**
|
|
136
|
-
*
|
|
140
|
+
* 客户端Token,保持接口幂等性,最大长度64个字符
|
|
137
141
|
*/
|
|
138
|
-
|
|
142
|
+
ClientToken?: string;
|
|
139
143
|
/**
|
|
140
144
|
* 应用相关信息
|
|
141
145
|
*/
|
|
142
146
|
Agent?: Agent;
|
|
143
|
-
/**
|
|
144
|
-
* 客户端Token,保持接口幂等性,最大长度64个字符
|
|
145
|
-
*/
|
|
146
|
-
ClientToken?: string;
|
|
147
147
|
}
|
|
148
148
|
/**
|
|
149
149
|
* CancelFlow返回参数结构体
|
|
@@ -158,6 +158,10 @@ export interface CancelFlowResponse {
|
|
|
158
158
|
* CreateDocument请求参数结构体
|
|
159
159
|
*/
|
|
160
160
|
export interface CreateDocumentRequest {
|
|
161
|
+
/**
|
|
162
|
+
* 调用方用户信息,userId 必填
|
|
163
|
+
*/
|
|
164
|
+
Operator: UserInfo;
|
|
161
165
|
/**
|
|
162
166
|
* 签署流程编号,由CreateFlow接口返回
|
|
163
167
|
*/
|
|
@@ -170,14 +174,6 @@ export interface CreateDocumentRequest {
|
|
|
170
174
|
* 文件名列表,单个文件名最大长度200个字符
|
|
171
175
|
*/
|
|
172
176
|
FileNames: Array<string>;
|
|
173
|
-
/**
|
|
174
|
-
* 无
|
|
175
|
-
*/
|
|
176
|
-
Operator: UserInfo;
|
|
177
|
-
/**
|
|
178
|
-
* 应用相关信息
|
|
179
|
-
*/
|
|
180
|
-
Agent?: Agent;
|
|
181
177
|
/**
|
|
182
178
|
* 内容控件信息数组
|
|
183
179
|
*/
|
|
@@ -191,11 +187,19 @@ export interface CreateDocumentRequest {
|
|
|
191
187
|
* 客户端Token,保持接口幂等性,最大长度64个字符
|
|
192
188
|
*/
|
|
193
189
|
ClientToken?: string;
|
|
190
|
+
/**
|
|
191
|
+
* 应用相关信息
|
|
192
|
+
*/
|
|
193
|
+
Agent?: Agent;
|
|
194
194
|
}
|
|
195
195
|
/**
|
|
196
196
|
* CreateFlow请求参数结构体
|
|
197
197
|
*/
|
|
198
198
|
export interface CreateFlowRequest {
|
|
199
|
+
/**
|
|
200
|
+
* 调用方用户信息,userId 必填
|
|
201
|
+
*/
|
|
202
|
+
Operator: UserInfo;
|
|
199
203
|
/**
|
|
200
204
|
* 签署流程名称,最大长度200个字符
|
|
201
205
|
*/
|
|
@@ -205,29 +209,22 @@ export interface CreateFlowRequest {
|
|
|
205
209
|
*/
|
|
206
210
|
Approvers: Array<FlowCreateApprover>;
|
|
207
211
|
/**
|
|
208
|
-
*
|
|
212
|
+
* 签署流程的类型(如销售合同/入职合同等),最大长度200个字符
|
|
209
213
|
*/
|
|
210
|
-
|
|
214
|
+
FlowType?: string;
|
|
211
215
|
/**
|
|
212
|
-
*
|
|
216
|
+
* 客户端Token,保持接口幂等性,最大长度64个字符
|
|
213
217
|
*/
|
|
214
|
-
|
|
218
|
+
ClientToken?: string;
|
|
215
219
|
/**
|
|
216
|
-
*
|
|
217
|
-
true:无序签
|
|
218
|
-
false:有序签
|
|
219
|
-
注:默认为false(有序签),请和模板中的配置保持一致
|
|
220
|
+
* 暂未开放
|
|
220
221
|
*/
|
|
221
|
-
|
|
222
|
+
CallbackUrl?: string;
|
|
222
223
|
/**
|
|
223
224
|
* 签署流程的签署截止时间。
|
|
224
225
|
值为unix时间戳,精确到秒,不传默认为当前时间一年后
|
|
225
226
|
*/
|
|
226
227
|
DeadLine?: number;
|
|
227
|
-
/**
|
|
228
|
-
* 签署流程的类型(如销售合同/入职合同等),最大长度200个字符
|
|
229
|
-
*/
|
|
230
|
-
FlowType?: string;
|
|
231
228
|
/**
|
|
232
229
|
* 用户自定义字段(需进行base64 encode),回调的时候会进行透传, 长度需要小于20480
|
|
233
230
|
*/
|
|
@@ -237,9 +234,12 @@ false:有序签
|
|
|
237
234
|
*/
|
|
238
235
|
FlowDescription?: string;
|
|
239
236
|
/**
|
|
240
|
-
*
|
|
237
|
+
* 发送类型:
|
|
238
|
+
true:无序签
|
|
239
|
+
false:有序签
|
|
240
|
+
注:默认为false(有序签),请和模板中的配置保持一致
|
|
241
241
|
*/
|
|
242
|
-
|
|
242
|
+
Unordered?: boolean;
|
|
243
243
|
/**
|
|
244
244
|
* 合同显示的页卡模板,说明:只支持{合同名称}, {发起方企业}, {发起方姓名}, {签署方N企业}, {签署方N姓名},且N不能超过签署人的数量,N从1开始
|
|
245
245
|
*/
|
|
@@ -249,29 +249,22 @@ false:有序签
|
|
|
249
249
|
*/
|
|
250
250
|
RelatedFlowId?: string;
|
|
251
251
|
/**
|
|
252
|
-
*
|
|
252
|
+
* 应用相关信息
|
|
253
253
|
*/
|
|
254
|
-
|
|
254
|
+
Agent?: Agent;
|
|
255
255
|
}
|
|
256
256
|
/**
|
|
257
257
|
* CreateSchemeUrl请求参数结构体
|
|
258
258
|
*/
|
|
259
259
|
export interface CreateSchemeUrlRequest {
|
|
260
260
|
/**
|
|
261
|
-
*
|
|
261
|
+
* 调用方用户信息,userId 必填
|
|
262
262
|
*/
|
|
263
263
|
Operator: UserInfo;
|
|
264
264
|
/**
|
|
265
|
-
*
|
|
266
|
-
*/
|
|
267
|
-
Agent?: Agent;
|
|
268
|
-
/**
|
|
269
|
-
* 链接类型
|
|
270
|
-
HTTP:跳转电子签小程序的http_url,
|
|
271
|
-
APP:第三方APP或小程序跳转电子签小程序的path。
|
|
272
|
-
默认为HTTP类型
|
|
265
|
+
* 企业名称
|
|
273
266
|
*/
|
|
274
|
-
|
|
267
|
+
OrganizationName?: string;
|
|
275
268
|
/**
|
|
276
269
|
* 姓名,最大长度50个字符
|
|
277
270
|
*/
|
|
@@ -281,9 +274,12 @@ APP:第三方APP或小程序跳转电子签小程序的path。
|
|
|
281
274
|
*/
|
|
282
275
|
Mobile?: string;
|
|
283
276
|
/**
|
|
284
|
-
*
|
|
277
|
+
* 链接类型
|
|
278
|
+
HTTP:跳转电子签小程序的http_url,
|
|
279
|
+
APP:第三方APP或小程序跳转电子签小程序的path。
|
|
280
|
+
默认为HTTP类型
|
|
285
281
|
*/
|
|
286
|
-
|
|
282
|
+
EndPoint?: string;
|
|
287
283
|
/**
|
|
288
284
|
* 签署流程编号 (PathType=1时必传)
|
|
289
285
|
*/
|
|
@@ -296,6 +292,10 @@ APP:第三方APP或小程序跳转电子签小程序的path。
|
|
|
296
292
|
* 是否自动回跳 true:是, false:否。该参数只针对"APP" 类型的签署链接有效
|
|
297
293
|
*/
|
|
298
294
|
AutoJumpBack?: boolean;
|
|
295
|
+
/**
|
|
296
|
+
* 应用相关信息
|
|
297
|
+
*/
|
|
298
|
+
Agent?: Agent;
|
|
299
299
|
}
|
|
300
300
|
/**
|
|
301
301
|
* 下载文件的URL信息
|
|
@@ -380,6 +380,10 @@ false--否,不处理
|
|
|
380
380
|
* CancelFlow请求参数结构体
|
|
381
381
|
*/
|
|
382
382
|
export interface CancelFlowRequest {
|
|
383
|
+
/**
|
|
384
|
+
* 调用方用户信息,userId 必填
|
|
385
|
+
*/
|
|
386
|
+
Operator: UserInfo;
|
|
383
387
|
/**
|
|
384
388
|
* 签署流程id
|
|
385
389
|
*/
|
|
@@ -388,10 +392,6 @@ export interface CancelFlowRequest {
|
|
|
388
392
|
* 撤销原因,最长200个字符;
|
|
389
393
|
*/
|
|
390
394
|
CancelMessage: string;
|
|
391
|
-
/**
|
|
392
|
-
* 操作用户id
|
|
393
|
-
*/
|
|
394
|
-
Operator: UserInfo;
|
|
395
395
|
/**
|
|
396
396
|
* 应用相关信息
|
|
397
397
|
*/
|
|
@@ -633,13 +633,13 @@ export interface CreateFlowByFilesResponse {
|
|
|
633
633
|
*/
|
|
634
634
|
export interface DescribeFlowBriefsRequest {
|
|
635
635
|
/**
|
|
636
|
-
*
|
|
636
|
+
* 调用方用户信息,userId 必填
|
|
637
637
|
*/
|
|
638
|
-
|
|
638
|
+
Operator: UserInfo;
|
|
639
639
|
/**
|
|
640
|
-
*
|
|
640
|
+
* 需要查询的流程ID列表
|
|
641
641
|
*/
|
|
642
|
-
|
|
642
|
+
FlowIds: Array<string>;
|
|
643
643
|
/**
|
|
644
644
|
* 应用相关信息
|
|
645
645
|
*/
|
|
@@ -954,6 +954,10 @@ export interface CreateSchemeUrlResponse {
|
|
|
954
954
|
* CreateFlowByFiles请求参数结构体
|
|
955
955
|
*/
|
|
956
956
|
export interface CreateFlowByFilesRequest {
|
|
957
|
+
/**
|
|
958
|
+
* 调用方用户信息,userId 必填
|
|
959
|
+
*/
|
|
960
|
+
Operator: UserInfo;
|
|
957
961
|
/**
|
|
958
962
|
* 签署流程名称,最大长度200个字符
|
|
959
963
|
*/
|
|
@@ -967,13 +971,9 @@ export interface CreateFlowByFilesRequest {
|
|
|
967
971
|
*/
|
|
968
972
|
FileIds: Array<string>;
|
|
969
973
|
/**
|
|
970
|
-
*
|
|
971
|
-
*/
|
|
972
|
-
Operator: UserInfo;
|
|
973
|
-
/**
|
|
974
|
-
* 应用号信息
|
|
974
|
+
* 签署流程的类型(如销售合同/入职合同等),最大长度200个字符
|
|
975
975
|
*/
|
|
976
|
-
|
|
976
|
+
FlowType?: string;
|
|
977
977
|
/**
|
|
978
978
|
* 经办人内容控件配置。可选类型为:
|
|
979
979
|
TEXT - 内容文本控件
|
|
@@ -984,17 +984,10 @@ ATTACHMENT - 附件
|
|
|
984
984
|
*/
|
|
985
985
|
Components?: Array<Component>;
|
|
986
986
|
/**
|
|
987
|
-
*
|
|
988
|
-
|
|
989
|
-
*/
|
|
990
|
-
Deadline?: number;
|
|
991
|
-
/**
|
|
992
|
-
* 发送类型:
|
|
993
|
-
true:无序签
|
|
994
|
-
false:有序签
|
|
995
|
-
注:默认为false(有序签)
|
|
987
|
+
* 被抄送人的信息列表。
|
|
988
|
+
注:此功能为白名单功能,若有需要,请联系电子签客服开白使用
|
|
996
989
|
*/
|
|
997
|
-
|
|
990
|
+
CcInfos?: Array<CcInfo>;
|
|
998
991
|
/**
|
|
999
992
|
* 是否需要预览,true:预览模式,false:非预览(默认);
|
|
1000
993
|
预览链接有效期300秒;
|
|
@@ -1005,18 +998,25 @@ false:有序签
|
|
|
1005
998
|
*/
|
|
1006
999
|
FlowDescription?: string;
|
|
1007
1000
|
/**
|
|
1008
|
-
*
|
|
1001
|
+
* 签署流程的签署截止时间。
|
|
1002
|
+
值为unix时间戳,精确到秒,不传默认为当前时间一年后
|
|
1009
1003
|
*/
|
|
1010
|
-
|
|
1004
|
+
Deadline?: number;
|
|
1011
1005
|
/**
|
|
1012
|
-
*
|
|
1013
|
-
|
|
1006
|
+
* 发送类型:
|
|
1007
|
+
true:无序签
|
|
1008
|
+
false:有序签
|
|
1009
|
+
注:默认为false(有序签)
|
|
1014
1010
|
*/
|
|
1015
|
-
|
|
1011
|
+
Unordered?: boolean;
|
|
1016
1012
|
/**
|
|
1017
1013
|
* 合同显示的页卡模板,说明:只支持{合同名称}, {发起方企业}, {发起方姓名}, {签署方N企业}, {签署方N姓名},且N不能超过签署人的数量,N从1开始
|
|
1018
1014
|
*/
|
|
1019
1015
|
CustomShowMap?: string;
|
|
1016
|
+
/**
|
|
1017
|
+
* 应用号信息
|
|
1018
|
+
*/
|
|
1019
|
+
Agent?: Agent;
|
|
1020
1020
|
}
|
|
1021
1021
|
/**
|
|
1022
1022
|
* CancelMultiFlowSignQRCode返回参数结构体
|
|
@@ -1066,33 +1066,33 @@ export interface FormField {
|
|
|
1066
1066
|
*/
|
|
1067
1067
|
export interface DescribeFlowTemplatesRequest {
|
|
1068
1068
|
/**
|
|
1069
|
-
*
|
|
1069
|
+
* 调用方用户信息,userId 必填
|
|
1070
1070
|
*/
|
|
1071
1071
|
Operator: UserInfo;
|
|
1072
1072
|
/**
|
|
1073
|
-
*
|
|
1073
|
+
* 搜索条件,具体参考Filter结构体。本接口取值:template-id:按照【 **模板唯一标识** 】进行过滤
|
|
1074
1074
|
*/
|
|
1075
|
-
|
|
1075
|
+
Filters?: Array<Filter>;
|
|
1076
1076
|
/**
|
|
1077
1077
|
* 查询个数,默认20,最大100
|
|
1078
1078
|
*/
|
|
1079
1079
|
Limit?: number;
|
|
1080
1080
|
/**
|
|
1081
|
-
*
|
|
1081
|
+
* 查询偏移位置,默认0
|
|
1082
1082
|
*/
|
|
1083
|
-
|
|
1083
|
+
Offset?: number;
|
|
1084
1084
|
/**
|
|
1085
|
-
*
|
|
1085
|
+
* 查询内容:0-模板列表及详情(默认),1-仅模板列表
|
|
1086
1086
|
*/
|
|
1087
|
-
|
|
1087
|
+
ContentType?: number;
|
|
1088
1088
|
/**
|
|
1089
1089
|
* 暂未开放
|
|
1090
1090
|
*/
|
|
1091
1091
|
GenerateSource?: number;
|
|
1092
1092
|
/**
|
|
1093
|
-
*
|
|
1093
|
+
* 应用相关信息
|
|
1094
1094
|
*/
|
|
1095
|
-
|
|
1095
|
+
Agent?: Agent;
|
|
1096
1096
|
}
|
|
1097
1097
|
/**
|
|
1098
1098
|
* 用户信息
|