from django.urls import path
from .profile_views import (
    ProfileAvatarStreamView,
    ProfileAvatarView,
    ProfileChangePasswordView,
    ProfileChangeRequestView,
    ProfileChangeStaffCodeView,
    ProfileContactUpdateView,
    ProfileContactVerifyView,
    ProfileDisableStaffCodeView,
    ProfileLoginHistoryView,
    ProfileMeView,
    ProfileMySessionsView,
    ProfileRevokeAllSessionsView,
    ProfileRevokeSessionView,
    ProfileStaffCodeStatusView,
)

urlpatterns = [
    path("me/", ProfileMeView.as_view(), name="profile-me"),
    path("avatar/", ProfileAvatarView.as_view(), name="profile-avatar"),
    path("avatar/<uuid:user_id>/", ProfileAvatarStreamView.as_view(), name="profile-avatar-stream"),
    path("contact/verify/", ProfileContactVerifyView.as_view(), name="profile-contact-verify"),
    path("contact/update/", ProfileContactUpdateView.as_view(), name="profile-contact-update"),
    path("change-password/", ProfileChangePasswordView.as_view(), name="profile-change-password"),
    path("staff-code/status/", ProfileStaffCodeStatusView.as_view(), name="profile-staff-code-status"),
    path("change-staff-code/", ProfileChangeStaffCodeView.as_view(), name="profile-change-staff-code"),
    path("disable-staff-code-login/", ProfileDisableStaffCodeView.as_view(), name="profile-disable-staff-code"),
    path("my-sessions/", ProfileMySessionsView.as_view(), name="profile-my-sessions"),
    path("revoke-session/", ProfileRevokeSessionView.as_view(), name="profile-revoke-session"),
    path("revoke-all-sessions/", ProfileRevokeAllSessionsView.as_view(), name="profile-revoke-all-sessions"),
    path("my-login-history/", ProfileLoginHistoryView.as_view(), name="profile-login-history"),
    path("change-requests/", ProfileChangeRequestView.as_view(), name="profile-change-requests"),
]

