gohl
Version:
Go Highlevel Node Js ease of use library implementation to their API
36 lines (35 loc) • 1.38 kB
TypeScript
import { AuthData } from "../interfaces/auth/authdata";
import { IFunnelListResponse, IFunnelPagesResponse, IFunnelPagesCountResponse, IFunnelParams } from "../interfaces/funnel";
import { FunnelRedirect } from "./funnels.redirect";
export declare class Funnels {
private authData?;
redirect: FunnelRedirect;
/**
* Endpoints For Funnels
* https://highlevel.stoplight.io/docs/integrations/80d7ad39f1e90-fetch-list-of-funnels
*/
constructor(authData?: AuthData);
/**
* Fetch List of Funnels
* Documentation - https://highlevel.stoplight.io/docs/integrations/80d7ad39f1e90-fetch-list-of-funnels
* @param params
* @returns
*/
getAll(params: IFunnelParams): Promise<IFunnelListResponse>;
/**
* Fetch List of Funnel Pages
* Documentation - https://highlevel.stoplight.io/docs/integrations/99a6409949f15-fetch-list-of-funnel-pages
* @param funnelId
* @param params
* @returns
*/
getPages(funnelId: string, params: IFunnelParams): Promise<IFunnelPagesResponse>;
/**
* Fetch Count of Funnel Pages
* Documentation - https://highlevel.stoplight.io/docs/integrations/6bee319f931fa-fetch-count-of-funnel-pages
* @param funnelId
* @param locationId
* @returns
*/
getPagesCount(funnelId: string, locationId: string): Promise<IFunnelPagesCountResponse>;
}