import{T as o,U as u,H as c}from"./index-C5GbdPxY.js";function p(s){return o.get(`/v1/pos/cash-movements/${s}`)}function h(s){return o.post("/v1/pos/cash-movements",s)}function d(){const s=u(),{t:n}=c();return{getShowData:async r=>{var e,a;try{return{status:200,data:(await p(r)).data.body}}catch(t){return((e=t==null?void 0:t.response)==null?void 0:e.status)!==404&&s.error(n("core::errors.an_unexpected_error_occurred")),{status:(a=t==null?void 0:t.response)==null?void 0:a.status}}},store:h}}export{d as u};
