from typing import Any

CRON_JOBS: list[dict[str, Any]] = [
    {
        "key": "daily-reminders",
        "cron_expression": "0 6 * * *",
        "target_service": "ReminderService",
        "target_handler": "daily_reminder_sweep",
        "payload": None,
    },
    {
        "key": "cleanup-noshows",
        "cron_expression": "0 2 * * *",
        "target_service": "CleanupService",
        "target_handler": "process_noshows",
        "payload": None,
    },
    {
        "key": "cleanup-conversations",
        "cron_expression": "0 3 * * 0",
        "target_service": "CleanupService",
        "target_handler": "cleanup_old_conversations",
        "payload": None,
    },
    {
        "key": "close-stale-conversations",
        "cron_expression": "0 4 * * *",  # Daily at 04:00 UTC
        "target_service": "CleanupService",
        "target_handler": "close_stale_conversations",
        "payload": None,
    },
    {
        "key": "cleanup-orphan-teams",
        "cron_expression": "0 5 * * *",  # Daily at 05:00 UTC
        "target_service": "CleanupService",
        "target_handler": "cleanup_orphan_teams",
        "payload": None,
    },
]
