@cllbk/ghl
Version:
A public Node.js compatible SDK for working with HighLevel's (GHL's) Version 2 API.
8 lines (7 loc) • 1.71 kB
TypeScript
export declare const customFields: {
get: (locationId: string, customFieldId: string, authToken: string) => Promise<import("../../../types/_global").BadRequestDTO | import("../../../types/_global").UnauthorizedDTO | import("../../../types/_global").UnprocessableDTO | import("../../../types/locations").LocationsCFResponseDTO> | null;
search: (locationId: string, options: import("../../../types/locations").LocationsCFSearchParamsDTO, authToken: string) => Promise<import("../../../types/_global").BadRequestDTO | import("../../../types/_global").UnauthorizedDTO | import("../../../types/_global").UnprocessableDTO | import("../../../types/locations").LocationsCFsResponseDTO> | null;
create: (locationId: string, options: import("../../../types/locations").LocationsCFCreateDTO, authToken: string) => Promise<import("../../../types/_global").BadRequestDTO | import("../../../types/_global").UnauthorizedDTO | import("../../../types/_global").UnprocessableDTO | import("../../../types/locations").LocationsCVResponseDTO> | null;
update: (locationId: string, customFieldId: string, options: import("../../../types/locations").LocationsCFUpdateDTO, authToken: string) => Promise<import("../../../types/_global").BadRequestDTO | import("../../../types/_global").UnauthorizedDTO | import("../../../types/_global").UnprocessableDTO | import("../../../types/locations").LocationsCFResponseDTO> | null;
delete: (locationId: string, customFieldId: string, authToken: string) => Promise<import("../../../types/_global").BadRequestDTO | import("../../../types/_global").UnauthorizedDTO | import("../../../types/_global").UnprocessableDTO | import("../../../types/_global").SuccededDeleteDTO> | null;
};