@cllbk/ghl
Version:
A public Node.js compatible SDK for working with HighLevel's (GHL's) Version 2 API.
12 lines (11 loc) • 487 B
TypeScript
import { BadRequestDTO, UnauthorizedDTO, UnprocessableDTO } from "../../types/_global";
import type { ProductsListResponseDTO } from "../../types/products";
type SearchOptions = {
limit?: string;
offset?: string;
search?: string;
locationId: string;
};
type ResponseTypes = ProductsListResponseDTO | BadRequestDTO | UnauthorizedDTO | UnprocessableDTO;
declare const list: (options: SearchOptions, authToken: string) => Promise<ResponseTypes> | null;
export default list;