tencentcloud-sdk-nodejs-intl-en 3.0.1008 → 3.0.1010
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 +1 -1
- package/tencentcloud/car/v20220110/car_client.js +235 -32
- package/tencentcloud/car/v20220110/models.js +1894 -114
- package/tencentcloud/cdwdoris/v20211228/cdwdoris_client.js +213 -48
- package/tencentcloud/cdwdoris/v20211228/models.js +2265 -741
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/mdl/v20200326/models.js +6 -2
package/package.json
CHANGED
|
@@ -16,20 +16,58 @@
|
|
|
16
16
|
*/
|
|
17
17
|
const models = require("./models");
|
|
18
18
|
const AbstractClient = require('../../common/abstract_client')
|
|
19
|
-
const
|
|
20
|
-
const
|
|
19
|
+
const CreateApplicationVersionResponse = models.CreateApplicationVersionResponse;
|
|
20
|
+
const DeleteApplicationRequest = models.DeleteApplicationRequest;
|
|
21
|
+
const ApplicationBaseInfo = models.ApplicationBaseInfo;
|
|
22
|
+
const CreateSessionRequest = models.CreateSessionRequest;
|
|
23
|
+
const DescribeApplicationPathListResponse = models.DescribeApplicationPathListResponse;
|
|
24
|
+
const ModifyMobileApplicationInfoRequest = models.ModifyMobileApplicationInfoRequest;
|
|
21
25
|
const StartPublishStreamWithURLResponse = models.StartPublishStreamWithURLResponse;
|
|
26
|
+
const CreateApplicationSnapshotRequest = models.CreateApplicationSnapshotRequest;
|
|
27
|
+
const DeleteApplicationVersionRequest = models.DeleteApplicationVersionRequest;
|
|
28
|
+
const UserMobileApplicationInfo = models.UserMobileApplicationInfo;
|
|
29
|
+
const Filter = models.Filter;
|
|
30
|
+
const SetApplicationVersionOnlineRequest = models.SetApplicationVersionOnlineRequest;
|
|
31
|
+
const CreateApplicationSnapshotResponse = models.CreateApplicationSnapshotResponse;
|
|
32
|
+
const DescribeApplicationFileInfoResponse = models.DescribeApplicationFileInfoResponse;
|
|
33
|
+
const ModifyMobileApplicationInfoResponse = models.ModifyMobileApplicationInfoResponse;
|
|
34
|
+
const ModifyApplicationBaseInfoRequest = models.ModifyApplicationBaseInfoRequest;
|
|
35
|
+
const ModifyApplicationBaseInfoResponse = models.ModifyApplicationBaseInfoResponse;
|
|
36
|
+
const DescribeApplicationVersionRequest = models.DescribeApplicationVersionRequest;
|
|
37
|
+
const DescribeApplicationListResponse = models.DescribeApplicationListResponse;
|
|
38
|
+
const DescribeCosCredentialResponse = models.DescribeCosCredentialResponse;
|
|
39
|
+
const DescribeApplicationStatusRequest = models.DescribeApplicationStatusRequest;
|
|
40
|
+
const CreateApplicationRequest = models.CreateApplicationRequest;
|
|
41
|
+
const DescribeConcurrentCountRequest = models.DescribeConcurrentCountRequest;
|
|
42
|
+
const DeleteApplicationVersionResponse = models.DeleteApplicationVersionResponse;
|
|
43
|
+
const ModifyApplicationVersionResponse = models.ModifyApplicationVersionResponse;
|
|
44
|
+
const DescribeCosCredentialRequest = models.DescribeCosCredentialRequest;
|
|
22
45
|
const StopPublishStreamResponse = models.StopPublishStreamResponse;
|
|
46
|
+
const CreateApplicationVersionRequest = models.CreateApplicationVersionRequest;
|
|
47
|
+
const DescribeApplicationStatusResponse = models.DescribeApplicationStatusResponse;
|
|
23
48
|
const DestroySessionResponse = models.DestroySessionResponse;
|
|
49
|
+
const DescribeApplicationVersionResponse = models.DescribeApplicationVersionResponse;
|
|
50
|
+
const DescribeApplicationPathListRequest = models.DescribeApplicationPathListRequest;
|
|
51
|
+
const StartPublishStreamResponse = models.StartPublishStreamResponse;
|
|
52
|
+
const CreateSessionResponse = models.CreateSessionResponse;
|
|
53
|
+
const DescribeApplicationListRequest = models.DescribeApplicationListRequest;
|
|
54
|
+
const StartPublishStreamRequest = models.StartPublishStreamRequest;
|
|
55
|
+
const UserApplicationInfo = models.UserApplicationInfo;
|
|
56
|
+
const DeleteApplicationResponse = models.DeleteApplicationResponse;
|
|
57
|
+
const UserApplicationStatus = models.UserApplicationStatus;
|
|
58
|
+
const StopPublishStreamRequest = models.StopPublishStreamRequest;
|
|
59
|
+
const CreateApplicationResponse = models.CreateApplicationResponse;
|
|
60
|
+
const UserApplicationFileInfo = models.UserApplicationFileInfo;
|
|
61
|
+
const UserApplicationVersion = models.UserApplicationVersion;
|
|
24
62
|
const StartPublishStreamWithURLRequest = models.StartPublishStreamWithURLRequest;
|
|
25
63
|
const ApplyConcurrentResponse = models.ApplyConcurrentResponse;
|
|
26
|
-
const
|
|
27
|
-
const CreateSessionRequest = models.CreateSessionRequest;
|
|
64
|
+
const SetApplicationVersionOnlineResponse = models.SetApplicationVersionOnlineResponse;
|
|
28
65
|
const ApplyConcurrentRequest = models.ApplyConcurrentRequest;
|
|
29
66
|
const DescribeConcurrentCountResponse = models.DescribeConcurrentCountResponse;
|
|
30
67
|
const DestroySessionRequest = models.DestroySessionRequest;
|
|
31
|
-
const
|
|
32
|
-
const
|
|
68
|
+
const DescribeApplicationFileInfoRequest = models.DescribeApplicationFileInfoRequest;
|
|
69
|
+
const ModifyApplicationVersionRequest = models.ModifyApplicationVersionRequest;
|
|
70
|
+
const UserApplicationStore = models.UserApplicationStore;
|
|
33
71
|
|
|
34
72
|
|
|
35
73
|
/**
|
|
@@ -43,40 +81,117 @@ class CarClient extends AbstractClient {
|
|
|
43
81
|
}
|
|
44
82
|
|
|
45
83
|
/**
|
|
46
|
-
* This API is used to
|
|
47
|
-
* @param {
|
|
48
|
-
* @param {function(string,
|
|
84
|
+
* This API is used to launch an application version.
|
|
85
|
+
* @param {SetApplicationVersionOnlineRequest} req
|
|
86
|
+
* @param {function(string, SetApplicationVersionOnlineResponse):void} cb
|
|
49
87
|
* @public
|
|
50
88
|
*/
|
|
51
|
-
|
|
52
|
-
let resp = new
|
|
53
|
-
this.request("
|
|
89
|
+
SetApplicationVersionOnline(req, cb) {
|
|
90
|
+
let resp = new SetApplicationVersionOnlineResponse();
|
|
91
|
+
this.request("SetApplicationVersionOnline", req, resp, cb);
|
|
54
92
|
}
|
|
55
93
|
|
|
56
94
|
/**
|
|
57
|
-
*
|
|
58
|
-
* @param {
|
|
59
|
-
* @param {function(string,
|
|
95
|
+
* This API is used to query application file information.
|
|
96
|
+
* @param {DescribeApplicationFileInfoRequest} req
|
|
97
|
+
* @param {function(string, DescribeApplicationFileInfoResponse):void} cb
|
|
60
98
|
* @public
|
|
61
99
|
*/
|
|
62
|
-
|
|
63
|
-
let resp = new
|
|
64
|
-
this.request("
|
|
100
|
+
DescribeApplicationFileInfo(req, cb) {
|
|
101
|
+
let resp = new DescribeApplicationFileInfoResponse();
|
|
102
|
+
this.request("DescribeApplicationFileInfo", req, resp, cb);
|
|
65
103
|
}
|
|
66
104
|
|
|
67
105
|
/**
|
|
68
|
-
*
|
|
69
|
-
* @param {
|
|
70
|
-
* @param {function(string,
|
|
106
|
+
* This API is used to modify the version information of a cloud application.
|
|
107
|
+
* @param {ModifyApplicationVersionRequest} req
|
|
108
|
+
* @param {function(string, ModifyApplicationVersionResponse):void} cb
|
|
71
109
|
* @public
|
|
72
110
|
*/
|
|
73
|
-
|
|
74
|
-
let resp = new
|
|
75
|
-
this.request("
|
|
111
|
+
ModifyApplicationVersion(req, cb) {
|
|
112
|
+
let resp = new ModifyApplicationVersionResponse();
|
|
113
|
+
this.request("ModifyApplicationVersion", req, resp, cb);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* This API is used to modify the mobile application data.
|
|
118
|
+
* @param {ModifyMobileApplicationInfoRequest} req
|
|
119
|
+
* @param {function(string, ModifyMobileApplicationInfoResponse):void} cb
|
|
120
|
+
* @public
|
|
121
|
+
*/
|
|
122
|
+
ModifyMobileApplicationInfo(req, cb) {
|
|
123
|
+
let resp = new ModifyMobileApplicationInfoResponse();
|
|
124
|
+
this.request("ModifyMobileApplicationInfo", req, resp, cb);
|
|
76
125
|
}
|
|
77
126
|
|
|
78
127
|
/**
|
|
79
|
-
*
|
|
128
|
+
* This API is used to delete a cloud application.
|
|
129
|
+
* @param {DeleteApplicationRequest} req
|
|
130
|
+
* @param {function(string, DeleteApplicationResponse):void} cb
|
|
131
|
+
* @public
|
|
132
|
+
*/
|
|
133
|
+
DeleteApplication(req, cb) {
|
|
134
|
+
let resp = new DeleteApplicationResponse();
|
|
135
|
+
this.request("DeleteApplication", req, resp, cb);
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* This API is used to start cloud-based streaming to the specified URL. The codec for the cloud-based streaming is automatically selected based on the client's (SDK) capabilities, with a default order of H.265, H.264, VP8, and VP9. This streaming method will be billed separately. For details about the billing method, see [Charging for Streaming to Specified URL](https://intl.cloud.tencent.com/document/product/1547/72168?from_cn_redirect=1#98ac188a-d122-4caf-88be-05268ecefdf6).
|
|
140
|
+
* @param {StartPublishStreamWithURLRequest} req
|
|
141
|
+
* @param {function(string, StartPublishStreamWithURLResponse):void} cb
|
|
142
|
+
* @public
|
|
143
|
+
*/
|
|
144
|
+
StartPublishStreamWithURL(req, cb) {
|
|
145
|
+
let resp = new StartPublishStreamWithURLResponse();
|
|
146
|
+
this.request("StartPublishStreamWithURL", req, resp, cb);
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* This API is used to create a cloud application version snapshot.
|
|
151
|
+
* @param {CreateApplicationSnapshotRequest} req
|
|
152
|
+
* @param {function(string, CreateApplicationSnapshotResponse):void} cb
|
|
153
|
+
* @public
|
|
154
|
+
*/
|
|
155
|
+
CreateApplicationSnapshot(req, cb) {
|
|
156
|
+
let resp = new CreateApplicationSnapshotResponse();
|
|
157
|
+
this.request("CreateApplicationSnapshot", req, resp, cb);
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* This API is used to query the version information of a cloud application.
|
|
162
|
+
* @param {DescribeApplicationVersionRequest} req
|
|
163
|
+
* @param {function(string, DescribeApplicationVersionResponse):void} cb
|
|
164
|
+
* @public
|
|
165
|
+
*/
|
|
166
|
+
DescribeApplicationVersion(req, cb) {
|
|
167
|
+
let resp = new DescribeApplicationVersionResponse();
|
|
168
|
+
this.request("DescribeApplicationVersion", req, resp, cb);
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
/**
|
|
172
|
+
* This API is used to query the cloud application startup path list.
|
|
173
|
+
* @param {DescribeApplicationPathListRequest} req
|
|
174
|
+
* @param {function(string, DescribeApplicationPathListResponse):void} cb
|
|
175
|
+
* @public
|
|
176
|
+
*/
|
|
177
|
+
DescribeApplicationPathList(req, cb) {
|
|
178
|
+
let resp = new DescribeApplicationPathListResponse();
|
|
179
|
+
this.request("DescribeApplicationPathList", req, resp, cb);
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* This API is used to request concurrency quota. The timeout period of the API is 20 seconds.
|
|
184
|
+
* @param {ApplyConcurrentRequest} req
|
|
185
|
+
* @param {function(string, ApplyConcurrentResponse):void} cb
|
|
186
|
+
* @public
|
|
187
|
+
*/
|
|
188
|
+
ApplyConcurrent(req, cb) {
|
|
189
|
+
let resp = new ApplyConcurrentResponse();
|
|
190
|
+
this.request("ApplyConcurrent", req, resp, cb);
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
/**
|
|
194
|
+
* This API is used to start cloud-based streaming. The codec for the cloud-based streaming is automatically selected based on the client's (SDK) capabilities, with a default order of H.265, H.264, VP8, and VP9.
|
|
80
195
|
* @param {StartPublishStreamRequest} req
|
|
81
196
|
* @param {function(string, StartPublishStreamResponse):void} cb
|
|
82
197
|
* @public
|
|
@@ -87,7 +202,7 @@ class CarClient extends AbstractClient {
|
|
|
87
202
|
}
|
|
88
203
|
|
|
89
204
|
/**
|
|
90
|
-
* This API is used to stop
|
|
205
|
+
* This API is used to stop cloud-based streaming.
|
|
91
206
|
* @param {StopPublishStreamRequest} req
|
|
92
207
|
* @param {function(string, StopPublishStreamResponse):void} cb
|
|
93
208
|
* @public
|
|
@@ -98,14 +213,58 @@ class CarClient extends AbstractClient {
|
|
|
98
213
|
}
|
|
99
214
|
|
|
100
215
|
/**
|
|
101
|
-
*
|
|
102
|
-
* @param {
|
|
103
|
-
* @param {function(string,
|
|
216
|
+
* This API is used to obtain the concurrency count.
|
|
217
|
+
* @param {DescribeConcurrentCountRequest} req
|
|
218
|
+
* @param {function(string, DescribeConcurrentCountResponse):void} cb
|
|
104
219
|
* @public
|
|
105
220
|
*/
|
|
106
|
-
|
|
107
|
-
let resp = new
|
|
108
|
-
this.request("
|
|
221
|
+
DescribeConcurrentCount(req, cb) {
|
|
222
|
+
let resp = new DescribeConcurrentCountResponse();
|
|
223
|
+
this.request("DescribeConcurrentCount", req, resp, cb);
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
/**
|
|
227
|
+
* This API is used to query COS key information.
|
|
228
|
+
* @param {DescribeCosCredentialRequest} req
|
|
229
|
+
* @param {function(string, DescribeCosCredentialResponse):void} cb
|
|
230
|
+
* @public
|
|
231
|
+
*/
|
|
232
|
+
DescribeCosCredential(req, cb) {
|
|
233
|
+
let resp = new DescribeCosCredentialResponse();
|
|
234
|
+
this.request("DescribeCosCredential", req, resp, cb);
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
/**
|
|
238
|
+
* This API is used to delete a cloud application version.
|
|
239
|
+
* @param {DeleteApplicationVersionRequest} req
|
|
240
|
+
* @param {function(string, DeleteApplicationVersionResponse):void} cb
|
|
241
|
+
* @public
|
|
242
|
+
*/
|
|
243
|
+
DeleteApplicationVersion(req, cb) {
|
|
244
|
+
let resp = new DeleteApplicationVersionResponse();
|
|
245
|
+
this.request("DeleteApplicationVersion", req, resp, cb);
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
/**
|
|
249
|
+
* This API is used to query the running status of a cloud application and update status information.
|
|
250
|
+
* @param {DescribeApplicationStatusRequest} req
|
|
251
|
+
* @param {function(string, DescribeApplicationStatusResponse):void} cb
|
|
252
|
+
* @public
|
|
253
|
+
*/
|
|
254
|
+
DescribeApplicationStatus(req, cb) {
|
|
255
|
+
let resp = new DescribeApplicationStatusResponse();
|
|
256
|
+
this.request("DescribeApplicationStatus", req, resp, cb);
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* This API is used to modify basic information of a cloud application.
|
|
261
|
+
* @param {ModifyApplicationBaseInfoRequest} req
|
|
262
|
+
* @param {function(string, ModifyApplicationBaseInfoResponse):void} cb
|
|
263
|
+
* @public
|
|
264
|
+
*/
|
|
265
|
+
ModifyApplicationBaseInfo(req, cb) {
|
|
266
|
+
let resp = new ModifyApplicationBaseInfoResponse();
|
|
267
|
+
this.request("ModifyApplicationBaseInfo", req, resp, cb);
|
|
109
268
|
}
|
|
110
269
|
|
|
111
270
|
/**
|
|
@@ -119,6 +278,50 @@ class CarClient extends AbstractClient {
|
|
|
119
278
|
this.request("CreateSession", req, resp, cb);
|
|
120
279
|
}
|
|
121
280
|
|
|
281
|
+
/**
|
|
282
|
+
* This API is used to create an application.
|
|
283
|
+
* @param {CreateApplicationRequest} req
|
|
284
|
+
* @param {function(string, CreateApplicationResponse):void} cb
|
|
285
|
+
* @public
|
|
286
|
+
*/
|
|
287
|
+
CreateApplication(req, cb) {
|
|
288
|
+
let resp = new CreateApplicationResponse();
|
|
289
|
+
this.request("CreateApplication", req, resp, cb);
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
/**
|
|
293
|
+
* This API is used to query the cloud application list.
|
|
294
|
+
* @param {DescribeApplicationListRequest} req
|
|
295
|
+
* @param {function(string, DescribeApplicationListResponse):void} cb
|
|
296
|
+
* @public
|
|
297
|
+
*/
|
|
298
|
+
DescribeApplicationList(req, cb) {
|
|
299
|
+
let resp = new DescribeApplicationListResponse();
|
|
300
|
+
this.request("DescribeApplicationList", req, resp, cb);
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
/**
|
|
304
|
+
* This API is used to terminate a session. If cloud-based streaming has been enabled for this session, the cloud-based streaming will end upon session termination.
|
|
305
|
+
* @param {DestroySessionRequest} req
|
|
306
|
+
* @param {function(string, DestroySessionResponse):void} cb
|
|
307
|
+
* @public
|
|
308
|
+
*/
|
|
309
|
+
DestroySession(req, cb) {
|
|
310
|
+
let resp = new DestroySessionResponse();
|
|
311
|
+
this.request("DestroySession", req, resp, cb);
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
/**
|
|
315
|
+
* This API is used to create a cloud application version.
|
|
316
|
+
* @param {CreateApplicationVersionRequest} req
|
|
317
|
+
* @param {function(string, CreateApplicationVersionResponse):void} cb
|
|
318
|
+
* @public
|
|
319
|
+
*/
|
|
320
|
+
CreateApplicationVersion(req, cb) {
|
|
321
|
+
let resp = new CreateApplicationVersionResponse();
|
|
322
|
+
this.request("CreateApplicationVersion", req, resp, cb);
|
|
323
|
+
}
|
|
324
|
+
|
|
122
325
|
|
|
123
326
|
}
|
|
124
327
|
module.exports = CarClient;
|