tencentcloud-sdk-nodejs-intl-en 3.0.1241 → 3.0.1243
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/lke/v20231130/lke_client.js +5 -3
- package/tencentcloud/lke/v20231130/models.js +158 -3
- package/tencentcloud/mps/v20190612/models.js +180 -14
- package/tencentcloud/ocr/v20181119/models.js +936 -249
- package/tencentcloud/ocr/v20181119/ocr_client.js +40 -20
- package/tencentcloud/teo/v20220901/models.js +1 -1
|
@@ -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
|
|
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
|
|
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
|
-
*
|
|
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.
|
|
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
|
|
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
|
-
"
|
|
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
|
-
*
|
|
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
|
|
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
|
|
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
|
|
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
|
}
|