import{a as s}from"./chunk-7N232KV6.js";import{e as u,i as m}from"./chunk-NDLDFKR2.js";import{fa as p,ka as h}from"./chunk-PVUKHE45.js";import{a as i}from"./chunk-MZPAXKJS.js";var g=(()=>{let r=class r{constructor(t){this._http=t}getProductRemains(t,e){return this._http.post(`/api/warehouse/${t}/remains`,i({},e),{headers:s})}getProductRemainsDataView(t,e,n=!1){let o=new u;return o=o.append("includeCover",n),this._http.post(`/api/warehouse/${t}/remains/dataview`,i({},e),{params:o,headers:s})}getProductRemainsForRevision(t,e,n=!0){return this._http.post(`/api/warehouse/${t}/remains-for-revisions`,i({},e),{headers:n?s:void 0})}getProductRemainById(t){return this._http.get(`/api/remains/${t}`)}editProductRemain(t,e){return this._http.put(`/api/remains/${t}`,i({},e))}getProductRemainConsignments(t,e){return this._http.post(`/api/remains/${t}/consignments`,i({},e),{headers:s})}getProductRemainHistory(t,e){return this._http.post(`/api/remains/${t}/history`,i({},e),{headers:s})}getCalculatedProductsCost(t){return this._http.post("/api/remains/calculate-cost",t)}};r.\u0275fac=function(e){return new(e||r)(h(m))},r.\u0275prov=p({token:r,factory:r.\u0275fac});let a=r;return a})();export{g as a};
//# sourceMappingURL=chunk-YZQRUE7W.js.map
