UNPKG

@davidbolaji/termii-node

Version:

Node.js SDK for Termii API – send SMS, voice, OTP, and manage messaging with ease.

14 lines 443 B
import { AxiosRequestConfig } from "axios"; import { TermiiOptions } from "../types"; type AuthLocation = "query" | "body" | "none"; export declare class HttpClient { private client; private apiKey; constructor(options: TermiiOptions); request<T>(path: string, options?: AxiosRequestConfig & { raw?: boolean; authLocation?: AuthLocation; }): Promise<T>; } export {}; //# sourceMappingURL=HttpClient.d.ts.map