@bitmovin/api-sdk 1.252.0 → 1.254.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.
Files changed (42) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +1 -1
  3. package/dist/bitmovin-api-sdk.browser.js +5498 -5036
  4. package/dist/bitmovin-api-sdk.browser.min.js +1 -1
  5. package/dist/common/RestClient.js +1 -1
  6. package/dist/encoding/EncodingApi.d.ts +2 -2
  7. package/dist/encoding/EncodingApi.js +2 -2
  8. package/dist/encoding/encodings/EncodingsApi.d.ts +2 -0
  9. package/dist/encoding/encodings/EncodingsApi.js +2 -0
  10. package/dist/encoding/encodings/kantarWatermark/KantarWatermarkApi.d.ts +35 -0
  11. package/dist/encoding/encodings/kantarWatermark/KantarWatermarkApi.js +78 -0
  12. package/dist/encoding/encodings/live/LiveApi.d.ts +2 -0
  13. package/dist/encoding/encodings/live/LiveApi.js +2 -0
  14. package/dist/encoding/encodings/live/esam/EsamApi.d.ts +13 -0
  15. package/dist/encoding/encodings/live/esam/EsamApi.js +35 -0
  16. package/dist/encoding/encodings/live/esam/mediaPoints/MediaPointsApi.d.ts +20 -0
  17. package/dist/encoding/encodings/live/esam/mediaPoints/MediaPointsApi.js +49 -0
  18. package/dist/models/AdInsertionSettings.d.ts +21 -0
  19. package/dist/models/AdInsertionSettings.js +20 -0
  20. package/dist/models/ClockSynchronizationMode.d.ts +10 -0
  21. package/dist/models/ClockSynchronizationMode.js +14 -0
  22. package/dist/models/EsamCondition.d.ts +22 -0
  23. package/dist/models/EsamCondition.js +21 -0
  24. package/dist/models/EsamDirection.d.ts +11 -0
  25. package/dist/models/EsamDirection.js +15 -0
  26. package/dist/models/EsamMediaPoint.d.ts +29 -0
  27. package/dist/models/EsamMediaPoint.js +24 -0
  28. package/dist/models/EsamSignal.d.ts +33 -0
  29. package/dist/models/EsamSignal.js +23 -0
  30. package/dist/models/IABTaxonomy.d.ts +6 -1
  31. package/dist/models/IABTaxonomy.js +2 -1
  32. package/dist/models/KantarWatermark.d.ts +52 -0
  33. package/dist/models/KantarWatermark.js +45 -0
  34. package/dist/models/LiveEncodingStatsEventDetails.d.ts +46 -3
  35. package/dist/models/LiveEncodingStatsEventDetails.js +8 -1
  36. package/dist/models/LiveMediaIngestOutput.d.ts +6 -0
  37. package/dist/models/LiveMediaIngestOutput.js +1 -0
  38. package/dist/models/StartLiveEncodingRequest.d.ts +7 -0
  39. package/dist/models/StartLiveEncodingRequest.js +2 -0
  40. package/dist/models/index.d.ts +7 -0
  41. package/dist/models/index.js +7 -0
  42. package/package.json +2 -2
@@ -0,0 +1,52 @@
1
+ import BitmovinResponse from './BitmovinResponse';
2
+ import EncodingOutput from './EncodingOutput';
3
+ /**
4
+ * @export
5
+ * @class KantarWatermark
6
+ */
7
+ export declare class KantarWatermark extends BitmovinResponse {
8
+ /**
9
+ * Username used to authenticate with the Kantar watermarking service. (required)
10
+ * @type {string}
11
+ * @memberof KantarWatermark
12
+ */
13
+ login?: string;
14
+ /**
15
+ * Password associated with the provided login for authentication. (required)
16
+ * @type {string}
17
+ * @memberof KantarWatermark
18
+ */
19
+ password?: string;
20
+ /**
21
+ * Identifier of the Kantar license to be used when processing the audio watermark. (required)
22
+ * @type {number}
23
+ * @memberof KantarWatermark
24
+ */
25
+ licenseId?: number;
26
+ /**
27
+ * Name of the distribution channel associated with the audio content being watermarked. (required)
28
+ * @type {string}
29
+ * @memberof KantarWatermark
30
+ */
31
+ channelName?: string;
32
+ /**
33
+ * Unique reference or identifier for the audio content that will be processed. (required)
34
+ * @type {string}
35
+ * @memberof KantarWatermark
36
+ */
37
+ contentReference?: string;
38
+ /**
39
+ * URL of the Kantar server endpoint used to apply or validate the audio watermark. (required)
40
+ * @type {string}
41
+ * @memberof KantarWatermark
42
+ */
43
+ serverUrl?: string;
44
+ /**
45
+ * The outputs where the processing report should be delivered. (required)
46
+ * @type {EncodingOutput[]}
47
+ * @memberof KantarWatermark
48
+ */
49
+ reportOutputs?: EncodingOutput[];
50
+ constructor(obj?: Partial<KantarWatermark>);
51
+ }
52
+ export default KantarWatermark;
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ var __extends = (this && this.__extends) || (function () {
3
+ var extendStatics = function (d, b) {
4
+ extendStatics = Object.setPrototypeOf ||
5
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
+ return extendStatics(d, b);
8
+ };
9
+ return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
+ extendStatics(d, b);
13
+ function __() { this.constructor = d; }
14
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
+ };
16
+ })();
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.KantarWatermark = void 0;
19
+ var Mapper_1 = require("../common/Mapper");
20
+ var BitmovinResponse_1 = require("./BitmovinResponse");
21
+ var EncodingOutput_1 = require("./EncodingOutput");
22
+ /**
23
+ * @export
24
+ * @class KantarWatermark
25
+ */
26
+ var KantarWatermark = /** @class */ (function (_super) {
27
+ __extends(KantarWatermark, _super);
28
+ function KantarWatermark(obj) {
29
+ var _this = _super.call(this, obj) || this;
30
+ if (!obj) {
31
+ return _this;
32
+ }
33
+ _this.login = (0, Mapper_1.map)(obj.login);
34
+ _this.password = (0, Mapper_1.map)(obj.password);
35
+ _this.licenseId = (0, Mapper_1.map)(obj.licenseId);
36
+ _this.channelName = (0, Mapper_1.map)(obj.channelName);
37
+ _this.contentReference = (0, Mapper_1.map)(obj.contentReference);
38
+ _this.serverUrl = (0, Mapper_1.map)(obj.serverUrl);
39
+ _this.reportOutputs = (0, Mapper_1.mapArray)(obj.reportOutputs, EncodingOutput_1.default);
40
+ return _this;
41
+ }
42
+ return KantarWatermark;
43
+ }(BitmovinResponse_1.default));
44
+ exports.KantarWatermark = KantarWatermark;
45
+ exports.default = KantarWatermark;
@@ -1,3 +1,4 @@
1
+ import ClockSynchronizationMode from './ClockSynchronizationMode';
1
2
  import LiveEncodingEventName from './LiveEncodingEventName';
2
3
  /**
3
4
  * @export
@@ -16,11 +17,53 @@ export declare class LiveEncodingStatsEventDetails {
16
17
  */
17
18
  message?: string;
18
19
  /**
19
- * Additional event details as key-value pairs
20
- * @type {string}
20
+ * Source used for clock-synchronization
21
+ * @type {ClockSynchronizationMode}
22
+ * @memberof LiveEncodingStatsEventDetails
23
+ */
24
+ source?: ClockSynchronizationMode;
25
+ /**
26
+ * Year specified in picture timing
27
+ * @type {number}
28
+ * @memberof LiveEncodingStatsEventDetails
29
+ */
30
+ year?: number;
31
+ /**
32
+ * Month specified in picture timing
33
+ * @type {number}
34
+ * @memberof LiveEncodingStatsEventDetails
35
+ */
36
+ month?: number;
37
+ /**
38
+ * Day specified in picture timing
39
+ * @type {number}
40
+ * @memberof LiveEncodingStatsEventDetails
41
+ */
42
+ day?: number;
43
+ /**
44
+ * Hours specified in picture timing
45
+ * @type {number}
46
+ * @memberof LiveEncodingStatsEventDetails
47
+ */
48
+ hours?: number;
49
+ /**
50
+ * Minutes specified in picture timing
51
+ * @type {number}
52
+ * @memberof LiveEncodingStatsEventDetails
53
+ */
54
+ minutes?: number;
55
+ /**
56
+ * Seconds specified in picture timing
57
+ * @type {number}
58
+ * @memberof LiveEncodingStatsEventDetails
59
+ */
60
+ seconds?: number;
61
+ /**
62
+ * Microseconds specified in picture timing
63
+ * @type {number}
21
64
  * @memberof LiveEncodingStatsEventDetails
22
65
  */
23
- additionalProperties?: string;
66
+ microSeconds?: number;
24
67
  constructor(obj?: Partial<LiveEncodingStatsEventDetails>);
25
68
  }
26
69
  export default LiveEncodingStatsEventDetails;
@@ -13,7 +13,14 @@ var LiveEncodingStatsEventDetails = /** @class */ (function () {
13
13
  }
14
14
  this.eventType = (0, Mapper_1.map)(obj.eventType);
15
15
  this.message = (0, Mapper_1.map)(obj.message);
16
- this.additionalProperties = (0, Mapper_1.map)(obj.additionalProperties);
16
+ this.source = (0, Mapper_1.map)(obj.source);
17
+ this.year = (0, Mapper_1.map)(obj.year);
18
+ this.month = (0, Mapper_1.map)(obj.month);
19
+ this.day = (0, Mapper_1.map)(obj.day);
20
+ this.hours = (0, Mapper_1.map)(obj.hours);
21
+ this.minutes = (0, Mapper_1.map)(obj.minutes);
22
+ this.seconds = (0, Mapper_1.map)(obj.seconds);
23
+ this.microSeconds = (0, Mapper_1.map)(obj.microSeconds);
17
24
  }
18
25
  return LiveEncodingStatsEventDetails;
19
26
  }());
@@ -18,6 +18,12 @@ export declare class LiveMediaIngestOutput extends Output {
18
18
  * @memberof LiveMediaIngestOutput
19
19
  */
20
20
  publishingPoint?: string;
21
+ /**
22
+ * Enable passthrough of SCTE-35 messages from input to output. Default is false.
23
+ * @type {boolean}
24
+ * @memberof LiveMediaIngestOutput
25
+ */
26
+ scte35Passthrough?: boolean;
21
27
  constructor(obj?: Partial<LiveMediaIngestOutput>);
22
28
  }
23
29
  export default LiveMediaIngestOutput;
@@ -38,6 +38,7 @@ var LiveMediaIngestOutput = /** @class */ (function (_super) {
38
38
  return _this;
39
39
  }
40
40
  _this.publishingPoint = (0, Mapper_1.map)(obj.publishingPoint);
41
+ _this.scte35Passthrough = (0, Mapper_1.map)(obj.scte35Passthrough);
41
42
  return _this;
42
43
  }
43
44
  return LiveMediaIngestOutput;
@@ -1,3 +1,4 @@
1
+ import AdInsertionSettings from './AdInsertionSettings';
1
2
  import AutoRestartConfiguration from './AutoRestartConfiguration';
2
3
  import CacheControlSettings from './CacheControlSettings';
3
4
  import EncodingMode from './EncodingMode';
@@ -72,6 +73,12 @@ export declare class StartLiveEncodingRequest {
72
73
  * @memberof StartLiveEncodingRequest
73
74
  */
74
75
  cacheControlSettings?: CacheControlSettings;
76
+ /**
77
+ * Configuration for ad insertion features like ESAM MediaPoint insertion
78
+ * @type {AdInsertionSettings}
79
+ * @memberof StartLiveEncodingRequest
80
+ */
81
+ adInsertionSettings?: AdInsertionSettings;
75
82
  constructor(obj?: Partial<StartLiveEncodingRequest>);
76
83
  }
77
84
  export default StartLiveEncodingRequest;
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.StartLiveEncodingRequest = void 0;
4
4
  var Mapper_1 = require("../common/Mapper");
5
+ var AdInsertionSettings_1 = require("./AdInsertionSettings");
5
6
  var AutoRestartConfiguration_1 = require("./AutoRestartConfiguration");
6
7
  var CacheControlSettings_1 = require("./CacheControlSettings");
7
8
  var EsamSettings_1 = require("./EsamSettings");
@@ -28,6 +29,7 @@ var StartLiveEncodingRequest = /** @class */ (function () {
28
29
  this.autoShutdownConfiguration = (0, Mapper_1.map)(obj.autoShutdownConfiguration, LiveAutoShutdownConfiguration_1.default);
29
30
  this.esamSettings = (0, Mapper_1.map)(obj.esamSettings, EsamSettings_1.default);
30
31
  this.cacheControlSettings = (0, Mapper_1.map)(obj.cacheControlSettings, CacheControlSettings_1.default);
32
+ this.adInsertionSettings = (0, Mapper_1.map)(obj.adInsertionSettings, AdInsertionSettings_1.default);
31
33
  }
32
34
  return StartLiveEncodingRequest;
33
35
  }());
@@ -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 './AdInsertionSettings';
35
36
  export * from './AdMarkersSource';
36
37
  export * from './AdPosition';
37
38
  export * from './AdaptationSet';
@@ -211,6 +212,7 @@ export * from './CheckOutputPermissionsResponse';
211
212
  export * from './ChromaLocation';
212
213
  export * from './ChunkedTextMuxing';
213
214
  export * from './ClearKeyDrm';
215
+ export * from './ClockSynchronizationMode';
214
216
  export * from './ClosedCaptionsMediaInfo';
215
217
  export * from './CloudRegion';
216
218
  export * from './CmafMuxing';
@@ -386,7 +388,11 @@ export * from './EnhancedDeinterlaceParity';
386
388
  export * from './EnhancedWatermarkFilter';
387
389
  export * from './ErrorDetails';
388
390
  export * from './ErrorRetryHint';
391
+ export * from './EsamCondition';
392
+ export * from './EsamDirection';
393
+ export * from './EsamMediaPoint';
389
394
  export * from './EsamSettings';
395
+ export * from './EsamSignal';
390
396
  export * from './ExternalIdMode';
391
397
  export * from './FairPlayDrm';
392
398
  export * from './FileInputStream';
@@ -477,6 +483,7 @@ export * from './InterlaceMode';
477
483
  export * from './Invitation';
478
484
  export * from './InvitationStatus';
479
485
  export * from './IvSize';
486
+ export * from './KantarWatermark';
480
487
  export * from './Keyframe';
481
488
  export * from './Label';
482
489
  export * from './LevelH262';
@@ -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("./AdInsertionSettings"), exports);
51
52
  __exportStar(require("./AdMarkersSource"), exports);
52
53
  __exportStar(require("./AdPosition"), exports);
53
54
  __exportStar(require("./AdaptationSet"), exports);
@@ -227,6 +228,7 @@ __exportStar(require("./CheckOutputPermissionsResponse"), exports);
227
228
  __exportStar(require("./ChromaLocation"), exports);
228
229
  __exportStar(require("./ChunkedTextMuxing"), exports);
229
230
  __exportStar(require("./ClearKeyDrm"), exports);
231
+ __exportStar(require("./ClockSynchronizationMode"), exports);
230
232
  __exportStar(require("./ClosedCaptionsMediaInfo"), exports);
231
233
  __exportStar(require("./CloudRegion"), exports);
232
234
  __exportStar(require("./CmafMuxing"), exports);
@@ -402,7 +404,11 @@ __exportStar(require("./EnhancedDeinterlaceParity"), exports);
402
404
  __exportStar(require("./EnhancedWatermarkFilter"), exports);
403
405
  __exportStar(require("./ErrorDetails"), exports);
404
406
  __exportStar(require("./ErrorRetryHint"), exports);
407
+ __exportStar(require("./EsamCondition"), exports);
408
+ __exportStar(require("./EsamDirection"), exports);
409
+ __exportStar(require("./EsamMediaPoint"), exports);
405
410
  __exportStar(require("./EsamSettings"), exports);
411
+ __exportStar(require("./EsamSignal"), exports);
406
412
  __exportStar(require("./ExternalIdMode"), exports);
407
413
  __exportStar(require("./FairPlayDrm"), exports);
408
414
  __exportStar(require("./FileInputStream"), exports);
@@ -493,6 +499,7 @@ __exportStar(require("./InterlaceMode"), exports);
493
499
  __exportStar(require("./Invitation"), exports);
494
500
  __exportStar(require("./InvitationStatus"), exports);
495
501
  __exportStar(require("./IvSize"), exports);
502
+ __exportStar(require("./KantarWatermark"), exports);
496
503
  __exportStar(require("./Keyframe"), exports);
497
504
  __exportStar(require("./Label"), exports);
498
505
  __exportStar(require("./LevelH262"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitmovin/api-sdk",
3
- "version": "1.252.0",
3
+ "version": "1.254.0",
4
4
  "description": "Bitmovin JS/TS API SDK",
5
5
  "author": "Bitmovin Inc",
6
6
  "keywords": [
@@ -33,7 +33,7 @@
33
33
  ],
34
34
  "devDependencies": {
35
35
  "@types/isomorphic-fetch": ">=0.0.35",
36
- "@types/node": "^20.8.9",
36
+ "@types/node": "^24.10.2",
37
37
  "ts-loader": "^9.2.8",
38
38
  "cross-env": "^5.2.0",
39
39
  "prettier": "^1.16.4",