UNPKG

@awhere/api

Version:

The awesome aWhere API for JavaScript.

31 lines (30 loc) 776 B
import { AxiosInstance } from 'axios'; import { Socket } from 'socket.io-client'; interface IAPIKey { key: string; aWhereUrl: string; locale?: string; request?: AxiosInstance; socket?: Socket; } declare class APIKey implements IAPIKey { private _key; get key(): string; set key(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: { key: string; aWhereUrl: string; locale?: string; }); } export default APIKey;