import{l as s,m as e}from"./index-C9vqJYWU.js";const D={getDashboardSummary:async()=>{const{data:a}=await s.get(e.DASHBOARD_SUMMARY);return a.data||a},getRecentActivity:async(a=10)=>{const{data:t}=await s.get(e.DASHBOARD_RECENT_ACTIVITY,{params:{limit:a}});return t.data||t},getBudgetDashboard:async a=>{const{data:t}=await s.get(e.BUDGET_DASHBOARD_REPORT,{params:a});return t.data},exportDashboard:async(a,t,r="pdf")=>{const n={budget:e.BUDGET_DASHBOARD_REPORT},{data:o}=await s.get(n[a],{params:{...t,export:r},responseType:"blob"});return o}};export{D as d};
