skedify-types
Version:
32 lines (29 loc) • 721 B
text/typescript
export type CalendarEventAvailability = "free" | "busy";
export interface CalendarEventLocation {
street1: string | null;
street2?: string | null;
postalCode: string | null;
city: string | null;
state?: string | null;
country: string | null;
}
export interface CalendarEvent {
id: string;
externalId: string | null;
attempts: number;
calendarId: string;
title: string;
description: string;
resourceType: string;
resourceId: string;
start: string;
end: string;
showAs: CalendarEventAvailability;
url: string | null;
hash: string | null;
location: CalendarEventLocation | null;
lastSyncedAt: string | null;
createdAt: string;
updatedAt: string;
deletedAt: string | null;
}