"""URL routes for ``/api/v1/auth/`` endpoints."""

from __future__ import annotations

from django.urls import path

from . import views

urlpatterns = [
    path("login/", views.login_view, name="auth-login"),
    path("logout/", views.logout_view, name="auth-logout"),
    path("refresh/", views.refresh_view, name="auth-refresh"),
    path("me/", views.me_view, name="auth-me"),
    path("csrf/", views.csrf_view, name="auth-csrf"),
    path("otp/request/", views.otp_request_view, name="auth-otp-request"),
    path("otp/verify/", views.otp_verify_view, name="auth-otp-verify"),
    path("profile/", views.profile_view, name="auth-profile"),
    path("profile/avatar/", views.avatar_upload_view, name="auth-profile-avatar"),
    path("change-password/", views.change_password_view, name="auth-change-password"),
    path("tenants/", views.tenants_view, name="auth-tenants"),
    path("switch-tenant/", views.switch_tenant_view, name="auth-switch-tenant"),
]
