import{i as e,t}from"./axios-Yyz76XvX.js";import{Fi as n,K as r,_t as i,i as a,ma as o,pr as s,ui as c,xo as l}from"./endpoints-BWeG8ngA.js";async function u(n,r){return await t.get(e+s+`/?pagina=${n}&&limite=${r}`,{headers:{Accept:`application/json`,"Content-Type":`application/json`}})}async function d(){return await t.get(e+l,{headers:{Accept:`application/json`,"Content-Type":`application/json`}})}async function f(n){return await t.post(e+o,n,{headers:{Accept:`application/json`,"Content-Type":`application/json`}})}async function p(n){return await t.get(e+c+`/${n}`,{headers:{Accept:`application/json`,"Content-Type":`application/json`}})}async function m(n,r){return await t.put(e+a+`/${n}`,r,{headers:{Accept:`application/json`,"Content-Type":`application/json`}})}async function h(n,r){return await t.delete(e+i+`/${n}`,r,{headers:{Accept:`application/json`,"Content-Type":`application/json`}})}async function g(r,i,a){return await t.get(e+n+`/?searchTerm=${r}&&pagina=${i}&&limite=${a}`,{headers:{Accept:`application/json`,"Content-Type":`application/json`}})}async function _(n){return await t.get(e+r+`?ids=${n}`,{headers:{Accept:`application/json`,"Content-Type":`application/json`}})}export{u as a,d as c,g as i,_ as n,p as o,h as r,f as s,m as t};