import{a as s}from"./chunk-KFDEPCY3.js";import{f as o}from"./chunk-GYAYEJFB.js";import{ea as a,ka as n}from"./chunk-LEOKSAW2.js";import{a as r}from"./chunk-K4ALXBGI.js";var m=(()=>{class i{constructor(t){this._http=t}getProductRemains(t,e){return this._http.post(`/api/warehouse/${t}/remains`,r({},e),{headers:s})}getProductRemainsForRevision(t,e){return this._http.post(`/api/warehouse/${t}/remains-for-revisions`,r({},e),{headers:s})}getProductRemainById(t){return this._http.get(`/api/remains/${t}`)}editProductRemain(t,e){return this._http.put(`/api/remains/${t}`,r({},e))}getProductRemainConsignments(t,e){return this._http.post(`/api/remains/${t}/consignments`,r({},e),{headers:s})}getProductRemainHistory(t,e){return this._http.post(`/api/remains/${t}/history`,r({},e),{headers:s})}getCalculatedProductsCost(t){return this._http.post("/api/remains/calculate-cost",t)}static{this.\u0275fac=function(e){return new(e||i)(n(o))}}static{this.\u0275prov=a({token:i,factory:i.\u0275fac})}}return i})();export{m as a};
