/** * 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 { AcceptDto } from '../models'; import { ActionDto } from '../models'; import { ActionModel } from '../models'; import { ActionSourceDto } from '../models'; import { FlowDto } from '../models'; import { FlowModel } from '../models'; import { GetActionType } from '../models'; import { GetActionsList } from '../models'; import { GetFlows } from '../models'; import { GetVariablesInFlow } from '../models'; import { UpdateActionDto } from '../models'; /** * ActionsApi - axios parameter creator * @export */ export declare const ActionsApiAxiosParamCreator: (configuration?: Configuration) => { /** * * @param {string} actionId * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteAction: (actionId: string, options?: AxiosRequestConfig) => Promise; /** * * @param {string} actionId * @param {*} [options] Override http request option. * @throws {RequiredError} */ getAction: (actionId: string, options?: AxiosRequestConfig) => Promise; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ getActionType: (options?: AxiosRequestConfig) => Promise; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ getActions: (options?: AxiosRequestConfig) => Promise; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ getAvailableActionSource: (options?: AxiosRequestConfig) => Promise; /** * * @param {string} actionId * @param {string} flowId * @param {*} [options] Override http request option. * @throws {RequiredError} */ getFlow: (actionId: string, flowId: string, options?: AxiosRequestConfig) => Promise; /** * * @param {string} actionId * @param {*} [options] Override http request option. * @throws {RequiredError} */ getFlows: (actionId: string, options?: AxiosRequestConfig) => Promise; /** * * @param {string} actionId * @param {string} priority * @param {*} [options] Override http request option. * @throws {RequiredError} */ getVariablesInFlow: (actionId: string, priority: string, options?: AxiosRequestConfig) => Promise; /** * * @param {ActionDto} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ newAction: (body: ActionDto, options?: AxiosRequestConfig) => Promise; /** * * @param {FlowDto} body * @param {string} actionId * @param {*} [options] Override http request option. * @throws {RequiredError} */ newFlow: (body: FlowDto, actionId: string, options?: AxiosRequestConfig) => Promise; /** * * @param {string} actionId * @param {string} flowId * @param {*} [options] Override http request option. * @throws {RequiredError} */ removeFlow: (actionId: string, flowId: string, options?: AxiosRequestConfig) => Promise; /** * * @param {UpdateActionDto} body * @param {string} actionId * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateAction: (body: UpdateActionDto, actionId: string, options?: AxiosRequestConfig) => Promise; }; /** * ActionsApi - functional programming interface * @export */ export declare const ActionsApiFp: (configuration?: Configuration) => { /** * * @param {string} actionId * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteAction(actionId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>>; /** * * @param {string} actionId * @param {*} [options] Override http request option. * @throws {RequiredError} */ getAction(actionId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>>; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ getActionType(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>>; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ getActions(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>>; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ getAvailableActionSource(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>>; /** * * @param {string} actionId * @param {string} flowId * @param {*} [options] Override http request option. * @throws {RequiredError} */ getFlow(actionId: string, flowId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>>; /** * * @param {string} actionId * @param {*} [options] Override http request option. * @throws {RequiredError} */ getFlows(actionId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>>; /** * * @param {string} actionId * @param {string} priority * @param {*} [options] Override http request option. * @throws {RequiredError} */ getVariablesInFlow(actionId: string, priority: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>>; /** * * @param {ActionDto} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ newAction(body: ActionDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>>; /** * * @param {FlowDto} body * @param {string} actionId * @param {*} [options] Override http request option. * @throws {RequiredError} */ newFlow(body: FlowDto, actionId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>>; /** * * @param {string} actionId * @param {string} flowId * @param {*} [options] Override http request option. * @throws {RequiredError} */ removeFlow(actionId: string, flowId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>>; /** * * @param {UpdateActionDto} body * @param {string} actionId * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateAction(body: UpdateActionDto, actionId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>>; }; /** * ActionsApi - factory interface * @export */ export declare const ActionsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * * @param {string} actionId * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteAction(actionId: string, options?: AxiosRequestConfig): Promise>; /** * * @param {string} actionId * @param {*} [options] Override http request option. * @throws {RequiredError} */ getAction(actionId: string, options?: AxiosRequestConfig): Promise>; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ getActionType(options?: AxiosRequestConfig): Promise>; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ getActions(options?: AxiosRequestConfig): Promise>; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ getAvailableActionSource(options?: AxiosRequestConfig): Promise>; /** * * @param {string} actionId * @param {string} flowId * @param {*} [options] Override http request option. * @throws {RequiredError} */ getFlow(actionId: string, flowId: string, options?: AxiosRequestConfig): Promise>; /** * * @param {string} actionId * @param {*} [options] Override http request option. * @throws {RequiredError} */ getFlows(actionId: string, options?: AxiosRequestConfig): Promise>; /** * * @param {string} actionId * @param {string} priority * @param {*} [options] Override http request option. * @throws {RequiredError} */ getVariablesInFlow(actionId: string, priority: string, options?: AxiosRequestConfig): Promise>; /** * * @param {ActionDto} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ newAction(body: ActionDto, options?: AxiosRequestConfig): Promise>; /** * * @param {FlowDto} body * @param {string} actionId * @param {*} [options] Override http request option. * @throws {RequiredError} */ newFlow(body: FlowDto, actionId: string, options?: AxiosRequestConfig): Promise>; /** * * @param {string} actionId * @param {string} flowId * @param {*} [options] Override http request option. * @throws {RequiredError} */ removeFlow(actionId: string, flowId: string, options?: AxiosRequestConfig): Promise>; /** * * @param {UpdateActionDto} body * @param {string} actionId * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateAction(body: UpdateActionDto, actionId: string, options?: AxiosRequestConfig): Promise>; }; /** * ActionsApi - object-oriented interface * @export * @class ActionsApi * @extends {BaseAPI} */ export declare class ActionsApi extends BaseAPI { /** * * @param {string} actionId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ActionsApi */ deleteAction(actionId: string, options?: AxiosRequestConfig): Promise>; /** * * @param {string} actionId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ActionsApi */ getAction(actionId: string, options?: AxiosRequestConfig): Promise>; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ActionsApi */ getActionType(options?: AxiosRequestConfig): Promise>; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ActionsApi */ getActions(options?: AxiosRequestConfig): Promise>; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ActionsApi */ getAvailableActionSource(options?: AxiosRequestConfig): Promise>; /** * * @param {string} actionId * @param {string} flowId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ActionsApi */ getFlow(actionId: string, flowId: string, options?: AxiosRequestConfig): Promise>; /** * * @param {string} actionId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ActionsApi */ getFlows(actionId: string, options?: AxiosRequestConfig): Promise>; /** * * @param {string} actionId * @param {string} priority * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ActionsApi */ getVariablesInFlow(actionId: string, priority: string, options?: AxiosRequestConfig): Promise>; /** * * @param {ActionDto} body * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ActionsApi */ newAction(body: ActionDto, options?: AxiosRequestConfig): Promise>; /** * * @param {FlowDto} body * @param {string} actionId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ActionsApi */ newFlow(body: FlowDto, actionId: string, options?: AxiosRequestConfig): Promise>; /** * * @param {string} actionId * @param {string} flowId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ActionsApi */ removeFlow(actionId: string, flowId: string, options?: AxiosRequestConfig): Promise>; /** * * @param {UpdateActionDto} body * @param {string} actionId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ActionsApi */ updateAction(body: UpdateActionDto, actionId: string, options?: AxiosRequestConfig): Promise>; }