export const endPoints = { category: { all: "category/", }, subCategory: { byId: (id: number) => `subCategory/?category=${id}`, }, product: { byCategory: (categoryId: number) => `product/?category=${categoryId}`, bySubCategory: (subCategoryId: number) => `product/?subCategory=${subCategoryId}`, detail: (id: number) => `product/${id}/`, }, faq: "faq/", gallery: "gallery/", contact: "contact/", statistics: "statistics/", post: { sendNumber: "callBack/", productContact: "customer/", contact: "question/", }, };