@bitmovin/api-sdk 1.251.0 → 1.253.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 (43) hide show
  1. package/README.md +1 -1
  2. package/dist/bitmovin-api-sdk.browser.js +540 -4
  3. package/dist/bitmovin-api-sdk.browser.min.js +1 -1
  4. package/dist/common/RestClient.js +1 -1
  5. package/dist/encoding/encodings/EncodingsApi.d.ts +2 -0
  6. package/dist/encoding/encodings/EncodingsApi.js +2 -0
  7. package/dist/encoding/encodings/kantarWatermark/KantarWatermarkApi.d.ts +35 -0
  8. package/dist/encoding/encodings/kantarWatermark/KantarWatermarkApi.js +78 -0
  9. package/dist/encoding/encodings/live/LiveApi.d.ts +2 -0
  10. package/dist/encoding/encodings/live/LiveApi.js +2 -0
  11. package/dist/encoding/encodings/live/heartbeat/HeartbeatApi.d.ts +19 -0
  12. package/dist/encoding/encodings/live/heartbeat/HeartbeatApi.js +48 -0
  13. package/dist/models/ClockSynchronizationMode.d.ts +10 -0
  14. package/dist/models/ClockSynchronizationMode.js +14 -0
  15. package/dist/models/DashManifest.d.ts +6 -0
  16. package/dist/models/DashManifest.js +1 -0
  17. package/dist/models/IABTaxonomy.d.ts +6 -1
  18. package/dist/models/IABTaxonomy.js +2 -1
  19. package/dist/models/KantarWatermark.d.ts +52 -0
  20. package/dist/models/KantarWatermark.js +45 -0
  21. package/dist/models/LiveEncodingEventName.d.ts +4 -1
  22. package/dist/models/LiveEncodingEventName.js +3 -0
  23. package/dist/models/LiveEncodingHeartbeat.d.ts +29 -0
  24. package/dist/models/LiveEncodingHeartbeat.js +24 -0
  25. package/dist/models/LiveEncodingHeartbeatEvent.d.ts +20 -0
  26. package/dist/models/LiveEncodingHeartbeatEvent.js +21 -0
  27. package/dist/models/LiveEncodingHeartbeatEventDetails.d.ts +20 -0
  28. package/dist/models/LiveEncodingHeartbeatEventDetails.js +20 -0
  29. package/dist/models/LiveEncodingHeartbeatEventType.d.ts +12 -0
  30. package/dist/models/LiveEncodingHeartbeatEventType.js +16 -0
  31. package/dist/models/LiveEncodingHeartbeatIngest.d.ts +41 -0
  32. package/dist/models/LiveEncodingHeartbeatIngest.js +27 -0
  33. package/dist/models/LiveEncodingHeartbeatIngestPoint.d.ts +39 -0
  34. package/dist/models/LiveEncodingHeartbeatIngestPoint.js +24 -0
  35. package/dist/models/LiveEncodingHeartbeatIngestStream.d.ts +117 -0
  36. package/dist/models/LiveEncodingHeartbeatIngestStream.js +37 -0
  37. package/dist/models/LiveEncodingStatsEventDetails.d.ts +42 -5
  38. package/dist/models/LiveEncodingStatsEventDetails.js +8 -2
  39. package/dist/models/RtmpUserIngestInfo.d.ts +45 -0
  40. package/dist/models/RtmpUserIngestInfo.js +25 -0
  41. package/dist/models/index.d.ts +10 -0
  42. package/dist/models/index.js +10 -0
  43. package/package.json +2 -2
@@ -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.251.0',
243
+ 'X-Api-Client-Version': '1.253.0',
244
244
  'Content-Type': 'application/json'
245
245
  };
246
246
  if (tenantOrgId) {
@@ -10,6 +10,7 @@ import TransferRetriesApi from './transferRetries/TransferRetriesApi';
10
10
  import OutputPathsApi from './outputPaths/OutputPathsApi';
11
11
  import CaptionsApi from './captions/CaptionsApi';
12
12
  import SidecarsApi from './sidecars/SidecarsApi';
13
+ import KantarWatermarkApi from './kantarWatermark/KantarWatermarkApi';
13
14
  import KeyframesApi from './keyframes/KeyframesApi';
14
15
  import Scte35TriggersApi from './scte35Triggers/Scte35TriggersApi';
15
16
  import BitmovinResponse from '../../models/BitmovinResponse';
@@ -37,6 +38,7 @@ export default class EncodingsApi extends BaseAPI {
37
38
  outputPaths: OutputPathsApi;
38
39
  captions: CaptionsApi;
39
40
  sidecars: SidecarsApi;
41
+ kantarWatermark: KantarWatermarkApi;
40
42
  keyframes: KeyframesApi;
41
43
  scte35Triggers: Scte35TriggersApi;
42
44
  constructor(configuration: Configuration);
@@ -27,6 +27,7 @@ var TransferRetriesApi_1 = require("./transferRetries/TransferRetriesApi");
27
27
  var OutputPathsApi_1 = require("./outputPaths/OutputPathsApi");
28
28
  var CaptionsApi_1 = require("./captions/CaptionsApi");
29
29
  var SidecarsApi_1 = require("./sidecars/SidecarsApi");
30
+ var KantarWatermarkApi_1 = require("./kantarWatermark/KantarWatermarkApi");
30
31
  var KeyframesApi_1 = require("./keyframes/KeyframesApi");
31
32
  var Scte35TriggersApi_1 = require("./scte35Triggers/Scte35TriggersApi");
32
33
  var BitmovinResponse_1 = require("../../models/BitmovinResponse");
@@ -55,6 +56,7 @@ var EncodingsApi = /** @class */ (function (_super) {
55
56
  _this.outputPaths = new OutputPathsApi_1.default(configuration);
56
57
  _this.captions = new CaptionsApi_1.default(configuration);
57
58
  _this.sidecars = new SidecarsApi_1.default(configuration);
59
+ _this.kantarWatermark = new KantarWatermarkApi_1.default(configuration);
58
60
  _this.keyframes = new KeyframesApi_1.default(configuration);
59
61
  _this.scte35Triggers = new Scte35TriggersApi_1.default(configuration);
60
62
  return _this;
@@ -0,0 +1,35 @@
1
+ import { BaseAPI } from '../../../common/BaseAPI';
2
+ import Configuration from '../../../common/Configuration';
3
+ import BitmovinResponse from '../../../models/BitmovinResponse';
4
+ import KantarWatermark from '../../../models/KantarWatermark';
5
+ /**
6
+ * KantarWatermarkApi - object-oriented interface
7
+ * @export
8
+ * @class KantarWatermarkApi
9
+ * @extends {BaseAPI}
10
+ */
11
+ export default class KantarWatermarkApi extends BaseAPI {
12
+ constructor(configuration: Configuration);
13
+ /**
14
+ * @summary Create or replace the Kantar Watermark for an encoding
15
+ * @param {string} encodingId Id of the encoding.
16
+ * @param {KantarWatermark} kantarWatermark The Kantar Watermark to be created
17
+ * @throws {BitmovinError}
18
+ * @memberof KantarWatermarkApi
19
+ */
20
+ create(encodingId: string, kantarWatermark?: KantarWatermark): Promise<KantarWatermark>;
21
+ /**
22
+ * @summary Delete the Kantar Watermark for an encoding
23
+ * @param {string} encodingId Id of the encoding.
24
+ * @throws {BitmovinError}
25
+ * @memberof KantarWatermarkApi
26
+ */
27
+ delete(encodingId: string): Promise<BitmovinResponse>;
28
+ /**
29
+ * @summary Get the Kantar Watermark for an encoding
30
+ * @param {string} encodingId Id of the encoding.
31
+ * @throws {BitmovinError}
32
+ * @memberof KantarWatermarkApi
33
+ */
34
+ get(encodingId: string): Promise<KantarWatermark>;
35
+ }
@@ -0,0 +1,78 @@
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
+ var BaseAPI_1 = require("../../../common/BaseAPI");
19
+ var Mapper_1 = require("../../../common/Mapper");
20
+ var BitmovinResponse_1 = require("../../../models/BitmovinResponse");
21
+ var KantarWatermark_1 = require("../../../models/KantarWatermark");
22
+ /**
23
+ * KantarWatermarkApi - object-oriented interface
24
+ * @export
25
+ * @class KantarWatermarkApi
26
+ * @extends {BaseAPI}
27
+ */
28
+ var KantarWatermarkApi = /** @class */ (function (_super) {
29
+ __extends(KantarWatermarkApi, _super);
30
+ function KantarWatermarkApi(configuration) {
31
+ return _super.call(this, configuration) || this;
32
+ }
33
+ /**
34
+ * @summary Create or replace the Kantar Watermark for an encoding
35
+ * @param {string} encodingId Id of the encoding.
36
+ * @param {KantarWatermark} kantarWatermark The Kantar Watermark to be created
37
+ * @throws {BitmovinError}
38
+ * @memberof KantarWatermarkApi
39
+ */
40
+ KantarWatermarkApi.prototype.create = function (encodingId, kantarWatermark) {
41
+ var pathParamMap = {
42
+ encoding_id: encodingId
43
+ };
44
+ return this.restClient.post('/encoding/encodings/{encoding_id}/kantar-watermark', pathParamMap, kantarWatermark).then(function (response) {
45
+ return (0, Mapper_1.map)(response, KantarWatermark_1.default);
46
+ });
47
+ };
48
+ /**
49
+ * @summary Delete the Kantar Watermark for an encoding
50
+ * @param {string} encodingId Id of the encoding.
51
+ * @throws {BitmovinError}
52
+ * @memberof KantarWatermarkApi
53
+ */
54
+ KantarWatermarkApi.prototype.delete = function (encodingId) {
55
+ var pathParamMap = {
56
+ encoding_id: encodingId
57
+ };
58
+ return this.restClient.delete('/encoding/encodings/{encoding_id}/kantar-watermark', pathParamMap).then(function (response) {
59
+ return (0, Mapper_1.map)(response, BitmovinResponse_1.default);
60
+ });
61
+ };
62
+ /**
63
+ * @summary Get the Kantar Watermark for an encoding
64
+ * @param {string} encodingId Id of the encoding.
65
+ * @throws {BitmovinError}
66
+ * @memberof KantarWatermarkApi
67
+ */
68
+ KantarWatermarkApi.prototype.get = function (encodingId) {
69
+ var pathParamMap = {
70
+ encoding_id: encodingId
71
+ };
72
+ return this.restClient.get('/encoding/encodings/{encoding_id}/kantar-watermark', pathParamMap).then(function (response) {
73
+ return (0, Mapper_1.map)(response, KantarWatermark_1.default);
74
+ });
75
+ };
76
+ return KantarWatermarkApi;
77
+ }(BaseAPI_1.BaseAPI));
78
+ exports.default = KantarWatermarkApi;
@@ -1,6 +1,7 @@
1
1
  import { BaseAPI } from '../../../common/BaseAPI';
2
2
  import Configuration from '../../../common/Configuration';
3
3
  import ResetLiveManifestTimeshiftApi from './resetLiveManifestTimeshift/ResetLiveManifestTimeshiftApi';
4
+ import HeartbeatApi from './heartbeat/HeartbeatApi';
4
5
  import HdApi from './hd/HdApi';
5
6
  import InsertableContentApi from './insertableContent/InsertableContentApi';
6
7
  import Scte35CueApi from './scte35Cue/Scte35CueApi';
@@ -15,6 +16,7 @@ import StartLiveEncodingRequest from '../../../models/StartLiveEncodingRequest';
15
16
  */
16
17
  export default class LiveApi extends BaseAPI {
17
18
  resetLiveManifestTimeshift: ResetLiveManifestTimeshiftApi;
19
+ heartbeat: HeartbeatApi;
18
20
  hd: HdApi;
19
21
  insertableContent: InsertableContentApi;
20
22
  scte35Cue: Scte35CueApi;
@@ -18,6 +18,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
18
18
  var BaseAPI_1 = require("../../../common/BaseAPI");
19
19
  var Mapper_1 = require("../../../common/Mapper");
20
20
  var ResetLiveManifestTimeshiftApi_1 = require("./resetLiveManifestTimeshift/ResetLiveManifestTimeshiftApi");
21
+ var HeartbeatApi_1 = require("./heartbeat/HeartbeatApi");
21
22
  var HdApi_1 = require("./hd/HdApi");
22
23
  var InsertableContentApi_1 = require("./insertableContent/InsertableContentApi");
23
24
  var Scte35CueApi_1 = require("./scte35Cue/Scte35CueApi");
@@ -35,6 +36,7 @@ var LiveApi = /** @class */ (function (_super) {
35
36
  function LiveApi(configuration) {
36
37
  var _this = _super.call(this, configuration) || this;
37
38
  _this.resetLiveManifestTimeshift = new ResetLiveManifestTimeshiftApi_1.default(configuration);
39
+ _this.heartbeat = new HeartbeatApi_1.default(configuration);
38
40
  _this.hd = new HdApi_1.default(configuration);
39
41
  _this.insertableContent = new InsertableContentApi_1.default(configuration);
40
42
  _this.scte35Cue = new Scte35CueApi_1.default(configuration);
@@ -0,0 +1,19 @@
1
+ import { BaseAPI } from '../../../../common/BaseAPI';
2
+ import Configuration from '../../../../common/Configuration';
3
+ import LiveEncodingHeartbeat from '../../../../models/LiveEncodingHeartbeat';
4
+ /**
5
+ * HeartbeatApi - object-oriented interface
6
+ * @export
7
+ * @class HeartbeatApi
8
+ * @extends {BaseAPI}
9
+ */
10
+ export default class HeartbeatApi extends BaseAPI {
11
+ constructor(configuration: Configuration);
12
+ /**
13
+ * @summary Live Encoding Heartbeat
14
+ * @param {string} encodingId Id of the encoding.
15
+ * @throws {BitmovinError}
16
+ * @memberof HeartbeatApi
17
+ */
18
+ get(encodingId: string): Promise<LiveEncodingHeartbeat>;
19
+ }
@@ -0,0 +1,48 @@
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
+ var BaseAPI_1 = require("../../../../common/BaseAPI");
19
+ var Mapper_1 = require("../../../../common/Mapper");
20
+ var LiveEncodingHeartbeat_1 = require("../../../../models/LiveEncodingHeartbeat");
21
+ /**
22
+ * HeartbeatApi - object-oriented interface
23
+ * @export
24
+ * @class HeartbeatApi
25
+ * @extends {BaseAPI}
26
+ */
27
+ var HeartbeatApi = /** @class */ (function (_super) {
28
+ __extends(HeartbeatApi, _super);
29
+ function HeartbeatApi(configuration) {
30
+ return _super.call(this, configuration) || this;
31
+ }
32
+ /**
33
+ * @summary Live Encoding Heartbeat
34
+ * @param {string} encodingId Id of the encoding.
35
+ * @throws {BitmovinError}
36
+ * @memberof HeartbeatApi
37
+ */
38
+ HeartbeatApi.prototype.get = function (encodingId) {
39
+ var pathParamMap = {
40
+ encoding_id: encodingId
41
+ };
42
+ return this.restClient.get('/encoding/encodings/{encoding_id}/live/heartbeat', pathParamMap).then(function (response) {
43
+ return (0, Mapper_1.map)(response, LiveEncodingHeartbeat_1.default);
44
+ });
45
+ };
46
+ return HeartbeatApi;
47
+ }(BaseAPI_1.BaseAPI));
48
+ exports.default = HeartbeatApi;
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Mode of clock synchronization for ad insertion
3
+ * @export
4
+ * @enum {string}
5
+ */
6
+ export declare enum ClockSynchronizationMode {
7
+ SYSTEM_CLOCK = "SYSTEM_CLOCK",
8
+ EMBEDDED = "EMBEDDED"
9
+ }
10
+ export default ClockSynchronizationMode;
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ClockSynchronizationMode = void 0;
4
+ /**
5
+ * Mode of clock synchronization for ad insertion
6
+ * @export
7
+ * @enum {string}
8
+ */
9
+ var ClockSynchronizationMode;
10
+ (function (ClockSynchronizationMode) {
11
+ ClockSynchronizationMode["SYSTEM_CLOCK"] = "SYSTEM_CLOCK";
12
+ ClockSynchronizationMode["EMBEDDED"] = "EMBEDDED";
13
+ })(ClockSynchronizationMode || (exports.ClockSynchronizationMode = ClockSynchronizationMode = {}));
14
+ exports.default = ClockSynchronizationMode;
@@ -45,6 +45,12 @@ export declare class DashManifest extends Manifest {
45
45
  * @memberof DashManifest
46
46
  */
47
47
  iso8601TimestampFormat?: DashISO8601TimestampFormat;
48
+ /**
49
+ * The minimum buffer time in seconds that the client should maintain to ensure uninterrupted playback. Default is 2 seconds. Note: For VOD ON_DEMAND dash manifests, the default value may differ from 2.0 seconds if not explicitly set.
50
+ * @type {number}
51
+ * @memberof DashManifest
52
+ */
53
+ minBufferTime?: number;
48
54
  constructor(obj?: Partial<DashManifest>);
49
55
  }
50
56
  export default DashManifest;
@@ -37,6 +37,7 @@ var DashManifest = /** @class */ (function (_super) {
37
37
  _this.utcTimings = (0, Mapper_1.mapArray)(obj.utcTimings, UtcTiming_1.default);
38
38
  _this.dashEditionCompatibility = (0, Mapper_1.map)(obj.dashEditionCompatibility);
39
39
  _this.iso8601TimestampFormat = (0, Mapper_1.map)(obj.iso8601TimestampFormat);
40
+ _this.minBufferTime = (0, Mapper_1.map)(obj.minBufferTime);
40
41
  return _this;
41
42
  }
42
43
  return DashManifest;
@@ -7,7 +7,12 @@ export declare class IABTaxonomy {
7
7
  * @type {string}
8
8
  * @memberof IABTaxonomy
9
9
  */
10
- version?: string;
10
+ contentVersion?: string;
11
+ /**
12
+ * @type {string}
13
+ * @memberof IABTaxonomy
14
+ */
15
+ adProductVersion?: string;
11
16
  /**
12
17
  * @type {string[]}
13
18
  * @memberof IABTaxonomy
@@ -11,7 +11,8 @@ var IABTaxonomy = /** @class */ (function () {
11
11
  if (!obj) {
12
12
  return;
13
13
  }
14
- this.version = (0, Mapper_1.map)(obj.version);
14
+ this.contentVersion = (0, Mapper_1.map)(obj.contentVersion);
15
+ this.adProductVersion = (0, Mapper_1.map)(obj.adProductVersion);
15
16
  this.contentTaxonomies = (0, Mapper_1.mapArray)(obj.contentTaxonomies);
16
17
  this.adOpportunityTaxonomies = (0, Mapper_1.mapArray)(obj.adOpportunityTaxonomies);
17
18
  this.sensitiveTopicTaxonomies = (0, Mapper_1.mapArray)(obj.sensitiveTopicTaxonomies);
@@ -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;
@@ -8,6 +8,9 @@ export declare enum LiveEncodingEventName {
8
8
  RECONNECT = "RECONNECT",
9
9
  RESYNCING = "RESYNCING",
10
10
  IDLE = "IDLE",
11
- ERROR = "ERROR"
11
+ ERROR = "ERROR",
12
+ WARNING = "WARNING",
13
+ PICTURE_TIMING = "PICTURE_TIMING",
14
+ INFO = "INFO"
12
15
  }
13
16
  export default LiveEncodingEventName;
@@ -13,5 +13,8 @@ var LiveEncodingEventName;
13
13
  LiveEncodingEventName["RESYNCING"] = "RESYNCING";
14
14
  LiveEncodingEventName["IDLE"] = "IDLE";
15
15
  LiveEncodingEventName["ERROR"] = "ERROR";
16
+ LiveEncodingEventName["WARNING"] = "WARNING";
17
+ LiveEncodingEventName["PICTURE_TIMING"] = "PICTURE_TIMING";
18
+ LiveEncodingEventName["INFO"] = "INFO";
16
19
  })(LiveEncodingEventName || (exports.LiveEncodingEventName = LiveEncodingEventName = {}));
17
20
  exports.default = LiveEncodingEventName;
@@ -0,0 +1,29 @@
1
+ import LiveEncodingHeartbeatEvent from './LiveEncodingHeartbeatEvent';
2
+ import LiveEncodingHeartbeatIngest from './LiveEncodingHeartbeatIngest';
3
+ /**
4
+ * Heartbeat data for a Live Encoding.
5
+ * @export
6
+ * @class LiveEncodingHeartbeat
7
+ */
8
+ export declare class LiveEncodingHeartbeat {
9
+ /**
10
+ * timestamp, returned as UTC expressed in ISO 8601 format: YYYY-MM-DDThh:mm:ssZ
11
+ * @type {Date}
12
+ * @memberof LiveEncodingHeartbeat
13
+ */
14
+ timestamp?: Date;
15
+ /**
16
+ * Information about the live ingestion status
17
+ * @type {LiveEncodingHeartbeatIngest}
18
+ * @memberof LiveEncodingHeartbeat
19
+ */
20
+ ingest?: LiveEncodingHeartbeatIngest;
21
+ /**
22
+ * Live encoding heartbeat events
23
+ * @type {LiveEncodingHeartbeatEvent[]}
24
+ * @memberof LiveEncodingHeartbeat
25
+ */
26
+ events?: LiveEncodingHeartbeatEvent[];
27
+ constructor(obj?: Partial<LiveEncodingHeartbeat>);
28
+ }
29
+ export default LiveEncodingHeartbeat;
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LiveEncodingHeartbeat = void 0;
4
+ var Mapper_1 = require("../common/Mapper");
5
+ var LiveEncodingHeartbeatEvent_1 = require("./LiveEncodingHeartbeatEvent");
6
+ var LiveEncodingHeartbeatIngest_1 = require("./LiveEncodingHeartbeatIngest");
7
+ /**
8
+ * Heartbeat data for a Live Encoding.
9
+ * @export
10
+ * @class LiveEncodingHeartbeat
11
+ */
12
+ var LiveEncodingHeartbeat = /** @class */ (function () {
13
+ function LiveEncodingHeartbeat(obj) {
14
+ if (!obj) {
15
+ return;
16
+ }
17
+ this.timestamp = (0, Mapper_1.map)(obj.timestamp, Date);
18
+ this.ingest = (0, Mapper_1.map)(obj.ingest, LiveEncodingHeartbeatIngest_1.default);
19
+ this.events = (0, Mapper_1.mapArray)(obj.events, LiveEncodingHeartbeatEvent_1.default);
20
+ }
21
+ return LiveEncodingHeartbeat;
22
+ }());
23
+ exports.LiveEncodingHeartbeat = LiveEncodingHeartbeat;
24
+ exports.default = LiveEncodingHeartbeat;
@@ -0,0 +1,20 @@
1
+ import LiveEncodingHeartbeatEventDetails from './LiveEncodingHeartbeatEventDetails';
2
+ /**
3
+ * @export
4
+ * @class LiveEncodingHeartbeatEvent
5
+ */
6
+ export declare class LiveEncodingHeartbeatEvent {
7
+ /**
8
+ * Timestamp of the event, returned as UTC expressed in ISO 8601 format: YYYY-MM-DDThh:mm:ssZ (required)
9
+ * @type {Date}
10
+ * @memberof LiveEncodingHeartbeatEvent
11
+ */
12
+ time?: Date;
13
+ /**
14
+ * @type {LiveEncodingHeartbeatEventDetails}
15
+ * @memberof LiveEncodingHeartbeatEvent
16
+ */
17
+ details?: LiveEncodingHeartbeatEventDetails;
18
+ constructor(obj?: Partial<LiveEncodingHeartbeatEvent>);
19
+ }
20
+ export default LiveEncodingHeartbeatEvent;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LiveEncodingHeartbeatEvent = void 0;
4
+ var Mapper_1 = require("../common/Mapper");
5
+ var LiveEncodingHeartbeatEventDetails_1 = require("./LiveEncodingHeartbeatEventDetails");
6
+ /**
7
+ * @export
8
+ * @class LiveEncodingHeartbeatEvent
9
+ */
10
+ var LiveEncodingHeartbeatEvent = /** @class */ (function () {
11
+ function LiveEncodingHeartbeatEvent(obj) {
12
+ if (!obj) {
13
+ return;
14
+ }
15
+ this.time = (0, Mapper_1.map)(obj.time, Date);
16
+ this.details = (0, Mapper_1.map)(obj.details, LiveEncodingHeartbeatEventDetails_1.default);
17
+ }
18
+ return LiveEncodingHeartbeatEvent;
19
+ }());
20
+ exports.LiveEncodingHeartbeatEvent = LiveEncodingHeartbeatEvent;
21
+ exports.default = LiveEncodingHeartbeatEvent;
@@ -0,0 +1,20 @@
1
+ import LiveEncodingHeartbeatEventType from './LiveEncodingHeartbeatEventType';
2
+ /**
3
+ * @export
4
+ * @class LiveEncodingHeartbeatEventDetails
5
+ */
6
+ export declare class LiveEncodingHeartbeatEventDetails {
7
+ /**
8
+ * @type {LiveEncodingHeartbeatEventType}
9
+ * @memberof LiveEncodingHeartbeatEventDetails
10
+ */
11
+ eventType?: LiveEncodingHeartbeatEventType;
12
+ /**
13
+ * Short description of the event
14
+ * @type {string}
15
+ * @memberof LiveEncodingHeartbeatEventDetails
16
+ */
17
+ message?: string;
18
+ constructor(obj?: Partial<LiveEncodingHeartbeatEventDetails>);
19
+ }
20
+ export default LiveEncodingHeartbeatEventDetails;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LiveEncodingHeartbeatEventDetails = void 0;
4
+ var Mapper_1 = require("../common/Mapper");
5
+ /**
6
+ * @export
7
+ * @class LiveEncodingHeartbeatEventDetails
8
+ */
9
+ var LiveEncodingHeartbeatEventDetails = /** @class */ (function () {
10
+ function LiveEncodingHeartbeatEventDetails(obj) {
11
+ if (!obj) {
12
+ return;
13
+ }
14
+ this.eventType = (0, Mapper_1.map)(obj.eventType);
15
+ this.message = (0, Mapper_1.map)(obj.message);
16
+ }
17
+ return LiveEncodingHeartbeatEventDetails;
18
+ }());
19
+ exports.LiveEncodingHeartbeatEventDetails = LiveEncodingHeartbeatEventDetails;
20
+ exports.default = LiveEncodingHeartbeatEventDetails;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @export
3
+ * @enum {string}
4
+ */
5
+ export declare enum LiveEncodingHeartbeatEventType {
6
+ FIRST_CONNECT = "FIRST_CONNECT",
7
+ DISCONNECT = "DISCONNECT",
8
+ RECONNECT = "RECONNECT",
9
+ WARNING = "WARNING",
10
+ ERROR = "ERROR"
11
+ }
12
+ export default LiveEncodingHeartbeatEventType;
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LiveEncodingHeartbeatEventType = void 0;
4
+ /**
5
+ * @export
6
+ * @enum {string}
7
+ */
8
+ var LiveEncodingHeartbeatEventType;
9
+ (function (LiveEncodingHeartbeatEventType) {
10
+ LiveEncodingHeartbeatEventType["FIRST_CONNECT"] = "FIRST_CONNECT";
11
+ LiveEncodingHeartbeatEventType["DISCONNECT"] = "DISCONNECT";
12
+ LiveEncodingHeartbeatEventType["RECONNECT"] = "RECONNECT";
13
+ LiveEncodingHeartbeatEventType["WARNING"] = "WARNING";
14
+ LiveEncodingHeartbeatEventType["ERROR"] = "ERROR";
15
+ })(LiveEncodingHeartbeatEventType || (exports.LiveEncodingHeartbeatEventType = LiveEncodingHeartbeatEventType = {}));
16
+ exports.default = LiveEncodingHeartbeatEventType;