ade-planning-api
Version:
An unofficial API wrapper for ADE Planning from Adesoft
13 lines (12 loc) • 429 B
TypeScript
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>;
}