@bitmovin/api-sdk
Version:
Bitmovin JS/TS API SDK
37 lines (36 loc) • 2.24 kB
TypeScript
import { BaseAPI } from '../../../../../common/BaseAPI';
import Configuration from '../../../../../common/Configuration';
import WebhookNotificationWithStreamConditions from '../../../../../models/WebhookNotificationWithStreamConditions';
import WebhookNotificationWithStreamConditionsRequest from '../../../../../models/WebhookNotificationWithStreamConditionsRequest';
/**
* LiveInputStreamChangedApi - object-oriented interface
* @export
* @class LiveInputStreamChangedApi
* @extends {BaseAPI}
*/
export default class LiveInputStreamChangedApi extends BaseAPI {
constructor(configuration: Configuration);
/**
* @summary Add Live Input Stream Changed Webhook Notification (All Encodings)
* @param {WebhookNotificationWithStreamConditionsRequest} webhookNotificationWithStreamConditionsRequest The webhook notifications object
* @throws {BitmovinError}
* @memberof LiveInputStreamChangedApi
*/
create(webhookNotificationWithStreamConditionsRequest?: WebhookNotificationWithStreamConditionsRequest): Promise<WebhookNotificationWithStreamConditions>;
/**
* @summary Add Live Input Stream Changed Webhook Notification (Specific Encoding)
* @param {string} encodingId Id of the encoding resource
* @param {WebhookNotificationWithStreamConditionsRequest} webhookNotificationWithStreamConditionsRequest The webhook notifications object
* @throws {BitmovinError}
* @memberof LiveInputStreamChangedApi
*/
createByEncodingId(encodingId: string, webhookNotificationWithStreamConditionsRequest?: WebhookNotificationWithStreamConditionsRequest): Promise<WebhookNotificationWithStreamConditions>;
/**
* @summary Replace Live Input Stream Changed Webhook Notification
* @param {string} notificationId Id of the webhook notification
* @param {WebhookNotificationWithStreamConditionsRequest} webhookNotificationWithStreamConditionsRequest The webhook notification with the updated values
* @throws {BitmovinError}
* @memberof LiveInputStreamChangedApi
*/
update(notificationId: string, webhookNotificationWithStreamConditionsRequest?: WebhookNotificationWithStreamConditionsRequest): Promise<WebhookNotificationWithStreamConditions>;
}