// Configuration file for SMS & Call History Dashboard
const CONFIG = {
    // Server configuration
    API_BASE_URL: 'http://bdinf.com', // Change this to your server URL
    
    // Database configuration (for reference)
    DB_CONFIG: {
        host: 'localhost',
        user: 'bdinfcom_SMS',
        password: '!8OGQ!K+V!==',
        database: 'bdinfcom_SMS'
    },
    
    // Name servers (for reference)
    NAME_SERVERS: [
        'four.server-network.net',
        'one.colorbytes.net',
        'one.server-network.net',
        'two.colorbytes.net'
    ],
    
    // Application settings
    RECORDS_PER_PAGE: 50,
    MAX_MESSAGE_LENGTH: 300,
    REFRESH_INTERVAL: 30000, // 30 seconds
    
    // Data type configurations
    DATA_TYPES: {
        sms: {
            name: 'SMS Messages',
            icon: 'fas fa-envelope',
            color: '#28a745'
        },
        calls: {
            name: 'Call History',
            icon: 'fas fa-phone',
            color: '#007bff'
        },
        location: {
            name: 'Location Data',
            icon: 'fas fa-map-marker-alt',
            color: '#dc3545'
        }
    },
    
    // Call types
    CALL_TYPES: {
        1: { name: 'Incoming', class: 'call-incoming' },
        2: { name: 'Outgoing', class: 'call-outgoing' },
        3: { name: 'Missed', class: 'call-missed' }
    },
    
    // SMS types
    SMS_TYPES: {
        1: { name: 'Inbox', class: 'sms-inbox' },
        2: { name: 'Sent', class: 'sms-sent' }
    }
};

