tencentcloud-sdk-nodejs 4.0.941 → 4.0.943

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 (70) hide show
  1. package/CHANGELOG.md +416 -0
  2. package/SERVICE_CHANGELOG.md +386 -13
  3. package/package.json +1 -1
  4. package/products.md +18 -18
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/as/v20180419/as_models.ts +8 -0
  7. package/src/services/asr/v20190614/asr_client.ts +71 -57
  8. package/src/services/asr/v20190614/asr_models.ts +967 -895
  9. package/src/services/cfg/v20210820/cfg_models.ts +4 -0
  10. package/src/services/cwp/v20180228/cwp_client.ts +5 -3
  11. package/src/services/cwp/v20180228/cwp_models.ts +131 -48
  12. package/src/services/dlc/v20210125/dlc_models.ts +4 -0
  13. package/src/services/dsgc/v20190723/dsgc_models.ts +1 -1
  14. package/src/services/hunyuan/v20230901/hunyuan_models.ts +1 -0
  15. package/src/services/ims/v20201229/ims_client.ts +1 -1
  16. package/src/services/ims/v20201229/ims_models.ts +3 -3
  17. package/src/services/lke/v20231130/lke_client.ts +576 -478
  18. package/src/services/lke/v20231130/lke_models.ts +516 -98
  19. package/src/services/mps/v20190612/mps_models.ts +8 -3
  20. package/src/services/mqtt/v20240516/mqtt_client.ts +215 -4
  21. package/src/services/mqtt/v20240516/mqtt_models.ts +894 -97
  22. package/src/services/organization/v20210331/organization_client.ts +26 -0
  23. package/src/services/organization/v20210331/organization_models.ts +176 -26
  24. package/src/services/tcss/v20201101/tcss_client.ts +4 -2
  25. package/src/services/tke/v20180525/tke_client.ts +40 -16
  26. package/src/services/tke/v20180525/tke_models.ts +154 -70
  27. package/src/services/vdb/v20230616/vdb_models.ts +5 -0
  28. package/src/services/vod/v20180717/vod_client.ts +2 -1
  29. package/src/services/vod/v20180717/vod_models.ts +34 -1
  30. package/src/services/vpc/v20170312/vpc_models.ts +17 -1
  31. package/tencentcloud/common/sdk_version.d.ts +1 -1
  32. package/tencentcloud/common/sdk_version.js +1 -1
  33. package/tencentcloud/services/as/v20180419/as_models.d.ts +8 -0
  34. package/tencentcloud/services/asr/v20190614/asr_client.d.ts +5 -1
  35. package/tencentcloud/services/asr/v20190614/asr_client.js +6 -0
  36. package/tencentcloud/services/asr/v20190614/asr_models.d.ts +998 -930
  37. package/tencentcloud/services/cfg/v20210820/cfg_models.d.ts +4 -0
  38. package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +1 -1
  39. package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +128 -47
  40. package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +4 -0
  41. package/tencentcloud/services/dsgc/v20190723/dsgc_models.d.ts +1 -1
  42. package/tencentcloud/services/hunyuan/v20230901/hunyuan_models.d.ts +1 -0
  43. package/tencentcloud/services/ims/v20201229/ims_client.d.ts +1 -1
  44. package/tencentcloud/services/ims/v20201229/ims_client.js +1 -1
  45. package/tencentcloud/services/ims/v20201229/ims_models.d.ts +3 -3
  46. package/tencentcloud/services/lke/v20231130/lke_client.d.ts +195 -163
  47. package/tencentcloud/services/lke/v20231130/lke_client.js +288 -240
  48. package/tencentcloud/services/lke/v20231130/lke_models.d.ts +497 -97
  49. package/tencentcloud/services/mps/v20190612/mps_models.d.ts +7 -2
  50. package/tencentcloud/services/mqtt/v20240516/mqtt_client.d.ts +72 -1
  51. package/tencentcloud/services/mqtt/v20240516/mqtt_client.js +105 -0
  52. package/tencentcloud/services/mqtt/v20240516/mqtt_models.d.ts +856 -97
  53. package/tencentcloud/services/organization/v20210331/organization_client.d.ts +9 -1
  54. package/tencentcloud/services/organization/v20210331/organization_client.js +12 -0
  55. package/tencentcloud/services/organization/v20210331/organization_models.d.ts +170 -26
  56. package/tencentcloud/services/tcss/v20201101/tcss_client.d.ts +3 -1
  57. package/tencentcloud/services/tcss/v20201101/tcss_client.js +3 -1
  58. package/tencentcloud/services/tke/v20180525/tke_client.d.ts +13 -5
  59. package/tencentcloud/services/tke/v20180525/tke_client.js +18 -6
  60. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +150 -70
  61. package/tencentcloud/services/vdb/v20230616/vdb_models.d.ts +5 -0
  62. package/tencentcloud/services/vod/v20180717/vod_client.d.ts +1 -1
  63. package/tencentcloud/services/vod/v20180717/vod_client.js +1 -1
  64. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +33 -1
  65. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +17 -1
  66. package/test/asr.v20190614.test.js +10 -0
  67. package/test/lke.v20231130.test.js +238 -158
  68. package/test/mqtt.v20240516.test.js +170 -0
  69. package/test/organization.v20210331.test.js +20 -0
  70. package/test/tke.v20180525.test.js +24 -4
@@ -28,6 +28,56 @@ it("mqtt.v20240516.DescribeInstance", async function () {
28
28
  }
29
29
  })
30
30
 
31
+ it("mqtt.v20240516.CreateTopic", async function () {
32
+ try {
33
+ const data = await client.CreateTopic({})
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("mqtt.v20240516.RegisterDeviceCertificate", async function () {
42
+ try {
43
+ const data = await client.RegisterDeviceCertificate({})
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("mqtt.v20240516.DescribeAuthorizationPolicies", async function () {
52
+ try {
53
+ const data = await client.DescribeAuthorizationPolicies({})
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("mqtt.v20240516.ModifyTopic", async function () {
62
+ try {
63
+ const data = await client.ModifyTopic({})
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("mqtt.v20240516.ModifyAuthorizationPolicy", async function () {
72
+ try {
73
+ const data = await client.ModifyAuthorizationPolicy({})
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
+
31
81
  it("mqtt.v20240516.DescribeInstanceList", async function () {
32
82
  try {
33
83
  const data = await client.DescribeInstanceList({})
@@ -38,4 +88,124 @@ it("mqtt.v20240516.DescribeInstanceList", async function () {
38
88
  }
39
89
  })
40
90
 
91
+ it("mqtt.v20240516.DeleteAuthorizationPolicy", async function () {
92
+ try {
93
+ const data = await client.DeleteAuthorizationPolicy({})
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("mqtt.v20240516.DeleteAuthenticator", async function () {
102
+ try {
103
+ const data = await client.DeleteAuthenticator({})
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("mqtt.v20240516.DescribeTopic", async function () {
112
+ try {
113
+ const data = await client.DescribeTopic({})
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("mqtt.v20240516.DescribeAuthenticator", async function () {
122
+ try {
123
+ const data = await client.DescribeAuthenticator({})
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("mqtt.v20240516.CreateJWTAuthenticator", async function () {
132
+ try {
133
+ const data = await client.CreateJWTAuthenticator({})
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("mqtt.v20240516.UpdateAuthorizationPolicyPriority", async function () {
142
+ try {
143
+ const data = await client.UpdateAuthorizationPolicyPriority({})
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("mqtt.v20240516.ModifyJWTAuthenticator", async function () {
152
+ try {
153
+ const data = await client.ModifyJWTAuthenticator({})
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("mqtt.v20240516.DescribeTopicList", async function () {
162
+ try {
163
+ const data = await client.DescribeTopicList({})
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("mqtt.v20240516.DeleteTopic", async function () {
172
+ try {
173
+ const data = await client.DeleteTopic({})
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("mqtt.v20240516.CreateAuthorizationPolicy", async function () {
182
+ try {
183
+ const data = await client.CreateAuthorizationPolicy({})
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("mqtt.v20240516.ModifyJWKSAuthenticator", async function () {
192
+ try {
193
+ const data = await client.ModifyJWKSAuthenticator({})
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("mqtt.v20240516.CreateJWKSAuthenticator", async function () {
202
+ try {
203
+ const data = await client.CreateJWKSAuthenticator({})
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
+
41
211
  })
@@ -1008,6 +1008,16 @@ it("organization.v20210331.ListRoleConfigurations", async function () {
1008
1008
  }
1009
1009
  })
1010
1010
 
1011
+ it("organization.v20210331.InviteOrganizationMember", async function () {
1012
+ try {
1013
+ const data = await client.InviteOrganizationMember({})
1014
+ expect(data).to.be.ok
1015
+ } catch(error) {
1016
+ expect(error.requestId).to.be.ok
1017
+ expect(error.code).to.be.ok
1018
+ }
1019
+ })
1020
+
1011
1021
  it("organization.v20210331.AddShareUnitResources", async function () {
1012
1022
  try {
1013
1023
  const data = await client.AddShareUnitResources({})
@@ -1168,6 +1178,16 @@ it("organization.v20210331.ListOrganizationService", async function () {
1168
1178
  }
1169
1179
  })
1170
1180
 
1181
+ it("organization.v20210331.UpdateCustomPolicyForRoleConfiguration", async function () {
1182
+ try {
1183
+ const data = await client.UpdateCustomPolicyForRoleConfiguration({})
1184
+ expect(data).to.be.ok
1185
+ } catch(error) {
1186
+ expect(error.requestId).to.be.ok
1187
+ expect(error.code).to.be.ok
1188
+ }
1189
+ })
1190
+
1171
1191
  it("organization.v20210331.DeleteOrganizationMemberAuthIdentity", async function () {
1172
1192
  try {
1173
1193
  const data = await client.DeleteOrganizationMemberAuthIdentity({})
@@ -608,6 +608,16 @@ it("tke.v20180525.DescribeClusterAuthenticationOptions", async function () {
608
608
  }
609
609
  })
610
610
 
611
+ it("tke.v20180525.ModifyClusterAsGroupAttribute", async function () {
612
+ try {
613
+ const data = await client.ModifyClusterAsGroupAttribute({})
614
+ expect(data).to.be.ok
615
+ } catch(error) {
616
+ expect(error.requestId).to.be.ok
617
+ expect(error.code).to.be.ok
618
+ }
619
+ })
620
+
611
621
  it("tke.v20180525.InstallAddon", async function () {
612
622
  try {
613
623
  const data = await client.InstallAddon({})
@@ -1138,9 +1148,9 @@ it("tke.v20180525.ModifyNodePoolInstanceTypes", async function () {
1138
1148
  }
1139
1149
  })
1140
1150
 
1141
- it("tke.v20180525.ModifyClusterAsGroupAttribute", async function () {
1151
+ it("tke.v20180525.DescribeLogConfigs", async function () {
1142
1152
  try {
1143
- const data = await client.ModifyClusterAsGroupAttribute({})
1153
+ const data = await client.DescribeLogConfigs({})
1144
1154
  expect(data).to.be.ok
1145
1155
  } catch(error) {
1146
1156
  expect(error.requestId).to.be.ok
@@ -1288,6 +1298,16 @@ it("tke.v20180525.DescribeClusterReleaseHistory", async function () {
1288
1298
  }
1289
1299
  })
1290
1300
 
1301
+ it("tke.v20180525.RollbackClusterRelease", async function () {
1302
+ try {
1303
+ const data = await client.RollbackClusterRelease({})
1304
+ expect(data).to.be.ok
1305
+ } catch(error) {
1306
+ expect(error.requestId).to.be.ok
1307
+ expect(error.code).to.be.ok
1308
+ }
1309
+ })
1310
+
1291
1311
  it("tke.v20180525.ModifyClusterNodePool", async function () {
1292
1312
  try {
1293
1313
  const data = await client.ModifyClusterNodePool({})
@@ -1898,9 +1918,9 @@ it("tke.v20180525.DescribeEdgeClusterUpgradeInfo", async function () {
1898
1918
  }
1899
1919
  })
1900
1920
 
1901
- it("tke.v20180525.RollbackClusterRelease", async function () {
1921
+ it("tke.v20180525.DeleteLogConfigs", async function () {
1902
1922
  try {
1903
- const data = await client.RollbackClusterRelease({})
1923
+ const data = await client.DeleteLogConfigs({})
1904
1924
  expect(data).to.be.ok
1905
1925
  } catch(error) {
1906
1926
  expect(error.requestId).to.be.ok