from django.urls import path from . import views from rest_framework_simplejwt.views import ( TokenRefreshView, ) urlpatterns = [ path('token/refresh/', TokenRefreshView.as_view(), name='token_refresh'), path('signup/phone/', views.RegistrationEmailView.as_view(), name='mobile_app_login'), path('signup/details/', views.RegistrationDetailsView.as_view(), name='mobile_app_login'), path('signup/password/', views.RegistrationPasswordView.as_view(), name='reset_password'), path('login/', views.LoginView.as_view(), name='mobile_app_login'), path('request-otp/', views.OtpRequestView.as_view(), name='send_otp'), path('verify-otp/', views.OTPVerificationView.as_view(), name='send_otp'), path('profile/extended-data/', views.ProfileExtendedView.as_view(), name='profile_veiw'), path('profile/view/', views.ProfileView.as_view(), name='profile_veiw'), path('profile/edit/', views.ProfileView.as_view(), name='profile_edit'), path('profile/password-reset/', views.ProfilePasswordResetView.as_view(), name='password_reset'), # path('profile/kyc/', views.KycDocumentView.as_view(), name='pofile_kyc'), path('player-id/add/', views.IAmPrincipalPlayerIDAPIView.as_view(), name='add_player_id'), path('google-login/', views.GoogleLoginAPIView.as_view(), name='google-login'), path( "apple-login/", views.decode_apple_token, name="apple_login", ), path( "delete-account/", views.SoftDeletePrincipalAPIView.as_view(), name="delete_account", ), path('version-check/', views.VersionCheck.as_view(), name='version_check'), path('transfer-check/', views.AccountTransferCheckView.as_view(), name='transfer_check'), ]