UNPKG

@gohighlevel/api-client

Version:
47 lines 1.6 kB
import { AxiosInstance, AxiosRequestConfig } from 'axios'; import * as Models from './models/snapshots'; /** * Snapshots Service * Documentation for Snapshots API */ export declare class Snapshots { private client; constructor(httpClient: AxiosInstance); /** * Get Snapshots * Get a list of all own and imported Snapshots */ getCustomSnapshots(params: { companyId: string; }, options?: AxiosRequestConfig): Promise<Models.GetSnapshotsSuccessfulResponseDto>; /** * Create Snapshot Share Link * Create a share link for snapshot */ createSnapshotShareLink(params: { companyId: string; }, requestBody: Models.CreateSnapshotShareLinkRequestDTO, options?: AxiosRequestConfig): Promise<Models.CreateSnapshotShareLinkSuccessfulResponseDTO>; /** * Get Snapshot Push between Dates * Get list of sub-accounts snapshot pushed in time period */ getSnapshotPush(params: { snapshotId: string; companyId: string; from: string; to: string; lastDoc: string; limit: string; }, options?: AxiosRequestConfig): Promise<Models.GetSnapshotPushStatusSuccessfulResponseDTO>; /** * Get Last Snapshot Push * Get Latest Snapshot Push Status for a location id */ getLatestSnapshotPush(params: { companyId: string; snapshotId: string; locationId: string; }, options?: AxiosRequestConfig): Promise<Models.GetLatestSnapshotPushStatusSuccessfulResponseDTO>; } export default Snapshots; //# sourceMappingURL=snapshots.d.ts.map