@cllbk/ghl
Version:
A public Node.js compatible SDK for working with HighLevel's (GHL's) Version 2 API.
11 lines (10 loc) • 493 B
TypeScript
import { BadRequestDTO, UnauthorizedDTO, UnprocessableDTO } from "../../types/_global";
import type { ContactsSearchDuplicatesDTO } from "../../types/contacts";
type SearchOptions = {
locationId: string;
email?: string;
phone?: string;
};
type ResponseTypes = ContactsSearchDuplicatesDTO | BadRequestDTO | UnauthorizedDTO | UnprocessableDTO;
declare const findDuplicates: (options: SearchOptions, authToken: string) => Promise<ResponseTypes | null>;
export default findDuplicates;