@bitmovin/api-sdk 1.224.0 → 1.226.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/SimpleEncodingVodJobAzureCredentials.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 +730 -2080
- 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/statistics/encodings/liveStatistics/events/LiveEncodingStatsEventListQueryParams.d.ts +11 -0
- package/dist/encoding/statistics/encodings/liveStatistics/events/LiveEncodingStatsEventListQueryParams.js +8 -0
- package/dist/models/AnalyticsAttribute.d.ts +21 -0
- package/dist/models/AnalyticsAttribute.js +21 -0
- package/dist/models/Atmosphere.d.ts +23 -0
- package/dist/models/Atmosphere.js +21 -0
- 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 +10 -40
- package/dist/models/index.js +10 -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/SimpleEncodingLiveJobAzureCredentials.js +0 -38
- 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,35 +0,0 @@
|
|
|
1
|
-
import SimpleEncodingVodJobCredentials from './SimpleEncodingVodJobCredentials';
|
|
2
|
-
import SimpleEncodingVodJobOutput from './SimpleEncodingVodJobOutput';
|
|
3
|
-
import SimpleEncodingVodJobOutputType from './SimpleEncodingVodJobOutputType';
|
|
4
|
-
/**
|
|
5
|
-
* @export
|
|
6
|
-
* @class SimpleEncodingVodJobUrlOutput
|
|
7
|
-
*/
|
|
8
|
-
export declare class SimpleEncodingVodJobUrlOutput extends SimpleEncodingVodJobOutput {
|
|
9
|
-
/**
|
|
10
|
-
* Discriminator property for SimpleEncodingVodJobOutput
|
|
11
|
-
* @type {string}
|
|
12
|
-
* @memberof SimpleEncodingVodJobUrlOutput
|
|
13
|
-
*/
|
|
14
|
-
readonly type: SimpleEncodingVodJobOutputType;
|
|
15
|
-
/**
|
|
16
|
-
* 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>`/h264/{width}x{height}_{bitrate}/` (multiple subfolders containing different output renditions)</li> </ul> </li> <li>`/audio` <ul> <li>`/aac/{language}/` - if language is unique (subfolder containing audio output files)</li> <li>`/aac/{language}_{index}/` - if language is not unique (subfolder containing audio output files)</li> </ul> </li> <li>`/subtitles` (subfolder containing subtitles files)</li> <li>`/captions` (subfolder containing subtitles files)</li> <li>`/sprites` (subfolder containing generated sprites)</li> <li>`/thumbnails` (subfolder containing generated thumbnails)</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 in the descriptions below which properties can or need to be provided within the `credentials` key. See below how to construct the URLs for the individual protocols/storage systems. ___ **Recommendation** To ensure uniqueness of output paths accross multiple encodings, make use of the following placeholders in the output's URL: {uuid} - will be replaced with a random UUID {asset} - will be replaced with the asset file name (only for the input type VIDEO or DEFAULT) Examples: * using the `{uuid}` placeholder: The output URL `s3://<my-bucket>/{uuid}/path/` will be transformed to e.g. `s3://<my-bucket>/d59295f3-1548-4bd9-843d-6ac6896dbdb6/path/`. * using the `{asset}` placeholder: Given an input `s3://my-bucket/path/filename.mp4` of type VIDEO or DEFAULT, the output URL `s3://<my-bucket>/{asset}/path/` will be transformed to `s3://<my-bucket>/filename/path/` Notes: - Placeholders can be combined or used multiple times in the same URL. - Placeholders are ignored when used in conjunction with `DirectFileUploadInput`s because in this case the asset file name cannot be set. ___ **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)
|
|
17
|
-
* @type {string}
|
|
18
|
-
* @memberof SimpleEncodingVodJobUrlOutput
|
|
19
|
-
*/
|
|
20
|
-
url?: string;
|
|
21
|
-
/**
|
|
22
|
-
* Credentials to be used for authentication and accessing the folder
|
|
23
|
-
* @type {SimpleEncodingVodJobCredentials}
|
|
24
|
-
* @memberof SimpleEncodingVodJobUrlOutput
|
|
25
|
-
*/
|
|
26
|
-
credentials?: SimpleEncodingVodJobCredentials;
|
|
27
|
-
/**
|
|
28
|
-
* 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.
|
|
29
|
-
* @type {boolean}
|
|
30
|
-
* @memberof SimpleEncodingVodJobUrlOutput
|
|
31
|
-
*/
|
|
32
|
-
makePublic?: boolean;
|
|
33
|
-
constructor(obj?: Partial<SimpleEncodingVodJobUrlOutput>);
|
|
34
|
-
}
|
|
35
|
-
export default SimpleEncodingVodJobUrlOutput;
|
|
@@ -1,48 +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.SimpleEncodingVodJobUrlOutput = void 0;
|
|
19
|
-
var Mapper_1 = require("../common/Mapper");
|
|
20
|
-
var SimpleEncodingVodJobCredentials_1 = require("./SimpleEncodingVodJobCredentials");
|
|
21
|
-
var SimpleEncodingVodJobOutput_1 = require("./SimpleEncodingVodJobOutput");
|
|
22
|
-
var SimpleEncodingVodJobOutputType_1 = require("./SimpleEncodingVodJobOutputType");
|
|
23
|
-
/**
|
|
24
|
-
* @export
|
|
25
|
-
* @class SimpleEncodingVodJobUrlOutput
|
|
26
|
-
*/
|
|
27
|
-
var SimpleEncodingVodJobUrlOutput = /** @class */ (function (_super) {
|
|
28
|
-
__extends(SimpleEncodingVodJobUrlOutput, _super);
|
|
29
|
-
function SimpleEncodingVodJobUrlOutput(obj) {
|
|
30
|
-
var _this = _super.call(this, obj) || this;
|
|
31
|
-
/**
|
|
32
|
-
* Discriminator property for SimpleEncodingVodJobOutput
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof SimpleEncodingVodJobUrlOutput
|
|
35
|
-
*/
|
|
36
|
-
_this.type = SimpleEncodingVodJobOutputType_1.default.URL;
|
|
37
|
-
if (!obj) {
|
|
38
|
-
return _this;
|
|
39
|
-
}
|
|
40
|
-
_this.url = (0, Mapper_1.map)(obj.url);
|
|
41
|
-
_this.credentials = (0, Mapper_1.map)(obj.credentials, SimpleEncodingVodJobCredentials_1.default);
|
|
42
|
-
_this.makePublic = (0, Mapper_1.map)(obj.makePublic);
|
|
43
|
-
return _this;
|
|
44
|
-
}
|
|
45
|
-
return SimpleEncodingVodJobUrlOutput;
|
|
46
|
-
}(SimpleEncodingVodJobOutput_1.default));
|
|
47
|
-
exports.SimpleEncodingVodJobUrlOutput = SimpleEncodingVodJobUrlOutput;
|
|
48
|
-
exports.default = SimpleEncodingVodJobUrlOutput;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import SimpleEncodingVodJobCredentials from './SimpleEncodingVodJobCredentials';
|
|
2
|
-
/**
|
|
3
|
-
* @export
|
|
4
|
-
* @class SimpleEncodingVodJobUsernamePasswordCredentials
|
|
5
|
-
*/
|
|
6
|
-
export declare class SimpleEncodingVodJobUsernamePasswordCredentials extends SimpleEncodingVodJobCredentials {
|
|
7
|
-
/**
|
|
8
|
-
* The username to be used for authentication. (required)
|
|
9
|
-
* @type {string}
|
|
10
|
-
* @memberof SimpleEncodingVodJobUsernamePasswordCredentials
|
|
11
|
-
*/
|
|
12
|
-
username?: string;
|
|
13
|
-
/**
|
|
14
|
-
* The password to be used for authentication (required)
|
|
15
|
-
* @type {string}
|
|
16
|
-
* @memberof SimpleEncodingVodJobUsernamePasswordCredentials
|
|
17
|
-
*/
|
|
18
|
-
password?: string;
|
|
19
|
-
constructor(obj?: Partial<SimpleEncodingVodJobUsernamePasswordCredentials>);
|
|
20
|
-
}
|
|
21
|
-
export default SimpleEncodingVodJobUsernamePasswordCredentials;
|
|
@@ -1,39 +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.SimpleEncodingVodJobUsernamePasswordCredentials = void 0;
|
|
19
|
-
var Mapper_1 = require("../common/Mapper");
|
|
20
|
-
var SimpleEncodingVodJobCredentials_1 = require("./SimpleEncodingVodJobCredentials");
|
|
21
|
-
/**
|
|
22
|
-
* @export
|
|
23
|
-
* @class SimpleEncodingVodJobUsernamePasswordCredentials
|
|
24
|
-
*/
|
|
25
|
-
var SimpleEncodingVodJobUsernamePasswordCredentials = /** @class */ (function (_super) {
|
|
26
|
-
__extends(SimpleEncodingVodJobUsernamePasswordCredentials, _super);
|
|
27
|
-
function SimpleEncodingVodJobUsernamePasswordCredentials(obj) {
|
|
28
|
-
var _this = _super.call(this, obj) || this;
|
|
29
|
-
if (!obj) {
|
|
30
|
-
return _this;
|
|
31
|
-
}
|
|
32
|
-
_this.username = (0, Mapper_1.map)(obj.username);
|
|
33
|
-
_this.password = (0, Mapper_1.map)(obj.password);
|
|
34
|
-
return _this;
|
|
35
|
-
}
|
|
36
|
-
return SimpleEncodingVodJobUsernamePasswordCredentials;
|
|
37
|
-
}(SimpleEncodingVodJobCredentials_1.default));
|
|
38
|
-
exports.SimpleEncodingVodJobUsernamePasswordCredentials = SimpleEncodingVodJobUsernamePasswordCredentials;
|
|
39
|
-
exports.default = SimpleEncodingVodJobUsernamePasswordCredentials;
|