tencentcloud-sdk-nodejs-intl-en 3.0.1111 → 3.0.1112

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-intl-en",
3
- "version": "3.0.1111",
3
+ "version": "3.0.1112",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1,2 +1,2 @@
1
- const sdkVersion = "3.0.1111";
1
+ const sdkVersion = "3.0.1112";
2
2
  module.exports = sdkVersion
@@ -591,25 +591,49 @@ class DescribeRoundPlaysRequest extends AbstractModel {
591
591
  super();
592
592
 
593
593
  /**
594
- * <b>The VOD [application](https://intl.cloud.tencent.com/document/product/266/14574) ID. For customers who activate VOD service from December 25, 2023, if they want to access resources in a VOD application (whether it's the default application or a newly created one), they must fill in this field with the application ID.</b>
594
+ * <B>VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) id. starting from december 25, 2023, if you want to access resources in the vod application (whether it is the default application or a newly created application), you must enter the application id in this field.</b>.
595
595
  * @type {number || null}
596
596
  */
597
597
  this.SubAppId = null;
598
598
 
599
599
  /**
600
- * The playlist IDs. Array length limit: 100.
600
+ * Filter criteria: playlist identifier, array length limit: 100.
601
601
  * @type {Array.<string> || null}
602
602
  */
603
603
  this.RoundPlayIds = null;
604
604
 
605
605
  /**
606
- *
606
+ * Filter criteria: playlist status, optional values: <li>enabled: startup status;</li> <li>disabled: stopped status.</li>.
607
+ * @type {string || null}
608
+ */
609
+ this.Status = null;
610
+
611
+ /**
612
+ * Filter criteria: playlist creation time.
613
+ * @type {TimeRange || null}
614
+ */
615
+ this.CreateTime = null;
616
+
617
+ /**
618
+ * Filter criteria: playlist update time.
619
+ * @type {TimeRange || null}
620
+ */
621
+ this.UpdateTime = null;
622
+
623
+ /**
624
+ * Scrolling identifier which is used for pulling in batches. if a single request cannot pull all the data entries, the API will return `scrolltoken`, and if the next request carries it, the next pull will start from the next entry.
625
+ * @type {string || null}
626
+ */
627
+ this.ScrollToken = null;
628
+
629
+ /**
630
+ * Pagination offset, default value: 0. this field is obsolete. please use the `scrolltoken` parameter for batch queries.
607
631
  * @type {number || null}
608
632
  */
609
633
  this.Offset = null;
610
634
 
611
635
  /**
612
- * The number of records to return. Default value: 10. Maximum value: 100.
636
+ * Number of returned entries. default value: 10. maximum value: 100.
613
637
  * @type {number || null}
614
638
  */
615
639
  this.Limit = null;
@@ -625,6 +649,20 @@ class DescribeRoundPlaysRequest extends AbstractModel {
625
649
  }
626
650
  this.SubAppId = 'SubAppId' in params ? params.SubAppId : null;
627
651
  this.RoundPlayIds = 'RoundPlayIds' in params ? params.RoundPlayIds : null;
652
+ this.Status = 'Status' in params ? params.Status : null;
653
+
654
+ if (params.CreateTime) {
655
+ let obj = new TimeRange();
656
+ obj.deserialize(params.CreateTime)
657
+ this.CreateTime = obj;
658
+ }
659
+
660
+ if (params.UpdateTime) {
661
+ let obj = new TimeRange();
662
+ obj.deserialize(params.UpdateTime)
663
+ this.UpdateTime = obj;
664
+ }
665
+ this.ScrollToken = 'ScrollToken' in params ? params.ScrollToken : null;
628
666
  this.Offset = 'Offset' in params ? params.Offset : null;
629
667
  this.Limit = 'Limit' in params ? params.Limit : null;
630
668
 
@@ -3653,6 +3691,143 @@ Note: this field may return null, indicating that no valid values can be obtaine
3653
3691
  }
3654
3692
  }
3655
3693
 
3694
+ /**
3695
+ * The details of a video transcoding task. This parameter is only valid for tasks initiated by the v2017 video transcoding API.
3696
+ * @class
3697
+ */
3698
+ class TranscodeTask2017 extends AbstractModel {
3699
+ constructor(){
3700
+ super();
3701
+
3702
+ /**
3703
+ * Transcoding task ID.
3704
+ * @type {string || null}
3705
+ */
3706
+ this.TaskId = null;
3707
+
3708
+ /**
3709
+ * Error code
3710
+ <li>0: success;</li>
3711
+ <li>Other values: failure.</li>
3712
+ Note: this field may return null, indicating that no valid values can be obtained.
3713
+ * @type {number || null}
3714
+ */
3715
+ this.ErrCode = null;
3716
+
3717
+ /**
3718
+ * Error message.
3719
+ Note: this field may return null, indicating that no valid values can be obtained.
3720
+ * @type {string || null}
3721
+ */
3722
+ this.Message = null;
3723
+
3724
+ /**
3725
+ * ID of transcoded file.
3726
+ Note: this field may return null, indicating that no valid values can be obtained.
3727
+ * @type {string || null}
3728
+ */
3729
+ this.FileId = null;
3730
+
3731
+ /**
3732
+ * Name of transcoded file.
3733
+ Note: this field may return null, indicating that no valid values can be obtained.
3734
+ * @type {string || null}
3735
+ */
3736
+ this.FileName = null;
3737
+
3738
+ /**
3739
+ * Video duration in seconds.
3740
+ Note: this field may return null, indicating that no valid values can be obtained.
3741
+ * @type {number || null}
3742
+ */
3743
+ this.Duration = null;
3744
+
3745
+ /**
3746
+ * Cover address.
3747
+ Note: this field may return null, indicating that no valid values can be obtained.
3748
+ * @type {string || null}
3749
+ */
3750
+ this.CoverUrl = null;
3751
+
3752
+ /**
3753
+ * Playback information generated after video transcoding.
3754
+ Note: this field may return null, indicating that no valid values can be obtained.
3755
+ * @type {Array.<TranscodePlayInfo2017> || null}
3756
+ */
3757
+ this.PlayInfoSet = null;
3758
+
3759
+ }
3760
+
3761
+ /**
3762
+ * @private
3763
+ */
3764
+ deserialize(params) {
3765
+ if (!params) {
3766
+ return;
3767
+ }
3768
+ this.TaskId = 'TaskId' in params ? params.TaskId : null;
3769
+ this.ErrCode = 'ErrCode' in params ? params.ErrCode : null;
3770
+ this.Message = 'Message' in params ? params.Message : null;
3771
+ this.FileId = 'FileId' in params ? params.FileId : null;
3772
+ this.FileName = 'FileName' in params ? params.FileName : null;
3773
+ this.Duration = 'Duration' in params ? params.Duration : null;
3774
+ this.CoverUrl = 'CoverUrl' in params ? params.CoverUrl : null;
3775
+
3776
+ if (params.PlayInfoSet) {
3777
+ this.PlayInfoSet = new Array();
3778
+ for (let z in params.PlayInfoSet) {
3779
+ let obj = new TranscodePlayInfo2017();
3780
+ obj.deserialize(params.PlayInfoSet[z]);
3781
+ this.PlayInfoSet.push(obj);
3782
+ }
3783
+ }
3784
+
3785
+ }
3786
+ }
3787
+
3788
+ /**
3789
+ * DescribeCurrentPlaylist response structure.
3790
+ * @class
3791
+ */
3792
+ class DescribeCurrentPlaylistResponse extends AbstractModel {
3793
+ constructor(){
3794
+ super();
3795
+
3796
+ /**
3797
+ * Current playlist information.
3798
+ * @type {Array.<RoundPlayFilePlayInfo> || null}
3799
+ */
3800
+ this.CurrentPlaylist = null;
3801
+
3802
+ /**
3803
+ * 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.
3804
+ * @type {string || null}
3805
+ */
3806
+ this.RequestId = null;
3807
+
3808
+ }
3809
+
3810
+ /**
3811
+ * @private
3812
+ */
3813
+ deserialize(params) {
3814
+ if (!params) {
3815
+ return;
3816
+ }
3817
+
3818
+ if (params.CurrentPlaylist) {
3819
+ this.CurrentPlaylist = new Array();
3820
+ for (let z in params.CurrentPlaylist) {
3821
+ let obj = new RoundPlayFilePlayInfo();
3822
+ obj.deserialize(params.CurrentPlaylist[z]);
3823
+ this.CurrentPlaylist.push(obj);
3824
+ }
3825
+ }
3826
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
3827
+
3828
+ }
3829
+ }
3830
+
3656
3831
  /**
3657
3832
  * ModifySuperPlayerConfig request structure.
3658
3833
  * @class
@@ -3984,7 +4159,7 @@ class RoundPlayInfo extends AbstractModel {
3984
4159
  this.RoundPlayId = null;
3985
4160
 
3986
4161
  /**
3987
- * The playback start time, in [ISO 8601 date format](https://intl.cloud.tencent.com/document/product/266/11732?lang=en&pg=).
4162
+ * The playback start time, in [ISO 8601 date format](https://www.tencentcloud.com/document/product/266/11732?has_map=2#iso-date-format).
3988
4163
  * @type {string || null}
3989
4164
  */
3990
4165
  this.StartTime = null;
@@ -4031,6 +4206,24 @@ Default value: Loop.
4031
4206
  */
4032
4207
  this.Url = null;
4033
4208
 
4209
+ /**
4210
+ * Creation time, in iso 8601 format. for details, see [iso date format](https://www.tencentcloud.com/document/product/266/11732?has_map=2#iso-date-format).
4211
+ * @type {string || null}
4212
+ */
4213
+ this.CreateTime = null;
4214
+
4215
+ /**
4216
+ * Update time, in iso 8601 format. for details, see [iso date format](https://www.tencentcloud.com/document/product/266/11732?has_map=2#iso-date-format).
4217
+ * @type {string || null}
4218
+ */
4219
+ this.UpdateTime = null;
4220
+
4221
+ /**
4222
+ * Expiration time, in iso 8601 format. for details, see [iso date format](https://www.tencentcloud.com/document/product/266/11732?has_map=2#iso-date-format). the playback of the playlist will stop after expiration. "9999-12-31t23:59:59+08:00" means never expire.
4223
+ * @type {string || null}
4224
+ */
4225
+ this.ExpiredTime = null;
4226
+
4034
4227
  }
4035
4228
 
4036
4229
  /**
@@ -4056,6 +4249,9 @@ Default value: Loop.
4056
4249
  this.Status = 'Status' in params ? params.Status : null;
4057
4250
  this.PlayBackMode = 'PlayBackMode' in params ? params.PlayBackMode : null;
4058
4251
  this.Url = 'Url' in params ? params.Url : null;
4252
+ this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
4253
+ this.UpdateTime = 'UpdateTime' in params ? params.UpdateTime : null;
4254
+ this.ExpiredTime = 'ExpiredTime' in params ? params.ExpiredTime : null;
4059
4255
 
4060
4256
  }
4061
4257
  }
@@ -10943,13 +11139,13 @@ class DeleteRoundPlayRequest extends AbstractModel {
10943
11139
  super();
10944
11140
 
10945
11141
  /**
10946
- * The playlist ID, which is unique.
11142
+ * The unique identifier of the playlist.
10947
11143
  * @type {string || null}
10948
11144
  */
10949
11145
  this.RoundPlayId = null;
10950
11146
 
10951
11147
  /**
10952
- * <b>The VOD [application](https://intl.cloud.tencent.com/document/product/266/14574) ID. For customers who activate VOD service from December 25, 2023, if they want to access resources in a VOD application (whether it's the default application or a newly created one), they must fill in this field with the application ID.</b>
11148
+ * <B>VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) id. starting from december 25, 2023, if you want to access resources in the vod application (whether it is the default application or a newly created application), you must enter the application id in this field.</b>.
10953
11149
  * @type {number || null}
10954
11150
  */
10955
11151
  this.SubAppId = null;
@@ -14274,26 +14470,26 @@ class ModifyRoundPlayRequest extends AbstractModel {
14274
14470
  super();
14275
14471
 
14276
14472
  /**
14277
- * The playlist ID, which is unique.
14473
+ * The unique identifier of the playlist.
14278
14474
  * @type {string || null}
14279
14475
  */
14280
14476
  this.RoundPlayId = null;
14281
14477
 
14282
14478
  /**
14283
- * <b>The VOD [application](https://intl.cloud.tencent.com/document/product/266/14574) ID. For customers who activate VOD service from December 25, 2023, if they want to access resources in a VOD application (whether it's the default application or a newly created one), they must fill in this field with the application ID.</b>
14479
+ * <B>VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) id. starting from december 25, 2023, for customers who enable vod, if you want to access resources in the vod application (whether it is the default application or a newly created application), you must enter the application id in this field.</b>.
14284
14480
  * @type {number || null}
14285
14481
  */
14286
14482
  this.SubAppId = null;
14287
14483
 
14288
14484
  /**
14289
- * The playback start time, in [ISO 8601 date format](https://intl.cloud.tencent.com/document/product/266/11732?lang=en&pg=).
14485
+ * The playback start time, in [iso 8601 date format](https://www.tencentcloud.com/document/product/266/11732?has_map=2#iso-date-format).
14290
14486
  * @type {string || null}
14291
14487
  */
14292
14488
  this.StartTime = null;
14293
14489
 
14294
14490
  /**
14295
- * The files on the list.
14296
- <li>Array length limit: 100.</li>
14491
+ * The program list.
14492
+ <Li>Array length limit: 100.</li>.
14297
14493
  * @type {Array.<RoundPlayListItemInfo> || null}
14298
14494
  */
14299
14495
  this.RoundPlaylist = null;
@@ -14311,21 +14507,25 @@ class ModifyRoundPlayRequest extends AbstractModel {
14311
14507
  this.Desc = null;
14312
14508
 
14313
14509
  /**
14314
- * Playback status, optional values:
14315
- <li>Disabled: End playback, and the carousel task cannot be started again after the end. </li>
14316
-
14510
+ * Playback status, optional values:<li>disabled: stop playback.</li><li>enabled: start playback after the duration has elapsed.</li>.
14317
14511
  * @type {string || null}
14318
14512
  */
14319
14513
  this.Status = null;
14320
14514
 
14321
14515
  /**
14322
- * Play mode, optional values:
14323
- <li>Loop: Play the playlist in a loop;</li>
14324
- <li>Linear: Play once, stop playing after the playlist is played. </li>
14516
+ * Play mode, optional values:.
14517
+ <Li>Loop: loop the playlist;</li>.
14518
+ <Li>Linear: single play, stop playback after the playlist finishes.</li>.
14325
14519
  * @type {string || null}
14326
14520
  */
14327
14521
  this.PlayBackMode = null;
14328
14522
 
14523
+ /**
14524
+ * Expiration time, in iso 8601 format. for details, see [iso date format](https://www.tencentcloud.com/document/product/266/11732?has_map=2#iso-date-format). the playback will stop after expiration. "9999-12-31t23:59:59+08:00" means no expiration.
14525
+ * @type {string || null}
14526
+ */
14527
+ this.ExpiredTime = null;
14528
+
14329
14529
  }
14330
14530
 
14331
14531
  /**
@@ -14351,6 +14551,7 @@ class ModifyRoundPlayRequest extends AbstractModel {
14351
14551
  this.Desc = 'Desc' in params ? params.Desc : null;
14352
14552
  this.Status = 'Status' in params ? params.Status : null;
14353
14553
  this.PlayBackMode = 'PlayBackMode' in params ? params.PlayBackMode : null;
14554
+ this.ExpiredTime = 'ExpiredTime' in params ? params.ExpiredTime : null;
14354
14555
 
14355
14556
  }
14356
14557
  }
@@ -18236,13 +18437,13 @@ class CreateRoundPlayResponse extends AbstractModel {
18236
18437
  super();
18237
18438
 
18238
18439
  /**
18239
- * The playlist ID, which is unique.
18440
+ * The unique identifier of the playlist.
18240
18441
  * @type {string || null}
18241
18442
  */
18242
18443
  this.RoundPlayId = null;
18243
18444
 
18244
18445
  /**
18245
- * The playlist URL.
18446
+ * The playlist playback url.
18246
18447
  * @type {string || null}
18247
18448
  */
18248
18449
  this.Url = null;
@@ -19160,7 +19361,7 @@ class ManageTaskRequest extends AbstractModel {
19160
19361
  }
19161
19362
 
19162
19363
  /**
19163
- * Carousel media file information
19364
+ * Carousel program information
19164
19365
  * @class
19165
19366
  */
19166
19367
  class RoundPlayListItemInfo extends AbstractModel {
@@ -19183,7 +19384,13 @@ The file must be in HLS format.
19183
19384
  this.AudioVideoType = null;
19184
19385
 
19185
19386
  /**
19186
- * The transcoding template used to generate the transcoding output played. This parameter is required if `AudioVideoType` is `Transcode`.
19387
+ * ID of the program to be played, assigned by the system.
19388
+ * @type {string || null}
19389
+ */
19390
+ this.ItemId = null;
19391
+
19392
+ /**
19393
+ * The transcoding template to be played is specified. this parameter is required if `audiovideotype` is `transcode`.
19187
19394
  * @type {number || null}
19188
19395
  */
19189
19396
  this.Definition = null;
@@ -19199,6 +19406,7 @@ The file must be in HLS format.
19199
19406
  }
19200
19407
  this.FileId = 'FileId' in params ? params.FileId : null;
19201
19408
  this.AudioVideoType = 'AudioVideoType' in params ? params.AudioVideoType : null;
19409
+ this.ItemId = 'ItemId' in params ? params.ItemId : null;
19202
19410
  this.Definition = 'Definition' in params ? params.Definition : null;
19203
19411
 
19204
19412
  }
@@ -29795,20 +30003,20 @@ class CreateRoundPlayRequest extends AbstractModel {
29795
30003
  super();
29796
30004
 
29797
30005
  /**
29798
- * The playback start time, in [ISO 8601 date format](https://intl.cloud.tencent.com/document/product/266/11732?lang=en&pg=).
30006
+ * The playback start time, in [iso 8601 date format](https://www.tencentcloud.com/document/product/266/11732?has_map=2#iso-date-format).
29799
30007
  * @type {string || null}
29800
30008
  */
29801
30009
  this.StartTime = null;
29802
30010
 
29803
30011
  /**
29804
- * The files on the list.
29805
- <li>Array length limit: 100.</li>
30012
+ * The program list.
30013
+ <Li>Array length limit: 100.</li>.
29806
30014
  * @type {Array.<RoundPlayListItemInfo> || null}
29807
30015
  */
29808
30016
  this.RoundPlaylist = null;
29809
30017
 
29810
30018
  /**
29811
- * <b>The VOD [application](https://intl.cloud.tencent.com/document/product/266/14574) ID. For customers who activate VOD service from December 25, 2023, if they want to access resources in a VOD application (whether it's the default application or a newly created one), they must fill in this field with the application ID.</b>
30019
+ * <B>VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) id. starting from december 25, 2023, if you want to access resources in the vod application (whether it is the default application or a newly created application), you must enter the application id in this field.</b>.
29812
30020
  * @type {number || null}
29813
30021
  */
29814
30022
  this.SubAppId = null;
@@ -29820,20 +30028,32 @@ class CreateRoundPlayRequest extends AbstractModel {
29820
30028
  this.Name = null;
29821
30029
 
29822
30030
  /**
29823
- * The playlist description (not longer than 256 characters).
30031
+ * The playlist description, length limit: 256 characters.
29824
30032
  * @type {string || null}
29825
30033
  */
29826
30034
  this.Desc = null;
29827
30035
 
29828
30036
  /**
29829
- * Play mode, optional values:
29830
- <li>Loop: Play the playlist in a loop;</li>
29831
- <li>Linear: Play once, stop playing after the playlist is played. </li>
29832
- Default value: Loop.
30037
+ * Play mode, optional values:.
30038
+ <Li>Loop: loop the playlist;</li>.
30039
+ <Li>Linear: single play, stop playback after the single play finishes.</li>.
30040
+ Default value: loop.
29833
30041
  * @type {string || null}
29834
30042
  */
29835
30043
  this.PlayBackMode = null;
29836
30044
 
30045
+ /**
30046
+ * Playlist unique identifier id, with a length limit of 64 characters, only allowing uppercase and lowercase english letters (a-za-z), digits (0-9) and hyphens (-). if there is a playlist with the same roundplayid, return the error invalidparametervalue.roundplayalreadyexists. the default value is empty, which means it is system-assigned.
30047
+ * @type {string || null}
30048
+ */
30049
+ this.RoundPlayId = null;
30050
+
30051
+ /**
30052
+ * Expiration time, in iso 8601 format. for details, see [iso date format](https://www.tencentcloud.com/document/product/266/11732?has_map=2#iso-date-format). the playlist will stop playing after expiration. "9999-12-31t23:59:59+08:00" means it does not expire. default value: 9999-12-31t23:59:59+08:00.
30053
+ * @type {string || null}
30054
+ */
30055
+ this.ExpiredTime = null;
30056
+
29837
30057
  }
29838
30058
 
29839
30059
  /**
@@ -29857,6 +30077,8 @@ Default value: Loop.
29857
30077
  this.Name = 'Name' in params ? params.Name : null;
29858
30078
  this.Desc = 'Desc' in params ? params.Desc : null;
29859
30079
  this.PlayBackMode = 'PlayBackMode' in params ? params.PlayBackMode : null;
30080
+ this.RoundPlayId = 'RoundPlayId' in params ? params.RoundPlayId : null;
30081
+ this.ExpiredTime = 'ExpiredTime' in params ? params.ExpiredTime : null;
29860
30082
 
29861
30083
  }
29862
30084
  }
@@ -31694,6 +31916,49 @@ class ProhibitedAsrReviewTemplateInfo extends AbstractModel {
31694
31916
  }
31695
31917
  }
31696
31918
 
31919
+ /**
31920
+ * HandleCurrentPlaylist response structure.
31921
+ * @class
31922
+ */
31923
+ class HandleCurrentPlaylistResponse extends AbstractModel {
31924
+ constructor(){
31925
+ super();
31926
+
31927
+ /**
31928
+ * List of successfully operated programs.
31929
+ * @type {Array.<RoundPlayListItemInfo> || null}
31930
+ */
31931
+ this.RoundPlaylist = null;
31932
+
31933
+ /**
31934
+ * 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.
31935
+ * @type {string || null}
31936
+ */
31937
+ this.RequestId = null;
31938
+
31939
+ }
31940
+
31941
+ /**
31942
+ * @private
31943
+ */
31944
+ deserialize(params) {
31945
+ if (!params) {
31946
+ return;
31947
+ }
31948
+
31949
+ if (params.RoundPlaylist) {
31950
+ this.RoundPlaylist = new Array();
31951
+ for (let z in params.RoundPlaylist) {
31952
+ let obj = new RoundPlayListItemInfo();
31953
+ obj.deserialize(params.RoundPlaylist[z]);
31954
+ this.RoundPlaylist.push(obj);
31955
+ }
31956
+ }
31957
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
31958
+
31959
+ }
31960
+ }
31961
+
31697
31962
  /**
31698
31963
  * PushUrlCache request structure.
31699
31964
  * @class
@@ -42132,6 +42397,48 @@ class ReviewTemplate extends AbstractModel {
42132
42397
  }
42133
42398
  }
42134
42399
 
42400
+ /**
42401
+ * DescribeCurrentPlaylist request structure.
42402
+ * @class
42403
+ */
42404
+ class DescribeCurrentPlaylistRequest extends AbstractModel {
42405
+ constructor(){
42406
+ super();
42407
+
42408
+ /**
42409
+ * <B>VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) id.</b>.
42410
+ * @type {number || null}
42411
+ */
42412
+ this.SubAppId = null;
42413
+
42414
+ /**
42415
+ * The unique identifier of the playlist.
42416
+ * @type {string || null}
42417
+ */
42418
+ this.RoundPlayId = null;
42419
+
42420
+ /**
42421
+ * The length of the returned playlist. maximum is 10, default value is 5.
42422
+ * @type {number || null}
42423
+ */
42424
+ this.Limit = null;
42425
+
42426
+ }
42427
+
42428
+ /**
42429
+ * @private
42430
+ */
42431
+ deserialize(params) {
42432
+ if (!params) {
42433
+ return;
42434
+ }
42435
+ this.SubAppId = 'SubAppId' in params ? params.SubAppId : null;
42436
+ this.RoundPlayId = 'RoundPlayId' in params ? params.RoundPlayId : null;
42437
+ this.Limit = 'Limit' in params ? params.Limit : null;
42438
+
42439
+ }
42440
+ }
42441
+
42135
42442
  /**
42136
42443
  * Parameters for custom ASR-based recognition
42137
42444
  * @class
@@ -42641,17 +42948,23 @@ class DescribeRoundPlaysResponse extends AbstractModel {
42641
42948
  super();
42642
42949
 
42643
42950
  /**
42644
- * The total number of records that meet the conditions.
42951
+ * The total number of carousel broadcast playlists that meet the filter criteria. deprecated. for batch inquiries, please use the scrolltoken parameter.
42645
42952
  * @type {number || null}
42646
42953
  */
42647
42954
  this.TotalCount = null;
42648
42955
 
42649
42956
  /**
42650
- * The information of the playlists.
42957
+ * The details of the playlist.
42651
42958
  * @type {Array.<RoundPlayInfo> || null}
42652
42959
  */
42653
42960
  this.RoundPlaySet = null;
42654
42961
 
42962
+ /**
42963
+ * Scrolling identifier. if a request does not return all the data entries, this field indicates the id of the next entry. if this field is empty, there is no more data.
42964
+ * @type {string || null}
42965
+ */
42966
+ this.ScrollToken = null;
42967
+
42655
42968
  /**
42656
42969
  * 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.
42657
42970
  * @type {string || null}
@@ -42677,6 +42990,7 @@ class DescribeRoundPlaysResponse extends AbstractModel {
42677
42990
  this.RoundPlaySet.push(obj);
42678
42991
  }
42679
42992
  }
42993
+ this.ScrollToken = 'ScrollToken' in params ? params.ScrollToken : null;
42680
42994
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
42681
42995
 
42682
42996
  }
@@ -47183,6 +47497,70 @@ class DescribeHeadTailTemplatesResponse extends AbstractModel {
47183
47497
  }
47184
47498
  }
47185
47499
 
47500
+ /**
47501
+ * HandleCurrentPlaylist request structure.
47502
+ * @class
47503
+ */
47504
+ class HandleCurrentPlaylistRequest extends AbstractModel {
47505
+ constructor(){
47506
+ super();
47507
+
47508
+ /**
47509
+ * <B>VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574) id.</b>.
47510
+ * @type {number || null}
47511
+ */
47512
+ this.SubAppId = null;
47513
+
47514
+ /**
47515
+ * The unique identifier of the playlist.
47516
+ * @type {string || null}
47517
+ */
47518
+ this.RoundPlayId = null;
47519
+
47520
+ /**
47521
+ * Operation type, available options:<li>insert: insert program into the current playlist.</li> <li>inserttemporary: temporarily insert program into the current playlist. can only be inserted after the currently playing program. temporarily inserted programs are only effective during this carousel process.</li><li>delete: delete program from the playlist. cannot delete currently playing programs.</li>.
47522
+ * @type {string || null}
47523
+ */
47524
+ this.Operation = null;
47525
+
47526
+ /**
47527
+ * Playlist program id. required when operation is insert, indicating the program list will be inserted after this program. the insertion position must be after the currently playing program.
47528
+ * @type {string || null}
47529
+ */
47530
+ this.ItemId = null;
47531
+
47532
+ /**
47533
+ * Program list. required when operation is insert, inserttemporary, delete, indicating the list of programs to be operated on. the list length can be up to a maximum of 10.
47534
+ * @type {Array.<RoundPlayListItemInfo> || null}
47535
+ */
47536
+ this.RoundPlaylist = null;
47537
+
47538
+ }
47539
+
47540
+ /**
47541
+ * @private
47542
+ */
47543
+ deserialize(params) {
47544
+ if (!params) {
47545
+ return;
47546
+ }
47547
+ this.SubAppId = 'SubAppId' in params ? params.SubAppId : null;
47548
+ this.RoundPlayId = 'RoundPlayId' in params ? params.RoundPlayId : null;
47549
+ this.Operation = 'Operation' in params ? params.Operation : null;
47550
+ this.ItemId = 'ItemId' in params ? params.ItemId : null;
47551
+
47552
+ if (params.RoundPlaylist) {
47553
+ this.RoundPlaylist = new Array();
47554
+ for (let z in params.RoundPlaylist) {
47555
+ let obj = new RoundPlayListItemInfo();
47556
+ obj.deserialize(params.RoundPlaylist[z]);
47557
+ this.RoundPlaylist.push(obj);
47558
+ }
47559
+ }
47560
+
47561
+ }
47562
+ }
47563
+
47186
47564
  /**
47187
47565
  * Parameters for recognition of terrorism content
47188
47566
  * @class
@@ -48008,69 +48386,44 @@ class StorageStatData extends AbstractModel {
48008
48386
  }
48009
48387
 
48010
48388
  /**
48011
- * The details of a video transcoding task. This parameter is only valid for tasks initiated by the v2017 video transcoding API.
48389
+ * Playlist Program Playback Information
48012
48390
  * @class
48013
48391
  */
48014
- class TranscodeTask2017 extends AbstractModel {
48392
+ class RoundPlayFilePlayInfo extends AbstractModel {
48015
48393
  constructor(){
48016
48394
  super();
48017
48395
 
48018
48396
  /**
48019
- * Transcoding task ID.
48020
- * @type {string || null}
48021
- */
48022
- this.TaskId = null;
48023
-
48024
- /**
48025
- * Error code
48026
- <li>0: success;</li>
48027
- <li>Other values: failure.</li>
48028
- Note: this field may return null, indicating that no valid values can be obtained.
48029
- * @type {number || null}
48030
- */
48031
- this.ErrCode = null;
48032
-
48033
- /**
48034
- * Error message.
48035
- Note: this field may return null, indicating that no valid values can be obtained.
48397
+ * Playlist program id, assigned by the system.
48036
48398
  * @type {string || null}
48037
48399
  */
48038
- this.Message = null;
48400
+ this.ItemId = null;
48039
48401
 
48040
48402
  /**
48041
- * ID of transcoded file.
48042
- Note: this field may return null, indicating that no valid values can be obtained.
48403
+ * The media file id.
48043
48404
  * @type {string || null}
48044
48405
  */
48045
48406
  this.FileId = null;
48046
48407
 
48047
48408
  /**
48048
- * Name of transcoded file.
48049
- Note: this field may return null, indicating that no valid values can be obtained.
48409
+ * The playback start time, in [iso 8601 date format](https://www.tencentcloud.com/document/product/266/11732?has_map=2#iso-date-format).
48050
48410
  * @type {string || null}
48051
48411
  */
48052
- this.FileName = null;
48412
+ this.StartPlayTime = null;
48053
48413
 
48054
48414
  /**
48055
- * Video duration in seconds.
48056
- Note: this field may return null, indicating that no valid values can be obtained.
48415
+ * Playback duration, in seconds.
48416
+ Note: this field may return null, indicating that no valid value was found.
48057
48417
  * @type {number || null}
48058
48418
  */
48059
48419
  this.Duration = null;
48060
48420
 
48061
48421
  /**
48062
- * Cover address.
48063
- Note: this field may return null, indicating that no valid values can be obtained.
48064
- * @type {string || null}
48065
- */
48066
- this.CoverUrl = null;
48067
-
48068
- /**
48069
- * Playback information generated after video transcoding.
48070
- Note: this field may return null, indicating that no valid values can be obtained.
48071
- * @type {Array.<TranscodePlayInfo2017> || null}
48422
+ * Playback progress, in seconds.
48423
+ Note: this field may return null, indicating that no valid value was found.
48424
+ * @type {number || null}
48072
48425
  */
48073
- this.PlayInfoSet = null;
48426
+ this.Progress = null;
48074
48427
 
48075
48428
  }
48076
48429
 
@@ -48081,22 +48434,11 @@ Note: this field may return null, indicating that no valid values can be obtaine
48081
48434
  if (!params) {
48082
48435
  return;
48083
48436
  }
48084
- this.TaskId = 'TaskId' in params ? params.TaskId : null;
48085
- this.ErrCode = 'ErrCode' in params ? params.ErrCode : null;
48086
- this.Message = 'Message' in params ? params.Message : null;
48437
+ this.ItemId = 'ItemId' in params ? params.ItemId : null;
48087
48438
  this.FileId = 'FileId' in params ? params.FileId : null;
48088
- this.FileName = 'FileName' in params ? params.FileName : null;
48439
+ this.StartPlayTime = 'StartPlayTime' in params ? params.StartPlayTime : null;
48089
48440
  this.Duration = 'Duration' in params ? params.Duration : null;
48090
- this.CoverUrl = 'CoverUrl' in params ? params.CoverUrl : null;
48091
-
48092
- if (params.PlayInfoSet) {
48093
- this.PlayInfoSet = new Array();
48094
- for (let z in params.PlayInfoSet) {
48095
- let obj = new TranscodePlayInfo2017();
48096
- obj.deserialize(params.PlayInfoSet[z]);
48097
- this.PlayInfoSet.push(obj);
48098
- }
48099
- }
48441
+ this.Progress = 'Progress' in params ? params.Progress : null;
48100
48442
 
48101
48443
  }
48102
48444
  }
@@ -49209,6 +49551,8 @@ module.exports = {
49209
49551
  AiReviewPoliticalTaskInput: AiReviewPoliticalTaskInput,
49210
49552
  VerifyDomainRecordResponse: VerifyDomainRecordResponse,
49211
49553
  AudioTransform: AudioTransform,
49554
+ TranscodeTask2017: TranscodeTask2017,
49555
+ DescribeCurrentPlaylistResponse: DescribeCurrentPlaylistResponse,
49212
49556
  ModifySuperPlayerConfigRequest: ModifySuperPlayerConfigRequest,
49213
49557
  ResetProcedureTemplateRequest: ResetProcedureTemplateRequest,
49214
49558
  ContentReviewOcrResult: ContentReviewOcrResult,
@@ -49696,6 +50040,7 @@ module.exports = {
49696
50040
  AccelerateAreaInfo: AccelerateAreaInfo,
49697
50041
  MediaSourceData: MediaSourceData,
49698
50042
  ProhibitedAsrReviewTemplateInfo: ProhibitedAsrReviewTemplateInfo,
50043
+ HandleCurrentPlaylistResponse: HandleCurrentPlaylistResponse,
49699
50044
  PushUrlCacheRequest: PushUrlCacheRequest,
49700
50045
  CreateAIAnalysisTemplateResponse: CreateAIAnalysisTemplateResponse,
49701
50046
  HeadTailConfigureInfo: HeadTailConfigureInfo,
@@ -49857,6 +50202,7 @@ module.exports = {
49857
50202
  DescribeTranscodeTemplatesRequest: DescribeTranscodeTemplatesRequest,
49858
50203
  QualityEnhanceTaskOutput: QualityEnhanceTaskOutput,
49859
50204
  ReviewTemplate: ReviewTemplate,
50205
+ DescribeCurrentPlaylistRequest: DescribeCurrentPlaylistRequest,
49860
50206
  UserDefineAsrTextReviewTemplateInfoForUpdate: UserDefineAsrTextReviewTemplateInfoForUpdate,
49861
50207
  DescribeCDNDomainsResponse: DescribeCDNDomainsResponse,
49862
50208
  MediaVideoStreamItem: MediaVideoStreamItem,
@@ -49938,6 +50284,7 @@ module.exports = {
49938
50284
  ReviewImageRequest: ReviewImageRequest,
49939
50285
  RebuildVideoInfo: RebuildVideoInfo,
49940
50286
  DescribeHeadTailTemplatesResponse: DescribeHeadTailTemplatesResponse,
50287
+ HandleCurrentPlaylistRequest: HandleCurrentPlaylistRequest,
49941
50288
  TerrorismConfigureInfo: TerrorismConfigureInfo,
49942
50289
  PoliticalAsrReviewTemplateInfo: PoliticalAsrReviewTemplateInfo,
49943
50290
  CreateAnimatedGraphicsTemplateResponse: CreateAnimatedGraphicsTemplateResponse,
@@ -49954,7 +50301,7 @@ module.exports = {
49954
50301
  MediaTrack: MediaTrack,
49955
50302
  FastEditMediaFileInfo: FastEditMediaFileInfo,
49956
50303
  StorageStatData: StorageStatData,
49957
- TranscodeTask2017: TranscodeTask2017,
50304
+ RoundPlayFilePlayInfo: RoundPlayFilePlayInfo,
49958
50305
  DescribeFileAttributesRequest: DescribeFileAttributesRequest,
49959
50306
  ResponseHeader: ResponseHeader,
49960
50307
  QualityInspectResultItem: QualityInspectResultItem,
@@ -77,6 +77,8 @@ const NoiseConfigureInfo = models.NoiseConfigureInfo;
77
77
  const AiReviewPoliticalTaskInput = models.AiReviewPoliticalTaskInput;
78
78
  const VerifyDomainRecordResponse = models.VerifyDomainRecordResponse;
79
79
  const AudioTransform = models.AudioTransform;
80
+ const TranscodeTask2017 = models.TranscodeTask2017;
81
+ const DescribeCurrentPlaylistResponse = models.DescribeCurrentPlaylistResponse;
80
82
  const ModifySuperPlayerConfigRequest = models.ModifySuperPlayerConfigRequest;
81
83
  const ResetProcedureTemplateRequest = models.ResetProcedureTemplateRequest;
82
84
  const ContentReviewOcrResult = models.ContentReviewOcrResult;
@@ -564,6 +566,7 @@ const CreateStorageRegionResponse = models.CreateStorageRegionResponse;
564
566
  const AccelerateAreaInfo = models.AccelerateAreaInfo;
565
567
  const MediaSourceData = models.MediaSourceData;
566
568
  const ProhibitedAsrReviewTemplateInfo = models.ProhibitedAsrReviewTemplateInfo;
569
+ const HandleCurrentPlaylistResponse = models.HandleCurrentPlaylistResponse;
567
570
  const PushUrlCacheRequest = models.PushUrlCacheRequest;
568
571
  const CreateAIAnalysisTemplateResponse = models.CreateAIAnalysisTemplateResponse;
569
572
  const HeadTailConfigureInfo = models.HeadTailConfigureInfo;
@@ -725,6 +728,7 @@ const DeleteClassRequest = models.DeleteClassRequest;
725
728
  const DescribeTranscodeTemplatesRequest = models.DescribeTranscodeTemplatesRequest;
726
729
  const QualityEnhanceTaskOutput = models.QualityEnhanceTaskOutput;
727
730
  const ReviewTemplate = models.ReviewTemplate;
731
+ const DescribeCurrentPlaylistRequest = models.DescribeCurrentPlaylistRequest;
728
732
  const UserDefineAsrTextReviewTemplateInfoForUpdate = models.UserDefineAsrTextReviewTemplateInfoForUpdate;
729
733
  const DescribeCDNDomainsResponse = models.DescribeCDNDomainsResponse;
730
734
  const MediaVideoStreamItem = models.MediaVideoStreamItem;
@@ -806,6 +810,7 @@ const SampleSnapshotTaskInput = models.SampleSnapshotTaskInput;
806
810
  const ReviewImageRequest = models.ReviewImageRequest;
807
811
  const RebuildVideoInfo = models.RebuildVideoInfo;
808
812
  const DescribeHeadTailTemplatesResponse = models.DescribeHeadTailTemplatesResponse;
813
+ const HandleCurrentPlaylistRequest = models.HandleCurrentPlaylistRequest;
809
814
  const TerrorismConfigureInfo = models.TerrorismConfigureInfo;
810
815
  const PoliticalAsrReviewTemplateInfo = models.PoliticalAsrReviewTemplateInfo;
811
816
  const CreateAnimatedGraphicsTemplateResponse = models.CreateAnimatedGraphicsTemplateResponse;
@@ -822,7 +827,7 @@ const SubtitleFormatsOperation = models.SubtitleFormatsOperation;
822
827
  const MediaTrack = models.MediaTrack;
823
828
  const FastEditMediaFileInfo = models.FastEditMediaFileInfo;
824
829
  const StorageStatData = models.StorageStatData;
825
- const TranscodeTask2017 = models.TranscodeTask2017;
830
+ const RoundPlayFilePlayInfo = models.RoundPlayFilePlayInfo;
826
831
  const DescribeFileAttributesRequest = models.DescribeFileAttributesRequest;
827
832
  const ResponseHeader = models.ResponseHeader;
828
833
  const QualityInspectResultItem = models.QualityInspectResultItem;
@@ -1748,6 +1753,17 @@ If event notifications are used, the event type is [ReviewAudioVideoComplete](ht
1748
1753
  this.request("DeleteMedia", req, resp, cb);
1749
1754
  }
1750
1755
 
1756
+ /**
1757
+ * Operate the current play list . Supported operations include:<li> Insert: Insert a playing program into the current playlist.</li><li> Delete: Remove a playing program from the playlist.</li>
1758
+ * @param {HandleCurrentPlaylistRequest} req
1759
+ * @param {function(string, HandleCurrentPlaylistResponse):void} cb
1760
+ * @public
1761
+ */
1762
+ HandleCurrentPlaylist(req, cb) {
1763
+ let resp = new HandleCurrentPlaylistResponse();
1764
+ this.request("HandleCurrentPlaylist", req, resp, cb);
1765
+ }
1766
+
1751
1767
  /**
1752
1768
  * This interface returns the image review usage information used every day within the query time range.
1753
1769
  1. You can query the image review statistics for the last 365 days.
@@ -1807,15 +1823,14 @@ If event notifications are used, the event type is [ReviewAudioVideoComplete](ht
1807
1823
  }
1808
1824
 
1809
1825
  /**
1810
- * This API is used to modify a playlist.
1811
- The modification will only take effect for new playback requests. For ongoing playback, the old playlist will be playable for seven days after the modification.
1812
- * @param {ModifyRoundPlayRequest} req
1813
- * @param {function(string, ModifyRoundPlayResponse):void} cb
1826
+ * Query current playlist of the round play.
1827
+ * @param {DescribeCurrentPlaylistRequest} req
1828
+ * @param {function(string, DescribeCurrentPlaylistResponse):void} cb
1814
1829
  * @public
1815
1830
  */
1816
- ModifyRoundPlay(req, cb) {
1817
- let resp = new ModifyRoundPlayResponse();
1818
- this.request("ModifyRoundPlay", req, resp, cb);
1831
+ DescribeCurrentPlaylist(req, cb) {
1832
+ let resp = new DescribeCurrentPlaylistResponse();
1833
+ this.request("DescribeCurrentPlaylist", req, resp, cb);
1819
1834
  }
1820
1835
 
1821
1836
  /**
@@ -2325,6 +2340,18 @@ This API is used to modify a player configuration.
2325
2340
  this.request("ModifySubAppIdInfo", req, resp, cb);
2326
2341
  }
2327
2342
 
2343
+ /**
2344
+ * This API is used to modify a playlist.
2345
+ The modification will only take effect for new playback requests. For ongoing playback, the old playlist will be playable for seven days after the modification.
2346
+ * @param {ModifyRoundPlayRequest} req
2347
+ * @param {function(string, ModifyRoundPlayResponse):void} cb
2348
+ * @public
2349
+ */
2350
+ ModifyRoundPlay(req, cb) {
2351
+ let resp = new ModifyRoundPlayResponse();
2352
+ this.request("ModifyRoundPlay", req, resp, cb);
2353
+ }
2354
+
2328
2355
  /**
2329
2356
  * This API is used to query the list of transcoding to adaptive bitrate streaming templates and supports paged queries by filters.
2330
2357
  * @param {DescribeAdaptiveDynamicStreamingTemplatesRequest} req