UNPKG

n8n-nodes-gohighlevel

Version:
30 lines (29 loc) 744 B
export declare type THttpFullResponse<T = any> = { body: T; headers: IHeaders; statusCode: number; statusMessage: string; request: IHttpRequestOptions; }; interface IHeaders { [key: string]: string | string[] | undefined; } interface IHttpRequestOptions { url: string; method: HTTP_REQUEST_METHODS; body?: any; headers?: IHeaders; qs?: { [key: string]: string | number | boolean | null | undefined; }; auth?: { username: string; password: string; }; encoding?: string; json?: boolean; timeout?: number; returnFullResponse?: boolean; } declare type HTTP_REQUEST_METHODS = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'HEAD' | 'OPTIONS'; export {};