import{a as s}from"./vendor-utils-BveVE6Uf.js";import{fT as p,fU as m,fV as n}from"./index-IP_FWtso.js";const G=()=>{const a=async e=>(await s.get(n.GetConsummationInstructions,{params:e})).data,o=sessionStorage.getItem(p.token)||"",r=s.create({headers:{Authorization:`${m} ${o}`,"x-api-version":2}});return{getConsummationInstructions:a,GetConsummationSize:async e=>(await r.get("SalamatParameters/GetConsumptionSize",{params:e})).data,GetParaClinicTypes:async()=>(await s.get(n.GetSalamatParaClinicTypes)).data}},g=()=>({getParaClinicTypes:async()=>(await s.get(n.GetTaminParaClinicTypes)).data,GetConsumptionInstructions:async t=>(await s.get(n.GetConsumptionInstructions,{params:t})).data,GetUsages:async t=>(await s.get(n.GetUsages,{params:t})).data,GetConsumptionSize:async t=>(await s.get(n.GetConsumptionSize,{params:t})).data});export{G as S,g as T};
