/// import http from 'http'; import { Employee } from '../model/employee'; import { LoginStatus200Response } from '../model/loginStatus200Response'; import { WTAuthenticationLoginRequest } from '../model/wTAuthenticationLoginRequest'; import { WTAuthenticationLoginResponse } from '../model/wTAuthenticationLoginResponse'; import { WTAuthenticationRegister } from '../model/wTAuthenticationRegister'; import { Authentication, Interceptor } from '../model/models'; import { ApiKeyAuth } from '../model/models'; export declare enum AuthenticationApiApiKeys { api_key = 0 } export declare class AuthenticationApi { protected _basePath: string; protected _defaultHeaders: any; protected _useQuerystring: boolean; protected authentications: { default: Authentication; api_key: ApiKeyAuth; }; protected interceptors: Interceptor[]; constructor(basePath?: string); set useQuerystring(value: boolean); set basePath(basePath: string); set defaultHeaders(defaultHeaders: any); get defaultHeaders(): any; get basePath(): string; setDefaultAuthentication(auth: Authentication): void; setApiKey(key: AuthenticationApiApiKeys, value: string): void; addInterceptor(interceptor: Interceptor): void; login(wTAuthenticationLoginRequest: WTAuthenticationLoginRequest, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: WTAuthenticationLoginResponse; }>; loginStatus(token: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: LoginStatus200Response; }>; register(wTAuthenticationRegister: WTAuthenticationRegister, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: Employee; }>; }