from django.urls import path
from rest_framework_simplejwt.views import (
    TokenObtainPairView,
    TokenRefreshView,
)
from . import views
from . import confirmed
urlpatterns = [
    path('', views.customer, name="customer"),
    path('chart/', views.chart, name="chart"),
    path('draft/', views.draft, name="draft"),
    path('delete_all/', views.delete_all, name="delete_all"),
    path('BillingPlans_hotspot/', views.BillingPlans_hotspot, name="BillingPlans_hotspot"),
    path('BillingPlans_pppoe/', views.BillingPlans_pppoe, name="BillingPlans_pppoe"),
    path('BillingPlanspppoe/', views.BillingPlanspppoe, name="BillingPlanspppoe"),
    path('BillingPlanshotspot/', views.BillingPlanshotspot, name="BillingPlanshotspot"),
    path('client-portal/', views.client_portal, name="client-portal"),
    path('user-portal/', views.login_userportal, name="user-portal"),
    path('changeusername/', views.changeusername, name="changeusername"),
    path('update_voucher/', views.update_voucher, name="update_voucher"),
    path('send_sms/', views.send_sms, name="send_sms"),
    path('draft_all/', views.draft_all, name="draft_all"),
    path('draft_list/', views.draft_list, name="draft_list"),
    path('delete_billing/', views.delete_billing, name="delete_billing"),
    path('bulksms/', views.bulksms, name="bulksms"),
    path('last_month/', views.last_month, name="last_month"),
    path('update_plan/', views.update_plan, name="update_plan"),
    path('create_Operators/', views.create_Operators, name="create_Operators"),
    path('Operators_all/', views.Operators_all, name="Operators_all"),
    path('user_profile/', views.operaters_user, name="user_profile"),
    path('edit_user/', views.edit_user, name="edit_user"),
    path('user_info/', views.customer_info, name="user_info"),
    path('sales_analytics/', views.sales_analytics, name="sales_analytics"),
    path('BillingPlans_chart/', views.BillingPlans_chart, name="BillingPlans_chart"),
    path('users/', views.users, name="users"),
    path('pdf_view/', views.ViewPDF.as_view(), name="pdf_view"),
    path('invoice_pdf/', views.DownloadPDF.as_view(), name="invoice_pdf"),
    path('sessiontimeout/', views.sessiontimeout, name="sessiontimeout"),
    path('BillingMerchant_All/', views.BillingMerchant_All, name="BillingMerchant_All"),
    path('BillingMerchant_list/', views.BillingMerchant_list, name="BillingMerchant_list"),
    path('ecommerce/', views.ecommerce, name="ecommerce"),
    path('InvoiceItem/', views.InvoiceItem_All, name="InvoiceItem"),
    path('InvoiceItems_All/', views.InvoiceItems_data, name="InvoiceItems_All"),
    path('list-users/', views.hotspot_list, name="list-users"),
    path('voucher_code/', views.voucher_code, name="voucher_code"),
    path('hotspot_all/', views.hotspot_all, name="hotspot_all"),
    path('list-hotspot/', views.list_users, name="list-hotspot"),
    path('wifi_online/', views.wifi_online, name="wifi_online"),
    path('auth-register/', views.Register, name="auth-register"),
    path('logout/', views.logoutUser, name="logout"),
    path('pppoe_list/', views.pppoe, name="pppoe_list"),
    path('auth-login/', views.Login, name="auth-login"),
    path('apioverview/', views.apioverview, name="apioverview"),
    path('user-list/', views.ShowAll, name="user-list"),
    path('user-create/', views.create_user, name="user-create"),
    path('create_userbillinfo/', views. create_userbillinfo, name="create_userbillinfo"),
    path('Radgroupreply/', views.Radgroupreply_All, name="Radgroupreply"),
    path('create_invoice/', views.create_invoice, name="create_invoice"),
    path('payments_pay/', views.payments_pay, name="payments_pay"),
    path('BillingPlans_All/', views.BillingPlans_All, name="BillingPlans_All"),
    path('BillingPlans_All_list/', views.BillingPlans_All_list, name="BillingPlans_All_list"),
    path('create_Radgroupreply/', views.create_Radgroupreply, name="create_Radgroupreply"),
    path('Radgroupreply_list/', views.Radgroupreply_list, name="Radgroupreply_list"),
    path('plans/', views.plans_list, name="plans"),
    path('create_BillingPlans/', views.create_BillingPlans, name="create_BillingPlans"),
    path('userbillinfo/', views.Userbillinfo_all, name="userbillinfo"),
    path('userbillinfo_list/', views.userbillinfo_list, name="userbillinfo_list"),
    path('Radacct/', views. Radacct_All, name="Radacct"),
    path('Radacct_Hotspot/', views.Radacct_Hotspot, name="Radacct_Hotspot"),
    path('hotspot_active/', views.hotspot_active, name="hotspot_active"),
    path('Radusergroup/', views. create_Radusergroup, name="Radusergroup"),
    path('payment/', views. Payment_list, name="payment"),
    path('payments/', views. payments_list, name="payments"),
    path('make-payment/', views. Make_payment, name="make-payment"),
    path('BillingHistory_All/', views. BillingHistory_All, name="BillingHistory_All"),
    path('BillingHistory/', views. BillingHistory_create, name="BillingHistory"),
    path('billing_list/', views.billing_list, name="billing_list"),
    path('sum_list/', views. sum_list, name="sum_list"),
    path('today_list/', views. today_list, name="today_list"),
    path('delete_pppoe/', views.delete, name ="delete_pppoe"),
    path('update_pppoe_user', views.update_pppoe_user, name ="update_pppoe_user"),
    path('update_pppoe', views.update_pppoe, name ="update_pppoe"),
    path('delete_voucher', views.delete_voucher, name ="delete_voucher"),
    path('delete_package', views.delete_package, name ="delete_package"),
    path('month_list/', views. month_list, name="month_list"),
    path('sales_list/', views. sales_list, name="sales_list"),
    path('last_days/', views. last_days, name="last_days"),
    path('json_list/', views. json_list, name="json_list"),
    path('commission/', views. commission, name="commission"),
    path('profit/', views. profit, name="profit"),
    path('online_users/', views.online_users, name="online_users"),
    path('register_user/', views. Register_user, name="register_user"),
    path('nas/', views. nas, name="nas"),
    path('deduct/', views.deduct, name="deduct"),
    path('nas_list/', views. nas_list, name="nas_list"),
    path('active_records/', views.active_records, name="active_records"),
    path('invoice/', views.invoice, name="invoice"),
    path('nas_all/', views. Nas_All, name="nas_all"),
    path('search_user/', views. search_user, name="search_user"),
    path('billing_history/', views.billing_history, name="billing_history"),
    path('pppoe_payments/', views. pppoe_payments, name="pppoe_payments"),
    path('api/token/', TokenObtainPairView.as_view(), name='token_obtain_pair'),
    path('api/token/refresh/', TokenRefreshView.as_view(), name='token_refresh'),
    path('confirmed_payments/', confirmed.confirmed_payments, name="confirmed_payments"),
    ]
