@bitmovin/api-sdk 1.158.0 → 1.159.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.158.0
34
+ npm install @bitmovin/api-sdk@1.159.0
35
35
  ```
36
36
 
37
37
  ## Initialization
@@ -5987,7 +5987,7 @@ var HeaderHandler = /** @class */ (function (_super) {
5987
5987
  var headers = {
5988
5988
  'X-Api-Key': apiKey,
5989
5989
  'X-Api-Client': 'bitmovin-api-sdk-javascript',
5990
- 'X-Api-Client-Version': '1.158.0',
5990
+ 'X-Api-Client-Version': '1.159.0',
5991
5991
  'Content-Type': 'application/json'
5992
5992
  };
5993
5993
  if (tenantOrgId) {
@@ -58730,6 +58730,31 @@ var AudioVolumeUnit;
58730
58730
  exports["default"] = AudioVolumeUnit;
58731
58731
 
58732
58732
 
58733
+ /***/ }),
58734
+
58735
+ /***/ "./models/AutoLevelSetup.ts":
58736
+ /*!**********************************!*\
58737
+ !*** ./models/AutoLevelSetup.ts ***!
58738
+ \**********************************/
58739
+ /***/ ((__unused_webpack_module, exports) => {
58740
+
58741
+ "use strict";
58742
+
58743
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
58744
+ exports.AutoLevelSetup = void 0;
58745
+ /**
58746
+ * Enable/disable automatic calculation of level, maxBitrate, and bufsize based on the least level that satisfies maximum property values for picture resolution, frame rate, and bit rate.
58747
+ * @export
58748
+ * @enum {string}
58749
+ */
58750
+ var AutoLevelSetup;
58751
+ (function (AutoLevelSetup) {
58752
+ AutoLevelSetup["ENABLED"] = "ENABLED";
58753
+ AutoLevelSetup["DISABLED"] = "DISABLED";
58754
+ })(AutoLevelSetup = exports.AutoLevelSetup || (exports.AutoLevelSetup = {}));
58755
+ exports["default"] = AutoLevelSetup;
58756
+
58757
+
58733
58758
  /***/ }),
58734
58759
 
58735
58760
  /***/ "./models/AutoRepresentation.ts":
@@ -58918,6 +58943,7 @@ var Av1VideoConfiguration = /** @class */ (function (_super) {
58918
58943
  return _this;
58919
58944
  }
58920
58945
  _this.presetConfiguration = (0, Mapper_1.map)(obj.presetConfiguration);
58946
+ _this.autoLevelSetup = (0, Mapper_1.map)(obj.autoLevelSetup);
58921
58947
  return _this;
58922
58948
  }
58923
58949
  return Av1VideoConfiguration;
@@ -69576,6 +69602,7 @@ var H264VideoConfiguration = /** @class */ (function (_super) {
69576
69602
  _this.quantizerCurveCompression = (0, Mapper_1.map)(obj.quantizerCurveCompression);
69577
69603
  _this.psyRateDistortionOptimization = (0, Mapper_1.map)(obj.psyRateDistortionOptimization);
69578
69604
  _this.psyTrellis = (0, Mapper_1.map)(obj.psyTrellis);
69605
+ _this.autoLevelSetup = (0, Mapper_1.map)(obj.autoLevelSetup);
69579
69606
  return _this;
69580
69607
  }
69581
69608
  return H264VideoConfiguration;
@@ -69807,6 +69834,7 @@ var H265VideoConfiguration = /** @class */ (function (_super) {
69807
69834
  _this.limitSao = (0, Mapper_1.map)(obj.limitSao);
69808
69835
  _this.lowpassDct = (0, Mapper_1.map)(obj.lowpassDct);
69809
69836
  _this.cea608708SubtitleConfig = (0, Mapper_1.map)(obj.cea608708SubtitleConfig, Cea608708SubtitleConfiguration_1.default);
69837
+ _this.autoLevelSetup = (0, Mapper_1.map)(obj.autoLevelSetup);
69810
69838
  return _this;
69811
69839
  }
69812
69840
  return H265VideoConfiguration;
@@ -81321,6 +81349,7 @@ var StreamsLiveResponse = /** @class */ (function () {
81321
81349
  this.createdAt = (0, Mapper_1.map)(obj.createdAt, Date);
81322
81350
  this.lifeCycle = (0, Mapper_1.map)(obj.lifeCycle);
81323
81351
  this.config = (0, Mapper_1.map)(obj.config, StreamsConfigResponse_1.default);
81352
+ this.posterUrl = (0, Mapper_1.map)(obj.posterUrl);
81324
81353
  }
81325
81354
  return StreamsLiveResponse;
81326
81355
  }());
@@ -81353,6 +81382,7 @@ var StreamsLiveUpdateRequest = /** @class */ (function () {
81353
81382
  this.title = (0, Mapper_1.map)(obj.title);
81354
81383
  this.description = (0, Mapper_1.map)(obj.description);
81355
81384
  this.configId = (0, Mapper_1.map)(obj.configId);
81385
+ this.posterUrl = (0, Mapper_1.map)(obj.posterUrl);
81356
81386
  }
81357
81387
  return StreamsLiveUpdateRequest;
81358
81388
  }());
@@ -81506,6 +81536,7 @@ var StreamsVideoResponse = /** @class */ (function () {
81506
81536
  this.status = (0, Mapper_1.map)(obj.status);
81507
81537
  this.config = (0, Mapper_1.map)(obj.config, StreamsConfigResponse_1.default);
81508
81538
  this.encodingTasks = (0, Mapper_1.mapArray)(obj.encodingTasks, StreamsVideoEncodingTask_1.default);
81539
+ this.posterUrl = (0, Mapper_1.map)(obj.posterUrl);
81509
81540
  }
81510
81541
  return StreamsVideoResponse;
81511
81542
  }());
@@ -81563,6 +81594,7 @@ var StreamsVideoUpdateRequest = /** @class */ (function () {
81563
81594
  this.title = (0, Mapper_1.map)(obj.title);
81564
81595
  this.description = (0, Mapper_1.map)(obj.description);
81565
81596
  this.configId = (0, Mapper_1.map)(obj.configId);
81597
+ this.posterUrl = (0, Mapper_1.map)(obj.posterUrl);
81566
81598
  }
81567
81599
  return StreamsVideoUpdateRequest;
81568
81600
  }());
@@ -83788,6 +83820,7 @@ var Vp9VideoConfiguration = /** @class */ (function (_super) {
83788
83820
  _this.arnrMaxFrames = (0, Mapper_1.map)(obj.arnrMaxFrames);
83789
83821
  _this.arnrStrength = (0, Mapper_1.map)(obj.arnrStrength);
83790
83822
  _this.arnrType = (0, Mapper_1.map)(obj.arnrType);
83823
+ _this.autoLevelSetup = (0, Mapper_1.map)(obj.autoLevelSetup);
83791
83824
  return _this;
83792
83825
  }
83793
83826
  return Vp9VideoConfiguration;
@@ -84936,6 +84969,7 @@ __exportStar(__webpack_require__(/*! ./AudioVideoSyncMode */ "./models/AudioVide
84936
84969
  __exportStar(__webpack_require__(/*! ./AudioVolumeFilter */ "./models/AudioVolumeFilter.ts"), exports);
84937
84970
  __exportStar(__webpack_require__(/*! ./AudioVolumeFormat */ "./models/AudioVolumeFormat.ts"), exports);
84938
84971
  __exportStar(__webpack_require__(/*! ./AudioVolumeUnit */ "./models/AudioVolumeUnit.ts"), exports);
84972
+ __exportStar(__webpack_require__(/*! ./AutoLevelSetup */ "./models/AutoLevelSetup.ts"), exports);
84939
84973
  __exportStar(__webpack_require__(/*! ./AutoRepresentation */ "./models/AutoRepresentation.ts"), exports);
84940
84974
  __exportStar(__webpack_require__(/*! ./AutoRestartConfiguration */ "./models/AutoRestartConfiguration.ts"), exports);
84941
84975
  __exportStar(__webpack_require__(/*! ./Av1PerTitleConfiguration */ "./models/Av1PerTitleConfiguration.ts"), exports);
@@ -89305,7 +89339,7 @@ var LiveApi = /** @class */ (function (_super) {
89305
89339
  });
89306
89340
  };
89307
89341
  /**
89308
- * @summary Update live stream by id
89342
+ * @summary Partially update live stream by id
89309
89343
  * @param {string} streamId Id of the stream.
89310
89344
  * @param {StreamsLiveUpdateRequest} streamsLiveUpdateRequest Stream fields to update.
89311
89345
  * @throws {BitmovinError}
@@ -89319,6 +89353,21 @@ var LiveApi = /** @class */ (function (_super) {
89319
89353
  return (0, Mapper_1.map)(response, StreamsLiveUpdateRequest_1.default);
89320
89354
  });
89321
89355
  };
89356
+ /**
89357
+ * @summary Update live stream by id
89358
+ * @param {string} streamId Id of the stream.
89359
+ * @param {StreamsLiveUpdateRequest} streamsLiveUpdateRequest The updated stream config object.
89360
+ * @throws {BitmovinError}
89361
+ * @memberof LiveApi
89362
+ */
89363
+ LiveApi.prototype.update = function (streamId, streamsLiveUpdateRequest) {
89364
+ var pathParamMap = {
89365
+ stream_id: streamId
89366
+ };
89367
+ return this.restClient.put('/streams/live/{stream_id}', pathParamMap, streamsLiveUpdateRequest).then(function (response) {
89368
+ return (0, Mapper_1.map)(response, StreamsLiveUpdateRequest_1.default);
89369
+ });
89370
+ };
89322
89371
  return LiveApi;
89323
89372
  }(BaseAPI_1.BaseAPI));
89324
89373
  exports["default"] = LiveApi;
@@ -89622,7 +89671,7 @@ var VideoApi = /** @class */ (function (_super) {
89622
89671
  });
89623
89672
  };
89624
89673
  /**
89625
- * @summary Update Streams video by id
89674
+ * @summary Partially update stream config by id
89626
89675
  * @param {string} streamId Id of the stream.
89627
89676
  * @param {StreamsVideoUpdateRequest} streamsVideoUpdateRequest Stream fields to update.
89628
89677
  * @throws {BitmovinError}