tyntec-sdk
Version:
TypeScript SDK for Tyntec Conversations API V3
11 lines (9 loc) • 295 B
text/typescript
export type TyntecConfig = {
apiKey: string;
baseUrl?: string;
idWhatsAppAccount?: string;
retry?: {attempts: number; backoffMs: number};
};
export interface RequestHttp {
send: (method: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE', endpoint: string, body?: unknown) => Promise<unknown>;
}