tencentcloud-sdk-nodejs 4.0.380 → 4.0.383
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 +501 -0
- package/SERVICE_CHANGELOG.md +477 -110
- package/package.json +1 -1
- package/products.md +28 -28
- package/src/common/sdk_version.ts +1 -1
- package/src/services/antiddos/v20200309/antiddos_models.ts +5 -0
- package/src/services/asr/v20190614/asr_models.ts +1 -1
- package/src/services/ckafka/v20190819/ckafka_client.ts +26 -1
- package/src/services/ckafka/v20190819/ckafka_models.ts +103 -6
- package/src/services/clb/v20180317/clb_models.ts +5 -0
- package/src/services/cls/v20201016/cls_models.ts +13 -1
- package/src/services/cwp/v20180228/cwp_models.ts +12 -0
- package/src/services/faceid/v20180301/faceid_client.ts +3 -16
- package/src/services/faceid/v20180301/faceid_models.ts +59 -103
- package/src/services/ims/v20201229/ims_models.ts +1 -1
- package/src/services/monitor/v20180724/monitor_models.ts +27 -12
- package/src/services/mps/v20190612/mps_client.ts +20 -1
- package/src/services/mps/v20190612/mps_models.ts +643 -29
- package/src/services/ocr/v20181119/ocr_client.ts +10 -6
- package/src/services/ocr/v20181119/ocr_models.ts +46 -6
- package/src/services/redis/v20180412/redis_models.ts +15 -0
- package/src/services/sqlserver/v20180328/sqlserver_client.ts +5 -3
- package/src/services/sqlserver/v20180328/sqlserver_models.ts +102 -27
- package/src/services/ssm/v20190923/ssm_models.ts +5 -0
- package/src/services/taf/v20200210/taf_models.ts +6 -6
- package/src/services/tan/v20220420/tan_models.ts +3 -3
- package/src/services/tcm/v20210413/tcm_client.ts +3 -0
- package/src/services/tcm/v20210413/tcm_models.ts +106 -2
- package/src/services/tcss/v20201101/tcss_models.ts +6 -1
- package/src/services/teo/v20220106/teo_models.ts +1 -1
- package/src/services/tiems/v20190416/tiems_client.ts +100 -50
- package/src/services/tione/v20211111/tione_models.ts +10 -0
- package/src/services/trtc/v20190722/trtc_client.ts +130 -142
- package/src/services/trtc/v20190722/trtc_models.ts +0 -63
- package/src/services/tse/v20201207/tse_models.ts +10 -0
- package/src/services/vod/v20180717/vod_client.ts +12 -7
- package/src/services/vod/v20180717/vod_models.ts +15 -5
- package/src/services/waf/v20180125/waf_client.ts +14 -2
- package/src/services/waf/v20180125/waf_models.ts +42 -27
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +4 -0
- package/tencentcloud/services/asr/v20190614/asr_models.d.ts +1 -1
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.d.ts +9 -1
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.js +12 -0
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +88 -5
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +4 -0
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +11 -1
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +10 -0
- package/tencentcloud/services/faceid/v20180301/faceid_client.d.ts +1 -6
- package/tencentcloud/services/faceid/v20180301/faceid_client.js +0 -7
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +50 -87
- package/tencentcloud/services/ims/v20201229/ims_models.d.ts +1 -1
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +22 -10
- package/tencentcloud/services/mps/v20190612/mps_client.d.ts +1 -1
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +565 -28
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +5 -2
- package/tencentcloud/services/ocr/v20181119/ocr_client.js +4 -1
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +39 -6
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +12 -0
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_client.d.ts +1 -1
- package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +88 -26
- package/tencentcloud/services/ssm/v20190923/ssm_models.d.ts +4 -0
- package/tencentcloud/services/taf/v20200210/taf_models.d.ts +6 -6
- package/tencentcloud/services/tan/v20220420/tan_models.d.ts +3 -3
- package/tencentcloud/services/tcm/v20210413/tcm_models.d.ts +91 -2
- package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +6 -1
- package/tencentcloud/services/teo/v20220106/teo_models.d.ts +1 -1
- package/tencentcloud/services/tiems/v20190416/tiems_client.d.ts +75 -25
- package/tencentcloud/services/tiems/v20190416/tiems_client.js +75 -25
- package/tencentcloud/services/tione/v20211111/tione_models.d.ts +8 -0
- package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +55 -59
- package/tencentcloud/services/trtc/v20190722/trtc_client.js +75 -81
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +0 -54
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +8 -0
- package/tencentcloud/services/vod/v20180717/vod_client.d.ts +12 -7
- package/tencentcloud/services/vod/v20180717/vod_client.js +10 -5
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +13 -5
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +5 -1
- package/tencentcloud/services/waf/v20180125/waf_client.js +6 -0
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +37 -24
- package/test/ckafka.v20190819.test.js +20 -0
- package/test/faceid.v20180301.test.js +0 -10
- package/test/trtc.v20190722.test.js +38 -48
- package/test/waf.v20180125.test.js +10 -0
|
@@ -11791,7 +11791,7 @@ export interface SubAppIdInfo {
|
|
|
11791
11791
|
/**
|
|
11792
11792
|
* 子应用名称。
|
|
11793
11793
|
*/
|
|
11794
|
-
|
|
11794
|
+
SubAppIdName: string;
|
|
11795
11795
|
/**
|
|
11796
11796
|
* 子应用简介。
|
|
11797
11797
|
*/
|
|
@@ -11808,6 +11808,10 @@ export interface SubAppIdInfo {
|
|
|
11808
11808
|
<li>Destroyed:销毁完成。</li>
|
|
11809
11809
|
*/
|
|
11810
11810
|
Status: string;
|
|
11811
|
+
/**
|
|
11812
|
+
* 子应用名称(该字段已不推荐使用,建议使用新的子应用名称字段 SubAppIdName)。
|
|
11813
|
+
*/
|
|
11814
|
+
Name: string;
|
|
11811
11815
|
}
|
|
11812
11816
|
/**
|
|
11813
11817
|
* DescribeAllClass返回参数结构体
|
|
@@ -13565,7 +13569,7 @@ export interface SnapshotByTimeOffsetTask2017 {
|
|
|
13565
13569
|
*/
|
|
13566
13570
|
export interface MediaClassInfo {
|
|
13567
13571
|
/**
|
|
13568
|
-
* 分类 ID
|
|
13572
|
+
* 分类 ID。
|
|
13569
13573
|
*/
|
|
13570
13574
|
ClassId: number;
|
|
13571
13575
|
/**
|
|
@@ -13573,17 +13577,21 @@ export interface MediaClassInfo {
|
|
|
13573
13577
|
*/
|
|
13574
13578
|
ParentId: number;
|
|
13575
13579
|
/**
|
|
13576
|
-
*
|
|
13580
|
+
* 分类名称。
|
|
13577
13581
|
*/
|
|
13578
|
-
|
|
13582
|
+
Name: string;
|
|
13579
13583
|
/**
|
|
13580
13584
|
* 分类级别,一级分类为 0,最大值为 3,即最多允许 4 级分类层次。
|
|
13581
13585
|
*/
|
|
13582
13586
|
Level: number;
|
|
13583
13587
|
/**
|
|
13584
|
-
* 当前分类的第一级子类 ID
|
|
13588
|
+
* 当前分类的第一级子类 ID 集合。
|
|
13585
13589
|
*/
|
|
13586
13590
|
SubClassIdSet: Array<number>;
|
|
13591
|
+
/**
|
|
13592
|
+
* 分类名称(该字段已不推荐使用,建议使用新的分类名称字段 Name)。
|
|
13593
|
+
*/
|
|
13594
|
+
ClassName: string;
|
|
13587
13595
|
}
|
|
13588
13596
|
/**
|
|
13589
13597
|
* DescribeTranscodeTemplates返回参数结构体
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { CreateAccessExportRequest, DescribeWafAutoDenyRulesResponse, DescribeIpHitItemsResponse, DescribeUserClbWafRegionsResponse, DeleteAttackDownloadRecordResponse, DescribeFlowTrendRequest, DescribeWafAutoDenyStatusRequest, AddDomainWhiteRuleResponse, DescribeIpAccessControlResponse, DescribeInstancesResponse, ModifyWafAutoDenyRulesRequest, DescribeAccessIndexRequest, DeleteSessionRequest, DescribeWafAutoDenyRulesRequest, AddCustomRuleResponse, DescribeFlowTrendResponse, UpsertIpAccessControlRequest, DeleteDownloadRecordRequest, DeleteAccessExportResponse, DescribeAccessExportsRequest, ModifyWafAutoDenyStatusRequest, ModifyAccessPeriodResponse,
|
|
3
|
+
import { CreateAccessExportRequest, DescribeWafAutoDenyRulesResponse, DescribeIpHitItemsResponse, DescribeUserClbWafRegionsResponse, DeleteAttackDownloadRecordResponse, DescribeFlowTrendRequest, DescribeWafAutoDenyStatusRequest, AddDomainWhiteRuleResponse, DescribeIpAccessControlResponse, DescribeInstancesResponse, ModifyWafAutoDenyRulesRequest, DescribeAccessIndexRequest, DeleteSessionRequest, DescribeWafAutoDenyRulesRequest, AddCustomRuleResponse, DescribeFlowTrendResponse, GetAttackDownloadRecordsRequest, UpsertIpAccessControlRequest, DeleteDownloadRecordRequest, DeleteAccessExportResponse, DescribeAccessExportsRequest, ModifyWafAutoDenyStatusRequest, ModifyAccessPeriodResponse, DescribeAutoDenyIPResponse, SearchAccessLogResponse, DescribeAutoDenyIPRequest, DescribeIpAccessControlRequest, AddSpartaProtectionRequest, DescribeAccessFastAnalysisRequest, DeleteIpAccessControlRequest, DeleteDomainWhiteRulesResponse, CreateAttackDownloadTaskRequest, DescribeWafAutoDenyStatusResponse, DeleteDomainWhiteRulesRequest, ModifyCustomRuleStatusResponse, AddSpartaProtectionResponse, CreateAttackDownloadTaskResponse, DescribeDomainWhiteRulesRequest, ModifyCustomRuleStatusRequest, DeleteDownloadRecordResponse, ModifyAccessPeriodRequest, ModifyWafAutoDenyRulesResponse, DescribeInstancesRequest, DeleteIpAccessControlResponse, AddCustomRuleRequest, ModifyDomainWhiteRuleResponse, ModifyDomainWhiteRuleRequest, DescribeAccessFastAnalysisResponse, DescribeDomainsResponse, ModifyWafThreatenIntelligenceRequest, DescribeIpHitItemsRequest, GetAttackDownloadRecordsResponse, DeleteAccessExportRequest, DescribeUserClbWafRegionsRequest, DescribeDomainWhiteRulesResponse, DeleteAttackDownloadRecordRequest, DescribeWafThreatenIntelligenceResponse, AddDomainWhiteRuleRequest, UpsertIpAccessControlResponse, DeleteSessionResponse, ModifyWafAutoDenyStatusResponse, DescribeWafThreatenIntelligenceRequest, DescribeAccessIndexResponse, DescribeAccessExportsResponse, CreateAccessExportResponse, SearchAccessLogRequest, DescribeDomainsRequest, ModifyWafThreatenIntelligenceResponse } from "./waf_models";
|
|
4
4
|
/**
|
|
5
5
|
* waf client
|
|
6
6
|
* @class
|
|
@@ -77,6 +77,10 @@ export declare class Client extends AbstractClient {
|
|
|
77
77
|
* 描述WAF自动封禁模块详情
|
|
78
78
|
*/
|
|
79
79
|
DescribeWafAutoDenyStatus(req?: DescribeWafAutoDenyStatusRequest, cb?: (error: string, rep: DescribeWafAutoDenyStatusResponse) => void): Promise<DescribeWafAutoDenyStatusResponse>;
|
|
80
|
+
/**
|
|
81
|
+
* 查询下载攻击日志任务记录列表
|
|
82
|
+
*/
|
|
83
|
+
GetAttackDownloadRecords(req?: GetAttackDownloadRecordsRequest, cb?: (error: string, rep: GetAttackDownloadRecordsResponse) => void): Promise<GetAttackDownloadRecordsResponse>;
|
|
80
84
|
/**
|
|
81
85
|
* 增加自定义策略
|
|
82
86
|
*/
|
|
@@ -131,6 +131,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
131
131
|
async DescribeWafAutoDenyStatus(req, cb) {
|
|
132
132
|
return this.request("DescribeWafAutoDenyStatus", req, cb);
|
|
133
133
|
}
|
|
134
|
+
/**
|
|
135
|
+
* 查询下载攻击日志任务记录列表
|
|
136
|
+
*/
|
|
137
|
+
async GetAttackDownloadRecords(req, cb) {
|
|
138
|
+
return this.request("GetAttackDownloadRecords", req, cb);
|
|
139
|
+
}
|
|
134
140
|
/**
|
|
135
141
|
* 增加自定义策略
|
|
136
142
|
*/
|
|
@@ -297,6 +297,10 @@ export interface DescribeFlowTrendResponse {
|
|
|
297
297
|
*/
|
|
298
298
|
RequestId?: string;
|
|
299
299
|
}
|
|
300
|
+
/**
|
|
301
|
+
* GetAttackDownloadRecords请求参数结构体
|
|
302
|
+
*/
|
|
303
|
+
export declare type GetAttackDownloadRecordsRequest = null;
|
|
300
304
|
/**
|
|
301
305
|
* UpsertIpAccessControl请求参数结构体
|
|
302
306
|
*/
|
|
@@ -368,17 +372,29 @@ export interface ModifyAccessPeriodResponse {
|
|
|
368
372
|
RequestId?: string;
|
|
369
373
|
}
|
|
370
374
|
/**
|
|
371
|
-
*
|
|
375
|
+
* clb-waf QPS套餐 New
|
|
372
376
|
*/
|
|
373
|
-
export interface
|
|
377
|
+
export interface QPSPackageNew {
|
|
374
378
|
/**
|
|
375
|
-
*
|
|
379
|
+
* 资源ID
|
|
376
380
|
*/
|
|
377
|
-
|
|
381
|
+
ResourceIds: string;
|
|
378
382
|
/**
|
|
379
|
-
*
|
|
383
|
+
* 过期时间
|
|
380
384
|
*/
|
|
381
|
-
|
|
385
|
+
ValidTime: string;
|
|
386
|
+
/**
|
|
387
|
+
* 是否自动续费,1:自动续费,0:不自动续费
|
|
388
|
+
*/
|
|
389
|
+
RenewFlag: number;
|
|
390
|
+
/**
|
|
391
|
+
* 套餐购买个数
|
|
392
|
+
*/
|
|
393
|
+
Count: number;
|
|
394
|
+
/**
|
|
395
|
+
* 套餐购买地域,clb-waf暂时没有用到
|
|
396
|
+
*/
|
|
397
|
+
Region: string;
|
|
382
398
|
}
|
|
383
399
|
/**
|
|
384
400
|
* 实例入参过滤器
|
|
@@ -1628,6 +1644,15 @@ export interface AccessRuleInfo {
|
|
|
1628
1644
|
*/
|
|
1629
1645
|
Tag: AccessRuleTagInfo;
|
|
1630
1646
|
}
|
|
1647
|
+
/**
|
|
1648
|
+
* GetAttackDownloadRecords返回参数结构体
|
|
1649
|
+
*/
|
|
1650
|
+
export interface GetAttackDownloadRecordsResponse {
|
|
1651
|
+
/**
|
|
1652
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1653
|
+
*/
|
|
1654
|
+
RequestId?: string;
|
|
1655
|
+
}
|
|
1631
1656
|
/**
|
|
1632
1657
|
* DeleteAccessExport请求参数结构体
|
|
1633
1658
|
*/
|
|
@@ -1672,29 +1697,17 @@ export interface DeleteAttackDownloadRecordRequest {
|
|
|
1672
1697
|
Id: number;
|
|
1673
1698
|
}
|
|
1674
1699
|
/**
|
|
1675
|
-
*
|
|
1700
|
+
* DescribeWafThreatenIntelligence返回参数结构体
|
|
1676
1701
|
*/
|
|
1677
|
-
export interface
|
|
1678
|
-
/**
|
|
1679
|
-
* 资源ID
|
|
1680
|
-
*/
|
|
1681
|
-
ResourceIds: string;
|
|
1682
|
-
/**
|
|
1683
|
-
* 过期时间
|
|
1684
|
-
*/
|
|
1685
|
-
ValidTime: string;
|
|
1686
|
-
/**
|
|
1687
|
-
* 是否自动续费,1:自动续费,0:不自动续费
|
|
1688
|
-
*/
|
|
1689
|
-
RenewFlag: number;
|
|
1702
|
+
export interface DescribeWafThreatenIntelligenceResponse {
|
|
1690
1703
|
/**
|
|
1691
|
-
*
|
|
1704
|
+
* WAF 威胁情报封禁信息
|
|
1692
1705
|
*/
|
|
1693
|
-
|
|
1706
|
+
WafThreatenIntelligenceDetails?: WafThreatenIntelligenceDetails;
|
|
1694
1707
|
/**
|
|
1695
|
-
*
|
|
1708
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1696
1709
|
*/
|
|
1697
|
-
|
|
1710
|
+
RequestId?: string;
|
|
1698
1711
|
}
|
|
1699
1712
|
/**
|
|
1700
1713
|
* AddDomainWhiteRule请求参数结构体
|
|
@@ -268,6 +268,16 @@ it("ckafka.v20190819.CreateTopic", async function () {
|
|
|
268
268
|
}
|
|
269
269
|
})
|
|
270
270
|
|
|
271
|
+
it("ckafka.v20190819.CheckCdcCluster", async function () {
|
|
272
|
+
try {
|
|
273
|
+
const data = await client.CheckCdcCluster({})
|
|
274
|
+
expect(data).to.be.ok
|
|
275
|
+
} catch(error) {
|
|
276
|
+
expect(error.requestId).to.be.ok
|
|
277
|
+
expect(error.code).to.be.ok
|
|
278
|
+
}
|
|
279
|
+
})
|
|
280
|
+
|
|
271
281
|
it("ckafka.v20190819.CreatePartition", async function () {
|
|
272
282
|
try {
|
|
273
283
|
const data = await client.CreatePartition({})
|
|
@@ -478,6 +488,16 @@ it("ckafka.v20190819.DescribeRegion", async function () {
|
|
|
478
488
|
}
|
|
479
489
|
})
|
|
480
490
|
|
|
491
|
+
it("ckafka.v20190819.CreateCdcCluster", async function () {
|
|
492
|
+
try {
|
|
493
|
+
const data = await client.CreateCdcCluster({})
|
|
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
|
+
|
|
481
501
|
it("ckafka.v20190819.CreateUser", async function () {
|
|
482
502
|
try {
|
|
483
503
|
const data = await client.CreateUser({})
|
|
@@ -228,16 +228,6 @@ it("faceid.v20180301.MinorsVerification", async function () {
|
|
|
228
228
|
}
|
|
229
229
|
})
|
|
230
230
|
|
|
231
|
-
it("faceid.v20180301.DetectReflectLivenessAndCompare", async function () {
|
|
232
|
-
try {
|
|
233
|
-
const data = await client.DetectReflectLivenessAndCompare({})
|
|
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
|
-
|
|
241
231
|
it("faceid.v20180301.CheckIdNameDate", async function () {
|
|
242
232
|
try {
|
|
243
233
|
const data = await client.CheckIdNameDate({})
|
|
@@ -18,9 +18,9 @@ const client = new tencentcloud.trtc.v20190722.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("trtc.v20190722.test.js", function () {
|
|
20
20
|
|
|
21
|
-
it("trtc.v20190722.
|
|
21
|
+
it("trtc.v20190722.DescribeRecordStatistic", async function () {
|
|
22
22
|
try {
|
|
23
|
-
const data = await client.
|
|
23
|
+
const data = await client.DescribeRecordStatistic({})
|
|
24
24
|
expect(data).to.be.ok
|
|
25
25
|
} catch(error) {
|
|
26
26
|
expect(error.requestId).to.be.ok
|
|
@@ -28,9 +28,9 @@ it("trtc.v20190722.StartMCUMixTranscode", async function () {
|
|
|
28
28
|
}
|
|
29
29
|
})
|
|
30
30
|
|
|
31
|
-
it("trtc.v20190722.
|
|
31
|
+
it("trtc.v20190722.DescribeTrtcMcuTranscodeTime", async function () {
|
|
32
32
|
try {
|
|
33
|
-
const data = await client.
|
|
33
|
+
const data = await client.DescribeTrtcMcuTranscodeTime({})
|
|
34
34
|
expect(data).to.be.ok
|
|
35
35
|
} catch(error) {
|
|
36
36
|
expect(error.requestId).to.be.ok
|
|
@@ -38,9 +38,9 @@ it("trtc.v20190722.DescribeRoomInformation", async function () {
|
|
|
38
38
|
}
|
|
39
39
|
})
|
|
40
40
|
|
|
41
|
-
it("trtc.v20190722.
|
|
41
|
+
it("trtc.v20190722.DescribeHistoryScale", async function () {
|
|
42
42
|
try {
|
|
43
|
-
const data = await client.
|
|
43
|
+
const data = await client.DescribeHistoryScale({})
|
|
44
44
|
expect(data).to.be.ok
|
|
45
45
|
} catch(error) {
|
|
46
46
|
expect(error.requestId).to.be.ok
|
|
@@ -48,9 +48,9 @@ it("trtc.v20190722.StopMCUMixTranscode", async function () {
|
|
|
48
48
|
}
|
|
49
49
|
})
|
|
50
50
|
|
|
51
|
-
it("trtc.v20190722.
|
|
51
|
+
it("trtc.v20190722.StartMCUMixTranscodeByStrRoomId", async function () {
|
|
52
52
|
try {
|
|
53
|
-
const data = await client.
|
|
53
|
+
const data = await client.StartMCUMixTranscodeByStrRoomId({})
|
|
54
54
|
expect(data).to.be.ok
|
|
55
55
|
} catch(error) {
|
|
56
56
|
expect(error.requestId).to.be.ok
|
|
@@ -58,9 +58,9 @@ it("trtc.v20190722.CreateTroubleInfo", async function () {
|
|
|
58
58
|
}
|
|
59
59
|
})
|
|
60
60
|
|
|
61
|
-
it("trtc.v20190722.
|
|
61
|
+
it("trtc.v20190722.DescribeExternalTrtcMeasure", async function () {
|
|
62
62
|
try {
|
|
63
|
-
const data = await client.
|
|
63
|
+
const data = await client.DescribeExternalTrtcMeasure({})
|
|
64
64
|
expect(data).to.be.ok
|
|
65
65
|
} catch(error) {
|
|
66
66
|
expect(error.requestId).to.be.ok
|
|
@@ -78,19 +78,9 @@ it("trtc.v20190722.DeletePicture", async function () {
|
|
|
78
78
|
}
|
|
79
79
|
})
|
|
80
80
|
|
|
81
|
-
it("trtc.v20190722.
|
|
82
|
-
try {
|
|
83
|
-
const data = await client.CreatePicture({})
|
|
84
|
-
expect(data).to.be.ok
|
|
85
|
-
} catch(error) {
|
|
86
|
-
expect(error.requestId).to.be.ok
|
|
87
|
-
expect(error.code).to.be.ok
|
|
88
|
-
}
|
|
89
|
-
})
|
|
90
|
-
|
|
91
|
-
it("trtc.v20190722.RemoveUser", async function () {
|
|
81
|
+
it("trtc.v20190722.StopMCUMixTranscodeByStrRoomId", async function () {
|
|
92
82
|
try {
|
|
93
|
-
const data = await client.
|
|
83
|
+
const data = await client.StopMCUMixTranscodeByStrRoomId({})
|
|
94
84
|
expect(data).to.be.ok
|
|
95
85
|
} catch(error) {
|
|
96
86
|
expect(error.requestId).to.be.ok
|
|
@@ -98,9 +88,9 @@ it("trtc.v20190722.RemoveUser", async function () {
|
|
|
98
88
|
}
|
|
99
89
|
})
|
|
100
90
|
|
|
101
|
-
it("trtc.v20190722.
|
|
91
|
+
it("trtc.v20190722.CreatePicture", async function () {
|
|
102
92
|
try {
|
|
103
|
-
const data = await client.
|
|
93
|
+
const data = await client.CreatePicture({})
|
|
104
94
|
expect(data).to.be.ok
|
|
105
95
|
} catch(error) {
|
|
106
96
|
expect(error.requestId).to.be.ok
|
|
@@ -108,9 +98,9 @@ it("trtc.v20190722.DescribeCallDetail", async function () {
|
|
|
108
98
|
}
|
|
109
99
|
})
|
|
110
100
|
|
|
111
|
-
it("trtc.v20190722.
|
|
101
|
+
it("trtc.v20190722.DescribePicture", async function () {
|
|
112
102
|
try {
|
|
113
|
-
const data = await client.
|
|
103
|
+
const data = await client.DescribePicture({})
|
|
114
104
|
expect(data).to.be.ok
|
|
115
105
|
} catch(error) {
|
|
116
106
|
expect(error.requestId).to.be.ok
|
|
@@ -118,9 +108,9 @@ it("trtc.v20190722.DescribeExternalTrtcMeasure", async function () {
|
|
|
118
108
|
}
|
|
119
109
|
})
|
|
120
110
|
|
|
121
|
-
it("trtc.v20190722.
|
|
111
|
+
it("trtc.v20190722.ModifyPicture", async function () {
|
|
122
112
|
try {
|
|
123
|
-
const data = await client.
|
|
113
|
+
const data = await client.ModifyPicture({})
|
|
124
114
|
expect(data).to.be.ok
|
|
125
115
|
} catch(error) {
|
|
126
116
|
expect(error.requestId).to.be.ok
|
|
@@ -128,9 +118,9 @@ it("trtc.v20190722.StopMCUMixTranscodeByStrRoomId", async function () {
|
|
|
128
118
|
}
|
|
129
119
|
})
|
|
130
120
|
|
|
131
|
-
it("trtc.v20190722.
|
|
121
|
+
it("trtc.v20190722.RemoveUser", async function () {
|
|
132
122
|
try {
|
|
133
|
-
const data = await client.
|
|
123
|
+
const data = await client.RemoveUser({})
|
|
134
124
|
expect(data).to.be.ok
|
|
135
125
|
} catch(error) {
|
|
136
126
|
expect(error.requestId).to.be.ok
|
|
@@ -138,9 +128,9 @@ it("trtc.v20190722.ModifyPicture", async function () {
|
|
|
138
128
|
}
|
|
139
129
|
})
|
|
140
130
|
|
|
141
|
-
it("trtc.v20190722.
|
|
131
|
+
it("trtc.v20190722.DescribeDetailEvent", async function () {
|
|
142
132
|
try {
|
|
143
|
-
const data = await client.
|
|
133
|
+
const data = await client.DescribeDetailEvent({})
|
|
144
134
|
expect(data).to.be.ok
|
|
145
135
|
} catch(error) {
|
|
146
136
|
expect(error.requestId).to.be.ok
|
|
@@ -148,9 +138,9 @@ it("trtc.v20190722.DismissRoomByStrRoomId", async function () {
|
|
|
148
138
|
}
|
|
149
139
|
})
|
|
150
140
|
|
|
151
|
-
it("trtc.v20190722.
|
|
141
|
+
it("trtc.v20190722.DescribeCallDetail", async function () {
|
|
152
142
|
try {
|
|
153
|
-
const data = await client.
|
|
143
|
+
const data = await client.DescribeCallDetail({})
|
|
154
144
|
expect(data).to.be.ok
|
|
155
145
|
} catch(error) {
|
|
156
146
|
expect(error.requestId).to.be.ok
|
|
@@ -158,9 +148,9 @@ it("trtc.v20190722.DescribeAbnormalEvent", async function () {
|
|
|
158
148
|
}
|
|
159
149
|
})
|
|
160
150
|
|
|
161
|
-
it("trtc.v20190722.
|
|
151
|
+
it("trtc.v20190722.DismissRoomByStrRoomId", async function () {
|
|
162
152
|
try {
|
|
163
|
-
const data = await client.
|
|
153
|
+
const data = await client.DismissRoomByStrRoomId({})
|
|
164
154
|
expect(data).to.be.ok
|
|
165
155
|
} catch(error) {
|
|
166
156
|
expect(error.requestId).to.be.ok
|
|
@@ -168,9 +158,9 @@ it("trtc.v20190722.StartMCUMixTranscodeByStrRoomId", async function () {
|
|
|
168
158
|
}
|
|
169
159
|
})
|
|
170
160
|
|
|
171
|
-
it("trtc.v20190722.
|
|
161
|
+
it("trtc.v20190722.DescribeAbnormalEvent", async function () {
|
|
172
162
|
try {
|
|
173
|
-
const data = await client.
|
|
163
|
+
const data = await client.DescribeAbnormalEvent({})
|
|
174
164
|
expect(data).to.be.ok
|
|
175
165
|
} catch(error) {
|
|
176
166
|
expect(error.requestId).to.be.ok
|
|
@@ -178,9 +168,9 @@ it("trtc.v20190722.RemoveUserByStrRoomId", async function () {
|
|
|
178
168
|
}
|
|
179
169
|
})
|
|
180
170
|
|
|
181
|
-
it("trtc.v20190722.
|
|
171
|
+
it("trtc.v20190722.StopMCUMixTranscode", async function () {
|
|
182
172
|
try {
|
|
183
|
-
const data = await client.
|
|
173
|
+
const data = await client.StopMCUMixTranscode({})
|
|
184
174
|
expect(data).to.be.ok
|
|
185
175
|
} catch(error) {
|
|
186
176
|
expect(error.requestId).to.be.ok
|
|
@@ -188,9 +178,9 @@ it("trtc.v20190722.DismissRoom", async function () {
|
|
|
188
178
|
}
|
|
189
179
|
})
|
|
190
180
|
|
|
191
|
-
it("trtc.v20190722.
|
|
181
|
+
it("trtc.v20190722.DescribeRoomInformation", async function () {
|
|
192
182
|
try {
|
|
193
|
-
const data = await client.
|
|
183
|
+
const data = await client.DescribeRoomInformation({})
|
|
194
184
|
expect(data).to.be.ok
|
|
195
185
|
} catch(error) {
|
|
196
186
|
expect(error.requestId).to.be.ok
|
|
@@ -198,9 +188,9 @@ it("trtc.v20190722.DescribeRecordStatistic", async function () {
|
|
|
198
188
|
}
|
|
199
189
|
})
|
|
200
190
|
|
|
201
|
-
it("trtc.v20190722.
|
|
191
|
+
it("trtc.v20190722.RemoveUserByStrRoomId", async function () {
|
|
202
192
|
try {
|
|
203
|
-
const data = await client.
|
|
193
|
+
const data = await client.RemoveUserByStrRoomId({})
|
|
204
194
|
expect(data).to.be.ok
|
|
205
195
|
} catch(error) {
|
|
206
196
|
expect(error.requestId).to.be.ok
|
|
@@ -208,9 +198,9 @@ it("trtc.v20190722.DescribeTrtcMcuTranscodeTime", async function () {
|
|
|
208
198
|
}
|
|
209
199
|
})
|
|
210
200
|
|
|
211
|
-
it("trtc.v20190722.
|
|
201
|
+
it("trtc.v20190722.StartMCUMixTranscode", async function () {
|
|
212
202
|
try {
|
|
213
|
-
const data = await client.
|
|
203
|
+
const data = await client.StartMCUMixTranscode({})
|
|
214
204
|
expect(data).to.be.ok
|
|
215
205
|
} catch(error) {
|
|
216
206
|
expect(error.requestId).to.be.ok
|
|
@@ -218,9 +208,9 @@ it("trtc.v20190722.DescribePicture", async function () {
|
|
|
218
208
|
}
|
|
219
209
|
})
|
|
220
210
|
|
|
221
|
-
it("trtc.v20190722.
|
|
211
|
+
it("trtc.v20190722.DismissRoom", async function () {
|
|
222
212
|
try {
|
|
223
|
-
const data = await client.
|
|
213
|
+
const data = await client.DismissRoom({})
|
|
224
214
|
expect(data).to.be.ok
|
|
225
215
|
} catch(error) {
|
|
226
216
|
expect(error.requestId).to.be.ok
|
|
@@ -188,6 +188,16 @@ it("waf.v20180125.DescribeWafAutoDenyStatus", async function () {
|
|
|
188
188
|
}
|
|
189
189
|
})
|
|
190
190
|
|
|
191
|
+
it("waf.v20180125.GetAttackDownloadRecords", async function () {
|
|
192
|
+
try {
|
|
193
|
+
const data = await client.GetAttackDownloadRecords({})
|
|
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("waf.v20180125.AddCustomRule", async function () {
|
|
192
202
|
try {
|
|
193
203
|
const data = await client.AddCustomRule({})
|