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/?page_size=500", contact: "contact/", statistics: "statistics/", filter: { size: "size/", sizePageItems: "size/?page_size=500", sizeCategoryId:(id:number)=>`size/?category=${id}&page_size=500`, catalog: "catalog/", catalogPageItems: "catalog/?page_size=500", catalogCategoryId:(id:number)=>`catalog/?category=${id}&page_size=500`, }, post: { sendNumber: "callBack/", productContact: "customer/", contact: "question/", }, };