tencentcloud-sdk-nodejs 4.0.634 → 4.0.636

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 (76) hide show
  1. package/CHANGELOG.md +509 -0
  2. package/SERVICE_CHANGELOG.md +615 -53
  3. package/package.json +1 -1
  4. package/products.md +26 -26
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/apigateway/v20180808/apigateway_models.ts +2 -2
  7. package/src/services/asr/v20190614/asr_client.ts +168 -112
  8. package/src/services/asr/v20190614/asr_models.ts +176 -3
  9. package/src/services/cfw/v20190904/cfw_models.ts +1 -1
  10. package/src/services/ciam/v20220331/ciam_models.ts +8 -0
  11. package/src/services/cls/v20201016/cls_models.ts +17 -2
  12. package/src/services/dlc/v20210125/dlc_client.ts +1 -1
  13. package/src/services/dlc/v20210125/dlc_models.ts +20 -3
  14. package/src/services/emr/v20190103/emr_client.ts +60 -21
  15. package/src/services/emr/v20190103/emr_models.ts +652 -102
  16. package/src/services/ess/v20201111/ess_models.ts +42 -7
  17. package/src/services/essbasic/v20210526/essbasic_models.ts +2 -1
  18. package/src/services/live/v20180801/live_models.ts +18 -0
  19. package/src/services/mongodb/v20190725/mongodb_models.ts +65 -41
  20. package/src/services/postgres/v20170312/postgres_client.ts +1 -1
  21. package/src/services/postgres/v20170312/postgres_models.ts +57 -23
  22. package/src/services/privatedns/v20201028/privatedns_models.ts +4 -4
  23. package/src/services/sqlserver/v20180328/sqlserver_models.ts +12 -11
  24. package/src/services/tcr/v20190924/tcr_models.ts +13 -2
  25. package/src/services/teo/v20220901/teo_client.ts +462 -790
  26. package/src/services/teo/v20220901/teo_models.ts +533 -2272
  27. package/src/services/trp/v20210515/trp_client.ts +13 -0
  28. package/src/services/trp/v20210515/trp_models.ts +98 -3
  29. package/src/services/trtc/v20190722/trtc_models.ts +2 -2
  30. package/src/services/vpc/v20170312/vpc_client.ts +1 -1
  31. package/src/services/vpc/v20170312/vpc_models.ts +28 -16
  32. package/src/services/waf/v20180125/waf_models.ts +33 -13
  33. package/src/services/wedata/v20210820/wedata_client.ts +9 -3
  34. package/src/services/wedata/v20210820/wedata_models.ts +294 -33
  35. package/tencentcloud/common/sdk_version.d.ts +1 -1
  36. package/tencentcloud/common/sdk_version.js +1 -1
  37. package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +2 -2
  38. package/tencentcloud/services/asr/v20190614/asr_client.d.ts +70 -48
  39. package/tencentcloud/services/asr/v20190614/asr_client.js +94 -64
  40. package/tencentcloud/services/asr/v20190614/asr_models.d.ts +166 -3
  41. package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +1 -1
  42. package/tencentcloud/services/ciam/v20220331/ciam_models.d.ts +8 -0
  43. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +17 -2
  44. package/tencentcloud/services/dlc/v20210125/dlc_client.d.ts +1 -1
  45. package/tencentcloud/services/dlc/v20210125/dlc_client.js +1 -1
  46. package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +20 -3
  47. package/tencentcloud/services/emr/v20190103/emr_client.d.ts +17 -5
  48. package/tencentcloud/services/emr/v20190103/emr_client.js +24 -6
  49. package/tencentcloud/services/emr/v20190103/emr_models.d.ts +649 -108
  50. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +42 -7
  51. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +2 -1
  52. package/tencentcloud/services/live/v20180801/live_models.d.ts +18 -0
  53. package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +65 -41
  54. package/tencentcloud/services/postgres/v20170312/postgres_client.d.ts +1 -1
  55. package/tencentcloud/services/postgres/v20170312/postgres_client.js +1 -1
  56. package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +57 -23
  57. package/tencentcloud/services/privatedns/v20201028/privatedns_models.d.ts +4 -4
  58. package/tencentcloud/services/sqlserver/v20180328/sqlserver_models.d.ts +12 -11
  59. package/tencentcloud/services/tcr/v20190924/tcr_models.d.ts +13 -2
  60. package/tencentcloud/services/teo/v20220901/teo_client.d.ts +121 -223
  61. package/tencentcloud/services/teo/v20220901/teo_client.js +179 -333
  62. package/tencentcloud/services/teo/v20220901/teo_models.d.ts +576 -2245
  63. package/tencentcloud/services/trp/v20210515/trp_client.d.ts +5 -1
  64. package/tencentcloud/services/trp/v20210515/trp_client.js +6 -0
  65. package/tencentcloud/services/trp/v20210515/trp_models.d.ts +95 -3
  66. package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +2 -2
  67. package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +1 -1
  68. package/tencentcloud/services/vpc/v20170312/vpc_client.js +1 -1
  69. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +28 -16
  70. package/tencentcloud/services/waf/v20180125/waf_models.d.ts +33 -13
  71. package/tencentcloud/services/wedata/v20210820/wedata_client.d.ts +1 -1
  72. package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +288 -33
  73. package/test/asr.v20190614.test.js +74 -34
  74. package/test/emr.v20190103.test.js +34 -4
  75. package/test/teo.v20220901.test.js +118 -378
  76. package/test/trp.v20210515.test.js +10 -0
@@ -18,9 +18,9 @@ const client = new tencentcloud.asr.v20190614.Client({
18
18
  })
19
19
  describe("asr.v20190614.test.js", function () {
20
20
 
21
- it("asr.v20190614.CloseAsyncRecognitionTask", async function () {
21
+ it("asr.v20190614.UpdateAsrVocab", async function () {
22
22
  try {
23
- const data = await client.CloseAsyncRecognitionTask({})
23
+ const data = await client.UpdateAsrVocab({})
24
24
  expect(data).to.be.ok
25
25
  } catch(error) {
26
26
  expect(error.requestId).to.be.ok
@@ -28,9 +28,9 @@ it("asr.v20190614.CloseAsyncRecognitionTask", async function () {
28
28
  }
29
29
  })
30
30
 
31
- it("asr.v20190614.GetAsrVocabList", async function () {
31
+ it("asr.v20190614.CreateAsyncRecognitionTask", async function () {
32
32
  try {
33
- const data = await client.GetAsrVocabList({})
33
+ const data = await client.CreateAsyncRecognitionTask({})
34
34
  expect(data).to.be.ok
35
35
  } catch(error) {
36
36
  expect(error.requestId).to.be.ok
@@ -38,9 +38,9 @@ it("asr.v20190614.GetAsrVocabList", async function () {
38
38
  }
39
39
  })
40
40
 
41
- it("asr.v20190614.DownloadAsrVocab", async function () {
41
+ it("asr.v20190614.GetCustomizationList", async function () {
42
42
  try {
43
- const data = await client.DownloadAsrVocab({})
43
+ const data = await client.GetCustomizationList({})
44
44
  expect(data).to.be.ok
45
45
  } catch(error) {
46
46
  expect(error.requestId).to.be.ok
@@ -48,9 +48,9 @@ it("asr.v20190614.DownloadAsrVocab", async function () {
48
48
  }
49
49
  })
50
50
 
51
- it("asr.v20190614.GetModelInfo", async function () {
51
+ it("asr.v20190614.GetAsrVocabList", async function () {
52
52
  try {
53
- const data = await client.GetModelInfo({})
53
+ const data = await client.GetAsrVocabList({})
54
54
  expect(data).to.be.ok
55
55
  } catch(error) {
56
56
  expect(error.requestId).to.be.ok
@@ -58,9 +58,9 @@ it("asr.v20190614.GetModelInfo", async function () {
58
58
  }
59
59
  })
60
60
 
61
- it("asr.v20190614.CreateRecTask", async function () {
61
+ it("asr.v20190614.GetAsrVocab", async function () {
62
62
  try {
63
- const data = await client.CreateRecTask({})
63
+ const data = await client.GetAsrVocab({})
64
64
  expect(data).to.be.ok
65
65
  } catch(error) {
66
66
  expect(error.requestId).to.be.ok
@@ -68,9 +68,9 @@ it("asr.v20190614.CreateRecTask", async function () {
68
68
  }
69
69
  })
70
70
 
71
- it("asr.v20190614.GetAsrVocab", async function () {
71
+ it("asr.v20190614.SetVocabState", async function () {
72
72
  try {
73
- const data = await client.GetAsrVocab({})
73
+ const data = await client.SetVocabState({})
74
74
  expect(data).to.be.ok
75
75
  } catch(error) {
76
76
  expect(error.requestId).to.be.ok
@@ -78,9 +78,9 @@ it("asr.v20190614.GetAsrVocab", async function () {
78
78
  }
79
79
  })
80
80
 
81
- it("asr.v20190614.DescribeTaskStatus", async function () {
81
+ it("asr.v20190614.DownloadAsrVocab", async function () {
82
82
  try {
83
- const data = await client.DescribeTaskStatus({})
83
+ const data = await client.DownloadAsrVocab({})
84
84
  expect(data).to.be.ok
85
85
  } catch(error) {
86
86
  expect(error.requestId).to.be.ok
@@ -88,9 +88,9 @@ it("asr.v20190614.DescribeTaskStatus", async function () {
88
88
  }
89
89
  })
90
90
 
91
- it("asr.v20190614.ModifyCustomizationState", async function () {
91
+ it("asr.v20190614.CreateCustomization", async function () {
92
92
  try {
93
- const data = await client.ModifyCustomizationState({})
93
+ const data = await client.CreateCustomization({})
94
94
  expect(data).to.be.ok
95
95
  } catch(error) {
96
96
  expect(error.requestId).to.be.ok
@@ -98,9 +98,9 @@ it("asr.v20190614.ModifyCustomizationState", async function () {
98
98
  }
99
99
  })
100
100
 
101
- it("asr.v20190614.UpdateAsrVocab", async function () {
101
+ it("asr.v20190614.DeleteAsrVocab", async function () {
102
102
  try {
103
- const data = await client.UpdateAsrVocab({})
103
+ const data = await client.DeleteAsrVocab({})
104
104
  expect(data).to.be.ok
105
105
  } catch(error) {
106
106
  expect(error.requestId).to.be.ok
@@ -108,9 +108,9 @@ it("asr.v20190614.UpdateAsrVocab", async function () {
108
108
  }
109
109
  })
110
110
 
111
- it("asr.v20190614.SetVocabState", async function () {
111
+ it("asr.v20190614.SentenceRecognition", async function () {
112
112
  try {
113
- const data = await client.SetVocabState({})
113
+ const data = await client.SentenceRecognition({})
114
114
  expect(data).to.be.ok
115
115
  } catch(error) {
116
116
  expect(error.requestId).to.be.ok
@@ -118,9 +118,9 @@ it("asr.v20190614.SetVocabState", async function () {
118
118
  }
119
119
  })
120
120
 
121
- it("asr.v20190614.CreateAsyncRecognitionTask", async function () {
121
+ it("asr.v20190614.CreateRecTask", async function () {
122
122
  try {
123
- const data = await client.CreateAsyncRecognitionTask({})
123
+ const data = await client.CreateRecTask({})
124
124
  expect(data).to.be.ok
125
125
  } catch(error) {
126
126
  expect(error.requestId).to.be.ok
@@ -128,9 +128,9 @@ it("asr.v20190614.CreateAsyncRecognitionTask", async function () {
128
128
  }
129
129
  })
130
130
 
131
- it("asr.v20190614.CreateAsrVocab", async function () {
131
+ it("asr.v20190614.DescribeTaskStatus", async function () {
132
132
  try {
133
- const data = await client.CreateAsrVocab({})
133
+ const data = await client.DescribeTaskStatus({})
134
134
  expect(data).to.be.ok
135
135
  } catch(error) {
136
136
  expect(error.requestId).to.be.ok
@@ -138,9 +138,9 @@ it("asr.v20190614.CreateAsrVocab", async function () {
138
138
  }
139
139
  })
140
140
 
141
- it("asr.v20190614.DeleteCustomization", async function () {
141
+ it("asr.v20190614.VoicePrintEnroll", async function () {
142
142
  try {
143
- const data = await client.DeleteCustomization({})
143
+ const data = await client.VoicePrintEnroll({})
144
144
  expect(data).to.be.ok
145
145
  } catch(error) {
146
146
  expect(error.requestId).to.be.ok
@@ -148,9 +148,9 @@ it("asr.v20190614.DeleteCustomization", async function () {
148
148
  }
149
149
  })
150
150
 
151
- it("asr.v20190614.CreateCustomization", async function () {
151
+ it("asr.v20190614.VoicePrintVerify", async function () {
152
152
  try {
153
- const data = await client.CreateCustomization({})
153
+ const data = await client.VoicePrintVerify({})
154
154
  expect(data).to.be.ok
155
155
  } catch(error) {
156
156
  expect(error.requestId).to.be.ok
@@ -168,9 +168,9 @@ it("asr.v20190614.DescribeAsyncRecognitionTasks", async function () {
168
168
  }
169
169
  })
170
170
 
171
- it("asr.v20190614.GetCustomizationList", async function () {
171
+ it("asr.v20190614.VoicePrintDelete", async function () {
172
172
  try {
173
- const data = await client.GetCustomizationList({})
173
+ const data = await client.VoicePrintDelete({})
174
174
  expect(data).to.be.ok
175
175
  } catch(error) {
176
176
  expect(error.requestId).to.be.ok
@@ -178,9 +178,9 @@ it("asr.v20190614.GetCustomizationList", async function () {
178
178
  }
179
179
  })
180
180
 
181
- it("asr.v20190614.DeleteAsrVocab", async function () {
181
+ it("asr.v20190614.VoicePrintUpdate", async function () {
182
182
  try {
183
- const data = await client.DeleteAsrVocab({})
183
+ const data = await client.VoicePrintUpdate({})
184
184
  expect(data).to.be.ok
185
185
  } catch(error) {
186
186
  expect(error.requestId).to.be.ok
@@ -198,9 +198,49 @@ it("asr.v20190614.ModifyCustomization", async function () {
198
198
  }
199
199
  })
200
200
 
201
- it("asr.v20190614.SentenceRecognition", async function () {
201
+ it("asr.v20190614.CloseAsyncRecognitionTask", async function () {
202
202
  try {
203
- const data = await client.SentenceRecognition({})
203
+ const data = await client.CloseAsyncRecognitionTask({})
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("asr.v20190614.GetModelInfo", async function () {
212
+ try {
213
+ const data = await client.GetModelInfo({})
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("asr.v20190614.ModifyCustomizationState", async function () {
222
+ try {
223
+ const data = await client.ModifyCustomizationState({})
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("asr.v20190614.CreateAsrVocab", async function () {
232
+ try {
233
+ const data = await client.CreateAsrVocab({})
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("asr.v20190614.DeleteCustomization", async function () {
242
+ try {
243
+ const data = await client.DeleteCustomization({})
204
244
  expect(data).to.be.ok
205
245
  } catch(error) {
206
246
  expect(error.requestId).to.be.ok
@@ -18,6 +18,16 @@ const client = new tencentcloud.emr.v20190103.Client({
18
18
  })
19
19
  describe("emr.v20190103.test.js", function () {
20
20
 
21
+ it("emr.v20190103.DescribeYarnApplications", async function () {
22
+ try {
23
+ const data = await client.DescribeYarnApplications({})
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
+
21
31
  it("emr.v20190103.TerminateInstance", async function () {
22
32
  try {
23
33
  const data = await client.TerminateInstance({})
@@ -58,9 +68,19 @@ it("emr.v20190103.InquiryPriceRenewInstance", async function () {
58
68
  }
59
69
  })
60
70
 
61
- it("emr.v20190103.DescribeJobFlow", async function () {
71
+ it("emr.v20190103.DescribeImpalaQueries", async function () {
62
72
  try {
63
- const data = await client.DescribeJobFlow({})
73
+ const data = await client.DescribeImpalaQueries({})
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("emr.v20190103.ModifyResourceScheduleConfig", async function () {
82
+ try {
83
+ const data = await client.ModifyResourceScheduleConfig({})
64
84
  expect(data).to.be.ok
65
85
  } catch(error) {
66
86
  expect(error.requestId).to.be.ok
@@ -238,9 +258,19 @@ it("emr.v20190103.DescribeResourceSchedule", async function () {
238
258
  }
239
259
  })
240
260
 
241
- it("emr.v20190103.ModifyResourceScheduleConfig", async function () {
261
+ it("emr.v20190103.DescribeJobFlow", async function () {
242
262
  try {
243
- const data = await client.ModifyResourceScheduleConfig({})
263
+ const data = await client.DescribeJobFlow({})
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("emr.v20190103.DescribeHiveQueries", async function () {
272
+ try {
273
+ const data = await client.DescribeHiveQueries({})
244
274
  expect(data).to.be.ok
245
275
  } catch(error) {
246
276
  expect(error.requestId).to.be.ok