UNPKG

zaccl

Version:

The Zoom App Complete Connection Library, a project that handles everything required to build a zoom-integrated app.

22 lines (21 loc) 511 B
/** * Visit endpoint function type definition * @author Gabe Abrams */ type VisitEndpointFunc = ((opts: { path: string; method: ('GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH'); action: string; errorMap: { [k: number]: (string | { [k: number]: string; }); }; params?: { [k: string]: any; }; itemKey?: string; onNewPage?: (items: any[]) => void; minMsBetweenPageRequests?: number; }) => Promise<any>); export default VisitEndpointFunc;