UNPKG

@eleva-io/erp-sdk

Version:

SDK oficial para el ERP de Eleva

21 lines 602 B
export type APIResponse<T> = T; /** @deprecated Use `HTTPError` from `src/errors` instead. */ export interface APIError { code: string; message: string; errors: unknown[]; request: { method?: string; headers?: Record<string, unknown>; path?: string; body?: unknown; }; response: { status?: number; headers?: Record<string, unknown>; body?: unknown; }; } /** @deprecated Use `instanceof RemoteElevaError` instead. */ export declare function isAPIError(err: unknown): err is APIError; //# sourceMappingURL=types.d.ts.map