Merge branch 'feat/inda-383-daily-stat' into 'main'
[ProtonMail-WebClient.git] / packages / shared / lib / interfaces / PendingInvitation.ts
blob9b74f9c5cfbf2859c5d485bbd67324786b2949d9
1 import type { PLANS } from '@proton/payments';
3 export interface PendingInvitation {
4     ID: string;
5     InviterEmail: string;
6     MaxSpace: number;
7     OrganizationName: string;
8     Validation: AcceptInvitationValidation;
9     OrganizationPlanName?: PLANS;
12 export interface AcceptInvitationValidation {
13     Valid: boolean;
14     IsLifetimeAccount: boolean;
15     IsOnForbiddenPlan: boolean;
16     HasOrgWithMembers: boolean;
17     HasCustomDomains: boolean;
18     ExceedsMaxSpace: boolean;
19     ExceedsAddresses: boolean;
20     HasUnpaidInvoice: boolean;
21     ExceedsMaxAcceptedInvitations: boolean;
22     IsExternalUser: boolean;