Inbox query and explicit lifecycle transition APIs.
Summary
Functions
@spec archive(Ecto.UUID.t(), String.t(), DateTime.t()) :: :ok | {:error, :not_found}
@spec list_for_recipient( String.t(), keyword() ) :: [Chimeway.Notifications.Notification.t()] | %{items: [map()], has_more: boolean()}
@spec mark_read(Ecto.UUID.t(), String.t(), DateTime.t()) :: :ok | {:error, :not_found}
@spec mark_seen(Ecto.UUID.t(), String.t(), DateTime.t()) :: :ok | {:error, :not_found}
@spec unread_count( String.t(), keyword() ) :: non_neg_integer()