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';
/**
 * TransferErrorApi - object-oriented interface
 * @export
 * @class TransferErrorApi
 * @extends {BaseAPI}
 */
export default class TransferErrorApi extends BaseAPI {
    customdata: CustomdataApi;
    constructor(configuration: Configuration);
    /**
     * @summary Add 'Encoding Transfer Error' Webhook
     * @param {Webhook} webhook The &#39;Encoding Transfer Error&#39; Webhook to be added.
     * @throws {BitmovinError}
     * @memberof TransferErrorApi
     */
    create(webhook?: Webhook): Promise<Webhook>;
    /**
     * @summary Add 'Encoding Transfer Error' Webhook for a specific Encoding
     * @param {string} encodingId Id of the encoding
     * @param {Webhook} webhook The &#39;Encoding Transfer Error&#39; Webhook to be added. A maximum number of 5 webhooks per Encoding is allowed
     * @throws {BitmovinError}
     * @memberof TransferErrorApi
     */
    createByEncodingId(encodingId: string, webhook?: Webhook): Promise<Webhook>;
    /**
     * @summary Delete 'Encoding Transfer Error' Webhook for a specific Encoding
     * @param {string} encodingId Id of the encoding
     * @param {string} webhookId Id of the webhook
     * @throws {BitmovinError}
     * @memberof TransferErrorApi
     */
    deleteByEncodingIdAndWebhookId(encodingId: string, webhookId: string): Promise<BitmovinResponse>;
    /**
     * @summary Delete 'Encoding Transfer Error' Webhook
     * @param {string} webhookId Id of the webhook
     * @throws {BitmovinError}
     * @memberof TransferErrorApi
     */
    deleteByWebhookId(webhookId: string): Promise<BitmovinResponse>;
    /**
     * @summary 'Encoding Transfer Error' Webhook Details for a specific Encoding
     * @param {string} encodingId Id of the encoding
     * @param {string} webhookId Id of the webhook
     * @throws {BitmovinError}
     * @memberof TransferErrorApi
     */
    getByEncodingIdAndWebhookId(encodingId: string, webhookId: string): Promise<Webhook>;
    /**
     * @summary 'Encoding Transfer Error' Webhook Details
     * @param {string} webhookId Id of the webhook
     * @throws {BitmovinError}
     * @memberof TransferErrorApi
     */
    getByWebhookId(webhookId: string): Promise<Webhook>;
    /**
     * @summary List 'Encoding Transfer Error' Webhooks
     * @param {*} [queryParameters] query parameters for filtering, sorting and pagination
     * @throws {BitmovinError}
     * @memberof TransferErrorApi
     */
    list(queryParameters?: WebhookListQueryParams | ((q: WebhookListQueryParamsBuilder) => WebhookListQueryParamsBuilder)): Promise<PaginationResponse<Webhook>>;
    /**
     * @summary List 'Encoding Transfer Error' Webhooks for a specific Encoding
     * @param {string} encodingId Id of the encoding
     * @param {*} [queryParameters] query parameters for filtering, sorting and pagination
     * @throws {BitmovinError}
     * @memberof TransferErrorApi
     */
    listByEncodingId(encodingId: string, queryParameters?: WebhookListByEncodingIdQueryParams | ((q: WebhookListByEncodingIdQueryParamsBuilder) => WebhookListByEncodingIdQueryParamsBuilder)): Promise<PaginationResponse<Webhook>>;
}
