UNPKG

zaccl

Version:

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

20 lines (19 loc) 454 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; }; postProcessor?: (response: any) => any; }) => Promise<any>); export default VisitEndpointFunc;