tencentcloud-sdk-nodejs 4.0.386 → 4.0.387

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.
Files changed (50) hide show
  1. package/CHANGELOG.md +203 -0
  2. package/SERVICE_CHANGELOG.md +279 -96
  3. package/package.json +1 -1
  4. package/products.md +13 -13
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/cdn/v20180606/cdn_models.ts +11 -0
  7. package/src/services/ckafka/v20190819/ckafka_client.ts +79 -12
  8. package/src/services/ckafka/v20190819/ckafka_models.ts +2025 -164
  9. package/src/services/cynosdb/v20190107/cynosdb_client.ts +15 -2
  10. package/src/services/cynosdb/v20190107/cynosdb_models.ts +133 -19
  11. package/src/services/live/v20180801/live_models.ts +1 -1
  12. package/src/services/oceanus/v20190422/oceanus_client.ts +31 -6
  13. package/src/services/oceanus/v20190422/oceanus_models.ts +119 -79
  14. package/src/services/ocr/v20181119/ocr_client.ts +2 -0
  15. package/src/services/ocr/v20181119/ocr_models.ts +2 -2
  16. package/src/services/redis/v20180412/redis_models.ts +5 -0
  17. package/src/services/ssa/v20180608/ssa_models.ts +7 -7
  18. package/src/services/trtc/v20190722/trtc_client.ts +210 -134
  19. package/src/services/trtc/v20190722/trtc_models.ts +508 -150
  20. package/src/services/waf/v20180125/waf_client.ts +2 -14
  21. package/src/services/waf/v20180125/waf_models.ts +31 -96
  22. package/tencentcloud/common/sdk_version.d.ts +1 -1
  23. package/tencentcloud/common/sdk_version.js +1 -1
  24. package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +9 -0
  25. package/tencentcloud/services/ckafka/v20190819/ckafka_client.d.ts +9 -1
  26. package/tencentcloud/services/ckafka/v20190819/ckafka_client.js +12 -0
  27. package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +1693 -132
  28. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +5 -1
  29. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +6 -0
  30. package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +112 -17
  31. package/tencentcloud/services/live/v20180801/live_models.d.ts +1 -1
  32. package/tencentcloud/services/oceanus/v20190422/oceanus_client.d.ts +10 -1
  33. package/tencentcloud/services/oceanus/v20190422/oceanus_client.js +13 -0
  34. package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +106 -71
  35. package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +2 -0
  36. package/tencentcloud/services/ocr/v20181119/ocr_client.js +2 -0
  37. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +2 -2
  38. package/tencentcloud/services/redis/v20180412/redis_models.d.ts +4 -0
  39. package/tencentcloud/services/ssa/v20180608/ssa_models.d.ts +7 -7
  40. package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +80 -52
  41. package/tencentcloud/services/trtc/v20190722/trtc_client.js +111 -71
  42. package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +436 -130
  43. package/tencentcloud/services/waf/v20180125/waf_client.d.ts +1 -5
  44. package/tencentcloud/services/waf/v20180125/waf_client.js +0 -6
  45. package/tencentcloud/services/waf/v20180125/waf_models.d.ts +27 -81
  46. package/test/ckafka.v20190819.test.js +20 -0
  47. package/test/cynosdb.v20190107.test.js +10 -0
  48. package/test/oceanus.v20190422.test.js +20 -0
  49. package/test/trtc.v20190722.test.js +94 -34
  50. package/test/waf.v20180125.test.js +0 -10
@@ -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, GetAttackDownloadRecordsRequest, UpsertIpAccessControlRequest, DeleteDownloadRecordRequest, DeleteAccessExportResponse, DescribeAccessExportsRequest, ModifyWafAutoDenyStatusRequest, ModifyAccessPeriodResponse, DescribeAutoDenyIPResponse, SearchAccessLogResponse, DescribeAutoDenyIPRequest, DescribeIpAccessControlRequest, AddSpartaProtectionRequest, PostAttackDownloadTaskRequest, DescribeAccessFastAnalysisRequest, DeleteIpAccessControlRequest, DeleteDomainWhiteRulesResponse, CreateAttackDownloadTaskRequest, DescribeWafAutoDenyStatusResponse, DeleteDomainWhiteRulesRequest, PostAttackDownloadTaskResponse, 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";
3
+ import { CreateAccessExportRequest, DescribeWafAutoDenyRulesResponse, DescribeIpHitItemsResponse, DescribeUserClbWafRegionsResponse, DeleteAttackDownloadRecordResponse, DescribeFlowTrendRequest, DescribeWafAutoDenyStatusRequest, AddDomainWhiteRuleResponse, DescribeIpAccessControlResponse, DescribeInstancesResponse, ModifyWafAutoDenyRulesRequest, DescribeAccessIndexRequest, DeleteSessionRequest, DescribeWafAutoDenyRulesRequest, AddCustomRuleResponse, DescribeFlowTrendResponse, GetAttackDownloadRecordsRequest, UpsertIpAccessControlRequest, DeleteDownloadRecordRequest, DescribeAccessExportsRequest, ModifyWafAutoDenyStatusRequest, ModifyAccessPeriodResponse, DeleteAccessExportResponse, DescribeAutoDenyIPResponse, SearchAccessLogResponse, DescribeAutoDenyIPRequest, DescribeIpAccessControlRequest, AddSpartaProtectionRequest, PostAttackDownloadTaskRequest, DescribeAccessFastAnalysisRequest, DeleteIpAccessControlRequest, DeleteDomainWhiteRulesResponse, DescribeWafAutoDenyStatusResponse, DeleteDomainWhiteRulesRequest, PostAttackDownloadTaskResponse, ModifyCustomRuleStatusResponse, AddSpartaProtectionResponse, 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
@@ -57,10 +57,6 @@ export declare class Client extends AbstractClient {
57
57
  * 获取waf流量访问趋势
58
58
  */
59
59
  DescribeFlowTrend(req: DescribeFlowTrendRequest, cb?: (error: string, rep: DescribeFlowTrendResponse) => void): Promise<DescribeFlowTrendResponse>;
60
- /**
61
- * 创建攻击日志下载任务
62
- */
63
- CreateAttackDownloadTask(req: CreateAttackDownloadTaskRequest, cb?: (error: string, rep: CreateAttackDownloadTaskResponse) => void): Promise<CreateAttackDownloadTaskResponse>;
64
60
  /**
65
61
  * 更改某一条规则
66
62
  */
@@ -101,12 +101,6 @@ class Client extends abstract_client_1.AbstractClient {
101
101
  async DescribeFlowTrend(req, cb) {
102
102
  return this.request("DescribeFlowTrend", req, cb);
103
103
  }
104
- /**
105
- * 创建攻击日志下载任务
106
- */
107
- async CreateAttackDownloadTask(req, cb) {
108
- return this.request("CreateAttackDownloadTask", req, cb);
109
- }
110
104
  /**
111
105
  * 更改某一条规则
112
106
  */
@@ -328,13 +328,27 @@ export interface DeleteDownloadRecordRequest {
328
328
  Flow: string;
329
329
  }
330
330
  /**
331
- * DeleteAccessExport返回参数结构体
331
+ * DescribeAccessIndex接口的出参数
332
332
  */
333
- export interface DeleteAccessExportResponse {
333
+ export interface AccessRuleInfo {
334
334
  /**
335
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
335
+ * 全文索引配置
336
+ 注意:此字段可能返回 null,表示取不到有效值。
337
+ 注意:此字段可能返回 null,表示取不到有效值。
336
338
  */
337
- RequestId?: string;
339
+ FullText: AccessFullTextInfo;
340
+ /**
341
+ * 键值索引配置
342
+ 注意:此字段可能返回 null,表示取不到有效值。
343
+ 注意:此字段可能返回 null,表示取不到有效值。
344
+ */
345
+ KeyValue: AccessRuleKeyValueInfo;
346
+ /**
347
+ * 元字段索引配置
348
+ 注意:此字段可能返回 null,表示取不到有效值。
349
+ 注意:此字段可能返回 null,表示取不到有效值。
350
+ */
351
+ Tag: AccessRuleTagInfo;
338
352
  }
339
353
  /**
340
354
  * DescribeAccessExports请求参数结构体
@@ -371,6 +385,15 @@ export interface ModifyAccessPeriodResponse {
371
385
  */
372
386
  RequestId?: string;
373
387
  }
388
+ /**
389
+ * DeleteAccessExport返回参数结构体
390
+ */
391
+ export interface DeleteAccessExportResponse {
392
+ /**
393
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
394
+ */
395
+ RequestId?: string;
396
+ }
374
397
  /**
375
398
  * clb-waf QPS套餐 New
376
399
  */
@@ -836,47 +859,6 @@ export interface DownloadAttackRecordInfo {
836
859
  */
837
860
  TotalCount: number;
838
861
  }
839
- /**
840
- * CreateAttackDownloadTask请求参数结构体
841
- */
842
- export interface CreateAttackDownloadTaskRequest {
843
- /**
844
- * 域名,所有域名填写all
845
- */
846
- Domain: string;
847
- /**
848
- * 查询起始时间
849
- */
850
- FromTime: string;
851
- /**
852
- * 查询结束时间
853
- */
854
- ToTime: string;
855
- /**
856
- * 下载任务名字
857
- */
858
- Name: string;
859
- /**
860
- * 风险等级
861
- */
862
- RiskLevel?: number;
863
- /**
864
- * 拦截状态
865
- */
866
- Status?: number;
867
- /**
868
- * 自定义策略ID
869
- */
870
- RuleId?: number;
871
- /**
872
- * 攻击者IP
873
- */
874
- AttackIp?: string;
875
- /**
876
- * 攻击类型
877
- */
878
- AttackType?: string;
879
- }
880
862
  /**
881
863
  * DescribeWafAutoDenyStatus返回参数结构体
882
864
  */
@@ -1031,19 +1013,6 @@ export interface PortItem {
1031
1013
  */
1032
1014
  NginxServerId: string;
1033
1015
  }
1034
- /**
1035
- * CreateAttackDownloadTask返回参数结构体
1036
- */
1037
- export interface CreateAttackDownloadTaskResponse {
1038
- /**
1039
- * 任务ID
1040
- */
1041
- Flow: string;
1042
- /**
1043
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1044
- */
1045
- RequestId?: string;
1046
- }
1047
1016
  /**
1048
1017
  * Waf 威胁情报封禁模块配置详情
1049
1018
  */
@@ -1712,29 +1681,6 @@ export interface DescribeIpHitItemsRequest {
1712
1681
  */
1713
1682
  Ip?: string;
1714
1683
  }
1715
- /**
1716
- * DescribeAccessIndex接口的出参数
1717
- */
1718
- export interface AccessRuleInfo {
1719
- /**
1720
- * 全文索引配置
1721
- 注意:此字段可能返回 null,表示取不到有效值。
1722
- 注意:此字段可能返回 null,表示取不到有效值。
1723
- */
1724
- FullText: AccessFullTextInfo;
1725
- /**
1726
- * 键值索引配置
1727
- 注意:此字段可能返回 null,表示取不到有效值。
1728
- 注意:此字段可能返回 null,表示取不到有效值。
1729
- */
1730
- KeyValue: AccessRuleKeyValueInfo;
1731
- /**
1732
- * 元字段索引配置
1733
- 注意:此字段可能返回 null,表示取不到有效值。
1734
- 注意:此字段可能返回 null,表示取不到有效值。
1735
- */
1736
- Tag: AccessRuleTagInfo;
1737
- }
1738
1684
  /**
1739
1685
  * GetAttackDownloadRecords返回参数结构体
1740
1686
  */
@@ -268,6 +268,16 @@ it("ckafka.v20190819.CreateTopic", async function () {
268
268
  }
269
269
  })
270
270
 
271
+ it("ckafka.v20190819.CreateConnectResource", async function () {
272
+ try {
273
+ const data = await client.CreateConnectResource({})
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.CheckCdcCluster", async function () {
272
282
  try {
273
283
  const data = await client.CheckCdcCluster({})
@@ -388,6 +398,16 @@ it("ckafka.v20190819.BatchCreateAcl", async function () {
388
398
  }
389
399
  })
390
400
 
401
+ it("ckafka.v20190819.CreateDatahubTask", async function () {
402
+ try {
403
+ const data = await client.CreateDatahubTask({})
404
+ expect(data).to.be.ok
405
+ } catch(error) {
406
+ expect(error.requestId).to.be.ok
407
+ expect(error.code).to.be.ok
408
+ }
409
+ })
410
+
391
411
  it("ckafka.v20190819.DeleteAclRule", async function () {
392
412
  try {
393
413
  const data = await client.DeleteAclRule({})
@@ -268,6 +268,16 @@ it("cynosdb.v20190107.IsolateCluster", async function () {
268
268
  }
269
269
  })
270
270
 
271
+ it("cynosdb.v20190107.InquirePriceCreate", async function () {
272
+ try {
273
+ const data = await client.InquirePriceCreate({})
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("cynosdb.v20190107.DescribeBackupDownloadUrl", async function () {
272
282
  try {
273
283
  const data = await client.DescribeBackupDownloadUrl({})
@@ -28,6 +28,16 @@ it("oceanus.v20190422.DescribeTreeJobs", async function () {
28
28
  }
29
29
  })
30
30
 
31
+ it("oceanus.v20190422.CopyJobs", async function () {
32
+ try {
33
+ const data = await client.CopyJobs({})
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("oceanus.v20190422.DeleteResourceConfigs", async function () {
32
42
  try {
33
43
  const data = await client.DeleteResourceConfigs({})
@@ -138,6 +148,16 @@ it("oceanus.v20190422.DeleteJobs", async function () {
138
148
  }
139
149
  })
140
150
 
151
+ it("oceanus.v20190422.CreateFolder", async function () {
152
+ try {
153
+ const data = await client.CreateFolder({})
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
+
141
161
  it("oceanus.v20190422.CheckSavepoint", async function () {
142
162
  try {
143
163
  const data = await client.CheckSavepoint({})
@@ -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.DescribeRecordStatistic", async function () {
21
+ it("trtc.v20190722.DescribeRoomInfo", async function () {
22
22
  try {
23
- const data = await client.DescribeRecordStatistic({})
23
+ const data = await client.DescribeRoomInfo({})
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.DescribeRecordStatistic", async function () {
28
28
  }
29
29
  })
30
30
 
31
- it("trtc.v20190722.DescribeTrtcMcuTranscodeTime", async function () {
31
+ it("trtc.v20190722.StartMCUMixTranscode", async function () {
32
32
  try {
33
- const data = await client.DescribeTrtcMcuTranscodeTime({})
33
+ const data = await client.StartMCUMixTranscode({})
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.DescribeTrtcMcuTranscodeTime", async function () {
38
38
  }
39
39
  })
40
40
 
41
- it("trtc.v20190722.DescribeHistoryScale", async function () {
41
+ it("trtc.v20190722.DescribeRoomInformation", async function () {
42
42
  try {
43
- const data = await client.DescribeHistoryScale({})
43
+ const data = await client.DescribeRoomInformation({})
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.DescribeHistoryScale", async function () {
48
48
  }
49
49
  })
50
50
 
51
- it("trtc.v20190722.StartMCUMixTranscodeByStrRoomId", async function () {
51
+ it("trtc.v20190722.DescribeCallDetailInfo", async function () {
52
52
  try {
53
- const data = await client.StartMCUMixTranscodeByStrRoomId({})
53
+ const data = await client.DescribeCallDetailInfo({})
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.StartMCUMixTranscodeByStrRoomId", async function () {
58
58
  }
59
59
  })
60
60
 
61
- it("trtc.v20190722.DescribeExternalTrtcMeasure", async function () {
61
+ it("trtc.v20190722.StopMCUMixTranscode", async function () {
62
62
  try {
63
- const data = await client.DescribeExternalTrtcMeasure({})
63
+ const data = await client.StopMCUMixTranscode({})
64
64
  expect(data).to.be.ok
65
65
  } catch(error) {
66
66
  expect(error.requestId).to.be.ok
@@ -68,9 +68,9 @@ it("trtc.v20190722.DescribeExternalTrtcMeasure", async function () {
68
68
  }
69
69
  })
70
70
 
71
- it("trtc.v20190722.DeletePicture", async function () {
71
+ it("trtc.v20190722.DescribeHistoryScale", async function () {
72
72
  try {
73
- const data = await client.DeletePicture({})
73
+ const data = await client.DescribeHistoryScale({})
74
74
  expect(data).to.be.ok
75
75
  } catch(error) {
76
76
  expect(error.requestId).to.be.ok
@@ -78,9 +78,9 @@ it("trtc.v20190722.DeletePicture", async function () {
78
78
  }
79
79
  })
80
80
 
81
- it("trtc.v20190722.StopMCUMixTranscodeByStrRoomId", async function () {
81
+ it("trtc.v20190722.DeletePicture", async function () {
82
82
  try {
83
- const data = await client.StopMCUMixTranscodeByStrRoomId({})
83
+ const data = await client.DeletePicture({})
84
84
  expect(data).to.be.ok
85
85
  } catch(error) {
86
86
  expect(error.requestId).to.be.ok
@@ -98,9 +98,9 @@ it("trtc.v20190722.CreatePicture", async function () {
98
98
  }
99
99
  })
100
100
 
101
- it("trtc.v20190722.DescribePicture", async function () {
101
+ it("trtc.v20190722.RemoveUser", async function () {
102
102
  try {
103
- const data = await client.DescribePicture({})
103
+ const data = await client.RemoveUser({})
104
104
  expect(data).to.be.ok
105
105
  } catch(error) {
106
106
  expect(error.requestId).to.be.ok
@@ -108,9 +108,9 @@ it("trtc.v20190722.DescribePicture", async function () {
108
108
  }
109
109
  })
110
110
 
111
- it("trtc.v20190722.ModifyPicture", async function () {
111
+ it("trtc.v20190722.DescribeCallDetail", async function () {
112
112
  try {
113
- const data = await client.ModifyPicture({})
113
+ const data = await client.DescribeCallDetail({})
114
114
  expect(data).to.be.ok
115
115
  } catch(error) {
116
116
  expect(error.requestId).to.be.ok
@@ -118,9 +118,9 @@ it("trtc.v20190722.ModifyPicture", async function () {
118
118
  }
119
119
  })
120
120
 
121
- it("trtc.v20190722.RemoveUser", async function () {
121
+ it("trtc.v20190722.DescribeUserEvent", async function () {
122
122
  try {
123
- const data = await client.RemoveUser({})
123
+ const data = await client.DescribeUserEvent({})
124
124
  expect(data).to.be.ok
125
125
  } catch(error) {
126
126
  expect(error.requestId).to.be.ok
@@ -128,9 +128,9 @@ it("trtc.v20190722.RemoveUser", async function () {
128
128
  }
129
129
  })
130
130
 
131
- it("trtc.v20190722.DescribeDetailEvent", async function () {
131
+ it("trtc.v20190722.DescribeExternalTrtcMeasure", async function () {
132
132
  try {
133
- const data = await client.DescribeDetailEvent({})
133
+ const data = await client.DescribeExternalTrtcMeasure({})
134
134
  expect(data).to.be.ok
135
135
  } catch(error) {
136
136
  expect(error.requestId).to.be.ok
@@ -138,9 +138,29 @@ it("trtc.v20190722.DescribeDetailEvent", async function () {
138
138
  }
139
139
  })
140
140
 
141
- it("trtc.v20190722.DescribeCallDetail", async function () {
141
+ it("trtc.v20190722.DescribeScaleInfo", async function () {
142
142
  try {
143
- const data = await client.DescribeCallDetail({})
143
+ const data = await client.DescribeScaleInfo({})
144
+ expect(data).to.be.ok
145
+ } catch(error) {
146
+ expect(error.requestId).to.be.ok
147
+ expect(error.code).to.be.ok
148
+ }
149
+ })
150
+
151
+ it("trtc.v20190722.ModifyPicture", async function () {
152
+ try {
153
+ const data = await client.ModifyPicture({})
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("trtc.v20190722.DescribeUserInfo", async function () {
162
+ try {
163
+ const data = await client.DescribeUserInfo({})
144
164
  expect(data).to.be.ok
145
165
  } catch(error) {
146
166
  expect(error.requestId).to.be.ok
@@ -158,9 +178,9 @@ it("trtc.v20190722.DismissRoomByStrRoomId", async function () {
158
178
  }
159
179
  })
160
180
 
161
- it("trtc.v20190722.DescribeAbnormalEvent", async function () {
181
+ it("trtc.v20190722.StopMCUMixTranscodeByStrRoomId", async function () {
162
182
  try {
163
- const data = await client.DescribeAbnormalEvent({})
183
+ const data = await client.StopMCUMixTranscodeByStrRoomId({})
164
184
  expect(data).to.be.ok
165
185
  } catch(error) {
166
186
  expect(error.requestId).to.be.ok
@@ -168,9 +188,9 @@ it("trtc.v20190722.DescribeAbnormalEvent", async function () {
168
188
  }
169
189
  })
170
190
 
171
- it("trtc.v20190722.StopMCUMixTranscode", async function () {
191
+ it("trtc.v20190722.DescribeAbnormalEvent", async function () {
172
192
  try {
173
- const data = await client.StopMCUMixTranscode({})
193
+ const data = await client.DescribeAbnormalEvent({})
174
194
  expect(data).to.be.ok
175
195
  } catch(error) {
176
196
  expect(error.requestId).to.be.ok
@@ -178,9 +198,9 @@ it("trtc.v20190722.StopMCUMixTranscode", async function () {
178
198
  }
179
199
  })
180
200
 
181
- it("trtc.v20190722.DescribeRoomInformation", async function () {
201
+ it("trtc.v20190722.StartMCUMixTranscodeByStrRoomId", async function () {
182
202
  try {
183
- const data = await client.DescribeRoomInformation({})
203
+ const data = await client.StartMCUMixTranscodeByStrRoomId({})
184
204
  expect(data).to.be.ok
185
205
  } catch(error) {
186
206
  expect(error.requestId).to.be.ok
@@ -198,9 +218,9 @@ it("trtc.v20190722.RemoveUserByStrRoomId", async function () {
198
218
  }
199
219
  })
200
220
 
201
- it("trtc.v20190722.StartMCUMixTranscode", async function () {
221
+ it("trtc.v20190722.DismissRoom", async function () {
202
222
  try {
203
- const data = await client.StartMCUMixTranscode({})
223
+ const data = await client.DismissRoom({})
204
224
  expect(data).to.be.ok
205
225
  } catch(error) {
206
226
  expect(error.requestId).to.be.ok
@@ -208,9 +228,49 @@ it("trtc.v20190722.StartMCUMixTranscode", async function () {
208
228
  }
209
229
  })
210
230
 
211
- it("trtc.v20190722.DismissRoom", async function () {
231
+ it("trtc.v20190722.DescribeRecordStatistic", async function () {
212
232
  try {
213
- const data = await client.DismissRoom({})
233
+ const data = await client.DescribeRecordStatistic({})
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
+ it("trtc.v20190722.DescribeTrtcMcuTranscodeTime", async function () {
242
+ try {
243
+ const data = await client.DescribeTrtcMcuTranscodeTime({})
244
+ expect(data).to.be.ok
245
+ } catch(error) {
246
+ expect(error.requestId).to.be.ok
247
+ expect(error.code).to.be.ok
248
+ }
249
+ })
250
+
251
+ it("trtc.v20190722.DescribePicture", async function () {
252
+ try {
253
+ const data = await client.DescribePicture({})
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
+
261
+ it("trtc.v20190722.DescribeDetailEvent", async function () {
262
+ try {
263
+ const data = await client.DescribeDetailEvent({})
264
+ expect(data).to.be.ok
265
+ } catch(error) {
266
+ expect(error.requestId).to.be.ok
267
+ expect(error.code).to.be.ok
268
+ }
269
+ })
270
+
271
+ it("trtc.v20190722.DescribeUnusualEvent", async function () {
272
+ try {
273
+ const data = await client.DescribeUnusualEvent({})
214
274
  expect(data).to.be.ok
215
275
  } catch(error) {
216
276
  expect(error.requestId).to.be.ok
@@ -138,16 +138,6 @@ it("waf.v20180125.DescribeFlowTrend", async function () {
138
138
  }
139
139
  })
140
140
 
141
- it("waf.v20180125.CreateAttackDownloadTask", async function () {
142
- try {
143
- const data = await client.CreateAttackDownloadTask({})
144
- expect(data).to.be.ok
145
- } catch(error) {
146
- expect(error.requestId).to.be.ok
147
- expect(error.code).to.be.ok
148
- }
149
- })
150
-
151
141
  it("waf.v20180125.ModifyDomainWhiteRule", async function () {
152
142
  try {
153
143
  const data = await client.ModifyDomainWhiteRule({})