import { ErpSyncStats, ErpEndpoint } from '../types'; export const initialErpSyncStats: ErpSyncStats = { status: 'Operasional', recordsSyncedToday: 15480, lastSync: new Date(Date.now() - 15 * 60 * 1000), // 15 minutes ago }; export const initialErpEndpoints: ErpEndpoint[] = [ { id: 'ep1', name: 'API Inventori Gudang', url: 'https://erp.cp.co.id/api/v1/inventory', status: 'OK', lastChecked: new Date(Date.now() - 1 * 60 * 1000), avgResponseTime: 120, }, { id: 'ep2', name: 'API Data Penjualan Harian', url: 'https://erp.cp.co.id/api/v1/sales', status: 'OK', lastChecked: new Date(Date.now() - 2 * 60 * 1000), avgResponseTime: 180, }, { id: 'ep3', name: 'API Data Keuangan', url: 'https://erp.cp.co.id/api/v1/finance', status: 'DEGRADED', lastChecked: new Date(Date.now() - 30 * 1000), avgResponseTime: 1500, }, { id: 'ep4', name: 'API Logistik & Pengiriman', url: 'https://erp.cp.co.id/api/v1/logistics', status: 'DOWN', lastChecked: new Date(Date.now() - 5 * 60 * 1000), avgResponseTime: 0, }, { id: 'ep5', name: 'API Sumber Daya Manusia (HR)', url: 'https://erp.cp.co.id/api/v1/hr', status: 'OK', lastChecked: new Date(Date.now() - 4 * 60 * 1000), avgResponseTime: 90, }, ];