UNPKG

gohl

Version:

Go Highlevel Node Js ease of use library implementation to their API

36 lines (35 loc) 1.48 kB
import { AuthData } from "../interfaces/auth/authdata"; import { ISnapshotListResponse, ISnapshotListParams, ISnapshotShareLinkResponse, ISnapshotPushListResponse, ISnapshotPushParams, ILastSnapshotPushResponse } from "../interfaces/snapshot"; export declare class Snapshots { private authData?; constructor(authData?: AuthData); /** * Get Snapshots * Documentation - https://highlevel.stoplight.io/docs/integrations/b7ac59fac1e81-get-snapshots * @param params * @returns */ getAll(params?: ISnapshotListParams): Promise<ISnapshotListResponse>; /** * Create Snapshot Share Link * Documentation - https://highlevel.stoplight.io/docs/integrations/7cfd7fa37e660-create-snapshot-share-link * @param snapshotId * @returns */ createShareLink(snapshotId: string): Promise<ISnapshotShareLinkResponse>; /** * Get Snapshot Push Between Dates * Documentation - https://highlevel.stoplight.io/docs/integrations/3aafd3250cc4d-get-snapshot-push-between-dates * @param snapshotId * @param params * @returns */ getPushBetweenDates(snapshotId: string, params: ISnapshotPushParams): Promise<ISnapshotPushListResponse>; /** * Get Last Snapshot Push * Documentation - https://highlevel.stoplight.io/docs/integrations/6c45f1aad5098-get-last-snapshot-push * @param snapshotId * @returns */ getLastPush(snapshotId: string): Promise<ILastSnapshotPushResponse>; }