34 lines
1008 B
PHP
34 lines
1008 B
PHP
<?php
|
|
// V68 auto-enriched stub for: Inbox Monitor
|
|
// Source: /api/wevia-v64-departments-kpi.php (ZERO fake, ZERO hardcode)
|
|
header('Content-Type: application/json');
|
|
echo json_encode([
|
|
'agent' => 'Inbox Monitor',
|
|
'id' => 'agent_inbox_monitor',
|
|
'status' => 'enriched_v68',
|
|
'version' => 'V68',
|
|
'department' => [
|
|
'id' => 'wevads',
|
|
'label' => 'WEVADS Email Platform',
|
|
'sap_module' => 'Custom'
|
|
],
|
|
'kpi' => [
|
|
'label' => 'Inbox rate',
|
|
'target' => 85,
|
|
'unit' => '%',
|
|
'current_status' => 'warn',
|
|
'current_value' => 0,
|
|
'gap_ratio_pct' => 100,
|
|
'action_required' => 'Wire integration with Custom data source'
|
|
],
|
|
'next_steps' => [
|
|
'1. Connect to Custom via BAPI/API',
|
|
'2. Implement Inbox rate calculation',
|
|
'3. Add monitoring (alert if value < target 85%)',
|
|
'4. Register in registry resolver',
|
|
'5. Update status -> active'
|
|
],
|
|
'wired_from_source' => '/api/wevia-v64-departments-kpi.php',
|
|
'enriched_at' => date('c')
|
|
], JSON_PRETTY_PRINT);
|