<?php

return [

    /*
    |--------------------------------------------------------------------------
    | Third Party Services
    |--------------------------------------------------------------------------
    |
    | This file is for storing the credentials for third party services such
    | as Mailgun, Postmark, AWS and more. This file provides the de facto
    | location for this type of information, allowing packages to have
    | a conventional file to locate the various service credentials.
    |
    */

    'postmark' => [
        'token' => env('POSTMARK_TOKEN'),
    ],

    'ses' => [
        'key' => env('AWS_ACCESS_KEY_ID'),
        'secret' => env('AWS_SECRET_ACCESS_KEY'),
        'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
    ],

    'slack' => [
        'notifications' => [
            'bot_user_oauth_token' => env('SLACK_BOT_USER_OAUTH_TOKEN'),
            'channel' => env('SLACK_BOT_USER_DEFAULT_CHANNEL'),
        ],
    ],

    /*
    |--------------------------------------------------------------------------
    | Python Bridge API Configuration
    |--------------------------------------------------------------------------
    |
    | Configuration for receiving documents from the Python FastAPI
    | document processing application.
    |
    */

    'python_bridge' => [
        'api_key' => env('PYTHON_API_KEY'),
        'api_url' => env('PYTHON_API_URL'),
        'allowed_ips' => array_filter(explode(',', env('PYTHON_API_ALLOWED_IPS', ''))),
        'max_document_size_mb' => env('MAX_DOCUMENT_SIZE_MB', 50),
        'enable_duplicate_detection' => env('ENABLE_DUPLICATE_DETECTION', true),
    ],

];
