tencentcloud-sdk-nodejs 4.0.914 → 4.0.915

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 (38) hide show
  1. package/CHANGELOG.md +147 -0
  2. package/SERVICE_CHANGELOG.md +194 -60
  3. package/package.json +1 -1
  4. package/products.md +9 -9
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/aiart/v20221229/aiart_models.ts +5 -0
  7. package/src/services/cls/v20201016/cls_models.ts +16 -4
  8. package/src/services/cwp/v20180228/cwp_client.ts +17 -3
  9. package/src/services/cwp/v20180228/cwp_models.ts +89 -25
  10. package/src/services/emr/v20190103/emr_client.ts +55 -13
  11. package/src/services/emr/v20190103/emr_models.ts +614 -160
  12. package/src/services/ioa/v20220601/ioa_models.ts +6 -5
  13. package/src/services/smh/v20210712/smh_client.ts +68 -7
  14. package/src/services/smh/v20210712/smh_models.ts +425 -32
  15. package/src/services/trtc/v20190722/trtc_client.ts +0 -3
  16. package/src/services/trtc/v20190722/trtc_models.ts +3 -28
  17. package/src/services/vod/v20180717/vod_models.ts +5 -0
  18. package/tencentcloud/common/sdk_version.d.ts +1 -1
  19. package/tencentcloud/common/sdk_version.js +1 -1
  20. package/tencentcloud/services/aiart/v20221229/aiart_models.d.ts +5 -0
  21. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +16 -4
  22. package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +8 -2
  23. package/tencentcloud/services/cwp/v20180228/cwp_client.js +9 -1
  24. package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +87 -25
  25. package/tencentcloud/services/emr/v20190103/emr_client.d.ts +15 -3
  26. package/tencentcloud/services/emr/v20190103/emr_client.js +21 -3
  27. package/tencentcloud/services/emr/v20190103/emr_models.d.ts +607 -165
  28. package/tencentcloud/services/ioa/v20220601/ioa_models.d.ts +6 -5
  29. package/tencentcloud/services/smh/v20210712/smh_client.d.ts +23 -3
  30. package/tencentcloud/services/smh/v20210712/smh_client.js +33 -3
  31. package/tencentcloud/services/smh/v20210712/smh_models.d.ts +414 -32
  32. package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +0 -3
  33. package/tencentcloud/services/trtc/v20190722/trtc_client.js +0 -3
  34. package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +3 -28
  35. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +5 -0
  36. package/test/cwp.v20180228.test.js +10 -0
  37. package/test/emr.v20190103.test.js +32 -2
  38. package/test/smh.v20210712.test.js +52 -2
@@ -2558,7 +2558,6 @@ export interface RecognizeConfig {
2558
2558
 
2559
2559
  注意:
2560
2560
  如果缺少满足您需求的语言,请联系我们技术人员。
2561
- 示例值:zh
2562
2561
  */
2563
2562
  Language?: string;
2564
2563
  /**
@@ -2567,37 +2566,13 @@ export interface RecognizeConfig {
2567
2566
  */
2568
2567
  AlternativeLanguage?: Array<string>;
2569
2568
  /**
2570
- * 使用的模型,目前支持tencent和google,默认是tencent。
2569
+ * 目前已不支持
2571
2570
  * @deprecated
2572
2571
  */
2573
2572
  Model?: string;
2574
2573
  /**
2575
- * 翻译功能支持的语言,如果填写,则会启用翻译,不填则只会使用语音识别。
2576
- 注:文本翻译功能需要购买「语音转文本时长包」解锁或领取包月套餐-体验版解。
2577
- 目前全量支持的语言如下,等号左面是语言英文名,右面是Language字段需要填写的值,该值遵循[ISO639](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes):
2578
- Chinese = "zh"
2579
- Chinese_TW = "zh-TW"
2580
- English = "en"
2581
- Vietnamese = "vi"
2582
- Japanese = "ja"
2583
- Korean = "ko"
2584
- Indonesia = "id"
2585
- Thai = "th"
2586
- Portuguese = "pt"
2587
- Turkish = "tr"
2588
- Arabic = "ar"
2589
- Spanish = "es"
2590
- Hindi = "hi"
2591
- French = "fr"
2592
- Malay = "ms"
2593
- Filipino = "fil"
2594
- German = "de"
2595
- Italian = "it"
2596
- Russian = "ru"
2597
-
2598
- 注意:
2599
- 如果缺少满足您需求的语言,请联系我们技术人员。
2600
- 示例值:en
2574
+ * 目前已不支持
2575
+ * @deprecated
2601
2576
  */
2602
2577
  TranslationLanguage?: string;
2603
2578
  }
@@ -20000,6 +20000,11 @@ export interface EditMediaTEHDConfig {
20000
20000
  * 极速高清类型,可选值:<li>TEHD-100 表示极速高清-100;</li> <li>OFF 表示关闭极速高清。</li>不填表示 OFF。
20001
20001
  */
20002
20002
  Type: string;
20003
+ /**
20004
+ * 视频码率上限,当 Type 指定了极速高清类型时有效。
20005
+ 不填或填0表示不设视频码率上限。
20006
+ */
20007
+ MaxVideoBitrate?: number;
20003
20008
  }
20004
20009
  /**
20005
20010
  * 智能识别结果。
@@ -698,6 +698,16 @@ it("cwp.v20180228.DescribeMachineLicenseDetail", async function () {
698
698
  }
699
699
  })
700
700
 
701
+ it("cwp.v20180228.ModifyReverseShellRulesAggregation", async function () {
702
+ try {
703
+ const data = await client.ModifyReverseShellRulesAggregation({})
704
+ expect(data).to.be.ok
705
+ } catch(error) {
706
+ expect(error.requestId).to.be.ok
707
+ expect(error.code).to.be.ok
708
+ }
709
+ })
710
+
701
711
  it("cwp.v20180228.SwitchBashRules", async function () {
702
712
  try {
703
713
  const data = await client.SwitchBashRules({})
@@ -168,6 +168,16 @@ it("emr.v20190103.DescribeHBaseTableOverview", async function () {
168
168
  }
169
169
  })
170
170
 
171
+ it("emr.v20190103.DescribeServiceNodeInfos", async function () {
172
+ try {
173
+ const data = await client.DescribeServiceNodeInfos({})
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
+
171
181
  it("emr.v20190103.DescribeInstances", async function () {
172
182
  try {
173
183
  const data = await client.DescribeInstances({})
@@ -178,9 +188,9 @@ it("emr.v20190103.DescribeInstances", async function () {
178
188
  }
179
189
  })
180
190
 
181
- it("emr.v20190103.RunJobFlow", async function () {
191
+ it("emr.v20190103.ModifyYarnDeploy", async function () {
182
192
  try {
183
- const data = await client.RunJobFlow({})
193
+ const data = await client.ModifyYarnDeploy({})
184
194
  expect(data).to.be.ok
185
195
  } catch(error) {
186
196
  expect(error.requestId).to.be.ok
@@ -328,6 +338,16 @@ it("emr.v20190103.AddMetricScaleStrategy", async function () {
328
338
  }
329
339
  })
330
340
 
341
+ it("emr.v20190103.DescribeYarnScheduleHistory", async function () {
342
+ try {
343
+ const data = await client.DescribeYarnScheduleHistory({})
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
+
331
351
  it("emr.v20190103.DescribeJobFlow", async function () {
332
352
  try {
333
353
  const data = await client.DescribeJobFlow({})
@@ -468,4 +488,14 @@ it("emr.v20190103.ScaleOutCluster", async function () {
468
488
  }
469
489
  })
470
490
 
491
+ it("emr.v20190103.RunJobFlow", async function () {
492
+ try {
493
+ const data = await client.RunJobFlow({})
494
+ expect(data).to.be.ok
495
+ } catch(error) {
496
+ expect(error.requestId).to.be.ok
497
+ expect(error.code).to.be.ok
498
+ }
499
+ })
500
+
471
501
  })
@@ -18,6 +18,36 @@ const client = new tencentcloud.smh.v20210712.Client({
18
18
  })
19
19
  describe("smh.v20210712.test.js", function () {
20
20
 
21
+ it("smh.v20210712.ModifyUser", async function () {
22
+ try {
23
+ const data = await client.ModifyUser({})
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
+ it("smh.v20210712.DeleteUser", async function () {
32
+ try {
33
+ const data = await client.DeleteUser({})
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("smh.v20210712.VerifySmsCode", async function () {
42
+ try {
43
+ const data = await client.VerifySmsCode({})
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
+
21
51
  it("smh.v20210712.DescribeOfficialInstances", async function () {
22
52
  try {
23
53
  const data = await client.DescribeOfficialInstances({})
@@ -48,9 +78,19 @@ it("smh.v20210712.SendSmsCode", async function () {
48
78
  }
49
79
  })
50
80
 
51
- it("smh.v20210712.VerifySmsCode", async function () {
81
+ it("smh.v20210712.CreateUser", async function () {
52
82
  try {
53
- const data = await client.VerifySmsCode({})
83
+ const data = await client.CreateUser({})
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("smh.v20210712.CreateUserLifecycle", async function () {
92
+ try {
93
+ const data = await client.CreateUserLifecycle({})
54
94
  expect(data).to.be.ok
55
95
  } catch(error) {
56
96
  expect(error.requestId).to.be.ok
@@ -108,6 +148,16 @@ it("smh.v20210712.DeleteLibrary", async function () {
108
148
  }
109
149
  })
110
150
 
151
+ it("smh.v20210712.DescribeUserLifecycle", async function () {
152
+ try {
153
+ const data = await client.DescribeUserLifecycle({})
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
+
111
161
  it("smh.v20210712.DescribeLibrarySecret", async function () {
112
162
  try {
113
163
  const data = await client.DescribeLibrarySecret({})