@bitmovin/api-sdk 1.255.0 → 1.255.2

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.
@@ -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.255.0',
243
+ 'X-Api-Client-Version': '1.255.2',
244
244
  'Content-Type': 'application/json'
245
245
  };
246
246
  if (tenantOrgId) {
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -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,12 @@
1
+ /**
2
+ * @export
3
+ * @enum {string}
4
+ */
5
+ export declare enum ScenePacing {
6
+ SLOW = "SLOW",
7
+ MEASURED = "MEASURED",
8
+ BRISK = "BRISK",
9
+ FRANTIC = "FRANTIC",
10
+ UNKNOWN = "UNKNOWN"
11
+ }
12
+ export default ScenePacing;
@@ -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,12 @@
1
+ /**
2
+ * @export
3
+ * @enum {string}
4
+ */
5
+ export declare enum SceneTension {
6
+ EXTREME = "EXTREME",
7
+ HIGH = "HIGH",
8
+ MODERATE = "MODERATE",
9
+ LOW = "LOW",
10
+ UNKNOWN = "UNKNOWN"
11
+ }
12
+ export default SceneTension;
@@ -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;
@@ -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';
@@ -685,7 +689,10 @@ export * from './Scene';
685
689
  export * from './SceneAnalysisAdPlacementMetadataResponse';
686
690
  export * from './SceneAnalysisDetailsResponse';
687
691
  export * from './SceneAnalysisLanguagesResponse';
692
+ export * from './SceneDynamics';
688
693
  export * from './SceneObject';
694
+ export * from './ScenePacing';
695
+ export * from './SceneTension';
689
696
  export * from './SceneType';
690
697
  export * from './ScheduledInsertableContent';
691
698
  export * from './ScheduledInsertableContentStatus';
@@ -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);
@@ -701,7 +705,10 @@ __exportStar(require("./Scene"), exports);
701
705
  __exportStar(require("./SceneAnalysisAdPlacementMetadataResponse"), exports);
702
706
  __exportStar(require("./SceneAnalysisDetailsResponse"), exports);
703
707
  __exportStar(require("./SceneAnalysisLanguagesResponse"), exports);
708
+ __exportStar(require("./SceneDynamics"), exports);
704
709
  __exportStar(require("./SceneObject"), exports);
710
+ __exportStar(require("./ScenePacing"), exports);
711
+ __exportStar(require("./SceneTension"), exports);
705
712
  __exportStar(require("./SceneType"), exports);
706
713
  __exportStar(require("./ScheduledInsertableContent"), exports);
707
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/', {}, streamsDomainRestrictionCreateRequest).then(function (response) {
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/', {}, queryParams).then(function (response) {
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
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitmovin/api-sdk",
3
- "version": "1.255.0",
3
+ "version": "1.255.2",
4
4
  "description": "Bitmovin JS/TS API SDK",
5
5
  "author": "Bitmovin Inc",
6
6
  "keywords": [