import { Observable } from 'rxjs'; import { IHttpBasicResponse } from './IHttpBasicResponse'; export interface IEventsRepository { getEvents(): Observable>; createEvent(payload: IEventsCommonProps): Observable>; updateEvent(id: number, payload: IEventsCommonProps): Observable>; deleteEvent(payload: number): Observable>; } export interface IEventsApiProps extends IEventsCommonProps { client_id: string; id: string; } export interface IEventsCommonProps { attendees: Array<{ contact_id?: string; email?: string; full_name?: string; initials: string; last_name: string; name: string; phone?: string; }>; datetime_from: string; datetime_to: string; description: string; latitude: string; longitude: string; place: string; title: string; } export interface IEventReminder { id: number; title: string; text: string; date: Date; }