<?php

// 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', '144.76.195.8');
define('PRIMARY_DB_PORT', 3117);  // Default MySQL port, adjust if necessary
define('PRIMARY_DB_USER', 'eaidoo');
define('PRIMARY_DB_PASS', 'eaidoHe11#0');
define('PRIMARY_DB_NAME', 'hellio');

// API Database Configuration (New DB for API-specific tables)
define('API_DB_HOST', 'localhost');
define('API_DB_PORT', 3306);  // Default MySQL port, adjust if necessary
define('API_DB_USER', 'root');
define('API_DB_PASS', 'Ebogigatt@027');
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://deywuro.com/api/sms');
define('SMS_USERNAME', 'npontutest');
define('SMS_PASSWORD', 'npontutest');
define('SMS_SOURCE', 'DEYWURO');

// Email Configuration
define('ADMIN_EMAIL', 'support@npontu.com');
define('ADMIN_PHONE_NUMBERS', '0244304528,0243375520');

// Logging Configuration
define('LOG_DIRECTORY', __DIR__ . '/../logs');
define('LOG_LEVEL', 'info');  // debug, info, warning, error

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

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