tencentcloud-sdk-nodejs 4.0.422 → 4.0.423

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 (35) hide show
  1. package/CHANGELOG.md +219 -0
  2. package/SERVICE_CHANGELOG.md +291 -431
  3. package/package.json +1 -1
  4. package/products.md +11 -11
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/acp/v20220105/acp_models.ts +18 -7
  7. package/src/services/apigateway/v20180808/apigateway_client.ts +13 -0
  8. package/src/services/apigateway/v20180808/apigateway_models.ts +55 -0
  9. package/src/services/cls/v20201016/cls_models.ts +11 -1
  10. package/src/services/cme/v20191029/cme_client.ts +13 -4
  11. package/src/services/cme/v20191029/cme_models.ts +283 -68
  12. package/src/services/monitor/v20180724/monitor_models.ts +14 -14
  13. package/src/services/tse/v20201207/tse_client.ts +1 -0
  14. package/src/services/tse/v20201207/tse_models.ts +41 -0
  15. package/src/services/vod/v20180717/vod_client.ts +6 -0
  16. package/src/services/vod/v20180717/vod_models.ts +205 -6
  17. package/src/services/yinsuda/v20220527/yinsuda_client.ts +62 -2
  18. package/src/services/yinsuda/v20220527/yinsuda_models.ts +464 -13
  19. package/tencentcloud/common/sdk_version.d.ts +1 -1
  20. package/tencentcloud/common/sdk_version.js +1 -1
  21. package/tencentcloud/services/acp/v20220105/acp_models.d.ts +16 -7
  22. package/tencentcloud/services/apigateway/v20180808/apigateway_client.d.ts +5 -1
  23. package/tencentcloud/services/apigateway/v20180808/apigateway_client.js +6 -0
  24. package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +47 -0
  25. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +9 -1
  26. package/tencentcloud/services/cme/v20191029/cme_client.d.ts +1 -1
  27. package/tencentcloud/services/cme/v20191029/cme_models.d.ts +245 -61
  28. package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +14 -14
  29. package/tencentcloud/services/tse/v20201207/tse_models.d.ts +35 -0
  30. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +177 -6
  31. package/tencentcloud/services/yinsuda/v20220527/yinsuda_client.d.ts +17 -1
  32. package/tencentcloud/services/yinsuda/v20220527/yinsuda_client.js +24 -0
  33. package/tencentcloud/services/yinsuda/v20220527/yinsuda_models.d.ts +402 -13
  34. package/test/apigateway.v20180808.test.js +10 -0
  35. package/test/yinsuda.v20220527.test.js +40 -0
@@ -108,6 +108,7 @@ import {
108
108
  CreateProcedureTemplateRequest,
109
109
  DescribeMediaProcessUsageDataRequest,
110
110
  CreatePersonSampleRequest,
111
+ RemoveWatermarkTask,
111
112
  StorageRegionInfo,
112
113
  MediaTransitionItem,
113
114
  MediaAiAnalysisCoverItem,
@@ -190,6 +191,7 @@ import {
190
191
  EditMediaOutputConfig,
191
192
  SplitMediaTaskSegmentInfo,
192
193
  AiReviewPornAsrTaskOutput,
194
+ AiRecognitionTaskAsrFullTextResultOutputSubtitleItem,
193
195
  SimpleHlsClipResponse,
194
196
  DeleteAIAnalysisTemplateRequest,
195
197
  EditMediaRequest,
@@ -247,6 +249,7 @@ import {
247
249
  DeleteHeadTailTemplateRequest,
248
250
  AiAnalysisTaskTagResult,
249
251
  SearchMediaResponse,
252
+ RemoveWaterMarkTaskOutput,
250
253
  ModifyMediaStorageClassRequest,
251
254
  AiAnalysisTaskTagOutput,
252
255
  AiAnalysisTaskHighlightOutput,
@@ -389,6 +392,7 @@ import {
389
392
  DescribeCDNUsageDataRequest,
390
393
  PornOcrReviewTemplateInfo,
391
394
  AiReviewTaskPoliticalAsrResult,
395
+ TrtcRecordInfo,
392
396
  DescribeReviewDetailsRequest,
393
397
  PornConfigureInfoForUpdate,
394
398
  AiReviewProhibitedAsrTaskInput,
@@ -517,6 +521,7 @@ import {
517
521
  CreateAIAnalysisTemplateRequest,
518
522
  AiReviewTerrorismTaskInput,
519
523
  MediaAudioStreamItem,
524
+ SubtitleFormatsOperation,
520
525
  SubAppIdInfo,
521
526
  DescribeAllClassResponse,
522
527
  ModifyImageSpriteTemplateRequest,
@@ -572,6 +577,7 @@ import {
572
577
  EditMediaFileInfo,
573
578
  ProcessMediaByProcedureResponse,
574
579
  PullUploadResponse,
580
+ RemoveWaterMarkTaskInput,
575
581
  FaceConfigureInfo,
576
582
  AiRecognitionTaskFaceResultOutput,
577
583
  DeleteImageProcessingTemplateResponse,
@@ -567,6 +567,14 @@ export interface AdaptiveDynamicStreamingTemplate {
567
567
  */
568
568
  DrmType: string
569
569
 
570
+ /**
571
+ * DRM 的密钥提供商,取值范围:
572
+ <li>SDMC:华曦达;</li>
573
+ <li>VOD:云点播。</li>
574
+ 默认值为 VOD 。
575
+ */
576
+ DrmKeyProvider: string
577
+
570
578
  /**
571
579
  * 自适应转码输入流参数信息,最多输入10路流。
572
580
  */
@@ -659,12 +667,17 @@ export interface AiRecognitionTaskAsrFullTextResultOutput {
659
667
  SegmentSetFileUrl: string
660
668
 
661
669
  /**
662
- * 语音全文识别片段列表文件 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。。
670
+ * 语音全文识别片段列表文件 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)
663
671
  */
664
672
  SegmentSetFileUrlExpireTime: string
665
673
 
666
674
  /**
667
- * 字幕文件 Url
675
+ * 生成的字幕列表,对应 [语音全文识别任务控制参数](https://cloud.tencent.com/document/api/266/31773#AsrFullTextConfigureInfo) SubtitleFormats
676
+ */
677
+ SubtitleSet: Array<AiRecognitionTaskAsrFullTextResultOutputSubtitleItem>
678
+
679
+ /**
680
+ * 生成的字幕文件 Url,对应 [语音全文识别任务控制参数](https://cloud.tencent.com/document/api/266/31773#AsrFullTextConfigureInfo) SubtitleFormat。
668
681
  */
669
682
  SubtitleUrl: string
670
683
  }
@@ -2021,6 +2034,14 @@ export interface CreateAdaptiveDynamicStreamingTemplateRequest {
2021
2034
  */
2022
2035
  DrmType?: string
2023
2036
 
2037
+ /**
2038
+ * DRM 的密钥提供商,取值范围:
2039
+ <li>SDMC:华曦达;</li>
2040
+ <li>VOD:云点播。</li>
2041
+ 默认为 VOD 。
2042
+ */
2043
+ DrmKeyProvider?: string
2044
+
2024
2045
  /**
2025
2046
  * 是否禁止视频低码率转高码率,取值范围:
2026
2047
  <li>0:否,</li>
@@ -2525,6 +2546,63 @@ export interface CreatePersonSampleRequest {
2525
2546
  Tags?: Array<string>
2526
2547
  }
2527
2548
 
2549
+ /**
2550
+ * 智能去除水印任务信息,仅当 TaskType 为 RemoveWatermark,该字段有值。
2551
+ */
2552
+ export interface RemoveWatermarkTask {
2553
+ /**
2554
+ * 任务 ID 。
2555
+ */
2556
+ TaskId: string
2557
+
2558
+ /**
2559
+ * 任务流状态,取值:
2560
+ <li>PROCESSING:处理中;</li>
2561
+ <li>FINISH:已完成。</li>
2562
+ */
2563
+ Status: string
2564
+
2565
+ /**
2566
+ * 错误码,空字符串表示成功,其他值表示失败,取值请参考 [视频处理类错误码](https://cloud.tencent.com/document/product/266/50368#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81) 列表。
2567
+ */
2568
+ ErrCodeExt: string
2569
+
2570
+ /**
2571
+ * 错误码,0 表示成功,其他值表示失败:
2572
+ <li>40000:输入参数不合法,请检查输入参数;</li>
2573
+ <li>60000:源文件错误(如视频数据损坏),请确认源文件是否正常;</li>
2574
+ <li>70000:内部服务错误,建议重试。</li>
2575
+ */
2576
+ ErrCode: number
2577
+
2578
+ /**
2579
+ * 错误信息。
2580
+ */
2581
+ Message: string
2582
+
2583
+ /**
2584
+ * 智能去除水印任务的输入。
2585
+ 注意:此字段可能返回 null,表示取不到有效值。
2586
+ */
2587
+ Input: RemoveWaterMarkTaskInput
2588
+
2589
+ /**
2590
+ * 智能去除水印任务的输出。
2591
+ 注意:此字段可能返回 null,表示取不到有效值。
2592
+ */
2593
+ Output: RemoveWaterMarkTaskOutput
2594
+
2595
+ /**
2596
+ * 用于去重的识别码,如果七天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长 50 个字符,不带或者带空字符串表示不做去重。
2597
+ */
2598
+ SessionId: string
2599
+
2600
+ /**
2601
+ * 来源上下文,用于透传用户请求信息,任务流状态变更回调将返回该字段值,最长 1000 个字符。
2602
+ */
2603
+ SessionContext: string
2604
+ }
2605
+
2528
2606
  /**
2529
2607
  * 存储地域信息
2530
2608
  */
@@ -4580,6 +4658,23 @@ export interface AiReviewPornAsrTaskOutput {
4580
4658
  SegmentSetFileUrlExpireTime: string
4581
4659
  }
4582
4660
 
4661
+ /**
4662
+ * 字幕信息。
4663
+ */
4664
+ export interface AiRecognitionTaskAsrFullTextResultOutputSubtitleItem {
4665
+ /**
4666
+ * 字幕文件格式,取值范围:
4667
+ <li>vtt:WebVTT 字幕文件;</li>
4668
+ <li>srt:SRT 字幕文件。</li>
4669
+ */
4670
+ Format: string
4671
+
4672
+ /**
4673
+ * 字幕文件 Url。
4674
+ */
4675
+ Url: string
4676
+ }
4677
+
4583
4678
  /**
4584
4679
  * SimpleHlsClip返回参数结构体
4585
4680
  */
@@ -5021,8 +5116,15 @@ export interface AsrFullTextConfigureInfoForUpdate {
5021
5116
  Switch?: string
5022
5117
 
5023
5118
  /**
5024
- * 生成的字幕文件格式,填空字符串表示不生成字幕文件,可选值:
5025
- <li>vtt:生成 WebVTT 字幕文件。</li>
5119
+ * 字幕格式列表操作信息。
5120
+ */
5121
+ SubtitleFormatsOperation?: SubtitleFormatsOperation
5122
+
5123
+ /**
5124
+ * 生成的字幕文件格式,<font color='red'>填空字符串</font>表示不生成字幕文件,可选值:
5125
+ <li>vtt:生成 WebVTT 字幕文件;</li>
5126
+ <li>srt:生成 SRT 字幕文件。</li>
5127
+ <font color='red'>注意:此字段已废弃,建议使用 SubtitleFormatsOperation。</font>
5026
5128
  */
5027
5129
  SubtitleFormat?: string
5028
5130
  }
@@ -6144,6 +6246,21 @@ export interface SearchMediaResponse {
6144
6246
  RequestId?: string
6145
6247
  }
6146
6248
 
6249
+ /**
6250
+ * 智能去除水印任务的输出。
6251
+ */
6252
+ export interface RemoveWaterMarkTaskOutput {
6253
+ /**
6254
+ * 视频 ID。
6255
+ */
6256
+ FileId: string
6257
+
6258
+ /**
6259
+ * 元信息。包括大小、时长、视频流信息、音频流信息等。
6260
+ */
6261
+ MetaData: MediaMetaData
6262
+ }
6263
+
6147
6264
  /**
6148
6265
  * ModifyMediaStorageClass请求参数结构体
6149
6266
  */
@@ -10180,6 +10297,31 @@ export interface AiReviewTaskPoliticalAsrResult {
10180
10297
  Output: AiReviewPoliticalAsrTaskOutput
10181
10298
  }
10182
10299
 
10300
+ /**
10301
+ * TRTC伴生录制信息。
10302
+ */
10303
+ export interface TrtcRecordInfo {
10304
+ /**
10305
+ * TRTC 应用 ID。
10306
+ */
10307
+ SdkAppId: number
10308
+
10309
+ /**
10310
+ * TRTC 房间 ID。
10311
+ */
10312
+ RoomId: string
10313
+
10314
+ /**
10315
+ * 录制任务 ID。
10316
+ */
10317
+ TaskId: string
10318
+
10319
+ /**
10320
+ * 参与录制的用户 ID 列表。
10321
+ */
10322
+ UserIds: Array<string>
10323
+ }
10324
+
10183
10325
  /**
10184
10326
  * DescribeReviewDetails请求参数结构体
10185
10327
  */
@@ -11072,6 +11214,12 @@ export interface MediaSourceData {
11072
11214
  * 用户创建文件时透传的字段
11073
11215
  */
11074
11216
  SourceContext: string
11217
+
11218
+ /**
11219
+ * TRTC 伴生录制信息。
11220
+ 注意:此字段可能返回 null,表示取不到有效值。
11221
+ */
11222
+ TrtcRecordInfo: TrtcRecordInfo
11075
11223
  }
11076
11224
 
11077
11225
  /**
@@ -11267,6 +11415,12 @@ export interface EventContent {
11267
11415
  */
11268
11416
  WechatMiniProgramPublishCompleteEvent: WechatMiniProgramPublishTask
11269
11417
 
11418
+ /**
11419
+ * 智能去除水印任务完成事件,当事件类型为 RemoveWatermark 有效。
11420
+ 注意:此字段可能返回 null,表示取不到有效值。
11421
+ */
11422
+ RemoveWatermarkCompleteEvent: RemoveWatermarkTask
11423
+
11270
11424
  /**
11271
11425
  * 视频取回完成事件,当事件类型为RestoreMediaComplete 时有效。
11272
11426
  注意:此字段可能返回 null,表示取不到有效值。
@@ -11587,9 +11741,18 @@ export interface AsrFullTextConfigureInfo {
11587
11741
  */
11588
11742
  Switch: string
11589
11743
 
11744
+ /**
11745
+ * 生成的字幕文件格式列表,不填或者填空数组表示不生成字幕文件,可选值:
11746
+ <li>vtt:生成 WebVTT 字幕文件;</li>
11747
+ <li>srt:生成 SRT 字幕文件。</li>
11748
+ */
11749
+ SubtitleFormats?: Array<string>
11750
+
11590
11751
  /**
11591
11752
  * 生成的字幕文件格式,不填或者填空字符串表示不生成字幕文件,可选值:
11592
- <li>vtt:生成 WebVTT 字幕文件。</li>
11753
+ <li>vtt:生成 WebVTT 字幕文件;</li>
11754
+ <li>srt:生成 SRT 字幕文件。</li>
11755
+ <font color='red'>注意:此字段已废弃,建议使用 SubtitleFormats。</font>
11593
11756
  */
11594
11757
  SubtitleFormat?: string
11595
11758
  }
@@ -12682,7 +12845,7 @@ export interface DescribeTaskDetailResponse {
12682
12845
  <li>WechatMiniProgramPublish:微信小程序视频发布任务;</li>
12683
12846
  <li>PullUpload:拉取上传媒体文件任务;</li>
12684
12847
  <li>FastClipMedia:快速剪辑任务;</li>
12685
- <li>ReduceMediaBitrate:降码率任务。</li>
12848
+ <li>RemoveWatermarkTask:智能去除水印任务。</li>
12686
12849
  */
12687
12850
  TaskType: string
12688
12851
 
@@ -12781,6 +12944,12 @@ export interface DescribeTaskDetailResponse {
12781
12944
  */
12782
12945
  SnapshotByTimeOffsetTask: SnapshotByTimeOffsetTask2017
12783
12946
 
12947
+ /**
12948
+ * 智能去除水印任务信息,仅当 TaskType 为 RemoveWatermark,该字段有值。
12949
+ 注意:此字段可能返回 null,表示取不到有效值。
12950
+ */
12951
+ RemoveWatermarkTask: RemoveWatermarkTask
12952
+
12784
12953
  /**
12785
12954
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
12786
12955
  */
@@ -13904,6 +14073,26 @@ export interface MediaAudioStreamItem {
13904
14073
  Codec: string
13905
14074
  }
13906
14075
 
14076
+ /**
14077
+ * 字幕格式列表操作。
14078
+ */
14079
+ export interface SubtitleFormatsOperation {
14080
+ /**
14081
+ * 操作类型,取值范围:
14082
+ <li>add:添加 Formats 指定的格式列表;</li>
14083
+ <li>delete:删除 Formats 指定的格式列表;<l/i>
14084
+ <li>reset:将已配置的格式列表重置为 Formats 指定的格式列表。</li>
14085
+ */
14086
+ Type: string
14087
+
14088
+ /**
14089
+ * 字幕格式列表,取值范围:
14090
+ <li>vtt:生成 WebVTT 字幕文件;</li>
14091
+ <li>srt:生成 SRT 字幕文件。</li>
14092
+ */
14093
+ Formats: Array<string>
14094
+ }
14095
+
13907
14096
  /**
13908
14097
  * 子应用信息。
13909
14098
  */
@@ -15707,6 +15896,16 @@ export interface PullUploadResponse {
15707
15896
  RequestId?: string
15708
15897
  }
15709
15898
 
15899
+ /**
15900
+ * 智能去除水印任务的输入。
15901
+ */
15902
+ export interface RemoveWaterMarkTaskInput {
15903
+ /**
15904
+ * 媒体文件 ID。
15905
+ */
15906
+ FileId: string
15907
+ }
15908
+
15710
15909
  /**
15711
15910
  * 人脸识别任务控制参数
15712
15911
  */
@@ -20,26 +20,46 @@ import { ClientConfig } from "../../../common/interface"
20
20
  import {
21
21
  DescribeKTVSuggestionsResponse,
22
22
  ChorusClip,
23
+ JoinRoomInput,
24
+ DestroyKTVRobotResponse,
23
25
  MusicAlbumCoverInfo,
26
+ CreateKTVRobotRequest,
24
27
  KTVSuggestionInfo,
28
+ SyncKTVRobotCommandRequest,
25
29
  DescribeKTVPlaylistDetailRequest,
30
+ CreateKTVRobotResponse,
26
31
  DescribeKTVSuggestionsRequest,
27
32
  DescribeKTVMatchMusicsRequest,
28
33
  DescribeKTVPlaylistsResponse,
29
34
  DescribeKTVPlaylistsRequest,
30
35
  DescribeKTVPlaylistDetailResponse,
36
+ SetDestroyModeCommandInput,
37
+ SetAudioParamCommandInput,
31
38
  KTVMatchMusic,
32
- SearchKTVMusicsResponse,
39
+ TRTCJoinRoomInput,
40
+ DescribeKTVRobotsResponse,
41
+ PlayCommandInput,
33
42
  BatchDescribeKTVMusicDetailsRequest,
34
43
  KTVMusicDetailInfo,
35
44
  MusicAlbumInfo,
45
+ SetPlayModeCommandInput,
46
+ SyncRobotCommand,
47
+ SearchKTVMusicsResponse,
48
+ KTVRobotInfo,
36
49
  DescribeKTVMatchMusicsResponse,
37
50
  KTVMatchRuleMusicInfo,
51
+ SetPlaylistCommandInput,
52
+ SyncKTVRobotCommandResponse,
38
53
  BatchDescribeKTVMusicDetailsResponse,
54
+ KTVMatchRule,
39
55
  KTVMusicBaseInfo,
40
56
  SearchKTVMusicsRequest,
57
+ TimeRange,
41
58
  KTVPlaylistBaseInfo,
42
- KTVMatchRule,
59
+ SendMessageCommandInput,
60
+ DestroyKTVRobotRequest,
61
+ DescribeKTVRobotsRequest,
62
+ SeekCommandInput,
43
63
  } from "./yinsuda_models"
44
64
 
45
65
  /**
@@ -51,6 +71,26 @@ export class Client extends AbstractClient {
51
71
  super("yinsuda.tencentcloudapi.com", "2022-05-27", clientConfig)
52
72
  }
53
73
 
74
+ /**
75
+ * 创建机器人,支持进入 RTC 房间,播放曲库歌曲。
76
+ */
77
+ async CreateKTVRobot(
78
+ req: CreateKTVRobotRequest,
79
+ cb?: (error: string, rep: CreateKTVRobotResponse) => void
80
+ ): Promise<CreateKTVRobotResponse> {
81
+ return this.request("CreateKTVRobot", req, cb)
82
+ }
83
+
84
+ /**
85
+ * 下发操作机器人指令,支持播放、暂停、恢复、歌单设置等操作指令,实现对机器人行为的控制。
86
+ */
87
+ async SyncKTVRobotCommand(
88
+ req: SyncKTVRobotCommandRequest,
89
+ cb?: (error: string, rep: SyncKTVRobotCommandResponse) => void
90
+ ): Promise<SyncKTVRobotCommandResponse> {
91
+ return this.request("SyncKTVRobotCommand", req, cb)
92
+ }
93
+
54
94
  /**
55
95
  * 根据歌单 Id 获取歌单详情。
56
96
  */
@@ -61,6 +101,16 @@ export class Client extends AbstractClient {
61
101
  return this.request("DescribeKTVPlaylistDetail", req, cb)
62
102
  }
63
103
 
104
+ /**
105
+ * 销毁机器人,机器人退出 RTC 房间。
106
+ */
107
+ async DestroyKTVRobot(
108
+ req: DestroyKTVRobotRequest,
109
+ cb?: (error: string, rep: DestroyKTVRobotResponse) => void
110
+ ): Promise<DestroyKTVRobotResponse> {
111
+ return this.request("DestroyKTVRobot", req, cb)
112
+ }
113
+
64
114
  /**
65
115
  * 根据关键词获取联想词列表。
66
116
  */
@@ -91,6 +141,16 @@ export class Client extends AbstractClient {
91
141
  return this.request("DescribeKTVPlaylists", req, cb)
92
142
  }
93
143
 
144
+ /**
145
+ * 获取机器人列表,支持 Id、状态等过滤条件。
146
+ */
147
+ async DescribeKTVRobots(
148
+ req: DescribeKTVRobotsRequest,
149
+ cb?: (error: string, rep: DescribeKTVRobotsResponse) => void
150
+ ): Promise<DescribeKTVRobotsResponse> {
151
+ return this.request("DescribeKTVRobots", req, cb)
152
+ }
153
+
94
154
  /**
95
155
  * 根据输入的规则匹配曲库中的歌曲。
96
156
  */