/** * 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 { WebitelCasesCaseFileList } from '../api'; import { WebitelCasesFile } from '../api'; /** * CaseFilesApi - axios parameter creator * @export */ export declare const CaseFilesApiAxiosParamCreator: (configuration?: Configuration) => { /** * * @summary Delete a file * @param {string} caseEtag * @param {string} id The unique ID of the file to delete. * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteFile: (caseEtag: string, id: string, options?: any) => Promise; /** * * @summary Retrieve a list of files associated with a case * @param {string} caseEtag ID of the case to fetch files for (required). * @param {number} [page] The page number to retrieve. * @param {number} [size] Number of items per page. * @param {string} [q] Search term. * @param {Array} [fields] Fields to include in the response. * @param {Array} [ids] Array of requested id. * @param {string} [sort] Sorting * @param {*} [options] Override http request option. * @throws {RequiredError} */ listFiles: (caseEtag: string, page?: number, size?: number, q?: string, fields?: Array, ids?: Array, sort?: string, options?: any) => Promise; }; /** * CaseFilesApi - functional programming interface * @export */ export declare const CaseFilesApiFp: (configuration?: Configuration) => { /** * * @summary Delete a file * @param {string} caseEtag * @param {string} id The unique ID of the file to delete. * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteFile(caseEtag: string, id: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @summary Retrieve a list of files associated with a case * @param {string} caseEtag ID of the case to fetch files for (required). * @param {number} [page] The page number to retrieve. * @param {number} [size] Number of items per page. * @param {string} [q] Search term. * @param {Array} [fields] Fields to include in the response. * @param {Array} [ids] Array of requested id. * @param {string} [sort] Sorting * @param {*} [options] Override http request option. * @throws {RequiredError} */ listFiles(caseEtag: string, page?: number, size?: number, q?: string, fields?: Array, ids?: Array, sort?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * CaseFilesApi - factory interface * @export */ export declare const CaseFilesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * * @summary Delete a file * @param {string} caseEtag * @param {string} id The unique ID of the file to delete. * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteFile(caseEtag: string, id: string, options?: any): AxiosPromise; /** * * @summary Retrieve a list of files associated with a case * @param {string} caseEtag ID of the case to fetch files for (required). * @param {number} [page] The page number to retrieve. * @param {number} [size] Number of items per page. * @param {string} [q] Search term. * @param {Array} [fields] Fields to include in the response. * @param {Array} [ids] Array of requested id. * @param {string} [sort] Sorting * @param {*} [options] Override http request option. * @throws {RequiredError} */ listFiles(caseEtag: string, page?: number, size?: number, q?: string, fields?: Array, ids?: Array, sort?: string, options?: any): AxiosPromise; }; /** * CaseFilesApi - object-oriented interface * @export * @class CaseFilesApi * @extends {BaseAPI} */ export declare class CaseFilesApi extends BaseAPI { /** * * @summary Delete a file * @param {string} caseEtag * @param {string} id The unique ID of the file to delete. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CaseFilesApi */ deleteFile(caseEtag: string, id: string, options?: any): Promise>; /** * * @summary Retrieve a list of files associated with a case * @param {string} caseEtag ID of the case to fetch files for (required). * @param {number} [page] The page number to retrieve. * @param {number} [size] Number of items per page. * @param {string} [q] Search term. * @param {Array} [fields] Fields to include in the response. * @param {Array} [ids] Array of requested id. * @param {string} [sort] Sorting * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CaseFilesApi */ listFiles(caseEtag: string, page?: number, size?: number, q?: string, fields?: Array, ids?: Array, sort?: string, options?: any): Promise>; } //# sourceMappingURL=case-files-api.d.ts.map