import{a as n}from"./chunk-PLVHWZTL.js";import{e as o,i as c}from"./chunk-YMOV4UGM.js";import{ga as i,la as p}from"./chunk-I3FGJX2C.js";var w=(()=>{let e=class e{constructor(t){this._http=t}create(t){return this._http.post("/api/showcase",t)}edit(t,r){return this._http.put(`/api/showcase/${r}`,t)}current(){return this._http.get("/api/showcase/current")}get(t){return this._http.get(`/api/showcase/${t}`)}suspend(t){return this._http.post(`/api/showcase/${t}/suspend`,{})}activate(t){return this._http.post(`/api/showcase/${t}/activate`,{})}products(t,r,h=!0){let a=new o;return a=a.append("includeCover",h),this._http.post(`/api/showcase/${r}/products`,t,{params:a,headers:n})}};e.\u0275fac=function(r){return new(r||e)(p(c))},e.\u0275prov=i({token:e,factory:e.\u0275fac});let s=e;return s})();export{w as a};
//# sourceMappingURL=chunk-ZYBQ4EPB.js.map
