@bitmovin/api-sdk 1.207.0 → 1.209.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 +406 -2
- package/dist/bitmovin-api-sdk.browser.min.js +1 -1
- 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/encodings/streams/captions/cea/CeaApi.d.ts +2 -0
- package/dist/encoding/encodings/streams/captions/cea/CeaApi.js +2 -0
- package/dist/encoding/encodings/streams/captions/cea/srt/SrtApi.d.ts +53 -0
- package/dist/encoding/encodings/streams/captions/cea/srt/SrtApi.js +117 -0
- package/dist/encoding/encodings/streams/captions/cea/srt/SrtToCea608708CaptionListQueryParams.d.ts +28 -0
- package/dist/encoding/encodings/streams/captions/cea/srt/SrtToCea608708CaptionListQueryParams.js +29 -0
- package/dist/encoding/encodings/streams/captions/cea/srt/customdata/CustomdataApi.d.ts +21 -0
- package/dist/encoding/encodings/streams/captions/cea/srt/customdata/CustomdataApi.js +52 -0
- package/dist/encoding/templates/TemplatesApi.d.ts +19 -0
- package/dist/encoding/templates/TemplatesApi.js +45 -0
- package/dist/models/DolbyVisionProfile.d.ts +0 -1
- package/dist/models/DolbyVisionProfile.js +0 -1
- package/dist/models/EncodingTemplateRequest.d.ts +9 -0
- package/dist/models/EncodingTemplateRequest.js +18 -0
- package/dist/models/EncodingTemplateStartResponse.d.ts +14 -0
- package/dist/models/EncodingTemplateStartResponse.js +19 -0
- package/dist/models/SrtToCea608708Caption.d.ts +30 -0
- package/dist/models/SrtToCea608708Caption.js +41 -0
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -6091,7 +6091,7 @@ var HeaderHandler = /** @class */ (function (_super) {
|
|
|
6091
6091
|
var headers = {
|
|
6092
6092
|
'X-Api-Key': apiKey,
|
|
6093
6093
|
'X-Api-Client': 'bitmovin-api-sdk-javascript',
|
|
6094
|
-
'X-Api-Client-Version': '1.
|
|
6094
|
+
'X-Api-Client-Version': '1.209.0',
|
|
6095
6095
|
'Content-Type': 'application/json'
|
|
6096
6096
|
};
|
|
6097
6097
|
if (tenantOrgId) {
|
|
@@ -6281,6 +6281,7 @@ var StatisticsApi_1 = __webpack_require__(/*! ./statistics/StatisticsApi */ "./e
|
|
|
6281
6281
|
var WatchFoldersApi_1 = __webpack_require__(/*! ./watchFolders/WatchFoldersApi */ "./encoding/watchFolders/WatchFoldersApi.ts");
|
|
6282
6282
|
var SimpleApi_1 = __webpack_require__(/*! ./simple/SimpleApi */ "./encoding/simple/SimpleApi.ts");
|
|
6283
6283
|
var ErrorDefinitionsApi_1 = __webpack_require__(/*! ./errorDefinitions/ErrorDefinitionsApi */ "./encoding/errorDefinitions/ErrorDefinitionsApi.ts");
|
|
6284
|
+
var TemplatesApi_1 = __webpack_require__(/*! ./templates/TemplatesApi */ "./encoding/templates/TemplatesApi.ts");
|
|
6284
6285
|
/**
|
|
6285
6286
|
* EncodingApi - object-oriented interface
|
|
6286
6287
|
* @export
|
|
@@ -6303,6 +6304,7 @@ var EncodingApi = /** @class */ (function (_super) {
|
|
|
6303
6304
|
_this.watchFolders = new WatchFoldersApi_1.default(configuration);
|
|
6304
6305
|
_this.simple = new SimpleApi_1.default(configuration);
|
|
6305
6306
|
_this.errorDefinitions = new ErrorDefinitionsApi_1.default(configuration);
|
|
6307
|
+
_this.templates = new TemplatesApi_1.default(configuration);
|
|
6306
6308
|
return _this;
|
|
6307
6309
|
}
|
|
6308
6310
|
return EncodingApi;
|
|
@@ -29496,6 +29498,7 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
29496
29498
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
29497
29499
|
var BaseAPI_1 = __webpack_require__(/*! ../../../../../common/BaseAPI */ "./common/BaseAPI.ts");
|
|
29498
29500
|
var SccApi_1 = __webpack_require__(/*! ./scc/SccApi */ "./encoding/encodings/streams/captions/cea/scc/SccApi.ts");
|
|
29501
|
+
var SrtApi_1 = __webpack_require__(/*! ./srt/SrtApi */ "./encoding/encodings/streams/captions/cea/srt/SrtApi.ts");
|
|
29499
29502
|
/**
|
|
29500
29503
|
* CeaApi - object-oriented interface
|
|
29501
29504
|
* @export
|
|
@@ -29507,6 +29510,7 @@ var CeaApi = /** @class */ (function (_super) {
|
|
|
29507
29510
|
function CeaApi(configuration) {
|
|
29508
29511
|
var _this = _super.call(this, configuration) || this;
|
|
29509
29512
|
_this.scc = new SccApi_1.default(configuration);
|
|
29513
|
+
_this.srt = new SrtApi_1.default(configuration);
|
|
29510
29514
|
return _this;
|
|
29511
29515
|
}
|
|
29512
29516
|
return CeaApi;
|
|
@@ -29745,6 +29749,237 @@ var CustomdataApi = /** @class */ (function (_super) {
|
|
|
29745
29749
|
exports["default"] = CustomdataApi;
|
|
29746
29750
|
|
|
29747
29751
|
|
|
29752
|
+
/***/ }),
|
|
29753
|
+
|
|
29754
|
+
/***/ "./encoding/encodings/streams/captions/cea/srt/SrtApi.ts":
|
|
29755
|
+
/*!***************************************************************!*\
|
|
29756
|
+
!*** ./encoding/encodings/streams/captions/cea/srt/SrtApi.ts ***!
|
|
29757
|
+
\***************************************************************/
|
|
29758
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
29759
|
+
|
|
29760
|
+
"use strict";
|
|
29761
|
+
|
|
29762
|
+
var __extends = (this && this.__extends) || (function () {
|
|
29763
|
+
var extendStatics = function (d, b) {
|
|
29764
|
+
extendStatics = Object.setPrototypeOf ||
|
|
29765
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
29766
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
29767
|
+
return extendStatics(d, b);
|
|
29768
|
+
};
|
|
29769
|
+
return function (d, b) {
|
|
29770
|
+
if (typeof b !== "function" && b !== null)
|
|
29771
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
29772
|
+
extendStatics(d, b);
|
|
29773
|
+
function __() { this.constructor = d; }
|
|
29774
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
29775
|
+
};
|
|
29776
|
+
})();
|
|
29777
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
29778
|
+
var BaseAPI_1 = __webpack_require__(/*! ../../../../../../common/BaseAPI */ "./common/BaseAPI.ts");
|
|
29779
|
+
var Mapper_1 = __webpack_require__(/*! ../../../../../../common/Mapper */ "./common/Mapper.ts");
|
|
29780
|
+
var CustomdataApi_1 = __webpack_require__(/*! ./customdata/CustomdataApi */ "./encoding/encodings/streams/captions/cea/srt/customdata/CustomdataApi.ts");
|
|
29781
|
+
var BitmovinResponse_1 = __webpack_require__(/*! ../../../../../../models/BitmovinResponse */ "./models/BitmovinResponse.ts");
|
|
29782
|
+
var SrtToCea608708Caption_1 = __webpack_require__(/*! ../../../../../../models/SrtToCea608708Caption */ "./models/SrtToCea608708Caption.ts");
|
|
29783
|
+
var PaginationResponse_1 = __webpack_require__(/*! ../../../../../../models/PaginationResponse */ "./models/PaginationResponse.ts");
|
|
29784
|
+
var SrtToCea608708CaptionListQueryParams_1 = __webpack_require__(/*! ./SrtToCea608708CaptionListQueryParams */ "./encoding/encodings/streams/captions/cea/srt/SrtToCea608708CaptionListQueryParams.ts");
|
|
29785
|
+
/**
|
|
29786
|
+
* SrtApi - object-oriented interface
|
|
29787
|
+
* @export
|
|
29788
|
+
* @class SrtApi
|
|
29789
|
+
* @extends {BaseAPI}
|
|
29790
|
+
*/
|
|
29791
|
+
var SrtApi = /** @class */ (function (_super) {
|
|
29792
|
+
__extends(SrtApi, _super);
|
|
29793
|
+
function SrtApi(configuration) {
|
|
29794
|
+
var _this = _super.call(this, configuration) || this;
|
|
29795
|
+
_this.customdata = new CustomdataApi_1.default(configuration);
|
|
29796
|
+
return _this;
|
|
29797
|
+
}
|
|
29798
|
+
/**
|
|
29799
|
+
* @summary Embed SRT captions as 608/708 into Stream
|
|
29800
|
+
* @param {string} encodingId Id of the encoding.
|
|
29801
|
+
* @param {string} streamId Id of the stream.
|
|
29802
|
+
* @param {SrtToCea608708Caption} srtToCea608708Caption The SRT captions to be embedded as 607/708 into Stream
|
|
29803
|
+
* @throws {BitmovinError}
|
|
29804
|
+
* @memberof SrtApi
|
|
29805
|
+
*/
|
|
29806
|
+
SrtApi.prototype.create = function (encodingId, streamId, srtToCea608708Caption) {
|
|
29807
|
+
var pathParamMap = {
|
|
29808
|
+
encoding_id: encodingId,
|
|
29809
|
+
stream_id: streamId
|
|
29810
|
+
};
|
|
29811
|
+
return this.restClient.post('/encoding/encodings/{encoding_id}/streams/{stream_id}/captions/608-708/srt', pathParamMap, srtToCea608708Caption).then(function (response) {
|
|
29812
|
+
return (0, Mapper_1.map)(response, SrtToCea608708Caption_1.default);
|
|
29813
|
+
});
|
|
29814
|
+
};
|
|
29815
|
+
/**
|
|
29816
|
+
* @summary Delete SRT captions as 608/708 from Stream
|
|
29817
|
+
* @param {string} encodingId Id of the encoding.
|
|
29818
|
+
* @param {string} streamId Id of the stream.
|
|
29819
|
+
* @param {string} captionsId Id of the caption.
|
|
29820
|
+
* @throws {BitmovinError}
|
|
29821
|
+
* @memberof SrtApi
|
|
29822
|
+
*/
|
|
29823
|
+
SrtApi.prototype.delete = function (encodingId, streamId, captionsId) {
|
|
29824
|
+
var pathParamMap = {
|
|
29825
|
+
encoding_id: encodingId,
|
|
29826
|
+
stream_id: streamId,
|
|
29827
|
+
captions_id: captionsId
|
|
29828
|
+
};
|
|
29829
|
+
return this.restClient.delete('/encoding/encodings/{encoding_id}/streams/{stream_id}/captions/608-708/srt/{captions_id}', pathParamMap).then(function (response) {
|
|
29830
|
+
return (0, Mapper_1.map)(response, BitmovinResponse_1.default);
|
|
29831
|
+
});
|
|
29832
|
+
};
|
|
29833
|
+
/**
|
|
29834
|
+
* @summary Embed SRT captions as 608/708 Details
|
|
29835
|
+
* @param {string} encodingId Id of the encoding.
|
|
29836
|
+
* @param {string} streamId Id of the stream.
|
|
29837
|
+
* @param {string} captionsId Id of the caption.
|
|
29838
|
+
* @throws {BitmovinError}
|
|
29839
|
+
* @memberof SrtApi
|
|
29840
|
+
*/
|
|
29841
|
+
SrtApi.prototype.get = function (encodingId, streamId, captionsId) {
|
|
29842
|
+
var pathParamMap = {
|
|
29843
|
+
encoding_id: encodingId,
|
|
29844
|
+
stream_id: streamId,
|
|
29845
|
+
captions_id: captionsId
|
|
29846
|
+
};
|
|
29847
|
+
return this.restClient.get('/encoding/encodings/{encoding_id}/streams/{stream_id}/captions/608-708/srt/{captions_id}', pathParamMap).then(function (response) {
|
|
29848
|
+
return (0, Mapper_1.map)(response, SrtToCea608708Caption_1.default);
|
|
29849
|
+
});
|
|
29850
|
+
};
|
|
29851
|
+
/**
|
|
29852
|
+
* @summary List SRT captions as 608/708 from Stream
|
|
29853
|
+
* @param {string} encodingId Id of the encoding.
|
|
29854
|
+
* @param {string} streamId Id of the stream.
|
|
29855
|
+
* @param {*} [queryParameters] query parameters for filtering, sorting and pagination
|
|
29856
|
+
* @throws {BitmovinError}
|
|
29857
|
+
* @memberof SrtApi
|
|
29858
|
+
*/
|
|
29859
|
+
SrtApi.prototype.list = function (encodingId, streamId, queryParameters) {
|
|
29860
|
+
var pathParamMap = {
|
|
29861
|
+
encoding_id: encodingId,
|
|
29862
|
+
stream_id: streamId
|
|
29863
|
+
};
|
|
29864
|
+
var queryParams = {};
|
|
29865
|
+
if (typeof queryParameters === 'function') {
|
|
29866
|
+
queryParams = queryParameters(new SrtToCea608708CaptionListQueryParams_1.SrtToCea608708CaptionListQueryParamsBuilder()).buildQueryParams();
|
|
29867
|
+
}
|
|
29868
|
+
else if (queryParameters) {
|
|
29869
|
+
queryParams = queryParameters;
|
|
29870
|
+
}
|
|
29871
|
+
return this.restClient.get('/encoding/encodings/{encoding_id}/streams/{stream_id}/captions/608-708/srt', pathParamMap, queryParams).then(function (response) {
|
|
29872
|
+
return new PaginationResponse_1.default(response, SrtToCea608708Caption_1.default);
|
|
29873
|
+
});
|
|
29874
|
+
};
|
|
29875
|
+
return SrtApi;
|
|
29876
|
+
}(BaseAPI_1.BaseAPI));
|
|
29877
|
+
exports["default"] = SrtApi;
|
|
29878
|
+
|
|
29879
|
+
|
|
29880
|
+
/***/ }),
|
|
29881
|
+
|
|
29882
|
+
/***/ "./encoding/encodings/streams/captions/cea/srt/SrtToCea608708CaptionListQueryParams.ts":
|
|
29883
|
+
/*!*********************************************************************************************!*\
|
|
29884
|
+
!*** ./encoding/encodings/streams/captions/cea/srt/SrtToCea608708CaptionListQueryParams.ts ***!
|
|
29885
|
+
\*********************************************************************************************/
|
|
29886
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
29887
|
+
|
|
29888
|
+
"use strict";
|
|
29889
|
+
|
|
29890
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
29891
|
+
exports.SrtToCea608708CaptionListQueryParamsBuilder = void 0;
|
|
29892
|
+
var SrtToCea608708CaptionListQueryParamsBuilder = /** @class */ (function () {
|
|
29893
|
+
function SrtToCea608708CaptionListQueryParamsBuilder() {
|
|
29894
|
+
this.internalParams = {};
|
|
29895
|
+
}
|
|
29896
|
+
/**
|
|
29897
|
+
*
|
|
29898
|
+
* @param offset Index of the first item to return, starting at 0. Default is 0
|
|
29899
|
+
*/
|
|
29900
|
+
SrtToCea608708CaptionListQueryParamsBuilder.prototype.offset = function (offset) {
|
|
29901
|
+
this.internalParams.offset = offset;
|
|
29902
|
+
return this;
|
|
29903
|
+
};
|
|
29904
|
+
/**
|
|
29905
|
+
*
|
|
29906
|
+
* @param limit Maximum number of items to return. Default is 25, maximum is 100
|
|
29907
|
+
*/
|
|
29908
|
+
SrtToCea608708CaptionListQueryParamsBuilder.prototype.limit = function (limit) {
|
|
29909
|
+
this.internalParams.limit = limit;
|
|
29910
|
+
return this;
|
|
29911
|
+
};
|
|
29912
|
+
SrtToCea608708CaptionListQueryParamsBuilder.prototype.buildQueryParams = function () {
|
|
29913
|
+
return this.internalParams;
|
|
29914
|
+
};
|
|
29915
|
+
return SrtToCea608708CaptionListQueryParamsBuilder;
|
|
29916
|
+
}());
|
|
29917
|
+
exports.SrtToCea608708CaptionListQueryParamsBuilder = SrtToCea608708CaptionListQueryParamsBuilder;
|
|
29918
|
+
|
|
29919
|
+
|
|
29920
|
+
/***/ }),
|
|
29921
|
+
|
|
29922
|
+
/***/ "./encoding/encodings/streams/captions/cea/srt/customdata/CustomdataApi.ts":
|
|
29923
|
+
/*!*********************************************************************************!*\
|
|
29924
|
+
!*** ./encoding/encodings/streams/captions/cea/srt/customdata/CustomdataApi.ts ***!
|
|
29925
|
+
\*********************************************************************************/
|
|
29926
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
29927
|
+
|
|
29928
|
+
"use strict";
|
|
29929
|
+
|
|
29930
|
+
var __extends = (this && this.__extends) || (function () {
|
|
29931
|
+
var extendStatics = function (d, b) {
|
|
29932
|
+
extendStatics = Object.setPrototypeOf ||
|
|
29933
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
29934
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
29935
|
+
return extendStatics(d, b);
|
|
29936
|
+
};
|
|
29937
|
+
return function (d, b) {
|
|
29938
|
+
if (typeof b !== "function" && b !== null)
|
|
29939
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
29940
|
+
extendStatics(d, b);
|
|
29941
|
+
function __() { this.constructor = d; }
|
|
29942
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
29943
|
+
};
|
|
29944
|
+
})();
|
|
29945
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
29946
|
+
var BaseAPI_1 = __webpack_require__(/*! ../../../../../../../common/BaseAPI */ "./common/BaseAPI.ts");
|
|
29947
|
+
var Mapper_1 = __webpack_require__(/*! ../../../../../../../common/Mapper */ "./common/Mapper.ts");
|
|
29948
|
+
var CustomData_1 = __webpack_require__(/*! ../../../../../../../models/CustomData */ "./models/CustomData.ts");
|
|
29949
|
+
/**
|
|
29950
|
+
* CustomdataApi - object-oriented interface
|
|
29951
|
+
* @export
|
|
29952
|
+
* @class CustomdataApi
|
|
29953
|
+
* @extends {BaseAPI}
|
|
29954
|
+
*/
|
|
29955
|
+
var CustomdataApi = /** @class */ (function (_super) {
|
|
29956
|
+
__extends(CustomdataApi, _super);
|
|
29957
|
+
function CustomdataApi(configuration) {
|
|
29958
|
+
return _super.call(this, configuration) || this;
|
|
29959
|
+
}
|
|
29960
|
+
/**
|
|
29961
|
+
* @summary Embed SRT captions as 608/708 Custom Data
|
|
29962
|
+
* @param {string} encodingId Id of the encoding.
|
|
29963
|
+
* @param {string} streamId Id of the stream.
|
|
29964
|
+
* @param {string} captionsId Id of the caption.
|
|
29965
|
+
* @throws {BitmovinError}
|
|
29966
|
+
* @memberof CustomdataApi
|
|
29967
|
+
*/
|
|
29968
|
+
CustomdataApi.prototype.get = function (encodingId, streamId, captionsId) {
|
|
29969
|
+
var pathParamMap = {
|
|
29970
|
+
encoding_id: encodingId,
|
|
29971
|
+
stream_id: streamId,
|
|
29972
|
+
captions_id: captionsId
|
|
29973
|
+
};
|
|
29974
|
+
return this.restClient.get('/encoding/encodings/{encoding_id}/streams/{stream_id}/captions/608-708/srt/{captions_id}/customData', pathParamMap).then(function (response) {
|
|
29975
|
+
return (0, Mapper_1.map)(response, CustomData_1.default);
|
|
29976
|
+
});
|
|
29977
|
+
};
|
|
29978
|
+
return CustomdataApi;
|
|
29979
|
+
}(BaseAPI_1.BaseAPI));
|
|
29980
|
+
exports["default"] = CustomdataApi;
|
|
29981
|
+
|
|
29982
|
+
|
|
29748
29983
|
/***/ }),
|
|
29749
29984
|
|
|
29750
29985
|
/***/ "./encoding/encodings/streams/customdata/CustomdataApi.ts":
|
|
@@ -53340,6 +53575,62 @@ var DailyStatisticsPerLabelListQueryParamsBuilder = /** @class */ (function () {
|
|
|
53340
53575
|
exports.DailyStatisticsPerLabelListQueryParamsBuilder = DailyStatisticsPerLabelListQueryParamsBuilder;
|
|
53341
53576
|
|
|
53342
53577
|
|
|
53578
|
+
/***/ }),
|
|
53579
|
+
|
|
53580
|
+
/***/ "./encoding/templates/TemplatesApi.ts":
|
|
53581
|
+
/*!********************************************!*\
|
|
53582
|
+
!*** ./encoding/templates/TemplatesApi.ts ***!
|
|
53583
|
+
\********************************************/
|
|
53584
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
53585
|
+
|
|
53586
|
+
"use strict";
|
|
53587
|
+
|
|
53588
|
+
var __extends = (this && this.__extends) || (function () {
|
|
53589
|
+
var extendStatics = function (d, b) {
|
|
53590
|
+
extendStatics = Object.setPrototypeOf ||
|
|
53591
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
53592
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
53593
|
+
return extendStatics(d, b);
|
|
53594
|
+
};
|
|
53595
|
+
return function (d, b) {
|
|
53596
|
+
if (typeof b !== "function" && b !== null)
|
|
53597
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
53598
|
+
extendStatics(d, b);
|
|
53599
|
+
function __() { this.constructor = d; }
|
|
53600
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
53601
|
+
};
|
|
53602
|
+
})();
|
|
53603
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
53604
|
+
var BaseAPI_1 = __webpack_require__(/*! ../../common/BaseAPI */ "./common/BaseAPI.ts");
|
|
53605
|
+
var Mapper_1 = __webpack_require__(/*! ../../common/Mapper */ "./common/Mapper.ts");
|
|
53606
|
+
var EncodingTemplateStartResponse_1 = __webpack_require__(/*! ../../models/EncodingTemplateStartResponse */ "./models/EncodingTemplateStartResponse.ts");
|
|
53607
|
+
/**
|
|
53608
|
+
* TemplatesApi - object-oriented interface
|
|
53609
|
+
* @export
|
|
53610
|
+
* @class TemplatesApi
|
|
53611
|
+
* @extends {BaseAPI}
|
|
53612
|
+
*/
|
|
53613
|
+
var TemplatesApi = /** @class */ (function (_super) {
|
|
53614
|
+
__extends(TemplatesApi, _super);
|
|
53615
|
+
function TemplatesApi(configuration) {
|
|
53616
|
+
return _super.call(this, configuration) || this;
|
|
53617
|
+
}
|
|
53618
|
+
/**
|
|
53619
|
+
* @summary BETA: Start an Encoding defined with an Encoding Template
|
|
53620
|
+
* @param {any} encodingTemplateRequest The Encoding Template to start an Encoding from
|
|
53621
|
+
* @throws {BitmovinError}
|
|
53622
|
+
* @memberof TemplatesApi
|
|
53623
|
+
*/
|
|
53624
|
+
TemplatesApi.prototype.start = function (encodingTemplateRequest) {
|
|
53625
|
+
return this.restClient.post('/encoding/templates/start', {}, encodingTemplateRequest).then(function (response) {
|
|
53626
|
+
return (0, Mapper_1.map)(response, EncodingTemplateStartResponse_1.default);
|
|
53627
|
+
});
|
|
53628
|
+
};
|
|
53629
|
+
return TemplatesApi;
|
|
53630
|
+
}(BaseAPI_1.BaseAPI));
|
|
53631
|
+
exports["default"] = TemplatesApi;
|
|
53632
|
+
|
|
53633
|
+
|
|
53343
53634
|
/***/ }),
|
|
53344
53635
|
|
|
53345
53636
|
/***/ "./encoding/watchFolders/WatchFolderListQueryParams.ts":
|
|
@@ -67322,7 +67613,6 @@ var DolbyVisionProfile;
|
|
|
67322
67613
|
DolbyVisionProfile["DVHE_04"] = "DVHE_04";
|
|
67323
67614
|
DolbyVisionProfile["DVHE_05"] = "DVHE_05";
|
|
67324
67615
|
DolbyVisionProfile["DVHE_07"] = "DVHE_07";
|
|
67325
|
-
DolbyVisionProfile["DVHE_08_1"] = "DVHE_08_1";
|
|
67326
67616
|
DolbyVisionProfile["HEV1_08"] = "HEV1_08";
|
|
67327
67617
|
DolbyVisionProfile["AVC3_09"] = "AVC3_09";
|
|
67328
67618
|
})(DolbyVisionProfile || (exports.DolbyVisionProfile = DolbyVisionProfile = {}));
|
|
@@ -68825,6 +69115,65 @@ var EncodingTemplate;
|
|
|
68825
69115
|
exports["default"] = EncodingTemplate;
|
|
68826
69116
|
|
|
68827
69117
|
|
|
69118
|
+
/***/ }),
|
|
69119
|
+
|
|
69120
|
+
/***/ "./models/EncodingTemplateRequest.ts":
|
|
69121
|
+
/*!*******************************************!*\
|
|
69122
|
+
!*** ./models/EncodingTemplateRequest.ts ***!
|
|
69123
|
+
\*******************************************/
|
|
69124
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
69125
|
+
|
|
69126
|
+
"use strict";
|
|
69127
|
+
|
|
69128
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
69129
|
+
exports.EncodingTemplateRequest = void 0;
|
|
69130
|
+
/**
|
|
69131
|
+
* The template request object can be either a string (YAML/JSON) or a generic object that includes all the fields. Please note that when sending the request as an object, the order of the fields is important, as it determines the sequence in which the Encoding resources are created.
|
|
69132
|
+
* @export
|
|
69133
|
+
* @class EncodingTemplateRequest
|
|
69134
|
+
*/
|
|
69135
|
+
var EncodingTemplateRequest = /** @class */ (function () {
|
|
69136
|
+
function EncodingTemplateRequest(obj) {
|
|
69137
|
+
if (!obj) {
|
|
69138
|
+
return;
|
|
69139
|
+
}
|
|
69140
|
+
}
|
|
69141
|
+
return EncodingTemplateRequest;
|
|
69142
|
+
}());
|
|
69143
|
+
exports.EncodingTemplateRequest = EncodingTemplateRequest;
|
|
69144
|
+
exports["default"] = EncodingTemplateRequest;
|
|
69145
|
+
|
|
69146
|
+
|
|
69147
|
+
/***/ }),
|
|
69148
|
+
|
|
69149
|
+
/***/ "./models/EncodingTemplateStartResponse.ts":
|
|
69150
|
+
/*!*************************************************!*\
|
|
69151
|
+
!*** ./models/EncodingTemplateStartResponse.ts ***!
|
|
69152
|
+
\*************************************************/
|
|
69153
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
69154
|
+
|
|
69155
|
+
"use strict";
|
|
69156
|
+
|
|
69157
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
69158
|
+
exports.EncodingTemplateStartResponse = void 0;
|
|
69159
|
+
var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
|
|
69160
|
+
/**
|
|
69161
|
+
* @export
|
|
69162
|
+
* @class EncodingTemplateStartResponse
|
|
69163
|
+
*/
|
|
69164
|
+
var EncodingTemplateStartResponse = /** @class */ (function () {
|
|
69165
|
+
function EncodingTemplateStartResponse(obj) {
|
|
69166
|
+
if (!obj) {
|
|
69167
|
+
return;
|
|
69168
|
+
}
|
|
69169
|
+
this.encodingId = (0, Mapper_1.map)(obj.encodingId);
|
|
69170
|
+
}
|
|
69171
|
+
return EncodingTemplateStartResponse;
|
|
69172
|
+
}());
|
|
69173
|
+
exports.EncodingTemplateStartResponse = EncodingTemplateStartResponse;
|
|
69174
|
+
exports["default"] = EncodingTemplateStartResponse;
|
|
69175
|
+
|
|
69176
|
+
|
|
68828
69177
|
/***/ }),
|
|
68829
69178
|
|
|
68830
69179
|
/***/ "./models/EncodingType.ts":
|
|
@@ -82185,6 +82534,58 @@ exports.SrtStatistics = SrtStatistics;
|
|
|
82185
82534
|
exports["default"] = SrtStatistics;
|
|
82186
82535
|
|
|
82187
82536
|
|
|
82537
|
+
/***/ }),
|
|
82538
|
+
|
|
82539
|
+
/***/ "./models/SrtToCea608708Caption.ts":
|
|
82540
|
+
/*!*****************************************!*\
|
|
82541
|
+
!*** ./models/SrtToCea608708Caption.ts ***!
|
|
82542
|
+
\*****************************************/
|
|
82543
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
82544
|
+
|
|
82545
|
+
"use strict";
|
|
82546
|
+
|
|
82547
|
+
var __extends = (this && this.__extends) || (function () {
|
|
82548
|
+
var extendStatics = function (d, b) {
|
|
82549
|
+
extendStatics = Object.setPrototypeOf ||
|
|
82550
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
82551
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
82552
|
+
return extendStatics(d, b);
|
|
82553
|
+
};
|
|
82554
|
+
return function (d, b) {
|
|
82555
|
+
if (typeof b !== "function" && b !== null)
|
|
82556
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
82557
|
+
extendStatics(d, b);
|
|
82558
|
+
function __() { this.constructor = d; }
|
|
82559
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
82560
|
+
};
|
|
82561
|
+
})();
|
|
82562
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
82563
|
+
exports.SrtToCea608708Caption = void 0;
|
|
82564
|
+
var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
|
|
82565
|
+
var BitmovinResource_1 = __webpack_require__(/*! ./BitmovinResource */ "./models/BitmovinResource.ts");
|
|
82566
|
+
var InputPath_1 = __webpack_require__(/*! ./InputPath */ "./models/InputPath.ts");
|
|
82567
|
+
/**
|
|
82568
|
+
* @export
|
|
82569
|
+
* @class SrtToCea608708Caption
|
|
82570
|
+
*/
|
|
82571
|
+
var SrtToCea608708Caption = /** @class */ (function (_super) {
|
|
82572
|
+
__extends(SrtToCea608708Caption, _super);
|
|
82573
|
+
function SrtToCea608708Caption(obj) {
|
|
82574
|
+
var _this = _super.call(this, obj) || this;
|
|
82575
|
+
if (!obj) {
|
|
82576
|
+
return _this;
|
|
82577
|
+
}
|
|
82578
|
+
_this.input = (0, Mapper_1.map)(obj.input, InputPath_1.default);
|
|
82579
|
+
_this.ccChannel = (0, Mapper_1.map)(obj.ccChannel);
|
|
82580
|
+
_this.characterEncoding = (0, Mapper_1.map)(obj.characterEncoding);
|
|
82581
|
+
return _this;
|
|
82582
|
+
}
|
|
82583
|
+
return SrtToCea608708Caption;
|
|
82584
|
+
}(BitmovinResource_1.default));
|
|
82585
|
+
exports.SrtToCea608708Caption = SrtToCea608708Caption;
|
|
82586
|
+
exports["default"] = SrtToCea608708Caption;
|
|
82587
|
+
|
|
82588
|
+
|
|
82188
82589
|
/***/ }),
|
|
82189
82590
|
|
|
82190
82591
|
/***/ "./models/StandardMediaInfo.ts":
|
|
@@ -87960,6 +88361,8 @@ __exportStar(__webpack_require__(/*! ./EncodingStats */ "./models/EncodingStats.
|
|
|
87960
88361
|
__exportStar(__webpack_require__(/*! ./EncodingStreamInput */ "./models/EncodingStreamInput.ts"), exports);
|
|
87961
88362
|
__exportStar(__webpack_require__(/*! ./EncodingStreamInputDetails */ "./models/EncodingStreamInputDetails.ts"), exports);
|
|
87962
88363
|
__exportStar(__webpack_require__(/*! ./EncodingTemplate */ "./models/EncodingTemplate.ts"), exports);
|
|
88364
|
+
__exportStar(__webpack_require__(/*! ./EncodingTemplateRequest */ "./models/EncodingTemplateRequest.ts"), exports);
|
|
88365
|
+
__exportStar(__webpack_require__(/*! ./EncodingTemplateStartResponse */ "./models/EncodingTemplateStartResponse.ts"), exports);
|
|
87963
88366
|
__exportStar(__webpack_require__(/*! ./EncodingType */ "./models/EncodingType.ts"), exports);
|
|
87964
88367
|
__exportStar(__webpack_require__(/*! ./EncryptionMode */ "./models/EncryptionMode.ts"), exports);
|
|
87965
88368
|
__exportStar(__webpack_require__(/*! ./EnhancedDeinterlaceAutoEnable */ "./models/EnhancedDeinterlaceAutoEnable.ts"), exports);
|
|
@@ -88296,6 +88699,7 @@ __exportStar(__webpack_require__(/*! ./SrtStatisticRecv */ "./models/SrtStatisti
|
|
|
88296
88699
|
__exportStar(__webpack_require__(/*! ./SrtStatisticSend */ "./models/SrtStatisticSend.ts"), exports);
|
|
88297
88700
|
__exportStar(__webpack_require__(/*! ./SrtStatisticWindow */ "./models/SrtStatisticWindow.ts"), exports);
|
|
88298
88701
|
__exportStar(__webpack_require__(/*! ./SrtStatistics */ "./models/SrtStatistics.ts"), exports);
|
|
88702
|
+
__exportStar(__webpack_require__(/*! ./SrtToCea608708Caption */ "./models/SrtToCea608708Caption.ts"), exports);
|
|
88299
88703
|
__exportStar(__webpack_require__(/*! ./StandardMediaInfo */ "./models/StandardMediaInfo.ts"), exports);
|
|
88300
88704
|
__exportStar(__webpack_require__(/*! ./StartEncodingRequest */ "./models/StartEncodingRequest.ts"), exports);
|
|
88301
88705
|
__exportStar(__webpack_require__(/*! ./StartLiveChannelEncodingRequest */ "./models/StartLiveChannelEncodingRequest.ts"), exports);
|