Realtime
Realtime routes manage socket notification preferences and catalog data used by the UI to decide which live events to listen to or mute.
Socket Events
- The UI should connect to the realtime socket after login using the bearer token.
- Listen for biz1:ready and route-specific events documented in each route help.
- When an event arrives, refresh only the affected list, customer, mission, ticket, message, or notification area.
Preferences
- NotificationPreferences.Get loads the current preferences.
- NotificationPreferences.Save updates what the user wants to receive.
- NotificationPreferences.Catalog lists available notification/event types.
Common Flow
- Login and connect the socket with the bearer token.
- Load notification preference catalog and current preferences.
- Save preference changes.
- React to live events without polling loops.