@bitmovin/api-sdk
Version:
Bitmovin JS/TS API SDK
32 lines (31 loc) • 1.42 kB
TypeScript
import { BaseAPI } from '../../../../../common/BaseAPI';
import Configuration from '../../../../../common/Configuration';
import BitmovinResponse from '../../../../../models/BitmovinResponse';
import ScheduledInsertableContent from '../../../../../models/ScheduledInsertableContent';
/**
* ScheduleApi - object-oriented interface
* @export
* @class ScheduleApi
* @extends {BaseAPI}
*/
export default class ScheduleApi extends BaseAPI {
constructor(configuration: Configuration);
/**
* @summary Schedule Insertable Content
* @param {string} encodingId Id of the encoding.
* @param {string} contentId Id of the insertable content.
* @param {ScheduledInsertableContent} scheduledInsertableContent The scheduled insertable content to be created
* @throws {BitmovinError}
* @memberof ScheduleApi
*/
create(encodingId: string, contentId: string, scheduledInsertableContent?: ScheduledInsertableContent): Promise<ScheduledInsertableContent>;
/**
* @summary Deschedule Insertable Content
* @param {string} encodingId Id of the encoding.
* @param {string} contentId Id of the insertable content.
* @param {string} scheduledContentId Id of the scheduled insertable content
* @throws {BitmovinError}
* @memberof ScheduleApi
*/
delete(encodingId: string, contentId: string, scheduledContentId: string): Promise<BitmovinResponse>;
}