<?php

return [
    /*
    |--------------------------------------------------------------------------
    | TQL Solved SMS Gateway Configuration
    |--------------------------------------------------------------------------
    |
    | Configuration for TQL Solved SMS Gateway
    | API Documentation: https://sms.tqlsolved.com/
    |
    */
    
    'default' => env('SMS_PROVIDER', 'tqlsolved'),
    
    'providers' => [
        'tqlsolved' => [
            'username' => env('SMS_USERNAME'),
            'password' => env('SMS_PASSWORD'),
            'gateway_id' => env('SMS_GATEWAY_ID'),
            'api_url' => 'https://sms.tqlsolved.com/smsapi',
            'balance_url' => 'https://sms.tqlsolved.com/smsbalance',
            'sender_id' => env('SMS_SENDER_ID', 'AMBG'), // Default sender ID
        ],
    ],
    
    /*
    |--------------------------------------------------------------------------
    | SMS Templates
    |--------------------------------------------------------------------------
    |
    | Predefined SMS templates for different purposes
    |
    */
    'templates' => [
        'saving_reminder' => 'Dear {member_name}, your {month_year} savings of {amount} Tk is due. Please pay by {due_date}. - AMBAGAN YUBA',
        'loan_approval' => 'Dear {member_name}, your loan of {amount} Tk has been approved. Installment: {installment} Tk/month. - AMBAGAN YUBA',
        'meeting_reminder' => 'Dear member, monthly meeting on {date} at {time} at {venue}. Please attend. - AMBAGAN YUBA',
        'payment_confirmation' => 'Dear {member_name}, your payment of {amount} Tk received. Thank you. - AMBAGAN YUBA',
    ],
    
    /*
    |--------------------------------------------------------------------------
    | SMS Settings
    |--------------------------------------------------------------------------
    |
    | General SMS settings
    |
    */
    'settings' => [
        'enabled' => env('SMS_ENABLED', true),
        'test_mode' => env('SMS_TEST_MODE', false),
        'test_number' => env('SMS_TEST_NUMBER'),
        'log_sms' => env('SMS_LOG_ENABLED', true),
        'max_length' => 160, // Standard SMS length
        'unicode_support' => true, // Support for Bengali/Unicode
    ],
];