from django.contrib import admin
from django.urls import path

from authentication import views as Auth
from trips import views as Trips

urlpatterns = [
    
    path('request-otp', Auth.requestOtp, name="requestOtp"),
    path('verify-otp', Auth.verifyOtp, name="verifyOtp"),
    path('verify-user', Auth.verifyUser, name="verifyUser"),
    path('profile', Auth.profile, name="profile"),
    path('basic-info', Auth.basicInfo, name="basicInfo"),
    path('address', Auth.addressInfo, name="addressInfo"),
    path('prefrences', Auth.prefrences, name="prefrences"),

    path('delete-account', Auth.deleteAccount, name="deleteAccount"),
    path('show-delete', Auth.showDelete, name='showDelete'),

    path('trip/start', Trips.StartTrip.as_view(), name="startTrip"),
    path('trip/complete', Trips.CompleteTrip.as_view(), name="completeTrip"),
    path('trip/on-the-way', Trips.OnTheWayTrip.as_view(), name="OnTheWayTrip"),
    path('trip', Trips.Trip.as_view(), name="tripView"),
    path('trips', Trips.TripList.as_view(), name="trips")

]
