import{i as e,t}from"./axios-Ba4xKhTU.js";import{Jn as n,Wa as r,Yn as i,qn as a}from"./endpoints-DlZlVT68.js";async function o(n){return await t.get(e+a+`/?idArticuloAMP=${n}`,{headers:{Accept:`application/json`,"Content-Type":`application/json`}})}async function s(r,i,a){return await t.get(e+n+`/?idArticuloAMP=${r}&&inicio=${i}&&fin=${a}`,{headers:{Accept:`application/json`,"Content-Type":`application/json`}})}async function c(n,r){return await t.get(e+i+`/?inicio=${n}&&fin=${r}`,{headers:{Accept:`application/json`,"Content-Type":`application/json`}})}async function l(n){return await t.post(e+r,n,{headers:{Accept:`application/json`,"Content-Type":`application/json`}})}export{l as i,s as n,c as r,o as t};