gohl
Version:
Go Highlevel Node Js ease of use library implementation to their API
18 lines (17 loc) • 783 B
TypeScript
import { AuthData } from "../interfaces/auth/authdata";
import { IAppointment } from "../interfaces/appointment";
export declare class Appointment {
private authData?;
/**
* Endpoints For Appointments
* https://highlevel.stoplight.io/docs/integrations/6015cf49a7ae8-get-appointments-for-contact
* https://public-api.gohighlevel.com/#dbf523a3-c344-44cc-adf7-34b68c40dc81
*/
constructor(authData?: AuthData);
/**
* Get appointments for contact. For both GHL App and API
* Documentation - https://highlevel.stoplight.io/docs/integrations/6015cf49a7ae8-get-appointments-for-contact
* Documentation - https://public-api.gohighlevel.com/#af42b0d8-f002-4d09-a1a9-f860d653127f
*/
get(contactId: string): Promise<IAppointment[]>;
}