@bitmovin/api-sdk 1.106.0 → 1.109.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/account/organizations/OrganizationsApi.d.ts +1 -1
- package/dist/account/organizations/OrganizationsApi.js +1 -1
- package/dist/bitmovin-api-sdk.browser.js +672 -2
- package/dist/bitmovin-api-sdk.browser.js.map +1 -1
- package/dist/bitmovin-api-sdk.browser.min.js +2 -2
- package/dist/common/RestClient.js +1 -1
- package/dist/encoding/simple/jobs/JobsApi.d.ts +2 -0
- package/dist/encoding/simple/jobs/JobsApi.js +2 -0
- package/dist/encoding/simple/jobs/JobsApi.js.map +1 -1
- package/dist/encoding/simple/jobs/live/LiveApi.d.ts +27 -0
- package/dist/encoding/simple/jobs/live/LiveApi.js +58 -0
- package/dist/encoding/simple/jobs/live/LiveApi.js.map +1 -0
- package/dist/models/AdAnalyticsAttribute.d.ts +5 -0
- package/dist/models/AdAnalyticsAttribute.js +5 -0
- package/dist/models/AdAnalyticsAttribute.js.map +1 -1
- package/dist/models/AnalyticsAdsImpressionSample.d.ts +30 -0
- package/dist/models/AnalyticsAdsImpressionSample.js +5 -0
- package/dist/models/AnalyticsAdsImpressionSample.js.map +1 -1
- package/dist/models/AnalyticsAttribute.d.ts +5 -0
- package/dist/models/AnalyticsAttribute.js +5 -0
- package/dist/models/AnalyticsAttribute.js.map +1 -1
- package/dist/models/AnalyticsImpressionSample.d.ts +30 -0
- package/dist/models/AnalyticsImpressionSample.js +5 -0
- package/dist/models/AnalyticsImpressionSample.js.map +1 -1
- package/dist/models/AnalyticsLicenseCustomDataFieldLabels.d.ts +30 -0
- package/dist/models/AnalyticsLicenseCustomDataFieldLabels.js +5 -0
- package/dist/models/AnalyticsLicenseCustomDataFieldLabels.js.map +1 -1
- package/dist/models/SimpleEncodingLiveCloudRegion.d.ts +13 -0
- package/dist/models/SimpleEncodingLiveCloudRegion.js +18 -0
- package/dist/models/SimpleEncodingLiveCloudRegion.js.map +1 -0
- package/dist/models/SimpleEncodingLiveInputAspectRatio.d.ts +12 -0
- package/dist/models/SimpleEncodingLiveInputAspectRatio.js +17 -0
- package/dist/models/SimpleEncodingLiveInputAspectRatio.js.map +1 -0
- package/dist/models/SimpleEncodingLiveJobAccessKeyCredentials.d.ts +21 -0
- package/dist/models/SimpleEncodingLiveJobAccessKeyCredentials.js +38 -0
- package/dist/models/SimpleEncodingLiveJobAccessKeyCredentials.js.map +1 -0
- package/dist/models/SimpleEncodingLiveJobAzureCredentials.d.ts +15 -0
- package/dist/models/SimpleEncodingLiveJobAzureCredentials.js +37 -0
- package/dist/models/SimpleEncodingLiveJobAzureCredentials.js.map +1 -0
- package/dist/models/SimpleEncodingLiveJobCredentials.d.ts +8 -0
- package/dist/models/SimpleEncodingLiveJobCredentials.js +18 -0
- package/dist/models/SimpleEncodingLiveJobCredentials.js.map +1 -0
- package/dist/models/SimpleEncodingLiveJobGcsServiceAccountCredentials.d.ts +15 -0
- package/dist/models/SimpleEncodingLiveJobGcsServiceAccountCredentials.js +37 -0
- package/dist/models/SimpleEncodingLiveJobGcsServiceAccountCredentials.js.map +1 -0
- package/dist/models/SimpleEncodingLiveJobInput.d.ts +22 -0
- package/dist/models/SimpleEncodingLiveJobInput.js +21 -0
- package/dist/models/SimpleEncodingLiveJobInput.js.map +1 -0
- package/dist/models/SimpleEncodingLiveJobInputType.d.ts +9 -0
- package/dist/models/SimpleEncodingLiveJobInputType.js +14 -0
- package/dist/models/SimpleEncodingLiveJobInputType.js.map +1 -0
- package/dist/models/SimpleEncodingLiveJobRequest.d.ts +34 -0
- package/dist/models/SimpleEncodingLiveJobRequest.js +25 -0
- package/dist/models/SimpleEncodingLiveJobRequest.js.map +1 -0
- package/dist/models/SimpleEncodingLiveJobResponse.d.ts +83 -0
- package/dist/models/SimpleEncodingLiveJobResponse.js +34 -0
- package/dist/models/SimpleEncodingLiveJobResponse.js.map +1 -0
- package/dist/models/SimpleEncodingLiveJobS3RoleBasedCredentials.d.ts +21 -0
- package/dist/models/SimpleEncodingLiveJobS3RoleBasedCredentials.js +38 -0
- package/dist/models/SimpleEncodingLiveJobS3RoleBasedCredentials.js.map +1 -0
- package/dist/models/SimpleEncodingLiveJobStatus.d.ts +15 -0
- package/dist/models/SimpleEncodingLiveJobStatus.js +20 -0
- package/dist/models/SimpleEncodingLiveJobStatus.js.map +1 -0
- package/dist/models/SimpleEncodingLiveJobUrlOutput.d.ts +34 -0
- package/dist/models/SimpleEncodingLiveJobUrlOutput.js +24 -0
- package/dist/models/SimpleEncodingLiveJobUrlOutput.js.map +1 -0
- package/dist/models/SimpleEncodingLiveJobUsernamePasswordCredentials.d.ts +21 -0
- package/dist/models/SimpleEncodingLiveJobUsernamePasswordCredentials.js +38 -0
- package/dist/models/SimpleEncodingLiveJobUsernamePasswordCredentials.js.map +1 -0
- package/dist/models/SimpleEncodingLiveMaxResolution.d.ts +10 -0
- package/dist/models/SimpleEncodingLiveMaxResolution.js +15 -0
- package/dist/models/SimpleEncodingLiveMaxResolution.js.map +1 -0
- package/dist/models/SimpleEncodingVodJobUrlInput.d.ts +1 -1
- package/dist/models/SimpleEncodingVodJobUrlOutput.d.ts +2 -2
- package/dist/models/index.d.ts +15 -0
- package/dist/models/index.js +15 -0
- package/dist/models/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,37 @@
|
|
|
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 (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
extendStatics(d, b);
|
|
11
|
+
function __() { this.constructor = d; }
|
|
12
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
13
|
+
};
|
|
14
|
+
})();
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.SimpleEncodingLiveJobAzureCredentials = void 0;
|
|
17
|
+
var Mapper_1 = require("../common/Mapper");
|
|
18
|
+
var SimpleEncodingLiveJobCredentials_1 = require("./SimpleEncodingLiveJobCredentials");
|
|
19
|
+
/**
|
|
20
|
+
* @export
|
|
21
|
+
* @class SimpleEncodingLiveJobAzureCredentials
|
|
22
|
+
*/
|
|
23
|
+
var SimpleEncodingLiveJobAzureCredentials = /** @class */ (function (_super) {
|
|
24
|
+
__extends(SimpleEncodingLiveJobAzureCredentials, _super);
|
|
25
|
+
function SimpleEncodingLiveJobAzureCredentials(obj) {
|
|
26
|
+
var _this = _super.call(this, obj) || this;
|
|
27
|
+
if (!obj) {
|
|
28
|
+
return _this;
|
|
29
|
+
}
|
|
30
|
+
_this.key = Mapper_1.map(obj.key);
|
|
31
|
+
return _this;
|
|
32
|
+
}
|
|
33
|
+
return SimpleEncodingLiveJobAzureCredentials;
|
|
34
|
+
}(SimpleEncodingLiveJobCredentials_1.default));
|
|
35
|
+
exports.SimpleEncodingLiveJobAzureCredentials = SimpleEncodingLiveJobAzureCredentials;
|
|
36
|
+
exports.default = SimpleEncodingLiveJobAzureCredentials;
|
|
37
|
+
//# sourceMappingURL=SimpleEncodingLiveJobAzureCredentials.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SimpleEncodingLiveJobAzureCredentials.js","sourceRoot":"","sources":["../../src/models/SimpleEncodingLiveJobAzureCredentials.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAA+C;AAC/C,uFAAkF;AAElF;;;GAGG;AACH;IAA2D,yDAAgC;IAQzF,+CAAY,GAAoD;QAAhE,YACE,kBAAM,GAAG,CAAC,SAKX;QAJC,IAAG,CAAC,GAAG,EAAE;;SAER;QACD,KAAI,CAAC,GAAG,GAAG,YAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;;IAC1B,CAAC;IACH,4CAAC;AAAD,CAAC,AAfD,CAA2D,0CAAgC,GAe1F;AAfY,sFAAqC;AAiBlD,kBAAe,qCAAqC,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SimpleEncodingLiveJobCredentials = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* @export
|
|
6
|
+
* @class SimpleEncodingLiveJobCredentials
|
|
7
|
+
*/
|
|
8
|
+
var SimpleEncodingLiveJobCredentials = /** @class */ (function () {
|
|
9
|
+
function SimpleEncodingLiveJobCredentials(obj) {
|
|
10
|
+
if (!obj) {
|
|
11
|
+
return;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
return SimpleEncodingLiveJobCredentials;
|
|
15
|
+
}());
|
|
16
|
+
exports.SimpleEncodingLiveJobCredentials = SimpleEncodingLiveJobCredentials;
|
|
17
|
+
exports.default = SimpleEncodingLiveJobCredentials;
|
|
18
|
+
//# sourceMappingURL=SimpleEncodingLiveJobCredentials.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SimpleEncodingLiveJobCredentials.js","sourceRoot":"","sources":["../../src/models/SimpleEncodingLiveJobCredentials.ts"],"names":[],"mappings":";;;AACA;;;GAGG;AACH;IACE,0CAAY,GAA+C;QACzD,IAAG,CAAC,GAAG,EAAE;YACP,OAAO;SACR;IACH,CAAC;IACH,uCAAC;AAAD,CAAC,AAND,IAMC;AANY,4EAAgC;AAQ7C,kBAAe,gCAAgC,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import SimpleEncodingLiveJobCredentials from './SimpleEncodingLiveJobCredentials';
|
|
2
|
+
/**
|
|
3
|
+
* @export
|
|
4
|
+
* @class SimpleEncodingLiveJobGcsServiceAccountCredentials
|
|
5
|
+
*/
|
|
6
|
+
export declare class SimpleEncodingLiveJobGcsServiceAccountCredentials extends SimpleEncodingLiveJobCredentials {
|
|
7
|
+
/**
|
|
8
|
+
* Service account credentials for Google (required)
|
|
9
|
+
* @type {string}
|
|
10
|
+
* @memberof SimpleEncodingLiveJobGcsServiceAccountCredentials
|
|
11
|
+
*/
|
|
12
|
+
serviceAccountCredentials?: string;
|
|
13
|
+
constructor(obj?: Partial<SimpleEncodingLiveJobGcsServiceAccountCredentials>);
|
|
14
|
+
}
|
|
15
|
+
export default SimpleEncodingLiveJobGcsServiceAccountCredentials;
|
|
@@ -0,0 +1,37 @@
|
|
|
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 (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
extendStatics(d, b);
|
|
11
|
+
function __() { this.constructor = d; }
|
|
12
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
13
|
+
};
|
|
14
|
+
})();
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.SimpleEncodingLiveJobGcsServiceAccountCredentials = void 0;
|
|
17
|
+
var Mapper_1 = require("../common/Mapper");
|
|
18
|
+
var SimpleEncodingLiveJobCredentials_1 = require("./SimpleEncodingLiveJobCredentials");
|
|
19
|
+
/**
|
|
20
|
+
* @export
|
|
21
|
+
* @class SimpleEncodingLiveJobGcsServiceAccountCredentials
|
|
22
|
+
*/
|
|
23
|
+
var SimpleEncodingLiveJobGcsServiceAccountCredentials = /** @class */ (function (_super) {
|
|
24
|
+
__extends(SimpleEncodingLiveJobGcsServiceAccountCredentials, _super);
|
|
25
|
+
function SimpleEncodingLiveJobGcsServiceAccountCredentials(obj) {
|
|
26
|
+
var _this = _super.call(this, obj) || this;
|
|
27
|
+
if (!obj) {
|
|
28
|
+
return _this;
|
|
29
|
+
}
|
|
30
|
+
_this.serviceAccountCredentials = Mapper_1.map(obj.serviceAccountCredentials);
|
|
31
|
+
return _this;
|
|
32
|
+
}
|
|
33
|
+
return SimpleEncodingLiveJobGcsServiceAccountCredentials;
|
|
34
|
+
}(SimpleEncodingLiveJobCredentials_1.default));
|
|
35
|
+
exports.SimpleEncodingLiveJobGcsServiceAccountCredentials = SimpleEncodingLiveJobGcsServiceAccountCredentials;
|
|
36
|
+
exports.default = SimpleEncodingLiveJobGcsServiceAccountCredentials;
|
|
37
|
+
//# sourceMappingURL=SimpleEncodingLiveJobGcsServiceAccountCredentials.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SimpleEncodingLiveJobGcsServiceAccountCredentials.js","sourceRoot":"","sources":["../../src/models/SimpleEncodingLiveJobGcsServiceAccountCredentials.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAA+C;AAC/C,uFAAkF;AAElF;;;GAGG;AACH;IAAuE,qEAAgC;IAQrG,2DAAY,GAAgE;QAA5E,YACE,kBAAM,GAAG,CAAC,SAKX;QAJC,IAAG,CAAC,GAAG,EAAE;;SAER;QACD,KAAI,CAAC,yBAAyB,GAAG,YAAG,CAAC,GAAG,CAAC,yBAAyB,CAAC,CAAC;;IACtE,CAAC;IACH,wDAAC;AAAD,CAAC,AAfD,CAAuE,0CAAgC,GAetG;AAfY,8GAAiD;AAiB9D,kBAAe,iDAAiD,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import SimpleEncodingLiveInputAspectRatio from './SimpleEncodingLiveInputAspectRatio';
|
|
2
|
+
import SimpleEncodingLiveJobInputType from './SimpleEncodingLiveJobInputType';
|
|
3
|
+
/**
|
|
4
|
+
* @export
|
|
5
|
+
* @class SimpleEncodingLiveJobInput
|
|
6
|
+
*/
|
|
7
|
+
export declare class SimpleEncodingLiveJobInput {
|
|
8
|
+
/**
|
|
9
|
+
* Defines which protocol is being used as input of the live stream.
|
|
10
|
+
* @type {SimpleEncodingLiveJobInputType}
|
|
11
|
+
* @memberof SimpleEncodingLiveJobInput
|
|
12
|
+
*/
|
|
13
|
+
inputType?: SimpleEncodingLiveJobInputType;
|
|
14
|
+
/**
|
|
15
|
+
* The aspect ratio of the input video stream
|
|
16
|
+
* @type {SimpleEncodingLiveInputAspectRatio}
|
|
17
|
+
* @memberof SimpleEncodingLiveJobInput
|
|
18
|
+
*/
|
|
19
|
+
inputAspectRatio?: SimpleEncodingLiveInputAspectRatio;
|
|
20
|
+
constructor(obj?: Partial<SimpleEncodingLiveJobInput>);
|
|
21
|
+
}
|
|
22
|
+
export default SimpleEncodingLiveJobInput;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SimpleEncodingLiveJobInput = void 0;
|
|
4
|
+
var Mapper_1 = require("../common/Mapper");
|
|
5
|
+
/**
|
|
6
|
+
* @export
|
|
7
|
+
* @class SimpleEncodingLiveJobInput
|
|
8
|
+
*/
|
|
9
|
+
var SimpleEncodingLiveJobInput = /** @class */ (function () {
|
|
10
|
+
function SimpleEncodingLiveJobInput(obj) {
|
|
11
|
+
if (!obj) {
|
|
12
|
+
return;
|
|
13
|
+
}
|
|
14
|
+
this.inputType = Mapper_1.map(obj.inputType);
|
|
15
|
+
this.inputAspectRatio = Mapper_1.map(obj.inputAspectRatio);
|
|
16
|
+
}
|
|
17
|
+
return SimpleEncodingLiveJobInput;
|
|
18
|
+
}());
|
|
19
|
+
exports.SimpleEncodingLiveJobInput = SimpleEncodingLiveJobInput;
|
|
20
|
+
exports.default = SimpleEncodingLiveJobInput;
|
|
21
|
+
//# sourceMappingURL=SimpleEncodingLiveJobInput.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SimpleEncodingLiveJobInput.js","sourceRoot":"","sources":["../../src/models/SimpleEncodingLiveJobInput.ts"],"names":[],"mappings":";;;AAAA,2CAA+C;AAI/C;;;GAGG;AACH;IAeE,oCAAY,GAAyC;QACnD,IAAG,CAAC,GAAG,EAAE;YACP,OAAO;SACR;QACD,IAAI,CAAC,SAAS,GAAG,YAAG,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;QACpC,IAAI,CAAC,gBAAgB,GAAG,YAAG,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC;IACpD,CAAC;IACH,iCAAC;AAAD,CAAC,AAtBD,IAsBC;AAtBY,gEAA0B;AAwBvC,kBAAe,0BAA0B,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SimpleEncodingLiveJobInputType = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* @export
|
|
6
|
+
* @enum {string}
|
|
7
|
+
*/
|
|
8
|
+
var SimpleEncodingLiveJobInputType;
|
|
9
|
+
(function (SimpleEncodingLiveJobInputType) {
|
|
10
|
+
SimpleEncodingLiveJobInputType["RTMP"] = "RTMP";
|
|
11
|
+
SimpleEncodingLiveJobInputType["SRT_LISTENER"] = "SRT_LISTENER";
|
|
12
|
+
})(SimpleEncodingLiveJobInputType = exports.SimpleEncodingLiveJobInputType || (exports.SimpleEncodingLiveJobInputType = {}));
|
|
13
|
+
exports.default = SimpleEncodingLiveJobInputType;
|
|
14
|
+
//# sourceMappingURL=SimpleEncodingLiveJobInputType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SimpleEncodingLiveJobInputType.js","sourceRoot":"","sources":["../../src/models/SimpleEncodingLiveJobInputType.ts"],"names":[],"mappings":";;;AAAA;;;GAGG;AACH,IAAY,8BAGX;AAHD,WAAY,8BAA8B;IACxC,+CAAa,CAAA;IACb,+DAA6B,CAAA;AAC/B,CAAC,EAHW,8BAA8B,GAA9B,sCAA8B,KAA9B,sCAA8B,QAGzC;AAED,kBAAe,8BAA8B,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import SimpleEncodingLiveCloudRegion from './SimpleEncodingLiveCloudRegion';
|
|
2
|
+
import SimpleEncodingLiveJobInput from './SimpleEncodingLiveJobInput';
|
|
3
|
+
import SimpleEncodingLiveJobUrlOutput from './SimpleEncodingLiveJobUrlOutput';
|
|
4
|
+
/**
|
|
5
|
+
* @export
|
|
6
|
+
* @class SimpleEncodingLiveJobRequest
|
|
7
|
+
*/
|
|
8
|
+
export declare class SimpleEncodingLiveJobRequest {
|
|
9
|
+
/**
|
|
10
|
+
* @type {SimpleEncodingLiveJobInput}
|
|
11
|
+
* @memberof SimpleEncodingLiveJobRequest
|
|
12
|
+
*/
|
|
13
|
+
input?: SimpleEncodingLiveJobInput;
|
|
14
|
+
/**
|
|
15
|
+
* output of the live encoding job (required)
|
|
16
|
+
* @type {SimpleEncodingLiveJobUrlOutput[]}
|
|
17
|
+
* @memberof SimpleEncodingLiveJobRequest
|
|
18
|
+
*/
|
|
19
|
+
outputs?: SimpleEncodingLiveJobUrlOutput[];
|
|
20
|
+
/**
|
|
21
|
+
* The cloud region that will be used for the live encoding. This value has to be set.
|
|
22
|
+
* @type {SimpleEncodingLiveCloudRegion}
|
|
23
|
+
* @memberof SimpleEncodingLiveJobRequest
|
|
24
|
+
*/
|
|
25
|
+
cloudRegion?: SimpleEncodingLiveCloudRegion;
|
|
26
|
+
/**
|
|
27
|
+
* This property will be used for naming the encoding.
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof SimpleEncodingLiveJobRequest
|
|
30
|
+
*/
|
|
31
|
+
name?: string;
|
|
32
|
+
constructor(obj?: Partial<SimpleEncodingLiveJobRequest>);
|
|
33
|
+
}
|
|
34
|
+
export default SimpleEncodingLiveJobRequest;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SimpleEncodingLiveJobRequest = void 0;
|
|
4
|
+
var Mapper_1 = require("../common/Mapper");
|
|
5
|
+
var SimpleEncodingLiveJobInput_1 = require("./SimpleEncodingLiveJobInput");
|
|
6
|
+
var SimpleEncodingLiveJobUrlOutput_1 = require("./SimpleEncodingLiveJobUrlOutput");
|
|
7
|
+
/**
|
|
8
|
+
* @export
|
|
9
|
+
* @class SimpleEncodingLiveJobRequest
|
|
10
|
+
*/
|
|
11
|
+
var SimpleEncodingLiveJobRequest = /** @class */ (function () {
|
|
12
|
+
function SimpleEncodingLiveJobRequest(obj) {
|
|
13
|
+
if (!obj) {
|
|
14
|
+
return;
|
|
15
|
+
}
|
|
16
|
+
this.input = Mapper_1.map(obj.input, SimpleEncodingLiveJobInput_1.default);
|
|
17
|
+
this.outputs = Mapper_1.mapArray(obj.outputs, SimpleEncodingLiveJobUrlOutput_1.default);
|
|
18
|
+
this.cloudRegion = Mapper_1.map(obj.cloudRegion);
|
|
19
|
+
this.name = Mapper_1.map(obj.name);
|
|
20
|
+
}
|
|
21
|
+
return SimpleEncodingLiveJobRequest;
|
|
22
|
+
}());
|
|
23
|
+
exports.SimpleEncodingLiveJobRequest = SimpleEncodingLiveJobRequest;
|
|
24
|
+
exports.default = SimpleEncodingLiveJobRequest;
|
|
25
|
+
//# sourceMappingURL=SimpleEncodingLiveJobRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SimpleEncodingLiveJobRequest.js","sourceRoot":"","sources":["../../src/models/SimpleEncodingLiveJobRequest.ts"],"names":[],"mappings":";;;AAAA,2CAA+C;AAE/C,2EAAsE;AACtE,mFAA8E;AAE9E;;;GAGG;AACH;IA4BE,sCAAY,GAA2C;QACrD,IAAG,CAAC,GAAG,EAAE;YACP,OAAO;SACR;QACD,IAAI,CAAC,KAAK,GAAG,YAAG,CAAC,GAAG,CAAC,KAAK,EAAE,oCAA0B,CAAC,CAAC;QACxD,IAAI,CAAC,OAAO,GAAG,iBAAQ,CAAC,GAAG,CAAC,OAAO,EAAE,wCAA8B,CAAC,CAAC;QACrE,IAAI,CAAC,WAAW,GAAG,YAAG,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;QACxC,IAAI,CAAC,IAAI,GAAG,YAAG,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;IAC5B,CAAC;IACH,mCAAC;AAAD,CAAC,AArCD,IAqCC;AArCY,oEAA4B;AAuCzC,kBAAe,4BAA4B,CAAC"}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import SimpleEncodingLiveCloudRegion from './SimpleEncodingLiveCloudRegion';
|
|
2
|
+
import SimpleEncodingLiveJobInput from './SimpleEncodingLiveJobInput';
|
|
3
|
+
import SimpleEncodingLiveJobStatus from './SimpleEncodingLiveJobStatus';
|
|
4
|
+
import SimpleEncodingLiveJobUrlOutput from './SimpleEncodingLiveJobUrlOutput';
|
|
5
|
+
import SimpleEncodingVodJobErrors from './SimpleEncodingVodJobErrors';
|
|
6
|
+
/**
|
|
7
|
+
* @export
|
|
8
|
+
* @class SimpleEncodingLiveJobResponse
|
|
9
|
+
*/
|
|
10
|
+
export declare class SimpleEncodingLiveJobResponse {
|
|
11
|
+
/**
|
|
12
|
+
* The identifier of the Simple Encoding Live Job
|
|
13
|
+
* @type {string}
|
|
14
|
+
* @memberof SimpleEncodingLiveJobResponse
|
|
15
|
+
*/
|
|
16
|
+
id?: string;
|
|
17
|
+
/**
|
|
18
|
+
* The current status of the Simple Encoding Live Job
|
|
19
|
+
* @type {SimpleEncodingLiveJobStatus}
|
|
20
|
+
* @memberof SimpleEncodingLiveJobResponse
|
|
21
|
+
*/
|
|
22
|
+
status?: SimpleEncodingLiveJobStatus;
|
|
23
|
+
/**
|
|
24
|
+
* The identifier of the encoding that has been created based on the job request. This is only returned once the job execution has been successful and the encoding could be started.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof SimpleEncodingLiveJobResponse
|
|
27
|
+
*/
|
|
28
|
+
encodingId?: string;
|
|
29
|
+
/**
|
|
30
|
+
* The IP address of the encoder for this job request. This is only returned once the job execution has been successful and the encoding could be started. Ingest is expected to be sent to this IP address.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof SimpleEncodingLiveJobResponse
|
|
33
|
+
*/
|
|
34
|
+
encoderIp?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Stream key of the live encoder
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof SimpleEncodingLiveJobResponse
|
|
39
|
+
*/
|
|
40
|
+
streamKey?: string;
|
|
41
|
+
/**
|
|
42
|
+
* @type {SimpleEncodingLiveJobInput}
|
|
43
|
+
* @memberof SimpleEncodingLiveJobResponse
|
|
44
|
+
*/
|
|
45
|
+
input?: SimpleEncodingLiveJobInput;
|
|
46
|
+
/**
|
|
47
|
+
* @type {SimpleEncodingLiveJobUrlOutput[]}
|
|
48
|
+
* @memberof SimpleEncodingLiveJobResponse
|
|
49
|
+
*/
|
|
50
|
+
outputs?: SimpleEncodingLiveJobUrlOutput[];
|
|
51
|
+
/**
|
|
52
|
+
* Describes all the errors in cases the status of the job is 'error'.
|
|
53
|
+
* @type {SimpleEncodingVodJobErrors[]}
|
|
54
|
+
* @memberof SimpleEncodingLiveJobResponse
|
|
55
|
+
*/
|
|
56
|
+
errors?: SimpleEncodingVodJobErrors[];
|
|
57
|
+
/**
|
|
58
|
+
* Creation timestamp, returned as UTC expressed in ISO 8601 format: YYYY-MM-DDThh:mm:ssZ
|
|
59
|
+
* @type {Date}
|
|
60
|
+
* @memberof SimpleEncodingLiveJobResponse
|
|
61
|
+
*/
|
|
62
|
+
createdAt?: Date;
|
|
63
|
+
/**
|
|
64
|
+
* Modified timestamp, returned as UTC expressed in ISO 8601 format: YYYY-MM-DDThh:mm:ssZ. The job is updated for example when the status changes
|
|
65
|
+
* @type {Date}
|
|
66
|
+
* @memberof SimpleEncodingLiveJobResponse
|
|
67
|
+
*/
|
|
68
|
+
modifiedAt?: Date;
|
|
69
|
+
/**
|
|
70
|
+
* This property will be used for naming the encoding and the manifests.
|
|
71
|
+
* @type {string}
|
|
72
|
+
* @memberof SimpleEncodingLiveJobResponse
|
|
73
|
+
*/
|
|
74
|
+
name?: string;
|
|
75
|
+
/**
|
|
76
|
+
* The cloud region that will be used for the live encoding
|
|
77
|
+
* @type {SimpleEncodingLiveCloudRegion}
|
|
78
|
+
* @memberof SimpleEncodingLiveJobResponse
|
|
79
|
+
*/
|
|
80
|
+
cloudRegion?: SimpleEncodingLiveCloudRegion;
|
|
81
|
+
constructor(obj?: Partial<SimpleEncodingLiveJobResponse>);
|
|
82
|
+
}
|
|
83
|
+
export default SimpleEncodingLiveJobResponse;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SimpleEncodingLiveJobResponse = void 0;
|
|
4
|
+
var Mapper_1 = require("../common/Mapper");
|
|
5
|
+
var SimpleEncodingLiveJobInput_1 = require("./SimpleEncodingLiveJobInput");
|
|
6
|
+
var SimpleEncodingLiveJobUrlOutput_1 = require("./SimpleEncodingLiveJobUrlOutput");
|
|
7
|
+
var SimpleEncodingVodJobErrors_1 = require("./SimpleEncodingVodJobErrors");
|
|
8
|
+
/**
|
|
9
|
+
* @export
|
|
10
|
+
* @class SimpleEncodingLiveJobResponse
|
|
11
|
+
*/
|
|
12
|
+
var SimpleEncodingLiveJobResponse = /** @class */ (function () {
|
|
13
|
+
function SimpleEncodingLiveJobResponse(obj) {
|
|
14
|
+
if (!obj) {
|
|
15
|
+
return;
|
|
16
|
+
}
|
|
17
|
+
this.id = Mapper_1.map(obj.id);
|
|
18
|
+
this.status = Mapper_1.map(obj.status);
|
|
19
|
+
this.encodingId = Mapper_1.map(obj.encodingId);
|
|
20
|
+
this.encoderIp = Mapper_1.map(obj.encoderIp);
|
|
21
|
+
this.streamKey = Mapper_1.map(obj.streamKey);
|
|
22
|
+
this.input = Mapper_1.map(obj.input, SimpleEncodingLiveJobInput_1.default);
|
|
23
|
+
this.outputs = Mapper_1.mapArray(obj.outputs, SimpleEncodingLiveJobUrlOutput_1.default);
|
|
24
|
+
this.errors = Mapper_1.mapArray(obj.errors, SimpleEncodingVodJobErrors_1.default);
|
|
25
|
+
this.createdAt = Mapper_1.map(obj.createdAt, Date);
|
|
26
|
+
this.modifiedAt = Mapper_1.map(obj.modifiedAt, Date);
|
|
27
|
+
this.name = Mapper_1.map(obj.name);
|
|
28
|
+
this.cloudRegion = Mapper_1.map(obj.cloudRegion);
|
|
29
|
+
}
|
|
30
|
+
return SimpleEncodingLiveJobResponse;
|
|
31
|
+
}());
|
|
32
|
+
exports.SimpleEncodingLiveJobResponse = SimpleEncodingLiveJobResponse;
|
|
33
|
+
exports.default = SimpleEncodingLiveJobResponse;
|
|
34
|
+
//# sourceMappingURL=SimpleEncodingLiveJobResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SimpleEncodingLiveJobResponse.js","sourceRoot":"","sources":["../../src/models/SimpleEncodingLiveJobResponse.ts"],"names":[],"mappings":";;;AAAA,2CAA+C;AAE/C,2EAAsE;AAEtE,mFAA8E;AAC9E,2EAAsE;AAEtE;;;GAGG;AACH;IAmFE,uCAAY,GAA4C;QACtD,IAAG,CAAC,GAAG,EAAE;YACP,OAAO;SACR;QACD,IAAI,CAAC,EAAE,GAAG,YAAG,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;QACtB,IAAI,CAAC,MAAM,GAAG,YAAG,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;QAC9B,IAAI,CAAC,UAAU,GAAG,YAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;QACtC,IAAI,CAAC,SAAS,GAAG,YAAG,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;QACpC,IAAI,CAAC,SAAS,GAAG,YAAG,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;QACpC,IAAI,CAAC,KAAK,GAAG,YAAG,CAAC,GAAG,CAAC,KAAK,EAAE,oCAA0B,CAAC,CAAC;QACxD,IAAI,CAAC,OAAO,GAAG,iBAAQ,CAAC,GAAG,CAAC,OAAO,EAAE,wCAA8B,CAAC,CAAC;QACrE,IAAI,CAAC,MAAM,GAAG,iBAAQ,CAAC,GAAG,CAAC,MAAM,EAAE,oCAA0B,CAAC,CAAC;QAC/D,IAAI,CAAC,SAAS,GAAG,YAAG,CAAC,GAAG,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;QAC1C,IAAI,CAAC,UAAU,GAAG,YAAG,CAAC,GAAG,CAAC,UAAU,EAAE,IAAI,CAAC,CAAC;QAC5C,IAAI,CAAC,IAAI,GAAG,YAAG,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;QAC1B,IAAI,CAAC,WAAW,GAAG,YAAG,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;IAC1C,CAAC;IACH,oCAAC;AAAD,CAAC,AApGD,IAoGC;AApGY,sEAA6B;AAsG1C,kBAAe,6BAA6B,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import SimpleEncodingLiveJobCredentials from './SimpleEncodingLiveJobCredentials';
|
|
2
|
+
/**
|
|
3
|
+
* @export
|
|
4
|
+
* @class SimpleEncodingLiveJobS3RoleBasedCredentials
|
|
5
|
+
*/
|
|
6
|
+
export declare class SimpleEncodingLiveJobS3RoleBasedCredentials extends SimpleEncodingLiveJobCredentials {
|
|
7
|
+
/**
|
|
8
|
+
* Amazon ARN of the IAM Role (Identity and Access Management Role) that will be assumed for S3 access. More details can be found [here](https://bitmovin.com/docs/encoding/api-reference/sections/inputs#/Encoding/PostEncodingInputsS3RoleBased) (required)
|
|
9
|
+
* @type {string}
|
|
10
|
+
* @memberof SimpleEncodingLiveJobS3RoleBasedCredentials
|
|
11
|
+
*/
|
|
12
|
+
roleArn?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Defines if the organization ID has to be used as externalId when assuming the role. More details can be found [here](https://bitmovin.com/docs/encoding/api-reference/sections/inputs#/Encoding/PostEncodingInputsS3RoleBased)
|
|
15
|
+
* @type {boolean}
|
|
16
|
+
* @memberof SimpleEncodingLiveJobS3RoleBasedCredentials
|
|
17
|
+
*/
|
|
18
|
+
useExternalId?: boolean;
|
|
19
|
+
constructor(obj?: Partial<SimpleEncodingLiveJobS3RoleBasedCredentials>);
|
|
20
|
+
}
|
|
21
|
+
export default SimpleEncodingLiveJobS3RoleBasedCredentials;
|
|
@@ -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 (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
extendStatics(d, b);
|
|
11
|
+
function __() { this.constructor = d; }
|
|
12
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
13
|
+
};
|
|
14
|
+
})();
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.SimpleEncodingLiveJobS3RoleBasedCredentials = void 0;
|
|
17
|
+
var Mapper_1 = require("../common/Mapper");
|
|
18
|
+
var SimpleEncodingLiveJobCredentials_1 = require("./SimpleEncodingLiveJobCredentials");
|
|
19
|
+
/**
|
|
20
|
+
* @export
|
|
21
|
+
* @class SimpleEncodingLiveJobS3RoleBasedCredentials
|
|
22
|
+
*/
|
|
23
|
+
var SimpleEncodingLiveJobS3RoleBasedCredentials = /** @class */ (function (_super) {
|
|
24
|
+
__extends(SimpleEncodingLiveJobS3RoleBasedCredentials, _super);
|
|
25
|
+
function SimpleEncodingLiveJobS3RoleBasedCredentials(obj) {
|
|
26
|
+
var _this = _super.call(this, obj) || this;
|
|
27
|
+
if (!obj) {
|
|
28
|
+
return _this;
|
|
29
|
+
}
|
|
30
|
+
_this.roleArn = Mapper_1.map(obj.roleArn);
|
|
31
|
+
_this.useExternalId = Mapper_1.map(obj.useExternalId);
|
|
32
|
+
return _this;
|
|
33
|
+
}
|
|
34
|
+
return SimpleEncodingLiveJobS3RoleBasedCredentials;
|
|
35
|
+
}(SimpleEncodingLiveJobCredentials_1.default));
|
|
36
|
+
exports.SimpleEncodingLiveJobS3RoleBasedCredentials = SimpleEncodingLiveJobS3RoleBasedCredentials;
|
|
37
|
+
exports.default = SimpleEncodingLiveJobS3RoleBasedCredentials;
|
|
38
|
+
//# sourceMappingURL=SimpleEncodingLiveJobS3RoleBasedCredentials.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SimpleEncodingLiveJobS3RoleBasedCredentials.js","sourceRoot":"","sources":["../../src/models/SimpleEncodingLiveJobS3RoleBasedCredentials.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAA+C;AAC/C,uFAAkF;AAElF;;;GAGG;AACH;IAAiE,+DAAgC;IAe/F,qDAAY,GAA0D;QAAtE,YACE,kBAAM,GAAG,CAAC,SAMX;QALC,IAAG,CAAC,GAAG,EAAE;;SAER;QACD,KAAI,CAAC,OAAO,GAAG,YAAG,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;QAChC,KAAI,CAAC,aAAa,GAAG,YAAG,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC;;IAC9C,CAAC;IACH,kDAAC;AAAD,CAAC,AAvBD,CAAiE,0CAAgC,GAuBhG;AAvBY,kGAA2C;AAyBxD,kBAAe,2CAA2C,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @export
|
|
3
|
+
* @enum {string}
|
|
4
|
+
*/
|
|
5
|
+
export declare enum SimpleEncodingLiveJobStatus {
|
|
6
|
+
CREATED = "CREATED",
|
|
7
|
+
EXECUTING = "EXECUTING",
|
|
8
|
+
FAILURE = "FAILURE",
|
|
9
|
+
STARTING = "STARTING",
|
|
10
|
+
RUNNING = "RUNNING",
|
|
11
|
+
STOPPED = "STOPPED",
|
|
12
|
+
ERROR = "ERROR",
|
|
13
|
+
CANCELED = "CANCELED"
|
|
14
|
+
}
|
|
15
|
+
export default SimpleEncodingLiveJobStatus;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SimpleEncodingLiveJobStatus = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* @export
|
|
6
|
+
* @enum {string}
|
|
7
|
+
*/
|
|
8
|
+
var SimpleEncodingLiveJobStatus;
|
|
9
|
+
(function (SimpleEncodingLiveJobStatus) {
|
|
10
|
+
SimpleEncodingLiveJobStatus["CREATED"] = "CREATED";
|
|
11
|
+
SimpleEncodingLiveJobStatus["EXECUTING"] = "EXECUTING";
|
|
12
|
+
SimpleEncodingLiveJobStatus["FAILURE"] = "FAILURE";
|
|
13
|
+
SimpleEncodingLiveJobStatus["STARTING"] = "STARTING";
|
|
14
|
+
SimpleEncodingLiveJobStatus["RUNNING"] = "RUNNING";
|
|
15
|
+
SimpleEncodingLiveJobStatus["STOPPED"] = "STOPPED";
|
|
16
|
+
SimpleEncodingLiveJobStatus["ERROR"] = "ERROR";
|
|
17
|
+
SimpleEncodingLiveJobStatus["CANCELED"] = "CANCELED";
|
|
18
|
+
})(SimpleEncodingLiveJobStatus = exports.SimpleEncodingLiveJobStatus || (exports.SimpleEncodingLiveJobStatus = {}));
|
|
19
|
+
exports.default = SimpleEncodingLiveJobStatus;
|
|
20
|
+
//# sourceMappingURL=SimpleEncodingLiveJobStatus.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SimpleEncodingLiveJobStatus.js","sourceRoot":"","sources":["../../src/models/SimpleEncodingLiveJobStatus.ts"],"names":[],"mappings":";;;AAAA;;;GAGG;AACH,IAAY,2BASX;AATD,WAAY,2BAA2B;IACrC,kDAAmB,CAAA;IACnB,sDAAuB,CAAA;IACvB,kDAAmB,CAAA;IACnB,oDAAqB,CAAA;IACrB,kDAAmB,CAAA;IACnB,kDAAmB,CAAA;IACnB,8CAAe,CAAA;IACf,oDAAqB,CAAA;AACvB,CAAC,EATW,2BAA2B,GAA3B,mCAA2B,KAA3B,mCAA2B,QAStC;AAED,kBAAe,2BAA2B,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import SimpleEncodingLiveJobCredentials from './SimpleEncodingLiveJobCredentials';
|
|
2
|
+
import SimpleEncodingLiveMaxResolution from './SimpleEncodingLiveMaxResolution';
|
|
3
|
+
/**
|
|
4
|
+
* @export
|
|
5
|
+
* @class SimpleEncodingLiveJobUrlOutput
|
|
6
|
+
*/
|
|
7
|
+
export declare class SimpleEncodingLiveJobUrlOutput {
|
|
8
|
+
/**
|
|
9
|
+
* Define a URL pointing to a folder which will be used to upload the encoded assets. The output folder structure used looks the following way: <br><br> `http://host/my-folder` <ul> <li> `/video` <ul> <li>`/{width}x{height}/` (multiple subfolders containing different output renditions)</li> </ul> </li> <li>`/audio` </li> <li>`/index.m3u8` (HLS manifest file) </li> <li>`/stream.mpd` (DASH manifest file) </li> </ul> Currently the following protocols/storages systems are supported: S3, GCS, Azure Blob Storage, Akamai NetStorage. Note that most protocols will require `credentials` to access the asset. Check the description below which ones are applicable. See below how to construct the URLs for the individual protocals/storage systems. **S3**: * `s3://<my-bucket>/path/` Authentication can be done via accesskey/secretkey or role-based authentication. Generic S3 is currently NOT supported. **GCS**: * `gcs://<my-bucket>/path/` Authentication can be done via accesskey/secretkey or a service account **Azure Blob Storage (ABS)**: * `https://<account>.blob.core.windows.net/<container>/path/` It is required to provide the Azure key credentials for authentication. **Akamai NetStorage**: * `https://<host>-nsu.akamaihd.net/<CP-code>/path/` It is required to provide username/password credentials for authentication. (required)
|
|
10
|
+
* @type {string}
|
|
11
|
+
* @memberof SimpleEncodingLiveJobUrlOutput
|
|
12
|
+
*/
|
|
13
|
+
url?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Credentials to be used for authentication and accessing the folder.
|
|
16
|
+
* @type {SimpleEncodingLiveJobCredentials}
|
|
17
|
+
* @memberof SimpleEncodingLiveJobUrlOutput
|
|
18
|
+
*/
|
|
19
|
+
credentials?: SimpleEncodingLiveJobCredentials;
|
|
20
|
+
/**
|
|
21
|
+
* Indicates if the output should be publically available so that playback immediately works over the internet. Note that not every storage provider supports public output, in this case the flag will be ignored (e.g., Akamai NetStorage). It might forbidden by some storage configuration to make files public, for example an S3 buckets can be configured to disallow public access. In this case set it to false.
|
|
22
|
+
* @type {boolean}
|
|
23
|
+
* @memberof SimpleEncodingLiveJobUrlOutput
|
|
24
|
+
*/
|
|
25
|
+
makePublic?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* This sets the maximum output resolution that will be generated.
|
|
28
|
+
* @type {SimpleEncodingLiveMaxResolution}
|
|
29
|
+
* @memberof SimpleEncodingLiveJobUrlOutput
|
|
30
|
+
*/
|
|
31
|
+
maxResolution?: SimpleEncodingLiveMaxResolution;
|
|
32
|
+
constructor(obj?: Partial<SimpleEncodingLiveJobUrlOutput>);
|
|
33
|
+
}
|
|
34
|
+
export default SimpleEncodingLiveJobUrlOutput;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SimpleEncodingLiveJobUrlOutput = void 0;
|
|
4
|
+
var Mapper_1 = require("../common/Mapper");
|
|
5
|
+
var SimpleEncodingLiveJobCredentials_1 = require("./SimpleEncodingLiveJobCredentials");
|
|
6
|
+
/**
|
|
7
|
+
* @export
|
|
8
|
+
* @class SimpleEncodingLiveJobUrlOutput
|
|
9
|
+
*/
|
|
10
|
+
var SimpleEncodingLiveJobUrlOutput = /** @class */ (function () {
|
|
11
|
+
function SimpleEncodingLiveJobUrlOutput(obj) {
|
|
12
|
+
if (!obj) {
|
|
13
|
+
return;
|
|
14
|
+
}
|
|
15
|
+
this.url = Mapper_1.map(obj.url);
|
|
16
|
+
this.credentials = Mapper_1.map(obj.credentials, SimpleEncodingLiveJobCredentials_1.default);
|
|
17
|
+
this.makePublic = Mapper_1.map(obj.makePublic);
|
|
18
|
+
this.maxResolution = Mapper_1.map(obj.maxResolution);
|
|
19
|
+
}
|
|
20
|
+
return SimpleEncodingLiveJobUrlOutput;
|
|
21
|
+
}());
|
|
22
|
+
exports.SimpleEncodingLiveJobUrlOutput = SimpleEncodingLiveJobUrlOutput;
|
|
23
|
+
exports.default = SimpleEncodingLiveJobUrlOutput;
|
|
24
|
+
//# sourceMappingURL=SimpleEncodingLiveJobUrlOutput.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SimpleEncodingLiveJobUrlOutput.js","sourceRoot":"","sources":["../../src/models/SimpleEncodingLiveJobUrlOutput.ts"],"names":[],"mappings":";;;AAAA,2CAA+C;AAC/C,uFAAkF;AAGlF;;;GAGG;AACH;IA6BE,wCAAY,GAA6C;QACvD,IAAG,CAAC,GAAG,EAAE;YACP,OAAO;SACR;QACD,IAAI,CAAC,GAAG,GAAG,YAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;QACxB,IAAI,CAAC,WAAW,GAAG,YAAG,CAAC,GAAG,CAAC,WAAW,EAAE,0CAAgC,CAAC,CAAC;QAC1E,IAAI,CAAC,UAAU,GAAG,YAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;QACtC,IAAI,CAAC,aAAa,GAAG,YAAG,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC;IAC9C,CAAC;IACH,qCAAC;AAAD,CAAC,AAtCD,IAsCC;AAtCY,wEAA8B;AAwC3C,kBAAe,8BAA8B,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import SimpleEncodingLiveJobCredentials from './SimpleEncodingLiveJobCredentials';
|
|
2
|
+
/**
|
|
3
|
+
* @export
|
|
4
|
+
* @class SimpleEncodingLiveJobUsernamePasswordCredentials
|
|
5
|
+
*/
|
|
6
|
+
export declare class SimpleEncodingLiveJobUsernamePasswordCredentials extends SimpleEncodingLiveJobCredentials {
|
|
7
|
+
/**
|
|
8
|
+
* The username to be used for authentication. (required)
|
|
9
|
+
* @type {string}
|
|
10
|
+
* @memberof SimpleEncodingLiveJobUsernamePasswordCredentials
|
|
11
|
+
*/
|
|
12
|
+
username?: string;
|
|
13
|
+
/**
|
|
14
|
+
* The password to be used for authentication (required)
|
|
15
|
+
* @type {string}
|
|
16
|
+
* @memberof SimpleEncodingLiveJobUsernamePasswordCredentials
|
|
17
|
+
*/
|
|
18
|
+
password?: string;
|
|
19
|
+
constructor(obj?: Partial<SimpleEncodingLiveJobUsernamePasswordCredentials>);
|
|
20
|
+
}
|
|
21
|
+
export default SimpleEncodingLiveJobUsernamePasswordCredentials;
|
|
@@ -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 (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
extendStatics(d, b);
|
|
11
|
+
function __() { this.constructor = d; }
|
|
12
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
13
|
+
};
|
|
14
|
+
})();
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.SimpleEncodingLiveJobUsernamePasswordCredentials = void 0;
|
|
17
|
+
var Mapper_1 = require("../common/Mapper");
|
|
18
|
+
var SimpleEncodingLiveJobCredentials_1 = require("./SimpleEncodingLiveJobCredentials");
|
|
19
|
+
/**
|
|
20
|
+
* @export
|
|
21
|
+
* @class SimpleEncodingLiveJobUsernamePasswordCredentials
|
|
22
|
+
*/
|
|
23
|
+
var SimpleEncodingLiveJobUsernamePasswordCredentials = /** @class */ (function (_super) {
|
|
24
|
+
__extends(SimpleEncodingLiveJobUsernamePasswordCredentials, _super);
|
|
25
|
+
function SimpleEncodingLiveJobUsernamePasswordCredentials(obj) {
|
|
26
|
+
var _this = _super.call(this, obj) || this;
|
|
27
|
+
if (!obj) {
|
|
28
|
+
return _this;
|
|
29
|
+
}
|
|
30
|
+
_this.username = Mapper_1.map(obj.username);
|
|
31
|
+
_this.password = Mapper_1.map(obj.password);
|
|
32
|
+
return _this;
|
|
33
|
+
}
|
|
34
|
+
return SimpleEncodingLiveJobUsernamePasswordCredentials;
|
|
35
|
+
}(SimpleEncodingLiveJobCredentials_1.default));
|
|
36
|
+
exports.SimpleEncodingLiveJobUsernamePasswordCredentials = SimpleEncodingLiveJobUsernamePasswordCredentials;
|
|
37
|
+
exports.default = SimpleEncodingLiveJobUsernamePasswordCredentials;
|
|
38
|
+
//# sourceMappingURL=SimpleEncodingLiveJobUsernamePasswordCredentials.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SimpleEncodingLiveJobUsernamePasswordCredentials.js","sourceRoot":"","sources":["../../src/models/SimpleEncodingLiveJobUsernamePasswordCredentials.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAA+C;AAC/C,uFAAkF;AAElF;;;GAGG;AACH;IAAsE,oEAAgC;IAepG,0DAAY,GAA+D;QAA3E,YACE,kBAAM,GAAG,CAAC,SAMX;QALC,IAAG,CAAC,GAAG,EAAE;;SAER;QACD,KAAI,CAAC,QAAQ,GAAG,YAAG,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;QAClC,KAAI,CAAC,QAAQ,GAAG,YAAG,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;IACpC,CAAC;IACH,uDAAC;AAAD,CAAC,AAvBD,CAAsE,0CAAgC,GAuBrG;AAvBY,4GAAgD;AAyB7D,kBAAe,gDAAgD,CAAC"}
|