import { AnyObject, DataObject, Model } from '@loopback/repository'; import { ExternalIdentifierEnabledEntity, UserModifiableEntity } from '@sourceloop/core'; import { Attachment, Attendee } from '.'; import { Calendar } from './calendar.model'; import { StatusType } from './enums/status.enum'; export declare class Event> extends UserModifiableEntity implements ExternalIdentifierEnabledEntity { id?: string; bgColor?: string; description?: string; endDateTime?: Date; fgColor?: string; iCalUid?: string; isFullDayEvent?: boolean; isLocked?: boolean; link?: string; location?: string; meetingLink?: string; identifier?: string; startDateTime?: Date; status?: StatusType; summary?: string; timezone?: string; calendarId: string; parentEventId?: string; attendees: Attendee[]; attachments: Attachment[]; extId?: string; extMetadata?: AnyObject; } export interface EventRelations { calendar?: Calendar; event?: Event; } export type EventWithRelations = Event & EventRelations;