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

urlpatterns = [
	# path('login/', Login.as_view(), name = 'driver-login'),
	path('register/', DriverRegister.as_view(), name = 'driver-register-api'),
	path('login/', DriverLogin.as_view(), name = 'driver-login-api'),
	path('getprofileDocuments/', GetProfileDocumentsExtraTest.as_view(), name = 'driver-get-profile-api'),#Create And Implimented By Manpreet 10/11/2020
	path('getprofile/', GetProfileExtraTest.as_view(), name = 'driver-get-profile-api'),#Create And Implimented By Manpreet 10/11/2020
	# path('getprofile/', GetProfile.as_view(), name = 'driver-get-profile-api'),
	path('updateprofile/', UpdateProfile.as_view(), name='driver-update-profile-api'),
	path('uploaddocument/', UploadDocument.as_view(), name='driver-upload-document-api'),
	path('uploaddocumentExtraTest/', UploadDocumentExtraTest.as_view(), name='driver-upload-document-api'),#Create And Implimented By Manpreet 10/11/2020
	path('vehicleuploaddocumentExtraTest/', VehicleUploadDocumentExtraTest.as_view(), name='driver-upload-document-api'),#Create And Implimented By Manpreet 10/11/2020
	path('vehicleuploaddocument/', VehicleUploadDocument.as_view(), name='driver-vehicle-upload-document-api'),
	path('forgotpassword/', ForgotPassword.as_view(), name='driver-forgot-password-api'),
	# url(r'^user/driver/forgot/', VerifyForgotPassword.as_view(), name='driver-verify-forgot-password-api'),
	path('outstandingrequests/DriverJobStatus/', DriverOutstandingRequestsExtraTestDriverJobStatusNew2.as_view(), name = 'driver-outstanding-requests-test'),#Created and change by manprett on 17/11/2020
	# path('outstandingrequests/Extratest/', DriverOutstandingRequestsExtraTest.as_view(), name = 'driver-outstanding-requests-test'),#Created and change by manprett on 8/01/2021 commenting this due to we have add datestatus and quue sorting
	path('outstandingrequests/Extratest/', DriverOutstandingRequestsExtraTest2.as_view(), name = 'driver-outstanding-requests-test'),#Created and change by manprett on 5/11/2020
	path('outstandingrequests/test/', DriverOutstandingRequestsExtraTest.as_view(), name = 'driver-outstanding-requests-test'),
	# path('outstandingrequests/test/', DriverOutstandingRequestsTest.as_view(), name = 'driver-outstanding-requests-test'),#Orginal Code Commented By manpreet
	path('outstandingrequests/', DriverOutstandingRequests.as_view(), name = 'driver-outstanding-requests'),
	path('completedrequests/test/', DriverCompletedRequestsTest.as_view(), name = 'driver-completed-requests-test'),
	path('completedrequests/', DriverCompletedRequests.as_view(), name = 'driver-completed-requests'),
	path('allrequests/', DriverAllRequests.as_view(), name = 'driver-all-requests'),
	path('customerjobdetail/', DriverCustomerJobDetail.as_view(), name = 'driver-customerjob-detail'),#commented by manpreet singh original code
	# path('customerjobdetail/', DriverCustomerJobDetailExtraTest.as_view(), name = 'driver-customerjob-detail'),
	# path('customerjobdetailextradetails/', DriverCustomerJobDetailExtraTestViewDate2.as_view(), name = 'driver-customerjob-detail'), #Create And Implimented By Manpreet 8/1/2021 not sure about this api i have added day typw in this but now not using this maybe it is for particular job

	path('safePalaceImage/', safePalaceImage.as_view(), name = 'driver-register-api'),#Create And Implimented By Manpreet 27/11/2020


	path('startDriverJob/', StartDriverJob.as_view(), name = 'driver-Start Job-detail'),  #Start Job From Driver Side Creted By Manpreet on 10/11/2020
	path('arrivedAtDropOffLocation/', arrivedAtDropOffLocation.as_view(), name = 'driver-customerjob-detail'),  #Start Job From Driver Side Creted By Manpreet on 10/11/2020
	path('startJobDropOffLocation/', startJobDropOffLocation.as_view(), name = 'driver-customerjob-detail'), 

	path('pickupverifyparcel/ExtraTest/', DriverPickupVerifyParcelExtraTest.as_view(), name = 'driver-pickup-verify-parcel-test'),# Create And Implimented By Manpreet 10/11/2020
	
	path('pickupverifyparcel/test/', DriverPickupVerifyParcelTest.as_view(), name = 'driver-pickup-verify-parcel-test'),# 27-08-2020# Original
	path('pickupverifyparcel/', DriverPickupVerifyParcel.as_view(), name = 'driver-pickup-verify-parcel'),
	path('delivertorecipient/ExtraTest/', DriverDeliverToRecipientTestExtraTest.as_view(), name = 'driver-delivertorecipient-test'),#this is extra url #Create And Implimented By Manpreet 10/11/2020
	path('delivertorecipient/test/', DriverDeliverToRecipientTest.as_view(), name = 'driver-delivertorecipient-test'),#This Orignal Code is commented by manpreet singh on 9/11/2020
	path('delivertorecipient/', DriverDeliverToRecipient.as_view(), name = 'driver-delivertorecipient'),
	path('arrivedpickup/', DriverArrivedPickup.as_view(), name = 'driver-arrivedpickup'),# Orignal Code 
	path('arrivedpickup/ExtraTest/', DriverArrivedPickupExtraTest.as_view(), name = 'driver-arrivedpickup'),#Start Job From Driver Side Creted By Manpreet on 10/11/2020
	path('deliveryfailed/', DriverDeliveryFailed.as_view(), name = 'driver-deliveryfailed'),

	path('notifications/', DriverNotifications.as_view(), name = 'driver-notifications-api'),
	path('getunreadnotificationscount/', DriverGetUnreadNotificationsCount.as_view(), name = 'driver-getunreadnotificationscount-api'),
	path('changepassword/', DriverChangePassword.as_view(), name = 'driver-changepassword-api'),
	path('updatecoordinates/', DriverUpdateCoordinates.as_view(), name = 'driver-updatecoordinates-api'),

	path('getchats/', GetChats.as_view(), name = 'driver-get-chats-api'),
	path('sendmessagetoadmin/', SendMessageToAdmin.as_view(), name = 'driver-sendmessagetoadmin-api'),

	path('paymenthistoryfordeliveredparcels/', PaymentHistoryForDeliveredParcels.as_view(), name = 'driver-paymenthistoryfordeliveredparcels-api'),
	path('filterpaymenthistory/Extratest', FilterDriverPaymentHistoryExtraTest.as_view(), name = 'driver-payment-history-api'),
	path('paymenthistory/', DriverPaymentHistory.as_view(), name = 'driver-payment-history-api'),
	path('getdeliveryfailurereasons/', GetDeliveryFailureReasons.as_view(), name = 'driver-getdeliveryfailurereasons-api'),
	path('updateworkingslots/', DriverUpdateWorkingSlotsExtraTest2.as_view(), name = 'driver-updateworkingslots-api'),
	path('getworkingslots/', DriverGetWorkingSlots.as_view(), name = 'driver-getworkingslots-api'),
	path('getworkingslotsDates/', getworkingslotsDates.as_view(), name = 'driver-getworkingslots-api'),
	path('getworkingslotOfADate/', getworkingslotOfADate.as_view(), name = 'driver-getworkingslots-api'),
	# path('generateotp/', GenerateOTP.as_view(), name = 'driver-generateotp-api'),
	path('generateotp/', GenerateOTPNew.as_view(), name = 'driver-generateotp-api'),
	
	path('addvehicle/', DriverAddVehicle.as_view(), name='driver-add-vehicle-api'),
	path('deletevehicle/', DriverDeleteVehicle.as_view(), name='driver-delete-vehicle-api'),
	path('updatevehicle/', DriverUpdateVehicle.as_view(), name='driver-update-vehicle-api'),
	path('vehiclelist/', DriverVehicleList.as_view(), name='driver-vehicle-list-api'),
	path('selectactivevehicle/', DriverSelectActiveVehicle.as_view(), name='driver-select-active-vehicle-api'),

]
