Merge branch 'feat/inda-383-daily-stat' into 'main'
[ProtonMail-WebClient.git] / packages / shared / lib / interfaces / Checklist.ts
bloba8e7394ecf8ee2ff9f5680d2d6fd8612d1f64e81
1 export interface ChecklistApiResponse {
2     Code: number;
3     Items: ChecklistKey[];
4     CreatedAt: number;
5     ExpiresAt: number;
6     UserWasRewarded: boolean;
7     Visible: boolean;
8     Display: CHECKLIST_DISPLAY_TYPE;
11 export type ChecklistId = 'get-started' | 'paying-user';
13 export enum ChecklistKey {
14     SendMessage = 'SendMessage',
15     RecoveryMethod = 'RecoveryMethod',
16     DriveUpload = 'DriveUpload',
17     DriveShare = 'DriveShare',
19     //New checklist items
20     Import = 'Import',
21     ProtectInbox = 'ProtectInbox',
22     AccountLogin = 'AccountLogin',
23     MobileApp = 'MobileApp',
26 export type ChecklistKeyType = keyof typeof ChecklistKey;
28 export enum CHECKLIST_DISPLAY_TYPE {
29     FULL = 'Full',
30     REDUCED = 'Reduced',
31     HIDDEN = 'Hidden',