import { api } from './client'

export function fetchSepsisBundles({ status = 'IN_PROGRESS', page = 1, pageSize = 100 } = {}) {
  const params = new URLSearchParams({
    page: String(page),
    pageSize: String(pageSize),
  })
  if (status) params.set('status', status)
  return api.get(`/api/v1/sepsis-bundles?${params}`)
}
