2024-12-27 00:18:46 +01:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
using Wino.Core.Domain.Entities.Calendar;
|
2024-12-30 23:10:51 +01:00
|
|
|
|
using Wino.Core.Domain.Models.Calendar;
|
2024-12-27 00:18:46 +01:00
|
|
|
|
|
|
|
|
|
|
namespace Wino.Core.Domain.Interfaces
|
|
|
|
|
|
{
|
|
|
|
|
|
public interface ICalendarService
|
|
|
|
|
|
{
|
|
|
|
|
|
Task<List<AccountCalendar>> GetAccountCalendarsAsync(Guid accountId);
|
2024-12-30 23:10:51 +01:00
|
|
|
|
Task<AccountCalendar> GetAccountCalendarAsync(Guid accountCalendarId);
|
2024-12-27 00:18:46 +01:00
|
|
|
|
Task DeleteCalendarItemAsync(Guid calendarItemId);
|
|
|
|
|
|
|
|
|
|
|
|
Task DeleteAccountCalendarAsync(AccountCalendar accountCalendar);
|
|
|
|
|
|
Task InsertAccountCalendarAsync(AccountCalendar accountCalendar);
|
|
|
|
|
|
Task UpdateAccountCalendarAsync(AccountCalendar accountCalendar);
|
|
|
|
|
|
Task CreateNewCalendarItemAsync(CalendarItem calendarItem, List<CalendarEventAttendee> attendees);
|
2024-12-30 23:10:51 +01:00
|
|
|
|
Task<List<CalendarItem>> GetCalendarEventsAsync(IAccountCalendar calendar, DayRangeRenderModel dayRangeRenderModel);
|
2025-01-04 11:39:32 +01:00
|
|
|
|
Task<CalendarItem> GetCalendarItemAsync(Guid accountCalendarId, string remoteEventId);
|
2025-01-07 13:42:10 +01:00
|
|
|
|
Task UpdateCalendarDeltaSynchronizationToken(Guid calendarId, string deltaToken);
|
2024-12-27 00:18:46 +01:00
|
|
|
|
}
|
|
|
|
|
|
}
|