import{a as l}from"./chunk-7N232KV6.js";import{e as r,i as m}from"./chunk-NDLDFKR2.js";import{K as a,fa as o,ka as s}from"./chunk-PVUKHE45.js";var u=(()=>{let e=class e{constructor(t){this._http=t}getTemplate(t){let i=new r().set("companyId",t);return this._http.get("/api/ticket-template",{params:i})}updateTemplate(t,i){let c=new r().set("companyId",t);return this._http.put("/api/ticket-template",i,{params:c})}uploadLogo(t,i){let c=new r().set("companyId",t),n=new FormData;return n.append("logo",i),this._http.post("/api/ticket-template/logo",n,{params:c})}deleteLogo(t){let i=new r().set("companyId",t);return this._http.delete("/api/ticket-template/logo",{params:i})}sync(){return this._http.post("/api/ticket-template/sync",{},{headers:l})}};e.\u0275fac=function(i){return new(i||e)(s(m))},e.\u0275prov=o({token:e,factory:e.\u0275fac});let p=e;return p})();var T=(()=>{let e=class e{constructor(t){this._ticketTemplatesServiceApi=t}getTemplate(t){return this._ticketTemplatesServiceApi.getTemplate(t).pipe(a(1))}updateTemplate(t,i){return this._ticketTemplatesServiceApi.updateTemplate(t,i).pipe(a(1))}uploadLogo(t,i){return this._ticketTemplatesServiceApi.uploadLogo(t,i).pipe(a(1))}deleteLogo(t){return this._ticketTemplatesServiceApi.deleteLogo(t).pipe(a(1))}sync(){return this._ticketTemplatesServiceApi.sync().pipe(a(1))}};e.\u0275fac=function(i){return new(i||e)(s(u))},e.\u0275prov=o({token:e,factory:e.\u0275fac});let p=e;return p})();export{u as a,T as b};
//# sourceMappingURL=chunk-GTHVDOC6.js.map
