@bitmovin/api-sdk 1.225.0 → 1.227.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/BitmovinApi.d.ts +2 -0
- package/dist/BitmovinApi.js +2 -0
- package/dist/aiSceneAnalysis/AiSceneAnalysisApi.d.ts +13 -0
- package/dist/{models/SimpleEncodingLiveJobAzureCredentials.js → aiSceneAnalysis/AiSceneAnalysisApi.js} +13 -16
- package/dist/aiSceneAnalysis/analyses/AnalysesApi.d.ts +13 -0
- package/dist/{encoding/simple/SimpleApi.js → aiSceneAnalysis/analyses/AnalysesApi.js} +9 -9
- package/dist/aiSceneAnalysis/analyses/byEncodingId/ByEncodingIdApi.d.ts +13 -0
- package/dist/{encoding/simple/jobs/JobsApi.js → aiSceneAnalysis/analyses/byEncodingId/ByEncodingIdApi.js} +9 -11
- package/dist/aiSceneAnalysis/analyses/byEncodingId/details/DetailsApi.d.ts +19 -0
- package/dist/aiSceneAnalysis/analyses/byEncodingId/details/DetailsApi.js +48 -0
- package/dist/bitmovin-api-sdk.browser.js +774 -1926
- package/dist/bitmovin-api-sdk.browser.min.js +1 -1
- package/dist/common/RestClient.js +1 -1
- package/dist/encoding/EncodingApi.d.ts +0 -2
- package/dist/encoding/EncodingApi.js +0 -2
- package/dist/encoding/encodings/streams/burnInSubtitles/BurnInSubtitlesApi.d.ts +2 -0
- package/dist/encoding/encodings/streams/burnInSubtitles/BurnInSubtitlesApi.js +2 -0
- package/dist/encoding/encodings/streams/burnInSubtitles/assa/AssaApi.d.ts +51 -0
- package/dist/encoding/encodings/streams/burnInSubtitles/assa/AssaApi.js +114 -0
- package/dist/encoding/encodings/streams/burnInSubtitles/assa/BurnInSubtitleAssaListQueryParams.d.ts +28 -0
- package/dist/encoding/encodings/streams/burnInSubtitles/assa/BurnInSubtitleAssaListQueryParams.js +29 -0
- package/dist/encoding/statistics/encodings/liveStatistics/events/LiveEncodingStatsEventListQueryParams.d.ts +11 -0
- package/dist/encoding/statistics/encodings/liveStatistics/events/LiveEncodingStatsEventListQueryParams.js +8 -0
- package/dist/models/Atmosphere.d.ts +23 -0
- package/dist/models/Atmosphere.js +21 -0
- package/dist/models/BurnInSubtitleAssa.d.ts +23 -0
- package/dist/models/{SimpleEncodingVodJobAzureCredentials.js → BurnInSubtitleAssa.js} +13 -11
- package/dist/models/CacheControl.d.ts +1 -1
- package/dist/models/Character.d.ts +23 -0
- package/dist/models/Character.js +21 -0
- package/dist/models/Content.d.ts +26 -0
- package/dist/models/Content.js +24 -0
- package/dist/models/Fmp4Muxing.d.ts +6 -0
- package/dist/models/Fmp4Muxing.js +1 -0
- package/dist/models/IABTaxonomy.d.ts +28 -0
- package/dist/models/IABTaxonomy.js +22 -0
- package/dist/models/Location.d.ts +18 -0
- package/dist/models/Location.js +20 -0
- package/dist/models/Rating.d.ts +23 -0
- package/dist/models/Rating.js +21 -0
- package/dist/models/Scene.d.ts +50 -0
- package/dist/models/Scene.js +28 -0
- package/dist/models/SceneAnalysisDetailsResponse.d.ts +40 -0
- package/dist/models/SceneAnalysisDetailsResponse.js +26 -0
- package/dist/models/SceneObject.d.ts +18 -0
- package/dist/models/SceneObject.js +20 -0
- package/dist/models/Setting.d.ts +25 -0
- package/dist/models/Setting.js +23 -0
- package/dist/models/index.d.ts +11 -40
- package/dist/models/index.js +11 -40
- package/package.json +1 -1
- package/dist/encoding/simple/SimpleApi.d.ts +0 -13
- package/dist/encoding/simple/jobs/JobsApi.d.ts +0 -15
- package/dist/encoding/simple/jobs/live/LiveApi.d.ts +0 -27
- package/dist/encoding/simple/jobs/live/LiveApi.js +0 -59
- package/dist/encoding/simple/jobs/vod/SimpleEncodingVodJobResponseListQueryParams.d.ts +0 -50
- package/dist/encoding/simple/jobs/vod/SimpleEncodingVodJobResponseListQueryParams.js +0 -45
- package/dist/encoding/simple/jobs/vod/VodApi.d.ts +0 -36
- package/dist/encoding/simple/jobs/vod/VodApi.js +0 -79
- package/dist/models/EncodingTemplate.d.ts +0 -10
- package/dist/models/EncodingTemplate.js +0 -14
- package/dist/models/SimpleEncodingLiveCloudRegion.d.ts +0 -13
- package/dist/models/SimpleEncodingLiveCloudRegion.js +0 -17
- package/dist/models/SimpleEncodingLiveJobAccessKeyCredentials.d.ts +0 -21
- package/dist/models/SimpleEncodingLiveJobAccessKeyCredentials.js +0 -39
- package/dist/models/SimpleEncodingLiveJobAzureCredentials.d.ts +0 -15
- package/dist/models/SimpleEncodingLiveJobCdnOutput.d.ts +0 -16
- package/dist/models/SimpleEncodingLiveJobCdnOutput.js +0 -43
- package/dist/models/SimpleEncodingLiveJobCredentials.d.ts +0 -8
- package/dist/models/SimpleEncodingLiveJobCredentials.js +0 -17
- package/dist/models/SimpleEncodingLiveJobGcsServiceAccountCredentials.d.ts +0 -15
- package/dist/models/SimpleEncodingLiveJobGcsServiceAccountCredentials.js +0 -38
- package/dist/models/SimpleEncodingLiveJobInput.d.ts +0 -15
- package/dist/models/SimpleEncodingLiveJobInput.js +0 -19
- package/dist/models/SimpleEncodingLiveJobInputType.d.ts +0 -9
- package/dist/models/SimpleEncodingLiveJobInputType.js +0 -13
- package/dist/models/SimpleEncodingLiveJobOutput.d.ts +0 -23
- package/dist/models/SimpleEncodingLiveJobOutput.js +0 -24
- package/dist/models/SimpleEncodingLiveJobOutputType.d.ts +0 -10
- package/dist/models/SimpleEncodingLiveJobOutputType.js +0 -14
- package/dist/models/SimpleEncodingLiveJobRequest.d.ts +0 -42
- package/dist/models/SimpleEncodingLiveJobRequest.js +0 -25
- package/dist/models/SimpleEncodingLiveJobResponse.d.ts +0 -90
- package/dist/models/SimpleEncodingLiveJobResponse.js +0 -34
- package/dist/models/SimpleEncodingLiveJobS3RoleBasedCredentials.d.ts +0 -21
- package/dist/models/SimpleEncodingLiveJobS3RoleBasedCredentials.js +0 -39
- package/dist/models/SimpleEncodingLiveJobStatus.d.ts +0 -15
- package/dist/models/SimpleEncodingLiveJobStatus.js +0 -19
- package/dist/models/SimpleEncodingLiveJobUrlOutput.d.ts +0 -35
- package/dist/models/SimpleEncodingLiveJobUrlOutput.js +0 -48
- package/dist/models/SimpleEncodingLiveJobUsernamePasswordCredentials.d.ts +0 -21
- package/dist/models/SimpleEncodingLiveJobUsernamePasswordCredentials.js +0 -39
- package/dist/models/SimpleEncodingLiveMaxResolution.d.ts +0 -10
- package/dist/models/SimpleEncodingLiveMaxResolution.js +0 -14
- package/dist/models/SimpleEncodingLiveProfile.d.ts +0 -9
- package/dist/models/SimpleEncodingLiveProfile.js +0 -13
- package/dist/models/SimpleEncodingVodJobAccessKeyCredentials.d.ts +0 -21
- package/dist/models/SimpleEncodingVodJobAccessKeyCredentials.js +0 -39
- package/dist/models/SimpleEncodingVodJobAzureCredentials.d.ts +0 -15
- package/dist/models/SimpleEncodingVodJobCdnOutput.d.ts +0 -23
- package/dist/models/SimpleEncodingVodJobCdnOutput.js +0 -45
- package/dist/models/SimpleEncodingVodJobCredentials.d.ts +0 -8
- package/dist/models/SimpleEncodingVodJobCredentials.js +0 -17
- package/dist/models/SimpleEncodingVodJobDirectFileUploadInput.d.ts +0 -35
- package/dist/models/SimpleEncodingVodJobDirectFileUploadInput.js +0 -47
- package/dist/models/SimpleEncodingVodJobErrors.d.ts +0 -26
- package/dist/models/SimpleEncodingVodJobErrors.js +0 -21
- package/dist/models/SimpleEncodingVodJobGcsServiceAccountCredentials.d.ts +0 -15
- package/dist/models/SimpleEncodingVodJobGcsServiceAccountCredentials.js +0 -38
- package/dist/models/SimpleEncodingVodJobInput.d.ts +0 -16
- package/dist/models/SimpleEncodingVodJobInput.js +0 -22
- package/dist/models/SimpleEncodingVodJobInputSourceType.d.ts +0 -10
- package/dist/models/SimpleEncodingVodJobInputSourceType.js +0 -14
- package/dist/models/SimpleEncodingVodJobInputType.d.ts +0 -11
- package/dist/models/SimpleEncodingVodJobInputType.js +0 -15
- package/dist/models/SimpleEncodingVodJobOptions.d.ts +0 -14
- package/dist/models/SimpleEncodingVodJobOptions.js +0 -19
- package/dist/models/SimpleEncodingVodJobOutput.d.ts +0 -23
- package/dist/models/SimpleEncodingVodJobOutput.js +0 -25
- package/dist/models/SimpleEncodingVodJobOutputArtifact.d.ts +0 -20
- package/dist/models/SimpleEncodingVodJobOutputArtifact.js +0 -20
- package/dist/models/SimpleEncodingVodJobOutputType.d.ts +0 -10
- package/dist/models/SimpleEncodingVodJobOutputType.js +0 -14
- package/dist/models/SimpleEncodingVodJobRequest.d.ts +0 -42
- package/dist/models/SimpleEncodingVodJobRequest.js +0 -26
- package/dist/models/SimpleEncodingVodJobResponse.d.ts +0 -78
- package/dist/models/SimpleEncodingVodJobResponse.js +0 -33
- package/dist/models/SimpleEncodingVodJobS3RoleBasedCredentials.d.ts +0 -21
- package/dist/models/SimpleEncodingVodJobS3RoleBasedCredentials.js +0 -39
- package/dist/models/SimpleEncodingVodJobStatus.d.ts +0 -14
- package/dist/models/SimpleEncodingVodJobStatus.js +0 -18
- package/dist/models/SimpleEncodingVodJobUrlInput.d.ts +0 -42
- package/dist/models/SimpleEncodingVodJobUrlInput.js +0 -49
- package/dist/models/SimpleEncodingVodJobUrlOutput.d.ts +0 -35
- package/dist/models/SimpleEncodingVodJobUrlOutput.js +0 -48
- package/dist/models/SimpleEncodingVodJobUsernamePasswordCredentials.d.ts +0 -21
- package/dist/models/SimpleEncodingVodJobUsernamePasswordCredentials.js +0 -39
|
@@ -1,45 +0,0 @@
|
|
|
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.SimpleEncodingVodJobCdnOutput = void 0;
|
|
19
|
-
var Mapper_1 = require("../common/Mapper");
|
|
20
|
-
var SimpleEncodingVodJobOutput_1 = require("./SimpleEncodingVodJobOutput");
|
|
21
|
-
var SimpleEncodingVodJobOutputType_1 = require("./SimpleEncodingVodJobOutputType");
|
|
22
|
-
/**
|
|
23
|
-
* @export
|
|
24
|
-
* @class SimpleEncodingVodJobCdnOutput
|
|
25
|
-
*/
|
|
26
|
-
var SimpleEncodingVodJobCdnOutput = /** @class */ (function (_super) {
|
|
27
|
-
__extends(SimpleEncodingVodJobCdnOutput, _super);
|
|
28
|
-
function SimpleEncodingVodJobCdnOutput(obj) {
|
|
29
|
-
var _this = _super.call(this, obj) || this;
|
|
30
|
-
/**
|
|
31
|
-
* Discriminator property for SimpleEncodingVodJobOutput
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof SimpleEncodingVodJobCdnOutput
|
|
34
|
-
*/
|
|
35
|
-
_this.type = SimpleEncodingVodJobOutputType_1.default.CDN;
|
|
36
|
-
if (!obj) {
|
|
37
|
-
return _this;
|
|
38
|
-
}
|
|
39
|
-
_this.maxResolution = (0, Mapper_1.map)(obj.maxResolution);
|
|
40
|
-
return _this;
|
|
41
|
-
}
|
|
42
|
-
return SimpleEncodingVodJobCdnOutput;
|
|
43
|
-
}(SimpleEncodingVodJobOutput_1.default));
|
|
44
|
-
exports.SimpleEncodingVodJobCdnOutput = SimpleEncodingVodJobCdnOutput;
|
|
45
|
-
exports.default = SimpleEncodingVodJobCdnOutput;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SimpleEncodingVodJobCredentials = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* @export
|
|
6
|
-
* @class SimpleEncodingVodJobCredentials
|
|
7
|
-
*/
|
|
8
|
-
var SimpleEncodingVodJobCredentials = /** @class */ (function () {
|
|
9
|
-
function SimpleEncodingVodJobCredentials(obj) {
|
|
10
|
-
if (!obj) {
|
|
11
|
-
return;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
return SimpleEncodingVodJobCredentials;
|
|
15
|
-
}());
|
|
16
|
-
exports.SimpleEncodingVodJobCredentials = SimpleEncodingVodJobCredentials;
|
|
17
|
-
exports.default = SimpleEncodingVodJobCredentials;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import SimpleEncodingVodJobInput from './SimpleEncodingVodJobInput';
|
|
2
|
-
import SimpleEncodingVodJobInputSourceType from './SimpleEncodingVodJobInputSourceType';
|
|
3
|
-
import SimpleEncodingVodJobInputType from './SimpleEncodingVodJobInputType';
|
|
4
|
-
/**
|
|
5
|
-
* @export
|
|
6
|
-
* @class SimpleEncodingVodJobDirectFileUploadInput
|
|
7
|
-
*/
|
|
8
|
-
export declare class SimpleEncodingVodJobDirectFileUploadInput extends SimpleEncodingVodJobInput {
|
|
9
|
-
/**
|
|
10
|
-
* Discriminator property for SimpleEncodingVodJobInput
|
|
11
|
-
* @type {string}
|
|
12
|
-
* @memberof SimpleEncodingVodJobDirectFileUploadInput
|
|
13
|
-
*/
|
|
14
|
-
readonly type: SimpleEncodingVodJobInputSourceType;
|
|
15
|
-
/**
|
|
16
|
-
* Id of a DirectFileUploadInput (required)
|
|
17
|
-
* @type {string}
|
|
18
|
-
* @memberof SimpleEncodingVodJobDirectFileUploadInput
|
|
19
|
-
*/
|
|
20
|
-
inputId?: string;
|
|
21
|
-
/**
|
|
22
|
-
* Defines the type of the input file, if no type is set it is assumed that the input file contains at least one video stream and optionally one or multiple audio streams. Note that when defining video and audio inputs, you can either - add one single input without inputType, in which case that source file must contain a video stream and (if you want audio) one audio stream, or - add one single input with inputType=VIDEO and (if you want audio) one or more inputs with inputType=AUDIO (each containing one audio stream) Other combinations are not valid.
|
|
23
|
-
* @type {SimpleEncodingVodJobInputType}
|
|
24
|
-
* @memberof SimpleEncodingVodJobDirectFileUploadInput
|
|
25
|
-
*/
|
|
26
|
-
inputType?: SimpleEncodingVodJobInputType;
|
|
27
|
-
/**
|
|
28
|
-
* The language of the audio track, the subtitles, or closed captions file. The language code must be compliant with [BCP 47](https://datatracker.ietf.org/doc/html/rfc5646). This property is mandatory if the input provided is of type SUBTITLES or CLOSED_CAPTIONS and recommended for input type AUDIO and an input that does not specify an input type (combined audio and video). If an audio input does not specify the language, it is defaulted to `und` (undefined).
|
|
29
|
-
* @type {string}
|
|
30
|
-
* @memberof SimpleEncodingVodJobDirectFileUploadInput
|
|
31
|
-
*/
|
|
32
|
-
language?: string;
|
|
33
|
-
constructor(obj?: Partial<SimpleEncodingVodJobDirectFileUploadInput>);
|
|
34
|
-
}
|
|
35
|
-
export default SimpleEncodingVodJobDirectFileUploadInput;
|
|
@@ -1,47 +0,0 @@
|
|
|
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.SimpleEncodingVodJobDirectFileUploadInput = void 0;
|
|
19
|
-
var Mapper_1 = require("../common/Mapper");
|
|
20
|
-
var SimpleEncodingVodJobInput_1 = require("./SimpleEncodingVodJobInput");
|
|
21
|
-
var SimpleEncodingVodJobInputSourceType_1 = require("./SimpleEncodingVodJobInputSourceType");
|
|
22
|
-
/**
|
|
23
|
-
* @export
|
|
24
|
-
* @class SimpleEncodingVodJobDirectFileUploadInput
|
|
25
|
-
*/
|
|
26
|
-
var SimpleEncodingVodJobDirectFileUploadInput = /** @class */ (function (_super) {
|
|
27
|
-
__extends(SimpleEncodingVodJobDirectFileUploadInput, _super);
|
|
28
|
-
function SimpleEncodingVodJobDirectFileUploadInput(obj) {
|
|
29
|
-
var _this = _super.call(this, obj) || this;
|
|
30
|
-
/**
|
|
31
|
-
* Discriminator property for SimpleEncodingVodJobInput
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof SimpleEncodingVodJobDirectFileUploadInput
|
|
34
|
-
*/
|
|
35
|
-
_this.type = SimpleEncodingVodJobInputSourceType_1.default.DIRECT_FILE_UPLOAD;
|
|
36
|
-
if (!obj) {
|
|
37
|
-
return _this;
|
|
38
|
-
}
|
|
39
|
-
_this.inputId = (0, Mapper_1.map)(obj.inputId);
|
|
40
|
-
_this.inputType = (0, Mapper_1.map)(obj.inputType);
|
|
41
|
-
_this.language = (0, Mapper_1.map)(obj.language);
|
|
42
|
-
return _this;
|
|
43
|
-
}
|
|
44
|
-
return SimpleEncodingVodJobDirectFileUploadInput;
|
|
45
|
-
}(SimpleEncodingVodJobInput_1.default));
|
|
46
|
-
exports.SimpleEncodingVodJobDirectFileUploadInput = SimpleEncodingVodJobDirectFileUploadInput;
|
|
47
|
-
exports.default = SimpleEncodingVodJobDirectFileUploadInput;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @export
|
|
3
|
-
* @class SimpleEncodingVodJobErrors
|
|
4
|
-
*/
|
|
5
|
-
export declare class SimpleEncodingVodJobErrors {
|
|
6
|
-
/**
|
|
7
|
-
* Stable code that identifies the error type.
|
|
8
|
-
* @type {string}
|
|
9
|
-
* @memberof SimpleEncodingVodJobErrors
|
|
10
|
-
*/
|
|
11
|
-
errorCode?: string;
|
|
12
|
-
/**
|
|
13
|
-
* Human readable description of the error.
|
|
14
|
-
* @type {string}
|
|
15
|
-
* @memberof SimpleEncodingVodJobErrors
|
|
16
|
-
*/
|
|
17
|
-
message?: string;
|
|
18
|
-
/**
|
|
19
|
-
* Additional details of the error if available.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof SimpleEncodingVodJobErrors
|
|
22
|
-
*/
|
|
23
|
-
details?: string;
|
|
24
|
-
constructor(obj?: Partial<SimpleEncodingVodJobErrors>);
|
|
25
|
-
}
|
|
26
|
-
export default SimpleEncodingVodJobErrors;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SimpleEncodingVodJobErrors = void 0;
|
|
4
|
-
var Mapper_1 = require("../common/Mapper");
|
|
5
|
-
/**
|
|
6
|
-
* @export
|
|
7
|
-
* @class SimpleEncodingVodJobErrors
|
|
8
|
-
*/
|
|
9
|
-
var SimpleEncodingVodJobErrors = /** @class */ (function () {
|
|
10
|
-
function SimpleEncodingVodJobErrors(obj) {
|
|
11
|
-
if (!obj) {
|
|
12
|
-
return;
|
|
13
|
-
}
|
|
14
|
-
this.errorCode = (0, Mapper_1.map)(obj.errorCode);
|
|
15
|
-
this.message = (0, Mapper_1.map)(obj.message);
|
|
16
|
-
this.details = (0, Mapper_1.map)(obj.details);
|
|
17
|
-
}
|
|
18
|
-
return SimpleEncodingVodJobErrors;
|
|
19
|
-
}());
|
|
20
|
-
exports.SimpleEncodingVodJobErrors = SimpleEncodingVodJobErrors;
|
|
21
|
-
exports.default = SimpleEncodingVodJobErrors;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import SimpleEncodingVodJobCredentials from './SimpleEncodingVodJobCredentials';
|
|
2
|
-
/**
|
|
3
|
-
* @export
|
|
4
|
-
* @class SimpleEncodingVodJobGcsServiceAccountCredentials
|
|
5
|
-
*/
|
|
6
|
-
export declare class SimpleEncodingVodJobGcsServiceAccountCredentials extends SimpleEncodingVodJobCredentials {
|
|
7
|
-
/**
|
|
8
|
-
* Service account credentials for Google (required)
|
|
9
|
-
* @type {string}
|
|
10
|
-
* @memberof SimpleEncodingVodJobGcsServiceAccountCredentials
|
|
11
|
-
*/
|
|
12
|
-
serviceAccountCredentials?: string;
|
|
13
|
-
constructor(obj?: Partial<SimpleEncodingVodJobGcsServiceAccountCredentials>);
|
|
14
|
-
}
|
|
15
|
-
export default SimpleEncodingVodJobGcsServiceAccountCredentials;
|
|
@@ -1,38 +0,0 @@
|
|
|
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.SimpleEncodingVodJobGcsServiceAccountCredentials = void 0;
|
|
19
|
-
var Mapper_1 = require("../common/Mapper");
|
|
20
|
-
var SimpleEncodingVodJobCredentials_1 = require("./SimpleEncodingVodJobCredentials");
|
|
21
|
-
/**
|
|
22
|
-
* @export
|
|
23
|
-
* @class SimpleEncodingVodJobGcsServiceAccountCredentials
|
|
24
|
-
*/
|
|
25
|
-
var SimpleEncodingVodJobGcsServiceAccountCredentials = /** @class */ (function (_super) {
|
|
26
|
-
__extends(SimpleEncodingVodJobGcsServiceAccountCredentials, _super);
|
|
27
|
-
function SimpleEncodingVodJobGcsServiceAccountCredentials(obj) {
|
|
28
|
-
var _this = _super.call(this, obj) || this;
|
|
29
|
-
if (!obj) {
|
|
30
|
-
return _this;
|
|
31
|
-
}
|
|
32
|
-
_this.serviceAccountCredentials = (0, Mapper_1.map)(obj.serviceAccountCredentials);
|
|
33
|
-
return _this;
|
|
34
|
-
}
|
|
35
|
-
return SimpleEncodingVodJobGcsServiceAccountCredentials;
|
|
36
|
-
}(SimpleEncodingVodJobCredentials_1.default));
|
|
37
|
-
exports.SimpleEncodingVodJobGcsServiceAccountCredentials = SimpleEncodingVodJobGcsServiceAccountCredentials;
|
|
38
|
-
exports.default = SimpleEncodingVodJobGcsServiceAccountCredentials;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import SimpleEncodingVodJobDirectFileUploadInput from './SimpleEncodingVodJobDirectFileUploadInput';
|
|
2
|
-
import SimpleEncodingVodJobInputSourceType from './SimpleEncodingVodJobInputSourceType';
|
|
3
|
-
import SimpleEncodingVodJobUrlInput from './SimpleEncodingVodJobUrlInput';
|
|
4
|
-
export type SimpleEncodingVodJobInputUnion = SimpleEncodingVodJobUrlInput | SimpleEncodingVodJobDirectFileUploadInput;
|
|
5
|
-
/**
|
|
6
|
-
* @export
|
|
7
|
-
* @class SimpleEncodingVodJobInput
|
|
8
|
-
*/
|
|
9
|
-
export declare class SimpleEncodingVodJobInput {
|
|
10
|
-
protected static readonly _discriminatorName = "type";
|
|
11
|
-
protected static readonly _discriminatorMapping: {
|
|
12
|
-
[key in keyof typeof SimpleEncodingVodJobInputSourceType]: string;
|
|
13
|
-
};
|
|
14
|
-
constructor(obj?: Partial<SimpleEncodingVodJobInput>);
|
|
15
|
-
}
|
|
16
|
-
export default SimpleEncodingVodJobInput;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SimpleEncodingVodJobInput = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* @export
|
|
6
|
-
* @class SimpleEncodingVodJobInput
|
|
7
|
-
*/
|
|
8
|
-
var SimpleEncodingVodJobInput = /** @class */ (function () {
|
|
9
|
-
function SimpleEncodingVodJobInput(obj) {
|
|
10
|
-
if (!obj) {
|
|
11
|
-
return;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
SimpleEncodingVodJobInput._discriminatorName = 'type';
|
|
15
|
-
SimpleEncodingVodJobInput._discriminatorMapping = {
|
|
16
|
-
URL: 'SimpleEncodingVodJobUrlInput',
|
|
17
|
-
DIRECT_FILE_UPLOAD: 'SimpleEncodingVodJobDirectFileUploadInput'
|
|
18
|
-
};
|
|
19
|
-
return SimpleEncodingVodJobInput;
|
|
20
|
-
}());
|
|
21
|
-
exports.SimpleEncodingVodJobInput = SimpleEncodingVodJobInput;
|
|
22
|
-
exports.default = SimpleEncodingVodJobInput;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SimpleEncodingVodJobInputSourceType = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* Input source type
|
|
6
|
-
* @export
|
|
7
|
-
* @enum {string}
|
|
8
|
-
*/
|
|
9
|
-
var SimpleEncodingVodJobInputSourceType;
|
|
10
|
-
(function (SimpleEncodingVodJobInputSourceType) {
|
|
11
|
-
SimpleEncodingVodJobInputSourceType["URL"] = "URL";
|
|
12
|
-
SimpleEncodingVodJobInputSourceType["DIRECT_FILE_UPLOAD"] = "DIRECT_FILE_UPLOAD";
|
|
13
|
-
})(SimpleEncodingVodJobInputSourceType || (exports.SimpleEncodingVodJobInputSourceType = SimpleEncodingVodJobInputSourceType = {}));
|
|
14
|
-
exports.default = SimpleEncodingVodJobInputSourceType;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SimpleEncodingVodJobInputType = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* @export
|
|
6
|
-
* @enum {string}
|
|
7
|
-
*/
|
|
8
|
-
var SimpleEncodingVodJobInputType;
|
|
9
|
-
(function (SimpleEncodingVodJobInputType) {
|
|
10
|
-
SimpleEncodingVodJobInputType["VIDEO"] = "VIDEO";
|
|
11
|
-
SimpleEncodingVodJobInputType["AUDIO"] = "AUDIO";
|
|
12
|
-
SimpleEncodingVodJobInputType["SUBTITLES"] = "SUBTITLES";
|
|
13
|
-
SimpleEncodingVodJobInputType["CLOSED_CAPTIONS"] = "CLOSED_CAPTIONS";
|
|
14
|
-
})(SimpleEncodingVodJobInputType || (exports.SimpleEncodingVodJobInputType = SimpleEncodingVodJobInputType = {}));
|
|
15
|
-
exports.default = SimpleEncodingVodJobInputType;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @export
|
|
3
|
-
* @class SimpleEncodingVodJobOptions
|
|
4
|
-
*/
|
|
5
|
-
export declare class SimpleEncodingVodJobOptions {
|
|
6
|
-
/**
|
|
7
|
-
* Defines if the job should additionally produce a single file as output (e.g., an MP4) for every rendition the Per-Title algorithm produces. This can be useful to provide customers with features such as downloading of videos for different screen sizes. The single file contains both audio and video streams along the segmented output. Note that currently we do not include subtitles in this file.
|
|
8
|
-
* @type {boolean}
|
|
9
|
-
* @memberof SimpleEncodingVodJobOptions
|
|
10
|
-
*/
|
|
11
|
-
singleFileOutput?: boolean;
|
|
12
|
-
constructor(obj?: Partial<SimpleEncodingVodJobOptions>);
|
|
13
|
-
}
|
|
14
|
-
export default SimpleEncodingVodJobOptions;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SimpleEncodingVodJobOptions = void 0;
|
|
4
|
-
var Mapper_1 = require("../common/Mapper");
|
|
5
|
-
/**
|
|
6
|
-
* @export
|
|
7
|
-
* @class SimpleEncodingVodJobOptions
|
|
8
|
-
*/
|
|
9
|
-
var SimpleEncodingVodJobOptions = /** @class */ (function () {
|
|
10
|
-
function SimpleEncodingVodJobOptions(obj) {
|
|
11
|
-
if (!obj) {
|
|
12
|
-
return;
|
|
13
|
-
}
|
|
14
|
-
this.singleFileOutput = (0, Mapper_1.map)(obj.singleFileOutput);
|
|
15
|
-
}
|
|
16
|
-
return SimpleEncodingVodJobOptions;
|
|
17
|
-
}());
|
|
18
|
-
exports.SimpleEncodingVodJobOptions = SimpleEncodingVodJobOptions;
|
|
19
|
-
exports.default = SimpleEncodingVodJobOptions;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import SimpleEncodingVodJobCdnOutput from './SimpleEncodingVodJobCdnOutput';
|
|
2
|
-
import SimpleEncodingVodJobOutputArtifact from './SimpleEncodingVodJobOutputArtifact';
|
|
3
|
-
import SimpleEncodingVodJobOutputType from './SimpleEncodingVodJobOutputType';
|
|
4
|
-
import SimpleEncodingVodJobUrlOutput from './SimpleEncodingVodJobUrlOutput';
|
|
5
|
-
export type SimpleEncodingVodJobOutputUnion = SimpleEncodingVodJobUrlOutput | SimpleEncodingVodJobCdnOutput;
|
|
6
|
-
/**
|
|
7
|
-
* @export
|
|
8
|
-
* @class SimpleEncodingVodJobOutput
|
|
9
|
-
*/
|
|
10
|
-
export declare class SimpleEncodingVodJobOutput {
|
|
11
|
-
protected static readonly _discriminatorName = "type";
|
|
12
|
-
protected static readonly _discriminatorMapping: {
|
|
13
|
-
[key in keyof typeof SimpleEncodingVodJobOutputType]: string;
|
|
14
|
-
};
|
|
15
|
-
/**
|
|
16
|
-
* List of artifacts created by the encoding job. Artifacts are files essential for playback of the generated content, e.g. manifests.
|
|
17
|
-
* @type {SimpleEncodingVodJobOutputArtifact[]}
|
|
18
|
-
* @memberof SimpleEncodingVodJobOutput
|
|
19
|
-
*/
|
|
20
|
-
artifacts?: SimpleEncodingVodJobOutputArtifact[];
|
|
21
|
-
constructor(obj?: Partial<SimpleEncodingVodJobOutput>);
|
|
22
|
-
}
|
|
23
|
-
export default SimpleEncodingVodJobOutput;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SimpleEncodingVodJobOutput = void 0;
|
|
4
|
-
var Mapper_1 = require("../common/Mapper");
|
|
5
|
-
var SimpleEncodingVodJobOutputArtifact_1 = require("./SimpleEncodingVodJobOutputArtifact");
|
|
6
|
-
/**
|
|
7
|
-
* @export
|
|
8
|
-
* @class SimpleEncodingVodJobOutput
|
|
9
|
-
*/
|
|
10
|
-
var SimpleEncodingVodJobOutput = /** @class */ (function () {
|
|
11
|
-
function SimpleEncodingVodJobOutput(obj) {
|
|
12
|
-
if (!obj) {
|
|
13
|
-
return;
|
|
14
|
-
}
|
|
15
|
-
this.artifacts = (0, Mapper_1.mapArray)(obj.artifacts, SimpleEncodingVodJobOutputArtifact_1.default);
|
|
16
|
-
}
|
|
17
|
-
SimpleEncodingVodJobOutput._discriminatorName = 'type';
|
|
18
|
-
SimpleEncodingVodJobOutput._discriminatorMapping = {
|
|
19
|
-
URL: 'SimpleEncodingVodJobUrlOutput',
|
|
20
|
-
CDN: 'SimpleEncodingVodJobCdnOutput'
|
|
21
|
-
};
|
|
22
|
-
return SimpleEncodingVodJobOutput;
|
|
23
|
-
}());
|
|
24
|
-
exports.SimpleEncodingVodJobOutput = SimpleEncodingVodJobOutput;
|
|
25
|
-
exports.default = SimpleEncodingVodJobOutput;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @export
|
|
3
|
-
* @class SimpleEncodingVodJobOutputArtifact
|
|
4
|
-
*/
|
|
5
|
-
export declare class SimpleEncodingVodJobOutputArtifact {
|
|
6
|
-
/**
|
|
7
|
-
* Name of the artifact. Currently we provide the URL of the HLS manifest with name 'HLS_MANIFEST_URL' and the URL of the DASH manifest with name 'DASH_MANIFEST_URL'
|
|
8
|
-
* @type {string}
|
|
9
|
-
* @memberof SimpleEncodingVodJobOutputArtifact
|
|
10
|
-
*/
|
|
11
|
-
name?: string;
|
|
12
|
-
/**
|
|
13
|
-
* A string value described by the 'name' property. Typically this is an absolute URL pointing to a file on the output you specified for the encoding job. The protocol depends on the type of output: \"s3://\" for AWS S3,\"gcs://\" for Google Cloud Storage, \"https://\" for Azure Blob Storage and Akamai NetStorage )
|
|
14
|
-
* @type {string}
|
|
15
|
-
* @memberof SimpleEncodingVodJobOutputArtifact
|
|
16
|
-
*/
|
|
17
|
-
value?: string;
|
|
18
|
-
constructor(obj?: Partial<SimpleEncodingVodJobOutputArtifact>);
|
|
19
|
-
}
|
|
20
|
-
export default SimpleEncodingVodJobOutputArtifact;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SimpleEncodingVodJobOutputArtifact = void 0;
|
|
4
|
-
var Mapper_1 = require("../common/Mapper");
|
|
5
|
-
/**
|
|
6
|
-
* @export
|
|
7
|
-
* @class SimpleEncodingVodJobOutputArtifact
|
|
8
|
-
*/
|
|
9
|
-
var SimpleEncodingVodJobOutputArtifact = /** @class */ (function () {
|
|
10
|
-
function SimpleEncodingVodJobOutputArtifact(obj) {
|
|
11
|
-
if (!obj) {
|
|
12
|
-
return;
|
|
13
|
-
}
|
|
14
|
-
this.name = (0, Mapper_1.map)(obj.name);
|
|
15
|
-
this.value = (0, Mapper_1.map)(obj.value);
|
|
16
|
-
}
|
|
17
|
-
return SimpleEncodingVodJobOutputArtifact;
|
|
18
|
-
}());
|
|
19
|
-
exports.SimpleEncodingVodJobOutputArtifact = SimpleEncodingVodJobOutputArtifact;
|
|
20
|
-
exports.default = SimpleEncodingVodJobOutputArtifact;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SimpleEncodingVodJobOutputType = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* Output type
|
|
6
|
-
* @export
|
|
7
|
-
* @enum {string}
|
|
8
|
-
*/
|
|
9
|
-
var SimpleEncodingVodJobOutputType;
|
|
10
|
-
(function (SimpleEncodingVodJobOutputType) {
|
|
11
|
-
SimpleEncodingVodJobOutputType["URL"] = "URL";
|
|
12
|
-
SimpleEncodingVodJobOutputType["CDN"] = "CDN";
|
|
13
|
-
})(SimpleEncodingVodJobOutputType || (exports.SimpleEncodingVodJobOutputType = SimpleEncodingVodJobOutputType = {}));
|
|
14
|
-
exports.default = SimpleEncodingVodJobOutputType;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import EncodingTemplate from './EncodingTemplate';
|
|
2
|
-
import SimpleEncodingVodJobInput from './SimpleEncodingVodJobInput';
|
|
3
|
-
import SimpleEncodingVodJobOptions from './SimpleEncodingVodJobOptions';
|
|
4
|
-
import SimpleEncodingVodJobOutput from './SimpleEncodingVodJobOutput';
|
|
5
|
-
/**
|
|
6
|
-
* @export
|
|
7
|
-
* @class SimpleEncodingVodJobRequest
|
|
8
|
-
*/
|
|
9
|
-
export declare class SimpleEncodingVodJobRequest {
|
|
10
|
-
/**
|
|
11
|
-
* The template that will be used for the encoding.
|
|
12
|
-
* @type {EncodingTemplate}
|
|
13
|
-
* @memberof SimpleEncodingVodJobRequest
|
|
14
|
-
*/
|
|
15
|
-
encodingTemplate?: EncodingTemplate;
|
|
16
|
-
/**
|
|
17
|
-
* Please take a look at the [documentation](https://bitmovin.com/docs/encoding/articles/simple-encoding-api#inputs-outputs) (required)
|
|
18
|
-
* @type {SimpleEncodingVodJobInput[]}
|
|
19
|
-
* @memberof SimpleEncodingVodJobRequest
|
|
20
|
-
*/
|
|
21
|
-
inputs?: SimpleEncodingVodJobInput[];
|
|
22
|
-
/**
|
|
23
|
-
* Please take a look at the [documentation](https://bitmovin.com/docs/encoding/articles/simple-encoding-api#inputs-outputs) (required)
|
|
24
|
-
* @type {SimpleEncodingVodJobOutput[]}
|
|
25
|
-
* @memberof SimpleEncodingVodJobRequest
|
|
26
|
-
*/
|
|
27
|
-
outputs?: SimpleEncodingVodJobOutput[];
|
|
28
|
-
/**
|
|
29
|
-
* Options to customize the Simple Encoding Job
|
|
30
|
-
* @type {SimpleEncodingVodJobOptions}
|
|
31
|
-
* @memberof SimpleEncodingVodJobRequest
|
|
32
|
-
*/
|
|
33
|
-
options?: SimpleEncodingVodJobOptions;
|
|
34
|
-
/**
|
|
35
|
-
* This property will be used for naming the encoding and the manifests.
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof SimpleEncodingVodJobRequest
|
|
38
|
-
*/
|
|
39
|
-
name?: string;
|
|
40
|
-
constructor(obj?: Partial<SimpleEncodingVodJobRequest>);
|
|
41
|
-
}
|
|
42
|
-
export default SimpleEncodingVodJobRequest;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SimpleEncodingVodJobRequest = void 0;
|
|
4
|
-
var Mapper_1 = require("../common/Mapper");
|
|
5
|
-
var SimpleEncodingVodJobInput_1 = require("./SimpleEncodingVodJobInput");
|
|
6
|
-
var SimpleEncodingVodJobOptions_1 = require("./SimpleEncodingVodJobOptions");
|
|
7
|
-
var SimpleEncodingVodJobOutput_1 = require("./SimpleEncodingVodJobOutput");
|
|
8
|
-
/**
|
|
9
|
-
* @export
|
|
10
|
-
* @class SimpleEncodingVodJobRequest
|
|
11
|
-
*/
|
|
12
|
-
var SimpleEncodingVodJobRequest = /** @class */ (function () {
|
|
13
|
-
function SimpleEncodingVodJobRequest(obj) {
|
|
14
|
-
if (!obj) {
|
|
15
|
-
return;
|
|
16
|
-
}
|
|
17
|
-
this.encodingTemplate = (0, Mapper_1.map)(obj.encodingTemplate);
|
|
18
|
-
this.inputs = (0, Mapper_1.mapArray)(obj.inputs, SimpleEncodingVodJobInput_1.default);
|
|
19
|
-
this.outputs = (0, Mapper_1.mapArray)(obj.outputs, SimpleEncodingVodJobOutput_1.default);
|
|
20
|
-
this.options = (0, Mapper_1.map)(obj.options, SimpleEncodingVodJobOptions_1.default);
|
|
21
|
-
this.name = (0, Mapper_1.map)(obj.name);
|
|
22
|
-
}
|
|
23
|
-
return SimpleEncodingVodJobRequest;
|
|
24
|
-
}());
|
|
25
|
-
exports.SimpleEncodingVodJobRequest = SimpleEncodingVodJobRequest;
|
|
26
|
-
exports.default = SimpleEncodingVodJobRequest;
|