@bitmovin/api-sdk 1.184.0 → 1.185.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 CHANGED
@@ -31,7 +31,7 @@ If you have any questions regarding the SDK, provided examples or our services,
31
31
  ## Installation
32
32
 
33
33
  ``` bash
34
- npm install @bitmovin/api-sdk@1.184.0
34
+ npm install @bitmovin/api-sdk@1.185.0
35
35
  ```
36
36
 
37
37
  ## Initialization
@@ -6109,7 +6109,7 @@ var HeaderHandler = /** @class */ (function (_super) {
6109
6109
  var headers = {
6110
6110
  'X-Api-Key': apiKey,
6111
6111
  'X-Api-Client': 'bitmovin-api-sdk-javascript',
6112
- 'X-Api-Client-Version': '1.184.0',
6112
+ 'X-Api-Client-Version': '1.185.0',
6113
6113
  'Content-Type': 'application/json'
6114
6114
  };
6115
6115
  if (tenantOrgId) {
@@ -14698,7 +14698,6 @@ var __extends = (this && this.__extends) || (function () {
14698
14698
  Object.defineProperty(exports, "__esModule", ({ value: true }));
14699
14699
  var BaseAPI_1 = __webpack_require__(/*! ../../../../common/BaseAPI */ "./common/BaseAPI.ts");
14700
14700
  var DvbSubtitleApi_1 = __webpack_require__(/*! ./dvbSubtitle/DvbSubtitleApi */ "./encoding/encodings/inputStreams/subtitles/dvbSubtitle/DvbSubtitleApi.ts");
14701
- var DvbTeletextApi_1 = __webpack_require__(/*! ./dvbTeletext/DvbTeletextApi */ "./encoding/encodings/inputStreams/subtitles/dvbTeletext/DvbTeletextApi.ts");
14702
14701
  /**
14703
14702
  * SubtitlesApi - object-oriented interface
14704
14703
  * @export
@@ -14710,7 +14709,6 @@ var SubtitlesApi = /** @class */ (function (_super) {
14710
14709
  function SubtitlesApi(configuration) {
14711
14710
  var _this = _super.call(this, configuration) || this;
14712
14711
  _this.dvbSubtitle = new DvbSubtitleApi_1.default(configuration);
14713
- _this.dvbTeletext = new DvbTeletextApi_1.default(configuration);
14714
14712
  return _this;
14715
14713
  }
14716
14714
  return SubtitlesApi;
@@ -14875,163 +14873,6 @@ var DvbSubtitleInputStreamListQueryParamsBuilder = /** @class */ (function () {
14875
14873
  exports.DvbSubtitleInputStreamListQueryParamsBuilder = DvbSubtitleInputStreamListQueryParamsBuilder;
14876
14874
 
14877
14875
 
14878
- /***/ }),
14879
-
14880
- /***/ "./encoding/encodings/inputStreams/subtitles/dvbTeletext/DvbTeletextApi.ts":
14881
- /*!*********************************************************************************!*\
14882
- !*** ./encoding/encodings/inputStreams/subtitles/dvbTeletext/DvbTeletextApi.ts ***!
14883
- \*********************************************************************************/
14884
- /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
14885
-
14886
- "use strict";
14887
-
14888
- var __extends = (this && this.__extends) || (function () {
14889
- var extendStatics = function (d, b) {
14890
- extendStatics = Object.setPrototypeOf ||
14891
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
14892
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
14893
- return extendStatics(d, b);
14894
- };
14895
- return function (d, b) {
14896
- if (typeof b !== "function" && b !== null)
14897
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
14898
- extendStatics(d, b);
14899
- function __() { this.constructor = d; }
14900
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
14901
- };
14902
- })();
14903
- Object.defineProperty(exports, "__esModule", ({ value: true }));
14904
- var BaseAPI_1 = __webpack_require__(/*! ../../../../../common/BaseAPI */ "./common/BaseAPI.ts");
14905
- var Mapper_1 = __webpack_require__(/*! ../../../../../common/Mapper */ "./common/Mapper.ts");
14906
- var BitmovinResponse_1 = __webpack_require__(/*! ../../../../../models/BitmovinResponse */ "./models/BitmovinResponse.ts");
14907
- var DvbTeletextInputStream_1 = __webpack_require__(/*! ../../../../../models/DvbTeletextInputStream */ "./models/DvbTeletextInputStream.ts");
14908
- var PaginationResponse_1 = __webpack_require__(/*! ../../../../../models/PaginationResponse */ "./models/PaginationResponse.ts");
14909
- var DvbTeletextInputStreamListQueryParams_1 = __webpack_require__(/*! ./DvbTeletextInputStreamListQueryParams */ "./encoding/encodings/inputStreams/subtitles/dvbTeletext/DvbTeletextInputStreamListQueryParams.ts");
14910
- /**
14911
- * DvbTeletextApi - object-oriented interface
14912
- * @export
14913
- * @class DvbTeletextApi
14914
- * @extends {BaseAPI}
14915
- */
14916
- var DvbTeletextApi = /** @class */ (function (_super) {
14917
- __extends(DvbTeletextApi, _super);
14918
- function DvbTeletextApi(configuration) {
14919
- return _super.call(this, configuration) || this;
14920
- }
14921
- /**
14922
- * @summary Add DVB-Teletext Input Stream
14923
- * @param {string} encodingId Id of the encoding.
14924
- * @param {DvbTeletextInputStream} dvbTeletextInputStream The DVB-Teletext Input Stream to be created
14925
- * @throws {BitmovinError}
14926
- * @memberof DvbTeletextApi
14927
- */
14928
- DvbTeletextApi.prototype.create = function (encodingId, dvbTeletextInputStream) {
14929
- var pathParamMap = {
14930
- encoding_id: encodingId
14931
- };
14932
- return this.restClient.post('/encoding/encodings/{encoding_id}/input-streams/subtitles/dvb-teletext', pathParamMap, dvbTeletextInputStream).then(function (response) {
14933
- return (0, Mapper_1.map)(response, DvbTeletextInputStream_1.default);
14934
- });
14935
- };
14936
- /**
14937
- * @summary Delete DVB-Teletext Input Stream
14938
- * @param {string} encodingId Id of the encoding.
14939
- * @param {string} inputStreamId Id of the DVB-Teletext input stream.
14940
- * @throws {BitmovinError}
14941
- * @memberof DvbTeletextApi
14942
- */
14943
- DvbTeletextApi.prototype.delete = function (encodingId, inputStreamId) {
14944
- var pathParamMap = {
14945
- encoding_id: encodingId,
14946
- input_stream_id: inputStreamId
14947
- };
14948
- return this.restClient.delete('/encoding/encodings/{encoding_id}/input-streams/subtitles/dvb-teletext/{input_stream_id}', pathParamMap).then(function (response) {
14949
- return (0, Mapper_1.map)(response, BitmovinResponse_1.default);
14950
- });
14951
- };
14952
- /**
14953
- * @summary DVB-Teletext Input Stream Details
14954
- * @param {string} encodingId Id of the encoding.
14955
- * @param {string} inputStreamId Id of the DVB-Teletext input stream.
14956
- * @throws {BitmovinError}
14957
- * @memberof DvbTeletextApi
14958
- */
14959
- DvbTeletextApi.prototype.get = function (encodingId, inputStreamId) {
14960
- var pathParamMap = {
14961
- encoding_id: encodingId,
14962
- input_stream_id: inputStreamId
14963
- };
14964
- return this.restClient.get('/encoding/encodings/{encoding_id}/input-streams/subtitles/dvb-teletext/{input_stream_id}', pathParamMap).then(function (response) {
14965
- return (0, Mapper_1.map)(response, DvbTeletextInputStream_1.default);
14966
- });
14967
- };
14968
- /**
14969
- * @summary List DVB-Teletext Input Streams
14970
- * @param {string} encodingId Id of the encoding.
14971
- * @param {*} [queryParameters] query parameters for filtering, sorting and pagination
14972
- * @throws {BitmovinError}
14973
- * @memberof DvbTeletextApi
14974
- */
14975
- DvbTeletextApi.prototype.list = function (encodingId, queryParameters) {
14976
- var pathParamMap = {
14977
- encoding_id: encodingId
14978
- };
14979
- var queryParams = {};
14980
- if (typeof queryParameters === 'function') {
14981
- queryParams = queryParameters(new DvbTeletextInputStreamListQueryParams_1.DvbTeletextInputStreamListQueryParamsBuilder()).buildQueryParams();
14982
- }
14983
- else if (queryParameters) {
14984
- queryParams = queryParameters;
14985
- }
14986
- return this.restClient.get('/encoding/encodings/{encoding_id}/input-streams/subtitles/dvb-teletext', pathParamMap, queryParams).then(function (response) {
14987
- return new PaginationResponse_1.default(response, DvbTeletextInputStream_1.default);
14988
- });
14989
- };
14990
- return DvbTeletextApi;
14991
- }(BaseAPI_1.BaseAPI));
14992
- exports["default"] = DvbTeletextApi;
14993
-
14994
-
14995
- /***/ }),
14996
-
14997
- /***/ "./encoding/encodings/inputStreams/subtitles/dvbTeletext/DvbTeletextInputStreamListQueryParams.ts":
14998
- /*!********************************************************************************************************!*\
14999
- !*** ./encoding/encodings/inputStreams/subtitles/dvbTeletext/DvbTeletextInputStreamListQueryParams.ts ***!
15000
- \********************************************************************************************************/
15001
- /***/ ((__unused_webpack_module, exports) => {
15002
-
15003
- "use strict";
15004
-
15005
- Object.defineProperty(exports, "__esModule", ({ value: true }));
15006
- exports.DvbTeletextInputStreamListQueryParamsBuilder = void 0;
15007
- var DvbTeletextInputStreamListQueryParamsBuilder = /** @class */ (function () {
15008
- function DvbTeletextInputStreamListQueryParamsBuilder() {
15009
- this.internalParams = {};
15010
- }
15011
- /**
15012
- *
15013
- * @param offset Index of the first item to return, starting at 0. Default is 0
15014
- */
15015
- DvbTeletextInputStreamListQueryParamsBuilder.prototype.offset = function (offset) {
15016
- this.internalParams.offset = offset;
15017
- return this;
15018
- };
15019
- /**
15020
- *
15021
- * @param limit Maximum number of items to return. Default is 25, maximum is 100
15022
- */
15023
- DvbTeletextInputStreamListQueryParamsBuilder.prototype.limit = function (limit) {
15024
- this.internalParams.limit = limit;
15025
- return this;
15026
- };
15027
- DvbTeletextInputStreamListQueryParamsBuilder.prototype.buildQueryParams = function () {
15028
- return this.internalParams;
15029
- };
15030
- return DvbTeletextInputStreamListQueryParamsBuilder;
15031
- }());
15032
- exports.DvbTeletextInputStreamListQueryParamsBuilder = DvbTeletextInputStreamListQueryParamsBuilder;
15033
-
15034
-
15035
14876
  /***/ }),
15036
14877
 
15037
14878
  /***/ "./encoding/encodings/inputStreams/trimming/TrimmingApi.ts":
@@ -67576,66 +67417,6 @@ exports.DvbSubtitleInputStream = DvbSubtitleInputStream;
67576
67417
  exports["default"] = DvbSubtitleInputStream;
67577
67418
 
67578
67419
 
67579
- /***/ }),
67580
-
67581
- /***/ "./models/DvbTeletextInputStream.ts":
67582
- /*!******************************************!*\
67583
- !*** ./models/DvbTeletextInputStream.ts ***!
67584
- \******************************************/
67585
- /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
67586
-
67587
- "use strict";
67588
-
67589
- var __extends = (this && this.__extends) || (function () {
67590
- var extendStatics = function (d, b) {
67591
- extendStatics = Object.setPrototypeOf ||
67592
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
67593
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
67594
- return extendStatics(d, b);
67595
- };
67596
- return function (d, b) {
67597
- if (typeof b !== "function" && b !== null)
67598
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
67599
- extendStatics(d, b);
67600
- function __() { this.constructor = d; }
67601
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
67602
- };
67603
- })();
67604
- Object.defineProperty(exports, "__esModule", ({ value: true }));
67605
- exports.DvbTeletextInputStream = void 0;
67606
- var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
67607
- var InputStream_1 = __webpack_require__(/*! ./InputStream */ "./models/InputStream.ts");
67608
- var InputStreamType_1 = __webpack_require__(/*! ./InputStreamType */ "./models/InputStreamType.ts");
67609
- /**
67610
- * @export
67611
- * @class DvbTeletextInputStream
67612
- */
67613
- var DvbTeletextInputStream = /** @class */ (function (_super) {
67614
- __extends(DvbTeletextInputStream, _super);
67615
- function DvbTeletextInputStream(obj) {
67616
- var _this = _super.call(this, obj) || this;
67617
- /**
67618
- * Discriminator property for InputStream
67619
- * @type {string}
67620
- * @memberof DvbTeletextInputStream
67621
- */
67622
- _this.type = InputStreamType_1.default.DVB_TELETEXT;
67623
- if (!obj) {
67624
- return _this;
67625
- }
67626
- _this.inputId = (0, Mapper_1.map)(obj.inputId);
67627
- _this.inputPath = (0, Mapper_1.map)(obj.inputPath);
67628
- _this.selectionMode = (0, Mapper_1.map)(obj.selectionMode);
67629
- _this.position = (0, Mapper_1.map)(obj.position);
67630
- _this.page = (0, Mapper_1.map)(obj.page);
67631
- return _this;
67632
- }
67633
- return DvbTeletextInputStream;
67634
- }(InputStream_1.default));
67635
- exports.DvbTeletextInputStream = DvbTeletextInputStream;
67636
- exports["default"] = DvbTeletextInputStream;
67637
-
67638
-
67639
67420
  /***/ }),
67640
67421
 
67641
67422
  /***/ "./models/Eac3AudioConfiguration.ts":
@@ -72402,7 +72183,6 @@ var InputStream = /** @class */ (function (_super) {
72402
72183
  CAPTION_CEA708: 'Cea708CaptionInputStream',
72403
72184
  FILE: 'FileInputStream',
72404
72185
  DVB_SUBTITLE: 'DvbSubtitleInputStream',
72405
- DVB_TELETEXT: 'DvbTeletextInputStream',
72406
72186
  DOLBY_ATMOS: 'DolbyAtmosIngestInputStream',
72407
72187
  DOLBY_VISION: 'DolbyVisionInputStream'
72408
72188
  };
@@ -72441,7 +72221,6 @@ var InputStreamType;
72441
72221
  InputStreamType["CAPTION_CEA608"] = "CAPTION_CEA608";
72442
72222
  InputStreamType["CAPTION_CEA708"] = "CAPTION_CEA708";
72443
72223
  InputStreamType["DVB_SUBTITLE"] = "DVB_SUBTITLE";
72444
- InputStreamType["DVB_TELETEXT"] = "DVB_TELETEXT";
72445
72224
  InputStreamType["DOLBY_ATMOS"] = "DOLBY_ATMOS";
72446
72225
  InputStreamType["DOLBY_VISION"] = "DOLBY_VISION";
72447
72226
  })(InputStreamType || (exports.InputStreamType = InputStreamType = {}));
@@ -87498,7 +87277,6 @@ __exportStar(__webpack_require__(/*! ./DtsXAudioConfiguration */ "./models/DtsXA
87498
87277
  __exportStar(__webpack_require__(/*! ./DtsXChannelLayout */ "./models/DtsXChannelLayout.ts"), exports);
87499
87278
  __exportStar(__webpack_require__(/*! ./DvbSubtitleConfiguration */ "./models/DvbSubtitleConfiguration.ts"), exports);
87500
87279
  __exportStar(__webpack_require__(/*! ./DvbSubtitleInputStream */ "./models/DvbSubtitleInputStream.ts"), exports);
87501
- __exportStar(__webpack_require__(/*! ./DvbTeletextInputStream */ "./models/DvbTeletextInputStream.ts"), exports);
87502
87280
  __exportStar(__webpack_require__(/*! ./Eac3AudioConfiguration */ "./models/Eac3AudioConfiguration.ts"), exports);
87503
87281
  __exportStar(__webpack_require__(/*! ./EbuR128SinglePassFilter */ "./models/EbuR128SinglePassFilter.ts"), exports);
87504
87282
  __exportStar(__webpack_require__(/*! ./EgressCategory */ "./models/EgressCategory.ts"), exports);