1 import { ChargebeeEnabled, type Key, type UserModel } from '@proton/shared/lib/interfaces';
3 import { privateKeyA } from '../data';
5 export const buildUser = (value?: Partial<UserModel>): UserModel => {
7 ID: 'rSUCW_Qlh8dCCsxWKPXvkUsoDNL5eW9FJUM7WX8jTPrDE3ftOMIfWt-BSuKaw5PZ7EQ6Zsp8HL9Y9qMv4Y5XJQ==',
12 CreateTime: 1589313678,
14 MaxBaseSpace: 7516192768,
15 MaxDriveSpace: 7516192768,
19 UsedDriveSpace: 99993,
38 ID: '4Xi8TArBe1WYfrFoJF5_wIDF0shMe5ACAqOArU6hjpUNoC0O0c_Zu5Afz11gGU1eeDu5Aanp_EUkpd44kjQ2lg==',
42 RecoverySecretSignature: null,
43 PrivateKey: privateKeyA,
44 Fingerprint: '5372de721b9971518273581e04cd9dc25fbae509',
49 Email: 'alice@jomail.com',
53 'drive-early-access': false,
54 'onboard-checklist-storage-granted': false,
55 'has-temporary-password': false,
56 'test-account': false,
58 'no-proton-address': false,
59 'recovery-attempt': false,
60 'pass-lifetime': false,
70 hasNonDelinquentScope: true,
75 hasPassLifetime: false,
77 AccountRecovery: null,
78 ChargebeeUser: ChargebeeEnabled.CHARGEBEE_FORCED,