@bitmovin/api-sdk 1.94.0 → 1.98.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 +1135 -58
- 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/EncodingApi.d.ts +2 -0
- package/dist/encoding/EncodingApi.js +2 -0
- package/dist/encoding/EncodingApi.js.map +1 -1
- package/dist/encoding/manifests/dash/periods/adaptationsets/AdaptationSetListQueryParams.d.ts +28 -0
- package/dist/encoding/manifests/dash/periods/adaptationsets/AdaptationSetListQueryParams.js +30 -0
- package/dist/encoding/manifests/dash/periods/adaptationsets/AdaptationSetListQueryParams.js.map +1 -0
- package/dist/encoding/manifests/dash/periods/adaptationsets/AdaptationsetsApi.d.ts +14 -0
- package/dist/encoding/manifests/dash/periods/adaptationsets/AdaptationsetsApi.js +29 -0
- package/dist/encoding/manifests/dash/periods/adaptationsets/AdaptationsetsApi.js.map +1 -1
- package/dist/encoding/manifests/dash/periods/adaptationsets/type/TypeApi.d.ts +21 -0
- package/dist/encoding/manifests/dash/periods/adaptationsets/type/TypeApi.js +51 -0
- package/dist/encoding/manifests/dash/periods/adaptationsets/type/TypeApi.js.map +1 -0
- package/dist/encoding/manifests/hls/media/customTags/CustomTagsApi.d.ts +6 -6
- package/dist/encoding/manifests/hls/media/customTags/CustomTagsApi.js +6 -6
- package/dist/encoding/simple/SimpleApi.d.ts +13 -0
- package/dist/encoding/simple/SimpleApi.js +34 -0
- package/dist/encoding/simple/SimpleApi.js.map +1 -0
- package/dist/encoding/simple/jobs/JobsApi.d.ts +13 -0
- package/dist/encoding/simple/jobs/JobsApi.js +34 -0
- package/dist/encoding/simple/jobs/JobsApi.js.map +1 -0
- package/dist/encoding/simple/jobs/vod/SimpleEncodingVodJobResponseListQueryParams.d.ts +50 -0
- package/dist/encoding/simple/jobs/vod/SimpleEncodingVodJobResponseListQueryParams.js +46 -0
- package/dist/encoding/simple/jobs/vod/SimpleEncodingVodJobResponseListQueryParams.js.map +1 -0
- package/dist/encoding/simple/jobs/vod/VodApi.d.ts +36 -0
- package/dist/encoding/simple/jobs/vod/VodApi.js +78 -0
- package/dist/encoding/simple/jobs/vod/VodApi.js.map +1 -0
- package/dist/models/AdAnalyticsAttribute.d.ts +20 -0
- package/dist/models/AdAnalyticsAttribute.js +20 -0
- package/dist/models/AdAnalyticsAttribute.js.map +1 -1
- package/dist/models/AdaptationSet.d.ts +17 -0
- package/dist/models/AdaptationSet.js +9 -0
- package/dist/models/AdaptationSet.js.map +1 -1
- package/dist/models/AdaptationSetType.d.ts +11 -0
- package/dist/models/AdaptationSetType.js +16 -0
- package/dist/models/AdaptationSetType.js.map +1 -0
- package/dist/models/AdaptationSetTypeResponse.d.ts +15 -0
- package/dist/models/AdaptationSetTypeResponse.js +20 -0
- package/dist/models/AdaptationSetTypeResponse.js.map +1 -0
- package/dist/models/AnalyticsAdsImpressionSample.d.ts +108 -0
- package/dist/models/AnalyticsAdsImpressionSample.js +18 -0
- package/dist/models/AnalyticsAdsImpressionSample.js.map +1 -1
- package/dist/models/AnalyticsAttribute.d.ts +20 -0
- package/dist/models/AnalyticsAttribute.js +20 -0
- package/dist/models/AnalyticsAttribute.js.map +1 -1
- package/dist/models/AnalyticsImpressionSample.d.ts +108 -0
- package/dist/models/AnalyticsImpressionSample.js +18 -0
- package/dist/models/AnalyticsImpressionSample.js.map +1 -1
- package/dist/models/AnalyticsLicenseCustomDataFieldLabels.d.ts +115 -7
- package/dist/models/AnalyticsLicenseCustomDataFieldLabels.js +18 -0
- package/dist/models/AnalyticsLicenseCustomDataFieldLabels.js.map +1 -1
- package/dist/models/AnalyticsVirtualLicense.d.ts +13 -0
- package/dist/models/AnalyticsVirtualLicense.js +3 -0
- package/dist/models/AnalyticsVirtualLicense.js.map +1 -1
- package/dist/models/AnalyticsVirtualLicenseRequest.d.ts +7 -0
- package/dist/models/AnalyticsVirtualLicenseRequest.js +2 -0
- package/dist/models/AnalyticsVirtualLicenseRequest.js.map +1 -1
- package/dist/models/AudioAdaptationSet.d.ts +7 -0
- package/dist/models/AudioAdaptationSet.js +7 -0
- package/dist/models/AudioAdaptationSet.js.map +1 -1
- package/dist/models/AzureCloudRegion.d.ts +5 -50
- package/dist/models/AzureCloudRegion.js +5 -50
- package/dist/models/AzureCloudRegion.js.map +1 -1
- package/dist/models/ChunkedTextMuxing.d.ts +6 -0
- package/dist/models/ChunkedTextMuxing.js +1 -0
- package/dist/models/ChunkedTextMuxing.js.map +1 -1
- package/dist/models/CloudRegion.d.ts +0 -1
- package/dist/models/CloudRegion.js +0 -1
- package/dist/models/CloudRegion.js.map +1 -1
- package/dist/models/ImageAdaptationSet.d.ts +7 -0
- package/dist/models/ImageAdaptationSet.js +7 -0
- package/dist/models/ImageAdaptationSet.js.map +1 -1
- package/dist/models/Label.d.ts +26 -0
- package/dist/models/Label.js +22 -0
- package/dist/models/Label.js.map +1 -0
- package/dist/models/SimpleEncodingVodJobAccessKeyCredentials.d.ts +21 -0
- package/dist/models/SimpleEncodingVodJobAccessKeyCredentials.js +38 -0
- package/dist/models/SimpleEncodingVodJobAccessKeyCredentials.js.map +1 -0
- package/dist/models/SimpleEncodingVodJobAzureCredentials.d.ts +15 -0
- package/dist/models/SimpleEncodingVodJobAzureCredentials.js +37 -0
- package/dist/models/SimpleEncodingVodJobAzureCredentials.js.map +1 -0
- package/dist/models/SimpleEncodingVodJobCredentials.d.ts +8 -0
- package/dist/models/SimpleEncodingVodJobCredentials.js +18 -0
- package/dist/models/SimpleEncodingVodJobCredentials.js.map +1 -0
- package/dist/models/SimpleEncodingVodJobErrors.d.ts +26 -0
- package/dist/models/SimpleEncodingVodJobErrors.js +22 -0
- package/dist/models/SimpleEncodingVodJobErrors.js.map +1 -0
- package/dist/models/SimpleEncodingVodJobGcsServiceAccountCredentials.d.ts +15 -0
- package/dist/models/SimpleEncodingVodJobGcsServiceAccountCredentials.js +37 -0
- package/dist/models/SimpleEncodingVodJobGcsServiceAccountCredentials.js.map +1 -0
- package/dist/models/SimpleEncodingVodJobInputType.d.ts +11 -0
- package/dist/models/SimpleEncodingVodJobInputType.js +16 -0
- package/dist/models/SimpleEncodingVodJobInputType.js.map +1 -0
- package/dist/models/SimpleEncodingVodJobRequest.d.ts +26 -0
- package/dist/models/SimpleEncodingVodJobRequest.js +24 -0
- package/dist/models/SimpleEncodingVodJobRequest.js.map +1 -0
- package/dist/models/SimpleEncodingVodJobResponse.d.ts +64 -0
- package/dist/models/SimpleEncodingVodJobResponse.js +31 -0
- package/dist/models/SimpleEncodingVodJobResponse.js.map +1 -0
- package/dist/models/SimpleEncodingVodJobS3RoleBasedCredentials.d.ts +21 -0
- package/dist/models/SimpleEncodingVodJobS3RoleBasedCredentials.js +38 -0
- package/dist/models/SimpleEncodingVodJobS3RoleBasedCredentials.js.map +1 -0
- package/dist/models/SimpleEncodingVodJobStatus.d.ts +14 -0
- package/dist/models/SimpleEncodingVodJobStatus.js +19 -0
- package/dist/models/SimpleEncodingVodJobStatus.js.map +1 -0
- package/dist/models/SimpleEncodingVodJobUrlInput.d.ts +34 -0
- package/dist/models/SimpleEncodingVodJobUrlInput.js +24 -0
- package/dist/models/SimpleEncodingVodJobUrlInput.js.map +1 -0
- package/dist/models/SimpleEncodingVodJobUrlOutput.d.ts +27 -0
- package/dist/models/SimpleEncodingVodJobUrlOutput.js +23 -0
- package/dist/models/SimpleEncodingVodJobUrlOutput.js.map +1 -0
- package/dist/models/SimpleEncodingVodJobUsernamePasswordCredentials.d.ts +21 -0
- package/dist/models/SimpleEncodingVodJobUsernamePasswordCredentials.js +38 -0
- package/dist/models/SimpleEncodingVodJobUsernamePasswordCredentials.js.map +1 -0
- package/dist/models/SubtitleAdaptationSet.d.ts +7 -0
- package/dist/models/SubtitleAdaptationSet.js +7 -0
- package/dist/models/SubtitleAdaptationSet.js.map +1 -1
- package/dist/models/TextMuxing.d.ts +6 -0
- package/dist/models/TextMuxing.js +1 -0
- package/dist/models/TextMuxing.js.map +1 -1
- package/dist/models/VideoAdaptationSet.d.ts +7 -0
- package/dist/models/VideoAdaptationSet.js +7 -0
- package/dist/models/VideoAdaptationSet.js.map +1 -1
- package/dist/models/index.d.ts +16 -0
- package/dist/models/index.js +16 -0
- package/dist/models/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -238,7 +238,7 @@ var HeaderHandler = /** @class */ (function (_super) {
|
|
|
238
238
|
var headers = {
|
|
239
239
|
'X-Api-Key': apiKey,
|
|
240
240
|
'X-Api-Client': 'bitmovin-api-sdk-javascript',
|
|
241
|
-
'X-Api-Client-Version': '1.
|
|
241
|
+
'X-Api-Client-Version': '1.98.0',
|
|
242
242
|
'Content-Type': 'application/json'
|
|
243
243
|
};
|
|
244
244
|
if (tenantOrgId) {
|
|
@@ -9,6 +9,7 @@ import ManifestsApi from './manifests/ManifestsApi';
|
|
|
9
9
|
import InfrastructureApi from './infrastructure/InfrastructureApi';
|
|
10
10
|
import StatisticsApi from './statistics/StatisticsApi';
|
|
11
11
|
import WatchFoldersApi from './watchFolders/WatchFoldersApi';
|
|
12
|
+
import SimpleApi from './simple/SimpleApi';
|
|
12
13
|
import ErrorDefinitionsApi from './errorDefinitions/ErrorDefinitionsApi';
|
|
13
14
|
/**
|
|
14
15
|
* EncodingApi - object-oriented interface
|
|
@@ -26,6 +27,7 @@ export default class EncodingApi extends BaseAPI {
|
|
|
26
27
|
infrastructure: InfrastructureApi;
|
|
27
28
|
statistics: StatisticsApi;
|
|
28
29
|
watchFolders: WatchFoldersApi;
|
|
30
|
+
simple: SimpleApi;
|
|
29
31
|
errorDefinitions: ErrorDefinitionsApi;
|
|
30
32
|
constructor(configuration: Configuration);
|
|
31
33
|
}
|
|
@@ -23,6 +23,7 @@ var ManifestsApi_1 = require("./manifests/ManifestsApi");
|
|
|
23
23
|
var InfrastructureApi_1 = require("./infrastructure/InfrastructureApi");
|
|
24
24
|
var StatisticsApi_1 = require("./statistics/StatisticsApi");
|
|
25
25
|
var WatchFoldersApi_1 = require("./watchFolders/WatchFoldersApi");
|
|
26
|
+
var SimpleApi_1 = require("./simple/SimpleApi");
|
|
26
27
|
var ErrorDefinitionsApi_1 = require("./errorDefinitions/ErrorDefinitionsApi");
|
|
27
28
|
/**
|
|
28
29
|
* EncodingApi - object-oriented interface
|
|
@@ -43,6 +44,7 @@ var EncodingApi = /** @class */ (function (_super) {
|
|
|
43
44
|
_this.infrastructure = new InfrastructureApi_1.default(configuration);
|
|
44
45
|
_this.statistics = new StatisticsApi_1.default(configuration);
|
|
45
46
|
_this.watchFolders = new WatchFoldersApi_1.default(configuration);
|
|
47
|
+
_this.simple = new SimpleApi_1.default(configuration);
|
|
46
48
|
_this.errorDefinitions = new ErrorDefinitionsApi_1.default(configuration);
|
|
47
49
|
return _this;
|
|
48
50
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EncodingApi.js","sourceRoot":"","sources":["../../src/encoding/EncodingApi.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,6CAA0C;AAG1C,gDAA2C;AAC3C,mDAA8C;AAC9C,wEAAmE;AACnE,mDAA8C;AAC9C,yDAAoD;AACpD,yDAAoD;AACpD,wEAAmE;AACnE,4DAAuD;AACvD,kEAA6D;AAC7D,8EAAyE;AAEzE;;;;;GAKG;AACH;IAAyC,+BAAO;
|
|
1
|
+
{"version":3,"file":"EncodingApi.js","sourceRoot":"","sources":["../../src/encoding/EncodingApi.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,6CAA0C;AAG1C,gDAA2C;AAC3C,mDAA8C;AAC9C,wEAAmE;AACnE,mDAA8C;AAC9C,yDAAoD;AACpD,yDAAoD;AACpD,wEAAmE;AACnE,4DAAuD;AACvD,kEAA6D;AAC7D,gDAA2C;AAC3C,8EAAyE;AAEzE;;;;;GAKG;AACH;IAAyC,+BAAO;IAa9C,qBAAY,aAA4B;QAAxC,YACE,kBAAM,aAAa,CAAC,SAYrB;QAXC,KAAI,CAAC,MAAM,GAAG,IAAI,mBAAS,CAAC,aAAa,CAAC,CAAC;QAC3C,KAAI,CAAC,OAAO,GAAG,IAAI,oBAAU,CAAC,aAAa,CAAC,CAAC;QAC7C,KAAI,CAAC,cAAc,GAAG,IAAI,2BAAiB,CAAC,aAAa,CAAC,CAAC;QAC3D,KAAI,CAAC,OAAO,GAAG,IAAI,oBAAU,CAAC,aAAa,CAAC,CAAC;QAC7C,KAAI,CAAC,SAAS,GAAG,IAAI,sBAAY,CAAC,aAAa,CAAC,CAAC;QACjD,KAAI,CAAC,SAAS,GAAG,IAAI,sBAAY,CAAC,aAAa,CAAC,CAAC;QACjD,KAAI,CAAC,cAAc,GAAG,IAAI,2BAAiB,CAAC,aAAa,CAAC,CAAC;QAC3D,KAAI,CAAC,UAAU,GAAG,IAAI,uBAAa,CAAC,aAAa,CAAC,CAAC;QACnD,KAAI,CAAC,YAAY,GAAG,IAAI,yBAAe,CAAC,aAAa,CAAC,CAAC;QACvD,KAAI,CAAC,MAAM,GAAG,IAAI,mBAAS,CAAC,aAAa,CAAC,CAAC;QAC3C,KAAI,CAAC,gBAAgB,GAAG,IAAI,6BAAmB,CAAC,aAAa,CAAC,CAAC;;IACjE,CAAC;IACH,kBAAC;AAAD,CAAC,AA3BD,CAAyC,iBAAO,GA2B/C"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export interface AdaptationSetListQueryParams {
|
|
2
|
+
/**
|
|
3
|
+
* Index of the first item to return, starting at 0. Default is 0
|
|
4
|
+
* @type {number}
|
|
5
|
+
* @memberof AdaptationSetListQueryParams
|
|
6
|
+
*/
|
|
7
|
+
offset?: number | undefined;
|
|
8
|
+
/**
|
|
9
|
+
* Maximum number of items to return. Default is 25, maximum is 100
|
|
10
|
+
* @type {number}
|
|
11
|
+
* @memberof AdaptationSetListQueryParams
|
|
12
|
+
*/
|
|
13
|
+
limit?: number | undefined;
|
|
14
|
+
}
|
|
15
|
+
export declare class AdaptationSetListQueryParamsBuilder {
|
|
16
|
+
private internalParams;
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @param offset Index of the first item to return, starting at 0. Default is 0
|
|
20
|
+
*/
|
|
21
|
+
offset(offset: number): this;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @param limit Maximum number of items to return. Default is 25, maximum is 100
|
|
25
|
+
*/
|
|
26
|
+
limit(limit: number): this;
|
|
27
|
+
buildQueryParams(): AdaptationSetListQueryParams;
|
|
28
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AdaptationSetListQueryParamsBuilder = void 0;
|
|
4
|
+
var AdaptationSetListQueryParamsBuilder = /** @class */ (function () {
|
|
5
|
+
function AdaptationSetListQueryParamsBuilder() {
|
|
6
|
+
this.internalParams = {};
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
*
|
|
10
|
+
* @param offset Index of the first item to return, starting at 0. Default is 0
|
|
11
|
+
*/
|
|
12
|
+
AdaptationSetListQueryParamsBuilder.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
|
+
AdaptationSetListQueryParamsBuilder.prototype.limit = function (limit) {
|
|
21
|
+
this.internalParams.limit = limit;
|
|
22
|
+
return this;
|
|
23
|
+
};
|
|
24
|
+
AdaptationSetListQueryParamsBuilder.prototype.buildQueryParams = function () {
|
|
25
|
+
return this.internalParams;
|
|
26
|
+
};
|
|
27
|
+
return AdaptationSetListQueryParamsBuilder;
|
|
28
|
+
}());
|
|
29
|
+
exports.AdaptationSetListQueryParamsBuilder = AdaptationSetListQueryParamsBuilder;
|
|
30
|
+
//# sourceMappingURL=AdaptationSetListQueryParams.js.map
|
package/dist/encoding/manifests/dash/periods/adaptationsets/AdaptationSetListQueryParams.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AdaptationSetListQueryParams.js","sourceRoot":"","sources":["../../../../../../src/encoding/manifests/dash/periods/adaptationsets/AdaptationSetListQueryParams.ts"],"names":[],"mappings":";;;AAkBA;IAAA;QACY,mBAAc,GAAiC,EAAE,CAAC;IAuB9D,CAAC;IArBG;;;OAGG;IACI,oDAAM,GAAb,UAAc,MAAc;QACxB,IAAI,CAAC,cAAc,CAAC,MAAM,GAAG,MAAM,CAAC;QACpC,OAAO,IAAI,CAAC;IAChB,CAAC;IAED;;;OAGG;IACI,mDAAK,GAAZ,UAAa,KAAa;QACtB,IAAI,CAAC,cAAc,CAAC,KAAK,GAAG,KAAK,CAAC;QAClC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,8DAAgB,GAAvB;QACI,OAAO,IAAI,CAAC,cAAc,CAAC;IAC/B,CAAC;IACL,0CAAC;AAAD,CAAC,AAxBD,IAwBC;AAxBY,kFAAmC"}
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
import { BaseAPI } from '../../../../../common/BaseAPI';
|
|
2
2
|
import Configuration from '../../../../../common/Configuration';
|
|
3
|
+
import TypeApi from './type/TypeApi';
|
|
3
4
|
import AudioApi from './audio/AudioApi';
|
|
4
5
|
import VideoApi from './video/VideoApi';
|
|
5
6
|
import SubtitleApi from './subtitle/SubtitleApi';
|
|
6
7
|
import ImageApi from './image/ImageApi';
|
|
7
8
|
import RepresentationsApi from './representations/RepresentationsApi';
|
|
8
9
|
import ContentprotectionApi from './contentprotection/ContentprotectionApi';
|
|
10
|
+
import AdaptationSet from '../../../../../models/AdaptationSet';
|
|
11
|
+
import PaginationResponse from '../../../../../models/PaginationResponse';
|
|
12
|
+
import { AdaptationSetListQueryParams, AdaptationSetListQueryParamsBuilder } from './AdaptationSetListQueryParams';
|
|
9
13
|
/**
|
|
10
14
|
* AdaptationsetsApi - object-oriented interface
|
|
11
15
|
* @export
|
|
@@ -13,6 +17,7 @@ import ContentprotectionApi from './contentprotection/ContentprotectionApi';
|
|
|
13
17
|
* @extends {BaseAPI}
|
|
14
18
|
*/
|
|
15
19
|
export default class AdaptationsetsApi extends BaseAPI {
|
|
20
|
+
type: TypeApi;
|
|
16
21
|
audio: AudioApi;
|
|
17
22
|
video: VideoApi;
|
|
18
23
|
subtitle: SubtitleApi;
|
|
@@ -20,4 +25,13 @@ export default class AdaptationsetsApi extends BaseAPI {
|
|
|
20
25
|
representations: RepresentationsApi;
|
|
21
26
|
contentprotection: ContentprotectionApi;
|
|
22
27
|
constructor(configuration: Configuration);
|
|
28
|
+
/**
|
|
29
|
+
* @summary List all AdaptationSets
|
|
30
|
+
* @param {string} manifestId Id of the manifest
|
|
31
|
+
* @param {string} periodId Id of the adaptation set
|
|
32
|
+
* @param {*} [queryParameters] query parameters for filtering, sorting and pagination
|
|
33
|
+
* @throws {BitmovinError}
|
|
34
|
+
* @memberof AdaptationsetsApi
|
|
35
|
+
*/
|
|
36
|
+
list(manifestId: string, periodId: string, queryParameters?: AdaptationSetListQueryParams | ((q: AdaptationSetListQueryParamsBuilder) => AdaptationSetListQueryParamsBuilder)): Promise<PaginationResponse<AdaptationSet>>;
|
|
23
37
|
}
|
|
@@ -14,12 +14,16 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
14
14
|
})();
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
var BaseAPI_1 = require("../../../../../common/BaseAPI");
|
|
17
|
+
var TypeApi_1 = require("./type/TypeApi");
|
|
17
18
|
var AudioApi_1 = require("./audio/AudioApi");
|
|
18
19
|
var VideoApi_1 = require("./video/VideoApi");
|
|
19
20
|
var SubtitleApi_1 = require("./subtitle/SubtitleApi");
|
|
20
21
|
var ImageApi_1 = require("./image/ImageApi");
|
|
21
22
|
var RepresentationsApi_1 = require("./representations/RepresentationsApi");
|
|
22
23
|
var ContentprotectionApi_1 = require("./contentprotection/ContentprotectionApi");
|
|
24
|
+
var AdaptationSet_1 = require("../../../../../models/AdaptationSet");
|
|
25
|
+
var PaginationResponse_1 = require("../../../../../models/PaginationResponse");
|
|
26
|
+
var AdaptationSetListQueryParams_1 = require("./AdaptationSetListQueryParams");
|
|
23
27
|
/**
|
|
24
28
|
* AdaptationsetsApi - object-oriented interface
|
|
25
29
|
* @export
|
|
@@ -30,6 +34,7 @@ var AdaptationsetsApi = /** @class */ (function (_super) {
|
|
|
30
34
|
__extends(AdaptationsetsApi, _super);
|
|
31
35
|
function AdaptationsetsApi(configuration) {
|
|
32
36
|
var _this = _super.call(this, configuration) || this;
|
|
37
|
+
_this.type = new TypeApi_1.default(configuration);
|
|
33
38
|
_this.audio = new AudioApi_1.default(configuration);
|
|
34
39
|
_this.video = new VideoApi_1.default(configuration);
|
|
35
40
|
_this.subtitle = new SubtitleApi_1.default(configuration);
|
|
@@ -38,6 +43,30 @@ var AdaptationsetsApi = /** @class */ (function (_super) {
|
|
|
38
43
|
_this.contentprotection = new ContentprotectionApi_1.default(configuration);
|
|
39
44
|
return _this;
|
|
40
45
|
}
|
|
46
|
+
/**
|
|
47
|
+
* @summary List all AdaptationSets
|
|
48
|
+
* @param {string} manifestId Id of the manifest
|
|
49
|
+
* @param {string} periodId Id of the adaptation set
|
|
50
|
+
* @param {*} [queryParameters] query parameters for filtering, sorting and pagination
|
|
51
|
+
* @throws {BitmovinError}
|
|
52
|
+
* @memberof AdaptationsetsApi
|
|
53
|
+
*/
|
|
54
|
+
AdaptationsetsApi.prototype.list = function (manifestId, periodId, queryParameters) {
|
|
55
|
+
var pathParamMap = {
|
|
56
|
+
manifest_id: manifestId,
|
|
57
|
+
period_id: periodId
|
|
58
|
+
};
|
|
59
|
+
var queryParams = {};
|
|
60
|
+
if (typeof queryParameters === 'function') {
|
|
61
|
+
queryParams = queryParameters(new AdaptationSetListQueryParams_1.AdaptationSetListQueryParamsBuilder()).buildQueryParams();
|
|
62
|
+
}
|
|
63
|
+
else if (queryParameters) {
|
|
64
|
+
queryParams = queryParameters;
|
|
65
|
+
}
|
|
66
|
+
return this.restClient.get('/encoding/manifests/dash/{manifest_id}/periods/{period_id}/adaptationsets', pathParamMap, queryParams).then(function (response) {
|
|
67
|
+
return new PaginationResponse_1.default(response, AdaptationSet_1.default);
|
|
68
|
+
});
|
|
69
|
+
};
|
|
41
70
|
return AdaptationsetsApi;
|
|
42
71
|
}(BaseAPI_1.BaseAPI));
|
|
43
72
|
exports.default = AdaptationsetsApi;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AdaptationsetsApi.js","sourceRoot":"","sources":["../../../../../../src/encoding/manifests/dash/periods/adaptationsets/AdaptationsetsApi.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,yDAAsD;AAGtD,6CAAwC;AACxC,6CAAwC;AACxC,sDAAiD;AACjD,6CAAwC;AACxC,2EAAsE;AACtE,iFAA4E;
|
|
1
|
+
{"version":3,"file":"AdaptationsetsApi.js","sourceRoot":"","sources":["../../../../../../src/encoding/manifests/dash/periods/adaptationsets/AdaptationsetsApi.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,yDAAsD;AAGtD,0CAAqC;AACrC,6CAAwC;AACxC,6CAAwC;AACxC,sDAAiD;AACjD,6CAAwC;AACxC,2EAAsE;AACtE,iFAA4E;AAC5E,qEAAgE;AAChE,+EAA0E;AAC1E,+EAAiH;AAEjH;;;;;GAKG;AACH;IAA+C,qCAAO;IASpD,2BAAY,aAA4B;QAAxC,YACE,kBAAM,aAAa,CAAC,SAQrB;QAPC,KAAI,CAAC,IAAI,GAAG,IAAI,iBAAO,CAAC,aAAa,CAAC,CAAC;QACvC,KAAI,CAAC,KAAK,GAAG,IAAI,kBAAQ,CAAC,aAAa,CAAC,CAAC;QACzC,KAAI,CAAC,KAAK,GAAG,IAAI,kBAAQ,CAAC,aAAa,CAAC,CAAC;QACzC,KAAI,CAAC,QAAQ,GAAG,IAAI,qBAAW,CAAC,aAAa,CAAC,CAAC;QAC/C,KAAI,CAAC,KAAK,GAAG,IAAI,kBAAQ,CAAC,aAAa,CAAC,CAAC;QACzC,KAAI,CAAC,eAAe,GAAG,IAAI,4BAAkB,CAAC,aAAa,CAAC,CAAC;QAC7D,KAAI,CAAC,iBAAiB,GAAG,IAAI,8BAAoB,CAAC,aAAa,CAAC,CAAC;;IACnE,CAAC;IAED;;;;;;;OAOG;IACI,gCAAI,GAAX,UAAY,UAAkB,EAAE,QAAgB,EAAE,eAAkI;QAClL,IAAM,YAAY,GAAG;YACnB,WAAW,EAAE,UAAU;YACvB,SAAS,EAAE,QAAQ;SACpB,CAAC;QACF,IAAI,WAAW,GAAiC,EAAE,CAAC;QACnD,IAAI,OAAO,eAAe,KAAK,UAAU,EAAE;YACzC,WAAW,GAAG,eAAe,CAAC,IAAI,kEAAmC,EAAE,CAAC,CAAC,gBAAgB,EAAE,CAAC;SAC7F;aAAM,IAAI,eAAe,EAAE;YAC1B,WAAW,GAAG,eAAe,CAAC;SAC/B;QACD,OAAO,IAAI,CAAC,UAAU,CAAC,GAAG,CAAoC,2EAA2E,EAAE,YAAY,EAAE,WAAW,CAAC,CAAC,IAAI,CAAC,UAAC,QAAQ;YAClL,OAAO,IAAI,4BAAkB,CAAgB,QAAQ,EAAE,uBAAa,CAAC,CAAC;QACxE,CAAC,CAAC,CAAC;IACL,CAAC;IACH,wBAAC;AAAD,CAAC,AA3CD,CAA+C,iBAAO,GA2CrD"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { BaseAPI } from '../../../../../../common/BaseAPI';
|
|
2
|
+
import Configuration from '../../../../../../common/Configuration';
|
|
3
|
+
import AdaptationSetTypeResponse from '../../../../../../models/AdaptationSetTypeResponse';
|
|
4
|
+
/**
|
|
5
|
+
* TypeApi - object-oriented interface
|
|
6
|
+
* @export
|
|
7
|
+
* @class TypeApi
|
|
8
|
+
* @extends {BaseAPI}
|
|
9
|
+
*/
|
|
10
|
+
export default class TypeApi extends BaseAPI {
|
|
11
|
+
constructor(configuration: Configuration);
|
|
12
|
+
/**
|
|
13
|
+
* @summary Get Input Type
|
|
14
|
+
* @param {string} manifestId Id of the manifest
|
|
15
|
+
* @param {string} periodId Id of the period
|
|
16
|
+
* @param {string} adaptationsetId Id of the input
|
|
17
|
+
* @throws {BitmovinError}
|
|
18
|
+
* @memberof TypeApi
|
|
19
|
+
*/
|
|
20
|
+
get(manifestId: string, periodId: string, adaptationsetId: string): Promise<AdaptationSetTypeResponse>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
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
|
+
var BaseAPI_1 = require("../../../../../../common/BaseAPI");
|
|
17
|
+
var Mapper_1 = require("../../../../../../common/Mapper");
|
|
18
|
+
var AdaptationSetTypeResponse_1 = require("../../../../../../models/AdaptationSetTypeResponse");
|
|
19
|
+
/**
|
|
20
|
+
* TypeApi - object-oriented interface
|
|
21
|
+
* @export
|
|
22
|
+
* @class TypeApi
|
|
23
|
+
* @extends {BaseAPI}
|
|
24
|
+
*/
|
|
25
|
+
var TypeApi = /** @class */ (function (_super) {
|
|
26
|
+
__extends(TypeApi, _super);
|
|
27
|
+
function TypeApi(configuration) {
|
|
28
|
+
return _super.call(this, configuration) || this;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* @summary Get Input Type
|
|
32
|
+
* @param {string} manifestId Id of the manifest
|
|
33
|
+
* @param {string} periodId Id of the period
|
|
34
|
+
* @param {string} adaptationsetId Id of the input
|
|
35
|
+
* @throws {BitmovinError}
|
|
36
|
+
* @memberof TypeApi
|
|
37
|
+
*/
|
|
38
|
+
TypeApi.prototype.get = function (manifestId, periodId, adaptationsetId) {
|
|
39
|
+
var pathParamMap = {
|
|
40
|
+
manifest_id: manifestId,
|
|
41
|
+
period_id: periodId,
|
|
42
|
+
adaptationset_id: adaptationsetId
|
|
43
|
+
};
|
|
44
|
+
return this.restClient.get('/encoding/manifests/dash/{manifest_id}/periods/{period_id}/adaptationsets/{adaptationset_id}/type', pathParamMap).then(function (response) {
|
|
45
|
+
return Mapper_1.map(response, AdaptationSetTypeResponse_1.default);
|
|
46
|
+
});
|
|
47
|
+
};
|
|
48
|
+
return TypeApi;
|
|
49
|
+
}(BaseAPI_1.BaseAPI));
|
|
50
|
+
exports.default = TypeApi;
|
|
51
|
+
//# sourceMappingURL=TypeApi.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TypeApi.js","sourceRoot":"","sources":["../../../../../../../src/encoding/manifests/dash/periods/adaptationsets/type/TypeApi.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,4DAAyD;AAEzD,0DAA8D;AAC9D,gGAA2F;AAE3F;;;;;GAKG;AACH;IAAqC,2BAAO;IAE1C,iBAAY,aAA4B;eACtC,kBAAM,aAAa,CAAC;IACtB,CAAC;IAED;;;;;;;OAOG;IACI,qBAAG,GAAV,UAAW,UAAkB,EAAE,QAAgB,EAAE,eAAuB;QACtE,IAAM,YAAY,GAAG;YACnB,WAAW,EAAE,UAAU;YACvB,SAAS,EAAE,QAAQ;YACnB,gBAAgB,EAAE,eAAe;SAClC,CAAC;QACF,OAAO,IAAI,CAAC,UAAU,CAAC,GAAG,CAA4B,mGAAmG,EAAE,YAAY,CAAC,CAAC,IAAI,CAAC,UAAC,QAAQ;YACrL,OAAO,YAAG,CAAC,QAAQ,EAAE,mCAAyB,CAAC,CAAC;QAClD,CAAC,CAAC,CAAC;IACL,CAAC;IACH,cAAC;AAAD,CAAC,AAxBD,CAAqC,iBAAO,GAwB3C"}
|
|
@@ -13,9 +13,9 @@ import { CustomTagListQueryParams, CustomTagListQueryParamsBuilder } from './Cus
|
|
|
13
13
|
export default class CustomTagsApi extends BaseAPI {
|
|
14
14
|
constructor(configuration: Configuration);
|
|
15
15
|
/**
|
|
16
|
-
* @summary Add Custom Tag to Audio Media
|
|
16
|
+
* @summary Add Custom Tag to a Audio Media or a Subtitle media
|
|
17
17
|
* @param {string} manifestId Id of the hls manifest.
|
|
18
|
-
* @param {string} mediaId Id of the
|
|
18
|
+
* @param {string} mediaId Id of the media.
|
|
19
19
|
* @param {CustomTag} customTag The Custom Tag to be added
|
|
20
20
|
* @throws {BitmovinError}
|
|
21
21
|
* @memberof CustomTagsApi
|
|
@@ -24,7 +24,7 @@ export default class CustomTagsApi extends BaseAPI {
|
|
|
24
24
|
/**
|
|
25
25
|
* @summary Delete Custom Tag
|
|
26
26
|
* @param {string} manifestId Id of the hls manifest.
|
|
27
|
-
* @param {string} mediaId Id of the
|
|
27
|
+
* @param {string} mediaId Id of the media.
|
|
28
28
|
* @param {string} customTagId Id of the custom tag.
|
|
29
29
|
* @throws {BitmovinError}
|
|
30
30
|
* @memberof CustomTagsApi
|
|
@@ -33,16 +33,16 @@ export default class CustomTagsApi extends BaseAPI {
|
|
|
33
33
|
/**
|
|
34
34
|
* @summary Custom Tag Details
|
|
35
35
|
* @param {string} manifestId Id of the hls manifest.
|
|
36
|
-
* @param {string} mediaId Id of the
|
|
36
|
+
* @param {string} mediaId Id of the media
|
|
37
37
|
* @param {string} customTagId Id of the custom tag.
|
|
38
38
|
* @throws {BitmovinError}
|
|
39
39
|
* @memberof CustomTagsApi
|
|
40
40
|
*/
|
|
41
41
|
get(manifestId: string, mediaId: string, customTagId: string): Promise<CustomTag>;
|
|
42
42
|
/**
|
|
43
|
-
* @summary List all Custom Tags of a Audio media
|
|
43
|
+
* @summary List all Custom Tags of a Audio media or a Subtitle media
|
|
44
44
|
* @param {string} manifestId Id of the hls manifest.
|
|
45
|
-
* @param {string} mediaId Id of the
|
|
45
|
+
* @param {string} mediaId Id of the media.
|
|
46
46
|
* @param {*} [queryParameters] query parameters for filtering, sorting and pagination
|
|
47
47
|
* @throws {BitmovinError}
|
|
48
48
|
* @memberof CustomTagsApi
|
|
@@ -31,9 +31,9 @@ var CustomTagsApi = /** @class */ (function (_super) {
|
|
|
31
31
|
return _super.call(this, configuration) || this;
|
|
32
32
|
}
|
|
33
33
|
/**
|
|
34
|
-
* @summary Add Custom Tag to Audio Media
|
|
34
|
+
* @summary Add Custom Tag to a Audio Media or a Subtitle media
|
|
35
35
|
* @param {string} manifestId Id of the hls manifest.
|
|
36
|
-
* @param {string} mediaId Id of the
|
|
36
|
+
* @param {string} mediaId Id of the media.
|
|
37
37
|
* @param {CustomTag} customTag The Custom Tag to be added
|
|
38
38
|
* @throws {BitmovinError}
|
|
39
39
|
* @memberof CustomTagsApi
|
|
@@ -50,7 +50,7 @@ var CustomTagsApi = /** @class */ (function (_super) {
|
|
|
50
50
|
/**
|
|
51
51
|
* @summary Delete Custom Tag
|
|
52
52
|
* @param {string} manifestId Id of the hls manifest.
|
|
53
|
-
* @param {string} mediaId Id of the
|
|
53
|
+
* @param {string} mediaId Id of the media.
|
|
54
54
|
* @param {string} customTagId Id of the custom tag.
|
|
55
55
|
* @throws {BitmovinError}
|
|
56
56
|
* @memberof CustomTagsApi
|
|
@@ -68,7 +68,7 @@ var CustomTagsApi = /** @class */ (function (_super) {
|
|
|
68
68
|
/**
|
|
69
69
|
* @summary Custom Tag Details
|
|
70
70
|
* @param {string} manifestId Id of the hls manifest.
|
|
71
|
-
* @param {string} mediaId Id of the
|
|
71
|
+
* @param {string} mediaId Id of the media
|
|
72
72
|
* @param {string} customTagId Id of the custom tag.
|
|
73
73
|
* @throws {BitmovinError}
|
|
74
74
|
* @memberof CustomTagsApi
|
|
@@ -84,9 +84,9 @@ var CustomTagsApi = /** @class */ (function (_super) {
|
|
|
84
84
|
});
|
|
85
85
|
};
|
|
86
86
|
/**
|
|
87
|
-
* @summary List all Custom Tags of a Audio media
|
|
87
|
+
* @summary List all Custom Tags of a Audio media or a Subtitle media
|
|
88
88
|
* @param {string} manifestId Id of the hls manifest.
|
|
89
|
-
* @param {string} mediaId Id of the
|
|
89
|
+
* @param {string} mediaId Id of the media.
|
|
90
90
|
* @param {*} [queryParameters] query parameters for filtering, sorting and pagination
|
|
91
91
|
* @throws {BitmovinError}
|
|
92
92
|
* @memberof CustomTagsApi
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { BaseAPI } from '../../common/BaseAPI';
|
|
2
|
+
import Configuration from '../../common/Configuration';
|
|
3
|
+
import JobsApi from './jobs/JobsApi';
|
|
4
|
+
/**
|
|
5
|
+
* SimpleApi - object-oriented interface
|
|
6
|
+
* @export
|
|
7
|
+
* @class SimpleApi
|
|
8
|
+
* @extends {BaseAPI}
|
|
9
|
+
*/
|
|
10
|
+
export default class SimpleApi extends BaseAPI {
|
|
11
|
+
jobs: JobsApi;
|
|
12
|
+
constructor(configuration: Configuration);
|
|
13
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
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
|
+
var BaseAPI_1 = require("../../common/BaseAPI");
|
|
17
|
+
var JobsApi_1 = require("./jobs/JobsApi");
|
|
18
|
+
/**
|
|
19
|
+
* SimpleApi - object-oriented interface
|
|
20
|
+
* @export
|
|
21
|
+
* @class SimpleApi
|
|
22
|
+
* @extends {BaseAPI}
|
|
23
|
+
*/
|
|
24
|
+
var SimpleApi = /** @class */ (function (_super) {
|
|
25
|
+
__extends(SimpleApi, _super);
|
|
26
|
+
function SimpleApi(configuration) {
|
|
27
|
+
var _this = _super.call(this, configuration) || this;
|
|
28
|
+
_this.jobs = new JobsApi_1.default(configuration);
|
|
29
|
+
return _this;
|
|
30
|
+
}
|
|
31
|
+
return SimpleApi;
|
|
32
|
+
}(BaseAPI_1.BaseAPI));
|
|
33
|
+
exports.default = SimpleApi;
|
|
34
|
+
//# sourceMappingURL=SimpleApi.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SimpleApi.js","sourceRoot":"","sources":["../../../src/encoding/simple/SimpleApi.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,gDAA6C;AAG7C,0CAAqC;AAErC;;;;;GAKG;AACH;IAAuC,6BAAO;IAG5C,mBAAY,aAA4B;QAAxC,YACE,kBAAM,aAAa,CAAC,SAErB;QADC,KAAI,CAAC,IAAI,GAAG,IAAI,iBAAO,CAAC,aAAa,CAAC,CAAC;;IACzC,CAAC;IACH,gBAAC;AAAD,CAAC,AAPD,CAAuC,iBAAO,GAO7C"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { BaseAPI } from '../../../common/BaseAPI';
|
|
2
|
+
import Configuration from '../../../common/Configuration';
|
|
3
|
+
import VodApi from './vod/VodApi';
|
|
4
|
+
/**
|
|
5
|
+
* JobsApi - object-oriented interface
|
|
6
|
+
* @export
|
|
7
|
+
* @class JobsApi
|
|
8
|
+
* @extends {BaseAPI}
|
|
9
|
+
*/
|
|
10
|
+
export default class JobsApi extends BaseAPI {
|
|
11
|
+
vod: VodApi;
|
|
12
|
+
constructor(configuration: Configuration);
|
|
13
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
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
|
+
var BaseAPI_1 = require("../../../common/BaseAPI");
|
|
17
|
+
var VodApi_1 = require("./vod/VodApi");
|
|
18
|
+
/**
|
|
19
|
+
* JobsApi - object-oriented interface
|
|
20
|
+
* @export
|
|
21
|
+
* @class JobsApi
|
|
22
|
+
* @extends {BaseAPI}
|
|
23
|
+
*/
|
|
24
|
+
var JobsApi = /** @class */ (function (_super) {
|
|
25
|
+
__extends(JobsApi, _super);
|
|
26
|
+
function JobsApi(configuration) {
|
|
27
|
+
var _this = _super.call(this, configuration) || this;
|
|
28
|
+
_this.vod = new VodApi_1.default(configuration);
|
|
29
|
+
return _this;
|
|
30
|
+
}
|
|
31
|
+
return JobsApi;
|
|
32
|
+
}(BaseAPI_1.BaseAPI));
|
|
33
|
+
exports.default = JobsApi;
|
|
34
|
+
//# sourceMappingURL=JobsApi.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"JobsApi.js","sourceRoot":"","sources":["../../../../src/encoding/simple/jobs/JobsApi.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,mDAAgD;AAGhD,uCAAkC;AAElC;;;;;GAKG;AACH;IAAqC,2BAAO;IAG1C,iBAAY,aAA4B;QAAxC,YACE,kBAAM,aAAa,CAAC,SAErB;QADC,KAAI,CAAC,GAAG,GAAG,IAAI,gBAAM,CAAC,aAAa,CAAC,CAAC;;IACvC,CAAC;IACH,cAAC;AAAD,CAAC,AAPD,CAAqC,iBAAO,GAO3C"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
export interface SimpleEncodingVodJobResponseListQueryParams {
|
|
2
|
+
/**
|
|
3
|
+
* Index of the first item to return, starting at 0. Default is 0
|
|
4
|
+
* @type {number}
|
|
5
|
+
* @memberof SimpleEncodingVodJobResponseListQueryParams
|
|
6
|
+
*/
|
|
7
|
+
offset?: number | undefined;
|
|
8
|
+
/**
|
|
9
|
+
* Maximum number of items to return. Default is 25, maximum is 100
|
|
10
|
+
* @type {number}
|
|
11
|
+
* @memberof SimpleEncodingVodJobResponseListQueryParams
|
|
12
|
+
*/
|
|
13
|
+
limit?: number | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* Order list result according to a Simple Encoding VOD Job attribute. The fields that can be used for sorting are: + `createdAt`
|
|
16
|
+
* @type {string}
|
|
17
|
+
* @memberof SimpleEncodingVodJobResponseListQueryParams
|
|
18
|
+
*/
|
|
19
|
+
sort?: string | undefined;
|
|
20
|
+
/**
|
|
21
|
+
* Filter Simple Encoding VOD Jobs to only show the ones with the status specified.
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof SimpleEncodingVodJobResponseListQueryParams
|
|
24
|
+
*/
|
|
25
|
+
status?: string | undefined;
|
|
26
|
+
}
|
|
27
|
+
export declare class SimpleEncodingVodJobResponseListQueryParamsBuilder {
|
|
28
|
+
private internalParams;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @param offset Index of the first item to return, starting at 0. Default is 0
|
|
32
|
+
*/
|
|
33
|
+
offset(offset: number): this;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @param limit Maximum number of items to return. Default is 25, maximum is 100
|
|
37
|
+
*/
|
|
38
|
+
limit(limit: number): this;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @param sort Order list result according to a Simple Encoding VOD Job attribute. The fields that can be used for sorting are: + `createdAt`
|
|
42
|
+
*/
|
|
43
|
+
sort(sort: string): this;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @param status Filter Simple Encoding VOD Jobs to only show the ones with the status specified.
|
|
47
|
+
*/
|
|
48
|
+
status(status: string): this;
|
|
49
|
+
buildQueryParams(): SimpleEncodingVodJobResponseListQueryParams;
|
|
50
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SimpleEncodingVodJobResponseListQueryParamsBuilder = void 0;
|
|
4
|
+
var SimpleEncodingVodJobResponseListQueryParamsBuilder = /** @class */ (function () {
|
|
5
|
+
function SimpleEncodingVodJobResponseListQueryParamsBuilder() {
|
|
6
|
+
this.internalParams = {};
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
*
|
|
10
|
+
* @param offset Index of the first item to return, starting at 0. Default is 0
|
|
11
|
+
*/
|
|
12
|
+
SimpleEncodingVodJobResponseListQueryParamsBuilder.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
|
+
SimpleEncodingVodJobResponseListQueryParamsBuilder.prototype.limit = function (limit) {
|
|
21
|
+
this.internalParams.limit = limit;
|
|
22
|
+
return this;
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @param sort Order list result according to a Simple Encoding VOD Job attribute. The fields that can be used for sorting are: + `createdAt`
|
|
27
|
+
*/
|
|
28
|
+
SimpleEncodingVodJobResponseListQueryParamsBuilder.prototype.sort = function (sort) {
|
|
29
|
+
this.internalParams.sort = sort;
|
|
30
|
+
return this;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @param status Filter Simple Encoding VOD Jobs to only show the ones with the status specified.
|
|
35
|
+
*/
|
|
36
|
+
SimpleEncodingVodJobResponseListQueryParamsBuilder.prototype.status = function (status) {
|
|
37
|
+
this.internalParams.status = status;
|
|
38
|
+
return this;
|
|
39
|
+
};
|
|
40
|
+
SimpleEncodingVodJobResponseListQueryParamsBuilder.prototype.buildQueryParams = function () {
|
|
41
|
+
return this.internalParams;
|
|
42
|
+
};
|
|
43
|
+
return SimpleEncodingVodJobResponseListQueryParamsBuilder;
|
|
44
|
+
}());
|
|
45
|
+
exports.SimpleEncodingVodJobResponseListQueryParamsBuilder = SimpleEncodingVodJobResponseListQueryParamsBuilder;
|
|
46
|
+
//# sourceMappingURL=SimpleEncodingVodJobResponseListQueryParams.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SimpleEncodingVodJobResponseListQueryParams.js","sourceRoot":"","sources":["../../../../../src/encoding/simple/jobs/vod/SimpleEncodingVodJobResponseListQueryParams.ts"],"names":[],"mappings":";;;AAgCA;IAAA;QACY,mBAAc,GAAgD,EAAE,CAAC;IAyC7E,CAAC;IAvCG;;;OAGG;IACI,mEAAM,GAAb,UAAc,MAAc;QACxB,IAAI,CAAC,cAAc,CAAC,MAAM,GAAG,MAAM,CAAC;QACpC,OAAO,IAAI,CAAC;IAChB,CAAC;IAED;;;OAGG;IACI,kEAAK,GAAZ,UAAa,KAAa;QACtB,IAAI,CAAC,cAAc,CAAC,KAAK,GAAG,KAAK,CAAC;QAClC,OAAO,IAAI,CAAC;IAChB,CAAC;IAED;;;OAGG;IACI,iEAAI,GAAX,UAAY,IAAY;QACpB,IAAI,CAAC,cAAc,CAAC,IAAI,GAAG,IAAI,CAAC;QAChC,OAAO,IAAI,CAAC;IAChB,CAAC;IAED;;;OAGG;IACI,mEAAM,GAAb,UAAc,MAAc;QACxB,IAAI,CAAC,cAAc,CAAC,MAAM,GAAG,MAAM,CAAC;QACpC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,6EAAgB,GAAvB;QACI,OAAO,IAAI,CAAC,cAAc,CAAC;IAC/B,CAAC;IACL,yDAAC;AAAD,CAAC,AA1CD,IA0CC;AA1CY,gHAAkD"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { BaseAPI } from '../../../../common/BaseAPI';
|
|
2
|
+
import Configuration from '../../../../common/Configuration';
|
|
3
|
+
import SimpleEncodingVodJobRequest from '../../../../models/SimpleEncodingVodJobRequest';
|
|
4
|
+
import SimpleEncodingVodJobResponse from '../../../../models/SimpleEncodingVodJobResponse';
|
|
5
|
+
import PaginationResponse from '../../../../models/PaginationResponse';
|
|
6
|
+
import { SimpleEncodingVodJobResponseListQueryParams, SimpleEncodingVodJobResponseListQueryParamsBuilder } from './SimpleEncodingVodJobResponseListQueryParams';
|
|
7
|
+
/**
|
|
8
|
+
* VodApi - object-oriented interface
|
|
9
|
+
* @export
|
|
10
|
+
* @class VodApi
|
|
11
|
+
* @extends {BaseAPI}
|
|
12
|
+
*/
|
|
13
|
+
export default class VodApi extends BaseAPI {
|
|
14
|
+
constructor(configuration: Configuration);
|
|
15
|
+
/**
|
|
16
|
+
* @summary Create a Simple Encoding VOD Job
|
|
17
|
+
* @param {SimpleEncodingVodJobRequest} simpleEncodingVodJobRequest The Simple Encoding VOD Job to be created
|
|
18
|
+
* @throws {BitmovinError}
|
|
19
|
+
* @memberof VodApi
|
|
20
|
+
*/
|
|
21
|
+
create(simpleEncodingVodJobRequest?: SimpleEncodingVodJobRequest): Promise<SimpleEncodingVodJobResponse>;
|
|
22
|
+
/**
|
|
23
|
+
* @summary Simple Encoding VOD Job details
|
|
24
|
+
* @param {string} simpleEncodingJobId Id of the Simple Encoding VOD Job
|
|
25
|
+
* @throws {BitmovinError}
|
|
26
|
+
* @memberof VodApi
|
|
27
|
+
*/
|
|
28
|
+
get(simpleEncodingJobId: string): Promise<SimpleEncodingVodJobResponse>;
|
|
29
|
+
/**
|
|
30
|
+
* @summary List all Simple Encoding VOD Jobs
|
|
31
|
+
* @param {*} [queryParameters] query parameters for filtering, sorting and pagination
|
|
32
|
+
* @throws {BitmovinError}
|
|
33
|
+
* @memberof VodApi
|
|
34
|
+
*/
|
|
35
|
+
list(queryParameters?: SimpleEncodingVodJobResponseListQueryParams | ((q: SimpleEncodingVodJobResponseListQueryParamsBuilder) => SimpleEncodingVodJobResponseListQueryParamsBuilder)): Promise<PaginationResponse<SimpleEncodingVodJobResponse>>;
|
|
36
|
+
}
|