UNPKG

justsend-sdk

Version:

TypeScript SDK for Justsend SMS Marketing API

16 lines 601 B
import { JustsendConfig } from "../types"; export declare class HttpClient { private axiosInstance; private apiKey; constructor(config: JustsendConfig); private setupInterceptors; private handleError; get<T>(url: string, params?: Record<string, any>): Promise<T>; post<T>(url: string, data?: any): Promise<T>; put<T>(url: string, data?: any): Promise<T>; delete<T>(url: string): Promise<T>; postFormData<T>(url: string, formData: FormData): Promise<T>; updateApiKey(apiKey: string): void; getApiKey(): string; } //# sourceMappingURL=http-client.d.ts.map