from django.urls import path

from agir.msgs import views

urlpatterns = [
    path(
        "api/report/",
        views.UserReportAPIView.as_view(),
        name="api_report",
    ),
    path(
        "api/user/messages/",
        views.UserMessagesAPIView.as_view(),
        name="api_user_messages",
    ),
    path(
        "api/user/messages/unread_count/",
        views.unread_message_count,
        name="api_user_unread_message_count",
    ),
    path(
        "api/user/messages/recipients/",
        views.UserMessageRecipientsView.as_view(),
        name="api_user_message_recipients",
    ),
    path(
        "api/messages/all-read/",
        views.UserMessagesAllReadAPIView.as_view(),
        name="view_messages_all_read",
    ),
]
