tencentcloud-sdk-nodejs 4.0.281 → 4.0.285
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 +258 -0
- package/SERVICE_CHANGELOG.md +143 -80
- package/package.json +1 -1
- package/products.md +9 -8
- package/src/common/sdk_version.ts +1 -1
- package/src/services/ame/v20190916/ame_client.ts +121 -64
- package/src/services/ame/v20190916/ame_models.ts +1141 -827
- package/src/services/cam/v20190116/cam_models.ts +6 -0
- package/src/services/ckafka/v20190819/ckafka_client.ts +12 -0
- package/src/services/ckafka/v20190819/ckafka_models.ts +30 -0
- package/src/services/cme/v20191029/cme_client.ts +17 -7
- package/src/services/cme/v20191029/cme_models.ts +415 -139
- package/src/services/index.ts +1 -0
- package/src/services/lowcode/index.ts +5 -0
- package/src/services/lowcode/v20210108/index.ts +6 -0
- package/src/services/lowcode/v20210108/lowcode_client.ts +48 -0
- package/src/services/lowcode/v20210108/lowcode_models.ts +359 -0
- package/src/services/partners/v20180321/partners_models.ts +4 -4
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/ame/v20190916/ame_client.d.ts +24 -5
- package/tencentcloud/services/ame/v20190916/ame_client.js +33 -6
- package/tencentcloud/services/ame/v20190916/ame_models.d.ts +1006 -740
- package/tencentcloud/services/cam/v20190116/cam_models.d.ts +5 -0
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.d.ts +5 -1
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.js +6 -0
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +26 -0
- package/tencentcloud/services/cme/v20191029/cme_client.d.ts +1 -1
- package/tencentcloud/services/cme/v20191029/cme_models.d.ts +359 -123
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- package/tencentcloud/services/lowcode/index.d.ts +6 -0
- package/tencentcloud/services/lowcode/index.js +7 -0
- package/tencentcloud/services/lowcode/v20210108/index.d.ts +6 -0
- package/tencentcloud/services/lowcode/v20210108/index.js +9 -0
- package/tencentcloud/services/lowcode/v20210108/lowcode_client.d.ts +14 -0
- package/tencentcloud/services/lowcode/v20210108/lowcode_client.js +37 -0
- package/tencentcloud/services/lowcode/v20210108/lowcode_models.d.ts +287 -0
- package/tencentcloud/services/lowcode/v20210108/lowcode_models.js +18 -0
- package/tencentcloud/services/partners/v20180321/partners_models.d.ts +4 -4
- package/test/ame.v20190916.test.js +44 -4
- package/test/ckafka.v20190819.test.js +10 -0
- package/test/lowcode.v20210108.test.js +31 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.v20210108 = void 0;
|
|
4
|
+
const Models = require("./lowcode_models");
|
|
5
|
+
const lowcode_client_1 = require("./lowcode_client");
|
|
6
|
+
exports.v20210108 = {
|
|
7
|
+
Client: lowcode_client_1.Client,
|
|
8
|
+
Models: Models
|
|
9
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
|
+
import { ClientConfig } from "../../../common/interface";
|
|
3
|
+
import { DescribeDataSourceListRequest, DescribeDataSourceListResponse } from "./lowcode_models";
|
|
4
|
+
/**
|
|
5
|
+
* lowcode client
|
|
6
|
+
* @class
|
|
7
|
+
*/
|
|
8
|
+
export declare class Client extends AbstractClient {
|
|
9
|
+
constructor(clientConfig: ClientConfig);
|
|
10
|
+
/**
|
|
11
|
+
* 获取数据源详情列表
|
|
12
|
+
*/
|
|
13
|
+
DescribeDataSourceList(req: DescribeDataSourceListRequest, cb?: (error: string, rep: DescribeDataSourceListResponse) => void): Promise<DescribeDataSourceListResponse>;
|
|
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
|
+
* lowcode client
|
|
24
|
+
* @class
|
|
25
|
+
*/
|
|
26
|
+
class Client extends abstract_client_1.AbstractClient {
|
|
27
|
+
constructor(clientConfig) {
|
|
28
|
+
super("lowcode.tencentcloudapi.com", "2021-01-08", clientConfig);
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* 获取数据源详情列表
|
|
32
|
+
*/
|
|
33
|
+
async DescribeDataSourceList(req, cb) {
|
|
34
|
+
return this.request("DescribeDataSourceList", req, cb);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
exports.Client = Client;
|
|
@@ -0,0 +1,287 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 数据源授权信息
|
|
3
|
+
*/
|
|
4
|
+
export interface TicketAuthInfo {
|
|
5
|
+
/**
|
|
6
|
+
* 授权用户
|
|
7
|
+
*/
|
|
8
|
+
AuthUser: string;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* DescribeDataSourceList请求参数结构体
|
|
12
|
+
*/
|
|
13
|
+
export interface DescribeDataSourceListRequest {
|
|
14
|
+
/**
|
|
15
|
+
* 每页条数
|
|
16
|
+
*/
|
|
17
|
+
PageSize: number;
|
|
18
|
+
/**
|
|
19
|
+
* 页码
|
|
20
|
+
*/
|
|
21
|
+
PageIndex: number;
|
|
22
|
+
/**
|
|
23
|
+
* 环境 id
|
|
24
|
+
*/
|
|
25
|
+
EnvId: string;
|
|
26
|
+
/**
|
|
27
|
+
* 应用id数组
|
|
28
|
+
*/
|
|
29
|
+
Appids?: Array<string>;
|
|
30
|
+
/**
|
|
31
|
+
* 数据源id数组
|
|
32
|
+
*/
|
|
33
|
+
DataSourceIds?: Array<string>;
|
|
34
|
+
/**
|
|
35
|
+
* 数据源名称数组
|
|
36
|
+
*/
|
|
37
|
+
DataSourceNames?: Array<string>;
|
|
38
|
+
/**
|
|
39
|
+
* 数据源类型 database-自建数据源;cloud-integration-自定义数据源
|
|
40
|
+
*/
|
|
41
|
+
DataSourceType?: string;
|
|
42
|
+
/**
|
|
43
|
+
* 数据源模糊查询参数
|
|
44
|
+
*/
|
|
45
|
+
QueryOption?: DataSourceQueryOption;
|
|
46
|
+
/**
|
|
47
|
+
* 数据源视图Id数组
|
|
48
|
+
*/
|
|
49
|
+
ViewIds?: Array<string>;
|
|
50
|
+
/**
|
|
51
|
+
* 查询未关联应用的数据源,0:未关联,该参数配合 AppIds 参数一块使用
|
|
52
|
+
*/
|
|
53
|
+
AppLinkStatus?: number;
|
|
54
|
+
/**
|
|
55
|
+
* 查询应用绑定数据源: 0: 否,1: 是
|
|
56
|
+
*/
|
|
57
|
+
QueryBindToApp?: number;
|
|
58
|
+
/**
|
|
59
|
+
* 查询连接器 0 数据模型 1 连接器 2 自定义连接器
|
|
60
|
+
*/
|
|
61
|
+
QueryConnector?: number;
|
|
62
|
+
/**
|
|
63
|
+
* 查询数据源黑名单机制,比如不想要系统数据源["system"]
|
|
64
|
+
*/
|
|
65
|
+
NotQuerySubTypeList?: Array<string>;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* 数据源模糊查询参数
|
|
69
|
+
*/
|
|
70
|
+
export interface DataSourceQueryOption {
|
|
71
|
+
/**
|
|
72
|
+
* 数据源标识模糊匹配
|
|
73
|
+
*/
|
|
74
|
+
LikeName?: string;
|
|
75
|
+
/**
|
|
76
|
+
* 数据源名称模糊匹配
|
|
77
|
+
*/
|
|
78
|
+
LikeTitle?: string;
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* 数据源关联App信息
|
|
82
|
+
*/
|
|
83
|
+
export interface DataSourceLinkApp {
|
|
84
|
+
/**
|
|
85
|
+
* 应用Id
|
|
86
|
+
*/
|
|
87
|
+
Id: string;
|
|
88
|
+
/**
|
|
89
|
+
* 应用名称
|
|
90
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
91
|
+
*/
|
|
92
|
+
Title: string;
|
|
93
|
+
/**
|
|
94
|
+
* 是否编辑状态使用
|
|
95
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
96
|
+
*/
|
|
97
|
+
EditStatusUse: number;
|
|
98
|
+
/**
|
|
99
|
+
* 是否预览状态使用
|
|
100
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
101
|
+
*/
|
|
102
|
+
PreviewStatusUse: number;
|
|
103
|
+
/**
|
|
104
|
+
* 是否正式状态使用
|
|
105
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
106
|
+
*/
|
|
107
|
+
OnlineStatusUse: number;
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* 数据源详情列表
|
|
111
|
+
*/
|
|
112
|
+
export interface DataSourceDetail {
|
|
113
|
+
/**
|
|
114
|
+
* 数据源 ID
|
|
115
|
+
*/
|
|
116
|
+
Id: string;
|
|
117
|
+
/**
|
|
118
|
+
* 数据源名称
|
|
119
|
+
*/
|
|
120
|
+
Title: string;
|
|
121
|
+
/**
|
|
122
|
+
* 数据源标识
|
|
123
|
+
*/
|
|
124
|
+
Name: string;
|
|
125
|
+
/**
|
|
126
|
+
* 数据源类型
|
|
127
|
+
*/
|
|
128
|
+
Type: string;
|
|
129
|
+
/**
|
|
130
|
+
* 数据源描述
|
|
131
|
+
*/
|
|
132
|
+
Description: string;
|
|
133
|
+
/**
|
|
134
|
+
* 数据源配置
|
|
135
|
+
*/
|
|
136
|
+
Schema: string;
|
|
137
|
+
/**
|
|
138
|
+
* cms 项目状态, 0: 重新获取详情信息,1: 不需要重新获取详情信息
|
|
139
|
+
*/
|
|
140
|
+
CmsProject: string;
|
|
141
|
+
/**
|
|
142
|
+
* 当前为环境 id
|
|
143
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
144
|
+
*/
|
|
145
|
+
PkgId: string;
|
|
146
|
+
/**
|
|
147
|
+
* schema 版本信息
|
|
148
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
149
|
+
*/
|
|
150
|
+
SchemaVersion: string;
|
|
151
|
+
/**
|
|
152
|
+
* 创建者用户 ID
|
|
153
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
154
|
+
*/
|
|
155
|
+
CreatorId: string;
|
|
156
|
+
/**
|
|
157
|
+
* 创建时间
|
|
158
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
159
|
+
*/
|
|
160
|
+
CreatedAt: string;
|
|
161
|
+
/**
|
|
162
|
+
* 更新时间
|
|
163
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
164
|
+
*/
|
|
165
|
+
UpdatedAt: string;
|
|
166
|
+
/**
|
|
167
|
+
* 环境 id
|
|
168
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
169
|
+
*/
|
|
170
|
+
EnvId: string;
|
|
171
|
+
/**
|
|
172
|
+
* 版本
|
|
173
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
174
|
+
*/
|
|
175
|
+
DataSourceVersion: string;
|
|
176
|
+
/**
|
|
177
|
+
* 所属应用数组
|
|
178
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
179
|
+
*/
|
|
180
|
+
AppUsageList: Array<DataSourceLinkApp>;
|
|
181
|
+
/**
|
|
182
|
+
* 发布时间
|
|
183
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
184
|
+
*/
|
|
185
|
+
PublishedAt: string;
|
|
186
|
+
/**
|
|
187
|
+
* 子数据源ids
|
|
188
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
189
|
+
*/
|
|
190
|
+
ChildDataSourceIds: Array<string>;
|
|
191
|
+
/**
|
|
192
|
+
* 数据源发布信息
|
|
193
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
194
|
+
*/
|
|
195
|
+
Fun: string;
|
|
196
|
+
/**
|
|
197
|
+
* 云函数状态 1 Active 2 Creating 3 Updating 4 Deleting 9 Deleted 11 CreatFailed 12 UpdateFailed 13 DeleteFailed 21 UpdateTimeOut
|
|
198
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
199
|
+
*/
|
|
200
|
+
ScfStatus: number;
|
|
201
|
+
/**
|
|
202
|
+
* 自定义方法
|
|
203
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
204
|
+
*/
|
|
205
|
+
Methods: string;
|
|
206
|
+
/**
|
|
207
|
+
* 子数据源名数组
|
|
208
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
209
|
+
*/
|
|
210
|
+
ChildDataSourceNames: Array<string>;
|
|
211
|
+
/**
|
|
212
|
+
* 是否旧数据源 1 新 0 旧
|
|
213
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
214
|
+
*/
|
|
215
|
+
IsNewDataSource: number;
|
|
216
|
+
/**
|
|
217
|
+
* 数据源视图id
|
|
218
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
219
|
+
*/
|
|
220
|
+
ViewId: string;
|
|
221
|
+
/**
|
|
222
|
+
* 数据源属性配置
|
|
223
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
224
|
+
*/
|
|
225
|
+
Configuration: string;
|
|
226
|
+
/**
|
|
227
|
+
* 外部数据源模板code
|
|
228
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
229
|
+
*/
|
|
230
|
+
TemplateCode: string;
|
|
231
|
+
/**
|
|
232
|
+
* 外部数据源模板来源 0 空模板 1 腾讯文档 2 腾讯会议 3 企业微信 4 微信电商
|
|
233
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
234
|
+
*/
|
|
235
|
+
Source: number;
|
|
236
|
+
/**
|
|
237
|
+
* 发布版本
|
|
238
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
239
|
+
*/
|
|
240
|
+
PublishVersion: string;
|
|
241
|
+
/**
|
|
242
|
+
* 发布视图id
|
|
243
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
244
|
+
*/
|
|
245
|
+
PublishViewId: string;
|
|
246
|
+
/**
|
|
247
|
+
* 数据源子类型 "database" 标准模型 "custom-database" 自定义模型 "system" 系统模型 "connector" 连接器 "custom-connector" 自定义连接器 "hidden" 隐藏数据源
|
|
248
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
249
|
+
*/
|
|
250
|
+
SubType: string;
|
|
251
|
+
/**
|
|
252
|
+
* 授权状态 0 授权无效 1 授权有效
|
|
253
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
254
|
+
*/
|
|
255
|
+
AuthStatus: number;
|
|
256
|
+
/**
|
|
257
|
+
* 数据源授权信息
|
|
258
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
259
|
+
*/
|
|
260
|
+
AuthInfo: TicketAuthInfo;
|
|
261
|
+
}
|
|
262
|
+
/**
|
|
263
|
+
* 数据详情列表
|
|
264
|
+
*/
|
|
265
|
+
export interface DataSourceDetailItems {
|
|
266
|
+
/**
|
|
267
|
+
* 数据详情列表
|
|
268
|
+
*/
|
|
269
|
+
Rows: Array<DataSourceDetail>;
|
|
270
|
+
/**
|
|
271
|
+
* 数据源列表总个数
|
|
272
|
+
*/
|
|
273
|
+
Count: number;
|
|
274
|
+
}
|
|
275
|
+
/**
|
|
276
|
+
* DescribeDataSourceList返回参数结构体
|
|
277
|
+
*/
|
|
278
|
+
export interface DescribeDataSourceListResponse {
|
|
279
|
+
/**
|
|
280
|
+
* data 数据
|
|
281
|
+
*/
|
|
282
|
+
Data: DataSourceDetailItems;
|
|
283
|
+
/**
|
|
284
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
285
|
+
*/
|
|
286
|
+
RequestId?: string;
|
|
287
|
+
}
|
|
@@ -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 });
|
|
@@ -574,11 +574,11 @@ export interface DescribeAgentClientsResponse {
|
|
|
574
574
|
*/
|
|
575
575
|
export interface AgentDealNewElem {
|
|
576
576
|
/**
|
|
577
|
-
* 订单自增 ID
|
|
577
|
+
* 订单自增 ID【请勿依赖该字段作为唯一标识】
|
|
578
578
|
*/
|
|
579
579
|
DealId: string;
|
|
580
580
|
/**
|
|
581
|
-
*
|
|
581
|
+
* 订单号【订单唯一键】
|
|
582
582
|
*/
|
|
583
583
|
DealName: string;
|
|
584
584
|
/**
|
|
@@ -1228,11 +1228,11 @@ export interface AgentPayDealsResponse {
|
|
|
1228
1228
|
*/
|
|
1229
1229
|
export interface AgentDealElem {
|
|
1230
1230
|
/**
|
|
1231
|
-
* 订单自增 ID
|
|
1231
|
+
* 订单自增 ID【请勿依赖该字段作为唯一标识】
|
|
1232
1232
|
*/
|
|
1233
1233
|
DealId: string;
|
|
1234
1234
|
/**
|
|
1235
|
-
*
|
|
1235
|
+
* 订单号【订单唯一键】
|
|
1236
1236
|
*/
|
|
1237
1237
|
DealName: string;
|
|
1238
1238
|
/**
|
|
@@ -68,9 +68,9 @@ it("ame.v20190916.DescribeCloudMusicPurchased", async function () {
|
|
|
68
68
|
}
|
|
69
69
|
})
|
|
70
70
|
|
|
71
|
-
it("ame.v20190916.
|
|
71
|
+
it("ame.v20190916.DescribePkgOfflineMusic", async function () {
|
|
72
72
|
try {
|
|
73
|
-
const data = await client.
|
|
73
|
+
const data = await client.DescribePkgOfflineMusic({})
|
|
74
74
|
expect(data).to.be.ok
|
|
75
75
|
} catch(error) {
|
|
76
76
|
expect(error.requestId).to.be.ok
|
|
@@ -78,9 +78,9 @@ it("ame.v20190916.ReportData", async function () {
|
|
|
78
78
|
}
|
|
79
79
|
})
|
|
80
80
|
|
|
81
|
-
it("ame.v20190916.
|
|
81
|
+
it("ame.v20190916.DescribeKTVSingerMusics", async function () {
|
|
82
82
|
try {
|
|
83
|
-
const data = await client.
|
|
83
|
+
const data = await client.DescribeKTVSingerMusics({})
|
|
84
84
|
expect(data).to.be.ok
|
|
85
85
|
} catch(error) {
|
|
86
86
|
expect(error.requestId).to.be.ok
|
|
@@ -158,6 +158,16 @@ it("ame.v20190916.SyncKTVRobotCommand", async function () {
|
|
|
158
158
|
}
|
|
159
159
|
})
|
|
160
160
|
|
|
161
|
+
it("ame.v20190916.DescribeKTVTopList", async function () {
|
|
162
|
+
try {
|
|
163
|
+
const data = await client.DescribeKTVTopList({})
|
|
164
|
+
expect(data).to.be.ok
|
|
165
|
+
} catch(error) {
|
|
166
|
+
expect(error.requestId).to.be.ok
|
|
167
|
+
expect(error.code).to.be.ok
|
|
168
|
+
}
|
|
169
|
+
})
|
|
170
|
+
|
|
161
171
|
it("ame.v20190916.DescribeKTVPlaylistDetail", async function () {
|
|
162
172
|
try {
|
|
163
173
|
const data = await client.DescribeKTVPlaylistDetail({})
|
|
@@ -168,6 +178,26 @@ it("ame.v20190916.DescribeKTVPlaylistDetail", async function () {
|
|
|
168
178
|
}
|
|
169
179
|
})
|
|
170
180
|
|
|
181
|
+
it("ame.v20190916.ReportData", async function () {
|
|
182
|
+
try {
|
|
183
|
+
const data = await client.ReportData({})
|
|
184
|
+
expect(data).to.be.ok
|
|
185
|
+
} catch(error) {
|
|
186
|
+
expect(error.requestId).to.be.ok
|
|
187
|
+
expect(error.code).to.be.ok
|
|
188
|
+
}
|
|
189
|
+
})
|
|
190
|
+
|
|
191
|
+
it("ame.v20190916.DescribeKTVSingerCategories", async function () {
|
|
192
|
+
try {
|
|
193
|
+
const data = await client.DescribeKTVSingerCategories({})
|
|
194
|
+
expect(data).to.be.ok
|
|
195
|
+
} catch(error) {
|
|
196
|
+
expect(error.requestId).to.be.ok
|
|
197
|
+
expect(error.code).to.be.ok
|
|
198
|
+
}
|
|
199
|
+
})
|
|
200
|
+
|
|
171
201
|
it("ame.v20190916.DescribeStations", async function () {
|
|
172
202
|
try {
|
|
173
203
|
const data = await client.DescribeStations({})
|
|
@@ -208,6 +238,16 @@ it("ame.v20190916.DescribeMusicSaleStatus", async function () {
|
|
|
208
238
|
}
|
|
209
239
|
})
|
|
210
240
|
|
|
241
|
+
it("ame.v20190916.DescribeKTVSingers", async function () {
|
|
242
|
+
try {
|
|
243
|
+
const data = await client.DescribeKTVSingers({})
|
|
244
|
+
expect(data).to.be.ok
|
|
245
|
+
} catch(error) {
|
|
246
|
+
expect(error.requestId).to.be.ok
|
|
247
|
+
expect(error.code).to.be.ok
|
|
248
|
+
}
|
|
249
|
+
})
|
|
250
|
+
|
|
211
251
|
it("ame.v20190916.DestroyKTVRobot", async function () {
|
|
212
252
|
try {
|
|
213
253
|
const data = await client.DestroyKTVRobot({})
|
|
@@ -138,6 +138,16 @@ it("ckafka.v20190819.ModifyInstanceAttributes", async function () {
|
|
|
138
138
|
}
|
|
139
139
|
})
|
|
140
140
|
|
|
141
|
+
it("ckafka.v20190819.DeleteGroup", async function () {
|
|
142
|
+
try {
|
|
143
|
+
const data = await client.DeleteGroup({})
|
|
144
|
+
expect(data).to.be.ok
|
|
145
|
+
} catch(error) {
|
|
146
|
+
expect(error.requestId).to.be.ok
|
|
147
|
+
expect(error.code).to.be.ok
|
|
148
|
+
}
|
|
149
|
+
})
|
|
150
|
+
|
|
141
151
|
it("ckafka.v20190819.DescribeUser", async function () {
|
|
142
152
|
try {
|
|
143
153
|
const data = await client.DescribeUser({})
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
|
|
2
|
+
const expect = require("chai").expect
|
|
3
|
+
const tencentcloud = require("../../tencentcloud-sdk-nodejs")
|
|
4
|
+
const client = new tencentcloud.lowcode.v20210108.Client({
|
|
5
|
+
credential: {
|
|
6
|
+
secretId: process.env.secretId,
|
|
7
|
+
secretKey: process.env.secretKey,
|
|
8
|
+
},
|
|
9
|
+
region: "ap-shanghai",
|
|
10
|
+
profile: {
|
|
11
|
+
signMethod: "TC3-HMAC-SHA256",
|
|
12
|
+
httpProfile: {
|
|
13
|
+
reqMethod: "POST",
|
|
14
|
+
reqTimeout: 30,
|
|
15
|
+
endpoint: "cvm.ap-shanghai.tencentcloudapi.com",
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
})
|
|
19
|
+
describe("lowcode.v20210108.test.js", function () {
|
|
20
|
+
|
|
21
|
+
it("lowcode.v20210108.DescribeDataSourceList", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.DescribeDataSourceList({})
|
|
24
|
+
expect(data).to.be.ok
|
|
25
|
+
} catch(error) {
|
|
26
|
+
expect(error.requestId).to.be.ok
|
|
27
|
+
expect(error.code).to.be.ok
|
|
28
|
+
}
|
|
29
|
+
})
|
|
30
|
+
|
|
31
|
+
})
|