@bitmovin/api-sdk 1.171.0 → 1.173.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.171.0
34
+ npm install @bitmovin/api-sdk@1.173.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.171.0',
5990
+ 'X-Api-Client-Version': '1.173.0',
5991
5991
  'Content-Type': 'application/json'
5992
5992
  };
5993
5993
  if (tenantOrgId) {
@@ -53369,6 +53369,7 @@ var AccountInformation = /** @class */ (function (_super) {
53369
53369
  _this.phone = (0, Mapper_1.map)(obj.phone);
53370
53370
  _this.company = (0, Mapper_1.map)(obj.company);
53371
53371
  _this.verified = (0, Mapper_1.map)(obj.verified);
53372
+ _this.marketplace = (0, Mapper_1.map)(obj.marketplace);
53372
53373
  return _this;
53373
53374
  }
53374
53375
  return AccountInformation;
@@ -55509,6 +55510,7 @@ var AnalyticsAttribute;
55509
55510
  AnalyticsAttribute["ERROR_CODE"] = "ERROR_CODE";
55510
55511
  AnalyticsAttribute["ERROR_MESSAGE"] = "ERROR_MESSAGE";
55511
55512
  AnalyticsAttribute["ERROR_RATE"] = "ERROR_RATE";
55513
+ AnalyticsAttribute["ERROR_PERCENTAGE"] = "ERROR_PERCENTAGE";
55512
55514
  AnalyticsAttribute["EXPERIMENT_NAME"] = "EXPERIMENT_NAME";
55513
55515
  AnalyticsAttribute["FUNCTION"] = "FUNCTION";
55514
55516
  AnalyticsAttribute["HOUR"] = "HOUR";
@@ -73402,6 +73404,31 @@ exports.ManifestTypeResponse = ManifestTypeResponse;
73402
73404
  exports["default"] = ManifestTypeResponse;
73403
73405
 
73404
73406
 
73407
+ /***/ }),
73408
+
73409
+ /***/ "./models/Marketplace.ts":
73410
+ /*!*******************************!*\
73411
+ !*** ./models/Marketplace.ts ***!
73412
+ \*******************************/
73413
+ /***/ ((__unused_webpack_module, exports) => {
73414
+
73415
+ "use strict";
73416
+
73417
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
73418
+ exports.Marketplace = void 0;
73419
+ /**
73420
+ * Type of signup marketplace
73421
+ * @export
73422
+ * @enum {string}
73423
+ */
73424
+ var Marketplace;
73425
+ (function (Marketplace) {
73426
+ Marketplace["AWS"] = "AWS";
73427
+ Marketplace["AZURE"] = "AZURE";
73428
+ })(Marketplace = exports.Marketplace || (exports.Marketplace = {}));
73429
+ exports["default"] = Marketplace;
73430
+
73431
+
73405
73432
  /***/ }),
73406
73433
 
73407
73434
  /***/ "./models/MarlinDrm.ts":
@@ -86601,6 +86628,7 @@ __exportStar(__webpack_require__(/*! ./ManifestGenerator */ "./models/ManifestGe
86601
86628
  __exportStar(__webpack_require__(/*! ./ManifestResource */ "./models/ManifestResource.ts"), exports);
86602
86629
  __exportStar(__webpack_require__(/*! ./ManifestType */ "./models/ManifestType.ts"), exports);
86603
86630
  __exportStar(__webpack_require__(/*! ./ManifestTypeResponse */ "./models/ManifestTypeResponse.ts"), exports);
86631
+ __exportStar(__webpack_require__(/*! ./Marketplace */ "./models/Marketplace.ts"), exports);
86604
86632
  __exportStar(__webpack_require__(/*! ./MarlinDrm */ "./models/MarlinDrm.ts"), exports);
86605
86633
  __exportStar(__webpack_require__(/*! ./MaxCtuSize */ "./models/MaxCtuSize.ts"), exports);
86606
86634
  __exportStar(__webpack_require__(/*! ./MaxTransformUnitSize */ "./models/MaxTransformUnitSize.ts"), exports);
@@ -90616,6 +90644,20 @@ var LiveApi = /** @class */ (function (_super) {
90616
90644
  return (0, Mapper_1.map)(response, StreamsLiveResponse_1.default);
90617
90645
  });
90618
90646
  };
90647
+ /**
90648
+ * @summary Delete Stream
90649
+ * @param {string} streamId Id of the stream.
90650
+ * @throws {BitmovinError}
90651
+ * @memberof LiveApi
90652
+ */
90653
+ LiveApi.prototype.delete = function (streamId) {
90654
+ var pathParamMap = {
90655
+ stream_id: streamId
90656
+ };
90657
+ return this.restClient.delete('/streams/live/{stream_id}', pathParamMap).then(function (response) {
90658
+ return (0, Mapper_1.map)(response);
90659
+ });
90660
+ };
90619
90661
  /**
90620
90662
  * @summary Get live stream by id
90621
90663
  * @param {string} streamId Id of the stream.
@@ -91060,6 +91102,20 @@ var VideoApi = /** @class */ (function (_super) {
91060
91102
  return (0, Mapper_1.map)(response, StreamsVideoResponse_1.default);
91061
91103
  });
91062
91104
  };
91105
+ /**
91106
+ * @summary Delete Stream
91107
+ * @param {string} streamId Id of the stream.
91108
+ * @throws {BitmovinError}
91109
+ * @memberof VideoApi
91110
+ */
91111
+ VideoApi.prototype.delete = function (streamId) {
91112
+ var pathParamMap = {
91113
+ stream_id: streamId
91114
+ };
91115
+ return this.restClient.delete('/streams/video/{stream_id}', pathParamMap).then(function (response) {
91116
+ return (0, Mapper_1.map)(response);
91117
+ });
91118
+ };
91063
91119
  /**
91064
91120
  * @summary Get Streams video by id
91065
91121
  * @param {string} streamId Id of the stream.
@@ -91786,7 +91842,7 @@ function fetch(input, init) {
91786
91842
 
91787
91843
  xhr.ontimeout = function() {
91788
91844
  setTimeout(function() {
91789
- reject(new TypeError('Network request failed'))
91845
+ reject(new TypeError('Network request timed out'))
91790
91846
  }, 0)
91791
91847
  }
91792
91848
 
@@ -91863,6 +91919,7 @@ if (!g.fetch) {
91863
91919
  g.Response = Response
91864
91920
  }
91865
91921
 
91922
+
91866
91923
  /***/ })
91867
91924
 
91868
91925
  /******/ });