UNPKG

@cllbk/ghl

Version:

A public Node.js compatible SDK for working with HighLevel's (GHL's) Version 2 API.

6 lines (5 loc) 483 B
import { BadRequestDTO, UnauthorizedDTO, UnprocessableDTO } from "../../../types/_global"; import type { ContactCreateWorkflowDTO, ContactsWorkflowSuccessfulResponseDTO } from "../../../types/contacts"; type ResponseTypes = ContactsWorkflowSuccessfulResponseDTO | BadRequestDTO | UnauthorizedDTO | UnprocessableDTO; declare const add: (contactId: string, workflowId: string, options: ContactCreateWorkflowDTO, authToken: string) => Promise<ResponseTypes | null>; export default add;