UNPKG

endless-client

Version:

client package for accessing the Endless network API

22 lines (19 loc) 477 B
type EndlessClientResponse<Res> = { status: number; statusText: string; data: Res; config?: any; request?: any; response?: any; headers?: any; }; type EndlessClientRequest = { url: string; method: "GET" | "POST"; body?: any; params?: any; headers?: any; overrides?: any; }; declare function endlessClient<Res>(requestOptions: EndlessClientRequest): Promise<EndlessClientResponse<Res>>; export { endlessClient as default };