@bitmovin/api-sdk 1.174.0 → 1.176.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.174.0
34
+ npm install @bitmovin/api-sdk@1.176.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.174.0',
5990
+ 'X-Api-Client-Version': '1.176.0',
5991
5991
  'Content-Type': 'application/json'
5992
5992
  };
5993
5993
  if (tenantOrgId) {
@@ -31036,12 +31036,28 @@ var FilterListQueryParamsBuilder = /** @class */ (function () {
31036
31036
  };
31037
31037
  /**
31038
31038
  *
31039
- * @param name Filter filters by name
31039
+ * @param name Filter filters by name. Multiple names are separated with a `,`
31040
31040
  */
31041
31041
  FilterListQueryParamsBuilder.prototype.name = function (name) {
31042
31042
  this.internalParams.name = name;
31043
31043
  return this;
31044
31044
  };
31045
+ /**
31046
+ *
31047
+ * @param sort Order list result according to a filter resource attribute. The fields that can be used for sorting are: + `id` + `createdAt` + `modifiedAt` + `type` + `name`
31048
+ */
31049
+ FilterListQueryParamsBuilder.prototype.sort = function (sort) {
31050
+ this.internalParams.sort = sort;
31051
+ return this;
31052
+ };
31053
+ /**
31054
+ *
31055
+ * @param type Filter filters by type. Multiple types are separated with a `,`
31056
+ */
31057
+ FilterListQueryParamsBuilder.prototype.type = function (type) {
31058
+ this.internalParams.type = type;
31059
+ return this;
31060
+ };
31045
31061
  FilterListQueryParamsBuilder.prototype.buildQueryParams = function () {
31046
31062
  return this.internalParams;
31047
31063
  };
@@ -67572,6 +67588,7 @@ var Encoding = /** @class */ (function (_super) {
67572
67588
  _this.selectedEncoderVersion = (0, Mapper_1.map)(obj.selectedEncoderVersion);
67573
67589
  _this.selectedEncodingMode = (0, Mapper_1.map)(obj.selectedEncodingMode);
67574
67590
  _this.selectedCloudRegion = (0, Mapper_1.map)(obj.selectedCloudRegion);
67591
+ _this.selectedFallbackCloudRegions = (0, Mapper_1.mapArray)(obj.selectedFallbackCloudRegions);
67575
67592
  _this.status = (0, Mapper_1.map)(obj.status);
67576
67593
  _this.labels = (0, Mapper_1.mapArray)(obj.labels);
67577
67594
  _this.liveOptionsType = (0, Mapper_1.map)(obj.liveOptionsType);
@@ -68018,7 +68035,7 @@ var EncodingStatisticsVod = /** @class */ (function (_super) {
68018
68035
  return _this;
68019
68036
  }
68020
68037
  _this.timeEnqueued = (0, Mapper_1.map)(obj.timeEnqueued);
68021
- _this.realTimeFactor = (0, Mapper_1.map)(obj.realTimeFactor);
68038
+ _this.realtimeFactor = (0, Mapper_1.map)(obj.realtimeFactor);
68022
68039
  return _this;
68023
68040
  }
68024
68041
  return EncodingStatisticsVod;
@@ -75034,6 +75051,7 @@ var Organization = /** @class */ (function (_super) {
75034
75051
  _this.parentId = (0, Mapper_1.map)(obj.parentId);
75035
75052
  _this.labelColor = (0, Mapper_1.map)(obj.labelColor);
75036
75053
  _this.limitsPerResource = (0, Mapper_1.mapArray)(obj.limitsPerResource, ResourceLimitContainer_1.default);
75054
+ _this.signupSource = (0, Mapper_1.map)(obj.signupSource);
75037
75055
  return _this;
75038
75056
  }
75039
75057
  return Organization;
@@ -78835,6 +78853,33 @@ var SignatureType;
78835
78853
  exports["default"] = SignatureType;
78836
78854
 
78837
78855
 
78856
+ /***/ }),
78857
+
78858
+ /***/ "./models/SignupSource.ts":
78859
+ /*!********************************!*\
78860
+ !*** ./models/SignupSource.ts ***!
78861
+ \********************************/
78862
+ /***/ ((__unused_webpack_module, exports) => {
78863
+
78864
+ "use strict";
78865
+
78866
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
78867
+ exports.SignupSource = void 0;
78868
+ /**
78869
+ * platform which initiated the creation of the resource
78870
+ * @export
78871
+ * @enum {string}
78872
+ */
78873
+ var SignupSource;
78874
+ (function (SignupSource) {
78875
+ SignupSource["AWS"] = "AWS";
78876
+ SignupSource["AZURE"] = "AZURE";
78877
+ SignupSource["BITMOVIN"] = "BITMOVIN";
78878
+ SignupSource["GOOGLE"] = "GOOGLE";
78879
+ })(SignupSource = exports.SignupSource || (exports.SignupSource = {}));
78880
+ exports["default"] = SignupSource;
78881
+
78882
+
78838
78883
  /***/ }),
78839
78884
 
78840
78885
  /***/ "./models/SimpleEncodingLiveCloudRegion.ts":
@@ -82433,6 +82478,30 @@ exports.StreamsContentProtectionResponse = StreamsContentProtectionResponse;
82433
82478
  exports["default"] = StreamsContentProtectionResponse;
82434
82479
 
82435
82480
 
82481
+ /***/ }),
82482
+
82483
+ /***/ "./models/StreamsEncodingProfile.ts":
82484
+ /*!******************************************!*\
82485
+ !*** ./models/StreamsEncodingProfile.ts ***!
82486
+ \******************************************/
82487
+ /***/ ((__unused_webpack_module, exports) => {
82488
+
82489
+ "use strict";
82490
+
82491
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
82492
+ exports.StreamsEncodingProfile = void 0;
82493
+ /**
82494
+ * @export
82495
+ * @enum {string}
82496
+ */
82497
+ var StreamsEncodingProfile;
82498
+ (function (StreamsEncodingProfile) {
82499
+ StreamsEncodingProfile["PER_TITLE"] = "PER_TITLE";
82500
+ StreamsEncodingProfile["FIXED_RESOLUTIONS"] = "FIXED_RESOLUTIONS";
82501
+ })(StreamsEncodingProfile = exports.StreamsEncodingProfile || (exports.StreamsEncodingProfile = {}));
82502
+ exports["default"] = StreamsEncodingProfile;
82503
+
82504
+
82436
82505
  /***/ }),
82437
82506
 
82438
82507
  /***/ "./models/StreamsLiveCreateRequest.ts":
@@ -82457,8 +82526,6 @@ var StreamsLiveCreateRequest = /** @class */ (function () {
82457
82526
  }
82458
82527
  this.title = (0, Mapper_1.map)(obj.title);
82459
82528
  this.description = (0, Mapper_1.map)(obj.description);
82460
- this.styleConfigId = (0, Mapper_1.map)(obj.styleConfigId);
82461
- this.adConfigId = (0, Mapper_1.map)(obj.adConfigId);
82462
82529
  }
82463
82530
  return StreamsLiveCreateRequest;
82464
82531
  }());
@@ -82559,10 +82626,7 @@ var StreamsLiveUpdateRequest = /** @class */ (function () {
82559
82626
  }
82560
82627
  this.title = (0, Mapper_1.map)(obj.title);
82561
82628
  this.description = (0, Mapper_1.map)(obj.description);
82562
- this.styleConfigId = (0, Mapper_1.map)(obj.styleConfigId);
82563
82629
  this.posterUrl = (0, Mapper_1.map)(obj.posterUrl);
82564
- this.adConfigId = (0, Mapper_1.map)(obj.adConfigId);
82565
- this.contentProtectionId = (0, Mapper_1.map)(obj.contentProtectionId);
82566
82630
  }
82567
82631
  return StreamsLiveUpdateRequest;
82568
82632
  }());
@@ -82752,8 +82816,7 @@ var StreamsVideoCreateRequest = /** @class */ (function () {
82752
82816
  this.assetUrl = (0, Mapper_1.map)(obj.assetUrl);
82753
82817
  this.title = (0, Mapper_1.map)(obj.title);
82754
82818
  this.description = (0, Mapper_1.map)(obj.description);
82755
- this.styleConfigId = (0, Mapper_1.map)(obj.styleConfigId);
82756
- this.adConfigId = (0, Mapper_1.map)(obj.adConfigId);
82819
+ this.encodingProfile = (0, Mapper_1.map)(obj.encodingProfile);
82757
82820
  }
82758
82821
  return StreamsVideoCreateRequest;
82759
82822
  }());
@@ -82936,10 +82999,7 @@ var StreamsVideoUpdateRequest = /** @class */ (function () {
82936
82999
  this.status = (0, Mapper_1.map)(obj.status);
82937
83000
  this.title = (0, Mapper_1.map)(obj.title);
82938
83001
  this.description = (0, Mapper_1.map)(obj.description);
82939
- this.styleConfigId = (0, Mapper_1.map)(obj.styleConfigId);
82940
83002
  this.posterUrl = (0, Mapper_1.map)(obj.posterUrl);
82941
- this.adConfigId = (0, Mapper_1.map)(obj.adConfigId);
82942
- this.contentProtectionId = (0, Mapper_1.map)(obj.contentProtectionId);
82943
83003
  }
82944
83004
  return StreamsVideoUpdateRequest;
82945
83005
  }());
@@ -86795,6 +86855,7 @@ __exportStar(__webpack_require__(/*! ./SidecarErrorMode */ "./models/SidecarErro
86795
86855
  __exportStar(__webpack_require__(/*! ./SidecarFile */ "./models/SidecarFile.ts"), exports);
86796
86856
  __exportStar(__webpack_require__(/*! ./SidecarFileType */ "./models/SidecarFileType.ts"), exports);
86797
86857
  __exportStar(__webpack_require__(/*! ./SignatureType */ "./models/SignatureType.ts"), exports);
86858
+ __exportStar(__webpack_require__(/*! ./SignupSource */ "./models/SignupSource.ts"), exports);
86798
86859
  __exportStar(__webpack_require__(/*! ./SimpleEncodingLiveCloudRegion */ "./models/SimpleEncodingLiveCloudRegion.ts"), exports);
86799
86860
  __exportStar(__webpack_require__(/*! ./SimpleEncodingLiveJobAccessKeyCredentials */ "./models/SimpleEncodingLiveJobAccessKeyCredentials.ts"), exports);
86800
86861
  __exportStar(__webpack_require__(/*! ./SimpleEncodingLiveJobAzureCredentials */ "./models/SimpleEncodingLiveJobAzureCredentials.ts"), exports);
@@ -86887,6 +86948,7 @@ __exportStar(__webpack_require__(/*! ./StreamSelectionMode */ "./models/StreamSe
86887
86948
  __exportStar(__webpack_require__(/*! ./StreamsAdConfigAd */ "./models/StreamsAdConfigAd.ts"), exports);
86888
86949
  __exportStar(__webpack_require__(/*! ./StreamsAdConfigResponse */ "./models/StreamsAdConfigResponse.ts"), exports);
86889
86950
  __exportStar(__webpack_require__(/*! ./StreamsContentProtectionResponse */ "./models/StreamsContentProtectionResponse.ts"), exports);
86951
+ __exportStar(__webpack_require__(/*! ./StreamsEncodingProfile */ "./models/StreamsEncodingProfile.ts"), exports);
86890
86952
  __exportStar(__webpack_require__(/*! ./StreamsLiveCreateRequest */ "./models/StreamsLiveCreateRequest.ts"), exports);
86891
86953
  __exportStar(__webpack_require__(/*! ./StreamsLiveLifeCycle */ "./models/StreamsLiveLifeCycle.ts"), exports);
86892
86954
  __exportStar(__webpack_require__(/*! ./StreamsLiveResponse */ "./models/StreamsLiveResponse.ts"), exports);
@@ -90734,21 +90796,6 @@ var LiveApi = /** @class */ (function (_super) {
90734
90796
  return (0, Mapper_1.map)(response, StreamsLiveResponse_1.default);
90735
90797
  });
90736
90798
  };
90737
- /**
90738
- * @summary Update live stream by id
90739
- * @param {string} streamId Id of the stream.
90740
- * @param {StreamsLiveUpdateRequest} streamsLiveUpdateRequest The updated Streams live object.
90741
- * @throws {BitmovinError}
90742
- * @memberof LiveApi
90743
- */
90744
- LiveApi.prototype.update = function (streamId, streamsLiveUpdateRequest) {
90745
- var pathParamMap = {
90746
- stream_id: streamId
90747
- };
90748
- return this.restClient.put('/streams/live/{stream_id}', pathParamMap, streamsLiveUpdateRequest).then(function (response) {
90749
- return (0, Mapper_1.map)(response, StreamsLiveResponse_1.default);
90750
- });
90751
- };
90752
90799
  return LiveApi;
90753
90800
  }(BaseAPI_1.BaseAPI));
90754
90801
  exports["default"] = LiveApi;