mdl-shoplet-ts
Version:
TypeScript client SDK for the headless micro CRM, Minddale.
10 lines (9 loc) • 374 B
TypeScript
import { Shoplet } from '../models/shoplet';
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);
put<T>(endpoint: string, shoplet: Shoplet): Promise<T>;
delete<R>(endpoint: string): Promise<R>;
}