1 import type { EVENT_ACTIONS } from '../../constants';
5 CalendarEventWithoutBlob,
9 CalendarWithOwnMembers,
12 export interface CalendarAlarmEventManagerDelete {
14 Action: EVENT_ACTIONS.DELETE;
16 export interface CalendarAlarmEventManagerUpdate {
18 Action: EVENT_ACTIONS.UPDATE;
21 export interface CalendarAlarmEventManagerCreate {
23 Action: EVENT_ACTIONS.CREATE;
26 export type CalendarAlarmEventManager =
27 | CalendarAlarmEventManagerDelete
28 | CalendarAlarmEventManagerUpdate
29 | CalendarAlarmEventManagerCreate;
31 export interface CalendarUrlEventManagerDelete {
33 Action: EVENT_ACTIONS.DELETE;
35 export interface CalendarUrlEventManagerUpdate {
37 Action: EVENT_ACTIONS.UPDATE;
38 CalendarUrl: CalendarUrl;
40 export interface CalendarUrlEventManagerCreate {
42 Action: EVENT_ACTIONS.CREATE;
43 CalendarUrl: CalendarUrl;
45 export type CalendarUrlEventManager =
46 | CalendarUrlEventManagerDelete
47 | CalendarUrlEventManagerUpdate
48 | CalendarUrlEventManagerCreate;
50 export interface CalendarSubscriptionEventManagerDelete {
52 Action: EVENT_ACTIONS.DELETE;
54 export interface CalendarSubscriptionEventManagerUpdate {
56 Action: EVENT_ACTIONS.UPDATE;
57 CalendarSubscription: CalendarSubscription;
59 export interface CalendarSubscriptionEventManagerCreate {
61 Action: EVENT_ACTIONS.CREATE;
62 CalendarSubscription: CalendarSubscription;
64 export type CalendarSubscriptionEventManager =
65 | CalendarSubscriptionEventManagerDelete
66 | CalendarSubscriptionEventManagerUpdate
67 | CalendarSubscriptionEventManagerCreate;
69 export interface CalendarMemberEventManagerDelete {
71 Action: EVENT_ACTIONS.DELETE;
73 export interface CalendarMemberEventManagerUpdate {
75 Action: EVENT_ACTIONS.UPDATE;
76 Member: CalendarMember;
78 export interface CalendarMemberEventManagerCreate {
80 Action: EVENT_ACTIONS.CREATE;
81 Member: CalendarMember;
84 export type CalendarMemberEventManager =
85 | CalendarMemberEventManagerDelete
86 | CalendarMemberEventManagerUpdate
87 | CalendarMemberEventManagerCreate;
89 export interface CalendarEventManagerDelete {
91 Action: EVENT_ACTIONS.DELETE;
93 export interface CalendarEventManagerUpdate {
95 Action: EVENT_ACTIONS.UPDATE;
98 export interface CalendarEventManagerCreate {
100 Action: EVENT_ACTIONS.CREATE;
101 Calendar: CalendarWithOwnMembers;
104 export interface CalendarEventsEventManagerDelete {
106 Action: EVENT_ACTIONS.DELETE;
108 export interface CalendarEventsEventManagerUpdate {
110 Action: EVENT_ACTIONS.UPDATE;
111 Event: CalendarEventWithoutBlob;
113 export interface CalendarEventsEventManagerCreate {
115 Action: EVENT_ACTIONS.CREATE;
116 Event: CalendarEventWithoutBlob;
118 export type CalendarEventsEventManager =
119 | CalendarEventsEventManagerDelete
120 | CalendarEventsEventManagerUpdate
121 | CalendarEventsEventManagerCreate;
123 export type CalendarEventManager = CalendarEventManagerCreate | CalendarEventManagerUpdate | CalendarEventManagerDelete;