@cllbk/ghl
Version:
A public Node.js compatible SDK for working with HighLevel's (GHL's) Version 2 API.
10 lines (9 loc) • 491 B
TypeScript
import { BadRequestDTO, UnauthorizedDTO, UnprocessableDTO } from "../../../types/_global";
import type { PaymentsSubscriptionGetResponseDTO } from "../../../types/payments";
type SearchOptions = {
altId: string;
altType: string;
};
type ResponseTypes = PaymentsSubscriptionGetResponseDTO | BadRequestDTO | UnauthorizedDTO | UnprocessableDTO;
declare const get: (subscriptionId: string, options: SearchOptions, authToken: string) => Promise<ResponseTypes> | null;
export default get;