from django.urls import path
from . import views
from rest_framework.authtoken.views import obtain_auth_token

urlpatterns = [
    path('get-admin-creation-status/', views.get_admin_creation_status),
    path('validate-serial-number/', views.validate_serial_number),
    path('create-system-admin/', views.create_system_admin),
    path('staff-login/', views.staff_login),
    path('system-admin-dashboard/', views.system_admin_dashboard),
    path('edit-company-profile/', views.edit_company_profile),
    path('edit-company-branch/', views.edit_company_branch),
    path('create-super-hr-user/', views.create_super_hr_user),
    path('create-other-staff-user/', views.create_other_staff_user),
    path('get-messages-and-notifications/',
         views.get_messages_and_notifications),
    path('mark-notifications-as-read/', views.mark_notifications_as_read),
    path('mark-messages-as-read/', views.mark_messages_as_read),
    path('create-other-branch/', views.create_other_branch),
    path('edit-other-branch/', views.edit_other_branch),
    path('delete-other-branch/', views.delete_other_branch),
    path('delete-user/', views.delete_user),
    path('change-password-for-user/', views.change_password_for_user),
    path('get-company-email-settings/', views.get_company_email_settings),
    path('update-company-email-settings/', views.update_company_email_settings),
    path('test-company-email-settings/', views.test_company_email_settings),
    path('get-company-security-settings/', views.get_company_security_settings),
    path('update-company-security-settings/', views.update_company_security_settings),
    path('test-ip-whitelist/', views.test_ip_whitelist),
    path('verify-login-otp/', views.verify_login_otp),
    path('get-company-sms-settings/', views.get_company_sms_settings),
    path('update-company-sms-settings/', views.update_company_sms_settings),
    path('check-company-sms-balance/', views.check_company_sms_balance),
    path('get-company-integration-settings/', views.get_company_integration_settings),
    path('update-mpesa-api-config/', views.update_mpesa_api_config),
    path('test-mpesa-api-config/', views.test_mpesa_api_config),
    path('update-crm-integration-settings/', views.update_crm_integration_settings),
    path('generate-crm-webhook-secret/', views.generate_crm_webhook_secret),
    path('get-database-migration-status/', views.get_database_migration_status),
    path('run-database-migrations/', views.run_database_migrations),
]
