Merge branch 'feat/inda-383-daily-stat' into 'main'
[ProtonMail-WebClient.git] / packages / shared / lib / interfaces / calendar / CalendarMember.ts
blob4af546ee0e0c9c5801cac3721be56c6a609bf7ff
1 import type { CALENDAR_DISPLAY } from '../../calendar/constants';
3 export enum MEMBER_INVITATION_STATUS {
4     PENDING = 0,
5     ACCEPTED = 1,
6     REJECTED = 2,
9 export interface CalendarOwner {
10     Email: string;
13 export interface CalendarMember {
14     ID: string;
15     CalendarID: string;
16     AddressID: string;
17     Flags: number;
18     Name: string;
19     Description: string;
20     Email: string;
21     Permissions: number;
22     Color: string;
23     Display: CALENDAR_DISPLAY;
24     Priority: number;
27 export interface CalendarMemberInvitation {
28     Calendar: {
29         Color: string;
30         Name: string;
31         SenderEmail: string;
32     };
33     CalendarID: string;
34     CalendarInvitationID: string;
35     CreateTime: number;
36     Email: string;
37     ExpirationTime: number;
38     Passphrase: string;
39     PassphraseID: string;
40     Permissions: number;
41     Status: MEMBER_INVITATION_STATUS;
42     Signature: string;