tencentcloud-sdk-nodejs 4.0.448 → 4.0.450
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 +320 -0
- package/SERVICE_CHANGELOG.md +360 -27
- package/package.json +1 -1
- package/products.md +18 -15
- package/src/common/sdk_version.ts +1 -1
- package/src/services/bpaas/index.ts +5 -0
- package/src/services/bpaas/v20181217/bpaas_client.ts +59 -0
- package/src/services/bpaas/v20181217/bpaas_models.ts +291 -0
- package/src/services/bpaas/v20181217/index.ts +6 -0
- package/src/services/cam/v20190116/cam_models.ts +2 -2
- package/src/services/cfg/v20210820/cfg_models.ts +12 -0
- package/src/services/ckafka/v20190819/ckafka_client.ts +2 -1
- package/src/services/ckafka/v20190819/ckafka_models.ts +86 -10
- package/src/services/es/v20180416/es_models.ts +6 -0
- package/src/services/ess/v20201111/ess_models.ts +1 -1
- package/src/services/essbasic/v20210526/essbasic_models.ts +2 -2
- package/src/services/index.ts +3 -0
- package/src/services/lcic/index.ts +5 -0
- package/src/services/lcic/v20220817/index.ts +6 -0
- package/src/services/lcic/v20220817/lcic_client.ts +115 -0
- package/src/services/lcic/v20220817/lcic_models.ts +371 -0
- package/src/services/live/v20180801/live_models.ts +19 -16
- package/src/services/monitor/v20180724/monitor_client.ts +4 -1
- package/src/services/monitor/v20180724/monitor_models.ts +137 -7
- package/src/services/organization/v20210331/organization_models.ts +7 -1
- package/src/services/postgres/v20170312/postgres_client.ts +1 -1
- package/src/services/postgres/v20170312/postgres_models.ts +76 -12
- package/src/services/tcm/v20210413/tcm_client.ts +1 -0
- package/src/services/tcm/v20210413/tcm_models.ts +11 -0
- package/src/services/tcr/v20190924/tcr_models.ts +3 -3
- package/src/services/tds/index.ts +5 -0
- package/src/services/tds/v20220801/index.ts +6 -0
- package/src/services/tds/v20220801/tds_client.ts +68 -0
- package/src/services/tds/v20220801/tds_models.ts +256 -0
- package/src/services/tke/v20180525/tke_models.ts +2 -2
- package/src/services/vpc/v20170312/vpc_models.ts +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/bpaas/index.d.ts +6 -0
- package/tencentcloud/services/bpaas/index.js +7 -0
- package/tencentcloud/services/bpaas/v20181217/bpaas_client.d.ts +18 -0
- package/tencentcloud/services/bpaas/v20181217/bpaas_client.js +43 -0
- package/tencentcloud/services/bpaas/v20181217/bpaas_models.d.ts +233 -0
- package/tencentcloud/services/bpaas/v20181217/bpaas_models.js +18 -0
- package/tencentcloud/services/bpaas/v20181217/index.d.ts +6 -0
- package/tencentcloud/services/bpaas/v20181217/index.js +9 -0
- package/tencentcloud/services/cam/v20190116/cam_models.d.ts +2 -2
- package/tencentcloud/services/cfg/v20210820/cfg_models.d.ts +10 -0
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +72 -8
- package/tencentcloud/services/es/v20180416/es_models.d.ts +5 -0
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +1 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +2 -2
- package/tencentcloud/services/index.d.ts +3 -0
- package/tencentcloud/services/index.js +6 -0
- package/tencentcloud/services/lcic/index.d.ts +6 -0
- package/tencentcloud/services/lcic/index.js +7 -0
- package/tencentcloud/services/lcic/v20220817/index.d.ts +6 -0
- package/tencentcloud/services/lcic/v20220817/index.js +9 -0
- package/tencentcloud/services/lcic/v20220817/lcic_client.d.ts +38 -0
- package/tencentcloud/services/lcic/v20220817/lcic_client.js +73 -0
- package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +302 -0
- package/tencentcloud/services/lcic/v20220817/lcic_models.js +18 -0
- package/tencentcloud/services/live/v20180801/live_models.d.ts +16 -13
- package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +1 -1
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +115 -7
- package/tencentcloud/services/organization/v20210331/organization_models.d.ts +6 -1
- package/tencentcloud/services/postgres/v20170312/postgres_client.d.ts +1 -1
- package/tencentcloud/services/postgres/v20170312/postgres_client.js +1 -1
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +67 -11
- package/tencentcloud/services/tcm/v20210413/tcm_models.d.ts +9 -0
- package/tencentcloud/services/tcr/v20190924/tcr_models.d.ts +3 -3
- package/tencentcloud/services/tds/index.d.ts +6 -0
- package/tencentcloud/services/tds/index.js +7 -0
- package/tencentcloud/services/tds/v20220801/index.d.ts +6 -0
- package/tencentcloud/services/tds/v20220801/index.js +9 -0
- package/tencentcloud/services/tds/v20220801/tds_client.d.ts +22 -0
- package/tencentcloud/services/tds/v20220801/tds_client.js +49 -0
- package/tencentcloud/services/tds/v20220801/tds_models.d.ts +199 -0
- package/tencentcloud/services/tds/v20220801/tds_models.js +18 -0
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +2 -2
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +1 -1
- package/test/bpaas.v20181217.test.js +41 -0
- package/test/lcic.v20220817.test.js +91 -0
- package/test/tds.v20220801.test.js +51 -0
|
@@ -562,6 +562,11 @@ export interface DescribeConnectResourceResp {
|
|
|
562
562
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
563
563
|
*/
|
|
564
564
|
CtsdbConnectParam: CtsdbConnectParam;
|
|
565
|
+
/**
|
|
566
|
+
* Doris 配置,Type 为 DORIS 时返回
|
|
567
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
568
|
+
*/
|
|
569
|
+
DorisConnectParam: DorisConnectParam;
|
|
565
570
|
}
|
|
566
571
|
/**
|
|
567
572
|
* AuthorizeToken返回参数结构体
|
|
@@ -762,6 +767,11 @@ export interface DescribeConnectResource {
|
|
|
762
767
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
763
768
|
*/
|
|
764
769
|
CtsdbConnectParam: CtsdbConnectParam;
|
|
770
|
+
/**
|
|
771
|
+
* Doris 配置,Type 为 DORIS 时返回
|
|
772
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
773
|
+
*/
|
|
774
|
+
DorisConnectParam: DorisConnectParam;
|
|
765
775
|
}
|
|
766
776
|
/**
|
|
767
777
|
* Dts类型入参
|
|
@@ -1735,22 +1745,54 @@ export interface DynamicDiskConfig {
|
|
|
1735
1745
|
MaxDiskSpace?: number;
|
|
1736
1746
|
}
|
|
1737
1747
|
/**
|
|
1738
|
-
*
|
|
1748
|
+
* Doris 连接源参数
|
|
1739
1749
|
*/
|
|
1740
|
-
export interface
|
|
1750
|
+
export interface DorisConnectParam {
|
|
1741
1751
|
/**
|
|
1742
|
-
*
|
|
1752
|
+
* Doris jdbc 负载均衡连接 port,通常映射到 fe 的 9030 端口
|
|
1753
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1743
1754
|
*/
|
|
1744
|
-
|
|
1755
|
+
Port: number;
|
|
1745
1756
|
/**
|
|
1746
|
-
*
|
|
1757
|
+
* Doris 连接源的用户名
|
|
1758
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1747
1759
|
*/
|
|
1748
|
-
|
|
1760
|
+
UserName: string;
|
|
1749
1761
|
/**
|
|
1750
|
-
*
|
|
1762
|
+
* Doris 连接源的密码
|
|
1751
1763
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1752
1764
|
*/
|
|
1753
|
-
|
|
1765
|
+
Password: string;
|
|
1766
|
+
/**
|
|
1767
|
+
* Doris 连接源的实例资源
|
|
1768
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1769
|
+
*/
|
|
1770
|
+
Resource: string;
|
|
1771
|
+
/**
|
|
1772
|
+
* Doris 连接源的实例vip,当为腾讯云实例时,必填
|
|
1773
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1774
|
+
*/
|
|
1775
|
+
ServiceVip?: string;
|
|
1776
|
+
/**
|
|
1777
|
+
* Doris 连接源的vpcId,当为腾讯云实例时,必填
|
|
1778
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1779
|
+
*/
|
|
1780
|
+
UniqVpcId?: string;
|
|
1781
|
+
/**
|
|
1782
|
+
* 是否更新到关联的Datahub任务
|
|
1783
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1784
|
+
*/
|
|
1785
|
+
IsUpdate?: boolean;
|
|
1786
|
+
/**
|
|
1787
|
+
* Doris 连接源是否为自建集群
|
|
1788
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1789
|
+
*/
|
|
1790
|
+
SelfBuilt?: boolean;
|
|
1791
|
+
/**
|
|
1792
|
+
* Doris 的 http 负载均衡连接 port,通常映射到 be 的 8040 端口
|
|
1793
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1794
|
+
*/
|
|
1795
|
+
BePort?: number;
|
|
1754
1796
|
}
|
|
1755
1797
|
/**
|
|
1756
1798
|
* zone信息实体
|
|
@@ -2694,6 +2736,10 @@ export interface CreateConnectResourceRequest {
|
|
|
2694
2736
|
* SQLServer配置,Type为SQLSERVER时必填
|
|
2695
2737
|
*/
|
|
2696
2738
|
SQLServerConnectParam?: SQLServerConnectParam;
|
|
2739
|
+
/**
|
|
2740
|
+
* Doris 配置,Type为 DORIS 时必填
|
|
2741
|
+
*/
|
|
2742
|
+
DorisConnectParam?: DorisConnectParam;
|
|
2697
2743
|
}
|
|
2698
2744
|
/**
|
|
2699
2745
|
* MariaDB类型入参
|
|
@@ -5290,6 +5336,24 @@ export interface InstanceResponse {
|
|
|
5290
5336
|
*/
|
|
5291
5337
|
TotalCount: number;
|
|
5292
5338
|
}
|
|
5339
|
+
/**
|
|
5340
|
+
* 操作型结果返回值
|
|
5341
|
+
*/
|
|
5342
|
+
export interface JgwOperateResponse {
|
|
5343
|
+
/**
|
|
5344
|
+
* 返回的code,0为正常,非0为错误
|
|
5345
|
+
*/
|
|
5346
|
+
ReturnCode: string;
|
|
5347
|
+
/**
|
|
5348
|
+
* 成功消息
|
|
5349
|
+
*/
|
|
5350
|
+
ReturnMessage: string;
|
|
5351
|
+
/**
|
|
5352
|
+
* 操作型返回的Data数据,可能有flowId等
|
|
5353
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5354
|
+
*/
|
|
5355
|
+
Data: OperateResponseData;
|
|
5356
|
+
}
|
|
5293
5357
|
/**
|
|
5294
5358
|
* DescribeGroup返回实体
|
|
5295
5359
|
*/
|
|
@@ -1283,11 +1283,11 @@ export interface DescribeTemplatesRequest {
|
|
|
1283
1283
|
*/
|
|
1284
1284
|
Operator?: UserInfo;
|
|
1285
1285
|
/**
|
|
1286
|
-
*
|
|
1286
|
+
* 是否返回所有组件信息。默认false,只返回发起方控件;true,返回所有签署方控件
|
|
1287
1287
|
*/
|
|
1288
1288
|
QueryAllComponents?: boolean;
|
|
1289
1289
|
/**
|
|
1290
|
-
*
|
|
1290
|
+
* 模糊搜索模板名称,最大长度200
|
|
1291
1291
|
*/
|
|
1292
1292
|
TemplateName?: string;
|
|
1293
1293
|
}
|
|
@@ -26,6 +26,7 @@ export { bma } from "./bma";
|
|
|
26
26
|
export { bmeip } from "./bmeip";
|
|
27
27
|
export { bmlb } from "./bmlb";
|
|
28
28
|
export { bmvpc } from "./bmvpc";
|
|
29
|
+
export { bpaas } from "./bpaas";
|
|
29
30
|
export { bri } from "./bri";
|
|
30
31
|
export { bsca } from "./bsca";
|
|
31
32
|
export { btoe } from "./btoe";
|
|
@@ -114,6 +115,7 @@ export { iotvideoindustry } from "./iotvideoindustry";
|
|
|
114
115
|
export { irp } from "./irp";
|
|
115
116
|
export { ivld } from "./ivld";
|
|
116
117
|
export { kms } from "./kms";
|
|
118
|
+
export { lcic } from "./lcic";
|
|
117
119
|
export { lighthouse } from "./lighthouse";
|
|
118
120
|
export { live } from "./live";
|
|
119
121
|
export { lowcode } from "./lowcode";
|
|
@@ -179,6 +181,7 @@ export { tcss } from "./tcss";
|
|
|
179
181
|
export { tdcpg } from "./tdcpg";
|
|
180
182
|
export { tdid } from "./tdid";
|
|
181
183
|
export { tdmq } from "./tdmq";
|
|
184
|
+
export { tds } from "./tds";
|
|
182
185
|
export { tem } from "./tem";
|
|
183
186
|
export { teo } from "./teo";
|
|
184
187
|
export { thpc } from "./thpc";
|
|
@@ -56,6 +56,8 @@ var bmlb_1 = require("./bmlb");
|
|
|
56
56
|
Object.defineProperty(exports, "bmlb", { enumerable: true, get: function () { return bmlb_1.bmlb; } });
|
|
57
57
|
var bmvpc_1 = require("./bmvpc");
|
|
58
58
|
Object.defineProperty(exports, "bmvpc", { enumerable: true, get: function () { return bmvpc_1.bmvpc; } });
|
|
59
|
+
var bpaas_1 = require("./bpaas");
|
|
60
|
+
Object.defineProperty(exports, "bpaas", { enumerable: true, get: function () { return bpaas_1.bpaas; } });
|
|
59
61
|
var bri_1 = require("./bri");
|
|
60
62
|
Object.defineProperty(exports, "bri", { enumerable: true, get: function () { return bri_1.bri; } });
|
|
61
63
|
var bsca_1 = require("./bsca");
|
|
@@ -232,6 +234,8 @@ var ivld_1 = require("./ivld");
|
|
|
232
234
|
Object.defineProperty(exports, "ivld", { enumerable: true, get: function () { return ivld_1.ivld; } });
|
|
233
235
|
var kms_1 = require("./kms");
|
|
234
236
|
Object.defineProperty(exports, "kms", { enumerable: true, get: function () { return kms_1.kms; } });
|
|
237
|
+
var lcic_1 = require("./lcic");
|
|
238
|
+
Object.defineProperty(exports, "lcic", { enumerable: true, get: function () { return lcic_1.lcic; } });
|
|
235
239
|
var lighthouse_1 = require("./lighthouse");
|
|
236
240
|
Object.defineProperty(exports, "lighthouse", { enumerable: true, get: function () { return lighthouse_1.lighthouse; } });
|
|
237
241
|
var live_1 = require("./live");
|
|
@@ -362,6 +366,8 @@ var tdid_1 = require("./tdid");
|
|
|
362
366
|
Object.defineProperty(exports, "tdid", { enumerable: true, get: function () { return tdid_1.tdid; } });
|
|
363
367
|
var tdmq_1 = require("./tdmq");
|
|
364
368
|
Object.defineProperty(exports, "tdmq", { enumerable: true, get: function () { return tdmq_1.tdmq; } });
|
|
369
|
+
var tds_1 = require("./tds");
|
|
370
|
+
Object.defineProperty(exports, "tds", { enumerable: true, get: function () { return tds_1.tds; } });
|
|
365
371
|
var tem_1 = require("./tem");
|
|
366
372
|
Object.defineProperty(exports, "tem", { enumerable: true, get: function () { return tem_1.tem; } });
|
|
367
373
|
var teo_1 = require("./teo");
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.v20220817 = void 0;
|
|
4
|
+
const Models = require("./lcic_models");
|
|
5
|
+
const lcic_client_1 = require("./lcic_client");
|
|
6
|
+
exports.v20220817 = {
|
|
7
|
+
Client: lcic_client_1.Client,
|
|
8
|
+
Models: Models
|
|
9
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
|
+
import { ClientConfig } from "../../../common/interface";
|
|
3
|
+
import { CreateRoomRequest, CreateSupervisorRequest, DescribeRoomResponse, RegisterUserRequest, LoginOriginIdRequest, DescribeUserRequest, RegisterUserResponse, LoginUserRequest, CreateSupervisorResponse, CreateRoomResponse, DescribeUserResponse, DescribeRoomRequest, LoginOriginIdResponse, LoginUserResponse } from "./lcic_models";
|
|
4
|
+
/**
|
|
5
|
+
* lcic client
|
|
6
|
+
* @class
|
|
7
|
+
*/
|
|
8
|
+
export declare class Client extends AbstractClient {
|
|
9
|
+
constructor(clientConfig: ClientConfig);
|
|
10
|
+
/**
|
|
11
|
+
* 获取用户信息
|
|
12
|
+
*/
|
|
13
|
+
DescribeUser(req: DescribeUserRequest, cb?: (error: string, rep: DescribeUserResponse) => void): Promise<DescribeUserResponse>;
|
|
14
|
+
/**
|
|
15
|
+
* 使用源账号登录,源账号为注册时填入的originId
|
|
16
|
+
*/
|
|
17
|
+
LoginOriginId(req: LoginOriginIdRequest, cb?: (error: string, rep: LoginOriginIdResponse) => void): Promise<LoginOriginIdResponse>;
|
|
18
|
+
/**
|
|
19
|
+
* 注册用户
|
|
20
|
+
*/
|
|
21
|
+
RegisterUser(req: RegisterUserRequest, cb?: (error: string, rep: RegisterUserResponse) => void): Promise<RegisterUserResponse>;
|
|
22
|
+
/**
|
|
23
|
+
* 登录
|
|
24
|
+
*/
|
|
25
|
+
LoginUser(req: LoginUserRequest, cb?: (error: string, rep: LoginUserResponse) => void): Promise<LoginUserResponse>;
|
|
26
|
+
/**
|
|
27
|
+
* 创建巡课
|
|
28
|
+
*/
|
|
29
|
+
CreateSupervisor(req?: CreateSupervisorRequest, cb?: (error: string, rep: CreateSupervisorResponse) => void): Promise<CreateSupervisorResponse>;
|
|
30
|
+
/**
|
|
31
|
+
* 获取房间信息
|
|
32
|
+
*/
|
|
33
|
+
DescribeRoom(req: DescribeRoomRequest, cb?: (error: string, rep: DescribeRoomResponse) => void): Promise<DescribeRoomResponse>;
|
|
34
|
+
/**
|
|
35
|
+
* 创建房间
|
|
36
|
+
*/
|
|
37
|
+
CreateRoom(req: CreateRoomRequest, cb?: (error: string, rep: CreateRoomResponse) => void): Promise<CreateRoomResponse>;
|
|
38
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
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
|
+
* lcic client
|
|
24
|
+
* @class
|
|
25
|
+
*/
|
|
26
|
+
class Client extends abstract_client_1.AbstractClient {
|
|
27
|
+
constructor(clientConfig) {
|
|
28
|
+
super("lcic.tencentcloudapi.com", "2022-08-17", clientConfig);
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* 获取用户信息
|
|
32
|
+
*/
|
|
33
|
+
async DescribeUser(req, cb) {
|
|
34
|
+
return this.request("DescribeUser", req, cb);
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* 使用源账号登录,源账号为注册时填入的originId
|
|
38
|
+
*/
|
|
39
|
+
async LoginOriginId(req, cb) {
|
|
40
|
+
return this.request("LoginOriginId", req, cb);
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* 注册用户
|
|
44
|
+
*/
|
|
45
|
+
async RegisterUser(req, cb) {
|
|
46
|
+
return this.request("RegisterUser", req, cb);
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* 登录
|
|
50
|
+
*/
|
|
51
|
+
async LoginUser(req, cb) {
|
|
52
|
+
return this.request("LoginUser", req, cb);
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* 创建巡课
|
|
56
|
+
*/
|
|
57
|
+
async CreateSupervisor(req, cb) {
|
|
58
|
+
return this.request("CreateSupervisor", req, cb);
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* 获取房间信息
|
|
62
|
+
*/
|
|
63
|
+
async DescribeRoom(req, cb) {
|
|
64
|
+
return this.request("DescribeRoom", req, cb);
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* 创建房间
|
|
68
|
+
*/
|
|
69
|
+
async CreateRoom(req, cb) {
|
|
70
|
+
return this.request("CreateRoom", req, cb);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
exports.Client = Client;
|
|
@@ -0,0 +1,302 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CreateRoom请求参数结构体
|
|
3
|
+
*/
|
|
4
|
+
export interface CreateRoomRequest {
|
|
5
|
+
/**
|
|
6
|
+
* 房间名称。
|
|
7
|
+
*/
|
|
8
|
+
Name: string;
|
|
9
|
+
/**
|
|
10
|
+
* 预定的房间开始时间,unix时间戳。
|
|
11
|
+
*/
|
|
12
|
+
StartTime: number;
|
|
13
|
+
/**
|
|
14
|
+
* 预定的房间结束时间,unix时间戳。
|
|
15
|
+
*/
|
|
16
|
+
EndTime: number;
|
|
17
|
+
/**
|
|
18
|
+
* 低代码互动课堂的SdkAppId。
|
|
19
|
+
*/
|
|
20
|
+
SdkAppId: number;
|
|
21
|
+
/**
|
|
22
|
+
* 分辨率。可以有如下取值:
|
|
23
|
+
1 标清
|
|
24
|
+
2 高清
|
|
25
|
+
3 全高清
|
|
26
|
+
*/
|
|
27
|
+
Resolution: number;
|
|
28
|
+
/**
|
|
29
|
+
* 最大连麦人数(不包括老师)。取值范围[0, 17)
|
|
30
|
+
*/
|
|
31
|
+
MaxMicNumber: number;
|
|
32
|
+
/**
|
|
33
|
+
* 房间子类型,可以有以下取值:
|
|
34
|
+
videodoc 文档+视频
|
|
35
|
+
video 纯视频
|
|
36
|
+
coteaching 双师
|
|
37
|
+
*/
|
|
38
|
+
SubType: string;
|
|
39
|
+
/**
|
|
40
|
+
* 老师ID。
|
|
41
|
+
*/
|
|
42
|
+
TeacherId?: string;
|
|
43
|
+
/**
|
|
44
|
+
* 进入房间时是否自动连麦。可以有以下取值:
|
|
45
|
+
0 不自动连麦(默认值)
|
|
46
|
+
1 自动连麦
|
|
47
|
+
*/
|
|
48
|
+
AutoMic?: number;
|
|
49
|
+
/**
|
|
50
|
+
* 高音质模式。可以有以下取值:
|
|
51
|
+
0 不开启高音质(默认值)
|
|
52
|
+
1 开启高音质
|
|
53
|
+
*/
|
|
54
|
+
AudioQuality?: number;
|
|
55
|
+
/**
|
|
56
|
+
* 禁止录制。可以有以下取值:
|
|
57
|
+
0 不禁止录制(默认值)
|
|
58
|
+
1 禁止录制
|
|
59
|
+
*/
|
|
60
|
+
DisableRecord?: number;
|
|
61
|
+
/**
|
|
62
|
+
* 助教Id列表。
|
|
63
|
+
*/
|
|
64
|
+
Assistants?: Array<string>;
|
|
65
|
+
/**
|
|
66
|
+
* 录制布局。
|
|
67
|
+
*/
|
|
68
|
+
RecordLayout?: number;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* CreateSupervisor请求参数结构体
|
|
72
|
+
*/
|
|
73
|
+
export declare type CreateSupervisorRequest = null;
|
|
74
|
+
/**
|
|
75
|
+
* DescribeRoom返回参数结构体
|
|
76
|
+
*/
|
|
77
|
+
export interface DescribeRoomResponse {
|
|
78
|
+
/**
|
|
79
|
+
* 房间名称。
|
|
80
|
+
*/
|
|
81
|
+
Name: string;
|
|
82
|
+
/**
|
|
83
|
+
* 预定的房间开始时间,unix时间戳。
|
|
84
|
+
*/
|
|
85
|
+
StartTime: number;
|
|
86
|
+
/**
|
|
87
|
+
* 预定的房间结束时间,unix时间戳。
|
|
88
|
+
*/
|
|
89
|
+
EndTime: number;
|
|
90
|
+
/**
|
|
91
|
+
* 老师ID。
|
|
92
|
+
*/
|
|
93
|
+
TeacherId: string;
|
|
94
|
+
/**
|
|
95
|
+
* 低代码互动课堂的SdkAppId。
|
|
96
|
+
*/
|
|
97
|
+
SdkAppId: number;
|
|
98
|
+
/**
|
|
99
|
+
* 分辨率。可以有如下取值:
|
|
100
|
+
1 标清
|
|
101
|
+
2 高清
|
|
102
|
+
3 全高清
|
|
103
|
+
*/
|
|
104
|
+
Resolution: number;
|
|
105
|
+
/**
|
|
106
|
+
* 最大连麦人数(不包括老师)。取值范围[0, 17)
|
|
107
|
+
*/
|
|
108
|
+
MaxMicNumber: number;
|
|
109
|
+
/**
|
|
110
|
+
* 进入房间时是否自动连麦。可以有以下取值:
|
|
111
|
+
0 不自动连麦(默认值)
|
|
112
|
+
1 自动连麦
|
|
113
|
+
*/
|
|
114
|
+
AutoMic: number;
|
|
115
|
+
/**
|
|
116
|
+
* 高音质模式。可以有以下取值:
|
|
117
|
+
0 不开启高音质(默认值)
|
|
118
|
+
1 开启高音质
|
|
119
|
+
*/
|
|
120
|
+
AudioQuality: number;
|
|
121
|
+
/**
|
|
122
|
+
* 房间子类型,可以有以下取值:
|
|
123
|
+
videodoc 文档+视频
|
|
124
|
+
video 纯视频
|
|
125
|
+
coteaching 双师
|
|
126
|
+
*/
|
|
127
|
+
SubType: string;
|
|
128
|
+
/**
|
|
129
|
+
* 禁止录制。可以有以下取值:
|
|
130
|
+
0 不禁止录制(默认值)
|
|
131
|
+
1 禁止录制
|
|
132
|
+
*/
|
|
133
|
+
DisableRecord: number;
|
|
134
|
+
/**
|
|
135
|
+
* 助教Id列表。
|
|
136
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
137
|
+
*/
|
|
138
|
+
Assistants: Array<string>;
|
|
139
|
+
/**
|
|
140
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
141
|
+
*/
|
|
142
|
+
RequestId?: string;
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* RegisterUser请求参数结构体
|
|
146
|
+
*/
|
|
147
|
+
export interface RegisterUserRequest {
|
|
148
|
+
/**
|
|
149
|
+
* 低代码互动课堂的SdkAppId。
|
|
150
|
+
*/
|
|
151
|
+
SdkAppId: number;
|
|
152
|
+
/**
|
|
153
|
+
* 用户名称。
|
|
154
|
+
*/
|
|
155
|
+
Name?: string;
|
|
156
|
+
/**
|
|
157
|
+
* 用户在客户系统的Id,需要在同一应用下唯一。
|
|
158
|
+
*/
|
|
159
|
+
OriginId?: string;
|
|
160
|
+
/**
|
|
161
|
+
* 用户头像。
|
|
162
|
+
*/
|
|
163
|
+
Avatar?: string;
|
|
164
|
+
}
|
|
165
|
+
/**
|
|
166
|
+
* LoginOriginId请求参数结构体
|
|
167
|
+
*/
|
|
168
|
+
export interface LoginOriginIdRequest {
|
|
169
|
+
/**
|
|
170
|
+
* 低代码互动课堂的SdkAppId。
|
|
171
|
+
*/
|
|
172
|
+
SdkAppId: number;
|
|
173
|
+
/**
|
|
174
|
+
* 用户在客户系统的Id,需要在同一应用下唯一。
|
|
175
|
+
*/
|
|
176
|
+
OriginId: string;
|
|
177
|
+
}
|
|
178
|
+
/**
|
|
179
|
+
* DescribeUser请求参数结构体
|
|
180
|
+
*/
|
|
181
|
+
export interface DescribeUserRequest {
|
|
182
|
+
/**
|
|
183
|
+
* 用户Id。
|
|
184
|
+
*/
|
|
185
|
+
UserId: string;
|
|
186
|
+
}
|
|
187
|
+
/**
|
|
188
|
+
* RegisterUser返回参数结构体
|
|
189
|
+
*/
|
|
190
|
+
export interface RegisterUserResponse {
|
|
191
|
+
/**
|
|
192
|
+
* 用户Id。
|
|
193
|
+
*/
|
|
194
|
+
UserId: string;
|
|
195
|
+
/**
|
|
196
|
+
* 登录/注册成功后返回登录态token。有效期7天。
|
|
197
|
+
*/
|
|
198
|
+
Token: string;
|
|
199
|
+
/**
|
|
200
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
201
|
+
*/
|
|
202
|
+
RequestId?: string;
|
|
203
|
+
}
|
|
204
|
+
/**
|
|
205
|
+
* LoginUser请求参数结构体
|
|
206
|
+
*/
|
|
207
|
+
export interface LoginUserRequest {
|
|
208
|
+
/**
|
|
209
|
+
* 注册获取的用户id。
|
|
210
|
+
*/
|
|
211
|
+
UserId: string;
|
|
212
|
+
}
|
|
213
|
+
/**
|
|
214
|
+
* CreateSupervisor返回参数结构体
|
|
215
|
+
*/
|
|
216
|
+
export interface CreateSupervisorResponse {
|
|
217
|
+
/**
|
|
218
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
219
|
+
*/
|
|
220
|
+
RequestId?: string;
|
|
221
|
+
}
|
|
222
|
+
/**
|
|
223
|
+
* CreateRoom返回参数结构体
|
|
224
|
+
*/
|
|
225
|
+
export interface CreateRoomResponse {
|
|
226
|
+
/**
|
|
227
|
+
* 房间ID。
|
|
228
|
+
*/
|
|
229
|
+
RoomId: number;
|
|
230
|
+
/**
|
|
231
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
232
|
+
*/
|
|
233
|
+
RequestId?: string;
|
|
234
|
+
}
|
|
235
|
+
/**
|
|
236
|
+
* DescribeUser返回参数结构体
|
|
237
|
+
*/
|
|
238
|
+
export interface DescribeUserResponse {
|
|
239
|
+
/**
|
|
240
|
+
* 应用Id。
|
|
241
|
+
*/
|
|
242
|
+
SdkAppId: number;
|
|
243
|
+
/**
|
|
244
|
+
* 用户Id。
|
|
245
|
+
*/
|
|
246
|
+
UserId: string;
|
|
247
|
+
/**
|
|
248
|
+
* 用户昵称。
|
|
249
|
+
*/
|
|
250
|
+
Name: string;
|
|
251
|
+
/**
|
|
252
|
+
* 用户头像Url。
|
|
253
|
+
*/
|
|
254
|
+
Avatar: string;
|
|
255
|
+
/**
|
|
256
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
257
|
+
*/
|
|
258
|
+
RequestId?: string;
|
|
259
|
+
}
|
|
260
|
+
/**
|
|
261
|
+
* DescribeRoom请求参数结构体
|
|
262
|
+
*/
|
|
263
|
+
export interface DescribeRoomRequest {
|
|
264
|
+
/**
|
|
265
|
+
* 房间Id。
|
|
266
|
+
*/
|
|
267
|
+
RoomId: number;
|
|
268
|
+
}
|
|
269
|
+
/**
|
|
270
|
+
* LoginOriginId返回参数结构体
|
|
271
|
+
*/
|
|
272
|
+
export interface LoginOriginIdResponse {
|
|
273
|
+
/**
|
|
274
|
+
* 用户Id。
|
|
275
|
+
*/
|
|
276
|
+
UserId: string;
|
|
277
|
+
/**
|
|
278
|
+
* 登录/注册成功后返回登录态token。有效期7天。
|
|
279
|
+
*/
|
|
280
|
+
Token: string;
|
|
281
|
+
/**
|
|
282
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
283
|
+
*/
|
|
284
|
+
RequestId?: string;
|
|
285
|
+
}
|
|
286
|
+
/**
|
|
287
|
+
* LoginUser返回参数结构体
|
|
288
|
+
*/
|
|
289
|
+
export interface LoginUserResponse {
|
|
290
|
+
/**
|
|
291
|
+
* 用户Id。
|
|
292
|
+
*/
|
|
293
|
+
UserId: string;
|
|
294
|
+
/**
|
|
295
|
+
* 登录/注册成功后返回登录态token。有效期7天。
|
|
296
|
+
*/
|
|
297
|
+
Token: string;
|
|
298
|
+
/**
|
|
299
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
300
|
+
*/
|
|
301
|
+
RequestId?: string;
|
|
302
|
+
}
|
|
@@ -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 });
|