@bitmovin/api-sdk
Version:
Bitmovin JS/TS API SDK
36 lines (35 loc) • 1.35 kB
TypeScript
import { BaseAPI } from '../../../common/BaseAPI';
import Configuration from '../../../common/Configuration';
import BitmovinResponse from '../../../models/BitmovinResponse';
import KantarWatermark from '../../../models/KantarWatermark';
/**
* KantarWatermarkApi - object-oriented interface
* @export
* @class KantarWatermarkApi
* @extends {BaseAPI}
*/
export default class KantarWatermarkApi extends BaseAPI {
constructor(configuration: Configuration);
/**
* @summary Create or replace the Kantar Watermark for an encoding
* @param {string} encodingId Id of the encoding.
* @param {KantarWatermark} kantarWatermark The Kantar Watermark to be created
* @throws {BitmovinError}
* @memberof KantarWatermarkApi
*/
create(encodingId: string, kantarWatermark?: KantarWatermark): Promise<KantarWatermark>;
/**
* @summary Delete the Kantar Watermark for an encoding
* @param {string} encodingId Id of the encoding.
* @throws {BitmovinError}
* @memberof KantarWatermarkApi
*/
delete(encodingId: string): Promise<BitmovinResponse>;
/**
* @summary Get the Kantar Watermark for an encoding
* @param {string} encodingId Id of the encoding.
* @throws {BitmovinError}
* @memberof KantarWatermarkApi
*/
get(encodingId: string): Promise<KantarWatermark>;
}