@cllbk/ghl
Version:
A public Node.js compatible SDK for working with HighLevel's (GHL's) Version 2 API.
6 lines (5 loc) • 432 B
TypeScript
import { BadRequestDTO, UnauthorizedDTO, UnprocessableDTO } from "../../types/_global";
import { CompaniesGetByIdSuccessfulResponseDTO, CompaniesGetByIdDTO } from "../../types/companies";
type ResponseTypes = CompaniesGetByIdSuccessfulResponseDTO | BadRequestDTO | UnauthorizedDTO | UnprocessableDTO;
declare const get: (companyId: CompaniesGetByIdDTO["id"], authToken: string) => Promise<ResponseTypes | null>;
export default get;