<?php

return [
    'enabled' => env('DATAFORSEO_ENABLED', true),
    'login' => env('DATAFORSEO_LOGIN'),
    'password' => env('DATAFORSEO_PASSWORD'),
    'base_url' => env('DATAFORSEO_BASE_URL', 'https://api.dataforseo.com'),
    'location_name' => env('DATAFORSEO_LOCATION_NAME', 'Mexico'),
    'language_code' => env('DATAFORSEO_LANGUAGE_CODE', 'es'),
    'device' => env('DATAFORSEO_DEVICE', 'desktop'),
    'os' => env('DATAFORSEO_OS', 'windows'),
    'depth' => (int) env('DATAFORSEO_DEPTH', 30),
    'priority' => (int) env('DATAFORSEO_PRIORITY', 1),
    'max_tasks_per_run' => (int) env('DATAFORSEO_MAX_TASKS_PER_RUN', 300),
    'batch_size' => (int) env('DATAFORSEO_BATCH_SIZE', 100),
    'timeout' => (int) env('DATAFORSEO_TIMEOUT', 60),
    'connect_timeout' => (int) env('DATAFORSEO_CONNECT_TIMEOUT', 15),
    'save_raw_response' => env('DATAFORSEO_SAVE_RAW_RESPONSE', true),
    'min_match_score' => (int) env('DATAFORSEO_MIN_MATCH_SCORE', 80),
    'ambiguous_score_gap' => (int) env('DATAFORSEO_AMBIGUOUS_SCORE_GAP', 5),
    'collect_delay_minutes' => (int) env('DATAFORSEO_COLLECT_DELAY_MINUTES', 20),
    'max_collect_attempts' => (int) env('DATAFORSEO_MAX_COLLECT_ATTEMPTS', 10),
    'max_task_age_hours' => (int) env('DATAFORSEO_MAX_TASK_AGE_HOURS', 24),
    'provider' => env('DATAFORSEO_PROVIDER', 'dataforseo_merchant_google_products'),
    'merchant_google_products' => [
        'task_post_endpoint' => env('DATAFORSEO_TASK_POST_ENDPOINT', '/v3/merchant/google/products/task_post'),
        'task_get_advanced_endpoint' => env('DATAFORSEO_TASK_GET_ADVANCED_ENDPOINT', '/v3/merchant/google/products/task_get/advanced'),
    ],
];
