export const API_ENDPOINTS = { AUTH: { REGISTER: "/auth/register", LOGIN: "/auth/login", ME: "/auth/me", PROFILE: "/auth/profile", CHANGE_PASSWORD: "/auth/change-password", FORGOT_PASSWORD: "/auth/forgot-password", RESET_PASSWORD: "/auth/reset-password", }, ACCESS: { ME: "/access/me", }, CART: { CALCULATE: "/cart/calculate", }, CHECKOUT: { CONFIG: "/checkout/config", CREATE_ORDER: "/checkout/create-order", VERIFY: "/checkout/verify", INVOICE: (paymentId: string) => `/checkout/payment/${encodeURIComponent(paymentId)}/invoice`, }, MODULE: "/module", CONTENTS: "/contents", MODULES: "/contents/modules", MODULE_CONTENTS: "/contents/module-contents", MODULE_TEMPLATE_CONTENTS: "/contents/module-template-contents", MODULE_TEMPLATE_CONTENT_DETAILS: "/contents/module-template-content-details", TEMPLATES: "/contents/templates", } as const;