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