/** * 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 { CreateTaskDto } from '../models'; import { ScheduleTaskDto } from '../models'; import { SearchRequestDto } from '../models'; import { TaskDto } from '../models'; import { TaskPageDto } from '../models'; import { TaskSearchResultPageDto } from '../models'; /** * TasksApi - axios parameter creator * @export */ export declare const TasksApiAxiosParamCreator: (axiosClientConfiguration?: Configuration) => { /** * * @param {CreateTaskDto} createTask * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ createTask: (createTask: CreateTaskDto, translate?: string, options?: any) => Promise; /** * * @param {Array} ids * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteManyTasks: (ids: Array, translate?: string, options?: any) => Promise; /** * * @param {string} id * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteTask: (id: string, translate?: string, options?: any) => Promise; /** * * @param {string} taskId * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ executeTask: (taskId: string, translate?: string, options?: any) => Promise; /** * * @param {string} id * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ getTask: (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} */ getTasks: (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} */ getTasksCount: (page?: number, size?: number, sort?: string, search?: string, withReplacements?: boolean, translate?: string, options?: any) => Promise; /** * * @param {string} id * @param {any} task * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ patchTask: (id: string, task: any, translate?: string, options?: any) => Promise; /** * * @param {SearchRequestDto} searchRequest * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ performTaskSearch: (searchRequest: SearchRequestDto, translate?: string, options?: any) => Promise; /** * * @param {string} id * @param {TaskDto} task * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ putTask: (id: string, task: TaskDto, translate?: string, options?: any) => Promise; /** * * @param {ScheduleTaskDto} scheduleTask * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ scheduleTask: (scheduleTask: ScheduleTaskDto, translate?: string, options?: any) => Promise; /** * This is a very performant method for checking if a Task exists. * @summary Check if Task exists * @param {string} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ taskExists: (id: string, options?: any) => Promise; }; /** * TasksApi - functional programming interface * @export */ export declare const TasksApiFp: (axiosClientConfiguration?: Configuration) => { /** * * @param {CreateTaskDto} createTask * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ createTask(createTask: CreateTaskDto, translate?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {Array} ids * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteManyTasks(ids: Array, translate?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {string} id * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteTask(id: string, translate?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {string} taskId * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ executeTask(taskId: string, translate?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {string} id * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ getTask(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} */ getTasks(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} */ getTasksCount(page?: number, size?: number, sort?: string, search?: string, withReplacements?: boolean, translate?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {string} id * @param {any} task * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ patchTask(id: string, task: 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} */ performTaskSearch(searchRequest: SearchRequestDto, translate?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {string} id * @param {TaskDto} task * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ putTask(id: string, task: TaskDto, translate?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @param {ScheduleTaskDto} scheduleTask * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ scheduleTask(scheduleTask: ScheduleTaskDto, translate?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * This is a very performant method for checking if a Task exists. * @summary Check if Task exists * @param {string} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ taskExists(id: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * TasksApi - factory interface * @export */ export declare const TasksApiFactory: (axiosClientConfiguration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * * @param {CreateTaskDto} createTask * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ createTask(createTask: CreateTaskDto, translate?: string, options?: any): AxiosPromise; /** * * @param {Array} ids * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteManyTasks(ids: Array, translate?: string, options?: any): AxiosPromise; /** * * @param {string} id * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteTask(id: string, translate?: string, options?: any): AxiosPromise; /** * * @param {string} taskId * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ executeTask(taskId: string, translate?: string, options?: any): AxiosPromise; /** * * @param {string} id * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ getTask(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} */ getTasks(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} */ getTasksCount(page?: number, size?: number, sort?: string, search?: string, withReplacements?: boolean, translate?: string, options?: any): AxiosPromise; /** * * @param {string} id * @param {any} task * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ patchTask(id: string, task: any, translate?: string, options?: any): AxiosPromise; /** * * @param {SearchRequestDto} searchRequest * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ performTaskSearch(searchRequest: SearchRequestDto, translate?: string, options?: any): AxiosPromise; /** * * @param {string} id * @param {TaskDto} task * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ putTask(id: string, task: TaskDto, translate?: string, options?: any): AxiosPromise; /** * * @param {ScheduleTaskDto} scheduleTask * @param {string} [translate] * @param {*} [options] Override http request option. * @throws {RequiredError} */ scheduleTask(scheduleTask: ScheduleTaskDto, translate?: string, options?: any): AxiosPromise; /** * This is a very performant method for checking if a Task exists. * @summary Check if Task exists * @param {string} id * @param {*} [options] Override http request option. * @throws {RequiredError} */ taskExists(id: string, options?: any): AxiosPromise; }; /** * Request parameters for createTask operation in TasksApi. * @export * @interface TasksApiCreateTaskRequest */ export interface TasksApiCreateTaskRequest { /** * * @type {CreateTaskDto} * @memberof TasksApiCreateTask */ readonly createTask: CreateTaskDto; /** * * @type {string} * @memberof TasksApiCreateTask */ readonly translate?: string; } /** * Request parameters for deleteManyTasks operation in TasksApi. * @export * @interface TasksApiDeleteManyTasksRequest */ export interface TasksApiDeleteManyTasksRequest { /** * * @type {Array} * @memberof TasksApiDeleteManyTasks */ readonly ids: Array; /** * * @type {string} * @memberof TasksApiDeleteManyTasks */ readonly translate?: string; } /** * Request parameters for deleteTask operation in TasksApi. * @export * @interface TasksApiDeleteTaskRequest */ export interface TasksApiDeleteTaskRequest { /** * * @type {string} * @memberof TasksApiDeleteTask */ readonly id: string; /** * * @type {string} * @memberof TasksApiDeleteTask */ readonly translate?: string; } /** * Request parameters for executeTask operation in TasksApi. * @export * @interface TasksApiExecuteTaskRequest */ export interface TasksApiExecuteTaskRequest { /** * * @type {string} * @memberof TasksApiExecuteTask */ readonly taskId: string; /** * * @type {string} * @memberof TasksApiExecuteTask */ readonly translate?: string; } /** * Request parameters for getTask operation in TasksApi. * @export * @interface TasksApiGetTaskRequest */ export interface TasksApiGetTaskRequest { /** * * @type {string} * @memberof TasksApiGetTask */ readonly id: string; /** * * @type {string} * @memberof TasksApiGetTask */ readonly translate?: string; } /** * Request parameters for getTasks operation in TasksApi. * @export * @interface TasksApiGetTasksRequest */ export interface TasksApiGetTasksRequest { /** * * @type {number} * @memberof TasksApiGetTasks */ readonly page?: number; /** * * @type {number} * @memberof TasksApiGetTasks */ readonly size?: number; /** * * @type {string} * @memberof TasksApiGetTasks */ readonly translate?: string; /** * * @type {boolean} * @memberof TasksApiGetTasks */ readonly withReplacements?: boolean; /** * * @type {string} * @memberof TasksApiGetTasks */ readonly sort?: string; /** * * @type {string} * @memberof TasksApiGetTasks */ readonly search?: string; } /** * Request parameters for getTasksCount operation in TasksApi. * @export * @interface TasksApiGetTasksCountRequest */ export interface TasksApiGetTasksCountRequest { /** * * @type {number} * @memberof TasksApiGetTasksCount */ readonly page?: number; /** * * @type {number} * @memberof TasksApiGetTasksCount */ readonly size?: number; /** * * @type {string} * @memberof TasksApiGetTasksCount */ readonly sort?: string; /** * * @type {string} * @memberof TasksApiGetTasksCount */ readonly search?: string; /** * * @type {boolean} * @memberof TasksApiGetTasksCount */ readonly withReplacements?: boolean; /** * * @type {string} * @memberof TasksApiGetTasksCount */ readonly translate?: string; } /** * Request parameters for patchTask operation in TasksApi. * @export * @interface TasksApiPatchTaskRequest */ export interface TasksApiPatchTaskRequest { /** * * @type {string} * @memberof TasksApiPatchTask */ readonly id: string; /** * * @type {any} * @memberof TasksApiPatchTask */ readonly task: any; /** * * @type {string} * @memberof TasksApiPatchTask */ readonly translate?: string; } /** * Request parameters for performTaskSearch operation in TasksApi. * @export * @interface TasksApiPerformTaskSearchRequest */ export interface TasksApiPerformTaskSearchRequest { /** * * @type {SearchRequestDto} * @memberof TasksApiPerformTaskSearch */ readonly searchRequest: SearchRequestDto; /** * * @type {string} * @memberof TasksApiPerformTaskSearch */ readonly translate?: string; } /** * Request parameters for putTask operation in TasksApi. * @export * @interface TasksApiPutTaskRequest */ export interface TasksApiPutTaskRequest { /** * * @type {string} * @memberof TasksApiPutTask */ readonly id: string; /** * * @type {TaskDto} * @memberof TasksApiPutTask */ readonly task: TaskDto; /** * * @type {string} * @memberof TasksApiPutTask */ readonly translate?: string; } /** * Request parameters for scheduleTask operation in TasksApi. * @export * @interface TasksApiScheduleTaskRequest */ export interface TasksApiScheduleTaskRequest { /** * * @type {ScheduleTaskDto} * @memberof TasksApiScheduleTask */ readonly scheduleTask: ScheduleTaskDto; /** * * @type {string} * @memberof TasksApiScheduleTask */ readonly translate?: string; } /** * Request parameters for taskExists operation in TasksApi. * @export * @interface TasksApiTaskExistsRequest */ export interface TasksApiTaskExistsRequest { /** * * @type {string} * @memberof TasksApiTaskExists */ readonly id: string; } /** * TasksApi - object-oriented interface * @export * @class TasksApi * @extends {BaseAPI} */ export declare class TasksApi extends BaseAPI { /** * * @param {TasksApiCreateTaskRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TasksApi */ createTask(requestParameters: TasksApiCreateTaskRequest, options?: any): Promise>; /** * * @param {TasksApiDeleteManyTasksRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TasksApi */ deleteManyTasks(requestParameters: TasksApiDeleteManyTasksRequest, options?: any): Promise>; /** * * @param {TasksApiDeleteTaskRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TasksApi */ deleteTask(requestParameters: TasksApiDeleteTaskRequest, options?: any): Promise>; /** * * @param {TasksApiExecuteTaskRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TasksApi */ executeTask(requestParameters: TasksApiExecuteTaskRequest, options?: any): Promise>; /** * * @param {TasksApiGetTaskRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TasksApi */ getTask(requestParameters: TasksApiGetTaskRequest, options?: any): Promise>; /** * * @param {TasksApiGetTasksRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TasksApi */ getTasks(requestParameters?: TasksApiGetTasksRequest, options?: any): Promise>; /** * * @param {TasksApiGetTasksCountRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TasksApi */ getTasksCount(requestParameters?: TasksApiGetTasksCountRequest, options?: any): Promise>; /** * * @param {TasksApiPatchTaskRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TasksApi */ patchTask(requestParameters: TasksApiPatchTaskRequest, options?: any): Promise>; /** * * @param {TasksApiPerformTaskSearchRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TasksApi */ performTaskSearch(requestParameters: TasksApiPerformTaskSearchRequest, options?: any): Promise>; /** * * @param {TasksApiPutTaskRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TasksApi */ putTask(requestParameters: TasksApiPutTaskRequest, options?: any): Promise>; /** * * @param {TasksApiScheduleTaskRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TasksApi */ scheduleTask(requestParameters: TasksApiScheduleTaskRequest, options?: any): Promise>; /** * This is a very performant method for checking if a Task exists. * @summary Check if Task exists * @param {TasksApiTaskExistsRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TasksApi */ taskExists(requestParameters: TasksApiTaskExistsRequest, options?: any): Promise>; }