tencentcloud-sdk-nodejs 4.0.576 → 4.0.577
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 +304 -0
- package/SERVICE_CHANGELOG.md +387 -113
- package/package.json +1 -1
- package/products.md +25 -24
- package/src/common/sdk_version.ts +1 -1
- package/src/services/billing/v20180709/billing_models.ts +10 -4
- package/src/services/bma/v20210624/bma_client.ts +4 -2
- package/src/services/cdb/v20170320/cdb_models.ts +5 -0
- package/src/services/cfs/v20190719/cfs_models.ts +2 -2
- package/src/services/cls/v20201016/cls_client.ts +3 -2
- package/src/services/cls/v20201016/cls_models.ts +75 -53
- package/src/services/cvm/v20170312/cvm_models.ts +2 -2
- package/src/services/cwp/v20180228/cwp_client.ts +1 -1
- package/src/services/cwp/v20180228/cwp_models.ts +59 -59
- package/src/services/dasb/v20191018/dasb_client.ts +124 -6
- package/src/services/dasb/v20191018/dasb_models.ts +1218 -104
- package/src/services/dbbrain/v20210527/dbbrain_client.ts +13 -0
- package/src/services/dbbrain/v20210527/dbbrain_models.ts +140 -0
- package/src/services/dlc/v20210125/dlc_models.ts +10 -0
- package/src/services/dnspod/v20210323/dnspod_models.ts +6 -0
- package/src/services/ess/v20201111/ess_client.ts +6 -4
- package/src/services/ess/v20201111/ess_models.ts +4 -4
- package/src/services/essbasic/v20210526/essbasic_client.ts +3 -2
- package/src/services/index.ts +1 -0
- package/src/services/lcic/v20220817/lcic_models.ts +17 -0
- package/src/services/mongodb/v20190725/mongodb_client.ts +18 -6
- package/src/services/mongodb/v20190725/mongodb_models.ts +158 -106
- package/src/services/monitor/v20180724/monitor_models.ts +4 -4
- package/src/services/tiw/v20190919/tiw_client.ts +134 -35
- package/src/services/tiw/v20190919/tiw_models.ts +433 -41
- package/src/services/trtc/v20190722/trtc_models.ts +5 -5
- package/src/services/vrs/index.ts +5 -0
- package/src/services/vrs/v20200824/index.ts +6 -0
- package/src/services/vrs/v20200824/vrs_client.ts +99 -0
- package/src/services/vrs/v20200824/vrs_models.ts +313 -0
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/billing/v20180709/billing_models.d.ts +9 -4
- package/tencentcloud/services/bma/v20210624/bma_client.d.ts +3 -1
- package/tencentcloud/services/bma/v20210624/bma_client.js +3 -1
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +4 -0
- package/tencentcloud/services/cfs/v20190719/cfs_models.d.ts +2 -2
- package/tencentcloud/services/cls/v20201016/cls_client.d.ts +1 -1
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +63 -44
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +2 -2
- package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +1 -1
- package/tencentcloud/services/cwp/v20180228/cwp_client.js +1 -1
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +59 -59
- package/tencentcloud/services/dasb/v20191018/dasb_client.d.ts +37 -1
- package/tencentcloud/services/dasb/v20191018/dasb_client.js +54 -0
- package/tencentcloud/services/dasb/v20191018/dasb_models.d.ts +1005 -85
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.d.ts +5 -1
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.js +6 -0
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +116 -0
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +8 -0
- package/tencentcloud/services/dnspod/v20210323/dnspod_models.d.ts +5 -0
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +6 -4
- package/tencentcloud/services/ess/v20201111/ess_client.js +6 -4
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +4 -4
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +3 -2
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +3 -2
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +14 -0
- package/tencentcloud/services/mongodb/v20190725/mongodb_client.d.ts +8 -4
- package/tencentcloud/services/mongodb/v20190725/mongodb_client.js +9 -3
- package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +139 -92
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +4 -4
- package/tencentcloud/services/tiw/v20190919/tiw_client.d.ts +44 -12
- package/tencentcloud/services/tiw/v20190919/tiw_client.js +63 -15
- package/tencentcloud/services/tiw/v20190919/tiw_models.d.ts +378 -39
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +5 -5
- package/tencentcloud/services/vrs/index.d.ts +6 -0
- package/tencentcloud/services/vrs/index.js +7 -0
- package/tencentcloud/services/vrs/v20200824/index.d.ts +6 -0
- package/tencentcloud/services/vrs/v20200824/index.js +9 -0
- package/tencentcloud/services/vrs/v20200824/vrs_client.d.ts +40 -0
- package/tencentcloud/services/vrs/v20200824/vrs_client.js +69 -0
- package/tencentcloud/services/vrs/v20200824/vrs_models.d.ts +257 -0
- package/tencentcloud/services/vrs/v20200824/vrs_models.js +18 -0
- package/test/dasb.v20191018.test.js +90 -0
- package/test/dbbrain.v20210527.test.js +10 -0
- package/test/mongodb.v20190725.test.js +10 -0
- package/test/tiw.v20190919.test.js +88 -8
- package/test/vrs.v20200824.test.js +61 -0
|
@@ -88,9 +88,9 @@ it("tiw.v20190919.DescribeRecordSearch", async function () {
|
|
|
88
88
|
}
|
|
89
89
|
})
|
|
90
90
|
|
|
91
|
-
it("tiw.v20190919.
|
|
91
|
+
it("tiw.v20190919.CreatePPTCheckTask", async function () {
|
|
92
92
|
try {
|
|
93
|
-
const data = await client.
|
|
93
|
+
const data = await client.CreatePPTCheckTask({})
|
|
94
94
|
expect(data).to.be.ok
|
|
95
95
|
} catch(error) {
|
|
96
96
|
expect(error.requestId).to.be.ok
|
|
@@ -128,6 +128,16 @@ it("tiw.v20190919.SetTranscodeCallback", async function () {
|
|
|
128
128
|
}
|
|
129
129
|
})
|
|
130
130
|
|
|
131
|
+
it("tiw.v20190919.StartOnlineRecord", async function () {
|
|
132
|
+
try {
|
|
133
|
+
const data = await client.StartOnlineRecord({})
|
|
134
|
+
expect(data).to.be.ok
|
|
135
|
+
} catch(error) {
|
|
136
|
+
expect(error.requestId).to.be.ok
|
|
137
|
+
expect(error.code).to.be.ok
|
|
138
|
+
}
|
|
139
|
+
})
|
|
140
|
+
|
|
131
141
|
it("tiw.v20190919.ResumeOnlineRecord", async function () {
|
|
132
142
|
try {
|
|
133
143
|
const data = await client.ResumeOnlineRecord({})
|
|
@@ -148,9 +158,19 @@ it("tiw.v20190919.ApplyTiwTrial", async function () {
|
|
|
148
158
|
}
|
|
149
159
|
})
|
|
150
160
|
|
|
151
|
-
it("tiw.v20190919.
|
|
161
|
+
it("tiw.v20190919.DescribePPTCheckCallback", async function () {
|
|
152
162
|
try {
|
|
153
|
-
const data = await client.
|
|
163
|
+
const data = await client.DescribePPTCheckCallback({})
|
|
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
|
+
|
|
171
|
+
it("tiw.v20190919.DescribeTIWRoomDailyUsage", async function () {
|
|
172
|
+
try {
|
|
173
|
+
const data = await client.DescribeTIWRoomDailyUsage({})
|
|
154
174
|
expect(data).to.be.ok
|
|
155
175
|
} catch(error) {
|
|
156
176
|
expect(error.requestId).to.be.ok
|
|
@@ -178,6 +198,16 @@ it("tiw.v20190919.SetOfflineRecordCallback", async function () {
|
|
|
178
198
|
}
|
|
179
199
|
})
|
|
180
200
|
|
|
201
|
+
it("tiw.v20190919.SetPPTCheckCallbackKey", async function () {
|
|
202
|
+
try {
|
|
203
|
+
const data = await client.SetPPTCheckCallbackKey({})
|
|
204
|
+
expect(data).to.be.ok
|
|
205
|
+
} catch(error) {
|
|
206
|
+
expect(error.requestId).to.be.ok
|
|
207
|
+
expect(error.code).to.be.ok
|
|
208
|
+
}
|
|
209
|
+
})
|
|
210
|
+
|
|
181
211
|
it("tiw.v20190919.CreateSnapshotTask", async function () {
|
|
182
212
|
try {
|
|
183
213
|
const data = await client.CreateSnapshotTask({})
|
|
@@ -188,6 +218,16 @@ it("tiw.v20190919.CreateSnapshotTask", async function () {
|
|
|
188
218
|
}
|
|
189
219
|
})
|
|
190
220
|
|
|
221
|
+
it("tiw.v20190919.SetPPTCheckCallback", async function () {
|
|
222
|
+
try {
|
|
223
|
+
const data = await client.SetPPTCheckCallback({})
|
|
224
|
+
expect(data).to.be.ok
|
|
225
|
+
} catch(error) {
|
|
226
|
+
expect(error.requestId).to.be.ok
|
|
227
|
+
expect(error.code).to.be.ok
|
|
228
|
+
}
|
|
229
|
+
})
|
|
230
|
+
|
|
191
231
|
it("tiw.v20190919.DescribeVideoGenerationTaskCallback", async function () {
|
|
192
232
|
try {
|
|
193
233
|
const data = await client.DescribeVideoGenerationTaskCallback({})
|
|
@@ -258,6 +298,16 @@ it("tiw.v20190919.DescribeTranscodeCallback", async function () {
|
|
|
258
298
|
}
|
|
259
299
|
})
|
|
260
300
|
|
|
301
|
+
it("tiw.v20190919.SetWarningCallback", async function () {
|
|
302
|
+
try {
|
|
303
|
+
const data = await client.SetWarningCallback({})
|
|
304
|
+
expect(data).to.be.ok
|
|
305
|
+
} catch(error) {
|
|
306
|
+
expect(error.requestId).to.be.ok
|
|
307
|
+
expect(error.code).to.be.ok
|
|
308
|
+
}
|
|
309
|
+
})
|
|
310
|
+
|
|
261
311
|
it("tiw.v20190919.DescribeAPIService", async function () {
|
|
262
312
|
try {
|
|
263
313
|
const data = await client.DescribeAPIService({})
|
|
@@ -288,9 +338,9 @@ it("tiw.v20190919.DescribeApplicationInfos", async function () {
|
|
|
288
338
|
}
|
|
289
339
|
})
|
|
290
340
|
|
|
291
|
-
it("tiw.v20190919.
|
|
341
|
+
it("tiw.v20190919.DescribeWarningCallback", async function () {
|
|
292
342
|
try {
|
|
293
|
-
const data = await client.
|
|
343
|
+
const data = await client.DescribeWarningCallback({})
|
|
294
344
|
expect(data).to.be.ok
|
|
295
345
|
} catch(error) {
|
|
296
346
|
expect(error.requestId).to.be.ok
|
|
@@ -298,9 +348,9 @@ it("tiw.v20190919.StartOnlineRecord", async function () {
|
|
|
298
348
|
}
|
|
299
349
|
})
|
|
300
350
|
|
|
301
|
-
it("tiw.v20190919.
|
|
351
|
+
it("tiw.v20190919.DescribePostpaidUsage", async function () {
|
|
302
352
|
try {
|
|
303
|
-
const data = await client.
|
|
353
|
+
const data = await client.DescribePostpaidUsage({})
|
|
304
354
|
expect(data).to.be.ok
|
|
305
355
|
} catch(error) {
|
|
306
356
|
expect(error.requestId).to.be.ok
|
|
@@ -358,6 +408,16 @@ it("tiw.v20190919.DescribeOfflineRecordCallback", async function () {
|
|
|
358
408
|
}
|
|
359
409
|
})
|
|
360
410
|
|
|
411
|
+
it("tiw.v20190919.CreateVideoGenerationTask", async function () {
|
|
412
|
+
try {
|
|
413
|
+
const data = await client.CreateVideoGenerationTask({})
|
|
414
|
+
expect(data).to.be.ok
|
|
415
|
+
} catch(error) {
|
|
416
|
+
expect(error.requestId).to.be.ok
|
|
417
|
+
expect(error.code).to.be.ok
|
|
418
|
+
}
|
|
419
|
+
})
|
|
420
|
+
|
|
361
421
|
it("tiw.v20190919.DescribeTranscode", async function () {
|
|
362
422
|
try {
|
|
363
423
|
const data = await client.DescribeTranscode({})
|
|
@@ -428,6 +488,16 @@ it("tiw.v20190919.CreateApplication", async function () {
|
|
|
428
488
|
}
|
|
429
489
|
})
|
|
430
490
|
|
|
491
|
+
it("tiw.v20190919.DescribeRunningTasks", async function () {
|
|
492
|
+
try {
|
|
493
|
+
const data = await client.DescribeRunningTasks({})
|
|
494
|
+
expect(data).to.be.ok
|
|
495
|
+
} catch(error) {
|
|
496
|
+
expect(error.requestId).to.be.ok
|
|
497
|
+
expect(error.code).to.be.ok
|
|
498
|
+
}
|
|
499
|
+
})
|
|
500
|
+
|
|
431
501
|
it("tiw.v20190919.DescribeTIWDailyUsage", async function () {
|
|
432
502
|
try {
|
|
433
503
|
const data = await client.DescribeTIWDailyUsage({})
|
|
@@ -548,6 +618,16 @@ it("tiw.v20190919.DescribeUserStatus", async function () {
|
|
|
548
618
|
}
|
|
549
619
|
})
|
|
550
620
|
|
|
621
|
+
it("tiw.v20190919.DescribePPTCheck", async function () {
|
|
622
|
+
try {
|
|
623
|
+
const data = await client.DescribePPTCheck({})
|
|
624
|
+
expect(data).to.be.ok
|
|
625
|
+
} catch(error) {
|
|
626
|
+
expect(error.requestId).to.be.ok
|
|
627
|
+
expect(error.code).to.be.ok
|
|
628
|
+
}
|
|
629
|
+
})
|
|
630
|
+
|
|
551
631
|
it("tiw.v20190919.DescribeSnapshotTask", async function () {
|
|
552
632
|
try {
|
|
553
633
|
const data = await client.DescribeSnapshotTask({})
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
|
|
2
|
+
const expect = require("chai").expect
|
|
3
|
+
const tencentcloud = require("../../tencentcloud-sdk-nodejs")
|
|
4
|
+
const client = new tencentcloud.vrs.v20200824.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("vrs.v20200824.test.js", function () {
|
|
20
|
+
|
|
21
|
+
it("vrs.v20200824.CreateVRSTask", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.CreateVRSTask({})
|
|
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
|
+
it("vrs.v20200824.GetTrainingText", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.GetTrainingText({})
|
|
34
|
+
expect(data).to.be.ok
|
|
35
|
+
} catch(error) {
|
|
36
|
+
expect(error.requestId).to.be.ok
|
|
37
|
+
expect(error.code).to.be.ok
|
|
38
|
+
}
|
|
39
|
+
})
|
|
40
|
+
|
|
41
|
+
it("vrs.v20200824.DetectEnvAndSoundQuality", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.DetectEnvAndSoundQuality({})
|
|
44
|
+
expect(data).to.be.ok
|
|
45
|
+
} catch(error) {
|
|
46
|
+
expect(error.requestId).to.be.ok
|
|
47
|
+
expect(error.code).to.be.ok
|
|
48
|
+
}
|
|
49
|
+
})
|
|
50
|
+
|
|
51
|
+
it("vrs.v20200824.DescribeVRSTaskStatus", async function () {
|
|
52
|
+
try {
|
|
53
|
+
const data = await client.DescribeVRSTaskStatus({})
|
|
54
|
+
expect(data).to.be.ok
|
|
55
|
+
} catch(error) {
|
|
56
|
+
expect(error.requestId).to.be.ok
|
|
57
|
+
expect(error.code).to.be.ok
|
|
58
|
+
}
|
|
59
|
+
})
|
|
60
|
+
|
|
61
|
+
})
|