tencentcloud-sdk-nodejs-intl-en 3.0.1242 → 3.0.1244

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.
@@ -156,6 +156,7 @@ const Context = models.Context;
156
156
  const ListDocRequest = models.ListDocRequest;
157
157
  const QAQuery = models.QAQuery;
158
158
  const GroupQARequest = models.GroupQARequest;
159
+ const UpdatePeriodInfo = models.UpdatePeriodInfo;
159
160
  const DescribeCallStatsGraphRequest = models.DescribeCallStatsGraphRequest;
160
161
  const GetMsgRecordResponse = models.GetMsgRecordResponse;
161
162
  const DescribeAppRequest = models.DescribeAppRequest;
@@ -236,6 +237,7 @@ const ExportAttributeLabelRequest = models.ExportAttributeLabelRequest;
236
237
  const DescribeTokenUsageRequest = models.DescribeTokenUsageRequest;
237
238
  const GetAppKnowledgeCountResponse = models.GetAppKnowledgeCountResponse;
238
239
  const CreateAttributeLabelResponse = models.CreateAttributeLabelResponse;
240
+ const DuplicateFileHandle = models.DuplicateFileHandle;
239
241
  const ListAppKnowledgeDetailRequest = models.ListAppKnowledgeDetailRequest;
240
242
  const CreateQAResponse = models.CreateQAResponse;
241
243
  const ListQACateRequest = models.ListQACateRequest;
@@ -1049,9 +1051,9 @@ During the trial period, the QPS limit for a single account is only 1. If you ne
1049
1051
  /**
1050
1052
  * This API is used to save a knowledge base document Q&As.
1051
1053
  Three steps to store a file in the knowledge library of the application:
1052
- 1. Obtain a temporary key. For more information, see [API Documentation](https://cloud.tencent.com/document/product/1759/105050). Different parameter combinations of the temporary key have different permissions. For more information, see [Tencent Cloud Agent Development Platform/TCADP COS Guide](https://cloud.tencent.com/document/product/1759/116238).
1053
- 2. Call the COS storage API provided by Tencent Cloud to store the file in the COS of TCADP. For details, see [COS SDK Overview](https://cloud.tencent.com/document/product/436/6474). Note that the temporary key method is used to operate COS.
1054
- 3. Call this API to store the basic information of the file in TCADP.
1054
+ 1. Obtain a temporary key. For more information, see [API Documentation](https://cloud.tencent.com/document/product/1759/105050). Different parameter combinations of the temporary key have different permissions. For more information, see [Tencent Cloud Agent Development Platform/ADP COS Guide](https://cloud.tencent.com/document/product/1759/116238).
1055
+ 2. Call the COS storage API provided by Tencent Cloud to store the file in the COS of ADP. For details, see [COS SDK Overview](https://cloud.tencent.com/document/product/436/6474). Note that the temporary key method is used to operate COS.
1056
+ 3. Call this API to store the basic information of the file in ADP.
1055
1057
  For the above steps, see [Documentation](https://cloud.tencent.com/document/product/1759/108903). At the end of the documentation, there is a [code demo](https://cloud.tencent.com/document/product/1759/108903#demo), which can be used as a reference.
1056
1058
  * @param {SaveDocRequest} req
1057
1059
  * @param {function(string, SaveDocResponse):void} cb
@@ -5667,6 +5667,12 @@ class SaveDocResponse extends AbstractModel {
5667
5667
  */
5668
5668
  this.ErrorLinkText = null;
5669
5669
 
5670
+ /**
5671
+ *
5672
+ * @type {number || null}
5673
+ */
5674
+ this.DuplicateFileCheckType = null;
5675
+
5670
5676
  /**
5671
5677
  * 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.
5672
5678
  * @type {string || null}
@@ -5686,6 +5692,7 @@ class SaveDocResponse extends AbstractModel {
5686
5692
  this.ErrorMsg = 'ErrorMsg' in params ? params.ErrorMsg : null;
5687
5693
  this.ErrorLink = 'ErrorLink' in params ? params.ErrorLink : null;
5688
5694
  this.ErrorLinkText = 'ErrorLinkText' in params ? params.ErrorLinkText : null;
5695
+ this.DuplicateFileCheckType = 'DuplicateFileCheckType' in params ? params.DuplicateFileCheckType : null;
5689
5696
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
5690
5697
 
5691
5698
  }
@@ -6165,7 +6172,7 @@ class DescribeTokenUsageGraphRequest extends AbstractModel {
6165
6172
  this.UinAccount = null;
6166
6173
 
6167
6174
  /**
6168
- * Sub-business types of Tencent Cloud Agent Development Platform/TCADP: fileparse (document parsing), Embedding, Rewrite (multi-round rewriting), Concurrency, KnowledgeSummary (knowledge summary), KnowledgeQA (knowledge Q&A), KnowledgeCapacity (knowledge base capacity), SearchEngine (search engine).
6175
+ * Sub-business types of Tencent Cloud Agent Development Platform/ADP: fileparse (document parsing), Embedding, Rewrite (multi-round rewriting), Concurrency, KnowledgeSummary (knowledge summary), KnowledgeQA (knowledge Q&A), KnowledgeCapacity (knowledge base capacity), SearchEngine (search engine).
6169
6176
  * @type {string || null}
6170
6177
  */
6171
6178
  this.SubBizType = null;
@@ -6194,6 +6201,18 @@ class DescribeTokenUsageGraphRequest extends AbstractModel {
6194
6201
  */
6195
6202
  this.AppBizIds = null;
6196
6203
 
6204
+ /**
6205
+ *
6206
+ * @type {string || null}
6207
+ */
6208
+ this.AppType = null;
6209
+
6210
+ /**
6211
+ *
6212
+ * @type {Array.<string> || null}
6213
+ */
6214
+ this.SubScenes = null;
6215
+
6197
6216
  }
6198
6217
 
6199
6218
  /**
@@ -6209,6 +6228,8 @@ class DescribeTokenUsageGraphRequest extends AbstractModel {
6209
6228
  this.StartTime = 'StartTime' in params ? params.StartTime : null;
6210
6229
  this.EndTime = 'EndTime' in params ? params.EndTime : null;
6211
6230
  this.AppBizIds = 'AppBizIds' in params ? params.AppBizIds : null;
6231
+ this.AppType = 'AppType' in params ? params.AppType : null;
6232
+ this.SubScenes = 'SubScenes' in params ? params.SubScenes : null;
6212
6233
 
6213
6234
  }
6214
6235
  }
@@ -6390,7 +6411,7 @@ When the value is 1, the weburl field cannot be empty; otherwise, it will not ta
6390
6411
  this.IsRefer = null;
6391
6412
 
6392
6413
  /**
6393
- * Document operation type: 1: batch import (import Q&A pairs in batches); 2: document import (normally import a single document). The default value is 1.<br>Please note that when opt = 1, please download the Excel template from the Tencent Cloud Agent Development Platform/TCADP page.
6414
+ * Document operation type: 1: batch import (import Q&A pairs in batches); 2: document import (normally import a single document). The default value is 1.<br>Please note that when opt = 1, please download the Excel template from the Tencent Cloud Agent Development Platform/ADP page.
6394
6415
  * @type {number || null}
6395
6416
  */
6396
6417
  this.Opt = null;
@@ -6401,6 +6422,30 @@ When the value is 1, the weburl field cannot be empty; otherwise, it will not ta
6401
6422
  */
6402
6423
  this.CateBizId = null;
6403
6424
 
6425
+ /**
6426
+ *
6427
+ * @type {boolean || null}
6428
+ */
6429
+ this.IsDownload = null;
6430
+
6431
+ /**
6432
+ *
6433
+ * @type {Array.<DuplicateFileHandle> || null}
6434
+ */
6435
+ this.DuplicateFileHandles = null;
6436
+
6437
+ /**
6438
+ *
6439
+ * @type {string || null}
6440
+ */
6441
+ this.SplitRule = null;
6442
+
6443
+ /**
6444
+ *
6445
+ * @type {UpdatePeriodInfo || null}
6446
+ */
6447
+ this.UpdatePeriodInfo = null;
6448
+
6404
6449
  }
6405
6450
 
6406
6451
  /**
@@ -6435,6 +6480,23 @@ When the value is 1, the weburl field cannot be empty; otherwise, it will not ta
6435
6480
  this.IsRefer = 'IsRefer' in params ? params.IsRefer : null;
6436
6481
  this.Opt = 'Opt' in params ? params.Opt : null;
6437
6482
  this.CateBizId = 'CateBizId' in params ? params.CateBizId : null;
6483
+ this.IsDownload = 'IsDownload' in params ? params.IsDownload : null;
6484
+
6485
+ if (params.DuplicateFileHandles) {
6486
+ this.DuplicateFileHandles = new Array();
6487
+ for (let z in params.DuplicateFileHandles) {
6488
+ let obj = new DuplicateFileHandle();
6489
+ obj.deserialize(params.DuplicateFileHandles[z]);
6490
+ this.DuplicateFileHandles.push(obj);
6491
+ }
6492
+ }
6493
+ this.SplitRule = 'SplitRule' in params ? params.SplitRule : null;
6494
+
6495
+ if (params.UpdatePeriodInfo) {
6496
+ let obj = new UpdatePeriodInfo();
6497
+ obj.deserialize(params.UpdatePeriodInfo)
6498
+ this.UpdatePeriodInfo = obj;
6499
+ }
6438
6500
 
6439
6501
  }
6440
6502
  }
@@ -8442,6 +8504,34 @@ class GroupQARequest extends AbstractModel {
8442
8504
  }
8443
8505
  }
8444
8506
 
8507
+ /**
8508
+ *
8509
+ * @class
8510
+ */
8511
+ class UpdatePeriodInfo extends AbstractModel {
8512
+ constructor(){
8513
+ super();
8514
+
8515
+ /**
8516
+ *
8517
+ * @type {number || null}
8518
+ */
8519
+ this.UpdatePeriodH = null;
8520
+
8521
+ }
8522
+
8523
+ /**
8524
+ * @private
8525
+ */
8526
+ deserialize(params) {
8527
+ if (!params) {
8528
+ return;
8529
+ }
8530
+ this.UpdatePeriodH = 'UpdatePeriodH' in params ? params.UpdatePeriodH : null;
8531
+
8532
+ }
8533
+ }
8534
+
8445
8535
  /**
8446
8536
  * DescribeCallStatsGraph request structure.
8447
8537
  * @class
@@ -12412,6 +12502,18 @@ class DescribeTokenUsageResponse extends AbstractModel {
12412
12502
  */
12413
12503
  this.InternetSearchUsage = null;
12414
12504
 
12505
+ /**
12506
+ *
12507
+ * @type {number || null}
12508
+ */
12509
+ this.DosageTypeLimit = null;
12510
+
12511
+ /**
12512
+ *
12513
+ * @type {number || null}
12514
+ */
12515
+ this.DosageTypeCurr = null;
12516
+
12415
12517
  /**
12416
12518
  * 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.
12417
12519
  * @type {string || null}
@@ -12436,6 +12538,8 @@ class DescribeTokenUsageResponse extends AbstractModel {
12436
12538
  this.SplitTokenUsage = 'SplitTokenUsage' in params ? params.SplitTokenUsage : null;
12437
12539
  this.RagSearchUsage = 'RagSearchUsage' in params ? params.RagSearchUsage : null;
12438
12540
  this.InternetSearchUsage = 'InternetSearchUsage' in params ? params.InternetSearchUsage : null;
12541
+ this.DosageTypeLimit = 'DosageTypeLimit' in params ? params.DosageTypeLimit : null;
12542
+ this.DosageTypeCurr = 'DosageTypeCurr' in params ? params.DosageTypeCurr : null;
12439
12543
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
12440
12544
 
12441
12545
  }
@@ -13196,7 +13300,7 @@ class DescribeTokenUsageRequest extends AbstractModel {
13196
13300
  this.LoginSubAccountUin = null;
13197
13301
 
13198
13302
  /**
13199
- * Sub-business types of Tencent Cloud Agent Development Platform/TCADP: FileParse (document parsing), embedding, Rewrite (multi-round rewriting), Concurrency, KnowledgeSummary (knowledge summary), KnowledgeQA (knowledge Q&A), KnowledgeCapacity (knowledge base capacity), SearchEngine (search engine).
13303
+ * Sub-business types of Tencent Cloud Agent Development Platform/ADP: FileParse (document parsing), embedding, Rewrite (multi-round rewriting), Concurrency, KnowledgeSummary (knowledge summary), KnowledgeQA (knowledge Q&A), KnowledgeCapacity (knowledge base capacity), SearchEngine (search engine).
13200
13304
  * @type {string || null}
13201
13305
  */
13202
13306
  this.SubBizType = null;
@@ -13231,6 +13335,18 @@ class DescribeTokenUsageRequest extends AbstractModel {
13231
13335
  */
13232
13336
  this.SubScenes = null;
13233
13337
 
13338
+ /**
13339
+ *
13340
+ * @type {string || null}
13341
+ */
13342
+ this.AppType = null;
13343
+
13344
+ /**
13345
+ *
13346
+ * @type {string || null}
13347
+ */
13348
+ this.SpaceId = null;
13349
+
13234
13350
  }
13235
13351
 
13236
13352
  /**
@@ -13249,6 +13365,8 @@ class DescribeTokenUsageRequest extends AbstractModel {
13249
13365
  this.EndTime = 'EndTime' in params ? params.EndTime : null;
13250
13366
  this.AppBizIds = 'AppBizIds' in params ? params.AppBizIds : null;
13251
13367
  this.SubScenes = 'SubScenes' in params ? params.SubScenes : null;
13368
+ this.AppType = 'AppType' in params ? params.AppType : null;
13369
+ this.SpaceId = 'SpaceId' in params ? params.SpaceId : null;
13252
13370
 
13253
13371
  }
13254
13372
  }
@@ -13323,6 +13441,41 @@ class CreateAttributeLabelResponse extends AbstractModel {
13323
13441
  }
13324
13442
  }
13325
13443
 
13444
+ /**
13445
+ *
13446
+ * @class
13447
+ */
13448
+ class DuplicateFileHandle extends AbstractModel {
13449
+ constructor(){
13450
+ super();
13451
+
13452
+ /**
13453
+ *
13454
+ * @type {number || null}
13455
+ */
13456
+ this.CheckType = null;
13457
+
13458
+ /**
13459
+ *
13460
+ * @type {number || null}
13461
+ */
13462
+ this.HandleType = null;
13463
+
13464
+ }
13465
+
13466
+ /**
13467
+ * @private
13468
+ */
13469
+ deserialize(params) {
13470
+ if (!params) {
13471
+ return;
13472
+ }
13473
+ this.CheckType = 'CheckType' in params ? params.CheckType : null;
13474
+ this.HandleType = 'HandleType' in params ? params.HandleType : null;
13475
+
13476
+ }
13477
+ }
13478
+
13326
13479
  /**
13327
13480
  * ListAppKnowledgeDetail request structure.
13328
13481
  * @class
@@ -15807,6 +15960,7 @@ module.exports = {
15807
15960
  ListDocRequest: ListDocRequest,
15808
15961
  QAQuery: QAQuery,
15809
15962
  GroupQARequest: GroupQARequest,
15963
+ UpdatePeriodInfo: UpdatePeriodInfo,
15810
15964
  DescribeCallStatsGraphRequest: DescribeCallStatsGraphRequest,
15811
15965
  GetMsgRecordResponse: GetMsgRecordResponse,
15812
15966
  DescribeAppRequest: DescribeAppRequest,
@@ -15887,6 +16041,7 @@ module.exports = {
15887
16041
  DescribeTokenUsageRequest: DescribeTokenUsageRequest,
15888
16042
  GetAppKnowledgeCountResponse: GetAppKnowledgeCountResponse,
15889
16043
  CreateAttributeLabelResponse: CreateAttributeLabelResponse,
16044
+ DuplicateFileHandle: DuplicateFileHandle,
15890
16045
  ListAppKnowledgeDetailRequest: ListAppKnowledgeDetailRequest,
15891
16046
  CreateQAResponse: CreateQAResponse,
15892
16047
  ListQACateRequest: ListQACateRequest,
@@ -1133,6 +1133,20 @@ class MediaAiAnalysisHighlightItem extends AbstractModel {
1133
1133
  */
1134
1134
  this.SegmentSet = null;
1135
1135
 
1136
+ /**
1137
+ * Intelligent highlight address.
1138
+ Note: This field may return null, indicating that no valid values can be obtained.
1139
+ * @type {string || null}
1140
+ */
1141
+ this.HighlightUrl = null;
1142
+
1143
+ /**
1144
+ * Intelligent highlight cover address.
1145
+ Note: This field may return null, indicating that no valid values can be obtained.
1146
+ * @type {string || null}
1147
+ */
1148
+ this.CovImgUrl = null;
1149
+
1136
1150
  }
1137
1151
 
1138
1152
  /**
@@ -1155,6 +1169,8 @@ class MediaAiAnalysisHighlightItem extends AbstractModel {
1155
1169
  this.SegmentSet.push(obj);
1156
1170
  }
1157
1171
  }
1172
+ this.HighlightUrl = 'HighlightUrl' in params ? params.HighlightUrl : null;
1173
+ this.CovImgUrl = 'CovImgUrl' in params ? params.CovImgUrl : null;
1158
1174
 
1159
1175
  }
1160
1176
  }
@@ -5373,7 +5389,7 @@ class TimeSpotCheck extends AbstractModel {
5373
5389
  super();
5374
5390
 
5375
5391
  /**
5376
- * Duration of each loop detection in the spot check policy, in seconds. Valid values:
5392
+ * Duration of each loop detection, in seconds. Value range:
5377
5393
 
5378
5394
  - Minimum value: 10.
5379
5395
  - Maximum value: 86400.
@@ -5383,19 +5399,27 @@ class TimeSpotCheck extends AbstractModel {
5383
5399
  this.CheckDuration = null;
5384
5400
 
5385
5401
  /**
5386
- * Detection interval of the spot check policy, which indicates how long to wait before conducting the next detection after one detection is completed.
5402
+ * Detection interval, in seconds. It indicates the duration after a detection is completed and before the next detection is conducted. Value range:
5403
+ - Minimum value: 10.
5404
+ - Maximum value: 3600.
5387
5405
  * @type {number || null}
5388
5406
  */
5389
5407
  this.CheckInterval = null;
5390
5408
 
5391
5409
  /**
5392
- * Duration for which the opening clip is skipped.
5410
+ * Skipped opening duration, in seconds. Value range:
5411
+ - Minimum value: 1.
5412
+ - Maximum value: 1800.
5393
5413
  * @type {number || null}
5394
5414
  */
5395
5415
  this.SkipDuration = null;
5396
5416
 
5397
5417
  /**
5398
- * Number of loops. When this field is empty or set to 0, the default behavior is to loop until the video ends.
5418
+ * Number of loops. Value range:
5419
+ - Minimum value: 0.
5420
+ - Maximum value: 1000.
5421
+
5422
+ If the value is 0 or not specified, it indicates that loops are executed until the video ends.
5399
5423
  * @type {number || null}
5400
5424
  */
5401
5425
  this.CirclesNumber = null;
@@ -7655,6 +7679,12 @@ class LiveRecordTemplate extends AbstractModel {
7655
7679
  */
7656
7680
  this.UpdateTime = null;
7657
7681
 
7682
+ /**
7683
+ * Recording type. Valid values: video: audio and video recording; audio: audio recording; auto: automatic detection.
7684
+ * @type {string || null}
7685
+ */
7686
+ this.RecordType = null;
7687
+
7658
7688
  }
7659
7689
 
7660
7690
  /**
@@ -7682,6 +7712,7 @@ class LiveRecordTemplate extends AbstractModel {
7682
7712
  this.Type = 'Type' in params ? params.Type : null;
7683
7713
  this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
7684
7714
  this.UpdateTime = 'UpdateTime' in params ? params.UpdateTime : null;
7715
+ this.RecordType = 'RecordType' in params ? params.RecordType : null;
7685
7716
 
7686
7717
  }
7687
7718
  }
@@ -10823,6 +10854,13 @@ Note: This field may return null, indicating that no valid value can be obtained
10823
10854
  */
10824
10855
  this.EnhanceConfig = null;
10825
10856
 
10857
+ /**
10858
+ * Subtitle parameter.
10859
+ Note: This field may return null, indicating that no valid values can be obtained.
10860
+ * @type {SubtitleTemplate || null}
10861
+ */
10862
+ this.SubtitleTemplate = null;
10863
+
10826
10864
  }
10827
10865
 
10828
10866
  /**
@@ -10861,6 +10899,12 @@ Note: This field may return null, indicating that no valid value can be obtained
10861
10899
  this.EnhanceConfig = obj;
10862
10900
  }
10863
10901
 
10902
+ if (params.SubtitleTemplate) {
10903
+ let obj = new SubtitleTemplate();
10904
+ obj.deserialize(params.SubtitleTemplate)
10905
+ this.SubtitleTemplate = obj;
10906
+ }
10907
+
10864
10908
  }
10865
10909
  }
10866
10910
 
@@ -10873,12 +10917,11 @@ class LiveStreamTaskNotifyConfig extends AbstractModel {
10873
10917
  super();
10874
10918
 
10875
10919
  /**
10876
- * Notification type:
10920
+ * Notification Type:
10921
+ TDMQ-CMQ: TDMQ for CMQ.
10922
+ "URL": When a URL is specified, HTTP callbacks are pushed to the address specified by NotifyUrl. The callback protocol is HTTP+JSON. The content of the packet body is the same as the output parameters of [ParseLiveStreamProcessNotification](https://www.tencentcloud.comom/document/product/862/39229?from_cn_redirect=1).
10877
10923
 
10878
- "CMQ": Callback messages are written to the CMQ queue;
10879
- "URL": When a URL is specified, the HTTP callback is pushed to the address specified by NotifyUrl. The callback protocol is http+json. The content of the packet body is the same as the output parameters of the [ParseLiveStreamProcessNotification API](https://intl.cloud.tencent.com/document/product/862/39229?from_cn_redirect=1).
10880
-
10881
- <font color="red">Note: If left blank, it is CMQ by default. To use the other type, you need to fill in the corresponding type value.</font>
10924
+ <font color="red">Note: If it is left blank, TDMQ-CMQ is used by default. To use other types, fill in the corresponding type value.</font>
10882
10925
  * @type {string || null}
10883
10926
  */
10884
10927
  this.NotifyType = null;
@@ -10890,25 +10933,25 @@ class LiveStreamTaskNotifyConfig extends AbstractModel {
10890
10933
  this.NotifyUrl = null;
10891
10934
 
10892
10935
  /**
10893
- * CMQ model. There are two types: `Queue` and `Topic`. Currently, only `Queue` is supported.
10936
+ * Queue and Topic models are provided.
10894
10937
  * @type {string || null}
10895
10938
  */
10896
10939
  this.CmqModel = null;
10897
10940
 
10898
10941
  /**
10899
- * CMQ region, such as `sh` and `bj`.
10942
+ * Region when NotifyType is set to TDMQ-CMQ. For example, sh or bj.
10900
10943
  * @type {string || null}
10901
10944
  */
10902
10945
  this.CmqRegion = null;
10903
10946
 
10904
10947
  /**
10905
- * This parameter is valid when the model is `Queue`, indicating the name of the CMQ queue for receiving event notifications.
10948
+ * This field is valid when the model is Queue. It indicates the name of the TDMQ for CMQ queue for receiving event notifications.
10906
10949
  * @type {string || null}
10907
10950
  */
10908
10951
  this.QueueName = null;
10909
10952
 
10910
10953
  /**
10911
- * This parameter is valid when the model is `Topic`, indicating the name of the CMQ topic for receiving event notifications.
10954
+ * This field is valid when the model is Topic. It indicates the name of the TDMQ for CMQ topic for receiving event notifications.
10912
10955
  * @type {string || null}
10913
10956
  */
10914
10957
  this.TopicName = null;
@@ -20717,6 +20760,13 @@ Note: This field may return null, indicating that no valid value can be obtained
20717
20760
  */
20718
20761
  this.StreamIndex = null;
20719
20762
 
20763
+ /**
20764
+ * Input information on the subtitle file to be embedded into the video. Currently, only subtitle files stored in COS are supported.
20765
+ Note: This field may return null, indicating that no valid values can be obtained.
20766
+ * @type {MediaInputInfo || null}
20767
+ */
20768
+ this.SubtitleFileInput = null;
20769
+
20720
20770
  /**
20721
20771
  * Font type. valid values:.
20722
20772
  <li>hei.ttf: simhei.</li>.
@@ -20832,6 +20882,62 @@ Note: This field may return null, indicating that no valid value can be obtained
20832
20882
  */
20833
20883
  this.BoardAlpha = null;
20834
20884
 
20885
+ /**
20886
+ * Stroke width.
20887
+ Note: This field may return null, indicating that no valid values can be obtained.
20888
+ * @type {number || null}
20889
+ */
20890
+ this.OutlineWidth = null;
20891
+
20892
+ /**
20893
+ * Stroke color. The value should be a 6-digit hexadecimal RGB value.
20894
+ Note: This field may return null, indicating that no valid values can be obtained.
20895
+ * @type {string || null}
20896
+ */
20897
+ this.OutlineColor = null;
20898
+
20899
+ /**
20900
+ * Stroke transparency. The value should be a positive floating-point number in the range of (0, 1].
20901
+ Note: This field may return null, indicating that no valid values can be obtained.
20902
+ * @type {number || null}
20903
+ */
20904
+ this.OutlineAlpha = null;
20905
+
20906
+ /**
20907
+ * Shadow width. The value should be a floating-point number in the range of [0, 1000].
20908
+ Note: This field may return null, indicating that no valid values can be obtained.
20909
+ * @type {number || null}
20910
+ */
20911
+ this.ShadowWidth = null;
20912
+
20913
+ /**
20914
+ * Shadow color. The value should be a 6-digit hexadecimal RGB value.
20915
+ Note: This field may return null, indicating that no valid values can be obtained.
20916
+ * @type {string || null}
20917
+ */
20918
+ this.ShadowColor = null;
20919
+
20920
+ /**
20921
+ * Shadow transparency. The value should be a positive floating-point number in the range of (0, 1].
20922
+ Note: This field may return null, indicating that no valid values can be obtained.
20923
+ * @type {number || null}
20924
+ */
20925
+ this.ShadowAlpha = null;
20926
+
20927
+ /**
20928
+ * Line spacing. The value should be a positive integer in the range of [0, 1000].
20929
+ Note: This field may return null, indicating that no valid values can be obtained.
20930
+ * @type {number || null}
20931
+ */
20932
+ this.LineSpacing = null;
20933
+
20934
+ /**
20935
+ * Alignment mode. Valid values: top alignment. The top position of subtitles is fixed, while the bottom position changes according to the number of lines. bottom: bottom alignment. The bottom position of subtitles is fixed, while the top position changes according to the number of lines.
20936
+ Note: This field may return null, indicating that no valid values can be obtained.
20937
+ * @type {string || null}
20938
+ */
20939
+ this.Alignment = null;
20940
+
20835
20941
  }
20836
20942
 
20837
20943
  /**
@@ -20843,6 +20949,12 @@ Note: This field may return null, indicating that no valid value can be obtained
20843
20949
  }
20844
20950
  this.Path = 'Path' in params ? params.Path : null;
20845
20951
  this.StreamIndex = 'StreamIndex' in params ? params.StreamIndex : null;
20952
+
20953
+ if (params.SubtitleFileInput) {
20954
+ let obj = new MediaInputInfo();
20955
+ obj.deserialize(params.SubtitleFileInput)
20956
+ this.SubtitleFileInput = obj;
20957
+ }
20846
20958
  this.FontType = 'FontType' in params ? params.FontType : null;
20847
20959
  this.FontSize = 'FontSize' in params ? params.FontSize : null;
20848
20960
  this.FontColor = 'FontColor' in params ? params.FontColor : null;
@@ -20853,6 +20965,14 @@ Note: This field may return null, indicating that no valid value can be obtained
20853
20965
  this.BoardHeight = 'BoardHeight' in params ? params.BoardHeight : null;
20854
20966
  this.BoardColor = 'BoardColor' in params ? params.BoardColor : null;
20855
20967
  this.BoardAlpha = 'BoardAlpha' in params ? params.BoardAlpha : null;
20968
+ this.OutlineWidth = 'OutlineWidth' in params ? params.OutlineWidth : null;
20969
+ this.OutlineColor = 'OutlineColor' in params ? params.OutlineColor : null;
20970
+ this.OutlineAlpha = 'OutlineAlpha' in params ? params.OutlineAlpha : null;
20971
+ this.ShadowWidth = 'ShadowWidth' in params ? params.ShadowWidth : null;
20972
+ this.ShadowColor = 'ShadowColor' in params ? params.ShadowColor : null;
20973
+ this.ShadowAlpha = 'ShadowAlpha' in params ? params.ShadowAlpha : null;
20974
+ this.LineSpacing = 'LineSpacing' in params ? params.LineSpacing : null;
20975
+ this.Alignment = 'Alignment' in params ? params.Alignment : null;
20856
20976
 
20857
20977
  }
20858
20978
  }
@@ -25421,6 +25541,12 @@ class CreateLiveRecordTemplateRequest extends AbstractModel {
25421
25541
  */
25422
25542
  this.Comment = null;
25423
25543
 
25544
+ /**
25545
+ * Recording type. Valid values: video: audio and video recording; audio: audio recording; auto: automatic detection. If it is left blank, the default value video is used.
25546
+ * @type {string || null}
25547
+ */
25548
+ this.RecordType = null;
25549
+
25424
25550
  }
25425
25551
 
25426
25552
  /**
@@ -25444,6 +25570,7 @@ class CreateLiveRecordTemplateRequest extends AbstractModel {
25444
25570
  }
25445
25571
  this.Name = 'Name' in params ? params.Name : null;
25446
25572
  this.Comment = 'Comment' in params ? params.Comment : null;
25573
+ this.RecordType = 'RecordType' in params ? params.RecordType : null;
25447
25574
 
25448
25575
  }
25449
25576
  }
@@ -32536,6 +32663,12 @@ class ModifyLiveRecordTemplateRequest extends AbstractModel {
32536
32663
  */
32537
32664
  this.Comment = null;
32538
32665
 
32666
+ /**
32667
+ * Recording type. Valid values: video: audio and video recording; audio: audio recording; auto: automatic detection.
32668
+ * @type {string || null}
32669
+ */
32670
+ this.RecordType = null;
32671
+
32539
32672
  }
32540
32673
 
32541
32674
  /**
@@ -32560,6 +32693,7 @@ class ModifyLiveRecordTemplateRequest extends AbstractModel {
32560
32693
  }
32561
32694
  this.Name = 'Name' in params ? params.Name : null;
32562
32695
  this.Comment = 'Comment' in params ? params.Comment : null;
32696
+ this.RecordType = 'RecordType' in params ? params.RecordType : null;
32563
32697
 
32564
32698
  }
32565
32699
  }
@@ -34181,7 +34315,9 @@ class LiveStreamAiAnalysisResultItem extends AbstractModel {
34181
34315
  super();
34182
34316
 
34183
34317
  /**
34184
- *
34318
+ * Result type. Valid values:
34319
+ <li>SegmentRecognition: video splitting.</li>
34320
+ <li>Highlight: highlight.</li>
34185
34321
  * @type {string || null}
34186
34322
  */
34187
34323
  this.Type = null;
@@ -34192,6 +34328,13 @@ class LiveStreamAiAnalysisResultItem extends AbstractModel {
34192
34328
  */
34193
34329
  this.SegmentResultSet = null;
34194
34330
 
34331
+ /**
34332
+ * Highlight result. This field is valid when Type is set to Highlight.
34333
+ Note: This field may return null, indicating that no valid values can be obtained.
34334
+ * @type {Array.<MediaAiAnalysisHighlightItem> || null}
34335
+ */
34336
+ this.HighlightResultSet = null;
34337
+
34195
34338
  }
34196
34339
 
34197
34340
  /**
@@ -34212,6 +34355,15 @@ class LiveStreamAiAnalysisResultItem extends AbstractModel {
34212
34355
  }
34213
34356
  }
34214
34357
 
34358
+ if (params.HighlightResultSet) {
34359
+ this.HighlightResultSet = new Array();
34360
+ for (let z in params.HighlightResultSet) {
34361
+ let obj = new MediaAiAnalysisHighlightItem();
34362
+ obj.deserialize(params.HighlightResultSet[z]);
34363
+ this.HighlightResultSet.push(obj);
34364
+ }
34365
+ }
34366
+
34215
34367
  }
34216
34368
  }
34217
34369
 
@@ -34382,6 +34534,18 @@ Note: This field may return null, indicating that no valid values can be obtaine
34382
34534
  */
34383
34535
  this.EndTime = null;
34384
34536
 
34537
+ /**
34538
+ * Highlight title.
34539
+ * @type {string || null}
34540
+ */
34541
+ this.Title = null;
34542
+
34543
+ /**
34544
+ * Highlight overview.
34545
+ * @type {string || null}
34546
+ */
34547
+ this.Summary = null;
34548
+
34385
34549
  }
34386
34550
 
34387
34551
  /**
@@ -34397,6 +34561,8 @@ Note: This field may return null, indicating that no valid values can be obtaine
34397
34561
  this.SegmentTags = 'SegmentTags' in params ? params.SegmentTags : null;
34398
34562
  this.BeginTime = 'BeginTime' in params ? params.BeginTime : null;
34399
34563
  this.EndTime = 'EndTime' in params ? params.EndTime : null;
34564
+ this.Title = 'Title' in params ? params.Title : null;
34565
+ this.Summary = 'Summary' in params ? params.Summary : null;
34400
34566
 
34401
34567
  }
34402
34568
  }