tencentcloud-sdk-nodejs-intl-en 3.0.1262 → 3.0.1263

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.1262",
3
+ "version": "3.0.1263",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1,3 +1,3 @@
1
1
  module.exports = {
2
- v20220331: require("./v20220331"), v20210420: require("./v20210420"),
2
+ v20210420: require("./v20210420"), v20220331: require("./v20220331"),
3
3
  };
@@ -1,2 +1,2 @@
1
- const sdkVersion = "3.0.1262";
1
+ const sdkVersion = "3.0.1263";
2
2
  module.exports = sdkVersion
@@ -1,3 +1,3 @@
1
1
  module.exports = {
2
- v20210527: require("./v20210527"), v20191016: require("./v20191016"),
2
+ v20191016: require("./v20191016"), v20210527: require("./v20210527"),
3
3
  };
@@ -2334,6 +2334,87 @@ Note: This field may return null, indicating that no valid value can be obtained
2334
2334
  }
2335
2335
  }
2336
2336
 
2337
+ /**
2338
+ * CreateSmartEraseTemplate request structure.
2339
+ * @class
2340
+ */
2341
+ class CreateSmartEraseTemplateRequest extends AbstractModel {
2342
+ constructor(){
2343
+ super();
2344
+
2345
+ /**
2346
+ * Length limit for the smart erasing template name: 64 characters.
2347
+ * @type {string || null}
2348
+ */
2349
+ this.Name = null;
2350
+
2351
+ /**
2352
+ * Erasing type.
2353
+ -subtitle: subtitle removal.
2354
+ -watermark: watermark removal.
2355
+ -privacy: privacy protection.
2356
+ * @type {string || null}
2357
+ */
2358
+ this.EraseType = null;
2359
+
2360
+ /**
2361
+ * Length limit for the description information of the smart erasing template: 256 characters.
2362
+ * @type {string || null}
2363
+ */
2364
+ this.Comment = null;
2365
+
2366
+ /**
2367
+ * Subtitle erasing configuration. This parameter is required and valid only when the value of EraseType is set to subtitle.
2368
+ * @type {SmartEraseSubtitleConfig || null}
2369
+ */
2370
+ this.EraseSubtitleConfig = null;
2371
+
2372
+ /**
2373
+ * Watermark erasing configuration. This parameter is required and valid only when the value of EraseType is set to watermark.
2374
+ * @type {SmartEraseWatermarkConfig || null}
2375
+ */
2376
+ this.EraseWatermarkConfig = null;
2377
+
2378
+ /**
2379
+ * Privacy protection configuration. This parameter is required and valid only when the value of EraseType is set to privacy.
2380
+ * @type {SmartErasePrivacyConfig || null}
2381
+ */
2382
+ this.ErasePrivacyConfig = null;
2383
+
2384
+ }
2385
+
2386
+ /**
2387
+ * @private
2388
+ */
2389
+ deserialize(params) {
2390
+ if (!params) {
2391
+ return;
2392
+ }
2393
+ this.Name = 'Name' in params ? params.Name : null;
2394
+ this.EraseType = 'EraseType' in params ? params.EraseType : null;
2395
+ this.Comment = 'Comment' in params ? params.Comment : null;
2396
+
2397
+ if (params.EraseSubtitleConfig) {
2398
+ let obj = new SmartEraseSubtitleConfig();
2399
+ obj.deserialize(params.EraseSubtitleConfig)
2400
+ this.EraseSubtitleConfig = obj;
2401
+ }
2402
+
2403
+ if (params.EraseWatermarkConfig) {
2404
+ let obj = new SmartEraseWatermarkConfig();
2405
+ obj.deserialize(params.EraseWatermarkConfig)
2406
+ this.EraseWatermarkConfig = obj;
2407
+ }
2408
+
2409
+ if (params.ErasePrivacyConfig) {
2410
+ let obj = new SmartErasePrivacyConfig();
2411
+ obj.deserialize(params.ErasePrivacyConfig)
2412
+ this.ErasePrivacyConfig = obj;
2413
+ }
2414
+
2415
+ }
2416
+ }
2417
+
2337
2418
  /**
2338
2419
  * Audio/Video enhancement configuration.
2339
2420
  * @class
@@ -3536,6 +3617,34 @@ Note: This field may return `null`, indicating that no valid values can be obtai
3536
3617
  }
3537
3618
  }
3538
3619
 
3620
+ /**
3621
+ * ModifySmartEraseTemplate response structure.
3622
+ * @class
3623
+ */
3624
+ class ModifySmartEraseTemplateResponse extends AbstractModel {
3625
+ constructor(){
3626
+ super();
3627
+
3628
+ /**
3629
+ * 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.
3630
+ * @type {string || null}
3631
+ */
3632
+ this.RequestId = null;
3633
+
3634
+ }
3635
+
3636
+ /**
3637
+ * @private
3638
+ */
3639
+ deserialize(params) {
3640
+ if (!params) {
3641
+ return;
3642
+ }
3643
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
3644
+
3645
+ }
3646
+ }
3647
+
3539
3648
  /**
3540
3649
  * DeleteAIRecognitionTemplate response structure.
3541
3650
  * @class
@@ -8818,6 +8927,64 @@ Detects and directly performs removal within a specified time range for the sele
8818
8927
  }
8819
8928
  }
8820
8929
 
8930
+ /**
8931
+ * DescribeSmartEraseTemplates request structure.
8932
+ * @class
8933
+ */
8934
+ class DescribeSmartEraseTemplatesRequest extends AbstractModel {
8935
+ constructor(){
8936
+ super();
8937
+
8938
+ /**
8939
+ * Filtering condition for the unique identifier of the smart erasing template. Length limit of the array: 100.
8940
+ * @type {Array.<number> || null}
8941
+ */
8942
+ this.Definitions = null;
8943
+
8944
+ /**
8945
+ * Pagination offset. Default value: 0.
8946
+ * @type {number || null}
8947
+ */
8948
+ this.Offset = null;
8949
+
8950
+ /**
8951
+ * Number of returned entries. Default value: 10. Maximum value: 100.
8952
+ * @type {number || null}
8953
+ */
8954
+ this.Limit = null;
8955
+
8956
+ /**
8957
+ * Filtering conditions for template type. If this parameter is not specified, all templates are returned. Valid values:
8958
+ * Preset: system preset template.
8959
+ * Custom: user-defined template.
8960
+ * @type {string || null}
8961
+ */
8962
+ this.Type = null;
8963
+
8964
+ /**
8965
+ * Filtering condition for the smart erasing template name. Length limit: 64 characters.
8966
+ * @type {string || null}
8967
+ */
8968
+ this.Name = null;
8969
+
8970
+ }
8971
+
8972
+ /**
8973
+ * @private
8974
+ */
8975
+ deserialize(params) {
8976
+ if (!params) {
8977
+ return;
8978
+ }
8979
+ this.Definitions = 'Definitions' in params ? params.Definitions : null;
8980
+ this.Offset = 'Offset' in params ? params.Offset : null;
8981
+ this.Limit = 'Limit' in params ? params.Limit : null;
8982
+ this.Type = 'Type' in params ? params.Type : null;
8983
+ this.Name = 'Name' in params ? params.Name : null;
8984
+
8985
+ }
8986
+ }
8987
+
8821
8988
  /**
8822
8989
  * The parameters for detecting sensitive information based on ASR.
8823
8990
  * @class
@@ -15378,6 +15545,94 @@ Note: This field may return null, indicating that no valid value can be obtained
15378
15545
  }
15379
15546
  }
15380
15547
 
15548
+ /**
15549
+ * ModifySmartEraseTemplate request structure.
15550
+ * @class
15551
+ */
15552
+ class ModifySmartEraseTemplateRequest extends AbstractModel {
15553
+ constructor(){
15554
+ super();
15555
+
15556
+ /**
15557
+ * Unique identifier of the smart erasing template.
15558
+ * @type {number || null}
15559
+ */
15560
+ this.Definition = null;
15561
+
15562
+ /**
15563
+ * Length limit for the smart erasing template name: 64 characters.
15564
+ * @type {string || null}
15565
+ */
15566
+ this.Name = null;
15567
+
15568
+ /**
15569
+ * Length limit for the description information of the smart erasing template: 256 characters.
15570
+ * @type {string || null}
15571
+ */
15572
+ this.Comment = null;
15573
+
15574
+ /**
15575
+ * Erasing type.
15576
+ -subtitle: subtitle removal.
15577
+ -watermark: watermark removal.
15578
+ -privacy: privacy protection.
15579
+ * @type {string || null}
15580
+ */
15581
+ this.EraseType = null;
15582
+
15583
+ /**
15584
+ * Subtitle erasing configuration. It takes effect when the value of EraseType is set to subtitle, or when the value of EraseType is left unspecified but the original EraseType value of the modified template is subtitle.
15585
+ * @type {SmartEraseSubtitleConfig || null}
15586
+ */
15587
+ this.EraseSubtitleConfig = null;
15588
+
15589
+ /**
15590
+ * Watermark erasing configuration. The value of EraseType can be set to watermark or left unspecified. This parameter is valid only when the value of EraseType of the corresponding template is set to watermark.
15591
+ * @type {SmartEraseWatermarkConfig || null}
15592
+ */
15593
+ this.EraseWatermarkConfig = null;
15594
+
15595
+ /**
15596
+ * Privacy protection configuration. The value of EraseType can be set to privacy or left unspecified. This parameter is valid only when the value of EraseType of the corresponding template is set to privacy.
15597
+ * @type {SmartErasePrivacyConfig || null}
15598
+ */
15599
+ this.ErasePrivacyConfig = null;
15600
+
15601
+ }
15602
+
15603
+ /**
15604
+ * @private
15605
+ */
15606
+ deserialize(params) {
15607
+ if (!params) {
15608
+ return;
15609
+ }
15610
+ this.Definition = 'Definition' in params ? params.Definition : null;
15611
+ this.Name = 'Name' in params ? params.Name : null;
15612
+ this.Comment = 'Comment' in params ? params.Comment : null;
15613
+ this.EraseType = 'EraseType' in params ? params.EraseType : null;
15614
+
15615
+ if (params.EraseSubtitleConfig) {
15616
+ let obj = new SmartEraseSubtitleConfig();
15617
+ obj.deserialize(params.EraseSubtitleConfig)
15618
+ this.EraseSubtitleConfig = obj;
15619
+ }
15620
+
15621
+ if (params.EraseWatermarkConfig) {
15622
+ let obj = new SmartEraseWatermarkConfig();
15623
+ obj.deserialize(params.EraseWatermarkConfig)
15624
+ this.EraseWatermarkConfig = obj;
15625
+ }
15626
+
15627
+ if (params.ErasePrivacyConfig) {
15628
+ let obj = new SmartErasePrivacyConfig();
15629
+ obj.deserialize(params.ErasePrivacyConfig)
15630
+ this.ErasePrivacyConfig = obj;
15631
+ }
15632
+
15633
+ }
15634
+ }
15635
+
15381
15636
  /**
15382
15637
  * The AES-128 encryption details.
15383
15638
  * @class
@@ -16646,6 +16901,65 @@ class ModifyImageSpriteTemplateResponse extends AbstractModel {
16646
16901
  }
16647
16902
  }
16648
16903
 
16904
+ /**
16905
+ * Suspected segment identified during ASR-based text audit during content audit
16906
+ * @class
16907
+ */
16908
+ class MediaContentReviewAsrTextSegmentItem extends AbstractModel {
16909
+ constructor(){
16910
+ super();
16911
+
16912
+ /**
16913
+ * Start time offset of a suspected segment in seconds.
16914
+ * @type {number || null}
16915
+ */
16916
+ this.StartTimeOffset = null;
16917
+
16918
+ /**
16919
+ * End time offset of a suspected segment in seconds.
16920
+ * @type {number || null}
16921
+ */
16922
+ this.EndTimeOffset = null;
16923
+
16924
+ /**
16925
+ * Confidence of a suspected segment.
16926
+ * @type {number || null}
16927
+ */
16928
+ this.Confidence = null;
16929
+
16930
+ /**
16931
+ * Suggestion for suspected segment audit. Valid values:
16932
+ <li>pass.</li>
16933
+ <li>review.</li>
16934
+ <li>block.</li>
16935
+ * @type {string || null}
16936
+ */
16937
+ this.Suggestion = null;
16938
+
16939
+ /**
16940
+ * List of suspected keywords.
16941
+ * @type {Array.<string> || null}
16942
+ */
16943
+ this.KeywordSet = null;
16944
+
16945
+ }
16946
+
16947
+ /**
16948
+ * @private
16949
+ */
16950
+ deserialize(params) {
16951
+ if (!params) {
16952
+ return;
16953
+ }
16954
+ this.StartTimeOffset = 'StartTimeOffset' in params ? params.StartTimeOffset : null;
16955
+ this.EndTimeOffset = 'EndTimeOffset' in params ? params.EndTimeOffset : null;
16956
+ this.Confidence = 'Confidence' in params ? params.Confidence : null;
16957
+ this.Suggestion = 'Suggestion' in params ? params.Suggestion : null;
16958
+ this.KeywordSet = 'KeywordSet' in params ? params.KeywordSet : null;
16959
+
16960
+ }
16961
+ }
16962
+
16649
16963
  /**
16650
16964
  * CreateWatermarkTemplate request structure.
16651
16965
  * @class
@@ -19551,45 +19865,18 @@ class LiveStreamAiReviewVoicePornResult extends AbstractModel {
19551
19865
  }
19552
19866
 
19553
19867
  /**
19554
- * Suspected segment identified during ASR-based text audit during content audit
19868
+ * DeleteSmartEraseTemplate request structure.
19555
19869
  * @class
19556
19870
  */
19557
- class MediaContentReviewAsrTextSegmentItem extends AbstractModel {
19871
+ class DeleteSmartEraseTemplateRequest extends AbstractModel {
19558
19872
  constructor(){
19559
19873
  super();
19560
19874
 
19561
19875
  /**
19562
- * Start time offset of a suspected segment in seconds.
19563
- * @type {number || null}
19564
- */
19565
- this.StartTimeOffset = null;
19566
-
19567
- /**
19568
- * End time offset of a suspected segment in seconds.
19569
- * @type {number || null}
19570
- */
19571
- this.EndTimeOffset = null;
19572
-
19573
- /**
19574
- * Confidence of a suspected segment.
19876
+ * Unique identifier of the smart erasing template.
19575
19877
  * @type {number || null}
19576
19878
  */
19577
- this.Confidence = null;
19578
-
19579
- /**
19580
- * Suggestion for suspected segment audit. Valid values:
19581
- <li>pass.</li>
19582
- <li>review.</li>
19583
- <li>block.</li>
19584
- * @type {string || null}
19585
- */
19586
- this.Suggestion = null;
19587
-
19588
- /**
19589
- * List of suspected keywords.
19590
- * @type {Array.<string> || null}
19591
- */
19592
- this.KeywordSet = null;
19879
+ this.Definition = null;
19593
19880
 
19594
19881
  }
19595
19882
 
@@ -19600,11 +19887,7 @@ class MediaContentReviewAsrTextSegmentItem extends AbstractModel {
19600
19887
  if (!params) {
19601
19888
  return;
19602
19889
  }
19603
- this.StartTimeOffset = 'StartTimeOffset' in params ? params.StartTimeOffset : null;
19604
- this.EndTimeOffset = 'EndTimeOffset' in params ? params.EndTimeOffset : null;
19605
- this.Confidence = 'Confidence' in params ? params.Confidence : null;
19606
- this.Suggestion = 'Suggestion' in params ? params.Suggestion : null;
19607
- this.KeywordSet = 'KeywordSet' in params ? params.KeywordSet : null;
19890
+ this.Definition = 'Definition' in params ? params.Definition : null;
19608
19891
 
19609
19892
  }
19610
19893
  }
@@ -23949,6 +24232,41 @@ class CreateAIAnalysisTemplateResponse extends AbstractModel {
23949
24232
  }
23950
24233
  }
23951
24234
 
24235
+ /**
24236
+ * CreateSmartEraseTemplate response structure.
24237
+ * @class
24238
+ */
24239
+ class CreateSmartEraseTemplateResponse extends AbstractModel {
24240
+ constructor(){
24241
+ super();
24242
+
24243
+ /**
24244
+ * Unique identifier of the smart erasing template.
24245
+ * @type {number || null}
24246
+ */
24247
+ this.Definition = null;
24248
+
24249
+ /**
24250
+ * 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.
24251
+ * @type {string || null}
24252
+ */
24253
+ this.RequestId = null;
24254
+
24255
+ }
24256
+
24257
+ /**
24258
+ * @private
24259
+ */
24260
+ deserialize(params) {
24261
+ if (!params) {
24262
+ return;
24263
+ }
24264
+ this.Definition = 'Definition' in params ? params.Definition : null;
24265
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
24266
+
24267
+ }
24268
+ }
24269
+
23952
24270
  /**
23953
24271
  * Result type of a sampled screenshot task
23954
24272
  * @class
@@ -25129,6 +25447,43 @@ class PoliticalImgReviewTemplateInfo extends AbstractModel {
25129
25447
  }
25130
25448
  }
25131
25449
 
25450
+ /**
25451
+ * Task judgment conditions.
25452
+ * @class
25453
+ */
25454
+ class ExecRulesTask extends AbstractModel {
25455
+ constructor(){
25456
+ super();
25457
+
25458
+ /**
25459
+ * Conditional judgment information.
25460
+ Note: This field may return null, indicating that no valid value can be obtained.
25461
+ * @type {Array.<Rules> || null}
25462
+ */
25463
+ this.Rules = null;
25464
+
25465
+ }
25466
+
25467
+ /**
25468
+ * @private
25469
+ */
25470
+ deserialize(params) {
25471
+ if (!params) {
25472
+ return;
25473
+ }
25474
+
25475
+ if (params.Rules) {
25476
+ this.Rules = new Array();
25477
+ for (let z in params.Rules) {
25478
+ let obj = new Rules();
25479
+ obj.deserialize(params.Rules[z]);
25480
+ this.Rules.push(obj);
25481
+ }
25482
+ }
25483
+
25484
+ }
25485
+ }
25486
+
25132
25487
  /**
25133
25488
  * The parameters for detecting sensitive information.
25134
25489
  * @class
@@ -29730,94 +30085,30 @@ Note: This field may return null, indicating that no valid values can be obtaine
29730
30085
  }
29731
30086
 
29732
30087
  /**
29733
- * ModifyImageSpriteTemplate request structure.
30088
+ * DescribeSmartEraseTemplates response structure.
29734
30089
  * @class
29735
30090
  */
29736
- class ModifyImageSpriteTemplateRequest extends AbstractModel {
30091
+ class DescribeSmartEraseTemplatesResponse extends AbstractModel {
29737
30092
  constructor(){
29738
30093
  super();
29739
30094
 
29740
30095
  /**
29741
- * Unique ID of an image sprite generating template.
30096
+ * Total number of records that meet the filtering conditions.
29742
30097
  * @type {number || null}
29743
30098
  */
29744
- this.Definition = null;
29745
-
29746
- /**
29747
- * Name of an image sprite generating template. Length limit: 64 characters.
29748
- * @type {string || null}
29749
- */
29750
- this.Name = null;
29751
-
29752
- /**
29753
- * Subimage width of an image sprite in px. Value range: [128, 4,096].
29754
- * @type {number || null}
29755
- */
29756
- this.Width = null;
29757
-
29758
- /**
29759
- * Subimage height of an image sprite in px. Value range: [128, 4,096].
29760
- * @type {number || null}
29761
- */
29762
- this.Height = null;
29763
-
29764
- /**
29765
- * Resolution adaption. Valid values:
29766
- <li>open: enabled. In this case, `Width` represents the long side of a video, while `Height` the short side;</li>
29767
- <li>close: disabled. In this case, `Width` represents the width of a video, while `Height` the height.</li>
29768
- Default value: open.
29769
- * @type {string || null}
29770
- */
29771
- this.ResolutionAdaptive = null;
29772
-
29773
- /**
29774
- * Sampling type. Valid values:
29775
- <li>Percent: By percent.</li>
29776
- <li>Time: By time interval.</li>
29777
- * @type {string || null}
29778
- */
29779
- this.SampleType = null;
29780
-
29781
- /**
29782
- * Sampling interval.
29783
- <li>If `SampleType` is `Percent`, sampling will be performed at an interval of the specified percentage.</li>
29784
- <li>If `SampleType` is `Time`, sampling will be performed at the specified time interval in seconds.</li>
29785
- * @type {number || null}
29786
- */
29787
- this.SampleInterval = null;
29788
-
29789
- /**
29790
- * Subimage row count of an image sprite.
29791
- * @type {number || null}
29792
- */
29793
- this.RowCount = null;
29794
-
29795
- /**
29796
- * Subimage column count of an image sprite.
29797
- * @type {number || null}
29798
- */
29799
- this.ColumnCount = null;
29800
-
29801
- /**
29802
- * Fill type. "Fill" refers to the way of processing a screenshot when its aspect ratio is different from that of the source video. The following fill types are supported:
29803
- <li> stretch: stretch. The screenshot will be stretched frame by frame to match the aspect ratio of the source video, which may make the screenshot "shorter" or "longer";</li>
29804
- <li>black: fill with black. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with black color blocks.</li>
29805
- Default value: black.
29806
- * @type {string || null}
29807
- */
29808
- this.FillType = null;
30099
+ this.TotalCount = null;
29809
30100
 
29810
30101
  /**
29811
- * Template description. Length limit: 256 characters.
29812
- * @type {string || null}
30102
+ * List of smart erasing template details.
30103
+ * @type {Array.<SmartEraseTemplateItem> || null}
29813
30104
  */
29814
- this.Comment = null;
30105
+ this.SmartEraseTemplateSet = null;
29815
30106
 
29816
30107
  /**
29817
- * The image format. Valid values: jpg, png, webp.
30108
+ * 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.
29818
30109
  * @type {string || null}
29819
30110
  */
29820
- this.Format = null;
30111
+ this.RequestId = null;
29821
30112
 
29822
30113
  }
29823
30114
 
@@ -29828,18 +30119,17 @@ Default value: black.
29828
30119
  if (!params) {
29829
30120
  return;
29830
30121
  }
29831
- this.Definition = 'Definition' in params ? params.Definition : null;
29832
- this.Name = 'Name' in params ? params.Name : null;
29833
- this.Width = 'Width' in params ? params.Width : null;
29834
- this.Height = 'Height' in params ? params.Height : null;
29835
- this.ResolutionAdaptive = 'ResolutionAdaptive' in params ? params.ResolutionAdaptive : null;
29836
- this.SampleType = 'SampleType' in params ? params.SampleType : null;
29837
- this.SampleInterval = 'SampleInterval' in params ? params.SampleInterval : null;
29838
- this.RowCount = 'RowCount' in params ? params.RowCount : null;
29839
- this.ColumnCount = 'ColumnCount' in params ? params.ColumnCount : null;
29840
- this.FillType = 'FillType' in params ? params.FillType : null;
29841
- this.Comment = 'Comment' in params ? params.Comment : null;
29842
- this.Format = 'Format' in params ? params.Format : null;
30122
+ this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
30123
+
30124
+ if (params.SmartEraseTemplateSet) {
30125
+ this.SmartEraseTemplateSet = new Array();
30126
+ for (let z in params.SmartEraseTemplateSet) {
30127
+ let obj = new SmartEraseTemplateItem();
30128
+ obj.deserialize(params.SmartEraseTemplateSet[z]);
30129
+ this.SmartEraseTemplateSet.push(obj);
30130
+ }
30131
+ }
30132
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
29843
30133
 
29844
30134
  }
29845
30135
  }
@@ -33057,19 +33347,18 @@ Note: This field may return null, indicating that no valid value can be obtained
33057
33347
  }
33058
33348
 
33059
33349
  /**
33060
- * Task judgment conditions.
33350
+ * DeleteSmartEraseTemplate response structure.
33061
33351
  * @class
33062
33352
  */
33063
- class ExecRulesTask extends AbstractModel {
33353
+ class DeleteSmartEraseTemplateResponse extends AbstractModel {
33064
33354
  constructor(){
33065
33355
  super();
33066
33356
 
33067
33357
  /**
33068
- * Conditional judgment information.
33069
- Note: This field may return null, indicating that no valid value can be obtained.
33070
- * @type {Array.<Rules> || null}
33358
+ * 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.
33359
+ * @type {string || null}
33071
33360
  */
33072
- this.Rules = null;
33361
+ this.RequestId = null;
33073
33362
 
33074
33363
  }
33075
33364
 
@@ -33080,15 +33369,7 @@ Note: This field may return null, indicating that no valid value can be obtained
33080
33369
  if (!params) {
33081
33370
  return;
33082
33371
  }
33083
-
33084
- if (params.Rules) {
33085
- this.Rules = new Array();
33086
- for (let z in params.Rules) {
33087
- let obj = new Rules();
33088
- obj.deserialize(params.Rules[z]);
33089
- this.Rules.push(obj);
33090
- }
33091
- }
33372
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
33092
33373
 
33093
33374
  }
33094
33375
  }
@@ -35725,6 +36006,127 @@ Note: This field may return null, indicating that no valid values can be obtaine
35725
36006
  }
35726
36007
  }
35727
36008
 
36009
+ /**
36010
+ * Smart erasing template details.
36011
+ * @class
36012
+ */
36013
+ class SmartEraseTemplateItem extends AbstractModel {
36014
+ constructor(){
36015
+ super();
36016
+
36017
+ /**
36018
+ * Unique identifier of the smart erasing template.
36019
+ * @type {number || null}
36020
+ */
36021
+ this.Definition = null;
36022
+
36023
+ /**
36024
+ * Smart erasing template name.
36025
+ * @type {string || null}
36026
+ */
36027
+ this.Name = null;
36028
+
36029
+ /**
36030
+ * Smart erasing template description information.
36031
+ * @type {string || null}
36032
+ */
36033
+ this.Comment = null;
36034
+
36035
+ /**
36036
+ * Template type. Valid values:
36037
+ * Preset: system preset template.
36038
+ * Custom: user-defined template.
36039
+ * @type {string || null}
36040
+ */
36041
+ this.Type = null;
36042
+
36043
+ /**
36044
+ * Erasing type.
36045
+ -subtitle: subtitle removal.
36046
+ -watermark: watermark removal.
36047
+ -privacy: privacy protection.
36048
+ * @type {string || null}
36049
+ */
36050
+ this.EraseType = null;
36051
+
36052
+ /**
36053
+ * Subtitle erasing configuration.
36054
+ Note: This field may return null, indicating that no valid values can be obtained.
36055
+ * @type {SmartEraseSubtitleConfig || null}
36056
+ */
36057
+ this.EraseSubtitleConfig = null;
36058
+
36059
+ /**
36060
+ * Watermark erasing configuration.
36061
+ Note: This field may return null, indicating that no valid values can be obtained.
36062
+ * @type {SmartEraseWatermarkConfig || null}
36063
+ */
36064
+ this.EraseWatermarkConfig = null;
36065
+
36066
+ /**
36067
+ * Privacy protection configuration.
36068
+ Note: This field may return null, indicating that no valid values can be obtained.
36069
+ * @type {SmartErasePrivacyConfig || null}
36070
+ */
36071
+ this.ErasePrivacyConfig = null;
36072
+
36073
+ /**
36074
+ * Template creation time in [ISO datetime format](https://www.tencentcloud.comom/document/product/862/37710?from_cn_redirect=1#52).
36075
+ * @type {string || null}
36076
+ */
36077
+ this.CreateTime = null;
36078
+
36079
+ /**
36080
+ * Last modification time of the template in [ISO datetime format](https://www.tencentcloud.comom/document/product/862/37710?from_cn_redirect=1#52).
36081
+ * @type {string || null}
36082
+ */
36083
+ this.UpdateTime = null;
36084
+
36085
+ /**
36086
+ * Alias of the preset smart erasing template.
36087
+ * @type {string || null}
36088
+ */
36089
+ this.AliasName = null;
36090
+
36091
+ }
36092
+
36093
+ /**
36094
+ * @private
36095
+ */
36096
+ deserialize(params) {
36097
+ if (!params) {
36098
+ return;
36099
+ }
36100
+ this.Definition = 'Definition' in params ? params.Definition : null;
36101
+ this.Name = 'Name' in params ? params.Name : null;
36102
+ this.Comment = 'Comment' in params ? params.Comment : null;
36103
+ this.Type = 'Type' in params ? params.Type : null;
36104
+ this.EraseType = 'EraseType' in params ? params.EraseType : null;
36105
+
36106
+ if (params.EraseSubtitleConfig) {
36107
+ let obj = new SmartEraseSubtitleConfig();
36108
+ obj.deserialize(params.EraseSubtitleConfig)
36109
+ this.EraseSubtitleConfig = obj;
36110
+ }
36111
+
36112
+ if (params.EraseWatermarkConfig) {
36113
+ let obj = new SmartEraseWatermarkConfig();
36114
+ obj.deserialize(params.EraseWatermarkConfig)
36115
+ this.EraseWatermarkConfig = obj;
36116
+ }
36117
+
36118
+ if (params.ErasePrivacyConfig) {
36119
+ let obj = new SmartErasePrivacyConfig();
36120
+ obj.deserialize(params.ErasePrivacyConfig)
36121
+ this.ErasePrivacyConfig = obj;
36122
+ }
36123
+ this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
36124
+ this.UpdateTime = 'UpdateTime' in params ? params.UpdateTime : null;
36125
+ this.AliasName = 'AliasName' in params ? params.AliasName : null;
36126
+
36127
+ }
36128
+ }
36129
+
35728
36130
  /**
35729
36131
  * DeleteWatermarkTemplate response structure.
35730
36132
  * @class
@@ -35753,6 +36155,121 @@ class DeleteWatermarkTemplateResponse extends AbstractModel {
35753
36155
  }
35754
36156
  }
35755
36157
 
36158
+ /**
36159
+ * ModifyImageSpriteTemplate request structure.
36160
+ * @class
36161
+ */
36162
+ class ModifyImageSpriteTemplateRequest extends AbstractModel {
36163
+ constructor(){
36164
+ super();
36165
+
36166
+ /**
36167
+ * Unique ID of an image sprite generating template.
36168
+ * @type {number || null}
36169
+ */
36170
+ this.Definition = null;
36171
+
36172
+ /**
36173
+ * Name of an image sprite generating template. Length limit: 64 characters.
36174
+ * @type {string || null}
36175
+ */
36176
+ this.Name = null;
36177
+
36178
+ /**
36179
+ * Subimage width of an image sprite in px. Value range: [128, 4,096].
36180
+ * @type {number || null}
36181
+ */
36182
+ this.Width = null;
36183
+
36184
+ /**
36185
+ * Subimage height of an image sprite in px. Value range: [128, 4,096].
36186
+ * @type {number || null}
36187
+ */
36188
+ this.Height = null;
36189
+
36190
+ /**
36191
+ * Resolution adaption. Valid values:
36192
+ <li>open: enabled. In this case, `Width` represents the long side of a video, while `Height` the short side;</li>
36193
+ <li>close: disabled. In this case, `Width` represents the width of a video, while `Height` the height.</li>
36194
+ Default value: open.
36195
+ * @type {string || null}
36196
+ */
36197
+ this.ResolutionAdaptive = null;
36198
+
36199
+ /**
36200
+ * Sampling type. Valid values:
36201
+ <li>Percent: By percent.</li>
36202
+ <li>Time: By time interval.</li>
36203
+ * @type {string || null}
36204
+ */
36205
+ this.SampleType = null;
36206
+
36207
+ /**
36208
+ * Sampling interval.
36209
+ <li>If `SampleType` is `Percent`, sampling will be performed at an interval of the specified percentage.</li>
36210
+ <li>If `SampleType` is `Time`, sampling will be performed at the specified time interval in seconds.</li>
36211
+ * @type {number || null}
36212
+ */
36213
+ this.SampleInterval = null;
36214
+
36215
+ /**
36216
+ * Subimage row count of an image sprite.
36217
+ * @type {number || null}
36218
+ */
36219
+ this.RowCount = null;
36220
+
36221
+ /**
36222
+ * Subimage column count of an image sprite.
36223
+ * @type {number || null}
36224
+ */
36225
+ this.ColumnCount = null;
36226
+
36227
+ /**
36228
+ * Fill type. "Fill" refers to the way of processing a screenshot when its aspect ratio is different from that of the source video. The following fill types are supported:
36229
+ <li> stretch: stretch. The screenshot will be stretched frame by frame to match the aspect ratio of the source video, which may make the screenshot "shorter" or "longer";</li>
36230
+ <li>black: fill with black. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with black color blocks.</li>
36231
+ Default value: black.
36232
+ * @type {string || null}
36233
+ */
36234
+ this.FillType = null;
36235
+
36236
+ /**
36237
+ * Template description. Length limit: 256 characters.
36238
+ * @type {string || null}
36239
+ */
36240
+ this.Comment = null;
36241
+
36242
+ /**
36243
+ * The image format. Valid values: jpg, png, webp.
36244
+ * @type {string || null}
36245
+ */
36246
+ this.Format = null;
36247
+
36248
+ }
36249
+
36250
+ /**
36251
+ * @private
36252
+ */
36253
+ deserialize(params) {
36254
+ if (!params) {
36255
+ return;
36256
+ }
36257
+ this.Definition = 'Definition' in params ? params.Definition : null;
36258
+ this.Name = 'Name' in params ? params.Name : null;
36259
+ this.Width = 'Width' in params ? params.Width : null;
36260
+ this.Height = 'Height' in params ? params.Height : null;
36261
+ this.ResolutionAdaptive = 'ResolutionAdaptive' in params ? params.ResolutionAdaptive : null;
36262
+ this.SampleType = 'SampleType' in params ? params.SampleType : null;
36263
+ this.SampleInterval = 'SampleInterval' in params ? params.SampleInterval : null;
36264
+ this.RowCount = 'RowCount' in params ? params.RowCount : null;
36265
+ this.ColumnCount = 'ColumnCount' in params ? params.ColumnCount : null;
36266
+ this.FillType = 'FillType' in params ? params.FillType : null;
36267
+ this.Comment = 'Comment' in params ? params.Comment : null;
36268
+ this.Format = 'Format' in params ? params.Format : null;
36269
+
36270
+ }
36271
+ }
36272
+
35756
36273
  /**
35757
36274
  * Low-light enhancement configuration.
35758
36275
  * @class
@@ -36226,6 +36743,7 @@ module.exports = {
36226
36743
  ModifySampleSnapshotTemplateRequest: ModifySampleSnapshotTemplateRequest,
36227
36744
  AiReviewPoliticalOcrTaskInput: AiReviewPoliticalOcrTaskInput,
36228
36745
  SmartSubtitleTaskTransTextResult: SmartSubtitleTaskTransTextResult,
36746
+ CreateSmartEraseTemplateRequest: CreateSmartEraseTemplateRequest,
36229
36747
  EnhanceConfig: EnhanceConfig,
36230
36748
  MediaInputInfo: MediaInputInfo,
36231
36749
  CreateWorkflowRequest: CreateWorkflowRequest,
@@ -36242,6 +36760,7 @@ module.exports = {
36242
36760
  MediaSnapshotByTimePicInfoItem: MediaSnapshotByTimePicInfoItem,
36243
36761
  UserDefineFaceReviewTemplateInfo: UserDefineFaceReviewTemplateInfo,
36244
36762
  ContentReviewTemplateItem: ContentReviewTemplateItem,
36763
+ ModifySmartEraseTemplateResponse: ModifySmartEraseTemplateResponse,
36245
36764
  DeleteAIRecognitionTemplateResponse: DeleteAIRecognitionTemplateResponse,
36246
36765
  VideoEnhanceConfig: VideoEnhanceConfig,
36247
36766
  DeleteContentReviewTemplateRequest: DeleteContentReviewTemplateRequest,
@@ -36335,6 +36854,7 @@ module.exports = {
36335
36854
  ImageEraseConfig: ImageEraseConfig,
36336
36855
  CreateWordSamplesRequest: CreateWordSamplesRequest,
36337
36856
  SmartEraseWatermarkConfig: SmartEraseWatermarkConfig,
36857
+ DescribeSmartEraseTemplatesRequest: DescribeSmartEraseTemplatesRequest,
36338
36858
  PoliticalAsrReviewTemplateInfoForUpdate: PoliticalAsrReviewTemplateInfoForUpdate,
36339
36859
  AiSampleFaceOperation: AiSampleFaceOperation,
36340
36860
  SvgWatermarkInputForUpdate: SvgWatermarkInputForUpdate,
@@ -36445,6 +36965,7 @@ module.exports = {
36445
36965
  AiSamplePerson: AiSamplePerson,
36446
36966
  SmartSubtitleTaskAsrFullTextResult: SmartSubtitleTaskAsrFullTextResult,
36447
36967
  BatchSmartSubtitlesResult: BatchSmartSubtitlesResult,
36968
+ ModifySmartEraseTemplateRequest: ModifySmartEraseTemplateRequest,
36448
36969
  SimpleAesDrm: SimpleAesDrm,
36449
36970
  DescribeWorkflowsResponse: DescribeWorkflowsResponse,
36450
36971
  AsrWordsConfigureInfoForUpdate: AsrWordsConfigureInfoForUpdate,
@@ -36461,6 +36982,7 @@ module.exports = {
36461
36982
  ModifyAsrHotwordsResponse: ModifyAsrHotwordsResponse,
36462
36983
  UserDefineAsrTextReviewTemplateInfoForUpdate: UserDefineAsrTextReviewTemplateInfoForUpdate,
36463
36984
  ModifyImageSpriteTemplateResponse: ModifyImageSpriteTemplateResponse,
36985
+ MediaContentReviewAsrTextSegmentItem: MediaContentReviewAsrTextSegmentItem,
36464
36986
  CreateWatermarkTemplateRequest: CreateWatermarkTemplateRequest,
36465
36987
  ScheduleAnalysisTaskResult: ScheduleAnalysisTaskResult,
36466
36988
  ComposeMediaItem: ComposeMediaItem,
@@ -36506,7 +37028,7 @@ module.exports = {
36506
37028
  AiRecognitionTaskObjectResultInput: AiRecognitionTaskObjectResultInput,
36507
37029
  AiReviewTaskTerrorismResult: AiReviewTaskTerrorismResult,
36508
37030
  LiveStreamAiReviewVoicePornResult: LiveStreamAiReviewVoicePornResult,
36509
- MediaContentReviewAsrTextSegmentItem: MediaContentReviewAsrTextSegmentItem,
37031
+ DeleteSmartEraseTemplateRequest: DeleteSmartEraseTemplateRequest,
36510
37032
  MediaContentReviewPoliticalSegmentItem: MediaContentReviewPoliticalSegmentItem,
36511
37033
  DeletePersonSampleResponse: DeletePersonSampleResponse,
36512
37034
  CreateSnapshotByTimeOffsetTemplateResponse: CreateSnapshotByTimeOffsetTemplateResponse,
@@ -36577,6 +37099,7 @@ module.exports = {
36577
37099
  ResetWorkflowResponse: ResetWorkflowResponse,
36578
37100
  HLSConfigureInfo: HLSConfigureInfo,
36579
37101
  CreateAIAnalysisTemplateResponse: CreateAIAnalysisTemplateResponse,
37102
+ CreateSmartEraseTemplateResponse: CreateSmartEraseTemplateResponse,
36580
37103
  MediaProcessTaskSampleSnapshotResult: MediaProcessTaskSampleSnapshotResult,
36581
37104
  ModifySmartSubtitleTemplateResponse: ModifySmartSubtitleTemplateResponse,
36582
37105
  UserDefineConfigureInfoForUpdate: UserDefineConfigureInfoForUpdate,
@@ -36597,6 +37120,7 @@ module.exports = {
36597
37120
  AiRecognitionTaskAsrFullTextResult: AiRecognitionTaskAsrFullTextResult,
36598
37121
  ModifyAIRecognitionTemplateResponse: ModifyAIRecognitionTemplateResponse,
36599
37122
  PoliticalImgReviewTemplateInfo: PoliticalImgReviewTemplateInfo,
37123
+ ExecRulesTask: ExecRulesTask,
36600
37124
  PoliticalConfigureInfo: PoliticalConfigureInfo,
36601
37125
  ModifyAnimatedGraphicsTemplateRequest: ModifyAnimatedGraphicsTemplateRequest,
36602
37126
  MediaSampleSnapshotItem: MediaSampleSnapshotItem,
@@ -36670,7 +37194,7 @@ module.exports = {
36670
37194
  LiveStreamAiReviewImageTerrorismResult: LiveStreamAiReviewImageTerrorismResult,
36671
37195
  ProcessLiveStreamRequest: ProcessLiveStreamRequest,
36672
37196
  AiAnalysisTaskHorizontalToVerticalOutput: AiAnalysisTaskHorizontalToVerticalOutput,
36673
- ModifyImageSpriteTemplateRequest: ModifyImageSpriteTemplateRequest,
37197
+ DescribeSmartEraseTemplatesResponse: DescribeSmartEraseTemplatesResponse,
36674
37198
  AiReviewProhibitedOcrTaskInput: AiReviewProhibitedOcrTaskInput,
36675
37199
  DeleteWatermarkTemplateRequest: DeleteWatermarkTemplateRequest,
36676
37200
  ComposeSubtitleItem: ComposeSubtitleItem,
@@ -36722,7 +37246,7 @@ module.exports = {
36722
37246
  AiAnalysisTaskHeadTailResult: AiAnalysisTaskHeadTailResult,
36723
37247
  CreateSampleSnapshotTemplateRequest: CreateSampleSnapshotTemplateRequest,
36724
37248
  WorkflowTask: WorkflowTask,
36725
- ExecRulesTask: ExecRulesTask,
37249
+ DeleteSmartEraseTemplateResponse: DeleteSmartEraseTemplateResponse,
36726
37250
  AiReviewTaskPornAsrResult: AiReviewTaskPornAsrResult,
36727
37251
  EditMediaFileInfo: EditMediaFileInfo,
36728
37252
  ComposeAudioStream: ComposeAudioStream,
@@ -36765,7 +37289,9 @@ module.exports = {
36765
37289
  AiRecognitionTaskTransTextResult: AiRecognitionTaskTransTextResult,
36766
37290
  EditMediaTaskOutput: EditMediaTaskOutput,
36767
37291
  HighlightSegmentItem: HighlightSegmentItem,
37292
+ SmartEraseTemplateItem: SmartEraseTemplateItem,
36768
37293
  DeleteWatermarkTemplateResponse: DeleteWatermarkTemplateResponse,
37294
+ ModifyImageSpriteTemplateRequest: ModifyImageSpriteTemplateRequest,
36769
37295
  LowLightEnhanceConfig: LowLightEnhanceConfig,
36770
37296
  DescribeMediaMetaDataRequest: DescribeMediaMetaDataRequest,
36771
37297
  FrameTagConfigureInfoForUpdate: FrameTagConfigureInfoForUpdate,
@@ -52,6 +52,7 @@ const NumberFormat = models.NumberFormat;
52
52
  const ModifySampleSnapshotTemplateRequest = models.ModifySampleSnapshotTemplateRequest;
53
53
  const AiReviewPoliticalOcrTaskInput = models.AiReviewPoliticalOcrTaskInput;
54
54
  const SmartSubtitleTaskTransTextResult = models.SmartSubtitleTaskTransTextResult;
55
+ const CreateSmartEraseTemplateRequest = models.CreateSmartEraseTemplateRequest;
55
56
  const EnhanceConfig = models.EnhanceConfig;
56
57
  const MediaInputInfo = models.MediaInputInfo;
57
58
  const CreateWorkflowRequest = models.CreateWorkflowRequest;
@@ -68,6 +69,7 @@ const CreateImageSpriteTemplateRequest = models.CreateImageSpriteTemplateRequest
68
69
  const MediaSnapshotByTimePicInfoItem = models.MediaSnapshotByTimePicInfoItem;
69
70
  const UserDefineFaceReviewTemplateInfo = models.UserDefineFaceReviewTemplateInfo;
70
71
  const ContentReviewTemplateItem = models.ContentReviewTemplateItem;
72
+ const ModifySmartEraseTemplateResponse = models.ModifySmartEraseTemplateResponse;
71
73
  const DeleteAIRecognitionTemplateResponse = models.DeleteAIRecognitionTemplateResponse;
72
74
  const VideoEnhanceConfig = models.VideoEnhanceConfig;
73
75
  const DeleteContentReviewTemplateRequest = models.DeleteContentReviewTemplateRequest;
@@ -161,6 +163,7 @@ const ParseNotificationRequest = models.ParseNotificationRequest;
161
163
  const ImageEraseConfig = models.ImageEraseConfig;
162
164
  const CreateWordSamplesRequest = models.CreateWordSamplesRequest;
163
165
  const SmartEraseWatermarkConfig = models.SmartEraseWatermarkConfig;
166
+ const DescribeSmartEraseTemplatesRequest = models.DescribeSmartEraseTemplatesRequest;
164
167
  const PoliticalAsrReviewTemplateInfoForUpdate = models.PoliticalAsrReviewTemplateInfoForUpdate;
165
168
  const AiSampleFaceOperation = models.AiSampleFaceOperation;
166
169
  const SvgWatermarkInputForUpdate = models.SvgWatermarkInputForUpdate;
@@ -271,6 +274,7 @@ const LiveStreamAsrWordsRecognitionResult = models.LiveStreamAsrWordsRecognition
271
274
  const AiSamplePerson = models.AiSamplePerson;
272
275
  const SmartSubtitleTaskAsrFullTextResult = models.SmartSubtitleTaskAsrFullTextResult;
273
276
  const BatchSmartSubtitlesResult = models.BatchSmartSubtitlesResult;
277
+ const ModifySmartEraseTemplateRequest = models.ModifySmartEraseTemplateRequest;
274
278
  const SimpleAesDrm = models.SimpleAesDrm;
275
279
  const DescribeWorkflowsResponse = models.DescribeWorkflowsResponse;
276
280
  const AsrWordsConfigureInfoForUpdate = models.AsrWordsConfigureInfoForUpdate;
@@ -287,6 +291,7 @@ const ActivityPara = models.ActivityPara;
287
291
  const ModifyAsrHotwordsResponse = models.ModifyAsrHotwordsResponse;
288
292
  const UserDefineAsrTextReviewTemplateInfoForUpdate = models.UserDefineAsrTextReviewTemplateInfoForUpdate;
289
293
  const ModifyImageSpriteTemplateResponse = models.ModifyImageSpriteTemplateResponse;
294
+ const MediaContentReviewAsrTextSegmentItem = models.MediaContentReviewAsrTextSegmentItem;
290
295
  const CreateWatermarkTemplateRequest = models.CreateWatermarkTemplateRequest;
291
296
  const ScheduleAnalysisTaskResult = models.ScheduleAnalysisTaskResult;
292
297
  const ComposeMediaItem = models.ComposeMediaItem;
@@ -332,7 +337,7 @@ const ResetWorkflowRequest = models.ResetWorkflowRequest;
332
337
  const AiRecognitionTaskObjectResultInput = models.AiRecognitionTaskObjectResultInput;
333
338
  const AiReviewTaskTerrorismResult = models.AiReviewTaskTerrorismResult;
334
339
  const LiveStreamAiReviewVoicePornResult = models.LiveStreamAiReviewVoicePornResult;
335
- const MediaContentReviewAsrTextSegmentItem = models.MediaContentReviewAsrTextSegmentItem;
340
+ const DeleteSmartEraseTemplateRequest = models.DeleteSmartEraseTemplateRequest;
336
341
  const MediaContentReviewPoliticalSegmentItem = models.MediaContentReviewPoliticalSegmentItem;
337
342
  const DeletePersonSampleResponse = models.DeletePersonSampleResponse;
338
343
  const CreateSnapshotByTimeOffsetTemplateResponse = models.CreateSnapshotByTimeOffsetTemplateResponse;
@@ -403,6 +408,7 @@ const DescribeAsrHotwordsResponse = models.DescribeAsrHotwordsResponse;
403
408
  const ResetWorkflowResponse = models.ResetWorkflowResponse;
404
409
  const HLSConfigureInfo = models.HLSConfigureInfo;
405
410
  const CreateAIAnalysisTemplateResponse = models.CreateAIAnalysisTemplateResponse;
411
+ const CreateSmartEraseTemplateResponse = models.CreateSmartEraseTemplateResponse;
406
412
  const MediaProcessTaskSampleSnapshotResult = models.MediaProcessTaskSampleSnapshotResult;
407
413
  const ModifySmartSubtitleTemplateResponse = models.ModifySmartSubtitleTemplateResponse;
408
414
  const UserDefineConfigureInfoForUpdate = models.UserDefineConfigureInfoForUpdate;
@@ -423,6 +429,7 @@ const CreateWorkflowResponse = models.CreateWorkflowResponse;
423
429
  const AiRecognitionTaskAsrFullTextResult = models.AiRecognitionTaskAsrFullTextResult;
424
430
  const ModifyAIRecognitionTemplateResponse = models.ModifyAIRecognitionTemplateResponse;
425
431
  const PoliticalImgReviewTemplateInfo = models.PoliticalImgReviewTemplateInfo;
432
+ const ExecRulesTask = models.ExecRulesTask;
426
433
  const PoliticalConfigureInfo = models.PoliticalConfigureInfo;
427
434
  const ModifyAnimatedGraphicsTemplateRequest = models.ModifyAnimatedGraphicsTemplateRequest;
428
435
  const MediaSampleSnapshotItem = models.MediaSampleSnapshotItem;
@@ -496,7 +503,7 @@ const MediaAudioStreamItem = models.MediaAudioStreamItem;
496
503
  const LiveStreamAiReviewImageTerrorismResult = models.LiveStreamAiReviewImageTerrorismResult;
497
504
  const ProcessLiveStreamRequest = models.ProcessLiveStreamRequest;
498
505
  const AiAnalysisTaskHorizontalToVerticalOutput = models.AiAnalysisTaskHorizontalToVerticalOutput;
499
- const ModifyImageSpriteTemplateRequest = models.ModifyImageSpriteTemplateRequest;
506
+ const DescribeSmartEraseTemplatesResponse = models.DescribeSmartEraseTemplatesResponse;
500
507
  const AiReviewProhibitedOcrTaskInput = models.AiReviewProhibitedOcrTaskInput;
501
508
  const DeleteWatermarkTemplateRequest = models.DeleteWatermarkTemplateRequest;
502
509
  const ComposeSubtitleItem = models.ComposeSubtitleItem;
@@ -548,7 +555,7 @@ const AiRecognitionTaskAsrWordsResult = models.AiRecognitionTaskAsrWordsResult;
548
555
  const AiAnalysisTaskHeadTailResult = models.AiAnalysisTaskHeadTailResult;
549
556
  const CreateSampleSnapshotTemplateRequest = models.CreateSampleSnapshotTemplateRequest;
550
557
  const WorkflowTask = models.WorkflowTask;
551
- const ExecRulesTask = models.ExecRulesTask;
558
+ const DeleteSmartEraseTemplateResponse = models.DeleteSmartEraseTemplateResponse;
552
559
  const AiReviewTaskPornAsrResult = models.AiReviewTaskPornAsrResult;
553
560
  const EditMediaFileInfo = models.EditMediaFileInfo;
554
561
  const ComposeAudioStream = models.ComposeAudioStream;
@@ -591,7 +598,9 @@ const LiveStreamAiAnalysisResultItem = models.LiveStreamAiAnalysisResultItem;
591
598
  const AiRecognitionTaskTransTextResult = models.AiRecognitionTaskTransTextResult;
592
599
  const EditMediaTaskOutput = models.EditMediaTaskOutput;
593
600
  const HighlightSegmentItem = models.HighlightSegmentItem;
601
+ const SmartEraseTemplateItem = models.SmartEraseTemplateItem;
594
602
  const DeleteWatermarkTemplateResponse = models.DeleteWatermarkTemplateResponse;
603
+ const ModifyImageSpriteTemplateRequest = models.ModifyImageSpriteTemplateRequest;
595
604
  const LowLightEnhanceConfig = models.LowLightEnhanceConfig;
596
605
  const DescribeMediaMetaDataRequest = models.DescribeMediaMetaDataRequest;
597
606
  const FrameTagConfigureInfoForUpdate = models.FrameTagConfigureInfoForUpdate;
@@ -1121,6 +1130,28 @@ Note: templates with an ID below 10000 are preset and cannot be deleted.
1121
1130
  this.request("ProcessImage", req, resp, cb);
1122
1131
  }
1123
1132
 
1133
+ /**
1134
+ * This API is used to obtain the list of smart erasing template details based on the unique identifier of the template. The returned result includes all matching user-defined smart erasing templates and system preset smart erasing templates.
1135
+ * @param {DescribeSmartEraseTemplatesRequest} req
1136
+ * @param {function(string, DescribeSmartEraseTemplatesResponse):void} cb
1137
+ * @public
1138
+ */
1139
+ DescribeSmartEraseTemplates(req, cb) {
1140
+ let resp = new DescribeSmartEraseTemplatesResponse();
1141
+ this.request("DescribeSmartEraseTemplates", req, resp, cb);
1142
+ }
1143
+
1144
+ /**
1145
+ * This API is used to modify a user-defined smart erasing template.
1146
+ * @param {ModifySmartEraseTemplateRequest} req
1147
+ * @param {function(string, ModifySmartEraseTemplateResponse):void} cb
1148
+ * @public
1149
+ */
1150
+ ModifySmartEraseTemplate(req, cb) {
1151
+ let resp = new ModifySmartEraseTemplateResponse();
1152
+ this.request("ModifySmartEraseTemplate", req, resp, cb);
1153
+ }
1154
+
1124
1155
  /**
1125
1156
  * This API is used to create a custom smart subtitle template.
1126
1157
  * @param {CreateSmartSubtitleTemplateRequest} req
@@ -1641,6 +1672,17 @@ HTTP callbacks are supported for live stream processing events. Notifications ca
1641
1672
  this.request("DisableSchedule", req, resp, cb);
1642
1673
  }
1643
1674
 
1675
+ /**
1676
+ * This API is used to create a custom smart erasing template.
1677
+ * @param {CreateSmartEraseTemplateRequest} req
1678
+ * @param {function(string, CreateSmartEraseTemplateResponse):void} cb
1679
+ * @public
1680
+ */
1681
+ CreateSmartEraseTemplate(req, cb) {
1682
+ let resp = new CreateSmartEraseTemplateResponse();
1683
+ this.request("CreateSmartEraseTemplate", req, resp, cb);
1684
+ }
1685
+
1644
1686
  /**
1645
1687
  * This API is used to modify a custom content moderation template.
1646
1688
  * @param {ModifyContentReviewTemplateRequest} req
@@ -1674,6 +1716,17 @@ HTTP callbacks are supported for live stream processing events. Notifications ca
1674
1716
  this.request("ModifyAIRecognitionTemplate", req, resp, cb);
1675
1717
  }
1676
1718
 
1719
+ /**
1720
+ * This API is used to delete a user-defined smart erasing template.
1721
+ * @param {DeleteSmartEraseTemplateRequest} req
1722
+ * @param {function(string, DeleteSmartEraseTemplateResponse):void} cb
1723
+ * @public
1724
+ */
1725
+ DeleteSmartEraseTemplate(req, cb) {
1726
+ let resp = new DeleteSmartEraseTemplateResponse();
1727
+ this.request("DeleteSmartEraseTemplate", req, resp, cb);
1728
+ }
1729
+
1677
1730
  /**
1678
1731
  * This API is used to modify an adaptive bitrate streaming template.
1679
1732
  * @param {ModifyAdaptiveDynamicStreamingTemplateRequest} req
@@ -1,3 +1,3 @@
1
1
  module.exports = {
2
- v20181225: require("./v20181225"), v20210331: require("./v20210331"),
2
+ v20210331: require("./v20210331"), v20181225: require("./v20181225"),
3
3
  };
@@ -1,3 +1,3 @@
1
1
  module.exports = {
2
- v20190711: require("./v20190711"), v20210111: require("./v20210111"),
2
+ v20210111: require("./v20210111"), v20190711: require("./v20190711"),
3
3
  };
@@ -1,3 +1,3 @@
1
1
  module.exports = {
2
- v20210701: require("./v20210701"), v20201221: require("./v20201221"),
2
+ v20201221: require("./v20201221"), v20210701: require("./v20210701"),
3
3
  };
@@ -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
- v20240718: require("./v20240718"), v20180717: require("./v20180717"),
2
+ v20180717: require("./v20180717"), v20240718: require("./v20240718"),
3
3
  };