
from django.conf.urls import url
from django.urls import path
from .views import *
from . import views

urlpatterns = [
	#test
	path('test/', Test.as_view(), name = 'ongoing-requests'),
	path('testmyapi/', Testman.as_view(), name = 'ongoing-requests'),
	path('getrecipientallAddress/', AllAdress.as_view(), name='driver-add-vehicle-api'), #Create And Implimented By Manpreet 25/11/2020
	path('checkifinoperationarea/', CheckOperationArea.as_view(), name = 'check-if-in-operation-area'),

    path('quickfareestimate/', QuickFareEstimate.as_view(), name = 'quick-fare-estimate'),

	path('login/', Login.as_view(), name = 'login-api'),
	path('register/', Register.as_view(), name = 'register-api'),
	path('getprofile/', GetProfile.as_view(), name = 'get-profile-api'),
	path('updateprofile/', UpdateProfile.as_view(), name='update-profile-api'),

	path('forgotpassword/', ForgotPassword.as_view(), name='forgot-password-api'),
	path('updatepassword/', UpdatePassword.as_view(), name='homepage'),
	# path('register/', CustomerRegistration.as_view(), name = 'customer-registration-api'),

	# url(r'^signupotp$', SignUpOTP.as_view(), name='homepage'),# done
	# url(r'^signup$', SignUp.as_view(), name='homepage'),# done
	path('getfares/test/', GetFaresTest.as_view(), name = 'get-fares-test'), #31st july
	path('getfares/', GetFares.as_view(), name = 'get-fares'),
	path('placeorder/test/', PlaceOrderTesExtraTest.as_view(), name = 'place-order-test'), #Created and change by manprett on 11/11/2020
	# path('placeorder/test/', PlaceOrderTest.as_view(), name = 'place-order-test'), #Oroginal Code for Customer Place Order
	path('placeorder/', PlaceOrder.as_view(), name = 'place-order'),
	path('company/placeorderExtraTest/', CompanyPlaceOrderExtraTest.as_view(), name = 'company-place-order'),#Created and change by manprett on 5/11/2020
	path('company/placeorder/', CompanyPlaceOrderExtraTest.as_view(), name = 'company-place-order'),
	# path('company/placeorder/', CompanyPlaceOrder.as_view(), name = 'company-place-order'),#Oroginal Code Commented by manpreet

	
	path('ongoingrequests/ExtraTest', OngoingRequestsExtraTest.as_view(), name = 'customer-ongoing-requests'),
	path('ongoingrequests/', OngoingRequests.as_view(), name = 'customer-ongoing-requests'),#original commented by manpreet singh on 5/11/2020
	# path('ongoingrequests/test/', OngoingRequestsTest.as_view(), name = 'customer-ongoing-requests'),
	path('completedrequests/', CompletedRequests.as_view(), name = 'customer-completed-requests'),
	# path('completedrequests/', CompletedRequests.as_view(), name = 'customer-completed-requests'),
	path('completedrequests/ExtraTest/', CompletedRequestsExtraTest.as_view(), name = 'customer-completed-requests'),
	path('completedrequests/test/', CompletedRequestsTest.as_view(), name = 'customer-completed-requests'),
	
	path('allrequests/', AllRequests.as_view(), name = 'customer-all-requests'),
	
	path('customerjobdetail/', CustomerJobDetail.as_view(), name = 'customer-customerjob-detail'),

	path('invoicedetail/', InvoiceScreenDetail.as_view(), name = 'invoicescreen-detail'),

	path('getparceltypes/', GetParcelTypes.as_view(), name = 'get-parceltypes'),
	path('getvehicletypes/', GetVehicleTypes.as_view(), name = 'get-vehicletypes'),
	path('getparcelweights/', GetParcelWeights.as_view(), name = 'get-vehicletypes'),
	path('gettimeslots/', GetTimeSlots.as_view(), name = 'get-timeslots'),

	path('notifications/', CustomerNotifications.as_view(), name = 'customer-notifications-api'),
	path('getunreadnotificationscount/', GetUnreadNotificationsCount.as_view(), name = 'customer-getunreadnotificationscount-api'),
	path('changepassword/', ChangePassword.as_view(), name = 'customer-changepassword-api'),
	path('sendsupportquery/', SendSupportQuery.as_view(), name = 'send-support-query-api'),
	
	path('forgotpassword/', ForgotPassword.as_view(), name='forgot-password-api'),
	path('getdrivercoordinates/', GetDriverCoordinates.as_view(), name='getdrivercoordinates-api'),

	path('giverating/', GiveRating.as_view(), name = 'give-rating-api'),

	path('company/makecreditrequest/', CompanyMakeCreditrequest.as_view(), name = 'company-make-credit-request-api'),
	path('company/getallcreditrequests/', CompanyGetAllCreditRequests.as_view(), name = 'company-get-all-credit-requests-api'),

	path('repeatbooking/', RepeatBooking.as_view(), name = 'repeat-booking-api'),
	path('getrepeatorders/', GetRepeatOrders.as_view(), name = 'get-repeatorders-api'),
	path('cancelrepeatbooking/', CancelRepeatBooking.as_view(), name = 'cancel-repeat-booking-api'),

	path('cancelParcelOrder/', cancelParcelOrder.as_view(), name = 'cancel-repeat-booking-api'),

	path('getcards/', GetCards.as_view(), name = 'get-cards'),
	path('addcard/', CustomerAddCard.as_view(), name = 'customer-add-card-api'),
	path('deletecard/', CustomerDeleteCard.as_view(), name = 'customer-delete-card-api'),
]






	