gohl
Version:
Go Highlevel Node Js ease of use library implementation to their API
27 lines (26 loc) • 1.04 kB
TypeScript
import { AuthData } from "../interfaces/auth/authdata";
import { IOpportunityFollowerRequest, IOpportunityFollowerResponse } from "../interfaces/opportunity.follower";
export declare class OpportunitiesFollowers {
private authData?;
/**
* Endpoints For Opportunities Followers
* https://highlevel.stoplight.io/docs/integrations/a4853ad9d0a48-add-followers
*/
constructor(authData?: AuthData);
/**
* Add Followers
* Documentation - https://highlevel.stoplight.io/docs/integrations/a4853ad9d0a48-add-followers
* @param opportunityId
* @param data
* @returns
*/
add(opportunityId: string, data: IOpportunityFollowerRequest): Promise<IOpportunityFollowerResponse>;
/**
* Remove Followers
* Documentation - https://highlevel.stoplight.io/docs/integrations/0412c261ca64b-remove-followers
* @param opportunityId
* @param data
* @returns
*/
remove(opportunityId: string, data: IOpportunityFollowerRequest): Promise<IOpportunityFollowerResponse>;
}