UNPKG

node-calendly

Version:
20 lines 659 B
export declare type Options = { timeout?: number; limit?: number; interval?: number; bucketSize?: number; }; export declare type RequestOptions = { method: 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH'; headers?: any; body?: any; }; export default class CalendlyApiEndpoint { protected ACCESS_TOKEN: string; private options; constructor(ACCESS_TOKEN: string, params?: Options); protected fetchGet(url: string): Promise<any>; protected fetchPost(url: string, body: string): Promise<any>; protected request(uri: string, options: RequestOptions): Promise<any>; } //# sourceMappingURL=CalendlyApiEndpoint.d.ts.map