@bitmovin/api-sdk 1.269.0 → 1.270.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.269.0
34
+ npm install @bitmovin/api-sdk@1.270.0
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.269.0',
6807
+ 'X-Api-Client-Version': '1.270.0',
6808
6808
  'Content-Type': 'application/json'
6809
6809
  };
6810
6810
  if (tenantOrgId) {
@@ -16586,6 +16586,7 @@ var Mapper_1 = __webpack_require__(/*! ../../../common/Mapper */ "./common/Mappe
16586
16586
  var EsamApi_1 = __webpack_require__(/*! ./esam/EsamApi */ "./encoding/encodings/live/esam/EsamApi.ts");
16587
16587
  var ResetLiveManifestTimeshiftApi_1 = __webpack_require__(/*! ./resetLiveManifestTimeshift/ResetLiveManifestTimeshiftApi */ "./encoding/encodings/live/resetLiveManifestTimeshift/ResetLiveManifestTimeshiftApi.ts");
16588
16588
  var HeartbeatApi_1 = __webpack_require__(/*! ./heartbeat/HeartbeatApi */ "./encoding/encodings/live/heartbeat/HeartbeatApi.ts");
16589
+ var HeartbeatFinalApi_1 = __webpack_require__(/*! ./heartbeatFinal/HeartbeatFinalApi */ "./encoding/encodings/live/heartbeatFinal/HeartbeatFinalApi.ts");
16589
16590
  var HdApi_1 = __webpack_require__(/*! ./hd/HdApi */ "./encoding/encodings/live/hd/HdApi.ts");
16590
16591
  var InsertableContentApi_1 = __webpack_require__(/*! ./insertableContent/InsertableContentApi */ "./encoding/encodings/live/insertableContent/InsertableContentApi.ts");
16591
16592
  var Scte35CueApi_1 = __webpack_require__(/*! ./scte35Cue/Scte35CueApi */ "./encoding/encodings/live/scte35Cue/Scte35CueApi.ts");
@@ -16605,6 +16606,7 @@ var LiveApi = /** @class */ (function (_super) {
16605
16606
  _this.esam = new EsamApi_1.default(configuration);
16606
16607
  _this.resetLiveManifestTimeshift = new ResetLiveManifestTimeshiftApi_1.default(configuration);
16607
16608
  _this.heartbeat = new HeartbeatApi_1.default(configuration);
16609
+ _this.heartbeatFinal = new HeartbeatFinalApi_1.default(configuration);
16608
16610
  _this.hd = new HdApi_1.default(configuration);
16609
16611
  _this.insertableContent = new InsertableContentApi_1.default(configuration);
16610
16612
  _this.scte35Cue = new Scte35CueApi_1.default(configuration);
@@ -16926,6 +16928,65 @@ var HeartbeatApi = /** @class */ (function (_super) {
16926
16928
  exports["default"] = HeartbeatApi;
16927
16929
 
16928
16930
 
16931
+ /***/ },
16932
+
16933
+ /***/ "./encoding/encodings/live/heartbeatFinal/HeartbeatFinalApi.ts"
16934
+ /*!*********************************************************************!*\
16935
+ !*** ./encoding/encodings/live/heartbeatFinal/HeartbeatFinalApi.ts ***!
16936
+ \*********************************************************************/
16937
+ (__unused_webpack_module, exports, __webpack_require__) {
16938
+
16939
+ "use strict";
16940
+
16941
+ var __extends = (this && this.__extends) || (function () {
16942
+ var extendStatics = function (d, b) {
16943
+ extendStatics = Object.setPrototypeOf ||
16944
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
16945
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
16946
+ return extendStatics(d, b);
16947
+ };
16948
+ return function (d, b) {
16949
+ if (typeof b !== "function" && b !== null)
16950
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
16951
+ extendStatics(d, b);
16952
+ function __() { this.constructor = d; }
16953
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
16954
+ };
16955
+ })();
16956
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
16957
+ var BaseAPI_1 = __webpack_require__(/*! ../../../../common/BaseAPI */ "./common/BaseAPI.ts");
16958
+ var Mapper_1 = __webpack_require__(/*! ../../../../common/Mapper */ "./common/Mapper.ts");
16959
+ var LiveEncodingHeartbeatUrlResponse_1 = __webpack_require__(/*! ../../../../models/LiveEncodingHeartbeatUrlResponse */ "./models/LiveEncodingHeartbeatUrlResponse.ts");
16960
+ /**
16961
+ * HeartbeatFinalApi - object-oriented interface
16962
+ * @export
16963
+ * @class HeartbeatFinalApi
16964
+ * @extends {BaseAPI}
16965
+ */
16966
+ var HeartbeatFinalApi = /** @class */ (function (_super) {
16967
+ __extends(HeartbeatFinalApi, _super);
16968
+ function HeartbeatFinalApi(configuration) {
16969
+ return _super.call(this, configuration) || this;
16970
+ }
16971
+ /**
16972
+ * @summary Get Final Live Encoding Heartbeat Download URL
16973
+ * @param {string} encodingId Id of the encoding.
16974
+ * @throws {BitmovinError}
16975
+ * @memberof HeartbeatFinalApi
16976
+ */
16977
+ HeartbeatFinalApi.prototype.get = function (encodingId) {
16978
+ var pathParamMap = {
16979
+ encoding_id: encodingId
16980
+ };
16981
+ return this.restClient.get('/encoding/encodings/{encoding_id}/live/heartbeat-final', pathParamMap).then(function (response) {
16982
+ return (0, Mapper_1.map)(response, LiveEncodingHeartbeatUrlResponse_1.default);
16983
+ });
16984
+ };
16985
+ return HeartbeatFinalApi;
16986
+ }(BaseAPI_1.BaseAPI));
16987
+ exports["default"] = HeartbeatFinalApi;
16988
+
16989
+
16929
16990
  /***/ },
16930
16991
 
16931
16992
  /***/ "./encoding/encodings/live/insertableContent/InsertableContentApi.ts"
@@ -78677,6 +78738,36 @@ exports.LiveEncodingHeartbeatIngestStream = LiveEncodingHeartbeatIngestStream;
78677
78738
  exports["default"] = LiveEncodingHeartbeatIngestStream;
78678
78739
 
78679
78740
 
78741
+ /***/ },
78742
+
78743
+ /***/ "./models/LiveEncodingHeartbeatUrlResponse.ts"
78744
+ /*!****************************************************!*\
78745
+ !*** ./models/LiveEncodingHeartbeatUrlResponse.ts ***!
78746
+ \****************************************************/
78747
+ (__unused_webpack_module, exports, __webpack_require__) {
78748
+
78749
+ "use strict";
78750
+
78751
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
78752
+ exports.LiveEncodingHeartbeatUrlResponse = void 0;
78753
+ var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
78754
+ /**
78755
+ * @export
78756
+ * @class LiveEncodingHeartbeatUrlResponse
78757
+ */
78758
+ var LiveEncodingHeartbeatUrlResponse = /** @class */ (function () {
78759
+ function LiveEncodingHeartbeatUrlResponse(obj) {
78760
+ if (!obj) {
78761
+ return;
78762
+ }
78763
+ this.url = (0, Mapper_1.map)(obj.url);
78764
+ }
78765
+ return LiveEncodingHeartbeatUrlResponse;
78766
+ }());
78767
+ exports.LiveEncodingHeartbeatUrlResponse = LiveEncodingHeartbeatUrlResponse;
78768
+ exports["default"] = LiveEncodingHeartbeatUrlResponse;
78769
+
78770
+
78680
78771
  /***/ },
78681
78772
 
78682
78773
  /***/ "./models/LiveEncodingHeartbeatWebhook.ts"
@@ -93427,6 +93518,7 @@ __exportStar(__webpack_require__(/*! ./LiveEncodingHeartbeatEventType */ "./mode
93427
93518
  __exportStar(__webpack_require__(/*! ./LiveEncodingHeartbeatIngest */ "./models/LiveEncodingHeartbeatIngest.ts"), exports);
93428
93519
  __exportStar(__webpack_require__(/*! ./LiveEncodingHeartbeatIngestPoint */ "./models/LiveEncodingHeartbeatIngestPoint.ts"), exports);
93429
93520
  __exportStar(__webpack_require__(/*! ./LiveEncodingHeartbeatIngestStream */ "./models/LiveEncodingHeartbeatIngestStream.ts"), exports);
93521
+ __exportStar(__webpack_require__(/*! ./LiveEncodingHeartbeatUrlResponse */ "./models/LiveEncodingHeartbeatUrlResponse.ts"), exports);
93430
93522
  __exportStar(__webpack_require__(/*! ./LiveEncodingHeartbeatWebhook */ "./models/LiveEncodingHeartbeatWebhook.ts"), exports);
93431
93523
  __exportStar(__webpack_require__(/*! ./LiveEncodingOptionsStatistics */ "./models/LiveEncodingOptionsStatistics.ts"), exports);
93432
93524
  __exportStar(__webpack_require__(/*! ./LiveEncodingStats */ "./models/LiveEncodingStats.ts"), exports);