tencentcloud-sdk-nodejs 4.0.856 → 4.0.858
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 +146 -0
- package/SERVICE_CHANGELOG.md +157 -190
- package/package.json +1 -1
- package/products.md +17 -17
- package/src/common/sdk_version.ts +1 -1
- package/src/services/ccc/v20200210/ccc_models.ts +46 -6
- package/src/services/cdn/v20180606/cdn_models.ts +14 -0
- package/src/services/ckafka/v20190819/ckafka_models.ts +12 -12
- package/src/services/dsgc/v20190723/dsgc_models.ts +4 -9
- package/src/services/gme/v20180711/gme_models.ts +7 -7
- package/src/services/hunyuan/v20230901/hunyuan_models.ts +9 -0
- package/src/services/mps/v20190612/mps_models.ts +13 -13
- package/src/services/ocr/v20181119/ocr_models.ts +20 -0
- package/src/services/rce/v20201103/rce_models.ts +6 -22
- package/src/services/sms/v20210111/sms_models.ts +4 -2
- package/src/services/tmt/v20180321/tmt_client.ts +0 -1
- package/src/services/tmt/v20180321/tmt_models.ts +10 -8
- package/src/services/trtc/v20190722/trtc_client.ts +56 -6
- package/src/services/trtc/v20190722/trtc_models.ts +166 -0
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +46 -6
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +14 -0
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +12 -12
- package/tencentcloud/services/dsgc/v20190723/dsgc_models.d.ts +4 -9
- package/tencentcloud/services/gme/v20180711/gme_models.d.ts +7 -7
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_models.d.ts +9 -0
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +13 -13
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +20 -0
- package/tencentcloud/services/rce/v20201103/rce_models.d.ts +6 -22
- package/tencentcloud/services/sms/v20210111/sms_models.d.ts +4 -2
- package/tencentcloud/services/tmt/v20180321/tmt_client.d.ts +0 -1
- package/tencentcloud/services/tmt/v20180321/tmt_client.js +0 -1
- package/tencentcloud/services/tmt/v20180321/tmt_models.d.ts +10 -8
- package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +19 -3
- package/tencentcloud/services/trtc/v20190722/trtc_client.js +27 -3
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +156 -0
- package/test/trtc.v20190722.test.js +42 -2
|
@@ -117,35 +117,35 @@ export interface SpeechTranslateResponse {
|
|
|
117
117
|
/**
|
|
118
118
|
* 请求的SessionUuid直接返回
|
|
119
119
|
*/
|
|
120
|
-
SessionUuid
|
|
120
|
+
SessionUuid?: string
|
|
121
121
|
/**
|
|
122
122
|
* 语音识别状态 1-进行中 0-完成
|
|
123
123
|
*/
|
|
124
|
-
RecognizeStatus
|
|
124
|
+
RecognizeStatus?: number
|
|
125
125
|
/**
|
|
126
126
|
* 识别出的原文
|
|
127
127
|
*/
|
|
128
|
-
SourceText
|
|
128
|
+
SourceText?: string
|
|
129
129
|
/**
|
|
130
130
|
* 翻译出的译文
|
|
131
131
|
*/
|
|
132
|
-
TargetText
|
|
132
|
+
TargetText?: string
|
|
133
133
|
/**
|
|
134
134
|
* 第几个语音分片
|
|
135
135
|
*/
|
|
136
|
-
Seq
|
|
136
|
+
Seq?: number
|
|
137
137
|
/**
|
|
138
138
|
* 原语言
|
|
139
139
|
*/
|
|
140
|
-
Source
|
|
140
|
+
Source?: string
|
|
141
141
|
/**
|
|
142
142
|
* 目标语言
|
|
143
143
|
*/
|
|
144
|
-
Target
|
|
144
|
+
Target?: string
|
|
145
145
|
/**
|
|
146
146
|
* 当请求的Mode参数填写bvad是,启动VadSeq。此时Seq会被设置为后台vad(静音检测)后的新序号,而VadSeq代表客户端原始Seq值
|
|
147
147
|
*/
|
|
148
|
-
VadSeq
|
|
148
|
+
VadSeq?: number
|
|
149
149
|
/**
|
|
150
150
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
151
151
|
*/
|
|
@@ -361,10 +361,12 @@ export interface SpeechTranslateRequest {
|
|
|
361
361
|
ProjectId?: number
|
|
362
362
|
/**
|
|
363
363
|
* 识别模式,该参数已废弃
|
|
364
|
+
* @deprecated
|
|
364
365
|
*/
|
|
365
366
|
Mode?: string
|
|
366
367
|
/**
|
|
367
368
|
* 该参数已废弃
|
|
369
|
+
* @deprecated
|
|
368
370
|
*/
|
|
369
371
|
TransType?: number
|
|
370
372
|
}
|
|
@@ -80,6 +80,7 @@ import {
|
|
|
80
80
|
DescribeRoomInfoResponse,
|
|
81
81
|
DismissRoomRequest,
|
|
82
82
|
DescribeTRTCRealTimeQualityMetricDataRequest,
|
|
83
|
+
DescribeAITranscriptionRequest,
|
|
83
84
|
SdkAppIdTrtcMcuTranscodeTimeUsage,
|
|
84
85
|
McuLayout,
|
|
85
86
|
DescribeUserInfoResponse,
|
|
@@ -121,6 +122,7 @@ import {
|
|
|
121
122
|
OutputParams,
|
|
122
123
|
DeleteCloudRecordingResponse,
|
|
123
124
|
StopMCUMixTranscodeByStrRoomIdRequest,
|
|
125
|
+
RecognizeConfig,
|
|
124
126
|
QualityData,
|
|
125
127
|
StopPublishCdnStreamRequest,
|
|
126
128
|
DeletePictureResponse,
|
|
@@ -146,20 +148,25 @@ import {
|
|
|
146
148
|
ModifyCloudRecordingResponse,
|
|
147
149
|
StartMCUMixTranscodeByStrRoomIdRequest,
|
|
148
150
|
DescribeCloudRecordingResponse,
|
|
151
|
+
StartAITranscriptionRequest,
|
|
149
152
|
DismissRoomResponse,
|
|
150
153
|
StopStreamIngestResponse,
|
|
151
154
|
MixUserInfo,
|
|
152
155
|
EventMessage,
|
|
153
156
|
DescribeTRTCMarketQualityDataRequest,
|
|
157
|
+
SummarizeTranscriptionRequest,
|
|
154
158
|
UpdatePublishCdnStreamRequest,
|
|
155
159
|
StartWebRecordRequest,
|
|
156
160
|
MaxVideoUser,
|
|
157
161
|
AgentParams,
|
|
158
162
|
StopWebRecordResponse,
|
|
163
|
+
SummarizeTranscriptionResponse,
|
|
159
164
|
DeletePictureRequest,
|
|
160
165
|
McuSeiParams,
|
|
166
|
+
StopAITranscriptionRequest,
|
|
161
167
|
UpdatePublishCdnStreamResponse,
|
|
162
168
|
McuWaterMarkText,
|
|
169
|
+
TranscriptionParams,
|
|
163
170
|
SeriesInfos,
|
|
164
171
|
RemoveUserByStrRoomIdRequest,
|
|
165
172
|
RecordParams,
|
|
@@ -169,14 +176,17 @@ import {
|
|
|
169
176
|
PresetLayoutConfig,
|
|
170
177
|
McuPublishCdnParam,
|
|
171
178
|
AudioParams,
|
|
179
|
+
StopAITranscriptionResponse,
|
|
172
180
|
SeriesInfo,
|
|
173
181
|
WaterMarkTimestamp,
|
|
174
182
|
SingleSubscribeParams,
|
|
175
183
|
PublishCdnParams,
|
|
184
|
+
DescribeAITranscriptionResponse,
|
|
176
185
|
McuWaterMarkParams,
|
|
177
186
|
AbnormalExperience,
|
|
178
187
|
RoomState,
|
|
179
188
|
CreatePictureResponse,
|
|
189
|
+
StartAITranscriptionResponse,
|
|
180
190
|
RemoveUserResponse,
|
|
181
191
|
} from "./trtc_models"
|
|
182
192
|
|
|
@@ -578,6 +588,16 @@ TRTC 的一个房间中可能会同时存在多路音视频流,您可以通过
|
|
|
578
588
|
return this.request("StartMCUMixTranscode", req, cb)
|
|
579
589
|
}
|
|
580
590
|
|
|
591
|
+
/**
|
|
592
|
+
* 这个接口调用后,后台会启动机器人,实时进行语音识别并下发字幕和会议记录。
|
|
593
|
+
*/
|
|
594
|
+
async StartAITranscription(
|
|
595
|
+
req: StartAITranscriptionRequest,
|
|
596
|
+
cb?: (error: string, rep: StartAITranscriptionResponse) => void
|
|
597
|
+
): Promise<StartAITranscriptionResponse> {
|
|
598
|
+
return this.request("StartAITranscription", req, cb)
|
|
599
|
+
}
|
|
600
|
+
|
|
581
601
|
/**
|
|
582
602
|
* 查询TRTC监控仪表盘-数据大盘规模指标(会返回通话人数,通话房间数,峰值同时在线人数,峰值同时在线频道数)
|
|
583
603
|
userCount:通话人数,
|
|
@@ -605,6 +625,16 @@ peakCurrentUsers:峰值同时在线人数。
|
|
|
605
625
|
return this.request("StopWebRecord", req, cb)
|
|
606
626
|
}
|
|
607
627
|
|
|
628
|
+
/**
|
|
629
|
+
* 停止转推任务。
|
|
630
|
+
*/
|
|
631
|
+
async StopPublishCdnStream(
|
|
632
|
+
req: StopPublishCdnStreamRequest,
|
|
633
|
+
cb?: (error: string, rep: StopPublishCdnStreamResponse) => void
|
|
634
|
+
): Promise<StopPublishCdnStreamResponse> {
|
|
635
|
+
return this.request("StopPublishCdnStream", req, cb)
|
|
636
|
+
}
|
|
637
|
+
|
|
608
638
|
/**
|
|
609
639
|
* 接口说明:
|
|
610
640
|
启动云端录制功能,完成房间内的音视频录制,并上传到指定的云存储。您可以通过此 API 接口把TRTC 房间中的每一路音视频流做单独的录制又或者多路视频画面合流混成一路。
|
|
@@ -686,6 +716,16 @@ peakCurrentUsers:峰值同时在线人数。
|
|
|
686
716
|
return this.request("StopMCUMixTranscodeByStrRoomId", req, cb)
|
|
687
717
|
}
|
|
688
718
|
|
|
719
|
+
/**
|
|
720
|
+
* 对转录的文本进行总结
|
|
721
|
+
*/
|
|
722
|
+
async SummarizeTranscription(
|
|
723
|
+
req?: SummarizeTranscriptionRequest,
|
|
724
|
+
cb?: (error: string, rep: SummarizeTranscriptionResponse) => void
|
|
725
|
+
): Promise<SummarizeTranscriptionResponse> {
|
|
726
|
+
return this.request("SummarizeTranscription", req, cb)
|
|
727
|
+
}
|
|
728
|
+
|
|
689
729
|
/**
|
|
690
730
|
* 获取TRTC录制的用量明细。
|
|
691
731
|
- 查询时间小于等于1天时,返回每5分钟粒度的数据;查询时间大于1天时,返回按天汇总的数据。
|
|
@@ -800,6 +840,16 @@ peakCurrentUsers:峰值同时在线人数。
|
|
|
800
840
|
return this.request("ModifyPicture", req, cb)
|
|
801
841
|
}
|
|
802
842
|
|
|
843
|
+
/**
|
|
844
|
+
* 查询AI转录状态
|
|
845
|
+
*/
|
|
846
|
+
async DescribeAITranscription(
|
|
847
|
+
req: DescribeAITranscriptionRequest,
|
|
848
|
+
cb?: (error: string, rep: DescribeAITranscriptionResponse) => void
|
|
849
|
+
): Promise<DescribeAITranscriptionResponse> {
|
|
850
|
+
return this.request("DescribeAITranscription", req, cb)
|
|
851
|
+
}
|
|
852
|
+
|
|
803
853
|
/**
|
|
804
854
|
* 更新转推任务。
|
|
805
855
|
注:请参见启动转推任务的接口说明和使用说明。
|
|
@@ -865,13 +915,13 @@ networkDelay :网络延迟率。
|
|
|
865
915
|
}
|
|
866
916
|
|
|
867
917
|
/**
|
|
868
|
-
*
|
|
918
|
+
* 停止AI转录
|
|
869
919
|
*/
|
|
870
|
-
async
|
|
871
|
-
req:
|
|
872
|
-
cb?: (error: string, rep:
|
|
873
|
-
): Promise<
|
|
874
|
-
return this.request("
|
|
920
|
+
async StopAITranscription(
|
|
921
|
+
req: StopAITranscriptionRequest,
|
|
922
|
+
cb?: (error: string, rep: StopAITranscriptionResponse) => void
|
|
923
|
+
): Promise<StopAITranscriptionResponse> {
|
|
924
|
+
return this.request("StopAITranscription", req, cb)
|
|
875
925
|
}
|
|
876
926
|
|
|
877
927
|
/**
|
|
@@ -1422,6 +1422,16 @@ export interface DescribeTRTCRealTimeQualityMetricDataRequest {
|
|
|
1422
1422
|
RoomId?: string
|
|
1423
1423
|
}
|
|
1424
1424
|
|
|
1425
|
+
/**
|
|
1426
|
+
* DescribeAITranscription请求参数结构体
|
|
1427
|
+
*/
|
|
1428
|
+
export interface DescribeAITranscriptionRequest {
|
|
1429
|
+
/**
|
|
1430
|
+
* 唯一标识AI转录任务。
|
|
1431
|
+
*/
|
|
1432
|
+
TaskId: string
|
|
1433
|
+
}
|
|
1434
|
+
|
|
1425
1435
|
/**
|
|
1426
1436
|
* 查询旁路转码计费时长。
|
|
1427
1437
|
查询时间小于等于1天时,返回每5分钟粒度的数据;查询时间大于1天时,返回按天汇总的数据。
|
|
@@ -2447,6 +2457,34 @@ export interface StopMCUMixTranscodeByStrRoomIdRequest {
|
|
|
2447
2457
|
StrRoomId: string
|
|
2448
2458
|
}
|
|
2449
2459
|
|
|
2460
|
+
/**
|
|
2461
|
+
* 语音识别使用的配置
|
|
2462
|
+
*/
|
|
2463
|
+
export interface RecognizeConfig {
|
|
2464
|
+
/**
|
|
2465
|
+
* 支持的语言,目前支持语言如下:
|
|
2466
|
+
Chinese = "zh"
|
|
2467
|
+
Chinese_TW = "zh-TW"
|
|
2468
|
+
English = "en"
|
|
2469
|
+
Vietnamese = "vi"
|
|
2470
|
+
Japanese = "ja"
|
|
2471
|
+
Korean = "ko"
|
|
2472
|
+
Indonesia = "id"
|
|
2473
|
+
Thai = "th"
|
|
2474
|
+
Portuguese = "pt"
|
|
2475
|
+
Turkish = "tr"
|
|
2476
|
+
Arabic = "ar"
|
|
2477
|
+
Spanish = "es"
|
|
2478
|
+
Hindi = "hi"
|
|
2479
|
+
French = "fr"
|
|
2480
|
+
*/
|
|
2481
|
+
Language?: string
|
|
2482
|
+
/**
|
|
2483
|
+
* 选填,如果填写,则会启用翻译,不填则忽略。支持语言同Language字段。
|
|
2484
|
+
*/
|
|
2485
|
+
TranslationLanguage?: string
|
|
2486
|
+
}
|
|
2487
|
+
|
|
2450
2488
|
/**
|
|
2451
2489
|
* Es返回的质量数据
|
|
2452
2490
|
*/
|
|
@@ -2942,6 +2980,32 @@ Exited:表示当前录制任务正在退出的过程中。
|
|
|
2942
2980
|
RequestId?: string
|
|
2943
2981
|
}
|
|
2944
2982
|
|
|
2983
|
+
/**
|
|
2984
|
+
* StartAITranscription请求参数结构体
|
|
2985
|
+
*/
|
|
2986
|
+
export interface StartAITranscriptionRequest {
|
|
2987
|
+
/**
|
|
2988
|
+
* TRTC的[SdkAppId](https://cloud.tencent.com/document/product/647/46351#sdkappid),使用该sdkappid开启任务。
|
|
2989
|
+
*/
|
|
2990
|
+
SdkAppId: number
|
|
2991
|
+
/**
|
|
2992
|
+
* TRTC的[RoomId](https://cloud.tencent.com/document/product/647/46351#roomid),使用该roomid开启任务。
|
|
2993
|
+
*/
|
|
2994
|
+
RoomId: string
|
|
2995
|
+
/**
|
|
2996
|
+
* 启动转录机器人和鉴权的参数。
|
|
2997
|
+
*/
|
|
2998
|
+
TranscriptionParams: TranscriptionParams
|
|
2999
|
+
/**
|
|
3000
|
+
* TRTC房间号的类型,0代表数字房间号,1代表字符串房间号。不填默认是数字房间号。
|
|
3001
|
+
*/
|
|
3002
|
+
RoomIdType?: number
|
|
3003
|
+
/**
|
|
3004
|
+
* 语音识别配置
|
|
3005
|
+
*/
|
|
3006
|
+
RecognizeConfig?: RecognizeConfig
|
|
3007
|
+
}
|
|
3008
|
+
|
|
2945
3009
|
/**
|
|
2946
3010
|
* DismissRoom返回参数结构体
|
|
2947
3011
|
*/
|
|
@@ -3034,6 +3098,11 @@ h:按小时。此时返回查询时间范围内 UTC 时间为整小时的数
|
|
|
3034
3098
|
Period: string
|
|
3035
3099
|
}
|
|
3036
3100
|
|
|
3101
|
+
/**
|
|
3102
|
+
* SummarizeTranscription请求参数结构体
|
|
3103
|
+
*/
|
|
3104
|
+
export type SummarizeTranscriptionRequest = null
|
|
3105
|
+
|
|
3037
3106
|
/**
|
|
3038
3107
|
* UpdatePublishCdnStream请求参数结构体
|
|
3039
3108
|
*/
|
|
@@ -3155,6 +3224,16 @@ export interface StopWebRecordResponse {
|
|
|
3155
3224
|
RequestId?: string
|
|
3156
3225
|
}
|
|
3157
3226
|
|
|
3227
|
+
/**
|
|
3228
|
+
* SummarizeTranscription返回参数结构体
|
|
3229
|
+
*/
|
|
3230
|
+
export interface SummarizeTranscriptionResponse {
|
|
3231
|
+
/**
|
|
3232
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3233
|
+
*/
|
|
3234
|
+
RequestId?: string
|
|
3235
|
+
}
|
|
3236
|
+
|
|
3158
3237
|
/**
|
|
3159
3238
|
* DeletePicture请求参数结构体
|
|
3160
3239
|
*/
|
|
@@ -3183,6 +3262,16 @@ export interface McuSeiParams {
|
|
|
3183
3262
|
PassThrough?: McuPassThrough
|
|
3184
3263
|
}
|
|
3185
3264
|
|
|
3265
|
+
/**
|
|
3266
|
+
* StopAITranscription请求参数结构体
|
|
3267
|
+
*/
|
|
3268
|
+
export interface StopAITranscriptionRequest {
|
|
3269
|
+
/**
|
|
3270
|
+
* 唯一标识转录任务。
|
|
3271
|
+
*/
|
|
3272
|
+
TaskId: string
|
|
3273
|
+
}
|
|
3274
|
+
|
|
3186
3275
|
/**
|
|
3187
3276
|
* UpdatePublishCdnStream返回参数结构体
|
|
3188
3277
|
*/
|
|
@@ -3247,6 +3336,41 @@ export interface McuWaterMarkText {
|
|
|
3247
3336
|
Font?: string
|
|
3248
3337
|
}
|
|
3249
3338
|
|
|
3339
|
+
/**
|
|
3340
|
+
* AI转录参数
|
|
3341
|
+
*/
|
|
3342
|
+
export interface TranscriptionParams {
|
|
3343
|
+
/**
|
|
3344
|
+
* 转录机器人的UserId,用于进房发起转录任务。【注意】这个UserId不能与当前房间内的主播观众[UserId](https://cloud.tencent.com/document/product/647/46351#userid)重复。如果一个房间发起多个转录任务时,机器人的userid也不能相互重复,否则会中断前一个任务。需要保证转录机器人UserId在房间内唯一。
|
|
3345
|
+
*/
|
|
3346
|
+
UserId: string
|
|
3347
|
+
/**
|
|
3348
|
+
* 转录机器人UserId对应的校验签名,即UserId和UserSig相当于转录机器人进房的登录密码,具体计算方法请参考TRTC计算[UserSig](https://cloud.tencent.com/document/product/647/45910#UserSig)的方案。
|
|
3349
|
+
*/
|
|
3350
|
+
UserSig: string
|
|
3351
|
+
/**
|
|
3352
|
+
* IM[管理员账户](
|
|
3353
|
+
https://cloud.tencent.com/document/product/269/31999#app-.E7.AE.A1.E7.90.86.E5.91.98),如果填写,后台下发消息会使用IM通道,而不是TRTC自定义消息。
|
|
3354
|
+
*/
|
|
3355
|
+
IMAdminUserId?: string
|
|
3356
|
+
/**
|
|
3357
|
+
* IM管理员账户生成的签名,用于向特定群组发送消息。如果填写,后台下发消息会使用IM通道,而不是TRTC自定义消息。必须和IM管理员的UserId一起填写。
|
|
3358
|
+
*/
|
|
3359
|
+
IMAdminUserSig?: string
|
|
3360
|
+
/**
|
|
3361
|
+
* 房间内推流用户全部退出后超过MaxIdleTime秒,后台自动关闭转录任务,默认值是60s。
|
|
3362
|
+
*/
|
|
3363
|
+
MaxIdleTime?: number
|
|
3364
|
+
/**
|
|
3365
|
+
* 1表示机器人只订阅单个人的流,0表示机器人订阅整个房间的流,如果不填默认订阅整个房间的流。
|
|
3366
|
+
*/
|
|
3367
|
+
TranscriptionMode?: number
|
|
3368
|
+
/**
|
|
3369
|
+
* TranscriptionMode为1时必填,机器人只会拉该userid的流,忽略房间里其他用户。
|
|
3370
|
+
*/
|
|
3371
|
+
TargetUserId?: string
|
|
3372
|
+
}
|
|
3373
|
+
|
|
3250
3374
|
/**
|
|
3251
3375
|
* SeriesInfos类型
|
|
3252
3376
|
*/
|
|
@@ -3464,6 +3588,16 @@ export interface AudioParams {
|
|
|
3464
3588
|
BitRate: number
|
|
3465
3589
|
}
|
|
3466
3590
|
|
|
3591
|
+
/**
|
|
3592
|
+
* StopAITranscription返回参数结构体
|
|
3593
|
+
*/
|
|
3594
|
+
export interface StopAITranscriptionResponse {
|
|
3595
|
+
/**
|
|
3596
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3597
|
+
*/
|
|
3598
|
+
RequestId?: string
|
|
3599
|
+
}
|
|
3600
|
+
|
|
3467
3601
|
/**
|
|
3468
3602
|
* SeriesInfo类型
|
|
3469
3603
|
*/
|
|
@@ -3524,6 +3658,24 @@ export interface PublishCdnParams {
|
|
|
3524
3658
|
PublishCdnUrls: Array<string>
|
|
3525
3659
|
}
|
|
3526
3660
|
|
|
3661
|
+
/**
|
|
3662
|
+
* DescribeAITranscription返回参数结构体
|
|
3663
|
+
*/
|
|
3664
|
+
export interface DescribeAITranscriptionResponse {
|
|
3665
|
+
/**
|
|
3666
|
+
* 起始时间。
|
|
3667
|
+
*/
|
|
3668
|
+
StartTime?: string
|
|
3669
|
+
/**
|
|
3670
|
+
* 转录任务状态。
|
|
3671
|
+
*/
|
|
3672
|
+
Status?: string
|
|
3673
|
+
/**
|
|
3674
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3675
|
+
*/
|
|
3676
|
+
RequestId?: string
|
|
3677
|
+
}
|
|
3678
|
+
|
|
3527
3679
|
/**
|
|
3528
3680
|
* 水印参数。
|
|
3529
3681
|
*/
|
|
@@ -3612,6 +3764,20 @@ export interface CreatePictureResponse {
|
|
|
3612
3764
|
RequestId?: string
|
|
3613
3765
|
}
|
|
3614
3766
|
|
|
3767
|
+
/**
|
|
3768
|
+
* StartAITranscription返回参数结构体
|
|
3769
|
+
*/
|
|
3770
|
+
export interface StartAITranscriptionResponse {
|
|
3771
|
+
/**
|
|
3772
|
+
* 用于唯一标识转录任务。
|
|
3773
|
+
*/
|
|
3774
|
+
TaskId?: string
|
|
3775
|
+
/**
|
|
3776
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3777
|
+
*/
|
|
3778
|
+
RequestId?: string
|
|
3779
|
+
}
|
|
3780
|
+
|
|
3615
3781
|
/**
|
|
3616
3782
|
* RemoveUser返回参数结构体
|
|
3617
3783
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const sdkVersion = "4.0.
|
|
1
|
+
export declare const sdkVersion = "4.0.858";
|
|
@@ -64,20 +64,40 @@ export interface CompanyApplyInfo {
|
|
|
64
64
|
*/
|
|
65
65
|
CorporationIdPicUrl: string;
|
|
66
66
|
/**
|
|
67
|
-
*
|
|
67
|
+
* 安全合规使用承诺书。(支持jpg、png、gif、jpeg格式的图片,每张图片应大于50K,不超过5MB,模板参见控制台:https://console.cloud.tencent.com/ccc/enterprise/update)
|
|
68
68
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
69
69
|
*/
|
|
70
|
-
|
|
70
|
+
NetworkCommitmentPicUrl: string;
|
|
71
71
|
/**
|
|
72
|
-
*
|
|
72
|
+
* 是否与腾讯云账号的资质一致,0-不一致,1-一致
|
|
73
73
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
74
74
|
*/
|
|
75
|
-
|
|
75
|
+
IsEqualTencentCloud: number;
|
|
76
76
|
/**
|
|
77
|
-
*
|
|
77
|
+
* 法定代表人手机号
|
|
78
78
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
79
79
|
*/
|
|
80
|
-
|
|
80
|
+
CorporationMobile: string;
|
|
81
|
+
/**
|
|
82
|
+
* 法定代表人手机号码实名认证。(支持jpg、png、gif、jpeg格式的图片,每张图片应大于50K,不超过5MB,模板参见控制台:https://console.cloud.tencent.com/ccc/enterprise/update)
|
|
83
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
84
|
+
*/
|
|
85
|
+
CorporationMobilePicUrl: string;
|
|
86
|
+
/**
|
|
87
|
+
* 通话话术。(支持doc、docx格式的文档不超过50MB,模板参见控制台:https://console.cloud.tencent.com/ccc/enterprise/update)
|
|
88
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
89
|
+
*/
|
|
90
|
+
UseDescribeFileUrl: string;
|
|
91
|
+
/**
|
|
92
|
+
* 公司授权函。(支持jpg、png、gif、jpeg格式的图片,每张图片应大于50K,不超过5MB,模板参见控制台:https://console.cloud.tencent.com/ccc/enterprise/update)
|
|
93
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
94
|
+
*/
|
|
95
|
+
CompanyAuthLetterPicUrl: string;
|
|
96
|
+
/**
|
|
97
|
+
* 电话受理单。(支持jpg、png、gif、jpeg格式的图片,每张图片应大于50K,不超过5MB,模板参见控制台:https://console.cloud.tencent.com/ccc/enterprise/update)
|
|
98
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
99
|
+
*/
|
|
100
|
+
AcceptPicUrl: string;
|
|
81
101
|
/**
|
|
82
102
|
* 法定代表人手持身份证照,申请人类型为法定代表人时必填。(支持jpg、png、gif、jpeg格式的图片,每张图片应大于50K,不超过5MB,模板参见控制台:https://console.cloud.tencent.com/ccc/enterprise/update)
|
|
83
103
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -108,6 +128,21 @@ export interface CompanyApplyInfo {
|
|
|
108
128
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
109
129
|
*/
|
|
110
130
|
CommissionPicUrl?: string;
|
|
131
|
+
/**
|
|
132
|
+
* 经办人手机号,申请人类型为经办人时必填。
|
|
133
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
134
|
+
*/
|
|
135
|
+
OperatorMobile?: string;
|
|
136
|
+
/**
|
|
137
|
+
* 经办人邮箱,申请人类型为经办人时必填。
|
|
138
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
139
|
+
*/
|
|
140
|
+
OperatorEmail?: string;
|
|
141
|
+
/**
|
|
142
|
+
* 经办人手机号码实名认证,申请人类型为经办人时必填。(支持jpg、png、gif、jpeg格式的图片,每张图片应大于50K,不超过5MB,模板参见控制台:https://console.cloud.tencent.com/ccc/enterprise/update)
|
|
143
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
144
|
+
*/
|
|
145
|
+
OperatorMobilePicUrl?: string;
|
|
111
146
|
}
|
|
112
147
|
/**
|
|
113
148
|
* CreateSDKLoginToken返回参数结构体
|
|
@@ -2892,6 +2927,11 @@ export interface CompanyStateInfo {
|
|
|
2892
2927
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2893
2928
|
*/
|
|
2894
2929
|
BusinessId?: string;
|
|
2930
|
+
/**
|
|
2931
|
+
* 修改时间
|
|
2932
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2933
|
+
*/
|
|
2934
|
+
ModifyTime?: number;
|
|
2895
2935
|
}
|
|
2896
2936
|
/**
|
|
2897
2937
|
* DeleteExtension返回参数结构体
|
|
@@ -2491,6 +2491,20 @@ export interface AvifAdapter {
|
|
|
2491
2491
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2492
2492
|
*/
|
|
2493
2493
|
Switch?: string;
|
|
2494
|
+
/**
|
|
2495
|
+
* 当原图是 avif 且客户端 Accept 头包含 image/avif 时,直接返回原图。
|
|
2496
|
+
当原图是 avif 且客户端 Accept 头不包含 image/avif 时但包含 image/webp,将 avif 转 webp 格式返回。如果 Accept 头不包含 image/webp, 则转 jpeg 返回。
|
|
2497
|
+
|
|
2498
|
+
可用的枚举值:
|
|
2499
|
+
- []
|
|
2500
|
+
- ["webp"]
|
|
2501
|
+
- ["jpeg"]
|
|
2502
|
+
- ["webp", "jpeg"]
|
|
2503
|
+
|
|
2504
|
+
"webp":是否开启 avif 转 webp,"jpeg": 是否开启 avif 转 jpeg。如果 webp 和 jpeg 都开启的情况下,webp 必须在 jpeg 前面。
|
|
2505
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2506
|
+
*/
|
|
2507
|
+
FallbackFormats?: Array<string>;
|
|
2494
2508
|
}
|
|
2495
2509
|
/**
|
|
2496
2510
|
* 远程鉴权规则。
|
|
@@ -5219,59 +5219,59 @@ export interface DatahubTaskInfo {
|
|
|
5219
5219
|
/**
|
|
5220
5220
|
* 任务ID
|
|
5221
5221
|
*/
|
|
5222
|
-
TaskId
|
|
5222
|
+
TaskId?: string;
|
|
5223
5223
|
/**
|
|
5224
5224
|
* 任务名称
|
|
5225
5225
|
*/
|
|
5226
|
-
TaskName
|
|
5226
|
+
TaskName?: string;
|
|
5227
5227
|
/**
|
|
5228
5228
|
* 任务类型,SOURCE数据接入,SINK数据流出
|
|
5229
5229
|
*/
|
|
5230
|
-
TaskType
|
|
5230
|
+
TaskType?: string;
|
|
5231
5231
|
/**
|
|
5232
5232
|
* 状态,-1创建失败,0创建中,1运行中,2删除中,3已删除,4删除失败,5暂停中,6已暂停,7暂停失败,8恢复中,9恢复失败
|
|
5233
5233
|
*/
|
|
5234
|
-
Status
|
|
5234
|
+
Status?: number;
|
|
5235
5235
|
/**
|
|
5236
5236
|
* 数据源
|
|
5237
5237
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5238
5238
|
*/
|
|
5239
|
-
SourceResource
|
|
5239
|
+
SourceResource?: DatahubResource;
|
|
5240
5240
|
/**
|
|
5241
5241
|
* 数据目标
|
|
5242
5242
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5243
5243
|
*/
|
|
5244
|
-
TargetResource
|
|
5244
|
+
TargetResource?: DatahubResource;
|
|
5245
5245
|
/**
|
|
5246
5246
|
* 任务创建时间
|
|
5247
5247
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5248
5248
|
*/
|
|
5249
|
-
CreateTime
|
|
5249
|
+
CreateTime?: string;
|
|
5250
5250
|
/**
|
|
5251
5251
|
* 异常信息
|
|
5252
5252
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5253
5253
|
*/
|
|
5254
|
-
ErrorMessage
|
|
5254
|
+
ErrorMessage?: string;
|
|
5255
5255
|
/**
|
|
5256
5256
|
* 创建进度百分比
|
|
5257
5257
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5258
5258
|
*/
|
|
5259
|
-
TaskProgress
|
|
5259
|
+
TaskProgress?: number;
|
|
5260
5260
|
/**
|
|
5261
5261
|
* 任务当前处于的步骤
|
|
5262
5262
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5263
5263
|
*/
|
|
5264
|
-
TaskCurrentStep
|
|
5264
|
+
TaskCurrentStep?: string;
|
|
5265
5265
|
/**
|
|
5266
5266
|
* Datahub转储Id
|
|
5267
5267
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5268
5268
|
*/
|
|
5269
|
-
DatahubId
|
|
5269
|
+
DatahubId?: string;
|
|
5270
5270
|
/**
|
|
5271
5271
|
* 步骤列表
|
|
5272
5272
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5273
5273
|
*/
|
|
5274
|
-
StepList
|
|
5274
|
+
StepList?: Array<string>;
|
|
5275
5275
|
}
|
|
5276
5276
|
/**
|
|
5277
5277
|
* CreateAclRule返回参数结构体
|
|
@@ -481,7 +481,7 @@ export interface DSPACosMetaDataInfo {
|
|
|
481
481
|
Storage?: number;
|
|
482
482
|
}
|
|
483
483
|
/**
|
|
484
|
-
* DSPA
|
|
484
|
+
* DSPA评估模板
|
|
485
485
|
*/
|
|
486
486
|
export interface AssessmentTemplate {
|
|
487
487
|
/**
|
|
@@ -1999,12 +1999,7 @@ export interface DescribeDSPAAssessmentTemplatesRequest {
|
|
|
1999
1999
|
*/
|
|
2000
2000
|
Limit?: number;
|
|
2001
2001
|
/**
|
|
2002
|
-
*
|
|
2003
|
-
支持模糊搜索:(TemplateId,TemplateName)
|
|
2004
|
-
支持过滤:
|
|
2005
|
-
Source:模版来源,system / user
|
|
2006
|
-
UseType:模版类型,auto,semi-auto,law等
|
|
2007
|
-
Status:模版启用状态,draft / launched
|
|
2002
|
+
* 过滤项。支持模糊搜索:(TemplateId,TemplateName)支持过滤:Source:模板来源,system / userUseType:模板类型,auto,semi-auto,law等Status:模板启用状态,draft / launched
|
|
2008
2003
|
*/
|
|
2009
2004
|
Filters?: Array<DspaAssessmentFilter>;
|
|
2010
2005
|
}
|
|
@@ -5492,7 +5487,7 @@ export interface CreateDSPAAssessmentRiskTemplateRequest {
|
|
|
5492
5487
|
*/
|
|
5493
5488
|
DspaId: string;
|
|
5494
5489
|
/**
|
|
5495
|
-
*
|
|
5490
|
+
* 模板名称
|
|
5496
5491
|
*/
|
|
5497
5492
|
TemplateName: string;
|
|
5498
5493
|
/**
|
|
@@ -5504,7 +5499,7 @@ export interface CreateDSPAAssessmentRiskTemplateRequest {
|
|
|
5504
5499
|
*/
|
|
5505
5500
|
RiskIdList: Array<number | bigint>;
|
|
5506
5501
|
/**
|
|
5507
|
-
*
|
|
5502
|
+
* 模板描述
|
|
5508
5503
|
*/
|
|
5509
5504
|
TemplateDescription?: string;
|
|
5510
5505
|
}
|