@bitmovin/api-sdk 1.268.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.268.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.268.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"
@@ -57164,6 +57225,7 @@ var AccountInformation = /** @class */ (function (_super) {
57164
57225
  _this.mfaEnabled = (0, Mapper_1.map)(obj.mfaEnabled);
57165
57226
  _this.intercomIdVerification = (0, Mapper_1.map)(obj.intercomIdVerification);
57166
57227
  _this.samlDomain = (0, Mapper_1.map)(obj.samlDomain);
57228
+ _this.tosAccepted = (0, Mapper_1.map)(obj.tosAccepted);
57167
57229
  return _this;
57168
57230
  }
57169
57231
  return AccountInformation;
@@ -57476,6 +57538,7 @@ var AdAnalyticsAttribute;
57476
57538
  AdAnalyticsAttribute["HOUR"] = "HOUR";
57477
57539
  AdAnalyticsAttribute["IP_ADDRESS"] = "IP_ADDRESS";
57478
57540
  AdAnalyticsAttribute["IS_LINEAR"] = "IS_LINEAR";
57541
+ AdAnalyticsAttribute["IS_SLATE"] = "IS_SLATE";
57479
57542
  AdAnalyticsAttribute["ISP"] = "ISP";
57480
57543
  AdAnalyticsAttribute["LANGUAGE"] = "LANGUAGE";
57481
57544
  AdAnalyticsAttribute["LICENSE_KEY"] = "LICENSE_KEY";
@@ -64473,7 +64536,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
64473
64536
  exports.AzureServicePrincipal = void 0;
64474
64537
  var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
64475
64538
  /**
64476
- * Azure service principal credentials for Microsoft Entra ID authentication
64539
+ * Azure service principal credentials for Microsoft Entra ID authentication. This authentication method is usable from encoder version 2.273.0 onwards.
64477
64540
  * @export
64478
64541
  * @class AzureServicePrincipal
64479
64542
  */
@@ -78579,6 +78642,10 @@ var LiveEncodingHeartbeatIngest = /** @class */ (function () {
78579
78642
  this.ingestPoints = (0, Mapper_1.mapArray)(obj.ingestPoints, LiveEncodingHeartbeatIngestPoint_1.default);
78580
78643
  this.streams = (0, Mapper_1.mapArray)(obj.streams, LiveEncodingHeartbeatIngestStream_1.default);
78581
78644
  this.rtmpUserIngestInfo = (0, Mapper_1.map)(obj.rtmpUserIngestInfo, RtmpUserIngestInfo_1.default);
78645
+ this.droppedPacketsVideo = (0, Mapper_1.map)(obj.droppedPacketsVideo);
78646
+ this.droppedPacketsAudio = (0, Mapper_1.map)(obj.droppedPacketsAudio);
78647
+ this.corruptPacketsVideo = (0, Mapper_1.map)(obj.corruptPacketsVideo);
78648
+ this.corruptPacketsAudio = (0, Mapper_1.map)(obj.corruptPacketsAudio);
78582
78649
  }
78583
78650
  return LiveEncodingHeartbeatIngest;
78584
78651
  }());
@@ -78671,6 +78738,36 @@ exports.LiveEncodingHeartbeatIngestStream = LiveEncodingHeartbeatIngestStream;
78671
78738
  exports["default"] = LiveEncodingHeartbeatIngestStream;
78672
78739
 
78673
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
+
78674
78771
  /***/ },
78675
78772
 
78676
78773
  /***/ "./models/LiveEncodingHeartbeatWebhook.ts"
@@ -93421,6 +93518,7 @@ __exportStar(__webpack_require__(/*! ./LiveEncodingHeartbeatEventType */ "./mode
93421
93518
  __exportStar(__webpack_require__(/*! ./LiveEncodingHeartbeatIngest */ "./models/LiveEncodingHeartbeatIngest.ts"), exports);
93422
93519
  __exportStar(__webpack_require__(/*! ./LiveEncodingHeartbeatIngestPoint */ "./models/LiveEncodingHeartbeatIngestPoint.ts"), exports);
93423
93520
  __exportStar(__webpack_require__(/*! ./LiveEncodingHeartbeatIngestStream */ "./models/LiveEncodingHeartbeatIngestStream.ts"), exports);
93521
+ __exportStar(__webpack_require__(/*! ./LiveEncodingHeartbeatUrlResponse */ "./models/LiveEncodingHeartbeatUrlResponse.ts"), exports);
93424
93522
  __exportStar(__webpack_require__(/*! ./LiveEncodingHeartbeatWebhook */ "./models/LiveEncodingHeartbeatWebhook.ts"), exports);
93425
93523
  __exportStar(__webpack_require__(/*! ./LiveEncodingOptionsStatistics */ "./models/LiveEncodingOptionsStatistics.ts"), exports);
93426
93524
  __exportStar(__webpack_require__(/*! ./LiveEncodingStats */ "./models/LiveEncodingStats.ts"), exports);