@bitmovin/api-sdk 1.196.0 → 1.197.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 +597 -9
- package/dist/bitmovin-api-sdk.browser.min.js +1 -1
- package/dist/common/BitmovinErrorBuilder.js +2 -3
- package/dist/common/Mapper.js +2 -3
- package/dist/common/RestClient.js +3 -3
- package/dist/encoding/encodings/muxings/MuxingsApi.d.ts +2 -0
- package/dist/encoding/encodings/muxings/MuxingsApi.js +2 -0
- package/dist/encoding/encodings/muxings/progressiveWav/ProgressiveWavApi.d.ts +51 -0
- package/dist/encoding/encodings/muxings/progressiveWav/ProgressiveWavApi.js +111 -0
- package/dist/encoding/encodings/muxings/progressiveWav/ProgressiveWavMuxingListQueryParams.d.ts +28 -0
- package/dist/encoding/encodings/muxings/progressiveWav/ProgressiveWavMuxingListQueryParams.js +29 -0
- package/dist/encoding/encodings/muxings/progressiveWav/customdata/CustomdataApi.d.ts +20 -0
- package/dist/encoding/encodings/muxings/progressiveWav/customdata/CustomdataApi.js +50 -0
- package/dist/encoding/encodings/muxings/progressiveWav/information/InformationApi.d.ts +20 -0
- package/dist/encoding/encodings/muxings/progressiveWav/information/InformationApi.js +50 -0
- package/dist/models/LiveEncodingHeartbeatWebhook.d.ts +15 -0
- package/dist/models/LiveEncodingHeartbeatWebhook.js +38 -0
- package/dist/models/Muxing.d.ts +2 -1
- package/dist/models/Muxing.js +1 -0
- package/dist/models/MuxingType.d.ts +1 -0
- package/dist/models/MuxingType.js +1 -0
- package/dist/models/ProgressiveWavMuxing.d.ts +22 -0
- package/dist/models/ProgressiveWavMuxing.js +45 -0
- package/dist/models/ProgressiveWavMuxingInformation.d.ts +9 -0
- package/dist/models/ProgressiveWavMuxingInformation.js +36 -0
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/dist/notifications/webhooks/encoding/encodings/EncodingsApi.d.ts +2 -0
- package/dist/notifications/webhooks/encoding/encodings/EncodingsApi.js +2 -0
- package/dist/notifications/webhooks/encoding/encodings/liveEncodingHeartbeat/LiveEncodingHeartbeatApi.d.ts +43 -0
- package/dist/notifications/webhooks/encoding/encodings/liveEncodingHeartbeat/LiveEncodingHeartbeatApi.js +94 -0
- package/dist/notifications/webhooks/encoding/encodings/liveEncodingHeartbeat/LiveEncodingHeartbeatWebhookListQueryParams.d.ts +28 -0
- package/dist/notifications/webhooks/encoding/encodings/liveEncodingHeartbeat/LiveEncodingHeartbeatWebhookListQueryParams.js +29 -0
- package/package.json +1 -1
|
@@ -5500,7 +5500,8 @@ exports["default"] = BitmovinError;
|
|
|
5500
5500
|
"use strict";
|
|
5501
5501
|
|
|
5502
5502
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
5503
|
-
exports.
|
|
5503
|
+
exports.buildBitmovinError = buildBitmovinError;
|
|
5504
|
+
exports.buildBitmovinErrorFromError = buildBitmovinErrorFromError;
|
|
5504
5505
|
var BitmovinError_1 = __webpack_require__(/*! ./BitmovinError */ "./common/BitmovinError.ts");
|
|
5505
5506
|
function appendLine(message, messageToAppend) {
|
|
5506
5507
|
return "".concat(message).concat(messageToAppend, "\n");
|
|
@@ -5585,7 +5586,6 @@ function buildBitmovinError(additionalInfo, request, response, errorResponse, er
|
|
|
5585
5586
|
}
|
|
5586
5587
|
return bitmovinError;
|
|
5587
5588
|
}
|
|
5588
|
-
exports.buildBitmovinError = buildBitmovinError;
|
|
5589
5589
|
function buildBitmovinErrorFromError(request, error) {
|
|
5590
5590
|
var shortMessage = "Request failed: ".concat(error.message);
|
|
5591
5591
|
var message = appendLine('', shortMessage);
|
|
@@ -5596,7 +5596,6 @@ function buildBitmovinErrorFromError(request, error) {
|
|
|
5596
5596
|
}
|
|
5597
5597
|
return bitmovinError;
|
|
5598
5598
|
}
|
|
5599
|
-
exports.buildBitmovinErrorFromError = buildBitmovinErrorFromError;
|
|
5600
5599
|
|
|
5601
5600
|
|
|
5602
5601
|
/***/ }),
|
|
@@ -5730,19 +5729,18 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
5730
5729
|
"use strict";
|
|
5731
5730
|
|
|
5732
5731
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
5733
|
-
exports.
|
|
5732
|
+
exports.map = map;
|
|
5733
|
+
exports.mapArray = mapArray;
|
|
5734
5734
|
var models = __webpack_require__(/*! ../models */ "./models/index.ts");
|
|
5735
5735
|
function map(value, clazz) {
|
|
5736
5736
|
return mapInternal(value, clazz);
|
|
5737
5737
|
}
|
|
5738
|
-
exports.map = map;
|
|
5739
5738
|
function mapArray(value, clazz) {
|
|
5740
5739
|
if (!value) {
|
|
5741
5740
|
return [];
|
|
5742
5741
|
}
|
|
5743
5742
|
return value.map(function (item) { return mapInternal(item, clazz); });
|
|
5744
5743
|
}
|
|
5745
|
-
exports.mapArray = mapArray;
|
|
5746
5744
|
function mapInternal(value, clazz) {
|
|
5747
5745
|
if (!value) {
|
|
5748
5746
|
return value;
|
|
@@ -5904,7 +5902,8 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
5904
5902
|
}
|
|
5905
5903
|
};
|
|
5906
5904
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
5907
|
-
exports.RestClient =
|
|
5905
|
+
exports.RestClient = void 0;
|
|
5906
|
+
exports.copyAndPrepareBody = copyAndPrepareBody;
|
|
5908
5907
|
var e6p = __webpack_require__(/*! es6-promise */ "../node_modules/es6-promise/dist/es6-promise.js");
|
|
5909
5908
|
var urljoin = __webpack_require__(/*! url-join */ "../node_modules/url-join/lib/url-join.js");
|
|
5910
5909
|
var isomorphicFetch = __webpack_require__(/*! isomorphic-fetch */ "../node_modules/isomorphic-fetch/fetch-npm-browserify.js");
|
|
@@ -5987,7 +5986,6 @@ function copyAndPrepareBody(value) {
|
|
|
5987
5986
|
}
|
|
5988
5987
|
return cloned;
|
|
5989
5988
|
}
|
|
5990
|
-
exports.copyAndPrepareBody = copyAndPrepareBody;
|
|
5991
5989
|
function isPrimitive(arg) {
|
|
5992
5990
|
var type = typeof arg;
|
|
5993
5991
|
return arg == null || (type != 'object' && type != 'function');
|
|
@@ -6093,7 +6091,7 @@ var HeaderHandler = /** @class */ (function (_super) {
|
|
|
6093
6091
|
var headers = {
|
|
6094
6092
|
'X-Api-Key': apiKey,
|
|
6095
6093
|
'X-Api-Client': 'bitmovin-api-sdk-javascript',
|
|
6096
|
-
'X-Api-Client-Version': '1.
|
|
6094
|
+
'X-Api-Client-Version': '1.197.0',
|
|
6097
6095
|
'Content-Type': 'application/json'
|
|
6098
6096
|
};
|
|
6099
6097
|
if (tenantOrgId) {
|
|
@@ -16541,6 +16539,7 @@ var Mp4Api_1 = __webpack_require__(/*! ./mp4/Mp4Api */ "./encoding/encodings/mux
|
|
|
16541
16539
|
var MxfApi_1 = __webpack_require__(/*! ./mxf/MxfApi */ "./encoding/encodings/muxings/mxf/MxfApi.ts");
|
|
16542
16540
|
var ProgressiveTsApi_1 = __webpack_require__(/*! ./progressiveTs/ProgressiveTsApi */ "./encoding/encodings/muxings/progressiveTs/ProgressiveTsApi.ts");
|
|
16543
16541
|
var BroadcastTsApi_1 = __webpack_require__(/*! ./broadcastTs/BroadcastTsApi */ "./encoding/encodings/muxings/broadcastTs/BroadcastTsApi.ts");
|
|
16542
|
+
var ProgressiveWavApi_1 = __webpack_require__(/*! ./progressiveWav/ProgressiveWavApi */ "./encoding/encodings/muxings/progressiveWav/ProgressiveWavApi.ts");
|
|
16544
16543
|
var ProgressiveWebmApi_1 = __webpack_require__(/*! ./progressiveWebm/ProgressiveWebmApi */ "./encoding/encodings/muxings/progressiveWebm/ProgressiveWebmApi.ts");
|
|
16545
16544
|
var ProgressiveMovApi_1 = __webpack_require__(/*! ./progressiveMov/ProgressiveMovApi */ "./encoding/encodings/muxings/progressiveMov/ProgressiveMovApi.ts");
|
|
16546
16545
|
var Muxing_1 = __webpack_require__(/*! ../../../models/Muxing */ "./models/Muxing.ts");
|
|
@@ -16570,6 +16569,7 @@ var MuxingsApi = /** @class */ (function (_super) {
|
|
|
16570
16569
|
_this.mxf = new MxfApi_1.default(configuration);
|
|
16571
16570
|
_this.progressiveTs = new ProgressiveTsApi_1.default(configuration);
|
|
16572
16571
|
_this.broadcastTs = new BroadcastTsApi_1.default(configuration);
|
|
16572
|
+
_this.progressiveWav = new ProgressiveWavApi_1.default(configuration);
|
|
16573
16573
|
_this.progressiveWebm = new ProgressiveWebmApi_1.default(configuration);
|
|
16574
16574
|
_this.progressiveMov = new ProgressiveMovApi_1.default(configuration);
|
|
16575
16575
|
return _this;
|
|
@@ -24801,6 +24801,290 @@ var InformationApi = /** @class */ (function (_super) {
|
|
|
24801
24801
|
exports["default"] = InformationApi;
|
|
24802
24802
|
|
|
24803
24803
|
|
|
24804
|
+
/***/ }),
|
|
24805
|
+
|
|
24806
|
+
/***/ "./encoding/encodings/muxings/progressiveWav/ProgressiveWavApi.ts":
|
|
24807
|
+
/*!************************************************************************!*\
|
|
24808
|
+
!*** ./encoding/encodings/muxings/progressiveWav/ProgressiveWavApi.ts ***!
|
|
24809
|
+
\************************************************************************/
|
|
24810
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
24811
|
+
|
|
24812
|
+
"use strict";
|
|
24813
|
+
|
|
24814
|
+
var __extends = (this && this.__extends) || (function () {
|
|
24815
|
+
var extendStatics = function (d, b) {
|
|
24816
|
+
extendStatics = Object.setPrototypeOf ||
|
|
24817
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
24818
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
24819
|
+
return extendStatics(d, b);
|
|
24820
|
+
};
|
|
24821
|
+
return function (d, b) {
|
|
24822
|
+
if (typeof b !== "function" && b !== null)
|
|
24823
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
24824
|
+
extendStatics(d, b);
|
|
24825
|
+
function __() { this.constructor = d; }
|
|
24826
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
24827
|
+
};
|
|
24828
|
+
})();
|
|
24829
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
24830
|
+
var BaseAPI_1 = __webpack_require__(/*! ../../../../common/BaseAPI */ "./common/BaseAPI.ts");
|
|
24831
|
+
var Mapper_1 = __webpack_require__(/*! ../../../../common/Mapper */ "./common/Mapper.ts");
|
|
24832
|
+
var CustomdataApi_1 = __webpack_require__(/*! ./customdata/CustomdataApi */ "./encoding/encodings/muxings/progressiveWav/customdata/CustomdataApi.ts");
|
|
24833
|
+
var InformationApi_1 = __webpack_require__(/*! ./information/InformationApi */ "./encoding/encodings/muxings/progressiveWav/information/InformationApi.ts");
|
|
24834
|
+
var BitmovinResponse_1 = __webpack_require__(/*! ../../../../models/BitmovinResponse */ "./models/BitmovinResponse.ts");
|
|
24835
|
+
var ProgressiveWavMuxing_1 = __webpack_require__(/*! ../../../../models/ProgressiveWavMuxing */ "./models/ProgressiveWavMuxing.ts");
|
|
24836
|
+
var PaginationResponse_1 = __webpack_require__(/*! ../../../../models/PaginationResponse */ "./models/PaginationResponse.ts");
|
|
24837
|
+
var ProgressiveWavMuxingListQueryParams_1 = __webpack_require__(/*! ./ProgressiveWavMuxingListQueryParams */ "./encoding/encodings/muxings/progressiveWav/ProgressiveWavMuxingListQueryParams.ts");
|
|
24838
|
+
/**
|
|
24839
|
+
* ProgressiveWavApi - object-oriented interface
|
|
24840
|
+
* @export
|
|
24841
|
+
* @class ProgressiveWavApi
|
|
24842
|
+
* @extends {BaseAPI}
|
|
24843
|
+
*/
|
|
24844
|
+
var ProgressiveWavApi = /** @class */ (function (_super) {
|
|
24845
|
+
__extends(ProgressiveWavApi, _super);
|
|
24846
|
+
function ProgressiveWavApi(configuration) {
|
|
24847
|
+
var _this = _super.call(this, configuration) || this;
|
|
24848
|
+
_this.customdata = new CustomdataApi_1.default(configuration);
|
|
24849
|
+
_this.information = new InformationApi_1.default(configuration);
|
|
24850
|
+
return _this;
|
|
24851
|
+
}
|
|
24852
|
+
/**
|
|
24853
|
+
* @summary Add Progressive Wav muxing
|
|
24854
|
+
* @param {string} encodingId Id of the encoding.
|
|
24855
|
+
* @param {ProgressiveWavMuxing} progressiveWavMuxing The Progressive WAV muxing to be created
|
|
24856
|
+
* @throws {BitmovinError}
|
|
24857
|
+
* @memberof ProgressiveWavApi
|
|
24858
|
+
*/
|
|
24859
|
+
ProgressiveWavApi.prototype.create = function (encodingId, progressiveWavMuxing) {
|
|
24860
|
+
var pathParamMap = {
|
|
24861
|
+
encoding_id: encodingId
|
|
24862
|
+
};
|
|
24863
|
+
return this.restClient.post('/encoding/encodings/{encoding_id}/muxings/progressive-wav', pathParamMap, progressiveWavMuxing).then(function (response) {
|
|
24864
|
+
return (0, Mapper_1.map)(response, ProgressiveWavMuxing_1.default);
|
|
24865
|
+
});
|
|
24866
|
+
};
|
|
24867
|
+
/**
|
|
24868
|
+
* @summary Delete Progressive WAV muxing
|
|
24869
|
+
* @param {string} encodingId Id of the encoding.
|
|
24870
|
+
* @param {string} muxingId Id of the Progressive WAV muxing
|
|
24871
|
+
* @throws {BitmovinError}
|
|
24872
|
+
* @memberof ProgressiveWavApi
|
|
24873
|
+
*/
|
|
24874
|
+
ProgressiveWavApi.prototype.delete = function (encodingId, muxingId) {
|
|
24875
|
+
var pathParamMap = {
|
|
24876
|
+
encoding_id: encodingId,
|
|
24877
|
+
muxing_id: muxingId
|
|
24878
|
+
};
|
|
24879
|
+
return this.restClient.delete('/encoding/encodings/{encoding_id}/muxings/progressive-wav/{muxing_id}', pathParamMap).then(function (response) {
|
|
24880
|
+
return (0, Mapper_1.map)(response, BitmovinResponse_1.default);
|
|
24881
|
+
});
|
|
24882
|
+
};
|
|
24883
|
+
/**
|
|
24884
|
+
* @summary Progressive WAV muxing details
|
|
24885
|
+
* @param {string} encodingId Id of the encoding.
|
|
24886
|
+
* @param {string} muxingId Id of the Progressive WAV muxing
|
|
24887
|
+
* @throws {BitmovinError}
|
|
24888
|
+
* @memberof ProgressiveWavApi
|
|
24889
|
+
*/
|
|
24890
|
+
ProgressiveWavApi.prototype.get = function (encodingId, muxingId) {
|
|
24891
|
+
var pathParamMap = {
|
|
24892
|
+
encoding_id: encodingId,
|
|
24893
|
+
muxing_id: muxingId
|
|
24894
|
+
};
|
|
24895
|
+
return this.restClient.get('/encoding/encodings/{encoding_id}/muxings/progressive-wav/{muxing_id}', pathParamMap).then(function (response) {
|
|
24896
|
+
return (0, Mapper_1.map)(response, ProgressiveWavMuxing_1.default);
|
|
24897
|
+
});
|
|
24898
|
+
};
|
|
24899
|
+
/**
|
|
24900
|
+
* @summary List Progressive WAV muxings
|
|
24901
|
+
* @param {string} encodingId Id of the encoding.
|
|
24902
|
+
* @param {*} [queryParameters] query parameters for filtering, sorting and pagination
|
|
24903
|
+
* @throws {BitmovinError}
|
|
24904
|
+
* @memberof ProgressiveWavApi
|
|
24905
|
+
*/
|
|
24906
|
+
ProgressiveWavApi.prototype.list = function (encodingId, queryParameters) {
|
|
24907
|
+
var pathParamMap = {
|
|
24908
|
+
encoding_id: encodingId
|
|
24909
|
+
};
|
|
24910
|
+
var queryParams = {};
|
|
24911
|
+
if (typeof queryParameters === 'function') {
|
|
24912
|
+
queryParams = queryParameters(new ProgressiveWavMuxingListQueryParams_1.ProgressiveWavMuxingListQueryParamsBuilder()).buildQueryParams();
|
|
24913
|
+
}
|
|
24914
|
+
else if (queryParameters) {
|
|
24915
|
+
queryParams = queryParameters;
|
|
24916
|
+
}
|
|
24917
|
+
return this.restClient.get('/encoding/encodings/{encoding_id}/muxings/progressive-wav', pathParamMap, queryParams).then(function (response) {
|
|
24918
|
+
return new PaginationResponse_1.default(response, ProgressiveWavMuxing_1.default);
|
|
24919
|
+
});
|
|
24920
|
+
};
|
|
24921
|
+
return ProgressiveWavApi;
|
|
24922
|
+
}(BaseAPI_1.BaseAPI));
|
|
24923
|
+
exports["default"] = ProgressiveWavApi;
|
|
24924
|
+
|
|
24925
|
+
|
|
24926
|
+
/***/ }),
|
|
24927
|
+
|
|
24928
|
+
/***/ "./encoding/encodings/muxings/progressiveWav/ProgressiveWavMuxingListQueryParams.ts":
|
|
24929
|
+
/*!******************************************************************************************!*\
|
|
24930
|
+
!*** ./encoding/encodings/muxings/progressiveWav/ProgressiveWavMuxingListQueryParams.ts ***!
|
|
24931
|
+
\******************************************************************************************/
|
|
24932
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
24933
|
+
|
|
24934
|
+
"use strict";
|
|
24935
|
+
|
|
24936
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
24937
|
+
exports.ProgressiveWavMuxingListQueryParamsBuilder = void 0;
|
|
24938
|
+
var ProgressiveWavMuxingListQueryParamsBuilder = /** @class */ (function () {
|
|
24939
|
+
function ProgressiveWavMuxingListQueryParamsBuilder() {
|
|
24940
|
+
this.internalParams = {};
|
|
24941
|
+
}
|
|
24942
|
+
/**
|
|
24943
|
+
*
|
|
24944
|
+
* @param offset Index of the first item to return, starting at 0. Default is 0
|
|
24945
|
+
*/
|
|
24946
|
+
ProgressiveWavMuxingListQueryParamsBuilder.prototype.offset = function (offset) {
|
|
24947
|
+
this.internalParams.offset = offset;
|
|
24948
|
+
return this;
|
|
24949
|
+
};
|
|
24950
|
+
/**
|
|
24951
|
+
*
|
|
24952
|
+
* @param limit Maximum number of items to return. Default is 25, maximum is 100
|
|
24953
|
+
*/
|
|
24954
|
+
ProgressiveWavMuxingListQueryParamsBuilder.prototype.limit = function (limit) {
|
|
24955
|
+
this.internalParams.limit = limit;
|
|
24956
|
+
return this;
|
|
24957
|
+
};
|
|
24958
|
+
ProgressiveWavMuxingListQueryParamsBuilder.prototype.buildQueryParams = function () {
|
|
24959
|
+
return this.internalParams;
|
|
24960
|
+
};
|
|
24961
|
+
return ProgressiveWavMuxingListQueryParamsBuilder;
|
|
24962
|
+
}());
|
|
24963
|
+
exports.ProgressiveWavMuxingListQueryParamsBuilder = ProgressiveWavMuxingListQueryParamsBuilder;
|
|
24964
|
+
|
|
24965
|
+
|
|
24966
|
+
/***/ }),
|
|
24967
|
+
|
|
24968
|
+
/***/ "./encoding/encodings/muxings/progressiveWav/customdata/CustomdataApi.ts":
|
|
24969
|
+
/*!*******************************************************************************!*\
|
|
24970
|
+
!*** ./encoding/encodings/muxings/progressiveWav/customdata/CustomdataApi.ts ***!
|
|
24971
|
+
\*******************************************************************************/
|
|
24972
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
24973
|
+
|
|
24974
|
+
"use strict";
|
|
24975
|
+
|
|
24976
|
+
var __extends = (this && this.__extends) || (function () {
|
|
24977
|
+
var extendStatics = function (d, b) {
|
|
24978
|
+
extendStatics = Object.setPrototypeOf ||
|
|
24979
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
24980
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
24981
|
+
return extendStatics(d, b);
|
|
24982
|
+
};
|
|
24983
|
+
return function (d, b) {
|
|
24984
|
+
if (typeof b !== "function" && b !== null)
|
|
24985
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
24986
|
+
extendStatics(d, b);
|
|
24987
|
+
function __() { this.constructor = d; }
|
|
24988
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
24989
|
+
};
|
|
24990
|
+
})();
|
|
24991
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
24992
|
+
var BaseAPI_1 = __webpack_require__(/*! ../../../../../common/BaseAPI */ "./common/BaseAPI.ts");
|
|
24993
|
+
var Mapper_1 = __webpack_require__(/*! ../../../../../common/Mapper */ "./common/Mapper.ts");
|
|
24994
|
+
var CustomData_1 = __webpack_require__(/*! ../../../../../models/CustomData */ "./models/CustomData.ts");
|
|
24995
|
+
/**
|
|
24996
|
+
* CustomdataApi - object-oriented interface
|
|
24997
|
+
* @export
|
|
24998
|
+
* @class CustomdataApi
|
|
24999
|
+
* @extends {BaseAPI}
|
|
25000
|
+
*/
|
|
25001
|
+
var CustomdataApi = /** @class */ (function (_super) {
|
|
25002
|
+
__extends(CustomdataApi, _super);
|
|
25003
|
+
function CustomdataApi(configuration) {
|
|
25004
|
+
return _super.call(this, configuration) || this;
|
|
25005
|
+
}
|
|
25006
|
+
/**
|
|
25007
|
+
* @summary Progressive Wav muxing Custom Data
|
|
25008
|
+
* @param {string} encodingId Id of the encoding.
|
|
25009
|
+
* @param {string} muxingId Id of the Progressive WAV muxing
|
|
25010
|
+
* @throws {BitmovinError}
|
|
25011
|
+
* @memberof CustomdataApi
|
|
25012
|
+
*/
|
|
25013
|
+
CustomdataApi.prototype.get = function (encodingId, muxingId) {
|
|
25014
|
+
var pathParamMap = {
|
|
25015
|
+
encoding_id: encodingId,
|
|
25016
|
+
muxing_id: muxingId
|
|
25017
|
+
};
|
|
25018
|
+
return this.restClient.get('/encoding/encodings/{encoding_id}/muxings/progressive-wav/{muxing_id}/customData', pathParamMap).then(function (response) {
|
|
25019
|
+
return (0, Mapper_1.map)(response, CustomData_1.default);
|
|
25020
|
+
});
|
|
25021
|
+
};
|
|
25022
|
+
return CustomdataApi;
|
|
25023
|
+
}(BaseAPI_1.BaseAPI));
|
|
25024
|
+
exports["default"] = CustomdataApi;
|
|
25025
|
+
|
|
25026
|
+
|
|
25027
|
+
/***/ }),
|
|
25028
|
+
|
|
25029
|
+
/***/ "./encoding/encodings/muxings/progressiveWav/information/InformationApi.ts":
|
|
25030
|
+
/*!*********************************************************************************!*\
|
|
25031
|
+
!*** ./encoding/encodings/muxings/progressiveWav/information/InformationApi.ts ***!
|
|
25032
|
+
\*********************************************************************************/
|
|
25033
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
25034
|
+
|
|
25035
|
+
"use strict";
|
|
25036
|
+
|
|
25037
|
+
var __extends = (this && this.__extends) || (function () {
|
|
25038
|
+
var extendStatics = function (d, b) {
|
|
25039
|
+
extendStatics = Object.setPrototypeOf ||
|
|
25040
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
25041
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
25042
|
+
return extendStatics(d, b);
|
|
25043
|
+
};
|
|
25044
|
+
return function (d, b) {
|
|
25045
|
+
if (typeof b !== "function" && b !== null)
|
|
25046
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
25047
|
+
extendStatics(d, b);
|
|
25048
|
+
function __() { this.constructor = d; }
|
|
25049
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
25050
|
+
};
|
|
25051
|
+
})();
|
|
25052
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
25053
|
+
var BaseAPI_1 = __webpack_require__(/*! ../../../../../common/BaseAPI */ "./common/BaseAPI.ts");
|
|
25054
|
+
var Mapper_1 = __webpack_require__(/*! ../../../../../common/Mapper */ "./common/Mapper.ts");
|
|
25055
|
+
var ProgressiveWavMuxingInformation_1 = __webpack_require__(/*! ../../../../../models/ProgressiveWavMuxingInformation */ "./models/ProgressiveWavMuxingInformation.ts");
|
|
25056
|
+
/**
|
|
25057
|
+
* InformationApi - object-oriented interface
|
|
25058
|
+
* @export
|
|
25059
|
+
* @class InformationApi
|
|
25060
|
+
* @extends {BaseAPI}
|
|
25061
|
+
*/
|
|
25062
|
+
var InformationApi = /** @class */ (function (_super) {
|
|
25063
|
+
__extends(InformationApi, _super);
|
|
25064
|
+
function InformationApi(configuration) {
|
|
25065
|
+
return _super.call(this, configuration) || this;
|
|
25066
|
+
}
|
|
25067
|
+
/**
|
|
25068
|
+
* @summary Progressive WAV muxing Information
|
|
25069
|
+
* @param {string} encodingId ID of the Encoding.
|
|
25070
|
+
* @param {string} muxingId ID of the Progressive WAV muxing
|
|
25071
|
+
* @throws {BitmovinError}
|
|
25072
|
+
* @memberof InformationApi
|
|
25073
|
+
*/
|
|
25074
|
+
InformationApi.prototype.get = function (encodingId, muxingId) {
|
|
25075
|
+
var pathParamMap = {
|
|
25076
|
+
encoding_id: encodingId,
|
|
25077
|
+
muxing_id: muxingId
|
|
25078
|
+
};
|
|
25079
|
+
return this.restClient.get('/encoding/encodings/{encoding_id}/muxings/progressive-wav/{muxing_id}/information', pathParamMap).then(function (response) {
|
|
25080
|
+
return (0, Mapper_1.map)(response, ProgressiveWavMuxingInformation_1.default);
|
|
25081
|
+
});
|
|
25082
|
+
};
|
|
25083
|
+
return InformationApi;
|
|
25084
|
+
}(BaseAPI_1.BaseAPI));
|
|
25085
|
+
exports["default"] = InformationApi;
|
|
25086
|
+
|
|
25087
|
+
|
|
24804
25088
|
/***/ }),
|
|
24805
25089
|
|
|
24806
25090
|
/***/ "./encoding/encodings/muxings/progressiveWebm/ProgressiveWebmApi.ts":
|
|
@@ -73495,6 +73779,55 @@ var LiveEncodingEventName;
|
|
|
73495
73779
|
exports["default"] = LiveEncodingEventName;
|
|
73496
73780
|
|
|
73497
73781
|
|
|
73782
|
+
/***/ }),
|
|
73783
|
+
|
|
73784
|
+
/***/ "./models/LiveEncodingHeartbeatWebhook.ts":
|
|
73785
|
+
/*!************************************************!*\
|
|
73786
|
+
!*** ./models/LiveEncodingHeartbeatWebhook.ts ***!
|
|
73787
|
+
\************************************************/
|
|
73788
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
73789
|
+
|
|
73790
|
+
"use strict";
|
|
73791
|
+
|
|
73792
|
+
var __extends = (this && this.__extends) || (function () {
|
|
73793
|
+
var extendStatics = function (d, b) {
|
|
73794
|
+
extendStatics = Object.setPrototypeOf ||
|
|
73795
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
73796
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
73797
|
+
return extendStatics(d, b);
|
|
73798
|
+
};
|
|
73799
|
+
return function (d, b) {
|
|
73800
|
+
if (typeof b !== "function" && b !== null)
|
|
73801
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
73802
|
+
extendStatics(d, b);
|
|
73803
|
+
function __() { this.constructor = d; }
|
|
73804
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
73805
|
+
};
|
|
73806
|
+
})();
|
|
73807
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
73808
|
+
exports.LiveEncodingHeartbeatWebhook = void 0;
|
|
73809
|
+
var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
|
|
73810
|
+
var Webhook_1 = __webpack_require__(/*! ./Webhook */ "./models/Webhook.ts");
|
|
73811
|
+
/**
|
|
73812
|
+
* @export
|
|
73813
|
+
* @class LiveEncodingHeartbeatWebhook
|
|
73814
|
+
*/
|
|
73815
|
+
var LiveEncodingHeartbeatWebhook = /** @class */ (function (_super) {
|
|
73816
|
+
__extends(LiveEncodingHeartbeatWebhook, _super);
|
|
73817
|
+
function LiveEncodingHeartbeatWebhook(obj) {
|
|
73818
|
+
var _this = _super.call(this, obj) || this;
|
|
73819
|
+
if (!obj) {
|
|
73820
|
+
return _this;
|
|
73821
|
+
}
|
|
73822
|
+
_this.interval = (0, Mapper_1.map)(obj.interval);
|
|
73823
|
+
return _this;
|
|
73824
|
+
}
|
|
73825
|
+
return LiveEncodingHeartbeatWebhook;
|
|
73826
|
+
}(Webhook_1.default));
|
|
73827
|
+
exports.LiveEncodingHeartbeatWebhook = LiveEncodingHeartbeatWebhook;
|
|
73828
|
+
exports["default"] = LiveEncodingHeartbeatWebhook;
|
|
73829
|
+
|
|
73830
|
+
|
|
73498
73831
|
/***/ }),
|
|
73499
73832
|
|
|
73500
73833
|
/***/ "./models/LiveEncodingOptionsStatistics.ts":
|
|
@@ -75044,6 +75377,7 @@ var Muxing = /** @class */ (function (_super) {
|
|
|
75044
75377
|
WEBM: 'WebmMuxing',
|
|
75045
75378
|
MP3: 'Mp3Muxing',
|
|
75046
75379
|
MXF: 'MxfMuxing',
|
|
75380
|
+
PROGRESSIVE_WAV: 'ProgressiveWavMuxing',
|
|
75047
75381
|
PROGRESSIVE_WEBM: 'ProgressiveWebmMuxing',
|
|
75048
75382
|
PROGRESSIVE_MOV: 'ProgressiveMovMuxing',
|
|
75049
75383
|
PROGRESSIVE_TS: 'ProgressiveTsMuxing',
|
|
@@ -75194,6 +75528,7 @@ var MuxingType;
|
|
|
75194
75528
|
MuxingType["WEBM"] = "WEBM";
|
|
75195
75529
|
MuxingType["MP3"] = "MP3";
|
|
75196
75530
|
MuxingType["MXF"] = "MXF";
|
|
75531
|
+
MuxingType["PROGRESSIVE_WAV"] = "PROGRESSIVE_WAV";
|
|
75197
75532
|
MuxingType["PROGRESSIVE_WEBM"] = "PROGRESSIVE_WEBM";
|
|
75198
75533
|
MuxingType["PROGRESSIVE_MOV"] = "PROGRESSIVE_MOV";
|
|
75199
75534
|
MuxingType["PROGRESSIVE_TS"] = "PROGRESSIVE_TS";
|
|
@@ -77912,6 +78247,109 @@ exports.ProgressiveTsMuxingInformationByteRanges = ProgressiveTsMuxingInformatio
|
|
|
77912
78247
|
exports["default"] = ProgressiveTsMuxingInformationByteRanges;
|
|
77913
78248
|
|
|
77914
78249
|
|
|
78250
|
+
/***/ }),
|
|
78251
|
+
|
|
78252
|
+
/***/ "./models/ProgressiveWavMuxing.ts":
|
|
78253
|
+
/*!****************************************!*\
|
|
78254
|
+
!*** ./models/ProgressiveWavMuxing.ts ***!
|
|
78255
|
+
\****************************************/
|
|
78256
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
78257
|
+
|
|
78258
|
+
"use strict";
|
|
78259
|
+
|
|
78260
|
+
var __extends = (this && this.__extends) || (function () {
|
|
78261
|
+
var extendStatics = function (d, b) {
|
|
78262
|
+
extendStatics = Object.setPrototypeOf ||
|
|
78263
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
78264
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
78265
|
+
return extendStatics(d, b);
|
|
78266
|
+
};
|
|
78267
|
+
return function (d, b) {
|
|
78268
|
+
if (typeof b !== "function" && b !== null)
|
|
78269
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
78270
|
+
extendStatics(d, b);
|
|
78271
|
+
function __() { this.constructor = d; }
|
|
78272
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
78273
|
+
};
|
|
78274
|
+
})();
|
|
78275
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
78276
|
+
exports.ProgressiveWavMuxing = void 0;
|
|
78277
|
+
var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
|
|
78278
|
+
var Muxing_1 = __webpack_require__(/*! ./Muxing */ "./models/Muxing.ts");
|
|
78279
|
+
var MuxingType_1 = __webpack_require__(/*! ./MuxingType */ "./models/MuxingType.ts");
|
|
78280
|
+
/**
|
|
78281
|
+
* @export
|
|
78282
|
+
* @class ProgressiveWavMuxing
|
|
78283
|
+
*/
|
|
78284
|
+
var ProgressiveWavMuxing = /** @class */ (function (_super) {
|
|
78285
|
+
__extends(ProgressiveWavMuxing, _super);
|
|
78286
|
+
function ProgressiveWavMuxing(obj) {
|
|
78287
|
+
var _this = _super.call(this, obj) || this;
|
|
78288
|
+
/**
|
|
78289
|
+
* Discriminator property for Muxing
|
|
78290
|
+
* @type {string}
|
|
78291
|
+
* @memberof ProgressiveWavMuxing
|
|
78292
|
+
*/
|
|
78293
|
+
_this.type = MuxingType_1.default.PROGRESSIVE_WAV;
|
|
78294
|
+
if (!obj) {
|
|
78295
|
+
return _this;
|
|
78296
|
+
}
|
|
78297
|
+
_this.filename = (0, Mapper_1.map)(obj.filename);
|
|
78298
|
+
return _this;
|
|
78299
|
+
}
|
|
78300
|
+
return ProgressiveWavMuxing;
|
|
78301
|
+
}(Muxing_1.default));
|
|
78302
|
+
exports.ProgressiveWavMuxing = ProgressiveWavMuxing;
|
|
78303
|
+
exports["default"] = ProgressiveWavMuxing;
|
|
78304
|
+
|
|
78305
|
+
|
|
78306
|
+
/***/ }),
|
|
78307
|
+
|
|
78308
|
+
/***/ "./models/ProgressiveWavMuxingInformation.ts":
|
|
78309
|
+
/*!***************************************************!*\
|
|
78310
|
+
!*** ./models/ProgressiveWavMuxingInformation.ts ***!
|
|
78311
|
+
\***************************************************/
|
|
78312
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
78313
|
+
|
|
78314
|
+
"use strict";
|
|
78315
|
+
|
|
78316
|
+
var __extends = (this && this.__extends) || (function () {
|
|
78317
|
+
var extendStatics = function (d, b) {
|
|
78318
|
+
extendStatics = Object.setPrototypeOf ||
|
|
78319
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
78320
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
78321
|
+
return extendStatics(d, b);
|
|
78322
|
+
};
|
|
78323
|
+
return function (d, b) {
|
|
78324
|
+
if (typeof b !== "function" && b !== null)
|
|
78325
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
78326
|
+
extendStatics(d, b);
|
|
78327
|
+
function __() { this.constructor = d; }
|
|
78328
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
78329
|
+
};
|
|
78330
|
+
})();
|
|
78331
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
78332
|
+
exports.ProgressiveWavMuxingInformation = void 0;
|
|
78333
|
+
var ProgressiveMuxingInformation_1 = __webpack_require__(/*! ./ProgressiveMuxingInformation */ "./models/ProgressiveMuxingInformation.ts");
|
|
78334
|
+
/**
|
|
78335
|
+
* @export
|
|
78336
|
+
* @class ProgressiveWavMuxingInformation
|
|
78337
|
+
*/
|
|
78338
|
+
var ProgressiveWavMuxingInformation = /** @class */ (function (_super) {
|
|
78339
|
+
__extends(ProgressiveWavMuxingInformation, _super);
|
|
78340
|
+
function ProgressiveWavMuxingInformation(obj) {
|
|
78341
|
+
var _this = _super.call(this, obj) || this;
|
|
78342
|
+
if (!obj) {
|
|
78343
|
+
return _this;
|
|
78344
|
+
}
|
|
78345
|
+
return _this;
|
|
78346
|
+
}
|
|
78347
|
+
return ProgressiveWavMuxingInformation;
|
|
78348
|
+
}(ProgressiveMuxingInformation_1.default));
|
|
78349
|
+
exports.ProgressiveWavMuxingInformation = ProgressiveWavMuxingInformation;
|
|
78350
|
+
exports["default"] = ProgressiveWavMuxingInformation;
|
|
78351
|
+
|
|
78352
|
+
|
|
77915
78353
|
/***/ }),
|
|
77916
78354
|
|
|
77917
78355
|
/***/ "./models/ProgressiveWebmMuxing.ts":
|
|
@@ -88088,6 +88526,7 @@ __exportStar(__webpack_require__(/*! ./LiveDashManifest */ "./models/LiveDashMan
|
|
|
88088
88526
|
__exportStar(__webpack_require__(/*! ./LiveEncoding */ "./models/LiveEncoding.ts"), exports);
|
|
88089
88527
|
__exportStar(__webpack_require__(/*! ./LiveEncodingCodec */ "./models/LiveEncodingCodec.ts"), exports);
|
|
88090
88528
|
__exportStar(__webpack_require__(/*! ./LiveEncodingEventName */ "./models/LiveEncodingEventName.ts"), exports);
|
|
88529
|
+
__exportStar(__webpack_require__(/*! ./LiveEncodingHeartbeatWebhook */ "./models/LiveEncodingHeartbeatWebhook.ts"), exports);
|
|
88091
88530
|
__exportStar(__webpack_require__(/*! ./LiveEncodingOptionsStatistics */ "./models/LiveEncodingOptionsStatistics.ts"), exports);
|
|
88092
88531
|
__exportStar(__webpack_require__(/*! ./LiveEncodingStats */ "./models/LiveEncodingStats.ts"), exports);
|
|
88093
88532
|
__exportStar(__webpack_require__(/*! ./LiveEncodingStatsEvent */ "./models/LiveEncodingStatsEvent.ts"), exports);
|
|
@@ -88204,6 +88643,8 @@ __exportStar(__webpack_require__(/*! ./ProgressiveMuxingInformation */ "./models
|
|
|
88204
88643
|
__exportStar(__webpack_require__(/*! ./ProgressiveTsMuxing */ "./models/ProgressiveTsMuxing.ts"), exports);
|
|
88205
88644
|
__exportStar(__webpack_require__(/*! ./ProgressiveTsMuxingInformation */ "./models/ProgressiveTsMuxingInformation.ts"), exports);
|
|
88206
88645
|
__exportStar(__webpack_require__(/*! ./ProgressiveTsMuxingInformationByteRanges */ "./models/ProgressiveTsMuxingInformationByteRanges.ts"), exports);
|
|
88646
|
+
__exportStar(__webpack_require__(/*! ./ProgressiveWavMuxing */ "./models/ProgressiveWavMuxing.ts"), exports);
|
|
88647
|
+
__exportStar(__webpack_require__(/*! ./ProgressiveWavMuxingInformation */ "./models/ProgressiveWavMuxingInformation.ts"), exports);
|
|
88207
88648
|
__exportStar(__webpack_require__(/*! ./ProgressiveWebmMuxing */ "./models/ProgressiveWebmMuxing.ts"), exports);
|
|
88208
88649
|
__exportStar(__webpack_require__(/*! ./ProgressiveWebmMuxingInformation */ "./models/ProgressiveWebmMuxingInformation.ts"), exports);
|
|
88209
88650
|
__exportStar(__webpack_require__(/*! ./ProgressiveWebmMuxingManifestType */ "./models/ProgressiveWebmMuxingManifestType.ts"), exports);
|
|
@@ -89524,6 +89965,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
89524
89965
|
var BaseAPI_1 = __webpack_require__(/*! ../../../../common/BaseAPI */ "./common/BaseAPI.ts");
|
|
89525
89966
|
var FinishedApi_1 = __webpack_require__(/*! ./finished/FinishedApi */ "./notifications/webhooks/encoding/encodings/finished/FinishedApi.ts");
|
|
89526
89967
|
var ErrorApi_1 = __webpack_require__(/*! ./error/ErrorApi */ "./notifications/webhooks/encoding/encodings/error/ErrorApi.ts");
|
|
89968
|
+
var LiveEncodingHeartbeatApi_1 = __webpack_require__(/*! ./liveEncodingHeartbeat/LiveEncodingHeartbeatApi */ "./notifications/webhooks/encoding/encodings/liveEncodingHeartbeat/LiveEncodingHeartbeatApi.ts");
|
|
89527
89969
|
var TransferErrorApi_1 = __webpack_require__(/*! ./transferError/TransferErrorApi */ "./notifications/webhooks/encoding/encodings/transferError/TransferErrorApi.ts");
|
|
89528
89970
|
var LiveInputStreamChangedApi_1 = __webpack_require__(/*! ./liveInputStreamChanged/LiveInputStreamChangedApi */ "./notifications/webhooks/encoding/encodings/liveInputStreamChanged/LiveInputStreamChangedApi.ts");
|
|
89529
89971
|
var EncodingStatusChangedApi_1 = __webpack_require__(/*! ./encodingStatusChanged/EncodingStatusChangedApi */ "./notifications/webhooks/encoding/encodings/encodingStatusChanged/EncodingStatusChangedApi.ts");
|
|
@@ -89539,6 +89981,7 @@ var EncodingsApi = /** @class */ (function (_super) {
|
|
|
89539
89981
|
var _this = _super.call(this, configuration) || this;
|
|
89540
89982
|
_this.finished = new FinishedApi_1.default(configuration);
|
|
89541
89983
|
_this.error = new ErrorApi_1.default(configuration);
|
|
89984
|
+
_this.liveEncodingHeartbeat = new LiveEncodingHeartbeatApi_1.default(configuration);
|
|
89542
89985
|
_this.transferError = new TransferErrorApi_1.default(configuration);
|
|
89543
89986
|
_this.liveInputStreamChanged = new LiveInputStreamChangedApi_1.default(configuration);
|
|
89544
89987
|
_this.encodingStatusChanged = new EncodingStatusChangedApi_1.default(configuration);
|
|
@@ -90316,6 +90759,151 @@ var CustomdataApi = /** @class */ (function (_super) {
|
|
|
90316
90759
|
exports["default"] = CustomdataApi;
|
|
90317
90760
|
|
|
90318
90761
|
|
|
90762
|
+
/***/ }),
|
|
90763
|
+
|
|
90764
|
+
/***/ "./notifications/webhooks/encoding/encodings/liveEncodingHeartbeat/LiveEncodingHeartbeatApi.ts":
|
|
90765
|
+
/*!*****************************************************************************************************!*\
|
|
90766
|
+
!*** ./notifications/webhooks/encoding/encodings/liveEncodingHeartbeat/LiveEncodingHeartbeatApi.ts ***!
|
|
90767
|
+
\*****************************************************************************************************/
|
|
90768
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
90769
|
+
|
|
90770
|
+
"use strict";
|
|
90771
|
+
|
|
90772
|
+
var __extends = (this && this.__extends) || (function () {
|
|
90773
|
+
var extendStatics = function (d, b) {
|
|
90774
|
+
extendStatics = Object.setPrototypeOf ||
|
|
90775
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
90776
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
90777
|
+
return extendStatics(d, b);
|
|
90778
|
+
};
|
|
90779
|
+
return function (d, b) {
|
|
90780
|
+
if (typeof b !== "function" && b !== null)
|
|
90781
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
90782
|
+
extendStatics(d, b);
|
|
90783
|
+
function __() { this.constructor = d; }
|
|
90784
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
90785
|
+
};
|
|
90786
|
+
})();
|
|
90787
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
90788
|
+
var BaseAPI_1 = __webpack_require__(/*! ../../../../../common/BaseAPI */ "./common/BaseAPI.ts");
|
|
90789
|
+
var Mapper_1 = __webpack_require__(/*! ../../../../../common/Mapper */ "./common/Mapper.ts");
|
|
90790
|
+
var BitmovinResponse_1 = __webpack_require__(/*! ../../../../../models/BitmovinResponse */ "./models/BitmovinResponse.ts");
|
|
90791
|
+
var LiveEncodingHeartbeatWebhook_1 = __webpack_require__(/*! ../../../../../models/LiveEncodingHeartbeatWebhook */ "./models/LiveEncodingHeartbeatWebhook.ts");
|
|
90792
|
+
var PaginationResponse_1 = __webpack_require__(/*! ../../../../../models/PaginationResponse */ "./models/PaginationResponse.ts");
|
|
90793
|
+
var LiveEncodingHeartbeatWebhookListQueryParams_1 = __webpack_require__(/*! ./LiveEncodingHeartbeatWebhookListQueryParams */ "./notifications/webhooks/encoding/encodings/liveEncodingHeartbeat/LiveEncodingHeartbeatWebhookListQueryParams.ts");
|
|
90794
|
+
/**
|
|
90795
|
+
* LiveEncodingHeartbeatApi - object-oriented interface
|
|
90796
|
+
* @export
|
|
90797
|
+
* @class LiveEncodingHeartbeatApi
|
|
90798
|
+
* @extends {BaseAPI}
|
|
90799
|
+
*/
|
|
90800
|
+
var LiveEncodingHeartbeatApi = /** @class */ (function (_super) {
|
|
90801
|
+
__extends(LiveEncodingHeartbeatApi, _super);
|
|
90802
|
+
function LiveEncodingHeartbeatApi(configuration) {
|
|
90803
|
+
return _super.call(this, configuration) || this;
|
|
90804
|
+
}
|
|
90805
|
+
/**
|
|
90806
|
+
* @summary Add 'Live Encoding Heartbeat' Webhook
|
|
90807
|
+
* @param {LiveEncodingHeartbeatWebhook} liveEncodingHeartbeatWebhook The 'Live Encoding Heartbeat' Webhook to be added.
|
|
90808
|
+
* @throws {BitmovinError}
|
|
90809
|
+
* @memberof LiveEncodingHeartbeatApi
|
|
90810
|
+
*/
|
|
90811
|
+
LiveEncodingHeartbeatApi.prototype.create = function (liveEncodingHeartbeatWebhook) {
|
|
90812
|
+
return this.restClient.post('/notifications/webhooks/encoding/encodings/live-encoding-heartbeat', {}, liveEncodingHeartbeatWebhook).then(function (response) {
|
|
90813
|
+
return (0, Mapper_1.map)(response, LiveEncodingHeartbeatWebhook_1.default);
|
|
90814
|
+
});
|
|
90815
|
+
};
|
|
90816
|
+
/**
|
|
90817
|
+
* @summary Delete 'Live Encoding Heartbeat' Webhook
|
|
90818
|
+
* @param {string} webhookId Id of the webhook
|
|
90819
|
+
* @throws {BitmovinError}
|
|
90820
|
+
* @memberof LiveEncodingHeartbeatApi
|
|
90821
|
+
*/
|
|
90822
|
+
LiveEncodingHeartbeatApi.prototype.deleteByWebhookId = function (webhookId) {
|
|
90823
|
+
var pathParamMap = {
|
|
90824
|
+
webhook_id: webhookId
|
|
90825
|
+
};
|
|
90826
|
+
return this.restClient.delete('/notifications/webhooks/encoding/encodings/live-encoding-heartbeat/{webhook_id}', pathParamMap).then(function (response) {
|
|
90827
|
+
return (0, Mapper_1.map)(response, BitmovinResponse_1.default);
|
|
90828
|
+
});
|
|
90829
|
+
};
|
|
90830
|
+
/**
|
|
90831
|
+
* @summary 'Live Encoding Heartbeat' Webhook Details
|
|
90832
|
+
* @param {string} webhookId Id of the webhook
|
|
90833
|
+
* @throws {BitmovinError}
|
|
90834
|
+
* @memberof LiveEncodingHeartbeatApi
|
|
90835
|
+
*/
|
|
90836
|
+
LiveEncodingHeartbeatApi.prototype.getByWebhookId = function (webhookId) {
|
|
90837
|
+
var pathParamMap = {
|
|
90838
|
+
webhook_id: webhookId
|
|
90839
|
+
};
|
|
90840
|
+
return this.restClient.get('/notifications/webhooks/encoding/encodings/live-encoding-heartbeat/{webhook_id}', pathParamMap).then(function (response) {
|
|
90841
|
+
return (0, Mapper_1.map)(response, LiveEncodingHeartbeatWebhook_1.default);
|
|
90842
|
+
});
|
|
90843
|
+
};
|
|
90844
|
+
/**
|
|
90845
|
+
* @summary List 'Live Encoding Heartbeat' Webhooks
|
|
90846
|
+
* @param {*} [queryParameters] query parameters for filtering, sorting and pagination
|
|
90847
|
+
* @throws {BitmovinError}
|
|
90848
|
+
* @memberof LiveEncodingHeartbeatApi
|
|
90849
|
+
*/
|
|
90850
|
+
LiveEncodingHeartbeatApi.prototype.list = function (queryParameters) {
|
|
90851
|
+
var queryParams = {};
|
|
90852
|
+
if (typeof queryParameters === 'function') {
|
|
90853
|
+
queryParams = queryParameters(new LiveEncodingHeartbeatWebhookListQueryParams_1.LiveEncodingHeartbeatWebhookListQueryParamsBuilder()).buildQueryParams();
|
|
90854
|
+
}
|
|
90855
|
+
else if (queryParameters) {
|
|
90856
|
+
queryParams = queryParameters;
|
|
90857
|
+
}
|
|
90858
|
+
return this.restClient.get('/notifications/webhooks/encoding/encodings/live-encoding-heartbeat', {}, queryParams).then(function (response) {
|
|
90859
|
+
return new PaginationResponse_1.default(response, LiveEncodingHeartbeatWebhook_1.default);
|
|
90860
|
+
});
|
|
90861
|
+
};
|
|
90862
|
+
return LiveEncodingHeartbeatApi;
|
|
90863
|
+
}(BaseAPI_1.BaseAPI));
|
|
90864
|
+
exports["default"] = LiveEncodingHeartbeatApi;
|
|
90865
|
+
|
|
90866
|
+
|
|
90867
|
+
/***/ }),
|
|
90868
|
+
|
|
90869
|
+
/***/ "./notifications/webhooks/encoding/encodings/liveEncodingHeartbeat/LiveEncodingHeartbeatWebhookListQueryParams.ts":
|
|
90870
|
+
/*!************************************************************************************************************************!*\
|
|
90871
|
+
!*** ./notifications/webhooks/encoding/encodings/liveEncodingHeartbeat/LiveEncodingHeartbeatWebhookListQueryParams.ts ***!
|
|
90872
|
+
\************************************************************************************************************************/
|
|
90873
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
90874
|
+
|
|
90875
|
+
"use strict";
|
|
90876
|
+
|
|
90877
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
90878
|
+
exports.LiveEncodingHeartbeatWebhookListQueryParamsBuilder = void 0;
|
|
90879
|
+
var LiveEncodingHeartbeatWebhookListQueryParamsBuilder = /** @class */ (function () {
|
|
90880
|
+
function LiveEncodingHeartbeatWebhookListQueryParamsBuilder() {
|
|
90881
|
+
this.internalParams = {};
|
|
90882
|
+
}
|
|
90883
|
+
/**
|
|
90884
|
+
*
|
|
90885
|
+
* @param offset Index of the first item to return, starting at 0. Default is 0
|
|
90886
|
+
*/
|
|
90887
|
+
LiveEncodingHeartbeatWebhookListQueryParamsBuilder.prototype.offset = function (offset) {
|
|
90888
|
+
this.internalParams.offset = offset;
|
|
90889
|
+
return this;
|
|
90890
|
+
};
|
|
90891
|
+
/**
|
|
90892
|
+
*
|
|
90893
|
+
* @param limit Maximum number of items to return. Default is 25, maximum is 100
|
|
90894
|
+
*/
|
|
90895
|
+
LiveEncodingHeartbeatWebhookListQueryParamsBuilder.prototype.limit = function (limit) {
|
|
90896
|
+
this.internalParams.limit = limit;
|
|
90897
|
+
return this;
|
|
90898
|
+
};
|
|
90899
|
+
LiveEncodingHeartbeatWebhookListQueryParamsBuilder.prototype.buildQueryParams = function () {
|
|
90900
|
+
return this.internalParams;
|
|
90901
|
+
};
|
|
90902
|
+
return LiveEncodingHeartbeatWebhookListQueryParamsBuilder;
|
|
90903
|
+
}());
|
|
90904
|
+
exports.LiveEncodingHeartbeatWebhookListQueryParamsBuilder = LiveEncodingHeartbeatWebhookListQueryParamsBuilder;
|
|
90905
|
+
|
|
90906
|
+
|
|
90319
90907
|
/***/ }),
|
|
90320
90908
|
|
|
90321
90909
|
/***/ "./notifications/webhooks/encoding/encodings/liveInputStreamChanged/LiveInputStreamChangedApi.ts":
|