import{a as i}from"./chunk-KXX3UDJ3.js";import{f as h,j as m}from"./chunk-GQAU5ACB.js";import{la as o,pa as p}from"./chunk-ISMRT7VU.js";import{a as r}from"./chunk-M5TX2NVG.js";var l=(()=>{class s{constructor(t){this._http=t}getProductRemains(t,e){return this._http.post(`/api/warehouse/${t}/remains`,r({},e),{headers:i})}getProductRemainsDataView(t,e,a=!1){let n=new h;return n=n.append("includeCover",a),this._http.post(`/api/warehouse/${t}/remains/dataview`,r({},e),{params:n,headers:i})}getProductRemainsForRevision(t,e,a=!0){return this._http.post(`/api/warehouse/${t}/remains-for-revisions`,r({},e),{headers:a?i:void 0})}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:i})}getProductRemainHistory(t,e){return this._http.post(`/api/remains/${t}/history`,r({},e),{headers:i})}getCalculatedProductsCost(t){return this._http.post("/api/remains/calculate-cost",t)}static{this.\u0275fac=function(e){return new(e||s)(p(m))}}static{this.\u0275prov=o({token:s,factory:s.\u0275fac})}}return s})();export{l as a};
//# sourceMappingURL=chunk-HECH75A2.js.map
