import type { CalendarEvent } from "./Calendar"; export interface PartialReference { id?: number; type: string; uid: string; meetingId?: string | null; meetingPassword?: string | null; meetingUrl?: string | null; externalCalendarId?: string | null; credentialId?: number | null; } export interface EventResult { type: string; appName: string; success: boolean; uid: string; iCalUID?: string | null; createdEvent?: T; updatedEvent?: T | T[]; originalEvent: CalendarEvent; calError?: string; calWarnings?: string[]; credentialId?: number; externalId?: string | null; } export interface CreateUpdateResult { results: Array; referencesToCreate: Array; } export interface PartialBooking { id: number; userId: number | null; references: Array; credentialId?: number; }