UNPKG

@cllbk/ghl

Version:

A public Node.js compatible SDK for working with HighLevel's (GHL's) Version 2 API.

6 lines (5 loc) 1.02 kB
export declare const oauth: { getAccessToken: (options: import("../../types/oauth").GetAccessCodeBodyDTO) => Promise<(import("../../types/_global").BadRequestDTO | import("../../types/_global").UnauthorizedDTO | import("../../types/_global").UnprocessableDTO | import("../../types/oauth").GetAccessCodeSuccessfulResponseDTO) | null>; getLocationsInstalled: (options: import("../../types/oauth").OAuthSearchOptions) => Promise<(import("../../types/_global").BadRequestDTO | import("../../types/_global").UnauthorizedDTO | import("../../types/_global").UnprocessableDTO | import("../../types/oauth").GetInstalledLocationsSuccessfulResponseDTO) | null>; getLocationTokenFromCompany: (options: import("../../types/oauth").GetLocationAccessCodeBodyDTO, authToken: string) => Promise<(import("../../types/_global").BadRequestDTO | import("../../types/_global").UnauthorizedDTO | import("../../types/_global").UnprocessableDTO | import("../../types/oauth").GetLocationAccessTokenSuccessfulResponseDTO) | null>; };