tencentcloud-sdk-nodejs 4.0.319 → 4.0.322

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 (181) hide show
  1. package/CHANGELOG.md +320 -0
  2. package/SERVICE_CHANGELOG.md +840 -122
  3. package/package.json +1 -1
  4. package/products.md +170 -169
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/ame/v20190916/ame_models.ts +14 -4
  7. package/src/services/ams/v20201229/ams_models.ts +14 -0
  8. package/src/services/antiddos/v20200309/antiddos_client.ts +1 -1
  9. package/src/services/antiddos/v20200309/antiddos_models.ts +28 -21
  10. package/src/services/as/v20180419/as_client.ts +2 -18
  11. package/src/services/as/v20180419/as_models.ts +32 -97
  12. package/src/services/batch/v20170312/batch_models.ts +69 -69
  13. package/src/services/bmvpc/v20180625/bmvpc_models.ts +2 -2
  14. package/src/services/bsca/index.ts +5 -0
  15. package/src/services/bsca/v20210811/bsca_client.ts +93 -0
  16. package/src/services/bsca/v20210811/bsca_models.ts +636 -0
  17. package/src/services/bsca/v20210811/index.ts +6 -0
  18. package/src/services/cam/v20190116/cam_client.ts +59 -11
  19. package/src/services/cam/v20190116/cam_models.ts +275 -68
  20. package/src/services/captcha/v20190722/captcha_client.ts +2 -2
  21. package/src/services/captcha/v20190722/captcha_models.ts +4 -4
  22. package/src/services/cdb/v20170320/cdb_models.ts +23 -3
  23. package/src/services/cdn/v20180606/cdn_client.ts +3 -3
  24. package/src/services/cdn/v20180606/cdn_models.ts +84 -49
  25. package/src/services/cfw/v20190904/cfw_models.ts +22 -6
  26. package/src/services/cls/v20201016/cls_client.ts +101 -26
  27. package/src/services/cls/v20201016/cls_models.ts +548 -198
  28. package/src/services/cvm/v20170312/cvm_client.ts +1 -1
  29. package/src/services/cvm/v20170312/cvm_models.ts +21 -6
  30. package/src/services/cwp/v20180228/cwp_models.ts +17 -9
  31. package/src/services/ecdn/v20191012/ecdn_client.ts +1 -1
  32. package/src/services/ecdn/v20191012/ecdn_models.ts +2 -2
  33. package/src/services/ess/v20201111/ess_models.ts +7 -3
  34. package/src/services/essbasic/v20210526/essbasic_models.ts +1 -1
  35. package/src/services/faceid/v20180301/faceid_models.ts +7 -1
  36. package/src/services/gs/v20191118/gs_models.ts +7 -0
  37. package/src/services/iecp/v20210914/iecp_client.ts +167 -20
  38. package/src/services/iecp/v20210914/iecp_models.ts +892 -217
  39. package/src/services/index.ts +1 -0
  40. package/src/services/iotcloud/v20180614/iotcloud_client.ts +24 -0
  41. package/src/services/iotcloud/v20180614/iotcloud_models.ts +85 -0
  42. package/src/services/iotcloud/v20210408/iotcloud_client.ts +175 -64
  43. package/src/services/iotcloud/v20210408/iotcloud_models.ts +579 -82
  44. package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +45 -45
  45. package/src/services/lighthouse/v20200324/lighthouse_client.ts +1 -1
  46. package/src/services/lighthouse/v20200324/lighthouse_models.ts +30 -8
  47. package/src/services/live/v20180801/live_client.ts +3 -2
  48. package/src/services/mongodb/v20190725/mongodb_client.ts +13 -0
  49. package/src/services/mongodb/v20190725/mongodb_models.ts +55 -0
  50. package/src/services/ocr/v20181119/ocr_client.ts +1 -1
  51. package/src/services/ocr/v20181119/ocr_models.ts +6 -8
  52. package/src/services/ssa/v20180608/ssa_client.ts +18 -1
  53. package/src/services/ssa/v20180608/ssa_models.ts +303 -30
  54. package/src/services/ssl/v20191205/ssl_models.ts +2 -2
  55. package/src/services/tag/v20180813/tag_client.ts +203 -105
  56. package/src/services/tag/v20180813/tag_models.ts +377 -47
  57. package/src/services/tcm/v20210413/tcm_models.ts +1 -1
  58. package/src/services/tdmq/v20200217/tdmq_models.ts +36 -0
  59. package/src/services/thpc/index.ts +2 -0
  60. package/src/services/thpc/v20211109/thpc_client.ts +3 -1
  61. package/src/services/thpc/v20211109/thpc_models.ts +93 -14
  62. package/src/services/thpc/v20220401/index.ts +6 -0
  63. package/src/services/thpc/v20220401/thpc_client.ts +121 -0
  64. package/src/services/thpc/v20220401/thpc_models.ts +805 -0
  65. package/src/services/tke/v20180525/tke_client.ts +63 -11
  66. package/src/services/tke/v20180525/tke_models.ts +410 -117
  67. package/src/services/tsf/v20180326/tsf_client.ts +15 -0
  68. package/src/services/tsf/v20180326/tsf_models.ts +175 -0
  69. package/src/services/vpc/v20170312/vpc_models.ts +2 -2
  70. package/src/services/wav/v20210129/wav_client.ts +154 -76
  71. package/src/services/wav/v20210129/wav_models.ts +541 -25
  72. package/tencentcloud/common/sdk_version.d.ts +1 -1
  73. package/tencentcloud/common/sdk_version.js +1 -1
  74. package/tencentcloud/services/ame/v20190916/ame_models.d.ts +9 -0
  75. package/tencentcloud/services/ams/v20201229/ams_models.d.ts +12 -0
  76. package/tencentcloud/services/antiddos/v20200309/antiddos_client.d.ts +1 -1
  77. package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +28 -21
  78. package/tencentcloud/services/as/v20180419/as_client.d.ts +1 -8
  79. package/tencentcloud/services/as/v20180419/as_client.js +0 -9
  80. package/tencentcloud/services/as/v20180419/as_models.d.ts +28 -83
  81. package/tencentcloud/services/batch/v20170312/batch_models.d.ts +69 -69
  82. package/tencentcloud/services/bmvpc/v20180625/bmvpc_models.d.ts +2 -2
  83. package/tencentcloud/services/bsca/index.d.ts +6 -0
  84. package/tencentcloud/services/bsca/index.js +7 -0
  85. package/tencentcloud/services/bsca/v20210811/bsca_client.d.ts +26 -0
  86. package/tencentcloud/services/bsca/v20210811/bsca_client.js +55 -0
  87. package/tencentcloud/services/bsca/v20210811/bsca_models.d.ts +533 -0
  88. package/tencentcloud/services/bsca/v20210811/bsca_models.js +18 -0
  89. package/tencentcloud/services/bsca/v20210811/index.d.ts +6 -0
  90. package/tencentcloud/services/bsca/v20210811/index.js +9 -0
  91. package/tencentcloud/services/cam/v20190116/cam_client.d.ts +19 -3
  92. package/tencentcloud/services/cam/v20190116/cam_client.js +27 -3
  93. package/tencentcloud/services/cam/v20190116/cam_models.d.ts +232 -60
  94. package/tencentcloud/services/captcha/v20190722/captcha_client.d.ts +2 -2
  95. package/tencentcloud/services/captcha/v20190722/captcha_client.js +2 -2
  96. package/tencentcloud/services/captcha/v20190722/captcha_models.d.ts +4 -4
  97. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +19 -3
  98. package/tencentcloud/services/cdn/v20180606/cdn_client.d.ts +3 -3
  99. package/tencentcloud/services/cdn/v20180606/cdn_client.js +3 -3
  100. package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +78 -47
  101. package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +19 -6
  102. package/tencentcloud/services/cls/v20201016/cls_client.d.ts +31 -7
  103. package/tencentcloud/services/cls/v20201016/cls_client.js +45 -9
  104. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +479 -181
  105. package/tencentcloud/services/cvm/v20170312/cvm_client.d.ts +1 -1
  106. package/tencentcloud/services/cvm/v20170312/cvm_client.js +1 -1
  107. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +18 -6
  108. package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +16 -9
  109. package/tencentcloud/services/ecdn/v20191012/ecdn_client.d.ts +1 -1
  110. package/tencentcloud/services/ecdn/v20191012/ecdn_client.js +1 -1
  111. package/tencentcloud/services/ecdn/v20191012/ecdn_models.d.ts +2 -2
  112. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +6 -2
  113. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +1 -1
  114. package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +6 -1
  115. package/tencentcloud/services/gs/v20191118/gs_models.d.ts +6 -0
  116. package/tencentcloud/services/iecp/v20210914/iecp_client.d.ts +51 -3
  117. package/tencentcloud/services/iecp/v20210914/iecp_client.js +75 -3
  118. package/tencentcloud/services/iecp/v20210914/iecp_models.d.ts +756 -189
  119. package/tencentcloud/services/index.d.ts +1 -0
  120. package/tencentcloud/services/index.js +2 -0
  121. package/tencentcloud/services/iotcloud/v20180614/iotcloud_client.d.ts +9 -1
  122. package/tencentcloud/services/iotcloud/v20180614/iotcloud_client.js +12 -0
  123. package/tencentcloud/services/iotcloud/v20180614/iotcloud_models.d.ts +72 -0
  124. package/tencentcloud/services/iotcloud/v20210408/iotcloud_client.d.ts +57 -21
  125. package/tencentcloud/services/iotcloud/v20210408/iotcloud_client.js +84 -30
  126. package/tencentcloud/services/iotcloud/v20210408/iotcloud_models.d.ts +497 -77
  127. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +45 -45
  128. package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.d.ts +1 -1
  129. package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.js +1 -1
  130. package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +27 -7
  131. package/tencentcloud/services/live/v20180801/live_client.d.ts +1 -0
  132. package/tencentcloud/services/live/v20180801/live_client.js +1 -0
  133. package/tencentcloud/services/mongodb/v20190725/mongodb_client.d.ts +5 -1
  134. package/tencentcloud/services/mongodb/v20190725/mongodb_client.js +6 -0
  135. package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +47 -0
  136. package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +1 -1
  137. package/tencentcloud/services/ocr/v20181119/ocr_client.js +1 -1
  138. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +6 -8
  139. package/tencentcloud/services/ssa/v20180608/ssa_client.d.ts +5 -1
  140. package/tencentcloud/services/ssa/v20180608/ssa_client.js +6 -0
  141. package/tencentcloud/services/ssa/v20180608/ssa_models.d.ts +261 -30
  142. package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +2 -2
  143. package/tencentcloud/services/tag/v20180813/tag_client.d.ts +68 -36
  144. package/tencentcloud/services/tag/v20180813/tag_client.js +101 -53
  145. package/tencentcloud/services/tag/v20180813/tag_models.d.ts +329 -40
  146. package/tencentcloud/services/tcm/v20210413/tcm_models.d.ts +1 -1
  147. package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +30 -0
  148. package/tencentcloud/services/thpc/index.d.ts +4 -0
  149. package/tencentcloud/services/thpc/index.js +2 -0
  150. package/tencentcloud/services/thpc/v20211109/thpc_client.d.ts +1 -1
  151. package/tencentcloud/services/thpc/v20211109/thpc_models.d.ts +79 -12
  152. package/tencentcloud/services/thpc/v20220401/index.d.ts +6 -0
  153. package/tencentcloud/services/thpc/v20220401/index.js +9 -0
  154. package/tencentcloud/services/thpc/v20220401/thpc_client.d.ts +34 -0
  155. package/tencentcloud/services/thpc/v20220401/thpc_client.js +67 -0
  156. package/tencentcloud/services/thpc/v20220401/thpc_models.d.ts +671 -0
  157. package/tencentcloud/services/thpc/v20220401/thpc_models.js +18 -0
  158. package/tencentcloud/services/tke/v20180525/tke_client.d.ts +19 -3
  159. package/tencentcloud/services/tke/v20180525/tke_client.js +27 -3
  160. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +347 -100
  161. package/tencentcloud/services/tsf/v20180326/tsf_client.d.ts +5 -1
  162. package/tencentcloud/services/tsf/v20180326/tsf_client.js +6 -0
  163. package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +149 -0
  164. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +2 -2
  165. package/tencentcloud/services/wav/v20210129/wav_client.d.ts +51 -27
  166. package/tencentcloud/services/wav/v20210129/wav_client.js +75 -39
  167. package/tencentcloud/services/wav/v20210129/wav_models.d.ts +459 -24
  168. package/test/as.v20180419.test.js +0 -10
  169. package/test/bsca.v20210811.test.js +61 -0
  170. package/test/cam.v20190116.test.js +42 -2
  171. package/test/cls.v20201016.test.js +66 -6
  172. package/test/iecp.v20210914.test.js +122 -2
  173. package/test/iotcloud.v20180614.test.js +20 -0
  174. package/test/iotcloud.v20210408.test.js +110 -20
  175. package/test/mongodb.v20190725.test.js +10 -0
  176. package/test/ssa.v20180608.test.js +10 -0
  177. package/test/tag.v20180813.test.js +116 -36
  178. package/test/thpc.v20220401.test.js +81 -0
  179. package/test/tke.v20180525.test.js +42 -2
  180. package/test/tsf.v20180326.test.js +10 -0
  181. package/test/wav.v20210129.test.js +86 -26
@@ -18,6 +18,16 @@ const client = new tencentcloud.tag.v20180813.Client({
18
18
  })
19
19
  describe("tag.v20180813.test.js", function () {
20
20
 
21
+ it("tag.v20180813.DeleteTags", async function () {
22
+ try {
23
+ const data = await client.DeleteTags({})
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
+
21
31
  it("tag.v20180813.DescribeResourceTagsByTagKeys", async function () {
22
32
  try {
23
33
  const data = await client.DescribeResourceTagsByTagKeys({})
@@ -28,9 +38,9 @@ it("tag.v20180813.DescribeResourceTagsByTagKeys", async function () {
28
38
  }
29
39
  })
30
40
 
31
- it("tag.v20180813.DescribeTagValuesSeq", async function () {
41
+ it("tag.v20180813.GetTagValues", async function () {
32
42
  try {
33
- const data = await client.DescribeTagValuesSeq({})
43
+ const data = await client.GetTagValues({})
34
44
  expect(data).to.be.ok
35
45
  } catch(error) {
36
46
  expect(error.requestId).to.be.ok
@@ -38,9 +48,9 @@ it("tag.v20180813.DescribeTagValuesSeq", async function () {
38
48
  }
39
49
  })
40
50
 
41
- it("tag.v20180813.DetachResourcesTag", async function () {
51
+ it("tag.v20180813.DescribeResourceTagsByResourceIds", async function () {
42
52
  try {
43
- const data = await client.DetachResourcesTag({})
53
+ const data = await client.DescribeResourceTagsByResourceIds({})
44
54
  expect(data).to.be.ok
45
55
  } catch(error) {
46
56
  expect(error.requestId).to.be.ok
@@ -48,9 +58,9 @@ it("tag.v20180813.DetachResourcesTag", async function () {
48
58
  }
49
59
  })
50
60
 
51
- it("tag.v20180813.DescribeTagValues", async function () {
61
+ it("tag.v20180813.UpdateResourceTagValue", async function () {
52
62
  try {
53
- const data = await client.DescribeTagValues({})
63
+ const data = await client.UpdateResourceTagValue({})
54
64
  expect(data).to.be.ok
55
65
  } catch(error) {
56
66
  expect(error.requestId).to.be.ok
@@ -58,9 +68,59 @@ it("tag.v20180813.DescribeTagValues", async function () {
58
68
  }
59
69
  })
60
70
 
61
- it("tag.v20180813.DescribeResourceTagsByResourceIds", async function () {
71
+ it("tag.v20180813.DescribeResourceTagsByResourceIdsSeq", async function () {
62
72
  try {
63
- const data = await client.DescribeResourceTagsByResourceIds({})
73
+ const data = await client.DescribeResourceTagsByResourceIdsSeq({})
74
+ expect(data).to.be.ok
75
+ } catch(error) {
76
+ expect(error.requestId).to.be.ok
77
+ expect(error.code).to.be.ok
78
+ }
79
+ })
80
+
81
+ it("tag.v20180813.GetTags", async function () {
82
+ try {
83
+ const data = await client.GetTags({})
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("tag.v20180813.ModifyResourcesTagValue", async function () {
92
+ try {
93
+ const data = await client.ModifyResourcesTagValue({})
94
+ expect(data).to.be.ok
95
+ } catch(error) {
96
+ expect(error.requestId).to.be.ok
97
+ expect(error.code).to.be.ok
98
+ }
99
+ })
100
+
101
+ it("tag.v20180813.DescribeResourcesByTags", async function () {
102
+ try {
103
+ const data = await client.DescribeResourcesByTags({})
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
+
111
+ it("tag.v20180813.DeleteTag", async function () {
112
+ try {
113
+ const data = await client.DeleteTag({})
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
+
121
+ it("tag.v20180813.GetResources", async function () {
122
+ try {
123
+ const data = await client.GetResources({})
64
124
  expect(data).to.be.ok
65
125
  } catch(error) {
66
126
  expect(error.requestId).to.be.ok
@@ -78,9 +138,9 @@ it("tag.v20180813.DescribeResourceTags", async function () {
78
138
  }
79
139
  })
80
140
 
81
- it("tag.v20180813.ModifyResourceTags", async function () {
141
+ it("tag.v20180813.GetTagKeys", async function () {
82
142
  try {
83
- const data = await client.ModifyResourceTags({})
143
+ const data = await client.GetTagKeys({})
84
144
  expect(data).to.be.ok
85
145
  } catch(error) {
86
146
  expect(error.requestId).to.be.ok
@@ -88,9 +148,9 @@ it("tag.v20180813.ModifyResourceTags", async function () {
88
148
  }
89
149
  })
90
150
 
91
- it("tag.v20180813.DescribeTagKeys", async function () {
151
+ it("tag.v20180813.DescribeTagsSeq", async function () {
92
152
  try {
93
- const data = await client.DescribeTagKeys({})
153
+ const data = await client.DescribeTagsSeq({})
94
154
  expect(data).to.be.ok
95
155
  } catch(error) {
96
156
  expect(error.requestId).to.be.ok
@@ -98,9 +158,9 @@ it("tag.v20180813.DescribeTagKeys", async function () {
98
158
  }
99
159
  })
100
160
 
101
- it("tag.v20180813.UpdateResourceTagValue", async function () {
161
+ it("tag.v20180813.AddResourceTag", async function () {
102
162
  try {
103
- const data = await client.UpdateResourceTagValue({})
163
+ const data = await client.AddResourceTag({})
104
164
  expect(data).to.be.ok
105
165
  } catch(error) {
106
166
  expect(error.requestId).to.be.ok
@@ -108,9 +168,9 @@ it("tag.v20180813.UpdateResourceTagValue", async function () {
108
168
  }
109
169
  })
110
170
 
111
- it("tag.v20180813.DeleteResourceTag", async function () {
171
+ it("tag.v20180813.AttachResourcesTag", async function () {
112
172
  try {
113
- const data = await client.DeleteResourceTag({})
173
+ const data = await client.AttachResourcesTag({})
114
174
  expect(data).to.be.ok
115
175
  } catch(error) {
116
176
  expect(error.requestId).to.be.ok
@@ -118,9 +178,9 @@ it("tag.v20180813.DeleteResourceTag", async function () {
118
178
  }
119
179
  })
120
180
 
121
- it("tag.v20180813.DescribeResourcesByTagsUnion", async function () {
181
+ it("tag.v20180813.CreateTag", async function () {
122
182
  try {
123
- const data = await client.DescribeResourcesByTagsUnion({})
183
+ const data = await client.CreateTag({})
124
184
  expect(data).to.be.ok
125
185
  } catch(error) {
126
186
  expect(error.requestId).to.be.ok
@@ -128,9 +188,9 @@ it("tag.v20180813.DescribeResourcesByTagsUnion", async function () {
128
188
  }
129
189
  })
130
190
 
131
- it("tag.v20180813.DescribeResourceTagsByResourceIdsSeq", async function () {
191
+ it("tag.v20180813.DetachResourcesTag", async function () {
132
192
  try {
133
- const data = await client.DescribeResourceTagsByResourceIdsSeq({})
193
+ const data = await client.DetachResourcesTag({})
134
194
  expect(data).to.be.ok
135
195
  } catch(error) {
136
196
  expect(error.requestId).to.be.ok
@@ -138,9 +198,9 @@ it("tag.v20180813.DescribeResourceTagsByResourceIdsSeq", async function () {
138
198
  }
139
199
  })
140
200
 
141
- it("tag.v20180813.DescribeTags", async function () {
201
+ it("tag.v20180813.DescribeTagValues", async function () {
142
202
  try {
143
- const data = await client.DescribeTags({})
203
+ const data = await client.DescribeTagValues({})
144
204
  expect(data).to.be.ok
145
205
  } catch(error) {
146
206
  expect(error.requestId).to.be.ok
@@ -148,9 +208,9 @@ it("tag.v20180813.DescribeTags", async function () {
148
208
  }
149
209
  })
150
210
 
151
- it("tag.v20180813.DescribeTagsSeq", async function () {
211
+ it("tag.v20180813.TagResources", async function () {
152
212
  try {
153
- const data = await client.DescribeTagsSeq({})
213
+ const data = await client.TagResources({})
154
214
  expect(data).to.be.ok
155
215
  } catch(error) {
156
216
  expect(error.requestId).to.be.ok
@@ -158,9 +218,9 @@ it("tag.v20180813.DescribeTagsSeq", async function () {
158
218
  }
159
219
  })
160
220
 
161
- it("tag.v20180813.DescribeResourcesByTags", async function () {
221
+ it("tag.v20180813.DeleteResourceTag", async function () {
162
222
  try {
163
- const data = await client.DescribeResourcesByTags({})
223
+ const data = await client.DeleteResourceTag({})
164
224
  expect(data).to.be.ok
165
225
  } catch(error) {
166
226
  expect(error.requestId).to.be.ok
@@ -168,9 +228,9 @@ it("tag.v20180813.DescribeResourcesByTags", async function () {
168
228
  }
169
229
  })
170
230
 
171
- it("tag.v20180813.AddResourceTag", async function () {
231
+ it("tag.v20180813.DescribeTags", async function () {
172
232
  try {
173
- const data = await client.AddResourceTag({})
233
+ const data = await client.DescribeTags({})
174
234
  expect(data).to.be.ok
175
235
  } catch(error) {
176
236
  expect(error.requestId).to.be.ok
@@ -178,9 +238,9 @@ it("tag.v20180813.AddResourceTag", async function () {
178
238
  }
179
239
  })
180
240
 
181
- it("tag.v20180813.DeleteTag", async function () {
241
+ it("tag.v20180813.DescribeTagKeys", async function () {
182
242
  try {
183
- const data = await client.DeleteTag({})
243
+ const data = await client.DescribeTagKeys({})
184
244
  expect(data).to.be.ok
185
245
  } catch(error) {
186
246
  expect(error.requestId).to.be.ok
@@ -188,9 +248,9 @@ it("tag.v20180813.DeleteTag", async function () {
188
248
  }
189
249
  })
190
250
 
191
- it("tag.v20180813.AttachResourcesTag", async function () {
251
+ it("tag.v20180813.UnTagResources", async function () {
192
252
  try {
193
- const data = await client.AttachResourcesTag({})
253
+ const data = await client.UnTagResources({})
194
254
  expect(data).to.be.ok
195
255
  } catch(error) {
196
256
  expect(error.requestId).to.be.ok
@@ -198,9 +258,9 @@ it("tag.v20180813.AttachResourcesTag", async function () {
198
258
  }
199
259
  })
200
260
 
201
- it("tag.v20180813.CreateTag", async function () {
261
+ it("tag.v20180813.DescribeTagValuesSeq", async function () {
202
262
  try {
203
- const data = await client.CreateTag({})
263
+ const data = await client.DescribeTagValuesSeq({})
204
264
  expect(data).to.be.ok
205
265
  } catch(error) {
206
266
  expect(error.requestId).to.be.ok
@@ -208,9 +268,29 @@ it("tag.v20180813.CreateTag", async function () {
208
268
  }
209
269
  })
210
270
 
211
- it("tag.v20180813.ModifyResourcesTagValue", async function () {
271
+ it("tag.v20180813.CreateTags", async function () {
212
272
  try {
213
- const data = await client.ModifyResourcesTagValue({})
273
+ const data = await client.CreateTags({})
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
+
281
+ it("tag.v20180813.DescribeResourcesByTagsUnion", async function () {
282
+ try {
283
+ const data = await client.DescribeResourcesByTagsUnion({})
284
+ expect(data).to.be.ok
285
+ } catch(error) {
286
+ expect(error.requestId).to.be.ok
287
+ expect(error.code).to.be.ok
288
+ }
289
+ })
290
+
291
+ it("tag.v20180813.ModifyResourceTags", async function () {
292
+ try {
293
+ const data = await client.ModifyResourceTags({})
214
294
  expect(data).to.be.ok
215
295
  } catch(error) {
216
296
  expect(error.requestId).to.be.ok
@@ -0,0 +1,81 @@
1
+
2
+ const expect = require("chai").expect
3
+ const tencentcloud = require("../../tencentcloud-sdk-nodejs")
4
+ const client = new tencentcloud.thpc.v20220401.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("thpc.v20220401.test.js", function () {
20
+
21
+ it("thpc.v20220401.DeleteNodes", async function () {
22
+ try {
23
+ const data = await client.DeleteNodes({})
24
+ expect(data).to.be.ok
25
+ } catch(error) {
26
+ expect(error.requestId).to.be.ok
27
+ expect(error.code).to.be.ok
28
+ }
29
+ })
30
+
31
+ it("thpc.v20220401.BindAutoScalingGroup", async function () {
32
+ try {
33
+ const data = await client.BindAutoScalingGroup({})
34
+ expect(data).to.be.ok
35
+ } catch(error) {
36
+ expect(error.requestId).to.be.ok
37
+ expect(error.code).to.be.ok
38
+ }
39
+ })
40
+
41
+ it("thpc.v20220401.CreateCluster", async function () {
42
+ try {
43
+ const data = await client.CreateCluster({})
44
+ expect(data).to.be.ok
45
+ } catch(error) {
46
+ expect(error.requestId).to.be.ok
47
+ expect(error.code).to.be.ok
48
+ }
49
+ })
50
+
51
+ it("thpc.v20220401.AddNodes", async function () {
52
+ try {
53
+ const data = await client.AddNodes({})
54
+ expect(data).to.be.ok
55
+ } catch(error) {
56
+ expect(error.requestId).to.be.ok
57
+ expect(error.code).to.be.ok
58
+ }
59
+ })
60
+
61
+ it("thpc.v20220401.DescribeClusters", async function () {
62
+ try {
63
+ const data = await client.DescribeClusters({})
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
+
71
+ it("thpc.v20220401.DeleteCluster", async function () {
72
+ try {
73
+ const data = await client.DeleteCluster({})
74
+ expect(data).to.be.ok
75
+ } catch(error) {
76
+ expect(error.requestId).to.be.ok
77
+ expect(error.code).to.be.ok
78
+ }
79
+ })
80
+
81
+ })
@@ -478,9 +478,9 @@ it("tke.v20180525.DescribeClusterInstances", async function () {
478
478
  }
479
479
  })
480
480
 
481
- it("tke.v20180525.DescribeClusterControllers", async function () {
481
+ it("tke.v20180525.DescribeClusterLevelAttribute", async function () {
482
482
  try {
483
- const data = await client.DescribeClusterControllers({})
483
+ const data = await client.DescribeClusterLevelAttribute({})
484
484
  expect(data).to.be.ok
485
485
  } catch(error) {
486
486
  expect(error.requestId).to.be.ok
@@ -708,6 +708,16 @@ it("tke.v20180525.DeletePrometheusAlertRule", async function () {
708
708
  }
709
709
  })
710
710
 
711
+ it("tke.v20180525.DescribeClusterLevelChangeRecords", async function () {
712
+ try {
713
+ const data = await client.DescribeClusterLevelChangeRecords({})
714
+ expect(data).to.be.ok
715
+ } catch(error) {
716
+ expect(error.requestId).to.be.ok
717
+ expect(error.code).to.be.ok
718
+ }
719
+ })
720
+
711
721
  it("tke.v20180525.CreateClusterEndpoint", async function () {
712
722
  try {
713
723
  const data = await client.CreateClusterEndpoint({})
@@ -758,6 +768,16 @@ it("tke.v20180525.CreatePrometheusAlertRule", async function () {
758
768
  }
759
769
  })
760
770
 
771
+ it("tke.v20180525.DescribeClusterControllers", async function () {
772
+ try {
773
+ const data = await client.DescribeClusterControllers({})
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
+
761
781
  it("tke.v20180525.DescribeClusterSecurity", async function () {
762
782
  try {
763
783
  const data = await client.DescribeClusterSecurity({})
@@ -788,6 +808,16 @@ it("tke.v20180525.ScaleInClusterMaster", async function () {
788
808
  }
789
809
  })
790
810
 
811
+ it("tke.v20180525.DescribeResourceUsage", async function () {
812
+ try {
813
+ const data = await client.DescribeResourceUsage({})
814
+ expect(data).to.be.ok
815
+ } catch(error) {
816
+ expect(error.requestId).to.be.ok
817
+ expect(error.code).to.be.ok
818
+ }
819
+ })
820
+
791
821
  it("tke.v20180525.DeleteClusterEndpointVip", async function () {
792
822
  try {
793
823
  const data = await client.DeleteClusterEndpointVip({})
@@ -918,6 +948,16 @@ it("tke.v20180525.DeleteClusterEndpoint", async function () {
918
948
  }
919
949
  })
920
950
 
951
+ it("tke.v20180525.GetClusterLevelPrice", async function () {
952
+ try {
953
+ const data = await client.GetClusterLevelPrice({})
954
+ expect(data).to.be.ok
955
+ } catch(error) {
956
+ expect(error.requestId).to.be.ok
957
+ expect(error.code).to.be.ok
958
+ }
959
+ })
960
+
921
961
  it("tke.v20180525.ModifyPrometheusTemplate", async function () {
922
962
  try {
923
963
  const data = await client.ModifyPrometheusTemplate({})
@@ -1568,6 +1568,16 @@ it("tsf.v20180326.DeleteUnitNamespaces", async function () {
1568
1568
  }
1569
1569
  })
1570
1570
 
1571
+ it("tsf.v20180326.DescribeInstances", async function () {
1572
+ try {
1573
+ const data = await client.DescribeInstances({})
1574
+ expect(data).to.be.ok
1575
+ } catch(error) {
1576
+ expect(error.requestId).to.be.ok
1577
+ expect(error.code).to.be.ok
1578
+ }
1579
+ })
1580
+
1571
1581
  it("tsf.v20180326.DraftApiGroup", async function () {
1572
1582
  try {
1573
1583
  const data = await client.DraftApiGroup({})
@@ -18,6 +18,46 @@ const client = new tencentcloud.wav.v20210129.Client({
18
18
  })
19
19
  describe("wav.v20210129.test.js", function () {
20
20
 
21
+ it("wav.v20210129.QueryActivityLiveCodeList", async function () {
22
+ try {
23
+ const data = await client.QueryActivityLiveCodeList({})
24
+ expect(data).to.be.ok
25
+ } catch(error) {
26
+ expect(error.requestId).to.be.ok
27
+ expect(error.code).to.be.ok
28
+ }
29
+ })
30
+
31
+ it("wav.v20210129.QueryActivityList", async function () {
32
+ try {
33
+ const data = await client.QueryActivityList({})
34
+ expect(data).to.be.ok
35
+ } catch(error) {
36
+ expect(error.requestId).to.be.ok
37
+ expect(error.code).to.be.ok
38
+ }
39
+ })
40
+
41
+ it("wav.v20210129.QueryCustomerEventDetailStatistics", async function () {
42
+ try {
43
+ const data = await client.QueryCustomerEventDetailStatistics({})
44
+ expect(data).to.be.ok
45
+ } catch(error) {
46
+ expect(error.requestId).to.be.ok
47
+ expect(error.code).to.be.ok
48
+ }
49
+ })
50
+
51
+ it("wav.v20210129.QueryActivityJoinList", async function () {
52
+ try {
53
+ const data = await client.QueryActivityJoinList({})
54
+ expect(data).to.be.ok
55
+ } catch(error) {
56
+ expect(error.requestId).to.be.ok
57
+ expect(error.code).to.be.ok
58
+ }
59
+ })
60
+
21
61
  it("wav.v20210129.QueryChannelCodeList", async function () {
22
62
  try {
23
63
  const data = await client.QueryChannelCodeList({})
@@ -28,9 +68,9 @@ it("wav.v20210129.QueryChannelCodeList", async function () {
28
68
  }
29
69
  })
30
70
 
31
- it("wav.v20210129.QueryActivityLiveCodeList", async function () {
71
+ it("wav.v20210129.QueryExternalContactList", async function () {
32
72
  try {
33
- const data = await client.QueryActivityLiveCodeList({})
73
+ const data = await client.QueryExternalContactList({})
34
74
  expect(data).to.be.ok
35
75
  } catch(error) {
36
76
  expect(error.requestId).to.be.ok
@@ -38,9 +78,9 @@ it("wav.v20210129.QueryActivityLiveCodeList", async function () {
38
78
  }
39
79
  })
40
80
 
41
- it("wav.v20210129.QueryExternalContactDetail", async function () {
81
+ it("wav.v20210129.QueryUserInfoList", async function () {
42
82
  try {
43
- const data = await client.QueryExternalContactDetail({})
83
+ const data = await client.QueryUserInfoList({})
44
84
  expect(data).to.be.ok
45
85
  } catch(error) {
46
86
  expect(error.requestId).to.be.ok
@@ -48,9 +88,9 @@ it("wav.v20210129.QueryExternalContactDetail", async function () {
48
88
  }
49
89
  })
50
90
 
51
- it("wav.v20210129.QueryActivityList", async function () {
91
+ it("wav.v20210129.QueryExternalUserEventList", async function () {
52
92
  try {
53
- const data = await client.QueryActivityList({})
93
+ const data = await client.QueryExternalUserEventList({})
54
94
  expect(data).to.be.ok
55
95
  } catch(error) {
56
96
  expect(error.requestId).to.be.ok
@@ -58,9 +98,9 @@ it("wav.v20210129.QueryActivityList", async function () {
58
98
  }
59
99
  })
60
100
 
61
- it("wav.v20210129.QueryDealerInfoList", async function () {
101
+ it("wav.v20210129.QueryLicenseInfo", async function () {
62
102
  try {
63
- const data = await client.QueryDealerInfoList({})
103
+ const data = await client.QueryLicenseInfo({})
64
104
  expect(data).to.be.ok
65
105
  } catch(error) {
66
106
  expect(error.requestId).to.be.ok
@@ -68,9 +108,19 @@ it("wav.v20210129.QueryDealerInfoList", async function () {
68
108
  }
69
109
  })
70
110
 
71
- it("wav.v20210129.QueryVehicleInfoList", async function () {
111
+ it("wav.v20210129.QueryClueInfoList", async function () {
72
112
  try {
73
- const data = await client.QueryVehicleInfoList({})
113
+ const data = await client.QueryClueInfoList({})
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
+
121
+ it("wav.v20210129.QueryExternalContactDetail", async function () {
122
+ try {
123
+ const data = await client.QueryExternalContactDetail({})
74
124
  expect(data).to.be.ok
75
125
  } catch(error) {
76
126
  expect(error.requestId).to.be.ok
@@ -88,9 +138,9 @@ it("wav.v20210129.CreateLead", async function () {
88
138
  }
89
139
  })
90
140
 
91
- it("wav.v20210129.QueryClueInfoList", async function () {
141
+ it("wav.v20210129.QueryStaffEventDetailStatistics", async function () {
92
142
  try {
93
- const data = await client.QueryClueInfoList({})
143
+ const data = await client.QueryStaffEventDetailStatistics({})
94
144
  expect(data).to.be.ok
95
145
  } catch(error) {
96
146
  expect(error.requestId).to.be.ok
@@ -98,9 +148,9 @@ it("wav.v20210129.QueryClueInfoList", async function () {
98
148
  }
99
149
  })
100
150
 
101
- it("wav.v20210129.QueryChatArchivingList", async function () {
151
+ it("wav.v20210129.QueryVehicleInfoList", async function () {
102
152
  try {
103
- const data = await client.QueryChatArchivingList({})
153
+ const data = await client.QueryVehicleInfoList({})
104
154
  expect(data).to.be.ok
105
155
  } catch(error) {
106
156
  expect(error.requestId).to.be.ok
@@ -108,9 +158,9 @@ it("wav.v20210129.QueryChatArchivingList", async function () {
108
158
  }
109
159
  })
110
160
 
111
- it("wav.v20210129.QueryExternalContactList", async function () {
161
+ it("wav.v20210129.QueryChatArchivingList", async function () {
112
162
  try {
113
- const data = await client.QueryExternalContactList({})
163
+ const data = await client.QueryChatArchivingList({})
114
164
  expect(data).to.be.ok
115
165
  } catch(error) {
116
166
  expect(error.requestId).to.be.ok
@@ -128,9 +178,9 @@ it("wav.v20210129.CreateCorpTag", async function () {
128
178
  }
129
179
  })
130
180
 
131
- it("wav.v20210129.CreateChannelCode", async function () {
181
+ it("wav.v20210129.QueryCrmStatistics", async function () {
132
182
  try {
133
- const data = await client.CreateChannelCode({})
183
+ const data = await client.QueryCrmStatistics({})
134
184
  expect(data).to.be.ok
135
185
  } catch(error) {
136
186
  expect(error.requestId).to.be.ok
@@ -138,9 +188,9 @@ it("wav.v20210129.CreateChannelCode", async function () {
138
188
  }
139
189
  })
140
190
 
141
- it("wav.v20210129.QueryExternalUserMappingInfo", async function () {
191
+ it("wav.v20210129.QueryMaterialList", async function () {
142
192
  try {
143
- const data = await client.QueryExternalUserMappingInfo({})
193
+ const data = await client.QueryMaterialList({})
144
194
  expect(data).to.be.ok
145
195
  } catch(error) {
146
196
  expect(error.requestId).to.be.ok
@@ -148,9 +198,9 @@ it("wav.v20210129.QueryExternalUserMappingInfo", async function () {
148
198
  }
149
199
  })
150
200
 
151
- it("wav.v20210129.QueryActivityJoinList", async function () {
201
+ it("wav.v20210129.CreateChannelCode", async function () {
152
202
  try {
153
- const data = await client.QueryActivityJoinList({})
203
+ const data = await client.CreateChannelCode({})
154
204
  expect(data).to.be.ok
155
205
  } catch(error) {
156
206
  expect(error.requestId).to.be.ok
@@ -158,9 +208,9 @@ it("wav.v20210129.QueryActivityJoinList", async function () {
158
208
  }
159
209
  })
160
210
 
161
- it("wav.v20210129.QueryLicenseInfo", async function () {
211
+ it("wav.v20210129.QueryMiniAppCodeList", async function () {
162
212
  try {
163
- const data = await client.QueryLicenseInfo({})
213
+ const data = await client.QueryMiniAppCodeList({})
164
214
  expect(data).to.be.ok
165
215
  } catch(error) {
166
216
  expect(error.requestId).to.be.ok
@@ -168,9 +218,19 @@ it("wav.v20210129.QueryLicenseInfo", async function () {
168
218
  }
169
219
  })
170
220
 
171
- it("wav.v20210129.QueryMiniAppCodeList", async function () {
221
+ it("wav.v20210129.QueryDealerInfoList", async function () {
172
222
  try {
173
- const data = await client.QueryMiniAppCodeList({})
223
+ const data = await client.QueryDealerInfoList({})
224
+ expect(data).to.be.ok
225
+ } catch(error) {
226
+ expect(error.requestId).to.be.ok
227
+ expect(error.code).to.be.ok
228
+ }
229
+ })
230
+
231
+ it("wav.v20210129.QueryExternalUserMappingInfo", async function () {
232
+ try {
233
+ const data = await client.QueryExternalUserMappingInfo({})
174
234
  expect(data).to.be.ok
175
235
  } catch(error) {
176
236
  expect(error.requestId).to.be.ok