@cllbk/ghl
Version:
A public Node.js compatible SDK for working with HighLevel's (GHL's) Version 2 API.
12 lines (11 loc) • 516 B
TypeScript
import { BadRequestDTO, UnauthorizedDTO, UnprocessableDTO } from "../../../types/_global";
import type { PaymentsWLProviderListResponseDTO } from "../../../types/payments";
type SearchOptions = {
altId: string;
altType: "location";
limit?: number;
offset?: number;
};
type ResponseTypes = PaymentsWLProviderListResponseDTO | BadRequestDTO | UnauthorizedDTO | UnprocessableDTO;
declare const search: (options: SearchOptions, authToken: string) => Promise<ResponseTypes | null>;
export default search;