import { NotificationTypeType } from './notification-type'; import { NotificationPriorityType } from './notification-priority'; export interface Notification { /** * Notification id */ id: string; /** * Date created. ISO string format. */ dt: string; /** * Notification type */ t: NotificationTypeType; /** * Type id. * Example: id will be a ticket id if the notification type is ticket. */ tId: number; /** * Notification message */ msg: string; /** * Hyperlink associated with this notification */ url?: string; /** * Viewed. Whether or not the user has viewed this notification. */ v?: boolean; /** * Notification priority */ p: NotificationPriorityType; /** * Expire time. ISO string format. */ exp?: string; }