import AccountRoutes from "./AdminRoutes/AccountRoutes";
import AdjustInventoryRoutes from "./AdminRoutes/AdjustInventoryRoutes";
import BrandRoutes from "./AdminRoutes/BrandRoutes";
import CategoryRoutes from "./AdminRoutes/CategoryRoutes";
import CommonRoutes from "./AdminRoutes/CommonRoutes";
import CouponRoutes from "./AdminRoutes/CouponRoutes";
import CourierMediumRoutes from "./AdminRoutes/CourierMediumRoutes";
import CustomerRoutes from "./AdminRoutes/CustomerRoutes";
import DepartmentRoutes from "./AdminRoutes/DepartmentRoutes";
import DesignationRoutes from "./AdminRoutes/DesignationRoutes";
import EmploymentRoutes from "./AdminRoutes/EmploymentRoutes";
import manufacturerRoutes from "./AdminRoutes/ManufacturerRoutes";
import OrderRoutes from "./AdminRoutes/OrderRoutes";
import PaymentRoutes from "./AdminRoutes/PaymentRoutes";
import ProductRoutes from "./AdminRoutes/ProductRoutes";
import PurchaseRoutes from "./AdminRoutes/PurchaseRoutes";
import QuotationRoutes from "./AdminRoutes/QuotationRoutes";
import RoleRoutes from "./AdminRoutes/RoleRoutes";
import useSaleRoutes from "./AdminRoutes/SaleRoutes";
import ShiftRoutes from "./AdminRoutes/ShiftRoutes";
import StaffRoutes from "./AdminRoutes/StaffRoutes";
import storeRoutes from "./AdminRoutes/StoreRoutes";
import SubCategoryRoutes from "./AdminRoutes/SubCategoryRoutes";
import SupplierRoutes from "./AdminRoutes/SupplierRoutes";
import TermsAndConditionRoutes from "./AdminRoutes/TermsAndConditionRoutes";
import TransactionRoutes from "./AdminRoutes/TransactionRoutes";
import UomRoutes from "./AdminRoutes/UomRoutes";
import VatTaxRoutes from "./AdminRoutes/VatTaxRoutes";
import useSettingRoutes from "./AdminRoutes/useSettingRoutes";

export default function useAdminRoutes() {
  const SaleRoutes = useSaleRoutes();
  const SettingsRoutes = useSettingRoutes();
  const routes = [
    ...ProductRoutes,
    ...AdjustInventoryRoutes,
    ...SupplierRoutes,
    ...CategoryRoutes,
    ...SubCategoryRoutes,
    ...BrandRoutes,
    ...VatTaxRoutes,
    ...PurchaseRoutes,
    ...CustomerRoutes,
    ...SaleRoutes,
    ...TransactionRoutes,
    ...StaffRoutes,
    ...RoleRoutes,
    ...AccountRoutes,
    ...DesignationRoutes,
    ...QuotationRoutes,
    ...TermsAndConditionRoutes,
    ...CouponRoutes,
    ...DepartmentRoutes,
    ...ShiftRoutes,
    ...EmploymentRoutes,
    ...OrderRoutes,
    ...CourierMediumRoutes,
    ...PaymentRoutes,
    ...UomRoutes,
    ...CommonRoutes,
    ...manufacturerRoutes,
    ...storeRoutes,
    ...SettingsRoutes,
  ];

  return routes;
}
