import{d as o,n as t,f as n}from"./index-DJXN7D4i.js";const c={async getInvoices(){try{const e=await o.get("/hotel/invoices");return t(e)}catch(e){return n(e)}},async getCustomerInvoices(){try{const e=await o.get("/customer/invoices");return t(e)}catch(e){return n(e)}},async downloadInvoice(e){try{const r=await o.get(`/hotel/invoices/${e}/download`);return t(r)}catch(r){return n(r)}}};export{c as i};
