@bitmovin/api-sdk 1.210.0 → 1.212.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.
- package/README.md +1 -1
- package/dist/bitmovin-api-sdk.browser.js +1582 -34
- package/dist/bitmovin-api-sdk.browser.min.js +1 -1
- package/dist/common/RestClient.js +1 -1
- package/dist/encoding/infrastructure/InfrastructureApi.d.ts +2 -0
- package/dist/encoding/infrastructure/InfrastructureApi.js +2 -0
- package/dist/encoding/infrastructure/akamai/AkamaiAccountListQueryParams.d.ts +28 -0
- package/dist/encoding/infrastructure/akamai/AkamaiAccountListQueryParams.js +29 -0
- package/dist/encoding/infrastructure/akamai/AkamaiApi.d.ts +44 -0
- package/dist/encoding/infrastructure/akamai/AkamaiApi.js +96 -0
- package/dist/encoding/infrastructure/akamai/regions/AkamaiAccountRegionSettingsListQueryParams.d.ts +28 -0
- package/dist/encoding/infrastructure/akamai/regions/AkamaiAccountRegionSettingsListQueryParams.js +29 -0
- package/dist/encoding/infrastructure/akamai/regions/RegionsApi.d.ts +48 -0
- package/dist/encoding/infrastructure/akamai/regions/RegionsApi.js +107 -0
- package/dist/encoding/live/LiveApi.d.ts +2 -0
- package/dist/encoding/live/LiveApi.js +2 -0
- package/dist/encoding/live/standbyPools/StandbyPoolsApi.d.ts +58 -0
- package/dist/encoding/live/standbyPools/StandbyPoolsApi.js +108 -0
- package/dist/encoding/live/standbyPools/actions/ActionsApi.d.ts +26 -0
- package/dist/encoding/live/standbyPools/actions/ActionsApi.js +62 -0
- package/dist/encoding/live/standbyPools/encodings/EncodingsApi.d.ts +31 -0
- package/dist/encoding/live/standbyPools/encodings/EncodingsApi.js +75 -0
- package/dist/encoding/live/standbyPools/encodings/LiveStandbyPoolEncodingListQueryParams.d.ts +50 -0
- package/dist/encoding/live/standbyPools/encodings/LiveStandbyPoolEncodingListQueryParams.js +45 -0
- package/dist/encoding/live/standbyPools/logs/LiveStandbyPoolEventLogListQueryParams.d.ts +50 -0
- package/dist/encoding/live/standbyPools/logs/LiveStandbyPoolEventLogListQueryParams.js +45 -0
- package/dist/encoding/live/standbyPools/logs/LogsApi.d.ts +22 -0
- package/dist/encoding/live/standbyPools/logs/LogsApi.js +57 -0
- package/dist/encoding/templates/EncodingTemplateResponseListQueryParams.d.ts +40 -0
- package/dist/encoding/templates/EncodingTemplateResponseListQueryParams.js +37 -0
- package/dist/encoding/templates/TemplatesApi.d.ts +33 -0
- package/dist/encoding/templates/TemplatesApi.js +62 -0
- package/dist/models/AkamaiAccount.d.ts +15 -0
- package/dist/models/AkamaiAccount.js +38 -0
- package/dist/models/AkamaiAccountRegionSettings.d.ts +27 -0
- package/dist/models/AkamaiAccountRegionSettings.js +40 -0
- package/dist/models/AkamaiCloudRegion.d.ts +20 -0
- package/dist/models/AkamaiCloudRegion.js +24 -0
- package/dist/models/EncodingTemplateDetails.d.ts +15 -0
- package/dist/models/EncodingTemplateDetails.js +38 -0
- package/dist/models/EncodingTemplateResponse.d.ts +15 -0
- package/dist/models/EncodingTemplateResponse.js +38 -0
- package/dist/models/EncodingTemplateType.d.ts +10 -0
- package/dist/models/EncodingTemplateType.js +14 -0
- package/dist/models/LiveStandbyPoolDetails.d.ts +15 -0
- package/dist/models/LiveStandbyPoolDetails.js +38 -0
- package/dist/models/LiveStandbyPoolEncoding.d.ts +47 -0
- package/dist/models/LiveStandbyPoolEncoding.js +27 -0
- package/dist/models/LiveStandbyPoolEncodingIngestPoint.d.ts +20 -0
- package/dist/models/LiveStandbyPoolEncodingIngestPoint.js +20 -0
- package/dist/models/LiveStandbyPoolEncodingManifest.d.ts +26 -0
- package/dist/models/LiveStandbyPoolEncodingManifest.js +21 -0
- package/dist/models/LiveStandbyPoolEncodingManifestType.d.ts +10 -0
- package/dist/models/LiveStandbyPoolEncodingManifestType.js +14 -0
- package/dist/models/LiveStandbyPoolEncodingStatus.d.ts +16 -0
- package/dist/models/LiveStandbyPoolEncodingStatus.js +20 -0
- package/dist/models/LiveStandbyPoolEventLog.d.ts +50 -0
- package/dist/models/LiveStandbyPoolEventLog.js +25 -0
- package/dist/models/LiveStandbyPoolEventLogType.d.ts +11 -0
- package/dist/models/LiveStandbyPoolEventLogType.js +15 -0
- package/dist/models/LiveStandbyPoolRequest.d.ts +21 -0
- package/dist/models/LiveStandbyPoolRequest.js +39 -0
- package/dist/models/LiveStandbyPoolResponse.d.ts +45 -0
- package/dist/models/LiveStandbyPoolResponse.js +43 -0
- package/dist/models/LiveStandbyPoolStatus.d.ts +10 -0
- package/dist/models/LiveStandbyPoolStatus.js +14 -0
- package/dist/models/LiveStandbyPoolUpdate.d.ts +20 -0
- package/dist/models/LiveStandbyPoolUpdate.js +20 -0
- package/dist/models/Mp4Muxing.d.ts +0 -6
- package/dist/models/Mp4Muxing.js +0 -2
- package/dist/models/index.d.ts +18 -1
- package/dist/models/index.js +18 -1
- package/package.json +1 -1
- package/dist/models/TimeCode.d.ts +0 -14
- package/dist/models/TimeCode.js +0 -19
|
@@ -17,7 +17,12 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
17
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
18
|
var BaseAPI_1 = require("../../common/BaseAPI");
|
|
19
19
|
var Mapper_1 = require("../../common/Mapper");
|
|
20
|
+
var BitmovinResponse_1 = require("../../models/BitmovinResponse");
|
|
21
|
+
var EncodingTemplateDetails_1 = require("../../models/EncodingTemplateDetails");
|
|
22
|
+
var EncodingTemplateResponse_1 = require("../../models/EncodingTemplateResponse");
|
|
20
23
|
var EncodingTemplateStartResponse_1 = require("../../models/EncodingTemplateStartResponse");
|
|
24
|
+
var PaginationResponse_1 = require("../../models/PaginationResponse");
|
|
25
|
+
var EncodingTemplateResponseListQueryParams_1 = require("./EncodingTemplateResponseListQueryParams");
|
|
21
26
|
/**
|
|
22
27
|
* TemplatesApi - object-oriented interface
|
|
23
28
|
* @export
|
|
@@ -29,6 +34,63 @@ var TemplatesApi = /** @class */ (function (_super) {
|
|
|
29
34
|
function TemplatesApi(configuration) {
|
|
30
35
|
return _super.call(this, configuration) || this;
|
|
31
36
|
}
|
|
37
|
+
/**
|
|
38
|
+
* @summary Store an Encoding Template
|
|
39
|
+
* @param {any} encodingTemplateRequest The Encoding Template to be stored
|
|
40
|
+
* @throws {BitmovinError}
|
|
41
|
+
* @memberof TemplatesApi
|
|
42
|
+
*/
|
|
43
|
+
TemplatesApi.prototype.create = function (encodingTemplateRequest) {
|
|
44
|
+
return this.restClient.post('/encoding/templates', {}, encodingTemplateRequest).then(function (response) {
|
|
45
|
+
return (0, Mapper_1.map)(response, EncodingTemplateDetails_1.default);
|
|
46
|
+
});
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* @summary Delete Encoding Template
|
|
50
|
+
* @param {string} encodingTemplateId Id of the encoding template to delete
|
|
51
|
+
* @throws {BitmovinError}
|
|
52
|
+
* @memberof TemplatesApi
|
|
53
|
+
*/
|
|
54
|
+
TemplatesApi.prototype.delete = function (encodingTemplateId) {
|
|
55
|
+
var pathParamMap = {
|
|
56
|
+
encoding_template_id: encodingTemplateId
|
|
57
|
+
};
|
|
58
|
+
return this.restClient.delete('/encoding/templates/{encoding_template_id}', pathParamMap).then(function (response) {
|
|
59
|
+
return (0, Mapper_1.map)(response, BitmovinResponse_1.default);
|
|
60
|
+
});
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* @summary Encoding Template details
|
|
64
|
+
* @param {string} encodingTemplateId Id of the Encoding Template
|
|
65
|
+
* @throws {BitmovinError}
|
|
66
|
+
* @memberof TemplatesApi
|
|
67
|
+
*/
|
|
68
|
+
TemplatesApi.prototype.get = function (encodingTemplateId) {
|
|
69
|
+
var pathParamMap = {
|
|
70
|
+
encoding_template_id: encodingTemplateId
|
|
71
|
+
};
|
|
72
|
+
return this.restClient.get('/encoding/templates/{encoding_template_id}', pathParamMap).then(function (response) {
|
|
73
|
+
return (0, Mapper_1.map)(response, EncodingTemplateDetails_1.default);
|
|
74
|
+
});
|
|
75
|
+
};
|
|
76
|
+
/**
|
|
77
|
+
* @summary List stored Encoding Templates
|
|
78
|
+
* @param {*} [queryParameters] query parameters for filtering, sorting and pagination
|
|
79
|
+
* @throws {BitmovinError}
|
|
80
|
+
* @memberof TemplatesApi
|
|
81
|
+
*/
|
|
82
|
+
TemplatesApi.prototype.list = function (queryParameters) {
|
|
83
|
+
var queryParams = {};
|
|
84
|
+
if (typeof queryParameters === 'function') {
|
|
85
|
+
queryParams = queryParameters(new EncodingTemplateResponseListQueryParams_1.EncodingTemplateResponseListQueryParamsBuilder()).buildQueryParams();
|
|
86
|
+
}
|
|
87
|
+
else if (queryParameters) {
|
|
88
|
+
queryParams = queryParameters;
|
|
89
|
+
}
|
|
90
|
+
return this.restClient.get('/encoding/templates', {}, queryParams).then(function (response) {
|
|
91
|
+
return new PaginationResponse_1.default(response, EncodingTemplateResponse_1.default);
|
|
92
|
+
});
|
|
93
|
+
};
|
|
32
94
|
/**
|
|
33
95
|
* @summary BETA: Start an Encoding defined with an Encoding Template
|
|
34
96
|
* @param {any} encodingTemplateRequest The Encoding Template to start an Encoding from
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import BitmovinResource from './BitmovinResource';
|
|
2
|
+
/**
|
|
3
|
+
* @export
|
|
4
|
+
* @class AkamaiAccount
|
|
5
|
+
*/
|
|
6
|
+
export declare class AkamaiAccount extends BitmovinResource {
|
|
7
|
+
/**
|
|
8
|
+
* Akamai/Linode API token (required)
|
|
9
|
+
* @type {string}
|
|
10
|
+
* @memberof AkamaiAccount
|
|
11
|
+
*/
|
|
12
|
+
apiToken?: string;
|
|
13
|
+
constructor(obj?: Partial<AkamaiAccount>);
|
|
14
|
+
}
|
|
15
|
+
export default AkamaiAccount;
|
|
@@ -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.AkamaiAccount = void 0;
|
|
19
|
+
var Mapper_1 = require("../common/Mapper");
|
|
20
|
+
var BitmovinResource_1 = require("./BitmovinResource");
|
|
21
|
+
/**
|
|
22
|
+
* @export
|
|
23
|
+
* @class AkamaiAccount
|
|
24
|
+
*/
|
|
25
|
+
var AkamaiAccount = /** @class */ (function (_super) {
|
|
26
|
+
__extends(AkamaiAccount, _super);
|
|
27
|
+
function AkamaiAccount(obj) {
|
|
28
|
+
var _this = _super.call(this, obj) || this;
|
|
29
|
+
if (!obj) {
|
|
30
|
+
return _this;
|
|
31
|
+
}
|
|
32
|
+
_this.apiToken = (0, Mapper_1.map)(obj.apiToken);
|
|
33
|
+
return _this;
|
|
34
|
+
}
|
|
35
|
+
return AkamaiAccount;
|
|
36
|
+
}(BitmovinResource_1.default));
|
|
37
|
+
exports.AkamaiAccount = AkamaiAccount;
|
|
38
|
+
exports.default = AkamaiAccount;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import AkamaiCloudRegion from './AkamaiCloudRegion';
|
|
2
|
+
import BitmovinResource from './BitmovinResource';
|
|
3
|
+
/**
|
|
4
|
+
* @export
|
|
5
|
+
* @class AkamaiAccountRegionSettings
|
|
6
|
+
*/
|
|
7
|
+
export declare class AkamaiAccountRegionSettings extends BitmovinResource {
|
|
8
|
+
/**
|
|
9
|
+
* Id of the VPC subnet for encoding instances (required)
|
|
10
|
+
* @type {number}
|
|
11
|
+
* @memberof AkamaiAccountRegionSettings
|
|
12
|
+
*/
|
|
13
|
+
subnetId?: number;
|
|
14
|
+
/**
|
|
15
|
+
* Id of the firewall for encoding instances (required)
|
|
16
|
+
* @type {number}
|
|
17
|
+
* @memberof AkamaiAccountRegionSettings
|
|
18
|
+
*/
|
|
19
|
+
firewallId?: number;
|
|
20
|
+
/**
|
|
21
|
+
* @type {AkamaiCloudRegion}
|
|
22
|
+
* @memberof AkamaiAccountRegionSettings
|
|
23
|
+
*/
|
|
24
|
+
region?: AkamaiCloudRegion;
|
|
25
|
+
constructor(obj?: Partial<AkamaiAccountRegionSettings>);
|
|
26
|
+
}
|
|
27
|
+
export default AkamaiAccountRegionSettings;
|
|
@@ -0,0 +1,40 @@
|
|
|
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.AkamaiAccountRegionSettings = void 0;
|
|
19
|
+
var Mapper_1 = require("../common/Mapper");
|
|
20
|
+
var BitmovinResource_1 = require("./BitmovinResource");
|
|
21
|
+
/**
|
|
22
|
+
* @export
|
|
23
|
+
* @class AkamaiAccountRegionSettings
|
|
24
|
+
*/
|
|
25
|
+
var AkamaiAccountRegionSettings = /** @class */ (function (_super) {
|
|
26
|
+
__extends(AkamaiAccountRegionSettings, _super);
|
|
27
|
+
function AkamaiAccountRegionSettings(obj) {
|
|
28
|
+
var _this = _super.call(this, obj) || this;
|
|
29
|
+
if (!obj) {
|
|
30
|
+
return _this;
|
|
31
|
+
}
|
|
32
|
+
_this.subnetId = (0, Mapper_1.map)(obj.subnetId);
|
|
33
|
+
_this.firewallId = (0, Mapper_1.map)(obj.firewallId);
|
|
34
|
+
_this.region = (0, Mapper_1.map)(obj.region);
|
|
35
|
+
return _this;
|
|
36
|
+
}
|
|
37
|
+
return AkamaiAccountRegionSettings;
|
|
38
|
+
}(BitmovinResource_1.default));
|
|
39
|
+
exports.AkamaiAccountRegionSettings = AkamaiAccountRegionSettings;
|
|
40
|
+
exports.default = AkamaiAccountRegionSettings;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @export
|
|
3
|
+
* @enum {string}
|
|
4
|
+
*/
|
|
5
|
+
export declare enum AkamaiCloudRegion {
|
|
6
|
+
BR_GRU = "BR_GRU",
|
|
7
|
+
ES_MAD = "ES_MAD",
|
|
8
|
+
FR_PAR = "FR_PAR",
|
|
9
|
+
ID_CGK = "ID_CGK",
|
|
10
|
+
IN_MAA = "IN_MAA",
|
|
11
|
+
IT_MIL = "IT_MIL",
|
|
12
|
+
JP_OSA = "JP_OSA",
|
|
13
|
+
NL_AMS = "NL_AMS",
|
|
14
|
+
SE_STO = "SE_STO",
|
|
15
|
+
US_LAX = "US_LAX",
|
|
16
|
+
US_MIA = "US_MIA",
|
|
17
|
+
US_ORD = "US_ORD",
|
|
18
|
+
US_SEA = "US_SEA"
|
|
19
|
+
}
|
|
20
|
+
export default AkamaiCloudRegion;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AkamaiCloudRegion = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* @export
|
|
6
|
+
* @enum {string}
|
|
7
|
+
*/
|
|
8
|
+
var AkamaiCloudRegion;
|
|
9
|
+
(function (AkamaiCloudRegion) {
|
|
10
|
+
AkamaiCloudRegion["BR_GRU"] = "BR_GRU";
|
|
11
|
+
AkamaiCloudRegion["ES_MAD"] = "ES_MAD";
|
|
12
|
+
AkamaiCloudRegion["FR_PAR"] = "FR_PAR";
|
|
13
|
+
AkamaiCloudRegion["ID_CGK"] = "ID_CGK";
|
|
14
|
+
AkamaiCloudRegion["IN_MAA"] = "IN_MAA";
|
|
15
|
+
AkamaiCloudRegion["IT_MIL"] = "IT_MIL";
|
|
16
|
+
AkamaiCloudRegion["JP_OSA"] = "JP_OSA";
|
|
17
|
+
AkamaiCloudRegion["NL_AMS"] = "NL_AMS";
|
|
18
|
+
AkamaiCloudRegion["SE_STO"] = "SE_STO";
|
|
19
|
+
AkamaiCloudRegion["US_LAX"] = "US_LAX";
|
|
20
|
+
AkamaiCloudRegion["US_MIA"] = "US_MIA";
|
|
21
|
+
AkamaiCloudRegion["US_ORD"] = "US_ORD";
|
|
22
|
+
AkamaiCloudRegion["US_SEA"] = "US_SEA";
|
|
23
|
+
})(AkamaiCloudRegion || (exports.AkamaiCloudRegion = AkamaiCloudRegion = {}));
|
|
24
|
+
exports.default = AkamaiCloudRegion;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import EncodingTemplateResponse from './EncodingTemplateResponse';
|
|
2
|
+
/**
|
|
3
|
+
* @export
|
|
4
|
+
* @class EncodingTemplateDetails
|
|
5
|
+
*/
|
|
6
|
+
export declare class EncodingTemplateDetails extends EncodingTemplateResponse {
|
|
7
|
+
/**
|
|
8
|
+
* The url to download the template file (required)
|
|
9
|
+
* @type {string}
|
|
10
|
+
* @memberof EncodingTemplateDetails
|
|
11
|
+
*/
|
|
12
|
+
url?: string;
|
|
13
|
+
constructor(obj?: Partial<EncodingTemplateDetails>);
|
|
14
|
+
}
|
|
15
|
+
export default EncodingTemplateDetails;
|
|
@@ -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.EncodingTemplateDetails = void 0;
|
|
19
|
+
var Mapper_1 = require("../common/Mapper");
|
|
20
|
+
var EncodingTemplateResponse_1 = require("./EncodingTemplateResponse");
|
|
21
|
+
/**
|
|
22
|
+
* @export
|
|
23
|
+
* @class EncodingTemplateDetails
|
|
24
|
+
*/
|
|
25
|
+
var EncodingTemplateDetails = /** @class */ (function (_super) {
|
|
26
|
+
__extends(EncodingTemplateDetails, _super);
|
|
27
|
+
function EncodingTemplateDetails(obj) {
|
|
28
|
+
var _this = _super.call(this, obj) || this;
|
|
29
|
+
if (!obj) {
|
|
30
|
+
return _this;
|
|
31
|
+
}
|
|
32
|
+
_this.url = (0, Mapper_1.map)(obj.url);
|
|
33
|
+
return _this;
|
|
34
|
+
}
|
|
35
|
+
return EncodingTemplateDetails;
|
|
36
|
+
}(EncodingTemplateResponse_1.default));
|
|
37
|
+
exports.EncodingTemplateDetails = EncodingTemplateDetails;
|
|
38
|
+
exports.default = EncodingTemplateDetails;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import BitmovinResource from './BitmovinResource';
|
|
2
|
+
import EncodingTemplateType from './EncodingTemplateType';
|
|
3
|
+
/**
|
|
4
|
+
* @export
|
|
5
|
+
* @class EncodingTemplateResponse
|
|
6
|
+
*/
|
|
7
|
+
export declare class EncodingTemplateResponse extends BitmovinResource {
|
|
8
|
+
/**
|
|
9
|
+
* @type {EncodingTemplateType}
|
|
10
|
+
* @memberof EncodingTemplateResponse
|
|
11
|
+
*/
|
|
12
|
+
type?: EncodingTemplateType;
|
|
13
|
+
constructor(obj?: Partial<EncodingTemplateResponse>);
|
|
14
|
+
}
|
|
15
|
+
export default EncodingTemplateResponse;
|
|
@@ -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.EncodingTemplateResponse = void 0;
|
|
19
|
+
var Mapper_1 = require("../common/Mapper");
|
|
20
|
+
var BitmovinResource_1 = require("./BitmovinResource");
|
|
21
|
+
/**
|
|
22
|
+
* @export
|
|
23
|
+
* @class EncodingTemplateResponse
|
|
24
|
+
*/
|
|
25
|
+
var EncodingTemplateResponse = /** @class */ (function (_super) {
|
|
26
|
+
__extends(EncodingTemplateResponse, _super);
|
|
27
|
+
function EncodingTemplateResponse(obj) {
|
|
28
|
+
var _this = _super.call(this, obj) || this;
|
|
29
|
+
if (!obj) {
|
|
30
|
+
return _this;
|
|
31
|
+
}
|
|
32
|
+
_this.type = (0, Mapper_1.map)(obj.type);
|
|
33
|
+
return _this;
|
|
34
|
+
}
|
|
35
|
+
return EncodingTemplateResponse;
|
|
36
|
+
}(BitmovinResource_1.default));
|
|
37
|
+
exports.EncodingTemplateResponse = EncodingTemplateResponse;
|
|
38
|
+
exports.default = EncodingTemplateResponse;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EncodingTemplateType = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* The Encoding Template type
|
|
6
|
+
* @export
|
|
7
|
+
* @enum {string}
|
|
8
|
+
*/
|
|
9
|
+
var EncodingTemplateType;
|
|
10
|
+
(function (EncodingTemplateType) {
|
|
11
|
+
EncodingTemplateType["VOD"] = "VOD";
|
|
12
|
+
EncodingTemplateType["LIVE"] = "LIVE";
|
|
13
|
+
})(EncodingTemplateType || (exports.EncodingTemplateType = EncodingTemplateType = {}));
|
|
14
|
+
exports.default = EncodingTemplateType;
|
|
@@ -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,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;
|