import{a as o}from"./apiClient-BjaOLWhY.js";const a={getAll:t=>o("/products",{params:t}),getLowStock:()=>o("/admin/low-stock"),create:t=>o("/admin/products",{body:t}),update:(t,d)=>o(`/admin/products/${t}`,{method:"PUT",body:d}),delete:t=>o(`/admin/products/${t}`,{method:"DELETE"})};export{a as p};
