tencentcloud-sdk-nodejs-intl-en 3.0.1142 → 3.0.1143

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.
@@ -1638,6 +1638,51 @@ class AiRecognitionTaskAsrFullTextResultOutput extends AbstractModel {
1638
1638
  }
1639
1639
  }
1640
1640
 
1641
+ /**
1642
+ * Information on a single hotword.
1643
+ * @class
1644
+ */
1645
+ class AsrHotwordsSetItem extends AbstractModel {
1646
+ constructor(){
1647
+ super();
1648
+
1649
+ /**
1650
+ * Hotword ID.
1651
+ Note: This field may return null, indicating that no valid value can be obtained.
1652
+ * @type {number || null}
1653
+ */
1654
+ this.Id = null;
1655
+
1656
+ /**
1657
+ * Hotword text.
1658
+ Note: This field may return null, indicating that no valid value can be obtained.
1659
+ * @type {string || null}
1660
+ */
1661
+ this.Text = null;
1662
+
1663
+ /**
1664
+ * Hotword weight. The value can be 11 or 100 or be in the range of 1 to 10.
1665
+ Note: This field may return null, indicating that no valid value can be obtained.
1666
+ * @type {number || null}
1667
+ */
1668
+ this.Weight = null;
1669
+
1670
+ }
1671
+
1672
+ /**
1673
+ * @private
1674
+ */
1675
+ deserialize(params) {
1676
+ if (!params) {
1677
+ return;
1678
+ }
1679
+ this.Id = 'Id' in params ? params.Id : null;
1680
+ this.Text = 'Text' in params ? params.Text : null;
1681
+ this.Weight = 'Weight' in params ? params.Weight : null;
1682
+
1683
+ }
1684
+ }
1685
+
1641
1686
  /**
1642
1687
  * OCR-detected prohibited information in text
1643
1688
  * @class
@@ -1719,6 +1764,50 @@ class DeleteScheduleResponse extends AbstractModel {
1719
1764
  }
1720
1765
  }
1721
1766
 
1767
+ /**
1768
+ * Translation result.
1769
+ * @class
1770
+ */
1771
+ class SmartSubtitleTaskTransTextResultOutput extends AbstractModel {
1772
+ constructor(){
1773
+ super();
1774
+
1775
+ /**
1776
+ * List of segments for translation.
1777
+ Note: This field may return null, indicating that no valid value can be obtained.
1778
+ * @type {Array.<SmartSubtitleTaskTransTextSegmentItem> || null}
1779
+ */
1780
+ this.SegmentSet = null;
1781
+
1782
+ /**
1783
+ * Subtitle file path.
1784
+ * @type {string || null}
1785
+ */
1786
+ this.SubtitlePath = null;
1787
+
1788
+ }
1789
+
1790
+ /**
1791
+ * @private
1792
+ */
1793
+ deserialize(params) {
1794
+ if (!params) {
1795
+ return;
1796
+ }
1797
+
1798
+ if (params.SegmentSet) {
1799
+ this.SegmentSet = new Array();
1800
+ for (let z in params.SegmentSet) {
1801
+ let obj = new SmartSubtitleTaskTransTextSegmentItem();
1802
+ obj.deserialize(params.SegmentSet[z]);
1803
+ this.SegmentSet.push(obj);
1804
+ }
1805
+ }
1806
+ this.SubtitlePath = 'SubtitlePath' in params ? params.SubtitlePath : null;
1807
+
1808
+ }
1809
+ }
1810
+
1722
1811
  /**
1723
1812
  * ManageTask response structure.
1724
1813
  * @class
@@ -2137,6 +2226,89 @@ class AiReviewPoliticalOcrTaskInput extends AbstractModel {
2137
2226
  }
2138
2227
  }
2139
2228
 
2229
+ /**
2230
+ * Translation result.
2231
+ * @class
2232
+ */
2233
+ class SmartSubtitleTaskTransTextResult extends AbstractModel {
2234
+ constructor(){
2235
+ super();
2236
+
2237
+ /**
2238
+ * Task status, including PROCESSING, SUCCESS, and FAIL.
2239
+ * @type {string || null}
2240
+ */
2241
+ this.Status = null;
2242
+
2243
+ /**
2244
+ * Error code. An empty string indicates that the task is successful, and other values indicate that the task has failed. For specific values, see [Error Codes] (https://intl.cloud.tencent.com/document/product/862/50369?from_cn_redirect=1#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81).
2245
+ * @type {string || null}
2246
+ */
2247
+ this.ErrCodeExt = null;
2248
+
2249
+ /**
2250
+ * Error code. 0 indicates that the task is successful, and other values indicate that the task has failed. (This field is not recommended. Use the new error code field ErrCodeExt instead.)
2251
+ * @type {number || null}
2252
+ */
2253
+ this.ErrCode = null;
2254
+
2255
+ /**
2256
+ * Error message.
2257
+ * @type {string || null}
2258
+ */
2259
+ this.Message = null;
2260
+
2261
+ /**
2262
+ * Translation task input information.
2263
+ Note: This field may return null, indicating that no valid value can be obtained.
2264
+ * @type {SmartSubtitleTaskResultInput || null}
2265
+ */
2266
+ this.Input = null;
2267
+
2268
+ /**
2269
+ * Translation task output information.
2270
+ Note: This field may return null, indicating that no valid value can be obtained.
2271
+ * @type {SmartSubtitleTaskTransTextResultOutput || null}
2272
+ */
2273
+ this.Output = null;
2274
+
2275
+ /**
2276
+ * Task progress.
2277
+ Note: This field may return null, indicating that no valid value can be obtained.
2278
+ * @type {number || null}
2279
+ */
2280
+ this.Progress = null;
2281
+
2282
+ }
2283
+
2284
+ /**
2285
+ * @private
2286
+ */
2287
+ deserialize(params) {
2288
+ if (!params) {
2289
+ return;
2290
+ }
2291
+ this.Status = 'Status' in params ? params.Status : null;
2292
+ this.ErrCodeExt = 'ErrCodeExt' in params ? params.ErrCodeExt : null;
2293
+ this.ErrCode = 'ErrCode' in params ? params.ErrCode : null;
2294
+ this.Message = 'Message' in params ? params.Message : null;
2295
+
2296
+ if (params.Input) {
2297
+ let obj = new SmartSubtitleTaskResultInput();
2298
+ obj.deserialize(params.Input)
2299
+ this.Input = obj;
2300
+ }
2301
+
2302
+ if (params.Output) {
2303
+ let obj = new SmartSubtitleTaskTransTextResultOutput();
2304
+ obj.deserialize(params.Output)
2305
+ this.Output = obj;
2306
+ }
2307
+ this.Progress = 'Progress' in params ? params.Progress : null;
2308
+
2309
+ }
2310
+ }
2311
+
2140
2312
  /**
2141
2313
  * Audio/Video enhancement configuration.
2142
2314
  * @class
@@ -2418,6 +2590,138 @@ There can be up to 10 tags, each with a length limit of 16 characters.
2418
2590
  }
2419
2591
  }
2420
2592
 
2593
+ /**
2594
+ * DescribeAsrHotwords request structure.
2595
+ * @class
2596
+ */
2597
+ class DescribeAsrHotwordsRequest extends AbstractModel {
2598
+ constructor(){
2599
+ super();
2600
+
2601
+ /**
2602
+ * ID of the hotword lexicon to be queried.
2603
+ **Note: Either HotwordsId or Name should be specified. If both are specified, HotwordsId has a higher priority than Name.**
2604
+ * @type {string || null}
2605
+ */
2606
+ this.HotwordsId = null;
2607
+
2608
+ /**
2609
+ * Hotword lexicon name.
2610
+ **Note: Either HotwordsId or Name should be specified. If both are specified, HotwordsId has a higher priority than Name.**
2611
+ * @type {string || null}
2612
+ */
2613
+ this.Name = null;
2614
+
2615
+ /**
2616
+ * Paging offset. Default value: 0.
2617
+
2618
+
2619
+ * @type {number || null}
2620
+ */
2621
+ this.Offset = null;
2622
+
2623
+ /**
2624
+ * Number of returned entries. Default value: 10. Maximum value: 100.
2625
+ * @type {number || null}
2626
+ */
2627
+ this.Limit = null;
2628
+
2629
+ /**
2630
+ * Hotword sorting field. Valid values:
2631
+
2632
+ - Default: Sort by the hotword upload sequence.
2633
+ - Weight: Sort by the weight.
2634
+ - Lexical: Sort by the first letter of hotwords.
2635
+ * @type {string || null}
2636
+ */
2637
+ this.OrderBy = null;
2638
+
2639
+ /**
2640
+ * Hotword sorting order. 0: ascending (default); 1: descending.
2641
+ * @type {number || null}
2642
+ */
2643
+ this.OrderType = null;
2644
+
2645
+ }
2646
+
2647
+ /**
2648
+ * @private
2649
+ */
2650
+ deserialize(params) {
2651
+ if (!params) {
2652
+ return;
2653
+ }
2654
+ this.HotwordsId = 'HotwordsId' in params ? params.HotwordsId : null;
2655
+ this.Name = 'Name' in params ? params.Name : null;
2656
+ this.Offset = 'Offset' in params ? params.Offset : null;
2657
+ this.Limit = 'Limit' in params ? params.Limit : null;
2658
+ this.OrderBy = 'OrderBy' in params ? params.OrderBy : null;
2659
+ this.OrderType = 'OrderType' in params ? params.OrderType : null;
2660
+
2661
+ }
2662
+ }
2663
+
2664
+ /**
2665
+ * Audio track information.
2666
+ * @class
2667
+ */
2668
+ class AudioTrackChannelInfo extends AbstractModel {
2669
+ constructor(){
2670
+ super();
2671
+
2672
+ /**
2673
+ * Whether to enable audio mix. valid values:.
2674
+ 0: indicates not enabling audio mix.
2675
+ 1: Indicates enabling audio mix.
2676
+ Default value: 0
2677
+
2678
+ Note: This field may return null, indicating that no valid value can be obtained.
2679
+ * @type {number || null}
2680
+ */
2681
+ this.ChannelsRemix = null;
2682
+
2683
+ /**
2684
+ * Audio track input type. valid values:.
2685
+ trask: indicates usage of the audio track id.
2686
+ Task_channel: indicates usage of the audio track id and sound channel id.
2687
+ Default: trask.
2688
+ If the original aduio track is multichannel, recommend using trask_channel.
2689
+ Note: This field may return null, indicating that no valid value can be obtained.
2690
+ * @type {string || null}
2691
+ */
2692
+ this.SelectType = null;
2693
+
2694
+ /**
2695
+ * Audio track information.
2696
+ Note: This field may return null, indicating that no valid value can be obtained.
2697
+ * @type {Array.<TrackInfo> || null}
2698
+ */
2699
+ this.InputTrackInfo = null;
2700
+
2701
+ }
2702
+
2703
+ /**
2704
+ * @private
2705
+ */
2706
+ deserialize(params) {
2707
+ if (!params) {
2708
+ return;
2709
+ }
2710
+ this.ChannelsRemix = 'ChannelsRemix' in params ? params.ChannelsRemix : null;
2711
+ this.SelectType = 'SelectType' in params ? params.SelectType : null;
2712
+
2713
+ if (params.InputTrackInfo) {
2714
+ this.InputTrackInfo = new Array();
2715
+ for (let z in params.InputTrackInfo) {
2716
+ let obj = new TrackInfo();
2717
+ obj.deserialize(params.InputTrackInfo[z]);
2718
+ this.InputTrackInfo.push(obj);
2719
+ }
2720
+ }
2721
+
2722
+ }
2723
+ }
2724
+
2421
2725
  /**
2422
2726
  *
2423
2727
  * @class
@@ -2683,29 +2987,42 @@ Note: This field may return `null`, indicating that no valid values can be obtai
2683
2987
  }
2684
2988
 
2685
2989
  /**
2686
- * ManageTask request structure.
2990
+ * AI-based sample management - keyword output information.
2687
2991
  * @class
2688
2992
  */
2689
- class ManageTaskRequest extends AbstractModel {
2993
+ class AiSampleWord extends AbstractModel {
2690
2994
  constructor(){
2691
2995
  super();
2692
2996
 
2693
2997
  /**
2694
- * Operation type. Valid values:
2695
- <ul>
2696
- <li>Abort: task termination. Description:
2697
- <ul><li>If the [task type](https://intl.cloud.tencent.com/document/product/862/37614?from_cn_redirect=1#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0) is live stream processing (`LiveStreamProcessTask`), tasks whose [task status](https://intl.cloud.tencent.com/document/product/862/37614?from_cn_redirect=1#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0) is `WAITING` or `PROCESSING` can be terminated.</li>
2698
- <li>For other [task types](https://intl.cloud.tencent.com/document/product/862/37614?from_cn_redirect=1#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0), only tasks whose [task status](https://intl.cloud.tencent.com/document/product/862/37614?from_cn_redirect=1#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0) is `WAITING` can be terminated.</li></ul>
2699
- </li></ul>
2998
+ * Keyword.
2700
2999
  * @type {string || null}
2701
3000
  */
2702
- this.OperationType = null;
3001
+ this.Keyword = null;
2703
3002
 
2704
3003
  /**
2705
- * Video processing task ID.
2706
- * @type {string || null}
3004
+ * Keyword tag.
3005
+ * @type {Array.<string> || null}
2707
3006
  */
2708
- this.TaskId = null;
3007
+ this.TagSet = null;
3008
+
3009
+ /**
3010
+ * Keyword use case.
3011
+ * @type {Array.<string> || null}
3012
+ */
3013
+ this.UsageSet = null;
3014
+
3015
+ /**
3016
+ * Creation time in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F).
3017
+ * @type {string || null}
3018
+ */
3019
+ this.CreateTime = null;
3020
+
3021
+ /**
3022
+ * Last modified time in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F).
3023
+ * @type {string || null}
3024
+ */
3025
+ this.UpdateTime = null;
2709
3026
 
2710
3027
  }
2711
3028
 
@@ -2716,8 +3033,11 @@ class ManageTaskRequest extends AbstractModel {
2716
3033
  if (!params) {
2717
3034
  return;
2718
3035
  }
2719
- this.OperationType = 'OperationType' in params ? params.OperationType : null;
2720
- this.TaskId = 'TaskId' in params ? params.TaskId : null;
3036
+ this.Keyword = 'Keyword' in params ? params.Keyword : null;
3037
+ this.TagSet = 'TagSet' in params ? params.TagSet : null;
3038
+ this.UsageSet = 'UsageSet' in params ? params.UsageSet : null;
3039
+ this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
3040
+ this.UpdateTime = 'UpdateTime' in params ? params.UpdateTime : null;
2721
3041
 
2722
3042
  }
2723
3043
  }
@@ -4129,6 +4449,79 @@ class AiRecognitionTaskInput extends AbstractModel {
4129
4449
  }
4130
4450
  }
4131
4451
 
4452
+ /**
4453
+ * Result type of intelligent frame-specific tagging
4454
+ * @class
4455
+ */
4456
+ class AiAnalysisTaskFrameTagResult extends AbstractModel {
4457
+ constructor(){
4458
+ super();
4459
+
4460
+ /**
4461
+ * Task status. Valid values: PROCESSING, SUCCESS, FAIL.
4462
+ * @type {string || null}
4463
+ */
4464
+ this.Status = null;
4465
+
4466
+ /**
4467
+ * The error code. An empty string indicates the task is successful; any other value returned indicates the task failed. For details, see [Error Codes](https://intl.cloud.tencent.com/document/product/1041/40249).
4468
+ * @type {string || null}
4469
+ */
4470
+ this.ErrCodeExt = null;
4471
+
4472
+ /**
4473
+ * Error code. 0 indicates the task is successful; otherwise it is failed. This parameter is no longer recommended. Consider using the new error code parameter ErrCodeExt.
4474
+ * @type {number || null}
4475
+ */
4476
+ this.ErrCode = null;
4477
+
4478
+ /**
4479
+ * Error message.
4480
+ * @type {string || null}
4481
+ */
4482
+ this.Message = null;
4483
+
4484
+ /**
4485
+ * Input of intelligent frame-specific tagging task.
4486
+ * @type {AiAnalysisTaskFrameTagInput || null}
4487
+ */
4488
+ this.Input = null;
4489
+
4490
+ /**
4491
+ * Output of intelligent frame-specific tagging task.
4492
+ * @type {AiAnalysisTaskFrameTagOutput || null}
4493
+ */
4494
+ this.Output = null;
4495
+
4496
+ }
4497
+
4498
+ /**
4499
+ * @private
4500
+ */
4501
+ deserialize(params) {
4502
+ if (!params) {
4503
+ return;
4504
+ }
4505
+ this.Status = 'Status' in params ? params.Status : null;
4506
+ this.ErrCodeExt = 'ErrCodeExt' in params ? params.ErrCodeExt : null;
4507
+ this.ErrCode = 'ErrCode' in params ? params.ErrCode : null;
4508
+ this.Message = 'Message' in params ? params.Message : null;
4509
+
4510
+ if (params.Input) {
4511
+ let obj = new AiAnalysisTaskFrameTagInput();
4512
+ obj.deserialize(params.Input)
4513
+ this.Input = obj;
4514
+ }
4515
+
4516
+ if (params.Output) {
4517
+ let obj = new AiAnalysisTaskFrameTagOutput();
4518
+ obj.deserialize(params.Output)
4519
+ this.Output = obj;
4520
+ }
4521
+
4522
+ }
4523
+ }
4524
+
4132
4525
  /**
4133
4526
  * The information of a video editing/compositing task.
4134
4527
 
@@ -5558,6 +5951,34 @@ class AiRecognitionTaskOcrWordsResultOutput extends AbstractModel {
5558
5951
  }
5559
5952
  }
5560
5953
 
5954
+ /**
5955
+ * ModifyLiveRecordTemplate response structure.
5956
+ * @class
5957
+ */
5958
+ class ModifyLiveRecordTemplateResponse extends AbstractModel {
5959
+ constructor(){
5960
+ super();
5961
+
5962
+ /**
5963
+ * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
5964
+ * @type {string || null}
5965
+ */
5966
+ this.RequestId = null;
5967
+
5968
+ }
5969
+
5970
+ /**
5971
+ * @private
5972
+ */
5973
+ deserialize(params) {
5974
+ if (!params) {
5975
+ return;
5976
+ }
5977
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
5978
+
5979
+ }
5980
+ }
5981
+
5561
5982
  /**
5562
5983
  * Segment information.
5563
5984
  * @class
@@ -5877,6 +6298,64 @@ class AiAnalysisTaskClassificationOutput extends AbstractModel {
5877
6298
  }
5878
6299
  }
5879
6300
 
6301
+ /**
6302
+ * DescribeSmartSubtitleTemplates request structure.
6303
+ * @class
6304
+ */
6305
+ class DescribeSmartSubtitleTemplatesRequest extends AbstractModel {
6306
+ constructor(){
6307
+ super();
6308
+
6309
+ /**
6310
+ * Condition for filtering smart subtitle templates by unique identifier. The array can contain up to 10 unique identifiers.
6311
+ * @type {Array.<number> || null}
6312
+ */
6313
+ this.Definitions = null;
6314
+
6315
+ /**
6316
+ * Paging offset. Default value: 0.
6317
+ * @type {number || null}
6318
+ */
6319
+ this.Offset = null;
6320
+
6321
+ /**
6322
+ * Number of returned entries. Default value: 10. Maximum value: 100.
6323
+ * @type {number || null}
6324
+ */
6325
+ this.Limit = null;
6326
+
6327
+ /**
6328
+ * Condition for filtering templates by type. If this field is not specified, all templates are returned. Valid values:
6329
+ * Preset: system preset template
6330
+ * Custom: user-defined template
6331
+ * @type {string || null}
6332
+ */
6333
+ this.Type = null;
6334
+
6335
+ /**
6336
+ * Condition for filtering smart subtitle templates by ID. Length limit: 64 characters.
6337
+ * @type {string || null}
6338
+ */
6339
+ this.Name = null;
6340
+
6341
+ }
6342
+
6343
+ /**
6344
+ * @private
6345
+ */
6346
+ deserialize(params) {
6347
+ if (!params) {
6348
+ return;
6349
+ }
6350
+ this.Definitions = 'Definitions' in params ? params.Definitions : null;
6351
+ this.Offset = 'Offset' in params ? params.Offset : null;
6352
+ this.Limit = 'Limit' in params ? params.Limit : null;
6353
+ this.Type = 'Type' in params ? params.Type : null;
6354
+ this.Name = 'Name' in params ? params.Name : null;
6355
+
6356
+ }
6357
+ }
6358
+
5880
6359
  /**
5881
6360
  * Output of full text recognition.
5882
6361
  * @class
@@ -6224,6 +6703,24 @@ Note: This field may return null, indicating that no valid values can be obtaine
6224
6703
  */
6225
6704
  this.VideoStreamSet = null;
6226
6705
 
6706
+ /**
6707
+ * Enhancement items used for video transcoding. Descriptions of enhancement items:
6708
+ <li>hdr: HDR configuration</li>
6709
+ <li>wd_fps: configuration of frame interpolation for higher frame rate</li>
6710
+ <li>video_super_resolution: super-resolution configuration</li>
6711
+ <li>repair: comprehensive enhancement configuration</li>
6712
+ <li>denoise: video denoising configuration</li>
6713
+ <Li>color_enhance: color enhancement configuration</li>
6714
+ <Li>scratch: scratch removal configuration</li>
6715
+ <li>artifact: artifact (glitch) removal configuration</li>
6716
+ <li>sharp: detail enhancement configuration</li>
6717
+ <Li>low_light: low-light enhancement configuration</li>
6718
+ <Li>face_enhance: face enhancement configuration</li>
6719
+ Note: This field may return null, indicating that no valid value can be obtained.
6720
+ * @type {string || null}
6721
+ */
6722
+ this.CallBackExtInfo = null;
6723
+
6227
6724
  }
6228
6725
 
6229
6726
  /**
@@ -6266,6 +6763,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
6266
6763
  this.VideoStreamSet.push(obj);
6267
6764
  }
6268
6765
  }
6766
+ this.CallBackExtInfo = 'CallBackExtInfo' in params ? params.CallBackExtInfo : null;
6269
6767
 
6270
6768
  }
6271
6769
  }
@@ -6584,6 +7082,13 @@ Note: This field may return null, indicating that no valid values can be obtaine
6584
7082
  */
6585
7083
  this.QualityControlTask = null;
6586
7084
 
7085
+ /**
7086
+ * Smart subtitle task.
7087
+ Note: This field may return null, indicating that no valid value can be obtained.
7088
+ * @type {SmartSubtitlesTaskInput || null}
7089
+ */
7090
+ this.SmartSubtitlesTask = null;
7091
+
6587
7092
  }
6588
7093
 
6589
7094
  /**
@@ -6654,6 +7159,12 @@ Note: This field may return null, indicating that no valid values can be obtaine
6654
7159
  this.QualityControlTask = obj;
6655
7160
  }
6656
7161
 
7162
+ if (params.SmartSubtitlesTask) {
7163
+ let obj = new SmartSubtitlesTaskInput();
7164
+ obj.deserialize(params.SmartSubtitlesTask)
7165
+ this.SmartSubtitlesTask = obj;
7166
+ }
7167
+
6657
7168
  }
6658
7169
  }
6659
7170
 
@@ -8510,48 +9021,18 @@ class ModifyAnimatedGraphicsTemplateResponse extends AbstractModel {
8510
9021
  }
8511
9022
 
8512
9023
  /**
8513
- * Result type of intelligent frame-specific tagging
9024
+ * DeleteSmartSubtitleTemplate request structure.
8514
9025
  * @class
8515
9026
  */
8516
- class AiAnalysisTaskFrameTagResult extends AbstractModel {
9027
+ class DeleteSmartSubtitleTemplateRequest extends AbstractModel {
8517
9028
  constructor(){
8518
9029
  super();
8519
9030
 
8520
9031
  /**
8521
- * Task status. Valid values: PROCESSING, SUCCESS, FAIL.
8522
- * @type {string || null}
8523
- */
8524
- this.Status = null;
8525
-
8526
- /**
8527
- * The error code. An empty string indicates the task is successful; any other value returned indicates the task failed. For details, see [Error Codes](https://intl.cloud.tencent.com/document/product/1041/40249).
8528
- * @type {string || null}
8529
- */
8530
- this.ErrCodeExt = null;
8531
-
8532
- /**
8533
- * Error code. 0 indicates the task is successful; otherwise it is failed. This parameter is no longer recommended. Consider using the new error code parameter ErrCodeExt.
9032
+ * Unique identifier of the smart subtitle template.
8534
9033
  * @type {number || null}
8535
9034
  */
8536
- this.ErrCode = null;
8537
-
8538
- /**
8539
- * Error message.
8540
- * @type {string || null}
8541
- */
8542
- this.Message = null;
8543
-
8544
- /**
8545
- * Input of intelligent frame-specific tagging task.
8546
- * @type {AiAnalysisTaskFrameTagInput || null}
8547
- */
8548
- this.Input = null;
8549
-
8550
- /**
8551
- * Output of intelligent frame-specific tagging task.
8552
- * @type {AiAnalysisTaskFrameTagOutput || null}
8553
- */
8554
- this.Output = null;
9035
+ this.Definition = null;
8555
9036
 
8556
9037
  }
8557
9038
 
@@ -8562,22 +9043,7 @@ class AiAnalysisTaskFrameTagResult extends AbstractModel {
8562
9043
  if (!params) {
8563
9044
  return;
8564
9045
  }
8565
- this.Status = 'Status' in params ? params.Status : null;
8566
- this.ErrCodeExt = 'ErrCodeExt' in params ? params.ErrCodeExt : null;
8567
- this.ErrCode = 'ErrCode' in params ? params.ErrCode : null;
8568
- this.Message = 'Message' in params ? params.Message : null;
8569
-
8570
- if (params.Input) {
8571
- let obj = new AiAnalysisTaskFrameTagInput();
8572
- obj.deserialize(params.Input)
8573
- this.Input = obj;
8574
- }
8575
-
8576
- if (params.Output) {
8577
- let obj = new AiAnalysisTaskFrameTagOutput();
8578
- obj.deserialize(params.Output)
8579
- this.Output = obj;
8580
- }
9046
+ this.Definition = 'Definition' in params ? params.Definition : null;
8581
9047
 
8582
9048
  }
8583
9049
  }
@@ -9020,27 +9486,55 @@ Note: If this parameter is not empty, the task is a video compositing task. Othe
9020
9486
  }
9021
9487
 
9022
9488
  /**
9023
- * The AWS S3 storage information of a source file.
9489
+ * DeleteAsrHotwords request structure.
9024
9490
  * @class
9025
9491
  */
9026
- class S3InputInfo extends AbstractModel {
9492
+ class DeleteAsrHotwordsRequest extends AbstractModel {
9027
9493
  constructor(){
9028
9494
  super();
9029
9495
 
9030
9496
  /**
9031
- * The AWS S3 bucket.
9497
+ * ID of the hotword lexicon to be deleted.
9032
9498
  * @type {string || null}
9033
9499
  */
9034
- this.S3Bucket = null;
9500
+ this.HotwordsId = null;
9035
9501
 
9036
- /**
9037
- * The region of the AWS S3 bucket.
9038
- * @type {string || null}
9039
- */
9040
- this.S3Region = null;
9502
+ }
9041
9503
 
9042
- /**
9043
- * The path of the AWS S3 object.
9504
+ /**
9505
+ * @private
9506
+ */
9507
+ deserialize(params) {
9508
+ if (!params) {
9509
+ return;
9510
+ }
9511
+ this.HotwordsId = 'HotwordsId' in params ? params.HotwordsId : null;
9512
+
9513
+ }
9514
+ }
9515
+
9516
+ /**
9517
+ * The AWS S3 storage information of a source file.
9518
+ * @class
9519
+ */
9520
+ class S3InputInfo extends AbstractModel {
9521
+ constructor(){
9522
+ super();
9523
+
9524
+ /**
9525
+ * The AWS S3 bucket.
9526
+ * @type {string || null}
9527
+ */
9528
+ this.S3Bucket = null;
9529
+
9530
+ /**
9531
+ * The region of the AWS S3 bucket.
9532
+ * @type {string || null}
9533
+ */
9534
+ this.S3Region = null;
9535
+
9536
+ /**
9537
+ * The path of the AWS S3 object.
9044
9538
  * @type {string || null}
9045
9539
  */
9046
9540
  this.S3Object = null;
@@ -9149,6 +9643,85 @@ Note: This field may return null, indicating that no valid values can be obtaine
9149
9643
  }
9150
9644
  }
9151
9645
 
9646
+ /**
9647
+ * DescribeAsrHotwordsList request structure.
9648
+ * @class
9649
+ */
9650
+ class DescribeAsrHotwordsListRequest extends AbstractModel {
9651
+ constructor(){
9652
+ super();
9653
+
9654
+ /**
9655
+ * Parameter for querying by hotword lexicon ID.
9656
+ * @type {string || null}
9657
+ */
9658
+ this.HotwordsId = null;
9659
+
9660
+ /**
9661
+ * Parameter for querying by hotword lexicon name.
9662
+ * @type {string || null}
9663
+ */
9664
+ this.Name = null;
9665
+
9666
+ /**
9667
+ * Paging offset. Default value: 0.
9668
+ * @type {number || null}
9669
+ */
9670
+ this.Offset = null;
9671
+
9672
+ /**
9673
+ * Number of returned entries. All hotword lexicons are returned by default.
9674
+ * @type {number || null}
9675
+ */
9676
+ this.Limit = null;
9677
+
9678
+ /**
9679
+ * Hotword lexicon sorting order.
9680
+
9681
+ 0: ascending (default)
9682
+ 1: descending
9683
+ * @type {number || null}
9684
+ */
9685
+ this.OrderType = null;
9686
+
9687
+ /**
9688
+ * Sorts hotword lexicons by a specific field. By default, hotword lexicons are sorted by creation time. If an invalid field is used for sorting, the default sorting field applies.
9689
+
9690
+ - CreateTime: sort by creation time
9691
+ - UpdateTime: sort by update time
9692
+ - Name: sort by hotword lexicon name
9693
+ - WordCount: sort by the number of hotwords
9694
+ - HotwordsId: sort by hotword lexicon ID
9695
+ * @type {string || null}
9696
+ */
9697
+ this.OrderBy = null;
9698
+
9699
+ /**
9700
+ * 0: temporary hotword; 1 file-based hotword.
9701
+ * @type {Array.<number> || null}
9702
+ */
9703
+ this.Types = null;
9704
+
9705
+ }
9706
+
9707
+ /**
9708
+ * @private
9709
+ */
9710
+ deserialize(params) {
9711
+ if (!params) {
9712
+ return;
9713
+ }
9714
+ this.HotwordsId = 'HotwordsId' in params ? params.HotwordsId : null;
9715
+ this.Name = 'Name' in params ? params.Name : null;
9716
+ this.Offset = 'Offset' in params ? params.Offset : null;
9717
+ this.Limit = 'Limit' in params ? params.Limit : null;
9718
+ this.OrderType = 'OrderType' in params ? params.OrderType : null;
9719
+ this.OrderBy = 'OrderBy' in params ? params.OrderBy : null;
9720
+ this.Types = 'Types' in params ? params.Types : null;
9721
+
9722
+ }
9723
+ }
9724
+
9152
9725
  /**
9153
9726
  * Intelligent description result information.
9154
9727
  * @class
@@ -9470,6 +10043,53 @@ Default value: 0px, which means that `Height` will be proportionally scaled acco
9470
10043
  }
9471
10044
  }
9472
10045
 
10046
+ /**
10047
+ * Audio track info.
10048
+ * @class
10049
+ */
10050
+ class TrackInfo extends AbstractModel {
10051
+ constructor(){
10052
+ super();
10053
+
10054
+ /**
10055
+ * Audio track and sound channel serial number, description:
10056
+ When the SelectType value is trask, this value is of the integer type, for example: 1.
10057
+ When the SelectType value is trask_channel, this value is of the decimal type, for example: 1.0.
10058
+ Default value: `1.0`.
10059
+ The integer part represents the audio track serial number, and the decimal part represents the sound channel. The audio track serial number is the stream index of the audio track, and input of 0 and positive integers is supported. The decimal part supports up to 2 decimal places, and only 0 - 63 is supported. However, when the Codec is aac/eac3/ac3, only 0 - 15 is supported for the decimal part. For example: for an audio track with a stream index of 1, 1.0 represents the first sound channel of this audio track, and 1.1 represents the second sound channel of this audio track.
10060
+ Note: This field may return null, indicating that no valid value can be obtained.
10061
+ * @type {string || null}
10062
+ */
10063
+ this.TrackNum = null;
10064
+
10065
+ /**
10066
+ * Sound channel volume. specifies the volume of the sound channel.
10067
+ When the value of AudioChannel is 1, the value length is 1.
10068
+ When the value of AudioChannel is 2, the value length is 2.
10069
+ When the value of AudioChannel is 6, the length of this value is greater than 2.
10070
+ The array value of this parameter has a valid value range of [-60, 6]. among them, -60 indicates mute, 0 indicates keeping the original volume, and 6 means doubling the original volume. the default value is -60.
10071
+ Supports 3 decimal places.
10072
+
10073
+ Note: This field may return null, indicating that no valid value can be obtained.
10074
+ * @type {Array.<number> || null}
10075
+ */
10076
+ this.ChannelVolume = null;
10077
+
10078
+ }
10079
+
10080
+ /**
10081
+ * @private
10082
+ */
10083
+ deserialize(params) {
10084
+ if (!params) {
10085
+ return;
10086
+ }
10087
+ this.TrackNum = 'TrackNum' in params ? params.TrackNum : null;
10088
+ this.ChannelVolume = 'ChannelVolume' in params ? params.ChannelVolume : null;
10089
+
10090
+ }
10091
+ }
10092
+
9473
10093
  /**
9474
10094
  * The live recording result.
9475
10095
  * @class
@@ -11841,6 +12461,41 @@ class AiAnalysisTaskTagOutput extends AbstractModel {
11841
12461
  }
11842
12462
  }
11843
12463
 
12464
+ /**
12465
+ * CreateAsrHotwords response structure.
12466
+ * @class
12467
+ */
12468
+ class CreateAsrHotwordsResponse extends AbstractModel {
12469
+ constructor(){
12470
+ super();
12471
+
12472
+ /**
12473
+ * Hotword lexicon ID.
12474
+ * @type {string || null}
12475
+ */
12476
+ this.HotwordsId = null;
12477
+
12478
+ /**
12479
+ * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
12480
+ * @type {string || null}
12481
+ */
12482
+ this.RequestId = null;
12483
+
12484
+ }
12485
+
12486
+ /**
12487
+ * @private
12488
+ */
12489
+ deserialize(params) {
12490
+ if (!params) {
12491
+ return;
12492
+ }
12493
+ this.HotwordsId = 'HotwordsId' in params ? params.HotwordsId : null;
12494
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
12495
+
12496
+ }
12497
+ }
12498
+
11844
12499
  /**
11845
12500
  * The output of an intelligent highlight generation task.
11846
12501
  * @class
@@ -12130,6 +12785,27 @@ Note 3: The trigger configured for an orchestration is for automatically startin
12130
12785
  */
12131
12786
  this.TaskType = null;
12132
12787
 
12788
+ /**
12789
+ * Resource ID. Ensure the corresponding resource is in the enabled state. The default value is an account's primary resource ID.
12790
+ * @type {string || null}
12791
+ */
12792
+ this.ResourceId = null;
12793
+
12794
+ /**
12795
+ * Smart subtitle task.
12796
+ * @type {SmartSubtitlesTaskInput || null}
12797
+ */
12798
+ this.SmartSubtitlesTask = null;
12799
+
12800
+ /**
12801
+ * Whether to skip metadata acquisition. Valid values:
12802
+ 0: do not skip
12803
+ 1: skip
12804
+ Default value: 0
12805
+ * @type {number || null}
12806
+ */
12807
+ this.SkipMateData = null;
12808
+
12133
12809
  }
12134
12810
 
12135
12811
  /**
@@ -12193,6 +12869,14 @@ Note 3: The trigger configured for an orchestration is for automatically startin
12193
12869
  this.SessionId = 'SessionId' in params ? params.SessionId : null;
12194
12870
  this.SessionContext = 'SessionContext' in params ? params.SessionContext : null;
12195
12871
  this.TaskType = 'TaskType' in params ? params.TaskType : null;
12872
+ this.ResourceId = 'ResourceId' in params ? params.ResourceId : null;
12873
+
12874
+ if (params.SmartSubtitlesTask) {
12875
+ let obj = new SmartSubtitlesTaskInput();
12876
+ obj.deserialize(params.SmartSubtitlesTask)
12877
+ this.SmartSubtitlesTask = obj;
12878
+ }
12879
+ this.SkipMateData = 'SkipMateData' in params ? params.SkipMateData : null;
12196
12880
 
12197
12881
  }
12198
12882
  }
@@ -12667,42 +13351,29 @@ Note: This field may return null, indicating that no valid values can be obtaine
12667
13351
  }
12668
13352
 
12669
13353
  /**
12670
- * AI-based sample management - keyword output information.
13354
+ * ManageTask request structure.
12671
13355
  * @class
12672
13356
  */
12673
- class AiSampleWord extends AbstractModel {
13357
+ class ManageTaskRequest extends AbstractModel {
12674
13358
  constructor(){
12675
13359
  super();
12676
13360
 
12677
13361
  /**
12678
- * Keyword.
12679
- * @type {string || null}
12680
- */
12681
- this.Keyword = null;
12682
-
12683
- /**
12684
- * Keyword tag.
12685
- * @type {Array.<string> || null}
12686
- */
12687
- this.TagSet = null;
12688
-
12689
- /**
12690
- * Keyword use case.
12691
- * @type {Array.<string> || null}
12692
- */
12693
- this.UsageSet = null;
12694
-
12695
- /**
12696
- * Creation time in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F).
13362
+ * Operation type. Valid values:
13363
+ <ul>
13364
+ <li>Abort: task termination. Description:
13365
+ <ul><li>If the [task type](https://intl.cloud.tencent.com/document/product/862/37614?from_cn_redirect=1#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0) is live stream processing (`LiveStreamProcessTask`), tasks whose [task status](https://intl.cloud.tencent.com/document/product/862/37614?from_cn_redirect=1#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0) is `WAITING` or `PROCESSING` can be terminated.</li>
13366
+ <li>For other [task types](https://intl.cloud.tencent.com/document/product/862/37614?from_cn_redirect=1#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0), only tasks whose [task status](https://intl.cloud.tencent.com/document/product/862/37614?from_cn_redirect=1#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0) is `WAITING` can be terminated.</li></ul>
13367
+ </li></ul>
12697
13368
  * @type {string || null}
12698
13369
  */
12699
- this.CreateTime = null;
13370
+ this.OperationType = null;
12700
13371
 
12701
13372
  /**
12702
- * Last modified time in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F).
13373
+ * Video processing task ID.
12703
13374
  * @type {string || null}
12704
13375
  */
12705
- this.UpdateTime = null;
13376
+ this.TaskId = null;
12706
13377
 
12707
13378
  }
12708
13379
 
@@ -12713,11 +13384,8 @@ class AiSampleWord extends AbstractModel {
12713
13384
  if (!params) {
12714
13385
  return;
12715
13386
  }
12716
- this.Keyword = 'Keyword' in params ? params.Keyword : null;
12717
- this.TagSet = 'TagSet' in params ? params.TagSet : null;
12718
- this.UsageSet = 'UsageSet' in params ? params.UsageSet : null;
12719
- this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
12720
- this.UpdateTime = 'UpdateTime' in params ? params.UpdateTime : null;
13387
+ this.OperationType = 'OperationType' in params ? params.OperationType : null;
13388
+ this.TaskId = 'TaskId' in params ? params.TaskId : null;
12721
13389
 
12722
13390
  }
12723
13391
  }
@@ -12789,18 +13457,105 @@ class AiAnalysisTaskSegmentResult extends AbstractModel {
12789
13457
  }
12790
13458
 
12791
13459
  /**
12792
- * Input for full speech recognition.
13460
+ * Custom smart subtitle parameter.
12793
13461
  * @class
12794
13462
  */
12795
- class AiRecognitionTaskAsrFullTextResultInput extends AbstractModel {
13463
+ class RawSmartSubtitleParameter extends AbstractModel {
12796
13464
  constructor(){
12797
13465
  super();
12798
13466
 
12799
13467
  /**
12800
- * Full speech recognition template ID.
13468
+ * Smart subtitle language type.
13469
+ 0: source language1: target language
13470
+ 2: source language + target language
13471
+ The value can only be 0 when TranslateSwitch is set to OFF.The value can only be 1 or 2 when TranslateSwitch is set to ON.
12801
13472
  * @type {number || null}
12802
13473
  */
12803
- this.Definition = null;
13474
+ this.SubtitleType = null;
13475
+
13476
+ /**
13477
+ * Source language of the video with smart subtitles.
13478
+ Supported languages:
13479
+ zh: Simplified Chinese
13480
+ en: English
13481
+ ja: Japanese
13482
+ ko: Korean
13483
+ zh-PY: Chinese-English-Cantonese
13484
+ zh-medical: Medical Chinese
13485
+ yue: Cantonese
13486
+ vi: Vietnamese
13487
+ ms: Malay
13488
+ id: Indonesian
13489
+ fli: Filipino
13490
+ th: Thai
13491
+ pt: Portuguese
13492
+ tr: Turkish
13493
+ ar: Arabic
13494
+ es: Spanish
13495
+ hi: Hindi
13496
+ fr: French
13497
+ de: German
13498
+ zh-dialect: Chinese dialect
13499
+ * @type {string || null}
13500
+ */
13501
+ this.VideoSrcLanguage = null;
13502
+
13503
+ /**
13504
+ * Smart subtitle file format.
13505
+ vtt: WebVTT format
13506
+ If this field is left blank, no subtitle file will be generated.
13507
+ Note: This field may return null, indicating that no valid value can be obtained.
13508
+ * @type {string || null}
13509
+ */
13510
+ this.SubtitleFormat = null;
13511
+
13512
+ /**
13513
+ * Subtitle translation switch.
13514
+ ON: enable translation
13515
+ OFF: disable translation
13516
+ Note: This field may return null, indicating that no valid value can be obtained.
13517
+ * @type {string || null}
13518
+ */
13519
+ this.TranslateSwitch = null;
13520
+
13521
+ /**
13522
+ * Target language for subtitle translation.
13523
+ This field takes effect when TranslateSwitch is set to ON.
13524
+ Supported languages:
13525
+ zh: Simplified Chinese
13526
+ en: English
13527
+ ja: Japanese
13528
+ ko: Korean
13529
+ fr: French
13530
+ es: Spanish
13531
+ it: Italian
13532
+ de: German
13533
+ tr: Turkish
13534
+ ru: Russian
13535
+ pt: Portuguese
13536
+ vi: Vietnamese
13537
+ id: Indonesian
13538
+ ms: Malay
13539
+ th: Thai
13540
+ ar: Arabic
13541
+ hi: Hindi
13542
+ Note: This field may return null, indicating that no valid value can be obtained.
13543
+ * @type {string || null}
13544
+ */
13545
+ this.TranslateDstLanguage = null;
13546
+
13547
+ /**
13548
+ * ASR hotword lexicon parameter.
13549
+ Note: This field may return null, indicating that no valid value can be obtained.
13550
+ * @type {AsrHotWordsConfigure || null}
13551
+ */
13552
+ this.AsrHotWordsConfigure = null;
13553
+
13554
+ /**
13555
+ * Custom parameter.
13556
+ * @type {string || null}
13557
+ */
13558
+ this.ExtInfo = null;
12804
13559
 
12805
13560
  }
12806
13561
 
@@ -12811,24 +13566,63 @@ class AiRecognitionTaskAsrFullTextResultInput extends AbstractModel {
12811
13566
  if (!params) {
12812
13567
  return;
12813
13568
  }
12814
- this.Definition = 'Definition' in params ? params.Definition : null;
13569
+ this.SubtitleType = 'SubtitleType' in params ? params.SubtitleType : null;
13570
+ this.VideoSrcLanguage = 'VideoSrcLanguage' in params ? params.VideoSrcLanguage : null;
13571
+ this.SubtitleFormat = 'SubtitleFormat' in params ? params.SubtitleFormat : null;
13572
+ this.TranslateSwitch = 'TranslateSwitch' in params ? params.TranslateSwitch : null;
13573
+ this.TranslateDstLanguage = 'TranslateDstLanguage' in params ? params.TranslateDstLanguage : null;
13574
+
13575
+ if (params.AsrHotWordsConfigure) {
13576
+ let obj = new AsrHotWordsConfigure();
13577
+ obj.deserialize(params.AsrHotWordsConfigure)
13578
+ this.AsrHotWordsConfigure = obj;
13579
+ }
13580
+ this.ExtInfo = 'ExtInfo' in params ? params.ExtInfo : null;
12815
13581
 
12816
13582
  }
12817
13583
  }
12818
13584
 
12819
13585
  /**
12820
- * Output of speech keyword recognition.
13586
+ * Input for full speech recognition.
12821
13587
  * @class
12822
13588
  */
12823
- class AiRecognitionTaskAsrWordsResultOutput extends AbstractModel {
13589
+ class AiRecognitionTaskAsrFullTextResultInput extends AbstractModel {
12824
13590
  constructor(){
12825
13591
  super();
12826
13592
 
12827
13593
  /**
12828
- * Speech keyword recognition result set.
12829
- * @type {Array.<AiRecognitionTaskAsrWordsResultItem> || null}
13594
+ * Full speech recognition template ID.
13595
+ * @type {number || null}
12830
13596
  */
12831
- this.ResultSet = null;
13597
+ this.Definition = null;
13598
+
13599
+ }
13600
+
13601
+ /**
13602
+ * @private
13603
+ */
13604
+ deserialize(params) {
13605
+ if (!params) {
13606
+ return;
13607
+ }
13608
+ this.Definition = 'Definition' in params ? params.Definition : null;
13609
+
13610
+ }
13611
+ }
13612
+
13613
+ /**
13614
+ * Output of speech keyword recognition.
13615
+ * @class
13616
+ */
13617
+ class AiRecognitionTaskAsrWordsResultOutput extends AbstractModel {
13618
+ constructor(){
13619
+ super();
13620
+
13621
+ /**
13622
+ * Speech keyword recognition result set.
13623
+ * @type {Array.<AiRecognitionTaskAsrWordsResultItem> || null}
13624
+ */
13625
+ this.ResultSet = null;
12832
13626
 
12833
13627
  }
12834
13628
 
@@ -13647,6 +14441,100 @@ There can be up to 10 tags, each with a length limit of 16 characters.
13647
14441
  }
13648
14442
  }
13649
14443
 
14444
+ /**
14445
+ * Result of the smart subtitle scheduling task.
14446
+ * @class
14447
+ */
14448
+ class ScheduleSmartSubtitleTaskResult extends AbstractModel {
14449
+ constructor(){
14450
+ super();
14451
+
14452
+ /**
14453
+ * Task status, including PROCESSING, SUCCESS, and FAIL.
14454
+ * @type {string || null}
14455
+ */
14456
+ this.Status = null;
14457
+
14458
+ /**
14459
+ * Error code. An empty string indicates that the task is successful, and other values indicate that the task has failed. For specific values, see [Error Codes] (https://intl.cloud.tencent.com/document/product/862/50369?from_cn_redirect=1#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81).
14460
+ * @type {string || null}
14461
+ */
14462
+ this.ErrCodeExt = null;
14463
+
14464
+ /**
14465
+ * Error code. 0 indicates that the task is successful, and other values indicate that the task has failed. (This field is not recommended. Use the new error code field ErrCodeExt instead.)
14466
+ * @type {number || null}
14467
+ */
14468
+ this.ErrCode = null;
14469
+
14470
+ /**
14471
+ * Error message.
14472
+ * @type {string || null}
14473
+ */
14474
+ this.Message = null;
14475
+
14476
+ /**
14477
+ * Recognition task input.
14478
+ Note: This field may return null, indicating that no valid value can be obtained.
14479
+ * @type {SmartSubtitlesTaskInput || null}
14480
+ */
14481
+ this.Input = null;
14482
+
14483
+ /**
14484
+ * Recognition task output.
14485
+ Note: This field may return null, indicating that no valid value can be obtained.
14486
+ * @type {Array.<SmartSubtitlesResult> || null}
14487
+ */
14488
+ this.Output = null;
14489
+
14490
+ /**
14491
+ * Task execution start time in [ISO datetime format](https://intl.cloud.tencent.com/document/product/862/37710?from_cn_redirect=1#52).
14492
+ Note: This field may return null, indicating that no valid value can be obtained.
14493
+ * @type {string || null}
14494
+ */
14495
+ this.BeginProcessTime = null;
14496
+
14497
+ /**
14498
+ * Task execution completion time in [ISO datetime format](https://intl.cloud.tencent.com/document/product/862/37710?from_cn_redirect=1#52).
14499
+ Note: This field may return null, indicating that no valid value can be obtained.
14500
+ * @type {string || null}
14501
+ */
14502
+ this.FinishTime = null;
14503
+
14504
+ }
14505
+
14506
+ /**
14507
+ * @private
14508
+ */
14509
+ deserialize(params) {
14510
+ if (!params) {
14511
+ return;
14512
+ }
14513
+ this.Status = 'Status' in params ? params.Status : null;
14514
+ this.ErrCodeExt = 'ErrCodeExt' in params ? params.ErrCodeExt : null;
14515
+ this.ErrCode = 'ErrCode' in params ? params.ErrCode : null;
14516
+ this.Message = 'Message' in params ? params.Message : null;
14517
+
14518
+ if (params.Input) {
14519
+ let obj = new SmartSubtitlesTaskInput();
14520
+ obj.deserialize(params.Input)
14521
+ this.Input = obj;
14522
+ }
14523
+
14524
+ if (params.Output) {
14525
+ this.Output = new Array();
14526
+ for (let z in params.Output) {
14527
+ let obj = new SmartSubtitlesResult();
14528
+ obj.deserialize(params.Output[z]);
14529
+ this.Output.push(obj);
14530
+ }
14531
+ }
14532
+ this.BeginProcessTime = 'BeginProcessTime' in params ? params.BeginProcessTime : null;
14533
+ this.FinishTime = 'FinishTime' in params ? params.FinishTime : null;
14534
+
14535
+ }
14536
+ }
14537
+
13650
14538
  /**
13651
14539
  * DeleteImageSpriteTemplate response structure.
13652
14540
  * @class
@@ -14423,32 +15311,18 @@ and will be deleted after `PicUrlExpireTime`).
14423
15311
  }
14424
15312
 
14425
15313
  /**
14426
- * The parameters for detecting sensitive information based on OCR.
15314
+ * ModifyAsrHotwords response structure.
14427
15315
  * @class
14428
15316
  */
14429
- class TerrorismOcrReviewTemplateInfoForUpdate extends AbstractModel {
15317
+ class ModifyAsrHotwordsResponse extends AbstractModel {
14430
15318
  constructor(){
14431
15319
  super();
14432
15320
 
14433
15321
  /**
14434
- * Whether to detect sensitive information based on OCR. Valid values:
14435
- <li>ON</li>
14436
- <li>OFF</li>
15322
+ * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
14437
15323
  * @type {string || null}
14438
15324
  */
14439
- this.Switch = null;
14440
-
14441
- /**
14442
- * Threshold score for violation. If this score is reached or exceeded during intelligent audit, it will be deemed that a suspected violation has occurred. If this parameter is left empty, 100 will be used by default. Value range: 0–100.
14443
- * @type {number || null}
14444
- */
14445
- this.BlockConfidence = null;
14446
-
14447
- /**
14448
- * Threshold score for human audit. If this score is reached or exceeded during intelligent audit, human audit will be considered necessary. If this parameter is left empty, 75 will be used by default. Value range: 0–100.
14449
- * @type {number || null}
14450
- */
14451
- this.ReviewConfidence = null;
15325
+ this.RequestId = null;
14452
15326
 
14453
15327
  }
14454
15328
 
@@ -14459,9 +15333,7 @@ class TerrorismOcrReviewTemplateInfoForUpdate extends AbstractModel {
14459
15333
  if (!params) {
14460
15334
  return;
14461
15335
  }
14462
- this.Switch = 'Switch' in params ? params.Switch : null;
14463
- this.BlockConfidence = 'BlockConfidence' in params ? params.BlockConfidence : null;
14464
- this.ReviewConfidence = 'ReviewConfidence' in params ? params.ReviewConfidence : null;
15336
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
14465
15337
 
14466
15338
  }
14467
15339
  }
@@ -15933,6 +16805,65 @@ class AiReviewTerrorismTaskOutput extends AbstractModel {
15933
16805
  }
15934
16806
  }
15935
16807
 
16808
+ /**
16809
+ * ModifyAsrHotwords request structure.
16810
+ * @class
16811
+ */
16812
+ class ModifyAsrHotwordsRequest extends AbstractModel {
16813
+ constructor(){
16814
+ super();
16815
+
16816
+ /**
16817
+ * Hotword lexicon ID.
16818
+ * @type {string || null}
16819
+ */
16820
+ this.HotwordsId = null;
16821
+
16822
+ /**
16823
+ * Hotword lexicon name.
16824
+ * @type {string || null}
16825
+ */
16826
+ this.Name = null;
16827
+
16828
+ /**
16829
+ * Hotword lexicon text.
16830
+ * @type {string || null}
16831
+ */
16832
+ this.Content = null;
16833
+
16834
+ /**
16835
+ * Base64-encoded content of the hotword file. This field is required if Type is set to 1.
16836
+
16837
+
16838
+
16839
+ * @type {string || null}
16840
+ */
16841
+ this.FileContent = null;
16842
+
16843
+ /**
16844
+ * Name of the uploaded hotword file.
16845
+ * @type {string || null}
16846
+ */
16847
+ this.FileName = null;
16848
+
16849
+ }
16850
+
16851
+ /**
16852
+ * @private
16853
+ */
16854
+ deserialize(params) {
16855
+ if (!params) {
16856
+ return;
16857
+ }
16858
+ this.HotwordsId = 'HotwordsId' in params ? params.HotwordsId : null;
16859
+ this.Name = 'Name' in params ? params.Name : null;
16860
+ this.Content = 'Content' in params ? params.Content : null;
16861
+ this.FileContent = 'FileContent' in params ? params.FileContent : null;
16862
+ this.FileName = 'FileName' in params ? params.FileName : null;
16863
+
16864
+ }
16865
+ }
16866
+
15936
16867
  /**
15937
16868
  * Control parameter of a porn information detection in image task
15938
16869
  * @class
@@ -16086,6 +17017,70 @@ class AiReviewTerrorismOcrTaskOutput extends AbstractModel {
16086
17017
  }
16087
17018
  }
16088
17019
 
17020
+ /**
17021
+ * DescribeAsrHotwordsList response structure.
17022
+ * @class
17023
+ */
17024
+ class DescribeAsrHotwordsListResponse extends AbstractModel {
17025
+ constructor(){
17026
+ super();
17027
+
17028
+ /**
17029
+ * Total number of hotword lexicons.
17030
+ * @type {number || null}
17031
+ */
17032
+ this.TotalCount = null;
17033
+
17034
+ /**
17035
+ * Paging offset. Default value: 0.
17036
+ * @type {number || null}
17037
+ */
17038
+ this.Offset = null;
17039
+
17040
+ /**
17041
+ * Number of returned entries. All hotword lexicons are returned by default.
17042
+ * @type {number || null}
17043
+ */
17044
+ this.Limit = null;
17045
+
17046
+ /**
17047
+ * Hotword lexicon list.
17048
+ * @type {Array.<AsrHotwordsSet> || null}
17049
+ */
17050
+ this.AsrHotwordsSet = null;
17051
+
17052
+ /**
17053
+ * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
17054
+ * @type {string || null}
17055
+ */
17056
+ this.RequestId = null;
17057
+
17058
+ }
17059
+
17060
+ /**
17061
+ * @private
17062
+ */
17063
+ deserialize(params) {
17064
+ if (!params) {
17065
+ return;
17066
+ }
17067
+ this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
17068
+ this.Offset = 'Offset' in params ? params.Offset : null;
17069
+ this.Limit = 'Limit' in params ? params.Limit : null;
17070
+
17071
+ if (params.AsrHotwordsSet) {
17072
+ this.AsrHotwordsSet = new Array();
17073
+ for (let z in params.AsrHotwordsSet) {
17074
+ let obj = new AsrHotwordsSet();
17075
+ obj.deserialize(params.AsrHotwordsSet[z]);
17076
+ this.AsrHotwordsSet.push(obj);
17077
+ }
17078
+ }
17079
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
17080
+
17081
+ }
17082
+ }
17083
+
16089
17084
  /**
16090
17085
  * Intelligent analysis results
16091
17086
  * @class
@@ -16249,41 +17244,83 @@ Note: This field may return null, indicating that no valid values can be obtaine
16249
17244
  }
16250
17245
 
16251
17246
  /**
16252
- * DescribeAIAnalysisTemplates request structure.
17247
+ * Smart subtitle translation input.
16253
17248
  * @class
16254
17249
  */
16255
- class DescribeAIAnalysisTemplatesRequest extends AbstractModel {
17250
+ class SmartSubtitleTaskResultInput extends AbstractModel {
16256
17251
  constructor(){
16257
17252
  super();
16258
17253
 
16259
17254
  /**
16260
- * Unique ID filter of video content analysis templates. Array length limit: 10.
16261
- * @type {Array.<number> || null}
16262
- */
16263
- this.Definitions = null;
16264
-
16265
- /**
16266
- * Pagination offset. Default value: 0.
17255
+ * Smart subtitle template ID.
16267
17256
  * @type {number || null}
16268
17257
  */
16269
- this.Offset = null;
17258
+ this.Definition = null;
16270
17259
 
16271
17260
  /**
16272
- * Number of returned entries. Default value: 10. Maximum value: 100.
16273
- * @type {number || null}
17261
+ * Custom smart subtitle parameter. It takes effect when Definition is set to 0.
17262
+ This parameter is used in high customization scenarios. It is recommended that you preferentially use Definition to specify smart subtitle parameters.
17263
+ Note: This field may return null, indicating that no valid value can be obtained.
17264
+ * @type {RawSmartSubtitleParameter || null}
16274
17265
  */
16275
- this.Limit = null;
17266
+ this.RawParameter = null;
16276
17267
 
16277
- /**
16278
- * The filter for querying templates. If this parameter is left empty, both preset and custom templates are returned. Valid values:
16279
- * Preset
16280
- * Custom
16281
- * @type {string || null}
16282
- */
16283
- this.Type = null;
17268
+ }
16284
17269
 
16285
- /**
16286
- * Filter condition for video analysis template identifiers, with a length limit of 64 characters.
17270
+ /**
17271
+ * @private
17272
+ */
17273
+ deserialize(params) {
17274
+ if (!params) {
17275
+ return;
17276
+ }
17277
+ this.Definition = 'Definition' in params ? params.Definition : null;
17278
+
17279
+ if (params.RawParameter) {
17280
+ let obj = new RawSmartSubtitleParameter();
17281
+ obj.deserialize(params.RawParameter)
17282
+ this.RawParameter = obj;
17283
+ }
17284
+
17285
+ }
17286
+ }
17287
+
17288
+ /**
17289
+ * DescribeAIAnalysisTemplates request structure.
17290
+ * @class
17291
+ */
17292
+ class DescribeAIAnalysisTemplatesRequest extends AbstractModel {
17293
+ constructor(){
17294
+ super();
17295
+
17296
+ /**
17297
+ * Unique ID filter of video content analysis templates. Array length limit: 10.
17298
+ * @type {Array.<number> || null}
17299
+ */
17300
+ this.Definitions = null;
17301
+
17302
+ /**
17303
+ * Pagination offset. Default value: 0.
17304
+ * @type {number || null}
17305
+ */
17306
+ this.Offset = null;
17307
+
17308
+ /**
17309
+ * Number of returned entries. Default value: 10. Maximum value: 100.
17310
+ * @type {number || null}
17311
+ */
17312
+ this.Limit = null;
17313
+
17314
+ /**
17315
+ * The filter for querying templates. If this parameter is left empty, both preset and custom templates are returned. Valid values:
17316
+ * Preset
17317
+ * Custom
17318
+ * @type {string || null}
17319
+ */
17320
+ this.Type = null;
17321
+
17322
+ /**
17323
+ * Filter condition for video analysis template identifiers, with a length limit of 64 characters.
16287
17324
  * @type {string || null}
16288
17325
  */
16289
17326
  this.Name = null;
@@ -16536,6 +17573,34 @@ Note: This field may return null, indicating that no valid values can be obtaine
16536
17573
  }
16537
17574
  }
16538
17575
 
17576
+ /**
17577
+ * DeleteSmartSubtitleTemplate response structure.
17578
+ * @class
17579
+ */
17580
+ class DeleteSmartSubtitleTemplateResponse extends AbstractModel {
17581
+ constructor(){
17582
+ super();
17583
+
17584
+ /**
17585
+ * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
17586
+ * @type {string || null}
17587
+ */
17588
+ this.RequestId = null;
17589
+
17590
+ }
17591
+
17592
+ /**
17593
+ * @private
17594
+ */
17595
+ deserialize(params) {
17596
+ if (!params) {
17597
+ return;
17598
+ }
17599
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
17600
+
17601
+ }
17602
+ }
17603
+
16539
17604
  /**
16540
17605
  * ResetWorkflow request structure.
16541
17606
  * @class
@@ -17347,6 +18412,50 @@ class DeleteSampleSnapshotTemplateRequest extends AbstractModel {
17347
18412
  }
17348
18413
  }
17349
18414
 
18415
+ /**
18416
+ * The parameters for detecting sensitive information based on OCR.
18417
+ * @class
18418
+ */
18419
+ class TerrorismOcrReviewTemplateInfoForUpdate extends AbstractModel {
18420
+ constructor(){
18421
+ super();
18422
+
18423
+ /**
18424
+ * Whether to detect sensitive information based on OCR. Valid values:
18425
+ <li>ON</li>
18426
+ <li>OFF</li>
18427
+ * @type {string || null}
18428
+ */
18429
+ this.Switch = null;
18430
+
18431
+ /**
18432
+ * Threshold score for violation. If this score is reached or exceeded during intelligent audit, it will be deemed that a suspected violation has occurred. If this parameter is left empty, 100 will be used by default. Value range: 0–100.
18433
+ * @type {number || null}
18434
+ */
18435
+ this.BlockConfidence = null;
18436
+
18437
+ /**
18438
+ * Threshold score for human audit. If this score is reached or exceeded during intelligent audit, human audit will be considered necessary. If this parameter is left empty, 75 will be used by default. Value range: 0–100.
18439
+ * @type {number || null}
18440
+ */
18441
+ this.ReviewConfidence = null;
18442
+
18443
+ }
18444
+
18445
+ /**
18446
+ * @private
18447
+ */
18448
+ deserialize(params) {
18449
+ if (!params) {
18450
+ return;
18451
+ }
18452
+ this.Switch = 'Switch' in params ? params.Switch : null;
18453
+ this.BlockConfidence = 'BlockConfidence' in params ? params.BlockConfidence : null;
18454
+ this.ReviewConfidence = 'ReviewConfidence' in params ? params.ReviewConfidence : null;
18455
+
18456
+ }
18457
+ }
18458
+
17350
18459
  /**
17351
18460
  * AI video intelligent analysis input parameter types
17352
18461
  * @class
@@ -17362,9 +18471,13 @@ class AiAnalysisTaskInput extends AbstractModel {
17362
18471
  this.Definition = null;
17363
18472
 
17364
18473
  /**
17365
- * An extended parameter, whose value is a stringfied JSON.
17366
- Note: This parameter is for customers with special requirements. It needs to be customized offline.
17367
- Note: This field may return null, indicating that no valid values can be obtained.
18474
+ * Additional parameter. Its value is a serialized JSON string.
18475
+ Note: This parameter is used to meet customization requirements. References:
18476
+ Smart erase: https://intl.cloud.tencent.com/document/product/862/101530?from_cn_redirect=1
18477
+ Video splitting: https://intl.cloud.tencent.com/document/product/862/112098?from_cn_redirect=1
18478
+ Intelligent highlights: https://intl.cloud.tencent.com/document/product/862/107280?from_cn_redirect=1
18479
+ Horizontal-to-vertical video transformation: https://intl.cloud.tencent.com/document/product/862/112112?from_cn_redirect=1
18480
+ Note: This field may return null, indicating that no valid value can be obtained.
17368
18481
  * @type {string || null}
17369
18482
  */
17370
18483
  this.ExtendedParameter = null;
@@ -17560,6 +18673,100 @@ class AiRecognitionTaskOcrFullTextSegmentTextItem extends AbstractModel {
17560
18673
  }
17561
18674
  }
17562
18675
 
18676
+ /**
18677
+ * DeleteAsrHotwords response structure.
18678
+ * @class
18679
+ */
18680
+ class DeleteAsrHotwordsResponse extends AbstractModel {
18681
+ constructor(){
18682
+ super();
18683
+
18684
+ /**
18685
+ * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
18686
+ * @type {string || null}
18687
+ */
18688
+ this.RequestId = null;
18689
+
18690
+ }
18691
+
18692
+ /**
18693
+ * @private
18694
+ */
18695
+ deserialize(params) {
18696
+ if (!params) {
18697
+ return;
18698
+ }
18699
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
18700
+
18701
+ }
18702
+ }
18703
+
18704
+ /**
18705
+ * Segment undergone full speech recognition.
18706
+ * @class
18707
+ */
18708
+ class SmartSubtitleTaskAsrFullTextSegmentItem extends AbstractModel {
18709
+ constructor(){
18710
+ super();
18711
+
18712
+ /**
18713
+ * Confidence of a recognized segment. Value range: 0-100.
18714
+ * @type {number || null}
18715
+ */
18716
+ this.Confidence = null;
18717
+
18718
+ /**
18719
+ * Start time offset of a recognized segment, in seconds.
18720
+ * @type {number || null}
18721
+ */
18722
+ this.StartTimeOffset = null;
18723
+
18724
+ /**
18725
+ * End time offset of a recognized segment, in seconds.
18726
+ * @type {number || null}
18727
+ */
18728
+ this.EndTimeOffset = null;
18729
+
18730
+ /**
18731
+ * Recognized text.
18732
+ * @type {string || null}
18733
+ */
18734
+ this.Text = null;
18735
+
18736
+ /**
18737
+ * Word timestamp information.
18738
+
18739
+ Note: This field may return null, indicating that no valid value can be obtained.
18740
+ * @type {Array.<WordResult> || null}
18741
+ */
18742
+ this.Wordlist = null;
18743
+
18744
+ }
18745
+
18746
+ /**
18747
+ * @private
18748
+ */
18749
+ deserialize(params) {
18750
+ if (!params) {
18751
+ return;
18752
+ }
18753
+ this.Confidence = 'Confidence' in params ? params.Confidence : null;
18754
+ this.StartTimeOffset = 'StartTimeOffset' in params ? params.StartTimeOffset : null;
18755
+ this.EndTimeOffset = 'EndTimeOffset' in params ? params.EndTimeOffset : null;
18756
+ this.Text = 'Text' in params ? params.Text : null;
18757
+
18758
+ if (params.Wordlist) {
18759
+ this.Wordlist = new Array();
18760
+ for (let z in params.Wordlist) {
18761
+ let obj = new WordResult();
18762
+ obj.deserialize(params.Wordlist[z]);
18763
+ this.Wordlist.push(obj);
18764
+ }
18765
+ }
18766
+
18767
+ }
18768
+ }
18769
+
17563
18770
  /**
17564
18771
  * The information of a checked segment in quality control.
17565
18772
  * @class
@@ -17714,24 +18921,44 @@ class AiReviewPornOcrTaskOutput extends AbstractModel {
17714
18921
  }
17715
18922
 
17716
18923
  /**
17717
- * CreateSampleSnapshotTemplate response structure.
18924
+ * CreateAsrHotwords request structure.
17718
18925
  * @class
17719
18926
  */
17720
- class CreateSampleSnapshotTemplateResponse extends AbstractModel {
18927
+ class CreateAsrHotwordsRequest extends AbstractModel {
17721
18928
  constructor(){
17722
18929
  super();
17723
18930
 
17724
18931
  /**
17725
- * Unique ID of a sampled screencapturing template.
18932
+ * 0: temporary hotword; 1 file-based hotword.
17726
18933
  * @type {number || null}
17727
18934
  */
17728
- this.Definition = null;
18935
+ this.Type = null;
17729
18936
 
17730
18937
  /**
17731
- * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
18938
+ * Hotword lexicon name.
17732
18939
  * @type {string || null}
17733
18940
  */
17734
- this.RequestId = null;
18941
+ this.Name = null;
18942
+
18943
+ /**
18944
+ * Hotword lexicon text. This field is required if Type is set to 0.
18945
+ * @type {string || null}
18946
+ */
18947
+ this.Content = null;
18948
+
18949
+ /**
18950
+ * Base64-encoded content of the hotword file. This field is required if Type is set to 1.
18951
+
18952
+
18953
+ * @type {string || null}
18954
+ */
18955
+ this.FileContent = null;
18956
+
18957
+ /**
18958
+ * Name of the uploaded file.
18959
+ * @type {string || null}
18960
+ */
18961
+ this.FileName = null;
17735
18962
 
17736
18963
  }
17737
18964
 
@@ -17742,8 +18969,11 @@ class CreateSampleSnapshotTemplateResponse extends AbstractModel {
17742
18969
  if (!params) {
17743
18970
  return;
17744
18971
  }
17745
- this.Definition = 'Definition' in params ? params.Definition : null;
17746
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
18972
+ this.Type = 'Type' in params ? params.Type : null;
18973
+ this.Name = 'Name' in params ? params.Name : null;
18974
+ this.Content = 'Content' in params ? params.Content : null;
18975
+ this.FileContent = 'FileContent' in params ? params.FileContent : null;
18976
+ this.FileName = 'FileName' in params ? params.FileName : null;
17747
18977
 
17748
18978
  }
17749
18979
  }
@@ -17893,6 +19123,12 @@ Note: This field may return null, indicating that no valid value can be obtained
17893
19123
  */
17894
19124
  this.EndTime = null;
17895
19125
 
19126
+ /**
19127
+ * Specifies the character ID.
19128
+ * @type {string || null}
19129
+ */
19130
+ this.PersonId = null;
19131
+
17896
19132
  }
17897
19133
 
17898
19134
  /**
@@ -17912,6 +19148,7 @@ Note: This field may return null, indicating that no valid value can be obtained
17912
19148
  this.Keywords = 'Keywords' in params ? params.Keywords : null;
17913
19149
  this.BeginTime = 'BeginTime' in params ? params.BeginTime : null;
17914
19150
  this.EndTime = 'EndTime' in params ? params.EndTime : null;
19151
+ this.PersonId = 'PersonId' in params ? params.PersonId : null;
17915
19152
 
17916
19153
  }
17917
19154
  }
@@ -18265,17 +19502,71 @@ Note: This field may return null, indicating that no valid value can be obtained
18265
19502
  }
18266
19503
 
18267
19504
  /**
18268
- * Control parameter of a porn information detection in text task
19505
+ * Control parameter of a full speech recognition task.
18269
19506
  * @class
18270
19507
  */
18271
- class PornOcrReviewTemplateInfo extends AbstractModel {
19508
+ class TranslateConfigureInfo extends AbstractModel {
18272
19509
  constructor(){
18273
19510
  super();
18274
19511
 
18275
19512
  /**
18276
- * Switch of a porn information detection in text task. Valid values:
18277
- <li>ON: Enables a porn information detection in text task;</li>
18278
- <li>OFF: Disables a porn information detection in text task.</li>
19513
+ * Switch of a full speech recognition task. Valid values:
19514
+ <li>ON: Enables an intelligent full speech recognition task;</li>
19515
+ <li>OFF: Disables an intelligent full speech recognition task.</li>
19516
+ * @type {string || null}
19517
+ */
19518
+ this.Switch = null;
19519
+
19520
+ /**
19521
+ *
19522
+ * @type {string || null}
19523
+ */
19524
+ this.SourceLanguage = null;
19525
+
19526
+ /**
19527
+ *
19528
+ * @type {string || null}
19529
+ */
19530
+ this.DestinationLanguage = null;
19531
+
19532
+ /**
19533
+ * Generated subtitle file format. Leaving it as an empty string means no subtitle file will be generated. Valid value:
19534
+ <li>vtt: Generate a WebVTT subtitle file.</li>
19535
+
19536
+ Note: This field may return null, indicating that no valid values can be obtained.
19537
+ * @type {string || null}
19538
+ */
19539
+ this.SubtitleFormat = null;
19540
+
19541
+ }
19542
+
19543
+ /**
19544
+ * @private
19545
+ */
19546
+ deserialize(params) {
19547
+ if (!params) {
19548
+ return;
19549
+ }
19550
+ this.Switch = 'Switch' in params ? params.Switch : null;
19551
+ this.SourceLanguage = 'SourceLanguage' in params ? params.SourceLanguage : null;
19552
+ this.DestinationLanguage = 'DestinationLanguage' in params ? params.DestinationLanguage : null;
19553
+ this.SubtitleFormat = 'SubtitleFormat' in params ? params.SubtitleFormat : null;
19554
+
19555
+ }
19556
+ }
19557
+
19558
+ /**
19559
+ * Control parameter of a porn information detection in text task
19560
+ * @class
19561
+ */
19562
+ class PornOcrReviewTemplateInfo extends AbstractModel {
19563
+ constructor(){
19564
+ super();
19565
+
19566
+ /**
19567
+ * Switch of a porn information detection in text task. Valid values:
19568
+ <li>ON: Enables a porn information detection in text task;</li>
19569
+ <li>OFF: Disables a porn information detection in text task.</li>
18279
19570
  * @type {string || null}
18280
19571
  */
18281
19572
  this.Switch = null;
@@ -18585,6 +19876,50 @@ class DescribeMediaMetaDataResponse extends AbstractModel {
18585
19876
  }
18586
19877
  }
18587
19878
 
19879
+ /**
19880
+ * Full speech recognition result.
19881
+ * @class
19882
+ */
19883
+ class SmartSubtitleTaskAsrFullTextResultOutput extends AbstractModel {
19884
+ constructor(){
19885
+ super();
19886
+
19887
+ /**
19888
+ * List of segments for full speech recognition.
19889
+ Note: This field may return null, indicating that no valid value can be obtained.
19890
+ * @type {Array.<SmartSubtitleTaskAsrFullTextSegmentItem> || null}
19891
+ */
19892
+ this.SegmentSet = null;
19893
+
19894
+ /**
19895
+ * Subtitle file path.
19896
+ * @type {string || null}
19897
+ */
19898
+ this.SubtitlePath = null;
19899
+
19900
+ }
19901
+
19902
+ /**
19903
+ * @private
19904
+ */
19905
+ deserialize(params) {
19906
+ if (!params) {
19907
+ return;
19908
+ }
19909
+
19910
+ if (params.SegmentSet) {
19911
+ this.SegmentSet = new Array();
19912
+ for (let z in params.SegmentSet) {
19913
+ let obj = new SmartSubtitleTaskAsrFullTextSegmentItem();
19914
+ obj.deserialize(params.SegmentSet[z]);
19915
+ this.SegmentSet.push(obj);
19916
+ }
19917
+ }
19918
+ this.SubtitlePath = 'SubtitlePath' in params ? params.SubtitlePath : null;
19919
+
19920
+ }
19921
+ }
19922
+
18588
19923
  /**
18589
19924
  * The parameters for detecting sensitive information based on OCR.
18590
19925
  * @class
@@ -19344,6 +20679,14 @@ class AdaptiveStreamTemplate extends AbstractModel {
19344
20679
  */
19345
20680
  this.RemoveVideo = null;
19346
20681
 
20682
+ /**
20683
+ * List of audio parameter information.
20684
+ The parameter array has a maximum length of 64.
20685
+ Note: This field may return null, indicating that no valid value can be obtained.
20686
+ * @type {Array.<AudioTemplateInfo> || null}
20687
+ */
20688
+ this.AudioList = null;
20689
+
19347
20690
  }
19348
20691
 
19349
20692
  /**
@@ -19368,6 +20711,15 @@ class AdaptiveStreamTemplate extends AbstractModel {
19368
20711
  this.RemoveAudio = 'RemoveAudio' in params ? params.RemoveAudio : null;
19369
20712
  this.RemoveVideo = 'RemoveVideo' in params ? params.RemoveVideo : null;
19370
20713
 
20714
+ if (params.AudioList) {
20715
+ this.AudioList = new Array();
20716
+ for (let z in params.AudioList) {
20717
+ let obj = new AudioTemplateInfo();
20718
+ obj.deserialize(params.AudioList[z]);
20719
+ this.AudioList.push(obj);
20720
+ }
20721
+ }
20722
+
19371
20723
  }
19372
20724
  }
19373
20725
 
@@ -19537,6 +20889,188 @@ Note: this field may return `null`, indicating that no valid value was found.
19537
20889
  }
19538
20890
  }
19539
20891
 
20892
+ /**
20893
+ * Smart subtitle template details.
20894
+ * @class
20895
+ */
20896
+ class SmartSubtitleTemplateItem extends AbstractModel {
20897
+ constructor(){
20898
+ super();
20899
+
20900
+ /**
20901
+ * Unique identifier of the smart subtitle template.
20902
+ * @type {number || null}
20903
+ */
20904
+ this.Definition = null;
20905
+
20906
+ /**
20907
+ * Smart subtitle template name.
20908
+ Note: This field may return null, indicating that no valid value can be obtained.
20909
+ * @type {string || null}
20910
+ */
20911
+ this.Name = null;
20912
+
20913
+ /**
20914
+ * Smart subtitle template description.
20915
+ Note: This field may return null, indicating that no valid value can be obtained.
20916
+ * @type {string || null}
20917
+ */
20918
+ this.Comment = null;
20919
+
20920
+ /**
20921
+ * Template type. Valid values:
20922
+ * Preset: system preset template
20923
+ * Custom: user-defined template
20924
+ Note: This field may return null, indicating that no valid value can be obtained.
20925
+ * @type {string || null}
20926
+ */
20927
+ this.Type = null;
20928
+
20929
+ /**
20930
+ * ASR hotword lexicon parameter.
20931
+ Note: This field may return null, indicating that no valid value can be obtained.
20932
+ * @type {AsrHotWordsConfigure || null}
20933
+ */
20934
+ this.AsrHotWordsConfigure = null;
20935
+
20936
+ /**
20937
+ * Name of the hotword lexicon associated with the template.
20938
+ Note: This field may return null, indicating that no valid value can be obtained.
20939
+ * @type {string || null}
20940
+ */
20941
+ this.AsrHotWordsLibraryName = null;
20942
+
20943
+ /**
20944
+ * Source language of the video with smart subtitles.
20945
+ Supported languages:
20946
+ zh: Simplified Chinese
20947
+ en: English
20948
+ ja: Japanese
20949
+ ko: Korean
20950
+ zh-PY: Chinese-English-Cantonese
20951
+ zh-medical: Medical Chinese
20952
+ yue: Cantonese
20953
+ vi: Vietnamese
20954
+ ms: Malay
20955
+ id: Indonesian
20956
+ fli: Filipino
20957
+ th: Thai
20958
+ pt: Portuguese
20959
+ tr: Turkish
20960
+ ar: Arabic
20961
+ es: Spanish
20962
+ hi: Hindi
20963
+ fr: French
20964
+ de: German
20965
+ zh-dialect: Chinese dialect
20966
+ * @type {string || null}
20967
+ */
20968
+ this.VideoSrcLanguage = null;
20969
+
20970
+ /**
20971
+ * Smart subtitle file format.
20972
+ vtt: WebVTT format
20973
+ If this field is left blank, no subtitle file will be generated.
20974
+ Note: This field may return null, indicating that no valid value can be obtained.
20975
+ * @type {string || null}
20976
+ */
20977
+ this.SubtitleFormat = null;
20978
+
20979
+ /**
20980
+ * Smart subtitle language type.
20981
+ 0: source language1: target language
20982
+ 2: source language + target language
20983
+ The value can only be 0 when TranslateSwitch is set to OFF.The value can only be 1 or 2 when TranslateSwitch is set to ON.
20984
+ * @type {number || null}
20985
+ */
20986
+ this.SubtitleType = null;
20987
+
20988
+ /**
20989
+ * Subtitle translation switch.
20990
+ ON: enable translation
20991
+ OFF: disable translation
20992
+ Note: This field may return null, indicating that no valid value can be obtained.
20993
+ * @type {string || null}
20994
+ */
20995
+ this.TranslateSwitch = null;
20996
+
20997
+ /**
20998
+ * Target language for subtitle translation.
20999
+ This field takes effect when TranslateSwitch is set to ON.
21000
+ Supported languages:
21001
+ zh: Simplified Chinese
21002
+ en: English
21003
+ ja: Japanese
21004
+ ko: Korean
21005
+ fr: French
21006
+ es: Spanish
21007
+ it: Italian
21008
+ de: German
21009
+ tr: Turkish
21010
+ ru: Russian
21011
+ pt: Portuguese
21012
+ vi: Vietnamese
21013
+ id: Indonesian
21014
+ ms: Malay
21015
+ th: Thai
21016
+ ar: Arabic
21017
+ hi: Hindi
21018
+ Note: This field may return null, indicating that no valid value can be obtained.
21019
+ * @type {string || null}
21020
+ */
21021
+ this.TranslateDstLanguage = null;
21022
+
21023
+ /**
21024
+ * Template creation time in [ISO datetime format](https://intl.cloud.tencent.com/document/product/862/37710?from_cn_redirect=1#52).
21025
+ * @type {string || null}
21026
+ */
21027
+ this.CreateTime = null;
21028
+
21029
+ /**
21030
+ * Last modification time of the template in [ISO datetime format](https://intl.cloud.tencent.com/document/product/862/37710?from_cn_redirect=1#52).
21031
+ * @type {string || null}
21032
+ */
21033
+ this.UpdateTime = null;
21034
+
21035
+ /**
21036
+ * Alias of the preset smart subtitle template.
21037
+ Note: This field may return null, indicating that no valid value can be obtained.
21038
+ * @type {string || null}
21039
+ */
21040
+ this.AliasName = null;
21041
+
21042
+ }
21043
+
21044
+ /**
21045
+ * @private
21046
+ */
21047
+ deserialize(params) {
21048
+ if (!params) {
21049
+ return;
21050
+ }
21051
+ this.Definition = 'Definition' in params ? params.Definition : null;
21052
+ this.Name = 'Name' in params ? params.Name : null;
21053
+ this.Comment = 'Comment' in params ? params.Comment : null;
21054
+ this.Type = 'Type' in params ? params.Type : null;
21055
+
21056
+ if (params.AsrHotWordsConfigure) {
21057
+ let obj = new AsrHotWordsConfigure();
21058
+ obj.deserialize(params.AsrHotWordsConfigure)
21059
+ this.AsrHotWordsConfigure = obj;
21060
+ }
21061
+ this.AsrHotWordsLibraryName = 'AsrHotWordsLibraryName' in params ? params.AsrHotWordsLibraryName : null;
21062
+ this.VideoSrcLanguage = 'VideoSrcLanguage' in params ? params.VideoSrcLanguage : null;
21063
+ this.SubtitleFormat = 'SubtitleFormat' in params ? params.SubtitleFormat : null;
21064
+ this.SubtitleType = 'SubtitleType' in params ? params.SubtitleType : null;
21065
+ this.TranslateSwitch = 'TranslateSwitch' in params ? params.TranslateSwitch : null;
21066
+ this.TranslateDstLanguage = 'TranslateDstLanguage' in params ? params.TranslateDstLanguage : null;
21067
+ this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
21068
+ this.UpdateTime = 'UpdateTime' in params ? params.UpdateTime : null;
21069
+ this.AliasName = 'AliasName' in params ? params.AliasName : null;
21070
+
21071
+ }
21072
+ }
21073
+
19540
21074
  /**
19541
21075
  * ModifyAIRecognitionTemplate request structure.
19542
21076
  * @class
@@ -19764,100 +21298,257 @@ u200c<li>`Rotate`: Image rotation. </li>
19764
21298
  this.Type = null;
19765
21299
 
19766
21300
  /**
19767
- * This is valid if `Type` is `Rotate`. The angle of rotation around the image center. Value range: 0–360.
19768
- * @type {number || null}
21301
+ * This is valid if `Type` is `Rotate`. The angle of rotation around the image center. Value range: 0–360.
21302
+ * @type {number || null}
21303
+ */
21304
+ this.RotateAngle = null;
21305
+
21306
+ /**
21307
+ * This is valid if `Type` is `Flip`. How to flip the image. Valid values:xa0
21308
+ u200c<li>`Horizental`: Flip horizontally. </li>
21309
+ <li>`Vertical`: Flip vertically. </li>
21310
+ * @type {string || null}
21311
+ */
21312
+ this.FlipType = null;
21313
+
21314
+ }
21315
+
21316
+ /**
21317
+ * @private
21318
+ */
21319
+ deserialize(params) {
21320
+ if (!params) {
21321
+ return;
21322
+ }
21323
+ this.Type = 'Type' in params ? params.Type : null;
21324
+ this.RotateAngle = 'RotateAngle' in params ? params.RotateAngle : null;
21325
+ this.FlipType = 'FlipType' in params ? params.FlipType : null;
21326
+
21327
+ }
21328
+ }
21329
+
21330
+ /**
21331
+ * CreateSampleSnapshotTemplate response structure.
21332
+ * @class
21333
+ */
21334
+ class CreateSampleSnapshotTemplateResponse extends AbstractModel {
21335
+ constructor(){
21336
+ super();
21337
+
21338
+ /**
21339
+ * Unique ID of a sampled screencapturing template.
21340
+ * @type {number || null}
21341
+ */
21342
+ this.Definition = null;
21343
+
21344
+ /**
21345
+ * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
21346
+ * @type {string || null}
21347
+ */
21348
+ this.RequestId = null;
21349
+
21350
+ }
21351
+
21352
+ /**
21353
+ * @private
21354
+ */
21355
+ deserialize(params) {
21356
+ if (!params) {
21357
+ return;
21358
+ }
21359
+ this.Definition = 'Definition' in params ? params.Definition : null;
21360
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
21361
+
21362
+ }
21363
+ }
21364
+
21365
+ /**
21366
+ * CreateLiveRecordTemplate response structure.
21367
+ * @class
21368
+ */
21369
+ class CreateLiveRecordTemplateResponse extends AbstractModel {
21370
+ constructor(){
21371
+ super();
21372
+
21373
+ /**
21374
+ * Unique identifier of the recording template.
21375
+ * @type {number || null}
21376
+ */
21377
+ this.Definition = null;
21378
+
21379
+ /**
21380
+ * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
21381
+ * @type {string || null}
21382
+ */
21383
+ this.RequestId = null;
21384
+
21385
+ }
21386
+
21387
+ /**
21388
+ * @private
21389
+ */
21390
+ deserialize(params) {
21391
+ if (!params) {
21392
+ return;
21393
+ }
21394
+ this.Definition = 'Definition' in params ? params.Definition : null;
21395
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
21396
+
21397
+ }
21398
+ }
21399
+
21400
+ /**
21401
+ * The execution result of a scheme.
21402
+ * @class
21403
+ */
21404
+ class ActivityResult extends AbstractModel {
21405
+ constructor(){
21406
+ super();
21407
+
21408
+ /**
21409
+ * Atomic task type.
21410
+ <Li>Transcode: transcoding</li>
21411
+ <Li>SampleSnapshot: sampled screenshot</li>
21412
+ <Li>AnimatedGraphics: conversion to GIF</li>
21413
+ <Li>SnapshotByTimeOffset: time point screenshot</li>
21414
+ <Li>ImageSprites: image sprite</li>
21415
+ <Li>AdaptiveDynamicStreaming: adaptive bitrate stream</li>
21416
+ <Li>AiContentReview: content review</li>
21417
+ <Li>AIRecognition: intelligent recognition</li>
21418
+ <Li>AIAnalysis: intelligent analysis</li>
21419
+ <li>AiQualityControl: media quality inspection.</li>
21420
+
21421
+ <Li>SmartSubtitles: smart subtitle</li>
21422
+ * @type {string || null}
21423
+ */
21424
+ this.ActivityType = null;
21425
+
21426
+ /**
21427
+ * The execution results of the subtasks of the scheme.
21428
+ * @type {ActivityResItem || null}
21429
+ */
21430
+ this.ActivityResItem = null;
21431
+
21432
+ }
21433
+
21434
+ /**
21435
+ * @private
21436
+ */
21437
+ deserialize(params) {
21438
+ if (!params) {
21439
+ return;
21440
+ }
21441
+ this.ActivityType = 'ActivityType' in params ? params.ActivityType : null;
21442
+
21443
+ if (params.ActivityResItem) {
21444
+ let obj = new ActivityResItem();
21445
+ obj.deserialize(params.ActivityResItem)
21446
+ this.ActivityResItem = obj;
21447
+ }
21448
+
21449
+ }
21450
+ }
21451
+
21452
+ /**
21453
+ * DescribeAsrHotwords response structure.
21454
+ * @class
21455
+ */
21456
+ class DescribeAsrHotwordsResponse extends AbstractModel {
21457
+ constructor(){
21458
+ super();
21459
+
21460
+ /**
21461
+ * ID of the hotword lexicon to be queried.
21462
+ * @type {string || null}
21463
+ */
21464
+ this.HotwordsId = null;
21465
+
21466
+ /**
21467
+ * Current status of the hotword lexicon corresponding to the ID. The value 0 indicates that no template is bound to this hotword lexicon when the query is performed and that the hotword lexicon can be deleted.
21468
+ Note: This field may return null, indicating that no valid value can be obtained.
21469
+ * @type {number || null}
21470
+ */
21471
+ this.Status = null;
21472
+
21473
+ /**
21474
+ * Hotword lexicon name.
21475
+ Note: This field may return null, indicating that no valid value can be obtained.
21476
+ * @type {string || null}
21477
+ */
21478
+ this.Name = null;
21479
+
21480
+ /**
21481
+ * The value is 0 for a temporary hotword lexicon, and the string provided during creation is returned.
21482
+ The value is 1 for a file-based hotword lexicon, and the content of the file uploaded during creation is returned.
21483
+
21484
+
21485
+ Note: This field may return null, indicating that no valid value can be obtained.
21486
+ * @type {number || null}
21487
+ */
21488
+ this.Type = null;
21489
+
21490
+ /**
21491
+ * Name of the uploaded hotword file.
21492
+ Note: This field may return null, indicating that no valid value can be obtained.
21493
+ * @type {string || null}
21494
+ */
21495
+ this.FileName = null;
21496
+
21497
+ /**
21498
+ * List of hotwords returned for the query.
21499
+ * @type {Array.<AsrHotwordsSetItem> || null}
19769
21500
  */
19770
- this.RotateAngle = null;
21501
+ this.HotWords = null;
19771
21502
 
19772
21503
  /**
19773
- * This is valid if `Type` is `Flip`. How to flip the image. Valid values:xa0
19774
- u200c<li>`Horizental`: Flip horizontally. </li>
19775
- <li>`Vertical`: Flip vertically. </li>
21504
+ * Hotword text, which depends on the value of Type.
21505
+ If the value of Type is 0, the hotword string is returned.
21506
+ If the value of Type is 1, the base64-encoded content of the hotword file is returned.
21507
+ Note: This field may return null, indicating that no valid value can be obtained.
19776
21508
  * @type {string || null}
19777
21509
  */
19778
- this.FlipType = null;
19779
-
19780
- }
21510
+ this.Content = null;
19781
21511
 
19782
- /**
19783
- * @private
19784
- */
19785
- deserialize(params) {
19786
- if (!params) {
19787
- return;
19788
- }
19789
- this.Type = 'Type' in params ? params.Type : null;
19790
- this.RotateAngle = 'RotateAngle' in params ? params.RotateAngle : null;
19791
- this.FlipType = 'FlipType' in params ? params.FlipType : null;
21512
+ /**
21513
+ * Number of words contained in the hotword lexicon.
21514
+ Note: This field may return null, indicating that no valid value can be obtained.
21515
+ * @type {number || null}
21516
+ */
21517
+ this.WordCount = null;
19792
21518
 
19793
- }
19794
- }
21519
+ /**
21520
+ * Paging offset. Default value: 0.
19795
21521
 
19796
- /**
19797
- * CreateLiveRecordTemplate response structure.
19798
- * @class
19799
- */
19800
- class CreateLiveRecordTemplateResponse extends AbstractModel {
19801
- constructor(){
19802
- super();
21522
+ Note: This field may return null, indicating that no valid value can be obtained.
21523
+ * @type {number || null}
21524
+ */
21525
+ this.Offset = null;
19803
21526
 
19804
21527
  /**
19805
- * Unique identifier of the recording template.
21528
+ * Number of returned entries. Default value: 10. Maximum value: 100.
21529
+ Note: This field may return null, indicating that no valid value can be obtained.
19806
21530
  * @type {number || null}
19807
21531
  */
19808
- this.Definition = null;
21532
+ this.Limit = null;
19809
21533
 
19810
21534
  /**
19811
- * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
21535
+ * Creation time of the hotword lexicon in ISO datetime format (UTC time). For example, "2006-01-02T15:04:05Z".Note: This field may return null, indicating that no valid value can be obtained.
19812
21536
  * @type {string || null}
19813
21537
  */
19814
- this.RequestId = null;
19815
-
19816
- }
19817
-
19818
- /**
19819
- * @private
19820
- */
19821
- deserialize(params) {
19822
- if (!params) {
19823
- return;
19824
- }
19825
- this.Definition = 'Definition' in params ? params.Definition : null;
19826
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
19827
-
19828
- }
19829
- }
19830
-
19831
- /**
19832
- * The execution result of a scheme.
19833
- * @class
19834
- */
19835
- class ActivityResult extends AbstractModel {
19836
- constructor(){
19837
- super();
21538
+ this.CreateTime = null;
19838
21539
 
19839
21540
  /**
19840
- * Atomic task type.
19841
- <li>Transcode: transcoding.</li>
19842
- <li>SampleSnapshot: sampled screenshot taking.</li>
19843
- <li>AnimatedGraphics: animated image generating.</li>
19844
- <li>SnapshotByTimeOffset: time point screenshot taking.</li>
19845
- <li>ImageSprites: sprite image generating.</li>
19846
- <li>AdaptiveDynamicStreaming: adaptive bitrate streaming.</li>
19847
- <li>AiContentReview: content moderation.</li>
19848
- <li>AIRecognition: intelligent identification.</li>
19849
- <li>AIAnalysis: intelligent analysis.</li>
19850
-
19851
- <li>AiQualityControl: media quality inspection.</li>
21541
+ * Modification time of the hotword lexicon in ISO datetime format (UTC time). For example, "2006-01-02T15:04:05Z".
21542
+ Note: This field may return null, indicating that no valid value can be obtained.
19852
21543
  * @type {string || null}
19853
21544
  */
19854
- this.ActivityType = null;
21545
+ this.UpdateTime = null;
19855
21546
 
19856
21547
  /**
19857
- * The execution results of the subtasks of the scheme.
19858
- * @type {ActivityResItem || null}
21548
+ * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
21549
+ * @type {string || null}
19859
21550
  */
19860
- this.ActivityResItem = null;
21551
+ this.RequestId = null;
19861
21552
 
19862
21553
  }
19863
21554
 
@@ -19868,13 +21559,27 @@ class ActivityResult extends AbstractModel {
19868
21559
  if (!params) {
19869
21560
  return;
19870
21561
  }
19871
- this.ActivityType = 'ActivityType' in params ? params.ActivityType : null;
19872
-
19873
- if (params.ActivityResItem) {
19874
- let obj = new ActivityResItem();
19875
- obj.deserialize(params.ActivityResItem)
19876
- this.ActivityResItem = obj;
21562
+ this.HotwordsId = 'HotwordsId' in params ? params.HotwordsId : null;
21563
+ this.Status = 'Status' in params ? params.Status : null;
21564
+ this.Name = 'Name' in params ? params.Name : null;
21565
+ this.Type = 'Type' in params ? params.Type : null;
21566
+ this.FileName = 'FileName' in params ? params.FileName : null;
21567
+
21568
+ if (params.HotWords) {
21569
+ this.HotWords = new Array();
21570
+ for (let z in params.HotWords) {
21571
+ let obj = new AsrHotwordsSetItem();
21572
+ obj.deserialize(params.HotWords[z]);
21573
+ this.HotWords.push(obj);
21574
+ }
19877
21575
  }
21576
+ this.Content = 'Content' in params ? params.Content : null;
21577
+ this.WordCount = 'WordCount' in params ? params.WordCount : null;
21578
+ this.Offset = 'Offset' in params ? params.Offset : null;
21579
+ this.Limit = 'Limit' in params ? params.Limit : null;
21580
+ this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
21581
+ this.UpdateTime = 'UpdateTime' in params ? params.UpdateTime : null;
21582
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
19878
21583
 
19879
21584
  }
19880
21585
  }
@@ -20067,6 +21772,34 @@ Note: This field may return null, indicating that no valid values can be obtaine
20067
21772
  }
20068
21773
  }
20069
21774
 
21775
+ /**
21776
+ * ModifySmartSubtitleTemplate response structure.
21777
+ * @class
21778
+ */
21779
+ class ModifySmartSubtitleTemplateResponse extends AbstractModel {
21780
+ constructor(){
21781
+ super();
21782
+
21783
+ /**
21784
+ * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
21785
+ * @type {string || null}
21786
+ */
21787
+ this.RequestId = null;
21788
+
21789
+ }
21790
+
21791
+ /**
21792
+ * @private
21793
+ */
21794
+ deserialize(params) {
21795
+ if (!params) {
21796
+ return;
21797
+ }
21798
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
21799
+
21800
+ }
21801
+ }
21802
+
20070
21803
  /**
20071
21804
  * Control parameter of a custom audit task.
20072
21805
  * @class
@@ -20449,6 +22182,14 @@ Default value: 2.
20449
22182
  */
20450
22183
  this.AudioChannel = null;
20451
22184
 
22185
+ /**
22186
+ * Merge audio track information.
22187
+ This field only takes effec in adaptive bitrate transcoding.
22188
+ Note: This field may return null, indicating that no valid value can be obtained.
22189
+ * @type {AudioTrackChannelInfo || null}
22190
+ */
22191
+ this.TrackChannelInfo = null;
22192
+
20452
22193
  }
20453
22194
 
20454
22195
  /**
@@ -20463,6 +22204,12 @@ Default value: 2.
20463
22204
  this.SampleRate = 'SampleRate' in params ? params.SampleRate : null;
20464
22205
  this.AudioChannel = 'AudioChannel' in params ? params.AudioChannel : null;
20465
22206
 
22207
+ if (params.TrackChannelInfo) {
22208
+ let obj = new AudioTrackChannelInfo();
22209
+ obj.deserialize(params.TrackChannelInfo)
22210
+ this.TrackChannelInfo = obj;
22211
+ }
22212
+
20466
22213
  }
20467
22214
  }
20468
22215
 
@@ -21633,22 +23380,23 @@ class Activity extends AbstractModel {
21633
23380
 
21634
23381
  /**
21635
23382
  * Atomic task type.
21636
- <li>input: start node.</li>
21637
- <li>output: termination node.</li>
21638
- <li>action-trans: transcoding.</li>
21639
- <li>action-samplesnapshot: sampled screenshot taking.</li>
21640
- <li>action-AIAnalysis: analysis.</li>
21641
- <li>action-AIRecognition: recognition.</li>
21642
- <li>action-aiReview: auditing.</li>
21643
- <li>action-animated-graphics: animated image generating.</li>
21644
- <li>action-image-sprite: sprite image generating.</li>
21645
- <li>action-snapshotByTimeOffset: time point screenshot taking.</li>
21646
- <li>action-adaptive-substream: adaptive bitrate streaming.</li>
21647
- <li>action-AIQualityControl: media quality inspection.</li>
23383
+ <li>input: start node</li>
23384
+ <li>output: end node</li>
23385
+ <li>action-trans: transcoding</li>
23386
+ <li>action-samplesnapshot: sampled screenshot</li>
23387
+ <li>action-AIAnalysis: analysis</li>
23388
+ <li>action-AIRecognition: recognition</li>
23389
+ <li>action-aiReview: review</li>
23390
+ <li>action-animated-graphics: conversion to GIF</li>
23391
+ <li>action-image-sprite: image sprite</li>
23392
+ <li>action-snapshotByTimeOffset: time point screenshot</li>
23393
+ <li>action-adaptive-substream: adaptive bitrate stream</li>
23394
+ <li>action-AIQualityControl: media quality inspection</li>
23395
+ <li>action-SmartSubtitles: smart subtitle</li>
21648
23396
 
21649
23397
 
21650
23398
 
21651
- Note: This field may return null, indicating that no valid values can be obtained.
23399
+ Note: This field may return null, indicating that no valid value can be obtained.
21652
23400
  * @type {string || null}
21653
23401
  */
21654
23402
  this.ActivityType = null;
@@ -22192,19 +23940,19 @@ class CreateContentReviewTemplateRequest extends AbstractModel {
22192
23940
  this.Comment = null;
22193
23941
 
22194
23942
  /**
22195
- * Control parameter for porn information
23943
+ * Control parameter for a pornography detection task.
22196
23944
  * @type {PornConfigureInfo || null}
22197
23945
  */
22198
23946
  this.PornConfigure = null;
22199
23947
 
22200
23948
  /**
22201
- * Control parameter for terrorism information
23949
+ * Control parameter for a violence detection task.
22202
23950
  * @type {TerrorismConfigureInfo || null}
22203
23951
  */
22204
23952
  this.TerrorismConfigure = null;
22205
23953
 
22206
23954
  /**
22207
- * Control parameter for politically sensitive information
23955
+ * Control parameter for a sensitive content detection task.
22208
23956
  * @type {PoliticalConfigureInfo || null}
22209
23957
  */
22210
23958
  this.PoliticalConfigure = null;
@@ -23785,6 +25533,65 @@ class AiRecognitionTaskTransTextResultOutput extends AbstractModel {
23785
25533
  }
23786
25534
  }
23787
25535
 
25536
+ /**
25537
+ * Smart subtitle task result.
25538
+ * @class
25539
+ */
25540
+ class SmartSubtitlesResult extends AbstractModel {
25541
+ constructor(){
25542
+ super();
25543
+
25544
+ /**
25545
+ * Task type. Valid values:
25546
+ <Li>AsrFullTextRecognition: full speech recognition</li>
25547
+ <Li>TransTextRecognition: speech translation</li>
25548
+ * @type {string || null}
25549
+ */
25550
+ this.Type = null;
25551
+
25552
+ /**
25553
+ * Full speech recognition result. When Type is
25554
+ set to AsrFullTextRecognition, this parameter takes effect.
25555
+ Note: This field may return null, indicating that no valid value can be obtained.
25556
+ * @type {SmartSubtitleTaskAsrFullTextResult || null}
25557
+ */
25558
+ this.AsrFullTextTask = null;
25559
+
25560
+ /**
25561
+ * Translation result. When Type is
25562
+
25563
+ set to TransTextRecognition, this parameter takes effect.
25564
+ Note: This field may return null, indicating that no valid value can be obtained.
25565
+ * @type {SmartSubtitleTaskTransTextResult || null}
25566
+ */
25567
+ this.TransTextTask = null;
25568
+
25569
+ }
25570
+
25571
+ /**
25572
+ * @private
25573
+ */
25574
+ deserialize(params) {
25575
+ if (!params) {
25576
+ return;
25577
+ }
25578
+ this.Type = 'Type' in params ? params.Type : null;
25579
+
25580
+ if (params.AsrFullTextTask) {
25581
+ let obj = new SmartSubtitleTaskAsrFullTextResult();
25582
+ obj.deserialize(params.AsrFullTextTask)
25583
+ this.AsrFullTextTask = obj;
25584
+ }
25585
+
25586
+ if (params.TransTextTask) {
25587
+ let obj = new SmartSubtitleTaskTransTextResult();
25588
+ obj.deserialize(params.TransTextTask)
25589
+ this.TransTextTask = obj;
25590
+ }
25591
+
25592
+ }
25593
+ }
25594
+
23788
25595
  /**
23789
25596
  * ModifySnapshotByTimeOffsetTemplate request structure.
23790
25597
  * @class
@@ -23870,6 +25677,43 @@ Default value: black.
23870
25677
  }
23871
25678
  }
23872
25679
 
25680
+ /**
25681
+ * Smart subtitle hotword parameter.
25682
+ * @class
25683
+ */
25684
+ class AsrHotWordsConfigure extends AbstractModel {
25685
+ constructor(){
25686
+ super();
25687
+
25688
+ /**
25689
+ * Hotword switch.
25690
+ Note: This field may return null, indicating that no valid value can be obtained.
25691
+ * @type {string || null}
25692
+ */
25693
+ this.Switch = null;
25694
+
25695
+ /**
25696
+ * Hotword lexicon ID.
25697
+ Note: This field may return null, indicating that no valid value can be obtained.
25698
+ * @type {string || null}
25699
+ */
25700
+ this.LibraryId = null;
25701
+
25702
+ }
25703
+
25704
+ /**
25705
+ * @private
25706
+ */
25707
+ deserialize(params) {
25708
+ if (!params) {
25709
+ return;
25710
+ }
25711
+ this.Switch = 'Switch' in params ? params.Switch : null;
25712
+ this.LibraryId = 'LibraryId' in params ? params.LibraryId : null;
25713
+
25714
+ }
25715
+ }
25716
+
23873
25717
  /**
23874
25718
  * Result of AI-based live stream audit
23875
25719
  * @class
@@ -25449,30 +27293,151 @@ Note: This field may return·null, indicating that no valid values can be obtain
25449
27293
  }
25450
27294
 
25451
27295
  /**
25452
- * Word information.
27296
+ * Word information.
27297
+ * @class
27298
+ */
27299
+ class WordResult extends AbstractModel {
27300
+ constructor(){
27301
+ super();
27302
+
27303
+ /**
27304
+ * Word text.
27305
+ * @type {string || null}
27306
+ */
27307
+ this.Word = null;
27308
+
27309
+ /**
27310
+ * Word start timestamp, in seconds.
27311
+ * @type {number || null}
27312
+ */
27313
+ this.Start = null;
27314
+
27315
+ /**
27316
+ * Word end timestamp, in seconds.
27317
+ * @type {number || null}
27318
+ */
27319
+ this.End = null;
27320
+
27321
+ }
27322
+
27323
+ /**
27324
+ * @private
27325
+ */
27326
+ deserialize(params) {
27327
+ if (!params) {
27328
+ return;
27329
+ }
27330
+ this.Word = 'Word' in params ? params.Word : null;
27331
+ this.Start = 'Start' in params ? params.Start : null;
27332
+ this.End = 'End' in params ? params.End : null;
27333
+
27334
+ }
27335
+ }
27336
+
27337
+ /**
27338
+ * CreateSmartSubtitleTemplate request structure.
25453
27339
  * @class
25454
27340
  */
25455
- class WordResult extends AbstractModel {
27341
+ class CreateSmartSubtitleTemplateRequest extends AbstractModel {
25456
27342
  constructor(){
25457
27343
  super();
25458
27344
 
25459
27345
  /**
25460
- * Word text.
27346
+ * Smart subtitle template name.
27347
+ Length limit: 64 characters.
25461
27348
  * @type {string || null}
25462
27349
  */
25463
- this.Word = null;
27350
+ this.Name = null;
25464
27351
 
25465
27352
  /**
25466
- * Word start timestamp, in seconds.
25467
- * @type {number || null}
27353
+ * Source language of the video with smart subtitles.
27354
+ Supported languages:
27355
+ zh: Simplified Chinese
27356
+ en: English
27357
+ ja: Japanese
27358
+ ko: Korean
27359
+ zh-PY: Chinese-English-Cantonese
27360
+ zh-medical: Medical Chinese
27361
+ yue: Cantonese
27362
+ vi: Vietnamese
27363
+ ms: Malay
27364
+ id: Indonesian
27365
+ fli: Filipino
27366
+ th: Thai
27367
+ pt: Portuguese
27368
+ tr: Turkish
27369
+ ar: Arabic
27370
+ es: Spanish
27371
+ hi: Hindi
27372
+ fr: French
27373
+ de: German
27374
+ zh-dialect: Chinese dialect
27375
+ * @type {string || null}
25468
27376
  */
25469
- this.Start = null;
27377
+ this.VideoSrcLanguage = null;
25470
27378
 
25471
27379
  /**
25472
- * Word end timestamp, in seconds.
27380
+ * Smart subtitle language type.
27381
+ 0: source language1: target language
27382
+ 2: source language + target language
27383
+ The value can only be 0 when TranslateSwitch is set to OFF.The value can only be 1 or 2 when TranslateSwitch is set to ON.
25473
27384
  * @type {number || null}
25474
27385
  */
25475
- this.End = null;
27386
+ this.SubtitleType = null;
27387
+
27388
+ /**
27389
+ * Smart subtitle template description.
27390
+ Length limit: 256 characters.
27391
+ * @type {string || null}
27392
+ */
27393
+ this.Comment = null;
27394
+
27395
+ /**
27396
+ * Smart subtitle file format.
27397
+ vtt: WebVTT format
27398
+ If this field is left blank, no subtitle file will be generated.
27399
+ * @type {string || null}
27400
+ */
27401
+ this.SubtitleFormat = null;
27402
+
27403
+ /**
27404
+ * ASR hotword lexicon parameter.
27405
+ * @type {AsrHotWordsConfigure || null}
27406
+ */
27407
+ this.AsrHotWordsConfigure = null;
27408
+
27409
+ /**
27410
+ * Subtitle translation switch.
27411
+ ON: enable translation
27412
+ OFF: disable translation
27413
+ * @type {string || null}
27414
+ */
27415
+ this.TranslateSwitch = null;
27416
+
27417
+ /**
27418
+ * Target language for subtitle translation.
27419
+ This field takes effect when TranslateSwitch is set to ON.
27420
+ Supported languages:
27421
+ zh: Simplified Chinese
27422
+ en: English
27423
+ ja: Japanese
27424
+ ko: Korean
27425
+ fr: French
27426
+ es: Spanish
27427
+ it: Italian
27428
+ de: German
27429
+ tr: Turkish
27430
+ ru: Russian
27431
+ pt: Portuguese
27432
+ vi: Vietnamese
27433
+ id: Indonesian
27434
+ ms: Malay
27435
+ th: Thai
27436
+ ar: Arabic
27437
+ hi: Hindi
27438
+ * @type {string || null}
27439
+ */
27440
+ this.TranslateDstLanguage = null;
25476
27441
 
25477
27442
  }
25478
27443
 
@@ -25483,9 +27448,19 @@ class WordResult extends AbstractModel {
25483
27448
  if (!params) {
25484
27449
  return;
25485
27450
  }
25486
- this.Word = 'Word' in params ? params.Word : null;
25487
- this.Start = 'Start' in params ? params.Start : null;
25488
- this.End = 'End' in params ? params.End : null;
27451
+ this.Name = 'Name' in params ? params.Name : null;
27452
+ this.VideoSrcLanguage = 'VideoSrcLanguage' in params ? params.VideoSrcLanguage : null;
27453
+ this.SubtitleType = 'SubtitleType' in params ? params.SubtitleType : null;
27454
+ this.Comment = 'Comment' in params ? params.Comment : null;
27455
+ this.SubtitleFormat = 'SubtitleFormat' in params ? params.SubtitleFormat : null;
27456
+
27457
+ if (params.AsrHotWordsConfigure) {
27458
+ let obj = new AsrHotWordsConfigure();
27459
+ obj.deserialize(params.AsrHotWordsConfigure)
27460
+ this.AsrHotWordsConfigure = obj;
27461
+ }
27462
+ this.TranslateSwitch = 'TranslateSwitch' in params ? params.TranslateSwitch : null;
27463
+ this.TranslateDstLanguage = 'TranslateDstLanguage' in params ? params.TranslateDstLanguage : null;
25489
27464
 
25490
27465
  }
25491
27466
  }
@@ -25633,9 +27608,12 @@ class DrmInfo extends AbstractModel {
25633
27608
  super();
25634
27609
 
25635
27610
  /**
25636
- * The encryption type.
25637
- <li>`simpleaes`: AES-128 encryption.</li>
25638
- Note: This field may return·null, indicating that no valid values can be obtained.
27611
+ * Encryption type.
27612
+ <li>simpleaes: AES-128 encryption</li>
27613
+ <li> widevine</li>
27614
+ <li>fairplay: not supported for DASH streams</li>
27615
+ <li> playready</li>
27616
+ Note: This field may return null, indicating that no valid value can be obtained.
25639
27617
  * @type {string || null}
25640
27618
  */
25641
27619
  this.Type = null;
@@ -25647,6 +27625,12 @@ Note: This field may return·null, indicating that no valid values can be obtain
25647
27625
  */
25648
27626
  this.SimpleAesDrm = null;
25649
27627
 
27628
+ /**
27629
+ * Information about FairPlay, WideVine, and PlayReady encryption.
27630
+ * @type {SpekeDrm || null}
27631
+ */
27632
+ this.SpekeDrm = null;
27633
+
25650
27634
  }
25651
27635
 
25652
27636
  /**
@@ -25664,6 +27648,12 @@ Note: This field may return·null, indicating that no valid values can be obtain
25664
27648
  this.SimpleAesDrm = obj;
25665
27649
  }
25666
27650
 
27651
+ if (params.SpekeDrm) {
27652
+ let obj = new SpekeDrm();
27653
+ obj.deserialize(params.SpekeDrm)
27654
+ this.SpekeDrm = obj;
27655
+ }
27656
+
25667
27657
  }
25668
27658
  }
25669
27659
 
@@ -26246,41 +28236,71 @@ class TerrorismImgReviewTemplateInfo extends AbstractModel {
26246
28236
  }
26247
28237
 
26248
28238
  /**
26249
- * Control parameter of a full speech recognition task.
28239
+ * Returned result set of hotword lexicon query.
26250
28240
  * @class
26251
28241
  */
26252
- class TranslateConfigureInfo extends AbstractModel {
28242
+ class AsrHotwordsSet extends AbstractModel {
26253
28243
  constructor(){
26254
28244
  super();
26255
28245
 
26256
28246
  /**
26257
- * Switch of a full speech recognition task. Valid values:
26258
- <li>ON: Enables an intelligent full speech recognition task;</li>
26259
- <li>OFF: Disables an intelligent full speech recognition task.</li>
28247
+ * Hotword lexicon ID.
28248
+ Note: This field may return null, indicating that no valid value can be obtained.
26260
28249
  * @type {string || null}
26261
28250
  */
26262
- this.Switch = null;
28251
+ this.HotwordsId = null;
26263
28252
 
26264
28253
  /**
26265
- *
28254
+ * Current hotword lexicon status. The value indicates the number of smart subtitle templates bound to this hotword lexicon.
28255
+ If the Status value is 0, it indicates that the hotword lexicon is not referenced by any smart subtitle template and that it can be deleted.
28256
+ If the Status value is not 0, it indicates that the hotword lexicon cannot be deleted.
28257
+ Note: This field may return null, indicating that no valid value can be obtained.
28258
+ * @type {number || null}
28259
+ */
28260
+ this.Status = null;
28261
+
28262
+ /**
28263
+ * Hotword lexicon name.
28264
+ Note: This field may return null, indicating that no valid value can be obtained.
26266
28265
  * @type {string || null}
26267
28266
  */
26268
- this.SourceLanguage = null;
28267
+ this.Name = null;
26269
28268
 
26270
28269
  /**
26271
- *
28270
+ * Number of hotwords in the hotword lexicon.
28271
+ Note: This field may return null, indicating that no valid value can be obtained.
28272
+ * @type {number || null}
28273
+ */
28274
+ this.WordCount = null;
28275
+
28276
+ /**
28277
+ * Name of the uploaded hotword file.
28278
+ Note: This field may return null, indicating that no valid value can be obtained.
26272
28279
  * @type {string || null}
26273
28280
  */
26274
- this.DestinationLanguage = null;
28281
+ this.FileName = null;
26275
28282
 
26276
28283
  /**
26277
- * Generated subtitle file format. Leaving it as an empty string means no subtitle file will be generated. Valid value:
26278
- <li>vtt: Generate a WebVTT subtitle file.</li>
28284
+ * Creation time of the hotword lexicon in ISO datetime format (UTC time). For example, 2006-01-02T15:04:05Z.
28285
+ Note: This field may return null, indicating that no valid value can be obtained.
28286
+ * @type {string || null}
28287
+ */
28288
+ this.CreateTime = null;
26279
28289
 
26280
- Note: This field may return null, indicating that no valid values can be obtained.
28290
+ /**
28291
+ * Creation time of the hotword lexicon in ISO datetime format (UTC time). For example, 2006-01-02T15:04:05Z.
28292
+ Note: This field may return null, indicating that no valid value can be obtained.
26281
28293
  * @type {string || null}
26282
28294
  */
26283
- this.SubtitleFormat = null;
28295
+ this.UpdateTime = null;
28296
+
28297
+ /**
28298
+ * 0: temporary hotword lexicon
28299
+ 1: file-based hotword lexicon
28300
+ Note: This field may return null, indicating that no valid value can be obtained.
28301
+ * @type {number || null}
28302
+ */
28303
+ this.Type = null;
26284
28304
 
26285
28305
  }
26286
28306
 
@@ -26291,10 +28311,14 @@ Note: This field may return null, indicating that no valid values can be obtaine
26291
28311
  if (!params) {
26292
28312
  return;
26293
28313
  }
26294
- this.Switch = 'Switch' in params ? params.Switch : null;
26295
- this.SourceLanguage = 'SourceLanguage' in params ? params.SourceLanguage : null;
26296
- this.DestinationLanguage = 'DestinationLanguage' in params ? params.DestinationLanguage : null;
26297
- this.SubtitleFormat = 'SubtitleFormat' in params ? params.SubtitleFormat : null;
28314
+ this.HotwordsId = 'HotwordsId' in params ? params.HotwordsId : null;
28315
+ this.Status = 'Status' in params ? params.Status : null;
28316
+ this.Name = 'Name' in params ? params.Name : null;
28317
+ this.WordCount = 'WordCount' in params ? params.WordCount : null;
28318
+ this.FileName = 'FileName' in params ? params.FileName : null;
28319
+ this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
28320
+ this.UpdateTime = 'UpdateTime' in params ? params.UpdateTime : null;
28321
+ this.Type = 'Type' in params ? params.Type : null;
26298
28322
 
26299
28323
  }
26300
28324
  }
@@ -26441,13 +28465,25 @@ no_config: Not configured.
26441
28465
  }
26442
28466
 
26443
28467
  /**
26444
- * ModifyLiveRecordTemplate response structure.
28468
+ * DescribeSmartSubtitleTemplates response structure.
26445
28469
  * @class
26446
28470
  */
26447
- class ModifyLiveRecordTemplateResponse extends AbstractModel {
28471
+ class DescribeSmartSubtitleTemplatesResponse extends AbstractModel {
26448
28472
  constructor(){
26449
28473
  super();
26450
28474
 
28475
+ /**
28476
+ * Total number of records that meet filter conditions.
28477
+ * @type {number || null}
28478
+ */
28479
+ this.TotalCount = null;
28480
+
28481
+ /**
28482
+ * List of smart subtitle template details.
28483
+ * @type {Array.<SmartSubtitleTemplateItem> || null}
28484
+ */
28485
+ this.SmartSubtitleTemplateSet = null;
28486
+
26451
28487
  /**
26452
28488
  * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
26453
28489
  * @type {string || null}
@@ -26463,6 +28499,16 @@ class ModifyLiveRecordTemplateResponse extends AbstractModel {
26463
28499
  if (!params) {
26464
28500
  return;
26465
28501
  }
28502
+ this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
28503
+
28504
+ if (params.SmartSubtitleTemplateSet) {
28505
+ this.SmartSubtitleTemplateSet = new Array();
28506
+ for (let z in params.SmartSubtitleTemplateSet) {
28507
+ let obj = new SmartSubtitleTemplateItem();
28508
+ obj.deserialize(params.SmartSubtitleTemplateSet[z]);
28509
+ this.SmartSubtitleTemplateSet.push(obj);
28510
+ }
28511
+ }
26466
28512
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
26467
28513
 
26468
28514
  }
@@ -27980,6 +30026,13 @@ Note: This field may return null, indicating that no valid values can be obtaine
27980
30026
  */
27981
30027
  this.AiQualityControlTaskResult = null;
27982
30028
 
30029
+ /**
30030
+ * Execution result of the smart subtitle task.
30031
+ Note: This field may return null, indicating that no valid value can be obtained.
30032
+ * @type {Array.<SmartSubtitlesResult> || null}
30033
+ */
30034
+ this.SmartSubtitlesTaskResult = null;
30035
+
27983
30036
  }
27984
30037
 
27985
30038
  /**
@@ -28048,6 +30101,98 @@ Note: This field may return null, indicating that no valid values can be obtaine
28048
30101
  this.AiQualityControlTaskResult = obj;
28049
30102
  }
28050
30103
 
30104
+ if (params.SmartSubtitlesTaskResult) {
30105
+ this.SmartSubtitlesTaskResult = new Array();
30106
+ for (let z in params.SmartSubtitlesTaskResult) {
30107
+ let obj = new SmartSubtitlesResult();
30108
+ obj.deserialize(params.SmartSubtitlesTaskResult[z]);
30109
+ this.SmartSubtitlesTaskResult.push(obj);
30110
+ }
30111
+ }
30112
+
30113
+ }
30114
+ }
30115
+
30116
+ /**
30117
+ * Full speech recognition result.
30118
+ * @class
30119
+ */
30120
+ class SmartSubtitleTaskAsrFullTextResult extends AbstractModel {
30121
+ constructor(){
30122
+ super();
30123
+
30124
+ /**
30125
+ * Task status, including PROCESSING, SUCCESS, and FAIL.
30126
+ * @type {string || null}
30127
+ */
30128
+ this.Status = null;
30129
+
30130
+ /**
30131
+ * Error code. An empty string indicates that the task is successful, and other values indicate that the task has failed. For specific values, see [Error Codes] (https://intl.cloud.tencent.com/document/product/862/50369?from_cn_redirect=1#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81).
30132
+ * @type {string || null}
30133
+ */
30134
+ this.ErrCodeExt = null;
30135
+
30136
+ /**
30137
+ * Error code. 0 indicates that the task is successful, and other values indicate that the task has failed. (This field is not recommended. Use the new error code field ErrCodeExt instead.)
30138
+ * @type {number || null}
30139
+ */
30140
+ this.ErrCode = null;
30141
+
30142
+ /**
30143
+ * Error message.
30144
+ * @type {string || null}
30145
+ */
30146
+ this.Message = null;
30147
+
30148
+ /**
30149
+ * Input information on the full speech recognition task.
30150
+ Note: This field may return null, indicating that no valid value can be obtained.
30151
+ * @type {SmartSubtitleTaskResultInput || null}
30152
+ */
30153
+ this.Input = null;
30154
+
30155
+ /**
30156
+ * Output information on the full speech recognition task.
30157
+ Note: This field may return null, indicating that no valid value can be obtained.
30158
+ * @type {SmartSubtitleTaskAsrFullTextResultOutput || null}
30159
+ */
30160
+ this.Output = null;
30161
+
30162
+ /**
30163
+ * Task progress.
30164
+ Note: This field may return null, indicating that no valid value can be obtained.
30165
+ * @type {number || null}
30166
+ */
30167
+ this.Progress = null;
30168
+
30169
+ }
30170
+
30171
+ /**
30172
+ * @private
30173
+ */
30174
+ deserialize(params) {
30175
+ if (!params) {
30176
+ return;
30177
+ }
30178
+ this.Status = 'Status' in params ? params.Status : null;
30179
+ this.ErrCodeExt = 'ErrCodeExt' in params ? params.ErrCodeExt : null;
30180
+ this.ErrCode = 'ErrCode' in params ? params.ErrCode : null;
30181
+ this.Message = 'Message' in params ? params.Message : null;
30182
+
30183
+ if (params.Input) {
30184
+ let obj = new SmartSubtitleTaskResultInput();
30185
+ obj.deserialize(params.Input)
30186
+ this.Input = obj;
30187
+ }
30188
+
30189
+ if (params.Output) {
30190
+ let obj = new SmartSubtitleTaskAsrFullTextResultOutput();
30191
+ obj.deserialize(params.Output)
30192
+ this.Output = obj;
30193
+ }
30194
+ this.Progress = 'Progress' in params ? params.Progress : null;
30195
+
28051
30196
  }
28052
30197
  }
28053
30198
 
@@ -28206,23 +30351,86 @@ class ComposeAudioStream extends AbstractModel {
28206
30351
  <li>48000</li>
28207
30352
  * @type {number || null}
28208
30353
  */
28209
- this.SampleRate = null;
30354
+ this.SampleRate = null;
30355
+
30356
+ /**
30357
+ * The number of sound channels. Valid values:
30358
+ u200c<li>`1`: Mono. </li>
30359
+ <li>`2`: Dual (default). </li>
30360
+ * @type {number || null}
30361
+ */
30362
+ this.AudioChannel = null;
30363
+
30364
+ /**
30365
+ * Reference bitrate, in kbps. Value range: 26-10000.
30366
+ If set, the encoder will try to encode at this bitrate.
30367
+ If not set, the service will automatically adopt a suitable bitrate based on audio parameters.
30368
+ * @type {number || null}
30369
+ */
30370
+ this.Bitrate = null;
30371
+
30372
+ }
30373
+
30374
+ /**
30375
+ * @private
30376
+ */
30377
+ deserialize(params) {
30378
+ if (!params) {
30379
+ return;
30380
+ }
30381
+ this.Codec = 'Codec' in params ? params.Codec : null;
30382
+ this.SampleRate = 'SampleRate' in params ? params.SampleRate : null;
30383
+ this.AudioChannel = 'AudioChannel' in params ? params.AudioChannel : null;
30384
+ this.Bitrate = 'Bitrate' in params ? params.Bitrate : null;
30385
+
30386
+ }
30387
+ }
30388
+
30389
+ /**
30390
+ * Translated segment.
30391
+ * @class
30392
+ */
30393
+ class SmartSubtitleTaskTransTextSegmentItem extends AbstractModel {
30394
+ constructor(){
30395
+ super();
30396
+
30397
+ /**
30398
+ * Confidence of a recognized segment. Value range: 0-100.
30399
+ * @type {number || null}
30400
+ */
30401
+ this.Confidence = null;
30402
+
30403
+ /**
30404
+ * Start time offset of a recognized segment, in seconds.
30405
+ * @type {number || null}
30406
+ */
30407
+ this.StartTimeOffset = null;
30408
+
30409
+ /**
30410
+ * End time offset of a recognized segment, in seconds.
30411
+ * @type {number || null}
30412
+ */
30413
+ this.EndTimeOffset = null;
30414
+
30415
+ /**
30416
+ * Recognized text.
30417
+ * @type {string || null}
30418
+ */
30419
+ this.Text = null;
28210
30420
 
28211
30421
  /**
28212
- * The number of sound channels. Valid values:
28213
- u200c<li>`1`: Mono. </li>
28214
- <li>`2`: Dual (default). </li>
28215
- * @type {number || null}
30422
+ * Translated text.
30423
+ * @type {string || null}
28216
30424
  */
28217
- this.AudioChannel = null;
30425
+ this.Trans = null;
28218
30426
 
28219
30427
  /**
28220
- * Reference bitrate, in kbps. Value range: 26-10000.
28221
- If set, the encoder will try to encode at this bitrate.
28222
- If not set, the service will automatically adopt a suitable bitrate based on audio parameters.
28223
- * @type {number || null}
30428
+ * Word timestamp information.
30429
+
30430
+ Note: This field may return null, indicating that no valid value can be obtained.
30431
+ * @type {Array.<WordResult> || null}
28224
30432
  */
28225
- this.Bitrate = null;
30433
+ this.Wordlist = null;
28226
30434
 
28227
30435
  }
28228
30436
 
@@ -28233,10 +30441,20 @@ If not set, the service will automatically adopt a suitable bitrate based on aud
28233
30441
  if (!params) {
28234
30442
  return;
28235
30443
  }
28236
- this.Codec = 'Codec' in params ? params.Codec : null;
28237
- this.SampleRate = 'SampleRate' in params ? params.SampleRate : null;
28238
- this.AudioChannel = 'AudioChannel' in params ? params.AudioChannel : null;
28239
- this.Bitrate = 'Bitrate' in params ? params.Bitrate : null;
30444
+ this.Confidence = 'Confidence' in params ? params.Confidence : null;
30445
+ this.StartTimeOffset = 'StartTimeOffset' in params ? params.StartTimeOffset : null;
30446
+ this.EndTimeOffset = 'EndTimeOffset' in params ? params.EndTimeOffset : null;
30447
+ this.Text = 'Text' in params ? params.Text : null;
30448
+ this.Trans = 'Trans' in params ? params.Trans : null;
30449
+
30450
+ if (params.Wordlist) {
30451
+ this.Wordlist = new Array();
30452
+ for (let z in params.Wordlist) {
30453
+ let obj = new WordResult();
30454
+ obj.deserialize(params.Wordlist[z]);
30455
+ this.Wordlist.push(obj);
30456
+ }
30457
+ }
28240
30458
 
28241
30459
  }
28242
30460
  }
@@ -28605,6 +30823,144 @@ class ModifyLiveRecordTemplateRequest extends AbstractModel {
28605
30823
  }
28606
30824
  }
28607
30825
 
30826
+ /**
30827
+ * ModifySmartSubtitleTemplate request structure.
30828
+ * @class
30829
+ */
30830
+ class ModifySmartSubtitleTemplateRequest extends AbstractModel {
30831
+ constructor(){
30832
+ super();
30833
+
30834
+ /**
30835
+ * Unique identifier of the smart subtitle template.
30836
+ * @type {number || null}
30837
+ */
30838
+ this.Definition = null;
30839
+
30840
+ /**
30841
+ * Subtitle translation switch.
30842
+ ON: enable translation
30843
+ OFF: disable translation
30844
+ * @type {string || null}
30845
+ */
30846
+ this.TranslateSwitch = null;
30847
+
30848
+ /**
30849
+ * Smart subtitle template name.
30850
+ Length limit: 64 characters.
30851
+ * @type {string || null}
30852
+ */
30853
+ this.Name = null;
30854
+
30855
+ /**
30856
+ * Smart subtitle template description.
30857
+ Length limit: 256 characters.
30858
+ * @type {string || null}
30859
+ */
30860
+ this.Comment = null;
30861
+
30862
+ /**
30863
+ * Source language of the video with smart subtitles.
30864
+ Supported languages:
30865
+ zh: Simplified Chinese
30866
+ en: English
30867
+ ja: Japanese
30868
+ ko: Korean
30869
+ zh-PY: Chinese-English-Cantonese
30870
+ zh-medical: Medical Chinese
30871
+ yue: Cantonese
30872
+ vi: Vietnamese
30873
+ ms: Malay
30874
+ id: Indonesian
30875
+ fli: Filipino
30876
+ th: Thai
30877
+ pt: Portuguese
30878
+ tr: Turkish
30879
+ ar: Arabic
30880
+ es: Spanish
30881
+ hi: Hindi
30882
+ fr: French
30883
+ de: German
30884
+ zh-dialect: Chinese dialect
30885
+ * @type {string || null}
30886
+ */
30887
+ this.VideoSrcLanguage = null;
30888
+
30889
+ /**
30890
+ * Smart subtitle file format.
30891
+ vtt: WebVTT format
30892
+ If this field is left blank, no subtitle file will be generated.
30893
+ * @type {string || null}
30894
+ */
30895
+ this.SubtitleFormat = null;
30896
+
30897
+ /**
30898
+ * Smart subtitle language type.
30899
+ 0: source language1: target language
30900
+ 2: source language + target language
30901
+ The value can only be 0 when TranslateSwitch is set to OFF.The value can only be 1 or 2 when TranslateSwitch is set to ON.
30902
+ * @type {number || null}
30903
+ */
30904
+ this.SubtitleType = null;
30905
+
30906
+ /**
30907
+ * ASR hotword lexicon parameter.
30908
+ * @type {AsrHotWordsConfigure || null}
30909
+ */
30910
+ this.AsrHotWordsConfigure = null;
30911
+
30912
+ /**
30913
+ * Target language for subtitle translation.
30914
+ This field takes effect when TranslateSwitch is set to ON.
30915
+ Supported languages:
30916
+ zh: Simplified Chinese
30917
+ en: English
30918
+ ja: Japanese
30919
+ ko: Korean
30920
+ fr: French
30921
+ es: Spanish
30922
+ it: Italian
30923
+ de: German
30924
+ tr: Turkish
30925
+ ru: Russian
30926
+ pt: Portuguese
30927
+ vi: Vietnamese
30928
+ id: Indonesian
30929
+ ms: Malay
30930
+ th: Thai
30931
+ ar: Arabic
30932
+ hi: Hindi
30933
+ * @type {string || null}
30934
+ */
30935
+ this.TranslateDstLanguage = null;
30936
+
30937
+ }
30938
+
30939
+ /**
30940
+ * @private
30941
+ */
30942
+ deserialize(params) {
30943
+ if (!params) {
30944
+ return;
30945
+ }
30946
+ this.Definition = 'Definition' in params ? params.Definition : null;
30947
+ this.TranslateSwitch = 'TranslateSwitch' in params ? params.TranslateSwitch : null;
30948
+ this.Name = 'Name' in params ? params.Name : null;
30949
+ this.Comment = 'Comment' in params ? params.Comment : null;
30950
+ this.VideoSrcLanguage = 'VideoSrcLanguage' in params ? params.VideoSrcLanguage : null;
30951
+ this.SubtitleFormat = 'SubtitleFormat' in params ? params.SubtitleFormat : null;
30952
+ this.SubtitleType = 'SubtitleType' in params ? params.SubtitleType : null;
30953
+
30954
+ if (params.AsrHotWordsConfigure) {
30955
+ let obj = new AsrHotWordsConfigure();
30956
+ obj.deserialize(params.AsrHotWordsConfigure)
30957
+ this.AsrHotWordsConfigure = obj;
30958
+ }
30959
+ this.TranslateDstLanguage = 'TranslateDstLanguage' in params ? params.TranslateDstLanguage : null;
30960
+
30961
+ }
30962
+ }
30963
+
28608
30964
  /**
28609
30965
  * DescribeTranscodeTemplates response structure.
28610
30966
  * @class
@@ -28881,6 +31237,13 @@ Note: This field may return null, indicating that no valid values can be obtaine
28881
31237
  */
28882
31238
  this.QualityControlTask = null;
28883
31239
 
31240
+ /**
31241
+ * Smart subtitle task output.
31242
+ Note: This field may return null, indicating that no valid value can be obtained.
31243
+ * @type {ScheduleSmartSubtitleTaskResult || null}
31244
+ */
31245
+ this.SmartSubtitlesTask = null;
31246
+
28884
31247
  }
28885
31248
 
28886
31249
  /**
@@ -28951,6 +31314,77 @@ Note: This field may return null, indicating that no valid values can be obtaine
28951
31314
  this.QualityControlTask = obj;
28952
31315
  }
28953
31316
 
31317
+ if (params.SmartSubtitlesTask) {
31318
+ let obj = new ScheduleSmartSubtitleTaskResult();
31319
+ obj.deserialize(params.SmartSubtitlesTask)
31320
+ this.SmartSubtitlesTask = obj;
31321
+ }
31322
+
31323
+ }
31324
+ }
31325
+
31326
+ /**
31327
+ * FairPlay, WideVine, PlayReady, and other DRM encryption technologies.
31328
+ * @class
31329
+ */
31330
+ class SpekeDrm extends AbstractModel {
31331
+ constructor(){
31332
+ super();
31333
+
31334
+ /**
31335
+ * Resource ID.
31336
+ It supports 1 to 128 characters consisting of digits, letters, underscores (_), and hyphens (-).
31337
+ * @type {string || null}
31338
+ */
31339
+ this.ResourceId = null;
31340
+
31341
+ /**
31342
+ * Access address of the DRM vendor.
31343
+
31344
+ Note: Different DRM vendors have different limits on the number of substreams. For example, PallyCon limits the number of substreams to no more than 5, and DRMtoday supports encryption of up to 9 substreams.
31345
+ * @type {string || null}
31346
+ */
31347
+ this.KeyServerUrl = null;
31348
+
31349
+ /**
31350
+ * Initialization vector (32-byte string) for encryption.
31351
+ * @type {string || null}
31352
+ */
31353
+ this.Vector = null;
31354
+
31355
+ /**
31356
+ * Encryption method. cbcs: default method of FairPlay; cenc: default method of PlayReady and Widevine.
31357
+
31358
+ cbcs: supported by PlayReady, Widevine, and FairPlay
31359
+ cenc: supported by PlayReady and Widevine
31360
+ * @type {string || null}
31361
+ */
31362
+ this.EncryptionMethod = null;
31363
+
31364
+ /**
31365
+ * Substream encryption rule. Default value: preset0.
31366
+ preset 0: use the same key to encrypt all substreams
31367
+ preset1: use different keys for each substream
31368
+
31369
+ * @type {string || null}
31370
+ */
31371
+ this.EncryptionPreset = null;
31372
+
31373
+ }
31374
+
31375
+ /**
31376
+ * @private
31377
+ */
31378
+ deserialize(params) {
31379
+ if (!params) {
31380
+ return;
31381
+ }
31382
+ this.ResourceId = 'ResourceId' in params ? params.ResourceId : null;
31383
+ this.KeyServerUrl = 'KeyServerUrl' in params ? params.KeyServerUrl : null;
31384
+ this.Vector = 'Vector' in params ? params.Vector : null;
31385
+ this.EncryptionMethod = 'EncryptionMethod' in params ? params.EncryptionMethod : null;
31386
+ this.EncryptionPreset = 'EncryptionPreset' in params ? params.EncryptionPreset : null;
31387
+
28954
31388
  }
28955
31389
  }
28956
31390
 
@@ -29283,6 +31717,54 @@ class PoliticalAsrReviewTemplateInfo extends AbstractModel {
29283
31717
  }
29284
31718
  }
29285
31719
 
31720
+ /**
31721
+ * Smart subtitle input struct.
31722
+ * @class
31723
+ */
31724
+ class SmartSubtitlesTaskInput extends AbstractModel {
31725
+ constructor(){
31726
+ super();
31727
+
31728
+ /**
31729
+ * Smart subtitle template ID.
31730
+ * @type {number || null}
31731
+ */
31732
+ this.Definition = null;
31733
+
31734
+ /**
31735
+ * User extension field, which does not need to be filled in for general scenarios.
31736
+ * @type {string || null}
31737
+ */
31738
+ this.UserExtPara = null;
31739
+
31740
+ /**
31741
+ * Custom smart subtitle parameter. It takes effect when Definition is set to 0. This parameter is used in high customization scenarios. It is recommended that you preferentially use Definition to specify smart subtitle parameters.
31742
+ Note: This field may return null, indicating that no valid value can be obtained.
31743
+ * @type {RawSmartSubtitleParameter || null}
31744
+ */
31745
+ this.RawParameter = null;
31746
+
31747
+ }
31748
+
31749
+ /**
31750
+ * @private
31751
+ */
31752
+ deserialize(params) {
31753
+ if (!params) {
31754
+ return;
31755
+ }
31756
+ this.Definition = 'Definition' in params ? params.Definition : null;
31757
+ this.UserExtPara = 'UserExtPara' in params ? params.UserExtPara : null;
31758
+
31759
+ if (params.RawParameter) {
31760
+ let obj = new RawSmartSubtitleParameter();
31761
+ obj.deserialize(params.RawParameter)
31762
+ this.RawParameter = obj;
31763
+ }
31764
+
31765
+ }
31766
+ }
31767
+
29286
31768
  /**
29287
31769
  * CreateAnimatedGraphicsTemplate response structure.
29288
31770
  * @class
@@ -29897,6 +32379,41 @@ class ComposeAudioOperation extends AbstractModel {
29897
32379
  }
29898
32380
  }
29899
32381
 
32382
+ /**
32383
+ * CreateSmartSubtitleTemplate response structure.
32384
+ * @class
32385
+ */
32386
+ class CreateSmartSubtitleTemplateResponse extends AbstractModel {
32387
+ constructor(){
32388
+ super();
32389
+
32390
+ /**
32391
+ * Unique identifier of the smart subtitle template.
32392
+ * @type {number || null}
32393
+ */
32394
+ this.Definition = null;
32395
+
32396
+ /**
32397
+ * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
32398
+ * @type {string || null}
32399
+ */
32400
+ this.RequestId = null;
32401
+
32402
+ }
32403
+
32404
+ /**
32405
+ * @private
32406
+ */
32407
+ deserialize(params) {
32408
+ if (!params) {
32409
+ return;
32410
+ }
32411
+ this.Definition = 'Definition' in params ? params.Definition : null;
32412
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
32413
+
32414
+ }
32415
+ }
32416
+
29900
32417
  /**
29901
32418
  *
29902
32419
  * @class
@@ -30095,6 +32612,20 @@ Note: This field may return null, indicating that no valid values can be obtaine
30095
32612
  */
30096
32613
  this.SegmentTags = null;
30097
32614
 
32615
+ /**
32616
+ * The live streaming segment corresponds to the live start time point, in the ISO date format.
32617
+ Note: This field may return null, indicating that no valid value can be obtained.
32618
+ * @type {string || null}
32619
+ */
32620
+ this.BeginTime = null;
32621
+
32622
+ /**
32623
+ * The live streaming segment corresponds to the live streaming end time, in the ISO date format.
32624
+ Note: This field may return null, indicating that no valid value can be obtained.
32625
+ * @type {string || null}
32626
+ */
32627
+ this.EndTime = null;
32628
+
30098
32629
  }
30099
32630
 
30100
32631
  /**
@@ -30108,6 +32639,8 @@ Note: This field may return null, indicating that no valid values can be obtaine
30108
32639
  this.StartTimeOffset = 'StartTimeOffset' in params ? params.StartTimeOffset : null;
30109
32640
  this.EndTimeOffset = 'EndTimeOffset' in params ? params.EndTimeOffset : null;
30110
32641
  this.SegmentTags = 'SegmentTags' in params ? params.SegmentTags : null;
32642
+ this.BeginTime = 'BeginTime' in params ? params.BeginTime : null;
32643
+ this.EndTime = 'EndTime' in params ? params.EndTime : null;
30111
32644
 
30112
32645
  }
30113
32646
  }
@@ -30601,8 +33134,10 @@ module.exports = {
30601
33134
  DeleteAnimatedGraphicsTemplateResponse: DeleteAnimatedGraphicsTemplateResponse,
30602
33135
  AiReviewTaskProhibitedOcrResult: AiReviewTaskProhibitedOcrResult,
30603
33136
  AiRecognitionTaskAsrFullTextResultOutput: AiRecognitionTaskAsrFullTextResultOutput,
33137
+ AsrHotwordsSetItem: AsrHotwordsSetItem,
30604
33138
  AiReviewProhibitedOcrTaskOutput: AiReviewProhibitedOcrTaskOutput,
30605
33139
  DeleteScheduleResponse: DeleteScheduleResponse,
33140
+ SmartSubtitleTaskTransTextResultOutput: SmartSubtitleTaskTransTextResultOutput,
30606
33141
  ManageTaskResponse: ManageTaskResponse,
30607
33142
  DeleteWorkflowRequest: DeleteWorkflowRequest,
30608
33143
  AwsS3FileUploadTrigger: AwsS3FileUploadTrigger,
@@ -30611,14 +33146,17 @@ module.exports = {
30611
33146
  NumberFormat: NumberFormat,
30612
33147
  ModifySampleSnapshotTemplateRequest: ModifySampleSnapshotTemplateRequest,
30613
33148
  AiReviewPoliticalOcrTaskInput: AiReviewPoliticalOcrTaskInput,
33149
+ SmartSubtitleTaskTransTextResult: SmartSubtitleTaskTransTextResult,
30614
33150
  EnhanceConfig: EnhanceConfig,
30615
33151
  MediaInputInfo: MediaInputInfo,
30616
33152
  CreateWorkflowRequest: CreateWorkflowRequest,
30617
33153
  OcrWordsConfigureInfo: OcrWordsConfigureInfo,
33154
+ DescribeAsrHotwordsRequest: DescribeAsrHotwordsRequest,
33155
+ AudioTrackChannelInfo: AudioTrackChannelInfo,
30618
33156
  DiagnoseResult: DiagnoseResult,
30619
33157
  RawWatermarkParameter: RawWatermarkParameter,
30620
33158
  AiReviewTaskPoliticalOcrResult: AiReviewTaskPoliticalOcrResult,
30621
- ManageTaskRequest: ManageTaskRequest,
33159
+ AiSampleWord: AiSampleWord,
30622
33160
  PoliticalOcrReviewTemplateInfo: PoliticalOcrReviewTemplateInfo,
30623
33161
  CreateImageSpriteTemplateRequest: CreateImageSpriteTemplateRequest,
30624
33162
  MediaSnapshotByTimePicInfoItem: MediaSnapshotByTimePicInfoItem,
@@ -30640,6 +33178,7 @@ module.exports = {
30640
33178
  AiRecognitionTaskAsrWordsSegmentItem: AiRecognitionTaskAsrWordsSegmentItem,
30641
33179
  ParseLiveStreamProcessNotificationResponse: ParseLiveStreamProcessNotificationResponse,
30642
33180
  AiRecognitionTaskInput: AiRecognitionTaskInput,
33181
+ AiAnalysisTaskFrameTagResult: AiAnalysisTaskFrameTagResult,
30643
33182
  ComposeMediaConfig: ComposeMediaConfig,
30644
33183
  ExecuteFunctionResponse: ExecuteFunctionResponse,
30645
33184
  CoverConfigureInfo: CoverConfigureInfo,
@@ -30666,6 +33205,7 @@ module.exports = {
30666
33205
  CreateScheduleResponse: CreateScheduleResponse,
30667
33206
  TagConfigureInfo: TagConfigureInfo,
30668
33207
  AiRecognitionTaskOcrWordsResultOutput: AiRecognitionTaskOcrWordsResultOutput,
33208
+ ModifyLiveRecordTemplateResponse: ModifyLiveRecordTemplateResponse,
30669
33209
  AiParagraphInfo: AiParagraphInfo,
30670
33210
  AudioSeparateConfig: AudioSeparateConfig,
30671
33211
  DeleteAIRecognitionTemplateRequest: DeleteAIRecognitionTemplateRequest,
@@ -30673,6 +33213,7 @@ module.exports = {
30673
33213
  AudioBeautifyConfig: AudioBeautifyConfig,
30674
33214
  EnableWorkflowRequest: EnableWorkflowRequest,
30675
33215
  AiAnalysisTaskClassificationOutput: AiAnalysisTaskClassificationOutput,
33216
+ DescribeSmartSubtitleTemplatesRequest: DescribeSmartSubtitleTemplatesRequest,
30676
33217
  AiRecognitionTaskOcrFullTextResultOutput: AiRecognitionTaskOcrFullTextResultOutput,
30677
33218
  EditMediaTaskInput: EditMediaTaskInput,
30678
33219
  ComposeTransitionOperation: ComposeTransitionOperation,
@@ -30721,7 +33262,7 @@ module.exports = {
30721
33262
  ProhibitedAsrReviewTemplateInfoForUpdate: ProhibitedAsrReviewTemplateInfoForUpdate,
30722
33263
  DisableScheduleResponse: DisableScheduleResponse,
30723
33264
  ModifyAnimatedGraphicsTemplateResponse: ModifyAnimatedGraphicsTemplateResponse,
30724
- AiAnalysisTaskFrameTagResult: AiAnalysisTaskFrameTagResult,
33265
+ DeleteSmartSubtitleTemplateRequest: DeleteSmartSubtitleTemplateRequest,
30725
33266
  DeleteAdaptiveDynamicStreamingTemplateRequest: DeleteAdaptiveDynamicStreamingTemplateRequest,
30726
33267
  AiRecognitionTaskOcrFullTextSegmentItem: AiRecognitionTaskOcrFullTextSegmentItem,
30727
33268
  EditMediaOutputConfig: EditMediaOutputConfig,
@@ -30731,14 +33272,17 @@ module.exports = {
30731
33272
  ComposeTransitionItem: ComposeTransitionItem,
30732
33273
  DeleteAIAnalysisTemplateRequest: DeleteAIAnalysisTemplateRequest,
30733
33274
  EditMediaRequest: EditMediaRequest,
33275
+ DeleteAsrHotwordsRequest: DeleteAsrHotwordsRequest,
30734
33276
  S3InputInfo: S3InputInfo,
30735
33277
  MediaProcessTaskImageSpriteResult: MediaProcessTaskImageSpriteResult,
33278
+ DescribeAsrHotwordsListRequest: DescribeAsrHotwordsListRequest,
30736
33279
  AiAnalysisTaskDescriptionOutput: AiAnalysisTaskDescriptionOutput,
30737
33280
  DescribeAdaptiveDynamicStreamingTemplatesResponse: DescribeAdaptiveDynamicStreamingTemplatesResponse,
30738
33281
  MediaContentReviewOcrTextSegmentItem: MediaContentReviewOcrTextSegmentItem,
30739
33282
  UrlInputInfo: UrlInputInfo,
30740
33283
  DescribeAdaptiveDynamicStreamingTemplatesRequest: DescribeAdaptiveDynamicStreamingTemplatesRequest,
30741
33284
  ImageWatermarkInput: ImageWatermarkInput,
33285
+ TrackInfo: TrackInfo,
30742
33286
  LiveRecordResult: LiveRecordResult,
30743
33287
  AsrFullTextConfigureInfoForUpdate: AsrFullTextConfigureInfoForUpdate,
30744
33288
  LiveRecordFile: LiveRecordFile,
@@ -30776,6 +33320,7 @@ module.exports = {
30776
33320
  AiAnalysisTaskTagResult: AiAnalysisTaskTagResult,
30777
33321
  AiAnalysisTaskDelLogoInput: AiAnalysisTaskDelLogoInput,
30778
33322
  AiAnalysisTaskTagOutput: AiAnalysisTaskTagOutput,
33323
+ CreateAsrHotwordsResponse: CreateAsrHotwordsResponse,
30779
33324
  AiAnalysisTaskHighlightOutput: AiAnalysisTaskHighlightOutput,
30780
33325
  QualityControlItemConfig: QualityControlItemConfig,
30781
33326
  ProcessMediaRequest: ProcessMediaRequest,
@@ -30787,8 +33332,9 @@ module.exports = {
30787
33332
  AiRecognitionTaskTransTextResultInput: AiRecognitionTaskTransTextResultInput,
30788
33333
  DescribeSchedulesResponse: DescribeSchedulesResponse,
30789
33334
  ImageQualityEnhanceConfig: ImageQualityEnhanceConfig,
30790
- AiSampleWord: AiSampleWord,
33335
+ ManageTaskRequest: ManageTaskRequest,
30791
33336
  AiAnalysisTaskSegmentResult: AiAnalysisTaskSegmentResult,
33337
+ RawSmartSubtitleParameter: RawSmartSubtitleParameter,
30792
33338
  AiRecognitionTaskAsrFullTextResultInput: AiRecognitionTaskAsrFullTextResultInput,
30793
33339
  AiRecognitionTaskAsrWordsResultOutput: AiRecognitionTaskAsrWordsResultOutput,
30794
33340
  LiveStreamOcrWordsRecognitionResult: LiveStreamOcrWordsRecognitionResult,
@@ -30806,6 +33352,7 @@ module.exports = {
30806
33352
  SimpleAesDrm: SimpleAesDrm,
30807
33353
  DescribeWorkflowsResponse: DescribeWorkflowsResponse,
30808
33354
  AsrWordsConfigureInfoForUpdate: AsrWordsConfigureInfoForUpdate,
33355
+ ScheduleSmartSubtitleTaskResult: ScheduleSmartSubtitleTaskResult,
30809
33356
  DeleteImageSpriteTemplateResponse: DeleteImageSpriteTemplateResponse,
30810
33357
  DescribeContentReviewTemplatesResponse: DescribeContentReviewTemplatesResponse,
30811
33358
  TEHDConfig: TEHDConfig,
@@ -30814,7 +33361,7 @@ module.exports = {
30814
33361
  WorkflowTrigger: WorkflowTrigger,
30815
33362
  LiveStreamAiRecognitionResultInfo: LiveStreamAiRecognitionResultInfo,
30816
33363
  LiveStreamAiReviewImagePoliticalResult: LiveStreamAiReviewImagePoliticalResult,
30817
- TerrorismOcrReviewTemplateInfoForUpdate: TerrorismOcrReviewTemplateInfoForUpdate,
33364
+ ModifyAsrHotwordsResponse: ModifyAsrHotwordsResponse,
30818
33365
  UserDefineAsrTextReviewTemplateInfoForUpdate: UserDefineAsrTextReviewTemplateInfoForUpdate,
30819
33366
  ModifyImageSpriteTemplateResponse: ModifyImageSpriteTemplateResponse,
30820
33367
  CreateWatermarkTemplateRequest: CreateWatermarkTemplateRequest,
@@ -30839,16 +33386,20 @@ module.exports = {
30839
33386
  CreateAIRecognitionTemplateResponse: CreateAIRecognitionTemplateResponse,
30840
33387
  EditMediaTask: EditMediaTask,
30841
33388
  AiReviewTerrorismTaskOutput: AiReviewTerrorismTaskOutput,
33389
+ ModifyAsrHotwordsRequest: ModifyAsrHotwordsRequest,
30842
33390
  PornImgReviewTemplateInfo: PornImgReviewTemplateInfo,
30843
33391
  ProhibitedConfigureInfo: ProhibitedConfigureInfo,
30844
33392
  AiReviewTerrorismOcrTaskOutput: AiReviewTerrorismOcrTaskOutput,
33393
+ DescribeAsrHotwordsListResponse: DescribeAsrHotwordsListResponse,
30845
33394
  AiAnalysisResult: AiAnalysisResult,
33395
+ SmartSubtitleTaskResultInput: SmartSubtitleTaskResultInput,
30846
33396
  DescribeAIAnalysisTemplatesRequest: DescribeAIAnalysisTemplatesRequest,
30847
33397
  AiRecognitionTaskOcrWordsResultItem: AiRecognitionTaskOcrWordsResultItem,
30848
33398
  ProcessImageRequest: ProcessImageRequest,
30849
33399
  DeleteSampleSnapshotTemplateResponse: DeleteSampleSnapshotTemplateResponse,
30850
33400
  AiAnalysisTaskTagInput: AiAnalysisTaskTagInput,
30851
33401
  AiAnalysisTaskDescriptionResult: AiAnalysisTaskDescriptionResult,
33402
+ DeleteSmartSubtitleTemplateResponse: DeleteSmartSubtitleTemplateResponse,
30852
33403
  ResetWorkflowRequest: ResetWorkflowRequest,
30853
33404
  AiRecognitionTaskObjectResultInput: AiRecognitionTaskObjectResultInput,
30854
33405
  AiReviewTaskTerrorismResult: AiReviewTaskTerrorismResult,
@@ -30863,13 +33414,16 @@ module.exports = {
30863
33414
  DeleteScheduleRequest: DeleteScheduleRequest,
30864
33415
  CreateAdaptiveDynamicStreamingTemplateResponse: CreateAdaptiveDynamicStreamingTemplateResponse,
30865
33416
  DeleteSampleSnapshotTemplateRequest: DeleteSampleSnapshotTemplateRequest,
33417
+ TerrorismOcrReviewTemplateInfoForUpdate: TerrorismOcrReviewTemplateInfoForUpdate,
30866
33418
  AiAnalysisTaskInput: AiAnalysisTaskInput,
30867
33419
  ImageSpriteTemplate: ImageSpriteTemplate,
30868
33420
  AiRecognitionTaskOcrFullTextSegmentTextItem: AiRecognitionTaskOcrFullTextSegmentTextItem,
33421
+ DeleteAsrHotwordsResponse: DeleteAsrHotwordsResponse,
33422
+ SmartSubtitleTaskAsrFullTextSegmentItem: SmartSubtitleTaskAsrFullTextSegmentItem,
30869
33423
  QualityControlItem: QualityControlItem,
30870
33424
  LiveStreamAsrFullTextRecognitionResult: LiveStreamAsrFullTextRecognitionResult,
30871
33425
  AiReviewPornOcrTaskOutput: AiReviewPornOcrTaskOutput,
30872
- CreateSampleSnapshotTemplateResponse: CreateSampleSnapshotTemplateResponse,
33426
+ CreateAsrHotwordsRequest: CreateAsrHotwordsRequest,
30873
33427
  AiAnalysisTaskHighlightInput: AiAnalysisTaskHighlightInput,
30874
33428
  ProhibitedAsrReviewTemplateInfo: ProhibitedAsrReviewTemplateInfo,
30875
33429
  SegmentRecognitionItem: SegmentRecognitionItem,
@@ -30879,12 +33433,14 @@ module.exports = {
30879
33433
  DescribeStreamLinkSecurityGroupResponse: DescribeStreamLinkSecurityGroupResponse,
30880
33434
  MediaAiAnalysisTagItem: MediaAiAnalysisTagItem,
30881
33435
  TranscodeTemplate: TranscodeTemplate,
33436
+ TranslateConfigureInfo: TranslateConfigureInfo,
30882
33437
  PornOcrReviewTemplateInfo: PornOcrReviewTemplateInfo,
30883
33438
  AiReviewTaskPoliticalAsrResult: AiReviewTaskPoliticalAsrResult,
30884
33439
  SubtitleTemplate: SubtitleTemplate,
30885
33440
  LiveStreamProcessTask: LiveStreamProcessTask,
30886
33441
  AiReviewProhibitedAsrTaskInput: AiReviewProhibitedAsrTaskInput,
30887
33442
  DescribeMediaMetaDataResponse: DescribeMediaMetaDataResponse,
33443
+ SmartSubtitleTaskAsrFullTextResultOutput: SmartSubtitleTaskAsrFullTextResultOutput,
30888
33444
  TerrorismOcrReviewTemplateInfo: TerrorismOcrReviewTemplateInfo,
30889
33445
  ImageEncodeConfig: ImageEncodeConfig,
30890
33446
  AiReviewTaskPornResult: AiReviewTaskPornResult,
@@ -30901,15 +33457,19 @@ module.exports = {
30901
33457
  UserDefineOcrTextReviewTemplateInfo: UserDefineOcrTextReviewTemplateInfo,
30902
33458
  AdaptiveStreamTemplate: AdaptiveStreamTemplate,
30903
33459
  TranscodeTaskInput: TranscodeTaskInput,
33460
+ SmartSubtitleTemplateItem: SmartSubtitleTemplateItem,
30904
33461
  ModifyAIRecognitionTemplateRequest: ModifyAIRecognitionTemplateRequest,
30905
33462
  ParseNotificationResponse: ParseNotificationResponse,
30906
33463
  ComposeImageOperation: ComposeImageOperation,
33464
+ CreateSampleSnapshotTemplateResponse: CreateSampleSnapshotTemplateResponse,
30907
33465
  CreateLiveRecordTemplateResponse: CreateLiveRecordTemplateResponse,
30908
33466
  ActivityResult: ActivityResult,
33467
+ DescribeAsrHotwordsResponse: DescribeAsrHotwordsResponse,
30909
33468
  ResetWorkflowResponse: ResetWorkflowResponse,
30910
33469
  HLSConfigureInfo: HLSConfigureInfo,
30911
33470
  CreateAIAnalysisTemplateResponse: CreateAIAnalysisTemplateResponse,
30912
33471
  MediaProcessTaskSampleSnapshotResult: MediaProcessTaskSampleSnapshotResult,
33472
+ ModifySmartSubtitleTemplateResponse: ModifySmartSubtitleTemplateResponse,
30913
33473
  UserDefineConfigureInfoForUpdate: UserDefineConfigureInfoForUpdate,
30914
33474
  S3OutputStorage: S3OutputStorage,
30915
33475
  CosFileUploadTrigger: CosFileUploadTrigger,
@@ -30974,7 +33534,9 @@ module.exports = {
30974
33534
  AiReviewPoliticalTaskOutput: AiReviewPoliticalTaskOutput,
30975
33535
  AiReviewTaskPoliticalResult: AiReviewTaskPoliticalResult,
30976
33536
  AiRecognitionTaskTransTextResultOutput: AiRecognitionTaskTransTextResultOutput,
33537
+ SmartSubtitlesResult: SmartSubtitlesResult,
30977
33538
  ModifySnapshotByTimeOffsetTemplateRequest: ModifySnapshotByTimeOffsetTemplateRequest,
33539
+ AsrHotWordsConfigure: AsrHotWordsConfigure,
30978
33540
  LiveStreamAiReviewResultItem: LiveStreamAiReviewResultItem,
30979
33541
  DeleteLiveRecordTemplateResponse: DeleteLiveRecordTemplateResponse,
30980
33542
  DescribeSnapshotByTimeOffsetTemplatesResponse: DescribeSnapshotByTimeOffsetTemplatesResponse,
@@ -31002,6 +33564,7 @@ module.exports = {
31002
33564
  AddOnSubtitle: AddOnSubtitle,
31003
33565
  AwsSQS: AwsSQS,
31004
33566
  WordResult: WordResult,
33567
+ CreateSmartSubtitleTemplateRequest: CreateSmartSubtitleTemplateRequest,
31005
33568
  PornConfigureInfoForUpdate: PornConfigureInfoForUpdate,
31006
33569
  QualityControlData: QualityControlData,
31007
33570
  DrmInfo: DrmInfo,
@@ -31012,10 +33575,10 @@ module.exports = {
31012
33575
  AiContentReviewResult: AiContentReviewResult,
31013
33576
  LiveActivityResult: LiveActivityResult,
31014
33577
  TerrorismImgReviewTemplateInfo: TerrorismImgReviewTemplateInfo,
31015
- TranslateConfigureInfo: TranslateConfigureInfo,
33578
+ AsrHotwordsSet: AsrHotwordsSet,
31016
33579
  AiAnalysisTaskHeadTailInput: AiAnalysisTaskHeadTailInput,
31017
33580
  DescribeTranscodeTemplatesRequest: DescribeTranscodeTemplatesRequest,
31018
- ModifyLiveRecordTemplateResponse: ModifyLiveRecordTemplateResponse,
33581
+ DescribeSmartSubtitleTemplatesResponse: DescribeSmartSubtitleTemplatesResponse,
31019
33582
  SchedulesInfo: SchedulesInfo,
31020
33583
  DisableWorkflowRequest: DisableWorkflowRequest,
31021
33584
  PoliticalConfigureInfoForUpdate: PoliticalConfigureInfoForUpdate,
@@ -31043,9 +33606,11 @@ module.exports = {
31043
33606
  AiAnalysisTaskHeadTailResult: AiAnalysisTaskHeadTailResult,
31044
33607
  CreateSampleSnapshotTemplateRequest: CreateSampleSnapshotTemplateRequest,
31045
33608
  WorkflowTask: WorkflowTask,
33609
+ SmartSubtitleTaskAsrFullTextResult: SmartSubtitleTaskAsrFullTextResult,
31046
33610
  AiReviewTaskPornAsrResult: AiReviewTaskPornAsrResult,
31047
33611
  EditMediaFileInfo: EditMediaFileInfo,
31048
33612
  ComposeAudioStream: ComposeAudioStream,
33613
+ SmartSubtitleTaskTransTextSegmentItem: SmartSubtitleTaskTransTextSegmentItem,
31049
33614
  FaceConfigureInfo: FaceConfigureInfo,
31050
33615
  AiRecognitionTaskFaceResultOutput: AiRecognitionTaskFaceResultOutput,
31051
33616
  PornImgReviewTemplateInfoForUpdate: PornImgReviewTemplateInfoForUpdate,
@@ -31054,17 +33619,20 @@ module.exports = {
31054
33619
  AiReviewPoliticalOcrTaskOutput: AiReviewPoliticalOcrTaskOutput,
31055
33620
  OcrFullTextConfigureInfo: OcrFullTextConfigureInfo,
31056
33621
  ModifyLiveRecordTemplateRequest: ModifyLiveRecordTemplateRequest,
33622
+ ModifySmartSubtitleTemplateRequest: ModifySmartSubtitleTemplateRequest,
31057
33623
  DescribeTranscodeTemplatesResponse: DescribeTranscodeTemplatesResponse,
31058
33624
  DeleteAnimatedGraphicsTemplateRequest: DeleteAnimatedGraphicsTemplateRequest,
31059
33625
  DeleteSnapshotByTimeOffsetTemplateRequest: DeleteSnapshotByTimeOffsetTemplateRequest,
31060
33626
  DescribeAnimatedGraphicsTemplatesResponse: DescribeAnimatedGraphicsTemplatesResponse,
31061
33627
  MediaAiAnalysisFrameTagItem: MediaAiAnalysisFrameTagItem,
31062
33628
  ActivityResItem: ActivityResItem,
33629
+ SpekeDrm: SpekeDrm,
31063
33630
  AiAnalysisTaskDelLogoResult: AiAnalysisTaskDelLogoResult,
31064
33631
  SampleSnapshotTaskInput: SampleSnapshotTaskInput,
31065
33632
  QualityControlTemplate: QualityControlTemplate,
31066
33633
  TerrorismConfigureInfo: TerrorismConfigureInfo,
31067
33634
  PoliticalAsrReviewTemplateInfo: PoliticalAsrReviewTemplateInfo,
33635
+ SmartSubtitlesTaskInput: SmartSubtitlesTaskInput,
31068
33636
  CreateAnimatedGraphicsTemplateResponse: CreateAnimatedGraphicsTemplateResponse,
31069
33637
  SampleSnapshotTemplate: SampleSnapshotTemplate,
31070
33638
  MediaImageSpriteItem: MediaImageSpriteItem,
@@ -31073,6 +33641,7 @@ module.exports = {
31073
33641
  AiAnalysisTaskDescriptionInput: AiAnalysisTaskDescriptionInput,
31074
33642
  LiveScheduleLiveRecordTaskResult: LiveScheduleLiveRecordTaskResult,
31075
33643
  ComposeAudioOperation: ComposeAudioOperation,
33644
+ CreateSmartSubtitleTemplateResponse: CreateSmartSubtitleTemplateResponse,
31076
33645
  LiveStreamAiAnalysisResultItem: LiveStreamAiAnalysisResultItem,
31077
33646
  AiRecognitionTaskTransTextResult: AiRecognitionTaskTransTextResult,
31078
33647
  EditMediaTaskOutput: EditMediaTaskOutput,