@bitmovin/api-sdk 1.239.0 → 1.241.0

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.239.0',
243
+ 'X-Api-Client-Version': '1.241.0',
244
244
  'Content-Type': 'application/json'
245
245
  };
246
246
  if (tenantOrgId) {
@@ -0,0 +1,13 @@
1
+ /**
2
+ * @export
3
+ * @class AdPosition
4
+ */
5
+ export declare class AdPosition {
6
+ /**
7
+ * @type {number}
8
+ * @memberof AdPosition
9
+ */
10
+ position?: number;
11
+ constructor(obj?: Partial<AdPosition>);
12
+ }
13
+ export default AdPosition;
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AdPosition = void 0;
4
+ var Mapper_1 = require("../common/Mapper");
5
+ /**
6
+ * @export
7
+ * @class AdPosition
8
+ */
9
+ var AdPosition = /** @class */ (function () {
10
+ function AdPosition(obj) {
11
+ if (!obj) {
12
+ return;
13
+ }
14
+ this.position = (0, Mapper_1.map)(obj.position);
15
+ }
16
+ return AdPosition;
17
+ }());
18
+ exports.AdPosition = AdPosition;
19
+ exports.default = AdPosition;
@@ -1,5 +1,6 @@
1
1
  import Content from './Content';
2
2
  import IABTaxonomy from './IABTaxonomy';
3
+ import SceneType from './SceneType';
3
4
  /**
4
5
  * @export
5
6
  * @class Scene
@@ -55,6 +56,18 @@ export declare class Scene {
55
56
  * @memberof Scene
56
57
  */
57
58
  iab?: IABTaxonomy;
59
+ /**
60
+ * The detected type of scene based on content analysis
61
+ * @type {SceneType}
62
+ * @memberof Scene
63
+ */
64
+ type?: SceneType;
65
+ /**
66
+ * Confidence score for the detected scene type (0.0 to 1.0)
67
+ * @type {number}
68
+ * @memberof Scene
69
+ */
70
+ typeConfidence?: number;
58
71
  constructor(obj?: Partial<Scene>);
59
72
  }
60
73
  export default Scene;
@@ -23,6 +23,8 @@ var Scene = /** @class */ (function () {
23
23
  this.sensitiveTopics = (0, Mapper_1.mapArray)(obj.sensitiveTopics);
24
24
  this.keywords = (0, Mapper_1.mapArray)(obj.keywords);
25
25
  this.iab = (0, Mapper_1.map)(obj.iab, IABTaxonomy_1.default);
26
+ this.type = (0, Mapper_1.map)(obj.type);
27
+ this.typeConfidence = (0, Mapper_1.map)(obj.typeConfidence);
26
28
  }
27
29
  return Scene;
28
30
  }());
@@ -0,0 +1,20 @@
1
+ import AdPosition from './AdPosition';
2
+ import AiSceneAnalysisAutomaticAdPlacement from './AiSceneAnalysisAutomaticAdPlacement';
3
+ /**
4
+ * @export
5
+ * @class SceneAnalysisAdPlacementMetadataResponse
6
+ */
7
+ export declare class SceneAnalysisAdPlacementMetadataResponse {
8
+ /**
9
+ * @type {AdPosition[]}
10
+ * @memberof SceneAnalysisAdPlacementMetadataResponse
11
+ */
12
+ placedAds?: AdPosition[];
13
+ /**
14
+ * @type {AiSceneAnalysisAutomaticAdPlacement}
15
+ * @memberof SceneAnalysisAdPlacementMetadataResponse
16
+ */
17
+ automaticAdPlacement?: AiSceneAnalysisAutomaticAdPlacement;
18
+ constructor(obj?: Partial<SceneAnalysisAdPlacementMetadataResponse>);
19
+ }
20
+ export default SceneAnalysisAdPlacementMetadataResponse;
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SceneAnalysisAdPlacementMetadataResponse = void 0;
4
+ var Mapper_1 = require("../common/Mapper");
5
+ var AdPosition_1 = require("./AdPosition");
6
+ var AiSceneAnalysisAutomaticAdPlacement_1 = require("./AiSceneAnalysisAutomaticAdPlacement");
7
+ /**
8
+ * @export
9
+ * @class SceneAnalysisAdPlacementMetadataResponse
10
+ */
11
+ var SceneAnalysisAdPlacementMetadataResponse = /** @class */ (function () {
12
+ function SceneAnalysisAdPlacementMetadataResponse(obj) {
13
+ if (!obj) {
14
+ return;
15
+ }
16
+ this.placedAds = (0, Mapper_1.mapArray)(obj.placedAds, AdPosition_1.default);
17
+ this.automaticAdPlacement = (0, Mapper_1.map)(obj.automaticAdPlacement, AiSceneAnalysisAutomaticAdPlacement_1.default);
18
+ }
19
+ return SceneAnalysisAdPlacementMetadataResponse;
20
+ }());
21
+ exports.SceneAnalysisAdPlacementMetadataResponse = SceneAnalysisAdPlacementMetadataResponse;
22
+ exports.default = SceneAnalysisAdPlacementMetadataResponse;
@@ -0,0 +1,23 @@
1
+ /**
2
+ * @export
3
+ * @enum {string}
4
+ */
5
+ export declare enum SceneType {
6
+ OPENING_TITLES = "OPENING_TITLES",
7
+ EPISODE_TITLE_CARD = "EPISODE_TITLE_CARD",
8
+ STUDIO_LOGO_BUMPER = "STUDIO_LOGO_BUMPER",
9
+ NETWORK_OR_PLATFORM_IDENT = "NETWORK_OR_PLATFORM_IDENT",
10
+ RECAP = "RECAP",
11
+ PREVIEW_THIS_TITLE = "PREVIEW_THIS_TITLE",
12
+ PROMO_OTHER_TITLE = "PROMO_OTHER_TITLE",
13
+ TRAILER_OTHER_TITLE = "TRAILER_OTHER_TITLE",
14
+ ADS = "ADS",
15
+ ACT_BREAK_EYECATCH = "ACT_BREAK_EYECATCH",
16
+ TECHNICAL_SLATE_OR_TEST = "TECHNICAL_SLATE_OR_TEST",
17
+ MAIN_CONTENT = "MAIN_CONTENT",
18
+ MID_CREDIT_SCENE = "MID_CREDIT_SCENE",
19
+ POST_CREDIT_SCENE = "POST_CREDIT_SCENE",
20
+ END_CREDITS = "END_CREDITS",
21
+ UNKNOWN = "UNKNOWN"
22
+ }
23
+ export default SceneType;
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SceneType = void 0;
4
+ /**
5
+ * @export
6
+ * @enum {string}
7
+ */
8
+ var SceneType;
9
+ (function (SceneType) {
10
+ SceneType["OPENING_TITLES"] = "OPENING_TITLES";
11
+ SceneType["EPISODE_TITLE_CARD"] = "EPISODE_TITLE_CARD";
12
+ SceneType["STUDIO_LOGO_BUMPER"] = "STUDIO_LOGO_BUMPER";
13
+ SceneType["NETWORK_OR_PLATFORM_IDENT"] = "NETWORK_OR_PLATFORM_IDENT";
14
+ SceneType["RECAP"] = "RECAP";
15
+ SceneType["PREVIEW_THIS_TITLE"] = "PREVIEW_THIS_TITLE";
16
+ SceneType["PROMO_OTHER_TITLE"] = "PROMO_OTHER_TITLE";
17
+ SceneType["TRAILER_OTHER_TITLE"] = "TRAILER_OTHER_TITLE";
18
+ SceneType["ADS"] = "ADS";
19
+ SceneType["ACT_BREAK_EYECATCH"] = "ACT_BREAK_EYECATCH";
20
+ SceneType["TECHNICAL_SLATE_OR_TEST"] = "TECHNICAL_SLATE_OR_TEST";
21
+ SceneType["MAIN_CONTENT"] = "MAIN_CONTENT";
22
+ SceneType["MID_CREDIT_SCENE"] = "MID_CREDIT_SCENE";
23
+ SceneType["POST_CREDIT_SCENE"] = "POST_CREDIT_SCENE";
24
+ SceneType["END_CREDITS"] = "END_CREDITS";
25
+ SceneType["UNKNOWN"] = "UNKNOWN";
26
+ })(SceneType || (exports.SceneType = SceneType = {}));
27
+ exports.default = SceneType;
@@ -32,6 +32,7 @@ export * from './AdAnalyticsQueryRequest';
32
32
  export * from './AdAnalyticsStddevQueryRequest';
33
33
  export * from './AdAnalyticsSumQueryRequest';
34
34
  export * from './AdAnalyticsVarianceQueryRequest';
35
+ export * from './AdPosition';
35
36
  export * from './AdaptationSet';
36
37
  export * from './AdaptationSetRole';
37
38
  export * from './AdaptationSetType';
@@ -665,9 +666,11 @@ export * from './ScaleFilter';
665
666
  export * from './ScalingAlgorithm';
666
667
  export * from './SccCaption';
667
668
  export * from './Scene';
669
+ export * from './SceneAnalysisAdPlacementMetadataResponse';
668
670
  export * from './SceneAnalysisDetailsResponse';
669
671
  export * from './SceneAnalysisLanguagesResponse';
670
672
  export * from './SceneObject';
673
+ export * from './SceneType';
671
674
  export * from './ScheduledInsertableContent';
672
675
  export * from './ScheduledInsertableContentStatus';
673
676
  export * from './Scheduling';
@@ -48,6 +48,7 @@ __exportStar(require("./AdAnalyticsQueryRequest"), exports);
48
48
  __exportStar(require("./AdAnalyticsStddevQueryRequest"), exports);
49
49
  __exportStar(require("./AdAnalyticsSumQueryRequest"), exports);
50
50
  __exportStar(require("./AdAnalyticsVarianceQueryRequest"), exports);
51
+ __exportStar(require("./AdPosition"), exports);
51
52
  __exportStar(require("./AdaptationSet"), exports);
52
53
  __exportStar(require("./AdaptationSetRole"), exports);
53
54
  __exportStar(require("./AdaptationSetType"), exports);
@@ -681,9 +682,11 @@ __exportStar(require("./ScaleFilter"), exports);
681
682
  __exportStar(require("./ScalingAlgorithm"), exports);
682
683
  __exportStar(require("./SccCaption"), exports);
683
684
  __exportStar(require("./Scene"), exports);
685
+ __exportStar(require("./SceneAnalysisAdPlacementMetadataResponse"), exports);
684
686
  __exportStar(require("./SceneAnalysisDetailsResponse"), exports);
685
687
  __exportStar(require("./SceneAnalysisLanguagesResponse"), exports);
686
688
  __exportStar(require("./SceneObject"), exports);
689
+ __exportStar(require("./SceneType"), exports);
687
690
  __exportStar(require("./ScheduledInsertableContent"), exports);
688
691
  __exportStar(require("./ScheduledInsertableContentStatus"), exports);
689
692
  __exportStar(require("./Scheduling"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitmovin/api-sdk",
3
- "version": "1.239.0",
3
+ "version": "1.241.0",
4
4
  "description": "Bitmovin JS/TS API SDK",
5
5
  "author": "Bitmovin Inc",
6
6
  "keywords": [