tencentcloud-sdk-nodejs 4.0.988 → 4.0.989

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 (52) hide show
  1. package/CHANGELOG.md +246 -0
  2. package/SERVICE_CHANGELOG.md +325 -115
  3. package/package.json +1 -1
  4. package/products.md +21 -21
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/aiart/v20221229/aiart_client.ts +15 -2
  7. package/src/services/aiart/v20221229/aiart_models.ts +109 -46
  8. package/src/services/cam/v20190116/cam_client.ts +12 -0
  9. package/src/services/cam/v20190116/cam_models.ts +59 -26
  10. package/src/services/cfg/v20210820/cfg_models.ts +4 -0
  11. package/src/services/cloudaudit/v20190319/cloudaudit_models.ts +18 -18
  12. package/src/services/cvm/v20170312/cvm_models.ts +24 -24
  13. package/src/services/es/v20180416/es_models.ts +50 -7
  14. package/src/services/mps/v20190612/mps_models.ts +5 -0
  15. package/src/services/mqtt/v20240516/mqtt_client.ts +151 -103
  16. package/src/services/mqtt/v20240516/mqtt_models.ts +202 -48
  17. package/src/services/ocr/v20181119/ocr_client.ts +1 -0
  18. package/src/services/ocr/v20181119/ocr_models.ts +72 -0
  19. package/src/services/postgres/v20170312/postgres_models.ts +3 -3
  20. package/src/services/sts/v20180813/sts_models.ts +3 -3
  21. package/src/services/tse/v20201207/tse_client.ts +73 -21
  22. package/src/services/tse/v20201207/tse_models.ts +322 -68
  23. package/src/services/vdb/v20230616/vdb_models.ts +3 -0
  24. package/src/services/vpc/v20170312/vpc_models.ts +4 -0
  25. package/tencentcloud/common/sdk_version.d.ts +1 -1
  26. package/tencentcloud/common/sdk_version.js +1 -1
  27. package/tencentcloud/services/aiart/v20221229/aiart_client.d.ts +6 -1
  28. package/tencentcloud/services/aiart/v20221229/aiart_client.js +7 -0
  29. package/tencentcloud/services/aiart/v20221229/aiart_models.d.ts +107 -46
  30. package/tencentcloud/services/cam/v20190116/cam_client.d.ts +5 -1
  31. package/tencentcloud/services/cam/v20190116/cam_client.js +6 -0
  32. package/tencentcloud/services/cam/v20190116/cam_models.d.ts +57 -26
  33. package/tencentcloud/services/cfg/v20210820/cfg_models.d.ts +4 -0
  34. package/tencentcloud/services/cloudaudit/v20190319/cloudaudit_models.d.ts +18 -18
  35. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +24 -24
  36. package/tencentcloud/services/es/v20180416/es_models.d.ts +50 -7
  37. package/tencentcloud/services/mps/v20190612/mps_models.d.ts +5 -0
  38. package/tencentcloud/services/mqtt/v20240516/mqtt_client.d.ts +57 -41
  39. package/tencentcloud/services/mqtt/v20240516/mqtt_client.js +84 -60
  40. package/tencentcloud/services/mqtt/v20240516/mqtt_models.d.ts +194 -48
  41. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +71 -0
  42. package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +3 -3
  43. package/tencentcloud/services/sts/v20180813/sts_models.d.ts +3 -3
  44. package/tencentcloud/services/tse/v20201207/tse_client.d.ts +23 -7
  45. package/tencentcloud/services/tse/v20201207/tse_client.js +33 -9
  46. package/tencentcloud/services/tse/v20201207/tse_models.d.ts +310 -68
  47. package/tencentcloud/services/vdb/v20230616/vdb_models.d.ts +3 -0
  48. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +4 -0
  49. package/test/aiart.v20221229.test.js +10 -0
  50. package/test/cam.v20190116.test.js +10 -0
  51. package/test/mqtt.v20240516.test.js +80 -40
  52. package/test/tse.v20201207.test.js +46 -6
@@ -18,9 +18,9 @@ const client = new tencentcloud.mqtt.v20240516.Client({
18
18
  })
19
19
  describe("mqtt.v20240516.test.js", function () {
20
20
 
21
- it("mqtt.v20240516.DescribeInstance", async function () {
21
+ it("mqtt.v20240516.ModifyTopic", async function () {
22
22
  try {
23
- const data = await client.DescribeInstance({})
23
+ const data = await client.ModifyTopic({})
24
24
  expect(data).to.be.ok
25
25
  } catch(error) {
26
26
  expect(error.requestId).to.be.ok
@@ -28,9 +28,9 @@ it("mqtt.v20240516.DescribeInstance", async function () {
28
28
  }
29
29
  })
30
30
 
31
- it("mqtt.v20240516.CreateTopic", async function () {
31
+ it("mqtt.v20240516.DeactivateDeviceCertificate", async function () {
32
32
  try {
33
- const data = await client.CreateTopic({})
33
+ const data = await client.DeactivateDeviceCertificate({})
34
34
  expect(data).to.be.ok
35
35
  } catch(error) {
36
36
  expect(error.requestId).to.be.ok
@@ -38,9 +38,9 @@ it("mqtt.v20240516.CreateTopic", async function () {
38
38
  }
39
39
  })
40
40
 
41
- it("mqtt.v20240516.ActivateDeviceCertificate", async function () {
41
+ it("mqtt.v20240516.DescribeTopic", async function () {
42
42
  try {
43
- const data = await client.ActivateDeviceCertificate({})
43
+ const data = await client.DescribeTopic({})
44
44
  expect(data).to.be.ok
45
45
  } catch(error) {
46
46
  expect(error.requestId).to.be.ok
@@ -48,9 +48,9 @@ it("mqtt.v20240516.ActivateDeviceCertificate", async function () {
48
48
  }
49
49
  })
50
50
 
51
- it("mqtt.v20240516.DescribeAuthorizationPolicies", async function () {
51
+ it("mqtt.v20240516.CreateJWTAuthenticator", async function () {
52
52
  try {
53
- const data = await client.DescribeAuthorizationPolicies({})
53
+ const data = await client.CreateJWTAuthenticator({})
54
54
  expect(data).to.be.ok
55
55
  } catch(error) {
56
56
  expect(error.requestId).to.be.ok
@@ -58,9 +58,9 @@ it("mqtt.v20240516.DescribeAuthorizationPolicies", async function () {
58
58
  }
59
59
  })
60
60
 
61
- it("mqtt.v20240516.RegisterDeviceCertificate", async function () {
61
+ it("mqtt.v20240516.DeleteDeviceCertificate", async function () {
62
62
  try {
63
- const data = await client.RegisterDeviceCertificate({})
63
+ const data = await client.DeleteDeviceCertificate({})
64
64
  expect(data).to.be.ok
65
65
  } catch(error) {
66
66
  expect(error.requestId).to.be.ok
@@ -68,9 +68,9 @@ it("mqtt.v20240516.RegisterDeviceCertificate", async function () {
68
68
  }
69
69
  })
70
70
 
71
- it("mqtt.v20240516.ModifyTopic", async function () {
71
+ it("mqtt.v20240516.ModifyJWTAuthenticator", async function () {
72
72
  try {
73
- const data = await client.ModifyTopic({})
73
+ const data = await client.ModifyJWTAuthenticator({})
74
74
  expect(data).to.be.ok
75
75
  } catch(error) {
76
76
  expect(error.requestId).to.be.ok
@@ -78,9 +78,9 @@ it("mqtt.v20240516.ModifyTopic", async function () {
78
78
  }
79
79
  })
80
80
 
81
- it("mqtt.v20240516.ModifyAuthorizationPolicy", async function () {
81
+ it("mqtt.v20240516.ModifyJWKSAuthenticator", async function () {
82
82
  try {
83
- const data = await client.ModifyAuthorizationPolicy({})
83
+ const data = await client.ModifyJWKSAuthenticator({})
84
84
  expect(data).to.be.ok
85
85
  } catch(error) {
86
86
  expect(error.requestId).to.be.ok
@@ -88,9 +88,9 @@ it("mqtt.v20240516.ModifyAuthorizationPolicy", async function () {
88
88
  }
89
89
  })
90
90
 
91
- it("mqtt.v20240516.DescribeInstanceList", async function () {
91
+ it("mqtt.v20240516.DescribeDeviceCertificates", async function () {
92
92
  try {
93
- const data = await client.DescribeInstanceList({})
93
+ const data = await client.DescribeDeviceCertificates({})
94
94
  expect(data).to.be.ok
95
95
  } catch(error) {
96
96
  expect(error.requestId).to.be.ok
@@ -98,9 +98,9 @@ it("mqtt.v20240516.DescribeInstanceList", async function () {
98
98
  }
99
99
  })
100
100
 
101
- it("mqtt.v20240516.DeleteAuthorizationPolicy", async function () {
101
+ it("mqtt.v20240516.RegisterDeviceCertificate", async function () {
102
102
  try {
103
- const data = await client.DeleteAuthorizationPolicy({})
103
+ const data = await client.RegisterDeviceCertificate({})
104
104
  expect(data).to.be.ok
105
105
  } catch(error) {
106
106
  expect(error.requestId).to.be.ok
@@ -108,9 +108,9 @@ it("mqtt.v20240516.DeleteAuthorizationPolicy", async function () {
108
108
  }
109
109
  })
110
110
 
111
- it("mqtt.v20240516.DeleteAuthenticator", async function () {
111
+ it("mqtt.v20240516.CreateTopic", async function () {
112
112
  try {
113
- const data = await client.DeleteAuthenticator({})
113
+ const data = await client.CreateTopic({})
114
114
  expect(data).to.be.ok
115
115
  } catch(error) {
116
116
  expect(error.requestId).to.be.ok
@@ -118,9 +118,9 @@ it("mqtt.v20240516.DeleteAuthenticator", async function () {
118
118
  }
119
119
  })
120
120
 
121
- it("mqtt.v20240516.DescribeTopic", async function () {
121
+ it("mqtt.v20240516.ActivateDeviceCertificate", async function () {
122
122
  try {
123
- const data = await client.DescribeTopic({})
123
+ const data = await client.ActivateDeviceCertificate({})
124
124
  expect(data).to.be.ok
125
125
  } catch(error) {
126
126
  expect(error.requestId).to.be.ok
@@ -128,9 +128,9 @@ it("mqtt.v20240516.DescribeTopic", async function () {
128
128
  }
129
129
  })
130
130
 
131
- it("mqtt.v20240516.DescribeAuthenticator", async function () {
131
+ it("mqtt.v20240516.DescribeAuthorizationPolicies", async function () {
132
132
  try {
133
- const data = await client.DescribeAuthenticator({})
133
+ const data = await client.DescribeAuthorizationPolicies({})
134
134
  expect(data).to.be.ok
135
135
  } catch(error) {
136
136
  expect(error.requestId).to.be.ok
@@ -138,9 +138,9 @@ it("mqtt.v20240516.DescribeAuthenticator", async function () {
138
138
  }
139
139
  })
140
140
 
141
- it("mqtt.v20240516.CreateJWTAuthenticator", async function () {
141
+ it("mqtt.v20240516.DescribeDeviceCertificate", async function () {
142
142
  try {
143
- const data = await client.CreateJWTAuthenticator({})
143
+ const data = await client.DescribeDeviceCertificate({})
144
144
  expect(data).to.be.ok
145
145
  } catch(error) {
146
146
  expect(error.requestId).to.be.ok
@@ -148,9 +148,9 @@ it("mqtt.v20240516.CreateJWTAuthenticator", async function () {
148
148
  }
149
149
  })
150
150
 
151
- it("mqtt.v20240516.UpdateAuthorizationPolicyPriority", async function () {
151
+ it("mqtt.v20240516.DescribeInstanceList", async function () {
152
152
  try {
153
- const data = await client.UpdateAuthorizationPolicyPriority({})
153
+ const data = await client.DescribeInstanceList({})
154
154
  expect(data).to.be.ok
155
155
  } catch(error) {
156
156
  expect(error.requestId).to.be.ok
@@ -158,9 +158,9 @@ it("mqtt.v20240516.UpdateAuthorizationPolicyPriority", async function () {
158
158
  }
159
159
  })
160
160
 
161
- it("mqtt.v20240516.ModifyJWTAuthenticator", async function () {
161
+ it("mqtt.v20240516.RevokedDeviceCertificate", async function () {
162
162
  try {
163
- const data = await client.ModifyJWTAuthenticator({})
163
+ const data = await client.RevokedDeviceCertificate({})
164
164
  expect(data).to.be.ok
165
165
  } catch(error) {
166
166
  expect(error.requestId).to.be.ok
@@ -168,9 +168,9 @@ it("mqtt.v20240516.ModifyJWTAuthenticator", async function () {
168
168
  }
169
169
  })
170
170
 
171
- it("mqtt.v20240516.DescribeTopicList", async function () {
171
+ it("mqtt.v20240516.DescribeInstance", async function () {
172
172
  try {
173
- const data = await client.DescribeTopicList({})
173
+ const data = await client.DescribeInstance({})
174
174
  expect(data).to.be.ok
175
175
  } catch(error) {
176
176
  expect(error.requestId).to.be.ok
@@ -188,9 +188,9 @@ it("mqtt.v20240516.DeleteTopic", async function () {
188
188
  }
189
189
  })
190
190
 
191
- it("mqtt.v20240516.DescribeDeviceCertificates", async function () {
191
+ it("mqtt.v20240516.CreateJWKSAuthenticator", async function () {
192
192
  try {
193
- const data = await client.DescribeDeviceCertificates({})
193
+ const data = await client.CreateJWKSAuthenticator({})
194
194
  expect(data).to.be.ok
195
195
  } catch(error) {
196
196
  expect(error.requestId).to.be.ok
@@ -198,9 +198,9 @@ it("mqtt.v20240516.DescribeDeviceCertificates", async function () {
198
198
  }
199
199
  })
200
200
 
201
- it("mqtt.v20240516.CreateAuthorizationPolicy", async function () {
201
+ it("mqtt.v20240516.ModifyAuthorizationPolicy", async function () {
202
202
  try {
203
- const data = await client.CreateAuthorizationPolicy({})
203
+ const data = await client.ModifyAuthorizationPolicy({})
204
204
  expect(data).to.be.ok
205
205
  } catch(error) {
206
206
  expect(error.requestId).to.be.ok
@@ -208,9 +208,9 @@ it("mqtt.v20240516.CreateAuthorizationPolicy", async function () {
208
208
  }
209
209
  })
210
210
 
211
- it("mqtt.v20240516.ModifyJWKSAuthenticator", async function () {
211
+ it("mqtt.v20240516.DeleteAuthorizationPolicy", async function () {
212
212
  try {
213
- const data = await client.ModifyJWKSAuthenticator({})
213
+ const data = await client.DeleteAuthorizationPolicy({})
214
214
  expect(data).to.be.ok
215
215
  } catch(error) {
216
216
  expect(error.requestId).to.be.ok
@@ -218,9 +218,49 @@ it("mqtt.v20240516.ModifyJWKSAuthenticator", async function () {
218
218
  }
219
219
  })
220
220
 
221
- it("mqtt.v20240516.CreateJWKSAuthenticator", async function () {
221
+ it("mqtt.v20240516.DeleteAuthenticator", async function () {
222
222
  try {
223
- const data = await client.CreateJWKSAuthenticator({})
223
+ const data = await client.DeleteAuthenticator({})
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("mqtt.v20240516.DescribeAuthenticator", async function () {
232
+ try {
233
+ const data = await client.DescribeAuthenticator({})
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("mqtt.v20240516.UpdateAuthorizationPolicyPriority", async function () {
242
+ try {
243
+ const data = await client.UpdateAuthorizationPolicyPriority({})
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("mqtt.v20240516.DescribeTopicList", async function () {
252
+ try {
253
+ const data = await client.DescribeTopicList({})
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("mqtt.v20240516.CreateAuthorizationPolicy", async function () {
262
+ try {
263
+ const data = await client.CreateAuthorizationPolicy({})
224
264
  expect(data).to.be.ok
225
265
  } catch(error) {
226
266
  expect(error.requestId).to.be.ok
@@ -228,6 +228,16 @@ it("tse.v20201207.DescribeAutoScalerResourceStrategies", async function () {
228
228
  }
229
229
  })
230
230
 
231
+ it("tse.v20201207.ModifyNativeGatewayServiceSource", async function () {
232
+ try {
233
+ const data = await client.ModifyNativeGatewayServiceSource({})
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
+
231
241
  it("tse.v20201207.ModifyNetworkBasicInfo", async function () {
232
242
  try {
233
243
  const data = await client.ModifyNetworkBasicInfo({})
@@ -348,6 +358,16 @@ it("tse.v20201207.PublishConfigFiles", async function () {
348
358
  }
349
359
  })
350
360
 
361
+ it("tse.v20201207.DeleteGovernanceServices", async function () {
362
+ try {
363
+ const data = await client.DeleteGovernanceServices({})
364
+ expect(data).to.be.ok
365
+ } catch(error) {
366
+ expect(error.requestId).to.be.ok
367
+ expect(error.code).to.be.ok
368
+ }
369
+ })
370
+
351
371
  it("tse.v20201207.DescribeConfigFile", async function () {
352
372
  try {
353
373
  const data = await client.DescribeConfigFile({})
@@ -438,9 +458,9 @@ it("tse.v20201207.DescribeGovernanceNamespaces", async function () {
438
458
  }
439
459
  })
440
460
 
441
- it("tse.v20201207.UpdateUpstreamTargets", async function () {
461
+ it("tse.v20201207.DeleteGovernanceInstancesByHost", async function () {
442
462
  try {
443
- const data = await client.UpdateUpstreamTargets({})
463
+ const data = await client.DeleteGovernanceInstancesByHost({})
444
464
  expect(data).to.be.ok
445
465
  } catch(error) {
446
466
  expect(error.requestId).to.be.ok
@@ -578,6 +598,16 @@ it("tse.v20201207.DescribeUpstreamHealthCheckConfig", async function () {
578
598
  }
579
599
  })
580
600
 
601
+ it("tse.v20201207.DescribeNativeGatewayServiceSources", async function () {
602
+ try {
603
+ const data = await client.DescribeNativeGatewayServiceSources({})
604
+ expect(data).to.be.ok
605
+ } catch(error) {
606
+ expect(error.requestId).to.be.ok
607
+ expect(error.code).to.be.ok
608
+ }
609
+ })
610
+
581
611
  it("tse.v20201207.ModifyNativeGatewayServerGroup", async function () {
582
612
  try {
583
613
  const data = await client.ModifyNativeGatewayServerGroup({})
@@ -608,9 +638,9 @@ it("tse.v20201207.ModifyCloudNativeAPIGatewayServiceRateLimit", async function (
608
638
  }
609
639
  })
610
640
 
611
- it("tse.v20201207.DeleteGovernanceServices", async function () {
641
+ it("tse.v20201207.CreateNativeGatewayServiceSource", async function () {
612
642
  try {
613
- const data = await client.DeleteGovernanceServices({})
643
+ const data = await client.CreateNativeGatewayServiceSource({})
614
644
  expect(data).to.be.ok
615
645
  } catch(error) {
616
646
  expect(error.requestId).to.be.ok
@@ -758,6 +788,16 @@ it("tse.v20201207.DescribeGovernanceServiceContractVersions", async function ()
758
788
  }
759
789
  })
760
790
 
791
+ it("tse.v20201207.UpdateUpstreamTargets", async function () {
792
+ try {
793
+ const data = await client.UpdateUpstreamTargets({})
794
+ expect(data).to.be.ok
795
+ } catch(error) {
796
+ expect(error.requestId).to.be.ok
797
+ expect(error.code).to.be.ok
798
+ }
799
+ })
800
+
761
801
  it("tse.v20201207.OpenWafProtection", async function () {
762
802
  try {
763
803
  const data = await client.OpenWafProtection({})
@@ -1118,9 +1158,9 @@ it("tse.v20201207.CreateCloudNativeAPIGatewayServiceRateLimit", async function (
1118
1158
  }
1119
1159
  })
1120
1160
 
1121
- it("tse.v20201207.DeleteGovernanceInstancesByHost", async function () {
1161
+ it("tse.v20201207.DeleteNativeGatewayServiceSource", async function () {
1122
1162
  try {
1123
- const data = await client.DeleteGovernanceInstancesByHost({})
1163
+ const data = await client.DeleteNativeGatewayServiceSource({})
1124
1164
  expect(data).to.be.ok
1125
1165
  } catch(error) {
1126
1166
  expect(error.requestId).to.be.ok