/** * 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 { ApiKeyModel } from '../models'; import { ChangePasswordDto } from '../models'; import { LoginDto } from '../models'; import { LoginModel } from '../models'; import { ProfileDto } from '../models'; import { ResetPasswordDto } from '../models'; import { SignupDto } from '../models'; import { UserProfileModel } from '../models'; import { WaitListDto } from '../models'; /** * AuthApi - axios parameter creator * @export */ export declare const AuthApiAxiosParamCreator: (configuration?: Configuration) => { /** * * @param {WaitListDto} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ addInWaitList: (body: WaitListDto, options?: AxiosRequestConfig) => Promise; /** * * @param {ChangePasswordDto} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ changePassword: (body: ChangePasswordDto, options?: AxiosRequestConfig) => Promise; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ generateNewApiKey: (options?: AxiosRequestConfig) => Promise; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ getUser: (options?: AxiosRequestConfig) => Promise; /** * * @param {LoginDto} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ login: (body: LoginDto, options?: AxiosRequestConfig) => Promise; /** * * @param {ResetPasswordDto} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ resetPassword: (body: ResetPasswordDto, options?: AxiosRequestConfig) => Promise; /** * * @param {SignupDto} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ signup: (body: SignupDto, options?: AxiosRequestConfig) => Promise; /** * * @param {ProfileDto} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateUser: (body: ProfileDto, options?: AxiosRequestConfig) => Promise; }; /** * AuthApi - functional programming interface * @export */ export declare const AuthApiFp: (configuration?: Configuration) => { /** * * @param {WaitListDto} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ addInWaitList(body: WaitListDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>>; /** * * @param {ChangePasswordDto} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ changePassword(body: ChangePasswordDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>>; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ generateNewApiKey(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>>; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ getUser(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>>; /** * * @param {LoginDto} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ login(body: LoginDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>>; /** * * @param {ResetPasswordDto} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ resetPassword(body: ResetPasswordDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>>; /** * * @param {SignupDto} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ signup(body: SignupDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>>; /** * * @param {ProfileDto} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateUser(body: ProfileDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>>; }; /** * AuthApi - factory interface * @export */ export declare const AuthApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * * @param {WaitListDto} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ addInWaitList(body: WaitListDto, options?: AxiosRequestConfig): Promise>; /** * * @param {ChangePasswordDto} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ changePassword(body: ChangePasswordDto, options?: AxiosRequestConfig): Promise>; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ generateNewApiKey(options?: AxiosRequestConfig): Promise>; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} */ getUser(options?: AxiosRequestConfig): Promise>; /** * * @param {LoginDto} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ login(body: LoginDto, options?: AxiosRequestConfig): Promise>; /** * * @param {ResetPasswordDto} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ resetPassword(body: ResetPasswordDto, options?: AxiosRequestConfig): Promise>; /** * * @param {SignupDto} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ signup(body: SignupDto, options?: AxiosRequestConfig): Promise>; /** * * @param {ProfileDto} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateUser(body: ProfileDto, options?: AxiosRequestConfig): Promise>; }; /** * AuthApi - object-oriented interface * @export * @class AuthApi * @extends {BaseAPI} */ export declare class AuthApi extends BaseAPI { /** * * @param {WaitListDto} body * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AuthApi */ addInWaitList(body: WaitListDto, options?: AxiosRequestConfig): Promise>; /** * * @param {ChangePasswordDto} body * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AuthApi */ changePassword(body: ChangePasswordDto, options?: AxiosRequestConfig): Promise>; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AuthApi */ generateNewApiKey(options?: AxiosRequestConfig): Promise>; /** * * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AuthApi */ getUser(options?: AxiosRequestConfig): Promise>; /** * * @param {LoginDto} body * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AuthApi */ login(body: LoginDto, options?: AxiosRequestConfig): Promise>; /** * * @param {ResetPasswordDto} body * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AuthApi */ resetPassword(body: ResetPasswordDto, options?: AxiosRequestConfig): Promise>; /** * * @param {SignupDto} body * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AuthApi */ signup(body: SignupDto, options?: AxiosRequestConfig): Promise>; /** * * @param {ProfileDto} body * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof AuthApi */ updateUser(body: ProfileDto, options?: AxiosRequestConfig): Promise>; }