tencentcloud-sdk-nodejs-intl-en 3.0.1321 → 3.0.1323
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 +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/faceid/v20180301/models.js +27 -14
- package/tencentcloud/index.js +1 -0
- package/tencentcloud/tdmysql/index.js +3 -0
- package/tencentcloud/tdmysql/v20211122/index.js +4 -0
- package/tencentcloud/tdmysql/v20211122/models.js +2207 -0
- package/tencentcloud/tdmysql/v20211122/tdmysql_client.js +267 -0
- package/tencentcloud/vod/v20180717/models.js +532 -337
- package/tencentcloud/vod/v20180717/vod_client.js +81 -42
- package/tencentcloud/wedata/v20250806/models.js +161 -17
- package/tencentcloud/wedata/v20250806/wedata_client.js +21 -7
|
@@ -4209,6 +4209,101 @@ Default value: Temporary.
|
|
|
4209
4209
|
}
|
|
4210
4210
|
}
|
|
4211
4211
|
|
|
4212
|
+
/**
|
|
4213
|
+
* Task overview information
|
|
4214
|
+
* @class
|
|
4215
|
+
*/
|
|
4216
|
+
class TaskSimpleInfo extends AbstractModel {
|
|
4217
|
+
constructor(){
|
|
4218
|
+
super();
|
|
4219
|
+
|
|
4220
|
+
/**
|
|
4221
|
+
* Task ID.
|
|
4222
|
+
* @type {string || null}
|
|
4223
|
+
*/
|
|
4224
|
+
this.TaskId = null;
|
|
4225
|
+
|
|
4226
|
+
/**
|
|
4227
|
+
* Task status. Valid values: `WAITING` (waiting), `PROCESSING` (processing), `FINISH` (completed)
|
|
4228
|
+
* @type {string || null}
|
|
4229
|
+
*/
|
|
4230
|
+
this.Status = null;
|
|
4231
|
+
|
|
4232
|
+
/**
|
|
4233
|
+
* Video ID
|
|
4234
|
+
* @type {string || null}
|
|
4235
|
+
*/
|
|
4236
|
+
this.FileId = null;
|
|
4237
|
+
|
|
4238
|
+
/**
|
|
4239
|
+
* The task type. Valid values:
|
|
4240
|
+
<li>`Procedure`: Video processing</li>
|
|
4241
|
+
<li>`EditMedia`: Video editing</li>
|
|
4242
|
+
<li>`ReduceMediaBitrate`: Bitrate reduction</li>
|
|
4243
|
+
<li>`WechatDistribute`: Publishing to Weixin</li>
|
|
4244
|
+
<li> `ReviewAudioVideo`: Moderation</li>
|
|
4245
|
+
Task types for v2017:
|
|
4246
|
+
<li>`Transcode`: Transcoding</li>
|
|
4247
|
+
<li>`SnapshotByTimeOffset`: Screencapturing</li>
|
|
4248
|
+
<li>`Concat`: Video splicing</li>
|
|
4249
|
+
<li>`Clip`: Video clipping</li>
|
|
4250
|
+
<li>`ImageSprites`: Image sprite generating</li>
|
|
4251
|
+
* @type {string || null}
|
|
4252
|
+
*/
|
|
4253
|
+
this.TaskType = null;
|
|
4254
|
+
|
|
4255
|
+
/**
|
|
4256
|
+
* Creation time of task in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
|
|
4257
|
+
* @type {string || null}
|
|
4258
|
+
*/
|
|
4259
|
+
this.CreateTime = null;
|
|
4260
|
+
|
|
4261
|
+
/**
|
|
4262
|
+
* Start time of task execution in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). If the task has not been started yet, this field will be empty.
|
|
4263
|
+
* @type {string || null}
|
|
4264
|
+
*/
|
|
4265
|
+
this.BeginProcessTime = null;
|
|
4266
|
+
|
|
4267
|
+
/**
|
|
4268
|
+
* End time of task in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). If the task has not been completed yet, this field will be empty.
|
|
4269
|
+
* @type {string || null}
|
|
4270
|
+
*/
|
|
4271
|
+
this.FinishTime = null;
|
|
4272
|
+
|
|
4273
|
+
/**
|
|
4274
|
+
* ID used for deduplication if there was a request with the same ID in the last seven days.
|
|
4275
|
+
* @type {string || null}
|
|
4276
|
+
*/
|
|
4277
|
+
this.SessionId = null;
|
|
4278
|
+
|
|
4279
|
+
/**
|
|
4280
|
+
* Source context, which is used to pass through the user request information.
|
|
4281
|
+
* @type {string || null}
|
|
4282
|
+
*/
|
|
4283
|
+
this.SessionContext = null;
|
|
4284
|
+
|
|
4285
|
+
}
|
|
4286
|
+
|
|
4287
|
+
/**
|
|
4288
|
+
* @private
|
|
4289
|
+
*/
|
|
4290
|
+
deserialize(params) {
|
|
4291
|
+
if (!params) {
|
|
4292
|
+
return;
|
|
4293
|
+
}
|
|
4294
|
+
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
4295
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
4296
|
+
this.FileId = 'FileId' in params ? params.FileId : null;
|
|
4297
|
+
this.TaskType = 'TaskType' in params ? params.TaskType : null;
|
|
4298
|
+
this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
|
|
4299
|
+
this.BeginProcessTime = 'BeginProcessTime' in params ? params.BeginProcessTime : null;
|
|
4300
|
+
this.FinishTime = 'FinishTime' in params ? params.FinishTime : null;
|
|
4301
|
+
this.SessionId = 'SessionId' in params ? params.SessionId : null;
|
|
4302
|
+
this.SessionContext = 'SessionContext' in params ? params.SessionContext : null;
|
|
4303
|
+
|
|
4304
|
+
}
|
|
4305
|
+
}
|
|
4306
|
+
|
|
4212
4307
|
/**
|
|
4213
4308
|
* DeleteAIRecognitionTemplate response structure.
|
|
4214
4309
|
* @class
|
|
@@ -11610,32 +11705,57 @@ class TraceWatermarkInput extends AbstractModel {
|
|
|
11610
11705
|
}
|
|
11611
11706
|
|
|
11612
11707
|
/**
|
|
11613
|
-
*
|
|
11708
|
+
* ModifyPersonSample request structure.
|
|
11614
11709
|
* @class
|
|
11615
11710
|
*/
|
|
11616
|
-
class
|
|
11711
|
+
class ModifyPersonSampleRequest extends AbstractModel {
|
|
11617
11712
|
constructor(){
|
|
11618
11713
|
super();
|
|
11619
11714
|
|
|
11620
11715
|
/**
|
|
11621
|
-
*
|
|
11622
|
-
<li>ON</li>
|
|
11623
|
-
<li>OFF</li>
|
|
11716
|
+
* ID of a sample.
|
|
11624
11717
|
* @type {string || null}
|
|
11625
11718
|
*/
|
|
11626
|
-
this.
|
|
11719
|
+
this.PersonId = null;
|
|
11627
11720
|
|
|
11628
11721
|
/**
|
|
11629
|
-
*
|
|
11722
|
+
* <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>
|
|
11630
11723
|
* @type {number || null}
|
|
11631
11724
|
*/
|
|
11632
|
-
this.
|
|
11725
|
+
this.SubAppId = null;
|
|
11633
11726
|
|
|
11634
11727
|
/**
|
|
11635
|
-
*
|
|
11636
|
-
* @type {
|
|
11728
|
+
* Name. Length limit: 128 characters.
|
|
11729
|
+
* @type {string || null}
|
|
11637
11730
|
*/
|
|
11638
|
-
this.
|
|
11731
|
+
this.Name = null;
|
|
11732
|
+
|
|
11733
|
+
/**
|
|
11734
|
+
* Description. Length limit: 1,024 characters.
|
|
11735
|
+
* @type {string || null}
|
|
11736
|
+
*/
|
|
11737
|
+
this.Description = null;
|
|
11738
|
+
|
|
11739
|
+
/**
|
|
11740
|
+
* Sample usage. Valid values:
|
|
11741
|
+
1. Recognition: used for content recognition; equivalent to `Recognition.Face`
|
|
11742
|
+
2. Review: used for inappropriate information recognition; equivalent to `Review.Face`
|
|
11743
|
+
3. All: used for content recognition and inappropriate information recognition; equivalent to 1+2
|
|
11744
|
+
* @type {Array.<string> || null}
|
|
11745
|
+
*/
|
|
11746
|
+
this.Usages = null;
|
|
11747
|
+
|
|
11748
|
+
/**
|
|
11749
|
+
* Information of operations on facial features.
|
|
11750
|
+
* @type {AiSampleFaceOperation || null}
|
|
11751
|
+
*/
|
|
11752
|
+
this.FaceOperationInfo = null;
|
|
11753
|
+
|
|
11754
|
+
/**
|
|
11755
|
+
* Tag operation information.
|
|
11756
|
+
* @type {AiSampleTagOperation || null}
|
|
11757
|
+
*/
|
|
11758
|
+
this.TagOperationInfo = null;
|
|
11639
11759
|
|
|
11640
11760
|
}
|
|
11641
11761
|
|
|
@@ -11646,9 +11766,23 @@ class PornAsrReviewTemplateInfoForUpdate extends AbstractModel {
|
|
|
11646
11766
|
if (!params) {
|
|
11647
11767
|
return;
|
|
11648
11768
|
}
|
|
11649
|
-
this.
|
|
11650
|
-
this.
|
|
11651
|
-
this.
|
|
11769
|
+
this.PersonId = 'PersonId' in params ? params.PersonId : null;
|
|
11770
|
+
this.SubAppId = 'SubAppId' in params ? params.SubAppId : null;
|
|
11771
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
11772
|
+
this.Description = 'Description' in params ? params.Description : null;
|
|
11773
|
+
this.Usages = 'Usages' in params ? params.Usages : null;
|
|
11774
|
+
|
|
11775
|
+
if (params.FaceOperationInfo) {
|
|
11776
|
+
let obj = new AiSampleFaceOperation();
|
|
11777
|
+
obj.deserialize(params.FaceOperationInfo)
|
|
11778
|
+
this.FaceOperationInfo = obj;
|
|
11779
|
+
}
|
|
11780
|
+
|
|
11781
|
+
if (params.TagOperationInfo) {
|
|
11782
|
+
let obj = new AiSampleTagOperation();
|
|
11783
|
+
obj.deserialize(params.TagOperationInfo)
|
|
11784
|
+
this.TagOperationInfo = obj;
|
|
11785
|
+
}
|
|
11652
11786
|
|
|
11653
11787
|
}
|
|
11654
11788
|
}
|
|
@@ -14537,6 +14671,62 @@ class EditMediaOutputConfig extends AbstractModel {
|
|
|
14537
14671
|
}
|
|
14538
14672
|
}
|
|
14539
14673
|
|
|
14674
|
+
/**
|
|
14675
|
+
* ModifyPersonSample response structure.
|
|
14676
|
+
* @class
|
|
14677
|
+
*/
|
|
14678
|
+
class ModifyPersonSampleResponse extends AbstractModel {
|
|
14679
|
+
constructor(){
|
|
14680
|
+
super();
|
|
14681
|
+
|
|
14682
|
+
/**
|
|
14683
|
+
* Information of a sample.
|
|
14684
|
+
* @type {AiSamplePerson || null}
|
|
14685
|
+
*/
|
|
14686
|
+
this.Person = null;
|
|
14687
|
+
|
|
14688
|
+
/**
|
|
14689
|
+
* Information of samples that failed the verification by facial feature positioning.
|
|
14690
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
14691
|
+
* @type {Array.<AiSampleFailFaceInfo> || null}
|
|
14692
|
+
*/
|
|
14693
|
+
this.FailFaceInfoSet = null;
|
|
14694
|
+
|
|
14695
|
+
/**
|
|
14696
|
+
* 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.
|
|
14697
|
+
* @type {string || null}
|
|
14698
|
+
*/
|
|
14699
|
+
this.RequestId = null;
|
|
14700
|
+
|
|
14701
|
+
}
|
|
14702
|
+
|
|
14703
|
+
/**
|
|
14704
|
+
* @private
|
|
14705
|
+
*/
|
|
14706
|
+
deserialize(params) {
|
|
14707
|
+
if (!params) {
|
|
14708
|
+
return;
|
|
14709
|
+
}
|
|
14710
|
+
|
|
14711
|
+
if (params.Person) {
|
|
14712
|
+
let obj = new AiSamplePerson();
|
|
14713
|
+
obj.deserialize(params.Person)
|
|
14714
|
+
this.Person = obj;
|
|
14715
|
+
}
|
|
14716
|
+
|
|
14717
|
+
if (params.FailFaceInfoSet) {
|
|
14718
|
+
this.FailFaceInfoSet = new Array();
|
|
14719
|
+
for (let z in params.FailFaceInfoSet) {
|
|
14720
|
+
let obj = new AiSampleFailFaceInfo();
|
|
14721
|
+
obj.deserialize(params.FailFaceInfoSet[z]);
|
|
14722
|
+
this.FailFaceInfoSet.push(obj);
|
|
14723
|
+
}
|
|
14724
|
+
}
|
|
14725
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
14726
|
+
|
|
14727
|
+
}
|
|
14728
|
+
}
|
|
14729
|
+
|
|
14540
14730
|
/**
|
|
14541
14731
|
* Information of a video splitting task.
|
|
14542
14732
|
* @class
|
|
@@ -19906,6 +20096,34 @@ class ProcessMediaByMPSResponse extends AbstractModel {
|
|
|
19906
20096
|
}
|
|
19907
20097
|
}
|
|
19908
20098
|
|
|
20099
|
+
/**
|
|
20100
|
+
* DescribeAigcApiTokens request structure.
|
|
20101
|
+
* @class
|
|
20102
|
+
*/
|
|
20103
|
+
class DescribeAigcApiTokensRequest extends AbstractModel {
|
|
20104
|
+
constructor(){
|
|
20105
|
+
super();
|
|
20106
|
+
|
|
20107
|
+
/**
|
|
20108
|
+
* <b>The VOD [application](https://www.tencentcloud.com/document/product/266/14574?from_cn_redirect=1) ID. customers who activate vod services after december 25, 2023 must fill this field with the application ID when accessing resources in on-demand applications (whether default or newly created).</b>.
|
|
20109
|
+
* @type {number || null}
|
|
20110
|
+
*/
|
|
20111
|
+
this.SubAppId = null;
|
|
20112
|
+
|
|
20113
|
+
}
|
|
20114
|
+
|
|
20115
|
+
/**
|
|
20116
|
+
* @private
|
|
20117
|
+
*/
|
|
20118
|
+
deserialize(params) {
|
|
20119
|
+
if (!params) {
|
|
20120
|
+
return;
|
|
20121
|
+
}
|
|
20122
|
+
this.SubAppId = 'SubAppId' in params ? params.SubAppId : null;
|
|
20123
|
+
|
|
20124
|
+
}
|
|
20125
|
+
}
|
|
20126
|
+
|
|
19909
20127
|
/**
|
|
19910
20128
|
* Node cache expiration time configuration
|
|
19911
20129
|
* @class
|
|
@@ -24193,86 +24411,18 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
24193
24411
|
}
|
|
24194
24412
|
|
|
24195
24413
|
/**
|
|
24196
|
-
*
|
|
24414
|
+
* DeleteAigcApiToken response structure.
|
|
24197
24415
|
* @class
|
|
24198
24416
|
*/
|
|
24199
|
-
class
|
|
24417
|
+
class DeleteAigcApiTokenResponse extends AbstractModel {
|
|
24200
24418
|
constructor(){
|
|
24201
24419
|
super();
|
|
24202
24420
|
|
|
24203
24421
|
/**
|
|
24204
|
-
*
|
|
24205
|
-
<li>image: image watermark;</li>
|
|
24206
|
-
<li>text: text watermark;</li>
|
|
24207
|
-
<li>svg: SVG watermark.</li>
|
|
24208
|
-
* @type {string || null}
|
|
24209
|
-
*/
|
|
24210
|
-
this.Type = null;
|
|
24211
|
-
|
|
24212
|
-
/**
|
|
24213
|
-
* <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>
|
|
24214
|
-
* @type {number || null}
|
|
24215
|
-
*/
|
|
24216
|
-
this.SubAppId = null;
|
|
24217
|
-
|
|
24218
|
-
/**
|
|
24219
|
-
* Watermarking template name. Length limit: 64 characters.
|
|
24220
|
-
* @type {string || null}
|
|
24221
|
-
*/
|
|
24222
|
-
this.Name = null;
|
|
24223
|
-
|
|
24224
|
-
/**
|
|
24225
|
-
* Template description. Length limit: 256 characters.
|
|
24226
|
-
* @type {string || null}
|
|
24227
|
-
*/
|
|
24228
|
-
this.Comment = null;
|
|
24229
|
-
|
|
24230
|
-
/**
|
|
24231
|
-
* Origin position. Valid values:
|
|
24232
|
-
<li>TopLeft: the origin of coordinates is in the top-left corner of the video, and the origin of the watermark is in the top-left corner of the image or text;</li>
|
|
24233
|
-
<li>TopRight: the origin of coordinates is in the top-right corner of the video, and the origin of the watermark is in the top-right corner of the image or text;</li>
|
|
24234
|
-
<li>BottomLeft: the origin of coordinates is in the bottom-left corner of the video, and the origin of the watermark is in the bottom-left corner of the image or text;</li>
|
|
24235
|
-
<li>BottomRight: the origin of coordinates is in the bottom-right corner of the video, and the origin of the watermark is in the bottom-right corner of the image or text.</li>
|
|
24236
|
-
Default value: TopLeft.
|
|
24237
|
-
* @type {string || null}
|
|
24238
|
-
*/
|
|
24239
|
-
this.CoordinateOrigin = null;
|
|
24240
|
-
|
|
24241
|
-
/**
|
|
24242
|
-
* The horizontal position of the origin of the watermark relative to the origin of coordinates of the video. % and px formats are supported:
|
|
24243
|
-
<li>If the string ends in %, the `XPos` of the watermark will be the specified percentage of the video width; for example, `10%` means that `XPos` is 10% of the video width;</li>
|
|
24244
|
-
<li>If the string ends in px, the `XPos` of the watermark will be the specified px; for example, `100px` means that `XPos` is 100 px.</li>
|
|
24245
|
-
Default value: 0 px.
|
|
24246
|
-
* @type {string || null}
|
|
24247
|
-
*/
|
|
24248
|
-
this.XPos = null;
|
|
24249
|
-
|
|
24250
|
-
/**
|
|
24251
|
-
* The vertical position of the origin of the watermark relative to the origin of coordinates of the video. % and px formats are supported:
|
|
24252
|
-
<li>If the string ends in %, the `YPos` of the watermark will be the specified percentage of the video height; for example, `10%` means that `YPos` is 10% of the video height;</li>
|
|
24253
|
-
<li>If the string ends in px, the `YPos` of the watermark will be the specified px; for example, `100px` means that `YPos` is 100 px.</li>
|
|
24254
|
-
Default value: 0 px.
|
|
24422
|
+
* 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.
|
|
24255
24423
|
* @type {string || null}
|
|
24256
24424
|
*/
|
|
24257
|
-
this.
|
|
24258
|
-
|
|
24259
|
-
/**
|
|
24260
|
-
* Image watermarking template. This field is required when `Type` is `image` and is invalid when `Type` is `text`.
|
|
24261
|
-
* @type {ImageWatermarkInput || null}
|
|
24262
|
-
*/
|
|
24263
|
-
this.ImageTemplate = null;
|
|
24264
|
-
|
|
24265
|
-
/**
|
|
24266
|
-
* Text watermarking template. This field is required when `Type` is `text` and is invalid when `Type` is `image`.
|
|
24267
|
-
* @type {TextWatermarkTemplateInput || null}
|
|
24268
|
-
*/
|
|
24269
|
-
this.TextTemplate = null;
|
|
24270
|
-
|
|
24271
|
-
/**
|
|
24272
|
-
* SVG watermarking template. This field is required when `Type` is `svg` and is invalid when `Type` is `image` or `text`.
|
|
24273
|
-
* @type {SvgWatermarkInput || null}
|
|
24274
|
-
*/
|
|
24275
|
-
this.SvgTemplate = null;
|
|
24425
|
+
this.RequestId = null;
|
|
24276
24426
|
|
|
24277
24427
|
}
|
|
24278
24428
|
|
|
@@ -24283,31 +24433,7 @@ Default value: 0 px.
|
|
|
24283
24433
|
if (!params) {
|
|
24284
24434
|
return;
|
|
24285
24435
|
}
|
|
24286
|
-
this.
|
|
24287
|
-
this.SubAppId = 'SubAppId' in params ? params.SubAppId : null;
|
|
24288
|
-
this.Name = 'Name' in params ? params.Name : null;
|
|
24289
|
-
this.Comment = 'Comment' in params ? params.Comment : null;
|
|
24290
|
-
this.CoordinateOrigin = 'CoordinateOrigin' in params ? params.CoordinateOrigin : null;
|
|
24291
|
-
this.XPos = 'XPos' in params ? params.XPos : null;
|
|
24292
|
-
this.YPos = 'YPos' in params ? params.YPos : null;
|
|
24293
|
-
|
|
24294
|
-
if (params.ImageTemplate) {
|
|
24295
|
-
let obj = new ImageWatermarkInput();
|
|
24296
|
-
obj.deserialize(params.ImageTemplate)
|
|
24297
|
-
this.ImageTemplate = obj;
|
|
24298
|
-
}
|
|
24299
|
-
|
|
24300
|
-
if (params.TextTemplate) {
|
|
24301
|
-
let obj = new TextWatermarkTemplateInput();
|
|
24302
|
-
obj.deserialize(params.TextTemplate)
|
|
24303
|
-
this.TextTemplate = obj;
|
|
24304
|
-
}
|
|
24305
|
-
|
|
24306
|
-
if (params.SvgTemplate) {
|
|
24307
|
-
let obj = new SvgWatermarkInput();
|
|
24308
|
-
obj.deserialize(params.SvgTemplate)
|
|
24309
|
-
this.SvgTemplate = obj;
|
|
24310
|
-
}
|
|
24436
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
24311
24437
|
|
|
24312
24438
|
}
|
|
24313
24439
|
}
|
|
@@ -24996,6 +25122,87 @@ class ModifyJustInTimeTranscodeTemplateResponse extends AbstractModel {
|
|
|
24996
25122
|
}
|
|
24997
25123
|
}
|
|
24998
25124
|
|
|
25125
|
+
/**
|
|
25126
|
+
* Information of video stream in VOD file
|
|
25127
|
+
* @class
|
|
25128
|
+
*/
|
|
25129
|
+
class MediaVideoStreamItem extends AbstractModel {
|
|
25130
|
+
constructor(){
|
|
25131
|
+
super();
|
|
25132
|
+
|
|
25133
|
+
/**
|
|
25134
|
+
* Bitrate of video stream in bps.
|
|
25135
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
25136
|
+
* @type {number || null}
|
|
25137
|
+
*/
|
|
25138
|
+
this.Bitrate = null;
|
|
25139
|
+
|
|
25140
|
+
/**
|
|
25141
|
+
* Height of video stream in px.
|
|
25142
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
25143
|
+
* @type {number || null}
|
|
25144
|
+
*/
|
|
25145
|
+
this.Height = null;
|
|
25146
|
+
|
|
25147
|
+
/**
|
|
25148
|
+
* Width of video stream in px.
|
|
25149
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
25150
|
+
* @type {number || null}
|
|
25151
|
+
*/
|
|
25152
|
+
this.Width = null;
|
|
25153
|
+
|
|
25154
|
+
/**
|
|
25155
|
+
* Video stream encoder, such as h264.
|
|
25156
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
25157
|
+
* @type {string || null}
|
|
25158
|
+
*/
|
|
25159
|
+
this.Codec = null;
|
|
25160
|
+
|
|
25161
|
+
/**
|
|
25162
|
+
* Frame rate in Hz.
|
|
25163
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
25164
|
+
* @type {number || null}
|
|
25165
|
+
*/
|
|
25166
|
+
this.Fps = null;
|
|
25167
|
+
|
|
25168
|
+
/**
|
|
25169
|
+
* The codec tag. This parameter is valid only if `Codec` is `hevc`.
|
|
25170
|
+
* @type {string || null}
|
|
25171
|
+
*/
|
|
25172
|
+
this.CodecTag = null;
|
|
25173
|
+
|
|
25174
|
+
/**
|
|
25175
|
+
* Dynamic range information.
|
|
25176
|
+
<li><font color=red>Note</font>: This parameter is valid for transcoding files generated after 2023-01-10T00:00:00Z.</li>
|
|
25177
|
+
* @type {DynamicRangeInfo || null}
|
|
25178
|
+
*/
|
|
25179
|
+
this.DynamicRangeInfo = null;
|
|
25180
|
+
|
|
25181
|
+
}
|
|
25182
|
+
|
|
25183
|
+
/**
|
|
25184
|
+
* @private
|
|
25185
|
+
*/
|
|
25186
|
+
deserialize(params) {
|
|
25187
|
+
if (!params) {
|
|
25188
|
+
return;
|
|
25189
|
+
}
|
|
25190
|
+
this.Bitrate = 'Bitrate' in params ? params.Bitrate : null;
|
|
25191
|
+
this.Height = 'Height' in params ? params.Height : null;
|
|
25192
|
+
this.Width = 'Width' in params ? params.Width : null;
|
|
25193
|
+
this.Codec = 'Codec' in params ? params.Codec : null;
|
|
25194
|
+
this.Fps = 'Fps' in params ? params.Fps : null;
|
|
25195
|
+
this.CodecTag = 'CodecTag' in params ? params.CodecTag : null;
|
|
25196
|
+
|
|
25197
|
+
if (params.DynamicRangeInfo) {
|
|
25198
|
+
let obj = new DynamicRangeInfo();
|
|
25199
|
+
obj.deserialize(params.DynamicRangeInfo)
|
|
25200
|
+
this.DynamicRangeInfo = obj;
|
|
25201
|
+
}
|
|
25202
|
+
|
|
25203
|
+
}
|
|
25204
|
+
}
|
|
25205
|
+
|
|
24999
25206
|
/**
|
|
25000
25207
|
* Video transcoding playback information (v2017)
|
|
25001
25208
|
* @class
|
|
@@ -25146,6 +25353,126 @@ class SplitMediaTask extends AbstractModel {
|
|
|
25146
25353
|
}
|
|
25147
25354
|
}
|
|
25148
25355
|
|
|
25356
|
+
/**
|
|
25357
|
+
* CreateWatermarkTemplate request structure.
|
|
25358
|
+
* @class
|
|
25359
|
+
*/
|
|
25360
|
+
class CreateWatermarkTemplateRequest extends AbstractModel {
|
|
25361
|
+
constructor(){
|
|
25362
|
+
super();
|
|
25363
|
+
|
|
25364
|
+
/**
|
|
25365
|
+
* Watermarking type. Valid values:
|
|
25366
|
+
<li>image: image watermark;</li>
|
|
25367
|
+
<li>text: text watermark;</li>
|
|
25368
|
+
<li>svg: SVG watermark.</li>
|
|
25369
|
+
* @type {string || null}
|
|
25370
|
+
*/
|
|
25371
|
+
this.Type = null;
|
|
25372
|
+
|
|
25373
|
+
/**
|
|
25374
|
+
* <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>
|
|
25375
|
+
* @type {number || null}
|
|
25376
|
+
*/
|
|
25377
|
+
this.SubAppId = null;
|
|
25378
|
+
|
|
25379
|
+
/**
|
|
25380
|
+
* Watermarking template name. Length limit: 64 characters.
|
|
25381
|
+
* @type {string || null}
|
|
25382
|
+
*/
|
|
25383
|
+
this.Name = null;
|
|
25384
|
+
|
|
25385
|
+
/**
|
|
25386
|
+
* Template description. Length limit: 256 characters.
|
|
25387
|
+
* @type {string || null}
|
|
25388
|
+
*/
|
|
25389
|
+
this.Comment = null;
|
|
25390
|
+
|
|
25391
|
+
/**
|
|
25392
|
+
* Origin position. Valid values:
|
|
25393
|
+
<li>TopLeft: the origin of coordinates is in the top-left corner of the video, and the origin of the watermark is in the top-left corner of the image or text;</li>
|
|
25394
|
+
<li>TopRight: the origin of coordinates is in the top-right corner of the video, and the origin of the watermark is in the top-right corner of the image or text;</li>
|
|
25395
|
+
<li>BottomLeft: the origin of coordinates is in the bottom-left corner of the video, and the origin of the watermark is in the bottom-left corner of the image or text;</li>
|
|
25396
|
+
<li>BottomRight: the origin of coordinates is in the bottom-right corner of the video, and the origin of the watermark is in the bottom-right corner of the image or text.</li>
|
|
25397
|
+
Default value: TopLeft.
|
|
25398
|
+
* @type {string || null}
|
|
25399
|
+
*/
|
|
25400
|
+
this.CoordinateOrigin = null;
|
|
25401
|
+
|
|
25402
|
+
/**
|
|
25403
|
+
* The horizontal position of the origin of the watermark relative to the origin of coordinates of the video. % and px formats are supported:
|
|
25404
|
+
<li>If the string ends in %, the `XPos` of the watermark will be the specified percentage of the video width; for example, `10%` means that `XPos` is 10% of the video width;</li>
|
|
25405
|
+
<li>If the string ends in px, the `XPos` of the watermark will be the specified px; for example, `100px` means that `XPos` is 100 px.</li>
|
|
25406
|
+
Default value: 0 px.
|
|
25407
|
+
* @type {string || null}
|
|
25408
|
+
*/
|
|
25409
|
+
this.XPos = null;
|
|
25410
|
+
|
|
25411
|
+
/**
|
|
25412
|
+
* The vertical position of the origin of the watermark relative to the origin of coordinates of the video. % and px formats are supported:
|
|
25413
|
+
<li>If the string ends in %, the `YPos` of the watermark will be the specified percentage of the video height; for example, `10%` means that `YPos` is 10% of the video height;</li>
|
|
25414
|
+
<li>If the string ends in px, the `YPos` of the watermark will be the specified px; for example, `100px` means that `YPos` is 100 px.</li>
|
|
25415
|
+
Default value: 0 px.
|
|
25416
|
+
* @type {string || null}
|
|
25417
|
+
*/
|
|
25418
|
+
this.YPos = null;
|
|
25419
|
+
|
|
25420
|
+
/**
|
|
25421
|
+
* Image watermarking template. This field is required when `Type` is `image` and is invalid when `Type` is `text`.
|
|
25422
|
+
* @type {ImageWatermarkInput || null}
|
|
25423
|
+
*/
|
|
25424
|
+
this.ImageTemplate = null;
|
|
25425
|
+
|
|
25426
|
+
/**
|
|
25427
|
+
* Text watermarking template. This field is required when `Type` is `text` and is invalid when `Type` is `image`.
|
|
25428
|
+
* @type {TextWatermarkTemplateInput || null}
|
|
25429
|
+
*/
|
|
25430
|
+
this.TextTemplate = null;
|
|
25431
|
+
|
|
25432
|
+
/**
|
|
25433
|
+
* SVG watermarking template. This field is required when `Type` is `svg` and is invalid when `Type` is `image` or `text`.
|
|
25434
|
+
* @type {SvgWatermarkInput || null}
|
|
25435
|
+
*/
|
|
25436
|
+
this.SvgTemplate = null;
|
|
25437
|
+
|
|
25438
|
+
}
|
|
25439
|
+
|
|
25440
|
+
/**
|
|
25441
|
+
* @private
|
|
25442
|
+
*/
|
|
25443
|
+
deserialize(params) {
|
|
25444
|
+
if (!params) {
|
|
25445
|
+
return;
|
|
25446
|
+
}
|
|
25447
|
+
this.Type = 'Type' in params ? params.Type : null;
|
|
25448
|
+
this.SubAppId = 'SubAppId' in params ? params.SubAppId : null;
|
|
25449
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
25450
|
+
this.Comment = 'Comment' in params ? params.Comment : null;
|
|
25451
|
+
this.CoordinateOrigin = 'CoordinateOrigin' in params ? params.CoordinateOrigin : null;
|
|
25452
|
+
this.XPos = 'XPos' in params ? params.XPos : null;
|
|
25453
|
+
this.YPos = 'YPos' in params ? params.YPos : null;
|
|
25454
|
+
|
|
25455
|
+
if (params.ImageTemplate) {
|
|
25456
|
+
let obj = new ImageWatermarkInput();
|
|
25457
|
+
obj.deserialize(params.ImageTemplate)
|
|
25458
|
+
this.ImageTemplate = obj;
|
|
25459
|
+
}
|
|
25460
|
+
|
|
25461
|
+
if (params.TextTemplate) {
|
|
25462
|
+
let obj = new TextWatermarkTemplateInput();
|
|
25463
|
+
obj.deserialize(params.TextTemplate)
|
|
25464
|
+
this.TextTemplate = obj;
|
|
25465
|
+
}
|
|
25466
|
+
|
|
25467
|
+
if (params.SvgTemplate) {
|
|
25468
|
+
let obj = new SvgWatermarkInput();
|
|
25469
|
+
obj.deserialize(params.SvgTemplate)
|
|
25470
|
+
this.SvgTemplate = obj;
|
|
25471
|
+
}
|
|
25472
|
+
|
|
25473
|
+
}
|
|
25474
|
+
}
|
|
25475
|
+
|
|
25149
25476
|
/**
|
|
25150
25477
|
* Origin-pull authentication for other origins
|
|
25151
25478
|
* @class
|
|
@@ -35879,58 +36206,19 @@ class DescribeMediaInfosRequest extends AbstractModel {
|
|
|
35879
36206
|
}
|
|
35880
36207
|
|
|
35881
36208
|
/**
|
|
35882
|
-
*
|
|
36209
|
+
* CreateAigcApiToken request structure.
|
|
35883
36210
|
* @class
|
|
35884
36211
|
*/
|
|
35885
|
-
class
|
|
36212
|
+
class CreateAigcApiTokenRequest extends AbstractModel {
|
|
35886
36213
|
constructor(){
|
|
35887
36214
|
super();
|
|
35888
36215
|
|
|
35889
36216
|
/**
|
|
35890
|
-
* ID
|
|
35891
|
-
* @type {string || null}
|
|
35892
|
-
*/
|
|
35893
|
-
this.PersonId = null;
|
|
35894
|
-
|
|
35895
|
-
/**
|
|
35896
|
-
* <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>
|
|
36217
|
+
* <b>The VOD [application](https://www.tencentcloud.com/document/product/266/14574?from_cn_redirect=1) ID. customers who activate on-demand services from december 25, 2023 must fill this field with the application ID when accessing resources in on-demand applications (whether default or newly created).</b>.
|
|
35897
36218
|
* @type {number || null}
|
|
35898
36219
|
*/
|
|
35899
36220
|
this.SubAppId = null;
|
|
35900
36221
|
|
|
35901
|
-
/**
|
|
35902
|
-
* Name. Length limit: 128 characters.
|
|
35903
|
-
* @type {string || null}
|
|
35904
|
-
*/
|
|
35905
|
-
this.Name = null;
|
|
35906
|
-
|
|
35907
|
-
/**
|
|
35908
|
-
* Description. Length limit: 1,024 characters.
|
|
35909
|
-
* @type {string || null}
|
|
35910
|
-
*/
|
|
35911
|
-
this.Description = null;
|
|
35912
|
-
|
|
35913
|
-
/**
|
|
35914
|
-
* Sample usage. Valid values:
|
|
35915
|
-
1. Recognition: used for content recognition; equivalent to `Recognition.Face`
|
|
35916
|
-
2. Review: used for inappropriate information recognition; equivalent to `Review.Face`
|
|
35917
|
-
3. All: used for content recognition and inappropriate information recognition; equivalent to 1+2
|
|
35918
|
-
* @type {Array.<string> || null}
|
|
35919
|
-
*/
|
|
35920
|
-
this.Usages = null;
|
|
35921
|
-
|
|
35922
|
-
/**
|
|
35923
|
-
* Information of operations on facial features.
|
|
35924
|
-
* @type {AiSampleFaceOperation || null}
|
|
35925
|
-
*/
|
|
35926
|
-
this.FaceOperationInfo = null;
|
|
35927
|
-
|
|
35928
|
-
/**
|
|
35929
|
-
* Tag operation information.
|
|
35930
|
-
* @type {AiSampleTagOperation || null}
|
|
35931
|
-
*/
|
|
35932
|
-
this.TagOperationInfo = null;
|
|
35933
|
-
|
|
35934
36222
|
}
|
|
35935
36223
|
|
|
35936
36224
|
/**
|
|
@@ -35940,23 +36228,7 @@ class ModifyPersonSampleRequest extends AbstractModel {
|
|
|
35940
36228
|
if (!params) {
|
|
35941
36229
|
return;
|
|
35942
36230
|
}
|
|
35943
|
-
this.PersonId = 'PersonId' in params ? params.PersonId : null;
|
|
35944
36231
|
this.SubAppId = 'SubAppId' in params ? params.SubAppId : null;
|
|
35945
|
-
this.Name = 'Name' in params ? params.Name : null;
|
|
35946
|
-
this.Description = 'Description' in params ? params.Description : null;
|
|
35947
|
-
this.Usages = 'Usages' in params ? params.Usages : null;
|
|
35948
|
-
|
|
35949
|
-
if (params.FaceOperationInfo) {
|
|
35950
|
-
let obj = new AiSampleFaceOperation();
|
|
35951
|
-
obj.deserialize(params.FaceOperationInfo)
|
|
35952
|
-
this.FaceOperationInfo = obj;
|
|
35953
|
-
}
|
|
35954
|
-
|
|
35955
|
-
if (params.TagOperationInfo) {
|
|
35956
|
-
let obj = new AiSampleTagOperation();
|
|
35957
|
-
obj.deserialize(params.TagOperationInfo)
|
|
35958
|
-
this.TagOperationInfo = obj;
|
|
35959
|
-
}
|
|
35960
36232
|
|
|
35961
36233
|
}
|
|
35962
36234
|
}
|
|
@@ -42045,77 +42317,24 @@ class CDNDomainConfig extends AbstractModel {
|
|
|
42045
42317
|
}
|
|
42046
42318
|
|
|
42047
42319
|
/**
|
|
42048
|
-
*
|
|
42320
|
+
* DescribeAigcApiTokens response structure.
|
|
42049
42321
|
* @class
|
|
42050
42322
|
*/
|
|
42051
|
-
class
|
|
42323
|
+
class DescribeAigcApiTokensResponse extends AbstractModel {
|
|
42052
42324
|
constructor(){
|
|
42053
42325
|
super();
|
|
42054
42326
|
|
|
42055
42327
|
/**
|
|
42056
|
-
*
|
|
42057
|
-
* @type {string || null}
|
|
42058
|
-
*/
|
|
42059
|
-
this.TaskId = null;
|
|
42060
|
-
|
|
42061
|
-
/**
|
|
42062
|
-
* Task status. Valid values: `WAITING` (waiting), `PROCESSING` (processing), `FINISH` (completed)
|
|
42063
|
-
* @type {string || null}
|
|
42064
|
-
*/
|
|
42065
|
-
this.Status = null;
|
|
42066
|
-
|
|
42067
|
-
/**
|
|
42068
|
-
* Video ID
|
|
42069
|
-
* @type {string || null}
|
|
42070
|
-
*/
|
|
42071
|
-
this.FileId = null;
|
|
42072
|
-
|
|
42073
|
-
/**
|
|
42074
|
-
* The task type. Valid values:
|
|
42075
|
-
<li>`Procedure`: Video processing</li>
|
|
42076
|
-
<li>`EditMedia`: Video editing</li>
|
|
42077
|
-
<li>`ReduceMediaBitrate`: Bitrate reduction</li>
|
|
42078
|
-
<li>`WechatDistribute`: Publishing to Weixin</li>
|
|
42079
|
-
<li> `ReviewAudioVideo`: Moderation</li>
|
|
42080
|
-
Task types for v2017:
|
|
42081
|
-
<li>`Transcode`: Transcoding</li>
|
|
42082
|
-
<li>`SnapshotByTimeOffset`: Screencapturing</li>
|
|
42083
|
-
<li>`Concat`: Video splicing</li>
|
|
42084
|
-
<li>`Clip`: Video clipping</li>
|
|
42085
|
-
<li>`ImageSprites`: Image sprite generating</li>
|
|
42086
|
-
* @type {string || null}
|
|
42087
|
-
*/
|
|
42088
|
-
this.TaskType = null;
|
|
42089
|
-
|
|
42090
|
-
/**
|
|
42091
|
-
* Creation time of task in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
|
|
42092
|
-
* @type {string || null}
|
|
42093
|
-
*/
|
|
42094
|
-
this.CreateTime = null;
|
|
42095
|
-
|
|
42096
|
-
/**
|
|
42097
|
-
* Start time of task execution in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). If the task has not been started yet, this field will be empty.
|
|
42098
|
-
* @type {string || null}
|
|
42099
|
-
*/
|
|
42100
|
-
this.BeginProcessTime = null;
|
|
42101
|
-
|
|
42102
|
-
/**
|
|
42103
|
-
* End time of task in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I). If the task has not been completed yet, this field will be empty.
|
|
42104
|
-
* @type {string || null}
|
|
42105
|
-
*/
|
|
42106
|
-
this.FinishTime = null;
|
|
42107
|
-
|
|
42108
|
-
/**
|
|
42109
|
-
* ID used for deduplication if there was a request with the same ID in the last seven days.
|
|
42110
|
-
* @type {string || null}
|
|
42328
|
+
* API Token list.
|
|
42329
|
+
* @type {Array.<string> || null}
|
|
42111
42330
|
*/
|
|
42112
|
-
this.
|
|
42331
|
+
this.ApiTokens = null;
|
|
42113
42332
|
|
|
42114
42333
|
/**
|
|
42115
|
-
*
|
|
42334
|
+
* 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.
|
|
42116
42335
|
* @type {string || null}
|
|
42117
42336
|
*/
|
|
42118
|
-
this.
|
|
42337
|
+
this.RequestId = null;
|
|
42119
42338
|
|
|
42120
42339
|
}
|
|
42121
42340
|
|
|
@@ -42126,15 +42345,8 @@ Task types for v2017:
|
|
|
42126
42345
|
if (!params) {
|
|
42127
42346
|
return;
|
|
42128
42347
|
}
|
|
42129
|
-
this.
|
|
42130
|
-
this.
|
|
42131
|
-
this.FileId = 'FileId' in params ? params.FileId : null;
|
|
42132
|
-
this.TaskType = 'TaskType' in params ? params.TaskType : null;
|
|
42133
|
-
this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
|
|
42134
|
-
this.BeginProcessTime = 'BeginProcessTime' in params ? params.BeginProcessTime : null;
|
|
42135
|
-
this.FinishTime = 'FinishTime' in params ? params.FinishTime : null;
|
|
42136
|
-
this.SessionId = 'SessionId' in params ? params.SessionId : null;
|
|
42137
|
-
this.SessionContext = 'SessionContext' in params ? params.SessionContext : null;
|
|
42348
|
+
this.ApiTokens = 'ApiTokens' in params ? params.ApiTokens : null;
|
|
42349
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
42138
42350
|
|
|
42139
42351
|
}
|
|
42140
42352
|
}
|
|
@@ -42281,20 +42493,24 @@ class DescribeSnapshotByTimeOffsetTemplatesResponse extends AbstractModel {
|
|
|
42281
42493
|
}
|
|
42282
42494
|
|
|
42283
42495
|
/**
|
|
42284
|
-
*
|
|
42496
|
+
* DeleteAigcApiToken request structure.
|
|
42285
42497
|
* @class
|
|
42286
42498
|
*/
|
|
42287
|
-
class
|
|
42499
|
+
class DeleteAigcApiTokenRequest extends AbstractModel {
|
|
42288
42500
|
constructor(){
|
|
42289
42501
|
super();
|
|
42290
42502
|
|
|
42291
42503
|
/**
|
|
42292
|
-
* The
|
|
42293
|
-
|
|
42294
|
-
|
|
42504
|
+
* <b>The VOD [application](https://www.tencentcloud.com/document/product/266/14574?from_cn_redirect=1) ID. customers who activate vod services after december 25, 2023 must fill this field with the application ID when accessing resources in on-demand applications (whether default or newly created).</b>.
|
|
42505
|
+
* @type {number || null}
|
|
42506
|
+
*/
|
|
42507
|
+
this.SubAppId = null;
|
|
42508
|
+
|
|
42509
|
+
/**
|
|
42510
|
+
* API Token.
|
|
42295
42511
|
* @type {string || null}
|
|
42296
42512
|
*/
|
|
42297
|
-
this.
|
|
42513
|
+
this.ApiToken = null;
|
|
42298
42514
|
|
|
42299
42515
|
}
|
|
42300
42516
|
|
|
@@ -42305,7 +42521,8 @@ class DomainQUICConfig extends AbstractModel {
|
|
|
42305
42521
|
if (!params) {
|
|
42306
42522
|
return;
|
|
42307
42523
|
}
|
|
42308
|
-
this.
|
|
42524
|
+
this.SubAppId = 'SubAppId' in params ? params.SubAppId : null;
|
|
42525
|
+
this.ApiToken = 'ApiToken' in params ? params.ApiToken : null;
|
|
42309
42526
|
|
|
42310
42527
|
}
|
|
42311
42528
|
}
|
|
@@ -43048,6 +43265,50 @@ class AiRecognitionTaskAsrWordsResultInput extends AbstractModel {
|
|
|
43048
43265
|
}
|
|
43049
43266
|
}
|
|
43050
43267
|
|
|
43268
|
+
/**
|
|
43269
|
+
* Parameters for ASR-based recognition of pornographic content
|
|
43270
|
+
* @class
|
|
43271
|
+
*/
|
|
43272
|
+
class PornAsrReviewTemplateInfoForUpdate extends AbstractModel {
|
|
43273
|
+
constructor(){
|
|
43274
|
+
super();
|
|
43275
|
+
|
|
43276
|
+
/**
|
|
43277
|
+
* Whether to enable ASR-based recognition of pornographic content. Valid values:
|
|
43278
|
+
<li>ON</li>
|
|
43279
|
+
<li>OFF</li>
|
|
43280
|
+
* @type {string || null}
|
|
43281
|
+
*/
|
|
43282
|
+
this.Switch = null;
|
|
43283
|
+
|
|
43284
|
+
/**
|
|
43285
|
+
* Confidence score threshold for determining that something should be blocked. If this threshold is reached, VOD will suggest that the content be blocked. Value range: 0-100
|
|
43286
|
+
* @type {number || null}
|
|
43287
|
+
*/
|
|
43288
|
+
this.BlockConfidence = null;
|
|
43289
|
+
|
|
43290
|
+
/**
|
|
43291
|
+
* Confidence score threshold for human review. If this threshold is reached, human review is needed. Value range: 0-100
|
|
43292
|
+
* @type {number || null}
|
|
43293
|
+
*/
|
|
43294
|
+
this.ReviewConfidence = null;
|
|
43295
|
+
|
|
43296
|
+
}
|
|
43297
|
+
|
|
43298
|
+
/**
|
|
43299
|
+
* @private
|
|
43300
|
+
*/
|
|
43301
|
+
deserialize(params) {
|
|
43302
|
+
if (!params) {
|
|
43303
|
+
return;
|
|
43304
|
+
}
|
|
43305
|
+
this.Switch = 'Switch' in params ? params.Switch : null;
|
|
43306
|
+
this.BlockConfidence = 'BlockConfidence' in params ? params.BlockConfidence : null;
|
|
43307
|
+
this.ReviewConfidence = 'ReviewConfidence' in params ? params.ReviewConfidence : null;
|
|
43308
|
+
|
|
43309
|
+
}
|
|
43310
|
+
}
|
|
43311
|
+
|
|
43051
43312
|
/**
|
|
43052
43313
|
* ModifySubAppIdStatus response structure.
|
|
43053
43314
|
* @class
|
|
@@ -45652,60 +45913,20 @@ class DescribeCDNDomainsResponse extends AbstractModel {
|
|
|
45652
45913
|
}
|
|
45653
45914
|
|
|
45654
45915
|
/**
|
|
45655
|
-
*
|
|
45916
|
+
* The QUIC configuration of a domain.
|
|
45656
45917
|
* @class
|
|
45657
45918
|
*/
|
|
45658
|
-
class
|
|
45919
|
+
class DomainQUICConfig extends AbstractModel {
|
|
45659
45920
|
constructor(){
|
|
45660
45921
|
super();
|
|
45661
45922
|
|
|
45662
45923
|
/**
|
|
45663
|
-
*
|
|
45664
|
-
|
|
45665
|
-
|
|
45666
|
-
*/
|
|
45667
|
-
this.Bitrate = null;
|
|
45668
|
-
|
|
45669
|
-
/**
|
|
45670
|
-
* Height of video stream in px.
|
|
45671
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
|
45672
|
-
* @type {number || null}
|
|
45673
|
-
*/
|
|
45674
|
-
this.Height = null;
|
|
45675
|
-
|
|
45676
|
-
/**
|
|
45677
|
-
* Width of video stream in px.
|
|
45678
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
|
45679
|
-
* @type {number || null}
|
|
45680
|
-
*/
|
|
45681
|
-
this.Width = null;
|
|
45682
|
-
|
|
45683
|
-
/**
|
|
45684
|
-
* Video stream encoder, such as h264.
|
|
45685
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
|
45686
|
-
* @type {string || null}
|
|
45687
|
-
*/
|
|
45688
|
-
this.Codec = null;
|
|
45689
|
-
|
|
45690
|
-
/**
|
|
45691
|
-
* Frame rate in Hz.
|
|
45692
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
|
45693
|
-
* @type {number || null}
|
|
45694
|
-
*/
|
|
45695
|
-
this.Fps = null;
|
|
45696
|
-
|
|
45697
|
-
/**
|
|
45698
|
-
* The codec tag. This parameter is valid only if `Codec` is `hevc`.
|
|
45924
|
+
* The QUIC status. Valid values:
|
|
45925
|
+
<li>`Enabled`</li>
|
|
45926
|
+
<li>`Disabled`</li>
|
|
45699
45927
|
* @type {string || null}
|
|
45700
45928
|
*/
|
|
45701
|
-
this.
|
|
45702
|
-
|
|
45703
|
-
/**
|
|
45704
|
-
* Dynamic range information.
|
|
45705
|
-
<li><font color=red>Note</font>: This parameter is valid for transcoding files generated after 2023-01-10T00:00:00Z.</li>
|
|
45706
|
-
* @type {DynamicRangeInfo || null}
|
|
45707
|
-
*/
|
|
45708
|
-
this.DynamicRangeInfo = null;
|
|
45929
|
+
this.Status = null;
|
|
45709
45930
|
|
|
45710
45931
|
}
|
|
45711
45932
|
|
|
@@ -45716,18 +45937,7 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
45716
45937
|
if (!params) {
|
|
45717
45938
|
return;
|
|
45718
45939
|
}
|
|
45719
|
-
this.
|
|
45720
|
-
this.Height = 'Height' in params ? params.Height : null;
|
|
45721
|
-
this.Width = 'Width' in params ? params.Width : null;
|
|
45722
|
-
this.Codec = 'Codec' in params ? params.Codec : null;
|
|
45723
|
-
this.Fps = 'Fps' in params ? params.Fps : null;
|
|
45724
|
-
this.CodecTag = 'CodecTag' in params ? params.CodecTag : null;
|
|
45725
|
-
|
|
45726
|
-
if (params.DynamicRangeInfo) {
|
|
45727
|
-
let obj = new DynamicRangeInfo();
|
|
45728
|
-
obj.deserialize(params.DynamicRangeInfo)
|
|
45729
|
-
this.DynamicRangeInfo = obj;
|
|
45730
|
-
}
|
|
45940
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
45731
45941
|
|
|
45732
45942
|
}
|
|
45733
45943
|
}
|
|
@@ -46563,25 +46773,18 @@ class ConfirmEventsResponse extends AbstractModel {
|
|
|
46563
46773
|
}
|
|
46564
46774
|
|
|
46565
46775
|
/**
|
|
46566
|
-
*
|
|
46776
|
+
* CreateAigcApiToken response structure.
|
|
46567
46777
|
* @class
|
|
46568
46778
|
*/
|
|
46569
|
-
class
|
|
46779
|
+
class CreateAigcApiTokenResponse extends AbstractModel {
|
|
46570
46780
|
constructor(){
|
|
46571
46781
|
super();
|
|
46572
46782
|
|
|
46573
46783
|
/**
|
|
46574
|
-
*
|
|
46575
|
-
* @type {
|
|
46576
|
-
*/
|
|
46577
|
-
this.Person = null;
|
|
46578
|
-
|
|
46579
|
-
/**
|
|
46580
|
-
* Information of samples that failed the verification by facial feature positioning.
|
|
46581
|
-
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
46582
|
-
* @type {Array.<AiSampleFailFaceInfo> || null}
|
|
46784
|
+
* API Token.
|
|
46785
|
+
* @type {string || null}
|
|
46583
46786
|
*/
|
|
46584
|
-
this.
|
|
46787
|
+
this.ApiToken = null;
|
|
46585
46788
|
|
|
46586
46789
|
/**
|
|
46587
46790
|
* 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.
|
|
@@ -46598,21 +46801,7 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
46598
46801
|
if (!params) {
|
|
46599
46802
|
return;
|
|
46600
46803
|
}
|
|
46601
|
-
|
|
46602
|
-
if (params.Person) {
|
|
46603
|
-
let obj = new AiSamplePerson();
|
|
46604
|
-
obj.deserialize(params.Person)
|
|
46605
|
-
this.Person = obj;
|
|
46606
|
-
}
|
|
46607
|
-
|
|
46608
|
-
if (params.FailFaceInfoSet) {
|
|
46609
|
-
this.FailFaceInfoSet = new Array();
|
|
46610
|
-
for (let z in params.FailFaceInfoSet) {
|
|
46611
|
-
let obj = new AiSampleFailFaceInfo();
|
|
46612
|
-
obj.deserialize(params.FailFaceInfoSet[z]);
|
|
46613
|
-
this.FailFaceInfoSet.push(obj);
|
|
46614
|
-
}
|
|
46615
|
-
}
|
|
46804
|
+
this.ApiToken = 'ApiToken' in params ? params.ApiToken : null;
|
|
46616
46805
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
46617
46806
|
|
|
46618
46807
|
}
|
|
@@ -52894,6 +53083,7 @@ module.exports = {
|
|
|
52894
53083
|
FaceConfigureInfoForUpdate: FaceConfigureInfoForUpdate,
|
|
52895
53084
|
ContentReviewTemplateItem: ContentReviewTemplateItem,
|
|
52896
53085
|
AigcImageTaskOutputFileInfo: AigcImageTaskOutputFileInfo,
|
|
53086
|
+
TaskSimpleInfo: TaskSimpleInfo,
|
|
52897
53087
|
DeleteAIRecognitionTemplateResponse: DeleteAIRecognitionTemplateResponse,
|
|
52898
53088
|
VideoEnhanceConfig: VideoEnhanceConfig,
|
|
52899
53089
|
DeleteContentReviewTemplateRequest: DeleteContentReviewTemplateRequest,
|
|
@@ -53023,7 +53213,7 @@ module.exports = {
|
|
|
53023
53213
|
ModifyMediaInfoRequest: ModifyMediaInfoRequest,
|
|
53024
53214
|
FrameRateWithDenInfo: FrameRateWithDenInfo,
|
|
53025
53215
|
TraceWatermarkInput: TraceWatermarkInput,
|
|
53026
|
-
|
|
53216
|
+
ModifyPersonSampleRequest: ModifyPersonSampleRequest,
|
|
53027
53217
|
ReviewAudioVideoSegmentItem: ReviewAudioVideoSegmentItem,
|
|
53028
53218
|
MediaAnimatedGraphicsInfo: MediaAnimatedGraphicsInfo,
|
|
53029
53219
|
DescribeSnapshotByTimeOffsetTemplatesRequest: DescribeSnapshotByTimeOffsetTemplatesRequest,
|
|
@@ -53078,6 +53268,7 @@ module.exports = {
|
|
|
53078
53268
|
ColorEnhanceInfo: ColorEnhanceInfo,
|
|
53079
53269
|
DeleteEnhanceMediaTemplateResponse: DeleteEnhanceMediaTemplateResponse,
|
|
53080
53270
|
EditMediaOutputConfig: EditMediaOutputConfig,
|
|
53271
|
+
ModifyPersonSampleResponse: ModifyPersonSampleResponse,
|
|
53081
53272
|
SplitMediaTaskSegmentInfo: SplitMediaTaskSegmentInfo,
|
|
53082
53273
|
AiReviewPornAsrTaskOutput: AiReviewPornAsrTaskOutput,
|
|
53083
53274
|
RequestHeader: RequestHeader,
|
|
@@ -53168,6 +53359,7 @@ module.exports = {
|
|
|
53168
53359
|
AiAnalysisTaskTagResult: AiAnalysisTaskTagResult,
|
|
53169
53360
|
SearchMediaResponse: SearchMediaResponse,
|
|
53170
53361
|
ProcessMediaByMPSResponse: ProcessMediaByMPSResponse,
|
|
53362
|
+
DescribeAigcApiTokensRequest: DescribeAigcApiTokensRequest,
|
|
53171
53363
|
Cache: Cache,
|
|
53172
53364
|
RemoveWaterMarkTaskOutput: RemoveWaterMarkTaskOutput,
|
|
53173
53365
|
ModifyMediaStorageClassRequest: ModifyMediaStorageClassRequest,
|
|
@@ -53247,7 +53439,7 @@ module.exports = {
|
|
|
53247
53439
|
SetVodDomainCertificateResponse: SetVodDomainCertificateResponse,
|
|
53248
53440
|
ExtractTraceWatermarkTaskOutput: ExtractTraceWatermarkTaskOutput,
|
|
53249
53441
|
MediaProcessTaskCoverBySnapshotResult: MediaProcessTaskCoverBySnapshotResult,
|
|
53250
|
-
|
|
53442
|
+
DeleteAigcApiTokenResponse: DeleteAigcApiTokenResponse,
|
|
53251
53443
|
UserAgentFilter: UserAgentFilter,
|
|
53252
53444
|
ComplexAdaptiveDynamicStreamingTaskInput: ComplexAdaptiveDynamicStreamingTaskInput,
|
|
53253
53445
|
SortBy: SortBy,
|
|
@@ -53262,8 +53454,10 @@ module.exports = {
|
|
|
53262
53454
|
HeadTailConfigureInfoForUpdate: HeadTailConfigureInfoForUpdate,
|
|
53263
53455
|
ImageScale: ImageScale,
|
|
53264
53456
|
ModifyJustInTimeTranscodeTemplateResponse: ModifyJustInTimeTranscodeTemplateResponse,
|
|
53457
|
+
MediaVideoStreamItem: MediaVideoStreamItem,
|
|
53265
53458
|
TranscodePlayInfo2017: TranscodePlayInfo2017,
|
|
53266
53459
|
SplitMediaTask: SplitMediaTask,
|
|
53460
|
+
CreateWatermarkTemplateRequest: CreateWatermarkTemplateRequest,
|
|
53267
53461
|
OthersPrivateAccess: OthersPrivateAccess,
|
|
53268
53462
|
ComposeMediaTaskInput: ComposeMediaTaskInput,
|
|
53269
53463
|
ModifyQualityInspectTemplateRequest: ModifyQualityInspectTemplateRequest,
|
|
@@ -53438,7 +53632,7 @@ module.exports = {
|
|
|
53438
53632
|
ComposeMediaTaskOutput: ComposeMediaTaskOutput,
|
|
53439
53633
|
DescribeQualityInspectTemplatesRequest: DescribeQualityInspectTemplatesRequest,
|
|
53440
53634
|
DescribeMediaInfosRequest: DescribeMediaInfosRequest,
|
|
53441
|
-
|
|
53635
|
+
CreateAigcApiTokenRequest: CreateAigcApiTokenRequest,
|
|
53442
53636
|
AsrFullTextConfigureInfo: AsrFullTextConfigureInfo,
|
|
53443
53637
|
TerrorismImageResult: TerrorismImageResult,
|
|
53444
53638
|
DeleteVodDomainRequest: DeleteVodDomainRequest,
|
|
@@ -53535,10 +53729,10 @@ module.exports = {
|
|
|
53535
53729
|
ProcedureTask: ProcedureTask,
|
|
53536
53730
|
ExtractTraceWatermarkRequest: ExtractTraceWatermarkRequest,
|
|
53537
53731
|
CDNDomainConfig: CDNDomainConfig,
|
|
53538
|
-
|
|
53732
|
+
DescribeAigcApiTokensResponse: DescribeAigcApiTokensResponse,
|
|
53539
53733
|
ReviewAudioVideoTask: ReviewAudioVideoTask,
|
|
53540
53734
|
DescribeSnapshotByTimeOffsetTemplatesResponse: DescribeSnapshotByTimeOffsetTemplatesResponse,
|
|
53541
|
-
|
|
53735
|
+
DeleteAigcApiTokenRequest: DeleteAigcApiTokenRequest,
|
|
53542
53736
|
SetDrmKeyProviderInfoRequest: SetDrmKeyProviderInfoRequest,
|
|
53543
53737
|
SnapshotByTimeOffsetTemplate: SnapshotByTimeOffsetTemplate,
|
|
53544
53738
|
DeleteSnapshotByTimeOffsetTemplateResponse: DeleteSnapshotByTimeOffsetTemplateResponse,
|
|
@@ -53549,6 +53743,7 @@ module.exports = {
|
|
|
53549
53743
|
CreateTranscodeTemplateResponse: CreateTranscodeTemplateResponse,
|
|
53550
53744
|
CDNDomainConfigForUpdate: CDNDomainConfigForUpdate,
|
|
53551
53745
|
AiRecognitionTaskAsrWordsResultInput: AiRecognitionTaskAsrWordsResultInput,
|
|
53746
|
+
PornAsrReviewTemplateInfoForUpdate: PornAsrReviewTemplateInfoForUpdate,
|
|
53552
53747
|
ModifySubAppIdStatusResponse: ModifySubAppIdStatusResponse,
|
|
53553
53748
|
CreateAIAnalysisTemplateRequest: CreateAIAnalysisTemplateRequest,
|
|
53554
53749
|
AiReviewTerrorismTaskInput: AiReviewTerrorismTaskInput,
|
|
@@ -53591,7 +53786,7 @@ module.exports = {
|
|
|
53591
53786
|
DescribeCurrentPlaylistRequest: DescribeCurrentPlaylistRequest,
|
|
53592
53787
|
UserDefineAsrTextReviewTemplateInfoForUpdate: UserDefineAsrTextReviewTemplateInfoForUpdate,
|
|
53593
53788
|
DescribeCDNDomainsResponse: DescribeCDNDomainsResponse,
|
|
53594
|
-
|
|
53789
|
+
DomainQUICConfig: DomainQUICConfig,
|
|
53595
53790
|
CreateRebuildMediaTemplateRequest: CreateRebuildMediaTemplateRequest,
|
|
53596
53791
|
ImageOperation: ImageOperation,
|
|
53597
53792
|
MediaSubStreamInfoItem: MediaSubStreamInfoItem,
|
|
@@ -53605,7 +53800,7 @@ module.exports = {
|
|
|
53605
53800
|
ExecuteFunctionRequest: ExecuteFunctionRequest,
|
|
53606
53801
|
RebuildMediaTask: RebuildMediaTask,
|
|
53607
53802
|
ConfirmEventsResponse: ConfirmEventsResponse,
|
|
53608
|
-
|
|
53803
|
+
CreateAigcApiTokenResponse: CreateAigcApiTokenResponse,
|
|
53609
53804
|
VideoTrackItem: VideoTrackItem,
|
|
53610
53805
|
VideoDenoiseInfo: VideoDenoiseInfo,
|
|
53611
53806
|
DescribeLicenseUsageDataRequest: DescribeLicenseUsageDataRequest,
|