import{j as e}from"./main.84523976.js";const n="ventas",r=async(s={})=>(await e.get(n,{params:s})).data,c=async s=>(await e.get(`${n}/${s}`)).data,i=async s=>(await e.post(n,s)).data,p=async s=>(await e.post(`${n}/importar-pedido`,s)).data,d=async(s={})=>(await e.get(`${n}/pedidos-pendientes-pago`,{params:s})).data,l=async(s,a)=>(await e.post(`${n}/${s}/registrar-pagos`,a)).data,u=async s=>(await e.post(`${n}/${s}/cancelar`,{})).data,$=async(s,a={})=>(await e.post(`${n}/${s}/solicitar-cancelacion`,a)).data,g=async()=>(await e.get(`${n}/cancelacion-solicitudes/pendientes`)).data,w=async(s,a)=>(await e.post(`${n}/cancelacion-solicitudes/${s}/resolver`,a)).data,y=async(s,a={})=>(await e.post(`${n}/${s}/finalizar-pedido`,a)).data,P=async(s,a)=>(await e.put(`${n}/${s}/ajustar-vehiculos`,a)).data;export{c as a,d as b,i as c,u as d,g as e,y as f,r as g,P as h,w as i,p as j,l as r,$ as s};
