export enum NotificationEvent {
  OTP_SENT = 'OTP_SENT',
  CHILD_BOARDED = 'CHILD_BOARDED',
  CHILD_DEBOARDED = 'CHILD_DEBOARDED',
  SCHOOL_REACHED = 'SCHOOL_REACHED',
  RETURN_TRIP_STARTED = 'RETURN_TRIP_STARTED',
  CHILD_DROPPED = 'CHILD_DROPPED',
  TRIP_DELAYED = 'TRIP_DELAYED',
  ROUTE_DEVIATION = 'ROUTE_DEVIATION',
  OVERSPEED_ALERT = 'OVERSPEED_ALERT',
  UNKNOWN_STOP_ALERT = 'UNKNOWN_STOP_ALERT',
  GPS_INACTIVE = 'GPS_INACTIVE',
  SOS_TRIGGERED = 'SOS_TRIGGERED',
  TICKET_CREATED = 'TICKET_CREATED',
  TICKET_UPDATED = 'TICKET_UPDATED',
  WELCOME_KIT_DELIVERED = 'WELCOME_KIT_DELIVERED',
  INSURANCE_INTEREST_SUBMITTED = 'INSURANCE_INTEREST_SUBMITTED',
}

export enum NotificationChannel {
  PUSH = 'PUSH',
  SMS = 'SMS',
  WHATSAPP = 'WHATSAPP',
}

export const NOTIFICATION_TITLES: Record<NotificationEvent, string> = {
  [NotificationEvent.OTP_SENT]: 'OTP Sent',
  [NotificationEvent.CHILD_BOARDED]: 'Child Boarded',
  [NotificationEvent.CHILD_DEBOARDED]: 'Child Deboarded',
  [NotificationEvent.SCHOOL_REACHED]: 'School Reached',
  [NotificationEvent.RETURN_TRIP_STARTED]: 'Return Trip Started',
  [NotificationEvent.CHILD_DROPPED]: 'Child Dropped Off',
  [NotificationEvent.TRIP_DELAYED]: 'Trip Delayed',
  [NotificationEvent.ROUTE_DEVIATION]: 'Route Deviation Detected',
  [NotificationEvent.OVERSPEED_ALERT]: 'Overspeed Alert',
  [NotificationEvent.UNKNOWN_STOP_ALERT]: 'Unknown Stop Alert',
  [NotificationEvent.GPS_INACTIVE]: 'GPS Inactive',
  [NotificationEvent.SOS_TRIGGERED]: 'SOS Emergency Alert',
  [NotificationEvent.TICKET_CREATED]: 'New Ticket Created',
  [NotificationEvent.TICKET_UPDATED]: 'Ticket Updated',
  [NotificationEvent.WELCOME_KIT_DELIVERED]: 'Welcome Kit Delivered',
  [NotificationEvent.INSURANCE_INTEREST_SUBMITTED]: 'Insurance Interest Recorded',
};
