import { AnyObject } from '@loopback/repository'; import { ExternalIdentifierEnabledEntity, UserModifiableEntity } from '@sourceloop/core'; import { Event } from './event.model'; import { Subscription } from './subscription.model'; import { WorkingHour } from './working-hour.model'; export declare class Calendar extends UserModifiableEntity implements ExternalIdentifierEnabledEntity { id?: string; source?: string; enableWorkingHours?: boolean; location?: string; identifier: string; summary?: string; timezone?: string; events: Event[]; workingHours: WorkingHour[]; subscriptions: Subscription[]; extId?: string; extMetadata?: AnyObject; } export interface CalendarRelations { event?: Event; subscriptions?: Subscription; workingHours?: WorkingHour; } export type CalendarWithRelations = Calendar & CalendarRelations;