@bitmovin/api-sdk 1.175.0 → 1.177.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 +49 -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/LiveHlsManifest.d.ts +1 -1
- package/dist/models/Organization.d.ts +7 -0
- package/dist/models/Organization.js +1 -0
- package/dist/models/PrewarmedEncoderPool.d.ts +6 -0
- package/dist/models/PrewarmedEncoderPool.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/StreamsVideoResponse.d.ts +6 -0
- package/dist/models/StreamsVideoResponse.js +1 -0
- 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.177.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;
|
|
@@ -76513,6 +76530,7 @@ var PrewarmedEncoderPool = /** @class */ (function (_super) {
|
|
|
76513
76530
|
_this.infrastructureId = (0, Mapper_1.map)(obj.infrastructureId);
|
|
76514
76531
|
_this.diskSize = (0, Mapper_1.map)(obj.diskSize);
|
|
76515
76532
|
_this.targetPoolSize = (0, Mapper_1.map)(obj.targetPoolSize);
|
|
76533
|
+
_this.dynamicPool = (0, Mapper_1.map)(obj.dynamicPool);
|
|
76516
76534
|
_this.gpuEnabled = (0, Mapper_1.map)(obj.gpuEnabled);
|
|
76517
76535
|
_this.status = (0, Mapper_1.map)(obj.status);
|
|
76518
76536
|
return _this;
|
|
@@ -78836,6 +78854,33 @@ var SignatureType;
|
|
|
78836
78854
|
exports["default"] = SignatureType;
|
|
78837
78855
|
|
|
78838
78856
|
|
|
78857
|
+
/***/ }),
|
|
78858
|
+
|
|
78859
|
+
/***/ "./models/SignupSource.ts":
|
|
78860
|
+
/*!********************************!*\
|
|
78861
|
+
!*** ./models/SignupSource.ts ***!
|
|
78862
|
+
\********************************/
|
|
78863
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
78864
|
+
|
|
78865
|
+
"use strict";
|
|
78866
|
+
|
|
78867
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
78868
|
+
exports.SignupSource = void 0;
|
|
78869
|
+
/**
|
|
78870
|
+
* platform which initiated the creation of the resource
|
|
78871
|
+
* @export
|
|
78872
|
+
* @enum {string}
|
|
78873
|
+
*/
|
|
78874
|
+
var SignupSource;
|
|
78875
|
+
(function (SignupSource) {
|
|
78876
|
+
SignupSource["AWS"] = "AWS";
|
|
78877
|
+
SignupSource["AZURE"] = "AZURE";
|
|
78878
|
+
SignupSource["BITMOVIN"] = "BITMOVIN";
|
|
78879
|
+
SignupSource["GOOGLE"] = "GOOGLE";
|
|
78880
|
+
})(SignupSource = exports.SignupSource || (exports.SignupSource = {}));
|
|
78881
|
+
exports["default"] = SignupSource;
|
|
78882
|
+
|
|
78883
|
+
|
|
78839
78884
|
/***/ }),
|
|
78840
78885
|
|
|
78841
78886
|
/***/ "./models/SimpleEncodingLiveCloudRegion.ts":
|
|
@@ -82482,8 +82527,6 @@ var StreamsLiveCreateRequest = /** @class */ (function () {
|
|
|
82482
82527
|
}
|
|
82483
82528
|
this.title = (0, Mapper_1.map)(obj.title);
|
|
82484
82529
|
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
82530
|
}
|
|
82488
82531
|
return StreamsLiveCreateRequest;
|
|
82489
82532
|
}());
|
|
@@ -82584,10 +82627,7 @@ var StreamsLiveUpdateRequest = /** @class */ (function () {
|
|
|
82584
82627
|
}
|
|
82585
82628
|
this.title = (0, Mapper_1.map)(obj.title);
|
|
82586
82629
|
this.description = (0, Mapper_1.map)(obj.description);
|
|
82587
|
-
this.styleConfigId = (0, Mapper_1.map)(obj.styleConfigId);
|
|
82588
82630
|
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
82631
|
}
|
|
82592
82632
|
return StreamsLiveUpdateRequest;
|
|
82593
82633
|
}());
|
|
@@ -82777,8 +82817,6 @@ var StreamsVideoCreateRequest = /** @class */ (function () {
|
|
|
82777
82817
|
this.assetUrl = (0, Mapper_1.map)(obj.assetUrl);
|
|
82778
82818
|
this.title = (0, Mapper_1.map)(obj.title);
|
|
82779
82819
|
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
82820
|
this.encodingProfile = (0, Mapper_1.map)(obj.encodingProfile);
|
|
82783
82821
|
}
|
|
82784
82822
|
return StreamsVideoCreateRequest;
|
|
@@ -82906,6 +82944,7 @@ var StreamsVideoResponse = /** @class */ (function () {
|
|
|
82906
82944
|
this.adConfig = (0, Mapper_1.map)(obj.adConfig, StreamsAdConfigResponse_1.default);
|
|
82907
82945
|
this.contentProtection = (0, Mapper_1.map)(obj.contentProtection, StreamsContentProtectionResponse_1.default);
|
|
82908
82946
|
this.trimming = (0, Mapper_1.map)(obj.trimming);
|
|
82947
|
+
this.downloadUrl = (0, Mapper_1.map)(obj.downloadUrl);
|
|
82909
82948
|
}
|
|
82910
82949
|
return StreamsVideoResponse;
|
|
82911
82950
|
}());
|
|
@@ -82962,10 +83001,7 @@ var StreamsVideoUpdateRequest = /** @class */ (function () {
|
|
|
82962
83001
|
this.status = (0, Mapper_1.map)(obj.status);
|
|
82963
83002
|
this.title = (0, Mapper_1.map)(obj.title);
|
|
82964
83003
|
this.description = (0, Mapper_1.map)(obj.description);
|
|
82965
|
-
this.styleConfigId = (0, Mapper_1.map)(obj.styleConfigId);
|
|
82966
83004
|
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
83005
|
}
|
|
82970
83006
|
return StreamsVideoUpdateRequest;
|
|
82971
83007
|
}());
|
|
@@ -86821,6 +86857,7 @@ __exportStar(__webpack_require__(/*! ./SidecarErrorMode */ "./models/SidecarErro
|
|
|
86821
86857
|
__exportStar(__webpack_require__(/*! ./SidecarFile */ "./models/SidecarFile.ts"), exports);
|
|
86822
86858
|
__exportStar(__webpack_require__(/*! ./SidecarFileType */ "./models/SidecarFileType.ts"), exports);
|
|
86823
86859
|
__exportStar(__webpack_require__(/*! ./SignatureType */ "./models/SignatureType.ts"), exports);
|
|
86860
|
+
__exportStar(__webpack_require__(/*! ./SignupSource */ "./models/SignupSource.ts"), exports);
|
|
86824
86861
|
__exportStar(__webpack_require__(/*! ./SimpleEncodingLiveCloudRegion */ "./models/SimpleEncodingLiveCloudRegion.ts"), exports);
|
|
86825
86862
|
__exportStar(__webpack_require__(/*! ./SimpleEncodingLiveJobAccessKeyCredentials */ "./models/SimpleEncodingLiveJobAccessKeyCredentials.ts"), exports);
|
|
86826
86863
|
__exportStar(__webpack_require__(/*! ./SimpleEncodingLiveJobAzureCredentials */ "./models/SimpleEncodingLiveJobAzureCredentials.ts"), exports);
|
|
@@ -90761,21 +90798,6 @@ var LiveApi = /** @class */ (function (_super) {
|
|
|
90761
90798
|
return (0, Mapper_1.map)(response, StreamsLiveResponse_1.default);
|
|
90762
90799
|
});
|
|
90763
90800
|
};
|
|
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
90801
|
return LiveApi;
|
|
90780
90802
|
}(BaseAPI_1.BaseAPI));
|
|
90781
90803
|
exports["default"] = LiveApi;
|