tencentcloud-sdk-nodejs-intl-en 3.0.1229 → 3.0.1230

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.
@@ -5364,6 +5364,59 @@ class DeleteAIAnalysisTemplateResponse extends AbstractModel {
5364
5364
  }
5365
5365
  }
5366
5366
 
5367
+ /**
5368
+ * Detection policy for media quality inspection.
5369
+ * @class
5370
+ */
5371
+ class TimeSpotCheck extends AbstractModel {
5372
+ constructor(){
5373
+ super();
5374
+
5375
+ /**
5376
+ * Duration of each loop detection in the spot check policy, in seconds. Valid values:
5377
+
5378
+ - Minimum value: 10.
5379
+ - Maximum value: 86400.
5380
+
5381
+ * @type {number || null}
5382
+ */
5383
+ this.CheckDuration = null;
5384
+
5385
+ /**
5386
+ * Detection interval of the spot check policy, which indicates how long to wait before conducting the next detection after one detection is completed.
5387
+ * @type {number || null}
5388
+ */
5389
+ this.CheckInterval = null;
5390
+
5391
+ /**
5392
+ * Duration for which the opening clip is skipped.
5393
+ * @type {number || null}
5394
+ */
5395
+ this.SkipDuration = null;
5396
+
5397
+ /**
5398
+ * Number of loops. When this field is empty or set to 0, the default behavior is to loop until the video ends.
5399
+ * @type {number || null}
5400
+ */
5401
+ this.CirclesNumber = null;
5402
+
5403
+ }
5404
+
5405
+ /**
5406
+ * @private
5407
+ */
5408
+ deserialize(params) {
5409
+ if (!params) {
5410
+ return;
5411
+ }
5412
+ this.CheckDuration = 'CheckDuration' in params ? params.CheckDuration : null;
5413
+ this.CheckInterval = 'CheckInterval' in params ? params.CheckInterval : null;
5414
+ this.SkipDuration = 'SkipDuration' in params ? params.SkipDuration : null;
5415
+ this.CirclesNumber = 'CirclesNumber' in params ? params.CirclesNumber : null;
5416
+
5417
+ }
5418
+ }
5419
+
5367
5420
  /**
5368
5421
  * Text watermarking template
5369
5422
  * @class
@@ -8733,6 +8786,69 @@ Note: This field may return `null`, indicating that no valid values can be obtai
8733
8786
  }
8734
8787
  }
8735
8788
 
8789
+ /**
8790
+ * Task judgment conditions.
8791
+ * @class
8792
+ */
8793
+ class Rules extends AbstractModel {
8794
+ constructor(){
8795
+ super();
8796
+
8797
+ /**
8798
+ * Judgment condition ID.
8799
+ Note: This field may return null, indicating that no valid value can be obtained.
8800
+ * @type {string || null}
8801
+ */
8802
+ this.Id = null;
8803
+
8804
+ /**
8805
+ * Judgment condition configuration.
8806
+ Note: This field may return null, indicating that no valid value can be obtained.
8807
+ * @type {Array.<RuleConditionItem> || null}
8808
+ */
8809
+ this.Conditions = null;
8810
+
8811
+ /**
8812
+ * Logical operator for the list of conditions. Valid values:
8813
+
8814
+ - &&: logical AND
8815
+ - ||: logical OR
8816
+ * @type {string || null}
8817
+ */
8818
+ this.Linker = null;
8819
+
8820
+ /**
8821
+ * Indexes of the nodes to execute if the judgment conditions are met.
8822
+ Note: This field may return null, indicating that no valid value can be obtained.
8823
+ * @type {Array.<number> || null}
8824
+ */
8825
+ this.RearDriveIndexs = null;
8826
+
8827
+ }
8828
+
8829
+ /**
8830
+ * @private
8831
+ */
8832
+ deserialize(params) {
8833
+ if (!params) {
8834
+ return;
8835
+ }
8836
+ this.Id = 'Id' in params ? params.Id : null;
8837
+
8838
+ if (params.Conditions) {
8839
+ this.Conditions = new Array();
8840
+ for (let z in params.Conditions) {
8841
+ let obj = new RuleConditionItem();
8842
+ obj.deserialize(params.Conditions[z]);
8843
+ this.Conditions.push(obj);
8844
+ }
8845
+ }
8846
+ this.Linker = 'Linker' in params ? params.Linker : null;
8847
+ this.RearDriveIndexs = 'RearDriveIndexs' in params ? params.RearDriveIndexs : null;
8848
+
8849
+ }
8850
+ }
8851
+
8736
8852
  /**
8737
8853
  * Text keyword recognition result.
8738
8854
  * @class
@@ -9613,7 +9729,8 @@ class MediaProcessTaskImageSpriteResult extends AbstractModel {
9613
9729
  this.Input = null;
9614
9730
 
9615
9731
  /**
9616
- * Specifies the output of an image sprite task for a video.
9732
+ * Output of the image sprite task for videos.
9733
+ Note: This field may return null, indicating that no valid value can be obtained.
9617
9734
  * @type {MediaImageSpriteItem || null}
9618
9735
  */
9619
9736
  this.Output = null;
@@ -11822,6 +11939,34 @@ class MP4ConfigureInfo extends AbstractModel {
11822
11939
  }
11823
11940
  }
11824
11941
 
11942
+ /**
11943
+ * Subtitle position information.
11944
+ * @class
11945
+ */
11946
+ class SubtitlePosition extends AbstractModel {
11947
+ constructor(){
11948
+ super();
11949
+
11950
+ /**
11951
+ * Y-coordinate value when the subtitle is centered.
11952
+ * @type {number || null}
11953
+ */
11954
+ this.CenterY = null;
11955
+
11956
+ }
11957
+
11958
+ /**
11959
+ * @private
11960
+ */
11961
+ deserialize(params) {
11962
+ if (!params) {
11963
+ return;
11964
+ }
11965
+ this.CenterY = 'CenterY' in params ? params.CenterY : null;
11966
+
11967
+ }
11968
+ }
11969
+
11825
11970
  /**
11826
11971
  * DeleteQualityControlTemplate request structure.
11827
11972
  * @class
@@ -11990,38 +12135,33 @@ class LiveScheduleTask extends AbstractModel {
11990
12135
  super();
11991
12136
 
11992
12137
  /**
11993
- * The ID of a live scheme subtask.
11994
- Note: This field may return null, indicating that no valid values can be obtained.
12138
+ * Live orchestration task ID.
11995
12139
  * @type {string || null}
11996
12140
  */
11997
12141
  this.TaskId = null;
11998
12142
 
11999
12143
  /**
12000
- * The task status. Valid values:
12001
- <li>`PROCESSING`</li>
12002
- <li>`FINISH` </li>
12003
- Note: This field may return null, indicating that no valid values can be obtained.
12144
+ * Task stream status. Valid values:
12145
+ <li>PROCESSING: processing</li>
12146
+ <li>FINISH: completed</li>
12004
12147
  * @type {string || null}
12005
12148
  */
12006
12149
  this.Status = null;
12007
12150
 
12008
12151
  /**
12009
- * If the value returned is not `0`, there was a source error. If `0` is returned, refer to the error codes of the corresponding task type.
12010
- Note: This field may return null, indicating that no valid values can be obtained.
12152
+ * An error code other than 0 is returned in case of a source exception. Use the error code of the specific task when a value of 0 is returned.
12011
12153
  * @type {number || null}
12012
12154
  */
12013
12155
  this.ErrCode = null;
12014
12156
 
12015
12157
  /**
12016
- * If there was a source error, this parameter is the error message. For other errors, refer to the error messages of the corresponding task type.
12017
- Note: This field may return null, indicating that no valid values can be obtained.
12158
+ * The corresponding exception message is returned in case of a source exception. If no source exception occurs, use the message of each specific task.
12018
12159
  * @type {string || null}
12019
12160
  */
12020
12161
  this.Message = null;
12021
12162
 
12022
12163
  /**
12023
- * The URL of the live stream.
12024
- Note: This field may return null, indicating that no valid values can be obtained.
12164
+ * Live stream URL.
12025
12165
  * @type {string || null}
12026
12166
  */
12027
12167
  this.Url = null;
@@ -13478,7 +13618,8 @@ class MediaProcessTaskSnapshotByTimeOffsetResult extends AbstractModel {
13478
13618
  this.Input = null;
13479
13619
 
13480
13620
  /**
13481
- * Specifies the output of a screenshot task at specified time points for a video.
13621
+ * Output of the time point screenshot task for videos.
13622
+ Note: This field may return null, indicating that no valid value can be obtained.
13482
13623
  * @type {MediaSnapshotByTimeOffsetItem || null}
13483
13624
  */
13484
13625
  this.Output = null;
@@ -14635,6 +14776,89 @@ class AiSamplePerson extends AbstractModel {
14635
14776
  }
14636
14777
  }
14637
14778
 
14779
+ /**
14780
+ * Full speech recognition result.
14781
+ * @class
14782
+ */
14783
+ class SmartSubtitleTaskAsrFullTextResult extends AbstractModel {
14784
+ constructor(){
14785
+ super();
14786
+
14787
+ /**
14788
+ * Task status, including PROCESSING, SUCCESS, and FAIL.
14789
+ * @type {string || null}
14790
+ */
14791
+ this.Status = null;
14792
+
14793
+ /**
14794
+ * 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).
14795
+ * @type {string || null}
14796
+ */
14797
+ this.ErrCodeExt = null;
14798
+
14799
+ /**
14800
+ * 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.)
14801
+ * @type {number || null}
14802
+ */
14803
+ this.ErrCode = null;
14804
+
14805
+ /**
14806
+ * Error message.
14807
+ * @type {string || null}
14808
+ */
14809
+ this.Message = null;
14810
+
14811
+ /**
14812
+ * Input information on the full speech recognition task.
14813
+ Note: This field may return null, indicating that no valid value can be obtained.
14814
+ * @type {SmartSubtitleTaskResultInput || null}
14815
+ */
14816
+ this.Input = null;
14817
+
14818
+ /**
14819
+ * Output information on the full speech recognition task.
14820
+ Note: This field may return null, indicating that no valid value can be obtained.
14821
+ * @type {SmartSubtitleTaskAsrFullTextResultOutput || null}
14822
+ */
14823
+ this.Output = null;
14824
+
14825
+ /**
14826
+ * Task progress.
14827
+ Note: This field may return null, indicating that no valid value can be obtained.
14828
+ * @type {number || null}
14829
+ */
14830
+ this.Progress = null;
14831
+
14832
+ }
14833
+
14834
+ /**
14835
+ * @private
14836
+ */
14837
+ deserialize(params) {
14838
+ if (!params) {
14839
+ return;
14840
+ }
14841
+ this.Status = 'Status' in params ? params.Status : null;
14842
+ this.ErrCodeExt = 'ErrCodeExt' in params ? params.ErrCodeExt : null;
14843
+ this.ErrCode = 'ErrCode' in params ? params.ErrCode : null;
14844
+ this.Message = 'Message' in params ? params.Message : null;
14845
+
14846
+ if (params.Input) {
14847
+ let obj = new SmartSubtitleTaskResultInput();
14848
+ obj.deserialize(params.Input)
14849
+ this.Input = obj;
14850
+ }
14851
+
14852
+ if (params.Output) {
14853
+ let obj = new SmartSubtitleTaskAsrFullTextResultOutput();
14854
+ obj.deserialize(params.Output)
14855
+ this.Output = obj;
14856
+ }
14857
+ this.Progress = 'Progress' in params ? params.Progress : null;
14858
+
14859
+ }
14860
+ }
14861
+
14638
14862
  /**
14639
14863
  * Smart subtitle task result.
14640
14864
  * @class
@@ -15663,6 +15887,13 @@ Note: This field may return null, indicating that no valid values can be obtaine
15663
15887
  */
15664
15888
  this.QualityControlTask = null;
15665
15889
 
15890
+ /**
15891
+ * Conditional judgment of the task.
15892
+ Note: This field may return null, indicating that no valid value can be obtained.
15893
+ * @type {ExecRulesTask || null}
15894
+ */
15895
+ this.ExecRulesTask = null;
15896
+
15666
15897
  /**
15667
15898
  * Smart subtitle task.
15668
15899
  Note: This field may return null, indicating that no valid value can be obtained.
@@ -15740,6 +15971,12 @@ Note: This field may return null, indicating that no valid value can be obtained
15740
15971
  this.QualityControlTask = obj;
15741
15972
  }
15742
15973
 
15974
+ if (params.ExecRulesTask) {
15975
+ let obj = new ExecRulesTask();
15976
+ obj.deserialize(params.ExecRulesTask)
15977
+ this.ExecRulesTask = obj;
15978
+ }
15979
+
15743
15980
  if (params.SmartSubtitlesTask) {
15744
15981
  let obj = new SmartSubtitlesTaskInput();
15745
15982
  obj.deserialize(params.SmartSubtitlesTask)
@@ -16009,12 +16246,23 @@ class ScheduleAnalysisTaskResult extends AbstractModel {
16009
16246
  this.Input = null;
16010
16247
 
16011
16248
  /**
16012
- * The output of the content analysis task.
16013
- Note: This field may return null, indicating that no valid values can be obtained.
16249
+ * Analysis task output.
16014
16250
  * @type {Array.<AiAnalysisResult> || null}
16015
16251
  */
16016
16252
  this.Output = null;
16017
16253
 
16254
+ /**
16255
+ * Task execution start time in [ISO date and time format](https://www.tencentcloud.comom/document/product/862/37710?from_cn_redirect=1#52).
16256
+ * @type {string || null}
16257
+ */
16258
+ this.BeginProcessTime = null;
16259
+
16260
+ /**
16261
+ * Task execution completion time in [ISO date and time format](https://www.tencentcloud.comom/document/product/862/37710?from_cn_redirect=1#52).
16262
+ * @type {string || null}
16263
+ */
16264
+ this.FinishTime = null;
16265
+
16018
16266
  }
16019
16267
 
16020
16268
  /**
@@ -16043,6 +16291,8 @@ Note: This field may return null, indicating that no valid values can be obtaine
16043
16291
  this.Output.push(obj);
16044
16292
  }
16045
16293
  }
16294
+ this.BeginProcessTime = 'BeginProcessTime' in params ? params.BeginProcessTime : null;
16295
+ this.FinishTime = 'FinishTime' in params ? params.FinishTime : null;
16046
16296
 
16047
16297
  }
16048
16298
  }
@@ -17150,6 +17400,12 @@ class CreateQualityControlTemplateRequest extends AbstractModel {
17150
17400
  */
17151
17401
  this.RecordFormat = null;
17152
17402
 
17403
+ /**
17404
+ * Spot check policy for media quality inspection.
17405
+ * @type {QualityControlStrategy || null}
17406
+ */
17407
+ this.Strategy = null;
17408
+
17153
17409
  }
17154
17410
 
17155
17411
  /**
@@ -17172,6 +17428,12 @@ class CreateQualityControlTemplateRequest extends AbstractModel {
17172
17428
  this.Comment = 'Comment' in params ? params.Comment : null;
17173
17429
  this.RecordFormat = 'RecordFormat' in params ? params.RecordFormat : null;
17174
17430
 
17431
+ if (params.Strategy) {
17432
+ let obj = new QualityControlStrategy();
17433
+ obj.deserialize(params.Strategy)
17434
+ this.Strategy = obj;
17435
+ }
17436
+
17175
17437
  }
17176
17438
  }
17177
17439
 
@@ -17210,6 +17472,73 @@ class AiSampleTagOperation extends AbstractModel {
17210
17472
  }
17211
17473
  }
17212
17474
 
17475
+ /**
17476
+ * Result type of the media quality inspection task.
17477
+ * @class
17478
+ */
17479
+ class ScheduleExecRuleTaskResult extends AbstractModel {
17480
+ constructor(){
17481
+ super();
17482
+
17483
+ /**
17484
+ * Task status, which can be PROCESSING, SUCCESS, or FAIL.
17485
+ * @type {string || null}
17486
+ */
17487
+ this.Status = null;
17488
+
17489
+ /**
17490
+ * Error code. An empty string indicates success, while other values indicate failure. For specific values, see the list of MPS error codes at https://www.tencentcloud.comom/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.
17491
+ * @type {string || null}
17492
+ */
17493
+ this.ErrCodeExt = null;
17494
+
17495
+ /**
17496
+ * Error message.
17497
+ * @type {string || null}
17498
+ */
17499
+ this.Message = null;
17500
+
17501
+ /**
17502
+ * Input of the conditional judgment task.
17503
+ * @type {ExecRulesTask || null}
17504
+ */
17505
+ this.Input = null;
17506
+
17507
+ /**
17508
+ * Output of the conditional judgment task.
17509
+ Note: This field may return null, indicating that no valid value can be obtained.
17510
+ * @type {ExecRuleTaskData || null}
17511
+ */
17512
+ this.Output = null;
17513
+
17514
+ }
17515
+
17516
+ /**
17517
+ * @private
17518
+ */
17519
+ deserialize(params) {
17520
+ if (!params) {
17521
+ return;
17522
+ }
17523
+ this.Status = 'Status' in params ? params.Status : null;
17524
+ this.ErrCodeExt = 'ErrCodeExt' in params ? params.ErrCodeExt : null;
17525
+ this.Message = 'Message' in params ? params.Message : null;
17526
+
17527
+ if (params.Input) {
17528
+ let obj = new ExecRulesTask();
17529
+ obj.deserialize(params.Input)
17530
+ this.Input = obj;
17531
+ }
17532
+
17533
+ if (params.Output) {
17534
+ let obj = new ExecRuleTaskData();
17535
+ obj.deserialize(params.Output)
17536
+ this.Output = obj;
17537
+ }
17538
+
17539
+ }
17540
+ }
17541
+
17213
17542
  /**
17214
17543
  * CreateAIRecognitionTemplate response structure.
17215
17544
  * @class
@@ -18720,6 +19049,34 @@ class CreateSnapshotByTimeOffsetTemplateResponse extends AbstractModel {
18720
19049
  }
18721
19050
  }
18722
19051
 
19052
+ /**
19053
+ * Conditional judgment output.
19054
+ * @class
19055
+ */
19056
+ class ExecRuleTaskData extends AbstractModel {
19057
+ constructor(){
19058
+ super();
19059
+
19060
+ /**
19061
+ * Indexes of nodes that needs to be executed based on the conditional judgment for quality inspection.
19062
+ * @type {Array.<number> || null}
19063
+ */
19064
+ this.RearDriveIndex = null;
19065
+
19066
+ }
19067
+
19068
+ /**
19069
+ * @private
19070
+ */
19071
+ deserialize(params) {
19072
+ if (!params) {
19073
+ return;
19074
+ }
19075
+ this.RearDriveIndex = 'RearDriveIndex' in params ? params.RearDriveIndex : null;
19076
+
19077
+ }
19078
+ }
19079
+
18723
19080
  /**
18724
19081
  * ModifyContentReviewTemplate request structure.
18725
19082
  * @class
@@ -19938,6 +20295,12 @@ class MediaAiAnalysisTagItem extends AbstractModel {
19938
20295
  */
19939
20296
  this.Confidence = null;
19940
20297
 
20298
+ /**
20299
+ * Varies based on different types.
20300
+ * @type {string || null}
20301
+ */
20302
+ this.SpecialInfo = null;
20303
+
19941
20304
  }
19942
20305
 
19943
20306
  /**
@@ -19949,6 +20312,7 @@ class MediaAiAnalysisTagItem extends AbstractModel {
19949
20312
  }
19950
20313
  this.Tag = 'Tag' in params ? params.Tag : null;
19951
20314
  this.Confidence = 'Confidence' in params ? params.Confidence : null;
20315
+ this.SpecialInfo = 'SpecialInfo' in params ? params.SpecialInfo : null;
19952
20316
 
19953
20317
  }
19954
20318
  }
@@ -20286,6 +20650,47 @@ Note: This field may return `null`, indicating that no valid values can be obtai
20286
20650
  }
20287
20651
  }
20288
20652
 
20653
+ /**
20654
+ * Detection policy for media quality inspection.
20655
+ * @class
20656
+ */
20657
+ class QualityControlStrategy extends AbstractModel {
20658
+ constructor(){
20659
+ super();
20660
+
20661
+ /**
20662
+ * Policy type. Valid values:
20663
+ - TimeSpotCheck
20664
+ * @type {string || null}
20665
+ */
20666
+ this.StrategyType = null;
20667
+
20668
+ /**
20669
+ * Spot check policy based on time.
20670
+ * @type {TimeSpotCheck || null}
20671
+ */
20672
+ this.TimeSpotCheck = null;
20673
+
20674
+ }
20675
+
20676
+ /**
20677
+ * @private
20678
+ */
20679
+ deserialize(params) {
20680
+ if (!params) {
20681
+ return;
20682
+ }
20683
+ this.StrategyType = 'StrategyType' in params ? params.StrategyType : null;
20684
+
20685
+ if (params.TimeSpotCheck) {
20686
+ let obj = new TimeSpotCheck();
20687
+ obj.deserialize(params.TimeSpotCheck)
20688
+ this.TimeSpotCheck = obj;
20689
+ }
20690
+
20691
+ }
20692
+ }
20693
+
20289
20694
  /**
20290
20695
  * The subtitle settings.
20291
20696
  * @class
@@ -20846,6 +21251,13 @@ class AiAnalysisTaskDelLogoOutput extends AbstractModel {
20846
21251
  */
20847
21252
  this.TranslateSubtitlePath = null;
20848
21253
 
21254
+ /**
21255
+ * Position of the erased subtitle. Note: This field is only valid for subtitle extraction when the option to return subtitle positions is enabled.
21256
+ Note: This field may return null, indicating that no valid value can be obtained.
21257
+ * @type {SubtitlePosition || null}
21258
+ */
21259
+ this.SubtitlePos = null;
21260
+
20849
21261
  }
20850
21262
 
20851
21263
  /**
@@ -20865,6 +21277,12 @@ class AiAnalysisTaskDelLogoOutput extends AbstractModel {
20865
21277
  this.OriginSubtitlePath = 'OriginSubtitlePath' in params ? params.OriginSubtitlePath : null;
20866
21278
  this.TranslateSubtitlePath = 'TranslateSubtitlePath' in params ? params.TranslateSubtitlePath : null;
20867
21279
 
21280
+ if (params.SubtitlePos) {
21281
+ let obj = new SubtitlePosition();
21282
+ obj.deserialize(params.SubtitlePos)
21283
+ this.SubtitlePos = obj;
21284
+ }
21285
+
20868
21286
  }
20869
21287
  }
20870
21288
 
@@ -21318,8 +21736,7 @@ class DescribeQualityControlTemplatesResponse extends AbstractModel {
21318
21736
  this.TotalCount = null;
21319
21737
 
21320
21738
  /**
21321
- * Media quality inspection template details list.
21322
- Note: This field may return null, indicating that no valid values can be obtained.
21739
+ * List of media quality inspection templates.
21323
21740
  * @type {Array.<QualityControlTemplate> || null}
21324
21741
  */
21325
21742
  this.QualityControlTemplateSet = null;
@@ -22549,7 +22966,8 @@ Note: This field may return null, indicating that no valid values can be obtaine
22549
22966
  this.Input = null;
22550
22967
 
22551
22968
  /**
22552
- * Specifies the output of a sampling screenshot task for a video.
22969
+ * Output of the sampled screenshot task for videos.
22970
+ Note: This field may return null, indicating that no valid value can be obtained.
22553
22971
  * @type {MediaSampleSnapshotItem || null}
22554
22972
  */
22555
22973
  this.Output = null;
@@ -24450,20 +24868,21 @@ class Activity extends AbstractModel {
24450
24868
  super();
24451
24869
 
24452
24870
  /**
24453
- * Atomic task type.
24454
- <li>input: starting node.</li>.
24455
- <li>`output`: termination node</li>.
24456
- <li>action-trans: transcoding.</li>.
24457
- <li>action-samplesnapshot: specifies sampled screenshot taking.</li>.
24458
- <li>action-AIAnalysis: analysis.</li>.
24459
- <li>action-AIRecognition: specifies recognition.</li>.
24460
- <li>action-aiReview: specifies the review action.</li>.
24461
- <li>action-animated-graphics: specifies the animated image.</li>.
24462
- <li>action-image-sprite: specifies the sprite sheet.</li>.
24463
- <li>action-snapshotByTimeOffset: specifies time point screenshot taking.</li>.
24464
- <li>action-adaptive-substream: specifies the adaptive bitrate stream.</li>.
24465
- <li>action-AIQualityControl: media quality inspection.</li>.
24466
- <li>action-SmartSubtitles: specifies smart subtitling.</li>.
24871
+ * Atomic task type:
24872
+ <li>input: start node</li>
24873
+ <li>output: end node</li>
24874
+ <li>action-trans: transcoding</li>
24875
+ <li>action-samplesnapshot: sampled screenshot</li>
24876
+ <li>action-AIAnalysis: analysis</li>
24877
+ <li>action-AIRecognition: recognition</li>
24878
+ <li>action-aiReview: review</li>
24879
+ <li>action-animated-graphics: conversion to GIF</li>
24880
+ <li>action-image-sprite: image sprite</li>
24881
+ <li>action-snapshotByTimeOffset: time point screenshot</li>
24882
+ <li>action-adaptive-substream: adaptive bitrate stream</li>
24883
+ <li>action-AIQualityControl: media quality inspection</li>
24884
+ <li>action-SmartSubtitles: smart subtitle</li>
24885
+ <li>action-exec-rules: judgment rule</li>
24467
24886
 
24468
24887
 
24469
24888
 
@@ -24886,6 +25305,41 @@ Note: This field may return null, indicating that no valid values can be obtaine
24886
25305
  }
24887
25306
  }
24888
25307
 
25308
+ /**
25309
+ * Rule condition configuration.
25310
+ * @class
25311
+ */
25312
+ class RuleConditionItem extends AbstractModel {
25313
+ constructor(){
25314
+ super();
25315
+
25316
+ /**
25317
+ * Key of the quality inspection item condition.
25318
+ * @type {string || null}
25319
+ */
25320
+ this.Key = null;
25321
+
25322
+ /**
25323
+ * Value corresponding to the condition.
25324
+ * @type {string || null}
25325
+ */
25326
+ this.Value = null;
25327
+
25328
+ }
25329
+
25330
+ /**
25331
+ * @private
25332
+ */
25333
+ deserialize(params) {
25334
+ if (!params) {
25335
+ return;
25336
+ }
25337
+ this.Key = 'Key' in params ? params.Key : null;
25338
+ this.Value = 'Value' in params ? params.Value : null;
25339
+
25340
+ }
25341
+ }
25342
+
24889
25343
  /**
24890
25344
  * The style information of a video editing/compositing task.
24891
25345
  * @class
@@ -25231,7 +25685,7 @@ Note: This field may return null, indicating that no valid value can be obtained
25231
25685
  this.SubtitleTemplate = null;
25232
25686
 
25233
25687
  /**
25234
- * Extension field for transcoding.
25688
+ * Transcoding parameter extension field.
25235
25689
  * @type {string || null}
25236
25690
  */
25237
25691
  this.StdExtInfo = null;
@@ -25330,6 +25784,12 @@ class ModifyQualityControlTemplateRequest extends AbstractModel {
25330
25784
  */
25331
25785
  this.RecordFormat = null;
25332
25786
 
25787
+ /**
25788
+ * Spot check policy for media quality inspection.
25789
+ * @type {QualityControlStrategy || null}
25790
+ */
25791
+ this.Strategy = null;
25792
+
25333
25793
  }
25334
25794
 
25335
25795
  /**
@@ -25353,6 +25813,12 @@ class ModifyQualityControlTemplateRequest extends AbstractModel {
25353
25813
  }
25354
25814
  this.RecordFormat = 'RecordFormat' in params ? params.RecordFormat : null;
25355
25815
 
25816
+ if (params.Strategy) {
25817
+ let obj = new QualityControlStrategy();
25818
+ obj.deserialize(params.Strategy)
25819
+ this.Strategy = obj;
25820
+ }
25821
+
25356
25822
  }
25357
25823
  }
25358
25824
 
@@ -26709,8 +27175,8 @@ class SmartSubtitlesResult extends AbstractModel {
26709
27175
 
26710
27176
  /**
26711
27177
  * Task type. Valid values:
26712
- <Li>AsrFullTextRecognition: full speech recognition</li>
26713
- <Li>TransTextRecognition: speech translation</li>
27178
+ <li>AsrFullTextRecognition: full speech recognition</li>
27179
+ <li>TransTextRecognition: speech translation</li>
26714
27180
  * @type {string || null}
26715
27181
  */
26716
27182
  this.Type = null;
@@ -27433,6 +27899,18 @@ class DescribeTasksRequest extends AbstractModel {
27433
27899
  */
27434
27900
  this.ScrollToken = null;
27435
27901
 
27902
+ /**
27903
+ * Query task start time.
27904
+ * @type {string || null}
27905
+ */
27906
+ this.StartTime = null;
27907
+
27908
+ /**
27909
+ * Query task end time.
27910
+ * @type {string || null}
27911
+ */
27912
+ this.EndTime = null;
27913
+
27436
27914
  }
27437
27915
 
27438
27916
  /**
@@ -27445,6 +27923,8 @@ class DescribeTasksRequest extends AbstractModel {
27445
27923
  this.Status = 'Status' in params ? params.Status : null;
27446
27924
  this.Limit = 'Limit' in params ? params.Limit : null;
27447
27925
  this.ScrollToken = 'ScrollToken' in params ? params.ScrollToken : null;
27926
+ this.StartTime = 'StartTime' in params ? params.StartTime : null;
27927
+ this.EndTime = 'EndTime' in params ? params.EndTime : null;
27448
27928
 
27449
27929
  }
27450
27930
  }
@@ -28761,43 +29241,37 @@ class QualityControlData extends AbstractModel {
28761
29241
  super();
28762
29242
 
28763
29243
  /**
28764
- * Whether there is an audio track. `true` indicates that there isn't.
28765
- Note: This field may return null, indicating that no valid values can be obtained.
29244
+ * When this field is set to true, it indicates that the video has no audio track.
28766
29245
  * @type {boolean || null}
28767
29246
  */
28768
29247
  this.NoAudio = null;
28769
29248
 
28770
29249
  /**
28771
- * Whether there is a video track. `true` indicates that there isn't.
28772
- Note: This field may return null, indicating that no valid values can be obtained.
29250
+ * When this field is set to true, it indicates that the video has no video track.
28773
29251
  * @type {boolean || null}
28774
29252
  */
28775
29253
  this.NoVideo = null;
28776
29254
 
28777
29255
  /**
28778
29256
  * No-reference quality score of the video (100 points in total).
28779
- Note: This field may return null, indicating that no valid value can be obtained.
28780
29257
  * @type {number || null}
28781
29258
  */
28782
29259
  this.QualityEvaluationScore = null;
28783
29260
 
28784
29261
  /**
28785
29262
  * No-reference quality score of the video (MOS).
28786
- Note: This field may return null, indicating that no valid value can be obtained.
28787
29263
  * @type {number || null}
28788
29264
  */
28789
29265
  this.QualityEvaluationMeanOpinionScore = null;
28790
29266
 
28791
29267
  /**
28792
- * Exception items detected in content quality inspection.
28793
- Note: This field may return null, indicating that no valid values can be obtained.
29268
+ * Exception items identified in content quality inspection.
28794
29269
  * @type {Array.<QualityControlResult> || null}
28795
29270
  */
28796
29271
  this.QualityControlResultSet = null;
28797
29272
 
28798
29273
  /**
28799
- * Exception items detected in format diagnosis.
28800
- Note: This field may return null, indicating that no valid values can be obtained.
29274
+ * Exception items identified in format diagnosis.
28801
29275
  * @type {Array.<ContainerDiagnoseResultItem> || null}
28802
29276
  */
28803
29277
  this.ContainerDiagnoseResultSet = null;
@@ -29394,9 +29868,8 @@ class LiveActivityResult extends AbstractModel {
29394
29868
 
29395
29869
  /**
29396
29870
  * Atomic task type.
29397
- <li>LiveRecord: live recording.</li>
29398
- <li>AiQualityControl: media quality inspection.</li>
29399
- Note: This field may return null, indicating that no valid values can be obtained.
29871
+ <li>LiveRecord: live recording</li>
29872
+ <li>AiQualityControl: media quality inspection</li>
29400
29873
  * @type {string || null}
29401
29874
  */
29402
29875
  this.ActivityType = null;
@@ -31416,57 +31889,19 @@ Note: This field may return null, indicating that no valid value can be obtained
31416
31889
  }
31417
31890
 
31418
31891
  /**
31419
- * Full speech recognition result.
31892
+ * Task judgment conditions.
31420
31893
  * @class
31421
31894
  */
31422
- class SmartSubtitleTaskAsrFullTextResult extends AbstractModel {
31895
+ class ExecRulesTask extends AbstractModel {
31423
31896
  constructor(){
31424
31897
  super();
31425
31898
 
31426
31899
  /**
31427
- * Task status, including PROCESSING, SUCCESS, and FAIL.
31428
- * @type {string || null}
31429
- */
31430
- this.Status = null;
31431
-
31432
- /**
31433
- * 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).
31434
- * @type {string || null}
31435
- */
31436
- this.ErrCodeExt = null;
31437
-
31438
- /**
31439
- * 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.)
31440
- * @type {number || null}
31441
- */
31442
- this.ErrCode = null;
31443
-
31444
- /**
31445
- * Error message.
31446
- * @type {string || null}
31447
- */
31448
- this.Message = null;
31449
-
31450
- /**
31451
- * Input information on the full speech recognition task.
31900
+ * Conditional judgment information.
31452
31901
  Note: This field may return null, indicating that no valid value can be obtained.
31453
- * @type {SmartSubtitleTaskResultInput || null}
31902
+ * @type {Array.<Rules> || null}
31454
31903
  */
31455
- this.Input = null;
31456
-
31457
- /**
31458
- * Output information on the full speech recognition task.
31459
- Note: This field may return null, indicating that no valid value can be obtained.
31460
- * @type {SmartSubtitleTaskAsrFullTextResultOutput || null}
31461
- */
31462
- this.Output = null;
31463
-
31464
- /**
31465
- * Task progress.
31466
- Note: This field may return null, indicating that no valid value can be obtained.
31467
- * @type {number || null}
31468
- */
31469
- this.Progress = null;
31904
+ this.Rules = null;
31470
31905
 
31471
31906
  }
31472
31907
 
@@ -31477,23 +31912,15 @@ Note: This field may return null, indicating that no valid value can be obtained
31477
31912
  if (!params) {
31478
31913
  return;
31479
31914
  }
31480
- this.Status = 'Status' in params ? params.Status : null;
31481
- this.ErrCodeExt = 'ErrCodeExt' in params ? params.ErrCodeExt : null;
31482
- this.ErrCode = 'ErrCode' in params ? params.ErrCode : null;
31483
- this.Message = 'Message' in params ? params.Message : null;
31484
31915
 
31485
- if (params.Input) {
31486
- let obj = new SmartSubtitleTaskResultInput();
31487
- obj.deserialize(params.Input)
31488
- this.Input = obj;
31489
- }
31490
-
31491
- if (params.Output) {
31492
- let obj = new SmartSubtitleTaskAsrFullTextResultOutput();
31493
- obj.deserialize(params.Output)
31494
- this.Output = obj;
31916
+ if (params.Rules) {
31917
+ this.Rules = new Array();
31918
+ for (let z in params.Rules) {
31919
+ let obj = new Rules();
31920
+ obj.deserialize(params.Rules[z]);
31921
+ this.Rules.push(obj);
31922
+ }
31495
31923
  }
31496
- this.Progress = 'Progress' in params ? params.Progress : null;
31497
31924
 
31498
31925
  }
31499
31926
  }
@@ -32551,6 +32978,13 @@ Note: This field may return null, indicating that no valid values can be obtaine
32551
32978
  */
32552
32979
  this.QualityControlTask = null;
32553
32980
 
32981
+ /**
32982
+ * Conditional judgment task output.
32983
+ Note: This field may return null, indicating that no valid value can be obtained.
32984
+ * @type {ScheduleExecRuleTaskResult || null}
32985
+ */
32986
+ this.ExecRuleTask = null;
32987
+
32554
32988
  /**
32555
32989
  * Smart subtitle task output.
32556
32990
  Note: This field may return null, indicating that no valid value can be obtained.
@@ -32628,6 +33062,12 @@ Note: This field may return null, indicating that no valid value can be obtained
32628
33062
  this.QualityControlTask = obj;
32629
33063
  }
32630
33064
 
33065
+ if (params.ExecRuleTask) {
33066
+ let obj = new ScheduleExecRuleTaskResult();
33067
+ obj.deserialize(params.ExecRuleTask)
33068
+ this.ExecRuleTask = obj;
33069
+ }
33070
+
32631
33071
  if (params.SmartSubtitlesTask) {
32632
33072
  let obj = new ScheduleSmartSubtitleTaskResult();
32633
33073
  obj.deserialize(params.SmartSubtitlesTask)
@@ -32950,6 +33390,12 @@ Note: This field may return null, indicating that no valid values can be obtaine
32950
33390
  */
32951
33391
  this.UpdateTime = null;
32952
33392
 
33393
+ /**
33394
+ * Spot check policy for media quality inspection.
33395
+ * @type {QualityControlStrategy || null}
33396
+ */
33397
+ this.Strategy = null;
33398
+
32953
33399
  }
32954
33400
 
32955
33401
  /**
@@ -32975,6 +33421,12 @@ Note: This field may return null, indicating that no valid values can be obtaine
32975
33421
  this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
32976
33422
  this.UpdateTime = 'UpdateTime' in params ? params.UpdateTime : null;
32977
33423
 
33424
+ if (params.Strategy) {
33425
+ let obj = new QualityControlStrategy();
33426
+ obj.deserialize(params.Strategy)
33427
+ this.Strategy = obj;
33428
+ }
33429
+
32978
33430
  }
32979
33431
  }
32980
33432
 
@@ -33094,6 +33546,30 @@ Note: This field may return null, indicating that no valid value can be obtained
33094
33546
  */
33095
33547
  this.RawParameter = null;
33096
33548
 
33549
+ /**
33550
+ * Bucket that stores the output file. If it is left unspecified, the storage location in InputInfo will be inherited.
33551
+ **Note**: This parameter is required when InputInfo.Type is set to URL.
33552
+ Note: This field may return null, indicating that no valid value can be obtained.
33553
+ * @type {TaskOutputStorage || null}
33554
+ */
33555
+ this.OutputStorage = null;
33556
+
33557
+ /**
33558
+ * Output path of the generated subtitle file, which can be a relative or absolute path.
33559
+ To define the output path, end the path with .{format}. For variable names, see the description of file name variables at https://www.tencentcloud.comom/document/product/862/37039.?from_cn_redirect=1
33560
+
33561
+ Relative path example:
33562
+ - File name_{variable name}.{format}.
33563
+ - File name.{format}.
33564
+
33565
+ Absolute path example:
33566
+ -/Custom path/File name_{variable name}.{format}.
33567
+
33568
+ If this field is left unspecified, the default value is the relative path in the following format: {inputName}_smartsubtitle_{definition}.{format}.
33569
+ * @type {string || null}
33570
+ */
33571
+ this.OutputObjectPath = null;
33572
+
33097
33573
  }
33098
33574
 
33099
33575
  /**
@@ -33112,6 +33588,13 @@ Note: This field may return null, indicating that no valid value can be obtained
33112
33588
  this.RawParameter = obj;
33113
33589
  }
33114
33590
 
33591
+ if (params.OutputStorage) {
33592
+ let obj = new TaskOutputStorage();
33593
+ obj.deserialize(params.OutputStorage)
33594
+ this.OutputStorage = obj;
33595
+ }
33596
+ this.OutputObjectPath = 'OutputObjectPath' in params ? params.OutputObjectPath : null;
33597
+
33115
33598
  }
33116
33599
  }
33117
33600
 
@@ -33888,15 +34371,13 @@ Note: This field may return null, indicating that no valid values can be obtaine
33888
34371
  this.SegmentTags = null;
33889
34372
 
33890
34373
  /**
33891
- * The live streaming segment corresponds to the live start time point, in the ISO date format.
33892
- Note: This field may return null, indicating that no valid value can be obtained.
34374
+ * Start time of the live streaming segment in ISO date and time format.
33893
34375
  * @type {string || null}
33894
34376
  */
33895
34377
  this.BeginTime = null;
33896
34378
 
33897
34379
  /**
33898
- * The live streaming segment corresponds to the live streaming end time, in the ISO date format.
33899
- Note: This field may return null, indicating that no valid value can be obtained.
34380
+ * End time of the live streaming segment in ISO date and time format.
33900
34381
  * @type {string || null}
33901
34382
  */
33902
34383
  this.EndTime = null;
@@ -34466,6 +34947,7 @@ module.exports = {
34466
34947
  ModifyTranscodeTemplateRequest: ModifyTranscodeTemplateRequest,
34467
34948
  AiAnalysisTaskHighlightResult: AiAnalysisTaskHighlightResult,
34468
34949
  DeleteAIAnalysisTemplateResponse: DeleteAIAnalysisTemplateResponse,
34950
+ TimeSpotCheck: TimeSpotCheck,
34469
34951
  TextWatermarkTemplateInputForUpdate: TextWatermarkTemplateInputForUpdate,
34470
34952
  AiReviewTerrorismOcrTaskInput: AiReviewTerrorismOcrTaskInput,
34471
34953
  AiRecognitionTaskOcrWordsResultInput: AiRecognitionTaskOcrWordsResultInput,
@@ -34532,6 +35014,7 @@ module.exports = {
34532
35014
  AiSampleFaceOperation: AiSampleFaceOperation,
34533
35015
  SvgWatermarkInputForUpdate: SvgWatermarkInputForUpdate,
34534
35016
  AiReviewTaskTerrorismOcrResult: AiReviewTaskTerrorismOcrResult,
35017
+ Rules: Rules,
34535
35018
  AiRecognitionTaskOcrWordsResult: AiRecognitionTaskOcrWordsResult,
34536
35019
  PornAsrReviewTemplateInfo: PornAsrReviewTemplateInfo,
34537
35020
  ComposeVideoStream: ComposeVideoStream,
@@ -34585,6 +35068,7 @@ module.exports = {
34585
35068
  ModifyAIAnalysisTemplateRequest: ModifyAIAnalysisTemplateRequest,
34586
35069
  UserDefineConfigureInfo: UserDefineConfigureInfo,
34587
35070
  MP4ConfigureInfo: MP4ConfigureInfo,
35071
+ SubtitlePosition: SubtitlePosition,
34588
35072
  DeleteQualityControlTemplateRequest: DeleteQualityControlTemplateRequest,
34589
35073
  ColorEnhanceConfig: ColorEnhanceConfig,
34590
35074
  ComposeAudioItem: ComposeAudioItem,
@@ -34630,6 +35114,7 @@ module.exports = {
34630
35114
  AsrWordsConfigureInfo: AsrWordsConfigureInfo,
34631
35115
  LiveStreamAsrWordsRecognitionResult: LiveStreamAsrWordsRecognitionResult,
34632
35116
  AiSamplePerson: AiSamplePerson,
35117
+ SmartSubtitleTaskAsrFullTextResult: SmartSubtitleTaskAsrFullTextResult,
34633
35118
  BatchSmartSubtitlesResult: BatchSmartSubtitlesResult,
34634
35119
  SimpleAesDrm: SimpleAesDrm,
34635
35120
  DescribeWorkflowsResponse: DescribeWorkflowsResponse,
@@ -34667,6 +35152,7 @@ module.exports = {
34667
35152
  DescribeImageSpriteTemplatesRequest: DescribeImageSpriteTemplatesRequest,
34668
35153
  CreateQualityControlTemplateRequest: CreateQualityControlTemplateRequest,
34669
35154
  AiSampleTagOperation: AiSampleTagOperation,
35155
+ ScheduleExecRuleTaskResult: ScheduleExecRuleTaskResult,
34670
35156
  CreateAIRecognitionTemplateResponse: CreateAIRecognitionTemplateResponse,
34671
35157
  EditMediaTask: EditMediaTask,
34672
35158
  AiReviewTerrorismTaskOutput: AiReviewTerrorismTaskOutput,
@@ -34692,6 +35178,7 @@ module.exports = {
34692
35178
  MediaContentReviewPoliticalSegmentItem: MediaContentReviewPoliticalSegmentItem,
34693
35179
  DeletePersonSampleResponse: DeletePersonSampleResponse,
34694
35180
  CreateSnapshotByTimeOffsetTemplateResponse: CreateSnapshotByTimeOffsetTemplateResponse,
35181
+ ExecRuleTaskData: ExecRuleTaskData,
34695
35182
  ModifyContentReviewTemplateRequest: ModifyContentReviewTemplateRequest,
34696
35183
  ImageWatermarkInputForUpdate: ImageWatermarkInputForUpdate,
34697
35184
  AiContentReviewTaskInput: AiContentReviewTaskInput,
@@ -34720,6 +35207,7 @@ module.exports = {
34720
35207
  TranslateConfigureInfo: TranslateConfigureInfo,
34721
35208
  PornOcrReviewTemplateInfo: PornOcrReviewTemplateInfo,
34722
35209
  AiReviewTaskPoliticalAsrResult: AiReviewTaskPoliticalAsrResult,
35210
+ QualityControlStrategy: QualityControlStrategy,
34723
35211
  SubtitleTemplate: SubtitleTemplate,
34724
35212
  LiveStreamProcessTask: LiveStreamProcessTask,
34725
35213
  AiReviewProhibitedAsrTaskInput: AiReviewProhibitedAsrTaskInput,
@@ -34794,6 +35282,7 @@ module.exports = {
34794
35282
  ScheduleReviewTaskResult: ScheduleReviewTaskResult,
34795
35283
  ModifyTranscodeTemplateResponse: ModifyTranscodeTemplateResponse,
34796
35284
  LiveStreamRecordResultInfo: LiveStreamRecordResultInfo,
35285
+ RuleConditionItem: RuleConditionItem,
34797
35286
  ComposeStyles: ComposeStyles,
34798
35287
  CreateLiveRecordTemplateRequest: CreateLiveRecordTemplateRequest,
34799
35288
  CreateContentReviewTemplateRequest: CreateContentReviewTemplateRequest,
@@ -34896,7 +35385,7 @@ module.exports = {
34896
35385
  AiAnalysisTaskHeadTailResult: AiAnalysisTaskHeadTailResult,
34897
35386
  CreateSampleSnapshotTemplateRequest: CreateSampleSnapshotTemplateRequest,
34898
35387
  WorkflowTask: WorkflowTask,
34899
- SmartSubtitleTaskAsrFullTextResult: SmartSubtitleTaskAsrFullTextResult,
35388
+ ExecRulesTask: ExecRulesTask,
34900
35389
  AiReviewTaskPornAsrResult: AiReviewTaskPornAsrResult,
34901
35390
  EditMediaFileInfo: EditMediaFileInfo,
34902
35391
  ComposeAudioStream: ComposeAudioStream,