1 import type { SessionKey } from '@proton/crypto';
3 import type { EVENT_VERIFICATION_STATUS } from '../../calendar/constants';
4 import type { Address } from '../Address';
5 import type { VcalAttendeeProperty, VcalVeventComponent } from './VcalModel';
7 export interface SelfAddressData {
10 selfAttendee?: VcalAttendeeProperty;
11 selfAddress?: Address;
12 selfAttendeeIndex?: number;
15 export interface CalendarEventEncryptionData {
16 encryptingAddressID?: string;
17 sharedSessionKey?: SessionKey;
18 calendarSessionKey?: SessionKey;
21 export type DecryptedVeventResult = {
22 veventComponent: VcalVeventComponent;
23 hasDefaultNotifications: boolean;
24 verificationStatus: EVENT_VERIFICATION_STATUS;
25 selfAddressData: SelfAddressData;
26 encryptionData: CalendarEventEncryptionData;