UNPKG

@awhere/api

Version:

The awesome aWhere API for JavaScript.

32 lines (31 loc) 836 B
import { AxiosInstance } from 'axios'; import { Socket } from 'socket.io-client'; interface IBearerToken { token: string; aWhereUrl: string; locale?: string; request?: AxiosInstance; socket?: Socket; } interface IBearerTokenProps { token: string; aWhereUrl: string; locale?: string; } declare class BearerToken implements IBearerToken { private _token; get token(): string; set token(value: string); private _aWhereUrl; get aWhereUrl(): string; set aWhereUrl(value: string); private _locale?; get locale(): string | undefined; set locale(value: string | undefined); private _request?; get request(): AxiosInstance | undefined; private _socket?; get socket(): Socket | undefined; constructor(props: IBearerTokenProps); } export default BearerToken;