import{aA as n,b as t,r as i,e as r}from"./bundle.CHKSNOJF.js";function u(e){const a=n();return t(["/api/v1/credits","create"],()=>i("GET",r("/api/v1/credits/create")).then(s=>s.data.data),{...e,staleTime:1/0,enabled:a("create_credit")?e?.enabled??!0:!1})}function c({id:e}){return t(["/api/v1/credits",e],()=>i("GET",r("/api/v1/credits/:id?include=client",{id:e})).then(a=>a.data.data),{staleTime:1/0})}export{c as a,u};
