/** * Cloud API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * 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 { FileDto } from '../models'; import { FilePageDto } from '../models'; import { FileSearchResultPageDto } from '../models'; import { FileUploadRequestResponseDto } from '../models'; import { SearchRequestDto } from '../models'; import { UnsplashFileSearchOptionsDto } from '../models'; import { UnsplashSearchResponseDto } from '../models'; /** * FilesApi - axios parameter creator * @export */ export declare const FilesApiAxiosParamCreator: (axiosClientConfiguration?: Configuration) => { /** * * @param {FileDto} file * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ createFile: (file: FileDto, translate?: string, options?: any) => Promise; /** * * @param {string} id * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteFile: (id: string, translate?: string, options?: any) => Promise; /** * * @param {Array} ids * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteManyFiles: (ids: Array, translate?: string, options?: any) => Promise; /** * This is a very performant method for checking if a File exists. * @summary Check if File exists * @param {string} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ fileExists: (id: string, options?: any) => Promise; /** * * @param {string} id * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ getFile: (id: string, translate?: string, options?: any) => Promise; /** * * @param {number} [page] * @param {number} [size] * @param {string} [translate] * @param {boolean} [withReplacements] * @param {string} [sort] * @param {string} [search] * @param {*} [options] Override http request option. * @throws {RequiredError} */ getFiles: (page?: number, size?: number, translate?: string, withReplacements?: boolean, sort?: string, search?: string, options?: any) => Promise; /** * * @param {number} [page] * @param {number} [size] * @param {string} [sort] * @param {string} [search] * @param {boolean} [withReplacements] * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ getFilesCount: (page?: number, size?: number, sort?: string, search?: string, withReplacements?: boolean, translate?: string, options?: any) => Promise; /** * * @summary Returns sharepoint files * @param {string} [directory] * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ getSharepointFiles: (directory?: string, translate?: string, options?: any) => Promise; /** * * @param {string} id * @param {any} file * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ patchFile: (id: string, file: any, translate?: string, options?: any) => Promise; /** * * @param {SearchRequestDto} searchRequest * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ performFileSearch: (searchRequest: SearchRequestDto, translate?: string, options?: any) => Promise; /** * * @param {string} id * @param {FileDto} file * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ putFile: (id: string, file: FileDto, translate?: string, options?: any) => Promise; /** * * @param {UnsplashFileSearchOptionsDto} unsplashFileSearchOptions * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ searchUnsplash: (unsplashFileSearchOptions: UnsplashFileSearchOptionsDto, translate?: string, options?: any) => Promise; /** * * @param {string} id * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ uploadFile: (id: string, translate?: string, options?: any) => Promise; }; /** * FilesApi - functional programming interface * @export */ export declare const FilesApiFp: (axiosClientConfiguration?: Configuration) => { /** * * @param {FileDto} file * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ createFile(file: FileDto, translate?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {string} id * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteFile(id: string, translate?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {Array} ids * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteManyFiles(ids: Array, translate?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * This is a very performant method for checking if a File exists. * @summary Check if File exists * @param {string} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ fileExists(id: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {string} id * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ getFile(id: string, translate?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {number} [page] * @param {number} [size] * @param {string} [translate] * @param {boolean} [withReplacements] * @param {string} [sort] * @param {string} [search] * @param {*} [options] Override http request option. * @throws {RequiredError} */ getFiles(page?: number, size?: number, translate?: string, withReplacements?: boolean, sort?: string, search?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {number} [page] * @param {number} [size] * @param {string} [sort] * @param {string} [search] * @param {boolean} [withReplacements] * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ getFilesCount(page?: number, size?: number, sort?: string, search?: string, withReplacements?: boolean, translate?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @summary Returns sharepoint files * @param {string} [directory] * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ getSharepointFiles(directory?: string, translate?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>>; /** * * @param {string} id * @param {any} file * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ patchFile(id: string, file: any, translate?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {SearchRequestDto} searchRequest * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ performFileSearch(searchRequest: SearchRequestDto, translate?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {string} id * @param {FileDto} file * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ putFile(id: string, file: FileDto, translate?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {UnsplashFileSearchOptionsDto} unsplashFileSearchOptions * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ searchUnsplash(unsplashFileSearchOptions: UnsplashFileSearchOptionsDto, translate?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {string} id * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ uploadFile(id: string, translate?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * FilesApi - factory interface * @export */ export declare const FilesApiFactory: (axiosClientConfiguration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * * @param {FileDto} file * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ createFile(file: FileDto, translate?: string, options?: any): AxiosPromise; /** * * @param {string} id * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteFile(id: string, translate?: string, options?: any): AxiosPromise; /** * * @param {Array} ids * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteManyFiles(ids: Array, translate?: string, options?: any): AxiosPromise; /** * This is a very performant method for checking if a File exists. * @summary Check if File exists * @param {string} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ fileExists(id: string, options?: any): AxiosPromise; /** * * @param {string} id * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ getFile(id: string, translate?: string, options?: any): AxiosPromise; /** * * @param {number} [page] * @param {number} [size] * @param {string} [translate] * @param {boolean} [withReplacements] * @param {string} [sort] * @param {string} [search] * @param {*} [options] Override http request option. * @throws {RequiredError} */ getFiles(page?: number, size?: number, translate?: string, withReplacements?: boolean, sort?: string, search?: string, options?: any): AxiosPromise; /** * * @param {number} [page] * @param {number} [size] * @param {string} [sort] * @param {string} [search] * @param {boolean} [withReplacements] * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ getFilesCount(page?: number, size?: number, sort?: string, search?: string, withReplacements?: boolean, translate?: string, options?: any): AxiosPromise; /** * * @summary Returns sharepoint files * @param {string} [directory] * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ getSharepointFiles(directory?: string, translate?: string, options?: any): AxiosPromise>; /** * * @param {string} id * @param {any} file * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ patchFile(id: string, file: any, translate?: string, options?: any): AxiosPromise; /** * * @param {SearchRequestDto} searchRequest * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ performFileSearch(searchRequest: SearchRequestDto, translate?: string, options?: any): AxiosPromise; /** * * @param {string} id * @param {FileDto} file * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ putFile(id: string, file: FileDto, translate?: string, options?: any): AxiosPromise; /** * * @param {UnsplashFileSearchOptionsDto} unsplashFileSearchOptions * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ searchUnsplash(unsplashFileSearchOptions: UnsplashFileSearchOptionsDto, translate?: string, options?: any): AxiosPromise; /** * * @param {string} id * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ uploadFile(id: string, translate?: string, options?: any): AxiosPromise; }; /** * Request parameters for createFile operation in FilesApi. * @export * @interface FilesApiCreateFileRequest */ export interface FilesApiCreateFileRequest { /** * * @type {FileDto} * @memberof FilesApiCreateFile */ readonly file: FileDto; /** * * @type {string} * @memberof FilesApiCreateFile */ readonly translate?: string; } /** * Request parameters for deleteFile operation in FilesApi. * @export * @interface FilesApiDeleteFileRequest */ export interface FilesApiDeleteFileRequest { /** * * @type {string} * @memberof FilesApiDeleteFile */ readonly id: string; /** * * @type {string} * @memberof FilesApiDeleteFile */ readonly translate?: string; } /** * Request parameters for deleteManyFiles operation in FilesApi. * @export * @interface FilesApiDeleteManyFilesRequest */ export interface FilesApiDeleteManyFilesRequest { /** * * @type {Array} * @memberof FilesApiDeleteManyFiles */ readonly ids: Array; /** * * @type {string} * @memberof FilesApiDeleteManyFiles */ readonly translate?: string; } /** * Request parameters for fileExists operation in FilesApi. * @export * @interface FilesApiFileExistsRequest */ export interface FilesApiFileExistsRequest { /** * * @type {string} * @memberof FilesApiFileExists */ readonly id: string; } /** * Request parameters for getFile operation in FilesApi. * @export * @interface FilesApiGetFileRequest */ export interface FilesApiGetFileRequest { /** * * @type {string} * @memberof FilesApiGetFile */ readonly id: string; /** * * @type {string} * @memberof FilesApiGetFile */ readonly translate?: string; } /** * Request parameters for getFiles operation in FilesApi. * @export * @interface FilesApiGetFilesRequest */ export interface FilesApiGetFilesRequest { /** * * @type {number} * @memberof FilesApiGetFiles */ readonly page?: number; /** * * @type {number} * @memberof FilesApiGetFiles */ readonly size?: number; /** * * @type {string} * @memberof FilesApiGetFiles */ readonly translate?: string; /** * * @type {boolean} * @memberof FilesApiGetFiles */ readonly withReplacements?: boolean; /** * * @type {string} * @memberof FilesApiGetFiles */ readonly sort?: string; /** * * @type {string} * @memberof FilesApiGetFiles */ readonly search?: string; } /** * Request parameters for getFilesCount operation in FilesApi. * @export * @interface FilesApiGetFilesCountRequest */ export interface FilesApiGetFilesCountRequest { /** * * @type {number} * @memberof FilesApiGetFilesCount */ readonly page?: number; /** * * @type {number} * @memberof FilesApiGetFilesCount */ readonly size?: number; /** * * @type {string} * @memberof FilesApiGetFilesCount */ readonly sort?: string; /** * * @type {string} * @memberof FilesApiGetFilesCount */ readonly search?: string; /** * * @type {boolean} * @memberof FilesApiGetFilesCount */ readonly withReplacements?: boolean; /** * * @type {string} * @memberof FilesApiGetFilesCount */ readonly translate?: string; } /** * Request parameters for getSharepointFiles operation in FilesApi. * @export * @interface FilesApiGetSharepointFilesRequest */ export interface FilesApiGetSharepointFilesRequest { /** * * @type {string} * @memberof FilesApiGetSharepointFiles */ readonly directory?: string; /** * * @type {string} * @memberof FilesApiGetSharepointFiles */ readonly translate?: string; } /** * Request parameters for patchFile operation in FilesApi. * @export * @interface FilesApiPatchFileRequest */ export interface FilesApiPatchFileRequest { /** * * @type {string} * @memberof FilesApiPatchFile */ readonly id: string; /** * * @type {any} * @memberof FilesApiPatchFile */ readonly file: any; /** * * @type {string} * @memberof FilesApiPatchFile */ readonly translate?: string; } /** * Request parameters for performFileSearch operation in FilesApi. * @export * @interface FilesApiPerformFileSearchRequest */ export interface FilesApiPerformFileSearchRequest { /** * * @type {SearchRequestDto} * @memberof FilesApiPerformFileSearch */ readonly searchRequest: SearchRequestDto; /** * * @type {string} * @memberof FilesApiPerformFileSearch */ readonly translate?: string; } /** * Request parameters for putFile operation in FilesApi. * @export * @interface FilesApiPutFileRequest */ export interface FilesApiPutFileRequest { /** * * @type {string} * @memberof FilesApiPutFile */ readonly id: string; /** * * @type {FileDto} * @memberof FilesApiPutFile */ readonly file: FileDto; /** * * @type {string} * @memberof FilesApiPutFile */ readonly translate?: string; } /** * Request parameters for searchUnsplash operation in FilesApi. * @export * @interface FilesApiSearchUnsplashRequest */ export interface FilesApiSearchUnsplashRequest { /** * * @type {UnsplashFileSearchOptionsDto} * @memberof FilesApiSearchUnsplash */ readonly unsplashFileSearchOptions: UnsplashFileSearchOptionsDto; /** * * @type {string} * @memberof FilesApiSearchUnsplash */ readonly translate?: string; } /** * Request parameters for uploadFile operation in FilesApi. * @export * @interface FilesApiUploadFileRequest */ export interface FilesApiUploadFileRequest { /** * * @type {string} * @memberof FilesApiUploadFile */ readonly id: string; /** * * @type {string} * @memberof FilesApiUploadFile */ readonly translate?: string; } /** * FilesApi - object-oriented interface * @export * @class FilesApi * @extends {BaseAPI} */ export declare class FilesApi extends BaseAPI { /** * * @param {FilesApiCreateFileRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof FilesApi */ createFile(requestParameters: FilesApiCreateFileRequest, options?: any): Promise>; /** * * @param {FilesApiDeleteFileRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof FilesApi */ deleteFile(requestParameters: FilesApiDeleteFileRequest, options?: any): Promise>; /** * * @param {FilesApiDeleteManyFilesRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof FilesApi */ deleteManyFiles(requestParameters: FilesApiDeleteManyFilesRequest, options?: any): Promise>; /** * This is a very performant method for checking if a File exists. * @summary Check if File exists * @param {FilesApiFileExistsRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof FilesApi */ fileExists(requestParameters: FilesApiFileExistsRequest, options?: any): Promise>; /** * * @param {FilesApiGetFileRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof FilesApi */ getFile(requestParameters: FilesApiGetFileRequest, options?: any): Promise>; /** * * @param {FilesApiGetFilesRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof FilesApi */ getFiles(requestParameters?: FilesApiGetFilesRequest, options?: any): Promise>; /** * * @param {FilesApiGetFilesCountRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof FilesApi */ getFilesCount(requestParameters?: FilesApiGetFilesCountRequest, options?: any): Promise>; /** * * @summary Returns sharepoint files * @param {FilesApiGetSharepointFilesRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof FilesApi */ getSharepointFiles(requestParameters?: FilesApiGetSharepointFilesRequest, options?: any): Promise>; /** * * @param {FilesApiPatchFileRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof FilesApi */ patchFile(requestParameters: FilesApiPatchFileRequest, options?: any): Promise>; /** * * @param {FilesApiPerformFileSearchRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof FilesApi */ performFileSearch(requestParameters: FilesApiPerformFileSearchRequest, options?: any): Promise>; /** * * @param {FilesApiPutFileRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof FilesApi */ putFile(requestParameters: FilesApiPutFileRequest, options?: any): Promise>; /** * * @param {FilesApiSearchUnsplashRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof FilesApi */ searchUnsplash(requestParameters: FilesApiSearchUnsplashRequest, options?: any): Promise>; /** * * @param {FilesApiUploadFileRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof FilesApi */ uploadFile(requestParameters: FilesApiUploadFileRequest, options?: any): Promise>; }