UNPKG

mdl-contact-ts

Version:

TypeScript client SDK for the headless micro CRM Contact service in Minddale.

9 lines (8 loc) 321 B
export declare class MinddaleClient { static readonly TIMEOUT = 5000; static readonly BASE_URL = "https://api.minddale.com"; private client; constructor(apiKey: string, baseUrl?: string, timeout?: number); get<T>(endpoint: string): Promise<T>; post<T, R>(endpoint: string, data: T): Promise<R>; }