from django.urls import path 
from . import views
from django.views.decorators.csrf import csrf_exempt 

urlpatterns = [

   # device os type
    path("device_os_type_mobile/",  views.DeviceOSTypeListMobileView.as_view()),
    path("device_os_type_dashboard/", views.DeviceOSTypeListDashboardView.as_view()),
    path("device_os_type_dashboard/<int:id>", views.DeviceOSTypeDetailDashboardView.as_view()),

    #Language
    path("language_mobile/", views.LanguageListMobileView.as_view()),
    path("language_dashboard/", views.LanguageListDashboardView.as_view()),
    path("language_dashboard/<int:id>", views.LanguageDetailDashboardView.as_view()),

    #Child Type
    path("child_type_mobile/", views.ChildTypeListMobileView.as_view()),

    #Child Type
    path("gender_mobile/", views.GenderListMobileView.as_view()),

    #Symptom Type
    path("symptom_type_mobile/",views.SymptomTypeListMobileView.as_view()),
    path("symptom_type_dashboard/", views.SymptomTypeListDashboardView.as_view()),
    path("symptom_type_dashboard/<int:id>", views.SymptomTypeDetailDashboardView.as_view()),
    path("symptom_type_language_dashboard/", views.SymptomTypeLanguageListDashboardView.as_view()),
    path("symptom_type_language_dashboard/<int:id>", views.SymptomTypeLanguageDetailDashboardView.as_view()),

    #Kick Tracker Status 
    path("kick_tracker_status_mobile/", views.KickTrackerStatusListMobileView.as_view()),

    #BMI Case Type
    path("bmi_case_type_mobile/", views.BMICaseTypeListMobileView.as_view()),
    path("bmi_case_type_dashboard/", views.BMICaseTypeListDashboardView.as_view()),
    path("bmi_case_type_dashboard/<int:id>", views.BMICaseTypeDetailDashboardView.as_view()),
    path("bmi_case_type_language_dashboard/", views.BMICaseTypeLanguageListDashboardView.as_view()),
    path("bmi_case_type_language_dashboard/<int:id>", views.BMICaseTypeLanguageDetailDashboardView.as_view()),

    #BMI Case
    path("bmi_case_dashboard/", views.BMICaseListDashboardView.as_view()),
    path("bmi_case_dashboard/<int:id>", views.BMICaseDetailDashboardView.as_view()),
    path("bmi_case_language_dashboard/", views.BMICaseLanguageListDashboardView.as_view()),
    path("bmi_case_language_dashboard/<int:id>", views.BMICaseLanguageDetailDashboardView.as_view()),

    #BMI Case Weight Gain
    path("bmi_case_weight_gain_dashboard/", views.BMICaseWeightGainListDashboardView.as_view()),
    path("bmi_case_weight_gain_dashboard/<int:id>", views.BMICaseWeightGainDetailDashboardView.as_view()),

    # Calculation Method
    path("calculation_method_mobile/", views.CalculationMethodListMobileView.as_view()),
    path("calculation_method_dashboard/", views.CalculationMethodListDashboardView.as_view()),
    path("calculation_method_dashboard/<int:id>", views.CalculationMethodDetailDashboardView.as_view()),
    path("calculation_method_language_dashboard/", views.CalculationMethodLanguageListDashboardView.as_view()),
    path("calculation_method_language_dashboard/<int:id>", views.CalculationMethodLanguageDetailDashboardView.as_view()),

    # Pregnancy Week
    path("pregnancy_week_mobile/", views.PregnancyWeekListMobileView.as_view()),
    path("pregnancy_week_mobile/<int:id>", views.PregnancyWeekDetailMobileView.as_view()),
    path("pregnancy_week_dashboard/", views.PregnancyWeekListDashboardView.as_view()),
    path("pregnancy_week_dashboard/<int:id>", views.PregnancyWeekDetailDashboardView.as_view()),
    path("pregnancy_week_language_dashboard/", views.PregnancyWeekLanguageListDashboardView.as_view()),
    path("pregnancy_week_language_dashboard/<int:id>", views.PregnancyWeekLanguageDetailDashboardView.as_view()),

    # Pregnancy Symptom
    path("pregnancy_symptom_dashboard/", views.PregnancySymptomListDashboardView.as_view()),
    path("pregnancy_symptom_dashboard/<int:id>", views.PregnancySymptomDetailDashboardView.as_view()),
    path("pregnancy_symptom_language_dashboard/", views.PregnancySymptomLanguageListDashboardView.as_view()),
    path("pregnancy_symptom_language_dashboard/<int:id>", views.PregnancySymptomLanguageDetailDashboardView.as_view()),

    # Pregnancy CheckList
    path("pregnancy_checklist_dashboard/", views.PregnancyCheckListListDashboardView.as_view()),
    path("pregnancy_checklist_dashboard/<int:id>", views.PregnancyCheckListDetailDashboardView.as_view()),
    path("pregnancy_checklist_language_dashboard/", views.PregnancyCheckListLanguageListDashboardView.as_view()),
    path("pregnancy_checklist_language_dashboard/<int:id>", views.PregnancyCheckListLanguageDetailDashboardView.as_view()),

    # Pregnancy Nutrition
    path("pregnancy_nutrition_dashboard/", views.PregnancyNutritionListDashboardView.as_view()),
    path("pregnancy_nutrition_dashboard/<int:id>", views.PregnancyNutritionDetailDashboardView.as_view()),
    path("pregnancy_nutrition_language_dashboard/", views.PregnancyNutritionLanguageListDashboardView.as_view()),
    path("pregnancy_nutrition_language_dashboard/<int:id>", views.PregnancyNutritionLanguageDetailDashboardView.as_view()),

    # Pregnancy Baby Size
    path("pregnancy_baby_size_dashboard/", views.PregnancyBabySizeListDashboardView.as_view()),
    path("pregnancy_baby_size_dashboard/<int:id>", views.PregnancyBabySizeDetailDashboardView.as_view()),
    path("pregnancy_baby_size_language_dashboard/", views.PregnancyBabySizeLanguageListDashboardView.as_view()),
    path("pregnancy_baby_size_language_dashboard/<int:id>", views.PregnancyBabySizeLanguageDetailDashboardView.as_view()),

    # Monthly Tip
    path("monthly_tip_dashboard/", views.MonthlyTipListDashboardView.as_view()),
    path("monthly_tip_dashboard/<int:id>", views.MonthlyTipDetailDashboardView.as_view()),
    path("monthly_tip_language_dashboard/", views.MonthlyTipLanguageListDashboardView.as_view()),
    path("monthly_tip_language_dashboard/<int:id>", views.MonthlyTipLanguageDetailDashboardView.as_view()),

    # Tip
    path("tip_dashboard/", views.TipListDashboardView.as_view()),
    path("tip_dashboard/<int:id>", views.TipDetailDashboardView.as_view()),
    path("tip_language_dashboard/", views.TipLanguageListDashboardView.as_view()),
    path("tip_language_dashboard/<int:id>", views.TipLanguageDetailDashboardView.as_view()),

    #Patient
    path("parent_sign_in_mobile/", views.ParentSignInMobileView.as_view()),
    path("parent_sign_up_mobile/",views.ParentSignUpMobileView.as_view()),
    path("parent_detail_sign_up_mobile/",views.ParentDetailSignUpMobileView.as_view()),
    path("parent_forget_or_change_password_mobile/",views.ParentForgetOrChangePasswordMobileView.as_view()),
    path("parent_data_mobile/<int:pk>",views.ParentDataMobileView.as_view()),
    
    path("parent_dashboard/", views.ParentListDashboardView.as_view()),
    path("parent_dashboard/<int:pk>", views.ParentDetailDashboardView.as_view()),

    #Child
    path("child_mobile/",views.ChildListMobileView.as_view()),
    path("child_mobile/<int:id>",views.ChildDetailMobileView.as_view()),
    path("set_app_for_child_mobile/",views.SetAppForChild.as_view()),

    #Emergency Contact
    path("emergency_contact_mobile/",views.EmergencyContactListMobileView.as_view()),
    path("emergency_contact_mobile/<int:id>",views.EmergencyContactDetailMobileView.as_view()),

    #Parent Profile
    path("parent_profile_mobile/",views.ParentProfileListMobileView.as_view()),
    path("parent_profile_mobile/<int:parentId>",views.ParentProfileDetailMobileView.as_view()),

    #Symptom Group
    path("symptom_group_mobile/",views.SymptomGroupListMobileView.as_view()),
    path("symptom_group_mobile/<int:id>",views.SymptomGroupDetailMobileView.as_view()),

    #Symptom Row
    path("symptom_row_mobile/",views.SymptomRowListMobileView.as_view()),
    path("symptom_row_mobile/<int:id>",views.SymptomRowDetailMobileView.as_view()),

    #Kick Tracker Group
    path("kick_tracker_group_mobile/",views.KickTrackerGroupListMobileView.as_view()),
    path("kick_tracker_group_mobile/<int:id>",views.KickTrackerGroupDetailMobileView.as_view()),

    #Kick Tracker Row
    path("kick_tracker_row_mobile/",views.KickTrackerRowListMobileView.as_view()),
    path("kick_tracker_row_mobile/<int:id>",views.KickTrackerRowDetailMobileView.as_view()),

    #Weight Gain
    path("weight_gain_mobile/",views.WeightGainListMobileView.as_view()),
    path("weight_gain_mobile/<int:id>",views.WeightGainDetailMobileView.as_view()),   

    #Ovulation
    path("ovulation_mobile/", views.OvulationListMobileView.as_view()),
    path("ovulation_mobile/<int:id>", views.OvulationDetailMobileView.as_view()),

    path("ovulation_dashboard/", views.OvulationListDashboardView.as_view()),
    path("ovulation_dashboard/<int:id>", views.OvulationDetailDashboardView.as_view()), 

    #Due Date Calculator
    path("due_date_calculator_mobile/", views.DueDateCalculatorListMobileView.as_view()),
    path("due_date_calculator_mobile/<int:id>", views.DueDateCalculatorDetailMobileView.as_view()),

    path("due_date_calculator_dashboard/", views.DueDateCalculatorListDashboardView.as_view()),
    path("due_date_calculator_dashboard/<int:id>", views.DueDateCalculatorDetailDashboardView.as_view()),

    #Notes
    path("notes_mobile/", views.NotesListMobileView.as_view()),
    path("notes_mobile/<int:id>", views.NotesDetailMobileView.as_view()),
    path("notes_dashboard/", views.NotesListDashboardView.as_view()),
    path("notes_dashboard/<int:id>", views.NotesDetailDashboardView.as_view()),

    #Appointments
    path("appointment_mobile/", views.AppointmentListMobileView.as_view()),
    path("appointment_mobile/<int:id>", views.AppointmentDetailMobileView.as_view()),
    path("appointment_dashboard/", views.AppointmentListDashboardView.as_view()),
    path("appointment_dashboard/<int:id>", views.AppointmentDetailDashboardView.as_view()),

    #Todo
    path("todo_mobile/", views.TodoListMobileView.as_view()),
    path("todo_mobile/<int:id>",views.TodoDetailMobileView.as_view()),
    path("todo_dashboard/", views.TodoListDashboardView.as_view()),
    path("todo_dashboard/<int:id>", views.TodoDetailDashboardView.as_view()),
]
