@bitmovin/api-sdk 1.175.0 → 1.176.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/bitmovin-api-sdk.browser.js +47 -27
- package/dist/bitmovin-api-sdk.browser.min.js +1 -1
- package/dist/common/RestClient.js +1 -1
- package/dist/encoding/filters/FilterListQueryParams.d.ts +24 -2
- package/dist/encoding/filters/FilterListQueryParams.js +17 -1
- package/dist/models/Organization.d.ts +7 -0
- package/dist/models/Organization.js +1 -0
- package/dist/models/SignupSource.d.ts +12 -0
- package/dist/models/SignupSource.js +16 -0
- package/dist/models/StreamsLiveCreateRequest.d.ts +0 -12
- package/dist/models/StreamsLiveCreateRequest.js +0 -2
- package/dist/models/StreamsLiveUpdateRequest.d.ts +0 -18
- package/dist/models/StreamsLiveUpdateRequest.js +0 -3
- package/dist/models/StreamsVideoCreateRequest.d.ts +0 -12
- package/dist/models/StreamsVideoCreateRequest.js +0 -2
- package/dist/models/StreamsVideoUpdateRequest.d.ts +0 -18
- package/dist/models/StreamsVideoUpdateRequest.js +0 -3
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/dist/streams/live/LiveApi.d.ts +0 -8
- package/dist/streams/live/LiveApi.js +0 -15
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -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.
|
|
5990
|
+
'X-Api-Client-Version': '1.176.0',
|
|
5991
5991
|
'Content-Type': 'application/json'
|
|
5992
5992
|
};
|
|
5993
5993
|
if (tenantOrgId) {
|
|
@@ -31036,12 +31036,28 @@ var FilterListQueryParamsBuilder = /** @class */ (function () {
|
|
|
31036
31036
|
};
|
|
31037
31037
|
/**
|
|
31038
31038
|
*
|
|
31039
|
-
* @param name Filter filters by name
|
|
31039
|
+
* @param name Filter filters by name. Multiple names are separated with a `,`
|
|
31040
31040
|
*/
|
|
31041
31041
|
FilterListQueryParamsBuilder.prototype.name = function (name) {
|
|
31042
31042
|
this.internalParams.name = name;
|
|
31043
31043
|
return this;
|
|
31044
31044
|
};
|
|
31045
|
+
/**
|
|
31046
|
+
*
|
|
31047
|
+
* @param sort Order list result according to a filter resource attribute. The fields that can be used for sorting are: + `id` + `createdAt` + `modifiedAt` + `type` + `name`
|
|
31048
|
+
*/
|
|
31049
|
+
FilterListQueryParamsBuilder.prototype.sort = function (sort) {
|
|
31050
|
+
this.internalParams.sort = sort;
|
|
31051
|
+
return this;
|
|
31052
|
+
};
|
|
31053
|
+
/**
|
|
31054
|
+
*
|
|
31055
|
+
* @param type Filter filters by type. Multiple types are separated with a `,`
|
|
31056
|
+
*/
|
|
31057
|
+
FilterListQueryParamsBuilder.prototype.type = function (type) {
|
|
31058
|
+
this.internalParams.type = type;
|
|
31059
|
+
return this;
|
|
31060
|
+
};
|
|
31045
31061
|
FilterListQueryParamsBuilder.prototype.buildQueryParams = function () {
|
|
31046
31062
|
return this.internalParams;
|
|
31047
31063
|
};
|
|
@@ -75035,6 +75051,7 @@ var Organization = /** @class */ (function (_super) {
|
|
|
75035
75051
|
_this.parentId = (0, Mapper_1.map)(obj.parentId);
|
|
75036
75052
|
_this.labelColor = (0, Mapper_1.map)(obj.labelColor);
|
|
75037
75053
|
_this.limitsPerResource = (0, Mapper_1.mapArray)(obj.limitsPerResource, ResourceLimitContainer_1.default);
|
|
75054
|
+
_this.signupSource = (0, Mapper_1.map)(obj.signupSource);
|
|
75038
75055
|
return _this;
|
|
75039
75056
|
}
|
|
75040
75057
|
return Organization;
|
|
@@ -78836,6 +78853,33 @@ var SignatureType;
|
|
|
78836
78853
|
exports["default"] = SignatureType;
|
|
78837
78854
|
|
|
78838
78855
|
|
|
78856
|
+
/***/ }),
|
|
78857
|
+
|
|
78858
|
+
/***/ "./models/SignupSource.ts":
|
|
78859
|
+
/*!********************************!*\
|
|
78860
|
+
!*** ./models/SignupSource.ts ***!
|
|
78861
|
+
\********************************/
|
|
78862
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
78863
|
+
|
|
78864
|
+
"use strict";
|
|
78865
|
+
|
|
78866
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
78867
|
+
exports.SignupSource = void 0;
|
|
78868
|
+
/**
|
|
78869
|
+
* platform which initiated the creation of the resource
|
|
78870
|
+
* @export
|
|
78871
|
+
* @enum {string}
|
|
78872
|
+
*/
|
|
78873
|
+
var SignupSource;
|
|
78874
|
+
(function (SignupSource) {
|
|
78875
|
+
SignupSource["AWS"] = "AWS";
|
|
78876
|
+
SignupSource["AZURE"] = "AZURE";
|
|
78877
|
+
SignupSource["BITMOVIN"] = "BITMOVIN";
|
|
78878
|
+
SignupSource["GOOGLE"] = "GOOGLE";
|
|
78879
|
+
})(SignupSource = exports.SignupSource || (exports.SignupSource = {}));
|
|
78880
|
+
exports["default"] = SignupSource;
|
|
78881
|
+
|
|
78882
|
+
|
|
78839
78883
|
/***/ }),
|
|
78840
78884
|
|
|
78841
78885
|
/***/ "./models/SimpleEncodingLiveCloudRegion.ts":
|
|
@@ -82482,8 +82526,6 @@ var StreamsLiveCreateRequest = /** @class */ (function () {
|
|
|
82482
82526
|
}
|
|
82483
82527
|
this.title = (0, Mapper_1.map)(obj.title);
|
|
82484
82528
|
this.description = (0, Mapper_1.map)(obj.description);
|
|
82485
|
-
this.styleConfigId = (0, Mapper_1.map)(obj.styleConfigId);
|
|
82486
|
-
this.adConfigId = (0, Mapper_1.map)(obj.adConfigId);
|
|
82487
82529
|
}
|
|
82488
82530
|
return StreamsLiveCreateRequest;
|
|
82489
82531
|
}());
|
|
@@ -82584,10 +82626,7 @@ var StreamsLiveUpdateRequest = /** @class */ (function () {
|
|
|
82584
82626
|
}
|
|
82585
82627
|
this.title = (0, Mapper_1.map)(obj.title);
|
|
82586
82628
|
this.description = (0, Mapper_1.map)(obj.description);
|
|
82587
|
-
this.styleConfigId = (0, Mapper_1.map)(obj.styleConfigId);
|
|
82588
82629
|
this.posterUrl = (0, Mapper_1.map)(obj.posterUrl);
|
|
82589
|
-
this.adConfigId = (0, Mapper_1.map)(obj.adConfigId);
|
|
82590
|
-
this.contentProtectionId = (0, Mapper_1.map)(obj.contentProtectionId);
|
|
82591
82630
|
}
|
|
82592
82631
|
return StreamsLiveUpdateRequest;
|
|
82593
82632
|
}());
|
|
@@ -82777,8 +82816,6 @@ var StreamsVideoCreateRequest = /** @class */ (function () {
|
|
|
82777
82816
|
this.assetUrl = (0, Mapper_1.map)(obj.assetUrl);
|
|
82778
82817
|
this.title = (0, Mapper_1.map)(obj.title);
|
|
82779
82818
|
this.description = (0, Mapper_1.map)(obj.description);
|
|
82780
|
-
this.styleConfigId = (0, Mapper_1.map)(obj.styleConfigId);
|
|
82781
|
-
this.adConfigId = (0, Mapper_1.map)(obj.adConfigId);
|
|
82782
82819
|
this.encodingProfile = (0, Mapper_1.map)(obj.encodingProfile);
|
|
82783
82820
|
}
|
|
82784
82821
|
return StreamsVideoCreateRequest;
|
|
@@ -82962,10 +82999,7 @@ var StreamsVideoUpdateRequest = /** @class */ (function () {
|
|
|
82962
82999
|
this.status = (0, Mapper_1.map)(obj.status);
|
|
82963
83000
|
this.title = (0, Mapper_1.map)(obj.title);
|
|
82964
83001
|
this.description = (0, Mapper_1.map)(obj.description);
|
|
82965
|
-
this.styleConfigId = (0, Mapper_1.map)(obj.styleConfigId);
|
|
82966
83002
|
this.posterUrl = (0, Mapper_1.map)(obj.posterUrl);
|
|
82967
|
-
this.adConfigId = (0, Mapper_1.map)(obj.adConfigId);
|
|
82968
|
-
this.contentProtectionId = (0, Mapper_1.map)(obj.contentProtectionId);
|
|
82969
83003
|
}
|
|
82970
83004
|
return StreamsVideoUpdateRequest;
|
|
82971
83005
|
}());
|
|
@@ -86821,6 +86855,7 @@ __exportStar(__webpack_require__(/*! ./SidecarErrorMode */ "./models/SidecarErro
|
|
|
86821
86855
|
__exportStar(__webpack_require__(/*! ./SidecarFile */ "./models/SidecarFile.ts"), exports);
|
|
86822
86856
|
__exportStar(__webpack_require__(/*! ./SidecarFileType */ "./models/SidecarFileType.ts"), exports);
|
|
86823
86857
|
__exportStar(__webpack_require__(/*! ./SignatureType */ "./models/SignatureType.ts"), exports);
|
|
86858
|
+
__exportStar(__webpack_require__(/*! ./SignupSource */ "./models/SignupSource.ts"), exports);
|
|
86824
86859
|
__exportStar(__webpack_require__(/*! ./SimpleEncodingLiveCloudRegion */ "./models/SimpleEncodingLiveCloudRegion.ts"), exports);
|
|
86825
86860
|
__exportStar(__webpack_require__(/*! ./SimpleEncodingLiveJobAccessKeyCredentials */ "./models/SimpleEncodingLiveJobAccessKeyCredentials.ts"), exports);
|
|
86826
86861
|
__exportStar(__webpack_require__(/*! ./SimpleEncodingLiveJobAzureCredentials */ "./models/SimpleEncodingLiveJobAzureCredentials.ts"), exports);
|
|
@@ -90761,21 +90796,6 @@ var LiveApi = /** @class */ (function (_super) {
|
|
|
90761
90796
|
return (0, Mapper_1.map)(response, StreamsLiveResponse_1.default);
|
|
90762
90797
|
});
|
|
90763
90798
|
};
|
|
90764
|
-
/**
|
|
90765
|
-
* @summary Update live stream by id
|
|
90766
|
-
* @param {string} streamId Id of the stream.
|
|
90767
|
-
* @param {StreamsLiveUpdateRequest} streamsLiveUpdateRequest The updated Streams live object.
|
|
90768
|
-
* @throws {BitmovinError}
|
|
90769
|
-
* @memberof LiveApi
|
|
90770
|
-
*/
|
|
90771
|
-
LiveApi.prototype.update = function (streamId, streamsLiveUpdateRequest) {
|
|
90772
|
-
var pathParamMap = {
|
|
90773
|
-
stream_id: streamId
|
|
90774
|
-
};
|
|
90775
|
-
return this.restClient.put('/streams/live/{stream_id}', pathParamMap, streamsLiveUpdateRequest).then(function (response) {
|
|
90776
|
-
return (0, Mapper_1.map)(response, StreamsLiveResponse_1.default);
|
|
90777
|
-
});
|
|
90778
|
-
};
|
|
90779
90799
|
return LiveApi;
|
|
90780
90800
|
}(BaseAPI_1.BaseAPI));
|
|
90781
90801
|
exports["default"] = LiveApi;
|