import{i as e,t}from"./axios-Yyz76XvX.js";import{$a as n,Ar as r,M as i,Qi as a,ot as o,xn as s}from"./endpoints-BWeG8ngA.js";async function c(n){return t.get(e+a+`/?nombre=${n}`,{headers:{Accept:`application/json`,"Content-Type":`application/json`}})}async function l(){return await t.get(e+r,{headers:{Accept:`application/json`,"Content-Type":`application/json`}})}async function u(n){return await t.get(e+s+`?departamento=${n}`,{headers:{Accept:`application/json`,"Content-Type":`application/json`}})}async function d(r){return await t.post(e+n,r,{headers:{Accept:`application/json`,"Content-Type":`application/json`}})}async function f(n,r){return await t.put(e+i+`/${n}`,r,{headers:{Accept:`application/json`,"Content-Type":`application/json`}})}async function p(n,r){return await t.put(e+o+`/${n}`,r,{headers:{Accept:`application/json`,"Content-Type":`application/json`}})}export{c as a,l as i,f as n,d as o,u as r,p as t};