@mildshield14/ical-booker
Version:
A lightweight, modern CalDAV client for Node.js - discover calendars, check availability, and create bookings
10 lines • 462 B
TypeScript
import type { CalDAVCreds, Calendar } from './types.js';
/**
* Discover all writable calendar collections for the given CalDAV account.
* Works with iCloud (partition hosts p01-p99), Google (once authenticated),
* Fastmail, and most generic servers.
*/
export declare function discoverCalendars({ principal, // e.g. https://p55-caldav.icloud.com
username, // full address
password, }: CalDAVCreds): Promise<Calendar[]>;
//# sourceMappingURL=discover.d.ts.map