import{a as c}from"./chunk-KXX3UDJ3.js";import{f as p,j as o}from"./chunk-GQAU5ACB.js";import{la as a,pa as i}from"./chunk-ISMRT7VU.js";var f=(()=>{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 s=new p;return s=s.append("includeCover",h),this._http.post(`/api/showcase/${r}/products`,t,{params:s,headers:c})}static{this.\u0275fac=function(r){return new(r||e)(i(o))}}static{this.\u0275prov=a({token:e,factory:e.\u0275fac})}}return e})();export{f as a};
//# sourceMappingURL=chunk-CHJ4ZSZK.js.map
