UNPKG

@zencemarketing/web-sdk

Version:

ZenceMarketing Web SDK for push notifications, popups, and custom event tracking.

4 lines (3 loc) 204 B
type HttpMethod = "GET" | "POST" | "PUT" | "DELETE"; declare function apiRequest<T = any>(endpoint: string, method?: HttpMethod, data?: Record<string, any> | null): Promise<T>; export default apiRequest;