@cllbk/ghl
Version:
A public Node.js compatible SDK for working with HighLevel's (GHL's) Version 2 API.
6 lines (5 loc) • 493 B
TypeScript
import { BadRequestDTO, UnauthorizedDTO, UnprocessableDTO } from "../../../types/_global";
import type { ContactCreateTaskParamsDTO, ContactDTO, ContactTaskByIsSuccessfulResponseDTO } from "../../../types/contacts";
type ResponseTypes = ContactTaskByIsSuccessfulResponseDTO | BadRequestDTO | UnauthorizedDTO | UnprocessableDTO;
declare const create: (contactId: ContactDTO["id"], options: ContactCreateTaskParamsDTO, authToken: string) => Promise<ResponseTypes | null>;
export default create;