import{a as s}from"./chunk-PLVHWZTL.js";import{e as u,i as m}from"./chunk-YMOV4UGM.js";import{ga as p,la as h}from"./chunk-I3FGJX2C.js";import{a as i}from"./chunk-B7YGBANW.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-KODRRJVA.js.map
