@bitmovin/api-sdk
Version:
Bitmovin JS/TS API SDK
54 lines (53 loc) • 2.79 kB
TypeScript
import { BaseAPI } from '../../../../../../common/BaseAPI';
import Configuration from '../../../../../../common/Configuration';
import CustomdataApi from './customdata/CustomdataApi';
import AesEncryptionDrm from '../../../../../../models/AesEncryptionDrm';
import BitmovinResponse from '../../../../../../models/BitmovinResponse';
import PaginationResponse from '../../../../../../models/PaginationResponse';
import { AesEncryptionDrmListQueryParams, AesEncryptionDrmListQueryParamsBuilder } from './AesEncryptionDrmListQueryParams';
/**
* AesApi - object-oriented interface
* @export
* @class AesApi
* @extends {BaseAPI}
*/
export default class AesApi extends BaseAPI {
customdata: CustomdataApi;
constructor(configuration: Configuration);
/**
* @summary Add AES encryption configuration to a Progressive TS muxing
* @param {string} encodingId Id of the encoding
* @param {string} muxingId Id of the Progressive TS muxing
* @param {AesEncryptionDrm} aesEncryptionDrm The AES encryption configuration to be created. Note that for AES encryption in conjunction with Progressive TS muxing the 'iv' must remain unset or be empty.
* @throws {BitmovinError}
* @memberof AesApi
*/
create(encodingId: string, muxingId: string, aesEncryptionDrm?: AesEncryptionDrm): Promise<AesEncryptionDrm>;
/**
* @summary Delete AES encryption configuration from a Progressive TS muxing
* @param {string} encodingId Id of the encoding
* @param {string} muxingId Id of the Progressive TS muxing
* @param {string} drmId Id of the AES encryption configuration
* @throws {BitmovinError}
* @memberof AesApi
*/
delete(encodingId: string, muxingId: string, drmId: string): Promise<BitmovinResponse>;
/**
* @summary AES encryption Details of a Progressive TS muxing
* @param {string} encodingId Id of the encoding
* @param {string} muxingId Id of the Progressive TS muxing
* @param {string} drmId Id of the AES encryption configuration
* @throws {BitmovinError}
* @memberof AesApi
*/
get(encodingId: string, muxingId: string, drmId: string): Promise<AesEncryptionDrm>;
/**
* @summary List AES encryption configurations of a Progressive TS muxing
* @param {string} encodingId Id of the encoding
* @param {string} muxingId Id of the Progressive TS muxing
* @param {*} [queryParameters] query parameters for filtering, sorting and pagination
* @throws {BitmovinError}
* @memberof AesApi
*/
list(encodingId: string, muxingId: string, queryParameters?: AesEncryptionDrmListQueryParams | ((q: AesEncryptionDrmListQueryParamsBuilder) => AesEncryptionDrmListQueryParamsBuilder)): Promise<PaginationResponse<AesEncryptionDrm>>;
}