tencentcloud-sdk-nodejs-intl-en 3.0.608 → 3.0.609

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-intl-en",
3
- "version": "3.0.608",
3
+ "version": "3.0.609",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1,2 +1,2 @@
1
- const sdkVersion = "3.0.608";
1
+ const sdkVersion = "3.0.609";
2
2
  module.exports = sdkVersion
@@ -49,6 +49,7 @@ module.exports = {
49
49
  iotcloud: require("./iotcloud"),
50
50
  ip: require("./ip"),
51
51
  kms: require("./kms"),
52
+ lcic: require("./lcic"),
52
53
  lighthouse: require("./lighthouse"),
53
54
  live: require("./live"),
54
55
  mariadb: require("./mariadb"),
@@ -0,0 +1,3 @@
1
+ module.exports = {
2
+ v20220817: require("./v20220817"),
3
+ };
@@ -0,0 +1,4 @@
1
+ module.exports = {
2
+ Client: require("./lcic_client"),
3
+ Models: require("./models"),
4
+ };
@@ -0,0 +1,217 @@
1
+ /*
2
+ * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing,
11
+ * software distributed under the License is distributed on an
12
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
13
+ * KIND, either express or implied. See the License for the
14
+ * specific language governing permissions and limitations
15
+ * under the License.
16
+ */
17
+ const models = require("./models");
18
+ const AbstractClient = require('../../common/abstract_client')
19
+ const CreateRoomRequest = models.CreateRoomRequest;
20
+ const SetAppCustomContentRequest = models.SetAppCustomContentRequest;
21
+ const UnbindDocumentFromRoomResponse = models.UnbindDocumentFromRoomResponse;
22
+ const DescribeUserRequest = models.DescribeUserRequest;
23
+ const CreateDocumentResponse = models.CreateDocumentResponse;
24
+ const DescribeRoomStatisticsRequest = models.DescribeRoomStatisticsRequest;
25
+ const BindDocumentToRoomRequest = models.BindDocumentToRoomRequest;
26
+ const CreateDocumentRequest = models.CreateDocumentRequest;
27
+ const SetAppCustomContentResponse = models.SetAppCustomContentResponse;
28
+ const LoginOriginIdResponse = models.LoginOriginIdResponse;
29
+ const LoginUserResponse = models.LoginUserResponse;
30
+ const DescribeRoomResponse = models.DescribeRoomResponse;
31
+ const DeleteRoomResponse = models.DeleteRoomResponse;
32
+ const AppCustomContent = models.AppCustomContent;
33
+ const DescribeRoomStatisticsResponse = models.DescribeRoomStatisticsResponse;
34
+ const CreateSupervisorResponse = models.CreateSupervisorResponse;
35
+ const DeleteRoomRequest = models.DeleteRoomRequest;
36
+ const RegisterUserResponse = models.RegisterUserResponse;
37
+ const ModifyAppResponse = models.ModifyAppResponse;
38
+ const MemberRecord = models.MemberRecord;
39
+ const ModifyAppRequest = models.ModifyAppRequest;
40
+ const CreateSupervisorRequest = models.CreateSupervisorRequest;
41
+ const UnbindDocumentFromRoomRequest = models.UnbindDocumentFromRoomRequest;
42
+ const LoginOriginIdRequest = models.LoginOriginIdRequest;
43
+ const RegisterUserRequest = models.RegisterUserRequest;
44
+ const LoginUserRequest = models.LoginUserRequest;
45
+ const BindDocumentToRoomResponse = models.BindDocumentToRoomResponse;
46
+ const CreateRoomResponse = models.CreateRoomResponse;
47
+ const DescribeUserResponse = models.DescribeUserResponse;
48
+ const DescribeRoomRequest = models.DescribeRoomRequest;
49
+
50
+
51
+ /**
52
+ * lcic client
53
+ * @class
54
+ */
55
+ class LcicClient extends AbstractClient {
56
+
57
+ constructor(credential, region, profile) {
58
+ super("lcic.tencentcloudapi.com", "2022-08-17", credential, region, profile);
59
+ }
60
+
61
+ /**
62
+ * This API is used to create a document to be used in a room.
63
+ * @param {CreateDocumentRequest} req
64
+ * @param {function(string, CreateDocumentResponse):void} cb
65
+ * @public
66
+ */
67
+ CreateDocument(req, cb) {
68
+ let resp = new CreateDocumentResponse();
69
+ this.request("CreateDocument", req, resp, cb);
70
+ }
71
+
72
+ /**
73
+ * This API is used to set or update the custom content of an application, including the application icon and custom code. After you update JS and CSS content, you also need to call this API for the updates to take effect.
74
+ * @param {SetAppCustomContentRequest} req
75
+ * @param {function(string, SetAppCustomContentResponse):void} cb
76
+ * @public
77
+ */
78
+ SetAppCustomContent(req, cb) {
79
+ let resp = new SetAppCustomContentResponse();
80
+ this.request("SetAppCustomContent", req, resp, cb);
81
+ }
82
+
83
+ /**
84
+ * This API is used to obtain the statistics of a room. It can be called only after the room is ended.
85
+ * @param {DescribeRoomStatisticsRequest} req
86
+ * @param {function(string, DescribeRoomStatisticsResponse):void} cb
87
+ * @public
88
+ */
89
+ DescribeRoomStatistics(req, cb) {
90
+ let resp = new DescribeRoomStatisticsResponse();
91
+ this.request("DescribeRoomStatistics", req, resp, cb);
92
+ }
93
+
94
+ /**
95
+ * This API is used to delete a room.
96
+ * @param {DeleteRoomRequest} req
97
+ * @param {function(string, DeleteRoomResponse):void} cb
98
+ * @public
99
+ */
100
+ DeleteRoom(req, cb) {
101
+ let resp = new DeleteRoomResponse();
102
+ this.request("DeleteRoom", req, resp, cb);
103
+ }
104
+
105
+ /**
106
+ * This API is used to unbind a document from a room.
107
+ * @param {UnbindDocumentFromRoomRequest} req
108
+ * @param {function(string, UnbindDocumentFromRoomResponse):void} cb
109
+ * @public
110
+ */
111
+ UnbindDocumentFromRoom(req, cb) {
112
+ let resp = new UnbindDocumentFromRoomResponse();
113
+ this.request("UnbindDocumentFromRoom", req, resp, cb);
114
+ }
115
+
116
+ /**
117
+ * This API is used to bind a document to a room.
118
+ * @param {BindDocumentToRoomRequest} req
119
+ * @param {function(string, BindDocumentToRoomResponse):void} cb
120
+ * @public
121
+ */
122
+ BindDocumentToRoom(req, cb) {
123
+ let resp = new BindDocumentToRoomResponse();
124
+ this.request("BindDocumentToRoom", req, resp, cb);
125
+ }
126
+
127
+ /**
128
+ * This API is used to log in with an origin account, which is the `originId` entered during registration.
129
+ * @param {LoginOriginIdRequest} req
130
+ * @param {function(string, LoginOriginIdResponse):void} cb
131
+ * @public
132
+ */
133
+ LoginOriginId(req, cb) {
134
+ let resp = new LoginOriginIdResponse();
135
+ this.request("LoginOriginId", req, resp, cb);
136
+ }
137
+
138
+ /**
139
+ * This API is used to obtain user profile.
140
+ * @param {DescribeUserRequest} req
141
+ * @param {function(string, DescribeUserResponse):void} cb
142
+ * @public
143
+ */
144
+ DescribeUser(req, cb) {
145
+ let resp = new DescribeUserResponse();
146
+ this.request("DescribeUser", req, resp, cb);
147
+ }
148
+
149
+ /**
150
+ * This API is used to modify an application.
151
+ * @param {ModifyAppRequest} req
152
+ * @param {function(string, ModifyAppResponse):void} cb
153
+ * @public
154
+ */
155
+ ModifyApp(req, cb) {
156
+ let resp = new ModifyAppResponse();
157
+ this.request("ModifyApp", req, resp, cb);
158
+ }
159
+
160
+ /**
161
+ * This API is used to log in.
162
+ * @param {LoginUserRequest} req
163
+ * @param {function(string, LoginUserResponse):void} cb
164
+ * @public
165
+ */
166
+ LoginUser(req, cb) {
167
+ let resp = new LoginUserResponse();
168
+ this.request("LoginUser", req, resp, cb);
169
+ }
170
+
171
+ /**
172
+ * This API is used to create a spectator.
173
+ * @param {CreateSupervisorRequest} req
174
+ * @param {function(string, CreateSupervisorResponse):void} cb
175
+ * @public
176
+ */
177
+ CreateSupervisor(req, cb) {
178
+ let resp = new CreateSupervisorResponse();
179
+ this.request("CreateSupervisor", req, resp, cb);
180
+ }
181
+
182
+ /**
183
+ * This API is used to register a user.
184
+ * @param {RegisterUserRequest} req
185
+ * @param {function(string, RegisterUserResponse):void} cb
186
+ * @public
187
+ */
188
+ RegisterUser(req, cb) {
189
+ let resp = new RegisterUserResponse();
190
+ this.request("RegisterUser", req, resp, cb);
191
+ }
192
+
193
+ /**
194
+ * This API is used to get room information.
195
+ * @param {DescribeRoomRequest} req
196
+ * @param {function(string, DescribeRoomResponse):void} cb
197
+ * @public
198
+ */
199
+ DescribeRoom(req, cb) {
200
+ let resp = new DescribeRoomResponse();
201
+ this.request("DescribeRoom", req, resp, cb);
202
+ }
203
+
204
+ /**
205
+ * This API is used to create a room.
206
+ * @param {CreateRoomRequest} req
207
+ * @param {function(string, CreateRoomResponse):void} cb
208
+ * @public
209
+ */
210
+ CreateRoom(req, cb) {
211
+ let resp = new CreateRoomResponse();
212
+ this.request("CreateRoom", req, resp, cb);
213
+ }
214
+
215
+
216
+ }
217
+ module.exports = LcicClient;