@bitmovin/api-sdk 1.138.0 → 1.140.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.
Files changed (67) hide show
  1. package/README.md +1 -1
  2. package/dist/BitmovinApi.d.ts +2 -2
  3. package/dist/BitmovinApi.js +2 -2
  4. package/dist/bitmovin-api-sdk.browser.js +448 -275
  5. package/dist/bitmovin-api-sdk.browser.min.js +1 -1
  6. package/dist/common/ConsoleLogger.js +1 -1
  7. package/dist/common/Mapper.d.ts +1 -1
  8. package/dist/common/NullLogger.js +1 -1
  9. package/dist/common/RestClient.d.ts +1 -1
  10. package/dist/common/RestClient.js +2 -2
  11. package/dist/models/AbstractCondition.d.ts +1 -1
  12. package/dist/models/AdAnalyticsAbstractFilter.d.ts +1 -1
  13. package/dist/models/AdaptationSet.d.ts +1 -1
  14. package/dist/models/AnalyticsAbstractFilter.d.ts +1 -1
  15. package/dist/models/AnalyticsOutput.d.ts +1 -1
  16. package/dist/models/CodecConfiguration.d.ts +1 -1
  17. package/dist/models/DashRepresentation.d.ts +1 -1
  18. package/dist/models/DefaultManifestCondition.d.ts +1 -1
  19. package/dist/models/Drm.d.ts +1 -1
  20. package/dist/models/Filter.d.ts +1 -1
  21. package/dist/models/Id3Tag.d.ts +1 -1
  22. package/dist/models/Input.d.ts +1 -1
  23. package/dist/models/InputStream.d.ts +1 -1
  24. package/dist/models/Muxing.d.ts +1 -1
  25. package/dist/models/Output.d.ts +2 -1
  26. package/dist/models/SidecarFile.d.ts +1 -1
  27. package/dist/models/SimpleEncodingLiveJobOutput.d.ts +1 -1
  28. package/dist/models/SimpleEncodingVodJobInput.d.ts +1 -1
  29. package/dist/models/SimpleEncodingVodJobOutput.d.ts +8 -1
  30. package/dist/models/SimpleEncodingVodJobOutput.js +3 -0
  31. package/dist/models/SimpleEncodingVodJobOutputArtifact.d.ts +20 -0
  32. package/dist/models/SimpleEncodingVodJobOutputArtifact.js +20 -0
  33. package/dist/models/StreamsLiveUpdateRequest.d.ts +20 -0
  34. package/dist/models/StreamsLiveUpdateRequest.js +20 -0
  35. package/dist/models/StreamsVideoCreateRequest.d.ts +26 -0
  36. package/dist/models/{CreateBitmovinStreamRequest.js → StreamsVideoCreateRequest.js} +7 -7
  37. package/dist/models/{BitmovinStreamEncodingStatus.d.ts → StreamsVideoEncodingStatus.d.ts} +2 -2
  38. package/dist/models/StreamsVideoEncodingStatus.js +14 -0
  39. package/dist/models/StreamsVideoEncodingTask.d.ts +22 -0
  40. package/dist/models/StreamsVideoEncodingTask.js +20 -0
  41. package/dist/models/{BitmovinStreamQuality.d.ts → StreamsVideoQuality.d.ts} +2 -2
  42. package/dist/models/StreamsVideoQuality.js +14 -0
  43. package/dist/models/StreamsVideoResponse.d.ts +52 -0
  44. package/dist/models/{BitmovinStreamResponse.js → StreamsVideoResponse.js} +9 -11
  45. package/dist/models/{BitmovinStreamStatus.d.ts → StreamsVideoStatus.d.ts} +2 -2
  46. package/dist/models/StreamsVideoStatus.js +13 -0
  47. package/dist/models/StreamsVideoUpdateRequest.d.ts +27 -0
  48. package/dist/models/{UpdateBitmovinStreamRequest.js → StreamsVideoUpdateRequest.js} +7 -7
  49. package/dist/models/index.d.ts +9 -7
  50. package/dist/models/index.js +9 -7
  51. package/dist/streams/StreamsApi.d.ts +4 -34
  52. package/dist/streams/StreamsApi.js +6 -63
  53. package/dist/streams/live/LiveApi.d.ts +20 -0
  54. package/dist/streams/live/LiveApi.js +49 -0
  55. package/dist/streams/{BitmovinStreamResponseListQueryParams.d.ts → video/StreamsVideoResponseListQueryParams.d.ts} +6 -6
  56. package/dist/streams/{BitmovinStreamResponseListQueryParams.js → video/StreamsVideoResponseListQueryParams.js} +9 -9
  57. package/dist/streams/video/VideoApi.d.ts +45 -0
  58. package/dist/streams/video/VideoApi.js +94 -0
  59. package/package.json +1 -1
  60. package/dist/models/BitmovinStreamEncodingStatus.js +0 -14
  61. package/dist/models/BitmovinStreamEncodingTask.d.ts +0 -22
  62. package/dist/models/BitmovinStreamEncodingTask.js +0 -20
  63. package/dist/models/BitmovinStreamQuality.js +0 -14
  64. package/dist/models/BitmovinStreamResponse.d.ts +0 -65
  65. package/dist/models/BitmovinStreamStatus.js +0 -13
  66. package/dist/models/CreateBitmovinStreamRequest.d.ts +0 -26
  67. package/dist/models/UpdateBitmovinStreamRequest.d.ts +0 -27
@@ -1237,11 +1237,11 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
1237
1237
  var BaseAPI_1 = __webpack_require__(/*! ./common/BaseAPI */ "./common/BaseAPI.ts");
1238
1238
  var AccountApi_1 = __webpack_require__(/*! ./account/AccountApi */ "./account/AccountApi.ts");
1239
1239
  var AnalyticsApi_1 = __webpack_require__(/*! ./analytics/AnalyticsApi */ "./analytics/AnalyticsApi.ts");
1240
- var StreamsApi_1 = __webpack_require__(/*! ./streams/StreamsApi */ "./streams/StreamsApi.ts");
1241
1240
  var EncodingApi_1 = __webpack_require__(/*! ./encoding/EncodingApi */ "./encoding/EncodingApi.ts");
1242
1241
  var GeneralApi_1 = __webpack_require__(/*! ./general/GeneralApi */ "./general/GeneralApi.ts");
1243
1242
  var NotificationsApi_1 = __webpack_require__(/*! ./notifications/NotificationsApi */ "./notifications/NotificationsApi.ts");
1244
1243
  var PlayerApi_1 = __webpack_require__(/*! ./player/PlayerApi */ "./player/PlayerApi.ts");
1244
+ var StreamsApi_1 = __webpack_require__(/*! ./streams/StreamsApi */ "./streams/StreamsApi.ts");
1245
1245
  /**
1246
1246
  * BitmovinApi - object-oriented interface
1247
1247
  * @export
@@ -1254,11 +1254,11 @@ var BitmovinApi = /** @class */ (function (_super) {
1254
1254
  var _this = _super.call(this, configuration) || this;
1255
1255
  _this.account = new AccountApi_1.default(configuration);
1256
1256
  _this.analytics = new AnalyticsApi_1.default(configuration);
1257
- _this.streams = new StreamsApi_1.default(configuration);
1258
1257
  _this.encoding = new EncodingApi_1.default(configuration);
1259
1258
  _this.general = new GeneralApi_1.default(configuration);
1260
1259
  _this.notifications = new NotificationsApi_1.default(configuration);
1261
1260
  _this.player = new PlayerApi_1.default(configuration);
1261
+ _this.streams = new StreamsApi_1.default(configuration);
1262
1262
  return _this;
1263
1263
  }
1264
1264
  return BitmovinApi;
@@ -5531,7 +5531,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
5531
5531
  function verb(n) { return function (v) { return step([n, v]); }; }
5532
5532
  function step(op) {
5533
5533
  if (f) throw new TypeError("Generator is already executing.");
5534
- while (_) try {
5534
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
5535
5535
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
5536
5536
  if (y = 0, t) op = [op[0] & 2, t.value];
5537
5537
  switch (op[0]) {
@@ -5690,7 +5690,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
5690
5690
  function verb(n) { return function (v) { return step([n, v]); }; }
5691
5691
  function step(op) {
5692
5692
  if (f) throw new TypeError("Generator is already executing.");
5693
- while (_) try {
5693
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
5694
5694
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
5695
5695
  if (y = 0, t) op = [op[0] & 2, t.value];
5696
5696
  switch (op[0]) {
@@ -5776,7 +5776,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
5776
5776
  function verb(n) { return function (v) { return step([n, v]); }; }
5777
5777
  function step(op) {
5778
5778
  if (f) throw new TypeError("Generator is already executing.");
5779
- while (_) try {
5779
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
5780
5780
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
5781
5781
  if (y = 0, t) op = [op[0] & 2, t.value];
5782
5782
  switch (op[0]) {
@@ -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.138.0',
5990
+ 'X-Api-Client-Version': '1.140.0',
5991
5991
  'Content-Type': 'application/json'
5992
5992
  };
5993
5993
  if (tenantOrgId) {
@@ -59728,150 +59728,6 @@ exports.BitmovinResponseList = BitmovinResponseList;
59728
59728
  exports["default"] = BitmovinResponseList;
59729
59729
 
59730
59730
 
59731
- /***/ }),
59732
-
59733
- /***/ "./models/BitmovinStreamEncodingStatus.ts":
59734
- /*!************************************************!*\
59735
- !*** ./models/BitmovinStreamEncodingStatus.ts ***!
59736
- \************************************************/
59737
- /***/ ((__unused_webpack_module, exports) => {
59738
-
59739
- "use strict";
59740
-
59741
- Object.defineProperty(exports, "__esModule", ({ value: true }));
59742
- exports.BitmovinStreamEncodingStatus = void 0;
59743
- /**
59744
- * @export
59745
- * @enum {string}
59746
- */
59747
- var BitmovinStreamEncodingStatus;
59748
- (function (BitmovinStreamEncodingStatus) {
59749
- BitmovinStreamEncodingStatus["STARTED"] = "STARTED";
59750
- BitmovinStreamEncodingStatus["ERROR"] = "ERROR";
59751
- BitmovinStreamEncodingStatus["FINISHED"] = "FINISHED";
59752
- })(BitmovinStreamEncodingStatus = exports.BitmovinStreamEncodingStatus || (exports.BitmovinStreamEncodingStatus = {}));
59753
- exports["default"] = BitmovinStreamEncodingStatus;
59754
-
59755
-
59756
- /***/ }),
59757
-
59758
- /***/ "./models/BitmovinStreamEncodingTask.ts":
59759
- /*!**********************************************!*\
59760
- !*** ./models/BitmovinStreamEncodingTask.ts ***!
59761
- \**********************************************/
59762
- /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
59763
-
59764
- "use strict";
59765
-
59766
- Object.defineProperty(exports, "__esModule", ({ value: true }));
59767
- exports.BitmovinStreamEncodingTask = void 0;
59768
- var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
59769
- /**
59770
- * @export
59771
- * @class BitmovinStreamEncodingTask
59772
- */
59773
- var BitmovinStreamEncodingTask = /** @class */ (function () {
59774
- function BitmovinStreamEncodingTask(obj) {
59775
- if (!obj) {
59776
- return;
59777
- }
59778
- this.quality = (0, Mapper_1.map)(obj.quality);
59779
- this.status = (0, Mapper_1.map)(obj.status);
59780
- }
59781
- return BitmovinStreamEncodingTask;
59782
- }());
59783
- exports.BitmovinStreamEncodingTask = BitmovinStreamEncodingTask;
59784
- exports["default"] = BitmovinStreamEncodingTask;
59785
-
59786
-
59787
- /***/ }),
59788
-
59789
- /***/ "./models/BitmovinStreamQuality.ts":
59790
- /*!*****************************************!*\
59791
- !*** ./models/BitmovinStreamQuality.ts ***!
59792
- \*****************************************/
59793
- /***/ ((__unused_webpack_module, exports) => {
59794
-
59795
- "use strict";
59796
-
59797
- Object.defineProperty(exports, "__esModule", ({ value: true }));
59798
- exports.BitmovinStreamQuality = void 0;
59799
- /**
59800
- * @export
59801
- * @enum {string}
59802
- */
59803
- var BitmovinStreamQuality;
59804
- (function (BitmovinStreamQuality) {
59805
- BitmovinStreamQuality["NONE"] = "NONE";
59806
- BitmovinStreamQuality["PREVIEW"] = "PREVIEW";
59807
- BitmovinStreamQuality["DEFAULT"] = "DEFAULT";
59808
- })(BitmovinStreamQuality = exports.BitmovinStreamQuality || (exports.BitmovinStreamQuality = {}));
59809
- exports["default"] = BitmovinStreamQuality;
59810
-
59811
-
59812
- /***/ }),
59813
-
59814
- /***/ "./models/BitmovinStreamResponse.ts":
59815
- /*!******************************************!*\
59816
- !*** ./models/BitmovinStreamResponse.ts ***!
59817
- \******************************************/
59818
- /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
59819
-
59820
- "use strict";
59821
-
59822
- Object.defineProperty(exports, "__esModule", ({ value: true }));
59823
- exports.BitmovinStreamResponse = void 0;
59824
- var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
59825
- var BitmovinStreamEncodingTask_1 = __webpack_require__(/*! ./BitmovinStreamEncodingTask */ "./models/BitmovinStreamEncodingTask.ts");
59826
- /**
59827
- * @export
59828
- * @class BitmovinStreamResponse
59829
- */
59830
- var BitmovinStreamResponse = /** @class */ (function () {
59831
- function BitmovinStreamResponse(obj) {
59832
- if (!obj) {
59833
- return;
59834
- }
59835
- this.id = (0, Mapper_1.map)(obj.id);
59836
- this.assetUrl = (0, Mapper_1.map)(obj.assetUrl);
59837
- this.title = (0, Mapper_1.map)(obj.title);
59838
- this.description = (0, Mapper_1.map)(obj.description);
59839
- this.createdAt = (0, Mapper_1.map)(obj.createdAt, Date);
59840
- this.status = (0, Mapper_1.map)(obj.status);
59841
- this.targetQuality = (0, Mapper_1.map)(obj.targetQuality);
59842
- this.availableQualities = (0, Mapper_1.mapArray)(obj.availableQualities);
59843
- this.encodingTasks = (0, Mapper_1.mapArray)(obj.encodingTasks, BitmovinStreamEncodingTask_1.default);
59844
- }
59845
- return BitmovinStreamResponse;
59846
- }());
59847
- exports.BitmovinStreamResponse = BitmovinStreamResponse;
59848
- exports["default"] = BitmovinStreamResponse;
59849
-
59850
-
59851
- /***/ }),
59852
-
59853
- /***/ "./models/BitmovinStreamStatus.ts":
59854
- /*!****************************************!*\
59855
- !*** ./models/BitmovinStreamStatus.ts ***!
59856
- \****************************************/
59857
- /***/ ((__unused_webpack_module, exports) => {
59858
-
59859
- "use strict";
59860
-
59861
- Object.defineProperty(exports, "__esModule", ({ value: true }));
59862
- exports.BitmovinStreamStatus = void 0;
59863
- /**
59864
- * @export
59865
- * @enum {string}
59866
- */
59867
- var BitmovinStreamStatus;
59868
- (function (BitmovinStreamStatus) {
59869
- BitmovinStreamStatus["PUBLISHED"] = "PUBLISHED";
59870
- BitmovinStreamStatus["UNPUBLISHED"] = "UNPUBLISHED";
59871
- })(BitmovinStreamStatus = exports.BitmovinStreamStatus || (exports.BitmovinStreamStatus = {}));
59872
- exports["default"] = BitmovinStreamStatus;
59873
-
59874
-
59875
59731
  /***/ }),
59876
59732
 
59877
59733
  /***/ "./models/BitrateSelectionMode.ts":
@@ -62359,38 +62215,6 @@ var ConvertSccPositionMode;
62359
62215
  exports["default"] = ConvertSccPositionMode;
62360
62216
 
62361
62217
 
62362
- /***/ }),
62363
-
62364
- /***/ "./models/CreateBitmovinStreamRequest.ts":
62365
- /*!***********************************************!*\
62366
- !*** ./models/CreateBitmovinStreamRequest.ts ***!
62367
- \***********************************************/
62368
- /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
62369
-
62370
- "use strict";
62371
-
62372
- Object.defineProperty(exports, "__esModule", ({ value: true }));
62373
- exports.CreateBitmovinStreamRequest = void 0;
62374
- var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
62375
- /**
62376
- * @export
62377
- * @class CreateBitmovinStreamRequest
62378
- */
62379
- var CreateBitmovinStreamRequest = /** @class */ (function () {
62380
- function CreateBitmovinStreamRequest(obj) {
62381
- if (!obj) {
62382
- return;
62383
- }
62384
- this.assetUrl = (0, Mapper_1.map)(obj.assetUrl);
62385
- this.title = (0, Mapper_1.map)(obj.title);
62386
- this.description = (0, Mapper_1.map)(obj.description);
62387
- }
62388
- return CreateBitmovinStreamRequest;
62389
- }());
62390
- exports.CreateBitmovinStreamRequest = CreateBitmovinStreamRequest;
62391
- exports["default"] = CreateBitmovinStreamRequest;
62392
-
62393
-
62394
62218
  /***/ }),
62395
62219
 
62396
62220
  /***/ "./models/CropFilter.ts":
@@ -78982,12 +78806,14 @@ exports["default"] = SimpleEncodingVodJobInputType;
78982
78806
  /*!**********************************************!*\
78983
78807
  !*** ./models/SimpleEncodingVodJobOutput.ts ***!
78984
78808
  \**********************************************/
78985
- /***/ ((__unused_webpack_module, exports) => {
78809
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
78986
78810
 
78987
78811
  "use strict";
78988
78812
 
78989
78813
  Object.defineProperty(exports, "__esModule", ({ value: true }));
78990
78814
  exports.SimpleEncodingVodJobOutput = void 0;
78815
+ var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
78816
+ var SimpleEncodingVodJobOutputArtifact_1 = __webpack_require__(/*! ./SimpleEncodingVodJobOutputArtifact */ "./models/SimpleEncodingVodJobOutputArtifact.ts");
78991
78817
  /**
78992
78818
  * @export
78993
78819
  * @class SimpleEncodingVodJobOutput
@@ -78997,6 +78823,7 @@ var SimpleEncodingVodJobOutput = /** @class */ (function () {
78997
78823
  if (!obj) {
78998
78824
  return;
78999
78825
  }
78826
+ this.artifacts = (0, Mapper_1.mapArray)(obj.artifacts, SimpleEncodingVodJobOutputArtifact_1.default);
79000
78827
  }
79001
78828
  SimpleEncodingVodJobOutput._discriminatorName = 'type';
79002
78829
  SimpleEncodingVodJobOutput._discriminatorMapping = {
@@ -79009,6 +78836,37 @@ exports.SimpleEncodingVodJobOutput = SimpleEncodingVodJobOutput;
79009
78836
  exports["default"] = SimpleEncodingVodJobOutput;
79010
78837
 
79011
78838
 
78839
+ /***/ }),
78840
+
78841
+ /***/ "./models/SimpleEncodingVodJobOutputArtifact.ts":
78842
+ /*!******************************************************!*\
78843
+ !*** ./models/SimpleEncodingVodJobOutputArtifact.ts ***!
78844
+ \******************************************************/
78845
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
78846
+
78847
+ "use strict";
78848
+
78849
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
78850
+ exports.SimpleEncodingVodJobOutputArtifact = void 0;
78851
+ var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
78852
+ /**
78853
+ * @export
78854
+ * @class SimpleEncodingVodJobOutputArtifact
78855
+ */
78856
+ var SimpleEncodingVodJobOutputArtifact = /** @class */ (function () {
78857
+ function SimpleEncodingVodJobOutputArtifact(obj) {
78858
+ if (!obj) {
78859
+ return;
78860
+ }
78861
+ this.name = (0, Mapper_1.map)(obj.name);
78862
+ this.value = (0, Mapper_1.map)(obj.value);
78863
+ }
78864
+ return SimpleEncodingVodJobOutputArtifact;
78865
+ }());
78866
+ exports.SimpleEncodingVodJobOutputArtifact = SimpleEncodingVodJobOutputArtifact;
78867
+ exports["default"] = SimpleEncodingVodJobOutputArtifact;
78868
+
78869
+
79012
78870
  /***/ }),
79013
78871
 
79014
78872
  /***/ "./models/SimpleEncodingVodJobOutputType.ts":
@@ -81264,6 +81122,243 @@ var StreamSelectionMode;
81264
81122
  exports["default"] = StreamSelectionMode;
81265
81123
 
81266
81124
 
81125
+ /***/ }),
81126
+
81127
+ /***/ "./models/StreamsLiveUpdateRequest.ts":
81128
+ /*!********************************************!*\
81129
+ !*** ./models/StreamsLiveUpdateRequest.ts ***!
81130
+ \********************************************/
81131
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
81132
+
81133
+ "use strict";
81134
+
81135
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
81136
+ exports.StreamsLiveUpdateRequest = void 0;
81137
+ var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
81138
+ /**
81139
+ * @export
81140
+ * @class StreamsLiveUpdateRequest
81141
+ */
81142
+ var StreamsLiveUpdateRequest = /** @class */ (function () {
81143
+ function StreamsLiveUpdateRequest(obj) {
81144
+ if (!obj) {
81145
+ return;
81146
+ }
81147
+ this.title = (0, Mapper_1.map)(obj.title);
81148
+ this.description = (0, Mapper_1.map)(obj.description);
81149
+ }
81150
+ return StreamsLiveUpdateRequest;
81151
+ }());
81152
+ exports.StreamsLiveUpdateRequest = StreamsLiveUpdateRequest;
81153
+ exports["default"] = StreamsLiveUpdateRequest;
81154
+
81155
+
81156
+ /***/ }),
81157
+
81158
+ /***/ "./models/StreamsVideoCreateRequest.ts":
81159
+ /*!*********************************************!*\
81160
+ !*** ./models/StreamsVideoCreateRequest.ts ***!
81161
+ \*********************************************/
81162
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
81163
+
81164
+ "use strict";
81165
+
81166
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
81167
+ exports.StreamsVideoCreateRequest = void 0;
81168
+ var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
81169
+ /**
81170
+ * @export
81171
+ * @class StreamsVideoCreateRequest
81172
+ */
81173
+ var StreamsVideoCreateRequest = /** @class */ (function () {
81174
+ function StreamsVideoCreateRequest(obj) {
81175
+ if (!obj) {
81176
+ return;
81177
+ }
81178
+ this.assetUrl = (0, Mapper_1.map)(obj.assetUrl);
81179
+ this.title = (0, Mapper_1.map)(obj.title);
81180
+ this.description = (0, Mapper_1.map)(obj.description);
81181
+ }
81182
+ return StreamsVideoCreateRequest;
81183
+ }());
81184
+ exports.StreamsVideoCreateRequest = StreamsVideoCreateRequest;
81185
+ exports["default"] = StreamsVideoCreateRequest;
81186
+
81187
+
81188
+ /***/ }),
81189
+
81190
+ /***/ "./models/StreamsVideoEncodingStatus.ts":
81191
+ /*!**********************************************!*\
81192
+ !*** ./models/StreamsVideoEncodingStatus.ts ***!
81193
+ \**********************************************/
81194
+ /***/ ((__unused_webpack_module, exports) => {
81195
+
81196
+ "use strict";
81197
+
81198
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
81199
+ exports.StreamsVideoEncodingStatus = void 0;
81200
+ /**
81201
+ * @export
81202
+ * @enum {string}
81203
+ */
81204
+ var StreamsVideoEncodingStatus;
81205
+ (function (StreamsVideoEncodingStatus) {
81206
+ StreamsVideoEncodingStatus["STARTED"] = "STARTED";
81207
+ StreamsVideoEncodingStatus["ERROR"] = "ERROR";
81208
+ StreamsVideoEncodingStatus["FINISHED"] = "FINISHED";
81209
+ })(StreamsVideoEncodingStatus = exports.StreamsVideoEncodingStatus || (exports.StreamsVideoEncodingStatus = {}));
81210
+ exports["default"] = StreamsVideoEncodingStatus;
81211
+
81212
+
81213
+ /***/ }),
81214
+
81215
+ /***/ "./models/StreamsVideoEncodingTask.ts":
81216
+ /*!********************************************!*\
81217
+ !*** ./models/StreamsVideoEncodingTask.ts ***!
81218
+ \********************************************/
81219
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
81220
+
81221
+ "use strict";
81222
+
81223
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
81224
+ exports.StreamsVideoEncodingTask = void 0;
81225
+ var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
81226
+ /**
81227
+ * @export
81228
+ * @class StreamsVideoEncodingTask
81229
+ */
81230
+ var StreamsVideoEncodingTask = /** @class */ (function () {
81231
+ function StreamsVideoEncodingTask(obj) {
81232
+ if (!obj) {
81233
+ return;
81234
+ }
81235
+ this.quality = (0, Mapper_1.map)(obj.quality);
81236
+ this.status = (0, Mapper_1.map)(obj.status);
81237
+ }
81238
+ return StreamsVideoEncodingTask;
81239
+ }());
81240
+ exports.StreamsVideoEncodingTask = StreamsVideoEncodingTask;
81241
+ exports["default"] = StreamsVideoEncodingTask;
81242
+
81243
+
81244
+ /***/ }),
81245
+
81246
+ /***/ "./models/StreamsVideoQuality.ts":
81247
+ /*!***************************************!*\
81248
+ !*** ./models/StreamsVideoQuality.ts ***!
81249
+ \***************************************/
81250
+ /***/ ((__unused_webpack_module, exports) => {
81251
+
81252
+ "use strict";
81253
+
81254
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
81255
+ exports.StreamsVideoQuality = void 0;
81256
+ /**
81257
+ * @export
81258
+ * @enum {string}
81259
+ */
81260
+ var StreamsVideoQuality;
81261
+ (function (StreamsVideoQuality) {
81262
+ StreamsVideoQuality["NONE"] = "NONE";
81263
+ StreamsVideoQuality["PREVIEW"] = "PREVIEW";
81264
+ StreamsVideoQuality["DEFAULT"] = "DEFAULT";
81265
+ })(StreamsVideoQuality = exports.StreamsVideoQuality || (exports.StreamsVideoQuality = {}));
81266
+ exports["default"] = StreamsVideoQuality;
81267
+
81268
+
81269
+ /***/ }),
81270
+
81271
+ /***/ "./models/StreamsVideoResponse.ts":
81272
+ /*!****************************************!*\
81273
+ !*** ./models/StreamsVideoResponse.ts ***!
81274
+ \****************************************/
81275
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
81276
+
81277
+ "use strict";
81278
+
81279
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
81280
+ exports.StreamsVideoResponse = void 0;
81281
+ var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
81282
+ var StreamsVideoEncodingTask_1 = __webpack_require__(/*! ./StreamsVideoEncodingTask */ "./models/StreamsVideoEncodingTask.ts");
81283
+ /**
81284
+ * @export
81285
+ * @class StreamsVideoResponse
81286
+ */
81287
+ var StreamsVideoResponse = /** @class */ (function () {
81288
+ function StreamsVideoResponse(obj) {
81289
+ if (!obj) {
81290
+ return;
81291
+ }
81292
+ this.id = (0, Mapper_1.map)(obj.id);
81293
+ this.assetUrl = (0, Mapper_1.map)(obj.assetUrl);
81294
+ this.title = (0, Mapper_1.map)(obj.title);
81295
+ this.description = (0, Mapper_1.map)(obj.description);
81296
+ this.createdAt = (0, Mapper_1.map)(obj.createdAt, Date);
81297
+ this.status = (0, Mapper_1.map)(obj.status);
81298
+ this.encodingTasks = (0, Mapper_1.mapArray)(obj.encodingTasks, StreamsVideoEncodingTask_1.default);
81299
+ }
81300
+ return StreamsVideoResponse;
81301
+ }());
81302
+ exports.StreamsVideoResponse = StreamsVideoResponse;
81303
+ exports["default"] = StreamsVideoResponse;
81304
+
81305
+
81306
+ /***/ }),
81307
+
81308
+ /***/ "./models/StreamsVideoStatus.ts":
81309
+ /*!**************************************!*\
81310
+ !*** ./models/StreamsVideoStatus.ts ***!
81311
+ \**************************************/
81312
+ /***/ ((__unused_webpack_module, exports) => {
81313
+
81314
+ "use strict";
81315
+
81316
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
81317
+ exports.StreamsVideoStatus = void 0;
81318
+ /**
81319
+ * @export
81320
+ * @enum {string}
81321
+ */
81322
+ var StreamsVideoStatus;
81323
+ (function (StreamsVideoStatus) {
81324
+ StreamsVideoStatus["PUBLISHED"] = "PUBLISHED";
81325
+ StreamsVideoStatus["UNPUBLISHED"] = "UNPUBLISHED";
81326
+ })(StreamsVideoStatus = exports.StreamsVideoStatus || (exports.StreamsVideoStatus = {}));
81327
+ exports["default"] = StreamsVideoStatus;
81328
+
81329
+
81330
+ /***/ }),
81331
+
81332
+ /***/ "./models/StreamsVideoUpdateRequest.ts":
81333
+ /*!*********************************************!*\
81334
+ !*** ./models/StreamsVideoUpdateRequest.ts ***!
81335
+ \*********************************************/
81336
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
81337
+
81338
+ "use strict";
81339
+
81340
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
81341
+ exports.StreamsVideoUpdateRequest = void 0;
81342
+ var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
81343
+ /**
81344
+ * @export
81345
+ * @class StreamsVideoUpdateRequest
81346
+ */
81347
+ var StreamsVideoUpdateRequest = /** @class */ (function () {
81348
+ function StreamsVideoUpdateRequest(obj) {
81349
+ if (!obj) {
81350
+ return;
81351
+ }
81352
+ this.status = (0, Mapper_1.map)(obj.status);
81353
+ this.title = (0, Mapper_1.map)(obj.title);
81354
+ this.description = (0, Mapper_1.map)(obj.description);
81355
+ }
81356
+ return StreamsVideoUpdateRequest;
81357
+ }());
81358
+ exports.StreamsVideoUpdateRequest = StreamsVideoUpdateRequest;
81359
+ exports["default"] = StreamsVideoUpdateRequest;
81360
+
81361
+
81267
81362
  /***/ }),
81268
81363
 
81269
81364
  /***/ "./models/Subtask.ts":
@@ -82648,38 +82743,6 @@ exports.UnsharpFilter = UnsharpFilter;
82648
82743
  exports["default"] = UnsharpFilter;
82649
82744
 
82650
82745
 
82651
- /***/ }),
82652
-
82653
- /***/ "./models/UpdateBitmovinStreamRequest.ts":
82654
- /*!***********************************************!*\
82655
- !*** ./models/UpdateBitmovinStreamRequest.ts ***!
82656
- \***********************************************/
82657
- /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
82658
-
82659
- "use strict";
82660
-
82661
- Object.defineProperty(exports, "__esModule", ({ value: true }));
82662
- exports.UpdateBitmovinStreamRequest = void 0;
82663
- var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
82664
- /**
82665
- * @export
82666
- * @class UpdateBitmovinStreamRequest
82667
- */
82668
- var UpdateBitmovinStreamRequest = /** @class */ (function () {
82669
- function UpdateBitmovinStreamRequest(obj) {
82670
- if (!obj) {
82671
- return;
82672
- }
82673
- this.status = (0, Mapper_1.map)(obj.status);
82674
- this.title = (0, Mapper_1.map)(obj.title);
82675
- this.description = (0, Mapper_1.map)(obj.description);
82676
- }
82677
- return UpdateBitmovinStreamRequest;
82678
- }());
82679
- exports.UpdateBitmovinStreamRequest = UpdateBitmovinStreamRequest;
82680
- exports["default"] = UpdateBitmovinStreamRequest;
82681
-
82682
-
82683
82746
  /***/ }),
82684
82747
 
82685
82748
  /***/ "./models/UpdateOrganizationRequest.ts":
@@ -84686,11 +84749,6 @@ __exportStar(__webpack_require__(/*! ./BillableEncodingMinutesDetails */ "./mode
84686
84749
  __exportStar(__webpack_require__(/*! ./BitmovinResource */ "./models/BitmovinResource.ts"), exports);
84687
84750
  __exportStar(__webpack_require__(/*! ./BitmovinResponse */ "./models/BitmovinResponse.ts"), exports);
84688
84751
  __exportStar(__webpack_require__(/*! ./BitmovinResponseList */ "./models/BitmovinResponseList.ts"), exports);
84689
- __exportStar(__webpack_require__(/*! ./BitmovinStreamEncodingStatus */ "./models/BitmovinStreamEncodingStatus.ts"), exports);
84690
- __exportStar(__webpack_require__(/*! ./BitmovinStreamEncodingTask */ "./models/BitmovinStreamEncodingTask.ts"), exports);
84691
- __exportStar(__webpack_require__(/*! ./BitmovinStreamQuality */ "./models/BitmovinStreamQuality.ts"), exports);
84692
- __exportStar(__webpack_require__(/*! ./BitmovinStreamResponse */ "./models/BitmovinStreamResponse.ts"), exports);
84693
- __exportStar(__webpack_require__(/*! ./BitmovinStreamStatus */ "./models/BitmovinStreamStatus.ts"), exports);
84694
84752
  __exportStar(__webpack_require__(/*! ./BitrateSelectionMode */ "./models/BitrateSelectionMode.ts"), exports);
84695
84753
  __exportStar(__webpack_require__(/*! ./BroadcastTsAudioInputStreamConfiguration */ "./models/BroadcastTsAudioInputStreamConfiguration.ts"), exports);
84696
84754
  __exportStar(__webpack_require__(/*! ./BroadcastTsInputStreamConfiguration */ "./models/BroadcastTsInputStreamConfiguration.ts"), exports);
@@ -84742,7 +84800,6 @@ __exportStar(__webpack_require__(/*! ./ContentProtection */ "./models/ContentPro
84742
84800
  __exportStar(__webpack_require__(/*! ./ConvertSccCaption */ "./models/ConvertSccCaption.ts"), exports);
84743
84801
  __exportStar(__webpack_require__(/*! ./ConvertSccCaptionWebVttSettings */ "./models/ConvertSccCaptionWebVttSettings.ts"), exports);
84744
84802
  __exportStar(__webpack_require__(/*! ./ConvertSccPositionMode */ "./models/ConvertSccPositionMode.ts"), exports);
84745
- __exportStar(__webpack_require__(/*! ./CreateBitmovinStreamRequest */ "./models/CreateBitmovinStreamRequest.ts"), exports);
84746
84803
  __exportStar(__webpack_require__(/*! ./CropFilter */ "./models/CropFilter.ts"), exports);
84747
84804
  __exportStar(__webpack_require__(/*! ./CustomAttribute */ "./models/CustomAttribute.ts"), exports);
84748
84805
  __exportStar(__webpack_require__(/*! ./CustomData */ "./models/CustomData.ts"), exports);
@@ -85163,6 +85220,7 @@ __exportStar(__webpack_require__(/*! ./SimpleEncodingVodJobInput */ "./models/Si
85163
85220
  __exportStar(__webpack_require__(/*! ./SimpleEncodingVodJobInputSourceType */ "./models/SimpleEncodingVodJobInputSourceType.ts"), exports);
85164
85221
  __exportStar(__webpack_require__(/*! ./SimpleEncodingVodJobInputType */ "./models/SimpleEncodingVodJobInputType.ts"), exports);
85165
85222
  __exportStar(__webpack_require__(/*! ./SimpleEncodingVodJobOutput */ "./models/SimpleEncodingVodJobOutput.ts"), exports);
85223
+ __exportStar(__webpack_require__(/*! ./SimpleEncodingVodJobOutputArtifact */ "./models/SimpleEncodingVodJobOutputArtifact.ts"), exports);
85166
85224
  __exportStar(__webpack_require__(/*! ./SimpleEncodingVodJobOutputType */ "./models/SimpleEncodingVodJobOutputType.ts"), exports);
85167
85225
  __exportStar(__webpack_require__(/*! ./SimpleEncodingVodJobRequest */ "./models/SimpleEncodingVodJobRequest.ts"), exports);
85168
85226
  __exportStar(__webpack_require__(/*! ./SimpleEncodingVodJobResponse */ "./models/SimpleEncodingVodJobResponse.ts"), exports);
@@ -85220,6 +85278,14 @@ __exportStar(__webpack_require__(/*! ./StreamMode */ "./models/StreamMode.ts"),
85220
85278
  __exportStar(__webpack_require__(/*! ./StreamPerTitleFixedResolutionAndBitrateSettings */ "./models/StreamPerTitleFixedResolutionAndBitrateSettings.ts"), exports);
85221
85279
  __exportStar(__webpack_require__(/*! ./StreamPerTitleSettings */ "./models/StreamPerTitleSettings.ts"), exports);
85222
85280
  __exportStar(__webpack_require__(/*! ./StreamSelectionMode */ "./models/StreamSelectionMode.ts"), exports);
85281
+ __exportStar(__webpack_require__(/*! ./StreamsLiveUpdateRequest */ "./models/StreamsLiveUpdateRequest.ts"), exports);
85282
+ __exportStar(__webpack_require__(/*! ./StreamsVideoCreateRequest */ "./models/StreamsVideoCreateRequest.ts"), exports);
85283
+ __exportStar(__webpack_require__(/*! ./StreamsVideoEncodingStatus */ "./models/StreamsVideoEncodingStatus.ts"), exports);
85284
+ __exportStar(__webpack_require__(/*! ./StreamsVideoEncodingTask */ "./models/StreamsVideoEncodingTask.ts"), exports);
85285
+ __exportStar(__webpack_require__(/*! ./StreamsVideoQuality */ "./models/StreamsVideoQuality.ts"), exports);
85286
+ __exportStar(__webpack_require__(/*! ./StreamsVideoResponse */ "./models/StreamsVideoResponse.ts"), exports);
85287
+ __exportStar(__webpack_require__(/*! ./StreamsVideoStatus */ "./models/StreamsVideoStatus.ts"), exports);
85288
+ __exportStar(__webpack_require__(/*! ./StreamsVideoUpdateRequest */ "./models/StreamsVideoUpdateRequest.ts"), exports);
85223
85289
  __exportStar(__webpack_require__(/*! ./Subtask */ "./models/Subtask.ts"), exports);
85224
85290
  __exportStar(__webpack_require__(/*! ./SubtitleAdaptationSet */ "./models/SubtitleAdaptationSet.ts"), exports);
85225
85291
  __exportStar(__webpack_require__(/*! ./SubtitleConfiguration */ "./models/SubtitleConfiguration.ts"), exports);
@@ -85252,7 +85318,6 @@ __exportStar(__webpack_require__(/*! ./TuInterDepth */ "./models/TuInterDepth.ts
85252
85318
  __exportStar(__webpack_require__(/*! ./TuIntraDepth */ "./models/TuIntraDepth.ts"), exports);
85253
85319
  __exportStar(__webpack_require__(/*! ./Tweaks */ "./models/Tweaks.ts"), exports);
85254
85320
  __exportStar(__webpack_require__(/*! ./UnsharpFilter */ "./models/UnsharpFilter.ts"), exports);
85255
- __exportStar(__webpack_require__(/*! ./UpdateBitmovinStreamRequest */ "./models/UpdateBitmovinStreamRequest.ts"), exports);
85256
85321
  __exportStar(__webpack_require__(/*! ./UpdateOrganizationRequest */ "./models/UpdateOrganizationRequest.ts"), exports);
85257
85322
  __exportStar(__webpack_require__(/*! ./UtcTiming */ "./models/UtcTiming.ts"), exports);
85258
85323
  __exportStar(__webpack_require__(/*! ./VariantStreamDroppingMode */ "./models/VariantStreamDroppingMode.ts"), exports);
@@ -88885,25 +88950,133 @@ exports["default"] = ThirdPartyLicensingApi;
88885
88950
 
88886
88951
  /***/ }),
88887
88952
 
88888
- /***/ "./streams/BitmovinStreamResponseListQueryParams.ts":
88889
- /*!**********************************************************!*\
88890
- !*** ./streams/BitmovinStreamResponseListQueryParams.ts ***!
88891
- \**********************************************************/
88953
+ /***/ "./streams/StreamsApi.ts":
88954
+ /*!*******************************!*\
88955
+ !*** ./streams/StreamsApi.ts ***!
88956
+ \*******************************/
88957
+ /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
88958
+
88959
+ "use strict";
88960
+
88961
+ var __extends = (this && this.__extends) || (function () {
88962
+ var extendStatics = function (d, b) {
88963
+ extendStatics = Object.setPrototypeOf ||
88964
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
88965
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
88966
+ return extendStatics(d, b);
88967
+ };
88968
+ return function (d, b) {
88969
+ if (typeof b !== "function" && b !== null)
88970
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
88971
+ extendStatics(d, b);
88972
+ function __() { this.constructor = d; }
88973
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
88974
+ };
88975
+ })();
88976
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
88977
+ var BaseAPI_1 = __webpack_require__(/*! ../common/BaseAPI */ "./common/BaseAPI.ts");
88978
+ var VideoApi_1 = __webpack_require__(/*! ./video/VideoApi */ "./streams/video/VideoApi.ts");
88979
+ var LiveApi_1 = __webpack_require__(/*! ./live/LiveApi */ "./streams/live/LiveApi.ts");
88980
+ /**
88981
+ * StreamsApi - object-oriented interface
88982
+ * @export
88983
+ * @class StreamsApi
88984
+ * @extends {BaseAPI}
88985
+ */
88986
+ var StreamsApi = /** @class */ (function (_super) {
88987
+ __extends(StreamsApi, _super);
88988
+ function StreamsApi(configuration) {
88989
+ var _this = _super.call(this, configuration) || this;
88990
+ _this.video = new VideoApi_1.default(configuration);
88991
+ _this.live = new LiveApi_1.default(configuration);
88992
+ return _this;
88993
+ }
88994
+ return StreamsApi;
88995
+ }(BaseAPI_1.BaseAPI));
88996
+ exports["default"] = StreamsApi;
88997
+
88998
+
88999
+ /***/ }),
89000
+
89001
+ /***/ "./streams/live/LiveApi.ts":
89002
+ /*!*********************************!*\
89003
+ !*** ./streams/live/LiveApi.ts ***!
89004
+ \*********************************/
89005
+ /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
89006
+
89007
+ "use strict";
89008
+
89009
+ var __extends = (this && this.__extends) || (function () {
89010
+ var extendStatics = function (d, b) {
89011
+ extendStatics = Object.setPrototypeOf ||
89012
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
89013
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
89014
+ return extendStatics(d, b);
89015
+ };
89016
+ return function (d, b) {
89017
+ if (typeof b !== "function" && b !== null)
89018
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
89019
+ extendStatics(d, b);
89020
+ function __() { this.constructor = d; }
89021
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
89022
+ };
89023
+ })();
89024
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
89025
+ var BaseAPI_1 = __webpack_require__(/*! ../../common/BaseAPI */ "./common/BaseAPI.ts");
89026
+ var Mapper_1 = __webpack_require__(/*! ../../common/Mapper */ "./common/Mapper.ts");
89027
+ var StreamsLiveUpdateRequest_1 = __webpack_require__(/*! ../../models/StreamsLiveUpdateRequest */ "./models/StreamsLiveUpdateRequest.ts");
89028
+ /**
89029
+ * LiveApi - object-oriented interface
89030
+ * @export
89031
+ * @class LiveApi
89032
+ * @extends {BaseAPI}
89033
+ */
89034
+ var LiveApi = /** @class */ (function (_super) {
89035
+ __extends(LiveApi, _super);
89036
+ function LiveApi(configuration) {
89037
+ return _super.call(this, configuration) || this;
89038
+ }
89039
+ /**
89040
+ * @summary Update stream by id
89041
+ * @param {string} streamId Id of the stream.
89042
+ * @param {StreamsLiveUpdateRequest} streamsLiveUpdateRequest Stream fields to update.
89043
+ * @throws {BitmovinError}
89044
+ * @memberof LiveApi
89045
+ */
89046
+ LiveApi.prototype.patchStreamsLive = function (streamId, streamsLiveUpdateRequest) {
89047
+ var pathParamMap = {
89048
+ stream_id: streamId
89049
+ };
89050
+ return this.restClient.patch('/streams/live/{stream_id}', pathParamMap, streamsLiveUpdateRequest).then(function (response) {
89051
+ return (0, Mapper_1.map)(response, StreamsLiveUpdateRequest_1.default);
89052
+ });
89053
+ };
89054
+ return LiveApi;
89055
+ }(BaseAPI_1.BaseAPI));
89056
+ exports["default"] = LiveApi;
89057
+
89058
+
89059
+ /***/ }),
89060
+
89061
+ /***/ "./streams/video/StreamsVideoResponseListQueryParams.ts":
89062
+ /*!**************************************************************!*\
89063
+ !*** ./streams/video/StreamsVideoResponseListQueryParams.ts ***!
89064
+ \**************************************************************/
88892
89065
  /***/ ((__unused_webpack_module, exports) => {
88893
89066
 
88894
89067
  "use strict";
88895
89068
 
88896
89069
  Object.defineProperty(exports, "__esModule", ({ value: true }));
88897
- exports.BitmovinStreamResponseListQueryParamsBuilder = void 0;
88898
- var BitmovinStreamResponseListQueryParamsBuilder = /** @class */ (function () {
88899
- function BitmovinStreamResponseListQueryParamsBuilder() {
89070
+ exports.StreamsVideoResponseListQueryParamsBuilder = void 0;
89071
+ var StreamsVideoResponseListQueryParamsBuilder = /** @class */ (function () {
89072
+ function StreamsVideoResponseListQueryParamsBuilder() {
88900
89073
  this.internalParams = {};
88901
89074
  }
88902
89075
  /**
88903
89076
  *
88904
89077
  * @param offset Index of the first item to return, starting at 0. Default is 0
88905
89078
  */
88906
- BitmovinStreamResponseListQueryParamsBuilder.prototype.offset = function (offset) {
89079
+ StreamsVideoResponseListQueryParamsBuilder.prototype.offset = function (offset) {
88907
89080
  this.internalParams.offset = offset;
88908
89081
  return this;
88909
89082
  };
@@ -88911,7 +89084,7 @@ var BitmovinStreamResponseListQueryParamsBuilder = /** @class */ (function () {
88911
89084
  *
88912
89085
  * @param limit Maximum number of items to return. Default is 25, maximum is 100
88913
89086
  */
88914
- BitmovinStreamResponseListQueryParamsBuilder.prototype.limit = function (limit) {
89087
+ StreamsVideoResponseListQueryParamsBuilder.prototype.limit = function (limit) {
88915
89088
  this.internalParams.limit = limit;
88916
89089
  return this;
88917
89090
  };
@@ -88919,24 +89092,24 @@ var BitmovinStreamResponseListQueryParamsBuilder = /** @class */ (function () {
88919
89092
  *
88920
89093
  * @param sort Order list result according an resource attribute. The fields that can be used for sorting are: + `createdAt`
88921
89094
  */
88922
- BitmovinStreamResponseListQueryParamsBuilder.prototype.sort = function (sort) {
89095
+ StreamsVideoResponseListQueryParamsBuilder.prototype.sort = function (sort) {
88923
89096
  this.internalParams.sort = sort;
88924
89097
  return this;
88925
89098
  };
88926
- BitmovinStreamResponseListQueryParamsBuilder.prototype.buildQueryParams = function () {
89099
+ StreamsVideoResponseListQueryParamsBuilder.prototype.buildQueryParams = function () {
88927
89100
  return this.internalParams;
88928
89101
  };
88929
- return BitmovinStreamResponseListQueryParamsBuilder;
89102
+ return StreamsVideoResponseListQueryParamsBuilder;
88930
89103
  }());
88931
- exports.BitmovinStreamResponseListQueryParamsBuilder = BitmovinStreamResponseListQueryParamsBuilder;
89104
+ exports.StreamsVideoResponseListQueryParamsBuilder = StreamsVideoResponseListQueryParamsBuilder;
88932
89105
 
88933
89106
 
88934
89107
  /***/ }),
88935
89108
 
88936
- /***/ "./streams/StreamsApi.ts":
88937
- /*!*******************************!*\
88938
- !*** ./streams/StreamsApi.ts ***!
88939
- \*******************************/
89109
+ /***/ "./streams/video/VideoApi.ts":
89110
+ /*!***********************************!*\
89111
+ !*** ./streams/video/VideoApi.ts ***!
89112
+ \***********************************/
88940
89113
  /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
88941
89114
 
88942
89115
  "use strict";
@@ -88957,83 +89130,83 @@ var __extends = (this && this.__extends) || (function () {
88957
89130
  };
88958
89131
  })();
88959
89132
  Object.defineProperty(exports, "__esModule", ({ value: true }));
88960
- var BaseAPI_1 = __webpack_require__(/*! ../common/BaseAPI */ "./common/BaseAPI.ts");
88961
- var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
88962
- var BitmovinStreamResponse_1 = __webpack_require__(/*! ../models/BitmovinStreamResponse */ "./models/BitmovinStreamResponse.ts");
88963
- var PaginationResponse_1 = __webpack_require__(/*! ../models/PaginationResponse */ "./models/PaginationResponse.ts");
88964
- var BitmovinStreamResponseListQueryParams_1 = __webpack_require__(/*! ./BitmovinStreamResponseListQueryParams */ "./streams/BitmovinStreamResponseListQueryParams.ts");
89133
+ var BaseAPI_1 = __webpack_require__(/*! ../../common/BaseAPI */ "./common/BaseAPI.ts");
89134
+ var Mapper_1 = __webpack_require__(/*! ../../common/Mapper */ "./common/Mapper.ts");
89135
+ var StreamsVideoResponse_1 = __webpack_require__(/*! ../../models/StreamsVideoResponse */ "./models/StreamsVideoResponse.ts");
89136
+ var PaginationResponse_1 = __webpack_require__(/*! ../../models/PaginationResponse */ "./models/PaginationResponse.ts");
89137
+ var StreamsVideoResponseListQueryParams_1 = __webpack_require__(/*! ./StreamsVideoResponseListQueryParams */ "./streams/video/StreamsVideoResponseListQueryParams.ts");
88965
89138
  /**
88966
- * StreamsApi - object-oriented interface
89139
+ * VideoApi - object-oriented interface
88967
89140
  * @export
88968
- * @class StreamsApi
89141
+ * @class VideoApi
88969
89142
  * @extends {BaseAPI}
88970
89143
  */
88971
- var StreamsApi = /** @class */ (function (_super) {
88972
- __extends(StreamsApi, _super);
88973
- function StreamsApi(configuration) {
89144
+ var VideoApi = /** @class */ (function (_super) {
89145
+ __extends(VideoApi, _super);
89146
+ function VideoApi(configuration) {
88974
89147
  return _super.call(this, configuration) || this;
88975
89148
  }
88976
89149
  /**
88977
89150
  * @summary Create new Stream
88978
- * @param {CreateBitmovinStreamRequest} createBitmovinStreamRequest Create a new Stream.
89151
+ * @param {StreamsVideoCreateRequest} streamsVideoCreateRequest Create a new stream.
88979
89152
  * @throws {BitmovinError}
88980
- * @memberof StreamsApi
89153
+ * @memberof VideoApi
88981
89154
  */
88982
- StreamsApi.prototype.create = function (createBitmovinStreamRequest) {
88983
- return this.restClient.post('/streams', {}, createBitmovinStreamRequest).then(function (response) {
88984
- return (0, Mapper_1.map)(response, BitmovinStreamResponse_1.default);
89155
+ VideoApi.prototype.create = function (streamsVideoCreateRequest) {
89156
+ return this.restClient.post('/streams/video', {}, streamsVideoCreateRequest).then(function (response) {
89157
+ return (0, Mapper_1.map)(response, StreamsVideoResponse_1.default);
88985
89158
  });
88986
89159
  };
88987
89160
  /**
88988
- * @summary Get Stream by id
88989
- * @param {string} streamId Id of the Stream.
89161
+ * @summary Get stream by id
89162
+ * @param {string} streamId Id of the stream.
88990
89163
  * @throws {BitmovinError}
88991
- * @memberof StreamsApi
89164
+ * @memberof VideoApi
88992
89165
  */
88993
- StreamsApi.prototype.get = function (streamId) {
89166
+ VideoApi.prototype.get = function (streamId) {
88994
89167
  var pathParamMap = {
88995
89168
  stream_id: streamId
88996
89169
  };
88997
- return this.restClient.get('/streams/{stream_id}', pathParamMap).then(function (response) {
88998
- return (0, Mapper_1.map)(response, BitmovinStreamResponse_1.default);
89170
+ return this.restClient.get('/streams/video/{stream_id}', pathParamMap).then(function (response) {
89171
+ return (0, Mapper_1.map)(response, StreamsVideoResponse_1.default);
88999
89172
  });
89000
89173
  };
89001
89174
  /**
89002
- * @summary Get paginated list of Streams
89175
+ * @summary Get paginated list of streams
89003
89176
  * @param {*} [queryParameters] query parameters for filtering, sorting and pagination
89004
89177
  * @throws {BitmovinError}
89005
- * @memberof StreamsApi
89178
+ * @memberof VideoApi
89006
89179
  */
89007
- StreamsApi.prototype.list = function (queryParameters) {
89180
+ VideoApi.prototype.list = function (queryParameters) {
89008
89181
  var queryParams = {};
89009
89182
  if (typeof queryParameters === 'function') {
89010
- queryParams = queryParameters(new BitmovinStreamResponseListQueryParams_1.BitmovinStreamResponseListQueryParamsBuilder()).buildQueryParams();
89183
+ queryParams = queryParameters(new StreamsVideoResponseListQueryParams_1.StreamsVideoResponseListQueryParamsBuilder()).buildQueryParams();
89011
89184
  }
89012
89185
  else if (queryParameters) {
89013
89186
  queryParams = queryParameters;
89014
89187
  }
89015
- return this.restClient.get('/streams', {}, queryParams).then(function (response) {
89016
- return new PaginationResponse_1.default(response, BitmovinStreamResponse_1.default);
89188
+ return this.restClient.get('/streams/video', {}, queryParams).then(function (response) {
89189
+ return new PaginationResponse_1.default(response, StreamsVideoResponse_1.default);
89017
89190
  });
89018
89191
  };
89019
89192
  /**
89020
- * @summary Update Stream by id
89021
- * @param {string} streamId Id of the Stream.
89022
- * @param {UpdateBitmovinStreamRequest} updateBitmovinStreamRequest Stream fields to update.
89193
+ * @summary Update stream by id
89194
+ * @param {string} streamId Id of the stream.
89195
+ * @param {StreamsVideoUpdateRequest} streamsVideoUpdateRequest Stream fields to update.
89023
89196
  * @throws {BitmovinError}
89024
- * @memberof StreamsApi
89197
+ * @memberof VideoApi
89025
89198
  */
89026
- StreamsApi.prototype.patchBitmovinStreamsStreamsByStreamId = function (streamId, updateBitmovinStreamRequest) {
89199
+ VideoApi.prototype.patchStreamsVideo = function (streamId, streamsVideoUpdateRequest) {
89027
89200
  var pathParamMap = {
89028
89201
  stream_id: streamId
89029
89202
  };
89030
- return this.restClient.patch('/streams/{stream_id}', pathParamMap, updateBitmovinStreamRequest).then(function (response) {
89031
- return (0, Mapper_1.map)(response, BitmovinStreamResponse_1.default);
89203
+ return this.restClient.patch('/streams/video/{stream_id}', pathParamMap, streamsVideoUpdateRequest).then(function (response) {
89204
+ return (0, Mapper_1.map)(response, StreamsVideoResponse_1.default);
89032
89205
  });
89033
89206
  };
89034
- return StreamsApi;
89207
+ return VideoApi;
89035
89208
  }(BaseAPI_1.BaseAPI));
89036
- exports["default"] = StreamsApi;
89209
+ exports["default"] = VideoApi;
89037
89210
 
89038
89211
 
89039
89212
  /***/ }),