import{a as s}from"./chunk-PLVHWZTL.js";import{i as p}from"./chunk-YMOV4UGM.js";import{ga as n,la as o}from"./chunk-I3FGJX2C.js";import{a as i}from"./chunk-B7YGBANW.js";var d=(()=>{let r=class r{constructor(t){this._http=t}getProductRemains(t,e){return this._http.post(`/api/warehouse/${t}/remains`,i({},e),{headers:s})}getProductRemainsForRevision(t,e,c=!0){return this._http.post(`/api/warehouse/${t}/remains-for-revisions`,i({},e),{headers:c?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)(o(p))},r.\u0275prov=n({token:r,factory:r.\u0275fac});let a=r;return a})();export{d as a};
//# sourceMappingURL=chunk-QKPMVUCD.js.map
