import type { KbxExternalDataStatusResponse } from '@kbx/contracts'
import { kbxApi } from '../../../http/generated/kbxApiClient'
export const externalDataApi={
  status:()=>kbxApi.request<KbxExternalDataStatusResponse>('common.externalData.status'),
  refresh:(datasetId:string)=>kbxApi.request('common.externalData.refresh',{path:{datasetId}}),
}
