import { Environments } from "./environment";

export const ROUTES = {
  auth: {
    login: "/auth/login",
  },
  aleta: {
    aletaWithCode: (code: string) => `/aleta?code=${code}`,
    aletaDashboard: `/aleta/dashboard`,
    aletaStatus: `/aleta/kyc-status`,
    aletaFee: `/aleta/kyc-fee`,
  },
  dashboard: {
    products: "/products",

    // Normal cart
    cart: "/cart",
    checkout: "/shipping-method",
    payment: "/payment",

    profile: "/profile",
    orders: "/orders",
    ordersDetails: "/order-details",
    wiki: "https://docs.hmall.shop",
    termsAndConditions:
      " https://docs.hmall.shop/legal-docs/terms-and-conditions",
    riskDisclosure: "https://docs.hmall.shop/legal-docs/risk-disclosure-policy",
    privacyPolicy:
      "https://docs.hmall.shop/legal-docs/privacy-and-cookie-policy",
    support: "https://support.hmall.shop/support/home",
    nodeLinkProfile: Environments.NODE_LINK.profileUrl || "",
    nodeLinkDeposit: Environments.NODE_LINK.depositUrl || "",
  },
  // shipping: {
  //   orders: "/shipping-orders",
  //   methods: "/shipping-method",
  //   // payments: "/initiate-delivery/payment-method",
  //   // review: "/initiate-delivery/shipping-review",
  //   orderDetails: "/shipping-order",
  // },
};
