tencentcloud-sdk-nodejs 4.0.575 → 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 +577 -0
- package/SERVICE_CHANGELOG.md +654 -124
- package/package.json +1 -1
- package/products.md +34 -32
- 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 +9 -4
- package/src/services/cfs/v20190719/cfs_models.ts +2 -2
- package/src/services/ckafka/v20190819/ckafka_models.ts +6 -0
- package/src/services/clb/v20180317/clb_models.ts +16 -0
- package/src/services/cls/v20201016/cls_client.ts +3 -2
- package/src/services/cls/v20201016/cls_models.ts +86 -42
- package/src/services/cvm/v20170312/cvm_models.ts +2 -2
- package/src/services/cwp/v20180228/cwp_client.ts +14 -1
- package/src/services/cwp/v20180228/cwp_models.ts +308 -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 +25 -0
- package/src/services/dbbrain/v20210527/dbbrain_models.ts +178 -2
- package/src/services/dlc/v20210125/dlc_models.ts +10 -0
- package/src/services/dnspod/v20210323/dnspod_models.ts +6 -0
- package/src/services/emr/v20190103/emr_client.ts +28 -1
- package/src/services/emr/v20190103/emr_models.ts +134 -5
- package/src/services/ess/v20201111/ess_client.ts +7 -5
- package/src/services/ess/v20201111/ess_models.ts +5 -5
- package/src/services/essbasic/v20210526/essbasic_client.ts +4 -3
- package/src/services/gaap/v20180529/gaap_models.ts +1 -1
- package/src/services/index.ts +2 -0
- package/src/services/lcic/v20220817/lcic_client.ts +14 -1
- package/src/services/lcic/v20220817/lcic_models.ts +147 -6
- package/src/services/mongodb/v20190725/mongodb_client.ts +21 -9
- package/src/services/mongodb/v20190725/mongodb_models.ts +171 -118
- package/src/services/monitor/v20180724/monitor_client.ts +1 -0
- package/src/services/monitor/v20180724/monitor_models.ts +63 -4
- package/src/services/ocr/v20181119/ocr_client.ts +25 -6
- package/src/services/ocr/v20181119/ocr_models.ts +282 -159
- package/src/services/rum/v20210622/rum_models.ts +10 -5
- package/src/services/teo/v20220901/teo_models.ts +18 -10
- package/src/services/tiw/v20190919/tiw_client.ts +134 -35
- package/src/services/tiw/v20190919/tiw_models.ts +433 -41
- package/src/services/tke/v20180525/tke_models.ts +5 -5
- package/src/services/tourism/index.ts +5 -0
- package/src/services/tourism/v20230215/index.ts +6 -0
- package/src/services/tourism/v20230215/tourism_client.ts +44 -0
- package/src/services/tourism/v20230215/tourism_models.ts +128 -0
- package/src/services/trtc/v20190722/trtc_models.ts +7 -7
- 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 +8 -4
- package/tencentcloud/services/cfs/v20190719/cfs_models.d.ts +2 -2
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +5 -0
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +13 -0
- package/tencentcloud/services/cls/v20201016/cls_client.d.ts +1 -1
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +72 -35
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +2 -2
- package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +6 -2
- package/tencentcloud/services/cwp/v20180228/cwp_client.js +7 -1
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +263 -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 +9 -1
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.js +12 -0
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +149 -2
- 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/emr/v20190103/emr_client.d.ts +9 -1
- package/tencentcloud/services/emr/v20190103/emr_client.js +12 -0
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +117 -4
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +7 -5
- package/tencentcloud/services/ess/v20201111/ess_client.js +7 -5
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +5 -5
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +4 -3
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +4 -3
- package/tencentcloud/services/gaap/v20180529/gaap_models.d.ts +1 -1
- package/tencentcloud/services/index.d.ts +2 -0
- package/tencentcloud/services/index.js +4 -0
- package/tencentcloud/services/lcic/v20220817/lcic_client.d.ts +5 -1
- package/tencentcloud/services/lcic/v20220817/lcic_client.js +6 -0
- package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +124 -5
- package/tencentcloud/services/mongodb/v20190725/mongodb_client.d.ts +11 -7
- package/tencentcloud/services/mongodb/v20190725/mongodb_client.js +12 -6
- package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +151 -103
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +54 -4
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +7 -1
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +8 -0
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +245 -137
- package/tencentcloud/services/rum/v20210622/rum_models.d.ts +9 -5
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +18 -10
- 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/tke/v20180525/tke_models.d.ts +5 -5
- package/tencentcloud/services/tourism/index.d.ts +6 -0
- package/tencentcloud/services/tourism/index.js +7 -0
- package/tencentcloud/services/tourism/v20230215/index.d.ts +6 -0
- package/tencentcloud/services/tourism/v20230215/index.js +9 -0
- package/tencentcloud/services/tourism/v20230215/tourism_client.d.ts +14 -0
- package/tencentcloud/services/tourism/v20230215/tourism_client.js +37 -0
- package/tencentcloud/services/tourism/v20230215/tourism_models.d.ts +95 -0
- package/tencentcloud/services/tourism/v20230215/tourism_models.js +18 -0
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +7 -7
- 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/cwp.v20180228.test.js +10 -0
- package/test/dasb.v20191018.test.js +90 -0
- package/test/dbbrain.v20210527.test.js +20 -0
- package/test/emr.v20190103.test.js +20 -0
- package/test/lcic.v20220817.test.js +10 -0
- package/test/mongodb.v20190725.test.js +10 -0
- package/test/ocr.v20181119.test.js +10 -0
- package/test/tiw.v20190919.test.js +88 -8
- package/test/tourism.v20230215.test.js +31 -0
- package/test/vrs.v20200824.test.js +61 -0
|
@@ -38,6 +38,16 @@ it("dasb.v20191018.DescribeDeviceGroupMembers", async function () {
|
|
|
38
38
|
}
|
|
39
39
|
})
|
|
40
40
|
|
|
41
|
+
it("dasb.v20191018.DescribeLoginEvent", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.DescribeLoginEvent({})
|
|
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
|
+
|
|
41
51
|
it("dasb.v20191018.CreateDeviceGroup", async function () {
|
|
42
52
|
try {
|
|
43
53
|
const data = await client.CreateDeviceGroup({})
|
|
@@ -138,6 +148,26 @@ it("dasb.v20191018.BindDeviceAccountPassword", async function () {
|
|
|
138
148
|
}
|
|
139
149
|
})
|
|
140
150
|
|
|
151
|
+
it("dasb.v20191018.SearchFile", async function () {
|
|
152
|
+
try {
|
|
153
|
+
const data = await client.SearchFile({})
|
|
154
|
+
expect(data).to.be.ok
|
|
155
|
+
} catch(error) {
|
|
156
|
+
expect(error.requestId).to.be.ok
|
|
157
|
+
expect(error.code).to.be.ok
|
|
158
|
+
}
|
|
159
|
+
})
|
|
160
|
+
|
|
161
|
+
it("dasb.v20191018.SearchSession", async function () {
|
|
162
|
+
try {
|
|
163
|
+
const data = await client.SearchSession({})
|
|
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
|
+
|
|
141
171
|
it("dasb.v20191018.DeleteAcls", async function () {
|
|
142
172
|
try {
|
|
143
173
|
const data = await client.DeleteAcls({})
|
|
@@ -198,6 +228,16 @@ it("dasb.v20191018.ResetDeviceAccountPassword", async function () {
|
|
|
198
228
|
}
|
|
199
229
|
})
|
|
200
230
|
|
|
231
|
+
it("dasb.v20191018.SearchCommandBySid", async function () {
|
|
232
|
+
try {
|
|
233
|
+
const data = await client.SearchCommandBySid({})
|
|
234
|
+
expect(data).to.be.ok
|
|
235
|
+
} catch(error) {
|
|
236
|
+
expect(error.requestId).to.be.ok
|
|
237
|
+
expect(error.code).to.be.ok
|
|
238
|
+
}
|
|
239
|
+
})
|
|
240
|
+
|
|
201
241
|
it("dasb.v20191018.DeleteDeviceGroups", async function () {
|
|
202
242
|
try {
|
|
203
243
|
const data = await client.DeleteDeviceGroups({})
|
|
@@ -258,6 +298,16 @@ it("dasb.v20191018.CreateDeviceAccount", async function () {
|
|
|
258
298
|
}
|
|
259
299
|
})
|
|
260
300
|
|
|
301
|
+
it("dasb.v20191018.SearchAuditLog", async function () {
|
|
302
|
+
try {
|
|
303
|
+
const data = await client.SearchAuditLog({})
|
|
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("dasb.v20191018.DeleteDeviceGroupMembers", async function () {
|
|
262
312
|
try {
|
|
263
313
|
const data = await client.DeleteDeviceGroupMembers({})
|
|
@@ -268,6 +318,16 @@ it("dasb.v20191018.DeleteDeviceGroupMembers", async function () {
|
|
|
268
318
|
}
|
|
269
319
|
})
|
|
270
320
|
|
|
321
|
+
it("dasb.v20191018.DescribeOperationEvent", async function () {
|
|
322
|
+
try {
|
|
323
|
+
const data = await client.DescribeOperationEvent({})
|
|
324
|
+
expect(data).to.be.ok
|
|
325
|
+
} catch(error) {
|
|
326
|
+
expect(error.requestId).to.be.ok
|
|
327
|
+
expect(error.code).to.be.ok
|
|
328
|
+
}
|
|
329
|
+
})
|
|
330
|
+
|
|
271
331
|
it("dasb.v20191018.DeleteDeviceAccounts", async function () {
|
|
272
332
|
try {
|
|
273
333
|
const data = await client.DeleteDeviceAccounts({})
|
|
@@ -378,6 +438,16 @@ it("dasb.v20191018.DescribeUserGroupMembers", async function () {
|
|
|
378
438
|
}
|
|
379
439
|
})
|
|
380
440
|
|
|
441
|
+
it("dasb.v20191018.SearchFileBySid", async function () {
|
|
442
|
+
try {
|
|
443
|
+
const data = await client.SearchFileBySid({})
|
|
444
|
+
expect(data).to.be.ok
|
|
445
|
+
} catch(error) {
|
|
446
|
+
expect(error.requestId).to.be.ok
|
|
447
|
+
expect(error.code).to.be.ok
|
|
448
|
+
}
|
|
449
|
+
})
|
|
450
|
+
|
|
381
451
|
it("dasb.v20191018.ImportExternalDevice", async function () {
|
|
382
452
|
try {
|
|
383
453
|
const data = await client.ImportExternalDevice({})
|
|
@@ -438,4 +508,24 @@ it("dasb.v20191018.BindDeviceAccountPrivateKey", async function () {
|
|
|
438
508
|
}
|
|
439
509
|
})
|
|
440
510
|
|
|
511
|
+
it("dasb.v20191018.SearchCommand", async function () {
|
|
512
|
+
try {
|
|
513
|
+
const data = await client.SearchCommand({})
|
|
514
|
+
expect(data).to.be.ok
|
|
515
|
+
} catch(error) {
|
|
516
|
+
expect(error.requestId).to.be.ok
|
|
517
|
+
expect(error.code).to.be.ok
|
|
518
|
+
}
|
|
519
|
+
})
|
|
520
|
+
|
|
521
|
+
it("dasb.v20191018.SearchSessionCommand", async function () {
|
|
522
|
+
try {
|
|
523
|
+
const data = await client.SearchSessionCommand({})
|
|
524
|
+
expect(data).to.be.ok
|
|
525
|
+
} catch(error) {
|
|
526
|
+
expect(error.requestId).to.be.ok
|
|
527
|
+
expect(error.code).to.be.ok
|
|
528
|
+
}
|
|
529
|
+
})
|
|
530
|
+
|
|
441
531
|
})
|
|
@@ -28,6 +28,16 @@ it("dbbrain.v20210527.DescribeSecurityAuditLogDownloadUrls", async function () {
|
|
|
28
28
|
}
|
|
29
29
|
})
|
|
30
30
|
|
|
31
|
+
it("dbbrain.v20210527.DeleteDBDiagReportTasks", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.DeleteDBDiagReportTasks({})
|
|
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
|
+
|
|
31
41
|
it("dbbrain.v20210527.DescribeMailProfile", async function () {
|
|
32
42
|
try {
|
|
33
43
|
const data = await client.DescribeMailProfile({})
|
|
@@ -278,6 +288,16 @@ it("dbbrain.v20210527.DescribeRedisTopKeyPrefixList", async function () {
|
|
|
278
288
|
}
|
|
279
289
|
})
|
|
280
290
|
|
|
291
|
+
it("dbbrain.v20210527.DescribeSlowLogs", async function () {
|
|
292
|
+
try {
|
|
293
|
+
const data = await client.DescribeSlowLogs({})
|
|
294
|
+
expect(data).to.be.ok
|
|
295
|
+
} catch(error) {
|
|
296
|
+
expect(error.requestId).to.be.ok
|
|
297
|
+
expect(error.code).to.be.ok
|
|
298
|
+
}
|
|
299
|
+
})
|
|
300
|
+
|
|
281
301
|
it("dbbrain.v20210527.DescribeDBDiagEvent", async function () {
|
|
282
302
|
try {
|
|
283
303
|
const data = await client.DescribeDBDiagEvent({})
|
|
@@ -128,6 +128,16 @@ it("emr.v20190103.RunJobFlow", async function () {
|
|
|
128
128
|
}
|
|
129
129
|
})
|
|
130
130
|
|
|
131
|
+
it("emr.v20190103.TerminateClusterNodes", async function () {
|
|
132
|
+
try {
|
|
133
|
+
const data = await client.TerminateClusterNodes({})
|
|
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("emr.v20190103.DescribeUsersForUserManager", async function () {
|
|
132
142
|
try {
|
|
133
143
|
const data = await client.DescribeUsersForUserManager({})
|
|
@@ -238,6 +248,16 @@ it("emr.v20190103.ModifyResourceScheduleConfig", async function () {
|
|
|
238
248
|
}
|
|
239
249
|
})
|
|
240
250
|
|
|
251
|
+
it("emr.v20190103.StartStopServiceOrMonitor", async function () {
|
|
252
|
+
try {
|
|
253
|
+
const data = await client.StartStopServiceOrMonitor({})
|
|
254
|
+
expect(data).to.be.ok
|
|
255
|
+
} catch(error) {
|
|
256
|
+
expect(error.requestId).to.be.ok
|
|
257
|
+
expect(error.code).to.be.ok
|
|
258
|
+
}
|
|
259
|
+
})
|
|
260
|
+
|
|
241
261
|
it("emr.v20190103.TerminateTasks", async function () {
|
|
242
262
|
try {
|
|
243
263
|
const data = await client.TerminateTasks({})
|
|
@@ -438,6 +438,16 @@ it("lcic.v20220817.BatchDeleteRecord", async function () {
|
|
|
438
438
|
}
|
|
439
439
|
})
|
|
440
440
|
|
|
441
|
+
it("lcic.v20220817.GetRooms", async function () {
|
|
442
|
+
try {
|
|
443
|
+
const data = await client.GetRooms({})
|
|
444
|
+
expect(data).to.be.ok
|
|
445
|
+
} catch(error) {
|
|
446
|
+
expect(error.requestId).to.be.ok
|
|
447
|
+
expect(error.code).to.be.ok
|
|
448
|
+
}
|
|
449
|
+
})
|
|
450
|
+
|
|
441
451
|
it("lcic.v20220817.DeleteRoom", async function () {
|
|
442
452
|
try {
|
|
443
453
|
const data = await client.DeleteRoom({})
|
|
@@ -358,6 +358,16 @@ it("mongodb.v20190725.InquirePriceRenewDBInstances", async function () {
|
|
|
358
358
|
}
|
|
359
359
|
})
|
|
360
360
|
|
|
361
|
+
it("mongodb.v20190725.DeleteAccountUser", async function () {
|
|
362
|
+
try {
|
|
363
|
+
const data = await client.DeleteAccountUser({})
|
|
364
|
+
expect(data).to.be.ok
|
|
365
|
+
} catch(error) {
|
|
366
|
+
expect(error.requestId).to.be.ok
|
|
367
|
+
expect(error.code).to.be.ok
|
|
368
|
+
}
|
|
369
|
+
})
|
|
370
|
+
|
|
361
371
|
it("mongodb.v20190725.ModifyDBInstanceSecurityGroup", async function () {
|
|
362
372
|
try {
|
|
363
373
|
const data = await client.ModifyDBInstanceSecurityGroup({})
|
|
@@ -58,6 +58,16 @@ it("ocr.v20181119.QueryBarCode", async function () {
|
|
|
58
58
|
}
|
|
59
59
|
})
|
|
60
60
|
|
|
61
|
+
it("ocr.v20181119.SmartStructuralOCRV2", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.SmartStructuralOCRV2({})
|
|
64
|
+
expect(data).to.be.ok
|
|
65
|
+
} catch(error) {
|
|
66
|
+
expect(error.requestId).to.be.ok
|
|
67
|
+
expect(error.code).to.be.ok
|
|
68
|
+
}
|
|
69
|
+
})
|
|
70
|
+
|
|
61
71
|
it("ocr.v20181119.EnterpriseLicenseOCR", async function () {
|
|
62
72
|
try {
|
|
63
73
|
const data = await client.EnterpriseLicenseOCR({})
|
|
@@ -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,31 @@
|
|
|
1
|
+
|
|
2
|
+
const expect = require("chai").expect
|
|
3
|
+
const tencentcloud = require("../../tencentcloud-sdk-nodejs")
|
|
4
|
+
const client = new tencentcloud.tourism.v20230215.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("tourism.v20230215.test.js", function () {
|
|
20
|
+
|
|
21
|
+
it("tourism.v20230215.DescribeDrawResourceList", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.DescribeDrawResourceList({})
|
|
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
|
+
})
|
|
@@ -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
|
+
})
|