/** * Fasterbase * Fasterbase API description * * OpenAPI spec version: 1.0 * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class manually. */ import { AxiosResponse, AxiosInstance, AxiosRequestConfig } from 'axios'; import { Configuration } from '../configuration'; import { RequestArgs, BaseAPI } from '../base'; import { CommandDto } from '../models'; import { CommandModel } from '../models'; import { GetCommandsList } from '../models'; import { UpdateCommandDto } from '../models'; /** * CommandsApi - axios parameter creator * @export */ export declare const CommandsApiAxiosParamCreator: (configuration?: Configuration) => { /** * * @param {CommandDto} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ addCommand: (body: CommandDto, options?: AxiosRequestConfig) => Promise; /** * * @param {string} commandId * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteCommand: (commandId: string, options?: AxiosRequestConfig) => Promise; /** * * @param {string} commandId * @param {*} [options] Override http request option. * @throws {RequiredError} */ getCommand: (commandId: string, options?: AxiosRequestConfig) => Promise; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ getCommandsList: (options?: AxiosRequestConfig) => Promise; /** * * @param {UpdateCommandDto} body * @param {string} commandId * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateCommand: (body: UpdateCommandDto, commandId: string, options?: AxiosRequestConfig) => Promise; }; /** * CommandsApi - functional programming interface * @export */ export declare const CommandsApiFp: (configuration?: Configuration) => { /** * * @param {CommandDto} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ addCommand(body: CommandDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>>; /** * * @param {string} commandId * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteCommand(commandId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>>; /** * * @param {string} commandId * @param {*} [options] Override http request option. * @throws {RequiredError} */ getCommand(commandId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>>; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ getCommandsList(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>>; /** * * @param {UpdateCommandDto} body * @param {string} commandId * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateCommand(body: UpdateCommandDto, commandId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>>; }; /** * CommandsApi - factory interface * @export */ export declare const CommandsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * * @param {CommandDto} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ addCommand(body: CommandDto, options?: AxiosRequestConfig): Promise>; /** * * @param {string} commandId * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteCommand(commandId: string, options?: AxiosRequestConfig): Promise>; /** * * @param {string} commandId * @param {*} [options] Override http request option. * @throws {RequiredError} */ getCommand(commandId: string, options?: AxiosRequestConfig): Promise>; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ getCommandsList(options?: AxiosRequestConfig): Promise>; /** * * @param {UpdateCommandDto} body * @param {string} commandId * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateCommand(body: UpdateCommandDto, commandId: string, options?: AxiosRequestConfig): Promise>; }; /** * CommandsApi - object-oriented interface * @export * @class CommandsApi * @extends {BaseAPI} */ export declare class CommandsApi extends BaseAPI { /** * * @param {CommandDto} body * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CommandsApi */ addCommand(body: CommandDto, options?: AxiosRequestConfig): Promise>; /** * * @param {string} commandId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CommandsApi */ deleteCommand(commandId: string, options?: AxiosRequestConfig): Promise>; /** * * @param {string} commandId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CommandsApi */ getCommand(commandId: string, options?: AxiosRequestConfig): Promise>; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CommandsApi */ getCommandsList(options?: AxiosRequestConfig): Promise>; /** * * @param {UpdateCommandDto} body * @param {string} commandId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof CommandsApi */ updateCommand(body: UpdateCommandDto, commandId: string, options?: AxiosRequestConfig): Promise>; }