@cllbk/ghl
Version:
A public Node.js compatible SDK for working with HighLevel's (GHL's) Version 2 API.
11 lines (10 loc) • 556 B
TypeScript
import { BadRequestDTO, UnauthorizedDTO, UnprocessableDTO } from "../../../types/_global";
import type { CalendarResourceDTO, CalendarResourceTypeDTO } from "../../../types/calendars";
type QueryOptions = {
locationId: CalendarResourceDTO["locationId"];
limit: number;
skip: number;
};
type ResponseTypes = CalendarResourceDTO | BadRequestDTO | UnauthorizedDTO | UnprocessableDTO;
declare const search: (resourceType: CalendarResourceTypeDTO[], options: QueryOptions, authToken: string) => Promise<ResponseTypes> | null;
export default search;