UNPKG

@bitmovin/api-sdk

Version:

Bitmovin JS/TS API SDK

79 lines (78 loc) 3.68 kB
import { BaseAPI } from '../../../../../common/BaseAPI'; import Configuration from '../../../../../common/Configuration'; import CustomdataApi from './customdata/CustomdataApi'; import BitmovinResponse from '../../../../../models/BitmovinResponse'; import Webhook from '../../../../../models/Webhook'; import PaginationResponse from '../../../../../models/PaginationResponse'; import { WebhookListQueryParams, WebhookListQueryParamsBuilder } from './WebhookListQueryParams'; import { WebhookListByEncodingIdQueryParams, WebhookListByEncodingIdQueryParamsBuilder } from './WebhookListByEncodingIdQueryParams'; /** * LiveManifestReadyApi - object-oriented interface * @export * @class LiveManifestReadyApi * @extends {BaseAPI} */ export default class LiveManifestReadyApi extends BaseAPI { customdata: CustomdataApi; constructor(configuration: Configuration); /** * @summary Add 'Live Manifest Ready' Webhook * @param {Webhook} webhook The &#39;Live Manifest Ready&#39; Webhook to be added. * @throws {BitmovinError} * @memberof LiveManifestReadyApi */ create(webhook?: Webhook): Promise<Webhook>; /** * @summary Add 'Live Manifest Ready' Webhook for a specific Encoding * @param {string} encodingId Id of the encoding * @param {Webhook} webhook The &#39;Live Manifest Ready&#39; Webhook to be added. * @throws {BitmovinError} * @memberof LiveManifestReadyApi */ createByEncodingId(encodingId: string, webhook?: Webhook): Promise<Webhook>; /** * @summary Delete 'Live Manifest Ready' Webhook for a specific Encoding * @param {string} encodingId Id of the encoding * @param {string} webhookId Id of the webhook * @throws {BitmovinError} * @memberof LiveManifestReadyApi */ deleteByEncodingIdAndWebhookId(encodingId: string, webhookId: string): Promise<BitmovinResponse>; /** * @summary Delete 'Live Manifest Ready' Webhook * @param {string} webhookId Id of the webhook * @throws {BitmovinError} * @memberof LiveManifestReadyApi */ deleteByWebhookId(webhookId: string): Promise<BitmovinResponse>; /** * @summary 'Live Manifest Ready' Webhook Details for a specific Encoding * @param {string} encodingId Id of the encoding * @param {string} webhookId Id of the webhook * @throws {BitmovinError} * @memberof LiveManifestReadyApi */ getByEncodingIdAndWebhookId(encodingId: string, webhookId: string): Promise<Webhook>; /** * @summary 'Live Manifest Ready' Webhook Details * @param {string} webhookId Id of the webhook * @throws {BitmovinError} * @memberof LiveManifestReadyApi */ getByWebhookId(webhookId: string): Promise<Webhook>; /** * @summary List 'Live Manifest Ready' Webhooks * @param {*} [queryParameters] query parameters for filtering, sorting and pagination * @throws {BitmovinError} * @memberof LiveManifestReadyApi */ list(queryParameters?: WebhookListQueryParams | ((q: WebhookListQueryParamsBuilder) => WebhookListQueryParamsBuilder)): Promise<PaginationResponse<Webhook>>; /** * @summary List 'Live Manifest Ready' Webhooks for a specific Encoding * @param {string} encodingId Id of the encoding * @param {*} [queryParameters] query parameters for filtering, sorting and pagination * @throws {BitmovinError} * @memberof LiveManifestReadyApi */ listByEncodingId(encodingId: string, queryParameters?: WebhookListByEncodingIdQueryParams | ((q: WebhookListByEncodingIdQueryParamsBuilder) => WebhookListByEncodingIdQueryParamsBuilder)): Promise<PaginationResponse<Webhook>>; }