tencentcloud-sdk-nodejs-lcic 4.0.449

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,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 });
package/tsconfig.json ADDED
@@ -0,0 +1,33 @@
1
+ {
2
+ "compilerOptions": {
3
+ // "incremental": true, /* 增量编译 提高编译速度*/
4
+ "target": "ES2019" /* 编译目标ES版本*/,
5
+ "module": "commonjs" /* 编译目标模块系统*/,
6
+ // "lib": [], /* 编译过程中需要引入的库文件列表*/
7
+ "declaration": true /* 编译时创建声明文件 */,
8
+ "outDir": "tencentcloud" /* ts编译输出目录 */,
9
+ "rootDir": "src" /* ts编译根目录. */,
10
+ "importHelpers": true /* 从tslib导入辅助工具函数(如__importDefault)*/,
11
+ "strict": true /* 严格模式开关 等价于noImplicitAny、strictNullChecks、strictFunctionTypes、strictBindCallApply等设置true */,
12
+ "strictNullChecks": false,
13
+ "noUnusedLocals": false /* 未使用局部变量报错*/,
14
+ "noUnusedParameters": false /* 未使用参数报错*/,
15
+ "noImplicitReturns": true /* 有代码路径没有返回值时报错*/,
16
+ "noFallthroughCasesInSwitch": true /* 不允许switch的case语句贯穿*/,
17
+ "moduleResolution": "node" /* 模块解析策略 */,
18
+ "typeRoots": [
19
+ /* 要包含的类型声明文件路径列表*/
20
+ "./typings",
21
+ "./node_modules/@types"
22
+ ],
23
+ "allowSyntheticDefaultImports": true /* 允许从没有设置默认导出的模块中默认导入,仅用于提示,不影响编译结果*/,
24
+ "esModuleInterop": false /* 允许编译生成文件时,在代码中注入工具类(__importDefault、__importStar)对ESM与commonjs混用情况做兼容处理*/,
25
+ "sourceMap": false
26
+ },
27
+ "include": [
28
+ /* 需要编译的文件 */
29
+ "src/**/*.ts",
30
+ "typings/**/*.ts"
31
+ ],
32
+ "exclude": []
33
+ }
@@ -0,0 +1,2 @@
1
+ declare module "get-stream"
2
+ declare module "is-stream"