@bitmovin/api-sdk 1.197.0 → 1.199.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/bitmovin-api-sdk.browser.js +6 -462
- 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/models/CloudRegion.d.ts +1 -0
- package/dist/models/CloudRegion.js +1 -0
- package/dist/models/GoogleCloudRegion.d.ts +2 -1
- package/dist/models/GoogleCloudRegion.js +1 -0
- package/dist/models/H264VideoConfiguration.d.ts +3 -3
- package/dist/models/H265VideoConfiguration.d.ts +3 -3
- package/dist/models/Keyframe.d.ts +0 -6
- package/dist/models/Keyframe.js +0 -1
- package/dist/models/PcmChannelLayout.d.ts +2 -1
- package/dist/models/PcmChannelLayout.js +1 -0
- package/dist/models/PcmSampleFormat.d.ts +2 -1
- package/dist/models/PcmSampleFormat.js +1 -0
- package/dist/models/ResetLiveManifestTimeShift.d.ts +6 -0
- package/dist/models/ResetLiveManifestTimeShift.js +1 -0
- package/dist/models/index.d.ts +0 -3
- package/dist/models/index.js +0 -3
- package/package.json +1 -1
- package/dist/encoding/history/HistoryApi.d.ts +0 -13
- package/dist/encoding/history/HistoryApi.js +0 -35
- package/dist/encoding/history/encodings/EncodingListQueryParams.d.ts +0 -217
- package/dist/encoding/history/encodings/EncodingListQueryParams.js +0 -165
- package/dist/encoding/history/encodings/EncodingsApi.d.ts +0 -29
- package/dist/encoding/history/encodings/EncodingsApi.js +0 -69
- package/dist/models/HistoryEncoding.d.ts +0 -85
- package/dist/models/HistoryEncoding.js +0 -42
- package/dist/models/HistoryMuxing.d.ts +0 -69
- package/dist/models/HistoryMuxing.js +0 -38
- package/dist/models/HistoryStream.d.ts +0 -85
- package/dist/models/HistoryStream.js +0 -40
|
@@ -1,165 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.EncodingListQueryParamsBuilder = void 0;
|
|
4
|
-
var EncodingListQueryParamsBuilder = /** @class */ (function () {
|
|
5
|
-
function EncodingListQueryParamsBuilder() {
|
|
6
|
-
this.internalParams = {};
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
*
|
|
10
|
-
* @param offset Index of the first item to return, starting at 0. Default is 0
|
|
11
|
-
*/
|
|
12
|
-
EncodingListQueryParamsBuilder.prototype.offset = function (offset) {
|
|
13
|
-
this.internalParams.offset = offset;
|
|
14
|
-
return this;
|
|
15
|
-
};
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @param limit Maximum number of items to return. Default is 25, maximum is 100
|
|
19
|
-
*/
|
|
20
|
-
EncodingListQueryParamsBuilder.prototype.limit = function (limit) {
|
|
21
|
-
this.internalParams.limit = limit;
|
|
22
|
-
return this;
|
|
23
|
-
};
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @param includeTotalCount A boolean indicating whether the total count should be returned as well. Default is false
|
|
27
|
-
*/
|
|
28
|
-
EncodingListQueryParamsBuilder.prototype.includeTotalCount = function (includeTotalCount) {
|
|
29
|
-
this.internalParams.includeTotalCount = includeTotalCount;
|
|
30
|
-
return this;
|
|
31
|
-
};
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @param sort Order list result according an encoding resource attribute. The fields that can be used for sorting are: + `id` + `startedAt` + `createdAt` + `modifiedAt` + `finishedAt` + `type` + `name` + `status` + `cloudRegion` + `encoderVersion`
|
|
35
|
-
*/
|
|
36
|
-
EncodingListQueryParamsBuilder.prototype.sort = function (sort) {
|
|
37
|
-
this.internalParams.sort = sort;
|
|
38
|
-
return this;
|
|
39
|
-
};
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @param type Filter encodings to only show the ones with the type specified.
|
|
43
|
-
*/
|
|
44
|
-
EncodingListQueryParamsBuilder.prototype.type = function (type) {
|
|
45
|
-
this.internalParams.type = type;
|
|
46
|
-
return this;
|
|
47
|
-
};
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @param status Filter encodings to only show the ones with the status specified.
|
|
51
|
-
*/
|
|
52
|
-
EncodingListQueryParamsBuilder.prototype.status = function (status) {
|
|
53
|
-
this.internalParams.status = status;
|
|
54
|
-
return this;
|
|
55
|
-
};
|
|
56
|
-
/**
|
|
57
|
-
*
|
|
58
|
-
* @param cloudRegion Filter encodings to only show the ones with the cloudRegion specified.
|
|
59
|
-
*/
|
|
60
|
-
EncodingListQueryParamsBuilder.prototype.cloudRegion = function (cloudRegion) {
|
|
61
|
-
this.internalParams.cloudRegion = cloudRegion;
|
|
62
|
-
return this;
|
|
63
|
-
};
|
|
64
|
-
/**
|
|
65
|
-
*
|
|
66
|
-
* @param selectedCloudRegion Filter encodings to only show the ones with the selectedCloudRegion specified which was selected when cloudregion:AUTO was set
|
|
67
|
-
*/
|
|
68
|
-
EncodingListQueryParamsBuilder.prototype.selectedCloudRegion = function (selectedCloudRegion) {
|
|
69
|
-
this.internalParams.selectedCloudRegion = selectedCloudRegion;
|
|
70
|
-
return this;
|
|
71
|
-
};
|
|
72
|
-
/**
|
|
73
|
-
*
|
|
74
|
-
* @param encoderVersion Filter encodings to only show the ones with the encoderVersion specified.
|
|
75
|
-
*/
|
|
76
|
-
EncodingListQueryParamsBuilder.prototype.encoderVersion = function (encoderVersion) {
|
|
77
|
-
this.internalParams.encoderVersion = encoderVersion;
|
|
78
|
-
return this;
|
|
79
|
-
};
|
|
80
|
-
/**
|
|
81
|
-
*
|
|
82
|
-
* @param selectedEncoderVersion Filter encodings to only show the ones with the encoderVersion specified that was actually used for the encoding.
|
|
83
|
-
*/
|
|
84
|
-
EncodingListQueryParamsBuilder.prototype.selectedEncoderVersion = function (selectedEncoderVersion) {
|
|
85
|
-
this.internalParams.selectedEncoderVersion = selectedEncoderVersion;
|
|
86
|
-
return this;
|
|
87
|
-
};
|
|
88
|
-
/**
|
|
89
|
-
*
|
|
90
|
-
* @param selectedEncodingMode Filter encodings to only show the ones with the encodingMode specified that was actually used for the encoding.
|
|
91
|
-
*/
|
|
92
|
-
EncodingListQueryParamsBuilder.prototype.selectedEncodingMode = function (selectedEncodingMode) {
|
|
93
|
-
this.internalParams.selectedEncodingMode = selectedEncodingMode;
|
|
94
|
-
return this;
|
|
95
|
-
};
|
|
96
|
-
/**
|
|
97
|
-
*
|
|
98
|
-
* @param name Filter encodings to only show the ones with this exact name.
|
|
99
|
-
*/
|
|
100
|
-
EncodingListQueryParamsBuilder.prototype.name = function (name) {
|
|
101
|
-
this.internalParams.name = name;
|
|
102
|
-
return this;
|
|
103
|
-
};
|
|
104
|
-
/**
|
|
105
|
-
*
|
|
106
|
-
* @param search The search query string for advanced filtering. We are using the [Apache Lucene](https://lucene.apache.org/) query syntax here. Only lucene queries equivalent to exact matching and startsWith are supported. Also only AND conjunctions supported at the moment. Please be aware that our filters are **case-insensitive** Examples of supported lucene queries: + `name:MyEncoding1` - This searches for encodings with names that are equal to `myencoding1` + `name:\"My Encoding\"` - This searches for encodings with names that are equal to `my encoding` + `name:MyEncoding\\*` - This searches for encodings with names that are equal to `myencoding*` Please have a look at the [Lucene Documentation - Escaping Special Characters](https://lucene.apache.org/core/8_1_1/queryparser/org/apache/lucene/queryparser/classic/package-summary.html#Escaping_Special_Characters) section to see what characters have to be escaped. + `name:test*` - This searches for encodings with names that start with `test` + `name:test* AND labels:Customer1` - This searches for encodings with names starting with `test` and labels containing an entry that is equal to `customer1` Available search fields: + `name` + `labels` Please be aware to send these queries url encoded. If you provide fields or lucene queries that are not supported, it will result in an error response.
|
|
107
|
-
*/
|
|
108
|
-
EncodingListQueryParamsBuilder.prototype.search = function (search) {
|
|
109
|
-
this.internalParams.search = search;
|
|
110
|
-
return this;
|
|
111
|
-
};
|
|
112
|
-
/**
|
|
113
|
-
*
|
|
114
|
-
* @param createdAtNewerThan Filter encodings to only return those created after this exact time, provided in ISO 8601 format: YYYY-MM-DDThh:mm:ssZ
|
|
115
|
-
*/
|
|
116
|
-
EncodingListQueryParamsBuilder.prototype.createdAtNewerThan = function (createdAtNewerThan) {
|
|
117
|
-
this.internalParams.createdAtNewerThan = createdAtNewerThan;
|
|
118
|
-
return this;
|
|
119
|
-
};
|
|
120
|
-
/**
|
|
121
|
-
*
|
|
122
|
-
* @param createdAtOlderThan Filter encodings to only return those created before this exact time, provided in ISO 8601 format: YYYY-MM-DDThh:mm:ssZ
|
|
123
|
-
*/
|
|
124
|
-
EncodingListQueryParamsBuilder.prototype.createdAtOlderThan = function (createdAtOlderThan) {
|
|
125
|
-
this.internalParams.createdAtOlderThan = createdAtOlderThan;
|
|
126
|
-
return this;
|
|
127
|
-
};
|
|
128
|
-
/**
|
|
129
|
-
*
|
|
130
|
-
* @param startedAtNewerThan Filter encodings to only return those started after this exact time, provided in ISO 8601 format: YYYY-MM-DDThh:mm:ssZ
|
|
131
|
-
*/
|
|
132
|
-
EncodingListQueryParamsBuilder.prototype.startedAtNewerThan = function (startedAtNewerThan) {
|
|
133
|
-
this.internalParams.startedAtNewerThan = startedAtNewerThan;
|
|
134
|
-
return this;
|
|
135
|
-
};
|
|
136
|
-
/**
|
|
137
|
-
*
|
|
138
|
-
* @param startedAtOlderThan Filter encodings to only return those started before this exact time, provided in ISO 8601 format: YYYY-MM-DDThh:mm:ssZ
|
|
139
|
-
*/
|
|
140
|
-
EncodingListQueryParamsBuilder.prototype.startedAtOlderThan = function (startedAtOlderThan) {
|
|
141
|
-
this.internalParams.startedAtOlderThan = startedAtOlderThan;
|
|
142
|
-
return this;
|
|
143
|
-
};
|
|
144
|
-
/**
|
|
145
|
-
*
|
|
146
|
-
* @param finishedAtNewerThan Filter encodings to only return those finished at newer than this exact time, provided in ISO 8601 format: YYYY-MM-DDThh:mm:ssZ Available for all encodings started after REST API Service release v1.50.0 (Changelogs for more information https://bitmovin.com/docs/encoding/changelogs/rest)
|
|
147
|
-
*/
|
|
148
|
-
EncodingListQueryParamsBuilder.prototype.finishedAtNewerThan = function (finishedAtNewerThan) {
|
|
149
|
-
this.internalParams.finishedAtNewerThan = finishedAtNewerThan;
|
|
150
|
-
return this;
|
|
151
|
-
};
|
|
152
|
-
/**
|
|
153
|
-
*
|
|
154
|
-
* @param finishedAtOlderThan Filter encodings to only return those finished at older than this exact time, provided in ISO 8601 format: YYYY-MM-DDThh:mm:ssZ Available for all encodings started after REST API Service release v1.50.0 (Changelogs for more information https://bitmovin.com/docs/encoding/changelogs/rest)
|
|
155
|
-
*/
|
|
156
|
-
EncodingListQueryParamsBuilder.prototype.finishedAtOlderThan = function (finishedAtOlderThan) {
|
|
157
|
-
this.internalParams.finishedAtOlderThan = finishedAtOlderThan;
|
|
158
|
-
return this;
|
|
159
|
-
};
|
|
160
|
-
EncodingListQueryParamsBuilder.prototype.buildQueryParams = function () {
|
|
161
|
-
return this.internalParams;
|
|
162
|
-
};
|
|
163
|
-
return EncodingListQueryParamsBuilder;
|
|
164
|
-
}());
|
|
165
|
-
exports.EncodingListQueryParamsBuilder = EncodingListQueryParamsBuilder;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { BaseAPI } from '../../../common/BaseAPI';
|
|
2
|
-
import Configuration from '../../../common/Configuration';
|
|
3
|
-
import Encoding from '../../../models/Encoding';
|
|
4
|
-
import HistoryEncoding from '../../../models/HistoryEncoding';
|
|
5
|
-
import PaginationResponse from '../../../models/PaginationResponse';
|
|
6
|
-
import { EncodingListQueryParams, EncodingListQueryParamsBuilder } from './EncodingListQueryParams';
|
|
7
|
-
/**
|
|
8
|
-
* EncodingsApi - object-oriented interface
|
|
9
|
-
* @export
|
|
10
|
-
* @class EncodingsApi
|
|
11
|
-
* @extends {BaseAPI}
|
|
12
|
-
*/
|
|
13
|
-
export default class EncodingsApi extends BaseAPI {
|
|
14
|
-
constructor(configuration: Configuration);
|
|
15
|
-
/**
|
|
16
|
-
* @summary (Experimental) History Encoding Details
|
|
17
|
-
* @param {string} encodingId Id of the encoding.
|
|
18
|
-
* @throws {BitmovinError}
|
|
19
|
-
* @memberof EncodingsApi
|
|
20
|
-
*/
|
|
21
|
-
get(encodingId: string): Promise<HistoryEncoding>;
|
|
22
|
-
/**
|
|
23
|
-
* @summary (Experimental) List all History Encodings
|
|
24
|
-
* @param {*} [queryParameters] query parameters for filtering, sorting and pagination
|
|
25
|
-
* @throws {BitmovinError}
|
|
26
|
-
* @memberof EncodingsApi
|
|
27
|
-
*/
|
|
28
|
-
list(queryParameters?: EncodingListQueryParams | ((q: EncodingListQueryParamsBuilder) => EncodingListQueryParamsBuilder)): Promise<PaginationResponse<Encoding>>;
|
|
29
|
-
}
|
|
@@ -1,69 +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
|
-
var BaseAPI_1 = require("../../../common/BaseAPI");
|
|
19
|
-
var Mapper_1 = require("../../../common/Mapper");
|
|
20
|
-
var Encoding_1 = require("../../../models/Encoding");
|
|
21
|
-
var HistoryEncoding_1 = require("../../../models/HistoryEncoding");
|
|
22
|
-
var PaginationResponse_1 = require("../../../models/PaginationResponse");
|
|
23
|
-
var EncodingListQueryParams_1 = require("./EncodingListQueryParams");
|
|
24
|
-
/**
|
|
25
|
-
* EncodingsApi - object-oriented interface
|
|
26
|
-
* @export
|
|
27
|
-
* @class EncodingsApi
|
|
28
|
-
* @extends {BaseAPI}
|
|
29
|
-
*/
|
|
30
|
-
var EncodingsApi = /** @class */ (function (_super) {
|
|
31
|
-
__extends(EncodingsApi, _super);
|
|
32
|
-
function EncodingsApi(configuration) {
|
|
33
|
-
return _super.call(this, configuration) || this;
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* @summary (Experimental) History Encoding Details
|
|
37
|
-
* @param {string} encodingId Id of the encoding.
|
|
38
|
-
* @throws {BitmovinError}
|
|
39
|
-
* @memberof EncodingsApi
|
|
40
|
-
*/
|
|
41
|
-
EncodingsApi.prototype.get = function (encodingId) {
|
|
42
|
-
var pathParamMap = {
|
|
43
|
-
encoding_id: encodingId
|
|
44
|
-
};
|
|
45
|
-
return this.restClient.get('/encoding/history/encodings/{encoding_id}', pathParamMap).then(function (response) {
|
|
46
|
-
return (0, Mapper_1.map)(response, HistoryEncoding_1.default);
|
|
47
|
-
});
|
|
48
|
-
};
|
|
49
|
-
/**
|
|
50
|
-
* @summary (Experimental) List all History Encodings
|
|
51
|
-
* @param {*} [queryParameters] query parameters for filtering, sorting and pagination
|
|
52
|
-
* @throws {BitmovinError}
|
|
53
|
-
* @memberof EncodingsApi
|
|
54
|
-
*/
|
|
55
|
-
EncodingsApi.prototype.list = function (queryParameters) {
|
|
56
|
-
var queryParams = {};
|
|
57
|
-
if (typeof queryParameters === 'function') {
|
|
58
|
-
queryParams = queryParameters(new EncodingListQueryParams_1.EncodingListQueryParamsBuilder()).buildQueryParams();
|
|
59
|
-
}
|
|
60
|
-
else if (queryParameters) {
|
|
61
|
-
queryParams = queryParameters;
|
|
62
|
-
}
|
|
63
|
-
return this.restClient.get('/encoding/history/encodings', {}, queryParams).then(function (response) {
|
|
64
|
-
return new PaginationResponse_1.default(response, Encoding_1.default);
|
|
65
|
-
});
|
|
66
|
-
};
|
|
67
|
-
return EncodingsApi;
|
|
68
|
-
}(BaseAPI_1.BaseAPI));
|
|
69
|
-
exports.default = EncodingsApi;
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
import ConvertSccCaption from './ConvertSccCaption';
|
|
2
|
-
import Encoding from './Encoding';
|
|
3
|
-
import HistoryMuxing from './HistoryMuxing';
|
|
4
|
-
import HistoryStream from './HistoryStream';
|
|
5
|
-
import Keyframe from './Keyframe';
|
|
6
|
-
import LiveEncoding from './LiveEncoding';
|
|
7
|
-
import SidecarFile from './SidecarFile';
|
|
8
|
-
import StartEncodingRequest from './StartEncodingRequest';
|
|
9
|
-
import StartLiveEncodingRequest from './StartLiveEncodingRequest';
|
|
10
|
-
import StreamInput from './StreamInput';
|
|
11
|
-
import Task from './Task';
|
|
12
|
-
import TransferRetry from './TransferRetry';
|
|
13
|
-
/**
|
|
14
|
-
* @export
|
|
15
|
-
* @class HistoryEncoding
|
|
16
|
-
*/
|
|
17
|
-
export declare class HistoryEncoding {
|
|
18
|
-
/**
|
|
19
|
-
* Encoding
|
|
20
|
-
* @type {Encoding}
|
|
21
|
-
* @memberof HistoryEncoding
|
|
22
|
-
*/
|
|
23
|
-
encoding?: Encoding;
|
|
24
|
-
/**
|
|
25
|
-
* Live Details
|
|
26
|
-
* @type {LiveEncoding}
|
|
27
|
-
* @memberof HistoryEncoding
|
|
28
|
-
*/
|
|
29
|
-
live?: LiveEncoding;
|
|
30
|
-
/**
|
|
31
|
-
* VOD Encoding Start Request
|
|
32
|
-
* @type {StartEncodingRequest}
|
|
33
|
-
* @memberof HistoryEncoding
|
|
34
|
-
*/
|
|
35
|
-
vodStartReqeust?: StartEncodingRequest;
|
|
36
|
-
/**
|
|
37
|
-
* Live Encoding Start Request
|
|
38
|
-
* @type {StartLiveEncodingRequest}
|
|
39
|
-
* @memberof HistoryEncoding
|
|
40
|
-
*/
|
|
41
|
-
liveStartReqeust?: StartLiveEncodingRequest;
|
|
42
|
-
/**
|
|
43
|
-
* Encoding Status
|
|
44
|
-
* @type {Task}
|
|
45
|
-
* @memberof HistoryEncoding
|
|
46
|
-
*/
|
|
47
|
-
status?: Task;
|
|
48
|
-
/**
|
|
49
|
-
* @type {StreamInput[]}
|
|
50
|
-
* @memberof HistoryEncoding
|
|
51
|
-
*/
|
|
52
|
-
inputStreams?: StreamInput[];
|
|
53
|
-
/**
|
|
54
|
-
* @type {HistoryStream[]}
|
|
55
|
-
* @memberof HistoryEncoding
|
|
56
|
-
*/
|
|
57
|
-
streams?: HistoryStream[];
|
|
58
|
-
/**
|
|
59
|
-
* @type {HistoryMuxing[]}
|
|
60
|
-
* @memberof HistoryEncoding
|
|
61
|
-
*/
|
|
62
|
-
muxings?: HistoryMuxing[];
|
|
63
|
-
/**
|
|
64
|
-
* @type {Keyframe[]}
|
|
65
|
-
* @memberof HistoryEncoding
|
|
66
|
-
*/
|
|
67
|
-
keyFrames?: Keyframe[];
|
|
68
|
-
/**
|
|
69
|
-
* @type {SidecarFile[]}
|
|
70
|
-
* @memberof HistoryEncoding
|
|
71
|
-
*/
|
|
72
|
-
sidecarFiles?: SidecarFile[];
|
|
73
|
-
/**
|
|
74
|
-
* @type {TransferRetry[]}
|
|
75
|
-
* @memberof HistoryEncoding
|
|
76
|
-
*/
|
|
77
|
-
transferRetries?: TransferRetry[];
|
|
78
|
-
/**
|
|
79
|
-
* @type {ConvertSccCaption[]}
|
|
80
|
-
* @memberof HistoryEncoding
|
|
81
|
-
*/
|
|
82
|
-
convertSccCaptions?: ConvertSccCaption[];
|
|
83
|
-
constructor(obj?: Partial<HistoryEncoding>);
|
|
84
|
-
}
|
|
85
|
-
export default HistoryEncoding;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.HistoryEncoding = void 0;
|
|
4
|
-
var Mapper_1 = require("../common/Mapper");
|
|
5
|
-
var ConvertSccCaption_1 = require("./ConvertSccCaption");
|
|
6
|
-
var Encoding_1 = require("./Encoding");
|
|
7
|
-
var HistoryMuxing_1 = require("./HistoryMuxing");
|
|
8
|
-
var HistoryStream_1 = require("./HistoryStream");
|
|
9
|
-
var Keyframe_1 = require("./Keyframe");
|
|
10
|
-
var LiveEncoding_1 = require("./LiveEncoding");
|
|
11
|
-
var SidecarFile_1 = require("./SidecarFile");
|
|
12
|
-
var StartEncodingRequest_1 = require("./StartEncodingRequest");
|
|
13
|
-
var StartLiveEncodingRequest_1 = require("./StartLiveEncodingRequest");
|
|
14
|
-
var StreamInput_1 = require("./StreamInput");
|
|
15
|
-
var Task_1 = require("./Task");
|
|
16
|
-
var TransferRetry_1 = require("./TransferRetry");
|
|
17
|
-
/**
|
|
18
|
-
* @export
|
|
19
|
-
* @class HistoryEncoding
|
|
20
|
-
*/
|
|
21
|
-
var HistoryEncoding = /** @class */ (function () {
|
|
22
|
-
function HistoryEncoding(obj) {
|
|
23
|
-
if (!obj) {
|
|
24
|
-
return;
|
|
25
|
-
}
|
|
26
|
-
this.encoding = (0, Mapper_1.map)(obj.encoding, Encoding_1.default);
|
|
27
|
-
this.live = (0, Mapper_1.map)(obj.live, LiveEncoding_1.default);
|
|
28
|
-
this.vodStartReqeust = (0, Mapper_1.map)(obj.vodStartReqeust, StartEncodingRequest_1.default);
|
|
29
|
-
this.liveStartReqeust = (0, Mapper_1.map)(obj.liveStartReqeust, StartLiveEncodingRequest_1.default);
|
|
30
|
-
this.status = (0, Mapper_1.map)(obj.status, Task_1.default);
|
|
31
|
-
this.inputStreams = (0, Mapper_1.mapArray)(obj.inputStreams, StreamInput_1.default);
|
|
32
|
-
this.streams = (0, Mapper_1.mapArray)(obj.streams, HistoryStream_1.default);
|
|
33
|
-
this.muxings = (0, Mapper_1.mapArray)(obj.muxings, HistoryMuxing_1.default);
|
|
34
|
-
this.keyFrames = (0, Mapper_1.mapArray)(obj.keyFrames, Keyframe_1.default);
|
|
35
|
-
this.sidecarFiles = (0, Mapper_1.mapArray)(obj.sidecarFiles, SidecarFile_1.default);
|
|
36
|
-
this.transferRetries = (0, Mapper_1.mapArray)(obj.transferRetries, TransferRetry_1.default);
|
|
37
|
-
this.convertSccCaptions = (0, Mapper_1.mapArray)(obj.convertSccCaptions, ConvertSccCaption_1.default);
|
|
38
|
-
}
|
|
39
|
-
return HistoryEncoding;
|
|
40
|
-
}());
|
|
41
|
-
exports.HistoryEncoding = HistoryEncoding;
|
|
42
|
-
exports.default = HistoryEncoding;
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import BroadcastTsMuxingInformation from './BroadcastTsMuxingInformation';
|
|
2
|
-
import Drm from './Drm';
|
|
3
|
-
import Fmp4MuxingInformation from './Fmp4MuxingInformation';
|
|
4
|
-
import Mp3MuxingInformation from './Mp3MuxingInformation';
|
|
5
|
-
import Mp4MuxingInformation from './Mp4MuxingInformation';
|
|
6
|
-
import Muxing from './Muxing';
|
|
7
|
-
import PackedAudioMuxingInformation from './PackedAudioMuxingInformation';
|
|
8
|
-
import ProgressiveMovMuxingInformation from './ProgressiveMovMuxingInformation';
|
|
9
|
-
import ProgressiveTsMuxingInformation from './ProgressiveTsMuxingInformation';
|
|
10
|
-
import ProgressiveWebmMuxingInformation from './ProgressiveWebmMuxingInformation';
|
|
11
|
-
/**
|
|
12
|
-
* @export
|
|
13
|
-
* @class HistoryMuxing
|
|
14
|
-
*/
|
|
15
|
-
export declare class HistoryMuxing {
|
|
16
|
-
/**
|
|
17
|
-
* Muxing
|
|
18
|
-
* @type {Muxing}
|
|
19
|
-
* @memberof HistoryMuxing
|
|
20
|
-
*/
|
|
21
|
-
muxing?: Muxing;
|
|
22
|
-
/**
|
|
23
|
-
* @type {Drm[]}
|
|
24
|
-
* @memberof HistoryMuxing
|
|
25
|
-
*/
|
|
26
|
-
drms?: Drm[];
|
|
27
|
-
/**
|
|
28
|
-
* @type {BroadcastTsMuxingInformation}
|
|
29
|
-
* @memberof HistoryMuxing
|
|
30
|
-
*/
|
|
31
|
-
broadcastTsMuxingInformation?: BroadcastTsMuxingInformation;
|
|
32
|
-
/**
|
|
33
|
-
* @type {Fmp4MuxingInformation}
|
|
34
|
-
* @memberof HistoryMuxing
|
|
35
|
-
*/
|
|
36
|
-
fmp4MuxingInformation?: Fmp4MuxingInformation;
|
|
37
|
-
/**
|
|
38
|
-
* @type {Mp3MuxingInformation}
|
|
39
|
-
* @memberof HistoryMuxing
|
|
40
|
-
*/
|
|
41
|
-
mp3MuxingInformation?: Mp3MuxingInformation;
|
|
42
|
-
/**
|
|
43
|
-
* @type {Mp4MuxingInformation}
|
|
44
|
-
* @memberof HistoryMuxing
|
|
45
|
-
*/
|
|
46
|
-
mp4MuxingInformation?: Mp4MuxingInformation;
|
|
47
|
-
/**
|
|
48
|
-
* @type {PackedAudioMuxingInformation}
|
|
49
|
-
* @memberof HistoryMuxing
|
|
50
|
-
*/
|
|
51
|
-
packedAudioMuxingInformation?: PackedAudioMuxingInformation;
|
|
52
|
-
/**
|
|
53
|
-
* @type {ProgressiveMovMuxingInformation}
|
|
54
|
-
* @memberof HistoryMuxing
|
|
55
|
-
*/
|
|
56
|
-
progressiveMovMuxingInformation?: ProgressiveMovMuxingInformation;
|
|
57
|
-
/**
|
|
58
|
-
* @type {ProgressiveTsMuxingInformation}
|
|
59
|
-
* @memberof HistoryMuxing
|
|
60
|
-
*/
|
|
61
|
-
progressiveTsMuxingInformation?: ProgressiveTsMuxingInformation;
|
|
62
|
-
/**
|
|
63
|
-
* @type {ProgressiveWebmMuxingInformation}
|
|
64
|
-
* @memberof HistoryMuxing
|
|
65
|
-
*/
|
|
66
|
-
progressiveWebmMuxingInformation?: ProgressiveWebmMuxingInformation;
|
|
67
|
-
constructor(obj?: Partial<HistoryMuxing>);
|
|
68
|
-
}
|
|
69
|
-
export default HistoryMuxing;
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.HistoryMuxing = void 0;
|
|
4
|
-
var Mapper_1 = require("../common/Mapper");
|
|
5
|
-
var BroadcastTsMuxingInformation_1 = require("./BroadcastTsMuxingInformation");
|
|
6
|
-
var Drm_1 = require("./Drm");
|
|
7
|
-
var Fmp4MuxingInformation_1 = require("./Fmp4MuxingInformation");
|
|
8
|
-
var Mp3MuxingInformation_1 = require("./Mp3MuxingInformation");
|
|
9
|
-
var Mp4MuxingInformation_1 = require("./Mp4MuxingInformation");
|
|
10
|
-
var Muxing_1 = require("./Muxing");
|
|
11
|
-
var PackedAudioMuxingInformation_1 = require("./PackedAudioMuxingInformation");
|
|
12
|
-
var ProgressiveMovMuxingInformation_1 = require("./ProgressiveMovMuxingInformation");
|
|
13
|
-
var ProgressiveTsMuxingInformation_1 = require("./ProgressiveTsMuxingInformation");
|
|
14
|
-
var ProgressiveWebmMuxingInformation_1 = require("./ProgressiveWebmMuxingInformation");
|
|
15
|
-
/**
|
|
16
|
-
* @export
|
|
17
|
-
* @class HistoryMuxing
|
|
18
|
-
*/
|
|
19
|
-
var HistoryMuxing = /** @class */ (function () {
|
|
20
|
-
function HistoryMuxing(obj) {
|
|
21
|
-
if (!obj) {
|
|
22
|
-
return;
|
|
23
|
-
}
|
|
24
|
-
this.muxing = (0, Mapper_1.map)(obj.muxing, Muxing_1.default);
|
|
25
|
-
this.drms = (0, Mapper_1.mapArray)(obj.drms, Drm_1.default);
|
|
26
|
-
this.broadcastTsMuxingInformation = (0, Mapper_1.map)(obj.broadcastTsMuxingInformation, BroadcastTsMuxingInformation_1.default);
|
|
27
|
-
this.fmp4MuxingInformation = (0, Mapper_1.map)(obj.fmp4MuxingInformation, Fmp4MuxingInformation_1.default);
|
|
28
|
-
this.mp3MuxingInformation = (0, Mapper_1.map)(obj.mp3MuxingInformation, Mp3MuxingInformation_1.default);
|
|
29
|
-
this.mp4MuxingInformation = (0, Mapper_1.map)(obj.mp4MuxingInformation, Mp4MuxingInformation_1.default);
|
|
30
|
-
this.packedAudioMuxingInformation = (0, Mapper_1.map)(obj.packedAudioMuxingInformation, PackedAudioMuxingInformation_1.default);
|
|
31
|
-
this.progressiveMovMuxingInformation = (0, Mapper_1.map)(obj.progressiveMovMuxingInformation, ProgressiveMovMuxingInformation_1.default);
|
|
32
|
-
this.progressiveTsMuxingInformation = (0, Mapper_1.map)(obj.progressiveTsMuxingInformation, ProgressiveTsMuxingInformation_1.default);
|
|
33
|
-
this.progressiveWebmMuxingInformation = (0, Mapper_1.map)(obj.progressiveWebmMuxingInformation, ProgressiveWebmMuxingInformation_1.default);
|
|
34
|
-
}
|
|
35
|
-
return HistoryMuxing;
|
|
36
|
-
}());
|
|
37
|
-
exports.HistoryMuxing = HistoryMuxing;
|
|
38
|
-
exports.default = HistoryMuxing;
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
import Bif from './Bif';
|
|
2
|
-
import BurnInSubtitleDvbSub from './BurnInSubtitleDvbSub';
|
|
3
|
-
import BurnInSubtitleSrt from './BurnInSubtitleSrt';
|
|
4
|
-
import DolbyVisionMetadata from './DolbyVisionMetadata';
|
|
5
|
-
import NexGuardFileMarker from './NexGuardFileMarker';
|
|
6
|
-
import PsnrQualityMetric from './PsnrQualityMetric';
|
|
7
|
-
import SccCaption from './SccCaption';
|
|
8
|
-
import Sprite from './Sprite';
|
|
9
|
-
import Stream from './Stream';
|
|
10
|
-
import StreamFilter from './StreamFilter';
|
|
11
|
-
import Thumbnail from './Thumbnail';
|
|
12
|
-
/**
|
|
13
|
-
* @export
|
|
14
|
-
* @class HistoryStream
|
|
15
|
-
*/
|
|
16
|
-
export declare class HistoryStream {
|
|
17
|
-
/**
|
|
18
|
-
* Stream
|
|
19
|
-
* @type {Stream}
|
|
20
|
-
* @memberof HistoryStream
|
|
21
|
-
*/
|
|
22
|
-
stream?: Stream;
|
|
23
|
-
/**
|
|
24
|
-
* List of stream filter configurations
|
|
25
|
-
* @type {StreamFilter[]}
|
|
26
|
-
* @memberof HistoryStream
|
|
27
|
-
*/
|
|
28
|
-
filters?: StreamFilter[];
|
|
29
|
-
/**
|
|
30
|
-
* List of Burn-In DVB-SUB subtitles
|
|
31
|
-
* @type {BurnInSubtitleDvbSub[]}
|
|
32
|
-
* @memberof HistoryStream
|
|
33
|
-
*/
|
|
34
|
-
burnInSubtitleDvbSubs?: BurnInSubtitleDvbSub[];
|
|
35
|
-
/**
|
|
36
|
-
* List of burn-in SRT configurations
|
|
37
|
-
* @type {BurnInSubtitleSrt[]}
|
|
38
|
-
* @memberof HistoryStream
|
|
39
|
-
*/
|
|
40
|
-
burnInSubtitleSrtSubs?: BurnInSubtitleSrt[];
|
|
41
|
-
/**
|
|
42
|
-
* Nexguard file marker watermarking configuration
|
|
43
|
-
* @type {NexGuardFileMarker}
|
|
44
|
-
* @memberof HistoryStream
|
|
45
|
-
*/
|
|
46
|
-
nexGuardFileMarker?: NexGuardFileMarker;
|
|
47
|
-
/**
|
|
48
|
-
* List of caption configurations
|
|
49
|
-
* @type {SccCaption[]}
|
|
50
|
-
* @memberof HistoryStream
|
|
51
|
-
*/
|
|
52
|
-
sccCaptions?: SccCaption[];
|
|
53
|
-
/**
|
|
54
|
-
* List of bif configurations
|
|
55
|
-
* @type {Bif[]}
|
|
56
|
-
* @memberof HistoryStream
|
|
57
|
-
*/
|
|
58
|
-
bifs?: Bif[];
|
|
59
|
-
/**
|
|
60
|
-
* List of Dolby Vision Metadata configurations
|
|
61
|
-
* @type {DolbyVisionMetadata[]}
|
|
62
|
-
* @memberof HistoryStream
|
|
63
|
-
*/
|
|
64
|
-
dolbyVisionMetadata?: DolbyVisionMetadata[];
|
|
65
|
-
/**
|
|
66
|
-
* List of Thumbnail configurations
|
|
67
|
-
* @type {Thumbnail[]}
|
|
68
|
-
* @memberof HistoryStream
|
|
69
|
-
*/
|
|
70
|
-
thumbnails?: Thumbnail[];
|
|
71
|
-
/**
|
|
72
|
-
* List of Sprite configurations
|
|
73
|
-
* @type {Sprite[]}
|
|
74
|
-
* @memberof HistoryStream
|
|
75
|
-
*/
|
|
76
|
-
sprites?: Sprite[];
|
|
77
|
-
/**
|
|
78
|
-
* List of PSNR quality metrics
|
|
79
|
-
* @type {PsnrQualityMetric[]}
|
|
80
|
-
* @memberof HistoryStream
|
|
81
|
-
*/
|
|
82
|
-
psnrMetrics?: PsnrQualityMetric[];
|
|
83
|
-
constructor(obj?: Partial<HistoryStream>);
|
|
84
|
-
}
|
|
85
|
-
export default HistoryStream;
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.HistoryStream = void 0;
|
|
4
|
-
var Mapper_1 = require("../common/Mapper");
|
|
5
|
-
var Bif_1 = require("./Bif");
|
|
6
|
-
var BurnInSubtitleDvbSub_1 = require("./BurnInSubtitleDvbSub");
|
|
7
|
-
var BurnInSubtitleSrt_1 = require("./BurnInSubtitleSrt");
|
|
8
|
-
var DolbyVisionMetadata_1 = require("./DolbyVisionMetadata");
|
|
9
|
-
var NexGuardFileMarker_1 = require("./NexGuardFileMarker");
|
|
10
|
-
var PsnrQualityMetric_1 = require("./PsnrQualityMetric");
|
|
11
|
-
var SccCaption_1 = require("./SccCaption");
|
|
12
|
-
var Sprite_1 = require("./Sprite");
|
|
13
|
-
var Stream_1 = require("./Stream");
|
|
14
|
-
var StreamFilter_1 = require("./StreamFilter");
|
|
15
|
-
var Thumbnail_1 = require("./Thumbnail");
|
|
16
|
-
/**
|
|
17
|
-
* @export
|
|
18
|
-
* @class HistoryStream
|
|
19
|
-
*/
|
|
20
|
-
var HistoryStream = /** @class */ (function () {
|
|
21
|
-
function HistoryStream(obj) {
|
|
22
|
-
if (!obj) {
|
|
23
|
-
return;
|
|
24
|
-
}
|
|
25
|
-
this.stream = (0, Mapper_1.map)(obj.stream, Stream_1.default);
|
|
26
|
-
this.filters = (0, Mapper_1.mapArray)(obj.filters, StreamFilter_1.default);
|
|
27
|
-
this.burnInSubtitleDvbSubs = (0, Mapper_1.mapArray)(obj.burnInSubtitleDvbSubs, BurnInSubtitleDvbSub_1.default);
|
|
28
|
-
this.burnInSubtitleSrtSubs = (0, Mapper_1.mapArray)(obj.burnInSubtitleSrtSubs, BurnInSubtitleSrt_1.default);
|
|
29
|
-
this.nexGuardFileMarker = (0, Mapper_1.map)(obj.nexGuardFileMarker, NexGuardFileMarker_1.default);
|
|
30
|
-
this.sccCaptions = (0, Mapper_1.mapArray)(obj.sccCaptions, SccCaption_1.default);
|
|
31
|
-
this.bifs = (0, Mapper_1.mapArray)(obj.bifs, Bif_1.default);
|
|
32
|
-
this.dolbyVisionMetadata = (0, Mapper_1.mapArray)(obj.dolbyVisionMetadata, DolbyVisionMetadata_1.default);
|
|
33
|
-
this.thumbnails = (0, Mapper_1.mapArray)(obj.thumbnails, Thumbnail_1.default);
|
|
34
|
-
this.sprites = (0, Mapper_1.mapArray)(obj.sprites, Sprite_1.default);
|
|
35
|
-
this.psnrMetrics = (0, Mapper_1.mapArray)(obj.psnrMetrics, PsnrQualityMetric_1.default);
|
|
36
|
-
}
|
|
37
|
-
return HistoryStream;
|
|
38
|
-
}());
|
|
39
|
-
exports.HistoryStream = HistoryStream;
|
|
40
|
-
exports.default = HistoryStream;
|