UNPKG

ade-planning-api

Version:

An unofficial API wrapper for ADE Planning from Adesoft

15 lines (12 loc) 431 B
import type { Credentials } from "../auth"; export interface Fetcher { apiUrl: string; initializeSession(credentials: Credentials): Promise<void>; terminateSession(): Promise<void>; /** * Executes a GET request. * @param params The query parameters to send with the request. * @returns A promise that resolves with the response data. */ get<T>(params?: Record<string, any>): Promise<T>; }