UNPKG

@ohmunity/whereby

Version:

WhereBy unofficial sdk (whereby.com)

23 lines (22 loc) 620 B
interface Response { success: boolean; data?: any; error?: any; } interface CreateMeeting { startDate: Date; endDate: Date; isLocked?: boolean; roomNamePrefix?: string; roomMode?: 'group' | 'normal'; includeHostRoomUrl?: boolean; } declare class WhereBy { token: string | null; constructor(token: string); private _call; createMeeting({ startDate, endDate, includeHostRoomUrl, ...moreOptions }: CreateMeeting): Promise<Response>; meeting(id: string | number): Promise<Response>; deleteMeeting(id: string | number): Promise<Response>; } export default WhereBy;