export type NotificationBase = { title?: string; message: string; link?: string; status: 'info' | 'success' | 'error'; organization: string; user: string; showPopup?: boolean; shouldSaveToDb?: boolean; shouldSendEmail?: boolean; shouldSendPushNotification?: boolean; popupId?: string; progress?: number; }; export interface IotCredentials { credentials: { region: string; accessKey: string; secretKey: string; sessionToken: string; }; endpoints: { iot: string; edocu: string; }; } export type NotificationEvent = NotificationBase & { id: string; }; export type Notification = NotificationBase & { notificationId: string; createdAt: string; seen: boolean; _id: string; }; export type NotificationsResponse = Notification[];