tencentcloud-sdk-nodejs 4.0.975 → 4.0.976

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 (58) hide show
  1. package/CHANGELOG.md +215 -0
  2. package/SERVICE_CHANGELOG.md +371 -239
  3. package/package.json +1 -1
  4. package/products.md +27 -27
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/bh/v20230418/bh_models.ts +1 -1
  7. package/src/services/cdb/v20170320/cdb_client.ts +1 -3
  8. package/src/services/cdb/v20170320/cdb_models.ts +13 -6
  9. package/src/services/cfs/v20190719/cfs_models.ts +4 -0
  10. package/src/services/clb/v20180317/clb_client.ts +1 -1
  11. package/src/services/cls/v20201016/cls_models.ts +12 -12
  12. package/src/services/cwp/v20180228/cwp_client.ts +4 -2
  13. package/src/services/emr/v20190103/emr_models.ts +6 -16
  14. package/src/services/hunyuan/v20230901/hunyuan_models.ts +2 -1
  15. package/src/services/lcic/v20220817/lcic_client.ts +38 -1
  16. package/src/services/lcic/v20220817/lcic_models.ts +136 -6
  17. package/src/services/live/v20180801/live_models.ts +4 -4
  18. package/src/services/market/v20191010/market_models.ts +3 -3
  19. package/src/services/monitor/v20180724/monitor_models.ts +9 -5
  20. package/src/services/mps/v20190612/mps_client.ts +8 -3
  21. package/src/services/mps/v20190612/mps_models.ts +159 -28
  22. package/src/services/tchd/v20230306/tchd_client.ts +4 -2
  23. package/src/services/tke/v20220501/tke_models.ts +8 -0
  24. package/src/services/trtc/v20190722/trtc_models.ts +10 -2
  25. package/src/services/vclm/v20240523/vclm_client.ts +1 -1
  26. package/src/services/vclm/v20240523/vclm_models.ts +43 -31
  27. package/src/services/vpc/v20170312/vpc_models.ts +7 -8
  28. package/tencentcloud/common/sdk_version.d.ts +1 -1
  29. package/tencentcloud/common/sdk_version.js +1 -1
  30. package/tencentcloud/services/bh/v20230418/bh_models.d.ts +1 -1
  31. package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +1 -3
  32. package/tencentcloud/services/cdb/v20170320/cdb_client.js +1 -3
  33. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +13 -6
  34. package/tencentcloud/services/cfs/v20190719/cfs_models.d.ts +4 -0
  35. package/tencentcloud/services/clb/v20180317/clb_client.d.ts +1 -1
  36. package/tencentcloud/services/clb/v20180317/clb_client.js +1 -1
  37. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +12 -12
  38. package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +3 -1
  39. package/tencentcloud/services/cwp/v20180228/cwp_client.js +3 -1
  40. package/tencentcloud/services/emr/v20190103/emr_models.d.ts +6 -16
  41. package/tencentcloud/services/hunyuan/v20230901/hunyuan_models.d.ts +2 -1
  42. package/tencentcloud/services/lcic/v20220817/lcic_client.d.ts +13 -1
  43. package/tencentcloud/services/lcic/v20220817/lcic_client.js +18 -0
  44. package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +129 -6
  45. package/tencentcloud/services/live/v20180801/live_models.d.ts +4 -4
  46. package/tencentcloud/services/market/v20191010/market_models.d.ts +3 -3
  47. package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +9 -5
  48. package/tencentcloud/services/mps/v20190612/mps_client.d.ts +1 -1
  49. package/tencentcloud/services/mps/v20190612/mps_models.d.ts +154 -28
  50. package/tencentcloud/services/tchd/v20230306/tchd_client.d.ts +2 -0
  51. package/tencentcloud/services/tchd/v20230306/tchd_client.js +2 -0
  52. package/tencentcloud/services/tke/v20220501/tke_models.d.ts +8 -0
  53. package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +10 -2
  54. package/tencentcloud/services/vclm/v20240523/vclm_client.d.ts +1 -1
  55. package/tencentcloud/services/vclm/v20240523/vclm_client.js +1 -1
  56. package/tencentcloud/services/vclm/v20240523/vclm_models.d.ts +43 -31
  57. package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +7 -8
  58. package/test/lcic.v20220817.test.js +30 -0
@@ -64,7 +64,7 @@ export declare class Client extends AbstractClient {
64
64
  */
65
65
  SubmitVideoTranslateJob(req: SubmitVideoTranslateJobRequest, cb?: (error: string, rep: SubmitVideoTranslateJobResponse) => void): Promise<SubmitVideoTranslateJobResponse>;
66
66
  /**
67
- * 查询视频翻译任务
67
+ * 查询视频转译任务
68
68
  */
69
69
  DescribeVideoTranslateJob(req: DescribeVideoTranslateJobRequest, cb?: (error: string, rep: DescribeVideoTranslateJobResponse) => void): Promise<DescribeVideoTranslateJobResponse>;
70
70
  /**
@@ -86,7 +86,7 @@ class Client extends abstract_client_1.AbstractClient {
86
86
  return this.request("SubmitVideoTranslateJob", req, cb);
87
87
  }
88
88
  /**
89
- * 查询视频翻译任务
89
+ * 查询视频转译任务
90
90
  */
91
91
  async DescribeVideoTranslateJob(req, cb) {
92
92
  return this.request("DescribeVideoTranslateJob", req, cb);
@@ -23,7 +23,11 @@ export interface AsrTimestamps {
23
23
  */
24
24
  export interface SubmitVideoStylizationJobRequest {
25
25
  /**
26
- * 风格ID,取值说明:2d_anime 2D动漫;3d_cartoon 3D卡通;3d_china 3D国潮;pixel_art 像素风。
26
+ * 风格ID。取值说明:
27
+ 2d_anime:2D动漫;
28
+ 3d_cartoon:3D卡通;
29
+ 3d_china:3D国潮;
30
+ pixel_art:像素风。
27
31
  */
28
32
  StyleId: string;
29
33
  /**
@@ -36,9 +40,11 @@ export interface SubmitVideoStylizationJobRequest {
36
40
  */
37
41
  VideoUrl: string;
38
42
  /**
39
- * 风格化强度 可选参数["low","medium","high"]
40
- "low":风格化强度弱,"medium":"风格化强度中等","high":"风格化强度强"
41
- 默认为medium
43
+ * 风格化强度。取值说明:
44
+ low:风格化强度弱;
45
+ medium:风格化强度中等;
46
+ high:风格化强度强。
47
+ 默认值为medium。
42
48
  */
43
49
  StyleStrength?: string;
44
50
  }
@@ -111,7 +117,7 @@ export interface SubmitImageAnimateJobRequest {
111
117
  */
112
118
  export interface SubmitVideoStylizationJobResponse {
113
119
  /**
114
- * 任务ID
120
+ * 任务ID。任务有效期为48小时。
115
121
  */
116
122
  JobId?: string;
117
123
  /**
@@ -124,7 +130,7 @@ export interface SubmitVideoStylizationJobResponse {
124
130
  */
125
131
  export interface ConfirmVideoTranslateJobRequest {
126
132
  /**
127
- * 视频翻译任务 ID
133
+ * 视频转译任务 ID
128
134
  */
129
135
  JobId: string;
130
136
  /**
@@ -185,55 +191,56 @@ export interface SubmitVideoTranslateJobResponse {
185
191
  */
186
192
  export interface DescribeVideoTranslateJobResponse {
187
193
  /**
188
- * 任务状态。 1:音频翻译中。 2:音频翻译失败。 3:音频翻译成功。 4:音频结果待确认。 5:音频结果已确认完毕。6:视频翻译中。 7:视频翻译失败。 8:视频翻译成功。
194
+ * 任务状态。0: 任务初始化。 1:音频转译中。 2:音频转译失败。 3:音频转译成功。 4:音频结果待确认。 5:音频结果已确认完毕。6:视频转译中。 7:视频转译失败。 8:视频转译成功。
189
195
  */
190
196
  JobStatus?: number;
191
197
  /**
192
- * 任务错误码。
198
+ * 本次任务出错的错误码,用来定位问题原因。
193
199
  */
194
200
  JobErrorCode?: string;
195
201
  /**
196
- * 任务错误信息。
202
+ * 任务错误信息,错误码出现的原因。
197
203
  */
198
204
  JobErrorMsg?: string;
199
205
  /**
200
- * 视频翻译结果。
206
+ * 视频转译生成结果视频url,有效期1天。当JobStatus为8时,该字段返回视频Url。
201
207
  */
202
208
  ResultVideoUrl?: string;
203
209
  /**
204
- * 音频翻译结果。
210
+ * 音频转译后分句翻译内容,包含分句起始时间、源识别文本以及翻译后文本。
211
+ 当JobStatus为3、4时,该字段返回分句翻译数据。
205
212
  */
206
213
  TranslateResults?: Array<TranslateResult>;
207
214
  /**
208
- * 是否需要确认翻译结果。0:不需要,1:需要
215
+ * 是否需要确认翻译结果。0:不需要,1:需要。
209
216
  */
210
217
  JobConfirm?: number;
211
218
  /**
212
- * 音频任务 ID
219
+ * 音频任务 ID
213
220
  */
214
221
  JobAudioTaskId?: string;
215
222
  /**
216
- * 视频审核任务ID
223
+ * 视频审核任务ID
217
224
  */
218
225
  JobVideoModerationId?: string;
219
226
  /**
220
- * 音频审核任务 ID
227
+ * 音频审核任务 ID
221
228
  */
222
229
  JobAudioModerationId?: string;
223
230
  /**
224
- * 口型驱动任务 ID
231
+ * 口型驱动任务 ID
225
232
  */
226
233
  JobVideoId?: string;
227
234
  /**
228
- * 视频素材原始 URL
235
+ * 视频素材原始 URL
229
236
  */
230
237
  OriginalVideoUrl?: string;
231
238
  /**
232
- * 文本片段及其时间戳
239
+ * 文本片段及其时间戳。
233
240
  */
234
241
  AsrTimestamps?: Array<AsrTimestamps>;
235
242
  /**
236
- * 提交视频翻译任务时的 requestId
243
+ * 提交视频转译任务时的 requestId
237
244
  */
238
245
  JobSubmitReqId?: string;
239
246
  /**
@@ -360,16 +367,21 @@ export interface DescribeVideoStylizationJobResponse {
360
367
  */
361
368
  JobId?: string;
362
369
  /**
363
- * 任务状态码:
364
- JobInit: "初始化中"
365
- JobModerationFailed: "审核失败",
366
- JobRunning: "处理中",
367
- JobFailed: "处理失败",
370
+ * 任务状态码。取值说明:
371
+ JobInit: "初始化中"
372
+ JobModerationFailed: "审核失败"
373
+ JobRunning: "处理中"
374
+ JobFailed: "处理失败"
368
375
  JobSuccess: "处理完成"。
369
376
  */
370
377
  StatusCode?: string;
371
378
  /**
372
- * 任务状态描述。
379
+ * 任务状态描述。取值说明:
380
+ JobInit: "初始化中";
381
+ JobModerationFailed: "审核失败";
382
+ JobRunning: "处理中";
383
+ JobFailed: "处理失败";
384
+ JobSuccess: "处理完成"。
373
385
  */
374
386
  StatusMsg?: string;
375
387
  /**
@@ -417,7 +429,7 @@ export interface SubmitVideoTranslateJobRequest {
417
429
  SrcLang: string;
418
430
  /**
419
431
  * 当音频 URL 不为空时,不经过语音AI处理,直接以视频为素材用音频内容做视频口型驱动。
420
- 格式要求:支持 mp3、m4a、acc、wav 格式。
432
+ 格式要求:支持 mp3、m4a、aac、wav 格式。
421
433
  时长要求:【5~600】秒,音频时长要匹配视频时长。
422
434
  大小要求:不超过 100Mb。
423
435
  */
@@ -459,23 +471,23 @@ export interface SubmitVideoTranslateJobRequest {
459
471
  */
460
472
  export interface ConfirmVideoTranslateJobResponse {
461
473
  /**
462
- * 视频翻译任务 ID
474
+ * 视频转译任务 ID
463
475
  */
464
476
  JobId?: string;
465
477
  /**
466
- * 音频转换任务 ID
478
+ * 音频转译任务 ID
467
479
  */
468
480
  TaskId?: string;
469
481
  /**
470
- * 音频翻译结果确认 session
482
+ * 音频转译结果确认 session
471
483
  */
472
484
  SessionId?: string;
473
485
  /**
474
- * 视频转译任务状态
486
+ * 该字段与 DescribeVideoTranslateJob 接口的 Status 功能相同,均表示任务状态。0:任务初始化。1:音频翻译中。 2:音频翻译失败。 3:音频翻译成功。 4:音频结果待确认。 5:音频结果已确认完毕。6:视频翻译中。 7:视频翻译失败。 8:视频翻译成功。
475
487
  */
476
488
  Status?: number;
477
489
  /**
478
- * 视频转译任务信息
490
+ * 视频转译任务信息。
479
491
  */
480
492
  Message?: string;
481
493
  /**
@@ -7608,7 +7608,7 @@ export interface DescribeNetworkAclQuintupleEntriesRequest {
7608
7608
  */
7609
7609
  Limit?: number;
7610
7610
  /**
7611
- * 过滤条件,参数不支持同时指定`HaVipIds`和`Filters`。
7611
+ * 过滤条件,参数不支持同时指定`NetworkAclId`和`Filters`。
7612
7612
  <li>protocol - String - 协议,形如:`TCP`。</li>
7613
7613
  <li>description - String - 描述。</li>
7614
7614
  <li>destination-cidr - String - 目的CIDR, 形如:'192.168.0.0/24'。</li>
@@ -9105,11 +9105,11 @@ export interface DescribeNetworkAclQuintupleEntriesResponse {
9105
9105
  /**
9106
9106
  * 网络ACL条目列表(NetworkAclTuple5Entry)
9107
9107
  */
9108
- NetworkAclQuintupleSet: Array<NetworkAclQuintupleEntry>;
9108
+ NetworkAclQuintupleSet?: Array<NetworkAclQuintupleEntry>;
9109
9109
  /**
9110
9110
  * 符合条件的实例数量。
9111
9111
  */
9112
- TotalCount: number;
9112
+ TotalCount?: number;
9113
9113
  /**
9114
9114
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9115
9115
  */
@@ -14499,8 +14499,7 @@ export interface CreateVpnGatewayRequest {
14499
14499
  */
14500
14500
  export interface DescribeVpcInstancesRequest {
14501
14501
  /**
14502
- * 过滤条件,参数不支持同时指定RouteTableIds和Filters。
14503
- <li>vpc-id - String - (过滤条件)VPC实例ID,形如:vpc-f49l6u0z。</li>
14502
+ * <li>vpc-id - String - (过滤条件)VPC实例ID,形如:vpc-f49l6u0z。</li>
14504
14503
  <li>instance-id - String - (过滤条件)云主机实例ID。</li>
14505
14504
  <li>instance-name - String - (过滤条件)云主机名称。</li>
14506
14505
  */
@@ -16532,15 +16531,15 @@ export interface ConflictSource {
16532
16531
  /**
16533
16532
  * 冲突资源ID
16534
16533
  */
16535
- ConflictSourceId: string;
16534
+ ConflictSourceId?: string;
16536
16535
  /**
16537
16536
  * 冲突资源
16538
16537
  */
16539
- SourceItem: string;
16538
+ SourceItem?: string;
16540
16539
  /**
16541
16540
  * 冲突资源条目信息
16542
16541
  */
16543
- ConflictItemSet: Array<ConflictItem>;
16542
+ ConflictItemSet?: Array<ConflictItem>;
16544
16543
  }
16545
16544
  /**
16546
16545
  * CreateDhcpIp请求参数结构体
@@ -348,6 +348,16 @@ it("lcic.v20220817.SendRoomNormalMessage", async function () {
348
348
  }
349
349
  })
350
350
 
351
+ it("lcic.v20220817.DescribeRecord", async function () {
352
+ try {
353
+ const data = await client.DescribeRecord({})
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
+
351
361
  it("lcic.v20220817.DescribeGroupList", async function () {
352
362
  try {
353
363
  const data = await client.DescribeGroupList({})
@@ -538,6 +548,16 @@ it("lcic.v20220817.DeleteDocument", async function () {
538
548
  }
539
549
  })
540
550
 
551
+ it("lcic.v20220817.StopRecord", async function () {
552
+ try {
553
+ const data = await client.StopRecord({})
554
+ expect(data).to.be.ok
555
+ } catch(error) {
556
+ expect(error.requestId).to.be.ok
557
+ expect(error.code).to.be.ok
558
+ }
559
+ })
560
+
541
561
  it("lcic.v20220817.BatchDeleteRecord", async function () {
542
562
  try {
543
563
  const data = await client.BatchDeleteRecord({})
@@ -598,6 +618,16 @@ it("lcic.v20220817.DescribeDocument", async function () {
598
618
  }
599
619
  })
600
620
 
621
+ it("lcic.v20220817.StartRecord", async function () {
622
+ try {
623
+ const data = await client.StartRecord({})
624
+ expect(data).to.be.ok
625
+ } catch(error) {
626
+ expect(error.requestId).to.be.ok
627
+ expect(error.code).to.be.ok
628
+ }
629
+ })
630
+
601
631
  it("lcic.v20220817.CreateGroupWithSubGroup", async function () {
602
632
  try {
603
633
  const data = await client.CreateGroupWithSubGroup({})