import { apiRequest } from "@/shared/api/request";
import { API_OPERATIONS, apiEndpointPath } from "@/shared/api/generated/endpoints";
import type { DashboardOverviewDto } from "@/shared/api/types";

export function getDashboardOverview(): Promise<DashboardOverviewDto> {
  return apiRequest<DashboardOverviewDto>(apiEndpointPath(API_OPERATIONS.dashboardOverview));
}
