tencentcloud-sdk-nodejs-intl-en 3.0.386 → 3.0.387
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
|
@@ -16,9 +16,11 @@
|
|
|
16
16
|
*/
|
|
17
17
|
const models = require("./models");
|
|
18
18
|
const AbstractClient = require('../../common/abstract_client')
|
|
19
|
-
const LookupAttribute = models.LookupAttribute;
|
|
20
19
|
const DescribeEventsResponse = models.DescribeEventsResponse;
|
|
21
20
|
const Resource = models.Resource;
|
|
21
|
+
const DescribeAuditTracksResponse = models.DescribeAuditTracksResponse;
|
|
22
|
+
const DescribeAuditTracksRequest = models.DescribeAuditTracksRequest;
|
|
23
|
+
const LookupAttribute = models.LookupAttribute;
|
|
22
24
|
const Event = models.Event;
|
|
23
25
|
const DescribeEventsRequest = models.DescribeEventsRequest;
|
|
24
26
|
|
|
@@ -33,6 +35,17 @@ class CloudauditClient extends AbstractClient {
|
|
|
33
35
|
super("cloudaudit.tencentcloudapi.com", "2019-03-19", credential, region, profile);
|
|
34
36
|
}
|
|
35
37
|
|
|
38
|
+
/**
|
|
39
|
+
* This API is used to query the CloudAudit tracking set list.
|
|
40
|
+
* @param {DescribeAuditTracksRequest} req
|
|
41
|
+
* @param {function(string, DescribeAuditTracksResponse):void} cb
|
|
42
|
+
* @public
|
|
43
|
+
*/
|
|
44
|
+
DescribeAuditTracks(req, cb) {
|
|
45
|
+
let resp = new DescribeAuditTracksResponse();
|
|
46
|
+
this.request("DescribeAuditTracks", req, resp, cb);
|
|
47
|
+
}
|
|
48
|
+
|
|
36
49
|
/**
|
|
37
50
|
* This API is used to query CloudAudit logs.
|
|
38
51
|
* @param {DescribeEventsRequest} req
|
|
@@ -16,43 +16,6 @@
|
|
|
16
16
|
*/
|
|
17
17
|
const AbstractModel = require("../../common/abstract_model");
|
|
18
18
|
|
|
19
|
-
/**
|
|
20
|
-
* Search criterion
|
|
21
|
-
* @class
|
|
22
|
-
*/
|
|
23
|
-
class LookupAttribute extends AbstractModel {
|
|
24
|
-
constructor(){
|
|
25
|
-
super();
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Valid values: RequestId, EventName, ReadOnly, Username, ResourceType, ResourceName, AccessKeyId, and EventId
|
|
29
|
-
Note: `null` may be returned for this field, indicating that no valid values can be obtained.
|
|
30
|
-
* @type {string || null}
|
|
31
|
-
*/
|
|
32
|
-
this.AttributeKey = null;
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
* Value of `AttributeValue`
|
|
36
|
-
Note: `null` may be returned for this field, indicating that no valid values can be obtained.
|
|
37
|
-
* @type {string || null}
|
|
38
|
-
*/
|
|
39
|
-
this.AttributeValue = null;
|
|
40
|
-
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* @private
|
|
45
|
-
*/
|
|
46
|
-
deserialize(params) {
|
|
47
|
-
if (!params) {
|
|
48
|
-
return;
|
|
49
|
-
}
|
|
50
|
-
this.AttributeKey = 'AttributeKey' in params ? params.AttributeKey : null;
|
|
51
|
-
this.AttributeValue = 'AttributeValue' in params ? params.AttributeValue : null;
|
|
52
|
-
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
|
|
56
19
|
/**
|
|
57
20
|
* DescribeEvents response structure.
|
|
58
21
|
* @class
|
|
@@ -155,6 +118,92 @@ Note: `null` may be returned for this field, indicating that no valid values can
|
|
|
155
118
|
}
|
|
156
119
|
}
|
|
157
120
|
|
|
121
|
+
/**
|
|
122
|
+
* DescribeAuditTracks response structure.
|
|
123
|
+
* @class
|
|
124
|
+
*/
|
|
125
|
+
class DescribeAuditTracksResponse extends AbstractModel {
|
|
126
|
+
constructor(){
|
|
127
|
+
super();
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
131
|
+
* @type {string || null}
|
|
132
|
+
*/
|
|
133
|
+
this.RequestId = null;
|
|
134
|
+
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* @private
|
|
139
|
+
*/
|
|
140
|
+
deserialize(params) {
|
|
141
|
+
if (!params) {
|
|
142
|
+
return;
|
|
143
|
+
}
|
|
144
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
145
|
+
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* DescribeAuditTracks request structure.
|
|
151
|
+
* @class
|
|
152
|
+
*/
|
|
153
|
+
class DescribeAuditTracksRequest extends AbstractModel {
|
|
154
|
+
constructor(){
|
|
155
|
+
super();
|
|
156
|
+
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* @private
|
|
161
|
+
*/
|
|
162
|
+
deserialize(params) {
|
|
163
|
+
if (!params) {
|
|
164
|
+
return;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* Search criterion
|
|
172
|
+
* @class
|
|
173
|
+
*/
|
|
174
|
+
class LookupAttribute extends AbstractModel {
|
|
175
|
+
constructor(){
|
|
176
|
+
super();
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* Valid values: RequestId, EventName, ReadOnly, Username, ResourceType, ResourceName, AccessKeyId, and EventId
|
|
180
|
+
Note: `null` may be returned for this field, indicating that no valid values can be obtained.
|
|
181
|
+
* @type {string || null}
|
|
182
|
+
*/
|
|
183
|
+
this.AttributeKey = null;
|
|
184
|
+
|
|
185
|
+
/**
|
|
186
|
+
* Value of `AttributeValue`
|
|
187
|
+
Note: `null` may be returned for this field, indicating that no valid values can be obtained.
|
|
188
|
+
* @type {string || null}
|
|
189
|
+
*/
|
|
190
|
+
this.AttributeValue = null;
|
|
191
|
+
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
/**
|
|
195
|
+
* @private
|
|
196
|
+
*/
|
|
197
|
+
deserialize(params) {
|
|
198
|
+
if (!params) {
|
|
199
|
+
return;
|
|
200
|
+
}
|
|
201
|
+
this.AttributeKey = 'AttributeKey' in params ? params.AttributeKey : null;
|
|
202
|
+
this.AttributeValue = 'AttributeValue' in params ? params.AttributeValue : null;
|
|
203
|
+
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
|
|
158
207
|
/**
|
|
159
208
|
* Log details
|
|
160
209
|
* @class
|
|
@@ -374,9 +423,11 @@ class DescribeEventsRequest extends AbstractModel {
|
|
|
374
423
|
}
|
|
375
424
|
|
|
376
425
|
module.exports = {
|
|
377
|
-
LookupAttribute: LookupAttribute,
|
|
378
426
|
DescribeEventsResponse: DescribeEventsResponse,
|
|
379
427
|
Resource: Resource,
|
|
428
|
+
DescribeAuditTracksResponse: DescribeAuditTracksResponse,
|
|
429
|
+
DescribeAuditTracksRequest: DescribeAuditTracksRequest,
|
|
430
|
+
LookupAttribute: LookupAttribute,
|
|
380
431
|
Event: Event,
|
|
381
432
|
DescribeEventsRequest: DescribeEventsRequest,
|
|
382
433
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.387";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -2979,7 +2979,7 @@ class ComposeMediaRequest extends AbstractModel {
|
|
|
2979
2979
|
super();
|
|
2980
2980
|
|
|
2981
2981
|
/**
|
|
2982
|
-
* List of input media tracks,
|
|
2982
|
+
* List of input media tracks, including video, audio, and image tracks. <li>Input tracks are synced to the output media file.</li><li>Input tracks are synced to each other. Videos and images in higher tracks are superimposed over those in lower tracks. Audio tracks are mixed.</li><li>There can be up to 10 tracks for video, audio, and images each.</li><li>The total number of clips in all tracks cannot exceed 500.</li>
|
|
2983
2983
|
* @type {Array.<MediaTrack> || null}
|
|
2984
2984
|
*/
|
|
2985
2985
|
this.Tracks = null;
|
|
@@ -12080,26 +12080,49 @@ class CreateSuperPlayerConfigRequest extends AbstractModel {
|
|
|
12080
12080
|
this.Name = null;
|
|
12081
12081
|
|
|
12082
12082
|
/**
|
|
12083
|
-
*
|
|
12084
|
-
<li>
|
|
12085
|
-
<li>
|
|
12086
|
-
|
|
12083
|
+
* Type of audio/video played. Valid values:
|
|
12084
|
+
<li>AdaptiveDynamicStreaming</li>
|
|
12085
|
+
<li>Transcode</li>
|
|
12086
|
+
<li>Original</li>
|
|
12087
|
+
Default value: `AdaptiveDynamicStream`
|
|
12088
|
+
* @type {string || null}
|
|
12089
|
+
*/
|
|
12090
|
+
this.AudioVideoType = null;
|
|
12091
|
+
|
|
12092
|
+
/**
|
|
12093
|
+
* Whether to allow only adaptive bitrate streaming playback protected by DRM. Valid values:
|
|
12094
|
+
<li>`ON`: allow only adaptive bitrate streaming playback protected by DRM</li>
|
|
12095
|
+
<li>`OFF`: allow adaptive bitrate streaming playback not protected by DRM</li>
|
|
12096
|
+
Default value: `OFF`
|
|
12097
|
+
This parameter is valid when `AudioVideoType` is `AdaptiveDynamicStream`.
|
|
12087
12098
|
* @type {string || null}
|
|
12088
12099
|
*/
|
|
12089
12100
|
this.DrmSwitch = null;
|
|
12090
12101
|
|
|
12091
12102
|
/**
|
|
12092
|
-
* ID of the
|
|
12103
|
+
* ID of the adaptive bitrate streaming template allowed for playback not protected by DRM.
|
|
12104
|
+
|
|
12105
|
+
This parameter is required if `AudioVideoType` is `AdaptiveDynamicStream` and `DrmSwitch` is `OFF`.
|
|
12093
12106
|
* @type {number || null}
|
|
12094
12107
|
*/
|
|
12095
12108
|
this.AdaptiveDynamicStreamingDefinition = null;
|
|
12096
12109
|
|
|
12097
12110
|
/**
|
|
12098
|
-
* Content of the
|
|
12111
|
+
* Content of the adaptive bitrate streaming template allowed for playback protected by DRM.
|
|
12112
|
+
|
|
12113
|
+
This parameter is required if `AudioVideoType` is `AdaptiveDynamicStream` and `DrmSwitch` is `ON`.
|
|
12099
12114
|
* @type {DrmStreamingsInfo || null}
|
|
12100
12115
|
*/
|
|
12101
12116
|
this.DrmStreamingsInfo = null;
|
|
12102
12117
|
|
|
12118
|
+
/**
|
|
12119
|
+
* ID of the transcoding template allowed for playback
|
|
12120
|
+
|
|
12121
|
+
This parameter is required if `AudioVideoType` is `Transcode`.
|
|
12122
|
+
* @type {number || null}
|
|
12123
|
+
*/
|
|
12124
|
+
this.TranscodeDefinition = null;
|
|
12125
|
+
|
|
12103
12126
|
/**
|
|
12104
12127
|
* ID of the image sprite generating template that allows output.
|
|
12105
12128
|
* @type {number || null}
|
|
@@ -12155,6 +12178,7 @@ Default value: OFF.
|
|
|
12155
12178
|
return;
|
|
12156
12179
|
}
|
|
12157
12180
|
this.Name = 'Name' in params ? params.Name : null;
|
|
12181
|
+
this.AudioVideoType = 'AudioVideoType' in params ? params.AudioVideoType : null;
|
|
12158
12182
|
this.DrmSwitch = 'DrmSwitch' in params ? params.DrmSwitch : null;
|
|
12159
12183
|
this.AdaptiveDynamicStreamingDefinition = 'AdaptiveDynamicStreamingDefinition' in params ? params.AdaptiveDynamicStreamingDefinition : null;
|
|
12160
12184
|
|
|
@@ -12163,6 +12187,7 @@ Default value: OFF.
|
|
|
12163
12187
|
obj.deserialize(params.DrmStreamingsInfo)
|
|
12164
12188
|
this.DrmStreamingsInfo = obj;
|
|
12165
12189
|
}
|
|
12190
|
+
this.TranscodeDefinition = 'TranscodeDefinition' in params ? params.TranscodeDefinition : null;
|
|
12166
12191
|
this.ImageSpriteDefinition = 'ImageSpriteDefinition' in params ? params.ImageSpriteDefinition : null;
|
|
12167
12192
|
|
|
12168
12193
|
if (params.ResolutionNames) {
|
|
@@ -23709,6 +23734,15 @@ class ModifySuperPlayerConfigRequest extends AbstractModel {
|
|
|
23709
23734
|
*/
|
|
23710
23735
|
this.Name = null;
|
|
23711
23736
|
|
|
23737
|
+
/**
|
|
23738
|
+
* Type of audio/video played. Valid values:
|
|
23739
|
+
<li>AdaptiveDynamicStreaming</li>
|
|
23740
|
+
<li>Transcode</li>
|
|
23741
|
+
<li>Original</li>
|
|
23742
|
+
* @type {string || null}
|
|
23743
|
+
*/
|
|
23744
|
+
this.AudioVideoType = null;
|
|
23745
|
+
|
|
23712
23746
|
/**
|
|
23713
23747
|
* Switch of DRM-protected adaptive bitstream playback:
|
|
23714
23748
|
<li>ON: enabled, indicating to play back only output adaptive bitstreams protected by DRM;</li>
|
|
@@ -23729,6 +23763,12 @@ class ModifySuperPlayerConfigRequest extends AbstractModel {
|
|
|
23729
23763
|
*/
|
|
23730
23764
|
this.DrmStreamingsInfo = null;
|
|
23731
23765
|
|
|
23766
|
+
/**
|
|
23767
|
+
* ID of the transcoding template allowed for playback
|
|
23768
|
+
* @type {number || null}
|
|
23769
|
+
*/
|
|
23770
|
+
this.TranscodeDefinition = null;
|
|
23771
|
+
|
|
23732
23772
|
/**
|
|
23733
23773
|
* ID of the image sprite generating template that allows output.
|
|
23734
23774
|
* @type {number || null}
|
|
@@ -23778,6 +23818,7 @@ class ModifySuperPlayerConfigRequest extends AbstractModel {
|
|
|
23778
23818
|
return;
|
|
23779
23819
|
}
|
|
23780
23820
|
this.Name = 'Name' in params ? params.Name : null;
|
|
23821
|
+
this.AudioVideoType = 'AudioVideoType' in params ? params.AudioVideoType : null;
|
|
23781
23822
|
this.DrmSwitch = 'DrmSwitch' in params ? params.DrmSwitch : null;
|
|
23782
23823
|
this.AdaptiveDynamicStreamingDefinition = 'AdaptiveDynamicStreamingDefinition' in params ? params.AdaptiveDynamicStreamingDefinition : null;
|
|
23783
23824
|
|
|
@@ -23786,6 +23827,7 @@ class ModifySuperPlayerConfigRequest extends AbstractModel {
|
|
|
23786
23827
|
obj.deserialize(params.DrmStreamingsInfo)
|
|
23787
23828
|
this.DrmStreamingsInfo = obj;
|
|
23788
23829
|
}
|
|
23830
|
+
this.TranscodeDefinition = 'TranscodeDefinition' in params ? params.TranscodeDefinition : null;
|
|
23789
23831
|
this.ImageSpriteDefinition = 'ImageSpriteDefinition' in params ? params.ImageSpriteDefinition : null;
|
|
23790
23832
|
|
|
23791
23833
|
if (params.ResolutionNames) {
|