tencentcloud-sdk-nodejs 4.0.654 → 4.0.656

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 (97) hide show
  1. package/CHANGELOG.md +357 -0
  2. package/SERVICE_CHANGELOG.md +326 -286
  3. package/package.json +1 -1
  4. package/products.md +30 -30
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/antiddos/v20200309/antiddos_models.ts +53 -53
  7. package/src/services/cls/v20201016/cls_client.ts +12 -0
  8. package/src/services/cls/v20201016/cls_models.ts +33 -1
  9. package/src/services/cynosdb/v20190107/cynosdb_client.ts +15 -3
  10. package/src/services/cynosdb/v20190107/cynosdb_models.ts +93 -78
  11. package/src/services/dasb/v20191018/dasb_models.ts +52 -43
  12. package/src/services/ess/v20201111/ess_client.ts +14 -2
  13. package/src/services/ess/v20201111/ess_models.ts +153 -29
  14. package/src/services/essbasic/v20210526/essbasic_client.ts +17 -5
  15. package/src/services/essbasic/v20210526/essbasic_models.ts +36 -31
  16. package/src/services/goosefs/v20220519/goosefs_client.ts +201 -12
  17. package/src/services/goosefs/v20220519/goosefs_models.ts +697 -73
  18. package/src/services/live/v20180801/live_models.ts +1 -1
  19. package/src/services/monitor/v20180724/monitor_models.ts +9 -9
  20. package/src/services/ms/v20180408/ms_client.ts +18 -8
  21. package/src/services/ms/v20180408/ms_models.ts +27 -27
  22. package/src/services/nlp/v20190408/nlp_client.ts +66 -475
  23. package/src/services/nlp/v20190408/nlp_models.ts +262 -1301
  24. package/src/services/ocr/v20181119/ocr_client.ts +4 -2
  25. package/src/services/ocr/v20181119/ocr_models.ts +3 -3
  26. package/src/services/redis/v20180412/redis_client.ts +1 -1
  27. package/src/services/redis/v20180412/redis_models.ts +2 -2
  28. package/src/services/scf/v20180416/scf_models.ts +1 -1
  29. package/src/services/sqlserver/v20180328/sqlserver_client.ts +13 -0
  30. package/src/services/sqlserver/v20180328/sqlserver_models.ts +38 -0
  31. package/src/services/tcss/v20201101/tcss_models.ts +1 -1
  32. package/src/services/tdmq/v20200217/tdmq_client.ts +22 -10
  33. package/src/services/tdmq/v20200217/tdmq_models.ts +269 -230
  34. package/src/services/teo/v20220901/teo_models.ts +4 -4
  35. package/src/services/tiw/v20190919/tiw_client.ts +1 -1
  36. package/src/services/tiw/v20190919/tiw_models.ts +1 -1
  37. package/src/services/tke/v20180525/tke_models.ts +24 -24
  38. package/src/services/trtc/v20190722/trtc_client.ts +2 -1
  39. package/src/services/trtc/v20190722/trtc_models.ts +1 -1
  40. package/src/services/tsf/v20180326/tsf_models.ts +40 -31
  41. package/tencentcloud/common/sdk_version.d.ts +1 -1
  42. package/tencentcloud/common/sdk_version.js +1 -1
  43. package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +53 -53
  44. package/tencentcloud/services/cls/v20201016/cls_client.d.ts +5 -1
  45. package/tencentcloud/services/cls/v20201016/cls_client.js +6 -0
  46. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +31 -1
  47. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +5 -1
  48. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +6 -0
  49. package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +91 -78
  50. package/tencentcloud/services/dasb/v20191018/dasb_models.d.ts +52 -43
  51. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +7 -3
  52. package/tencentcloud/services/ess/v20201111/ess_client.js +8 -2
  53. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +151 -29
  54. package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +17 -5
  55. package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +17 -5
  56. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +36 -31
  57. package/tencentcloud/services/goosefs/v20220519/goosefs_client.d.ts +63 -3
  58. package/tencentcloud/services/goosefs/v20220519/goosefs_client.js +93 -3
  59. package/tencentcloud/services/goosefs/v20220519/goosefs_models.d.ts +642 -57
  60. package/tencentcloud/services/live/v20180801/live_models.d.ts +1 -1
  61. package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +9 -9
  62. package/tencentcloud/services/ms/v20180408/ms_client.d.ts +15 -5
  63. package/tencentcloud/services/ms/v20180408/ms_client.js +15 -5
  64. package/tencentcloud/services/ms/v20180408/ms_models.d.ts +27 -27
  65. package/tencentcloud/services/nlp/v20190408/nlp_client.d.ts +15 -206
  66. package/tencentcloud/services/nlp/v20190408/nlp_client.js +21 -264
  67. package/tencentcloud/services/nlp/v20190408/nlp_models.d.ts +242 -1219
  68. package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +4 -2
  69. package/tencentcloud/services/ocr/v20181119/ocr_client.js +4 -2
  70. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +3 -3
  71. package/tencentcloud/services/redis/v20180412/redis_client.d.ts +1 -1
  72. package/tencentcloud/services/redis/v20180412/redis_client.js +1 -1
  73. package/tencentcloud/services/redis/v20180412/redis_models.d.ts +2 -2
  74. package/tencentcloud/services/scf/v20180416/scf_models.d.ts +1 -1
  75. package/tencentcloud/services/sqlserver/v20180328/sqlserver_client.d.ts +5 -1
  76. package/tencentcloud/services/sqlserver/v20180328/sqlserver_client.js +6 -0
  77. package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +35 -0
  78. package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +1 -1
  79. package/tencentcloud/services/tdmq/v20200217/tdmq_client.d.ts +5 -1
  80. package/tencentcloud/services/tdmq/v20200217/tdmq_client.js +6 -0
  81. package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +265 -228
  82. package/tencentcloud/services/teo/v20220901/teo_models.d.ts +4 -4
  83. package/tencentcloud/services/tiw/v20190919/tiw_client.d.ts +1 -1
  84. package/tencentcloud/services/tiw/v20190919/tiw_client.js +1 -1
  85. package/tencentcloud/services/tiw/v20190919/tiw_models.d.ts +1 -1
  86. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +24 -24
  87. package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +2 -1
  88. package/tencentcloud/services/trtc/v20190722/trtc_client.js +2 -1
  89. package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +1 -1
  90. package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +40 -31
  91. package/test/cls.v20201016.test.js +10 -0
  92. package/test/cynosdb.v20190107.test.js +10 -0
  93. package/test/ess.v20201111.test.js +10 -0
  94. package/test/goosefs.v20220519.test.js +152 -2
  95. package/test/nlp.v20190408.test.js +14 -274
  96. package/test/sqlserver.v20180328.test.js +10 -0
  97. package/test/tdmq.v20200217.test.js +10 -0
@@ -18,9 +18,9 @@ const client = new tencentcloud.nlp.v20190408.Client({
18
18
  })
19
19
  describe("nlp.v20190408.test.js", function () {
20
20
 
21
- it("nlp.v20190408.DescribeDict", async function () {
21
+ it("nlp.v20190408.TextEmbellish", async function () {
22
22
  try {
23
- const data = await client.DescribeDict({})
23
+ const data = await client.TextEmbellish({})
24
24
  expect(data).to.be.ok
25
25
  } catch(error) {
26
26
  expect(error.requestId).to.be.ok
@@ -28,9 +28,9 @@ it("nlp.v20190408.DescribeDict", async function () {
28
28
  }
29
29
  })
30
30
 
31
- it("nlp.v20190408.SearchWordItems", async function () {
31
+ it("nlp.v20190408.ClassifyContent", async function () {
32
32
  try {
33
- const data = await client.SearchWordItems({})
33
+ const data = await client.ClassifyContent({})
34
34
  expect(data).to.be.ok
35
35
  } catch(error) {
36
36
  expect(error.requestId).to.be.ok
@@ -38,9 +38,9 @@ it("nlp.v20190408.SearchWordItems", async function () {
38
38
  }
39
39
  })
40
40
 
41
- it("nlp.v20190408.DeleteWordItems", async function () {
41
+ it("nlp.v20190408.SentenceCorrection", async function () {
42
42
  try {
43
- const data = await client.DeleteWordItems({})
43
+ const data = await client.SentenceCorrection({})
44
44
  expect(data).to.be.ok
45
45
  } catch(error) {
46
46
  expect(error.requestId).to.be.ok
@@ -48,9 +48,9 @@ it("nlp.v20190408.DeleteWordItems", async function () {
48
48
  }
49
49
  })
50
50
 
51
- it("nlp.v20190408.UpdateDict", async function () {
51
+ it("nlp.v20190408.ComposePoetry", async function () {
52
52
  try {
53
- const data = await client.UpdateDict({})
53
+ const data = await client.ComposePoetry({})
54
54
  expect(data).to.be.ok
55
55
  } catch(error) {
56
56
  expect(error.requestId).to.be.ok
@@ -58,9 +58,9 @@ it("nlp.v20190408.UpdateDict", async function () {
58
58
  }
59
59
  })
60
60
 
61
- it("nlp.v20190408.DependencyParsing", async function () {
61
+ it("nlp.v20190408.RetrieveSimilarWords", async function () {
62
62
  try {
63
- const data = await client.DependencyParsing({})
63
+ const data = await client.RetrieveSimilarWords({})
64
64
  expect(data).to.be.ok
65
65
  } catch(error) {
66
66
  expect(error.requestId).to.be.ok
@@ -88,16 +88,6 @@ it("nlp.v20190408.GenerateKeywordSentence", async function () {
88
88
  }
89
89
  })
90
90
 
91
- it("nlp.v20190408.DescribeDicts", async function () {
92
- try {
93
- const data = await client.DescribeDicts({})
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
91
  it("nlp.v20190408.TextWriting", async function () {
102
92
  try {
103
93
  const data = await client.TextWriting({})
@@ -108,96 +98,6 @@ it("nlp.v20190408.TextWriting", async function () {
108
98
  }
109
99
  })
110
100
 
111
- it("nlp.v20190408.CreateDict", async function () {
112
- try {
113
- const data = await client.CreateDict({})
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("nlp.v20190408.GeneratePoetry", async function () {
122
- try {
123
- const data = await client.GeneratePoetry({})
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("nlp.v20190408.ParseWords", async function () {
132
- try {
133
- const data = await client.ParseWords({})
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("nlp.v20190408.ComposeCouplet", async function () {
142
- try {
143
- const data = await client.ComposeCouplet({})
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("nlp.v20190408.TextClassification", async function () {
152
- try {
153
- const data = await client.TextClassification({})
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("nlp.v20190408.WordSimilarity", async function () {
162
- try {
163
- const data = await client.WordSimilarity({})
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("nlp.v20190408.SentenceEmbedding", async function () {
172
- try {
173
- const data = await client.SentenceEmbedding({})
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("nlp.v20190408.DescribeWordItems", async function () {
182
- try {
183
- const data = await client.DescribeWordItems({})
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("nlp.v20190408.TextCorrection", async function () {
192
- try {
193
- const data = await client.TextCorrection({})
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
101
  it("nlp.v20190408.EvaluateWordSimilarity", async function () {
202
102
  try {
203
103
  const data = await client.EvaluateWordSimilarity({})
@@ -208,159 +108,9 @@ it("nlp.v20190408.EvaluateWordSimilarity", async function () {
208
108
  }
209
109
  })
210
110
 
211
- it("nlp.v20190408.GenerateCouplet", async function () {
212
- try {
213
- const data = await client.GenerateCouplet({})
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("nlp.v20190408.ComposePoetry", async function () {
222
- try {
223
- const data = await client.ComposePoetry({})
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("nlp.v20190408.CreateWordItems", async function () {
232
- try {
233
- const data = await client.CreateWordItems({})
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("nlp.v20190408.TextSimilarityPro", async function () {
242
- try {
243
- const data = await client.TextSimilarityPro({})
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("nlp.v20190408.TextSimilarity", async function () {
252
- try {
253
- const data = await client.TextSimilarity({})
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("nlp.v20190408.SentimentAnalysis", async function () {
262
- try {
263
- const data = await client.SentimentAnalysis({})
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("nlp.v20190408.ChatBot", async function () {
272
- try {
273
- const data = await client.ChatBot({})
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("nlp.v20190408.LexicalAnalysis", async function () {
282
- try {
283
- const data = await client.LexicalAnalysis({})
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("nlp.v20190408.RetrieveSimilarWords", async function () {
292
- try {
293
- const data = await client.RetrieveSimilarWords({})
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("nlp.v20190408.KeywordsExtraction", async function () {
302
- try {
303
- const data = await client.KeywordsExtraction({})
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("nlp.v20190408.TextEmbellish", async function () {
312
- try {
313
- const data = await client.TextEmbellish({})
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("nlp.v20190408.ClassifyContent", async function () {
322
- try {
323
- const data = await client.ClassifyContent({})
324
- expect(data).to.be.ok
325
- } catch(error) {
326
- expect(error.requestId).to.be.ok
327
- expect(error.code).to.be.ok
328
- }
329
- })
330
-
331
- it("nlp.v20190408.TextCorrectionPro", async function () {
332
- try {
333
- const data = await client.TextCorrectionPro({})
334
- expect(data).to.be.ok
335
- } catch(error) {
336
- expect(error.requestId).to.be.ok
337
- expect(error.code).to.be.ok
338
- }
339
- })
340
-
341
- it("nlp.v20190408.WordEmbedding", async function () {
342
- try {
343
- const data = await client.WordEmbedding({})
344
- expect(data).to.be.ok
345
- } catch(error) {
346
- expect(error.requestId).to.be.ok
347
- expect(error.code).to.be.ok
348
- }
349
- })
350
-
351
- it("nlp.v20190408.SentenceCorrection", async function () {
352
- try {
353
- const data = await client.SentenceCorrection({})
354
- expect(data).to.be.ok
355
- } catch(error) {
356
- expect(error.requestId).to.be.ok
357
- expect(error.code).to.be.ok
358
- }
359
- })
360
-
361
- it("nlp.v20190408.DeleteDict", async function () {
111
+ it("nlp.v20190408.ComposeCouplet", async function () {
362
112
  try {
363
- const data = await client.DeleteDict({})
113
+ const data = await client.ComposeCouplet({})
364
114
  expect(data).to.be.ok
365
115
  } catch(error) {
366
116
  expect(error.requestId).to.be.ok
@@ -378,19 +128,9 @@ it("nlp.v20190408.AnalyzeSentiment", async function () {
378
128
  }
379
129
  })
380
130
 
381
- it("nlp.v20190408.SimilarWords", async function () {
382
- try {
383
- const data = await client.SimilarWords({})
384
- expect(data).to.be.ok
385
- } catch(error) {
386
- expect(error.requestId).to.be.ok
387
- expect(error.code).to.be.ok
388
- }
389
- })
390
-
391
- it("nlp.v20190408.AutoSummarization", async function () {
131
+ it("nlp.v20190408.ParseWords", async function () {
392
132
  try {
393
- const data = await client.AutoSummarization({})
133
+ const data = await client.ParseWords({})
394
134
  expect(data).to.be.ok
395
135
  } catch(error) {
396
136
  expect(error.requestId).to.be.ok
@@ -768,6 +768,16 @@ it("sqlserver.v20180328.ModifyBackupName", async function () {
768
768
  }
769
769
  })
770
770
 
771
+ it("sqlserver.v20180328.DescribeInstanceByOrders", async function () {
772
+ try {
773
+ const data = await client.DescribeInstanceByOrders({})
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
+
771
781
  it("sqlserver.v20180328.DescribeAccounts", async function () {
772
782
  try {
773
783
  const data = await client.DescribeAccounts({})
@@ -958,6 +958,16 @@ it("tdmq.v20200217.SendMsg", async function () {
958
958
  }
959
959
  })
960
960
 
961
+ it("tdmq.v20200217.DeleteRocketMQVipInstance", async function () {
962
+ try {
963
+ const data = await client.DeleteRocketMQVipInstance({})
964
+ expect(data).to.be.ok
965
+ } catch(error) {
966
+ expect(error.requestId).to.be.ok
967
+ expect(error.code).to.be.ok
968
+ }
969
+ })
970
+
961
971
  it("tdmq.v20200217.SendRocketMQMessage", async function () {
962
972
  try {
963
973
  const data = await client.SendRocketMQMessage({})