@bitmovin/api-sdk 1.265.0 → 1.266.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 +376 -2
- package/dist/bitmovin-api-sdk.browser.min.js +1 -1
- package/dist/common/RestClient.js +1 -1
- package/dist/models/AzureInput.d.ts +7 -1
- package/dist/models/AzureInput.js +2 -0
- package/dist/models/AzureOutput.d.ts +7 -1
- package/dist/models/AzureOutput.js +2 -0
- package/dist/models/AzureServicePrincipal.d.ts +33 -0
- package/dist/models/AzureServicePrincipal.js +23 -0
- package/dist/models/PTSAlignMode.d.ts +1 -1
- package/dist/models/PTSAlignMode.js +1 -1
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -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/liveManifestReady/LiveManifestReadyApi.d.ts +78 -0
- package/dist/notifications/webhooks/encoding/encodings/liveManifestReady/LiveManifestReadyApi.js +167 -0
- package/dist/notifications/webhooks/encoding/encodings/liveManifestReady/WebhookListByEncodingIdQueryParams.d.ts +28 -0
- package/dist/notifications/webhooks/encoding/encodings/liveManifestReady/WebhookListByEncodingIdQueryParams.js +29 -0
- package/dist/notifications/webhooks/encoding/encodings/liveManifestReady/WebhookListQueryParams.d.ts +28 -0
- package/dist/notifications/webhooks/encoding/encodings/liveManifestReady/WebhookListQueryParams.js +29 -0
- package/dist/notifications/webhooks/encoding/encodings/liveManifestReady/customdata/CustomdataApi.d.ts +27 -0
- package/dist/notifications/webhooks/encoding/encodings/liveManifestReady/customdata/CustomdataApi.js +64 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -6804,7 +6804,7 @@ var HeaderHandler = /** @class */ (function (_super) {
|
|
|
6804
6804
|
var headers = {
|
|
6805
6805
|
'X-Api-Key': apiKey,
|
|
6806
6806
|
'X-Api-Client': 'bitmovin-api-sdk-javascript',
|
|
6807
|
-
'X-Api-Client-Version': '1.
|
|
6807
|
+
'X-Api-Client-Version': '1.266.0',
|
|
6808
6808
|
'Content-Type': 'application/json'
|
|
6809
6809
|
};
|
|
6810
6810
|
if (tenantOrgId) {
|
|
@@ -64367,6 +64367,7 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
64367
64367
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
64368
64368
|
exports.AzureInput = void 0;
|
|
64369
64369
|
var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
|
|
64370
|
+
var AzureServicePrincipal_1 = __webpack_require__(/*! ./AzureServicePrincipal */ "./models/AzureServicePrincipal.ts");
|
|
64370
64371
|
var Input_1 = __webpack_require__(/*! ./Input */ "./models/Input.ts");
|
|
64371
64372
|
var InputType_1 = __webpack_require__(/*! ./InputType */ "./models/InputType.ts");
|
|
64372
64373
|
/**
|
|
@@ -64388,6 +64389,7 @@ var AzureInput = /** @class */ (function (_super) {
|
|
|
64388
64389
|
}
|
|
64389
64390
|
_this.accountName = (0, Mapper_1.map)(obj.accountName);
|
|
64390
64391
|
_this.accountKey = (0, Mapper_1.map)(obj.accountKey);
|
|
64392
|
+
_this.servicePrincipal = (0, Mapper_1.map)(obj.servicePrincipal, AzureServicePrincipal_1.default);
|
|
64391
64393
|
_this.container = (0, Mapper_1.map)(obj.container);
|
|
64392
64394
|
return _this;
|
|
64393
64395
|
}
|
|
@@ -64425,6 +64427,7 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
64425
64427
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
64426
64428
|
exports.AzureOutput = void 0;
|
|
64427
64429
|
var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
|
|
64430
|
+
var AzureServicePrincipal_1 = __webpack_require__(/*! ./AzureServicePrincipal */ "./models/AzureServicePrincipal.ts");
|
|
64428
64431
|
var Output_1 = __webpack_require__(/*! ./Output */ "./models/Output.ts");
|
|
64429
64432
|
var OutputType_1 = __webpack_require__(/*! ./OutputType */ "./models/OutputType.ts");
|
|
64430
64433
|
/**
|
|
@@ -64446,6 +64449,7 @@ var AzureOutput = /** @class */ (function (_super) {
|
|
|
64446
64449
|
}
|
|
64447
64450
|
_this.accountName = (0, Mapper_1.map)(obj.accountName);
|
|
64448
64451
|
_this.accountKey = (0, Mapper_1.map)(obj.accountKey);
|
|
64452
|
+
_this.servicePrincipal = (0, Mapper_1.map)(obj.servicePrincipal, AzureServicePrincipal_1.default);
|
|
64449
64453
|
_this.container = (0, Mapper_1.map)(obj.container);
|
|
64450
64454
|
return _this;
|
|
64451
64455
|
}
|
|
@@ -64455,6 +64459,40 @@ exports.AzureOutput = AzureOutput;
|
|
|
64455
64459
|
exports["default"] = AzureOutput;
|
|
64456
64460
|
|
|
64457
64461
|
|
|
64462
|
+
/***/ },
|
|
64463
|
+
|
|
64464
|
+
/***/ "./models/AzureServicePrincipal.ts"
|
|
64465
|
+
/*!*****************************************!*\
|
|
64466
|
+
!*** ./models/AzureServicePrincipal.ts ***!
|
|
64467
|
+
\*****************************************/
|
|
64468
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
64469
|
+
|
|
64470
|
+
"use strict";
|
|
64471
|
+
|
|
64472
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
64473
|
+
exports.AzureServicePrincipal = void 0;
|
|
64474
|
+
var Mapper_1 = __webpack_require__(/*! ../common/Mapper */ "./common/Mapper.ts");
|
|
64475
|
+
/**
|
|
64476
|
+
* Azure service principal credentials for Microsoft Entra ID authentication
|
|
64477
|
+
* @export
|
|
64478
|
+
* @class AzureServicePrincipal
|
|
64479
|
+
*/
|
|
64480
|
+
var AzureServicePrincipal = /** @class */ (function () {
|
|
64481
|
+
function AzureServicePrincipal(obj) {
|
|
64482
|
+
if (!obj) {
|
|
64483
|
+
return;
|
|
64484
|
+
}
|
|
64485
|
+
this.tenantId = (0, Mapper_1.map)(obj.tenantId);
|
|
64486
|
+
this.clientId = (0, Mapper_1.map)(obj.clientId);
|
|
64487
|
+
this.clientSecret = (0, Mapper_1.map)(obj.clientSecret);
|
|
64488
|
+
this.clientCertificate = (0, Mapper_1.map)(obj.clientCertificate);
|
|
64489
|
+
}
|
|
64490
|
+
return AzureServicePrincipal;
|
|
64491
|
+
}());
|
|
64492
|
+
exports.AzureServicePrincipal = AzureServicePrincipal;
|
|
64493
|
+
exports["default"] = AzureServicePrincipal;
|
|
64494
|
+
|
|
64495
|
+
|
|
64458
64496
|
/***/ },
|
|
64459
64497
|
|
|
64460
64498
|
/***/ "./models/AzureSpeechServicesCredentials.ts"
|
|
@@ -81884,7 +81922,7 @@ exports["default"] = OutputTypeResponse;
|
|
|
81884
81922
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
81885
81923
|
exports.PTSAlignMode = void 0;
|
|
81886
81924
|
/**
|
|
81887
|
-
*
|
|
81925
|
+
* Alignment mode for PTS
|
|
81888
81926
|
* @export
|
|
81889
81927
|
* @enum {string}
|
|
81890
81928
|
*/
|
|
@@ -93033,6 +93071,7 @@ __exportStar(__webpack_require__(/*! ./AzureAccountRegionSettings */ "./models/A
|
|
|
93033
93071
|
__exportStar(__webpack_require__(/*! ./AzureCloudRegion */ "./models/AzureCloudRegion.ts"), exports);
|
|
93034
93072
|
__exportStar(__webpack_require__(/*! ./AzureInput */ "./models/AzureInput.ts"), exports);
|
|
93035
93073
|
__exportStar(__webpack_require__(/*! ./AzureOutput */ "./models/AzureOutput.ts"), exports);
|
|
93074
|
+
__exportStar(__webpack_require__(/*! ./AzureServicePrincipal */ "./models/AzureServicePrincipal.ts"), exports);
|
|
93036
93075
|
__exportStar(__webpack_require__(/*! ./AzureSpeechServicesCredentials */ "./models/AzureSpeechServicesCredentials.ts"), exports);
|
|
93037
93076
|
__exportStar(__webpack_require__(/*! ./AzureSpeechToCaptionsFilter */ "./models/AzureSpeechToCaptionsFilter.ts"), exports);
|
|
93038
93077
|
__exportStar(__webpack_require__(/*! ./AzureSpeechToCaptionsProfanity */ "./models/AzureSpeechToCaptionsProfanity.ts"), exports);
|
|
@@ -94825,6 +94864,7 @@ var BaseAPI_1 = __webpack_require__(/*! ../../../../common/BaseAPI */ "./common/
|
|
|
94825
94864
|
var FinishedApi_1 = __webpack_require__(/*! ./finished/FinishedApi */ "./notifications/webhooks/encoding/encodings/finished/FinishedApi.ts");
|
|
94826
94865
|
var ErrorApi_1 = __webpack_require__(/*! ./error/ErrorApi */ "./notifications/webhooks/encoding/encodings/error/ErrorApi.ts");
|
|
94827
94866
|
var LiveEncodingHeartbeatApi_1 = __webpack_require__(/*! ./liveEncodingHeartbeat/LiveEncodingHeartbeatApi */ "./notifications/webhooks/encoding/encodings/liveEncodingHeartbeat/LiveEncodingHeartbeatApi.ts");
|
|
94867
|
+
var LiveManifestReadyApi_1 = __webpack_require__(/*! ./liveManifestReady/LiveManifestReadyApi */ "./notifications/webhooks/encoding/encodings/liveManifestReady/LiveManifestReadyApi.ts");
|
|
94828
94868
|
var TransferErrorApi_1 = __webpack_require__(/*! ./transferError/TransferErrorApi */ "./notifications/webhooks/encoding/encodings/transferError/TransferErrorApi.ts");
|
|
94829
94869
|
var LiveInputStreamChangedApi_1 = __webpack_require__(/*! ./liveInputStreamChanged/LiveInputStreamChangedApi */ "./notifications/webhooks/encoding/encodings/liveInputStreamChanged/LiveInputStreamChangedApi.ts");
|
|
94830
94870
|
var EncodingStatusChangedApi_1 = __webpack_require__(/*! ./encodingStatusChanged/EncodingStatusChangedApi */ "./notifications/webhooks/encoding/encodings/encodingStatusChanged/EncodingStatusChangedApi.ts");
|
|
@@ -94841,6 +94881,7 @@ var EncodingsApi = /** @class */ (function (_super) {
|
|
|
94841
94881
|
_this.finished = new FinishedApi_1.default(configuration);
|
|
94842
94882
|
_this.error = new ErrorApi_1.default(configuration);
|
|
94843
94883
|
_this.liveEncodingHeartbeat = new LiveEncodingHeartbeatApi_1.default(configuration);
|
|
94884
|
+
_this.liveManifestReady = new LiveManifestReadyApi_1.default(configuration);
|
|
94844
94885
|
_this.transferError = new TransferErrorApi_1.default(configuration);
|
|
94845
94886
|
_this.liveInputStreamChanged = new LiveInputStreamChangedApi_1.default(configuration);
|
|
94846
94887
|
_this.encodingStatusChanged = new EncodingStatusChangedApi_1.default(configuration);
|
|
@@ -95849,6 +95890,339 @@ var LiveInputStreamChangedApi = /** @class */ (function (_super) {
|
|
|
95849
95890
|
exports["default"] = LiveInputStreamChangedApi;
|
|
95850
95891
|
|
|
95851
95892
|
|
|
95893
|
+
/***/ },
|
|
95894
|
+
|
|
95895
|
+
/***/ "./notifications/webhooks/encoding/encodings/liveManifestReady/LiveManifestReadyApi.ts"
|
|
95896
|
+
/*!*********************************************************************************************!*\
|
|
95897
|
+
!*** ./notifications/webhooks/encoding/encodings/liveManifestReady/LiveManifestReadyApi.ts ***!
|
|
95898
|
+
\*********************************************************************************************/
|
|
95899
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
95900
|
+
|
|
95901
|
+
"use strict";
|
|
95902
|
+
|
|
95903
|
+
var __extends = (this && this.__extends) || (function () {
|
|
95904
|
+
var extendStatics = function (d, b) {
|
|
95905
|
+
extendStatics = Object.setPrototypeOf ||
|
|
95906
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
95907
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
95908
|
+
return extendStatics(d, b);
|
|
95909
|
+
};
|
|
95910
|
+
return function (d, b) {
|
|
95911
|
+
if (typeof b !== "function" && b !== null)
|
|
95912
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
95913
|
+
extendStatics(d, b);
|
|
95914
|
+
function __() { this.constructor = d; }
|
|
95915
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
95916
|
+
};
|
|
95917
|
+
})();
|
|
95918
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
95919
|
+
var BaseAPI_1 = __webpack_require__(/*! ../../../../../common/BaseAPI */ "./common/BaseAPI.ts");
|
|
95920
|
+
var Mapper_1 = __webpack_require__(/*! ../../../../../common/Mapper */ "./common/Mapper.ts");
|
|
95921
|
+
var CustomdataApi_1 = __webpack_require__(/*! ./customdata/CustomdataApi */ "./notifications/webhooks/encoding/encodings/liveManifestReady/customdata/CustomdataApi.ts");
|
|
95922
|
+
var BitmovinResponse_1 = __webpack_require__(/*! ../../../../../models/BitmovinResponse */ "./models/BitmovinResponse.ts");
|
|
95923
|
+
var Webhook_1 = __webpack_require__(/*! ../../../../../models/Webhook */ "./models/Webhook.ts");
|
|
95924
|
+
var PaginationResponse_1 = __webpack_require__(/*! ../../../../../models/PaginationResponse */ "./models/PaginationResponse.ts");
|
|
95925
|
+
var WebhookListQueryParams_1 = __webpack_require__(/*! ./WebhookListQueryParams */ "./notifications/webhooks/encoding/encodings/liveManifestReady/WebhookListQueryParams.ts");
|
|
95926
|
+
var WebhookListByEncodingIdQueryParams_1 = __webpack_require__(/*! ./WebhookListByEncodingIdQueryParams */ "./notifications/webhooks/encoding/encodings/liveManifestReady/WebhookListByEncodingIdQueryParams.ts");
|
|
95927
|
+
/**
|
|
95928
|
+
* LiveManifestReadyApi - object-oriented interface
|
|
95929
|
+
* @export
|
|
95930
|
+
* @class LiveManifestReadyApi
|
|
95931
|
+
* @extends {BaseAPI}
|
|
95932
|
+
*/
|
|
95933
|
+
var LiveManifestReadyApi = /** @class */ (function (_super) {
|
|
95934
|
+
__extends(LiveManifestReadyApi, _super);
|
|
95935
|
+
function LiveManifestReadyApi(configuration) {
|
|
95936
|
+
var _this = _super.call(this, configuration) || this;
|
|
95937
|
+
_this.customdata = new CustomdataApi_1.default(configuration);
|
|
95938
|
+
return _this;
|
|
95939
|
+
}
|
|
95940
|
+
/**
|
|
95941
|
+
* @summary Add 'Live Manifest Ready' Webhook
|
|
95942
|
+
* @param {Webhook} webhook The 'Live Manifest Ready' Webhook to be added.
|
|
95943
|
+
* @throws {BitmovinError}
|
|
95944
|
+
* @memberof LiveManifestReadyApi
|
|
95945
|
+
*/
|
|
95946
|
+
LiveManifestReadyApi.prototype.create = function (webhook) {
|
|
95947
|
+
return this.restClient.post('/notifications/webhooks/encoding/encodings/live-manifest-ready', {}, webhook).then(function (response) {
|
|
95948
|
+
return (0, Mapper_1.map)(response, Webhook_1.default);
|
|
95949
|
+
});
|
|
95950
|
+
};
|
|
95951
|
+
/**
|
|
95952
|
+
* @summary Add 'Live Manifest Ready' Webhook for a specific Encoding
|
|
95953
|
+
* @param {string} encodingId Id of the encoding
|
|
95954
|
+
* @param {Webhook} webhook The 'Live Manifest Ready' Webhook to be added.
|
|
95955
|
+
* @throws {BitmovinError}
|
|
95956
|
+
* @memberof LiveManifestReadyApi
|
|
95957
|
+
*/
|
|
95958
|
+
LiveManifestReadyApi.prototype.createByEncodingId = function (encodingId, webhook) {
|
|
95959
|
+
var pathParamMap = {
|
|
95960
|
+
encoding_id: encodingId
|
|
95961
|
+
};
|
|
95962
|
+
return this.restClient.post('/notifications/webhooks/encoding/encodings/{encoding_id}/live-manifest-ready', pathParamMap, webhook).then(function (response) {
|
|
95963
|
+
return (0, Mapper_1.map)(response, Webhook_1.default);
|
|
95964
|
+
});
|
|
95965
|
+
};
|
|
95966
|
+
/**
|
|
95967
|
+
* @summary Delete 'Live Manifest Ready' Webhook for a specific Encoding
|
|
95968
|
+
* @param {string} encodingId Id of the encoding
|
|
95969
|
+
* @param {string} webhookId Id of the webhook
|
|
95970
|
+
* @throws {BitmovinError}
|
|
95971
|
+
* @memberof LiveManifestReadyApi
|
|
95972
|
+
*/
|
|
95973
|
+
LiveManifestReadyApi.prototype.deleteByEncodingIdAndWebhookId = function (encodingId, webhookId) {
|
|
95974
|
+
var pathParamMap = {
|
|
95975
|
+
encoding_id: encodingId,
|
|
95976
|
+
webhook_id: webhookId
|
|
95977
|
+
};
|
|
95978
|
+
return this.restClient.delete('/notifications/webhooks/encoding/encodings/{encoding_id}/live-manifest-ready/{webhook_id}', pathParamMap).then(function (response) {
|
|
95979
|
+
return (0, Mapper_1.map)(response, BitmovinResponse_1.default);
|
|
95980
|
+
});
|
|
95981
|
+
};
|
|
95982
|
+
/**
|
|
95983
|
+
* @summary Delete 'Live Manifest Ready' Webhook
|
|
95984
|
+
* @param {string} webhookId Id of the webhook
|
|
95985
|
+
* @throws {BitmovinError}
|
|
95986
|
+
* @memberof LiveManifestReadyApi
|
|
95987
|
+
*/
|
|
95988
|
+
LiveManifestReadyApi.prototype.deleteByWebhookId = function (webhookId) {
|
|
95989
|
+
var pathParamMap = {
|
|
95990
|
+
webhook_id: webhookId
|
|
95991
|
+
};
|
|
95992
|
+
return this.restClient.delete('/notifications/webhooks/encoding/encodings/live-manifest-ready/{webhook_id}', pathParamMap).then(function (response) {
|
|
95993
|
+
return (0, Mapper_1.map)(response, BitmovinResponse_1.default);
|
|
95994
|
+
});
|
|
95995
|
+
};
|
|
95996
|
+
/**
|
|
95997
|
+
* @summary 'Live Manifest Ready' Webhook Details for a specific Encoding
|
|
95998
|
+
* @param {string} encodingId Id of the encoding
|
|
95999
|
+
* @param {string} webhookId Id of the webhook
|
|
96000
|
+
* @throws {BitmovinError}
|
|
96001
|
+
* @memberof LiveManifestReadyApi
|
|
96002
|
+
*/
|
|
96003
|
+
LiveManifestReadyApi.prototype.getByEncodingIdAndWebhookId = function (encodingId, webhookId) {
|
|
96004
|
+
var pathParamMap = {
|
|
96005
|
+
encoding_id: encodingId,
|
|
96006
|
+
webhook_id: webhookId
|
|
96007
|
+
};
|
|
96008
|
+
return this.restClient.get('/notifications/webhooks/encoding/encodings/{encoding_id}/live-manifest-ready/{webhook_id}', pathParamMap).then(function (response) {
|
|
96009
|
+
return (0, Mapper_1.map)(response, Webhook_1.default);
|
|
96010
|
+
});
|
|
96011
|
+
};
|
|
96012
|
+
/**
|
|
96013
|
+
* @summary 'Live Manifest Ready' Webhook Details
|
|
96014
|
+
* @param {string} webhookId Id of the webhook
|
|
96015
|
+
* @throws {BitmovinError}
|
|
96016
|
+
* @memberof LiveManifestReadyApi
|
|
96017
|
+
*/
|
|
96018
|
+
LiveManifestReadyApi.prototype.getByWebhookId = function (webhookId) {
|
|
96019
|
+
var pathParamMap = {
|
|
96020
|
+
webhook_id: webhookId
|
|
96021
|
+
};
|
|
96022
|
+
return this.restClient.get('/notifications/webhooks/encoding/encodings/live-manifest-ready/{webhook_id}', pathParamMap).then(function (response) {
|
|
96023
|
+
return (0, Mapper_1.map)(response, Webhook_1.default);
|
|
96024
|
+
});
|
|
96025
|
+
};
|
|
96026
|
+
/**
|
|
96027
|
+
* @summary List 'Live Manifest Ready' Webhooks
|
|
96028
|
+
* @param {*} [queryParameters] query parameters for filtering, sorting and pagination
|
|
96029
|
+
* @throws {BitmovinError}
|
|
96030
|
+
* @memberof LiveManifestReadyApi
|
|
96031
|
+
*/
|
|
96032
|
+
LiveManifestReadyApi.prototype.list = function (queryParameters) {
|
|
96033
|
+
var queryParams = {};
|
|
96034
|
+
if (typeof queryParameters === 'function') {
|
|
96035
|
+
queryParams = queryParameters(new WebhookListQueryParams_1.WebhookListQueryParamsBuilder()).buildQueryParams();
|
|
96036
|
+
}
|
|
96037
|
+
else if (queryParameters) {
|
|
96038
|
+
queryParams = queryParameters;
|
|
96039
|
+
}
|
|
96040
|
+
return this.restClient.get('/notifications/webhooks/encoding/encodings/live-manifest-ready', {}, queryParams).then(function (response) {
|
|
96041
|
+
return new PaginationResponse_1.default(response, Webhook_1.default);
|
|
96042
|
+
});
|
|
96043
|
+
};
|
|
96044
|
+
/**
|
|
96045
|
+
* @summary List 'Live Manifest Ready' Webhooks for a specific Encoding
|
|
96046
|
+
* @param {string} encodingId Id of the encoding
|
|
96047
|
+
* @param {*} [queryParameters] query parameters for filtering, sorting and pagination
|
|
96048
|
+
* @throws {BitmovinError}
|
|
96049
|
+
* @memberof LiveManifestReadyApi
|
|
96050
|
+
*/
|
|
96051
|
+
LiveManifestReadyApi.prototype.listByEncodingId = function (encodingId, queryParameters) {
|
|
96052
|
+
var pathParamMap = {
|
|
96053
|
+
encoding_id: encodingId
|
|
96054
|
+
};
|
|
96055
|
+
var queryParams = {};
|
|
96056
|
+
if (typeof queryParameters === 'function') {
|
|
96057
|
+
queryParams = queryParameters(new WebhookListByEncodingIdQueryParams_1.WebhookListByEncodingIdQueryParamsBuilder()).buildQueryParams();
|
|
96058
|
+
}
|
|
96059
|
+
else if (queryParameters) {
|
|
96060
|
+
queryParams = queryParameters;
|
|
96061
|
+
}
|
|
96062
|
+
return this.restClient.get('/notifications/webhooks/encoding/encodings/{encoding_id}/live-manifest-ready', pathParamMap, queryParams).then(function (response) {
|
|
96063
|
+
return new PaginationResponse_1.default(response, Webhook_1.default);
|
|
96064
|
+
});
|
|
96065
|
+
};
|
|
96066
|
+
return LiveManifestReadyApi;
|
|
96067
|
+
}(BaseAPI_1.BaseAPI));
|
|
96068
|
+
exports["default"] = LiveManifestReadyApi;
|
|
96069
|
+
|
|
96070
|
+
|
|
96071
|
+
/***/ },
|
|
96072
|
+
|
|
96073
|
+
/***/ "./notifications/webhooks/encoding/encodings/liveManifestReady/WebhookListByEncodingIdQueryParams.ts"
|
|
96074
|
+
/*!***********************************************************************************************************!*\
|
|
96075
|
+
!*** ./notifications/webhooks/encoding/encodings/liveManifestReady/WebhookListByEncodingIdQueryParams.ts ***!
|
|
96076
|
+
\***********************************************************************************************************/
|
|
96077
|
+
(__unused_webpack_module, exports) {
|
|
96078
|
+
|
|
96079
|
+
"use strict";
|
|
96080
|
+
|
|
96081
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
96082
|
+
exports.WebhookListByEncodingIdQueryParamsBuilder = void 0;
|
|
96083
|
+
var WebhookListByEncodingIdQueryParamsBuilder = /** @class */ (function () {
|
|
96084
|
+
function WebhookListByEncodingIdQueryParamsBuilder() {
|
|
96085
|
+
this.internalParams = {};
|
|
96086
|
+
}
|
|
96087
|
+
/**
|
|
96088
|
+
*
|
|
96089
|
+
* @param offset Index of the first item to return, starting at 0. Default is 0
|
|
96090
|
+
*/
|
|
96091
|
+
WebhookListByEncodingIdQueryParamsBuilder.prototype.offset = function (offset) {
|
|
96092
|
+
this.internalParams.offset = offset;
|
|
96093
|
+
return this;
|
|
96094
|
+
};
|
|
96095
|
+
/**
|
|
96096
|
+
*
|
|
96097
|
+
* @param limit Maximum number of items to return. Default is 25, maximum is 100
|
|
96098
|
+
*/
|
|
96099
|
+
WebhookListByEncodingIdQueryParamsBuilder.prototype.limit = function (limit) {
|
|
96100
|
+
this.internalParams.limit = limit;
|
|
96101
|
+
return this;
|
|
96102
|
+
};
|
|
96103
|
+
WebhookListByEncodingIdQueryParamsBuilder.prototype.buildQueryParams = function () {
|
|
96104
|
+
return this.internalParams;
|
|
96105
|
+
};
|
|
96106
|
+
return WebhookListByEncodingIdQueryParamsBuilder;
|
|
96107
|
+
}());
|
|
96108
|
+
exports.WebhookListByEncodingIdQueryParamsBuilder = WebhookListByEncodingIdQueryParamsBuilder;
|
|
96109
|
+
|
|
96110
|
+
|
|
96111
|
+
/***/ },
|
|
96112
|
+
|
|
96113
|
+
/***/ "./notifications/webhooks/encoding/encodings/liveManifestReady/WebhookListQueryParams.ts"
|
|
96114
|
+
/*!***********************************************************************************************!*\
|
|
96115
|
+
!*** ./notifications/webhooks/encoding/encodings/liveManifestReady/WebhookListQueryParams.ts ***!
|
|
96116
|
+
\***********************************************************************************************/
|
|
96117
|
+
(__unused_webpack_module, exports) {
|
|
96118
|
+
|
|
96119
|
+
"use strict";
|
|
96120
|
+
|
|
96121
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
96122
|
+
exports.WebhookListQueryParamsBuilder = void 0;
|
|
96123
|
+
var WebhookListQueryParamsBuilder = /** @class */ (function () {
|
|
96124
|
+
function WebhookListQueryParamsBuilder() {
|
|
96125
|
+
this.internalParams = {};
|
|
96126
|
+
}
|
|
96127
|
+
/**
|
|
96128
|
+
*
|
|
96129
|
+
* @param offset Index of the first item to return, starting at 0. Default is 0
|
|
96130
|
+
*/
|
|
96131
|
+
WebhookListQueryParamsBuilder.prototype.offset = function (offset) {
|
|
96132
|
+
this.internalParams.offset = offset;
|
|
96133
|
+
return this;
|
|
96134
|
+
};
|
|
96135
|
+
/**
|
|
96136
|
+
*
|
|
96137
|
+
* @param limit Maximum number of items to return. Default is 25, maximum is 100
|
|
96138
|
+
*/
|
|
96139
|
+
WebhookListQueryParamsBuilder.prototype.limit = function (limit) {
|
|
96140
|
+
this.internalParams.limit = limit;
|
|
96141
|
+
return this;
|
|
96142
|
+
};
|
|
96143
|
+
WebhookListQueryParamsBuilder.prototype.buildQueryParams = function () {
|
|
96144
|
+
return this.internalParams;
|
|
96145
|
+
};
|
|
96146
|
+
return WebhookListQueryParamsBuilder;
|
|
96147
|
+
}());
|
|
96148
|
+
exports.WebhookListQueryParamsBuilder = WebhookListQueryParamsBuilder;
|
|
96149
|
+
|
|
96150
|
+
|
|
96151
|
+
/***/ },
|
|
96152
|
+
|
|
96153
|
+
/***/ "./notifications/webhooks/encoding/encodings/liveManifestReady/customdata/CustomdataApi.ts"
|
|
96154
|
+
/*!*************************************************************************************************!*\
|
|
96155
|
+
!*** ./notifications/webhooks/encoding/encodings/liveManifestReady/customdata/CustomdataApi.ts ***!
|
|
96156
|
+
\*************************************************************************************************/
|
|
96157
|
+
(__unused_webpack_module, exports, __webpack_require__) {
|
|
96158
|
+
|
|
96159
|
+
"use strict";
|
|
96160
|
+
|
|
96161
|
+
var __extends = (this && this.__extends) || (function () {
|
|
96162
|
+
var extendStatics = function (d, b) {
|
|
96163
|
+
extendStatics = Object.setPrototypeOf ||
|
|
96164
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
96165
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
96166
|
+
return extendStatics(d, b);
|
|
96167
|
+
};
|
|
96168
|
+
return function (d, b) {
|
|
96169
|
+
if (typeof b !== "function" && b !== null)
|
|
96170
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
96171
|
+
extendStatics(d, b);
|
|
96172
|
+
function __() { this.constructor = d; }
|
|
96173
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
96174
|
+
};
|
|
96175
|
+
})();
|
|
96176
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
96177
|
+
var BaseAPI_1 = __webpack_require__(/*! ../../../../../../common/BaseAPI */ "./common/BaseAPI.ts");
|
|
96178
|
+
var Mapper_1 = __webpack_require__(/*! ../../../../../../common/Mapper */ "./common/Mapper.ts");
|
|
96179
|
+
var CustomData_1 = __webpack_require__(/*! ../../../../../../models/CustomData */ "./models/CustomData.ts");
|
|
96180
|
+
/**
|
|
96181
|
+
* CustomdataApi - object-oriented interface
|
|
96182
|
+
* @export
|
|
96183
|
+
* @class CustomdataApi
|
|
96184
|
+
* @extends {BaseAPI}
|
|
96185
|
+
*/
|
|
96186
|
+
var CustomdataApi = /** @class */ (function (_super) {
|
|
96187
|
+
__extends(CustomdataApi, _super);
|
|
96188
|
+
function CustomdataApi(configuration) {
|
|
96189
|
+
return _super.call(this, configuration) || this;
|
|
96190
|
+
}
|
|
96191
|
+
/**
|
|
96192
|
+
* @summary 'Live Manifest Ready' Webhook Custom Data for a specific Encoding
|
|
96193
|
+
* @param {string} encodingId Id of the encoding
|
|
96194
|
+
* @param {string} webhookId Id of the webhook
|
|
96195
|
+
* @throws {BitmovinError}
|
|
96196
|
+
* @memberof CustomdataApi
|
|
96197
|
+
*/
|
|
96198
|
+
CustomdataApi.prototype.getCustomDataByEncodingIdAndWebhookId = function (encodingId, webhookId) {
|
|
96199
|
+
var pathParamMap = {
|
|
96200
|
+
encoding_id: encodingId,
|
|
96201
|
+
webhook_id: webhookId
|
|
96202
|
+
};
|
|
96203
|
+
return this.restClient.get('/notifications/webhooks/encoding/encodings/{encoding_id}/live-manifest-ready/{webhook_id}/customData', pathParamMap).then(function (response) {
|
|
96204
|
+
return (0, Mapper_1.map)(response, CustomData_1.default);
|
|
96205
|
+
});
|
|
96206
|
+
};
|
|
96207
|
+
/**
|
|
96208
|
+
* @summary 'Live Manifest Ready' Webhook Custom Data
|
|
96209
|
+
* @param {string} webhookId Id of the webhook
|
|
96210
|
+
* @throws {BitmovinError}
|
|
96211
|
+
* @memberof CustomdataApi
|
|
96212
|
+
*/
|
|
96213
|
+
CustomdataApi.prototype.getCustomDataByWebhookId = function (webhookId) {
|
|
96214
|
+
var pathParamMap = {
|
|
96215
|
+
webhook_id: webhookId
|
|
96216
|
+
};
|
|
96217
|
+
return this.restClient.get('/notifications/webhooks/encoding/encodings/live-manifest-ready/{webhook_id}/customData', pathParamMap).then(function (response) {
|
|
96218
|
+
return (0, Mapper_1.map)(response, CustomData_1.default);
|
|
96219
|
+
});
|
|
96220
|
+
};
|
|
96221
|
+
return CustomdataApi;
|
|
96222
|
+
}(BaseAPI_1.BaseAPI));
|
|
96223
|
+
exports["default"] = CustomdataApi;
|
|
96224
|
+
|
|
96225
|
+
|
|
95852
96226
|
/***/ },
|
|
95853
96227
|
|
|
95854
96228
|
/***/ "./notifications/webhooks/encoding/encodings/transferError/TransferErrorApi.ts"
|