tencentcloud-sdk-nodejs 4.0.920 → 4.0.922
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.
- package/CHANGELOG.md +415 -0
- package/SERVICE_CHANGELOG.md +478 -84
- package/package.json +1 -1
- package/products.md +23 -23
- package/src/common/sdk_version.ts +1 -1
- package/src/services/batch/v20170312/batch_models.ts +1 -1
- package/src/services/ccc/v20200210/ccc_models.ts +4 -4
- package/src/services/cdwdoris/v20211228/cdwdoris_client.ts +165 -168
- package/src/services/cdwdoris/v20211228/cdwdoris_models.ts +630 -773
- package/src/services/clb/v20180317/clb_models.ts +1 -1
- package/src/services/cvm/v20170312/cvm_models.ts +1 -1
- package/src/services/cynosdb/v20190107/cynosdb_client.ts +43 -18
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +239 -164
- package/src/services/dcdb/v20180411/dcdb_models.ts +13 -1
- package/src/services/dsgc/v20190723/dsgc_client.ts +3 -3
- package/src/services/dsgc/v20190723/dsgc_models.ts +47 -8
- package/src/services/emr/v20190103/emr_models.ts +4 -0
- package/src/services/faceid/v20180301/faceid_client.ts +1 -1
- package/src/services/faceid/v20180301/faceid_models.ts +12 -0
- package/src/services/hunyuan/v20230901/hunyuan_models.ts +4 -2
- package/src/services/mps/v20190612/mps_models.ts +152 -14
- package/src/services/organization/v20210331/organization_client.ts +2 -2
- package/src/services/organization/v20210331/organization_models.ts +17 -17
- package/src/services/redis/v20180412/redis_models.ts +42 -40
- package/src/services/trtc/v20190722/trtc_client.ts +26 -35
- package/src/services/trtc/v20190722/trtc_models.ts +72 -0
- package/src/services/tse/v20201207/tse_client.ts +1 -0
- package/src/services/tse/v20201207/tse_models.ts +29 -0
- package/src/services/tts/v20190823/tts_models.ts +2 -2
- package/src/services/vclm/v20240523/vclm_models.ts +4 -0
- package/src/services/vod/v20180717/vod_client.ts +66 -28
- package/src/services/vod/v20180717/vod_models.ts +246 -71
- package/src/services/vpc/v20170312/vpc_models.ts +78 -24
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/batch/v20170312/batch_models.d.ts +1 -1
- package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +4 -4
- package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_client.d.ts +47 -47
- package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_client.js +69 -69
- package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_models.d.ts +625 -765
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +1 -1
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +1 -1
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +13 -5
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +18 -6
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +233 -163
- package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +13 -1
- package/tencentcloud/services/dsgc/v20190723/dsgc_client.d.ts +0 -1
- package/tencentcloud/services/dsgc/v20190723/dsgc_client.js +0 -1
- package/tencentcloud/services/dsgc/v20190723/dsgc_models.d.ts +46 -8
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +4 -0
- package/tencentcloud/services/faceid/v20180301/faceid_client.d.ts +1 -1
- package/tencentcloud/services/faceid/v20180301/faceid_client.js +1 -1
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +12 -0
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_models.d.ts +4 -2
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +152 -14
- package/tencentcloud/services/organization/v20210331/organization_client.d.ts +2 -2
- package/tencentcloud/services/organization/v20210331/organization_client.js +2 -2
- package/tencentcloud/services/organization/v20210331/organization_models.d.ts +17 -17
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +42 -40
- package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +11 -36
- package/tencentcloud/services/trtc/v20190722/trtc_client.js +14 -35
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +68 -0
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +28 -0
- package/tencentcloud/services/tts/v20190823/tts_models.d.ts +2 -2
- package/tencentcloud/services/vclm/v20240523/vclm_models.d.ts +4 -0
- package/tencentcloud/services/vod/v20180717/vod_client.d.ts +24 -12
- package/tencentcloud/services/vod/v20180717/vod_client.js +32 -14
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +237 -70
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +78 -24
- package/test/cdwdoris.v20211228.test.js +60 -60
- package/test/cynosdb.v20190107.test.js +24 -4
- package/test/trtc.v20190722.test.js +20 -0
- package/test/vod.v20180717.test.js +36 -6
|
@@ -41,6 +41,7 @@ import {
|
|
|
41
41
|
ControlAIConversationResponse,
|
|
42
42
|
StopAITranscriptionRequest,
|
|
43
43
|
VideoEncodeParams,
|
|
44
|
+
UpdateAIConversationResponse,
|
|
44
45
|
DescribeUserEventResponse,
|
|
45
46
|
VideoEncode,
|
|
46
47
|
StopMCUMixTranscodeByStrRoomIdResponse,
|
|
@@ -92,6 +93,7 @@ import {
|
|
|
92
93
|
DescribeUserInfoResponse,
|
|
93
94
|
RemoveUserByStrRoomIdResponse,
|
|
94
95
|
DescribeTRTCRealTimeScaleMetricDataResponse,
|
|
96
|
+
UpdateStreamIngestResponse,
|
|
95
97
|
StartMCUMixTranscodeRequest,
|
|
96
98
|
WebRecordVideoParams,
|
|
97
99
|
McuWaterMarkImage,
|
|
@@ -169,6 +171,7 @@ import {
|
|
|
169
171
|
StartWebRecordRequest,
|
|
170
172
|
MaxVideoUser,
|
|
171
173
|
AgentParams,
|
|
174
|
+
UpdateStreamIngestRequest,
|
|
172
175
|
StopWebRecordResponse,
|
|
173
176
|
SummarizeTranscriptionResponse,
|
|
174
177
|
DeletePictureRequest,
|
|
@@ -195,6 +198,7 @@ import {
|
|
|
195
198
|
DescribeAITranscriptionResponse,
|
|
196
199
|
McuWaterMarkParams,
|
|
197
200
|
AbnormalExperience,
|
|
201
|
+
UpdateAIConversationRequest,
|
|
198
202
|
RoomState,
|
|
199
203
|
CreatePictureResponse,
|
|
200
204
|
StartAITranscriptionResponse,
|
|
@@ -225,6 +229,16 @@ export class Client extends AbstractClient {
|
|
|
225
229
|
return this.request("DescribeRoomInfo", req, cb)
|
|
226
230
|
}
|
|
227
231
|
|
|
232
|
+
/**
|
|
233
|
+
* 更新AIConversation参数
|
|
234
|
+
*/
|
|
235
|
+
async UpdateAIConversation(
|
|
236
|
+
req: UpdateAIConversationRequest,
|
|
237
|
+
cb?: (error: string, rep: UpdateAIConversationResponse) => void
|
|
238
|
+
): Promise<UpdateAIConversationResponse> {
|
|
239
|
+
return this.request("UpdateAIConversation", req, cb)
|
|
240
|
+
}
|
|
241
|
+
|
|
228
242
|
/**
|
|
229
243
|
* 获取TRTC音视频互动的用量明细,单位:分钟。
|
|
230
244
|
- 查询时间小于等于1天时,返回每5分钟粒度的数据;查询时间大于1天时,返回按天汇总的数据。
|
|
@@ -412,6 +426,16 @@ TRTC 的一个房间中可能会同时存在多路音视频流,您可以通过
|
|
|
412
426
|
return this.request("StartStreamIngest", req, cb)
|
|
413
427
|
}
|
|
414
428
|
|
|
429
|
+
/**
|
|
430
|
+
* 更新输入在线媒体流任务的StreamUrl
|
|
431
|
+
*/
|
|
432
|
+
async UpdateStreamIngest(
|
|
433
|
+
req: UpdateStreamIngestRequest,
|
|
434
|
+
cb?: (error: string, rep: UpdateStreamIngestResponse) => void
|
|
435
|
+
): Promise<UpdateStreamIngestResponse> {
|
|
436
|
+
return this.request("UpdateStreamIngest", req, cb)
|
|
437
|
+
}
|
|
438
|
+
|
|
415
439
|
/**
|
|
416
440
|
* 如果您需要在 [云端混流转码](https://cloud.tencent.com/document/product/647/16827) 时频繁删除自定义背景图或水印,可通过此接口删除已上传的图片。无需频繁删除图片的场景,建议直接在 [控制台 > 应用管理 > 素材管理](https://cloud.tencent.com/document/product/647/50769) 中操作。
|
|
417
441
|
*/
|
|
@@ -545,45 +569,12 @@ TRTC 的一个房间中可能会同时存在多路音视频流,您可以通过
|
|
|
545
569
|
}
|
|
546
570
|
|
|
547
571
|
/**
|
|
548
|
-
*
|
|
572
|
+
* 启动转录机器人,后台会通过机器人拉流进行实时进行语音识别并下发字幕和转录消息。
|
|
549
573
|
转录机器人支持两种拉流方式,通过TranscriptionMode字段控制:
|
|
550
574
|
- 拉取全房间的流。
|
|
551
575
|
- 拉取特定用户的流。
|
|
552
576
|
|
|
553
|
-
服务端通过TRTC
|
|
554
|
-
|
|
555
|
-
服务端实时下发的消息是JSON字符串,实时字幕具体格式如下:
|
|
556
|
-
`{
|
|
557
|
-
"type": "subtitle",
|
|
558
|
-
"userid": "xxx",
|
|
559
|
-
"text": "xxx",
|
|
560
|
-
"start_time": "00:00:02",
|
|
561
|
-
"end_time": "00:00:05"
|
|
562
|
-
}`
|
|
563
|
-
字段作用如下:
|
|
564
|
-
- type是subtitle,表示这是实时字幕消息。
|
|
565
|
-
- userid表示是哪个用户说的话。
|
|
566
|
-
- text是语音识别出的文本。
|
|
567
|
-
- start_time和end_time表示该字幕消息从任务开启后的开始和结束时间。
|
|
568
|
-
|
|
569
|
-
转录消息具体格式如下:
|
|
570
|
-
`{
|
|
571
|
-
"type": "transcription",
|
|
572
|
-
"userid": "xxx",
|
|
573
|
-
"text": "xxx",
|
|
574
|
-
"start_time": "00:00:02",
|
|
575
|
-
"end_time": "00:00:05"
|
|
576
|
-
}`
|
|
577
|
-
字段作用如下:
|
|
578
|
-
- type是transcription,表示这是转录消息。
|
|
579
|
-
- 其余字段同实时字幕消息。
|
|
580
|
-
|
|
581
|
-
转录消息和实时字幕消息的区别是,转录消息是完整的一句话,实时字幕消息则是这一句话的中间阶段。
|
|
582
|
-
假如有一句完整的话,“今天天气怎么样?”,那么服务的下发消息的顺序可能是这样:
|
|
583
|
-
- 字幕消息,“今天”
|
|
584
|
-
- 字幕消息,“今天天气”
|
|
585
|
-
- 字幕消息,“今天天气怎么样”
|
|
586
|
-
- 转录消息,“今天天气怎么样?”
|
|
577
|
+
服务端通过TRTC的自定义消息实时下发字幕以及转录消息,CmdId固定是1。客户端只需监听自定义消息的回调即可,比如[c++回调](https://cloud.tencent.com/document/product/647/79637#4cd82f4edb24992a15a25187089e1565)。其他客户端比如安卓、Web等同样可在该链接处找到。
|
|
587
578
|
*/
|
|
588
579
|
async StartAITranscription(
|
|
589
580
|
req: StartAITranscriptionRequest,
|
|
@@ -592,6 +592,16 @@ export interface VideoEncodeParams {
|
|
|
592
592
|
Gop?: number
|
|
593
593
|
}
|
|
594
594
|
|
|
595
|
+
/**
|
|
596
|
+
* UpdateAIConversation返回参数结构体
|
|
597
|
+
*/
|
|
598
|
+
export interface UpdateAIConversationResponse {
|
|
599
|
+
/**
|
|
600
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
601
|
+
*/
|
|
602
|
+
RequestId?: string
|
|
603
|
+
}
|
|
604
|
+
|
|
595
605
|
/**
|
|
596
606
|
* DescribeUserEvent返回参数结构体
|
|
597
607
|
*/
|
|
@@ -1765,6 +1775,20 @@ export interface DescribeTRTCRealTimeScaleMetricDataResponse {
|
|
|
1765
1775
|
RequestId?: string
|
|
1766
1776
|
}
|
|
1767
1777
|
|
|
1778
|
+
/**
|
|
1779
|
+
* UpdateStreamIngest返回参数结构体
|
|
1780
|
+
*/
|
|
1781
|
+
export interface UpdateStreamIngestResponse {
|
|
1782
|
+
/**
|
|
1783
|
+
* 任务的状态信息。InProgress:表示当前任务正在进行中。NotExist:表示当前任务不存在。示例值:InProgress
|
|
1784
|
+
*/
|
|
1785
|
+
Status?: string
|
|
1786
|
+
/**
|
|
1787
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1788
|
+
*/
|
|
1789
|
+
RequestId?: string
|
|
1790
|
+
}
|
|
1791
|
+
|
|
1768
1792
|
/**
|
|
1769
1793
|
* StartMCUMixTranscode请求参数结构体
|
|
1770
1794
|
*/
|
|
@@ -3541,6 +3565,24 @@ export interface AgentParams {
|
|
|
3541
3565
|
MaxIdleTime?: number
|
|
3542
3566
|
}
|
|
3543
3567
|
|
|
3568
|
+
/**
|
|
3569
|
+
* UpdateStreamIngest请求参数结构体
|
|
3570
|
+
*/
|
|
3571
|
+
export interface UpdateStreamIngestRequest {
|
|
3572
|
+
/**
|
|
3573
|
+
* TRTC的SDKAppId,和任务的房间所对应的SDKAppId相同
|
|
3574
|
+
*/
|
|
3575
|
+
SdkAppId: number
|
|
3576
|
+
/**
|
|
3577
|
+
* 任务的唯一Id,在启动任务成功后会返回。
|
|
3578
|
+
*/
|
|
3579
|
+
TaskId: string
|
|
3580
|
+
/**
|
|
3581
|
+
* 源流URL【必填】。
|
|
3582
|
+
*/
|
|
3583
|
+
StreamUrl: string
|
|
3584
|
+
}
|
|
3585
|
+
|
|
3544
3586
|
/**
|
|
3545
3587
|
* StopWebRecord返回参数结构体
|
|
3546
3588
|
*/
|
|
@@ -4072,6 +4114,36 @@ export interface AbnormalExperience {
|
|
|
4072
4114
|
EventTime: number
|
|
4073
4115
|
}
|
|
4074
4116
|
|
|
4117
|
+
/**
|
|
4118
|
+
* UpdateAIConversation请求参数结构体
|
|
4119
|
+
*/
|
|
4120
|
+
export interface UpdateAIConversationRequest {
|
|
4121
|
+
/**
|
|
4122
|
+
* 唯一标识一个任务
|
|
4123
|
+
*/
|
|
4124
|
+
TaskId: string
|
|
4125
|
+
/**
|
|
4126
|
+
* 不填写则不进行更新,机器人的欢迎语
|
|
4127
|
+
*/
|
|
4128
|
+
WelcomeMessage?: string
|
|
4129
|
+
/**
|
|
4130
|
+
* 不填写则不进行更新。智能打断模式,0表示服务端自动打断,1表示服务端不打断,由端上发送打断信令进行打断
|
|
4131
|
+
*/
|
|
4132
|
+
InterruptMode?: number
|
|
4133
|
+
/**
|
|
4134
|
+
* 不填写则不进行更新。InterruptMode为0时使用,单位为毫秒,默认为500ms。表示服务端检测到持续InterruptSpeechDuration毫秒的人声则进行打断
|
|
4135
|
+
*/
|
|
4136
|
+
InterruptSpeechDuration?: number
|
|
4137
|
+
/**
|
|
4138
|
+
* 不填写则不进行更新,LLM配置,详情见StartAIConversation接口
|
|
4139
|
+
*/
|
|
4140
|
+
LLMConfig?: string
|
|
4141
|
+
/**
|
|
4142
|
+
* 不填写则不进行更新,TTS配置,详情见StartAIConversation接口
|
|
4143
|
+
*/
|
|
4144
|
+
TTSConfig?: string
|
|
4145
|
+
}
|
|
4146
|
+
|
|
4075
4147
|
/**
|
|
4076
4148
|
* 房间信息列表
|
|
4077
4149
|
*/
|
|
@@ -117,6 +117,7 @@ import {
|
|
|
117
117
|
DescribeCloudNativeAPIGatewayRoutesResponse,
|
|
118
118
|
DescribeWafProtectionResponse,
|
|
119
119
|
DescribeZookeeperReplicasRequest,
|
|
120
|
+
Location,
|
|
120
121
|
DeleteGovernanceInstancesResponse,
|
|
121
122
|
UpdateUpstreamTargetsRequest,
|
|
122
123
|
DeleteCloudNativeAPIGatewayServiceResponse,
|
|
@@ -2406,6 +2406,27 @@ export interface DescribeZookeeperReplicasRequest {
|
|
|
2406
2406
|
Offset?: number
|
|
2407
2407
|
}
|
|
2408
2408
|
|
|
2409
|
+
/**
|
|
2410
|
+
* 新增Location字段,展示zone/region/campus
|
|
2411
|
+
*/
|
|
2412
|
+
export interface Location {
|
|
2413
|
+
/**
|
|
2414
|
+
* 大区
|
|
2415
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2416
|
+
*/
|
|
2417
|
+
Region?: string
|
|
2418
|
+
/**
|
|
2419
|
+
* 可用区
|
|
2420
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2421
|
+
*/
|
|
2422
|
+
Zone?: string
|
|
2423
|
+
/**
|
|
2424
|
+
* 机房
|
|
2425
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2426
|
+
*/
|
|
2427
|
+
Campus?: string
|
|
2428
|
+
}
|
|
2429
|
+
|
|
2409
2430
|
/**
|
|
2410
2431
|
* DeleteGovernanceInstances返回参数结构体
|
|
2411
2432
|
*/
|
|
@@ -3193,6 +3214,10 @@ export interface DescribeGovernanceInstancesResponse {
|
|
|
3193
3214
|
* 服务里实例列表。
|
|
3194
3215
|
*/
|
|
3195
3216
|
Content?: Array<GovernanceInstance>
|
|
3217
|
+
/**
|
|
3218
|
+
* 地域
|
|
3219
|
+
*/
|
|
3220
|
+
Location?: Location
|
|
3196
3221
|
/**
|
|
3197
3222
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3198
3223
|
*/
|
|
@@ -5977,6 +6002,10 @@ export interface DescribeGovernanceInstancesRequest {
|
|
|
5977
6002
|
* 返回数量,默认为20,最大值为100。
|
|
5978
6003
|
*/
|
|
5979
6004
|
Limit?: number
|
|
6005
|
+
/**
|
|
6006
|
+
* 地域
|
|
6007
|
+
*/
|
|
6008
|
+
Location?: Location
|
|
5980
6009
|
}
|
|
5981
6010
|
|
|
5982
6011
|
/**
|
|
@@ -199,7 +199,7 @@ export interface CreateTtsTaskRequest {
|
|
|
199
199
|
*/
|
|
200
200
|
VoiceoverDialogueSplit?: boolean
|
|
201
201
|
/**
|
|
202
|
-
* 控制合成音频的情感,仅支持多情感音色使用。取值: neutral(中性)、sad(悲伤)、happy(高兴)、angry(生气)、fear(恐惧)、news(新闻)、story(故事)、radio(广播)、poetry(诗歌)、call(客服)
|
|
202
|
+
* 控制合成音频的情感,仅支持多情感音色使用。取值: neutral(中性)、sad(悲伤)、happy(高兴)、angry(生气)、fear(恐惧)、news(新闻)、story(故事)、radio(广播)、poetry(诗歌)、call(客服)、sajiao(撒娇)、disgusted(厌恶)、amaze(震惊)、peaceful(平静)、exciting(兴奋)、aojiao(傲娇)、jieshuo(解说)
|
|
203
203
|
*/
|
|
204
204
|
EmotionCategory?: string
|
|
205
205
|
/**
|
|
@@ -266,7 +266,7 @@ export interface TextToVoiceRequest {
|
|
|
266
266
|
*/
|
|
267
267
|
SegmentRate?: number
|
|
268
268
|
/**
|
|
269
|
-
* 控制合成音频的情感,仅支持多情感音色使用。取值: neutral(中性)、sad(悲伤)、happy(高兴)、angry(生气)、fear(恐惧)、news(新闻)、story(故事)、radio(广播)、poetry(诗歌)、call(客服)
|
|
269
|
+
* 控制合成音频的情感,仅支持多情感音色使用。取值: neutral(中性)、sad(悲伤)、happy(高兴)、angry(生气)、fear(恐惧)、news(新闻)、story(故事)、radio(广播)、poetry(诗歌)、call(客服)、sajiao(撒娇)、disgusted(厌恶)、amaze(震惊)、peaceful(平静)、exciting(兴奋)、aojiao(傲娇)、jieshuo(解说)
|
|
270
270
|
示例值:neutral
|
|
271
271
|
*/
|
|
272
272
|
EmotionCategory?: string
|
|
@@ -73,7 +73,6 @@ import {
|
|
|
73
73
|
DescribeDailyMostPlayedStatRequest,
|
|
74
74
|
UserDefineFaceReviewTemplateInfo,
|
|
75
75
|
RefreshUrlCacheRequest,
|
|
76
|
-
DescribeAIAnalysisTemplatesRequest,
|
|
77
76
|
ContentReviewTemplateItem,
|
|
78
77
|
DeleteAIRecognitionTemplateResponse,
|
|
79
78
|
DeleteContentReviewTemplateRequest,
|
|
@@ -81,6 +80,8 @@ import {
|
|
|
81
80
|
AiReviewPoliticalTaskInput,
|
|
82
81
|
VerifyDomainRecordResponse,
|
|
83
82
|
AudioTransform,
|
|
83
|
+
TranscodeTask2017,
|
|
84
|
+
DescribeCurrentPlaylistResponse,
|
|
84
85
|
ModifySuperPlayerConfigRequest,
|
|
85
86
|
ResetProcedureTemplateRequest,
|
|
86
87
|
ContentReviewOcrResult,
|
|
@@ -98,6 +99,7 @@ import {
|
|
|
98
99
|
ProcedureReviewAudioVideoTaskInput,
|
|
99
100
|
AiRecognitionTaskAsrWordsSegmentItem,
|
|
100
101
|
TextWatermarkTemplateInput,
|
|
102
|
+
UserDefineAsrTextReviewTemplateInfoForUpdate,
|
|
101
103
|
QualityEvaluationConfigureInfoForUpdate,
|
|
102
104
|
AiRecognitionTaskInput,
|
|
103
105
|
AudioTemplateInfo,
|
|
@@ -175,6 +177,7 @@ import {
|
|
|
175
177
|
WatermarkTemplate,
|
|
176
178
|
CoverBySnapshotTaskOutput,
|
|
177
179
|
ModifyQualityInspectTemplateResponse,
|
|
180
|
+
DescribeProcedureTemplatesRequest,
|
|
178
181
|
VideoConfigureInfoForUpdate,
|
|
179
182
|
ModifyAdaptiveDynamicStreamingTemplateRequest,
|
|
180
183
|
ForbidMediaDistributionRequest,
|
|
@@ -274,11 +277,12 @@ import {
|
|
|
274
277
|
CreatePersonSampleResponse,
|
|
275
278
|
CreateContentReviewTemplateResponse,
|
|
276
279
|
ModifyAnimatedGraphicsTemplateRequest,
|
|
277
|
-
|
|
280
|
+
DescribeAIAnalysisTemplatesRequest,
|
|
278
281
|
CreateHeadTailTemplateRequest,
|
|
279
282
|
MediaSampleSnapshotItem,
|
|
280
283
|
TagConfigureInfoForUpdate,
|
|
281
284
|
DeleteWordSamplesRequest,
|
|
285
|
+
FastEditMediaResponse,
|
|
282
286
|
EmptyTrackItem,
|
|
283
287
|
StickerTrackItem,
|
|
284
288
|
DescribeDrmDataKeyResponse,
|
|
@@ -551,6 +555,7 @@ import {
|
|
|
551
555
|
MediaSourceData,
|
|
552
556
|
DescribePrepaidProductsResponse,
|
|
553
557
|
ProhibitedAsrReviewTemplateInfo,
|
|
558
|
+
HandleCurrentPlaylistResponse,
|
|
554
559
|
PushUrlCacheRequest,
|
|
555
560
|
CreateAIAnalysisTemplateResponse,
|
|
556
561
|
HeadTailConfigureInfo,
|
|
@@ -700,7 +705,8 @@ import {
|
|
|
700
705
|
DescribeTranscodeTemplatesRequest,
|
|
701
706
|
QualityEnhanceTaskOutput,
|
|
702
707
|
ReviewTemplate,
|
|
703
|
-
|
|
708
|
+
DescribeCurrentPlaylistRequest,
|
|
709
|
+
FastEditMediaRequest,
|
|
704
710
|
MediaVideoStreamItem,
|
|
705
711
|
CreateRebuildMediaTemplateRequest,
|
|
706
712
|
ImageOperation,
|
|
@@ -781,6 +787,7 @@ import {
|
|
|
781
787
|
ReviewImageRequest,
|
|
782
788
|
RebuildVideoInfo,
|
|
783
789
|
DescribeHeadTailTemplatesResponse,
|
|
790
|
+
HandleCurrentPlaylistRequest,
|
|
784
791
|
TerrorismConfigureInfo,
|
|
785
792
|
CreateCLSLogsetResponse,
|
|
786
793
|
PoliticalAsrReviewTemplateInfo,
|
|
@@ -796,8 +803,9 @@ import {
|
|
|
796
803
|
EnhanceMediaQualityResponse,
|
|
797
804
|
SubtitleFormatsOperation,
|
|
798
805
|
MediaTrack,
|
|
806
|
+
FastEditMediaFileInfo,
|
|
799
807
|
StorageStatData,
|
|
800
|
-
|
|
808
|
+
RoundPlayFilePlayInfo,
|
|
801
809
|
DescribeFileAttributesRequest,
|
|
802
810
|
QualityInspectResultItem,
|
|
803
811
|
MediaOutputInfo,
|
|
@@ -1719,16 +1727,24 @@ export class Client extends AbstractClient {
|
|
|
1719
1727
|
}
|
|
1720
1728
|
|
|
1721
1729
|
/**
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1730
|
+
* 操作轮播当前播放列表。支持的操作有:<li> Insert:向当前播列表插入播放节目。</li><li> Delete:删除播列表中的播放节目。</li>
|
|
1731
|
+
*/
|
|
1732
|
+
async HandleCurrentPlaylist(
|
|
1733
|
+
req: HandleCurrentPlaylistRequest,
|
|
1734
|
+
cb?: (error: string, rep: HandleCurrentPlaylistResponse) => void
|
|
1735
|
+
): Promise<HandleCurrentPlaylistResponse> {
|
|
1736
|
+
return this.request("HandleCurrentPlaylist", req, cb)
|
|
1737
|
+
}
|
|
1738
|
+
|
|
1739
|
+
/**
|
|
1740
|
+
* 该 API 已经<font color='red'>不再维护</font>,新版播放器签名不再使用播放器配置模板,详细请参考 [播放器签名](https://cloud.tencent.com/document/product/266/45554)。
|
|
1741
|
+
创建播放器配置,数量上限:100。
|
|
1726
1742
|
*/
|
|
1727
|
-
async
|
|
1728
|
-
req:
|
|
1729
|
-
cb?: (error: string, rep:
|
|
1730
|
-
): Promise<
|
|
1731
|
-
return this.request("
|
|
1743
|
+
async CreateSuperPlayerConfig(
|
|
1744
|
+
req: CreateSuperPlayerConfigRequest,
|
|
1745
|
+
cb?: (error: string, rep: CreateSuperPlayerConfigResponse) => void
|
|
1746
|
+
): Promise<CreateSuperPlayerConfigResponse> {
|
|
1747
|
+
return this.request("CreateSuperPlayerConfig", req, cb)
|
|
1732
1748
|
}
|
|
1733
1749
|
|
|
1734
1750
|
/**
|
|
@@ -1785,14 +1801,13 @@ export class Client extends AbstractClient {
|
|
|
1785
1801
|
}
|
|
1786
1802
|
|
|
1787
1803
|
/**
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
return this.request("ModifyRoundPlay", req, cb)
|
|
1804
|
+
* 查询轮播当前播放列表。
|
|
1805
|
+
*/
|
|
1806
|
+
async DescribeCurrentPlaylist(
|
|
1807
|
+
req: DescribeCurrentPlaylistRequest,
|
|
1808
|
+
cb?: (error: string, rep: DescribeCurrentPlaylistResponse) => void
|
|
1809
|
+
): Promise<DescribeCurrentPlaylistResponse> {
|
|
1810
|
+
return this.request("DescribeCurrentPlaylist", req, cb)
|
|
1796
1811
|
}
|
|
1797
1812
|
|
|
1798
1813
|
/**
|
|
@@ -1940,14 +1955,16 @@ export class Client extends AbstractClient {
|
|
|
1940
1955
|
}
|
|
1941
1956
|
|
|
1942
1957
|
/**
|
|
1943
|
-
*
|
|
1944
|
-
|
|
1958
|
+
* 该接口返回查询时间范围内每天使用的图片审核用量信息。
|
|
1959
|
+
1. 可以查询最近365天内的图片审核统计数据。
|
|
1960
|
+
2. 查询时间跨度不超过90天。
|
|
1961
|
+
3. 查询时间跨度超过1天的,返回以天为粒度的数据,否则,返回以5分钟为粒度的数据。
|
|
1945
1962
|
*/
|
|
1946
|
-
async
|
|
1947
|
-
req:
|
|
1948
|
-
cb?: (error: string, rep:
|
|
1949
|
-
): Promise<
|
|
1950
|
-
return this.request("
|
|
1963
|
+
async DescribeImageReviewUsageData(
|
|
1964
|
+
req: DescribeImageReviewUsageDataRequest,
|
|
1965
|
+
cb?: (error: string, rep: DescribeImageReviewUsageDataResponse) => void
|
|
1966
|
+
): Promise<DescribeImageReviewUsageDataResponse> {
|
|
1967
|
+
return this.request("DescribeImageReviewUsageData", req, cb)
|
|
1951
1968
|
}
|
|
1952
1969
|
|
|
1953
1970
|
/**
|
|
@@ -2100,6 +2117,16 @@ export class Client extends AbstractClient {
|
|
|
2100
2117
|
return this.request("DeleteWordSamples", req, cb)
|
|
2101
2118
|
}
|
|
2102
2119
|
|
|
2120
|
+
/**
|
|
2121
|
+
* 对 HLS 视频实现快速拼接和快速剪辑,生成新的 HLS 格式的媒体。
|
|
2122
|
+
*/
|
|
2123
|
+
async FastEditMedia(
|
|
2124
|
+
req: FastEditMediaRequest,
|
|
2125
|
+
cb?: (error: string, rep: FastEditMediaResponse) => void
|
|
2126
|
+
): Promise<FastEditMediaResponse> {
|
|
2127
|
+
return this.request("FastEditMedia", req, cb)
|
|
2128
|
+
}
|
|
2129
|
+
|
|
2103
2130
|
/**
|
|
2104
2131
|
* 该接口用于将加速域名添加到点播,一个用户最多添加20个加速域名。
|
|
2105
2132
|
1.域名添加成功后点播会进行域名的部署,域名由部署状态变为在线状态大概需要2分钟的时间。
|
|
@@ -2262,6 +2289,17 @@ export class Client extends AbstractClient {
|
|
|
2262
2289
|
return this.request("ModifySubAppIdInfo", req, cb)
|
|
2263
2290
|
}
|
|
2264
2291
|
|
|
2292
|
+
/**
|
|
2293
|
+
* 该接口用于修改轮播播单。
|
|
2294
|
+
修改后只有新的播放请求会生效,已经在播放中的用户在七天之内还可以播放修改前的播单。
|
|
2295
|
+
*/
|
|
2296
|
+
async ModifyRoundPlay(
|
|
2297
|
+
req: ModifyRoundPlayRequest,
|
|
2298
|
+
cb?: (error: string, rep: ModifyRoundPlayResponse) => void
|
|
2299
|
+
): Promise<ModifyRoundPlayResponse> {
|
|
2300
|
+
return this.request("ModifyRoundPlay", req, cb)
|
|
2301
|
+
}
|
|
2302
|
+
|
|
2265
2303
|
/**
|
|
2266
2304
|
* 查询转自适应码流模板,支持根据条件,分页查询。
|
|
2267
2305
|
*/
|