<?php
/**
 * Configuration example file
 * 
 * Copy this file to config.php and update with your settings
 */

// API Configuration
define('API_VERSION', 'v1');
define('API_BASE_URL', 'https://api.deywuro.com/' . API_VERSION);

// Primary Database Configuration (Deywuro existing DB)
define('PRIMARY_DB_HOST', 'localhost');
define('PRIMARY_DB_PORT', 3306);
define('PRIMARY_DB_USER', 'db_user');
define('PRIMARY_DB_PASS', 'db_password');
define('PRIMARY_DB_NAME', 'hellio');

// API Database Configuration (New DB for API-specific tables)
define('API_DB_HOST', 'localhost');
define('API_DB_PORT', 3306);
define('API_DB_USER', 'db_user');
define('API_DB_PASS', 'db_password');
define('API_DB_NAME', 'sender_id_api');

// Rate Limiting Configuration
define('RATE_LIMIT_HOUR', 100);    // 100 requests per hour
define('RATE_LIMIT_DAY', 1000);    // 1000 requests per day

// SMS Configuration
define('SMS_API_URL', 'https://api.example.com/sms/send');
define('SMS_API_KEY', 'your_sms_api_key');
define('SMS_SOURCE', 'DEYWURO');

// Email Configuration
define('ADMIN_EMAIL', 'admin@example.com');
define('ADMIN_PHONE_NUMBERS', '0123456789,9876543210');

// Logging Configuration
define('LOG_LEVEL', 'INFO');  // DEBUG, INFO, WARNING, ERROR
define('LOG_PATH', __DIR__ . '/../logs');

// API Request Timeout
define('API_TIMEOUT', 30);    // 30 seconds

// Webhook Configuration
define('WEBHOOK_MAX_RETRIES', 3);
define('WEBHOOK_RETRY_DELAY', 300);  // 5 minutes

// Default API Client
define('DEFAULT_CLIENT_ID', 'test_client');
define('DEFAULT_API_KEY', 'test_api_key_12345'); 