from django.urls import path,re_path
from .views import *

urlpatterns = [
    path('',adminLogin.as_view(),name='login'),
    path('check-email',checkEmail),
    path('check-login-password',checkLoginPassword),
    path('admin-forget-password',adminForgetPassword.as_view(),name='admin-forget-password'),
    re_path(r'^forgot-admin/', forgetPasswordVerification.as_view(), name='admin-verify-forgot-password'),
    path('dashboard',dashboard.as_view(),name='dashboard'),
    path('user-list',userList.as_view(),name='user-list'),
    path('view-user-detail/<id>',viewUser.as_view(),name='view-user-detail'),
    path('edit-user/<id>',EditUser.as_view(),name='edit-user'),
    path('check-phone-edit-user',checkphoneedituser),
    path('change-user-status',changeUserStatus.as_view(),name='change-user-status'),
    path('admin-profile',AdminProfile.as_view(),name='admin-profile'),
    path('admin-logout',AdminLogout.as_view(),name='admin-logout'),
    path('admin-reset-password',AdminResetPassword.as_view(),name='admin-reset-password'),
    path('check-password',adminCheckPassword),
    # fortuneteller Url
    path('fortuneteller-list',FortunetellerList.as_view(),name='fortuneteller-list'),
    path('view-fortuneteller-detail/<id>',ViewFortuneteller.as_view(),name='view-fortuneteller-detail'),
    path('change-fortuneteller-status',ChangeFortuneTellerStatus.as_view(),name='change-fortuneteller-status'),
    path('edit-fortuneteller/<id>',EditFortuneTeller.as_view(),name='edit-fortuneteller'),
    path('check-phonenumber-fortune-edit',CheckPhoneFortuneEdit),
    # Hobbies Url
    path('hobbies-list',HobbiesList.as_view(),name='hobbies-list'),
    path('add-hobbies',AddHobbies.as_view(),name='add-hobbies'),
    path('edit-hobbies/<id>',EditHobbies.as_view(),name='edit-hobbies'),
    path('change-hobbies-status',changeHobbiesStatus.as_view(),name='change-hobbies-status'),

    # services Url
    path('service-list',ServiceList.as_view(),name='service-list'),
    path('add-service',AddService.as_view(),name='add-service'),
    path('edit-service/<id>',EditService.as_view(),name='edit-service'),
    path('change-service-status',changeServiceStatus.as_view(),name='change-service-status'),

    # skills Url
    path('skill-list',SkillList.as_view(),name='skill-list'),
    path('add-skill',AddSkill.as_view(),name='add-skill'),
    path('edit-skill/<id>',EditSkill.as_view(),name='edit-skill'),
    path('change-skill-status',changeSkillStatus.as_view(),name='change-skill-status'),

    # payment Url
    path('payments',PaymentLists.as_view(),name='payments'),
    path('payment-details/<id>',PaymentDetails.as_view(),name='payment-details'),

    # Booking Url
    path('booking-list',BookingLists.as_view(),name='booking-list'),
    path('booking-details/<id>',BookingDetails.as_view(),name='booking-details'),
    path('export-csv-booking',ExportCSVBooking),

    # profile database Url
    path('profile-database',ProfileDatabase.as_view(),name='profile-database'),
    path('edit-profile-database/<id>/',EditProfileDatabase.as_view(),name='edit-profile-database'),
    path('import-csv',importProfileDataCSV),

    # user compatibility Url
    path('user-compatibility',UserCompatibility.as_view(),name='user-compatibility'),
    path('edit-user-compatibility/<id>/',EditUserCompatibility.as_view(),name='edit-user-compatibility'),
    path('import-user-compatibility',importUserCompatibilityDataCSV),

    # advisor compatibility Url
    path('advisor-compatibility',AdvisorsCompatibility.as_view(),name='advisor-compatibility'),
    path('edit-advisor-compatibility/<id>/',EditAdvisorsCompatibility.as_view(),name='edit-advisor-compatibility'),
    path('import-advisor-compatibility',importAdvisorCompatibilityCSV),


    #content management Url
    path('content-page-listing',ContentPageListing.as_view(),name='content-page-listing'),
    path('update-content-page/<id>',UpdateContentPage.as_view(),name='update-content-page'),


    # refund money url
    path('refund-money-list',RefundMoneyList.as_view(),name='refund-money-list'),
    path('refund-money-details/<id>',RefundMoneyDetails.as_view(),name='refund-money-details'),
    path('export-csv-refund',ExportCSVRefund),




    # Help and support Url
    path('help-support-list',HelpSupportList.as_view(),name='help-support-list'),
    path('help-support-view/<id>',HelpSupportView.as_view(),name='help-support-view'),
    path('help-support-send/<id>',HelpSupportSend.as_view(),name='help-support-send'),

    # lifestyle Url
    path('lifestyle-questions-list',LifestyleQuestionList.as_view(),name='lifestyle-question-list'),
    path('add-lifestyle-question',AddLifestyleQuestion.as_view(),name='add-lifestyle-question'),
    path('edit-lifestyle-question/<id>',EditLifestyleQuestion.as_view(),name='edit-lifestyle-question'),


    path('mbti-questions-list',MbtiQuestionList.as_view(),name='mbti-question-list'),
    path('add-mbti-question',AddMbtiQuestion.as_view(),name='add-mbti-question'),
    path('edit-mbti-question/<id>',EditMbtiQuestion.as_view(),name='edit-mbti-question'),
    path('remove-mbit-option',RemoveMbitOption),
    path('remove-lifestyle-option',RemoveLifestyleOption),


    path('admin-notifications',AdminNotificationsList.as_view(),name='admin-notifications'),
    path('read-all-notifications',ReadAllNotifications.as_view(),name='read-all-notifications'),


    # settings url
    path('cancellation-charge',CancellationCharge.as_view(),name='cancellation-charge'),

    # Faq
    path('faq-listing',FaqListing.as_view(),name='faq-listing'),
    path('add-faq',AddFaq.as_view(),name='add-faq'),
    path('edit-faq/<id>',EditFaq.as_view(),name='edit-faq'),
    path('delete-faq/<id>',DeleteFaq.as_view(),name='delete-faq'),

    #reports
    path('user-reports',UserReports.as_view(),name='user-reports'),
    path('view-user-report/<id>',ViewUserReport.as_view(),name='view-user-report'),
    path('export-user-report-csv',ExportUserCsvReport.as_view(),name='export-user-report-csv'),
    path('fortune-teller-reports',FortuneTellerReports.as_view(),name='fortune-teller-reports'),
    path('view-fortuneteller-reports/<id>',ViewFortuneTellerReports.as_view(),name='view-fortuneteller-reports'),
    path('export-fortune-report-csv',ExportFortuneCsvReport.as_view(),name='export-fortune-report-csv'),

    path('all-transcation-reports',AllTranscationsReports.as_view(),name='all-transcation-reports'),
    path('export-transcation-report-csv',ExportTranscationReportCSV.as_view(),name='export-fortune-report-csv'),


    #payout section

    # path('get-all-payout-request',GetPayoutAllRequest.as_view(),name='get-all-payout-request'),
    # path('change-payout-request-status',ChangePayoutRequestStatus.as_view(),name='change-payout-request-status'),


    #Country and State 
    path('get-countries',GetCountries.as_view(),name='get-countries'),
    path('get-states',GetStates.as_view(),name='get-states'),
    path('get-cities',GetCities.as_view(),name='get-cities'),

    path('import-states-cities',import_states_cities),

]   