@bitmovin/api-sdk 1.145.0 → 1.147.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 +84 -2
- package/dist/bitmovin-api-sdk.browser.min.js +1 -1
- package/dist/common/RestClient.js +1 -1
- package/dist/encoding/encodings/live/LiveApi.d.ts +1 -1
- package/dist/encoding/encodings/live/LiveApi.js +1 -1
- package/dist/encoding/outputs/OutputsApi.d.ts +10 -0
- package/dist/encoding/outputs/OutputsApi.js +16 -0
- package/dist/models/BroadcastTsMuxing.d.ts +1 -1
- package/dist/models/CheckOutputPermissionsRequest.d.ts +14 -0
- package/dist/models/CheckOutputPermissionsRequest.js +19 -0
- package/dist/models/CheckOutputPermissionsResponse.d.ts +39 -0
- package/dist/models/CheckOutputPermissionsResponse.js +23 -0
- package/dist/models/ChunkedTextMuxing.d.ts +1 -1
- package/dist/models/Message.d.ts +1 -1
- package/dist/models/Mp3Muxing.d.ts +1 -1
- package/dist/models/Mp4Muxing.d.ts +1 -1
- package/dist/models/MxfMuxing.d.ts +1 -1
- package/dist/models/PackedAudioMuxing.d.ts +2 -2
- package/dist/models/ProgressiveMovMuxing.d.ts +1 -1
- package/dist/models/ProgressiveTsMuxing.d.ts +1 -1
- package/dist/models/ProgressiveWebmMuxing.d.ts +1 -1
- package/dist/models/TextMuxing.d.ts +1 -1
- package/dist/models/TsMuxing.d.ts +1 -1
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- 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.147.0',
|
|
5991
5991
|
'Content-Type': 'application/json'
|
|
5992
5992
|
};
|
|
5993
5993
|
if (tenantOrgId) {
|
|
@@ -15706,7 +15706,7 @@ var LiveApi = /** @class */ (function (_super) {
|
|
|
15706
15706
|
};
|
|
15707
15707
|
/**
|
|
15708
15708
|
* @summary Re-Start Live Encoding
|
|
15709
|
-
* @param {string} encodingId Id of the encoding
|
|
15709
|
+
* @param {string} encodingId Id of the encoding. **Important:** Only live encodings with the status `RUNNING`, `FINISHED`, `CANCELED` or `ERROR` can be restarted.
|
|
15710
15710
|
* @throws {BitmovinError}
|
|
15711
15711
|
* @memberof LiveApi
|
|
15712
15712
|
*/
|
|
@@ -47144,6 +47144,7 @@ var AkamaiMslApi_1 = __webpack_require__(/*! ./akamaiMsl/AkamaiMslApi */ "./enco
|
|
|
47144
47144
|
var AkamaiNetstorageApi_1 = __webpack_require__(/*! ./akamaiNetstorage/AkamaiNetstorageApi */ "./encoding/outputs/akamaiNetstorage/AkamaiNetstorageApi.ts");
|
|
47145
47145
|
var LiveMediaIngestApi_1 = __webpack_require__(/*! ./liveMediaIngest/LiveMediaIngestApi */ "./encoding/outputs/liveMediaIngest/LiveMediaIngestApi.ts");
|
|
47146
47146
|
var CdnApi_1 = __webpack_require__(/*! ./cdn/CdnApi */ "./encoding/outputs/cdn/CdnApi.ts");
|
|
47147
|
+
var CheckOutputPermissionsResponse_1 = __webpack_require__(/*! ../../models/CheckOutputPermissionsResponse */ "./models/CheckOutputPermissionsResponse.ts");
|
|
47147
47148
|
var Output_1 = __webpack_require__(/*! ../../models/Output */ "./models/Output.ts");
|
|
47148
47149
|
var PaginationResponse_1 = __webpack_require__(/*! ../../models/PaginationResponse */ "./models/PaginationResponse.ts");
|
|
47149
47150
|
var OutputListQueryParams_1 = __webpack_require__(/*! ./OutputListQueryParams */ "./encoding/outputs/OutputListQueryParams.ts");
|
|
@@ -47173,6 +47174,21 @@ var OutputsApi = /** @class */ (function (_super) {
|
|
|
47173
47174
|
_this.cdn = new CdnApi_1.default(configuration);
|
|
47174
47175
|
return _this;
|
|
47175
47176
|
}
|
|
47177
|
+
/**
|
|
47178
|
+
* @summary Check output permissions (S3 only)
|
|
47179
|
+
* @param {string} outputId Id of the output to be checked. Currently limited to S3 outputs. The access credentials that have been provided for this Output still need to be valid, otherwise the request will fail. If they are not valid any more, create a new Output with new credentials (resources are immutable).
|
|
47180
|
+
* @param {CheckOutputPermissionsRequest} [checkOutputPermissionsRequest] Additional parameters for the permissions check
|
|
47181
|
+
* @throws {BitmovinError}
|
|
47182
|
+
* @memberof OutputsApi
|
|
47183
|
+
*/
|
|
47184
|
+
OutputsApi.prototype.checkPermissions = function (outputId, checkOutputPermissionsRequest) {
|
|
47185
|
+
var pathParamMap = {
|
|
47186
|
+
output_id: outputId
|
|
47187
|
+
};
|
|
47188
|
+
return this.restClient.post('/encoding/outputs/{output_id}/check-permissions', pathParamMap, checkOutputPermissionsRequest).then(function (response) {
|
|
47189
|
+
return (0, Mapper_1.map)(response, CheckOutputPermissionsResponse_1.default);
|
|
47190
|
+
});
|
|
47191
|
+
};
|
|
47176
47192
|
/**
|
|
47177
47193
|
* @summary Get Output Details
|
|
47178
47194
|
* @param {string} outputId Id of the wanted output
|
|
@@ -61120,6 +61136,70 @@ var ChannelsAttributeForAudio;
|
|
|
61120
61136
|
exports["default"] = ChannelsAttributeForAudio;
|
|
61121
61137
|
|
|
61122
61138
|
|
|
61139
|
+
/***/ }),
|
|
61140
|
+
|
|
61141
|
+
/***/ "./models/CheckOutputPermissionsRequest.ts":
|
|
61142
|
+
/*!*************************************************!*\
|
|
61143
|
+
!*** ./models/CheckOutputPermissionsRequest.ts ***!
|
|
61144
|
+
\*************************************************/
|
|
61145
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
61146
|
+
|
|
61147
|
+
"use strict";
|
|
61148
|
+
|
|
61149
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
61150
|
+
exports.CheckOutputPermissionsRequest = void 0;
|
|
61151
|
+
var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
|
|
61152
|
+
/**
|
|
61153
|
+
* @export
|
|
61154
|
+
* @class CheckOutputPermissionsRequest
|
|
61155
|
+
*/
|
|
61156
|
+
var CheckOutputPermissionsRequest = /** @class */ (function () {
|
|
61157
|
+
function CheckOutputPermissionsRequest(obj) {
|
|
61158
|
+
if (!obj) {
|
|
61159
|
+
return;
|
|
61160
|
+
}
|
|
61161
|
+
this.path = (0, Mapper_1.map)(obj.path);
|
|
61162
|
+
}
|
|
61163
|
+
return CheckOutputPermissionsRequest;
|
|
61164
|
+
}());
|
|
61165
|
+
exports.CheckOutputPermissionsRequest = CheckOutputPermissionsRequest;
|
|
61166
|
+
exports["default"] = CheckOutputPermissionsRequest;
|
|
61167
|
+
|
|
61168
|
+
|
|
61169
|
+
/***/ }),
|
|
61170
|
+
|
|
61171
|
+
/***/ "./models/CheckOutputPermissionsResponse.ts":
|
|
61172
|
+
/*!**************************************************!*\
|
|
61173
|
+
!*** ./models/CheckOutputPermissionsResponse.ts ***!
|
|
61174
|
+
\**************************************************/
|
|
61175
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
61176
|
+
|
|
61177
|
+
"use strict";
|
|
61178
|
+
|
|
61179
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
61180
|
+
exports.CheckOutputPermissionsResponse = void 0;
|
|
61181
|
+
var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
|
|
61182
|
+
/**
|
|
61183
|
+
* @export
|
|
61184
|
+
* @class CheckOutputPermissionsResponse
|
|
61185
|
+
*/
|
|
61186
|
+
var CheckOutputPermissionsResponse = /** @class */ (function () {
|
|
61187
|
+
function CheckOutputPermissionsResponse(obj) {
|
|
61188
|
+
if (!obj) {
|
|
61189
|
+
return;
|
|
61190
|
+
}
|
|
61191
|
+
this.outputId = (0, Mapper_1.map)(obj.outputId);
|
|
61192
|
+
this.outputType = (0, Mapper_1.map)(obj.outputType);
|
|
61193
|
+
this.path = (0, Mapper_1.map)(obj.path);
|
|
61194
|
+
this.passed = (0, Mapper_1.map)(obj.passed);
|
|
61195
|
+
this.failureReason = (0, Mapper_1.map)(obj.failureReason);
|
|
61196
|
+
}
|
|
61197
|
+
return CheckOutputPermissionsResponse;
|
|
61198
|
+
}());
|
|
61199
|
+
exports.CheckOutputPermissionsResponse = CheckOutputPermissionsResponse;
|
|
61200
|
+
exports["default"] = CheckOutputPermissionsResponse;
|
|
61201
|
+
|
|
61202
|
+
|
|
61123
61203
|
/***/ }),
|
|
61124
61204
|
|
|
61125
61205
|
/***/ "./models/ChromaLocation.ts":
|
|
@@ -84773,6 +84853,8 @@ __exportStar(__webpack_require__(/*! ./CencPlayReady */ "./models/CencPlayReady.
|
|
|
84773
84853
|
__exportStar(__webpack_require__(/*! ./CencWidevine */ "./models/CencWidevine.ts"), exports);
|
|
84774
84854
|
__exportStar(__webpack_require__(/*! ./ChannelLayout */ "./models/ChannelLayout.ts"), exports);
|
|
84775
84855
|
__exportStar(__webpack_require__(/*! ./ChannelsAttributeForAudio */ "./models/ChannelsAttributeForAudio.ts"), exports);
|
|
84856
|
+
__exportStar(__webpack_require__(/*! ./CheckOutputPermissionsRequest */ "./models/CheckOutputPermissionsRequest.ts"), exports);
|
|
84857
|
+
__exportStar(__webpack_require__(/*! ./CheckOutputPermissionsResponse */ "./models/CheckOutputPermissionsResponse.ts"), exports);
|
|
84776
84858
|
__exportStar(__webpack_require__(/*! ./ChromaLocation */ "./models/ChromaLocation.ts"), exports);
|
|
84777
84859
|
__exportStar(__webpack_require__(/*! ./ChunkedTextMuxing */ "./models/ChunkedTextMuxing.ts"), exports);
|
|
84778
84860
|
__exportStar(__webpack_require__(/*! ./ClearKeyDrm */ "./models/ClearKeyDrm.ts"), exports);
|