<?php

return [
    'dispatch_time' => env('REMINDER_DISPATCH_TIME', '08:00'),

    'providers' => [
        'nextsms' => [
            'endpoint' => env('NEXTSMS_ENDPOINT', 'https://messaging-service.co.tz/api/sms/v1/text/single'),
            'timeout' => (int) env('NEXTSMS_TIMEOUT', 15),
            'default_country_code' => env('NEXTSMS_DEFAULT_COUNTRY_CODE', '255'),
        ],
        // Kept only as a backward-compatible fallback for older installations.
        'sms' => [
            'endpoint' => env('REMINDER_SMS_ENDPOINT'),
            'token' => env('REMINDER_SMS_TOKEN'),
            'timeout' => (int) env('REMINDER_SMS_TIMEOUT', 15),
        ],
        'whatsapp' => [
            'endpoint' => env('REMINDER_WHATSAPP_ENDPOINT'),
            'token' => env('REMINDER_WHATSAPP_TOKEN'),
            'timeout' => (int) env('REMINDER_WHATSAPP_TIMEOUT', 15),
        ],
    ],
];
