@cllbk/ghl
Version:
A public Node.js compatible SDK for working with HighLevel's (GHL's) Version 2 API.
15 lines (14 loc) • 561 B
TypeScript
import { BadRequestDTO, UnauthorizedDTO, UnprocessableDTO } from "../../types/_global";
import type { FunnelsListResponseDTO } from "../../types/funnels";
type SearchOptions = {
locationId: string;
category?: string;
limit?: string;
name?: string;
offset?: string;
parentId?: string;
type?: string;
};
type ResponseTypes = FunnelsListResponseDTO | BadRequestDTO | UnauthorizedDTO | UnprocessableDTO;
declare const listFunnels: (options: SearchOptions, authToken: string) => Promise<ResponseTypes | null>;
export default listFunnels;