UNPKG

@mindkey/recruiting-api-client

Version:

The MindKey API Client allows easy access to your MindKey Recruiting data.

10 lines (9 loc) 601 B
export interface HttpBackend { get<T>(url: string, headers: Record<string, string>): Promise<T>; post<T>(url: string, body: unknown, headers: Record<string, string>): Promise<T>; put<T>(url: string, body: unknown, headers: Record<string, string>): Promise<T>; delete<T>(url: string, body: unknown, headers: Record<string, string>): Promise<T>; sendRequest<T>(url: string, method: string, headers: Record<string, string>, body?: unknown): Promise<T>; } export declare const fetchBackend: HttpBackend; export declare function convertToBodyInit(body?: unknown): BodyInit | undefined;