UNPKG

streambird

Version:
25 lines (24 loc) 849 B
import { AxiosInstance } from "axios"; import { MagicLinks } from "./resources/MagicLinks"; import { OAuth } from "./resources/OAuth"; import { OTPs } from "./resources/OTPs"; import { Sessions } from "./resources/Sessions"; import { TOTPs } from "./resources/TOTPs"; import { Users } from "./resources/Users"; import { Wallets } from "./resources/Wallets"; export declare type StreambirdOptions = { apiKey: string; timeout?: number; apiHostUrl?: string; }; export declare class Streambird { readonly axiosInstance: AxiosInstance; readonly users: Users; readonly magicLinks: MagicLinks; readonly otps: OTPs; readonly wallets: Wallets; readonly sessions: Sessions; readonly oauth: OAuth; readonly totps: TOTPs; constructor({ apiKey, timeout, apiHostUrl }: StreambirdOptions); }