import request from '@/utils/request'

export interface VendorLoadVO {
  vendor: string
  vendorName: string
  maxConcurrent: number
  currentLoad: number
  chainCodes: string[]
}

export function getVendorLoad() {
  return request.get<never, { code: number; data: VendorLoadVO[] }>(
    '/api/robot/external/admin/machine-task/vendor/load',
  )
}
