Module notification

Source

Functionsยง

count_unread_user_notifications
Counts unread notifications for a user.
create_notification_acknowledgment
Creates a notification acknowledgment for a user.
create_role_notification
Creates a new notification for a role.
create_user_notification
Creates a new notification for a user.
delete_read_user_notifications
Deletes all read notifications for a user.
delete_role_notification
Deletes a role notification.
delete_user_notification
Deletes a user notification.
get_all_user_notifications_with_count
Gets notifications for a user from all sources with unread count.
get_role_notification_by_id
Retrieves a specific role notification by its unique identifier.
get_user_notification_by_id
Retrieves a specific user notification by its unique identifier.
get_user_role_notifications
Retrieves all role notifications for a user with acknowledgment status.
has_acknowledged_role_notification
Checks if a user has acknowledged a specific role notification.
list_role_notifications
Retrieves a paginated list of role notifications.
list_user_notifications
Retrieves a paginated list of notifications for a specific user.
mark_all_user_notifications_as_read
Marks all notifications for a user as read.
mark_user_notification_as_read
Marks a user notification as read.