@bitmovin/api-sdk 1.254.0 → 1.255.1
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/README.md +1 -1
- package/dist/bitmovin-api-sdk.browser.js +5012 -4758
- package/dist/bitmovin-api-sdk.browser.min.js +1 -1
- package/dist/common/RestClient.js +1 -1
- package/dist/encoding/live/standbyPools/actions/ActionsApi.d.ts +3 -1
- package/dist/encoding/live/standbyPools/actions/ActionsApi.js +3 -2
- package/dist/models/AdOpportunity.d.ts +20 -0
- package/dist/models/AdOpportunity.js +20 -0
- package/dist/models/Content.d.ts +6 -0
- package/dist/models/Content.js +2 -0
- package/dist/models/DolbyAtmosAudioConfiguration.d.ts +6 -0
- package/dist/models/DolbyAtmosAudioConfiguration.js +2 -0
- package/dist/models/DolbyAtmosDynamicRangeCompression.d.ts +21 -0
- package/dist/models/DolbyAtmosDynamicRangeCompression.js +20 -0
- package/dist/models/DolbyAtmosDynamicRangeCompressionMode.d.ts +15 -0
- package/dist/models/DolbyAtmosDynamicRangeCompressionMode.js +19 -0
- package/dist/models/DolbyAtmosPreprocessing.d.ts +15 -0
- package/dist/models/DolbyAtmosPreprocessing.js +20 -0
- package/dist/models/LiveStandbyPoolAcquireEncoding.d.ts +15 -0
- package/dist/models/LiveStandbyPoolAcquireEncoding.js +20 -0
- package/dist/models/Scene.d.ts +6 -0
- package/dist/models/Scene.js +2 -0
- package/dist/models/SceneDynamics.d.ts +22 -0
- package/dist/models/SceneDynamics.js +20 -0
- package/dist/models/ScenePacing.d.ts +12 -0
- package/dist/models/ScenePacing.js +16 -0
- package/dist/models/SceneTension.d.ts +12 -0
- package/dist/models/SceneTension.js +16 -0
- package/dist/models/index.d.ts +8 -0
- package/dist/models/index.js +8 -0
- package/dist/streams/config/domainRestriction/DomainRestrictionApi.js +2 -2
- package/package.json +1 -1
|
@@ -240,7 +240,7 @@ var HeaderHandler = /** @class */ (function (_super) {
|
|
|
240
240
|
var headers = {
|
|
241
241
|
'X-Api-Key': apiKey,
|
|
242
242
|
'X-Api-Client': 'bitmovin-api-sdk-javascript',
|
|
243
|
-
'X-Api-Client-Version': '1.
|
|
243
|
+
'X-Api-Client-Version': '1.255.1',
|
|
244
244
|
'Content-Type': 'application/json'
|
|
245
245
|
};
|
|
246
246
|
if (tenantOrgId) {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { BaseAPI } from '../../../../common/BaseAPI';
|
|
2
2
|
import Configuration from '../../../../common/Configuration';
|
|
3
|
+
import LiveStandbyPoolAcquireEncoding from '../../../../models/LiveStandbyPoolAcquireEncoding';
|
|
3
4
|
import LiveStandbyPoolEncoding from '../../../../models/LiveStandbyPoolEncoding';
|
|
4
5
|
/**
|
|
5
6
|
* ActionsApi - object-oriented interface
|
|
@@ -12,10 +13,11 @@ export default class ActionsApi extends BaseAPI {
|
|
|
12
13
|
/**
|
|
13
14
|
* @summary Acquire an encoding from a standby pool
|
|
14
15
|
* @param {string} poolId Id of the standby pool
|
|
16
|
+
* @param {LiveStandbyPoolAcquireEncoding} [liveStandbyPoolAcquireEncoding] The optionally provided payload for acquiring an encoding
|
|
15
17
|
* @throws {BitmovinError}
|
|
16
18
|
* @memberof ActionsApi
|
|
17
19
|
*/
|
|
18
|
-
acquireEncoding(poolId: string): Promise<LiveStandbyPoolEncoding>;
|
|
20
|
+
acquireEncoding(poolId: string, liveStandbyPoolAcquireEncoding?: LiveStandbyPoolAcquireEncoding): Promise<LiveStandbyPoolEncoding>;
|
|
19
21
|
/**
|
|
20
22
|
* @summary Delete error encodings from the standby pool
|
|
21
23
|
* @param {string} poolId Id of the standby pool
|
|
@@ -32,14 +32,15 @@ var ActionsApi = /** @class */ (function (_super) {
|
|
|
32
32
|
/**
|
|
33
33
|
* @summary Acquire an encoding from a standby pool
|
|
34
34
|
* @param {string} poolId Id of the standby pool
|
|
35
|
+
* @param {LiveStandbyPoolAcquireEncoding} [liveStandbyPoolAcquireEncoding] The optionally provided payload for acquiring an encoding
|
|
35
36
|
* @throws {BitmovinError}
|
|
36
37
|
* @memberof ActionsApi
|
|
37
38
|
*/
|
|
38
|
-
ActionsApi.prototype.acquireEncoding = function (poolId) {
|
|
39
|
+
ActionsApi.prototype.acquireEncoding = function (poolId, liveStandbyPoolAcquireEncoding) {
|
|
39
40
|
var pathParamMap = {
|
|
40
41
|
pool_id: poolId
|
|
41
42
|
};
|
|
42
|
-
return this.restClient.post('/encoding/live/standby-pools/{pool_id}/actions/acquire-encoding', pathParamMap).then(function (response) {
|
|
43
|
+
return this.restClient.post('/encoding/live/standby-pools/{pool_id}/actions/acquire-encoding', pathParamMap, liveStandbyPoolAcquireEncoding).then(function (response) {
|
|
43
44
|
return (0, Mapper_1.map)(response, LiveStandbyPoolEncoding_1.default);
|
|
44
45
|
});
|
|
45
46
|
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @export
|
|
3
|
+
* @class AdOpportunity
|
|
4
|
+
*/
|
|
5
|
+
export declare class AdOpportunity {
|
|
6
|
+
/**
|
|
7
|
+
* The reason why the scene was rated with a certain score
|
|
8
|
+
* @type {string}
|
|
9
|
+
* @memberof AdOpportunity
|
|
10
|
+
*/
|
|
11
|
+
reason?: string;
|
|
12
|
+
/**
|
|
13
|
+
* Score from 0.0 to 1.0 rating the ad placement suitability at the end of a scene based on content analysis
|
|
14
|
+
* @type {number}
|
|
15
|
+
* @memberof AdOpportunity
|
|
16
|
+
*/
|
|
17
|
+
score?: number;
|
|
18
|
+
constructor(obj?: Partial<AdOpportunity>);
|
|
19
|
+
}
|
|
20
|
+
export default AdOpportunity;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AdOpportunity = void 0;
|
|
4
|
+
var Mapper_1 = require("../common/Mapper");
|
|
5
|
+
/**
|
|
6
|
+
* @export
|
|
7
|
+
* @class AdOpportunity
|
|
8
|
+
*/
|
|
9
|
+
var AdOpportunity = /** @class */ (function () {
|
|
10
|
+
function AdOpportunity(obj) {
|
|
11
|
+
if (!obj) {
|
|
12
|
+
return;
|
|
13
|
+
}
|
|
14
|
+
this.reason = (0, Mapper_1.map)(obj.reason);
|
|
15
|
+
this.score = (0, Mapper_1.map)(obj.score);
|
|
16
|
+
}
|
|
17
|
+
return AdOpportunity;
|
|
18
|
+
}());
|
|
19
|
+
exports.AdOpportunity = AdOpportunity;
|
|
20
|
+
exports.default = AdOpportunity;
|
package/dist/models/Content.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import Character from './Character';
|
|
2
|
+
import SceneDynamics from './SceneDynamics';
|
|
2
3
|
import SceneObject from './SceneObject';
|
|
3
4
|
import Setting from './Setting';
|
|
4
5
|
/**
|
|
@@ -21,6 +22,11 @@ export declare class Content {
|
|
|
21
22
|
* @memberof Content
|
|
22
23
|
*/
|
|
23
24
|
settings?: Setting[];
|
|
25
|
+
/**
|
|
26
|
+
* @type {SceneDynamics}
|
|
27
|
+
* @memberof Content
|
|
28
|
+
*/
|
|
29
|
+
dynamics?: SceneDynamics;
|
|
24
30
|
constructor(obj?: Partial<Content>);
|
|
25
31
|
}
|
|
26
32
|
export default Content;
|
package/dist/models/Content.js
CHANGED
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.Content = void 0;
|
|
4
4
|
var Mapper_1 = require("../common/Mapper");
|
|
5
5
|
var Character_1 = require("./Character");
|
|
6
|
+
var SceneDynamics_1 = require("./SceneDynamics");
|
|
6
7
|
var SceneObject_1 = require("./SceneObject");
|
|
7
8
|
var Setting_1 = require("./Setting");
|
|
8
9
|
/**
|
|
@@ -17,6 +18,7 @@ var Content = /** @class */ (function () {
|
|
|
17
18
|
this.characters = (0, Mapper_1.mapArray)(obj.characters, Character_1.default);
|
|
18
19
|
this.objects = (0, Mapper_1.mapArray)(obj.objects, SceneObject_1.default);
|
|
19
20
|
this.settings = (0, Mapper_1.mapArray)(obj.settings, Setting_1.default);
|
|
21
|
+
this.dynamics = (0, Mapper_1.map)(obj.dynamics, SceneDynamics_1.default);
|
|
20
22
|
}
|
|
21
23
|
return Content;
|
|
22
24
|
}());
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import AudioConfiguration from './AudioConfiguration';
|
|
2
2
|
import CodecConfigType from './CodecConfigType';
|
|
3
3
|
import DolbyAtmosLoudnessControl from './DolbyAtmosLoudnessControl';
|
|
4
|
+
import DolbyAtmosPreprocessing from './DolbyAtmosPreprocessing';
|
|
4
5
|
/**
|
|
5
6
|
* @export
|
|
6
7
|
* @class DolbyAtmosAudioConfiguration
|
|
@@ -18,6 +19,11 @@ export declare class DolbyAtmosAudioConfiguration extends AudioConfiguration {
|
|
|
18
19
|
* @memberof DolbyAtmosAudioConfiguration
|
|
19
20
|
*/
|
|
20
21
|
loudnessControl?: DolbyAtmosLoudnessControl;
|
|
22
|
+
/**
|
|
23
|
+
* @type {DolbyAtmosPreprocessing}
|
|
24
|
+
* @memberof DolbyAtmosAudioConfiguration
|
|
25
|
+
*/
|
|
26
|
+
preprocessing?: DolbyAtmosPreprocessing;
|
|
21
27
|
constructor(obj?: Partial<DolbyAtmosAudioConfiguration>);
|
|
22
28
|
}
|
|
23
29
|
export default DolbyAtmosAudioConfiguration;
|
|
@@ -20,6 +20,7 @@ var Mapper_1 = require("../common/Mapper");
|
|
|
20
20
|
var AudioConfiguration_1 = require("./AudioConfiguration");
|
|
21
21
|
var CodecConfigType_1 = require("./CodecConfigType");
|
|
22
22
|
var DolbyAtmosLoudnessControl_1 = require("./DolbyAtmosLoudnessControl");
|
|
23
|
+
var DolbyAtmosPreprocessing_1 = require("./DolbyAtmosPreprocessing");
|
|
23
24
|
/**
|
|
24
25
|
* @export
|
|
25
26
|
* @class DolbyAtmosAudioConfiguration
|
|
@@ -38,6 +39,7 @@ var DolbyAtmosAudioConfiguration = /** @class */ (function (_super) {
|
|
|
38
39
|
return _this;
|
|
39
40
|
}
|
|
40
41
|
_this.loudnessControl = (0, Mapper_1.map)(obj.loudnessControl, DolbyAtmosLoudnessControl_1.default);
|
|
42
|
+
_this.preprocessing = (0, Mapper_1.map)(obj.preprocessing, DolbyAtmosPreprocessing_1.default);
|
|
41
43
|
return _this;
|
|
42
44
|
}
|
|
43
45
|
return DolbyAtmosAudioConfiguration;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import DolbyAtmosDynamicRangeCompressionMode from './DolbyAtmosDynamicRangeCompressionMode';
|
|
2
|
+
/**
|
|
3
|
+
* @export
|
|
4
|
+
* @class DolbyAtmosDynamicRangeCompression
|
|
5
|
+
*/
|
|
6
|
+
export declare class DolbyAtmosDynamicRangeCompression {
|
|
7
|
+
/**
|
|
8
|
+
* Line mode is intended for use in products providing line‐level or speaker‐level outputs, and is applicable to the widest range of products. Products such as set‐top boxes, DVD players, DTVs, A/V surround decoders, and outboard Dolby Atmos decoders typically use this mode.
|
|
9
|
+
* @type {DolbyAtmosDynamicRangeCompressionMode}
|
|
10
|
+
* @memberof DolbyAtmosDynamicRangeCompression
|
|
11
|
+
*/
|
|
12
|
+
lineMode?: DolbyAtmosDynamicRangeCompressionMode;
|
|
13
|
+
/**
|
|
14
|
+
* RF mode is intended for products such as a low‐cost television receivers.
|
|
15
|
+
* @type {DolbyAtmosDynamicRangeCompressionMode}
|
|
16
|
+
* @memberof DolbyAtmosDynamicRangeCompression
|
|
17
|
+
*/
|
|
18
|
+
rfMode?: DolbyAtmosDynamicRangeCompressionMode;
|
|
19
|
+
constructor(obj?: Partial<DolbyAtmosDynamicRangeCompression>);
|
|
20
|
+
}
|
|
21
|
+
export default DolbyAtmosDynamicRangeCompression;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DolbyAtmosDynamicRangeCompression = void 0;
|
|
4
|
+
var Mapper_1 = require("../common/Mapper");
|
|
5
|
+
/**
|
|
6
|
+
* @export
|
|
7
|
+
* @class DolbyAtmosDynamicRangeCompression
|
|
8
|
+
*/
|
|
9
|
+
var DolbyAtmosDynamicRangeCompression = /** @class */ (function () {
|
|
10
|
+
function DolbyAtmosDynamicRangeCompression(obj) {
|
|
11
|
+
if (!obj) {
|
|
12
|
+
return;
|
|
13
|
+
}
|
|
14
|
+
this.lineMode = (0, Mapper_1.map)(obj.lineMode);
|
|
15
|
+
this.rfMode = (0, Mapper_1.map)(obj.rfMode);
|
|
16
|
+
}
|
|
17
|
+
return DolbyAtmosDynamicRangeCompression;
|
|
18
|
+
}());
|
|
19
|
+
exports.DolbyAtmosDynamicRangeCompression = DolbyAtmosDynamicRangeCompression;
|
|
20
|
+
exports.default = DolbyAtmosDynamicRangeCompression;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dynamic range compression processing mode
|
|
3
|
+
* @export
|
|
4
|
+
* @enum {string}
|
|
5
|
+
*/
|
|
6
|
+
export declare enum DolbyAtmosDynamicRangeCompressionMode {
|
|
7
|
+
AUTO = "AUTO",
|
|
8
|
+
NONE = "NONE",
|
|
9
|
+
FILM_STANDARD = "FILM_STANDARD",
|
|
10
|
+
FILM_LIGHT = "FILM_LIGHT",
|
|
11
|
+
MUSIC_STANDARD = "MUSIC_STANDARD",
|
|
12
|
+
MUSIC_LIGHT = "MUSIC_LIGHT",
|
|
13
|
+
SPEECH = "SPEECH"
|
|
14
|
+
}
|
|
15
|
+
export default DolbyAtmosDynamicRangeCompressionMode;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DolbyAtmosDynamicRangeCompressionMode = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Dynamic range compression processing mode
|
|
6
|
+
* @export
|
|
7
|
+
* @enum {string}
|
|
8
|
+
*/
|
|
9
|
+
var DolbyAtmosDynamicRangeCompressionMode;
|
|
10
|
+
(function (DolbyAtmosDynamicRangeCompressionMode) {
|
|
11
|
+
DolbyAtmosDynamicRangeCompressionMode["AUTO"] = "AUTO";
|
|
12
|
+
DolbyAtmosDynamicRangeCompressionMode["NONE"] = "NONE";
|
|
13
|
+
DolbyAtmosDynamicRangeCompressionMode["FILM_STANDARD"] = "FILM_STANDARD";
|
|
14
|
+
DolbyAtmosDynamicRangeCompressionMode["FILM_LIGHT"] = "FILM_LIGHT";
|
|
15
|
+
DolbyAtmosDynamicRangeCompressionMode["MUSIC_STANDARD"] = "MUSIC_STANDARD";
|
|
16
|
+
DolbyAtmosDynamicRangeCompressionMode["MUSIC_LIGHT"] = "MUSIC_LIGHT";
|
|
17
|
+
DolbyAtmosDynamicRangeCompressionMode["SPEECH"] = "SPEECH";
|
|
18
|
+
})(DolbyAtmosDynamicRangeCompressionMode || (exports.DolbyAtmosDynamicRangeCompressionMode = DolbyAtmosDynamicRangeCompressionMode = {}));
|
|
19
|
+
exports.default = DolbyAtmosDynamicRangeCompressionMode;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import DolbyAtmosDynamicRangeCompression from './DolbyAtmosDynamicRangeCompression';
|
|
2
|
+
/**
|
|
3
|
+
* @export
|
|
4
|
+
* @class DolbyAtmosPreprocessing
|
|
5
|
+
*/
|
|
6
|
+
export declare class DolbyAtmosPreprocessing {
|
|
7
|
+
/**
|
|
8
|
+
* It indicates a gain change to be applied in the Dolby Atmos decoder in order to implement dynamic range compression. The values typically indicate gain reductions (cut) during loud passages and gain increases (boost) during quiet passages based on desired compression characteristics.
|
|
9
|
+
* @type {DolbyAtmosDynamicRangeCompression}
|
|
10
|
+
* @memberof DolbyAtmosPreprocessing
|
|
11
|
+
*/
|
|
12
|
+
dynamicRangeCompression?: DolbyAtmosDynamicRangeCompression;
|
|
13
|
+
constructor(obj?: Partial<DolbyAtmosPreprocessing>);
|
|
14
|
+
}
|
|
15
|
+
export default DolbyAtmosPreprocessing;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DolbyAtmosPreprocessing = void 0;
|
|
4
|
+
var Mapper_1 = require("../common/Mapper");
|
|
5
|
+
var DolbyAtmosDynamicRangeCompression_1 = require("./DolbyAtmosDynamicRangeCompression");
|
|
6
|
+
/**
|
|
7
|
+
* @export
|
|
8
|
+
* @class DolbyAtmosPreprocessing
|
|
9
|
+
*/
|
|
10
|
+
var DolbyAtmosPreprocessing = /** @class */ (function () {
|
|
11
|
+
function DolbyAtmosPreprocessing(obj) {
|
|
12
|
+
if (!obj) {
|
|
13
|
+
return;
|
|
14
|
+
}
|
|
15
|
+
this.dynamicRangeCompression = (0, Mapper_1.map)(obj.dynamicRangeCompression, DolbyAtmosDynamicRangeCompression_1.default);
|
|
16
|
+
}
|
|
17
|
+
return DolbyAtmosPreprocessing;
|
|
18
|
+
}());
|
|
19
|
+
exports.DolbyAtmosPreprocessing = DolbyAtmosPreprocessing;
|
|
20
|
+
exports.default = DolbyAtmosPreprocessing;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import LiveStandbyPoolEncodingIngestPoint from './LiveStandbyPoolEncodingIngestPoint';
|
|
2
|
+
/**
|
|
3
|
+
* @export
|
|
4
|
+
* @class LiveStandbyPoolAcquireEncoding
|
|
5
|
+
*/
|
|
6
|
+
export declare class LiveStandbyPoolAcquireEncoding {
|
|
7
|
+
/**
|
|
8
|
+
* Note: This is not implemented yet and will be ignored if provided. List of ingest points to be used for the acquired encoding. The DNS hostname and RTMPs application name and streamKey will be assigned to the encoding.
|
|
9
|
+
* @type {LiveStandbyPoolEncodingIngestPoint[]}
|
|
10
|
+
* @memberof LiveStandbyPoolAcquireEncoding
|
|
11
|
+
*/
|
|
12
|
+
ingestPoints?: LiveStandbyPoolEncodingIngestPoint[];
|
|
13
|
+
constructor(obj?: Partial<LiveStandbyPoolAcquireEncoding>);
|
|
14
|
+
}
|
|
15
|
+
export default LiveStandbyPoolAcquireEncoding;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LiveStandbyPoolAcquireEncoding = void 0;
|
|
4
|
+
var Mapper_1 = require("../common/Mapper");
|
|
5
|
+
var LiveStandbyPoolEncodingIngestPoint_1 = require("./LiveStandbyPoolEncodingIngestPoint");
|
|
6
|
+
/**
|
|
7
|
+
* @export
|
|
8
|
+
* @class LiveStandbyPoolAcquireEncoding
|
|
9
|
+
*/
|
|
10
|
+
var LiveStandbyPoolAcquireEncoding = /** @class */ (function () {
|
|
11
|
+
function LiveStandbyPoolAcquireEncoding(obj) {
|
|
12
|
+
if (!obj) {
|
|
13
|
+
return;
|
|
14
|
+
}
|
|
15
|
+
this.ingestPoints = (0, Mapper_1.mapArray)(obj.ingestPoints, LiveStandbyPoolEncodingIngestPoint_1.default);
|
|
16
|
+
}
|
|
17
|
+
return LiveStandbyPoolAcquireEncoding;
|
|
18
|
+
}());
|
|
19
|
+
exports.LiveStandbyPoolAcquireEncoding = LiveStandbyPoolAcquireEncoding;
|
|
20
|
+
exports.default = LiveStandbyPoolAcquireEncoding;
|
package/dist/models/Scene.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import AdOpportunity from './AdOpportunity';
|
|
1
2
|
import Content from './Content';
|
|
2
3
|
import IABTaxonomy from './IABTaxonomy';
|
|
3
4
|
import SceneType from './SceneType';
|
|
@@ -69,6 +70,11 @@ export declare class Scene {
|
|
|
69
70
|
* @memberof Scene
|
|
70
71
|
*/
|
|
71
72
|
shots?: Shot[];
|
|
73
|
+
/**
|
|
74
|
+
* @type {AdOpportunity}
|
|
75
|
+
* @memberof Scene
|
|
76
|
+
*/
|
|
77
|
+
adOpportunityInformation?: AdOpportunity;
|
|
72
78
|
constructor(obj?: Partial<Scene>);
|
|
73
79
|
}
|
|
74
80
|
export default Scene;
|
package/dist/models/Scene.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Scene = void 0;
|
|
4
4
|
var Mapper_1 = require("../common/Mapper");
|
|
5
|
+
var AdOpportunity_1 = require("./AdOpportunity");
|
|
5
6
|
var Content_1 = require("./Content");
|
|
6
7
|
var IABTaxonomy_1 = require("./IABTaxonomy");
|
|
7
8
|
var Shot_1 = require("./Shot");
|
|
@@ -26,6 +27,7 @@ var Scene = /** @class */ (function () {
|
|
|
26
27
|
this.iab = (0, Mapper_1.map)(obj.iab, IABTaxonomy_1.default);
|
|
27
28
|
this.type = (0, Mapper_1.map)(obj.type);
|
|
28
29
|
this.shots = (0, Mapper_1.mapArray)(obj.shots, Shot_1.default);
|
|
30
|
+
this.adOpportunityInformation = (0, Mapper_1.map)(obj.adOpportunityInformation, AdOpportunity_1.default);
|
|
29
31
|
}
|
|
30
32
|
return Scene;
|
|
31
33
|
}());
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import ScenePacing from './ScenePacing';
|
|
2
|
+
import SceneTension from './SceneTension';
|
|
3
|
+
/**
|
|
4
|
+
* @export
|
|
5
|
+
* @class SceneDynamics
|
|
6
|
+
*/
|
|
7
|
+
export declare class SceneDynamics {
|
|
8
|
+
/**
|
|
9
|
+
* The detected tension of the scene based on content analysis
|
|
10
|
+
* @type {SceneTension}
|
|
11
|
+
* @memberof SceneDynamics
|
|
12
|
+
*/
|
|
13
|
+
tension?: SceneTension;
|
|
14
|
+
/**
|
|
15
|
+
* The detected pacing of the scene based on content analysis
|
|
16
|
+
* @type {ScenePacing}
|
|
17
|
+
* @memberof SceneDynamics
|
|
18
|
+
*/
|
|
19
|
+
pacing?: ScenePacing;
|
|
20
|
+
constructor(obj?: Partial<SceneDynamics>);
|
|
21
|
+
}
|
|
22
|
+
export default SceneDynamics;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SceneDynamics = void 0;
|
|
4
|
+
var Mapper_1 = require("../common/Mapper");
|
|
5
|
+
/**
|
|
6
|
+
* @export
|
|
7
|
+
* @class SceneDynamics
|
|
8
|
+
*/
|
|
9
|
+
var SceneDynamics = /** @class */ (function () {
|
|
10
|
+
function SceneDynamics(obj) {
|
|
11
|
+
if (!obj) {
|
|
12
|
+
return;
|
|
13
|
+
}
|
|
14
|
+
this.tension = (0, Mapper_1.map)(obj.tension);
|
|
15
|
+
this.pacing = (0, Mapper_1.map)(obj.pacing);
|
|
16
|
+
}
|
|
17
|
+
return SceneDynamics;
|
|
18
|
+
}());
|
|
19
|
+
exports.SceneDynamics = SceneDynamics;
|
|
20
|
+
exports.default = SceneDynamics;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ScenePacing = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* @export
|
|
6
|
+
* @enum {string}
|
|
7
|
+
*/
|
|
8
|
+
var ScenePacing;
|
|
9
|
+
(function (ScenePacing) {
|
|
10
|
+
ScenePacing["SLOW"] = "SLOW";
|
|
11
|
+
ScenePacing["MEASURED"] = "MEASURED";
|
|
12
|
+
ScenePacing["BRISK"] = "BRISK";
|
|
13
|
+
ScenePacing["FRANTIC"] = "FRANTIC";
|
|
14
|
+
ScenePacing["UNKNOWN"] = "UNKNOWN";
|
|
15
|
+
})(ScenePacing || (exports.ScenePacing = ScenePacing = {}));
|
|
16
|
+
exports.default = ScenePacing;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SceneTension = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* @export
|
|
6
|
+
* @enum {string}
|
|
7
|
+
*/
|
|
8
|
+
var SceneTension;
|
|
9
|
+
(function (SceneTension) {
|
|
10
|
+
SceneTension["EXTREME"] = "EXTREME";
|
|
11
|
+
SceneTension["HIGH"] = "HIGH";
|
|
12
|
+
SceneTension["MODERATE"] = "MODERATE";
|
|
13
|
+
SceneTension["LOW"] = "LOW";
|
|
14
|
+
SceneTension["UNKNOWN"] = "UNKNOWN";
|
|
15
|
+
})(SceneTension || (exports.SceneTension = SceneTension = {}));
|
|
16
|
+
exports.default = SceneTension;
|
package/dist/models/index.d.ts
CHANGED
|
@@ -34,6 +34,7 @@ export * from './AdAnalyticsSumQueryRequest';
|
|
|
34
34
|
export * from './AdAnalyticsVarianceQueryRequest';
|
|
35
35
|
export * from './AdInsertionSettings';
|
|
36
36
|
export * from './AdMarkersSource';
|
|
37
|
+
export * from './AdOpportunity';
|
|
37
38
|
export * from './AdPosition';
|
|
38
39
|
export * from './AdaptationSet';
|
|
39
40
|
export * from './AdaptationSetRole';
|
|
@@ -289,10 +290,13 @@ export * from './DirectFileUploadInput';
|
|
|
289
290
|
export * from './DisplayAspectRatio';
|
|
290
291
|
export * from './DolbyAtmosAudioConfiguration';
|
|
291
292
|
export * from './DolbyAtmosDialogueIntelligence';
|
|
293
|
+
export * from './DolbyAtmosDynamicRangeCompression';
|
|
294
|
+
export * from './DolbyAtmosDynamicRangeCompressionMode';
|
|
292
295
|
export * from './DolbyAtmosIngestInputStream';
|
|
293
296
|
export * from './DolbyAtmosInputFormat';
|
|
294
297
|
export * from './DolbyAtmosLoudnessControl';
|
|
295
298
|
export * from './DolbyAtmosMeteringMode';
|
|
299
|
+
export * from './DolbyAtmosPreprocessing';
|
|
296
300
|
export * from './DolbyDigitalAudioConfiguration';
|
|
297
301
|
export * from './DolbyDigitalBitstreamInfo';
|
|
298
302
|
export * from './DolbyDigitalCenterMixLevel';
|
|
@@ -517,6 +521,7 @@ export * from './LiveOptionsEntry';
|
|
|
517
521
|
export * from './LiveOptionsStatistics';
|
|
518
522
|
export * from './LiveOptionsSummary';
|
|
519
523
|
export * from './LiveOptionsType';
|
|
524
|
+
export * from './LiveStandbyPoolAcquireEncoding';
|
|
520
525
|
export * from './LiveStandbyPoolDetails';
|
|
521
526
|
export * from './LiveStandbyPoolEncoding';
|
|
522
527
|
export * from './LiveStandbyPoolEncodingIngestPoint';
|
|
@@ -684,7 +689,10 @@ export * from './Scene';
|
|
|
684
689
|
export * from './SceneAnalysisAdPlacementMetadataResponse';
|
|
685
690
|
export * from './SceneAnalysisDetailsResponse';
|
|
686
691
|
export * from './SceneAnalysisLanguagesResponse';
|
|
692
|
+
export * from './SceneDynamics';
|
|
687
693
|
export * from './SceneObject';
|
|
694
|
+
export * from './ScenePacing';
|
|
695
|
+
export * from './SceneTension';
|
|
688
696
|
export * from './SceneType';
|
|
689
697
|
export * from './ScheduledInsertableContent';
|
|
690
698
|
export * from './ScheduledInsertableContentStatus';
|
package/dist/models/index.js
CHANGED
|
@@ -50,6 +50,7 @@ __exportStar(require("./AdAnalyticsSumQueryRequest"), exports);
|
|
|
50
50
|
__exportStar(require("./AdAnalyticsVarianceQueryRequest"), exports);
|
|
51
51
|
__exportStar(require("./AdInsertionSettings"), exports);
|
|
52
52
|
__exportStar(require("./AdMarkersSource"), exports);
|
|
53
|
+
__exportStar(require("./AdOpportunity"), exports);
|
|
53
54
|
__exportStar(require("./AdPosition"), exports);
|
|
54
55
|
__exportStar(require("./AdaptationSet"), exports);
|
|
55
56
|
__exportStar(require("./AdaptationSetRole"), exports);
|
|
@@ -305,10 +306,13 @@ __exportStar(require("./DirectFileUploadInput"), exports);
|
|
|
305
306
|
__exportStar(require("./DisplayAspectRatio"), exports);
|
|
306
307
|
__exportStar(require("./DolbyAtmosAudioConfiguration"), exports);
|
|
307
308
|
__exportStar(require("./DolbyAtmosDialogueIntelligence"), exports);
|
|
309
|
+
__exportStar(require("./DolbyAtmosDynamicRangeCompression"), exports);
|
|
310
|
+
__exportStar(require("./DolbyAtmosDynamicRangeCompressionMode"), exports);
|
|
308
311
|
__exportStar(require("./DolbyAtmosIngestInputStream"), exports);
|
|
309
312
|
__exportStar(require("./DolbyAtmosInputFormat"), exports);
|
|
310
313
|
__exportStar(require("./DolbyAtmosLoudnessControl"), exports);
|
|
311
314
|
__exportStar(require("./DolbyAtmosMeteringMode"), exports);
|
|
315
|
+
__exportStar(require("./DolbyAtmosPreprocessing"), exports);
|
|
312
316
|
__exportStar(require("./DolbyDigitalAudioConfiguration"), exports);
|
|
313
317
|
__exportStar(require("./DolbyDigitalBitstreamInfo"), exports);
|
|
314
318
|
__exportStar(require("./DolbyDigitalCenterMixLevel"), exports);
|
|
@@ -533,6 +537,7 @@ __exportStar(require("./LiveOptionsEntry"), exports);
|
|
|
533
537
|
__exportStar(require("./LiveOptionsStatistics"), exports);
|
|
534
538
|
__exportStar(require("./LiveOptionsSummary"), exports);
|
|
535
539
|
__exportStar(require("./LiveOptionsType"), exports);
|
|
540
|
+
__exportStar(require("./LiveStandbyPoolAcquireEncoding"), exports);
|
|
536
541
|
__exportStar(require("./LiveStandbyPoolDetails"), exports);
|
|
537
542
|
__exportStar(require("./LiveStandbyPoolEncoding"), exports);
|
|
538
543
|
__exportStar(require("./LiveStandbyPoolEncodingIngestPoint"), exports);
|
|
@@ -700,7 +705,10 @@ __exportStar(require("./Scene"), exports);
|
|
|
700
705
|
__exportStar(require("./SceneAnalysisAdPlacementMetadataResponse"), exports);
|
|
701
706
|
__exportStar(require("./SceneAnalysisDetailsResponse"), exports);
|
|
702
707
|
__exportStar(require("./SceneAnalysisLanguagesResponse"), exports);
|
|
708
|
+
__exportStar(require("./SceneDynamics"), exports);
|
|
703
709
|
__exportStar(require("./SceneObject"), exports);
|
|
710
|
+
__exportStar(require("./ScenePacing"), exports);
|
|
711
|
+
__exportStar(require("./SceneTension"), exports);
|
|
704
712
|
__exportStar(require("./SceneType"), exports);
|
|
705
713
|
__exportStar(require("./ScheduledInsertableContent"), exports);
|
|
706
714
|
__exportStar(require("./ScheduledInsertableContentStatus"), exports);
|
|
@@ -38,7 +38,7 @@ var DomainRestrictionApi = /** @class */ (function (_super) {
|
|
|
38
38
|
* @memberof DomainRestrictionApi
|
|
39
39
|
*/
|
|
40
40
|
DomainRestrictionApi.prototype.create = function (streamsDomainRestrictionCreateRequest) {
|
|
41
|
-
return this.restClient.post('/streams/config/domain-restriction
|
|
41
|
+
return this.restClient.post('/streams/config/domain-restriction', {}, streamsDomainRestrictionCreateRequest).then(function (response) {
|
|
42
42
|
return (0, Mapper_1.map)(response, StreamsDomainRestrictionResponse_1.default);
|
|
43
43
|
});
|
|
44
44
|
};
|
|
@@ -84,7 +84,7 @@ var DomainRestrictionApi = /** @class */ (function (_super) {
|
|
|
84
84
|
else if (queryParameters) {
|
|
85
85
|
queryParams = queryParameters;
|
|
86
86
|
}
|
|
87
|
-
return this.restClient.get('/streams/config/domain-restriction
|
|
87
|
+
return this.restClient.get('/streams/config/domain-restriction', {}, queryParams).then(function (response) {
|
|
88
88
|
return new PaginationResponse_1.default(response, StreamsDomainRestrictionResponse_1.default);
|
|
89
89
|
});
|
|
90
90
|
};
|