tencentcloud-sdk-nodejs 4.0.360 → 4.0.361

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 (71) hide show
  1. package/CHANGELOG.md +182 -0
  2. package/SERVICE_CHANGELOG.md +270 -42
  3. package/package.json +1 -1
  4. package/products.md +15 -14
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/acp/v20220105/acp_client.ts +25 -12
  7. package/src/services/acp/v20220105/acp_models.ts +50 -0
  8. package/src/services/cat/v20180409/cat_client.ts +38 -377
  9. package/src/services/cat/v20180409/cat_models.ts +384 -2402
  10. package/src/services/cdb/v20170320/cdb_models.ts +2 -2
  11. package/src/services/ciam/index.ts +5 -0
  12. package/src/services/ciam/v20220331/ciam_client.ts +40 -0
  13. package/src/services/ciam/v20220331/ciam_models.ts +46 -0
  14. package/src/services/ciam/v20220331/index.ts +6 -0
  15. package/src/services/ess/v20201111/ess_client.ts +1 -1
  16. package/src/services/ess/v20201111/ess_models.ts +1 -1
  17. package/src/services/facefusion/v20181201/facefusion_models.ts +1 -1
  18. package/src/services/index.ts +1 -0
  19. package/src/services/mmps/v20200710/mmps_client.ts +30 -5
  20. package/src/services/mmps/v20200710/mmps_models.ts +193 -103
  21. package/src/services/oceanus/v20190422/oceanus_client.ts +22 -0
  22. package/src/services/oceanus/v20190422/oceanus_models.ts +40 -0
  23. package/src/services/postgres/v20170312/postgres_models.ts +53 -38
  24. package/src/services/ses/v20201002/ses_client.ts +1 -1
  25. package/src/services/tbaas/v20180416/tbaas_models.ts +1 -1
  26. package/src/services/tiia/v20190529/tiia_client.ts +17 -1
  27. package/src/services/tiia/v20190529/tiia_models.ts +70 -14
  28. package/src/services/vpc/v20170312/vpc_models.ts +2 -2
  29. package/tencentcloud/common/sdk_version.d.ts +1 -1
  30. package/tencentcloud/common/sdk_version.js +1 -1
  31. package/tencentcloud/services/acp/v20220105/acp_client.d.ts +9 -5
  32. package/tencentcloud/services/acp/v20220105/acp_client.js +12 -6
  33. package/tencentcloud/services/acp/v20220105/acp_models.d.ts +43 -0
  34. package/tencentcloud/services/cat/v20180409/cat_client.d.ts +9 -117
  35. package/tencentcloud/services/cat/v20180409/cat_client.js +12 -174
  36. package/tencentcloud/services/cat/v20180409/cat_models.d.ts +348 -2028
  37. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +2 -2
  38. package/tencentcloud/services/ciam/index.d.ts +6 -0
  39. package/tencentcloud/services/ciam/index.js +7 -0
  40. package/tencentcloud/services/ciam/v20220331/ciam_client.d.ts +14 -0
  41. package/tencentcloud/services/ciam/v20220331/ciam_client.js +37 -0
  42. package/tencentcloud/services/ciam/v20220331/ciam_models.d.ts +26 -0
  43. package/tencentcloud/services/ciam/v20220331/ciam_models.js +18 -0
  44. package/tencentcloud/services/ciam/v20220331/index.d.ts +6 -0
  45. package/tencentcloud/services/ciam/v20220331/index.js +9 -0
  46. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +1 -1
  47. package/tencentcloud/services/ess/v20201111/ess_client.js +1 -1
  48. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +1 -1
  49. package/tencentcloud/services/facefusion/v20181201/facefusion_models.d.ts +1 -1
  50. package/tencentcloud/services/index.d.ts +1 -0
  51. package/tencentcloud/services/index.js +2 -0
  52. package/tencentcloud/services/mmps/v20200710/mmps_client.d.ts +9 -1
  53. package/tencentcloud/services/mmps/v20200710/mmps_client.js +12 -0
  54. package/tencentcloud/services/mmps/v20200710/mmps_models.d.ts +164 -88
  55. package/tencentcloud/services/oceanus/v20190422/oceanus_client.d.ts +15 -1
  56. package/tencentcloud/services/oceanus/v20190422/oceanus_client.js +16 -0
  57. package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +34 -0
  58. package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +50 -38
  59. package/tencentcloud/services/ses/v20201002/ses_client.d.ts +1 -1
  60. package/tencentcloud/services/ses/v20201002/ses_client.js +1 -1
  61. package/tencentcloud/services/tbaas/v20180416/tbaas_models.d.ts +1 -1
  62. package/tencentcloud/services/tiia/v20190529/tiia_client.d.ts +8 -1
  63. package/tencentcloud/services/tiia/v20190529/tiia_client.js +9 -0
  64. package/tencentcloud/services/tiia/v20190529/tiia_models.d.ts +61 -12
  65. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +2 -2
  66. package/test/acp.v20220105.test.js +14 -4
  67. package/test/cat.v20180409.test.js +8 -278
  68. package/test/ciam.v20220331.test.js +31 -0
  69. package/test/mmps.v20200710.test.js +20 -0
  70. package/test/oceanus.v20190422.test.js +10 -0
  71. package/test/tiia.v20190529.test.js +10 -0
@@ -28,166 +28,6 @@ it("cat.v20180409.SuspendProbeTask", async function () {
28
28
  }
29
29
  })
30
30
 
31
- it("cat.v20180409.GetRespTimeTrendEx", async function () {
32
- try {
33
- const data = await client.GetRespTimeTrendEx({})
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("cat.v20180409.ModifyAgentGroup", async function () {
42
- try {
43
- const data = await client.ModifyAgentGroup({})
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("cat.v20180409.DescribeTasksByType", async function () {
52
- try {
53
- const data = await client.DescribeTasksByType({})
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("cat.v20180409.VerifyResult", async function () {
62
- try {
63
- const data = await client.VerifyResult({})
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("cat.v20180409.CreateTaskEx", async function () {
72
- try {
73
- const data = await client.CreateTaskEx({})
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("cat.v20180409.PauseTask", async function () {
82
- try {
83
- const data = await client.PauseTask({})
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("cat.v20180409.DescribeAgentGroups", async function () {
92
- try {
93
- const data = await client.DescribeAgentGroups({})
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("cat.v20180409.GetRealAvailRatio", async function () {
102
- try {
103
- const data = await client.GetRealAvailRatio({})
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("cat.v20180409.CreateAgentGroup", async function () {
112
- try {
113
- const data = await client.CreateAgentGroup({})
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("cat.v20180409.DescribeTaskDetail", async function () {
122
- try {
123
- const data = await client.DescribeTaskDetail({})
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("cat.v20180409.CreateProbeTasks", async function () {
132
- try {
133
- const data = await client.CreateProbeTasks({})
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
-
141
- it("cat.v20180409.DescribeAlarmTopic", async function () {
142
- try {
143
- const data = await client.DescribeAlarmTopic({})
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("cat.v20180409.DescribeAlarms", async function () {
152
- try {
153
- const data = await client.DescribeAlarms({})
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("cat.v20180409.GetReturnCodeHistory", async function () {
162
- try {
163
- const data = await client.GetReturnCodeHistory({})
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("cat.v20180409.DeleteTasks", async function () {
172
- try {
173
- const data = await client.DeleteTasks({})
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("cat.v20180409.GetDailyAvailRatio", async function () {
182
- try {
183
- const data = await client.GetDailyAvailRatio({})
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
31
  it("cat.v20180409.DescribeProbeMetricData", async function () {
192
32
  try {
193
33
  const data = await client.DescribeProbeMetricData({})
@@ -198,86 +38,6 @@ it("cat.v20180409.DescribeProbeMetricData", async function () {
198
38
  }
199
39
  })
200
40
 
201
- it("cat.v20180409.ResumeProbeTask", async function () {
202
- try {
203
- const data = await client.ResumeProbeTask({})
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("cat.v20180409.ModifyTaskEx", async function () {
212
- try {
213
- const data = await client.ModifyTaskEx({})
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
-
221
- it("cat.v20180409.DescribeAgents", async function () {
222
- try {
223
- const data = await client.DescribeAgents({})
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("cat.v20180409.DescribeUserLimit", async function () {
232
- try {
233
- const data = await client.DescribeUserLimit({})
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("cat.v20180409.DescribeCatLogs", async function () {
242
- try {
243
- const data = await client.DescribeCatLogs({})
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("cat.v20180409.UpdateProbeTaskConfigurationList", async function () {
252
- try {
253
- const data = await client.UpdateProbeTaskConfigurationList({})
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("cat.v20180409.DescribeDetailedSingleProbeData", async function () {
262
- try {
263
- const data = await client.DescribeDetailedSingleProbeData({})
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("cat.v20180409.BindAlarmPolicy", async function () {
272
- try {
273
- const data = await client.BindAlarmPolicy({})
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
41
  it("cat.v20180409.DescribeProbeTasks", async function () {
282
42
  try {
283
43
  const data = await client.DescribeProbeTasks({})
@@ -288,39 +48,9 @@ it("cat.v20180409.DescribeProbeTasks", async function () {
288
48
  }
289
49
  })
290
50
 
291
- it("cat.v20180409.GetResultSummary", async function () {
292
- try {
293
- const data = await client.GetResultSummary({})
294
- expect(data).to.be.ok
295
- } catch(error) {
296
- expect(error.requestId).to.be.ok
297
- expect(error.code).to.be.ok
298
- }
299
- })
300
-
301
- it("cat.v20180409.DeleteAgentGroup", async function () {
302
- try {
303
- const data = await client.DeleteAgentGroup({})
304
- expect(data).to.be.ok
305
- } catch(error) {
306
- expect(error.requestId).to.be.ok
307
- expect(error.code).to.be.ok
308
- }
309
- })
310
-
311
- it("cat.v20180409.GetAvailRatioHistory", async function () {
312
- try {
313
- const data = await client.GetAvailRatioHistory({})
314
- expect(data).to.be.ok
315
- } catch(error) {
316
- expect(error.requestId).to.be.ok
317
- expect(error.code).to.be.ok
318
- }
319
- })
320
-
321
- it("cat.v20180409.RunTask", async function () {
51
+ it("cat.v20180409.UpdateProbeTaskConfigurationList", async function () {
322
52
  try {
323
- const data = await client.RunTask({})
53
+ const data = await client.UpdateProbeTaskConfigurationList({})
324
54
  expect(data).to.be.ok
325
55
  } catch(error) {
326
56
  expect(error.requestId).to.be.ok
@@ -338,9 +68,9 @@ it("cat.v20180409.DescribeProbeNodes", async function () {
338
68
  }
339
69
  })
340
70
 
341
- it("cat.v20180409.GetReturnCodeInfo", async function () {
71
+ it("cat.v20180409.CreateProbeTasks", async function () {
342
72
  try {
343
- const data = await client.GetReturnCodeInfo({})
73
+ const data = await client.CreateProbeTasks({})
344
74
  expect(data).to.be.ok
345
75
  } catch(error) {
346
76
  expect(error.requestId).to.be.ok
@@ -348,9 +78,9 @@ it("cat.v20180409.GetReturnCodeInfo", async function () {
348
78
  }
349
79
  })
350
80
 
351
- it("cat.v20180409.DescribeAlarmsByTask", async function () {
81
+ it("cat.v20180409.DescribeDetailedSingleProbeData", async function () {
352
82
  try {
353
- const data = await client.DescribeAlarmsByTask({})
83
+ const data = await client.DescribeDetailedSingleProbeData({})
354
84
  expect(data).to.be.ok
355
85
  } catch(error) {
356
86
  expect(error.requestId).to.be.ok
@@ -368,9 +98,9 @@ it("cat.v20180409.DeleteProbeTask", async function () {
368
98
  }
369
99
  })
370
100
 
371
- it("cat.v20180409.GetTaskTotalNumber", async function () {
101
+ it("cat.v20180409.ResumeProbeTask", async function () {
372
102
  try {
373
- const data = await client.GetTaskTotalNumber({})
103
+ const data = await client.ResumeProbeTask({})
374
104
  expect(data).to.be.ok
375
105
  } catch(error) {
376
106
  expect(error.requestId).to.be.ok
@@ -0,0 +1,31 @@
1
+
2
+ const expect = require("chai").expect
3
+ const tencentcloud = require("../../tencentcloud-sdk-nodejs")
4
+ const client = new tencentcloud.ciam.v20220331.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("ciam.v20220331.test.js", function () {
20
+
21
+ it("ciam.v20220331.ResetPassword", async function () {
22
+ try {
23
+ const data = await client.ResetPassword({})
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
+ })
@@ -58,6 +58,16 @@ it("mmps.v20200710.DescribeFlySecMiniAppScanTaskStatus", async function () {
58
58
  }
59
59
  })
60
60
 
61
+ it("mmps.v20200710.DescribeResourceUsageInfo", async function () {
62
+ try {
63
+ const data = await client.DescribeResourceUsageInfo({})
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("mmps.v20200710.CreateFlySecMiniAppScanTask", async function () {
62
72
  try {
63
73
  const data = await client.CreateFlySecMiniAppScanTask({})
@@ -108,6 +118,16 @@ it("mmps.v20200710.DescribeScanTaskStatus", async function () {
108
118
  }
109
119
  })
110
120
 
121
+ it("mmps.v20200710.DescribeBasicDiagnosisResourceUsageInfo", async function () {
122
+ try {
123
+ const data = await client.DescribeBasicDiagnosisResourceUsageInfo({})
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
+
111
131
  it("mmps.v20200710.CreateAppScanTaskRepeat", async function () {
112
132
  try {
113
133
  const data = await client.CreateAppScanTaskRepeat({})
@@ -128,6 +128,16 @@ it("oceanus.v20190422.DescribeSystemResources", async function () {
128
128
  }
129
129
  })
130
130
 
131
+ it("oceanus.v20190422.ModifyJob", async function () {
132
+ try {
133
+ const data = await client.ModifyJob({})
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("oceanus.v20190422.DeleteResourceConfigs", async function () {
132
142
  try {
133
143
  const data = await client.DeleteResourceConfigs({})
@@ -198,6 +198,16 @@ it("tiia.v20190529.EnhanceImage", async function () {
198
198
  }
199
199
  })
200
200
 
201
+ it("tiia.v20190529.DetectEnvelope", async function () {
202
+ try {
203
+ const data = await client.DetectEnvelope({})
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
+
201
211
  it("tiia.v20190529.DetectCelebrity", async function () {
202
212
  try {
203
213
  const data = await client.DetectCelebrity({})