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