tencentcloud-sdk-nodejs-intl-en 3.0.1153 → 3.0.1155

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.
@@ -6289,6 +6289,18 @@ class SSAIConf extends AbstractModel {
6289
6289
  */
6290
6290
  this.AdCDNPrefix = null;
6291
6291
 
6292
+ /**
6293
+ * Pre-roll ad decision service address.
6294
+ * @type {string || null}
6295
+ */
6296
+ this.PreRollAdsUrl = null;
6297
+
6298
+ /**
6299
+ * The maximum allowed duration of pre-roll ads, (0, 3600].
6300
+ * @type {number || null}
6301
+ */
6302
+ this.PreRollMaxAllowedDuration = null;
6303
+
6292
6304
  }
6293
6305
 
6294
6306
  /**
@@ -6317,6 +6329,8 @@ class SSAIConf extends AbstractModel {
6317
6329
  this.DeliveryRestrictions = 'DeliveryRestrictions' in params ? params.DeliveryRestrictions : null;
6318
6330
  this.SourceCDNPrefix = 'SourceCDNPrefix' in params ? params.SourceCDNPrefix : null;
6319
6331
  this.AdCDNPrefix = 'AdCDNPrefix' in params ? params.AdCDNPrefix : null;
6332
+ this.PreRollAdsUrl = 'PreRollAdsUrl' in params ? params.PreRollAdsUrl : null;
6333
+ this.PreRollMaxAllowedDuration = 'PreRollMaxAllowedDuration' in params ? params.PreRollMaxAllowedDuration : null;
6320
6334
 
6321
6335
  }
6322
6336
  }
@@ -7486,7 +7486,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
7486
7486
  this.Total = null;
7487
7487
 
7488
7488
  /**
7489
- * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
7489
+ * 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.
7490
7490
  * @type {string || null}
7491
7491
  */
7492
7492
  this.RequestId = null;
@@ -2670,10 +2670,10 @@ class AudioTrackChannelInfo extends AbstractModel {
2670
2670
  super();
2671
2671
 
2672
2672
  /**
2673
- * Whether to enable the feature of multi-audio track mixing. valid values:
2674
- 0: indicates not enabling multi-audio track mix.
2675
- 1: Indicates enabling multi-audio track mixing.
2676
- Default value: 0
2673
+ * Whether to enable the feature of multi-audio track mixing. Valid values:
2674
+ <li>0: To disable the multi-audio track mixing feature.
2675
+ <li>1: To enable the multi-audio track mixing feature.
2676
+ <li>Default value: 0.
2677
2677
 
2678
2678
  Note: This field may return null, indicating that no valid value can be obtained.
2679
2679
  * @type {number || null}
@@ -2681,11 +2681,12 @@ Note: This field may return null, indicating that no valid value can be obtained
2681
2681
  this.ChannelsRemix = null;
2682
2682
 
2683
2683
  /**
2684
- * Set the selector type for the input audio track. valid values:
2685
- Track: indicates the usage of audio track id;.
2686
- Track_channel: indicates the usage of the audio track id and sound channel id.
2687
- Default: track.
2688
- If the original video has multiple channels, it is recommended to use track_channel.
2684
+ * Set the selector type for the input audio track. Valid values:
2685
+ <li>track: indicates the usage of audio track id to identify the track to be used.
2686
+ <li>track_channel: indicates the usage of both the audio track id and sound channel id to identify the track and channel to be used.
2687
+ <li>Default value: track.
2688
+ If the original audio track has multiple sound channels, please use track_channel.
2689
+
2689
2690
  Note: This field may return null, indicating that no valid value can be obtained.
2690
2691
  * @type {string || null}
2691
2692
  */
@@ -2693,6 +2694,7 @@ Note: This field may return null, indicating that no valid value can be obtained
2693
2694
 
2694
2695
  /**
2695
2696
  * Audio track information.
2697
+
2696
2698
  Note: This field may return null, indicating that no valid value can be obtained.
2697
2699
  * @type {Array.<TrackInfo> || null}
2698
2700
  */
@@ -4095,8 +4097,9 @@ Note: This field may return null, indicating that no valid values can be obtaine
4095
4097
  this.Bitrate = null;
4096
4098
 
4097
4099
  /**
4098
- * The sampling rate of the audio stream. the supported sampling rate options vary for different encoding standards. for details, see audio sampling rate support scope document https://intl.cloud.tencent.com/document/product/862/77166?from_cn_redirect=1#f3b039f1-d817-4a96-b4e4-90132d31cd53.
4099
- Please ensure that the sampling rate of the source audio stream is within the value range of the above options. otherwise, transcoding failure may occur.
4100
+ * The sampling rate of the audio stream. the sampling rate options supported by different encoding standards are different. for details, see the audio sample rate support scope document (https://intl.cloud.tencent.com/document/product/862/77166?from_cn_redirect=1#f3b039f1-d817-4a96-b4e4-90132d31cd53).
4101
+ Unit: Hz.
4102
+ Please ensure that the sampling rate of the source audio stream is within the scope of the above options. otherwise, transcoding failure may occur.
4100
4103
  Note: This field may return null, indicating that no valid value can be obtained.
4101
4104
  * @type {number || null}
4102
4105
  */
@@ -4104,10 +4107,11 @@ Note: This field may return null, indicating that no valid value can be obtained
4104
4107
 
4105
4108
  /**
4106
4109
  * Audio channel mode. Valid values:
4107
- <li>1: single channel.</li>
4108
- <li>2: dual channel.</li>
4109
- <li>6: 5.1 surround sound.</li>
4110
- When the media encapsulation format is audio (flac, ogg, mp3, and m4a), the number of channels cannot be set to 5.1 surround sound.
4110
+ <li>1: mono-channel.</li>
4111
+ <li>2: dual-channel.</li>
4112
+ <li>6: 5.1 surround sound.
4113
+ When the container format is audio (flac, ogg, mp3, and m4a), the audio channel cannot be set to 5.1 surround sound.
4114
+
4111
4115
  Note: This field may return null, indicating that no valid values can be obtained.
4112
4116
  * @type {number || null}
4113
4117
  */
@@ -10050,23 +10054,24 @@ class TrackInfo extends AbstractModel {
10050
10054
  super();
10051
10055
 
10052
10056
  /**
10053
- * Audio track and sound channel serial number, description:
10054
- When the SelectType value is trask, this value is of the integer type, for example: 1.
10055
- When the SelectType value is trask_channel, this value is of the decimal type, for example: 1.0.
10056
- Default value: `1.0`.
10057
- 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.
10057
+ * The serial number of the audio track and sound channel.
10058
+ <li>When the value of SelectType is track, this value is an integer, for example: 1.
10059
+ <li>When the value of SelectType is track_channel, this value is a decimal, for example: 1.0.
10060
+ <li>Default value: 1.0.
10061
+ 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 value of the audio track, which can be 0 or a positive integer. 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 value 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.
10062
+
10058
10063
  Note: This field may return null, indicating that no valid value can be obtained.
10059
10064
  * @type {string || null}
10060
10065
  */
10061
10066
  this.TrackNum = null;
10062
10067
 
10063
10068
  /**
10064
- * Sound channel volume. specifies the volume of the sound channel.
10065
- Specifies that when the value of AudioChannel is 1, the length of this array is 1, for example: [6].
10066
- Specifies that when the value of AudioChannel is 2, the array length is 2. for example: [0,6].
10067
- When the value of AudioChannel is 6, the length of this array is greater than 2 and less than 16, for example: [-60,0,0,6].
10068
- Specifies the value array of this parameter. the value range is [-60, 6]. among them, -60 indicates mute, 0 indicates keeping the original volume, and 6 indicates doubling the original volume. the default value is -60.
10069
- Note: supports 3 decimal places.
10069
+ * The volume of the sound channel.
10070
+ <li>When the value of AudioChannel is 1, the length of this array is 1. For example: [6].
10071
+ <li>When the value of AudioChannel is 2, the length of this array is 2. For example: [0,6].
10072
+ <li>When the value of AudioChannel is 6, the length of this array is greater than 2 and less than 16. For example: [-60,0,0,6].
10073
+
10074
+ Please specify the value array for this parameter. The value range is between -60 and 6, where -60 indicates mute, 0 maintains the original volume, and 6 doubles the original volume. The default value is -60. Please note: This field supports up to 3 decimal places.
10070
10075
 
10071
10076
  Note: This field may return null, indicating that no valid value can be obtained.
10072
10077
  * @type {Array.<number> || null}
@@ -20681,7 +20686,8 @@ class AdaptiveStreamTemplate extends AbstractModel {
20681
20686
 
20682
20687
  /**
20683
20688
  * Audio parameter information list.
20684
- The parameter is only used when merging multiple audio tracks with self-adaptive transcoding. the maximum length of the parameter array is 64.
20689
+ The parameter is only used when merging multiple audio tracks in adaptive bitrate transcoding. the maximum length of the parameter array is 64.
20690
+
20685
20691
  Note: This field may return null, indicating that no valid value can be obtained.
20686
20692
  * @type {Array.<AudioTemplateInfo> || null}
20687
20693
  */
@@ -22179,18 +22185,19 @@ Please ensure that the sampling rate of the source audio stream is within the va
22179
22185
 
22180
22186
  /**
22181
22187
  * Audio channel mode. Valid values:
22182
- <li>1: single channel.</li>
22183
- <li>2: dual channel.</li>
22184
- <li>6: 5.1 surround sound.</li>
22185
- When the media encapsulation format is audio (flac, ogg, mp3, and m4a), the number of channels cannot be set to 5.1 surround sound.
22186
- Default value: 2.
22188
+ <li>1: mono-channel.</li>
22189
+ <li>2: dual-channel.</li>
22190
+ <li>6: 5.1 surround sound.
22191
+ <li>Default value: 2.
22192
+ When the container format is audio (flac, ogg, mp3, and m4a), the audio channel cannot be set to 5.1 surround sound.
22187
22193
  * @type {number || null}
22188
22194
  */
22189
22195
  this.AudioChannel = null;
22190
22196
 
22191
22197
  /**
22192
22198
  * Merge audio track information.
22193
- This field only takes effec in adaptive bitrate transcoding.
22199
+ This field only takes effect in adaptive bitrate transcoding.
22200
+
22194
22201
  Note: This field may return null, indicating that no valid value can be obtained.
22195
22202
  * @type {AudioTrackChannelInfo || null}
22196
22203
  */
@@ -3225,6 +3225,18 @@ class DescribeDataPvUrlStatisticsRequest extends AbstractModel {
3225
3225
  */
3226
3226
  this.Env = null;
3227
3227
 
3228
+ /**
3229
+ *
3230
+ * @type {number || null}
3231
+ */
3232
+ this.GroupByType = null;
3233
+
3234
+ /**
3235
+ *
3236
+ * @type {number || null}
3237
+ */
3238
+ this.IsNewData = null;
3239
+
3228
3240
  }
3229
3241
 
3230
3242
  /**
@@ -3255,6 +3267,8 @@ class DescribeDataPvUrlStatisticsRequest extends AbstractModel {
3255
3267
  this.Os = 'Os' in params ? params.Os : null;
3256
3268
  this.Browser = 'Browser' in params ? params.Browser : null;
3257
3269
  this.Env = 'Env' in params ? params.Env : null;
3270
+ this.GroupByType = 'GroupByType' in params ? params.GroupByType : null;
3271
+ this.IsNewData = 'IsNewData' in params ? params.IsNewData : null;
3258
3272
 
3259
3273
  }
3260
3274
  }
@@ -3878,7 +3892,7 @@ class DescribeDataPvUrlStatisticsResponse extends AbstractModel {
3878
3892
  this.Result = null;
3879
3893
 
3880
3894
  /**
3881
- * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
3895
+ * 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.
3882
3896
  * @type {string || null}
3883
3897
  */
3884
3898
  this.RequestId = null;
@@ -1,3 +1,3 @@
1
1
  module.exports = {
2
- v20190711: require("./v20190711"), v20210111: require("./v20210111"),
2
+ v20210111: require("./v20210111"), v20190711: require("./v20190711"),
3
3
  };
@@ -613,6 +613,55 @@ class DescribeAccountsRequest extends AbstractModel {
613
613
  }
614
614
  }
615
615
 
616
+ /**
617
+ * DescribeMaintenanceSpan response structure.
618
+ * @class
619
+ */
620
+ class DescribeMaintenanceSpanResponse extends AbstractModel {
621
+ constructor(){
622
+ super();
623
+
624
+ /**
625
+ * Specifies the days in each week allowed for maintenance. For example, [1,2,3,4,5,6,7] indicates that all days from Monday to Sunday are allowed for maintenance.
626
+ * @type {Array.<number> || null}
627
+ */
628
+ this.Weekly = null;
629
+
630
+ /**
631
+ * Maintenance start time each day. For example, 10:24 indicates that the maintenance window starts at 10:24.
632
+ * @type {string || null}
633
+ */
634
+ this.StartTime = null;
635
+
636
+ /**
637
+ * Maintenance duration each day, in hours. For example, 1 indicates that the duration is 1 hour after maintenance starts.
638
+ * @type {number || null}
639
+ */
640
+ this.Span = null;
641
+
642
+ /**
643
+ * 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.
644
+ * @type {string || null}
645
+ */
646
+ this.RequestId = null;
647
+
648
+ }
649
+
650
+ /**
651
+ * @private
652
+ */
653
+ deserialize(params) {
654
+ if (!params) {
655
+ return;
656
+ }
657
+ this.Weekly = 'Weekly' in params ? params.Weekly : null;
658
+ this.StartTime = 'StartTime' in params ? params.StartTime : null;
659
+ this.Span = 'Span' in params ? params.Span : null;
660
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
661
+
662
+ }
663
+ }
664
+
616
665
  /**
617
666
  * CreateBusinessIntelligenceFile request structure.
618
667
  * @class
@@ -5651,6 +5700,34 @@ class DescribeRegionsRequest extends AbstractModel {
5651
5700
  }
5652
5701
  }
5653
5702
 
5703
+ /**
5704
+ * DescribeMaintenanceSpan request structure.
5705
+ * @class
5706
+ */
5707
+ class DescribeMaintenanceSpanRequest extends AbstractModel {
5708
+ constructor(){
5709
+ super();
5710
+
5711
+ /**
5712
+ * Instance ID. For example, mssql-k8voqdlz.
5713
+ * @type {string || null}
5714
+ */
5715
+ this.InstanceId = null;
5716
+
5717
+ }
5718
+
5719
+ /**
5720
+ * @private
5721
+ */
5722
+ deserialize(params) {
5723
+ if (!params) {
5724
+ return;
5725
+ }
5726
+ this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
5727
+
5728
+ }
5729
+ }
5730
+
5654
5731
  /**
5655
5732
  * Database account permission information, which is set when the database is created
5656
5733
  * @class
@@ -12063,6 +12140,7 @@ module.exports = {
12063
12140
  RestoreInstanceRequest: RestoreInstanceRequest,
12064
12141
  CreateBasicDBInstancesResponse: CreateBasicDBInstancesResponse,
12065
12142
  DescribeAccountsRequest: DescribeAccountsRequest,
12143
+ DescribeMaintenanceSpanResponse: DescribeMaintenanceSpanResponse,
12066
12144
  CreateBusinessIntelligenceFileRequest: CreateBusinessIntelligenceFileRequest,
12067
12145
  CreateMigrationResponse: CreateMigrationResponse,
12068
12146
  ModifyDReadableRequest: ModifyDReadableRequest,
@@ -12157,6 +12235,7 @@ module.exports = {
12157
12235
  ModifyDatabaseMdfRequest: ModifyDatabaseMdfRequest,
12158
12236
  DeleteIncrementalMigrationResponse: DeleteIncrementalMigrationResponse,
12159
12237
  DescribeRegionsRequest: DescribeRegionsRequest,
12238
+ DescribeMaintenanceSpanRequest: DescribeMaintenanceSpanRequest,
12160
12239
  AccountPrivilege: AccountPrivilege,
12161
12240
  CreateReadOnlyDBInstancesResponse: CreateReadOnlyDBInstancesResponse,
12162
12241
  DeleteMigrationRequest: DeleteMigrationRequest,
@@ -24,6 +24,7 @@ const ModifyBackupStrategyRequest = models.ModifyBackupStrategyRequest;
24
24
  const RestoreInstanceRequest = models.RestoreInstanceRequest;
25
25
  const CreateBasicDBInstancesResponse = models.CreateBasicDBInstancesResponse;
26
26
  const DescribeAccountsRequest = models.DescribeAccountsRequest;
27
+ const DescribeMaintenanceSpanResponse = models.DescribeMaintenanceSpanResponse;
27
28
  const CreateBusinessIntelligenceFileRequest = models.CreateBusinessIntelligenceFileRequest;
28
29
  const CreateMigrationResponse = models.CreateMigrationResponse;
29
30
  const ModifyDReadableRequest = models.ModifyDReadableRequest;
@@ -118,6 +119,7 @@ const DescribeInstanceByOrdersResponse = models.DescribeInstanceByOrdersResponse
118
119
  const ModifyDatabaseMdfRequest = models.ModifyDatabaseMdfRequest;
119
120
  const DeleteIncrementalMigrationResponse = models.DeleteIncrementalMigrationResponse;
120
121
  const DescribeRegionsRequest = models.DescribeRegionsRequest;
122
+ const DescribeMaintenanceSpanRequest = models.DescribeMaintenanceSpanRequest;
121
123
  const AccountPrivilege = models.AccountPrivilege;
122
124
  const CreateReadOnlyDBInstancesResponse = models.CreateReadOnlyDBInstancesResponse;
123
125
  const DeleteMigrationRequest = models.DeleteMigrationRequest;
@@ -986,6 +988,17 @@ Before you modify a parameter, you can use the `DescribeInstanceParams` API to q
986
988
  this.request("ModifyDReadable", req, resp, cb);
987
989
  }
988
990
 
991
+ /**
992
+ * This API is used to query the maintenance time window of an instance based on its instance ID.
993
+ * @param {DescribeMaintenanceSpanRequest} req
994
+ * @param {function(string, DescribeMaintenanceSpanResponse):void} cb
995
+ * @public
996
+ */
997
+ DescribeMaintenanceSpan(req, cb) {
998
+ let resp = new DescribeMaintenanceSpanResponse();
999
+ this.request("DescribeMaintenanceSpan", req, resp, cb);
1000
+ }
1001
+
989
1002
  /**
990
1003
  * This API is used to query the time range available for instance rollback.
991
1004
  * @param {DescribeRollbackTimeRequest} req
@@ -1,3 +1,3 @@
1
1
  module.exports = {
2
- v20220501: require("./v20220501"), v20180525: require("./v20180525"),
2
+ v20180525: require("./v20180525"), v20220501: require("./v20220501"),
3
3
  };
@@ -1,3 +1,3 @@
1
1
  module.exports = {
2
- v20201229: require("./v20201229"), v20210922: require("./v20210922"),
2
+ v20210922: require("./v20210922"), v20201229: require("./v20201229"),
3
3
  };