tencentcloud-sdk-nodejs-vod 4.0.687 → 4.0.688

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.
@@ -583,26 +583,26 @@ export interface AdaptiveDynamicStreamingTemplate {
583
583
  /**
584
584
  * 转自适应码流模板唯一标识。
585
585
  */
586
- Definition: number
586
+ Definition?: number
587
587
  /**
588
588
  * 模板类型,取值范围:
589
589
  <li>Preset:系统预置模板;</li>
590
590
  <li>Custom:用户自定义模板。</li>
591
591
  */
592
- Type: string
592
+ Type?: string
593
593
  /**
594
594
  * 转自适应码流模板名称。
595
595
  */
596
- Name: string
596
+ Name?: string
597
597
  /**
598
598
  * 转自适应码流模板描述信息。
599
599
  */
600
- Comment: string
600
+ Comment?: string
601
601
  /**
602
602
  * 自适应转码格式,取值范围:
603
603
  <li>HLS。</li>
604
604
  */
605
- Format: string
605
+ Format?: string
606
606
  /**
607
607
  * DRM 类型,取值范围:
608
608
  <li>SimpleAES</li>
@@ -610,42 +610,42 @@ export interface AdaptiveDynamicStreamingTemplate {
610
610
  <li>FairPlay</li>
611
611
  如果取值为空字符串,代表不对视频做 DRM 保护。
612
612
  */
613
- DrmType: string
613
+ DrmType?: string
614
614
  /**
615
615
  * DRM 的密钥提供商,取值范围:
616
616
  <li>SDMC:华曦达;</li>
617
617
  <li>VOD:云点播。</li>
618
618
  默认值为 VOD 。
619
619
  */
620
- DrmKeyProvider: string
620
+ DrmKeyProvider?: string
621
621
  /**
622
622
  * 自适应转码输入流参数信息,最多输入10路流。
623
623
  */
624
- StreamInfos: Array<AdaptiveStreamTemplate>
624
+ StreamInfos?: Array<AdaptiveStreamTemplate>
625
625
  /**
626
626
  * 是否禁止视频低码率转高码率,取值范围:
627
627
  <li>0:否,</li>
628
628
  <li>1:是。</li>
629
629
  */
630
- DisableHigherVideoBitrate: number
630
+ DisableHigherVideoBitrate?: number
631
631
  /**
632
632
  * 是否禁止视频分辨率转高分辨率,取值范围:
633
633
  <li>0:否,</li>
634
634
  <li>1:是。</li>
635
635
  */
636
- DisableHigherVideoResolution: number
636
+ DisableHigherVideoResolution?: number
637
637
  /**
638
638
  * 模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
639
639
  */
640
- CreateTime: string
640
+ CreateTime?: string
641
641
  /**
642
642
  * 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
643
643
  */
644
- UpdateTime: string
644
+ UpdateTime?: string
645
645
  /**
646
646
  * 切片类型,仅当 Format 为 HLS 时有效。
647
647
  */
648
- SegmentType: string
648
+ SegmentType?: string
649
649
  }
650
650
 
651
651
  /**
@@ -764,18 +764,18 @@ export interface MediaMiniProgramReviewElem {
764
764
  <li>Political.Ocr:文字涉及令人不适宜的信息,</li>
765
765
  <li>Political.Asr:声音涉及令人不适宜的信息。</li>
766
766
  */
767
- Type: string
767
+ Type?: string
768
768
  /**
769
769
  * 音视频审核意见。
770
770
  <li>pass:确认正常,</li>
771
771
  <li>block:确认违规,</li>
772
772
  <li>review:疑似违规。</li>
773
773
  */
774
- Suggestion: string
774
+ Suggestion?: string
775
775
  /**
776
776
  * 音视频审核结果置信度。取值 0~100。
777
777
  */
778
- Confidence: number
778
+ Confidence?: number
779
779
  }
780
780
 
781
781
  /**
@@ -1059,7 +1059,7 @@ export interface AiReviewPoliticalOcrTaskInput {
1059
1059
  /**
1060
1060
  * 鉴别涉及令人不适宜信息的模板 ID。
1061
1061
  */
1062
- Definition: number
1062
+ Definition?: number
1063
1063
  }
1064
1064
 
1065
1065
  /**
@@ -1502,7 +1502,7 @@ export interface AiReviewPoliticalTaskInput {
1502
1502
  /**
1503
1503
  * 鉴别涉及令人不适宜信息的模板 ID。
1504
1504
  */
1505
- Definition: number
1505
+ Definition?: number
1506
1506
  }
1507
1507
 
1508
1508
  /**
@@ -1643,22 +1643,22 @@ export interface ContentReviewOcrResult {
1643
1643
  /**
1644
1644
  * Ocr 文字鉴别结果的评分,分值为0到100。
1645
1645
  */
1646
- Confidence: number
1646
+ Confidence?: number
1647
1647
  /**
1648
1648
  * Ocr 文字鉴别的结果建议,取值范围:
1649
1649
  <li>pass;</li>
1650
1650
  <li>review;</li>
1651
1651
  <li>block。</li>
1652
1652
  */
1653
- Suggestion: string
1653
+ Suggestion?: string
1654
1654
  /**
1655
1655
  * Ocr 文字鉴别的嫌疑关键词列表。
1656
1656
  */
1657
- KeywordSet: Array<string>
1657
+ KeywordSet?: Array<string>
1658
1658
  /**
1659
1659
  * Ocr 文字鉴别的嫌疑文字出现的区域坐标 (像素级),[x1, y1, x2, y2],即左上角坐标、右下角坐标。
1660
1660
  */
1661
- AreaCoordSet: Array<number | bigint>
1661
+ AreaCoordSet?: Array<number | bigint>
1662
1662
  }
1663
1663
 
1664
1664
  /**
@@ -1682,23 +1682,23 @@ export interface RoundPlayInfo {
1682
1682
  /**
1683
1683
  * 轮播播单标识。
1684
1684
  */
1685
- RoundPlayId: string
1685
+ RoundPlayId?: string
1686
1686
  /**
1687
1687
  * 启播时间,格式按照 ISO 8601标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#52)。
1688
1688
  */
1689
- StartTime: string
1689
+ StartTime?: string
1690
1690
  /**
1691
1691
  * 轮播列表。
1692
1692
  */
1693
- RoundPlaylist: Array<RoundPlayListItemInfo>
1693
+ RoundPlaylist?: Array<RoundPlayListItemInfo>
1694
1694
  /**
1695
1695
  * 轮播播单名称,长度限制:64 个字符。
1696
1696
  */
1697
- Name: string
1697
+ Name?: string
1698
1698
  /**
1699
1699
  * 轮播播单描述信息,长度限制:256 个字符。
1700
1700
  */
1701
- Desc: string
1701
+ Desc?: string
1702
1702
  /**
1703
1703
  * 播放状态,可选值:
1704
1704
  <li>Enabled:启动状态;</li>
@@ -2236,7 +2236,7 @@ export interface AiReviewPornAsrTaskInput {
2236
2236
  /**
2237
2237
  * 鉴别涉及令人反感的信息的模板 ID。
2238
2238
  */
2239
- Definition: number
2239
+ Definition?: number
2240
2240
  }
2241
2241
 
2242
2242
  /**
@@ -2246,32 +2246,32 @@ export interface AiRecognitionTaskFaceResult {
2246
2246
  /**
2247
2247
  * 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
2248
2248
  */
2249
- Status: string
2249
+ Status?: string
2250
2250
  /**
2251
2251
  * 错误码,空字符串表示成功,其他值表示失败,取值请参考 [视频处理类错误码](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) 列表。
2252
2252
  */
2253
- ErrCodeExt: string
2253
+ ErrCodeExt?: string
2254
2254
  /**
2255
2255
  * 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。
2256
2256
  */
2257
- ErrCode: number
2257
+ ErrCode?: number
2258
2258
  /**
2259
2259
  * 错误信息。
2260
2260
  */
2261
- Message: string
2261
+ Message?: string
2262
2262
  /**
2263
2263
  * 人脸识别任务输入信息。
2264
2264
  */
2265
- Input: AiRecognitionTaskFaceResultInput
2265
+ Input?: AiRecognitionTaskFaceResultInput
2266
2266
  /**
2267
2267
  * 人脸识别任务输出信息。
2268
2268
  注意:此字段可能返回 null,表示取不到有效值。
2269
2269
  */
2270
- Output: AiRecognitionTaskFaceResultOutput
2270
+ Output?: AiRecognitionTaskFaceResultOutput
2271
2271
  /**
2272
2272
  * 人脸识别任务进度,取值范围 [0-100] 。
2273
2273
  */
2274
- Progress: number
2274
+ Progress?: number
2275
2275
  /**
2276
2276
  * 人脸识别任务开始执行的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
2277
2277
  */
@@ -2374,32 +2374,32 @@ export interface MediaProcessTaskSampleSnapshotResult {
2374
2374
  /**
2375
2375
  * 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
2376
2376
  */
2377
- Status: string
2377
+ Status?: string
2378
2378
  /**
2379
2379
  * 错误码,空字符串表示成功,其他值表示失败,取值请参考 [视频处理类错误码](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) 列表。
2380
2380
  */
2381
- ErrCodeExt: string
2381
+ ErrCodeExt?: string
2382
2382
  /**
2383
2383
  * 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。
2384
2384
  */
2385
- ErrCode: number
2385
+ ErrCode?: number
2386
2386
  /**
2387
2387
  * 错误信息。
2388
2388
  */
2389
- Message: string
2389
+ Message?: string
2390
2390
  /**
2391
2391
  * 对视频做采样截图任务输入。
2392
2392
  */
2393
- Input: SampleSnapshotTaskInput
2393
+ Input?: SampleSnapshotTaskInput
2394
2394
  /**
2395
2395
  * 对视频做采样截图任务输出。
2396
2396
  注意:此字段可能返回 null,表示取不到有效值。
2397
2397
  */
2398
- Output: MediaSampleSnapshotItem
2398
+ Output?: MediaSampleSnapshotItem
2399
2399
  /**
2400
2400
  * 对视频做采样截图任务进度,取值范围 [0-100] 。
2401
2401
  */
2402
- Progress: number
2402
+ Progress?: number
2403
2403
  /**
2404
2404
  * 采样截图任务开始执行的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
2405
2405
  */
@@ -2671,7 +2671,7 @@ export interface AiReviewTerrorismOcrTaskInput {
2671
2671
  /**
2672
2672
  * 鉴别涉及令人不安全的信息的模板 ID。
2673
2673
  */
2674
- Definition: number
2674
+ Definition?: number
2675
2675
  }
2676
2676
 
2677
2677
  /**
@@ -2954,27 +2954,27 @@ export interface StorageRegionInfo {
2954
2954
  /**
2955
2955
  * 存储地域。
2956
2956
  */
2957
- Region: string
2957
+ Region?: string
2958
2958
  /**
2959
2959
  * 存储地域描述信息。
2960
2960
  */
2961
- Description: string
2961
+ Description?: string
2962
2962
  /**
2963
2963
  * 状态,是否开通,取值有:
2964
2964
  <li>opened:已经开通。</li>
2965
2965
  <li>unopened:未开通。</li>
2966
2966
  */
2967
- Status: string
2967
+ Status?: string
2968
2968
  /**
2969
2969
  * 是否默认的存储地域,true:是;false:否。
2970
2970
  */
2971
- IsDefault: boolean
2971
+ IsDefault?: boolean
2972
2972
  /**
2973
2973
  * 存储区域,取值有:
2974
2974
  <li>Chinese Mainland:中国境内(不包含港澳台)。</li>
2975
2975
  <li>Outside Chinese Mainland:中国境外。</li>
2976
2976
  */
2977
- Area: string
2977
+ Area?: string
2978
2978
  }
2979
2979
 
2980
2980
  /**
@@ -2987,8 +2987,13 @@ export interface MediaTransitionItem {
2987
2987
  Duration: number
2988
2988
  /**
2989
2989
  * 转场操作列表。图像转场操作和音频转场操作各自最多支持一个。
2990
+ * @deprecated
2990
2991
  */
2991
2992
  Transitions?: Array<TransitionOpertion>
2993
+ /**
2994
+ * 转场操作列表。图像转场操作和音频转场操作各自最多支持一个。
2995
+ */
2996
+ MediaTransitions?: Array<TransitionOperation>
2992
2997
  }
2993
2998
 
2994
2999
  /**
@@ -3180,32 +3185,32 @@ export interface AiAnalysisTaskCoverResult {
3180
3185
  /**
3181
3186
  * 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
3182
3187
  */
3183
- Status: string
3188
+ Status?: string
3184
3189
  /**
3185
3190
  * 错误码,空字符串表示成功,其他值表示失败,取值请参考 [视频处理类错误码](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) 列表。
3186
3191
  */
3187
- ErrCodeExt: string
3192
+ ErrCodeExt?: string
3188
3193
  /**
3189
3194
  * 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。
3190
3195
  */
3191
- ErrCode: number
3196
+ ErrCode?: number
3192
3197
  /**
3193
3198
  * 错误信息。
3194
3199
  */
3195
- Message: string
3200
+ Message?: string
3196
3201
  /**
3197
3202
  * 智能封面任务输入。
3198
3203
  */
3199
- Input: AiAnalysisTaskCoverInput
3204
+ Input?: AiAnalysisTaskCoverInput
3200
3205
  /**
3201
3206
  * 智能封面任务输出。
3202
3207
  注意:此字段可能返回 null,表示取不到有效值。
3203
3208
  */
3204
- Output: AiAnalysisTaskCoverOutput
3209
+ Output?: AiAnalysisTaskCoverOutput
3205
3210
  /**
3206
3211
  * 智能封面任务进度,取值范围 [0-100] 。
3207
3212
  */
3208
- Progress: number
3213
+ Progress?: number
3209
3214
  /**
3210
3215
  * 智能封面任务开始执行的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
3211
3216
  */
@@ -3233,39 +3238,39 @@ export interface MediaContentReviewOcrTextSegmentItem {
3233
3238
  /**
3234
3239
  * 嫌疑片段起始的偏移时间,单位:秒。
3235
3240
  */
3236
- StartTimeOffset: number
3241
+ StartTimeOffset?: number
3237
3242
  /**
3238
3243
  * 嫌疑片段结束的偏移时间,单位:秒。
3239
3244
  */
3240
- EndTimeOffset: number
3245
+ EndTimeOffset?: number
3241
3246
  /**
3242
3247
  * 嫌疑片段置信度。
3243
3248
  */
3244
- Confidence: number
3249
+ Confidence?: number
3245
3250
  /**
3246
3251
  * 嫌疑片段音视频审核的结果建议,取值范围:
3247
3252
  <li>pass。</li>
3248
3253
  <li>review。</li>
3249
3254
  <li>block。</li>
3250
3255
  */
3251
- Suggestion: string
3256
+ Suggestion?: string
3252
3257
  /**
3253
3258
  * 嫌疑关键词列表。
3254
3259
  */
3255
- KeywordSet: Array<string>
3260
+ KeywordSet?: Array<string>
3256
3261
  /**
3257
3262
  * 嫌疑文字出现的区域坐标 (像素级),[x1, y1, x2, y2],即左上角坐标、右下角坐标。
3258
3263
  */
3259
- AreaCoordSet: Array<number | bigint>
3264
+ AreaCoordSet?: Array<number | bigint>
3260
3265
  /**
3261
3266
  * 嫌疑图片 URL (图片不会永久存储,到达
3262
3267
  PicUrlExpireTime 时间点后图片将被删除)。
3263
3268
  */
3264
- Url: string
3269
+ Url?: string
3265
3270
  /**
3266
3271
  * 嫌疑图片 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
3267
3272
  */
3268
- PicUrlExpireTime: string
3273
+ PicUrlExpireTime?: string
3269
3274
  }
3270
3275
 
3271
3276
  /**
@@ -3294,11 +3299,11 @@ export interface FileDeleteTask {
3294
3299
  /**
3295
3300
  * 删除文件 ID 列表。
3296
3301
  */
3297
- FileIdSet: Array<string>
3302
+ FileIdSet?: Array<string>
3298
3303
  /**
3299
3304
  * 删除文件结果信息列表。
3300
3305
  */
3301
- FileDeleteResultInfo: Array<FileDeleteResultItem>
3306
+ FileDeleteResultInfo?: Array<FileDeleteResultItem>
3302
3307
  }
3303
3308
 
3304
3309
  /**
@@ -3341,32 +3346,32 @@ export interface AiAnalysisTaskHighlightResult {
3341
3346
  /**
3342
3347
  * 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
3343
3348
  */
3344
- Status: string
3349
+ Status?: string
3345
3350
  /**
3346
3351
  * 错误码,空字符串表示成功,其他值表示失败,取值请参考 [视频处理类错误码](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) 列表。
3347
3352
  */
3348
- ErrCodeExt: string
3353
+ ErrCodeExt?: string
3349
3354
  /**
3350
3355
  * 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。
3351
3356
  */
3352
- ErrCode: number
3357
+ ErrCode?: number
3353
3358
  /**
3354
3359
  * 错误信息。
3355
3360
  */
3356
- Message: string
3361
+ Message?: string
3357
3362
  /**
3358
3363
  * 智能精彩片段任务输入。
3359
3364
  */
3360
- Input: AiAnalysisTaskHighlightInput
3365
+ Input?: AiAnalysisTaskHighlightInput
3361
3366
  /**
3362
3367
  * 智能精彩片段任务输出。
3363
3368
  注意:此字段可能返回 null,表示取不到有效值。
3364
3369
  */
3365
- Output: AiAnalysisTaskHighlightOutput
3370
+ Output?: AiAnalysisTaskHighlightOutput
3366
3371
  /**
3367
3372
  * 智能精彩片段任务进度,取值范围 [0-100] 。
3368
3373
  */
3369
- Progress: number
3374
+ Progress?: number
3370
3375
  /**
3371
3376
  * 智能精彩片段任务开始执行的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
3372
3377
  */
@@ -4123,21 +4128,21 @@ export interface ReviewAudioVideoSegmentItem {
4123
4128
  /**
4124
4129
  * 嫌疑片段起始的偏移时间,单位:秒。
4125
4130
  */
4126
- StartTimeOffset: number
4131
+ StartTimeOffset?: number
4127
4132
  /**
4128
4133
  * 嫌疑片段结束的偏移时间,单位:秒。
4129
4134
  */
4130
- EndTimeOffset: number
4135
+ EndTimeOffset?: number
4131
4136
  /**
4132
4137
  * 嫌疑片段涉及令人反感的信息的分数。
4133
4138
  */
4134
- Confidence: number
4139
+ Confidence?: number
4135
4140
  /**
4136
4141
  * 嫌疑片段鉴别涉及违规信息的结果建议,取值范围:
4137
4142
  <li>review:疑似违规,建议复审;</li>
4138
4143
  <li>block:确认违规,建议封禁。</li>
4139
4144
  */
4140
- Suggestion: string
4145
+ Suggestion?: string
4141
4146
  /**
4142
4147
  * 嫌疑片段最可能的违规的标签,取值范围:
4143
4148
  <li>Porn:色情;</li>
@@ -4148,11 +4153,11 @@ export interface ReviewAudioVideoSegmentItem {
4148
4153
  <li>Abuse:谩骂;</li>
4149
4154
  <li>Moan:娇喘。</li>
4150
4155
  */
4151
- Label: string
4156
+ Label?: string
4152
4157
  /**
4153
4158
  * 违规子标签。
4154
4159
  */
4155
- SubLabel: string
4160
+ SubLabel?: string
4156
4161
  /**
4157
4162
  * 嫌疑片段违禁的形式,取值范围:
4158
4163
  <li>Image:画面上的人物或图标;</li>
@@ -4160,28 +4165,28 @@ export interface ReviewAudioVideoSegmentItem {
4160
4165
  <li>ASR:语音中的文字;</li>
4161
4166
  <li>Voice:声音。</li>
4162
4167
  */
4163
- Form: string
4168
+ Form?: string
4164
4169
  /**
4165
4170
  * 当 Form 为 Image 或 OCR 时有效,表示嫌疑人物、图标或文字出现的区域坐标 (像素级),[x1, y1, x2, y2],即左上角坐标、右下角坐标。
4166
4171
  */
4167
- AreaCoordSet: Array<number | bigint>
4172
+ AreaCoordSet?: Array<number | bigint>
4168
4173
  /**
4169
4174
  * 当 Form 为 OCR 或 ASR 时有效,表示识别出来的 OCR 或 ASR 文本内容。
4170
4175
  */
4171
- Text: string
4176
+ Text?: string
4172
4177
  /**
4173
4178
  * 当 Form 为 OCR 或 ASR 时有效,表示嫌疑片段命中的违规关键词列表。
4174
4179
  */
4175
- KeywordSet: Array<string>
4180
+ KeywordSet?: Array<string>
4176
4181
  /**
4177
4182
  * 嫌疑图片 URL (图片不会永久存储,到达
4178
4183
  PicUrlExpireTime 时间点后图片将被删除)。
4179
4184
  */
4180
- Url: string
4185
+ Url?: string
4181
4186
  /**
4182
4187
  * 嫌疑图片 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
4183
4188
  */
4184
- PicUrlExpireTime: string
4189
+ PicUrlExpireTime?: string
4185
4190
  }
4186
4191
 
4187
4192
  /**
@@ -4323,24 +4328,24 @@ export interface CdnLogInfo {
4323
4328
  /**
4324
4329
  * 日志所属日期, 格式为:yyyy-MM-dd ,如2018-03-01。
4325
4330
  */
4326
- Date: string
4331
+ Date?: string
4327
4332
  /**
4328
4333
  * 日志名称,格式为:日期小时-域名
4329
4334
  如 2018120101-test.vod2.mqcloud.com。
4330
4335
  */
4331
- Name: string
4336
+ Name?: string
4332
4337
  /**
4333
4338
  * 日志下载链接,24小时内下载有效。
4334
4339
  */
4335
- Url: string
4340
+ Url?: string
4336
4341
  /**
4337
4342
  * 日志起始时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F)。
4338
4343
  */
4339
- StartTime: string
4344
+ StartTime?: string
4340
4345
  /**
4341
4346
  * 日志结束时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F)。
4342
4347
  */
4343
- EndTime: string
4348
+ EndTime?: string
4344
4349
  }
4345
4350
 
4346
4351
  /**
@@ -4350,36 +4355,36 @@ export interface ReduceMediaBitrateTranscodeResult {
4350
4355
  /**
4351
4356
  * 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
4352
4357
  */
4353
- Status: string
4358
+ Status?: string
4354
4359
  /**
4355
4360
  * 错误码,空字符串表示成功,其他值表示失败,取值请参考 [视频处理类错误码](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) 列表。
4356
4361
  */
4357
- ErrCodeExt: string
4362
+ ErrCodeExt?: string
4358
4363
  /**
4359
4364
  * 错误信息。
4360
4365
  */
4361
- Message: string
4366
+ Message?: string
4362
4367
  /**
4363
4368
  * 转码任务的输入。
4364
4369
  */
4365
- Input: TranscodeTaskInput
4370
+ Input?: TranscodeTaskInput
4366
4371
  /**
4367
4372
  * 转码任务的输出。
4368
4373
  注意:此字段可能返回 null,表示取不到有效值。
4369
4374
  */
4370
- Output: MediaTranscodeItem
4375
+ Output?: MediaTranscodeItem
4371
4376
  /**
4372
4377
  * 转码进度,取值范围 [0-100] 。
4373
4378
  */
4374
- Progress: number
4379
+ Progress?: number
4375
4380
  /**
4376
4381
  * 转码任务开始执行的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
4377
4382
  */
4378
- BeginProcessTime: string
4383
+ BeginProcessTime?: string
4379
4384
  /**
4380
4385
  * 转码任务执行完毕的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
4381
4386
  */
4382
- FinishTime: string
4387
+ FinishTime?: string
4383
4388
  }
4384
4389
 
4385
4390
  /**
@@ -4464,11 +4469,11 @@ export interface TaskStatData {
4464
4469
  <li> QualityInspect: 音画质检测</li>
4465
4470
  <li>Transcode: 转码,包含普通转码、极速高清和视频编辑(不推荐使用)</li>
4466
4471
  */
4467
- TaskType: string
4472
+ TaskType?: string
4468
4473
  /**
4469
4474
  * 任务数统计数据概览,用量单位为秒。
4470
4475
  */
4471
- Summary: Array<TaskStatDataItem>
4476
+ Summary?: Array<TaskStatDataItem>
4472
4477
  /**
4473
4478
  * 不同规格任务统计数据详情。
4474
4479
  转码规格:
@@ -4524,7 +4529,7 @@ export interface TaskStatData {
4524
4529
  <li>8K: 短边 ≤ 4320px</li>
4525
4530
  <li>Audio: 音频</li>
4526
4531
  */
4527
- Details: Array<SpecificationDataItem>
4532
+ Details?: Array<SpecificationDataItem>
4528
4533
  }
4529
4534
 
4530
4535
  /**
@@ -4653,32 +4658,32 @@ export interface MediaProcessTaskAnimatedGraphicResult {
4653
4658
  /**
4654
4659
  * 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
4655
4660
  */
4656
- Status: string
4661
+ Status?: string
4657
4662
  /**
4658
4663
  * 错误码,空字符串表示成功,其他值表示失败,取值请参考 [视频处理类错误码](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) 列表。
4659
4664
  */
4660
- ErrCodeExt: string
4665
+ ErrCodeExt?: string
4661
4666
  /**
4662
4667
  * 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。
4663
4668
  */
4664
- ErrCode: number
4669
+ ErrCode?: number
4665
4670
  /**
4666
4671
  * 错误信息。
4667
4672
  */
4668
- Message: string
4673
+ Message?: string
4669
4674
  /**
4670
4675
  * 转动图任务的输入。
4671
4676
  */
4672
- Input: AnimatedGraphicTaskInput
4677
+ Input?: AnimatedGraphicTaskInput
4673
4678
  /**
4674
4679
  * 转动图任务的输出。
4675
4680
  注意:此字段可能返回 null,表示取不到有效值。
4676
4681
  */
4677
- Output: MediaAnimatedGraphicsItem
4682
+ Output?: MediaAnimatedGraphicsItem
4678
4683
  /**
4679
4684
  * 转动图任务进度,取值范围 [0-100] 。
4680
4685
  */
4681
- Progress: number
4686
+ Progress?: number
4682
4687
  /**
4683
4688
  * 转动图任务开始执行的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
4684
4689
  */
@@ -4905,32 +4910,32 @@ export interface AiRecognitionTaskOcrWordsResult {
4905
4910
  /**
4906
4911
  * 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
4907
4912
  */
4908
- Status: string
4913
+ Status?: string
4909
4914
  /**
4910
4915
  * 错误码,空字符串表示成功,其他值表示失败,取值请参考 [视频处理类错误码](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) 列表。
4911
4916
  */
4912
- ErrCodeExt: string
4917
+ ErrCodeExt?: string
4913
4918
  /**
4914
4919
  * 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。
4915
4920
  */
4916
- ErrCode: number
4921
+ ErrCode?: number
4917
4922
  /**
4918
4923
  * 错误信息。
4919
4924
  */
4920
- Message: string
4925
+ Message?: string
4921
4926
  /**
4922
4927
  * 文本关键词识别任务输入信息。
4923
4928
  */
4924
- Input: AiRecognitionTaskOcrWordsResultInput
4929
+ Input?: AiRecognitionTaskOcrWordsResultInput
4925
4930
  /**
4926
4931
  * 文本关键词识别任务输出信息。
4927
4932
  注意:此字段可能返回 null,表示取不到有效值。
4928
4933
  */
4929
- Output: AiRecognitionTaskOcrWordsResultOutput
4934
+ Output?: AiRecognitionTaskOcrWordsResultOutput
4930
4935
  /**
4931
4936
  * 文本关键词识别任务进度,取值范围 [0-100] 。
4932
4937
  */
4933
- Progress: number
4938
+ Progress?: number
4934
4939
  /**
4935
4940
  * 文本关键词识别任务开始执行的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
4936
4941
  */
@@ -4968,33 +4973,33 @@ export interface AiRecognitionTaskSegmentResult {
4968
4973
  /**
4969
4974
  * 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
4970
4975
  */
4971
- Status: string
4976
+ Status?: string
4972
4977
  /**
4973
4978
  * 错误码,空字符串表示成功,其他值表示失败,取值请参考 [视频处理类错误码](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) 列表。
4974
4979
  */
4975
- ErrCodeExt: string
4980
+ ErrCodeExt?: string
4976
4981
  /**
4977
4982
  * 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。
4978
4983
  */
4979
- ErrCode: number
4984
+ ErrCode?: number
4980
4985
  /**
4981
4986
  * 错误信息。
4982
4987
  */
4983
- Message: string
4988
+ Message?: string
4984
4989
  /**
4985
4990
  * 视频拆条任务输入信息。
4986
4991
  注意:此字段可能返回 null,表示取不到有效值。
4987
4992
  */
4988
- Input: AiRecognitionTaskSegmentResultInput
4993
+ Input?: AiRecognitionTaskSegmentResultInput
4989
4994
  /**
4990
4995
  * 视频拆条任务输出信息。
4991
4996
  注意:此字段可能返回 null,表示取不到有效值。
4992
4997
  */
4993
- Output: AiRecognitionTaskSegmentResultOutput
4998
+ Output?: AiRecognitionTaskSegmentResultOutput
4994
4999
  /**
4995
5000
  * 视频拆条任务进度,取值范围 [0-100] 。
4996
5001
  */
4997
- Progress: number
5002
+ Progress?: number
4998
5003
  /**
4999
5004
  * 视频拆条任务开始执行的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
5000
5005
  */
@@ -5024,11 +5029,11 @@ export interface MediaSubtitleItem {
5024
5029
  /**
5025
5030
  * 字幕的唯一标识。
5026
5031
  */
5027
- Id: string
5032
+ Id?: string
5028
5033
  /**
5029
5034
  * 字幕名字。
5030
5035
  */
5031
- Name: string
5036
+ Name?: string
5032
5037
  /**
5033
5038
  * 字幕语言。常见的取值如下:
5034
5039
  <li>cn:中文</li>
@@ -5036,16 +5041,16 @@ export interface MediaSubtitleItem {
5036
5041
  <li>en-US:英文</li>
5037
5042
  其他取值参考 [RFC5646](https://tools.ietf.org/html/rfc5646)
5038
5043
  */
5039
- Language: string
5044
+ Language?: string
5040
5045
  /**
5041
5046
  * 字幕格式。取值范围如下:
5042
5047
  <li>vtt</li>
5043
5048
  */
5044
- Format: string
5049
+ Format?: string
5045
5050
  /**
5046
5051
  * 字幕 URL。
5047
5052
  */
5048
- Url: string
5053
+ Url?: string
5049
5054
  }
5050
5055
 
5051
5056
  /**
@@ -5309,11 +5314,11 @@ export interface AiRecognitionTaskAsrFullTextResultOutputSubtitleItem {
5309
5314
  <li>vtt:WebVTT 字幕文件;</li>
5310
5315
  <li>srt:SRT 字幕文件。</li>
5311
5316
  */
5312
- Format: string
5317
+ Format?: string
5313
5318
  /**
5314
5319
  * 字幕文件 Url。
5315
5320
  */
5316
- Url: string
5321
+ Url?: string
5317
5322
  }
5318
5323
 
5319
5324
  /**
@@ -5581,32 +5586,32 @@ export interface MediaProcessTaskImageSpriteResult {
5581
5586
  /**
5582
5587
  * 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
5583
5588
  */
5584
- Status: string
5589
+ Status?: string
5585
5590
  /**
5586
5591
  * 错误码,空字符串表示成功,其他值表示失败,取值请参考 [视频处理类错误码](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) 列表。
5587
5592
  */
5588
- ErrCodeExt: string
5593
+ ErrCodeExt?: string
5589
5594
  /**
5590
5595
  * 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。
5591
5596
  */
5592
- ErrCode: number
5597
+ ErrCode?: number
5593
5598
  /**
5594
5599
  * 错误信息。
5595
5600
  */
5596
- Message: string
5601
+ Message?: string
5597
5602
  /**
5598
5603
  * 对视频截雪碧图任务的输入。
5599
5604
  */
5600
- Input: ImageSpriteTaskInput
5605
+ Input?: ImageSpriteTaskInput
5601
5606
  /**
5602
5607
  * 对视频截雪碧图任务的输出。
5603
5608
  注意:此字段可能返回 null,表示取不到有效值。
5604
5609
  */
5605
- Output: MediaImageSpriteItem
5610
+ Output?: MediaImageSpriteItem
5606
5611
  /**
5607
5612
  * 对视频截雪碧图任务进度,取值范围 [0-100] 。
5608
5613
  */
5609
- Progress: number
5614
+ Progress?: number
5610
5615
  /**
5611
5616
  * 截雪碧图任务开始执行的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
5612
5617
  */
@@ -5624,52 +5629,52 @@ export interface ReduceMediaBitrateTask {
5624
5629
  /**
5625
5630
  * 视频处理任务 ID。
5626
5631
  */
5627
- TaskId: string
5632
+ TaskId?: string
5628
5633
  /**
5629
5634
  * 任务流状态,取值:
5630
5635
  <li>PROCESSING:处理中;</li>
5631
5636
  <li>FINISH:已完成。</li>
5632
5637
  */
5633
- Status: string
5638
+ Status?: string
5634
5639
  /**
5635
5640
  * 媒体文件 ID。
5636
5641
  */
5637
- FileId: string
5642
+ FileId?: string
5638
5643
  /**
5639
5644
  * 媒体文件名称。
5640
5645
  */
5641
- FileName: string
5646
+ FileName?: string
5642
5647
  /**
5643
5648
  * 媒体文件地址。
5644
5649
  */
5645
- FileUrl: string
5650
+ FileUrl?: string
5646
5651
  /**
5647
5652
  * 原始视频的元信息。
5648
5653
  注意:此字段可能返回 null,表示取不到有效值。
5649
5654
  */
5650
- MetaData: MediaMetaData
5655
+ MetaData?: MediaMetaData
5651
5656
  /**
5652
5657
  * 降码率任务执行状态与结果。
5653
5658
  */
5654
- MediaProcessResultSet: Array<ReduceMediaBitrateMediaProcessTaskResult>
5659
+ MediaProcessResultSet?: Array<ReduceMediaBitrateMediaProcessTaskResult>
5655
5660
  /**
5656
5661
  * 任务流的优先级,取值范围为 [-10, 10]。
5657
5662
  */
5658
- TasksPriority: number
5663
+ TasksPriority?: number
5659
5664
  /**
5660
5665
  * 任务流状态变更通知模式。
5661
5666
  <li>Finish:只有当任务流全部执行完毕时,才发起一次事件通知;</li>
5662
5667
  <li>None:不接受该任务流回调。</li>
5663
5668
  */
5664
- TasksNotifyMode: string
5669
+ TasksNotifyMode?: string
5665
5670
  /**
5666
5671
  * 来源上下文,用于透传用户请求信息,任务流状态变更回调将返回该字段值,最长 1000 个字符。
5667
5672
  */
5668
- SessionContext: string
5673
+ SessionContext?: string
5669
5674
  /**
5670
5675
  * 用于去重的识别码,如果七天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长 50 个字符,不带或者带空字符串表示不做去重。
5671
5676
  */
5672
- SessionId: string
5677
+ SessionId?: string
5673
5678
  }
5674
5679
 
5675
5680
  /**
@@ -6706,15 +6711,15 @@ export interface RebuildMediaTaskInput {
6706
6711
  /**
6707
6712
  * 媒体文件 ID。
6708
6713
  */
6709
- FileId: string
6714
+ FileId?: string
6710
6715
  /**
6711
6716
  * 起始偏移时间,单位:秒,不填表示从视频开始截取。
6712
6717
  */
6713
- StartTimeOffset: number
6718
+ StartTimeOffset?: number
6714
6719
  /**
6715
6720
  * 结束偏移时间,单位:秒,不填表示截取到视频末尾。
6716
6721
  */
6717
- EndTimeOffset: number
6722
+ EndTimeOffset?: number
6718
6723
  /**
6719
6724
  * 音画质重生模版号。
6720
6725
  */
@@ -6722,15 +6727,15 @@ export interface RebuildMediaTaskInput {
6722
6727
  /**
6723
6728
  * 画质修复控制参数。
6724
6729
  */
6725
- RepairInfo: RepairInfo
6730
+ RepairInfo?: RepairInfo
6726
6731
  /**
6727
6732
  * 智能插帧控制参数。
6728
6733
  */
6729
- VideoFrameInterpolationInfo: VideoFrameInterpolationInfo
6734
+ VideoFrameInterpolationInfo?: VideoFrameInterpolationInfo
6730
6735
  /**
6731
6736
  * 画面超分控制参数。
6732
6737
  */
6733
- SuperResolutionInfo: SuperResolutionInfo
6738
+ SuperResolutionInfo?: SuperResolutionInfo
6734
6739
  /**
6735
6740
  * 高动态范围类型控制参数。
6736
6741
  */
@@ -6902,7 +6907,7 @@ export interface AiReviewPornOcrTaskInput {
6902
6907
  /**
6903
6908
  * 鉴别涉及令人反感的信息的模板 ID。
6904
6909
  */
6905
- Definition: number
6910
+ Definition?: number
6906
6911
  }
6907
6912
 
6908
6913
  /**
@@ -7229,32 +7234,32 @@ export interface AiAnalysisTaskTagResult {
7229
7234
  /**
7230
7235
  * 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
7231
7236
  */
7232
- Status: string
7237
+ Status?: string
7233
7238
  /**
7234
7239
  * 错误码,空字符串表示成功,其他值表示失败,取值请参考 [视频处理类错误码](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) 列表。
7235
7240
  */
7236
- ErrCodeExt: string
7241
+ ErrCodeExt?: string
7237
7242
  /**
7238
7243
  * 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。
7239
7244
  */
7240
- ErrCode: number
7245
+ ErrCode?: number
7241
7246
  /**
7242
7247
  * 错误信息。
7243
7248
  */
7244
- Message: string
7249
+ Message?: string
7245
7250
  /**
7246
7251
  * 智能标签任务输入。
7247
7252
  */
7248
- Input: AiAnalysisTaskTagInput
7253
+ Input?: AiAnalysisTaskTagInput
7249
7254
  /**
7250
7255
  * 智能标签任务输出。
7251
7256
  注意:此字段可能返回 null,表示取不到有效值。
7252
7257
  */
7253
- Output: AiAnalysisTaskTagOutput
7258
+ Output?: AiAnalysisTaskTagOutput
7254
7259
  /**
7255
7260
  * 智能标签任务进度,取值范围 [0-100] 。
7256
7261
  */
7257
- Progress: number
7262
+ Progress?: number
7258
7263
  /**
7259
7264
  * 智能标签任务开始执行的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
7260
7265
  */
@@ -7294,7 +7299,7 @@ export interface ReviewAudioVideoTaskOutput {
7294
7299
  <li>review:建议复审;</li>
7295
7300
  <li>block:建议封禁。</li>
7296
7301
  */
7297
- Suggestion: string
7302
+ Suggestion?: string
7298
7303
  /**
7299
7304
  * 当 Suggestion 为 review 或 block 时有效,表示音视频最可能的违规的标签,取值范围:
7300
7305
  <li>Porn:色情;</li>
@@ -7305,7 +7310,7 @@ export interface ReviewAudioVideoTaskOutput {
7305
7310
  <li>Abuse:谩骂;</li>
7306
7311
  <li>Moan:娇喘。</li>
7307
7312
  */
7308
- Label: string
7313
+ Label?: string
7309
7314
  /**
7310
7315
  * 当 Suggestion 为 review 或 block 时有效,表示音视频最可能的违禁的形式,取值范围:
7311
7316
  <li>Image:画面上的人物或图标;</li>
@@ -7313,25 +7318,25 @@ export interface ReviewAudioVideoTaskOutput {
7313
7318
  <li>ASR:语音中的文字;</li>
7314
7319
  <li>Voice:声音。</li>
7315
7320
  */
7316
- Form: string
7321
+ Form?: string
7317
7322
  /**
7318
7323
  * 有违规信息的嫌疑的视频片段列表。
7319
7324
  <font color=red>注意</font> :该列表最多仅展示前 10个 元素。如希望获得完整结果,请从 SegmentSetFileUrl 对应的文件中获取。
7320
7325
  */
7321
- SegmentSet: Array<ReviewAudioVideoSegmentItem>
7326
+ SegmentSet?: Array<ReviewAudioVideoSegmentItem>
7322
7327
  /**
7323
7328
  * 涉及违规信息的嫌疑的视频片段列表文件 URL。文件的内容为 JSON,数据结构与 SegmentSet 字段一致。 (文件不会永久存储,到达SegmentSetFileUrlExpireTime 时间点后文件将被删除)。
7324
7329
  */
7325
- SegmentSetFileUrl: string
7330
+ SegmentSetFileUrl?: string
7326
7331
  /**
7327
7332
  * 涉及违规信息的嫌疑的视频片段列表文件 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
7328
7333
  */
7329
- SegmentSetFileUrlExpireTime: string
7334
+ SegmentSetFileUrlExpireTime?: string
7330
7335
  /**
7331
7336
  * 封面审核结果。
7332
7337
  注意:此字段可能返回 null,表示取不到有效值。
7333
7338
  */
7334
- CoverReviewResult: ReviewImageResult
7339
+ CoverReviewResult?: ReviewImageResult
7335
7340
  }
7336
7341
 
7337
7342
  /**
@@ -7341,7 +7346,7 @@ export interface RemoveWaterMarkTaskOutput {
7341
7346
  /**
7342
7347
  * 媒体文件 ID。
7343
7348
  */
7344
- FileId: string
7349
+ FileId?: string
7345
7350
  /**
7346
7351
  * 文件类型,例如 mp4、mp3 等。
7347
7352
  */
@@ -7357,7 +7362,7 @@ export interface RemoveWaterMarkTaskOutput {
7357
7362
  /**
7358
7363
  * 元信息。包括大小、时长、视频流信息、音频流信息等。
7359
7364
  */
7360
- MetaData: MediaMetaData
7365
+ MetaData?: MediaMetaData
7361
7366
  }
7362
7367
 
7363
7368
  /**
@@ -7611,14 +7616,14 @@ export interface PornImageResult {
7611
7616
  /**
7612
7617
  * 鉴别涉及令人反感的信息的评分,分值为0到100。
7613
7618
  */
7614
- Confidence: number
7619
+ Confidence?: number
7615
7620
  /**
7616
7621
  * 鉴别涉及令人反感的信息的结果建议,取值范围:
7617
7622
  <li>pass;</li>
7618
7623
  <li>review;</li>
7619
7624
  <li>block。</li>
7620
7625
  */
7621
- Suggestion: string
7626
+ Suggestion?: string
7622
7627
  /**
7623
7628
  * 鉴别涉及令人反感的信息的结果标签,取值范围:
7624
7629
  <li>porn:色情;</li>
@@ -7626,7 +7631,7 @@ export interface PornImageResult {
7626
7631
  <li>vulgar:低俗;</li>
7627
7632
  <li>intimacy:亲密行为。</li>
7628
7633
  */
7629
- Label: string
7634
+ Label?: string
7630
7635
  }
7631
7636
 
7632
7637
  /**
@@ -7726,32 +7731,32 @@ export interface AiRecognitionTaskOcrFullTextResult {
7726
7731
  /**
7727
7732
  * 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
7728
7733
  */
7729
- Status: string
7734
+ Status?: string
7730
7735
  /**
7731
7736
  * 错误码,空字符串表示成功,其他值表示失败,取值请参考 [视频处理类错误码](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) 列表。
7732
7737
  */
7733
- ErrCodeExt: string
7738
+ ErrCodeExt?: string
7734
7739
  /**
7735
7740
  * 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。
7736
7741
  */
7737
- ErrCode: number
7742
+ ErrCode?: number
7738
7743
  /**
7739
7744
  * 错误信息。
7740
7745
  */
7741
- Message: string
7746
+ Message?: string
7742
7747
  /**
7743
7748
  * 文本全文识别任务输入信息。
7744
7749
  */
7745
- Input: AiRecognitionTaskOcrFullTextResultInput
7750
+ Input?: AiRecognitionTaskOcrFullTextResultInput
7746
7751
  /**
7747
7752
  * 文本全文识别任务输出信息。
7748
7753
  注意:此字段可能返回 null,表示取不到有效值。
7749
7754
  */
7750
- Output: AiRecognitionTaskOcrFullTextResultOutput
7755
+ Output?: AiRecognitionTaskOcrFullTextResultOutput
7751
7756
  /**
7752
7757
  * 文本全文识别任务进度,取值范围 [0-100] 。
7753
7758
  */
7754
- Progress: number
7759
+ Progress?: number
7755
7760
  /**
7756
7761
  * 文本全文识别任务开始执行的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
7757
7762
  */
@@ -7820,32 +7825,32 @@ export interface MediaProcessTaskSnapshotByTimeOffsetResult {
7820
7825
  /**
7821
7826
  * 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
7822
7827
  */
7823
- Status: string
7828
+ Status?: string
7824
7829
  /**
7825
7830
  * 错误码,空字符串表示成功,其他值表示失败,取值请参考 [视频处理类错误码](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) 列表。
7826
7831
  */
7827
- ErrCodeExt: string
7832
+ ErrCodeExt?: string
7828
7833
  /**
7829
7834
  * 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。
7830
7835
  */
7831
- ErrCode: number
7836
+ ErrCode?: number
7832
7837
  /**
7833
7838
  * 错误信息。
7834
7839
  */
7835
- Message: string
7840
+ Message?: string
7836
7841
  /**
7837
7842
  * 对视频按指定时间点截图任务输入。
7838
7843
  */
7839
- Input: SnapshotByTimeOffsetTaskInput
7844
+ Input?: SnapshotByTimeOffsetTaskInput
7840
7845
  /**
7841
7846
  * 对视频按指定时间点截图任务输出。
7842
7847
  注意:此字段可能返回 null,表示取不到有效值。
7843
7848
  */
7844
- Output: MediaSnapshotByTimeOffsetItem
7849
+ Output?: MediaSnapshotByTimeOffsetItem
7845
7850
  /**
7846
7851
  * 对视频按指定时间点截图任务进度,取值范围 [0-100] 。
7847
7852
  */
7848
- Progress: number
7853
+ Progress?: number
7849
7854
  /**
7850
7855
  * 时间点截图任务开始执行的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
7851
7856
  */
@@ -8474,22 +8479,22 @@ export interface PoliticalImageResult {
8474
8479
  /**
8475
8480
  * 鉴别涉及令人不适宜信息的评分,分值为0到100。
8476
8481
  */
8477
- Confidence: number
8482
+ Confidence?: number
8478
8483
  /**
8479
8484
  * 鉴别涉及令人不适宜信息的结果建议,取值范围:
8480
8485
  <li>pass;</li>
8481
8486
  <li>review;</li>
8482
8487
  <li>block。</li>
8483
8488
  */
8484
- Suggestion: string
8489
+ Suggestion?: string
8485
8490
  /**
8486
8491
  * 涉及令人不适宜的信息、违规图标名字。
8487
8492
  */
8488
- Name: string
8493
+ Name?: string
8489
8494
  /**
8490
8495
  * 涉及令人不适宜的信息、违规图标出现的区域坐标 (像素级),[x1, y1, x2, y2],即左上角坐标、右下角坐标。
8491
8496
  */
8492
- AreaCoordSet: Array<number | bigint>
8497
+ AreaCoordSet?: Array<number | bigint>
8493
8498
  }
8494
8499
 
8495
8500
  /**
@@ -8610,11 +8615,11 @@ export interface LiveRealTimeClipMediaSegmentInfo {
8610
8615
  /**
8611
8616
  * 片段的起始时间。格式参照 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)。
8612
8617
  */
8613
- StartTime: string
8618
+ StartTime?: string
8614
8619
  /**
8615
8620
  * 片段的结束时间。格式参照 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)。
8616
8621
  */
8617
- EndTime: string
8622
+ EndTime?: string
8618
8623
  }
8619
8624
 
8620
8625
  /**
@@ -8826,19 +8831,19 @@ export interface DailyPlayStatInfo {
8826
8831
  /**
8827
8832
  * 播放媒体文件的日期,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
8828
8833
  */
8829
- Date: string
8834
+ Date?: string
8830
8835
  /**
8831
8836
  * 媒体文件ID。
8832
8837
  */
8833
- FileId: string
8838
+ FileId?: string
8834
8839
  /**
8835
8840
  * 播放次数。
8836
8841
  */
8837
- PlayTimes: number
8842
+ PlayTimes?: number
8838
8843
  /**
8839
8844
  * 播放流量,单位:字节。
8840
8845
  */
8841
- Traffic: number
8846
+ Traffic?: number
8842
8847
  }
8843
8848
 
8844
8849
  /**
@@ -8938,31 +8943,31 @@ export interface MediaProcessTaskCoverBySnapshotResult {
8938
8943
  /**
8939
8944
  * 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
8940
8945
  */
8941
- Status: string
8946
+ Status?: string
8942
8947
  /**
8943
8948
  * 错误码,空字符串表示成功,其他值表示失败,取值请参考 [视频处理类错误码](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) 列表。
8944
8949
  */
8945
- ErrCodeExt: string
8950
+ ErrCodeExt?: string
8946
8951
  /**
8947
8952
  * 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。
8948
8953
  */
8949
- ErrCode: number
8954
+ ErrCode?: number
8950
8955
  /**
8951
8956
  * 错误信息。
8952
8957
  */
8953
- Message: string
8958
+ Message?: string
8954
8959
  /**
8955
8960
  * 对视频截图做封面任务的输入。
8956
8961
  */
8957
- Input: CoverBySnapshotTaskInput
8962
+ Input?: CoverBySnapshotTaskInput
8958
8963
  /**
8959
8964
  * 对视频截图做封面任务的输出。
8960
8965
  */
8961
- Output: CoverBySnapshotTaskOutput
8966
+ Output?: CoverBySnapshotTaskOutput
8962
8967
  /**
8963
8968
  * 对视频截图做封面任务进度,取值范围 [0-100] 。
8964
8969
  */
8965
- Progress: number
8970
+ Progress?: number
8966
8971
  /**
8967
8972
  * 截图做封面任务开始执行的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
8968
8973
  */
@@ -9090,39 +9095,39 @@ export interface WechatMiniProgramPublishTask {
9090
9095
  /**
9091
9096
  * 任务 ID。
9092
9097
  */
9093
- TaskId: string
9098
+ TaskId?: string
9094
9099
  /**
9095
9100
  * 任务状态,取值:
9096
9101
  WAITING:等待中;
9097
9102
  PROCESSING:处理中;
9098
9103
  FINISH:已完成。
9099
9104
  */
9100
- Status: string
9105
+ Status?: string
9101
9106
  /**
9102
9107
  * 错误码
9103
9108
  <li>0:成功;</li>
9104
9109
  <li>其他值:失败。</li>
9105
9110
  */
9106
- ErrCode: number
9111
+ ErrCode?: number
9107
9112
  /**
9108
9113
  * 错误信息。
9109
9114
  */
9110
- Message: string
9115
+ Message?: string
9111
9116
  /**
9112
9117
  * 发布视频文件 ID。
9113
9118
  */
9114
- FileId: string
9119
+ FileId?: string
9115
9120
  /**
9116
9121
  * 发布视频所对应的转码模板 ID,为 0 代表原始视频。
9117
9122
  */
9118
- SourceDefinition: number
9123
+ SourceDefinition?: number
9119
9124
  /**
9120
9125
  * 微信小程序视频发布状态,取值:
9121
9126
  <li>Pass:发布成功;</li>
9122
9127
  <li>Failed:发布失败;</li>
9123
9128
  <li>Rejected:音视频审核未通过。</li>
9124
9129
  */
9125
- PublishResult: string
9130
+ PublishResult?: string
9126
9131
  }
9127
9132
 
9128
9133
  /**
@@ -9556,11 +9561,16 @@ export interface AiRecognitionTaskObjectResultItem {
9556
9561
  /**
9557
9562
  * 识别的物体名称。
9558
9563
  */
9559
- Name: string
9564
+ Name?: string
9565
+ /**
9566
+ * 物体出现的片段列表。
9567
+ * @deprecated
9568
+ */
9569
+ SegmentSet?: Array<AiRecognitionTaskObjectSeqmentItem>
9560
9570
  /**
9561
9571
  * 物体出现的片段列表。
9562
9572
  */
9563
- SegmentSet: Array<AiRecognitionTaskObjectSeqmentItem>
9573
+ RecognitionSegmentSet?: Array<AiRecognitionTaskObjectSegmentItem>
9564
9574
  }
9565
9575
 
9566
9576
  /**
@@ -9797,70 +9807,70 @@ export interface PlayerConfig {
9797
9807
  /**
9798
9808
  * 播放器配置名字。
9799
9809
  */
9800
- Name: string
9810
+ Name?: string
9801
9811
  /**
9802
9812
  * 播放器配置类型,取值范围:
9803
9813
  <li>Preset:系统预置配置;</li>
9804
9814
  <li>Custom:用户自定义配置。</li>
9805
9815
  */
9806
- Type: string
9816
+ Type?: string
9807
9817
  /**
9808
9818
  * 播放的音视频类型,可选值有:
9809
9819
  <li>AdaptiveDynamicStream:自适应码流输出;</li>
9810
9820
  <li>Transcode:转码输出;</li>
9811
9821
  <li>Original:原始音视频。</li>
9812
9822
  */
9813
- AudioVideoType: string
9823
+ AudioVideoType?: string
9814
9824
  /**
9815
9825
  * 播放 DRM 保护的自适应码流开关:
9816
9826
  <li>ON:开启,表示仅播放 DRM 保护的自适应码流输出;</li>
9817
9827
  <li>OFF:关闭,表示播放未加密的自适应码流输出。</li>
9818
9828
  */
9819
- DrmSwitch: string
9829
+ DrmSwitch?: string
9820
9830
  /**
9821
9831
  * 允许输出的未加密的自适应码流模板 ID。
9822
9832
  */
9823
- AdaptiveDynamicStreamingDefinition: number
9833
+ AdaptiveDynamicStreamingDefinition?: number
9824
9834
  /**
9825
9835
  * 允许输出的 DRM 自适应码流模板内容。
9826
9836
  注意:此字段可能返回 null,表示取不到有效值。
9827
9837
  */
9828
- DrmStreamingsInfo: DrmStreamingsInfo
9838
+ DrmStreamingsInfo?: DrmStreamingsInfo
9829
9839
  /**
9830
9840
  * 允许输出的转码模板 ID。
9831
9841
  */
9832
- TranscodeDefinition: number
9842
+ TranscodeDefinition?: number
9833
9843
  /**
9834
9844
  * 允许输出的雪碧图模板 ID。
9835
9845
  */
9836
- ImageSpriteDefinition: number
9846
+ ImageSpriteDefinition?: number
9837
9847
  /**
9838
9848
  * 播放器对不于不同分辨率的子流展示名字。
9839
9849
  */
9840
- ResolutionNameSet: Array<ResolutionNameInfo>
9850
+ ResolutionNameSet?: Array<ResolutionNameInfo>
9841
9851
  /**
9842
9852
  * 播放器配置创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F)。
9843
9853
  */
9844
- CreateTime: string
9854
+ CreateTime?: string
9845
9855
  /**
9846
9856
  * 播放器配置最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F)。
9847
9857
  */
9848
- UpdateTime: string
9858
+ UpdateTime?: string
9849
9859
  /**
9850
9860
  * 播放时使用的域名。值为 Default,表示使用[默认分发配置](https://cloud.tencent.com/document/product/266/33373)中的域名。
9851
9861
  */
9852
- Domain: string
9862
+ Domain?: string
9853
9863
  /**
9854
9864
  * 播放时使用的 Scheme。取值范围:
9855
9865
  <li>Default:使用[默认分发配置](https://cloud.tencent.com/document/product/266/33373)中的 Scheme;</li>
9856
9866
  <li>HTTP;</li>
9857
9867
  <li>HTTPS。</li>
9858
9868
  */
9859
- Scheme: string
9869
+ Scheme?: string
9860
9870
  /**
9861
9871
  * 模板描述信息。
9862
9872
  */
9863
- Comment: string
9873
+ Comment?: string
9864
9874
  }
9865
9875
 
9866
9876
  /**
@@ -10108,27 +10118,27 @@ export interface AiReviewTerrorismOcrTaskOutput {
10108
10118
  /**
10109
10119
  * Ocr 文字有涉及令人不安全信息的评分,分值为0到100。
10110
10120
  */
10111
- Confidence: number
10121
+ Confidence?: number
10112
10122
  /**
10113
10123
  * Ocr 文字有涉及令人不安全信息的结果建议,取值范围:
10114
10124
  <li>pass。</li>
10115
10125
  <li>review。</li>
10116
10126
  <li>block。</li>
10117
10127
  */
10118
- Suggestion: string
10128
+ Suggestion?: string
10119
10129
  /**
10120
10130
  * Ocr 文字有涉及令人不安全信息嫌疑的视频片段列表。
10121
10131
  <font color=red>注意</font> :该列表最多仅展示前 100 个元素。如希望获得完整结果,请从 SegmentSetFileUrl 对应的文件中获取。
10122
10132
  */
10123
- SegmentSet: Array<MediaContentReviewOcrTextSegmentItem>
10133
+ SegmentSet?: Array<MediaContentReviewOcrTextSegmentItem>
10124
10134
  /**
10125
10135
  * Ocr 文字有涉及令人不安全信息嫌疑的视频片段列表文件 URL。文件的内容为 JSON,数据结构与 SegmentSet 字段一致。 (文件不会永久存储,到达 SegmentSetFileUrlExpireTime 时间点后文件将被删除)。
10126
10136
  */
10127
- SegmentSetFileUrl: string
10137
+ SegmentSetFileUrl?: string
10128
10138
  /**
10129
10139
  * Ocr 文字有涉及令人不安全信息嫌疑的视频片段列表文件 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
10130
10140
  */
10131
- SegmentSetFileUrlExpireTime: string
10141
+ SegmentSetFileUrlExpireTime?: string
10132
10142
  }
10133
10143
 
10134
10144
  /**
@@ -10178,23 +10188,23 @@ export interface ReduceMediaBitrateAdaptiveDynamicStreamingResult {
10178
10188
  /**
10179
10189
  * 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
10180
10190
  */
10181
- Status: string
10191
+ Status?: string
10182
10192
  /**
10183
10193
  * 错误码,空字符串表示成功,其他值表示失败,取值请参考 [视频处理类错误码](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) 列表。
10184
10194
  */
10185
- ErrCodeExt: string
10195
+ ErrCodeExt?: string
10186
10196
  /**
10187
10197
  * 错误信息。
10188
10198
  */
10189
- Message: string
10199
+ Message?: string
10190
10200
  /**
10191
10201
  * 对视频转自适应码流任务的输入。
10192
10202
  */
10193
- Input: AdaptiveDynamicStreamingTaskInput
10203
+ Input?: AdaptiveDynamicStreamingTaskInput
10194
10204
  /**
10195
10205
  * 对视频转自适应码流任务的输出。
10196
10206
  */
10197
- Output: AdaptiveDynamicStreamingInfoItem
10207
+ Output?: AdaptiveDynamicStreamingInfoItem
10198
10208
  }
10199
10209
 
10200
10210
  /**
@@ -10405,23 +10415,23 @@ export interface HeadTailTemplate {
10405
10415
  /**
10406
10416
  * 片头片尾模板号。
10407
10417
  */
10408
- Definition: number
10418
+ Definition?: number
10409
10419
  /**
10410
10420
  * 模板名,最大支持 64 个字符。
10411
10421
  */
10412
- Name: string
10422
+ Name?: string
10413
10423
  /**
10414
10424
  * 模板描述,最大支持 256 个字符。
10415
10425
  */
10416
- Comment: string
10426
+ Comment?: string
10417
10427
  /**
10418
10428
  * 片头候选列表。使用时会选择跟正片分辨率最贴近的一个使用,当存在相同的候选时,选择第一个使用,最大支持 5 个。
10419
10429
  */
10420
- HeadCandidateSet: Array<string>
10430
+ HeadCandidateSet?: Array<string>
10421
10431
  /**
10422
10432
  * 片尾候选列表。使用时会选择跟正片分辨率最贴近的一个使用,当存在相同的候选时,选择第一个使用,最大支持 5 个。
10423
10433
  */
10424
- TailCandidateSet: Array<string>
10434
+ TailCandidateSet?: Array<string>
10425
10435
  /**
10426
10436
  * 填充方式,当视频流配置宽高参数与原始视频的宽高比不一致时,对转码的处理方式,即为“填充”。可选填充方式:
10427
10437
  <li> stretch:拉伸,对每一帧进行拉伸,填满整个画面,可能导致转码后的视频被“压扁“或者“拉长“;</li>
@@ -10430,7 +10440,7 @@ export interface HeadTailTemplate {
10430
10440
  <li> black:留黑,保持视频宽高比不变,边缘剩余部分使用黑色填充。</li>
10431
10441
  默认值:stretch 。
10432
10442
  */
10433
- FillType: string
10443
+ FillType?: string
10434
10444
  /**
10435
10445
  * 模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
10436
10446
  */
@@ -10674,32 +10684,32 @@ export interface AiReviewTaskTerrorismResult {
10674
10684
  /**
10675
10685
  * 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
10676
10686
  */
10677
- Status: string
10687
+ Status?: string
10678
10688
  /**
10679
10689
  * 错误码,空字符串表示成功,其他值表示失败,取值请参考 [视频处理类错误码](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) 列表。
10680
10690
  */
10681
- ErrCodeExt: string
10691
+ ErrCodeExt?: string
10682
10692
  /**
10683
10693
  * 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。
10684
10694
  */
10685
- ErrCode: number
10695
+ ErrCode?: number
10686
10696
  /**
10687
10697
  * 错误信息。
10688
10698
  */
10689
- Message: string
10699
+ Message?: string
10690
10700
  /**
10691
10701
  * 音视频审核涉及令人不安全的信息的任务输入。
10692
10702
  */
10693
- Input: AiReviewTerrorismTaskInput
10703
+ Input?: AiReviewTerrorismTaskInput
10694
10704
  /**
10695
10705
  * 音视频审核涉及令人不安全的信息的任务输出。
10696
10706
  注意:此字段可能返回 null,表示取不到有效值。
10697
10707
  */
10698
- Output: AiReviewTerrorismTaskOutput
10708
+ Output?: AiReviewTerrorismTaskOutput
10699
10709
  /**
10700
10710
  * 音视频审核涉及令人不安全的信息的任务进度,取值范围 [0-100] 。
10701
10711
  */
10702
- Progress: number
10712
+ Progress?: number
10703
10713
  }
10704
10714
 
10705
10715
  /**
@@ -10741,26 +10751,26 @@ export interface MediaContentReviewAsrTextSegmentItem {
10741
10751
  /**
10742
10752
  * 嫌疑片段起始的偏移时间,单位:秒。
10743
10753
  */
10744
- StartTimeOffset: number
10754
+ StartTimeOffset?: number
10745
10755
  /**
10746
10756
  * 嫌疑片段结束的偏移时间,单位:秒。
10747
10757
  */
10748
- EndTimeOffset: number
10758
+ EndTimeOffset?: number
10749
10759
  /**
10750
10760
  * 嫌疑片段置信度。
10751
10761
  */
10752
- Confidence: number
10762
+ Confidence?: number
10753
10763
  /**
10754
10764
  * 嫌疑片段音视频审核的结果建议,取值范围:
10755
10765
  <li>pass。</li>
10756
10766
  <li>review。</li>
10757
10767
  <li>block。</li>
10758
10768
  */
10759
- Suggestion: string
10769
+ Suggestion?: string
10760
10770
  /**
10761
10771
  * 嫌疑关键词列表。
10762
10772
  */
10763
- KeywordSet: Array<string>
10773
+ KeywordSet?: Array<string>
10764
10774
  }
10765
10775
 
10766
10776
  /**
@@ -10821,26 +10831,26 @@ export interface MediaContentReviewPoliticalSegmentItem {
10821
10831
  /**
10822
10832
  * 嫌疑片段起始的偏移时间,单位:秒。
10823
10833
  */
10824
- StartTimeOffset: number
10834
+ StartTimeOffset?: number
10825
10835
  /**
10826
10836
  * 嫌疑片段结束的偏移时间,单位:秒。
10827
10837
  */
10828
- EndTimeOffset: number
10838
+ EndTimeOffset?: number
10829
10839
  /**
10830
10840
  * 嫌疑片段分数。
10831
10841
  */
10832
- Confidence: number
10842
+ Confidence?: number
10833
10843
  /**
10834
10844
  * 嫌疑片段涉及令人不适宜的信息的结果建议,取值范围:
10835
10845
  <li>pass。</li>
10836
10846
  <li>review。</li>
10837
10847
  <li>block。</li>
10838
10848
  */
10839
- Suggestion: string
10849
+ Suggestion?: string
10840
10850
  /**
10841
10851
  * 涉及令人不适宜的信息、违规图标名字。
10842
10852
  */
10843
- Name: string
10853
+ Name?: string
10844
10854
  /**
10845
10855
  * 嫌疑片段涉及令人不适宜的信息的结果标签。音视频审核模板[画面涉及令人不适宜的信息的任务控制参数](https://cloud.tencent.com/document/api/266/31773#PoliticalImgReviewTemplateInfo)里 LabelSet 参数与此参数取值范围的对应关系:
10846
10856
  violation_photo:
@@ -10867,24 +10877,24 @@ celebrity:
10867
10877
  military:
10868
10878
  <li>sensitive_military:违规相关人物。</li>
10869
10879
  */
10870
- Label: string
10880
+ Label?: string
10871
10881
  /**
10872
10882
  * 嫌疑图片 URL (图片不会永久存储,到达
10873
10883
  PicUrlExpireTime 时间点后图片将被删除)。
10874
10884
  */
10875
- Url: string
10885
+ Url?: string
10876
10886
  /**
10877
10887
  * 涉及令人不适宜的信息、违规图标出现的区域坐标 (像素级),[x1, y1, x2, y2],即左上角坐标、右下角坐标。
10878
10888
  */
10879
- AreaCoordSet: Array<number | bigint>
10889
+ AreaCoordSet?: Array<number | bigint>
10880
10890
  /**
10881
10891
  * 该字段已废弃,请使用 PicUrlExpireTime。
10882
10892
  */
10883
- PicUrlExpireTimeStamp: number
10893
+ PicUrlExpireTimeStamp?: number
10884
10894
  /**
10885
10895
  * 嫌疑图片 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
10886
10896
  */
10887
- PicUrlExpireTime: string
10897
+ PicUrlExpireTime?: string
10888
10898
  }
10889
10899
 
10890
10900
  /**
@@ -10984,17 +10994,17 @@ export interface ImageSpriteTemplate {
10984
10994
  /**
10985
10995
  * 雪碧图模板唯一标识。
10986
10996
  */
10987
- Definition: number
10997
+ Definition?: number
10988
10998
  /**
10989
10999
  * 模板类型,取值范围:
10990
11000
  <li>Preset:系统预置模板;</li>
10991
11001
  <li>Custom:用户自定义模板。</li>
10992
11002
  */
10993
- Type: string
11003
+ Type?: string
10994
11004
  /**
10995
11005
  * 雪碧图模板名称。
10996
11006
  */
10997
- Name: string
11007
+ Name?: string
10998
11008
  /**
10999
11009
  * 雪碧图中小图的宽度(或长边)的最大值,取值范围:0 和 [128, 4096],单位:px。
11000
11010
  <li>当 Width、Height 均为 0,则分辨率同源;</li>
@@ -11003,7 +11013,7 @@ export interface ImageSpriteTemplate {
11003
11013
  <li>当 Width、Height 均非 0,则分辨率按用户指定。</li>
11004
11014
  默认值:0。
11005
11015
  */
11006
- Width: number
11016
+ Width?: number
11007
11017
  /**
11008
11018
  * 雪碧图中小图的高度(或短边)的最大值,取值范围:0 和 [128, 4096],单位:px。
11009
11019
  <li>当 Width、Height 均为 0,则分辨率同源;</li>
@@ -11012,53 +11022,53 @@ export interface ImageSpriteTemplate {
11012
11022
  <li>当 Width、Height 均非 0,则分辨率按用户指定。</li>
11013
11023
  默认值:0。
11014
11024
  */
11015
- Height: number
11025
+ Height?: number
11016
11026
  /**
11017
11027
  * 分辨率自适应,可选值:
11018
11028
  <li>open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;</li>
11019
11029
  <li>close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。</li>
11020
11030
  默认值:open。
11021
11031
  */
11022
- ResolutionAdaptive: string
11032
+ ResolutionAdaptive?: string
11023
11033
  /**
11024
11034
  * 采样类型。
11025
11035
  */
11026
- SampleType: string
11036
+ SampleType?: string
11027
11037
  /**
11028
11038
  * 采样间隔。
11029
11039
  */
11030
- SampleInterval: number
11040
+ SampleInterval?: number
11031
11041
  /**
11032
11042
  * 雪碧图中小图的行数。
11033
11043
  */
11034
- RowCount: number
11044
+ RowCount?: number
11035
11045
  /**
11036
11046
  * 雪碧图中小图的列数。
11037
11047
  */
11038
- ColumnCount: number
11048
+ ColumnCount?: number
11039
11049
  /**
11040
11050
  * 模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
11041
11051
  */
11042
- CreateTime: string
11052
+ CreateTime?: string
11043
11053
  /**
11044
11054
  * 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
11045
11055
  */
11046
- UpdateTime: string
11056
+ UpdateTime?: string
11047
11057
  /**
11048
11058
  * 填充方式,当视频流配置宽高参数与原始视频的宽高比不一致时,对转码的处理方式,即为“填充”。可选填充方式:
11049
11059
  <li> stretch:拉伸,对每一帧进行拉伸,填满整个画面,可能导致转码后的视频被“压扁“或者“拉长“;</li>
11050
11060
  <li>black:留黑,保持视频宽高比不变,边缘剩余部分使用黑色填充。</li>
11051
11061
  默认值:black 。
11052
11062
  */
11053
- FillType: string
11063
+ FillType?: string
11054
11064
  /**
11055
11065
  * 模板描述信息。
11056
11066
  */
11057
- Comment: string
11067
+ Comment?: string
11058
11068
  /**
11059
11069
  * 图片格式。
11060
11070
  */
11061
- Format: string
11071
+ Format?: string
11062
11072
  }
11063
11073
 
11064
11074
  /**
@@ -11179,30 +11189,30 @@ export interface ImageProcessingTemplate {
11179
11189
  /**
11180
11190
  * 图片处理模板唯一标识。
11181
11191
  */
11182
- Definition: number
11192
+ Definition?: number
11183
11193
  /**
11184
11194
  * 模板类型,取值范围:
11185
11195
  <li>Preset:系统预置模板;</li>
11186
11196
  <li>Custom:用户自定义模板。</li>
11187
11197
  */
11188
- Type: string
11198
+ Type?: string
11189
11199
  /**
11190
11200
  * 图片处理模板名称。
11191
11201
  */
11192
- Name: string
11202
+ Name?: string
11193
11203
  /**
11194
11204
  * 模板描述信息。
11195
11205
  */
11196
- Comment: string
11206
+ Comment?: string
11197
11207
  /**
11198
11208
  * 图片处理操作数组,操作将以数组顺序执行。
11199
11209
  <li>长度限制:3。</li>
11200
11210
  */
11201
- Operations: Array<ImageOperation>
11211
+ Operations?: Array<ImageOperation>
11202
11212
  /**
11203
11213
  * 模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
11204
11214
  */
11205
- CreateTime: string
11215
+ CreateTime?: string
11206
11216
  }
11207
11217
 
11208
11218
  /**
@@ -11328,17 +11338,25 @@ export interface TaskStatDataItem {
11328
11338
  }
11329
11339
 
11330
11340
  /**
11331
- * ParseStreamingManifest返回参数结构体
11341
+ * 物体识别结果片段。
11332
11342
  */
11333
- export interface ParseStreamingManifestResponse {
11343
+ export interface AiRecognitionTaskObjectSegmentItem {
11334
11344
  /**
11335
- * 分片文件列表。
11345
+ * 识别片段起始的偏移时间,单位:秒。
11336
11346
  */
11337
- MediaSegmentSet?: Array<string>
11347
+ StartTimeOffset?: number
11338
11348
  /**
11339
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
11349
+ * 识别片段终止的偏移时间,单位:秒。
11340
11350
  */
11341
- RequestId?: string
11351
+ EndTimeOffset?: number
11352
+ /**
11353
+ * 识别片段置信度。取值:0~100。
11354
+ */
11355
+ Confidence?: number
11356
+ /**
11357
+ * 识别结果的区域坐标。数组包含 4 个元素 [x1,y1,x2,y2],依次表示区域左上点、右下点的横纵坐标。
11358
+ */
11359
+ AreaCoordSet?: Array<number | bigint>
11342
11360
  }
11343
11361
 
11344
11362
  /**
@@ -11463,77 +11481,77 @@ export interface MediaBasicInfo {
11463
11481
  /**
11464
11482
  * 媒体文件名称。
11465
11483
  */
11466
- Name: string
11484
+ Name?: string
11467
11485
  /**
11468
11486
  * 媒体文件描述。
11469
11487
  */
11470
- Description: string
11488
+ Description?: string
11471
11489
  /**
11472
11490
  * 媒体文件的创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
11473
11491
  */
11474
- CreateTime: string
11492
+ CreateTime?: string
11475
11493
  /**
11476
11494
  * 媒体文件的最近更新时间(如修改视频属性、发起视频处理等会触发更新媒体文件信息的操作),使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
11477
11495
  */
11478
- UpdateTime: string
11496
+ UpdateTime?: string
11479
11497
  /**
11480
11498
  * 媒体文件的过期时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。过期后该媒体文件及其相关资源(转码结果、雪碧图等)将被永久删除。“9999-12-31T23:59:59Z”表示永不过期。
11481
11499
  */
11482
- ExpireTime: string
11500
+ ExpireTime?: string
11483
11501
  /**
11484
11502
  * 媒体文件的分类 ID。
11485
11503
  */
11486
- ClassId: number
11504
+ ClassId?: number
11487
11505
  /**
11488
11506
  * 媒体文件的分类名称。
11489
11507
  */
11490
- ClassName: string
11508
+ ClassName?: string
11491
11509
  /**
11492
11510
  * 媒体文件的分类路径,分类间以“-”分隔,如“新的一级分类 - 新的二级分类”。
11493
11511
  */
11494
- ClassPath: string
11512
+ ClassPath?: string
11495
11513
  /**
11496
11514
  * 媒体文件的封面图片地址。
11497
11515
  */
11498
- CoverUrl: string
11516
+ CoverUrl?: string
11499
11517
  /**
11500
11518
  * 媒体文件的封装格式,例如 mp4、flv 等。
11501
11519
  */
11502
- Type: string
11520
+ Type?: string
11503
11521
  /**
11504
11522
  * 原始媒体文件的 URL 地址。
11505
11523
  */
11506
- MediaUrl: string
11524
+ MediaUrl?: string
11507
11525
  /**
11508
11526
  * 该媒体文件的来源信息。
11509
11527
  注意:此字段可能返回 null,表示取不到有效值。
11510
11528
  */
11511
- SourceInfo: MediaSourceData
11529
+ SourceInfo?: MediaSourceData
11512
11530
  /**
11513
11531
  * 媒体文件存储地区,如 ap-chongqing,参见[地域列表](https://cloud.tencent.com/document/product/266/9760#.E5.B7.B2.E6.94.AF.E6.8C.81.E5.9C.B0.E5.9F.9F.E5.88.97.E8.A1.A8)。
11514
11532
  */
11515
- StorageRegion: string
11533
+ StorageRegion?: string
11516
11534
  /**
11517
11535
  * 媒体文件的标签信息。
11518
11536
  */
11519
- TagSet: Array<string>
11537
+ TagSet?: Array<string>
11520
11538
  /**
11521
11539
  * 直播录制文件的唯一标识。
11522
11540
  */
11523
- Vid: string
11541
+ Vid?: string
11524
11542
  /**
11525
11543
  * 文件类型:
11526
11544
  <li>Video: 视频文件</li>
11527
11545
  <li>Audio: 音频文件</li>
11528
11546
  <li>Image: 图片文件</li>
11529
11547
  */
11530
- Category: string
11548
+ Category?: string
11531
11549
  /**
11532
11550
  * 文件状态:Normal:正常,Forbidden:封禁。
11533
11551
 
11534
11552
  *注意:此字段暂不支持。
11535
11553
  */
11536
- Status: string
11554
+ Status?: string
11537
11555
  /**
11538
11556
  * 媒体文件的存储类别:
11539
11557
  <li> STANDARD:标准存储。</li>
@@ -11541,7 +11559,7 @@ export interface MediaBasicInfo {
11541
11559
  <li> ARCHIVE:归档存储。</li>
11542
11560
  <li> DEEP_ARCHIVE:深度归档存储。</li>
11543
11561
  */
11544
- StorageClass: string
11562
+ StorageClass?: string
11545
11563
  }
11546
11564
 
11547
11565
  /**
@@ -11551,7 +11569,7 @@ export interface AiReviewPoliticalAsrTaskInput {
11551
11569
  /**
11552
11570
  * 鉴别涉及令人不适宜信息的模板 ID。
11553
11571
  */
11554
- Definition: number
11572
+ Definition?: number
11555
11573
  }
11556
11574
 
11557
11575
  /**
@@ -11817,70 +11835,70 @@ export interface TranscodeTemplate {
11817
11835
  /**
11818
11836
  * 转码模板唯一标识。
11819
11837
  */
11820
- Definition: string
11838
+ Definition?: string
11821
11839
  /**
11822
11840
  * 封装格式,取值:mp4、flv、hls、mp3、flac、ogg。
11823
11841
  */
11824
- Container: string
11842
+ Container?: string
11825
11843
  /**
11826
11844
  * 转码模板名称。
11827
11845
  */
11828
- Name: string
11846
+ Name?: string
11829
11847
  /**
11830
11848
  * 模板描述信息。
11831
11849
  */
11832
- Comment: string
11850
+ Comment?: string
11833
11851
  /**
11834
11852
  * 模板类型,取值:
11835
11853
  <li>Preset:系统预置模板;</li>
11836
11854
  <li>Custom:用户自定义模板。</li>
11837
11855
  */
11838
- Type: string
11856
+ Type?: string
11839
11857
  /**
11840
11858
  * 是否去除视频数据,取值:
11841
11859
  <li>0:保留;</li>
11842
11860
  <li>1:去除。</li>
11843
11861
  */
11844
- RemoveVideo: number
11862
+ RemoveVideo?: number
11845
11863
  /**
11846
11864
  * 是否去除音频数据,取值:
11847
11865
  <li>0:保留;</li>
11848
11866
  <li>1:去除。</li>
11849
11867
  */
11850
- RemoveAudio: number
11868
+ RemoveAudio?: number
11851
11869
  /**
11852
11870
  * 视频流配置参数,仅当 RemoveVideo 为 0,该字段有效。
11853
11871
  注意:此字段可能返回 null,表示取不到有效值。
11854
11872
  */
11855
- VideoTemplate: VideoTemplateInfo
11873
+ VideoTemplate?: VideoTemplateInfo
11856
11874
  /**
11857
11875
  * 音频流配置参数,仅当 RemoveAudio 为 0,该字段有效 。
11858
11876
  注意:此字段可能返回 null,表示取不到有效值。
11859
11877
  */
11860
- AudioTemplate: AudioTemplateInfo
11878
+ AudioTemplate?: AudioTemplateInfo
11861
11879
  /**
11862
11880
  * 极速高清转码参数。
11863
11881
  注意:此字段可能返回 null,表示取不到有效值。
11864
11882
  */
11865
- TEHDConfig: TEHDConfig
11883
+ TEHDConfig?: TEHDConfig
11866
11884
  /**
11867
11885
  * 封装格式过滤条件,可选值:
11868
11886
  <li>Video:视频格式,可以同时包含视频流和音频流的封装格式;</li>
11869
11887
  <li>PureAudio:纯音频格式,只能包含音频流的封装格式板。</li>
11870
11888
  */
11871
- ContainerType: string
11889
+ ContainerType?: string
11872
11890
  /**
11873
11891
  * 模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
11874
11892
  */
11875
- CreateTime: string
11893
+ CreateTime?: string
11876
11894
  /**
11877
11895
  * 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
11878
11896
  */
11879
- UpdateTime: string
11897
+ UpdateTime?: string
11880
11898
  /**
11881
11899
  * 切片类型,仅当 Container 为 hls 时有效。
11882
11900
  */
11883
- SegmentType: string
11901
+ SegmentType?: string
11884
11902
  }
11885
11903
 
11886
11904
  /**
@@ -11995,19 +12013,19 @@ export interface TrtcRecordInfo {
11995
12013
  /**
11996
12014
  * TRTC 应用 ID。
11997
12015
  */
11998
- SdkAppId: number
12016
+ SdkAppId?: number
11999
12017
  /**
12000
12018
  * TRTC 房间 ID。
12001
12019
  */
12002
- RoomId: string
12020
+ RoomId?: string
12003
12021
  /**
12004
12022
  * 录制任务 ID。
12005
12023
  */
12006
- TaskId: string
12024
+ TaskId?: string
12007
12025
  /**
12008
12026
  * 参与录制的用户 ID 列表。
12009
12027
  */
12010
- UserIds: Array<string>
12028
+ UserIds?: Array<string>
12011
12029
  }
12012
12030
 
12013
12031
  /**
@@ -12053,7 +12071,7 @@ export interface AiReviewProhibitedAsrTaskInput {
12053
12071
  /**
12054
12072
  * 鉴违禁模板 ID。
12055
12073
  */
12056
- Definition: number
12074
+ Definition?: number
12057
12075
  }
12058
12076
 
12059
12077
  /**
@@ -12063,39 +12081,53 @@ export interface MediaContentReviewSegmentItem {
12063
12081
  /**
12064
12082
  * 嫌疑片段起始的偏移时间,单位:秒。
12065
12083
  */
12066
- StartTimeOffset: number
12084
+ StartTimeOffset?: number
12067
12085
  /**
12068
12086
  * 嫌疑片段结束的偏移时间,单位:秒。
12069
12087
  */
12070
- EndTimeOffset: number
12088
+ EndTimeOffset?: number
12071
12089
  /**
12072
12090
  * 嫌疑片段涉及令人反感的信息的分数。
12073
12091
  */
12074
- Confidence: number
12092
+ Confidence?: number
12075
12093
  /**
12076
12094
  * 嫌疑片段涉及令人反感的信息的结果标签。
12077
12095
  */
12078
- Label: string
12096
+ Label?: string
12079
12097
  /**
12080
12098
  * 嫌疑片段鉴别涉及令人反感的信息的结果建议,取值范围:
12081
12099
  <li>pass。</li>
12082
12100
  <li>review。</li>
12083
12101
  <li>block。</li>
12084
12102
  */
12085
- Suggestion: string
12103
+ Suggestion?: string
12086
12104
  /**
12087
12105
  * 嫌疑图片 URL (图片不会永久存储,到达
12088
12106
  PicUrlExpireTime 时间点后图片将被删除)。
12089
12107
  */
12090
- Url: string
12108
+ Url?: string
12091
12109
  /**
12092
12110
  * 该字段已废弃,请使用 PicUrlExpireTime。
12093
12111
  */
12094
- PicUrlExpireTimeStamp: number
12112
+ PicUrlExpireTimeStamp?: number
12095
12113
  /**
12096
12114
  * 嫌疑图片 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
12097
12115
  */
12098
- PicUrlExpireTime: string
12116
+ PicUrlExpireTime?: string
12117
+ }
12118
+
12119
+ /**
12120
+ * ParseStreamingManifest返回参数结构体
12121
+ */
12122
+ export interface ParseStreamingManifestResponse {
12123
+ /**
12124
+ * 分片文件列表。
12125
+ */
12126
+ MediaSegmentSet?: Array<string>
12127
+ /**
12128
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
12129
+ */
12130
+ RequestId?: string
12099
12131
  }
12100
12132
 
12101
12133
  /**
@@ -12348,32 +12380,32 @@ export interface AiAnalysisTaskClassificationResult {
12348
12380
  /**
12349
12381
  * 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
12350
12382
  */
12351
- Status: string
12383
+ Status?: string
12352
12384
  /**
12353
12385
  * 错误码,空字符串表示成功,其他值表示失败,取值请参考 [视频处理类错误码](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) 列表。
12354
12386
  */
12355
- ErrCodeExt: string
12387
+ ErrCodeExt?: string
12356
12388
  /**
12357
12389
  * 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。
12358
12390
  */
12359
- ErrCode: number
12391
+ ErrCode?: number
12360
12392
  /**
12361
12393
  * 错误信息。
12362
12394
  */
12363
- Message: string
12395
+ Message?: string
12364
12396
  /**
12365
12397
  * 智能分类任务输入。
12366
12398
  */
12367
- Input: AiAnalysisTaskClassificationInput
12399
+ Input?: AiAnalysisTaskClassificationInput
12368
12400
  /**
12369
12401
  * 智能分类任务输出。
12370
12402
  注意:此字段可能返回 null,表示取不到有效值。
12371
12403
  */
12372
- Output: AiAnalysisTaskClassificationOutput
12404
+ Output?: AiAnalysisTaskClassificationOutput
12373
12405
  /**
12374
12406
  * 智能分类任务进度,取值范围 [0-100] 。
12375
12407
  */
12376
- Progress: number
12408
+ Progress?: number
12377
12409
  /**
12378
12410
  * 智能分类任务开始执行的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
12379
12411
  */
@@ -12839,7 +12871,7 @@ export interface StatDataItem {
12839
12871
  <li>表示小时级别数据时,2019-08-22T00:00:00+08:00表示2019-08-22日0点到1点的统计数据。</li>
12840
12872
  <li>表示天级别数据时,2019-08-22T00:00:00+08:00表示2019-08-22日的统计数据。</li>
12841
12873
  */
12842
- Time: string
12874
+ Time?: string
12843
12875
  /**
12844
12876
  * 数据大小。
12845
12877
  <li>存储空间的数据,单位是字节。</li>
@@ -12849,7 +12881,7 @@ export interface StatDataItem {
12849
12881
  <li>直播剪辑数据,单位是秒。</li>
12850
12882
  <li>轮播数据,单位是秒。</li>
12851
12883
  */
12852
- Value: number
12884
+ Value?: number
12853
12885
  }
12854
12886
 
12855
12887
  /**
@@ -12871,17 +12903,17 @@ export interface AccelerateAreaInfo {
12871
12903
  <li>Chinese Mainland:中国境内(不包含港澳台)。</li>
12872
12904
  <li>Outside Chinese Mainland:中国境外。</li>
12873
12905
  */
12874
- Area: string
12906
+ Area?: string
12875
12907
  /**
12876
12908
  * 腾讯禁用原因,可选值:
12877
12909
  <li>ForLegalReasons:因法律原因导致关闭加速;</li>
12878
12910
  <li>ForOverdueBills:因欠费停服导致关闭加速。</li>
12879
12911
  */
12880
- TencentDisableReason: string
12912
+ TencentDisableReason?: string
12881
12913
  /**
12882
12914
  * 加速域名对应的 CNAME 域名。
12883
12915
  */
12884
- TencentEdgeDomain: string
12916
+ TencentEdgeDomain?: string
12885
12917
  }
12886
12918
 
12887
12919
  /**
@@ -13181,7 +13213,7 @@ export interface ExtractTraceWatermarkTaskInput {
13181
13213
  /**
13182
13214
  * 需要提取水印的媒体 URL。
13183
13215
  */
13184
- Url: string
13216
+ Url?: string
13185
13217
  /**
13186
13218
  * 媒体文件 ID。Url 对应的原始媒体文件 ID。
13187
13219
  */
@@ -13486,14 +13518,14 @@ export interface TerrorismImageResult {
13486
13518
  /**
13487
13519
  * 鉴别涉及令人不安全的信息的评分,分值为0到100。
13488
13520
  */
13489
- Confidence: number
13521
+ Confidence?: number
13490
13522
  /**
13491
13523
  * 鉴别涉及令人不安全的信息的结果建议,取值范围:
13492
13524
  <li>pass;</li>
13493
13525
  <li>review;</li>
13494
13526
  <li>block。</li>
13495
13527
  */
13496
- Suggestion: string
13528
+ Suggestion?: string
13497
13529
  /**
13498
13530
  * 鉴别涉及令人不安全的信息的结果标签,取值范围:
13499
13531
  <li>guns:武器枪支;</li>
@@ -13504,7 +13536,7 @@ export interface TerrorismImageResult {
13504
13536
  <li>explosion:爆炸火灾;</li>
13505
13537
  <li>scenario:暴恐画面。</li>
13506
13538
  */
13507
- Label: string
13539
+ Label?: string
13508
13540
  }
13509
13541
 
13510
13542
  /**
@@ -13639,32 +13671,32 @@ export interface AiAnalysisTaskFrameTagResult {
13639
13671
  /**
13640
13672
  * 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
13641
13673
  */
13642
- Status: string
13674
+ Status?: string
13643
13675
  /**
13644
13676
  * 错误码,空字符串表示成功,其他值表示失败,取值请参考 [视频处理类错误码](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) 列表。
13645
13677
  */
13646
- ErrCodeExt: string
13678
+ ErrCodeExt?: string
13647
13679
  /**
13648
13680
  * 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。
13649
13681
  */
13650
- ErrCode: number
13682
+ ErrCode?: number
13651
13683
  /**
13652
13684
  * 错误信息。
13653
13685
  */
13654
- Message: string
13686
+ Message?: string
13655
13687
  /**
13656
13688
  * 智能按帧标签任务输入。
13657
13689
  */
13658
- Input: AiAnalysisTaskFrameTagInput
13690
+ Input?: AiAnalysisTaskFrameTagInput
13659
13691
  /**
13660
13692
  * 智能按帧标签任务输出。
13661
13693
  注意:此字段可能返回 null,表示取不到有效值。
13662
13694
  */
13663
- Output: AiAnalysisTaskFrameTagOutput
13695
+ Output?: AiAnalysisTaskFrameTagOutput
13664
13696
  /**
13665
13697
  * 智能按帧标签任务进度,取值范围 [0-100] 。
13666
13698
  */
13667
- Progress: number
13699
+ Progress?: number
13668
13700
  /**
13669
13701
  * 智能按帧标签任务开始执行的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
13670
13702
  */
@@ -13742,32 +13774,32 @@ export interface AiRecognitionTaskAsrFullTextResult {
13742
13774
  /**
13743
13775
  * 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
13744
13776
  */
13745
- Status: string
13777
+ Status?: string
13746
13778
  /**
13747
13779
  * 错误码,空字符串表示成功,其他值表示失败,取值请参考 [视频处理类错误码](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) 列表。
13748
13780
  */
13749
- ErrCodeExt: string
13781
+ ErrCodeExt?: string
13750
13782
  /**
13751
13783
  * 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。
13752
13784
  */
13753
- ErrCode: number
13785
+ ErrCode?: number
13754
13786
  /**
13755
13787
  * 错误信息。
13756
13788
  */
13757
- Message: string
13789
+ Message?: string
13758
13790
  /**
13759
13791
  * 语音全文识别任务输入信息。
13760
13792
  */
13761
- Input: AiRecognitionTaskAsrFullTextResultInput
13793
+ Input?: AiRecognitionTaskAsrFullTextResultInput
13762
13794
  /**
13763
13795
  * 语音全文识别任务输出信息。
13764
13796
  注意:此字段可能返回 null,表示取不到有效值。
13765
13797
  */
13766
- Output: AiRecognitionTaskAsrFullTextResultOutput
13798
+ Output?: AiRecognitionTaskAsrFullTextResultOutput
13767
13799
  /**
13768
13800
  * 语音全文识别任务进度,取值范围 [0-100] 。
13769
13801
  */
13770
- Progress: number
13802
+ Progress?: number
13771
13803
  /**
13772
13804
  * 语音全文识别任务开始执行的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
13773
13805
  */
@@ -13797,19 +13829,19 @@ export interface PlayStatInfo {
13797
13829
  <li>表示小时级别数据时,2019-08-22T00:00:00+08:00表示2019-08-22日0点到1点的统计数据。</li>
13798
13830
  <li>表示天级别数据时,2019-08-22T00:00:00+08:00表示2019-08-22日的统计数据。</li>
13799
13831
  */
13800
- Time: string
13832
+ Time?: string
13801
13833
  /**
13802
13834
  * 媒体文件ID。
13803
13835
  */
13804
- FileId: string
13836
+ FileId?: string
13805
13837
  /**
13806
13838
  * 播放次数。
13807
13839
  */
13808
- PlayTimes: number
13840
+ PlayTimes?: number
13809
13841
  /**
13810
13842
  * 播放流量,单位:字节。
13811
13843
  */
13812
- Traffic: number
13844
+ Traffic?: number
13813
13845
  }
13814
13846
 
13815
13847
  /**
@@ -14544,6 +14576,62 @@ export interface InspectMediaQualityRequest {
14544
14576
  ExtInfo?: string
14545
14577
  }
14546
14578
 
14579
+ /**
14580
+ * 转场操作
14581
+ */
14582
+ export interface TransitionOperation {
14583
+ /**
14584
+ * 转场类型,取值有:
14585
+ <ul>
14586
+ <li>图像的转场操作,用于两个视频片段图像间的转场处理:
14587
+ <ul>
14588
+ <li>ImageFadeInFadeOut:图像淡入淡出。 </li>
14589
+ <li>BowTieHorizontal:水平蝴蝶结。 </li>
14590
+ <li>BowTieVertical:垂直蝴蝶结。 </li>
14591
+ <li>ButterflyWaveScrawler:晃动。 </li>
14592
+ <li>Cannabisleaf:枫叶。 </li>
14593
+ <li>Circle:弧形收放。 </li>
14594
+ <li>CircleCrop:圆环聚拢。 </li>
14595
+ <li>Circleopen:椭圆聚拢。 </li>
14596
+ <li>Crosswarp:横向翘曲。 </li>
14597
+ <li>Cube:立方体。 </li>
14598
+ <li>DoomScreenTransition:幕布。 </li>
14599
+ <li>Doorway:门廊。 </li>
14600
+ <li>Dreamy:波浪。 </li>
14601
+ <li>DreamyZoom:水平聚拢。 </li>
14602
+ <li>FilmBurn:火烧云。 </li>
14603
+ <li>GlitchMemories:抖动。 </li>
14604
+ <li>Heart:心形。 </li>
14605
+ <li>InvertedPageCurl:翻页。 </li>
14606
+ <li>Luma:腐蚀。 </li>
14607
+ <li>Mosaic:九宫格。 </li>
14608
+ <li>Pinwheel:风车。 </li>
14609
+ <li>PolarFunction:椭圆扩散。 </li>
14610
+ <li>PolkaDotsCurtain:弧形扩散。 </li>
14611
+ <li>Radial:雷达扫描 </li>
14612
+ <li>RotateScaleFade:上下收放。 </li>
14613
+ <li>Squeeze:上下聚拢。 </li>
14614
+ <li>Swap:放大切换。 </li>
14615
+ <li>Swirl:螺旋。 </li>
14616
+ <li>UndulatingBurnOutSwirl:水流蔓延。 </li>
14617
+ <li>Windowblinds:百叶窗。 </li>
14618
+ <li>WipeDown:向下收起。 </li>
14619
+ <li>WipeLeft:向左收起。 </li>
14620
+ <li>WipeRight:向右收起。 </li>
14621
+ <li>WipeUp:向上收起。 </li>
14622
+ <li>ZoomInCircles:水波纹。 </li>
14623
+ </ul>
14624
+ </li>
14625
+ <li>音频的转场操作,用于两个音频片段间的转场处理:
14626
+ <ul>
14627
+ <li>AudioFadeInFadeOut:声音淡入淡出。 </li>
14628
+ </ul>
14629
+ </li>
14630
+ </ul>
14631
+ */
14632
+ Type: string
14633
+ }
14634
+
14547
14635
  /**
14548
14636
  * 智能按帧标签任务输入类型
14549
14637
  */
@@ -15122,17 +15210,17 @@ export interface ReduceMediaBitrateMediaProcessTaskResult {
15122
15210
  <li>Transcode:转码</li>
15123
15211
  <li>AdaptiveDynamicStreaming:自适应码流</li>
15124
15212
  */
15125
- Type: string
15213
+ Type?: string
15126
15214
  /**
15127
15215
  * 降码率任务中视频转码任务的查询结果,当任务类型为 Transcode 时有效。
15128
15216
  注意:此字段可能返回 null,表示取不到有效值。
15129
15217
  */
15130
- TranscodeTask: ReduceMediaBitrateTranscodeResult
15218
+ TranscodeTask?: ReduceMediaBitrateTranscodeResult
15131
15219
  /**
15132
15220
  * 降码率任务中对视频转自适应码流任务的查询结果,当任务类型为 AdaptiveDynamicStreaming 时有效。
15133
15221
  注意:此字段可能返回 null,表示取不到有效值。
15134
15222
  */
15135
- AdaptiveDynamicStreamingTask: ReduceMediaBitrateAdaptiveDynamicStreamingResult
15223
+ AdaptiveDynamicStreamingTask?: ReduceMediaBitrateAdaptiveDynamicStreamingResult
15136
15224
  }
15137
15225
 
15138
15226
  /**
@@ -15617,15 +15705,15 @@ export interface TaskSimpleInfo {
15617
15705
  /**
15618
15706
  * 任务 ID。
15619
15707
  */
15620
- TaskId: string
15708
+ TaskId?: string
15621
15709
  /**
15622
15710
  * 任务状态。取值:WAITING(等待中)、PROCESSING(处理中)、FINISH(已完成)。
15623
15711
  */
15624
- Status: string
15712
+ Status?: string
15625
15713
  /**
15626
15714
  * 视频 ID。
15627
15715
  */
15628
- FileId: string
15716
+ FileId?: string
15629
15717
  /**
15630
15718
  * 任务类型,取值:
15631
15719
  <li>Procedure:视频处理任务;</li>
@@ -15640,27 +15728,27 @@ export interface TaskSimpleInfo {
15640
15728
  <li>Clip:视频剪辑任务;</li>
15641
15729
  <li>ImageSprites:截取雪碧图任务。</li>
15642
15730
  */
15643
- TaskType: string
15731
+ TaskType?: string
15644
15732
  /**
15645
15733
  * 任务创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
15646
15734
  */
15647
- CreateTime: string
15735
+ CreateTime?: string
15648
15736
  /**
15649
15737
  * 任务开始执行时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。若任务尚未开始,该字段为空。
15650
15738
  */
15651
- BeginProcessTime: string
15739
+ BeginProcessTime?: string
15652
15740
  /**
15653
15741
  * 任务结束时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。若任务尚未完成,该字段为空。
15654
15742
  */
15655
- FinishTime: string
15743
+ FinishTime?: string
15656
15744
  /**
15657
15745
  * 用于去重的识别码,如果七天内曾有过相同的识别码的请求。
15658
15746
  */
15659
- SessionId: string
15747
+ SessionId?: string
15660
15748
  /**
15661
15749
  * 来源上下文,用于透传用户请求信息。
15662
15750
  */
15663
- SessionContext: string
15751
+ SessionContext?: string
15664
15752
  }
15665
15753
 
15666
15754
  /**
@@ -15670,39 +15758,39 @@ export interface ReviewAudioVideoTask {
15670
15758
  /**
15671
15759
  * 任务 ID。
15672
15760
  */
15673
- TaskId: string
15761
+ TaskId?: string
15674
15762
  /**
15675
15763
  * 任务状态,取值:
15676
15764
  <li>PROCESSING:处理中;</li>
15677
15765
  <li>FINISH:已完成。</li>
15678
15766
  */
15679
- Status: string
15767
+ Status?: string
15680
15768
  /**
15681
15769
  * 错误码,空字符串表示成功,其他值表示失败,取值请参考 [视频处理类错误码](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) 列表。
15682
15770
  */
15683
- ErrCodeExt: string
15771
+ ErrCodeExt?: string
15684
15772
  /**
15685
15773
  * 错误信息。
15686
15774
  */
15687
- Message: string
15775
+ Message?: string
15688
15776
  /**
15689
15777
  * 音视频审核任务的输入。
15690
15778
  注意:此字段可能返回 null,表示取不到有效值。
15691
15779
  */
15692
- Input: ReviewAudioVideoTaskInput
15780
+ Input?: ReviewAudioVideoTaskInput
15693
15781
  /**
15694
15782
  * 音视频审核任务的输出。
15695
15783
  注意:此字段可能返回 null,表示取不到有效值。
15696
15784
  */
15697
- Output: ReviewAudioVideoTaskOutput
15785
+ Output?: ReviewAudioVideoTaskOutput
15698
15786
  /**
15699
15787
  * 用于去重的识别码,如果七天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长 50 个字符,不带或者带空字符串表示不做去重。
15700
15788
  */
15701
- SessionId: string
15789
+ SessionId?: string
15702
15790
  /**
15703
15791
  * 来源上下文,用于透传用户请求信息,音视频审核完成回调将返回该字段值,最长 1000 个字符。
15704
15792
  */
15705
- SessionContext: string
15793
+ SessionContext?: string
15706
15794
  }
15707
15795
 
15708
15796
  /**
@@ -16043,7 +16131,7 @@ export interface AiReviewTerrorismTaskInput {
16043
16131
  /**
16044
16132
  * 鉴别涉及令人不安全的信息的模板 ID。
16045
16133
  */
16046
- Definition: number
16134
+ Definition?: number
16047
16135
  }
16048
16136
 
16049
16137
  /**
@@ -16067,15 +16155,15 @@ export interface MediaAudioStreamItem {
16067
16155
  /**
16068
16156
  * 音频流的码率,单位:bps。
16069
16157
  */
16070
- Bitrate: number
16158
+ Bitrate?: number
16071
16159
  /**
16072
16160
  * 音频流的采样率,单位:hz。
16073
16161
  */
16074
- SamplingRate: number
16162
+ SamplingRate?: number
16075
16163
  /**
16076
16164
  * 音频流的编码格式,例如 aac。
16077
16165
  */
16078
- Codec: string
16166
+ Codec?: string
16079
16167
  }
16080
16168
 
16081
16169
  /**
@@ -16131,19 +16219,19 @@ export interface SubAppIdInfo {
16131
16219
  /**
16132
16220
  * 子应用 ID。
16133
16221
  */
16134
- SubAppId: number
16222
+ SubAppId?: number
16135
16223
  /**
16136
16224
  * 子应用名称。
16137
16225
  */
16138
- SubAppIdName: string
16226
+ SubAppIdName?: string
16139
16227
  /**
16140
16228
  * 子应用简介。
16141
16229
  */
16142
- Description: string
16230
+ Description?: string
16143
16231
  /**
16144
16232
  * 子应用创建时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
16145
16233
  */
16146
- CreateTime: string
16234
+ CreateTime?: string
16147
16235
  /**
16148
16236
  * 子应用状态,有效值:
16149
16237
  <li>On:启用;</li>
@@ -16151,11 +16239,11 @@ export interface SubAppIdInfo {
16151
16239
  <li>Destroying:销毁中。</li>
16152
16240
  <li>Destroyed:销毁完成。</li>
16153
16241
  */
16154
- Status: string
16242
+ Status?: string
16155
16243
  /**
16156
16244
  * 子应用名称(该字段已不推荐使用,建议使用新的子应用名称字段 SubAppIdName)。
16157
16245
  */
16158
- Name: string
16246
+ Name?: string
16159
16247
  }
16160
16248
 
16161
16249
  /**
@@ -16251,7 +16339,7 @@ export interface AiReviewProhibitedOcrTaskInput {
16251
16339
  /**
16252
16340
  * 鉴违禁模板 ID。
16253
16341
  */
16254
- Definition: number
16342
+ Definition?: number
16255
16343
  }
16256
16344
 
16257
16345
  /**
@@ -16672,33 +16760,33 @@ export interface ReviewTemplate {
16672
16760
  /**
16673
16761
  * 审核模版唯一标签。
16674
16762
  */
16675
- Definition: number
16763
+ Definition?: number
16676
16764
  /**
16677
16765
  * 模板名称。
16678
16766
  */
16679
- Name: string
16767
+ Name?: string
16680
16768
  /**
16681
16769
  * 模板描述信息。
16682
16770
  */
16683
- Comment: string
16771
+ Comment?: string
16684
16772
  /**
16685
16773
  * 模板类型,可选值:
16686
16774
  <li>Preset:系统预置模板;</li>
16687
16775
  <li>Custom:用户自定义模板。</li>
16688
16776
  */
16689
- Type: string
16777
+ Type?: string
16690
16778
  /**
16691
16779
  * 需要返回的违规标签列表。
16692
16780
  */
16693
- Labels: Array<string>
16781
+ Labels?: Array<string>
16694
16782
  /**
16695
16783
  * 模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
16696
16784
  */
16697
- CreateTime: string
16785
+ CreateTime?: string
16698
16786
  /**
16699
16787
  * 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
16700
16788
  */
16701
- UpdateTime: string
16789
+ UpdateTime?: string
16702
16790
  }
16703
16791
 
16704
16792
  /**
@@ -16758,7 +16846,7 @@ export interface MediaVideoStreamItem {
16758
16846
  * 画面动态范围信息。
16759
16847
  <li><font color=red>注意</font>:在 2023-01-10T00:00:00Z 后处理的转码文件,此字段有效。</li>
16760
16848
  */
16761
- DynamicRangeInfo: DynamicRangeInfo
16849
+ DynamicRangeInfo?: DynamicRangeInfo
16762
16850
  }
16763
16851
 
16764
16852
  /**
@@ -17656,32 +17744,32 @@ export interface AiRecognitionTaskAsrWordsResult {
17656
17744
  /**
17657
17745
  * 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
17658
17746
  */
17659
- Status: string
17747
+ Status?: string
17660
17748
  /**
17661
17749
  * 错误码,空字符串表示成功,其他值表示失败,取值请参考 [视频处理类错误码](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) 列表。
17662
17750
  */
17663
- ErrCodeExt: string
17751
+ ErrCodeExt?: string
17664
17752
  /**
17665
17753
  * 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。
17666
17754
  */
17667
- ErrCode: number
17755
+ ErrCode?: number
17668
17756
  /**
17669
17757
  * 错误信息。
17670
17758
  */
17671
- Message: string
17759
+ Message?: string
17672
17760
  /**
17673
17761
  * 语音关键词识别任务输入信息。
17674
17762
  */
17675
- Input: AiRecognitionTaskAsrWordsResultInput
17763
+ Input?: AiRecognitionTaskAsrWordsResultInput
17676
17764
  /**
17677
17765
  * 语音关键词识别任务输出信息。
17678
17766
  注意:此字段可能返回 null,表示取不到有效值。
17679
17767
  */
17680
- Output: AiRecognitionTaskAsrWordsResultOutput
17768
+ Output?: AiRecognitionTaskAsrWordsResultOutput
17681
17769
  /**
17682
17770
  * 语音关键词识别任务进度,取值范围 [0-100] 。
17683
17771
  */
17684
- Progress: number
17772
+ Progress?: number
17685
17773
  /**
17686
17774
  * 语音关键词识别任务开始执行的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
17687
17775
  */
@@ -19064,32 +19152,32 @@ export interface AiRecognitionTaskHeadTailResult {
19064
19152
  /**
19065
19153
  * 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
19066
19154
  */
19067
- Status: string
19155
+ Status?: string
19068
19156
  /**
19069
19157
  * 错误码,空字符串表示成功,其他值表示失败,取值请参考 [视频处理类错误码](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) 列表。
19070
19158
  */
19071
- ErrCodeExt: string
19159
+ ErrCodeExt?: string
19072
19160
  /**
19073
19161
  * 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。
19074
19162
  */
19075
- ErrCode: number
19163
+ ErrCode?: number
19076
19164
  /**
19077
19165
  * 错误信息。
19078
19166
  */
19079
- Message: string
19167
+ Message?: string
19080
19168
  /**
19081
19169
  * 视频片头片尾识别任务输入信息。
19082
19170
  */
19083
- Input: AiRecognitionTaskHeadTailResultInput
19171
+ Input?: AiRecognitionTaskHeadTailResultInput
19084
19172
  /**
19085
19173
  * 视频片头片尾识别任务输出信息。
19086
19174
  注意:此字段可能返回 null,表示取不到有效值。
19087
19175
  */
19088
- Output: AiRecognitionTaskHeadTailResultOutput
19176
+ Output?: AiRecognitionTaskHeadTailResultOutput
19089
19177
  /**
19090
19178
  * 视频片头片尾识别任务进度,取值范围 [0-100] 。
19091
19179
  */
19092
- Progress: number
19180
+ Progress?: number
19093
19181
  /**
19094
19182
  * 视频片头片尾识别任务开始执行的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
19095
19183
  */