UNPKG

tempnumber-client

Version:

temp-number.org SMS Typescript client

16 lines (15 loc) 437 B
import { AxiosResponse } from 'axios'; type Config = { apiKey: string; baseUrl?: string; }; export declare abstract class Base { private apiKey; private baseUrl; private axios; constructor(config: Config); setCustomHeader(key: string, value: string): void; removeCustomHeader(key: string): void; protected apiCall(enpoint: string, data?: object, method?: string): Promise<AxiosResponse>; } export {};