/** * 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 { StorageDeleteFilesRequest } from '../api'; import { StorageListFile } from '../api'; /** * FileServiceApi - axios parameter creator * @export */ export declare const FileServiceApiAxiosParamCreator: (configuration?: Configuration) => { /** * * @param {StorageDeleteFilesRequest} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteFiles: (body: StorageDeleteFilesRequest, options?: any) => Promise; /** * * @param {number} [page] * @param {number} [size] * @param {string} [q] * @param {string} [sort] * @param {Array} [fields] * @param {Array} [id] * @param {string} [uploadedAtFrom] * @param {string} [uploadedAtTo] * @param {Array} [uploadedBy] * @param {Array} [referenceId] * @param {Array<'UnknownChannel' | 'ChatChannel' | 'MailChannel' | 'CallChannel' | 'LogChannel' | 'MediaChannel' | 'KnowledgebaseChannel' | 'CasesChannel'>} [channel] * @param {string} [retentionUntilFrom] * @param {string} [retentionUntilTo] * @param {*} [options] Override http request option. * @throws {RequiredError} */ searchFiles: (page?: number, size?: number, q?: string, sort?: string, fields?: Array, id?: Array, uploadedAtFrom?: string, uploadedAtTo?: string, uploadedBy?: Array, referenceId?: Array, channel?: Array<"UnknownChannel" | "ChatChannel" | "MailChannel" | "CallChannel" | "LogChannel" | "MediaChannel" | "KnowledgebaseChannel" | "CasesChannel">, retentionUntilFrom?: string, retentionUntilTo?: string, options?: any) => Promise; }; /** * FileServiceApi - functional programming interface * @export */ export declare const FileServiceApiFp: (configuration?: Configuration) => { /** * * @param {StorageDeleteFilesRequest} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteFiles(body: StorageDeleteFilesRequest, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {number} [page] * @param {number} [size] * @param {string} [q] * @param {string} [sort] * @param {Array} [fields] * @param {Array} [id] * @param {string} [uploadedAtFrom] * @param {string} [uploadedAtTo] * @param {Array} [uploadedBy] * @param {Array} [referenceId] * @param {Array<'UnknownChannel' | 'ChatChannel' | 'MailChannel' | 'CallChannel' | 'LogChannel' | 'MediaChannel' | 'KnowledgebaseChannel' | 'CasesChannel'>} [channel] * @param {string} [retentionUntilFrom] * @param {string} [retentionUntilTo] * @param {*} [options] Override http request option. * @throws {RequiredError} */ searchFiles(page?: number, size?: number, q?: string, sort?: string, fields?: Array, id?: Array, uploadedAtFrom?: string, uploadedAtTo?: string, uploadedBy?: Array, referenceId?: Array, channel?: Array<"UnknownChannel" | "ChatChannel" | "MailChannel" | "CallChannel" | "LogChannel" | "MediaChannel" | "KnowledgebaseChannel" | "CasesChannel">, retentionUntilFrom?: string, retentionUntilTo?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * FileServiceApi - factory interface * @export */ export declare const FileServiceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * * @param {StorageDeleteFilesRequest} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteFiles(body: StorageDeleteFilesRequest, options?: any): AxiosPromise; /** * * @param {number} [page] * @param {number} [size] * @param {string} [q] * @param {string} [sort] * @param {Array} [fields] * @param {Array} [id] * @param {string} [uploadedAtFrom] * @param {string} [uploadedAtTo] * @param {Array} [uploadedBy] * @param {Array} [referenceId] * @param {Array<'UnknownChannel' | 'ChatChannel' | 'MailChannel' | 'CallChannel' | 'LogChannel' | 'MediaChannel' | 'KnowledgebaseChannel' | 'CasesChannel'>} [channel] * @param {string} [retentionUntilFrom] * @param {string} [retentionUntilTo] * @param {*} [options] Override http request option. * @throws {RequiredError} */ searchFiles(page?: number, size?: number, q?: string, sort?: string, fields?: Array, id?: Array, uploadedAtFrom?: string, uploadedAtTo?: string, uploadedBy?: Array, referenceId?: Array, channel?: Array<"UnknownChannel" | "ChatChannel" | "MailChannel" | "CallChannel" | "LogChannel" | "MediaChannel" | "KnowledgebaseChannel" | "CasesChannel">, retentionUntilFrom?: string, retentionUntilTo?: string, options?: any): AxiosPromise; }; /** * FileServiceApi - object-oriented interface * @export * @class FileServiceApi * @extends {BaseAPI} */ export declare class FileServiceApi extends BaseAPI { /** * * @param {StorageDeleteFilesRequest} body * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof FileServiceApi */ deleteFiles(body: StorageDeleteFilesRequest, options?: any): Promise>; /** * * @param {number} [page] * @param {number} [size] * @param {string} [q] * @param {string} [sort] * @param {Array} [fields] * @param {Array} [id] * @param {string} [uploadedAtFrom] * @param {string} [uploadedAtTo] * @param {Array} [uploadedBy] * @param {Array} [referenceId] * @param {Array<'UnknownChannel' | 'ChatChannel' | 'MailChannel' | 'CallChannel' | 'LogChannel' | 'MediaChannel' | 'KnowledgebaseChannel' | 'CasesChannel'>} [channel] * @param {string} [retentionUntilFrom] * @param {string} [retentionUntilTo] * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof FileServiceApi */ searchFiles(page?: number, size?: number, q?: string, sort?: string, fields?: Array, id?: Array, uploadedAtFrom?: string, uploadedAtTo?: string, uploadedBy?: Array, referenceId?: Array, channel?: Array<'UnknownChannel' | 'ChatChannel' | 'MailChannel' | 'CallChannel' | 'LogChannel' | 'MediaChannel' | 'KnowledgebaseChannel' | 'CasesChannel'>, retentionUntilFrom?: string, retentionUntilTo?: string, options?: any): Promise>; } //# sourceMappingURL=file-service-api.d.ts.map