/**
 * Webitel API
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 24.04.0
 * Contact: support@webitel.com
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
import { AxiosPromise, AxiosInstance } from 'axios';
import { Configuration } from '../configuration';
import { RequestArgs, BaseAPI } from '../base';
import { WebitelCasesCloseReason } from '../api';
import { WebitelCasesCloseReasonList } from '../api';
import { WebitelCasesInputCloseReason } from '../api';
import { WebitelCasesLocateCloseReasonResponse } from '../api';
/**
 * CloseReasonsApi - axios parameter creator
 * @export
 */
export declare const CloseReasonsApiAxiosParamCreator: (configuration?: Configuration) => {
    /**
     *
     * @summary Create a new close reason
     * @param {string} closeReasonGroupId
     * @param {WebitelCasesInputCloseReason} input
     * @param {Array<string>} [fields] Fields to be retrieved as a result.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    createCloseReason: (closeReasonGroupId: string, input: WebitelCasesInputCloseReason, fields?: Array<string>, options?: any) => Promise<RequestArgs>;
    /**
     *
     * @summary Delete a close reason
     * @param {string} closeReasonGroupId
     * @param {string} id
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    deleteCloseReason: (closeReasonGroupId: string, id: string, options?: any) => Promise<RequestArgs>;
    /**
     *
     * @summary Retrieve a list of close reasons or search close reasons
     * @param {string} closeReasonGroupId Close reason group ID filter
     * @param {number} [page] Page number of result dataset records. offset &#x3D; (page*size)
     * @param {number} [size] Size count of records on result page. limit &#x3D; (size++)
     * @param {Array<string>} [fields] Fields to be retrieved as a result.
     * @param {string} [sort] Sort the result according to fields.
     * @param {Array<string>} [id]
     * @param {string} [q] Search query string for filtering by name. Supports: - Wildcards (*) for substring matching - Placeholder (?) for single character substitution - Exact match for full names
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    listCloseReasons: (closeReasonGroupId: string, page?: number, size?: number, fields?: Array<string>, sort?: string, id?: Array<string>, q?: string, options?: any) => Promise<RequestArgs>;
    /**
     *
     * @summary Locate a close reason by ID
     * @param {string} closeReasonGroupId
     * @param {string} id
     * @param {Array<string>} [fields]
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    locateCloseReason: (closeReasonGroupId: string, id: string, fields?: Array<string>, options?: any) => Promise<RequestArgs>;
    /**
     *
     * @summary Update an existing close reason
     * @param {string} closeReasonGroupId
     * @param {string} id
     * @param {WebitelCasesInputCloseReason} input
     * @param {Array<string>} [fields] Fields to be retrieved as a result.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    updateCloseReason: (closeReasonGroupId: string, id: string, input: WebitelCasesInputCloseReason, fields?: Array<string>, options?: any) => Promise<RequestArgs>;
    /**
     *
     * @summary Update an existing close reason
     * @param {string} closeReasonGroupId
     * @param {string} id
     * @param {WebitelCasesInputCloseReason} input
     * @param {Array<string>} [fields] Fields to be retrieved as a result.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    updateCloseReason2: (closeReasonGroupId: string, id: string, input: WebitelCasesInputCloseReason, fields?: Array<string>, options?: any) => Promise<RequestArgs>;
};
/**
 * CloseReasonsApi - functional programming interface
 * @export
 */
export declare const CloseReasonsApiFp: (configuration?: Configuration) => {
    /**
     *
     * @summary Create a new close reason
     * @param {string} closeReasonGroupId
     * @param {WebitelCasesInputCloseReason} input
     * @param {Array<string>} [fields] Fields to be retrieved as a result.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    createCloseReason(closeReasonGroupId: string, input: WebitelCasesInputCloseReason, fields?: Array<string>, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WebitelCasesCloseReason>>;
    /**
     *
     * @summary Delete a close reason
     * @param {string} closeReasonGroupId
     * @param {string} id
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    deleteCloseReason(closeReasonGroupId: string, id: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WebitelCasesCloseReason>>;
    /**
     *
     * @summary Retrieve a list of close reasons or search close reasons
     * @param {string} closeReasonGroupId Close reason group ID filter
     * @param {number} [page] Page number of result dataset records. offset &#x3D; (page*size)
     * @param {number} [size] Size count of records on result page. limit &#x3D; (size++)
     * @param {Array<string>} [fields] Fields to be retrieved as a result.
     * @param {string} [sort] Sort the result according to fields.
     * @param {Array<string>} [id]
     * @param {string} [q] Search query string for filtering by name. Supports: - Wildcards (*) for substring matching - Placeholder (?) for single character substitution - Exact match for full names
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    listCloseReasons(closeReasonGroupId: string, page?: number, size?: number, fields?: Array<string>, sort?: string, id?: Array<string>, q?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WebitelCasesCloseReasonList>>;
    /**
     *
     * @summary Locate a close reason by ID
     * @param {string} closeReasonGroupId
     * @param {string} id
     * @param {Array<string>} [fields]
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    locateCloseReason(closeReasonGroupId: string, id: string, fields?: Array<string>, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WebitelCasesLocateCloseReasonResponse>>;
    /**
     *
     * @summary Update an existing close reason
     * @param {string} closeReasonGroupId
     * @param {string} id
     * @param {WebitelCasesInputCloseReason} input
     * @param {Array<string>} [fields] Fields to be retrieved as a result.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    updateCloseReason(closeReasonGroupId: string, id: string, input: WebitelCasesInputCloseReason, fields?: Array<string>, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WebitelCasesCloseReason>>;
    /**
     *
     * @summary Update an existing close reason
     * @param {string} closeReasonGroupId
     * @param {string} id
     * @param {WebitelCasesInputCloseReason} input
     * @param {Array<string>} [fields] Fields to be retrieved as a result.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    updateCloseReason2(closeReasonGroupId: string, id: string, input: WebitelCasesInputCloseReason, fields?: Array<string>, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WebitelCasesCloseReason>>;
};
/**
 * CloseReasonsApi - factory interface
 * @export
 */
export declare const CloseReasonsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
    /**
     *
     * @summary Create a new close reason
     * @param {string} closeReasonGroupId
     * @param {WebitelCasesInputCloseReason} input
     * @param {Array<string>} [fields] Fields to be retrieved as a result.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    createCloseReason(closeReasonGroupId: string, input: WebitelCasesInputCloseReason, fields?: Array<string>, options?: any): AxiosPromise<WebitelCasesCloseReason>;
    /**
     *
     * @summary Delete a close reason
     * @param {string} closeReasonGroupId
     * @param {string} id
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    deleteCloseReason(closeReasonGroupId: string, id: string, options?: any): AxiosPromise<WebitelCasesCloseReason>;
    /**
     *
     * @summary Retrieve a list of close reasons or search close reasons
     * @param {string} closeReasonGroupId Close reason group ID filter
     * @param {number} [page] Page number of result dataset records. offset &#x3D; (page*size)
     * @param {number} [size] Size count of records on result page. limit &#x3D; (size++)
     * @param {Array<string>} [fields] Fields to be retrieved as a result.
     * @param {string} [sort] Sort the result according to fields.
     * @param {Array<string>} [id]
     * @param {string} [q] Search query string for filtering by name. Supports: - Wildcards (*) for substring matching - Placeholder (?) for single character substitution - Exact match for full names
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    listCloseReasons(closeReasonGroupId: string, page?: number, size?: number, fields?: Array<string>, sort?: string, id?: Array<string>, q?: string, options?: any): AxiosPromise<WebitelCasesCloseReasonList>;
    /**
     *
     * @summary Locate a close reason by ID
     * @param {string} closeReasonGroupId
     * @param {string} id
     * @param {Array<string>} [fields]
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    locateCloseReason(closeReasonGroupId: string, id: string, fields?: Array<string>, options?: any): AxiosPromise<WebitelCasesLocateCloseReasonResponse>;
    /**
     *
     * @summary Update an existing close reason
     * @param {string} closeReasonGroupId
     * @param {string} id
     * @param {WebitelCasesInputCloseReason} input
     * @param {Array<string>} [fields] Fields to be retrieved as a result.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    updateCloseReason(closeReasonGroupId: string, id: string, input: WebitelCasesInputCloseReason, fields?: Array<string>, options?: any): AxiosPromise<WebitelCasesCloseReason>;
    /**
     *
     * @summary Update an existing close reason
     * @param {string} closeReasonGroupId
     * @param {string} id
     * @param {WebitelCasesInputCloseReason} input
     * @param {Array<string>} [fields] Fields to be retrieved as a result.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    updateCloseReason2(closeReasonGroupId: string, id: string, input: WebitelCasesInputCloseReason, fields?: Array<string>, options?: any): AxiosPromise<WebitelCasesCloseReason>;
};
/**
 * CloseReasonsApi - object-oriented interface
 * @export
 * @class CloseReasonsApi
 * @extends {BaseAPI}
 */
export declare class CloseReasonsApi extends BaseAPI {
    /**
     *
     * @summary Create a new close reason
     * @param {string} closeReasonGroupId
     * @param {WebitelCasesInputCloseReason} input
     * @param {Array<string>} [fields] Fields to be retrieved as a result.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof CloseReasonsApi
     */
    createCloseReason(closeReasonGroupId: string, input: WebitelCasesInputCloseReason, fields?: Array<string>, options?: any): Promise<import("axios").AxiosResponse<WebitelCasesCloseReason, any, {}>>;
    /**
     *
     * @summary Delete a close reason
     * @param {string} closeReasonGroupId
     * @param {string} id
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof CloseReasonsApi
     */
    deleteCloseReason(closeReasonGroupId: string, id: string, options?: any): Promise<import("axios").AxiosResponse<WebitelCasesCloseReason, any, {}>>;
    /**
     *
     * @summary Retrieve a list of close reasons or search close reasons
     * @param {string} closeReasonGroupId Close reason group ID filter
     * @param {number} [page] Page number of result dataset records. offset &#x3D; (page*size)
     * @param {number} [size] Size count of records on result page. limit &#x3D; (size++)
     * @param {Array<string>} [fields] Fields to be retrieved as a result.
     * @param {string} [sort] Sort the result according to fields.
     * @param {Array<string>} [id]
     * @param {string} [q] Search query string for filtering by name. Supports: - Wildcards (*) for substring matching - Placeholder (?) for single character substitution - Exact match for full names
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof CloseReasonsApi
     */
    listCloseReasons(closeReasonGroupId: string, page?: number, size?: number, fields?: Array<string>, sort?: string, id?: Array<string>, q?: string, options?: any): Promise<import("axios").AxiosResponse<WebitelCasesCloseReasonList, any, {}>>;
    /**
     *
     * @summary Locate a close reason by ID
     * @param {string} closeReasonGroupId
     * @param {string} id
     * @param {Array<string>} [fields]
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof CloseReasonsApi
     */
    locateCloseReason(closeReasonGroupId: string, id: string, fields?: Array<string>, options?: any): Promise<import("axios").AxiosResponse<WebitelCasesLocateCloseReasonResponse, any, {}>>;
    /**
     *
     * @summary Update an existing close reason
     * @param {string} closeReasonGroupId
     * @param {string} id
     * @param {WebitelCasesInputCloseReason} input
     * @param {Array<string>} [fields] Fields to be retrieved as a result.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof CloseReasonsApi
     */
    updateCloseReason(closeReasonGroupId: string, id: string, input: WebitelCasesInputCloseReason, fields?: Array<string>, options?: any): Promise<import("axios").AxiosResponse<WebitelCasesCloseReason, any, {}>>;
    /**
     *
     * @summary Update an existing close reason
     * @param {string} closeReasonGroupId
     * @param {string} id
     * @param {WebitelCasesInputCloseReason} input
     * @param {Array<string>} [fields] Fields to be retrieved as a result.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof CloseReasonsApi
     */
    updateCloseReason2(closeReasonGroupId: string, id: string, input: WebitelCasesInputCloseReason, fields?: Array<string>, options?: any): Promise<import("axios").AxiosResponse<WebitelCasesCloseReason, any, {}>>;
}
//# sourceMappingURL=close-reasons-api.d.ts.map