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