wulf-pulse/app/api/sync
lorentz 51f0b32cb3 feat(260521-fci-01): add ticket reconciliation service + API route
- New lib/services/ticket-reconciliation-service.ts: reconcileStaleTickets()
  scans tickets where is_deleted=false AND status<>5 AND synced_at older than
  7 days (capped at 500), re-fetches each from Autotask, and either upserts
  via the webhook SQL pattern or soft-deletes when Autotask returns null.
- Returns { scanned, updated, statusFlippedToComplete, softDeleted, errors }.
- New POST /api/sync/reconcile-tickets — fire-and-forget trigger mirroring
  /api/sync/incremental (public per existing middleware allowlist).
2026-05-21 11:08:24 -04:00
..
classifications feat: Mimecast multi-tenant held mail viewer 2026-03-31 22:38:22 -04:00
entity Add comprehensive admin features and multi-system integration 2025-11-19 14:18:16 -05:00
full Add comprehensive admin features and multi-system integration 2025-11-19 14:18:16 -05:00
history feat: add tabs to sync page and fix pagination 2026-01-24 07:57:09 -05:00
incremental Add comprehensive admin features and multi-system integration 2025-11-19 14:18:16 -05:00
last-sync Add comprehensive admin features and multi-system integration 2025-11-19 14:18:16 -05:00
mimecast feat: Mimecast email integration — message logs, threat events, 120d retention, admin UI 2026-03-17 16:23:47 -04:00
progress Add comprehensive admin features and multi-system integration 2025-11-19 14:18:16 -05:00
reconcile-tickets feat(260521-fci-01): add ticket reconciliation service + API route 2026-05-21 11:08:24 -04:00
schedules feat: RMM Overshell, IT Glue audit/write-back, LogLift, link-aware bundles, dashboard overhaul 2026-05-03 07:13:18 -04:00
status Add comprehensive admin features and multi-system integration 2025-11-19 14:18:16 -05:00
tenants-sites feat: add tenants/sites sync for accurate dashboard stats 2026-02-02 23:02:34 -05:00
tickets-chunked Add comprehensive admin features and multi-system integration 2025-11-19 14:18:16 -05:00