UNPKG

@cllbk/ghl

Version:

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

15 lines (14 loc) 578 B
import { BadRequestDTO, UnauthorizedDTO, UnprocessableDTO } from "../../types/_global"; import type { SurveySubmissionsGetResponseDTO } from "../../types/surveys"; type SearchParams = { locationId: string; limit?: number; page?: number; startAt?: string; endAt?: string; q?: string; surveyId?: string; }; type ResponseTypes = SurveySubmissionsGetResponseDTO | BadRequestDTO | UnauthorizedDTO | UnprocessableDTO; declare const getSubmissions: (options: SearchParams, authToken: string) => Promise<ResponseTypes> | null; export default getSubmissions;