/**
 * 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 { StorageCreateFilePolicyRequest } from '../api';
import { StorageFilePolicy } from '../api';
import { StorageFilePolicyApplyRequest } from '../api';
import { StorageFilePolicyApplyResponse } from '../api';
import { StorageListFilePolicies } from '../api';
import { StorageMovePositionFilePolicyRequest } from '../api';
import { StorageMovePositionFilePolicyResponse } from '../api';
import { StoragePatchFilePolicyRequest } from '../api';
import { StorageUpdateFilePolicyRequest } from '../api';
/**
 * FilePoliciesServiceApi - axios parameter creator
 * @export
 */
export declare const FilePoliciesServiceApiAxiosParamCreator: (configuration?: Configuration) => {
    /**
     *
     * @summary Create FilePolicy
     * @param {StorageCreateFilePolicyRequest} body
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    createFilePolicy: (body: StorageCreateFilePolicyRequest, options?: any) => Promise<RequestArgs>;
    /**
     *
     * @summary Remove FilePolicy
     * @param {number} id
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    deleteFilePolicy: (id: number, options?: any) => Promise<RequestArgs>;
    /**
     *
     * @param {number} id
     * @param {StorageFilePolicyApplyRequest} body
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    filePolicyApply: (id: number, body: StorageFilePolicyApplyRequest, options?: any) => Promise<RequestArgs>;
    /**
     *
     * @param {number} fromId
     * @param {number} toId
     * @param {StorageMovePositionFilePolicyRequest} body
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    movePositionFilePolicy: (fromId: number, toId: number, body: StorageMovePositionFilePolicyRequest, options?: any) => Promise<RequestArgs>;
    /**
     *
     * @summary Patch FilePolicy
     * @param {number} id
     * @param {StoragePatchFilePolicyRequest} body
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    patchFilePolicy: (id: number, body: StoragePatchFilePolicyRequest, options?: any) => Promise<RequestArgs>;
    /**
     *
     * @summary FilePolicy item
     * @param {number} id
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    readFilePolicy: (id: number, options?: any) => Promise<RequestArgs>;
    /**
     *
     * @summary List of FilePolicy
     * @param {number} [page]
     * @param {number} [size]
     * @param {string} [q]
     * @param {string} [sort]
     * @param {Array<string>} [fields]
     * @param {Array<number>} [id]
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    searchFilePolicies: (page?: number, size?: number, q?: string, sort?: string, fields?: Array<string>, id?: Array<number>, options?: any) => Promise<RequestArgs>;
    /**
     *
     * @summary Update FilePolicy
     * @param {number} id
     * @param {StorageUpdateFilePolicyRequest} body
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    updateFilePolicy: (id: number, body: StorageUpdateFilePolicyRequest, options?: any) => Promise<RequestArgs>;
};
/**
 * FilePoliciesServiceApi - functional programming interface
 * @export
 */
export declare const FilePoliciesServiceApiFp: (configuration?: Configuration) => {
    /**
     *
     * @summary Create FilePolicy
     * @param {StorageCreateFilePolicyRequest} body
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    createFilePolicy(body: StorageCreateFilePolicyRequest, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StorageFilePolicy>>;
    /**
     *
     * @summary Remove FilePolicy
     * @param {number} id
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    deleteFilePolicy(id: number, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StorageFilePolicy>>;
    /**
     *
     * @param {number} id
     * @param {StorageFilePolicyApplyRequest} body
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    filePolicyApply(id: number, body: StorageFilePolicyApplyRequest, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StorageFilePolicyApplyResponse>>;
    /**
     *
     * @param {number} fromId
     * @param {number} toId
     * @param {StorageMovePositionFilePolicyRequest} body
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    movePositionFilePolicy(fromId: number, toId: number, body: StorageMovePositionFilePolicyRequest, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StorageMovePositionFilePolicyResponse>>;
    /**
     *
     * @summary Patch FilePolicy
     * @param {number} id
     * @param {StoragePatchFilePolicyRequest} body
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    patchFilePolicy(id: number, body: StoragePatchFilePolicyRequest, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StorageFilePolicy>>;
    /**
     *
     * @summary FilePolicy item
     * @param {number} id
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    readFilePolicy(id: number, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StorageFilePolicy>>;
    /**
     *
     * @summary List of FilePolicy
     * @param {number} [page]
     * @param {number} [size]
     * @param {string} [q]
     * @param {string} [sort]
     * @param {Array<string>} [fields]
     * @param {Array<number>} [id]
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    searchFilePolicies(page?: number, size?: number, q?: string, sort?: string, fields?: Array<string>, id?: Array<number>, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StorageListFilePolicies>>;
    /**
     *
     * @summary Update FilePolicy
     * @param {number} id
     * @param {StorageUpdateFilePolicyRequest} body
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    updateFilePolicy(id: number, body: StorageUpdateFilePolicyRequest, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StorageFilePolicy>>;
};
/**
 * FilePoliciesServiceApi - factory interface
 * @export
 */
export declare const FilePoliciesServiceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
    /**
     *
     * @summary Create FilePolicy
     * @param {StorageCreateFilePolicyRequest} body
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    createFilePolicy(body: StorageCreateFilePolicyRequest, options?: any): AxiosPromise<StorageFilePolicy>;
    /**
     *
     * @summary Remove FilePolicy
     * @param {number} id
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    deleteFilePolicy(id: number, options?: any): AxiosPromise<StorageFilePolicy>;
    /**
     *
     * @param {number} id
     * @param {StorageFilePolicyApplyRequest} body
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    filePolicyApply(id: number, body: StorageFilePolicyApplyRequest, options?: any): AxiosPromise<StorageFilePolicyApplyResponse>;
    /**
     *
     * @param {number} fromId
     * @param {number} toId
     * @param {StorageMovePositionFilePolicyRequest} body
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    movePositionFilePolicy(fromId: number, toId: number, body: StorageMovePositionFilePolicyRequest, options?: any): AxiosPromise<StorageMovePositionFilePolicyResponse>;
    /**
     *
     * @summary Patch FilePolicy
     * @param {number} id
     * @param {StoragePatchFilePolicyRequest} body
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    patchFilePolicy(id: number, body: StoragePatchFilePolicyRequest, options?: any): AxiosPromise<StorageFilePolicy>;
    /**
     *
     * @summary FilePolicy item
     * @param {number} id
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    readFilePolicy(id: number, options?: any): AxiosPromise<StorageFilePolicy>;
    /**
     *
     * @summary List of FilePolicy
     * @param {number} [page]
     * @param {number} [size]
     * @param {string} [q]
     * @param {string} [sort]
     * @param {Array<string>} [fields]
     * @param {Array<number>} [id]
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    searchFilePolicies(page?: number, size?: number, q?: string, sort?: string, fields?: Array<string>, id?: Array<number>, options?: any): AxiosPromise<StorageListFilePolicies>;
    /**
     *
     * @summary Update FilePolicy
     * @param {number} id
     * @param {StorageUpdateFilePolicyRequest} body
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    updateFilePolicy(id: number, body: StorageUpdateFilePolicyRequest, options?: any): AxiosPromise<StorageFilePolicy>;
};
/**
 * FilePoliciesServiceApi - object-oriented interface
 * @export
 * @class FilePoliciesServiceApi
 * @extends {BaseAPI}
 */
export declare class FilePoliciesServiceApi extends BaseAPI {
    /**
     *
     * @summary Create FilePolicy
     * @param {StorageCreateFilePolicyRequest} body
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof FilePoliciesServiceApi
     */
    createFilePolicy(body: StorageCreateFilePolicyRequest, options?: any): Promise<import("axios").AxiosResponse<StorageFilePolicy, any, {}>>;
    /**
     *
     * @summary Remove FilePolicy
     * @param {number} id
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof FilePoliciesServiceApi
     */
    deleteFilePolicy(id: number, options?: any): Promise<import("axios").AxiosResponse<StorageFilePolicy, any, {}>>;
    /**
     *
     * @param {number} id
     * @param {StorageFilePolicyApplyRequest} body
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof FilePoliciesServiceApi
     */
    filePolicyApply(id: number, body: StorageFilePolicyApplyRequest, options?: any): Promise<import("axios").AxiosResponse<StorageFilePolicyApplyResponse, any, {}>>;
    /**
     *
     * @param {number} fromId
     * @param {number} toId
     * @param {StorageMovePositionFilePolicyRequest} body
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof FilePoliciesServiceApi
     */
    movePositionFilePolicy(fromId: number, toId: number, body: StorageMovePositionFilePolicyRequest, options?: any): Promise<import("axios").AxiosResponse<StorageMovePositionFilePolicyResponse, any, {}>>;
    /**
     *
     * @summary Patch FilePolicy
     * @param {number} id
     * @param {StoragePatchFilePolicyRequest} body
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof FilePoliciesServiceApi
     */
    patchFilePolicy(id: number, body: StoragePatchFilePolicyRequest, options?: any): Promise<import("axios").AxiosResponse<StorageFilePolicy, any, {}>>;
    /**
     *
     * @summary FilePolicy item
     * @param {number} id
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof FilePoliciesServiceApi
     */
    readFilePolicy(id: number, options?: any): Promise<import("axios").AxiosResponse<StorageFilePolicy, any, {}>>;
    /**
     *
     * @summary List of FilePolicy
     * @param {number} [page]
     * @param {number} [size]
     * @param {string} [q]
     * @param {string} [sort]
     * @param {Array<string>} [fields]
     * @param {Array<number>} [id]
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof FilePoliciesServiceApi
     */
    searchFilePolicies(page?: number, size?: number, q?: string, sort?: string, fields?: Array<string>, id?: Array<number>, options?: any): Promise<import("axios").AxiosResponse<StorageListFilePolicies, any, {}>>;
    /**
     *
     * @summary Update FilePolicy
     * @param {number} id
     * @param {StorageUpdateFilePolicyRequest} body
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof FilePoliciesServiceApi
     */
    updateFilePolicy(id: number, body: StorageUpdateFilePolicyRequest, options?: any): Promise<import("axios").AxiosResponse<StorageFilePolicy, any, {}>>;
}
//# sourceMappingURL=file-policies-service-api.d.ts.map