@bitmovin/api-sdk 1.211.0 → 1.213.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 (51) hide show
  1. package/README.md +1 -1
  2. package/dist/bitmovin-api-sdk.browser.js +904 -34
  3. package/dist/bitmovin-api-sdk.browser.min.js +1 -1
  4. package/dist/common/RestClient.js +1 -1
  5. package/dist/encoding/live/LiveApi.d.ts +2 -0
  6. package/dist/encoding/live/LiveApi.js +2 -0
  7. package/dist/encoding/live/standbyPools/StandbyPoolsApi.d.ts +58 -0
  8. package/dist/encoding/live/standbyPools/StandbyPoolsApi.js +108 -0
  9. package/dist/encoding/live/standbyPools/actions/ActionsApi.d.ts +26 -0
  10. package/dist/encoding/live/standbyPools/actions/ActionsApi.js +62 -0
  11. package/dist/encoding/live/standbyPools/encodings/EncodingsApi.d.ts +31 -0
  12. package/dist/encoding/live/standbyPools/encodings/EncodingsApi.js +75 -0
  13. package/dist/encoding/live/standbyPools/encodings/LiveStandbyPoolEncodingListQueryParams.d.ts +50 -0
  14. package/dist/encoding/live/standbyPools/encodings/LiveStandbyPoolEncodingListQueryParams.js +45 -0
  15. package/dist/encoding/live/standbyPools/logs/LiveStandbyPoolEventLogListQueryParams.d.ts +50 -0
  16. package/dist/encoding/live/standbyPools/logs/LiveStandbyPoolEventLogListQueryParams.js +45 -0
  17. package/dist/encoding/live/standbyPools/logs/LogsApi.d.ts +22 -0
  18. package/dist/encoding/live/standbyPools/logs/LogsApi.js +57 -0
  19. package/dist/models/LiveEncodingStatsEventDetails.d.ts +18 -0
  20. package/dist/models/LiveEncodingStatsEventDetails.js +3 -0
  21. package/dist/models/LiveStandbyPoolDetails.d.ts +15 -0
  22. package/dist/models/LiveStandbyPoolDetails.js +38 -0
  23. package/dist/models/LiveStandbyPoolEncoding.d.ts +47 -0
  24. package/dist/models/LiveStandbyPoolEncoding.js +27 -0
  25. package/dist/models/LiveStandbyPoolEncodingIngestPoint.d.ts +20 -0
  26. package/dist/models/LiveStandbyPoolEncodingIngestPoint.js +20 -0
  27. package/dist/models/LiveStandbyPoolEncodingManifest.d.ts +26 -0
  28. package/dist/models/LiveStandbyPoolEncodingManifest.js +21 -0
  29. package/dist/models/LiveStandbyPoolEncodingManifestType.d.ts +10 -0
  30. package/dist/models/LiveStandbyPoolEncodingManifestType.js +14 -0
  31. package/dist/models/LiveStandbyPoolEncodingStatus.d.ts +16 -0
  32. package/dist/models/LiveStandbyPoolEncodingStatus.js +20 -0
  33. package/dist/models/LiveStandbyPoolEventLog.d.ts +50 -0
  34. package/dist/models/LiveStandbyPoolEventLog.js +25 -0
  35. package/dist/models/LiveStandbyPoolEventLogType.d.ts +11 -0
  36. package/dist/models/LiveStandbyPoolEventLogType.js +15 -0
  37. package/dist/models/LiveStandbyPoolRequest.d.ts +21 -0
  38. package/dist/models/LiveStandbyPoolRequest.js +39 -0
  39. package/dist/models/LiveStandbyPoolResponse.d.ts +45 -0
  40. package/dist/models/LiveStandbyPoolResponse.js +43 -0
  41. package/dist/models/LiveStandbyPoolStatus.d.ts +10 -0
  42. package/dist/models/LiveStandbyPoolStatus.js +14 -0
  43. package/dist/models/LiveStandbyPoolUpdate.d.ts +20 -0
  44. package/dist/models/LiveStandbyPoolUpdate.js +20 -0
  45. package/dist/models/Mp4Muxing.d.ts +0 -6
  46. package/dist/models/Mp4Muxing.js +0 -2
  47. package/dist/models/index.d.ts +12 -1
  48. package/dist/models/index.js +12 -1
  49. package/package.json +1 -1
  50. package/dist/models/TimeCode.d.ts +0 -14
  51. package/dist/models/TimeCode.js +0 -19
@@ -0,0 +1,57 @@
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 LiveStandbyPoolEventLog_1 = require("../../../../models/LiveStandbyPoolEventLog");
20
+ var PaginationResponse_1 = require("../../../../models/PaginationResponse");
21
+ var LiveStandbyPoolEventLogListQueryParams_1 = require("./LiveStandbyPoolEventLogListQueryParams");
22
+ /**
23
+ * LogsApi - object-oriented interface
24
+ * @export
25
+ * @class LogsApi
26
+ * @extends {BaseAPI}
27
+ */
28
+ var LogsApi = /** @class */ (function (_super) {
29
+ __extends(LogsApi, _super);
30
+ function LogsApi(configuration) {
31
+ return _super.call(this, configuration) || this;
32
+ }
33
+ /**
34
+ * @summary List event logs for a standby pool
35
+ * @param {string} poolId Id of the standby pool
36
+ * @param {*} [queryParameters] query parameters for filtering, sorting and pagination
37
+ * @throws {BitmovinError}
38
+ * @memberof LogsApi
39
+ */
40
+ LogsApi.prototype.list = function (poolId, queryParameters) {
41
+ var pathParamMap = {
42
+ pool_id: poolId
43
+ };
44
+ var queryParams = {};
45
+ if (typeof queryParameters === 'function') {
46
+ queryParams = queryParameters(new LiveStandbyPoolEventLogListQueryParams_1.LiveStandbyPoolEventLogListQueryParamsBuilder()).buildQueryParams();
47
+ }
48
+ else if (queryParameters) {
49
+ queryParams = queryParameters;
50
+ }
51
+ return this.restClient.get('/encoding/live/standby-pools/{pool_id}/logs', pathParamMap, queryParams).then(function (response) {
52
+ return new PaginationResponse_1.default(response, LiveStandbyPoolEventLog_1.default);
53
+ });
54
+ };
55
+ return LogsApi;
56
+ }(BaseAPI_1.BaseAPI));
57
+ exports.default = LogsApi;
@@ -9,6 +9,24 @@ export declare class LiveEncodingStatsEventDetails {
9
9
  * @memberof LiveEncodingStatsEventDetails
10
10
  */
11
11
  eventType?: LiveEncodingEventName;
12
+ /**
13
+ * Short description of the event
14
+ * @type {string}
15
+ * @memberof LiveEncodingStatsEventDetails
16
+ */
17
+ message?: string;
18
+ /**
19
+ * Name of the mid roll asset name
20
+ * @type {string[]}
21
+ * @memberof LiveEncodingStatsEventDetails
22
+ */
23
+ midRollAssetNames?: string[];
24
+ /**
25
+ * Duration in seconds
26
+ * @type {number}
27
+ * @memberof LiveEncodingStatsEventDetails
28
+ */
29
+ durationInSeconds?: number;
12
30
  constructor(obj?: Partial<LiveEncodingStatsEventDetails>);
13
31
  }
14
32
  export default LiveEncodingStatsEventDetails;
@@ -12,6 +12,9 @@ var LiveEncodingStatsEventDetails = /** @class */ (function () {
12
12
  return;
13
13
  }
14
14
  this.eventType = (0, Mapper_1.map)(obj.eventType);
15
+ this.message = (0, Mapper_1.map)(obj.message);
16
+ this.midRollAssetNames = (0, Mapper_1.mapArray)(obj.midRollAssetNames);
17
+ this.durationInSeconds = (0, Mapper_1.map)(obj.durationInSeconds);
15
18
  }
16
19
  return LiveEncodingStatsEventDetails;
17
20
  }());
@@ -0,0 +1,15 @@
1
+ import LiveStandbyPoolResponse from './LiveStandbyPoolResponse';
2
+ /**
3
+ * @export
4
+ * @class LiveStandbyPoolDetails
5
+ */
6
+ export declare class LiveStandbyPoolDetails extends LiveStandbyPoolResponse {
7
+ /**
8
+ * Base64 encoded template used to start the encodings in the pool
9
+ * @type {string}
10
+ * @memberof LiveStandbyPoolDetails
11
+ */
12
+ encodingTemplate?: string;
13
+ constructor(obj?: Partial<LiveStandbyPoolDetails>);
14
+ }
15
+ export default LiveStandbyPoolDetails;
@@ -0,0 +1,38 @@
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.LiveStandbyPoolDetails = void 0;
19
+ var Mapper_1 = require("../common/Mapper");
20
+ var LiveStandbyPoolResponse_1 = require("./LiveStandbyPoolResponse");
21
+ /**
22
+ * @export
23
+ * @class LiveStandbyPoolDetails
24
+ */
25
+ var LiveStandbyPoolDetails = /** @class */ (function (_super) {
26
+ __extends(LiveStandbyPoolDetails, _super);
27
+ function LiveStandbyPoolDetails(obj) {
28
+ var _this = _super.call(this, obj) || this;
29
+ if (!obj) {
30
+ return _this;
31
+ }
32
+ _this.encodingTemplate = (0, Mapper_1.map)(obj.encodingTemplate);
33
+ return _this;
34
+ }
35
+ return LiveStandbyPoolDetails;
36
+ }(LiveStandbyPoolResponse_1.default));
37
+ exports.LiveStandbyPoolDetails = LiveStandbyPoolDetails;
38
+ exports.default = LiveStandbyPoolDetails;
@@ -0,0 +1,47 @@
1
+ import LiveStandbyPoolEncodingIngestPoint from './LiveStandbyPoolEncodingIngestPoint';
2
+ import LiveStandbyPoolEncodingManifest from './LiveStandbyPoolEncodingManifest';
3
+ import LiveStandbyPoolEncodingStatus from './LiveStandbyPoolEncodingStatus';
4
+ /**
5
+ * @export
6
+ * @class LiveStandbyPoolEncoding
7
+ */
8
+ export declare class LiveStandbyPoolEncoding {
9
+ /**
10
+ * @type {string}
11
+ * @memberof LiveStandbyPoolEncoding
12
+ */
13
+ id?: string;
14
+ /**
15
+ * @type {string}
16
+ * @memberof LiveStandbyPoolEncoding
17
+ */
18
+ createdAt?: string;
19
+ /**
20
+ * @type {string}
21
+ * @memberof LiveStandbyPoolEncoding
22
+ */
23
+ modifiedAt?: string;
24
+ /**
25
+ * ID of the encoding that ready for ingest in the standby pool
26
+ * @type {string}
27
+ * @memberof LiveStandbyPoolEncoding
28
+ */
29
+ encodingId?: string;
30
+ /**
31
+ * @type {LiveStandbyPoolEncodingManifest[]}
32
+ * @memberof LiveStandbyPoolEncoding
33
+ */
34
+ manifests?: LiveStandbyPoolEncodingManifest[];
35
+ /**
36
+ * @type {LiveStandbyPoolEncodingIngestPoint[]}
37
+ * @memberof LiveStandbyPoolEncoding
38
+ */
39
+ ingestPoints?: LiveStandbyPoolEncodingIngestPoint[];
40
+ /**
41
+ * @type {LiveStandbyPoolEncodingStatus}
42
+ * @memberof LiveStandbyPoolEncoding
43
+ */
44
+ status?: LiveStandbyPoolEncodingStatus;
45
+ constructor(obj?: Partial<LiveStandbyPoolEncoding>);
46
+ }
47
+ export default LiveStandbyPoolEncoding;
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LiveStandbyPoolEncoding = void 0;
4
+ var Mapper_1 = require("../common/Mapper");
5
+ var LiveStandbyPoolEncodingIngestPoint_1 = require("./LiveStandbyPoolEncodingIngestPoint");
6
+ var LiveStandbyPoolEncodingManifest_1 = require("./LiveStandbyPoolEncodingManifest");
7
+ /**
8
+ * @export
9
+ * @class LiveStandbyPoolEncoding
10
+ */
11
+ var LiveStandbyPoolEncoding = /** @class */ (function () {
12
+ function LiveStandbyPoolEncoding(obj) {
13
+ if (!obj) {
14
+ return;
15
+ }
16
+ this.id = (0, Mapper_1.map)(obj.id);
17
+ this.createdAt = (0, Mapper_1.map)(obj.createdAt);
18
+ this.modifiedAt = (0, Mapper_1.map)(obj.modifiedAt);
19
+ this.encodingId = (0, Mapper_1.map)(obj.encodingId);
20
+ this.manifests = (0, Mapper_1.mapArray)(obj.manifests, LiveStandbyPoolEncodingManifest_1.default);
21
+ this.ingestPoints = (0, Mapper_1.mapArray)(obj.ingestPoints, LiveStandbyPoolEncodingIngestPoint_1.default);
22
+ this.status = (0, Mapper_1.map)(obj.status);
23
+ }
24
+ return LiveStandbyPoolEncoding;
25
+ }());
26
+ exports.LiveStandbyPoolEncoding = LiveStandbyPoolEncoding;
27
+ exports.default = LiveStandbyPoolEncoding;
@@ -0,0 +1,20 @@
1
+ /**
2
+ * @export
3
+ * @class LiveStandbyPoolEncodingIngestPoint
4
+ */
5
+ export declare class LiveStandbyPoolEncodingIngestPoint {
6
+ /**
7
+ * URL to the RTMP/RTMPS endpoint for this live encoding
8
+ * @type {string}
9
+ * @memberof LiveStandbyPoolEncodingIngestPoint
10
+ */
11
+ streamBaseUrl?: string;
12
+ /**
13
+ * Stream key value of this live encoding
14
+ * @type {string}
15
+ * @memberof LiveStandbyPoolEncodingIngestPoint
16
+ */
17
+ streamKey?: string;
18
+ constructor(obj?: Partial<LiveStandbyPoolEncodingIngestPoint>);
19
+ }
20
+ export default LiveStandbyPoolEncodingIngestPoint;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LiveStandbyPoolEncodingIngestPoint = void 0;
4
+ var Mapper_1 = require("../common/Mapper");
5
+ /**
6
+ * @export
7
+ * @class LiveStandbyPoolEncodingIngestPoint
8
+ */
9
+ var LiveStandbyPoolEncodingIngestPoint = /** @class */ (function () {
10
+ function LiveStandbyPoolEncodingIngestPoint(obj) {
11
+ if (!obj) {
12
+ return;
13
+ }
14
+ this.streamBaseUrl = (0, Mapper_1.map)(obj.streamBaseUrl);
15
+ this.streamKey = (0, Mapper_1.map)(obj.streamKey);
16
+ }
17
+ return LiveStandbyPoolEncodingIngestPoint;
18
+ }());
19
+ exports.LiveStandbyPoolEncodingIngestPoint = LiveStandbyPoolEncodingIngestPoint;
20
+ exports.default = LiveStandbyPoolEncodingIngestPoint;
@@ -0,0 +1,26 @@
1
+ import LiveStandbyPoolEncodingManifestType from './LiveStandbyPoolEncodingManifestType';
2
+ /**
3
+ * @export
4
+ * @class LiveStandbyPoolEncodingManifest
5
+ */
6
+ export declare class LiveStandbyPoolEncodingManifest {
7
+ /**
8
+ * URL to the manifest
9
+ * @type {string}
10
+ * @memberof LiveStandbyPoolEncodingManifest
11
+ */
12
+ url?: string;
13
+ /**
14
+ * ID of the manifest that was created for the encoding
15
+ * @type {string}
16
+ * @memberof LiveStandbyPoolEncodingManifest
17
+ */
18
+ manifestId?: string;
19
+ /**
20
+ * @type {LiveStandbyPoolEncodingManifestType}
21
+ * @memberof LiveStandbyPoolEncodingManifest
22
+ */
23
+ type?: LiveStandbyPoolEncodingManifestType;
24
+ constructor(obj?: Partial<LiveStandbyPoolEncodingManifest>);
25
+ }
26
+ export default LiveStandbyPoolEncodingManifest;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LiveStandbyPoolEncodingManifest = void 0;
4
+ var Mapper_1 = require("../common/Mapper");
5
+ /**
6
+ * @export
7
+ * @class LiveStandbyPoolEncodingManifest
8
+ */
9
+ var LiveStandbyPoolEncodingManifest = /** @class */ (function () {
10
+ function LiveStandbyPoolEncodingManifest(obj) {
11
+ if (!obj) {
12
+ return;
13
+ }
14
+ this.url = (0, Mapper_1.map)(obj.url);
15
+ this.manifestId = (0, Mapper_1.map)(obj.manifestId);
16
+ this.type = (0, Mapper_1.map)(obj.type);
17
+ }
18
+ return LiveStandbyPoolEncodingManifest;
19
+ }());
20
+ exports.LiveStandbyPoolEncodingManifest = LiveStandbyPoolEncodingManifest;
21
+ exports.default = LiveStandbyPoolEncodingManifest;
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Type of the manifest
3
+ * @export
4
+ * @enum {string}
5
+ */
6
+ export declare enum LiveStandbyPoolEncodingManifestType {
7
+ DASH = "DASH",
8
+ HLS = "HLS"
9
+ }
10
+ export default LiveStandbyPoolEncodingManifestType;
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LiveStandbyPoolEncodingManifestType = void 0;
4
+ /**
5
+ * Type of the manifest
6
+ * @export
7
+ * @enum {string}
8
+ */
9
+ var LiveStandbyPoolEncodingManifestType;
10
+ (function (LiveStandbyPoolEncodingManifestType) {
11
+ LiveStandbyPoolEncodingManifestType["DASH"] = "DASH";
12
+ LiveStandbyPoolEncodingManifestType["HLS"] = "HLS";
13
+ })(LiveStandbyPoolEncodingManifestType || (exports.LiveStandbyPoolEncodingManifestType = LiveStandbyPoolEncodingManifestType = {}));
14
+ exports.default = LiveStandbyPoolEncodingManifestType;
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Status of the standby pool encoding
3
+ * @export
4
+ * @enum {string}
5
+ */
6
+ export declare enum LiveStandbyPoolEncodingStatus {
7
+ TO_BE_CREATED = "TO_BE_CREATED",
8
+ CREATING = "CREATING",
9
+ PREPARING = "PREPARING",
10
+ READY = "READY",
11
+ TO_BE_DELETED = "TO_BE_DELETED",
12
+ DELETING = "DELETING",
13
+ ACQUIRED = "ACQUIRED",
14
+ ERROR = "ERROR"
15
+ }
16
+ export default LiveStandbyPoolEncodingStatus;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LiveStandbyPoolEncodingStatus = void 0;
4
+ /**
5
+ * Status of the standby pool encoding
6
+ * @export
7
+ * @enum {string}
8
+ */
9
+ var LiveStandbyPoolEncodingStatus;
10
+ (function (LiveStandbyPoolEncodingStatus) {
11
+ LiveStandbyPoolEncodingStatus["TO_BE_CREATED"] = "TO_BE_CREATED";
12
+ LiveStandbyPoolEncodingStatus["CREATING"] = "CREATING";
13
+ LiveStandbyPoolEncodingStatus["PREPARING"] = "PREPARING";
14
+ LiveStandbyPoolEncodingStatus["READY"] = "READY";
15
+ LiveStandbyPoolEncodingStatus["TO_BE_DELETED"] = "TO_BE_DELETED";
16
+ LiveStandbyPoolEncodingStatus["DELETING"] = "DELETING";
17
+ LiveStandbyPoolEncodingStatus["ACQUIRED"] = "ACQUIRED";
18
+ LiveStandbyPoolEncodingStatus["ERROR"] = "ERROR";
19
+ })(LiveStandbyPoolEncodingStatus || (exports.LiveStandbyPoolEncodingStatus = LiveStandbyPoolEncodingStatus = {}));
20
+ exports.default = LiveStandbyPoolEncodingStatus;
@@ -0,0 +1,50 @@
1
+ import LiveStandbyPoolEventLogType from './LiveStandbyPoolEventLogType';
2
+ /**
3
+ * @export
4
+ * @class LiveStandbyPoolEventLog
5
+ */
6
+ export declare class LiveStandbyPoolEventLog {
7
+ /**
8
+ * UUID of the entry
9
+ * @type {string}
10
+ * @memberof LiveStandbyPoolEventLog
11
+ */
12
+ id?: string;
13
+ /**
14
+ * Id of the standby_pool associated with the event log
15
+ * @type {string}
16
+ * @memberof LiveStandbyPoolEventLog
17
+ */
18
+ standbyPoolId?: string;
19
+ /**
20
+ * (Optional) Id of the standby pool encoding associated with the event
21
+ * @type {string}
22
+ * @memberof LiveStandbyPoolEventLog
23
+ */
24
+ standbyPoolEncodingId?: string;
25
+ /**
26
+ * Creation timestamp, returned as UTC expressed in ISO 8601 format: YYYY-MM-DDThh:mm:ssZ
27
+ * @type {string}
28
+ * @memberof LiveStandbyPoolEventLog
29
+ */
30
+ createdAt?: string;
31
+ /**
32
+ * Short description of the event
33
+ * @type {string}
34
+ * @memberof LiveStandbyPoolEventLog
35
+ */
36
+ message?: string;
37
+ /**
38
+ * Detailed description, payloads, hints on how to resolve errors, etc
39
+ * @type {string}
40
+ * @memberof LiveStandbyPoolEventLog
41
+ */
42
+ details?: string;
43
+ /**
44
+ * @type {LiveStandbyPoolEventLogType}
45
+ * @memberof LiveStandbyPoolEventLog
46
+ */
47
+ eventType?: LiveStandbyPoolEventLogType;
48
+ constructor(obj?: Partial<LiveStandbyPoolEventLog>);
49
+ }
50
+ export default LiveStandbyPoolEventLog;
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LiveStandbyPoolEventLog = void 0;
4
+ var Mapper_1 = require("../common/Mapper");
5
+ /**
6
+ * @export
7
+ * @class LiveStandbyPoolEventLog
8
+ */
9
+ var LiveStandbyPoolEventLog = /** @class */ (function () {
10
+ function LiveStandbyPoolEventLog(obj) {
11
+ if (!obj) {
12
+ return;
13
+ }
14
+ this.id = (0, Mapper_1.map)(obj.id);
15
+ this.standbyPoolId = (0, Mapper_1.map)(obj.standbyPoolId);
16
+ this.standbyPoolEncodingId = (0, Mapper_1.map)(obj.standbyPoolEncodingId);
17
+ this.createdAt = (0, Mapper_1.map)(obj.createdAt);
18
+ this.message = (0, Mapper_1.map)(obj.message);
19
+ this.details = (0, Mapper_1.map)(obj.details);
20
+ this.eventType = (0, Mapper_1.map)(obj.eventType);
21
+ }
22
+ return LiveStandbyPoolEventLog;
23
+ }());
24
+ exports.LiveStandbyPoolEventLog = LiveStandbyPoolEventLog;
25
+ exports.default = LiveStandbyPoolEventLog;
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Event log type of the standby pool
3
+ * @export
4
+ * @enum {string}
5
+ */
6
+ export declare enum LiveStandbyPoolEventLogType {
7
+ INFO = "INFO",
8
+ WARN = "WARN",
9
+ ERROR = "ERROR"
10
+ }
11
+ export default LiveStandbyPoolEventLogType;
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LiveStandbyPoolEventLogType = void 0;
4
+ /**
5
+ * Event log type of the standby pool
6
+ * @export
7
+ * @enum {string}
8
+ */
9
+ var LiveStandbyPoolEventLogType;
10
+ (function (LiveStandbyPoolEventLogType) {
11
+ LiveStandbyPoolEventLogType["INFO"] = "INFO";
12
+ LiveStandbyPoolEventLogType["WARN"] = "WARN";
13
+ LiveStandbyPoolEventLogType["ERROR"] = "ERROR";
14
+ })(LiveStandbyPoolEventLogType || (exports.LiveStandbyPoolEventLogType = LiveStandbyPoolEventLogType = {}));
15
+ exports.default = LiveStandbyPoolEventLogType;
@@ -0,0 +1,21 @@
1
+ import BitmovinResource from './BitmovinResource';
2
+ /**
3
+ * @export
4
+ * @class LiveStandbyPoolRequest
5
+ */
6
+ export declare class LiveStandbyPoolRequest extends BitmovinResource {
7
+ /**
8
+ * Number of instances to keep ready for streaming while the pool is running (required)
9
+ * @type {number}
10
+ * @memberof LiveStandbyPoolRequest
11
+ */
12
+ targetPoolSize?: number;
13
+ /**
14
+ * Base64 encoded template used to start the encodings in the pool (required)
15
+ * @type {string}
16
+ * @memberof LiveStandbyPoolRequest
17
+ */
18
+ encodingTemplate?: string;
19
+ constructor(obj?: Partial<LiveStandbyPoolRequest>);
20
+ }
21
+ export default LiveStandbyPoolRequest;
@@ -0,0 +1,39 @@
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.LiveStandbyPoolRequest = void 0;
19
+ var Mapper_1 = require("../common/Mapper");
20
+ var BitmovinResource_1 = require("./BitmovinResource");
21
+ /**
22
+ * @export
23
+ * @class LiveStandbyPoolRequest
24
+ */
25
+ var LiveStandbyPoolRequest = /** @class */ (function (_super) {
26
+ __extends(LiveStandbyPoolRequest, _super);
27
+ function LiveStandbyPoolRequest(obj) {
28
+ var _this = _super.call(this, obj) || this;
29
+ if (!obj) {
30
+ return _this;
31
+ }
32
+ _this.targetPoolSize = (0, Mapper_1.map)(obj.targetPoolSize);
33
+ _this.encodingTemplate = (0, Mapper_1.map)(obj.encodingTemplate);
34
+ return _this;
35
+ }
36
+ return LiveStandbyPoolRequest;
37
+ }(BitmovinResource_1.default));
38
+ exports.LiveStandbyPoolRequest = LiveStandbyPoolRequest;
39
+ exports.default = LiveStandbyPoolRequest;
@@ -0,0 +1,45 @@
1
+ import BitmovinResource from './BitmovinResource';
2
+ import LiveStandbyPoolStatus from './LiveStandbyPoolStatus';
3
+ /**
4
+ * @export
5
+ * @class LiveStandbyPoolResponse
6
+ */
7
+ export declare class LiveStandbyPoolResponse extends BitmovinResource {
8
+ /**
9
+ * Number of instances to keep ready for streaming while the pool is running (required)
10
+ * @type {number}
11
+ * @memberof LiveStandbyPoolResponse
12
+ */
13
+ targetPoolSize?: number;
14
+ /**
15
+ * Number of instances currently in ready state in the pool
16
+ * @type {number}
17
+ * @memberof LiveStandbyPoolResponse
18
+ */
19
+ readyEncodings?: number;
20
+ /**
21
+ * Number of instances currently being prepared in the pool
22
+ * @type {number}
23
+ * @memberof LiveStandbyPoolResponse
24
+ */
25
+ preparingEncodings?: number;
26
+ /**
27
+ * Number of instances currently in error state in the pool
28
+ * @type {number}
29
+ * @memberof LiveStandbyPoolResponse
30
+ */
31
+ errorEncodings?: number;
32
+ /**
33
+ * The name of the encoding template used with this Standby Pool
34
+ * @type {string}
35
+ * @memberof LiveStandbyPoolResponse
36
+ */
37
+ encodingTemplateName?: string;
38
+ /**
39
+ * @type {LiveStandbyPoolStatus}
40
+ * @memberof LiveStandbyPoolResponse
41
+ */
42
+ poolStatus?: LiveStandbyPoolStatus;
43
+ constructor(obj?: Partial<LiveStandbyPoolResponse>);
44
+ }
45
+ export default LiveStandbyPoolResponse;
@@ -0,0 +1,43 @@
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.LiveStandbyPoolResponse = void 0;
19
+ var Mapper_1 = require("../common/Mapper");
20
+ var BitmovinResource_1 = require("./BitmovinResource");
21
+ /**
22
+ * @export
23
+ * @class LiveStandbyPoolResponse
24
+ */
25
+ var LiveStandbyPoolResponse = /** @class */ (function (_super) {
26
+ __extends(LiveStandbyPoolResponse, _super);
27
+ function LiveStandbyPoolResponse(obj) {
28
+ var _this = _super.call(this, obj) || this;
29
+ if (!obj) {
30
+ return _this;
31
+ }
32
+ _this.targetPoolSize = (0, Mapper_1.map)(obj.targetPoolSize);
33
+ _this.readyEncodings = (0, Mapper_1.map)(obj.readyEncodings);
34
+ _this.preparingEncodings = (0, Mapper_1.map)(obj.preparingEncodings);
35
+ _this.errorEncodings = (0, Mapper_1.map)(obj.errorEncodings);
36
+ _this.encodingTemplateName = (0, Mapper_1.map)(obj.encodingTemplateName);
37
+ _this.poolStatus = (0, Mapper_1.map)(obj.poolStatus);
38
+ return _this;
39
+ }
40
+ return LiveStandbyPoolResponse;
41
+ }(BitmovinResource_1.default));
42
+ exports.LiveStandbyPoolResponse = LiveStandbyPoolResponse;
43
+ exports.default = LiveStandbyPoolResponse;
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Status of the live standby pool
3
+ * @export
4
+ * @enum {string}
5
+ */
6
+ export declare enum LiveStandbyPoolStatus {
7
+ HEALTHY = "HEALTHY",
8
+ ERROR = "ERROR"
9
+ }
10
+ export default LiveStandbyPoolStatus;
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LiveStandbyPoolStatus = void 0;
4
+ /**
5
+ * Status of the live standby pool
6
+ * @export
7
+ * @enum {string}
8
+ */
9
+ var LiveStandbyPoolStatus;
10
+ (function (LiveStandbyPoolStatus) {
11
+ LiveStandbyPoolStatus["HEALTHY"] = "HEALTHY";
12
+ LiveStandbyPoolStatus["ERROR"] = "ERROR";
13
+ })(LiveStandbyPoolStatus || (exports.LiveStandbyPoolStatus = LiveStandbyPoolStatus = {}));
14
+ exports.default = LiveStandbyPoolStatus;