@bitmovin/api-sdk 1.270.0 → 1.271.1

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.
Files changed (23) hide show
  1. package/README.md +1 -1
  2. package/dist/bitmovin-api-sdk.browser.js +1 -195
  3. package/dist/bitmovin-api-sdk.browser.min.js +1 -1
  4. package/dist/common/RestClient.js +1 -1
  5. package/dist/encoding/encodings/EncodingsApi.d.ts +0 -2
  6. package/dist/encoding/encodings/EncodingsApi.js +0 -2
  7. package/dist/encoding/encodings/muxings/fmp4/drm/cenc/CencDrmListQueryParams.d.ts +6 -6
  8. package/dist/encoding/encodings/muxings/fmp4/drm/speke/SpekeDrmListQueryParams.d.ts +6 -6
  9. package/dist/encoding/encodings/muxings/mp4/drm/speke/SpekeDrmListQueryParams.d.ts +6 -6
  10. package/dist/encoding/encodings/muxings/progressiveTs/drm/speke/SpekeDrmListQueryParams.d.ts +6 -6
  11. package/dist/encoding/encodings/muxings/progressiveWebm/drm/speke/SpekeDrmListQueryParams.d.ts +6 -6
  12. package/dist/encoding/encodings/muxings/ts/drm/speke/SpekeDrmListQueryParams.d.ts +6 -6
  13. package/dist/encoding/encodings/muxings/webm/drm/cenc/CencDrmListQueryParams.d.ts +6 -6
  14. package/dist/encoding/encodings/muxings/webm/drm/speke/SpekeDrmListQueryParams.d.ts +6 -6
  15. package/dist/models/index.d.ts +0 -1
  16. package/dist/models/index.js +0 -1
  17. package/package.json +1 -1
  18. package/dist/encoding/encodings/transferRetries/TransferRetriesApi.d.ts +0 -37
  19. package/dist/encoding/encodings/transferRetries/TransferRetriesApi.js +0 -88
  20. package/dist/encoding/encodings/transferRetries/TransferRetryListQueryParams.d.ts +0 -28
  21. package/dist/encoding/encodings/transferRetries/TransferRetryListQueryParams.js +0 -29
  22. package/dist/models/TransferRetry.d.ts +0 -34
  23. package/dist/models/TransferRetry.js +0 -41
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.270.0
34
+ npm install @bitmovin/api-sdk@1.271.1
35
35
  ```
36
36
 
37
37
  ## Initialization
@@ -6804,7 +6804,7 @@ var HeaderHandler = /** @class */ (function (_super) {
6804
6804
  var headers = {
6805
6805
  'X-Api-Key': apiKey,
6806
6806
  'X-Api-Client': 'bitmovin-api-sdk-javascript',
6807
- 'X-Api-Client-Version': '1.270.0',
6807
+ 'X-Api-Client-Version': '1.271.1',
6808
6808
  'Content-Type': 'application/json'
6809
6809
  };
6810
6810
  if (tenantOrgId) {
@@ -13356,7 +13356,6 @@ var StreamsApi_1 = __webpack_require__(/*! ./streams/StreamsApi */ "./encoding/e
13356
13356
  var InputStreamsApi_1 = __webpack_require__(/*! ./inputStreams/InputStreamsApi */ "./encoding/encodings/inputStreams/InputStreamsApi.ts");
13357
13357
  var MuxingsApi_1 = __webpack_require__(/*! ./muxings/MuxingsApi */ "./encoding/encodings/muxings/MuxingsApi.ts");
13358
13358
  var TemplateApi_1 = __webpack_require__(/*! ./template/TemplateApi */ "./encoding/encodings/template/TemplateApi.ts");
13359
- var TransferRetriesApi_1 = __webpack_require__(/*! ./transferRetries/TransferRetriesApi */ "./encoding/encodings/transferRetries/TransferRetriesApi.ts");
13360
13359
  var OutputPathsApi_1 = __webpack_require__(/*! ./outputPaths/OutputPathsApi */ "./encoding/encodings/outputPaths/OutputPathsApi.ts");
13361
13360
  var CaptionsApi_1 = __webpack_require__(/*! ./captions/CaptionsApi */ "./encoding/encodings/captions/CaptionsApi.ts");
13362
13361
  var SidecarsApi_1 = __webpack_require__(/*! ./sidecars/SidecarsApi */ "./encoding/encodings/sidecars/SidecarsApi.ts");
@@ -13385,7 +13384,6 @@ var EncodingsApi = /** @class */ (function (_super) {
13385
13384
  _this.inputStreams = new InputStreamsApi_1.default(configuration);
13386
13385
  _this.muxings = new MuxingsApi_1.default(configuration);
13387
13386
  _this.template = new TemplateApi_1.default(configuration);
13388
- _this.transferRetries = new TransferRetriesApi_1.default(configuration);
13389
13387
  _this.outputPaths = new OutputPathsApi_1.default(configuration);
13390
13388
  _this.captions = new CaptionsApi_1.default(configuration);
13391
13389
  _this.sidecars = new SidecarsApi_1.default(configuration);
@@ -32869,145 +32867,6 @@ var TemplateApi = /** @class */ (function (_super) {
32869
32867
  exports["default"] = TemplateApi;
32870
32868
 
32871
32869
 
32872
- /***/ },
32873
-
32874
- /***/ "./encoding/encodings/transferRetries/TransferRetriesApi.ts"
32875
- /*!******************************************************************!*\
32876
- !*** ./encoding/encodings/transferRetries/TransferRetriesApi.ts ***!
32877
- \******************************************************************/
32878
- (__unused_webpack_module, exports, __webpack_require__) {
32879
-
32880
- "use strict";
32881
-
32882
- var __extends = (this && this.__extends) || (function () {
32883
- var extendStatics = function (d, b) {
32884
- extendStatics = Object.setPrototypeOf ||
32885
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
32886
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
32887
- return extendStatics(d, b);
32888
- };
32889
- return function (d, b) {
32890
- if (typeof b !== "function" && b !== null)
32891
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
32892
- extendStatics(d, b);
32893
- function __() { this.constructor = d; }
32894
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
32895
- };
32896
- })();
32897
- Object.defineProperty(exports, "__esModule", ({ value: true }));
32898
- var BaseAPI_1 = __webpack_require__(/*! ../../../common/BaseAPI */ "./common/BaseAPI.ts");
32899
- var Mapper_1 = __webpack_require__(/*! ../../../common/Mapper */ "./common/Mapper.ts");
32900
- var TransferRetry_1 = __webpack_require__(/*! ../../../models/TransferRetry */ "./models/TransferRetry.ts");
32901
- var PaginationResponse_1 = __webpack_require__(/*! ../../../models/PaginationResponse */ "./models/PaginationResponse.ts");
32902
- var TransferRetryListQueryParams_1 = __webpack_require__(/*! ./TransferRetryListQueryParams */ "./encoding/encodings/transferRetries/TransferRetryListQueryParams.ts");
32903
- /**
32904
- * TransferRetriesApi - object-oriented interface
32905
- * @export
32906
- * @class TransferRetriesApi
32907
- * @extends {BaseAPI}
32908
- */
32909
- var TransferRetriesApi = /** @class */ (function (_super) {
32910
- __extends(TransferRetriesApi, _super);
32911
- function TransferRetriesApi(configuration) {
32912
- return _super.call(this, configuration) || this;
32913
- }
32914
- /**
32915
- * @summary Transfer retry
32916
- * @param {string} encodingId Id of the encoding.
32917
- * @throws {BitmovinError}
32918
- * @memberof TransferRetriesApi
32919
- */
32920
- TransferRetriesApi.prototype.create = function (encodingId) {
32921
- var pathParamMap = {
32922
- encoding_id: encodingId
32923
- };
32924
- return this.restClient.post('/encoding/encodings/{encoding_id}/transfer-retries', pathParamMap).then(function (response) {
32925
- return (0, Mapper_1.map)(response, TransferRetry_1.default);
32926
- });
32927
- };
32928
- /**
32929
- * @summary Transfer retry Details
32930
- * @param {string} encodingId Id of the encoding.
32931
- * @param {string} transferRetryId Id of the transfer-retry.
32932
- * @throws {BitmovinError}
32933
- * @memberof TransferRetriesApi
32934
- */
32935
- TransferRetriesApi.prototype.get = function (encodingId, transferRetryId) {
32936
- var pathParamMap = {
32937
- encoding_id: encodingId,
32938
- transfer_retry_id: transferRetryId
32939
- };
32940
- return this.restClient.get('/encoding/encodings/{encoding_id}/transfer-retries/{transfer_retry_id}', pathParamMap).then(function (response) {
32941
- return (0, Mapper_1.map)(response, TransferRetry_1.default);
32942
- });
32943
- };
32944
- /**
32945
- * @summary List transfer-retries
32946
- * @param {string} encodingId Id of the encoding.
32947
- * @param {*} [queryParameters] query parameters for filtering, sorting and pagination
32948
- * @throws {BitmovinError}
32949
- * @memberof TransferRetriesApi
32950
- */
32951
- TransferRetriesApi.prototype.list = function (encodingId, queryParameters) {
32952
- var pathParamMap = {
32953
- encoding_id: encodingId
32954
- };
32955
- var queryParams = {};
32956
- if (typeof queryParameters === 'function') {
32957
- queryParams = queryParameters(new TransferRetryListQueryParams_1.TransferRetryListQueryParamsBuilder()).buildQueryParams();
32958
- }
32959
- else if (queryParameters) {
32960
- queryParams = queryParameters;
32961
- }
32962
- return this.restClient.get('/encoding/encodings/{encoding_id}/transfer-retries', pathParamMap, queryParams).then(function (response) {
32963
- return new PaginationResponse_1.default(response, TransferRetry_1.default);
32964
- });
32965
- };
32966
- return TransferRetriesApi;
32967
- }(BaseAPI_1.BaseAPI));
32968
- exports["default"] = TransferRetriesApi;
32969
-
32970
-
32971
- /***/ },
32972
-
32973
- /***/ "./encoding/encodings/transferRetries/TransferRetryListQueryParams.ts"
32974
- /*!****************************************************************************!*\
32975
- !*** ./encoding/encodings/transferRetries/TransferRetryListQueryParams.ts ***!
32976
- \****************************************************************************/
32977
- (__unused_webpack_module, exports) {
32978
-
32979
- "use strict";
32980
-
32981
- Object.defineProperty(exports, "__esModule", ({ value: true }));
32982
- exports.TransferRetryListQueryParamsBuilder = void 0;
32983
- var TransferRetryListQueryParamsBuilder = /** @class */ (function () {
32984
- function TransferRetryListQueryParamsBuilder() {
32985
- this.internalParams = {};
32986
- }
32987
- /**
32988
- *
32989
- * @param offset Index of the first item to return, starting at 0. Default is 0
32990
- */
32991
- TransferRetryListQueryParamsBuilder.prototype.offset = function (offset) {
32992
- this.internalParams.offset = offset;
32993
- return this;
32994
- };
32995
- /**
32996
- *
32997
- * @param limit Maximum number of items to return. Default is 25, maximum is 100
32998
- */
32999
- TransferRetryListQueryParamsBuilder.prototype.limit = function (limit) {
33000
- this.internalParams.limit = limit;
33001
- return this;
33002
- };
33003
- TransferRetryListQueryParamsBuilder.prototype.buildQueryParams = function () {
33004
- return this.internalParams;
33005
- };
33006
- return TransferRetryListQueryParamsBuilder;
33007
- }());
33008
- exports.TransferRetryListQueryParamsBuilder = TransferRetryListQueryParamsBuilder;
33009
-
33010
-
33011
32870
  /***/ },
33012
32871
 
33013
32872
  /***/ "./encoding/errorDefinitions/EncodingErrorDefinitionListQueryParams.ts"
@@ -90516,58 +90375,6 @@ exports.TimecodeTrackTrimmingInputStream = TimecodeTrackTrimmingInputStream;
90516
90375
  exports["default"] = TimecodeTrackTrimmingInputStream;
90517
90376
 
90518
90377
 
90519
- /***/ },
90520
-
90521
- /***/ "./models/TransferRetry.ts"
90522
- /*!*********************************!*\
90523
- !*** ./models/TransferRetry.ts ***!
90524
- \*********************************/
90525
- (__unused_webpack_module, exports, __webpack_require__) {
90526
-
90527
- "use strict";
90528
-
90529
- var __extends = (this && this.__extends) || (function () {
90530
- var extendStatics = function (d, b) {
90531
- extendStatics = Object.setPrototypeOf ||
90532
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
90533
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
90534
- return extendStatics(d, b);
90535
- };
90536
- return function (d, b) {
90537
- if (typeof b !== "function" && b !== null)
90538
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
90539
- extendStatics(d, b);
90540
- function __() { this.constructor = d; }
90541
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
90542
- };
90543
- })();
90544
- Object.defineProperty(exports, "__esModule", ({ value: true }));
90545
- exports.TransferRetry = void 0;
90546
- var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
90547
- var BitmovinResource_1 = __webpack_require__(/*! ./BitmovinResource */ "./models/BitmovinResource.ts");
90548
- /**
90549
- * @export
90550
- * @class TransferRetry
90551
- */
90552
- var TransferRetry = /** @class */ (function (_super) {
90553
- __extends(TransferRetry, _super);
90554
- function TransferRetry(obj) {
90555
- var _this = _super.call(this, obj) || this;
90556
- if (!obj) {
90557
- return _this;
90558
- }
90559
- _this.status = (0, Mapper_1.map)(obj.status);
90560
- _this.startedAt = (0, Mapper_1.map)(obj.startedAt, Date);
90561
- _this.finishedAt = (0, Mapper_1.map)(obj.finishedAt, Date);
90562
- _this.errorAt = (0, Mapper_1.map)(obj.errorAt, Date);
90563
- return _this;
90564
- }
90565
- return TransferRetry;
90566
- }(BitmovinResource_1.default));
90567
- exports.TransferRetry = TransferRetry;
90568
- exports["default"] = TransferRetry;
90569
-
90570
-
90571
90378
  /***/ },
90572
90379
 
90573
90380
  /***/ "./models/TransferVersion.ts"
@@ -93825,7 +93632,6 @@ __exportStar(__webpack_require__(/*! ./ThumbnailUnit */ "./models/ThumbnailUnit.
93825
93632
  __exportStar(__webpack_require__(/*! ./TimeBasedTrimmingInputStream */ "./models/TimeBasedTrimmingInputStream.ts"), exports);
93826
93633
  __exportStar(__webpack_require__(/*! ./TimeSpan */ "./models/TimeSpan.ts"), exports);
93827
93634
  __exportStar(__webpack_require__(/*! ./TimecodeTrackTrimmingInputStream */ "./models/TimecodeTrackTrimmingInputStream.ts"), exports);
93828
- __exportStar(__webpack_require__(/*! ./TransferRetry */ "./models/TransferRetry.ts"), exports);
93829
93635
  __exportStar(__webpack_require__(/*! ./TransferVersion */ "./models/TransferVersion.ts"), exports);
93830
93636
  __exportStar(__webpack_require__(/*! ./TransformSkipMode */ "./models/TransformSkipMode.ts"), exports);
93831
93637
  __exportStar(__webpack_require__(/*! ./Trimming */ "./models/Trimming.ts"), exports);