@phasesdk/api-client-for-economic
Version:
e-conomic REST API Library for Node.js is a powerful tool designed to simplify integration with the e-conomic platform for developers building Node.js applications. With this library, developers can effortlessly leverage the full functionality of the e-co
24 lines (21 loc) • 498 B
text/typescript
import {
AxiosHeaders,
RawAxiosRequestHeaders,
AxiosResponse,
AxiosResponseHeaders,
RawAxiosResponseHeaders,
} from "axios";
export type HttpRequest = {
method: "get" | "post" | "put" | "patch" | "delete";
url: string;
params?: string;
data?: string;
headers: RawAxiosRequestHeaders;
};
export type HttpResponse<ResponseType = any> = {
data: ResponseType;
headers: RawAxiosResponseHeaders | AxiosResponseHeaders;
status: number;
statusText: string;
request: any;
};