tencentcloud-sdk-nodejs 4.0.637 → 4.0.639
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 +520 -0
- package/SERVICE_CHANGELOG.md +555 -98
- package/package.json +1 -1
- package/products.md +33 -32
- package/src/common/sdk_version.ts +1 -1
- package/src/services/apigateway/v20180808/apigateway_client.ts +4 -2
- package/src/services/as/v20180419/as_models.ts +2 -2
- package/src/services/cls/v20201016/cls_client.ts +62 -11
- package/src/services/cls/v20201016/cls_models.ts +335 -55
- package/src/services/cms/v20190321/cms_models.ts +13 -1
- package/src/services/cpdp/v20190820/cpdp_client.ts +1 -1
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +38 -38
- package/src/services/dnspod/v20210323/dnspod_client.ts +2 -0
- package/src/services/dnspod/v20210323/dnspod_models.ts +55 -0
- package/src/services/ecm/v20190719/ecm_client.ts +146 -27
- package/src/services/ecm/v20190719/ecm_models.ts +424 -90
- package/src/services/ess/v20201111/ess_client.ts +39 -10
- package/src/services/ess/v20201111/ess_models.ts +273 -84
- package/src/services/essbasic/v20210526/essbasic_client.ts +13 -1
- package/src/services/essbasic/v20210526/essbasic_models.ts +50 -4
- package/src/services/index.ts +1 -0
- package/src/services/lcic/v20220817/lcic_models.ts +14 -0
- package/src/services/lighthouse/v20200324/lighthouse_models.ts +3 -6
- package/src/services/soe/v20180724/soe_client.ts +1 -0
- package/src/services/soe/v20180724/soe_models.ts +35 -9
- package/src/services/sqlserver/v20180328/sqlserver_client.ts +4 -3
- package/src/services/sqlserver/v20180328/sqlserver_models.ts +12 -6
- package/src/services/tcb/v20180608/tcb_models.ts +25 -18
- package/src/services/tchd/index.ts +5 -0
- package/src/services/tchd/v20230306/index.ts +6 -0
- package/src/services/tchd/v20230306/tchd_client.ts +45 -0
- package/src/services/tchd/v20230306/tchd_models.ts +96 -0
- package/src/services/tdmq/v20200217/tdmq_client.ts +12 -0
- package/src/services/tdmq/v20200217/tdmq_models.ts +35 -5
- package/src/services/tke/v20180525/tke_models.ts +6 -6
- package/src/services/trp/v20210515/trp_models.ts +9 -1
- package/src/services/trtc/v20190722/trtc_client.ts +0 -17
- package/src/services/trtc/v20190722/trtc_models.ts +0 -104
- package/src/services/tse/v20201207/tse_client.ts +324 -55
- package/src/services/tse/v20201207/tse_models.ts +1931 -522
- package/src/services/tts/v20190823/tts_models.ts +4 -1
- package/src/services/vod/v20180717/vod_client.ts +2 -2
- package/src/services/vod/v20180717/vod_models.ts +2 -2
- package/src/services/wav/v20210129/wav_models.ts +4 -0
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/apigateway/v20180808/apigateway_client.d.ts +3 -1
- package/tencentcloud/services/apigateway/v20180808/apigateway_client.js +3 -1
- package/tencentcloud/services/as/v20180419/as_models.d.ts +2 -2
- package/tencentcloud/services/cls/v20201016/cls_client.d.ts +19 -3
- package/tencentcloud/services/cls/v20201016/cls_client.js +27 -3
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +324 -55
- package/tencentcloud/services/cms/v20190321/cms_models.d.ts +13 -1
- package/tencentcloud/services/cpdp/v20190820/cpdp_client.d.ts +1 -1
- package/tencentcloud/services/cpdp/v20190820/cpdp_client.js +1 -1
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +38 -38
- package/tencentcloud/services/dnspod/v20210323/dnspod_models.d.ts +53 -0
- package/tencentcloud/services/ecm/v20190719/ecm_client.d.ts +52 -7
- package/tencentcloud/services/ecm/v20190719/ecm_client.js +72 -9
- package/tencentcloud/services/ecm/v20190719/ecm_models.d.ts +404 -90
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +14 -3
- package/tencentcloud/services/ess/v20201111/ess_client.js +18 -3
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +267 -84
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +6 -2
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +7 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +48 -4
- 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/lighthouse/v20200324/lighthouse_models.d.ts +3 -6
- package/tencentcloud/services/soe/v20180724/soe_models.d.ts +34 -9
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_client.d.ts +3 -2
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_client.js +3 -2
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +12 -6
- package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +25 -18
- package/tencentcloud/services/tchd/index.d.ts +6 -0
- package/tencentcloud/services/tchd/index.js +7 -0
- package/tencentcloud/services/tchd/v20230306/index.d.ts +6 -0
- package/tencentcloud/services/tchd/v20230306/index.js +9 -0
- package/tencentcloud/services/tchd/v20230306/tchd_client.d.ts +14 -0
- package/tencentcloud/services/tchd/v20230306/tchd_client.js +37 -0
- package/tencentcloud/services/tchd/v20230306/tchd_models.d.ts +76 -0
- package/tencentcloud/services/tchd/v20230306/tchd_models.js +18 -0
- package/tencentcloud/services/tdmq/v20200217/tdmq_client.d.ts +5 -1
- package/tencentcloud/services/tdmq/v20200217/tdmq_client.js +6 -0
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +33 -5
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +6 -6
- package/tencentcloud/services/trp/v20210515/trp_models.d.ts +9 -1
- package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +1 -8
- package/tencentcloud/services/trtc/v20190722/trtc_client.js +0 -9
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +0 -100
- package/tencentcloud/services/tse/v20201207/tse_client.d.ts +95 -11
- package/tencentcloud/services/tse/v20201207/tse_client.js +141 -15
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +1863 -513
- package/tencentcloud/services/tts/v20190823/tts_models.d.ts +4 -1
- package/tencentcloud/services/vod/v20180717/vod_client.d.ts +2 -2
- package/tencentcloud/services/vod/v20180717/vod_client.js +2 -2
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +2 -2
- package/tencentcloud/services/wav/v20210129/wav_models.d.ts +4 -0
- package/test/cls.v20201016.test.js +42 -2
- package/test/ecm.v20190719.test.js +96 -6
- package/test/ess.v20201111.test.js +22 -2
- package/test/essbasic.v20210526.test.js +10 -0
- package/test/tchd.v20230306.test.js +31 -0
- package/test/tdmq.v20200217.test.js +10 -0
- package/test/trtc.v20190722.test.js +0 -10
- package/test/tse.v20201207.test.js +220 -10
|
@@ -205,7 +205,10 @@ export interface TextToVoiceRequest {
|
|
|
205
205
|
*/
|
|
206
206
|
PrimaryLanguage?: number;
|
|
207
207
|
/**
|
|
208
|
-
*
|
|
208
|
+
* 音频采样率:
|
|
209
|
+
<li>24000:24k(部分音色支持,请参见[音色列表](https://cloud.tencent.com/document/product/1073/92668))</li>
|
|
210
|
+
<li>16000:16k(默认)</li>
|
|
211
|
+
<li>8000:8k</li>
|
|
209
212
|
*/
|
|
210
213
|
SampleRate?: number;
|
|
211
214
|
/**
|
|
@@ -310,7 +310,7 @@ export declare class Client extends AbstractClient {
|
|
|
310
310
|
*/
|
|
311
311
|
DescribeMediaInfos(req: DescribeMediaInfosRequest, cb?: (error: string, rep: DescribeMediaInfosResponse) => void): Promise<DescribeMediaInfosResponse>;
|
|
312
312
|
/**
|
|
313
|
-
*
|
|
313
|
+
* 删除视频重生模板。
|
|
314
314
|
*/
|
|
315
315
|
DeleteRebuildMediaTemplate(req: DeleteRebuildMediaTemplateRequest, cb?: (error: string, rep: DeleteRebuildMediaTemplateResponse) => void): Promise<DeleteRebuildMediaTemplateResponse>;
|
|
316
316
|
/**
|
|
@@ -449,7 +449,7 @@ export declare class Client extends AbstractClient {
|
|
|
449
449
|
*/
|
|
450
450
|
CreateEnhanceMediaTemplate(req: CreateEnhanceMediaTemplateRequest, cb?: (error: string, rep: CreateEnhanceMediaTemplateResponse) => void): Promise<CreateEnhanceMediaTemplateResponse>;
|
|
451
451
|
/**
|
|
452
|
-
*
|
|
452
|
+
* 创建视频重生模板。
|
|
453
453
|
*/
|
|
454
454
|
CreateRebuildMediaTemplate(req: CreateRebuildMediaTemplateRequest, cb?: (error: string, rep: CreateRebuildMediaTemplateResponse) => void): Promise<CreateRebuildMediaTemplateResponse>;
|
|
455
455
|
/**
|
|
@@ -436,7 +436,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
436
436
|
return this.request("DescribeMediaInfos", req, cb);
|
|
437
437
|
}
|
|
438
438
|
/**
|
|
439
|
-
*
|
|
439
|
+
* 删除视频重生模板。
|
|
440
440
|
*/
|
|
441
441
|
async DeleteRebuildMediaTemplate(req, cb) {
|
|
442
442
|
return this.request("DeleteRebuildMediaTemplate", req, cb);
|
|
@@ -613,7 +613,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
613
613
|
return this.request("CreateEnhanceMediaTemplate", req, cb);
|
|
614
614
|
}
|
|
615
615
|
/**
|
|
616
|
-
*
|
|
616
|
+
* 创建视频重生模板。
|
|
617
617
|
*/
|
|
618
618
|
async CreateRebuildMediaTemplate(req, cb) {
|
|
619
619
|
return this.request("CreateRebuildMediaTemplate", req, cb);
|
|
@@ -3189,7 +3189,7 @@ export interface AiAnalysisTaskHighlightResult {
|
|
|
3189
3189
|
*/
|
|
3190
3190
|
export interface CreateRebuildMediaTemplateResponse {
|
|
3191
3191
|
/**
|
|
3192
|
-
*
|
|
3192
|
+
* 视频重生模板 ID。
|
|
3193
3193
|
*/
|
|
3194
3194
|
Definition?: number;
|
|
3195
3195
|
/**
|
|
@@ -7958,7 +7958,7 @@ export interface DeleteRebuildMediaTemplateResponse {
|
|
|
7958
7958
|
*/
|
|
7959
7959
|
export interface DeleteRebuildMediaTemplateRequest {
|
|
7960
7960
|
/**
|
|
7961
|
-
*
|
|
7961
|
+
* 视频重生模板号。
|
|
7962
7962
|
*/
|
|
7963
7963
|
Definition: number;
|
|
7964
7964
|
/**
|
|
@@ -318,6 +318,16 @@ it("cls.v20201016.DeleteConfigFromMachineGroup", async function () {
|
|
|
318
318
|
}
|
|
319
319
|
})
|
|
320
320
|
|
|
321
|
+
it("cls.v20201016.DeleteDataTransform", async function () {
|
|
322
|
+
try {
|
|
323
|
+
const data = await client.DeleteDataTransform({})
|
|
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
|
+
|
|
321
331
|
it("cls.v20201016.DeleteConfigExtra", async function () {
|
|
322
332
|
try {
|
|
323
333
|
const data = await client.DeleteConfigExtra({})
|
|
@@ -338,9 +348,9 @@ it("cls.v20201016.DescribeKafkaRecharges", async function () {
|
|
|
338
348
|
}
|
|
339
349
|
})
|
|
340
350
|
|
|
341
|
-
it("cls.v20201016.
|
|
351
|
+
it("cls.v20201016.CreateDataTransform", async function () {
|
|
342
352
|
try {
|
|
343
|
-
const data = await client.
|
|
353
|
+
const data = await client.CreateDataTransform({})
|
|
344
354
|
expect(data).to.be.ok
|
|
345
355
|
} catch(error) {
|
|
346
356
|
expect(error.requestId).to.be.ok
|
|
@@ -358,6 +368,16 @@ it("cls.v20201016.AddMachineGroupInfo", async function () {
|
|
|
358
368
|
}
|
|
359
369
|
})
|
|
360
370
|
|
|
371
|
+
it("cls.v20201016.DescribeDataTransformInfo", async function () {
|
|
372
|
+
try {
|
|
373
|
+
const data = await client.DescribeDataTransformInfo({})
|
|
374
|
+
expect(data).to.be.ok
|
|
375
|
+
} catch(error) {
|
|
376
|
+
expect(error.requestId).to.be.ok
|
|
377
|
+
expect(error.code).to.be.ok
|
|
378
|
+
}
|
|
379
|
+
})
|
|
380
|
+
|
|
361
381
|
it("cls.v20201016.DescribeAlarmNotices", async function () {
|
|
362
382
|
try {
|
|
363
383
|
const data = await client.DescribeAlarmNotices({})
|
|
@@ -558,6 +578,16 @@ it("cls.v20201016.DeleteIndex", async function () {
|
|
|
558
578
|
}
|
|
559
579
|
})
|
|
560
580
|
|
|
581
|
+
it("cls.v20201016.ModifyDataTransform", async function () {
|
|
582
|
+
try {
|
|
583
|
+
const data = await client.ModifyDataTransform({})
|
|
584
|
+
expect(data).to.be.ok
|
|
585
|
+
} catch(error) {
|
|
586
|
+
expect(error.requestId).to.be.ok
|
|
587
|
+
expect(error.code).to.be.ok
|
|
588
|
+
}
|
|
589
|
+
})
|
|
590
|
+
|
|
561
591
|
it("cls.v20201016.ModifyShipper", async function () {
|
|
562
592
|
try {
|
|
563
593
|
const data = await client.ModifyShipper({})
|
|
@@ -738,4 +768,14 @@ it("cls.v20201016.CloseKafkaConsumer", async function () {
|
|
|
738
768
|
}
|
|
739
769
|
})
|
|
740
770
|
|
|
771
|
+
it("cls.v20201016.DescribeAlarms", async function () {
|
|
772
|
+
try {
|
|
773
|
+
const data = await client.DescribeAlarms({})
|
|
774
|
+
expect(data).to.be.ok
|
|
775
|
+
} catch(error) {
|
|
776
|
+
expect(error.requestId).to.be.ok
|
|
777
|
+
expect(error.code).to.be.ok
|
|
778
|
+
}
|
|
779
|
+
})
|
|
780
|
+
|
|
741
781
|
})
|
|
@@ -108,6 +108,16 @@ it("ecm.v20190719.ResetRoutes", async function () {
|
|
|
108
108
|
}
|
|
109
109
|
})
|
|
110
110
|
|
|
111
|
+
it("ecm.v20190719.AssignIpv6CidrBlocks", async function () {
|
|
112
|
+
try {
|
|
113
|
+
const data = await client.AssignIpv6CidrBlocks({})
|
|
114
|
+
expect(data).to.be.ok
|
|
115
|
+
} catch(error) {
|
|
116
|
+
expect(error.requestId).to.be.ok
|
|
117
|
+
expect(error.code).to.be.ok
|
|
118
|
+
}
|
|
119
|
+
})
|
|
120
|
+
|
|
111
121
|
it("ecm.v20190719.ModifyPrivateIpAddressesAttribute", async function () {
|
|
112
122
|
try {
|
|
113
123
|
const data = await client.ModifyPrivateIpAddressesAttribute({})
|
|
@@ -128,9 +138,9 @@ it("ecm.v20190719.RunInstances", async function () {
|
|
|
128
138
|
}
|
|
129
139
|
})
|
|
130
140
|
|
|
131
|
-
it("ecm.v20190719.
|
|
141
|
+
it("ecm.v20190719.AssignPrivateIpAddresses", async function () {
|
|
132
142
|
try {
|
|
133
|
-
const data = await client.
|
|
143
|
+
const data = await client.AssignPrivateIpAddresses({})
|
|
134
144
|
expect(data).to.be.ok
|
|
135
145
|
} catch(error) {
|
|
136
146
|
expect(error.requestId).to.be.ok
|
|
@@ -198,9 +208,9 @@ it("ecm.v20190719.DescribeCustomImageTask", async function () {
|
|
|
198
208
|
}
|
|
199
209
|
})
|
|
200
210
|
|
|
201
|
-
it("ecm.v20190719.
|
|
211
|
+
it("ecm.v20190719.AssignIpv6CidrBlock", async function () {
|
|
202
212
|
try {
|
|
203
|
-
const data = await client.
|
|
213
|
+
const data = await client.AssignIpv6CidrBlock({})
|
|
204
214
|
expect(data).to.be.ok
|
|
205
215
|
} catch(error) {
|
|
206
216
|
expect(error.requestId).to.be.ok
|
|
@@ -378,6 +388,16 @@ it("ecm.v20190719.AttachDisks", async function () {
|
|
|
378
388
|
}
|
|
379
389
|
})
|
|
380
390
|
|
|
391
|
+
it("ecm.v20190719.AssignIpv6SubnetCidrBlock", async function () {
|
|
392
|
+
try {
|
|
393
|
+
const data = await client.AssignIpv6SubnetCidrBlock({})
|
|
394
|
+
expect(data).to.be.ok
|
|
395
|
+
} catch(error) {
|
|
396
|
+
expect(error.requestId).to.be.ok
|
|
397
|
+
expect(error.code).to.be.ok
|
|
398
|
+
}
|
|
399
|
+
})
|
|
400
|
+
|
|
381
401
|
it("ecm.v20190719.SetLoadBalancerSecurityGroups", async function () {
|
|
382
402
|
try {
|
|
383
403
|
const data = await client.SetLoadBalancerSecurityGroups({})
|
|
@@ -448,6 +468,26 @@ it("ecm.v20190719.DeleteSubnet", async function () {
|
|
|
448
468
|
}
|
|
449
469
|
})
|
|
450
470
|
|
|
471
|
+
it("ecm.v20190719.ModifyIpv6AddressesBandwidth", async function () {
|
|
472
|
+
try {
|
|
473
|
+
const data = await client.ModifyIpv6AddressesBandwidth({})
|
|
474
|
+
expect(data).to.be.ok
|
|
475
|
+
} catch(error) {
|
|
476
|
+
expect(error.requestId).to.be.ok
|
|
477
|
+
expect(error.code).to.be.ok
|
|
478
|
+
}
|
|
479
|
+
})
|
|
480
|
+
|
|
481
|
+
it("ecm.v20190719.AllocateIpv6AddressesBandwidth", async function () {
|
|
482
|
+
try {
|
|
483
|
+
const data = await client.AllocateIpv6AddressesBandwidth({})
|
|
484
|
+
expect(data).to.be.ok
|
|
485
|
+
} catch(error) {
|
|
486
|
+
expect(error.requestId).to.be.ok
|
|
487
|
+
expect(error.code).to.be.ok
|
|
488
|
+
}
|
|
489
|
+
})
|
|
490
|
+
|
|
451
491
|
it("ecm.v20190719.BatchRegisterTargets", async function () {
|
|
452
492
|
try {
|
|
453
493
|
const data = await client.BatchRegisterTargets({})
|
|
@@ -598,6 +638,16 @@ it("ecm.v20190719.ReplaceRoutes", async function () {
|
|
|
598
638
|
}
|
|
599
639
|
})
|
|
600
640
|
|
|
641
|
+
it("ecm.v20190719.UnassignIpv6SubnetCidrBlock", async function () {
|
|
642
|
+
try {
|
|
643
|
+
const data = await client.UnassignIpv6SubnetCidrBlock({})
|
|
644
|
+
expect(data).to.be.ok
|
|
645
|
+
} catch(error) {
|
|
646
|
+
expect(error.requestId).to.be.ok
|
|
647
|
+
expect(error.code).to.be.ok
|
|
648
|
+
}
|
|
649
|
+
})
|
|
650
|
+
|
|
601
651
|
it("ecm.v20190719.DescribeRouteConflicts", async function () {
|
|
602
652
|
try {
|
|
603
653
|
const data = await client.DescribeRouteConflicts({})
|
|
@@ -628,6 +678,16 @@ it("ecm.v20190719.DisableRoutes", async function () {
|
|
|
628
678
|
}
|
|
629
679
|
})
|
|
630
680
|
|
|
681
|
+
it("ecm.v20190719.ReplaceRouteTableAssociation", async function () {
|
|
682
|
+
try {
|
|
683
|
+
const data = await client.ReplaceRouteTableAssociation({})
|
|
684
|
+
expect(data).to.be.ok
|
|
685
|
+
} catch(error) {
|
|
686
|
+
expect(error.requestId).to.be.ok
|
|
687
|
+
expect(error.code).to.be.ok
|
|
688
|
+
}
|
|
689
|
+
})
|
|
690
|
+
|
|
631
691
|
it("ecm.v20190719.DescribePriceRunInstance", async function () {
|
|
632
692
|
try {
|
|
633
693
|
const data = await client.DescribePriceRunInstance({})
|
|
@@ -678,6 +738,16 @@ it("ecm.v20190719.DeleteSecurityGroupPolicies", async function () {
|
|
|
678
738
|
}
|
|
679
739
|
})
|
|
680
740
|
|
|
741
|
+
it("ecm.v20190719.DescribeRegionIpv6Addresses", async function () {
|
|
742
|
+
try {
|
|
743
|
+
const data = await client.DescribeRegionIpv6Addresses({})
|
|
744
|
+
expect(data).to.be.ok
|
|
745
|
+
} catch(error) {
|
|
746
|
+
expect(error.requestId).to.be.ok
|
|
747
|
+
expect(error.code).to.be.ok
|
|
748
|
+
}
|
|
749
|
+
})
|
|
750
|
+
|
|
681
751
|
it("ecm.v20190719.CreateKeyPair", async function () {
|
|
682
752
|
try {
|
|
683
753
|
const data = await client.CreateKeyPair({})
|
|
@@ -988,9 +1058,9 @@ it("ecm.v20190719.DescribeHaVips", async function () {
|
|
|
988
1058
|
}
|
|
989
1059
|
})
|
|
990
1060
|
|
|
991
|
-
it("ecm.v20190719.
|
|
1061
|
+
it("ecm.v20190719.ImportImage", async function () {
|
|
992
1062
|
try {
|
|
993
|
-
const data = await client.
|
|
1063
|
+
const data = await client.ImportImage({})
|
|
994
1064
|
expect(data).to.be.ok
|
|
995
1065
|
} catch(error) {
|
|
996
1066
|
expect(error.requestId).to.be.ok
|
|
@@ -1008,6 +1078,16 @@ it("ecm.v20190719.DeleteHaVip", async function () {
|
|
|
1008
1078
|
}
|
|
1009
1079
|
})
|
|
1010
1080
|
|
|
1081
|
+
it("ecm.v20190719.QueryVpcTaskResult", async function () {
|
|
1082
|
+
try {
|
|
1083
|
+
const data = await client.QueryVpcTaskResult({})
|
|
1084
|
+
expect(data).to.be.ok
|
|
1085
|
+
} catch(error) {
|
|
1086
|
+
expect(error.requestId).to.be.ok
|
|
1087
|
+
expect(error.code).to.be.ok
|
|
1088
|
+
}
|
|
1089
|
+
})
|
|
1090
|
+
|
|
1011
1091
|
it("ecm.v20190719.DescribeAddressQuota", async function () {
|
|
1012
1092
|
try {
|
|
1013
1093
|
const data = await client.DescribeAddressQuota({})
|
|
@@ -1108,6 +1188,16 @@ it("ecm.v20190719.CreateModule", async function () {
|
|
|
1108
1188
|
}
|
|
1109
1189
|
})
|
|
1110
1190
|
|
|
1191
|
+
it("ecm.v20190719.ReleaseIpv6AddressesBandwidth", async function () {
|
|
1192
|
+
try {
|
|
1193
|
+
const data = await client.ReleaseIpv6AddressesBandwidth({})
|
|
1194
|
+
expect(data).to.be.ok
|
|
1195
|
+
} catch(error) {
|
|
1196
|
+
expect(error.requestId).to.be.ok
|
|
1197
|
+
expect(error.code).to.be.ok
|
|
1198
|
+
}
|
|
1199
|
+
})
|
|
1200
|
+
|
|
1111
1201
|
it("ecm.v20190719.EnableRoutes", async function () {
|
|
1112
1202
|
try {
|
|
1113
1203
|
const data = await client.EnableRoutes({})
|
|
@@ -188,6 +188,16 @@ it("ess.v20201111.CreateFlowApprovers", async function () {
|
|
|
188
188
|
}
|
|
189
189
|
})
|
|
190
190
|
|
|
191
|
+
it("ess.v20201111.ModifyIntegrationDepartment", async function () {
|
|
192
|
+
try {
|
|
193
|
+
const data = await client.ModifyIntegrationDepartment({})
|
|
194
|
+
expect(data).to.be.ok
|
|
195
|
+
} catch(error) {
|
|
196
|
+
expect(error.requestId).to.be.ok
|
|
197
|
+
expect(error.code).to.be.ok
|
|
198
|
+
}
|
|
199
|
+
})
|
|
200
|
+
|
|
191
201
|
it("ess.v20201111.DisableUserAutoSign", async function () {
|
|
192
202
|
try {
|
|
193
203
|
const data = await client.DisableUserAutoSign({})
|
|
@@ -288,6 +298,16 @@ it("ess.v20201111.DescribeUserAutoSignStatus", async function () {
|
|
|
288
298
|
}
|
|
289
299
|
})
|
|
290
300
|
|
|
301
|
+
it("ess.v20201111.CreateFlowGroupByTemplates", async function () {
|
|
302
|
+
try {
|
|
303
|
+
const data = await client.CreateFlowGroupByTemplates({})
|
|
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
|
+
|
|
291
311
|
it("ess.v20201111.DescribeExtendedServiceAuthInfos", async function () {
|
|
292
312
|
try {
|
|
293
313
|
const data = await client.DescribeExtendedServiceAuthInfos({})
|
|
@@ -528,9 +548,9 @@ it("ess.v20201111.DescribeIntegrationDepartments", async function () {
|
|
|
528
548
|
}
|
|
529
549
|
})
|
|
530
550
|
|
|
531
|
-
it("ess.v20201111.
|
|
551
|
+
it("ess.v20201111.CreateFlowGroupByFiles", async function () {
|
|
532
552
|
try {
|
|
533
|
-
const data = await client.
|
|
553
|
+
const data = await client.CreateFlowGroupByFiles({})
|
|
534
554
|
expect(data).to.be.ok
|
|
535
555
|
} catch(error) {
|
|
536
556
|
expect(error.requestId).to.be.ok
|
|
@@ -388,6 +388,16 @@ it("essbasic.v20210526.SyncProxyOrganization", async function () {
|
|
|
388
388
|
}
|
|
389
389
|
})
|
|
390
390
|
|
|
391
|
+
it("essbasic.v20210526.ChannelCreateFlowGroupByTemplates", async function () {
|
|
392
|
+
try {
|
|
393
|
+
const data = await client.ChannelCreateFlowGroupByTemplates({})
|
|
394
|
+
expect(data).to.be.ok
|
|
395
|
+
} catch(error) {
|
|
396
|
+
expect(error.requestId).to.be.ok
|
|
397
|
+
expect(error.code).to.be.ok
|
|
398
|
+
}
|
|
399
|
+
})
|
|
400
|
+
|
|
391
401
|
it("essbasic.v20210526.SyncProxyOrganizationOperators", async function () {
|
|
392
402
|
try {
|
|
393
403
|
const data = await client.SyncProxyOrganizationOperators({})
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
|
|
2
|
+
const expect = require("chai").expect
|
|
3
|
+
const tencentcloud = require("../../tencentcloud-sdk-nodejs")
|
|
4
|
+
const client = new tencentcloud.tchd.v20230306.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("tchd.v20230306.test.js", function () {
|
|
20
|
+
|
|
21
|
+
it("tchd.v20230306.DescribeEvents", async function () {
|
|
22
|
+
try {
|
|
23
|
+
const data = await client.DescribeEvents({})
|
|
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
|
+
})
|
|
@@ -1078,6 +1078,16 @@ it("tdmq.v20200217.DescribePulsarProInstances", async function () {
|
|
|
1078
1078
|
}
|
|
1079
1079
|
})
|
|
1080
1080
|
|
|
1081
|
+
it("tdmq.v20200217.DeleteRabbitMQVipInstance", async function () {
|
|
1082
|
+
try {
|
|
1083
|
+
const data = await client.DeleteRabbitMQVipInstance({})
|
|
1084
|
+
expect(data).to.be.ok
|
|
1085
|
+
} catch(error) {
|
|
1086
|
+
expect(error.requestId).to.be.ok
|
|
1087
|
+
expect(error.code).to.be.ok
|
|
1088
|
+
}
|
|
1089
|
+
})
|
|
1090
|
+
|
|
1081
1091
|
it("tdmq.v20200217.DescribeAMQPQueues", async function () {
|
|
1082
1092
|
try {
|
|
1083
1093
|
const data = await client.DescribeAMQPQueues({})
|
|
@@ -178,16 +178,6 @@ it("trtc.v20190722.CreateCloudRecording", async function () {
|
|
|
178
178
|
}
|
|
179
179
|
})
|
|
180
180
|
|
|
181
|
-
it("trtc.v20190722.DescribeExternalTrtcMeasure", async function () {
|
|
182
|
-
try {
|
|
183
|
-
const data = await client.DescribeExternalTrtcMeasure({})
|
|
184
|
-
expect(data).to.be.ok
|
|
185
|
-
} catch(error) {
|
|
186
|
-
expect(error.requestId).to.be.ok
|
|
187
|
-
expect(error.code).to.be.ok
|
|
188
|
-
}
|
|
189
|
-
})
|
|
190
|
-
|
|
191
181
|
it("trtc.v20190722.DescribeScaleInfo", async function () {
|
|
192
182
|
try {
|
|
193
183
|
const data = await client.DescribeScaleInfo({})
|