import {get, post} from '../http'

const dashboard = {
  getProviderList: () => get('dashboard/getProviderList'),
  getHourlyUtilization: (providerPk) => get('dashboard/getHourlyUtilization', {providerPk}),
  getCardSection: (providerPk) => get('dashboard/getCardSection', {providerPk}),
  getRangeTab: () => get('dashboard/getBottomTab'),
  getBarChart: (params) => get('dashboard/getBottomChart', params),
  getSummaryInfo: (providerPk) => get('dashboard/summary/card', {providerPk}),
  getHourlyUtilizationV2: (providerPk) => get('dashboard/hourly/usage', {providerPk}),
  getBarChartV2: (params) => get('dashboard/bottom/chart', params),
}

export default dashboard