UNPKG

@cllbk/ghl

Version:

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

11 lines (10 loc) 462 B
import { BadRequestDTO, UnauthorizedDTO, UnprocessableDTO } from "../../types/_global"; import type { Blogs } from "../../types/blogs"; type SearchOptions = { locationId: string; urlSlug: string; postId?: string; }; type ResponseTypes = Blogs.CheckUrlSlugResponseDTO | BadRequestDTO | UnauthorizedDTO | UnprocessableDTO; declare const checkSlug: (options: SearchOptions, authToken: string) => Promise<ResponseTypes | null>; export default checkSlug;