@cllbk/ghl
Version:
A public Node.js compatible SDK for working with HighLevel's (GHL's) Version 2 API.
15 lines (14 loc) • 897 B
TypeScript
export declare const CalendarAppointments: {
get: (calendarId: CalendarEventDTO, authToken: string) => Promise<any> | null;
search: (options: {
locationId: string;
startTime: string;
endTime: string;
calendarId?: string;
groupId?: string;
userId?: string;
}, authToken: string) => Promise<any> | null;
create: (options: CalendarAppointmentCreateUpdateSchemaDTO, authToken: string) => Promise<any> | null;
update: (eventId: CalendarEventDTO, options: Partial<CalendarAppointmentCreateUpdateSchemaDTO>, authToken: string) => Promise<any> | null;
delete: (eventId: CalendarEventDTO, authToken: string) => Promise<import("../../../types/_global").BadRequestDTO | import("../../../types/_global").UnauthorizedDTO | import("../../../types/_global").UnprocessableDTO | import("../../../types/_global").SuccededDeleteDTO> | null;
};