/** * 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 { CustomerModel } from '../models'; import { GetAllCustomersByOrgId } from '../models'; /** * DefaultApi - axios parameter creator * @export */ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration) => { /** * * @param {string} orgId * @param {*} [options] Override http request option. * @throws {RequiredError} */ getAllCustomersByOrgId: (orgId: string, options?: AxiosRequestConfig) => Promise; /** * * @param {string} orgId * @param {string} userId * @param {*} [options] Override http request option. * @throws {RequiredError} */ getCustomersById: (orgId: string, userId: string, options?: AxiosRequestConfig) => Promise; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ getHealth: (options?: AxiosRequestConfig) => Promise; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ getVersion: (options?: AxiosRequestConfig) => Promise; }; /** * DefaultApi - functional programming interface * @export */ export declare const DefaultApiFp: (configuration?: Configuration) => { /** * * @param {string} orgId * @param {*} [options] Override http request option. * @throws {RequiredError} */ getAllCustomersByOrgId(orgId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>>; /** * * @param {string} orgId * @param {string} userId * @param {*} [options] Override http request option. * @throws {RequiredError} */ getCustomersById(orgId: string, userId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>>; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ getHealth(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>>; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ getVersion(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>>; }; /** * DefaultApi - factory interface * @export */ export declare const DefaultApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * * @param {string} orgId * @param {*} [options] Override http request option. * @throws {RequiredError} */ getAllCustomersByOrgId(orgId: string, options?: AxiosRequestConfig): Promise>; /** * * @param {string} orgId * @param {string} userId * @param {*} [options] Override http request option. * @throws {RequiredError} */ getCustomersById(orgId: string, userId: string, options?: AxiosRequestConfig): Promise>; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ getHealth(options?: AxiosRequestConfig): Promise>; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ getVersion(options?: AxiosRequestConfig): Promise>; }; /** * DefaultApi - object-oriented interface * @export * @class DefaultApi * @extends {BaseAPI} */ export declare class DefaultApi extends BaseAPI { /** * * @param {string} orgId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DefaultApi */ getAllCustomersByOrgId(orgId: string, options?: AxiosRequestConfig): Promise>; /** * * @param {string} orgId * @param {string} userId * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DefaultApi */ getCustomersById(orgId: string, userId: string, options?: AxiosRequestConfig): Promise>; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DefaultApi */ getHealth(options?: AxiosRequestConfig): Promise>; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof DefaultApi */ getVersion(options?: AxiosRequestConfig): Promise>; }