@bitmovin/api-sdk 1.130.0 → 1.132.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/BitmovinApi.d.ts +2 -0
- package/dist/BitmovinApi.js +2 -0
- package/dist/bitmovin-api-sdk.browser.js +371 -1
- package/dist/bitmovin-api-sdk.browser.min.js +1 -1
- package/dist/common/RestClient.js +1 -1
- package/dist/models/BitmovinStreamEncodingStatus.d.ts +10 -0
- package/dist/models/BitmovinStreamEncodingStatus.js +14 -0
- package/dist/models/BitmovinStreamEncodingTask.d.ts +22 -0
- package/dist/models/BitmovinStreamEncodingTask.js +20 -0
- package/dist/models/BitmovinStreamQuality.d.ts +10 -0
- package/dist/models/BitmovinStreamQuality.js +14 -0
- package/dist/models/BitmovinStreamResponse.d.ts +65 -0
- package/dist/models/BitmovinStreamResponse.js +28 -0
- package/dist/models/BitmovinStreamStatus.d.ts +9 -0
- package/dist/models/BitmovinStreamStatus.js +13 -0
- package/dist/models/CreateBitmovinStreamRequest.d.ts +26 -0
- package/dist/models/CreateBitmovinStreamRequest.js +21 -0
- package/dist/models/UpdateBitmovinStreamRequest.d.ts +27 -0
- package/dist/models/UpdateBitmovinStreamRequest.js +21 -0
- package/dist/models/index.d.ts +7 -0
- package/dist/models/index.js +7 -0
- package/dist/streams/BitmovinStreamResponseListQueryParams.d.ts +39 -0
- package/dist/streams/BitmovinStreamResponseListQueryParams.js +37 -0
- package/dist/streams/StreamsApi.d.ts +45 -0
- package/dist/streams/StreamsApi.js +94 -0
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/BitmovinApi.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { BaseAPI } from './common/BaseAPI';
|
|
|
2
2
|
import Configuration from './common/Configuration';
|
|
3
3
|
import AccountApi from './account/AccountApi';
|
|
4
4
|
import AnalyticsApi from './analytics/AnalyticsApi';
|
|
5
|
+
import StreamsApi from './streams/StreamsApi';
|
|
5
6
|
import EncodingApi from './encoding/EncodingApi';
|
|
6
7
|
import GeneralApi from './general/GeneralApi';
|
|
7
8
|
import NotificationsApi from './notifications/NotificationsApi';
|
|
@@ -15,6 +16,7 @@ import PlayerApi from './player/PlayerApi';
|
|
|
15
16
|
export default class BitmovinApi extends BaseAPI {
|
|
16
17
|
account: AccountApi;
|
|
17
18
|
analytics: AnalyticsApi;
|
|
19
|
+
streams: StreamsApi;
|
|
18
20
|
encoding: EncodingApi;
|
|
19
21
|
general: GeneralApi;
|
|
20
22
|
notifications: NotificationsApi;
|
package/dist/BitmovinApi.js
CHANGED
|
@@ -18,6 +18,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
18
18
|
var BaseAPI_1 = require("./common/BaseAPI");
|
|
19
19
|
var AccountApi_1 = require("./account/AccountApi");
|
|
20
20
|
var AnalyticsApi_1 = require("./analytics/AnalyticsApi");
|
|
21
|
+
var StreamsApi_1 = require("./streams/StreamsApi");
|
|
21
22
|
var EncodingApi_1 = require("./encoding/EncodingApi");
|
|
22
23
|
var GeneralApi_1 = require("./general/GeneralApi");
|
|
23
24
|
var NotificationsApi_1 = require("./notifications/NotificationsApi");
|
|
@@ -34,6 +35,7 @@ var BitmovinApi = /** @class */ (function (_super) {
|
|
|
34
35
|
var _this = _super.call(this, configuration) || this;
|
|
35
36
|
_this.account = new AccountApi_1.default(configuration);
|
|
36
37
|
_this.analytics = new AnalyticsApi_1.default(configuration);
|
|
38
|
+
_this.streams = new StreamsApi_1.default(configuration);
|
|
37
39
|
_this.encoding = new EncodingApi_1.default(configuration);
|
|
38
40
|
_this.general = new GeneralApi_1.default(configuration);
|
|
39
41
|
_this.notifications = new NotificationsApi_1.default(configuration);
|
|
@@ -1237,6 +1237,7 @@ 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");
|
|
1240
1241
|
var EncodingApi_1 = __webpack_require__(/*! ./encoding/EncodingApi */ "./encoding/EncodingApi.ts");
|
|
1241
1242
|
var GeneralApi_1 = __webpack_require__(/*! ./general/GeneralApi */ "./general/GeneralApi.ts");
|
|
1242
1243
|
var NotificationsApi_1 = __webpack_require__(/*! ./notifications/NotificationsApi */ "./notifications/NotificationsApi.ts");
|
|
@@ -1253,6 +1254,7 @@ var BitmovinApi = /** @class */ (function (_super) {
|
|
|
1253
1254
|
var _this = _super.call(this, configuration) || this;
|
|
1254
1255
|
_this.account = new AccountApi_1.default(configuration);
|
|
1255
1256
|
_this.analytics = new AnalyticsApi_1.default(configuration);
|
|
1257
|
+
_this.streams = new StreamsApi_1.default(configuration);
|
|
1256
1258
|
_this.encoding = new EncodingApi_1.default(configuration);
|
|
1257
1259
|
_this.general = new GeneralApi_1.default(configuration);
|
|
1258
1260
|
_this.notifications = new NotificationsApi_1.default(configuration);
|
|
@@ -5985,7 +5987,7 @@ var HeaderHandler = /** @class */ (function (_super) {
|
|
|
5985
5987
|
var headers = {
|
|
5986
5988
|
'X-Api-Key': apiKey,
|
|
5987
5989
|
'X-Api-Client': 'bitmovin-api-sdk-javascript',
|
|
5988
|
-
'X-Api-Client-Version': '1.
|
|
5990
|
+
'X-Api-Client-Version': '1.132.0',
|
|
5989
5991
|
'Content-Type': 'application/json'
|
|
5990
5992
|
};
|
|
5991
5993
|
if (tenantOrgId) {
|
|
@@ -59718,6 +59720,150 @@ exports.BitmovinResponseList = BitmovinResponseList;
|
|
|
59718
59720
|
exports["default"] = BitmovinResponseList;
|
|
59719
59721
|
|
|
59720
59722
|
|
|
59723
|
+
/***/ }),
|
|
59724
|
+
|
|
59725
|
+
/***/ "./models/BitmovinStreamEncodingStatus.ts":
|
|
59726
|
+
/*!************************************************!*\
|
|
59727
|
+
!*** ./models/BitmovinStreamEncodingStatus.ts ***!
|
|
59728
|
+
\************************************************/
|
|
59729
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
59730
|
+
|
|
59731
|
+
"use strict";
|
|
59732
|
+
|
|
59733
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
59734
|
+
exports.BitmovinStreamEncodingStatus = void 0;
|
|
59735
|
+
/**
|
|
59736
|
+
* @export
|
|
59737
|
+
* @enum {string}
|
|
59738
|
+
*/
|
|
59739
|
+
var BitmovinStreamEncodingStatus;
|
|
59740
|
+
(function (BitmovinStreamEncodingStatus) {
|
|
59741
|
+
BitmovinStreamEncodingStatus["STARTED"] = "STARTED";
|
|
59742
|
+
BitmovinStreamEncodingStatus["ERROR"] = "ERROR";
|
|
59743
|
+
BitmovinStreamEncodingStatus["FINISHED"] = "FINISHED";
|
|
59744
|
+
})(BitmovinStreamEncodingStatus = exports.BitmovinStreamEncodingStatus || (exports.BitmovinStreamEncodingStatus = {}));
|
|
59745
|
+
exports["default"] = BitmovinStreamEncodingStatus;
|
|
59746
|
+
|
|
59747
|
+
|
|
59748
|
+
/***/ }),
|
|
59749
|
+
|
|
59750
|
+
/***/ "./models/BitmovinStreamEncodingTask.ts":
|
|
59751
|
+
/*!**********************************************!*\
|
|
59752
|
+
!*** ./models/BitmovinStreamEncodingTask.ts ***!
|
|
59753
|
+
\**********************************************/
|
|
59754
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
59755
|
+
|
|
59756
|
+
"use strict";
|
|
59757
|
+
|
|
59758
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
59759
|
+
exports.BitmovinStreamEncodingTask = void 0;
|
|
59760
|
+
var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
|
|
59761
|
+
/**
|
|
59762
|
+
* @export
|
|
59763
|
+
* @class BitmovinStreamEncodingTask
|
|
59764
|
+
*/
|
|
59765
|
+
var BitmovinStreamEncodingTask = /** @class */ (function () {
|
|
59766
|
+
function BitmovinStreamEncodingTask(obj) {
|
|
59767
|
+
if (!obj) {
|
|
59768
|
+
return;
|
|
59769
|
+
}
|
|
59770
|
+
this.quality = (0, Mapper_1.map)(obj.quality);
|
|
59771
|
+
this.status = (0, Mapper_1.map)(obj.status);
|
|
59772
|
+
}
|
|
59773
|
+
return BitmovinStreamEncodingTask;
|
|
59774
|
+
}());
|
|
59775
|
+
exports.BitmovinStreamEncodingTask = BitmovinStreamEncodingTask;
|
|
59776
|
+
exports["default"] = BitmovinStreamEncodingTask;
|
|
59777
|
+
|
|
59778
|
+
|
|
59779
|
+
/***/ }),
|
|
59780
|
+
|
|
59781
|
+
/***/ "./models/BitmovinStreamQuality.ts":
|
|
59782
|
+
/*!*****************************************!*\
|
|
59783
|
+
!*** ./models/BitmovinStreamQuality.ts ***!
|
|
59784
|
+
\*****************************************/
|
|
59785
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
59786
|
+
|
|
59787
|
+
"use strict";
|
|
59788
|
+
|
|
59789
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
59790
|
+
exports.BitmovinStreamQuality = void 0;
|
|
59791
|
+
/**
|
|
59792
|
+
* @export
|
|
59793
|
+
* @enum {string}
|
|
59794
|
+
*/
|
|
59795
|
+
var BitmovinStreamQuality;
|
|
59796
|
+
(function (BitmovinStreamQuality) {
|
|
59797
|
+
BitmovinStreamQuality["NONE"] = "NONE";
|
|
59798
|
+
BitmovinStreamQuality["PREVIEW"] = "PREVIEW";
|
|
59799
|
+
BitmovinStreamQuality["DEFAULT"] = "DEFAULT";
|
|
59800
|
+
})(BitmovinStreamQuality = exports.BitmovinStreamQuality || (exports.BitmovinStreamQuality = {}));
|
|
59801
|
+
exports["default"] = BitmovinStreamQuality;
|
|
59802
|
+
|
|
59803
|
+
|
|
59804
|
+
/***/ }),
|
|
59805
|
+
|
|
59806
|
+
/***/ "./models/BitmovinStreamResponse.ts":
|
|
59807
|
+
/*!******************************************!*\
|
|
59808
|
+
!*** ./models/BitmovinStreamResponse.ts ***!
|
|
59809
|
+
\******************************************/
|
|
59810
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
59811
|
+
|
|
59812
|
+
"use strict";
|
|
59813
|
+
|
|
59814
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
59815
|
+
exports.BitmovinStreamResponse = void 0;
|
|
59816
|
+
var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
|
|
59817
|
+
var BitmovinStreamEncodingTask_1 = __webpack_require__(/*! ./BitmovinStreamEncodingTask */ "./models/BitmovinStreamEncodingTask.ts");
|
|
59818
|
+
/**
|
|
59819
|
+
* @export
|
|
59820
|
+
* @class BitmovinStreamResponse
|
|
59821
|
+
*/
|
|
59822
|
+
var BitmovinStreamResponse = /** @class */ (function () {
|
|
59823
|
+
function BitmovinStreamResponse(obj) {
|
|
59824
|
+
if (!obj) {
|
|
59825
|
+
return;
|
|
59826
|
+
}
|
|
59827
|
+
this.id = (0, Mapper_1.map)(obj.id);
|
|
59828
|
+
this.assetUrl = (0, Mapper_1.map)(obj.assetUrl);
|
|
59829
|
+
this.title = (0, Mapper_1.map)(obj.title);
|
|
59830
|
+
this.description = (0, Mapper_1.map)(obj.description);
|
|
59831
|
+
this.createdAt = (0, Mapper_1.map)(obj.createdAt, Date);
|
|
59832
|
+
this.status = (0, Mapper_1.map)(obj.status);
|
|
59833
|
+
this.targetQuality = (0, Mapper_1.map)(obj.targetQuality);
|
|
59834
|
+
this.availableQualities = (0, Mapper_1.mapArray)(obj.availableQualities);
|
|
59835
|
+
this.encodingTasks = (0, Mapper_1.mapArray)(obj.encodingTasks, BitmovinStreamEncodingTask_1.default);
|
|
59836
|
+
}
|
|
59837
|
+
return BitmovinStreamResponse;
|
|
59838
|
+
}());
|
|
59839
|
+
exports.BitmovinStreamResponse = BitmovinStreamResponse;
|
|
59840
|
+
exports["default"] = BitmovinStreamResponse;
|
|
59841
|
+
|
|
59842
|
+
|
|
59843
|
+
/***/ }),
|
|
59844
|
+
|
|
59845
|
+
/***/ "./models/BitmovinStreamStatus.ts":
|
|
59846
|
+
/*!****************************************!*\
|
|
59847
|
+
!*** ./models/BitmovinStreamStatus.ts ***!
|
|
59848
|
+
\****************************************/
|
|
59849
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
59850
|
+
|
|
59851
|
+
"use strict";
|
|
59852
|
+
|
|
59853
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
59854
|
+
exports.BitmovinStreamStatus = void 0;
|
|
59855
|
+
/**
|
|
59856
|
+
* @export
|
|
59857
|
+
* @enum {string}
|
|
59858
|
+
*/
|
|
59859
|
+
var BitmovinStreamStatus;
|
|
59860
|
+
(function (BitmovinStreamStatus) {
|
|
59861
|
+
BitmovinStreamStatus["PUBLISHED"] = "PUBLISHED";
|
|
59862
|
+
BitmovinStreamStatus["UNPUBLISHED"] = "UNPUBLISHED";
|
|
59863
|
+
})(BitmovinStreamStatus = exports.BitmovinStreamStatus || (exports.BitmovinStreamStatus = {}));
|
|
59864
|
+
exports["default"] = BitmovinStreamStatus;
|
|
59865
|
+
|
|
59866
|
+
|
|
59721
59867
|
/***/ }),
|
|
59722
59868
|
|
|
59723
59869
|
/***/ "./models/BitrateSelectionMode.ts":
|
|
@@ -62205,6 +62351,38 @@ var ConvertSccPositionMode;
|
|
|
62205
62351
|
exports["default"] = ConvertSccPositionMode;
|
|
62206
62352
|
|
|
62207
62353
|
|
|
62354
|
+
/***/ }),
|
|
62355
|
+
|
|
62356
|
+
/***/ "./models/CreateBitmovinStreamRequest.ts":
|
|
62357
|
+
/*!***********************************************!*\
|
|
62358
|
+
!*** ./models/CreateBitmovinStreamRequest.ts ***!
|
|
62359
|
+
\***********************************************/
|
|
62360
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
62361
|
+
|
|
62362
|
+
"use strict";
|
|
62363
|
+
|
|
62364
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
62365
|
+
exports.CreateBitmovinStreamRequest = void 0;
|
|
62366
|
+
var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
|
|
62367
|
+
/**
|
|
62368
|
+
* @export
|
|
62369
|
+
* @class CreateBitmovinStreamRequest
|
|
62370
|
+
*/
|
|
62371
|
+
var CreateBitmovinStreamRequest = /** @class */ (function () {
|
|
62372
|
+
function CreateBitmovinStreamRequest(obj) {
|
|
62373
|
+
if (!obj) {
|
|
62374
|
+
return;
|
|
62375
|
+
}
|
|
62376
|
+
this.assetUrl = (0, Mapper_1.map)(obj.assetUrl);
|
|
62377
|
+
this.title = (0, Mapper_1.map)(obj.title);
|
|
62378
|
+
this.description = (0, Mapper_1.map)(obj.description);
|
|
62379
|
+
}
|
|
62380
|
+
return CreateBitmovinStreamRequest;
|
|
62381
|
+
}());
|
|
62382
|
+
exports.CreateBitmovinStreamRequest = CreateBitmovinStreamRequest;
|
|
62383
|
+
exports["default"] = CreateBitmovinStreamRequest;
|
|
62384
|
+
|
|
62385
|
+
|
|
62208
62386
|
/***/ }),
|
|
62209
62387
|
|
|
62210
62388
|
/***/ "./models/CropFilter.ts":
|
|
@@ -82436,6 +82614,38 @@ exports.UnsharpFilter = UnsharpFilter;
|
|
|
82436
82614
|
exports["default"] = UnsharpFilter;
|
|
82437
82615
|
|
|
82438
82616
|
|
|
82617
|
+
/***/ }),
|
|
82618
|
+
|
|
82619
|
+
/***/ "./models/UpdateBitmovinStreamRequest.ts":
|
|
82620
|
+
/*!***********************************************!*\
|
|
82621
|
+
!*** ./models/UpdateBitmovinStreamRequest.ts ***!
|
|
82622
|
+
\***********************************************/
|
|
82623
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
82624
|
+
|
|
82625
|
+
"use strict";
|
|
82626
|
+
|
|
82627
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
82628
|
+
exports.UpdateBitmovinStreamRequest = void 0;
|
|
82629
|
+
var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
|
|
82630
|
+
/**
|
|
82631
|
+
* @export
|
|
82632
|
+
* @class UpdateBitmovinStreamRequest
|
|
82633
|
+
*/
|
|
82634
|
+
var UpdateBitmovinStreamRequest = /** @class */ (function () {
|
|
82635
|
+
function UpdateBitmovinStreamRequest(obj) {
|
|
82636
|
+
if (!obj) {
|
|
82637
|
+
return;
|
|
82638
|
+
}
|
|
82639
|
+
this.status = (0, Mapper_1.map)(obj.status);
|
|
82640
|
+
this.title = (0, Mapper_1.map)(obj.title);
|
|
82641
|
+
this.description = (0, Mapper_1.map)(obj.description);
|
|
82642
|
+
}
|
|
82643
|
+
return UpdateBitmovinStreamRequest;
|
|
82644
|
+
}());
|
|
82645
|
+
exports.UpdateBitmovinStreamRequest = UpdateBitmovinStreamRequest;
|
|
82646
|
+
exports["default"] = UpdateBitmovinStreamRequest;
|
|
82647
|
+
|
|
82648
|
+
|
|
82439
82649
|
/***/ }),
|
|
82440
82650
|
|
|
82441
82651
|
/***/ "./models/UpdateOrganizationRequest.ts":
|
|
@@ -84442,6 +84652,11 @@ __exportStar(__webpack_require__(/*! ./BillableEncodingMinutesDetails */ "./mode
|
|
|
84442
84652
|
__exportStar(__webpack_require__(/*! ./BitmovinResource */ "./models/BitmovinResource.ts"), exports);
|
|
84443
84653
|
__exportStar(__webpack_require__(/*! ./BitmovinResponse */ "./models/BitmovinResponse.ts"), exports);
|
|
84444
84654
|
__exportStar(__webpack_require__(/*! ./BitmovinResponseList */ "./models/BitmovinResponseList.ts"), exports);
|
|
84655
|
+
__exportStar(__webpack_require__(/*! ./BitmovinStreamEncodingStatus */ "./models/BitmovinStreamEncodingStatus.ts"), exports);
|
|
84656
|
+
__exportStar(__webpack_require__(/*! ./BitmovinStreamEncodingTask */ "./models/BitmovinStreamEncodingTask.ts"), exports);
|
|
84657
|
+
__exportStar(__webpack_require__(/*! ./BitmovinStreamQuality */ "./models/BitmovinStreamQuality.ts"), exports);
|
|
84658
|
+
__exportStar(__webpack_require__(/*! ./BitmovinStreamResponse */ "./models/BitmovinStreamResponse.ts"), exports);
|
|
84659
|
+
__exportStar(__webpack_require__(/*! ./BitmovinStreamStatus */ "./models/BitmovinStreamStatus.ts"), exports);
|
|
84445
84660
|
__exportStar(__webpack_require__(/*! ./BitrateSelectionMode */ "./models/BitrateSelectionMode.ts"), exports);
|
|
84446
84661
|
__exportStar(__webpack_require__(/*! ./BroadcastTsAudioInputStreamConfiguration */ "./models/BroadcastTsAudioInputStreamConfiguration.ts"), exports);
|
|
84447
84662
|
__exportStar(__webpack_require__(/*! ./BroadcastTsInputStreamConfiguration */ "./models/BroadcastTsInputStreamConfiguration.ts"), exports);
|
|
@@ -84493,6 +84708,7 @@ __exportStar(__webpack_require__(/*! ./ContentProtection */ "./models/ContentPro
|
|
|
84493
84708
|
__exportStar(__webpack_require__(/*! ./ConvertSccCaption */ "./models/ConvertSccCaption.ts"), exports);
|
|
84494
84709
|
__exportStar(__webpack_require__(/*! ./ConvertSccCaptionWebVttSettings */ "./models/ConvertSccCaptionWebVttSettings.ts"), exports);
|
|
84495
84710
|
__exportStar(__webpack_require__(/*! ./ConvertSccPositionMode */ "./models/ConvertSccPositionMode.ts"), exports);
|
|
84711
|
+
__exportStar(__webpack_require__(/*! ./CreateBitmovinStreamRequest */ "./models/CreateBitmovinStreamRequest.ts"), exports);
|
|
84496
84712
|
__exportStar(__webpack_require__(/*! ./CropFilter */ "./models/CropFilter.ts"), exports);
|
|
84497
84713
|
__exportStar(__webpack_require__(/*! ./CustomAttribute */ "./models/CustomAttribute.ts"), exports);
|
|
84498
84714
|
__exportStar(__webpack_require__(/*! ./CustomData */ "./models/CustomData.ts"), exports);
|
|
@@ -85001,6 +85217,7 @@ __exportStar(__webpack_require__(/*! ./TuInterDepth */ "./models/TuInterDepth.ts
|
|
|
85001
85217
|
__exportStar(__webpack_require__(/*! ./TuIntraDepth */ "./models/TuIntraDepth.ts"), exports);
|
|
85002
85218
|
__exportStar(__webpack_require__(/*! ./Tweaks */ "./models/Tweaks.ts"), exports);
|
|
85003
85219
|
__exportStar(__webpack_require__(/*! ./UnsharpFilter */ "./models/UnsharpFilter.ts"), exports);
|
|
85220
|
+
__exportStar(__webpack_require__(/*! ./UpdateBitmovinStreamRequest */ "./models/UpdateBitmovinStreamRequest.ts"), exports);
|
|
85004
85221
|
__exportStar(__webpack_require__(/*! ./UpdateOrganizationRequest */ "./models/UpdateOrganizationRequest.ts"), exports);
|
|
85005
85222
|
__exportStar(__webpack_require__(/*! ./UtcTiming */ "./models/UtcTiming.ts"), exports);
|
|
85006
85223
|
__exportStar(__webpack_require__(/*! ./VariantStreamDroppingMode */ "./models/VariantStreamDroppingMode.ts"), exports);
|
|
@@ -88631,6 +88848,159 @@ var ThirdPartyLicensingApi = /** @class */ (function (_super) {
|
|
|
88631
88848
|
exports["default"] = ThirdPartyLicensingApi;
|
|
88632
88849
|
|
|
88633
88850
|
|
|
88851
|
+
/***/ }),
|
|
88852
|
+
|
|
88853
|
+
/***/ "./streams/BitmovinStreamResponseListQueryParams.ts":
|
|
88854
|
+
/*!**********************************************************!*\
|
|
88855
|
+
!*** ./streams/BitmovinStreamResponseListQueryParams.ts ***!
|
|
88856
|
+
\**********************************************************/
|
|
88857
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
88858
|
+
|
|
88859
|
+
"use strict";
|
|
88860
|
+
|
|
88861
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
88862
|
+
exports.BitmovinStreamResponseListQueryParamsBuilder = void 0;
|
|
88863
|
+
var BitmovinStreamResponseListQueryParamsBuilder = /** @class */ (function () {
|
|
88864
|
+
function BitmovinStreamResponseListQueryParamsBuilder() {
|
|
88865
|
+
this.internalParams = {};
|
|
88866
|
+
}
|
|
88867
|
+
/**
|
|
88868
|
+
*
|
|
88869
|
+
* @param offset Index of the first item to return, starting at 0. Default is 0
|
|
88870
|
+
*/
|
|
88871
|
+
BitmovinStreamResponseListQueryParamsBuilder.prototype.offset = function (offset) {
|
|
88872
|
+
this.internalParams.offset = offset;
|
|
88873
|
+
return this;
|
|
88874
|
+
};
|
|
88875
|
+
/**
|
|
88876
|
+
*
|
|
88877
|
+
* @param limit Maximum number of items to return. Default is 25, maximum is 100
|
|
88878
|
+
*/
|
|
88879
|
+
BitmovinStreamResponseListQueryParamsBuilder.prototype.limit = function (limit) {
|
|
88880
|
+
this.internalParams.limit = limit;
|
|
88881
|
+
return this;
|
|
88882
|
+
};
|
|
88883
|
+
/**
|
|
88884
|
+
*
|
|
88885
|
+
* @param sort Order list result according an resource attribute. The fields that can be used for sorting are: + `createdAt`
|
|
88886
|
+
*/
|
|
88887
|
+
BitmovinStreamResponseListQueryParamsBuilder.prototype.sort = function (sort) {
|
|
88888
|
+
this.internalParams.sort = sort;
|
|
88889
|
+
return this;
|
|
88890
|
+
};
|
|
88891
|
+
BitmovinStreamResponseListQueryParamsBuilder.prototype.buildQueryParams = function () {
|
|
88892
|
+
return this.internalParams;
|
|
88893
|
+
};
|
|
88894
|
+
return BitmovinStreamResponseListQueryParamsBuilder;
|
|
88895
|
+
}());
|
|
88896
|
+
exports.BitmovinStreamResponseListQueryParamsBuilder = BitmovinStreamResponseListQueryParamsBuilder;
|
|
88897
|
+
|
|
88898
|
+
|
|
88899
|
+
/***/ }),
|
|
88900
|
+
|
|
88901
|
+
/***/ "./streams/StreamsApi.ts":
|
|
88902
|
+
/*!*******************************!*\
|
|
88903
|
+
!*** ./streams/StreamsApi.ts ***!
|
|
88904
|
+
\*******************************/
|
|
88905
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
88906
|
+
|
|
88907
|
+
"use strict";
|
|
88908
|
+
|
|
88909
|
+
var __extends = (this && this.__extends) || (function () {
|
|
88910
|
+
var extendStatics = function (d, b) {
|
|
88911
|
+
extendStatics = Object.setPrototypeOf ||
|
|
88912
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
88913
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
88914
|
+
return extendStatics(d, b);
|
|
88915
|
+
};
|
|
88916
|
+
return function (d, b) {
|
|
88917
|
+
if (typeof b !== "function" && b !== null)
|
|
88918
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
88919
|
+
extendStatics(d, b);
|
|
88920
|
+
function __() { this.constructor = d; }
|
|
88921
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
88922
|
+
};
|
|
88923
|
+
})();
|
|
88924
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
88925
|
+
var BaseAPI_1 = __webpack_require__(/*! ../common/BaseAPI */ "./common/BaseAPI.ts");
|
|
88926
|
+
var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
|
|
88927
|
+
var BitmovinStreamResponse_1 = __webpack_require__(/*! ../models/BitmovinStreamResponse */ "./models/BitmovinStreamResponse.ts");
|
|
88928
|
+
var PaginationResponse_1 = __webpack_require__(/*! ../models/PaginationResponse */ "./models/PaginationResponse.ts");
|
|
88929
|
+
var BitmovinStreamResponseListQueryParams_1 = __webpack_require__(/*! ./BitmovinStreamResponseListQueryParams */ "./streams/BitmovinStreamResponseListQueryParams.ts");
|
|
88930
|
+
/**
|
|
88931
|
+
* StreamsApi - object-oriented interface
|
|
88932
|
+
* @export
|
|
88933
|
+
* @class StreamsApi
|
|
88934
|
+
* @extends {BaseAPI}
|
|
88935
|
+
*/
|
|
88936
|
+
var StreamsApi = /** @class */ (function (_super) {
|
|
88937
|
+
__extends(StreamsApi, _super);
|
|
88938
|
+
function StreamsApi(configuration) {
|
|
88939
|
+
return _super.call(this, configuration) || this;
|
|
88940
|
+
}
|
|
88941
|
+
/**
|
|
88942
|
+
* @summary Create new Stream
|
|
88943
|
+
* @param {CreateBitmovinStreamRequest} createBitmovinStreamRequest Create a new Stream.
|
|
88944
|
+
* @throws {BitmovinError}
|
|
88945
|
+
* @memberof StreamsApi
|
|
88946
|
+
*/
|
|
88947
|
+
StreamsApi.prototype.create = function (createBitmovinStreamRequest) {
|
|
88948
|
+
return this.restClient.post('/streams', {}, createBitmovinStreamRequest).then(function (response) {
|
|
88949
|
+
return (0, Mapper_1.map)(response, BitmovinStreamResponse_1.default);
|
|
88950
|
+
});
|
|
88951
|
+
};
|
|
88952
|
+
/**
|
|
88953
|
+
* @summary Get Stream by id
|
|
88954
|
+
* @param {string} streamId Id of the Stream.
|
|
88955
|
+
* @throws {BitmovinError}
|
|
88956
|
+
* @memberof StreamsApi
|
|
88957
|
+
*/
|
|
88958
|
+
StreamsApi.prototype.get = function (streamId) {
|
|
88959
|
+
var pathParamMap = {
|
|
88960
|
+
stream_id: streamId
|
|
88961
|
+
};
|
|
88962
|
+
return this.restClient.get('/streams/{stream_id}', pathParamMap).then(function (response) {
|
|
88963
|
+
return (0, Mapper_1.map)(response, BitmovinStreamResponse_1.default);
|
|
88964
|
+
});
|
|
88965
|
+
};
|
|
88966
|
+
/**
|
|
88967
|
+
* @summary Get paginated list of Streams
|
|
88968
|
+
* @param {*} [queryParameters] query parameters for filtering, sorting and pagination
|
|
88969
|
+
* @throws {BitmovinError}
|
|
88970
|
+
* @memberof StreamsApi
|
|
88971
|
+
*/
|
|
88972
|
+
StreamsApi.prototype.list = function (queryParameters) {
|
|
88973
|
+
var queryParams = {};
|
|
88974
|
+
if (typeof queryParameters === 'function') {
|
|
88975
|
+
queryParams = queryParameters(new BitmovinStreamResponseListQueryParams_1.BitmovinStreamResponseListQueryParamsBuilder()).buildQueryParams();
|
|
88976
|
+
}
|
|
88977
|
+
else if (queryParameters) {
|
|
88978
|
+
queryParams = queryParameters;
|
|
88979
|
+
}
|
|
88980
|
+
return this.restClient.get('/streams', {}, queryParams).then(function (response) {
|
|
88981
|
+
return new PaginationResponse_1.default(response, BitmovinStreamResponse_1.default);
|
|
88982
|
+
});
|
|
88983
|
+
};
|
|
88984
|
+
/**
|
|
88985
|
+
* @summary Update Stream by id
|
|
88986
|
+
* @param {string} streamId Id of the Stream.
|
|
88987
|
+
* @param {UpdateBitmovinStreamRequest} updateBitmovinStreamRequest Stream fields to update.
|
|
88988
|
+
* @throws {BitmovinError}
|
|
88989
|
+
* @memberof StreamsApi
|
|
88990
|
+
*/
|
|
88991
|
+
StreamsApi.prototype.patchBitmovinStreamsStreamsByStreamId = function (streamId, updateBitmovinStreamRequest) {
|
|
88992
|
+
var pathParamMap = {
|
|
88993
|
+
stream_id: streamId
|
|
88994
|
+
};
|
|
88995
|
+
return this.restClient.patch('/streams/{stream_id}', pathParamMap, updateBitmovinStreamRequest).then(function (response) {
|
|
88996
|
+
return (0, Mapper_1.map)(response, BitmovinStreamResponse_1.default);
|
|
88997
|
+
});
|
|
88998
|
+
};
|
|
88999
|
+
return StreamsApi;
|
|
89000
|
+
}(BaseAPI_1.BaseAPI));
|
|
89001
|
+
exports["default"] = StreamsApi;
|
|
89002
|
+
|
|
89003
|
+
|
|
88634
89004
|
/***/ }),
|
|
88635
89005
|
|
|
88636
89006
|
/***/ "../node_modules/url-join/lib/url-join.js":
|