@bitmovin/api-sdk 1.137.0 → 1.139.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 (41) 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 +351 -272
  5. package/dist/bitmovin-api-sdk.browser.min.js +1 -1
  6. package/dist/common/RestClient.js +1 -1
  7. package/dist/models/SimpleEncodingVodJobOutput.d.ts +7 -0
  8. package/dist/models/SimpleEncodingVodJobOutput.js +3 -0
  9. package/dist/models/SimpleEncodingVodJobOutputArtifact.d.ts +20 -0
  10. package/dist/models/SimpleEncodingVodJobOutputArtifact.js +20 -0
  11. package/dist/models/StreamsVideoCreateRequest.d.ts +26 -0
  12. package/dist/models/{CreateBitmovinStreamRequest.js → StreamsVideoCreateRequest.js} +7 -7
  13. package/dist/models/{BitmovinStreamEncodingStatus.d.ts → StreamsVideoEncodingStatus.d.ts} +2 -2
  14. package/dist/models/StreamsVideoEncodingStatus.js +14 -0
  15. package/dist/models/StreamsVideoEncodingTask.d.ts +22 -0
  16. package/dist/models/StreamsVideoEncodingTask.js +20 -0
  17. package/dist/models/{BitmovinStreamQuality.d.ts → StreamsVideoQuality.d.ts} +2 -2
  18. package/dist/models/StreamsVideoQuality.js +14 -0
  19. package/dist/models/StreamsVideoResponse.d.ts +52 -0
  20. package/dist/models/{BitmovinStreamResponse.js → StreamsVideoResponse.js} +9 -11
  21. package/dist/models/{BitmovinStreamStatus.d.ts → StreamsVideoStatus.d.ts} +2 -2
  22. package/dist/models/StreamsVideoStatus.js +13 -0
  23. package/dist/models/StreamsVideoUpdateRequest.d.ts +27 -0
  24. package/dist/models/{UpdateBitmovinStreamRequest.js → StreamsVideoUpdateRequest.js} +7 -7
  25. package/dist/models/index.d.ts +8 -7
  26. package/dist/models/index.js +8 -7
  27. package/dist/streams/StreamsApi.d.ts +2 -34
  28. package/dist/streams/StreamsApi.js +4 -63
  29. package/dist/streams/{BitmovinStreamResponseListQueryParams.d.ts → video/StreamsVideoResponseListQueryParams.d.ts} +6 -6
  30. package/dist/streams/{BitmovinStreamResponseListQueryParams.js → video/StreamsVideoResponseListQueryParams.js} +9 -9
  31. package/dist/streams/video/VideoApi.d.ts +45 -0
  32. package/dist/streams/video/VideoApi.js +94 -0
  33. package/package.json +1 -1
  34. package/dist/models/BitmovinStreamEncodingStatus.js +0 -14
  35. package/dist/models/BitmovinStreamEncodingTask.d.ts +0 -22
  36. package/dist/models/BitmovinStreamEncodingTask.js +0 -20
  37. package/dist/models/BitmovinStreamQuality.js +0 -14
  38. package/dist/models/BitmovinStreamResponse.d.ts +0 -65
  39. package/dist/models/BitmovinStreamStatus.js +0 -13
  40. package/dist/models/CreateBitmovinStreamRequest.d.ts +0 -26
  41. 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;
@@ -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.137.0',
5990
+ 'X-Api-Client-Version': '1.139.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,212 @@ var StreamSelectionMode;
81264
81122
  exports["default"] = StreamSelectionMode;
81265
81123
 
81266
81124
 
81125
+ /***/ }),
81126
+
81127
+ /***/ "./models/StreamsVideoCreateRequest.ts":
81128
+ /*!*********************************************!*\
81129
+ !*** ./models/StreamsVideoCreateRequest.ts ***!
81130
+ \*********************************************/
81131
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
81132
+
81133
+ "use strict";
81134
+
81135
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
81136
+ exports.StreamsVideoCreateRequest = void 0;
81137
+ var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
81138
+ /**
81139
+ * @export
81140
+ * @class StreamsVideoCreateRequest
81141
+ */
81142
+ var StreamsVideoCreateRequest = /** @class */ (function () {
81143
+ function StreamsVideoCreateRequest(obj) {
81144
+ if (!obj) {
81145
+ return;
81146
+ }
81147
+ this.assetUrl = (0, Mapper_1.map)(obj.assetUrl);
81148
+ this.title = (0, Mapper_1.map)(obj.title);
81149
+ this.description = (0, Mapper_1.map)(obj.description);
81150
+ }
81151
+ return StreamsVideoCreateRequest;
81152
+ }());
81153
+ exports.StreamsVideoCreateRequest = StreamsVideoCreateRequest;
81154
+ exports["default"] = StreamsVideoCreateRequest;
81155
+
81156
+
81157
+ /***/ }),
81158
+
81159
+ /***/ "./models/StreamsVideoEncodingStatus.ts":
81160
+ /*!**********************************************!*\
81161
+ !*** ./models/StreamsVideoEncodingStatus.ts ***!
81162
+ \**********************************************/
81163
+ /***/ ((__unused_webpack_module, exports) => {
81164
+
81165
+ "use strict";
81166
+
81167
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
81168
+ exports.StreamsVideoEncodingStatus = void 0;
81169
+ /**
81170
+ * @export
81171
+ * @enum {string}
81172
+ */
81173
+ var StreamsVideoEncodingStatus;
81174
+ (function (StreamsVideoEncodingStatus) {
81175
+ StreamsVideoEncodingStatus["STARTED"] = "STARTED";
81176
+ StreamsVideoEncodingStatus["ERROR"] = "ERROR";
81177
+ StreamsVideoEncodingStatus["FINISHED"] = "FINISHED";
81178
+ })(StreamsVideoEncodingStatus = exports.StreamsVideoEncodingStatus || (exports.StreamsVideoEncodingStatus = {}));
81179
+ exports["default"] = StreamsVideoEncodingStatus;
81180
+
81181
+
81182
+ /***/ }),
81183
+
81184
+ /***/ "./models/StreamsVideoEncodingTask.ts":
81185
+ /*!********************************************!*\
81186
+ !*** ./models/StreamsVideoEncodingTask.ts ***!
81187
+ \********************************************/
81188
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
81189
+
81190
+ "use strict";
81191
+
81192
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
81193
+ exports.StreamsVideoEncodingTask = void 0;
81194
+ var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
81195
+ /**
81196
+ * @export
81197
+ * @class StreamsVideoEncodingTask
81198
+ */
81199
+ var StreamsVideoEncodingTask = /** @class */ (function () {
81200
+ function StreamsVideoEncodingTask(obj) {
81201
+ if (!obj) {
81202
+ return;
81203
+ }
81204
+ this.quality = (0, Mapper_1.map)(obj.quality);
81205
+ this.status = (0, Mapper_1.map)(obj.status);
81206
+ }
81207
+ return StreamsVideoEncodingTask;
81208
+ }());
81209
+ exports.StreamsVideoEncodingTask = StreamsVideoEncodingTask;
81210
+ exports["default"] = StreamsVideoEncodingTask;
81211
+
81212
+
81213
+ /***/ }),
81214
+
81215
+ /***/ "./models/StreamsVideoQuality.ts":
81216
+ /*!***************************************!*\
81217
+ !*** ./models/StreamsVideoQuality.ts ***!
81218
+ \***************************************/
81219
+ /***/ ((__unused_webpack_module, exports) => {
81220
+
81221
+ "use strict";
81222
+
81223
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
81224
+ exports.StreamsVideoQuality = void 0;
81225
+ /**
81226
+ * @export
81227
+ * @enum {string}
81228
+ */
81229
+ var StreamsVideoQuality;
81230
+ (function (StreamsVideoQuality) {
81231
+ StreamsVideoQuality["NONE"] = "NONE";
81232
+ StreamsVideoQuality["PREVIEW"] = "PREVIEW";
81233
+ StreamsVideoQuality["DEFAULT"] = "DEFAULT";
81234
+ })(StreamsVideoQuality = exports.StreamsVideoQuality || (exports.StreamsVideoQuality = {}));
81235
+ exports["default"] = StreamsVideoQuality;
81236
+
81237
+
81238
+ /***/ }),
81239
+
81240
+ /***/ "./models/StreamsVideoResponse.ts":
81241
+ /*!****************************************!*\
81242
+ !*** ./models/StreamsVideoResponse.ts ***!
81243
+ \****************************************/
81244
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
81245
+
81246
+ "use strict";
81247
+
81248
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
81249
+ exports.StreamsVideoResponse = void 0;
81250
+ var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
81251
+ var StreamsVideoEncodingTask_1 = __webpack_require__(/*! ./StreamsVideoEncodingTask */ "./models/StreamsVideoEncodingTask.ts");
81252
+ /**
81253
+ * @export
81254
+ * @class StreamsVideoResponse
81255
+ */
81256
+ var StreamsVideoResponse = /** @class */ (function () {
81257
+ function StreamsVideoResponse(obj) {
81258
+ if (!obj) {
81259
+ return;
81260
+ }
81261
+ this.id = (0, Mapper_1.map)(obj.id);
81262
+ this.assetUrl = (0, Mapper_1.map)(obj.assetUrl);
81263
+ this.title = (0, Mapper_1.map)(obj.title);
81264
+ this.description = (0, Mapper_1.map)(obj.description);
81265
+ this.createdAt = (0, Mapper_1.map)(obj.createdAt, Date);
81266
+ this.status = (0, Mapper_1.map)(obj.status);
81267
+ this.encodingTasks = (0, Mapper_1.mapArray)(obj.encodingTasks, StreamsVideoEncodingTask_1.default);
81268
+ }
81269
+ return StreamsVideoResponse;
81270
+ }());
81271
+ exports.StreamsVideoResponse = StreamsVideoResponse;
81272
+ exports["default"] = StreamsVideoResponse;
81273
+
81274
+
81275
+ /***/ }),
81276
+
81277
+ /***/ "./models/StreamsVideoStatus.ts":
81278
+ /*!**************************************!*\
81279
+ !*** ./models/StreamsVideoStatus.ts ***!
81280
+ \**************************************/
81281
+ /***/ ((__unused_webpack_module, exports) => {
81282
+
81283
+ "use strict";
81284
+
81285
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
81286
+ exports.StreamsVideoStatus = void 0;
81287
+ /**
81288
+ * @export
81289
+ * @enum {string}
81290
+ */
81291
+ var StreamsVideoStatus;
81292
+ (function (StreamsVideoStatus) {
81293
+ StreamsVideoStatus["PUBLISHED"] = "PUBLISHED";
81294
+ StreamsVideoStatus["UNPUBLISHED"] = "UNPUBLISHED";
81295
+ })(StreamsVideoStatus = exports.StreamsVideoStatus || (exports.StreamsVideoStatus = {}));
81296
+ exports["default"] = StreamsVideoStatus;
81297
+
81298
+
81299
+ /***/ }),
81300
+
81301
+ /***/ "./models/StreamsVideoUpdateRequest.ts":
81302
+ /*!*********************************************!*\
81303
+ !*** ./models/StreamsVideoUpdateRequest.ts ***!
81304
+ \*********************************************/
81305
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
81306
+
81307
+ "use strict";
81308
+
81309
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
81310
+ exports.StreamsVideoUpdateRequest = void 0;
81311
+ var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
81312
+ /**
81313
+ * @export
81314
+ * @class StreamsVideoUpdateRequest
81315
+ */
81316
+ var StreamsVideoUpdateRequest = /** @class */ (function () {
81317
+ function StreamsVideoUpdateRequest(obj) {
81318
+ if (!obj) {
81319
+ return;
81320
+ }
81321
+ this.status = (0, Mapper_1.map)(obj.status);
81322
+ this.title = (0, Mapper_1.map)(obj.title);
81323
+ this.description = (0, Mapper_1.map)(obj.description);
81324
+ }
81325
+ return StreamsVideoUpdateRequest;
81326
+ }());
81327
+ exports.StreamsVideoUpdateRequest = StreamsVideoUpdateRequest;
81328
+ exports["default"] = StreamsVideoUpdateRequest;
81329
+
81330
+
81267
81331
  /***/ }),
81268
81332
 
81269
81333
  /***/ "./models/Subtask.ts":
@@ -82648,38 +82712,6 @@ exports.UnsharpFilter = UnsharpFilter;
82648
82712
  exports["default"] = UnsharpFilter;
82649
82713
 
82650
82714
 
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
82715
  /***/ }),
82684
82716
 
82685
82717
  /***/ "./models/UpdateOrganizationRequest.ts":
@@ -84686,11 +84718,6 @@ __exportStar(__webpack_require__(/*! ./BillableEncodingMinutesDetails */ "./mode
84686
84718
  __exportStar(__webpack_require__(/*! ./BitmovinResource */ "./models/BitmovinResource.ts"), exports);
84687
84719
  __exportStar(__webpack_require__(/*! ./BitmovinResponse */ "./models/BitmovinResponse.ts"), exports);
84688
84720
  __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
84721
  __exportStar(__webpack_require__(/*! ./BitrateSelectionMode */ "./models/BitrateSelectionMode.ts"), exports);
84695
84722
  __exportStar(__webpack_require__(/*! ./BroadcastTsAudioInputStreamConfiguration */ "./models/BroadcastTsAudioInputStreamConfiguration.ts"), exports);
84696
84723
  __exportStar(__webpack_require__(/*! ./BroadcastTsInputStreamConfiguration */ "./models/BroadcastTsInputStreamConfiguration.ts"), exports);
@@ -84742,7 +84769,6 @@ __exportStar(__webpack_require__(/*! ./ContentProtection */ "./models/ContentPro
84742
84769
  __exportStar(__webpack_require__(/*! ./ConvertSccCaption */ "./models/ConvertSccCaption.ts"), exports);
84743
84770
  __exportStar(__webpack_require__(/*! ./ConvertSccCaptionWebVttSettings */ "./models/ConvertSccCaptionWebVttSettings.ts"), exports);
84744
84771
  __exportStar(__webpack_require__(/*! ./ConvertSccPositionMode */ "./models/ConvertSccPositionMode.ts"), exports);
84745
- __exportStar(__webpack_require__(/*! ./CreateBitmovinStreamRequest */ "./models/CreateBitmovinStreamRequest.ts"), exports);
84746
84772
  __exportStar(__webpack_require__(/*! ./CropFilter */ "./models/CropFilter.ts"), exports);
84747
84773
  __exportStar(__webpack_require__(/*! ./CustomAttribute */ "./models/CustomAttribute.ts"), exports);
84748
84774
  __exportStar(__webpack_require__(/*! ./CustomData */ "./models/CustomData.ts"), exports);
@@ -85163,6 +85189,7 @@ __exportStar(__webpack_require__(/*! ./SimpleEncodingVodJobInput */ "./models/Si
85163
85189
  __exportStar(__webpack_require__(/*! ./SimpleEncodingVodJobInputSourceType */ "./models/SimpleEncodingVodJobInputSourceType.ts"), exports);
85164
85190
  __exportStar(__webpack_require__(/*! ./SimpleEncodingVodJobInputType */ "./models/SimpleEncodingVodJobInputType.ts"), exports);
85165
85191
  __exportStar(__webpack_require__(/*! ./SimpleEncodingVodJobOutput */ "./models/SimpleEncodingVodJobOutput.ts"), exports);
85192
+ __exportStar(__webpack_require__(/*! ./SimpleEncodingVodJobOutputArtifact */ "./models/SimpleEncodingVodJobOutputArtifact.ts"), exports);
85166
85193
  __exportStar(__webpack_require__(/*! ./SimpleEncodingVodJobOutputType */ "./models/SimpleEncodingVodJobOutputType.ts"), exports);
85167
85194
  __exportStar(__webpack_require__(/*! ./SimpleEncodingVodJobRequest */ "./models/SimpleEncodingVodJobRequest.ts"), exports);
85168
85195
  __exportStar(__webpack_require__(/*! ./SimpleEncodingVodJobResponse */ "./models/SimpleEncodingVodJobResponse.ts"), exports);
@@ -85220,6 +85247,13 @@ __exportStar(__webpack_require__(/*! ./StreamMode */ "./models/StreamMode.ts"),
85220
85247
  __exportStar(__webpack_require__(/*! ./StreamPerTitleFixedResolutionAndBitrateSettings */ "./models/StreamPerTitleFixedResolutionAndBitrateSettings.ts"), exports);
85221
85248
  __exportStar(__webpack_require__(/*! ./StreamPerTitleSettings */ "./models/StreamPerTitleSettings.ts"), exports);
85222
85249
  __exportStar(__webpack_require__(/*! ./StreamSelectionMode */ "./models/StreamSelectionMode.ts"), exports);
85250
+ __exportStar(__webpack_require__(/*! ./StreamsVideoCreateRequest */ "./models/StreamsVideoCreateRequest.ts"), exports);
85251
+ __exportStar(__webpack_require__(/*! ./StreamsVideoEncodingStatus */ "./models/StreamsVideoEncodingStatus.ts"), exports);
85252
+ __exportStar(__webpack_require__(/*! ./StreamsVideoEncodingTask */ "./models/StreamsVideoEncodingTask.ts"), exports);
85253
+ __exportStar(__webpack_require__(/*! ./StreamsVideoQuality */ "./models/StreamsVideoQuality.ts"), exports);
85254
+ __exportStar(__webpack_require__(/*! ./StreamsVideoResponse */ "./models/StreamsVideoResponse.ts"), exports);
85255
+ __exportStar(__webpack_require__(/*! ./StreamsVideoStatus */ "./models/StreamsVideoStatus.ts"), exports);
85256
+ __exportStar(__webpack_require__(/*! ./StreamsVideoUpdateRequest */ "./models/StreamsVideoUpdateRequest.ts"), exports);
85223
85257
  __exportStar(__webpack_require__(/*! ./Subtask */ "./models/Subtask.ts"), exports);
85224
85258
  __exportStar(__webpack_require__(/*! ./SubtitleAdaptationSet */ "./models/SubtitleAdaptationSet.ts"), exports);
85225
85259
  __exportStar(__webpack_require__(/*! ./SubtitleConfiguration */ "./models/SubtitleConfiguration.ts"), exports);
@@ -85252,7 +85286,6 @@ __exportStar(__webpack_require__(/*! ./TuInterDepth */ "./models/TuInterDepth.ts
85252
85286
  __exportStar(__webpack_require__(/*! ./TuIntraDepth */ "./models/TuIntraDepth.ts"), exports);
85253
85287
  __exportStar(__webpack_require__(/*! ./Tweaks */ "./models/Tweaks.ts"), exports);
85254
85288
  __exportStar(__webpack_require__(/*! ./UnsharpFilter */ "./models/UnsharpFilter.ts"), exports);
85255
- __exportStar(__webpack_require__(/*! ./UpdateBitmovinStreamRequest */ "./models/UpdateBitmovinStreamRequest.ts"), exports);
85256
85289
  __exportStar(__webpack_require__(/*! ./UpdateOrganizationRequest */ "./models/UpdateOrganizationRequest.ts"), exports);
85257
85290
  __exportStar(__webpack_require__(/*! ./UtcTiming */ "./models/UtcTiming.ts"), exports);
85258
85291
  __exportStar(__webpack_require__(/*! ./VariantStreamDroppingMode */ "./models/VariantStreamDroppingMode.ts"), exports);
@@ -88885,25 +88918,71 @@ exports["default"] = ThirdPartyLicensingApi;
88885
88918
 
88886
88919
  /***/ }),
88887
88920
 
88888
- /***/ "./streams/BitmovinStreamResponseListQueryParams.ts":
88889
- /*!**********************************************************!*\
88890
- !*** ./streams/BitmovinStreamResponseListQueryParams.ts ***!
88891
- \**********************************************************/
88921
+ /***/ "./streams/StreamsApi.ts":
88922
+ /*!*******************************!*\
88923
+ !*** ./streams/StreamsApi.ts ***!
88924
+ \*******************************/
88925
+ /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
88926
+
88927
+ "use strict";
88928
+
88929
+ var __extends = (this && this.__extends) || (function () {
88930
+ var extendStatics = function (d, b) {
88931
+ extendStatics = Object.setPrototypeOf ||
88932
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
88933
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
88934
+ return extendStatics(d, b);
88935
+ };
88936
+ return function (d, b) {
88937
+ if (typeof b !== "function" && b !== null)
88938
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
88939
+ extendStatics(d, b);
88940
+ function __() { this.constructor = d; }
88941
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
88942
+ };
88943
+ })();
88944
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
88945
+ var BaseAPI_1 = __webpack_require__(/*! ../common/BaseAPI */ "./common/BaseAPI.ts");
88946
+ var VideoApi_1 = __webpack_require__(/*! ./video/VideoApi */ "./streams/video/VideoApi.ts");
88947
+ /**
88948
+ * StreamsApi - object-oriented interface
88949
+ * @export
88950
+ * @class StreamsApi
88951
+ * @extends {BaseAPI}
88952
+ */
88953
+ var StreamsApi = /** @class */ (function (_super) {
88954
+ __extends(StreamsApi, _super);
88955
+ function StreamsApi(configuration) {
88956
+ var _this = _super.call(this, configuration) || this;
88957
+ _this.video = new VideoApi_1.default(configuration);
88958
+ return _this;
88959
+ }
88960
+ return StreamsApi;
88961
+ }(BaseAPI_1.BaseAPI));
88962
+ exports["default"] = StreamsApi;
88963
+
88964
+
88965
+ /***/ }),
88966
+
88967
+ /***/ "./streams/video/StreamsVideoResponseListQueryParams.ts":
88968
+ /*!**************************************************************!*\
88969
+ !*** ./streams/video/StreamsVideoResponseListQueryParams.ts ***!
88970
+ \**************************************************************/
88892
88971
  /***/ ((__unused_webpack_module, exports) => {
88893
88972
 
88894
88973
  "use strict";
88895
88974
 
88896
88975
  Object.defineProperty(exports, "__esModule", ({ value: true }));
88897
- exports.BitmovinStreamResponseListQueryParamsBuilder = void 0;
88898
- var BitmovinStreamResponseListQueryParamsBuilder = /** @class */ (function () {
88899
- function BitmovinStreamResponseListQueryParamsBuilder() {
88976
+ exports.StreamsVideoResponseListQueryParamsBuilder = void 0;
88977
+ var StreamsVideoResponseListQueryParamsBuilder = /** @class */ (function () {
88978
+ function StreamsVideoResponseListQueryParamsBuilder() {
88900
88979
  this.internalParams = {};
88901
88980
  }
88902
88981
  /**
88903
88982
  *
88904
88983
  * @param offset Index of the first item to return, starting at 0. Default is 0
88905
88984
  */
88906
- BitmovinStreamResponseListQueryParamsBuilder.prototype.offset = function (offset) {
88985
+ StreamsVideoResponseListQueryParamsBuilder.prototype.offset = function (offset) {
88907
88986
  this.internalParams.offset = offset;
88908
88987
  return this;
88909
88988
  };
@@ -88911,7 +88990,7 @@ var BitmovinStreamResponseListQueryParamsBuilder = /** @class */ (function () {
88911
88990
  *
88912
88991
  * @param limit Maximum number of items to return. Default is 25, maximum is 100
88913
88992
  */
88914
- BitmovinStreamResponseListQueryParamsBuilder.prototype.limit = function (limit) {
88993
+ StreamsVideoResponseListQueryParamsBuilder.prototype.limit = function (limit) {
88915
88994
  this.internalParams.limit = limit;
88916
88995
  return this;
88917
88996
  };
@@ -88919,24 +88998,24 @@ var BitmovinStreamResponseListQueryParamsBuilder = /** @class */ (function () {
88919
88998
  *
88920
88999
  * @param sort Order list result according an resource attribute. The fields that can be used for sorting are: + `createdAt`
88921
89000
  */
88922
- BitmovinStreamResponseListQueryParamsBuilder.prototype.sort = function (sort) {
89001
+ StreamsVideoResponseListQueryParamsBuilder.prototype.sort = function (sort) {
88923
89002
  this.internalParams.sort = sort;
88924
89003
  return this;
88925
89004
  };
88926
- BitmovinStreamResponseListQueryParamsBuilder.prototype.buildQueryParams = function () {
89005
+ StreamsVideoResponseListQueryParamsBuilder.prototype.buildQueryParams = function () {
88927
89006
  return this.internalParams;
88928
89007
  };
88929
- return BitmovinStreamResponseListQueryParamsBuilder;
89008
+ return StreamsVideoResponseListQueryParamsBuilder;
88930
89009
  }());
88931
- exports.BitmovinStreamResponseListQueryParamsBuilder = BitmovinStreamResponseListQueryParamsBuilder;
89010
+ exports.StreamsVideoResponseListQueryParamsBuilder = StreamsVideoResponseListQueryParamsBuilder;
88932
89011
 
88933
89012
 
88934
89013
  /***/ }),
88935
89014
 
88936
- /***/ "./streams/StreamsApi.ts":
88937
- /*!*******************************!*\
88938
- !*** ./streams/StreamsApi.ts ***!
88939
- \*******************************/
89015
+ /***/ "./streams/video/VideoApi.ts":
89016
+ /*!***********************************!*\
89017
+ !*** ./streams/video/VideoApi.ts ***!
89018
+ \***********************************/
88940
89019
  /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
88941
89020
 
88942
89021
  "use strict";
@@ -88957,83 +89036,83 @@ var __extends = (this && this.__extends) || (function () {
88957
89036
  };
88958
89037
  })();
88959
89038
  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");
89039
+ var BaseAPI_1 = __webpack_require__(/*! ../../common/BaseAPI */ "./common/BaseAPI.ts");
89040
+ var Mapper_1 = __webpack_require__(/*! ../../common/Mapper */ "./common/Mapper.ts");
89041
+ var StreamsVideoResponse_1 = __webpack_require__(/*! ../../models/StreamsVideoResponse */ "./models/StreamsVideoResponse.ts");
89042
+ var PaginationResponse_1 = __webpack_require__(/*! ../../models/PaginationResponse */ "./models/PaginationResponse.ts");
89043
+ var StreamsVideoResponseListQueryParams_1 = __webpack_require__(/*! ./StreamsVideoResponseListQueryParams */ "./streams/video/StreamsVideoResponseListQueryParams.ts");
88965
89044
  /**
88966
- * StreamsApi - object-oriented interface
89045
+ * VideoApi - object-oriented interface
88967
89046
  * @export
88968
- * @class StreamsApi
89047
+ * @class VideoApi
88969
89048
  * @extends {BaseAPI}
88970
89049
  */
88971
- var StreamsApi = /** @class */ (function (_super) {
88972
- __extends(StreamsApi, _super);
88973
- function StreamsApi(configuration) {
89050
+ var VideoApi = /** @class */ (function (_super) {
89051
+ __extends(VideoApi, _super);
89052
+ function VideoApi(configuration) {
88974
89053
  return _super.call(this, configuration) || this;
88975
89054
  }
88976
89055
  /**
88977
89056
  * @summary Create new Stream
88978
- * @param {CreateBitmovinStreamRequest} createBitmovinStreamRequest Create a new Stream.
89057
+ * @param {StreamsVideoCreateRequest} streamsVideoCreateRequest Create a new stream.
88979
89058
  * @throws {BitmovinError}
88980
- * @memberof StreamsApi
89059
+ * @memberof VideoApi
88981
89060
  */
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);
89061
+ VideoApi.prototype.create = function (streamsVideoCreateRequest) {
89062
+ return this.restClient.post('/streams/video', {}, streamsVideoCreateRequest).then(function (response) {
89063
+ return (0, Mapper_1.map)(response, StreamsVideoResponse_1.default);
88985
89064
  });
88986
89065
  };
88987
89066
  /**
88988
- * @summary Get Stream by id
88989
- * @param {string} streamId Id of the Stream.
89067
+ * @summary Get stream by id
89068
+ * @param {string} streamId Id of the stream.
88990
89069
  * @throws {BitmovinError}
88991
- * @memberof StreamsApi
89070
+ * @memberof VideoApi
88992
89071
  */
88993
- StreamsApi.prototype.get = function (streamId) {
89072
+ VideoApi.prototype.get = function (streamId) {
88994
89073
  var pathParamMap = {
88995
89074
  stream_id: streamId
88996
89075
  };
88997
- return this.restClient.get('/streams/{stream_id}', pathParamMap).then(function (response) {
88998
- return (0, Mapper_1.map)(response, BitmovinStreamResponse_1.default);
89076
+ return this.restClient.get('/streams/video/{stream_id}', pathParamMap).then(function (response) {
89077
+ return (0, Mapper_1.map)(response, StreamsVideoResponse_1.default);
88999
89078
  });
89000
89079
  };
89001
89080
  /**
89002
- * @summary Get paginated list of Streams
89081
+ * @summary Get paginated list of streams
89003
89082
  * @param {*} [queryParameters] query parameters for filtering, sorting and pagination
89004
89083
  * @throws {BitmovinError}
89005
- * @memberof StreamsApi
89084
+ * @memberof VideoApi
89006
89085
  */
89007
- StreamsApi.prototype.list = function (queryParameters) {
89086
+ VideoApi.prototype.list = function (queryParameters) {
89008
89087
  var queryParams = {};
89009
89088
  if (typeof queryParameters === 'function') {
89010
- queryParams = queryParameters(new BitmovinStreamResponseListQueryParams_1.BitmovinStreamResponseListQueryParamsBuilder()).buildQueryParams();
89089
+ queryParams = queryParameters(new StreamsVideoResponseListQueryParams_1.StreamsVideoResponseListQueryParamsBuilder()).buildQueryParams();
89011
89090
  }
89012
89091
  else if (queryParameters) {
89013
89092
  queryParams = queryParameters;
89014
89093
  }
89015
- return this.restClient.get('/streams', {}, queryParams).then(function (response) {
89016
- return new PaginationResponse_1.default(response, BitmovinStreamResponse_1.default);
89094
+ return this.restClient.get('/streams/video', {}, queryParams).then(function (response) {
89095
+ return new PaginationResponse_1.default(response, StreamsVideoResponse_1.default);
89017
89096
  });
89018
89097
  };
89019
89098
  /**
89020
- * @summary Update Stream by id
89021
- * @param {string} streamId Id of the Stream.
89022
- * @param {UpdateBitmovinStreamRequest} updateBitmovinStreamRequest Stream fields to update.
89099
+ * @summary Update stream by id
89100
+ * @param {string} streamId Id of the stream.
89101
+ * @param {StreamsVideoUpdateRequest} streamsVideoUpdateRequest Stream fields to update.
89023
89102
  * @throws {BitmovinError}
89024
- * @memberof StreamsApi
89103
+ * @memberof VideoApi
89025
89104
  */
89026
- StreamsApi.prototype.patchBitmovinStreamsStreamsByStreamId = function (streamId, updateBitmovinStreamRequest) {
89105
+ VideoApi.prototype.patchStreamsVideo = function (streamId, streamsVideoUpdateRequest) {
89027
89106
  var pathParamMap = {
89028
89107
  stream_id: streamId
89029
89108
  };
89030
- return this.restClient.patch('/streams/{stream_id}', pathParamMap, updateBitmovinStreamRequest).then(function (response) {
89031
- return (0, Mapper_1.map)(response, BitmovinStreamResponse_1.default);
89109
+ return this.restClient.patch('/streams/video/{stream_id}', pathParamMap, streamsVideoUpdateRequest).then(function (response) {
89110
+ return (0, Mapper_1.map)(response, StreamsVideoResponse_1.default);
89032
89111
  });
89033
89112
  };
89034
- return StreamsApi;
89113
+ return VideoApi;
89035
89114
  }(BaseAPI_1.BaseAPI));
89036
- exports["default"] = StreamsApi;
89115
+ exports["default"] = VideoApi;
89037
89116
 
89038
89117
 
89039
89118
  /***/ }),