// src/services/deviceService.js // // Thin wrapper around the core AV enrichment orchestrator (chat shape). // All heavy lifting (base collect, relevant Meraki filtering, shared matchers/enrichers, domain attach) lives in services/enrichment/*. // This keeps backward compat for callers (commands, characterize, avEnricher, etc). import { enrichAVForStore } from './enrichment/avEnrichmentCore.js'; export async function collectDeviceStatus(storeNumber) { // Thin delegation to core (chat shape preserves exact prior contract). return enrichAVForStore(storeNumber, { shape: 'chat' }); } export async function enrichDevices(rawData) { return rawData.mdm?.data || []; }