import{i as e,t}from"./axios-Yyz76XvX.js";import{In as n,cn as r,ha as i,sn as a,yn as o}from"./endpoints-BWeG8ngA.js";async function s(n){return await t.get(e+a+`?fecha=${n}`,{headers:{Accept:`application/json`,"Content-Type":`application/json`}})}async function c(n,i){return await t.get(e+r+`?inicio=${n}&&fin=${i}`,{headers:{Accept:`application/json`,"Content-Type":`application/json`}})}async function l(n){return await t.get(e+o+`?usuario=${n}`,{headers:{Accept:`application/json`,"Content-Type":`application/json`}})}async function u(n){return await t.post(e+i,n,{headers:{Accept:`application/json`,"Content-Type":`application/json`}})}async function d(r,i){return await t.get(e+n+`?fecha1=${r}&&fecha2=${i}`,{headers:{Accept:`application/json`,"Content-Type":`application/json`}})}export{u as a,l as i,c as n,d as r,s as t};