tencentcloud-sdk-nodejs 4.0.574 → 4.0.576

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 (143) hide show
  1. package/CHANGELOG.md +514 -0
  2. package/SERVICE_CHANGELOG.md +596 -83
  3. package/package.json +1 -1
  4. package/products.md +35 -34
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/bma/index.ts +2 -2
  7. package/src/services/captcha/v20190722/captcha_models.ts +17 -6
  8. package/src/services/cdb/v20170320/cdb_models.ts +4 -4
  9. package/src/services/cdn/v20180606/cdn_models.ts +5 -5
  10. package/src/services/cii/index.ts +2 -2
  11. package/src/services/ckafka/v20190819/ckafka_models.ts +6 -0
  12. package/src/services/clb/v20180317/clb_models.ts +22 -0
  13. package/src/services/cls/v20201016/cls_models.ts +22 -0
  14. package/src/services/cvm/v20170312/cvm_models.ts +1 -1
  15. package/src/services/cwp/v20180228/cwp_client.ts +132 -29
  16. package/src/services/cwp/v20180228/cwp_models.ts +1050 -34
  17. package/src/services/dbbrain/index.ts +2 -2
  18. package/src/services/dbbrain/v20210527/dbbrain_client.ts +12 -0
  19. package/src/services/dbbrain/v20210527/dbbrain_models.ts +38 -2
  20. package/src/services/dc/v20180410/dc_models.ts +16 -5
  21. package/src/services/emr/v20190103/emr_client.ts +28 -1
  22. package/src/services/emr/v20190103/emr_models.ts +134 -5
  23. package/src/services/ess/v20201111/ess_client.ts +1 -1
  24. package/src/services/ess/v20201111/ess_models.ts +1 -1
  25. package/src/services/essbasic/v20210526/essbasic_client.ts +1 -1
  26. package/src/services/gaap/v20180529/gaap_models.ts +1 -1
  27. package/src/services/index.ts +1 -0
  28. package/src/services/iotvideo/index.ts +4 -4
  29. package/src/services/lcic/v20220817/lcic_client.ts +14 -1
  30. package/src/services/lcic/v20220817/lcic_models.ts +130 -6
  31. package/src/services/mongodb/index.ts +2 -2
  32. package/src/services/mongodb/v20190725/mongodb_client.ts +6 -6
  33. package/src/services/mongodb/v20190725/mongodb_models.ts +36 -29
  34. package/src/services/monitor/v20180724/monitor_client.ts +1 -0
  35. package/src/services/monitor/v20180724/monitor_models.ts +59 -0
  36. package/src/services/mps/v20190612/mps_client.ts +12 -2
  37. package/src/services/mps/v20190612/mps_models.ts +341 -54
  38. package/src/services/ocr/v20181119/ocr_client.ts +25 -6
  39. package/src/services/ocr/v20181119/ocr_models.ts +291 -168
  40. package/src/services/organization/index.ts +2 -2
  41. package/src/services/pts/v20210728/pts_models.ts +16 -4
  42. package/src/services/rum/v20210622/rum_models.ts +10 -5
  43. package/src/services/tbp/index.ts +2 -2
  44. package/src/services/tem/index.ts +2 -2
  45. package/src/services/teo/index.ts +2 -2
  46. package/src/services/teo/v20220901/teo_models.ts +18 -10
  47. package/src/services/thpc/index.ts +4 -4
  48. package/src/services/tione/v20211111/tione_models.ts +52 -7
  49. package/src/services/tke/v20180525/tke_models.ts +21 -8
  50. package/src/services/tourism/index.ts +5 -0
  51. package/src/services/tourism/v20230215/index.ts +6 -0
  52. package/src/services/tourism/v20230215/tourism_client.ts +44 -0
  53. package/src/services/tourism/v20230215/tourism_models.ts +128 -0
  54. package/src/services/trtc/v20190722/trtc_models.ts +2 -2
  55. package/src/services/vm/index.ts +2 -2
  56. package/src/services/vod/v20180717/vod_client.ts +7 -6
  57. package/src/services/vod/v20180717/vod_models.ts +40 -14
  58. package/src/services/yunsou/index.ts +2 -2
  59. package/tencentcloud/common/sdk_version.d.ts +1 -1
  60. package/tencentcloud/common/sdk_version.js +1 -1
  61. package/tencentcloud/services/bma/index.d.ts +4 -4
  62. package/tencentcloud/services/bma/index.js +2 -2
  63. package/tencentcloud/services/captcha/v20190722/captcha_models.d.ts +15 -6
  64. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +4 -4
  65. package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +5 -5
  66. package/tencentcloud/services/cii/index.d.ts +4 -4
  67. package/tencentcloud/services/cii/index.js +2 -2
  68. package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +5 -0
  69. package/tencentcloud/services/clb/v20180317/clb_models.d.ts +18 -0
  70. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +18 -0
  71. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +1 -1
  72. package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +41 -9
  73. package/tencentcloud/services/cwp/v20180228/cwp_client.js +60 -12
  74. package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +881 -35
  75. package/tencentcloud/services/dbbrain/index.d.ts +4 -4
  76. package/tencentcloud/services/dbbrain/index.js +2 -2
  77. package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.d.ts +5 -1
  78. package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.js +6 -0
  79. package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +33 -2
  80. package/tencentcloud/services/dc/v20180410/dc_models.d.ts +14 -3
  81. package/tencentcloud/services/emr/v20190103/emr_client.d.ts +9 -1
  82. package/tencentcloud/services/emr/v20190103/emr_client.js +12 -0
  83. package/tencentcloud/services/emr/v20190103/emr_models.d.ts +117 -4
  84. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +1 -1
  85. package/tencentcloud/services/ess/v20201111/ess_client.js +1 -1
  86. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +1 -1
  87. package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +1 -1
  88. package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +1 -1
  89. package/tencentcloud/services/gaap/v20180529/gaap_models.d.ts +1 -1
  90. package/tencentcloud/services/index.d.ts +1 -0
  91. package/tencentcloud/services/index.js +2 -0
  92. package/tencentcloud/services/iotvideo/index.d.ts +6 -6
  93. package/tencentcloud/services/iotvideo/index.js +4 -4
  94. package/tencentcloud/services/lcic/v20220817/lcic_client.d.ts +5 -1
  95. package/tencentcloud/services/lcic/v20220817/lcic_client.js +6 -0
  96. package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +110 -5
  97. package/tencentcloud/services/mongodb/index.d.ts +4 -4
  98. package/tencentcloud/services/mongodb/index.js +2 -2
  99. package/tencentcloud/services/mongodb/v20190725/mongodb_client.d.ts +6 -6
  100. package/tencentcloud/services/mongodb/v20190725/mongodb_client.js +6 -6
  101. package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +32 -25
  102. package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +50 -0
  103. package/tencentcloud/services/mps/v20190612/mps_models.d.ts +291 -44
  104. package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +7 -1
  105. package/tencentcloud/services/ocr/v20181119/ocr_client.js +8 -0
  106. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +254 -146
  107. package/tencentcloud/services/organization/index.d.ts +4 -4
  108. package/tencentcloud/services/organization/index.js +2 -2
  109. package/tencentcloud/services/pts/v20210728/pts_models.d.ts +14 -2
  110. package/tencentcloud/services/rum/v20210622/rum_models.d.ts +9 -5
  111. package/tencentcloud/services/tbp/index.d.ts +4 -4
  112. package/tencentcloud/services/tbp/index.js +2 -2
  113. package/tencentcloud/services/tem/index.d.ts +4 -4
  114. package/tencentcloud/services/tem/index.js +2 -2
  115. package/tencentcloud/services/teo/index.d.ts +4 -4
  116. package/tencentcloud/services/teo/index.js +2 -2
  117. package/tencentcloud/services/teo/v20220901/teo_models.d.ts +18 -10
  118. package/tencentcloud/services/thpc/index.d.ts +6 -6
  119. package/tencentcloud/services/thpc/index.js +4 -4
  120. package/tencentcloud/services/tione/v20211111/tione_models.d.ts +44 -7
  121. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +19 -8
  122. package/tencentcloud/services/tourism/index.d.ts +6 -0
  123. package/tencentcloud/services/tourism/index.js +7 -0
  124. package/tencentcloud/services/tourism/v20230215/index.d.ts +6 -0
  125. package/tencentcloud/services/tourism/v20230215/index.js +9 -0
  126. package/tencentcloud/services/tourism/v20230215/tourism_client.d.ts +14 -0
  127. package/tencentcloud/services/tourism/v20230215/tourism_client.js +37 -0
  128. package/tencentcloud/services/tourism/v20230215/tourism_models.d.ts +95 -0
  129. package/tencentcloud/services/tourism/v20230215/tourism_models.js +18 -0
  130. package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +2 -2
  131. package/tencentcloud/services/vm/index.d.ts +4 -4
  132. package/tencentcloud/services/vm/index.js +2 -2
  133. package/tencentcloud/services/vod/v20180717/vod_client.d.ts +6 -6
  134. package/tencentcloud/services/vod/v20180717/vod_client.js +6 -6
  135. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +36 -14
  136. package/tencentcloud/services/yunsou/index.d.ts +4 -4
  137. package/tencentcloud/services/yunsou/index.js +2 -2
  138. package/test/cwp.v20180228.test.js +88 -8
  139. package/test/dbbrain.v20210527.test.js +10 -0
  140. package/test/emr.v20190103.test.js +20 -0
  141. package/test/lcic.v20220817.test.js +10 -0
  142. package/test/ocr.v20181119.test.js +10 -0
  143. package/test/tourism.v20230215.test.js +31 -0
@@ -28,7 +28,7 @@ class Client extends abstract_client_1.AbstractClient {
28
28
  super("vod.tencentcloudapi.com", "2018-07-17", clientConfig);
29
29
  }
30
30
  /**
31
- * 创建一个用户自定义的图片处理模板,数量上限:16。最多支持三次操作,例如:裁剪-缩略-裁剪。
31
+ * 创建一个用户自定义的图片处理模板,数量上限:16。最多支持十次操作,例如:裁剪-缩略-裁剪-模糊-缩略-裁剪-缩略-裁剪-模糊-缩略。
32
32
  */
33
33
  async CreateImageProcessingTemplate(req, cb) {
34
34
  return this.request("CreateImageProcessingTemplate", req, cb);
@@ -130,7 +130,7 @@ class Client extends abstract_client_1.AbstractClient {
130
130
  return this.request("ProcessMediaByProcedure", req, cb);
131
131
  }
132
132
  /**
133
- * 修改音画质重生模版。
133
+ * 修改音画质重生模板。
134
134
  */
135
135
  async ModifyRebuildMediaTemplate(req, cb) {
136
136
  return this.request("ModifyRebuildMediaTemplate", req, cb);
@@ -409,7 +409,7 @@ class Client extends abstract_client_1.AbstractClient {
409
409
  return this.request("DescribeDrmKeyProviderInfo", req, cb);
410
410
  }
411
411
  /**
412
- * 删除音画质重生模版。
412
+ * 删除音画质重生模板。
413
413
  */
414
414
  async DeleteRebuildMediaTemplate(req, cb) {
415
415
  return this.request("DeleteRebuildMediaTemplate", req, cb);
@@ -576,7 +576,7 @@ class Client extends abstract_client_1.AbstractClient {
576
576
  return this.request("CreateStorageRegion", req, cb);
577
577
  }
578
578
  /**
579
- * 创建音画质重生模版。
579
+ * 创建音画质重生模板。
580
580
  */
581
581
  async CreateRebuildMediaTemplate(req, cb) {
582
582
  return this.request("CreateRebuildMediaTemplate", req, cb);
@@ -908,7 +908,7 @@ class Client extends abstract_client_1.AbstractClient {
908
908
  return this.request("SetDrmKeyProviderInfo", req, cb);
909
909
  }
910
910
  /**
911
- * 使用模版发起音画质重生。
911
+ * 使用模板发起音画质重生。
912
912
  */
913
913
  async RebuildMediaByTemplate(req, cb) {
914
914
  return this.request("RebuildMediaByTemplate", req, cb);
@@ -1172,7 +1172,7 @@ class Client extends abstract_client_1.AbstractClient {
1172
1172
  return this.request("CreateAIRecognitionTemplate", req, cb);
1173
1173
  }
1174
1174
  /**
1175
- * 获取音画质重生模版列表。
1175
+ * 获取音画质重生模板列表。
1176
1176
  */
1177
1177
  async DescribeRebuildMediaTemplates(req, cb) {
1178
1178
  return this.request("DescribeRebuildMediaTemplates", req, cb);
@@ -735,7 +735,7 @@ export interface ManageTaskResponse {
735
735
  export interface CreateImageProcessingTemplateRequest {
736
736
  /**
737
737
  * 图片处理操作数组,操作将以其在数组中的顺序执行。
738
- <li>长度限制:3。</li>
738
+ <li>长度限制:10。</li>
739
739
  */
740
740
  Operations: Array<ImageOperation>;
741
741
  /**
@@ -1847,7 +1847,7 @@ export interface DescribeClientUploadAccelerationUsageDataResponse {
1847
1847
  */
1848
1848
  export interface ModifyRebuildMediaTemplateRequest {
1849
1849
  /**
1850
- * 音画质重生模版号。
1850
+ * 音画质重生模板号。
1851
1851
  */
1852
1852
  Definition: number;
1853
1853
  /**
@@ -1855,11 +1855,11 @@ export interface ModifyRebuildMediaTemplateRequest {
1855
1855
  */
1856
1856
  SubAppId?: string;
1857
1857
  /**
1858
- * 音画质重生模版名称。
1858
+ * 音画质重生模板名称。
1859
1859
  */
1860
1860
  Name?: string;
1861
1861
  /**
1862
- * 音画质重生模版描述。
1862
+ * 音画质重生模板描述。
1863
1863
  */
1864
1864
  Comment?: string;
1865
1865
  /**
@@ -3071,7 +3071,7 @@ export interface AiAnalysisTaskHighlightResult {
3071
3071
  */
3072
3072
  export interface CreateRebuildMediaTemplateResponse {
3073
3073
  /**
3074
- * 音画质重生模版 ID。
3074
+ * 音画质重生模板 ID。
3075
3075
  */
3076
3076
  Definition?: number;
3077
3077
  /**
@@ -3138,6 +3138,24 @@ export interface MediaImageSpriteItem {
3138
3138
  */
3139
3139
  WebVttUrl: string;
3140
3140
  }
3141
+ /**
3142
+ * 图片模糊处理。
3143
+ */
3144
+ export interface ImageBlur {
3145
+ /**
3146
+ * 图片模糊的操作类型。可选模式有:
3147
+ <li>Gaussian : 高斯模糊。</li>
3148
+ */
3149
+ Type: string;
3150
+ /**
3151
+ * 模糊半径,取值范围为1 - 50。当 Type 取值为 Gaussian 时此字段有效。
3152
+ */
3153
+ Radius?: number;
3154
+ /**
3155
+ * 正态分布的标准差,必须大于0。当 Type 取值为 Gaussian 时此字段有效。
3156
+ */
3157
+ Sigma?: number;
3158
+ }
3141
3159
  /**
3142
3160
  * ModifyVodDomainAccelerateConfig请求参数结构体
3143
3161
  */
@@ -5371,11 +5389,11 @@ export interface RemoveWatermarkResponse {
5371
5389
  RequestId?: string;
5372
5390
  }
5373
5391
  /**
5374
- * 音画质重生模版详情。
5392
+ * 音画质重生模板详情。
5375
5393
  */
5376
5394
  export interface RebuildMediaTemplate {
5377
5395
  /**
5378
- * 音画质重生模版号。
5396
+ * 音画质重生模板号。
5379
5397
  */
5380
5398
  Definition?: number;
5381
5399
  /**
@@ -5385,11 +5403,11 @@ export interface RebuildMediaTemplate {
5385
5403
  */
5386
5404
  Type?: string;
5387
5405
  /**
5388
- * 音画质重生模版名称。
5406
+ * 音画质重生模板名称。
5389
5407
  */
5390
5408
  Name?: string;
5391
5409
  /**
5392
- * 音画质重生模版描述。
5410
+ * 音画质重生模板描述。
5393
5411
  */
5394
5412
  Comment?: string;
5395
5413
  /**
@@ -6657,7 +6675,7 @@ export interface AiAnalysisTaskHighlightOutput {
6657
6675
  */
6658
6676
  export interface DescribeRebuildMediaTemplatesRequest {
6659
6677
  /**
6660
- * 音画质重生模版列表。
6678
+ * 音画质重生模板列表。
6661
6679
  */
6662
6680
  Definitions?: Array<number>;
6663
6681
  /**
@@ -7578,7 +7596,7 @@ export interface DeleteRebuildMediaTemplateResponse {
7578
7596
  */
7579
7597
  export interface DeleteRebuildMediaTemplateRequest {
7580
7598
  /**
7581
- * 音画质重生模版号。
7599
+ * 音画质重生模板号。
7582
7600
  */
7583
7601
  Definition: number;
7584
7602
  /**
@@ -8607,7 +8625,7 @@ export interface RebuildMediaByTemplateRequest {
8607
8625
  */
8608
8626
  FileId: string;
8609
8627
  /**
8610
- * 音画质重生模版 ID。
8628
+ * 音画质重生模板 ID。
8611
8629
  */
8612
8630
  Definition: number;
8613
8631
  /**
@@ -14888,11 +14906,11 @@ export interface CreateRebuildMediaTemplateRequest {
14888
14906
  */
14889
14907
  SubAppId?: number;
14890
14908
  /**
14891
- * 音画质重生模版名称。
14909
+ * 音画质重生模板名称。
14892
14910
  */
14893
14911
  Name?: string;
14894
14912
  /**
14895
- * 模版描述。
14913
+ * 模板描述。
14896
14914
  */
14897
14915
  Comment?: string;
14898
14916
  /**
@@ -14944,6 +14962,10 @@ export interface ImageOperation {
14944
14962
  * 图片裁剪处理,仅当 Type 为 CenterCut 时有效。
14945
14963
  */
14946
14964
  CenterCut?: ImageCenterCut;
14965
+ /**
14966
+ * 图片模糊处理,仅当 Type 为 Blur 时有效。
14967
+ */
14968
+ Blur?: ImageBlur;
14947
14969
  }
14948
14970
  /**
14949
14971
  * 转自适应码流子流信息。
@@ -1,10 +1,10 @@
1
1
  export declare const yunsou: {
2
- v20180504: {
3
- Client: typeof import("./v20180504/yunsou_client").Client;
4
- Models: typeof import("./v20180504/yunsou_models");
5
- };
6
2
  v20191115: {
7
3
  Client: typeof import("./v20191115/yunsou_client").Client;
8
4
  Models: typeof import("./v20191115/yunsou_models");
9
5
  };
6
+ v20180504: {
7
+ Client: typeof import("./v20180504/yunsou_client").Client;
8
+ Models: typeof import("./v20180504/yunsou_models");
9
+ };
10
10
  };
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.yunsou = void 0;
4
- const v20180504_1 = require("./v20180504");
5
4
  const v20191115_1 = require("./v20191115");
5
+ const v20180504_1 = require("./v20180504");
6
6
  exports.yunsou = {
7
- v20180504: v20180504_1.v20180504,
8
7
  v20191115: v20191115_1.v20191115,
8
+ v20180504: v20180504_1.v20180504,
9
9
  };
@@ -98,6 +98,16 @@ it("cwp.v20180228.DeleteMachineTag", async function () {
98
98
  }
99
99
  })
100
100
 
101
+ it("cwp.v20180228.DescribeVertexDetail", async function () {
102
+ try {
103
+ const data = await client.DescribeVertexDetail({})
104
+ expect(data).to.be.ok
105
+ } catch(error) {
106
+ expect(error.requestId).to.be.ok
107
+ expect(error.code).to.be.ok
108
+ }
109
+ })
110
+
101
111
  it("cwp.v20180228.DescribeAttackLogs", async function () {
102
112
  try {
103
113
  const data = await client.DescribeAttackLogs({})
@@ -218,9 +228,9 @@ it("cwp.v20180228.DescribeScanTaskDetails", async function () {
218
228
  }
219
229
  })
220
230
 
221
- it("cwp.v20180228.DescribeServerRelatedDirInfo", async function () {
231
+ it("cwp.v20180228.DescribeEventByTable", async function () {
222
232
  try {
223
- const data = await client.DescribeServerRelatedDirInfo({})
233
+ const data = await client.DescribeEventByTable({})
224
234
  expect(data).to.be.ok
225
235
  } catch(error) {
226
236
  expect(error.requestId).to.be.ok
@@ -328,9 +338,9 @@ it("cwp.v20180228.DescribeExpertServiceList", async function () {
328
338
  }
329
339
  })
330
340
 
331
- it("cwp.v20180228.DescribeBaselineList", async function () {
341
+ it("cwp.v20180228.DescribeAlarmVertexId", async function () {
332
342
  try {
333
- const data = await client.DescribeBaselineList({})
343
+ const data = await client.DescribeAlarmVertexId({})
334
344
  expect(data).to.be.ok
335
345
  } catch(error) {
336
346
  expect(error.requestId).to.be.ok
@@ -658,6 +668,16 @@ it("cwp.v20180228.CreateSearchLog", async function () {
658
668
  }
659
669
  })
660
670
 
671
+ it("cwp.v20180228.DescribeAlarmIncidentNodes", async function () {
672
+ try {
673
+ const data = await client.DescribeAlarmIncidentNodes({})
674
+ expect(data).to.be.ok
675
+ } catch(error) {
676
+ expect(error.requestId).to.be.ok
677
+ expect(error.code).to.be.ok
678
+ }
679
+ })
680
+
661
681
  it("cwp.v20180228.DescribeEmergencyVulList", async function () {
662
682
  try {
663
683
  const data = await client.DescribeEmergencyVulList({})
@@ -678,6 +698,16 @@ it("cwp.v20180228.StopNoticeBanTips", async function () {
678
698
  }
679
699
  })
680
700
 
701
+ it("cwp.v20180228.DescribeReverseShellEventInfo", async function () {
702
+ try {
703
+ const data = await client.DescribeReverseShellEventInfo({})
704
+ expect(data).to.be.ok
705
+ } catch(error) {
706
+ expect(error.requestId).to.be.ok
707
+ expect(error.code).to.be.ok
708
+ }
709
+ })
710
+
681
711
  it("cwp.v20180228.IgnoreImpactedHosts", async function () {
682
712
  try {
683
713
  const data = await client.IgnoreImpactedHosts({})
@@ -728,6 +758,16 @@ it("cwp.v20180228.ExportIgnoreBaselineRule", async function () {
728
758
  }
729
759
  })
730
760
 
761
+ it("cwp.v20180228.DescribePrivilegeEventInfo", async function () {
762
+ try {
763
+ const data = await client.DescribePrivilegeEventInfo({})
764
+ expect(data).to.be.ok
765
+ } catch(error) {
766
+ expect(error.requestId).to.be.ok
767
+ expect(error.code).to.be.ok
768
+ }
769
+ })
770
+
731
771
  it("cwp.v20180228.DescribeBashEventsInfoNew", async function () {
732
772
  try {
733
773
  const data = await client.DescribeBashEventsInfoNew({})
@@ -1238,9 +1278,9 @@ it("cwp.v20180228.ExportBaselineRuleDetectList", async function () {
1238
1278
  }
1239
1279
  })
1240
1280
 
1241
- it("cwp.v20180228.ExportBruteAttacks", async function () {
1281
+ it("cwp.v20180228.DescribeServerRelatedDirInfo", async function () {
1242
1282
  try {
1243
- const data = await client.ExportBruteAttacks({})
1283
+ const data = await client.DescribeServerRelatedDirInfo({})
1244
1284
  expect(data).to.be.ok
1245
1285
  } catch(error) {
1246
1286
  expect(error.requestId).to.be.ok
@@ -1588,6 +1628,16 @@ it("cwp.v20180228.DescribeBashEventsNew", async function () {
1588
1628
  }
1589
1629
  })
1590
1630
 
1631
+ it("cwp.v20180228.DescribeFileTamperEvents", async function () {
1632
+ try {
1633
+ const data = await client.DescribeFileTamperEvents({})
1634
+ expect(data).to.be.ok
1635
+ } catch(error) {
1636
+ expect(error.requestId).to.be.ok
1637
+ expect(error.code).to.be.ok
1638
+ }
1639
+ })
1640
+
1591
1641
  it("cwp.v20180228.ExportNonlocalLoginPlaces", async function () {
1592
1642
  try {
1593
1643
  const data = await client.ExportNonlocalLoginPlaces({})
@@ -1668,6 +1718,16 @@ it("cwp.v20180228.DescribeAssetWebLocationList", async function () {
1668
1718
  }
1669
1719
  })
1670
1720
 
1721
+ it("cwp.v20180228.DescribeRiskDnsEventInfo", async function () {
1722
+ try {
1723
+ const data = await client.DescribeRiskDnsEventInfo({})
1724
+ expect(data).to.be.ok
1725
+ } catch(error) {
1726
+ expect(error.requestId).to.be.ok
1727
+ expect(error.code).to.be.ok
1728
+ }
1729
+ })
1730
+
1671
1731
  it("cwp.v20180228.DescribeAssetAppProcessList", async function () {
1672
1732
  try {
1673
1733
  const data = await client.DescribeAssetAppProcessList({})
@@ -2048,9 +2108,9 @@ it("cwp.v20180228.CreateProtectServer", async function () {
2048
2108
  }
2049
2109
  })
2050
2110
 
2051
- it("cwp.v20180228.DescribeScanState", async function () {
2111
+ it("cwp.v20180228.DescribeBaselineList", async function () {
2052
2112
  try {
2053
- const data = await client.DescribeScanState({})
2113
+ const data = await client.DescribeBaselineList({})
2054
2114
  expect(data).to.be.ok
2055
2115
  } catch(error) {
2056
2116
  expect(error.requestId).to.be.ok
@@ -2358,6 +2418,16 @@ it("cwp.v20180228.DescribeBaselineFixList", async function () {
2358
2418
  }
2359
2419
  })
2360
2420
 
2421
+ it("cwp.v20180228.DescribeScanState", async function () {
2422
+ try {
2423
+ const data = await client.DescribeScanState({})
2424
+ expect(data).to.be.ok
2425
+ } catch(error) {
2426
+ expect(error.requestId).to.be.ok
2427
+ expect(error.code).to.be.ok
2428
+ }
2429
+ })
2430
+
2361
2431
  it("cwp.v20180228.DescribeStrategyExist", async function () {
2362
2432
  try {
2363
2433
  const data = await client.DescribeStrategyExist({})
@@ -2368,6 +2438,16 @@ it("cwp.v20180228.DescribeStrategyExist", async function () {
2368
2438
  }
2369
2439
  })
2370
2440
 
2441
+ it("cwp.v20180228.ExportBruteAttacks", async function () {
2442
+ try {
2443
+ const data = await client.ExportBruteAttacks({})
2444
+ expect(data).to.be.ok
2445
+ } catch(error) {
2446
+ expect(error.requestId).to.be.ok
2447
+ expect(error.code).to.be.ok
2448
+ }
2449
+ })
2450
+
2371
2451
  it("cwp.v20180228.DescribeWebPageServiceInfo", async function () {
2372
2452
  try {
2373
2453
  const data = await client.DescribeWebPageServiceInfo({})
@@ -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({})
@@ -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({})
@@ -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({})
@@ -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
+ })