/** * 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 { GetOperations } from '../models'; import { GetQueries } from '../models'; import { GetTableData } from '../models'; import { GetTables } from '../models'; import { NewColumnDto } from '../models'; import { NewTableDto } from '../models'; import { TableModel } from '../models'; /** * DataHubApi - axios parameter creator * @export */ export declare const DataHubApiAxiosParamCreator: (configuration?: Configuration) => { /** * * @param {NewColumnDto} body * @param {string} tableId * @param {*} [options] Override http request option. * @throws {RequiredError} */ addNewColumn: (body: NewColumnDto, tableId: string, options?: AxiosRequestConfig) => Promise; /** * * @param {NewTableDto} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ createTable: (body: NewTableDto, options?: AxiosRequestConfig) => Promise; /** * * @param {string} tableId * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteTable: (tableId: string, options?: AxiosRequestConfig) => Promise; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ getOperations: (options?: AxiosRequestConfig) => Promise; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ getQueries: (options?: AxiosRequestConfig) => Promise; /** * * @param {string} tableId * @param {*} [options] Override http request option. * @throws {RequiredError} */ getTable: (tableId: string, options?: AxiosRequestConfig) => Promise; /** * * @param {string} tableId * @param {*} [options] Override http request option. * @throws {RequiredError} */ getTableData: (tableId: string, options?: AxiosRequestConfig) => Promise; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ getTables: (options?: AxiosRequestConfig) => Promise; }; /** * DataHubApi - functional programming interface * @export */ export declare const DataHubApiFp: (configuration?: Configuration) => { /** * * @param {NewColumnDto} body * @param {string} tableId * @param {*} [options] Override http request option. * @throws {RequiredError} */ addNewColumn(body: NewColumnDto, tableId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>>; /** * * @param {NewTableDto} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ createTable(body: NewTableDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>>; /** * * @param {string} tableId * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteTable(tableId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>>; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ getOperations(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>>; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ getQueries(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>>; /** * * @param {string} tableId * @param {*} [options] Override http request option. * @throws {RequiredError} */ getTable(tableId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>>; /** * * @param {string} tableId * @param {*} [options] Override http request option. * @throws {RequiredError} */ getTableData(tableId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>>; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ getTables(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>>; }; /** * DataHubApi - factory interface * @export */ export declare const DataHubApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * * @param {NewColumnDto} body * @param {string} tableId * @param {*} [options] Override http request option. * @throws {RequiredError} */ addNewColumn(body: NewColumnDto, tableId: string, options?: AxiosRequestConfig): Promise>; /** * * @param {NewTableDto} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ createTable(body: NewTableDto, options?: AxiosRequestConfig): Promise>; /** * * @param {string} tableId * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteTable(tableId: string, options?: AxiosRequestConfig): Promise>; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ getOperations(options?: AxiosRequestConfig): Promise>; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ getQueries(options?: AxiosRequestConfig): Promise>; /** * * @param {string} tableId * @param {*} [options] Override http request option. * @throws {RequiredError} */ getTable(tableId: string, options?: AxiosRequestConfig): Promise>; /** * * @param {string} tableId * @param {*} [options] Override http request option. * @throws {RequiredError} */ getTableData(tableId: string, options?: AxiosRequestConfig): Promise>; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ getTables(options?: AxiosRequestConfig): Promise>; }; /** * DataHubApi - object-oriented interface * @export * @class DataHubApi * @extends {BaseAPI} */ export declare class DataHubApi extends BaseAPI { /** * * @param {NewColumnDto} body * @param {string} tableId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DataHubApi */ addNewColumn(body: NewColumnDto, tableId: string, options?: AxiosRequestConfig): Promise>; /** * * @param {NewTableDto} body * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DataHubApi */ createTable(body: NewTableDto, options?: AxiosRequestConfig): Promise>; /** * * @param {string} tableId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DataHubApi */ deleteTable(tableId: string, options?: AxiosRequestConfig): Promise>; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DataHubApi */ getOperations(options?: AxiosRequestConfig): Promise>; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DataHubApi */ getQueries(options?: AxiosRequestConfig): Promise>; /** * * @param {string} tableId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DataHubApi */ getTable(tableId: string, options?: AxiosRequestConfig): Promise>; /** * * @param {string} tableId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DataHubApi */ getTableData(tableId: string, options?: AxiosRequestConfig): Promise>; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DataHubApi */ getTables(options?: AxiosRequestConfig): Promise>; }