gohl
Version:
Go Highlevel Node Js ease of use library implementation to their API
27 lines (26 loc) • 970 B
TypeScript
import { AuthData } from "../interfaces/auth/authdata";
export declare class Workflow {
private authData?;
/**
* Endpoints For Contacts Workflow
* https://highlevel.stoplight.io/docs/integrations/fe0f421553a9e-add-contact-to-workflow
*/
constructor(authData?: AuthData);
/**
* Add Contact to Workflow
* Documentation: https://highlevel.stoplight.io/docs/integrations/fe0f421553a9e-add-contact-to-workflow
* @param contactId
* @param workflowId
* @param eventStartTime - e.g 2021-06-23T03:30:00+01:00
* @returns
*/
add(contactId: string, workflowId: string, eventStartTime: string): Promise<boolean>;
/**
* Delete Contact from Workflow
* Documentation: https://highlevel.stoplight.io/docs/integrations/86cd9978f66ff-delete-contact-to-workflow
* @param contactId
* @param workflowId
* @returns
*/
remove(contactId: string, workflowId: string): Promise<boolean>;
}