UNPKG

@candle-so/node

Version:

A library for interacting with the Candle API

17 lines (16 loc) 446 B
export interface iAxios { url: string; method?: "UPLOAD" | "GET" | "POST" | "PUT" | "DELETE"; data?: any; file?: any; apiKey: string; accessToken?: string; host?: string; debug?: boolean; } export interface iAxiosResponse { status: number; data?: any; error?: any; } export declare const axiosWrapper: ({ url, method, data, file, apiKey, accessToken, host, debug }: iAxios) => Promise<iAxiosResponse>;