UNPKG

@cllbk/ghl

Version:

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

10 lines (9 loc) 460 B
import { BadRequestDTO, UnauthorizedDTO, UnprocessableDTO } from "../../types/_global"; import { CampaignsSuccessfulResponseDto } from "../../types/campaigns"; type SearchOptions = { locationId: string; status?: string; }; type ResponseTypes = CampaignsSuccessfulResponseDto | BadRequestDTO | UnauthorizedDTO | UnprocessableDTO; declare const search: (options: SearchOptions, authToken: string) => Promise<ResponseTypes | null>; export default search;