import{a as h}from"./chunk-PLVHWZTL.js";import{a as p}from"./chunk-PDYJ5OYY.js";import{i as s}from"./chunk-YMOV4UGM.js";import{ga as n,la as a}from"./chunk-I3FGJX2C.js";var l=(()=>{let e=class e{constructor(t){this._http=t}uploadPhoto(t,o){let i=new FormData;return i.append("photo",o.file),this._http.post(`/api/nomenclature-photo/${t}`,i)}getPhotos(t){return this._http.get(`/api/nomenclature-photo/${t}`)}reorder(t,o){return this._http.put(`/api/nomenclature-photo/${t}/reorder`,o)}remove(t,o){return this._http.delete(`/api/nomenclature-photo/${t}/${o}`)}downloadPhoto(t){return this._http.get(t,{responseType:"blob"})}getCoversUrl(t){let o=h.append(p.SkipError,"skipError");return o.append(p.SkipTimeout,"skipTimeout"),this._http.post("/api/nomenclature-photo/covers",{nomenclatureIds:t},{headers:o})}};e.\u0275fac=function(o){return new(o||e)(a(s))},e.\u0275prov=n({token:e,factory:e.\u0275fac,providedIn:"root"});let r=e;return r})();export{l as a};
//# sourceMappingURL=chunk-CVTGGGHD.js.map
