tencentcloud-sdk-nodejs 4.0.694 → 4.0.696

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 (65) hide show
  1. package/CHANGELOG.md +500 -0
  2. package/SERVICE_CHANGELOG.md +630 -107
  3. package/package.json +1 -1
  4. package/products.md +28 -28
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/asr/v20190614/asr_models.ts +41 -41
  7. package/src/services/bi/v20220105/bi_client.ts +237 -3
  8. package/src/services/bi/v20220105/bi_models.ts +1926 -42
  9. package/src/services/billing/v20180709/billing_client.ts +57 -6
  10. package/src/services/billing/v20180709/billing_models.ts +646 -74
  11. package/src/services/cfw/v20190904/cfw_models.ts +48 -17
  12. package/src/services/cls/v20201016/cls_models.ts +6 -1
  13. package/src/services/csip/v20221121/csip_client.ts +111 -58
  14. package/src/services/csip/v20221121/csip_models.ts +2099 -1527
  15. package/src/services/cvm/v20170312/cvm_models.ts +4 -4
  16. package/src/services/cwp/v20180228/cwp_models.ts +7 -2
  17. package/src/services/emr/v20190103/emr_models.ts +5 -5
  18. package/src/services/goosefs/v20220519/goosefs_models.ts +14 -0
  19. package/src/services/hcm/v20181106/hcm_models.ts +2 -0
  20. package/src/services/sms/v20210111/sms_models.ts +8 -8
  21. package/src/services/sqlserver/v20180328/sqlserver_models.ts +6 -2
  22. package/src/services/tcaplusdb/v20190823/tcaplusdb_models.ts +2 -2
  23. package/src/services/teo/v20220901/teo_client.ts +19 -9
  24. package/src/services/teo/v20220901/teo_models.ts +214 -100
  25. package/src/services/trocket/v20230308/trocket_client.ts +75 -24
  26. package/src/services/trocket/v20230308/trocket_models.ts +204 -25
  27. package/src/services/tse/v20201207/tse_models.ts +32 -0
  28. package/src/services/vpc/v20170312/vpc_models.ts +20 -8
  29. package/src/services/waf/v20180125/waf_client.ts +2 -0
  30. package/src/services/waf/v20180125/waf_models.ts +292 -55
  31. package/tencentcloud/common/sdk_version.d.ts +1 -1
  32. package/tencentcloud/common/sdk_version.js +1 -1
  33. package/tencentcloud/services/asr/v20190614/asr_models.d.ts +41 -41
  34. package/tencentcloud/services/bi/v20220105/bi_client.d.ts +73 -1
  35. package/tencentcloud/services/bi/v20220105/bi_client.js +108 -0
  36. package/tencentcloud/services/bi/v20220105/bi_models.d.ts +1872 -42
  37. package/tencentcloud/services/billing/v20180709/billing_client.d.ts +20 -3
  38. package/tencentcloud/services/billing/v20180709/billing_client.js +27 -2
  39. package/tencentcloud/services/billing/v20180709/billing_models.d.ts +636 -74
  40. package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +48 -17
  41. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +6 -1
  42. package/tencentcloud/services/csip/v20221121/csip_client.d.ts +19 -3
  43. package/tencentcloud/services/csip/v20221121/csip_client.js +27 -3
  44. package/tencentcloud/services/csip/v20221121/csip_models.d.ts +2076 -1517
  45. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +4 -4
  46. package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +7 -2
  47. package/tencentcloud/services/emr/v20190103/emr_models.d.ts +5 -5
  48. package/tencentcloud/services/goosefs/v20220519/goosefs_models.d.ts +14 -0
  49. package/tencentcloud/services/hcm/v20181106/hcm_models.d.ts +2 -0
  50. package/tencentcloud/services/sms/v20210111/sms_models.d.ts +8 -8
  51. package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +6 -2
  52. package/tencentcloud/services/tcaplusdb/v20190823/tcaplusdb_models.d.ts +2 -2
  53. package/tencentcloud/services/teo/v20220901/teo_client.d.ts +12 -6
  54. package/tencentcloud/services/teo/v20220901/teo_client.js +11 -5
  55. package/tencentcloud/services/teo/v20220901/teo_models.d.ts +209 -99
  56. package/tencentcloud/services/trocket/v20230308/trocket_client.d.ts +29 -11
  57. package/tencentcloud/services/trocket/v20230308/trocket_client.js +39 -13
  58. package/tencentcloud/services/trocket/v20230308/trocket_models.d.ts +195 -25
  59. package/tencentcloud/services/tse/v20201207/tse_models.d.ts +32 -0
  60. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +20 -8
  61. package/tencentcloud/services/waf/v20180125/waf_models.d.ts +290 -55
  62. package/test/bi.v20220105.test.js +180 -0
  63. package/test/billing.v20180709.test.js +40 -0
  64. package/test/csip.v20221121.test.js +42 -2
  65. package/test/trocket.v20230308.test.js +46 -6
@@ -18,6 +18,56 @@ const client = new tencentcloud.bi.v20220105.Client({
18
18
  })
19
19
  describe("bi.v20220105.test.js", function () {
20
20
 
21
+ it("bi.v20220105.ModifyDatasource", async function () {
22
+ try {
23
+ const data = await client.ModifyDatasource({})
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("bi.v20220105.DescribeDatasourceList", async function () {
32
+ try {
33
+ const data = await client.DescribeDatasourceList({})
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("bi.v20220105.CreateDatasource", async function () {
42
+ try {
43
+ const data = await client.CreateDatasource({})
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("bi.v20220105.CreateUserRoleProject", async function () {
52
+ try {
53
+ const data = await client.CreateUserRoleProject({})
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("bi.v20220105.ModifyDatasourceCloud", async function () {
62
+ try {
63
+ const data = await client.ModifyDatasourceCloud({})
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
+
21
71
  it("bi.v20220105.CreateEmbedToken", async function () {
22
72
  try {
23
73
  const data = await client.CreateEmbedToken({})
@@ -28,6 +78,56 @@ it("bi.v20220105.CreateEmbedToken", async function () {
28
78
  }
29
79
  })
30
80
 
81
+ it("bi.v20220105.DescribeProjectInfo", async function () {
82
+ try {
83
+ const data = await client.DescribeProjectInfo({})
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("bi.v20220105.CreateProject", async function () {
92
+ try {
93
+ const data = await client.CreateProject({})
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("bi.v20220105.CreateUserRole", async function () {
102
+ try {
103
+ const data = await client.CreateUserRole({})
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("bi.v20220105.DescribeUserProjectList", async function () {
112
+ try {
113
+ const data = await client.DescribeUserProjectList({})
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("bi.v20220105.DeleteDatasource", async function () {
122
+ try {
123
+ const data = await client.DeleteDatasource({})
124
+ expect(data).to.be.ok
125
+ } catch(error) {
126
+ expect(error.requestId).to.be.ok
127
+ expect(error.code).to.be.ok
128
+ }
129
+ })
130
+
31
131
  it("bi.v20220105.ApplyEmbedInterval", async function () {
32
132
  try {
33
133
  const data = await client.ApplyEmbedInterval({})
@@ -38,4 +138,84 @@ it("bi.v20220105.ApplyEmbedInterval", async function () {
38
138
  }
39
139
  })
40
140
 
141
+ it("bi.v20220105.DeleteUserRole", async function () {
142
+ try {
143
+ const data = await client.DeleteUserRole({})
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("bi.v20220105.ModifyUserRoleProject", async function () {
152
+ try {
153
+ const data = await client.ModifyUserRoleProject({})
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("bi.v20220105.ModifyProject", async function () {
162
+ try {
163
+ const data = await client.ModifyProject({})
164
+ expect(data).to.be.ok
165
+ } catch(error) {
166
+ expect(error.requestId).to.be.ok
167
+ expect(error.code).to.be.ok
168
+ }
169
+ })
170
+
171
+ it("bi.v20220105.DescribeProjectList", async function () {
172
+ try {
173
+ const data = await client.DescribeProjectList({})
174
+ expect(data).to.be.ok
175
+ } catch(error) {
176
+ expect(error.requestId).to.be.ok
177
+ expect(error.code).to.be.ok
178
+ }
179
+ })
180
+
181
+ it("bi.v20220105.DescribeUserRoleList", async function () {
182
+ try {
183
+ const data = await client.DescribeUserRoleList({})
184
+ expect(data).to.be.ok
185
+ } catch(error) {
186
+ expect(error.requestId).to.be.ok
187
+ expect(error.code).to.be.ok
188
+ }
189
+ })
190
+
191
+ it("bi.v20220105.CreateDatasourceCloud", async function () {
192
+ try {
193
+ const data = await client.CreateDatasourceCloud({})
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
+
201
+ it("bi.v20220105.DeleteUserRoleProject", async function () {
202
+ try {
203
+ const data = await client.DeleteUserRoleProject({})
204
+ expect(data).to.be.ok
205
+ } catch(error) {
206
+ expect(error.requestId).to.be.ok
207
+ expect(error.code).to.be.ok
208
+ }
209
+ })
210
+
211
+ it("bi.v20220105.DeleteProject", async function () {
212
+ try {
213
+ const data = await client.DeleteProject({})
214
+ expect(data).to.be.ok
215
+ } catch(error) {
216
+ expect(error.requestId).to.be.ok
217
+ expect(error.code).to.be.ok
218
+ }
219
+ })
220
+
41
221
  })
@@ -88,6 +88,16 @@ it("billing.v20180709.DescribeVoucherInfo", async function () {
88
88
  }
89
89
  })
90
90
 
91
+ it("billing.v20180709.DescribeBillResourceSummaryForOrganization", async function () {
92
+ try {
93
+ const data = await client.DescribeBillResourceSummaryForOrganization({})
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
+
91
101
  it("billing.v20180709.DescribeBillDetail", async function () {
92
102
  try {
93
103
  const data = await client.DescribeBillDetail({})
@@ -148,6 +158,16 @@ it("billing.v20180709.DescribeDosageCosDetailByDate", async function () {
148
158
  }
149
159
  })
150
160
 
161
+ it("billing.v20180709.DescribeBillDetailForOrganization", async function () {
162
+ try {
163
+ const data = await client.DescribeBillDetailForOrganization({})
164
+ expect(data).to.be.ok
165
+ } catch(error) {
166
+ expect(error.requestId).to.be.ok
167
+ expect(error.code).to.be.ok
168
+ }
169
+ })
170
+
151
171
  it("billing.v20180709.DescribeAccountBalance", async function () {
152
172
  try {
153
173
  const data = await client.DescribeAccountBalance({})
@@ -208,6 +228,16 @@ it("billing.v20180709.DescribeBillSummaryByTag", async function () {
208
228
  }
209
229
  })
210
230
 
231
+ it("billing.v20180709.DescribeBillSummaryForOrganization", async function () {
232
+ try {
233
+ const data = await client.DescribeBillSummaryForOrganization({})
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
+
211
241
  it("billing.v20180709.DescribeTagList", async function () {
212
242
  try {
213
243
  const data = await client.DescribeTagList({})
@@ -218,6 +248,16 @@ it("billing.v20180709.DescribeTagList", async function () {
218
248
  }
219
249
  })
220
250
 
251
+ it("billing.v20180709.DescribeBillDownloadUrl", async function () {
252
+ try {
253
+ const data = await client.DescribeBillDownloadUrl({})
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
+
221
261
  it("billing.v20180709.DeleteAllocationTag", async function () {
222
262
  try {
223
263
  const data = await client.DeleteAllocationTag({})
@@ -88,9 +88,9 @@ it("csip.v20221121.DeleteRiskScanTask", async function () {
88
88
  }
89
89
  })
90
90
 
91
- it("csip.v20221121.DescribeTaskLogList", async function () {
91
+ it("csip.v20221121.DescribeRiskCenterAssetViewWeakPasswordRiskList", async function () {
92
92
  try {
93
- const data = await client.DescribeTaskLogList({})
93
+ const data = await client.DescribeRiskCenterAssetViewWeakPasswordRiskList({})
94
94
  expect(data).to.be.ok
95
95
  } catch(error) {
96
96
  expect(error.requestId).to.be.ok
@@ -118,6 +118,16 @@ it("csip.v20221121.DescribeClusterPodAssets", async function () {
118
118
  }
119
119
  })
120
120
 
121
+ it("csip.v20221121.DescribeRiskCenterAssetViewCFGRiskList", async function () {
122
+ try {
123
+ const data = await client.DescribeRiskCenterAssetViewCFGRiskList({})
124
+ expect(data).to.be.ok
125
+ } catch(error) {
126
+ expect(error.requestId).to.be.ok
127
+ expect(error.code).to.be.ok
128
+ }
129
+ })
130
+
121
131
  it("csip.v20221121.DescribeVpcAssets", async function () {
122
132
  try {
123
133
  const data = await client.DescribeVpcAssets({})
@@ -128,6 +138,16 @@ it("csip.v20221121.DescribeVpcAssets", async function () {
128
138
  }
129
139
  })
130
140
 
141
+ it("csip.v20221121.DescribeRiskCenterServerRiskList", async function () {
142
+ try {
143
+ const data = await client.DescribeRiskCenterServerRiskList({})
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
+
131
151
  it("csip.v20221121.DescribeCVMAssets", async function () {
132
152
  try {
133
153
  const data = await client.DescribeCVMAssets({})
@@ -138,6 +158,16 @@ it("csip.v20221121.DescribeCVMAssets", async function () {
138
158
  }
139
159
  })
140
160
 
161
+ it("csip.v20221121.DescribeRiskCenterWebsiteRiskList", async function () {
162
+ try {
163
+ const data = await client.DescribeRiskCenterWebsiteRiskList({})
164
+ expect(data).to.be.ok
165
+ } catch(error) {
166
+ expect(error.requestId).to.be.ok
167
+ expect(error.code).to.be.ok
168
+ }
169
+ })
170
+
141
171
  it("csip.v20221121.DescribeTaskLogURL", async function () {
142
172
  try {
143
173
  const data = await client.DescribeTaskLogURL({})
@@ -168,6 +198,16 @@ it("csip.v20221121.DescribeSearchBugInfo", async function () {
168
198
  }
169
199
  })
170
200
 
201
+ it("csip.v20221121.DescribeTaskLogList", async function () {
202
+ try {
203
+ const data = await client.DescribeTaskLogList({})
204
+ expect(data).to.be.ok
205
+ } catch(error) {
206
+ expect(error.requestId).to.be.ok
207
+ expect(error.code).to.be.ok
208
+ }
209
+ })
210
+
171
211
  it("csip.v20221121.DescribeScanReportList", async function () {
172
212
  try {
173
213
  const data = await client.DescribeScanReportList({})
@@ -48,6 +48,16 @@ it("trocket.v20230308.CreateTopic", async function () {
48
48
  }
49
49
  })
50
50
 
51
+ it("trocket.v20230308.ModifyTopic", async function () {
52
+ try {
53
+ const data = await client.ModifyTopic({})
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
+
51
61
  it("trocket.v20230308.DeleteConsumerGroup", async function () {
52
62
  try {
53
63
  const data = await client.DeleteConsumerGroup({})
@@ -58,6 +68,16 @@ it("trocket.v20230308.DeleteConsumerGroup", async function () {
58
68
  }
59
69
  })
60
70
 
71
+ it("trocket.v20230308.DescribeTopicList", async function () {
72
+ try {
73
+ const data = await client.DescribeTopicList({})
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
+
61
81
  it("trocket.v20230308.ModifyConsumerGroup", async function () {
62
82
  try {
63
83
  const data = await client.ModifyConsumerGroup({})
@@ -88,9 +108,9 @@ it("trocket.v20230308.DescribeInstanceList", async function () {
88
108
  }
89
109
  })
90
110
 
91
- it("trocket.v20230308.DescribeTopic", async function () {
111
+ it("trocket.v20230308.CreateRole", async function () {
92
112
  try {
93
- const data = await client.DescribeTopic({})
113
+ const data = await client.CreateRole({})
94
114
  expect(data).to.be.ok
95
115
  } catch(error) {
96
116
  expect(error.requestId).to.be.ok
@@ -98,9 +118,19 @@ it("trocket.v20230308.DescribeTopic", async function () {
98
118
  }
99
119
  })
100
120
 
101
- it("trocket.v20230308.ModifyTopic", async function () {
121
+ it("trocket.v20230308.DeleteRole", async function () {
102
122
  try {
103
- const data = await client.ModifyTopic({})
123
+ const data = await client.DeleteRole({})
124
+ expect(data).to.be.ok
125
+ } catch(error) {
126
+ expect(error.requestId).to.be.ok
127
+ expect(error.code).to.be.ok
128
+ }
129
+ })
130
+
131
+ it("trocket.v20230308.ModifyRole", async function () {
132
+ try {
133
+ const data = await client.ModifyRole({})
104
134
  expect(data).to.be.ok
105
135
  } catch(error) {
106
136
  expect(error.requestId).to.be.ok
@@ -128,9 +158,9 @@ it("trocket.v20230308.DeleteInstance", async function () {
128
158
  }
129
159
  })
130
160
 
131
- it("trocket.v20230308.DescribeTopicList", async function () {
161
+ it("trocket.v20230308.DescribeTopic", async function () {
132
162
  try {
133
- const data = await client.DescribeTopicList({})
163
+ const data = await client.DescribeTopic({})
134
164
  expect(data).to.be.ok
135
165
  } catch(error) {
136
166
  expect(error.requestId).to.be.ok
@@ -158,6 +188,16 @@ it("trocket.v20230308.CreateConsumerGroup", async function () {
158
188
  }
159
189
  })
160
190
 
191
+ it("trocket.v20230308.DescribeRoleList", async function () {
192
+ try {
193
+ const data = await client.DescribeRoleList({})
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
+
161
201
  it("trocket.v20230308.ModifyInstance", async function () {
162
202
  try {
163
203
  const data = await client.ModifyInstance({})