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

urlpatterns = [
    path("dashboard/", views.DashboardDataView.as_view()),
    path("checkout/", csrf_exempt(views.CheckoutPageView.as_view())),
    path("settings/", views.SettingsList.as_view()),
    path("settings/<int:pk>", views.SettingsDetail.as_view()),
    path("language/", views.LanguageList.as_view()),
    path("language/<int:pk>", views.LanguageDetail.as_view()),
    path("sociallink/", views.SocialLinkList.as_view()),
    path("sociallink/<int:pk>", views.SocialLinkDetail.as_view()),
    path("sociallinktoken/", views.SocialLinkTokenList.as_view()),
    path("sociallinktoken/<int:pk>", views.SocialLinkTokenDetail.as_view()),
    path("registertype/", views.RegisterTypeList.as_view()),
    path("registertype/<int:pk>", views.RegisterTypeDetail.as_view()),
    path("registertypelanguage/", views.RegisterTypeLanguageList.as_view()),
    path("registertypelanguage/<int:pk>", views.RegisterTypeLanguageDetail.as_view()),
    path("orderfrom/", views.OrderFromList.as_view()),
    path("orderfrom/<int:pk>", views.OrderFromDetail.as_view()),
    path("orderfromlanguage/", views.OrderFromLanguageList.as_view()),
    path("orderfromlanguage/<int:pk>", views.OrderFromLanguageDetail.as_view()),
    path("returnstatus/", views.ReturnStatusList.as_view()),
    path("returnstatus/<int:pk>", views.ReturnStatusDetail.as_view()),
    path("returnstatuslanguage/", views.ReturnStatusLanguageList.as_view()),
    path("returnstatuslanguage/<int:pk>", views.ReturnStatusLanguageDetail.as_view()),
    path("trackstatus/", views.TrackStatusList.as_view()),
    path("trackstatus/<int:pk>", views.TrackStatusDetail.as_view()),
    path("trackstatuslanguage/", views.TrackStatusLanguageList.as_view()),
    path("trackstatuslanguage/<int:pk>", views.TrackStatusLanguageDetail.as_view()),
    path("skucost/", views.SKUCostList.as_view()),
    path("skucost/<int:pk>", views.SKUCostDetail.as_view()),
    path("paymentmethod/", views.PaymentMethodList.as_view()),
    path("paymentmethod/<int:pk>", views.PaymentMethodDetail.as_view()),
    path("paymentmethodlanguage/", views.PaymentMethodLanguageList.as_view()),
    path("paymentmethodlanguage/<int:pk>", views.PaymentMethodLanguageDetail.as_view()),
    path("eligibletype/", views.EligibleTypeList.as_view()),
    path("eligibletype/<int:pk>", views.EligibleTypeDetail.as_view()),
    path("eligibletypelanguage/", views.EligibleTypeLanguageList.as_view()),
    path("eligibletypelanguage/<int:pk>", views.EligibleTypeLanguageDetail.as_view()),
    path("country/", views.CountryList.as_view()),
    path("country/<int:pk>", views.CountryDetail.as_view()),
    path("countrylanguage/", views.CountryLanguageList.as_view()),
    path("countrylanguage/<int:pk>", views.CountryLanguageDetail.as_view()),
    path("state/", views.StateList.as_view()),
    path("state/<int:pk>", views.StateDetail.as_view()),
    path("statelanguage/", views.StateLanguageList.as_view()),
    path("statelanguage/<int:pk>", views.StateLanguageDetail.as_view()),
    path("city/", views.CityList.as_view()),
    path("city/<int:pk>", views.CityDetail.as_view()),
    path("citylanguage/", views.CityLanguageList.as_view()),
    path("citylanguage/<int:pk>", views.CityLanguageDetail.as_view()),
    path("shippingmethod/", views.ShippingMethodList.as_view()),
    path("shippingmethod/<int:pk>", views.ShippingMethodDetail.as_view()),
    path("shippingmethodlanguage/", views.ShippingMethodLanguageList.as_view()),
    path("shippingmethodlanguage/<int:pk>", views.ShippingMethodLanguageDetail.as_view()),
    path("shippingcost/", views.ShippingCostList.as_view()),
    path("shippingcost/<int:pk>", views.ShippingCostDetail.as_view()),
    path("department/", views.DepartmentList.as_view()),
    path("department/<int:pk>", views.Departmentetail.as_view()),
    path("departmentlanguage/", views.DepartmentLanguageList.as_view()),
    path("departmentlanguage/<int:pk>", views.DepartmentLanguageDetail.as_view()),
    path("brand/", views.BrandList.as_view()),
    path("brand/<int:pk>", views.BrandDetail.as_view()),
    path("brandlanguage/", views.BrandLanguageList.as_view()),
    path("brandlanguage/<int:pk>", views.BrandLanguageDetail.as_view()),
    path("subscriptionstatus/", views.SubscriptionStatusList.as_view()),
    path("subscriptionstatus/<int:pk>", views.SubscriptionStatusDetail.as_view()),
    path("subscriptionstatuslanguage/", views.SubscriptionStatusLanguageList.as_view()),
    path(
        "subscriptionstatuslanguage/<int:pk>",
        views.SubscriptionStatusLanguageDetail.as_view(),
    ),
    path("subscriptionoption/", views.SubscriptionOptionList.as_view()),
    path("subscriptionoption/<int:pk>", views.SubscriptionOptionDetail.as_view()),
    path("subscriptionoptionlanguage/", views.SubscriptionOptionLanguageList.as_view()),
    path(
        "subscriptionoptionlanguage/<int:pk>",
        views.SubscriptionOptionLanguageDetail.as_view(),
    ),
    path("subscriptiontype/", views.SubscriptionTypeList.as_view()),
    path("subscriptiontype/<int:pk>", views.SubscriptionTypeDetail.as_view()),
    path("subscriptiontypelanguage/", views.SubscriptionTypeLanguageList.as_view()),
    path(
        "subscriptiontypelanguage/<int:pk>",
        views.SubscriptionTypeLanguageDetail.as_view(),
    ),
    path("transactiontype/", views.TransactionTypeList.as_view()),
    path("transactiontype/<int:pk>", views.TransactionTypeDetail.as_view()),
    path("transactiontypelanguage/", views.TransactionTypeLanguageList.as_view()),
    path(
        "transactiontypelanguage/<int:pk>",
        views.TransactionTypeLanguageDetail.as_view(),
    ),
    path("newarrival/", views.NewArrivalList.as_view()),
    path("newarrival/<int:pk>", views.NewArrivalDetail.as_view()),
    path("newarrivallanguage/", views.NewArrivalLanguageList.as_view()),
    path("newarrivallanguage/<int:pk>", views.NewArrivalLanguageDetail.as_view()),
    path("appcontent/", views.AppContentList.as_view()),
    path("appcontent/<int:pk>", views.AppContentDetail.as_view()),
    path("appcontentlanguage/", views.AppContentLanguageList.as_view()),
    path("appcontentlanguage/<int:pk>", views.AppContentLanguageDetail.as_view()),
    path("coupon/", views.CouponList.as_view()),
    path("coupon/<int:pk>", views.CouponDetail.as_view()),
    path("client/", views.ClientList.as_view()),
    path("client/<int:pk>", views.ClientDetail.as_view()),
    path("clientcreditcard/", views.ClientCreditCardList.as_view()),
    path("clientcreditcard/<int:pk>", views.ClientCreditCardDetail.as_view()),
    path("clientaddressbook/", views.ClientAddressBookList.as_view()),
    path("clientaddressbook/<int:pk>", views.ClientAddressBookDetail.as_view()),
    path("wallet/", views.WalletList.as_view()),
    path("wallet/<int:pk>", views.WalletDetail.as_view()),
    path("transaction/", views.TransactionList.as_view()),
    path("transaction/<int:pk>", views.TransactionDetail.as_view()),
    path("shoppingcart/", views.ShoppingCartList.as_view()),
    path("shoppingcart/<int:pk>", views.ShoppingCartDetail.as_view()),
    path("shoppingcartdashboard/", views.ShoppingCartDashboardList.as_view()),
    path("purchaseorder/", views.PurchaseOrderList.as_view()),
    path("purchaseorder/<int:pk>", views.PurchaseOrderDetail.as_view()),
    path("supplier/", views.SupplierList.as_view()),
    path("supplier/<int:pk>", views.SupplierDetail.as_view()),
    path("supplierphone/", views.SupplierPhoneList.as_view()),
    path("supplierphone/<int:pk>", views.SupplierPhoneDetail.as_view()),
    path("suppliercreditcard/", views.SupplierCreditCardList.as_view()),
    path("suppliercreditcard/<int:pk>", views.SupplierCreditCardDetail.as_view()),
    path("supplierdocument/", views.SupplierDocumentList.as_view()),
    path("supplierdocument/<int:pk>", views.SupplierDocumentDetail.as_view()),
    path("subscription/", views.SubscriptionList.as_view()),
    path("subscription/<int:pk>", views.SubscriptionDetail.as_view()),
    path("deliveryman/", views.DeliveryManList.as_view()),
    path("deliveryman/<int:pk>", views.DeliveryManDetail.as_view()),
    path("deliverymanphone/", views.DeliveryManPhoneList.as_view()),
    path("deliverymanphone/<int:pk>", views.DeliveryManPhoneDetail.as_view()),
    path("shippingitem/", views.ShippingItemList.as_view()),
    path("shippingitem/<int:pk>", views.ShippingItemDetail.as_view()),
    path("shippingaddress/", views.ShippingAddressList.as_view()),
    path("shippingaddress/<int:pk>", views.ShippingAddressDetail.as_view()),
    path("track/", views.TrackList.as_view()),
    path("track/<int:pk>", views.TrackDetail.as_view()),
    path("salesorder/", views.SalesOrderList.as_view()),
    path("salesorder/<int:pk>", views.SalesOrderDetail.as_view()),
    path("itemkeyname/", views.ItemKeyNameList.as_view()),
    path("item/", views.ItemList.as_view()),
    path("item/<int:pk>", views.ItemDetail.as_view()),
    path("itemlanguage/", views.ItemLanguageList.as_view()),
    path("itemlanguage/<int:pk>", views.ItemLanguageDetail.as_view()),
    path("featurebullet/", views.FeatureBulletList.as_view()),
    path("featurebullet/<int:pk>", views.FeatureBulletDetail.as_view()),
    path("featurebulletlanguage/", views.FeatureBulletLanguageList.as_view()),
    path("featurebulletlanguage/<int:pk>", views.FeatureBulletLanguageDetail.as_view()),
    # Change Start
    path("eligible/", views.EligibleList.as_view()),
    path("eligible/<int:pk>", views.EligibleDetail.as_view()),
    # Change End
    path("sku/", views.SKUList.as_view()),
    path("sku/<int:pk>", views.SKUDetail.as_view()),
    path("skuimage/", views.SKUImageList.as_view()),
    path("skuimage/<int:pk>", views.SKUImageDetail.as_view()),
    path("skuoption/", views.SKUOptionList.as_view()),
    path("skuoption/<int:pk>", views.SKUOptionDetail.as_view()),
    path("skuoptionlanguage/", views.SKUOptionLanguageList.as_view()),
    path("skuoptionlanguage/<int:pk>", views.SKUOptionLanguageDetail.as_view()),
    path("skudescription/", views.SKUDescriptionList.as_view()),
    path("skudescription/<int:pk>", views.SKUDescriptionDetail.as_view()),
    path("skudescriptionlanguage/", views.SKUDescriptionLanguageList.as_view()),
    path(
        "skudescriptionlanguage/<int:pk>", views.SKUDescriptionLanguageDetail.as_view()
    ),
    path("itemsubscription/", views.ItemSubscriptionList.as_view()),
    path("itemsubscription/<int:pk>", views.ItemSubscriptionDetail.as_view()),
    path("shoppingcartitem/", views.ShoppingCartItemList.as_view()),
    path("shoppingcartitem/<int:pk>", views.ShoppingCartItemDetail.as_view()),
    path("purchaseshippingitem/", views.PurchaseShippingItemList.as_view()),
    path("purchaseshippingitem/<int:pk>", views.PurchaseShippingItemDetail.as_view()),
    path("requestreturn/", views.RequestReturnList.as_view()),
    path("requestreturn/<int:pk>", views.RequestReturnDetail.as_view()),
    path("salesorderitem/", views.SalesOrderItemList.as_view()),
    path("salesorderitem/<int:pk>", views.SalesOrderItemDetail.as_view()),
    path("favorite/", views.FavoriteList.as_view()),
    path("favorite/<int:pk>", views.FavoriteDetail.as_view()),
    path("clientitemratereview/", views.ClientItemRateReviewList.as_view()),
    path("clientitemratereview/<int:pk>", views.ClientItemRateReviewDetail.as_view()),
    path("clientsupplierratereview/", views.ClientSupplierRateReviewList.as_view()),
    path(
        "clientsupplierratereview/<int:pk>",
        views.ClientSupplierRateReviewDetail.as_view(),
    ),
    path("feedback/", views.FeedbackList.as_view()),
    path("feedback/<int:pk>", views.FeedbackDetail.as_view()),
    path("request/", views.RequestList.as_view()),
    path("request/<int:pk>", views.RequestDetail.as_view()),
    path("policytype/", views.PolicyTypeList.as_view()),
    path("policytype/<int:pk>", views.PolicyTypeDetail.as_view()),
    path("policyheader/", views.PolicyHeaderList.as_view()),
    path("policyheader/<int:pk>", views.PolicyHeaderDetail.as_view()),
    path("policyheaderlanguage/", views.PolicyHeaderLanguageList.as_view()),
    path("policyheaderlanguage/<int:pk>", views.PolicyHeaderLanguageDetail.as_view()),
    path("policydescription/", views.PolicyDescriptionList.as_view()),
    path("policydescription/<int:pk>", views.PolicyDescriptionDetail.as_view()),
    path("policydescriptionlanguage/", views.PolicyDescriptionLanguageList.as_view()),
    path(
        "policydescriptionlanguage/<int:pk>",
        views.PolicyDescriptionLanguageDetail.as_view(),
    ),
    path("rechargecost/", views.RechargeCostList.as_view()),
    path("rechargecost/<int:pk>", views.RechargeCostDetail.as_view()),
    path("recharge/", views.RechargeList.as_view()),
    path("recharge/<int:pk>", views.RechargeDetail.as_view()),
    path("payment/", views.PaymentList.as_view()),
    path("payment/<int:pk>", views.PaymentDetail.as_view()),
    path("supplierpayment/", views.SupplierPaymentList.as_view()),
    path("accessory/", views.AccessoryList.as_view()),
    path("accessory/<int:pk>", views.AccessoryDetail.as_view()),
    path("accessorytransaction/", views.AccessoryTransactionList.as_view()),
    path("accessorytransaction/<int:pk>", views.AccessoryTransactionDetail.as_view()),
    path("employee/", views.EmployeeList.as_view()),
    path("employee/<int:pk>", views.EmployeeDetail.as_view()),
    path("systemtraffic/", views.SystemTrafficList.as_view()),
    path("systemtraffic/<int:pk>", views.SystemTrafficDetail.as_view()),
]
