[ // KILL SWITCH: Set to false for local development, true for production 'enabled' => true, // Azure AD Configuration (for production use) 'tenant_id' => 'e519c2e6-bc6d-4fdf-8d9c-923c2f002385', 'client_id' => '9079054c-9620-4757-a256-23413042f1ef', 'redirect_uri' => 'https://ai-sandbox.oliver.solutions/loreal-global-kickoff/', // Local development user (used when SSO is disabled) 'local_user' => [ 'name' => 'Dave Porter', 'email' => 'daveporter@oliver.agency', 'role' => 'admin' ] ], // RBAC Configuration 'roles' => [ 'data_file' => __DIR__ . '/data/user_roles.json', 'default_role' => 'user', // Emails that automatically receive admin role on first login 'admin_emails' => [] ], // Box API Configuration 'box' => [ 'jwt_config_path' => __DIR__ . '/43984435_77m2ujl3_config.json', 'enterprise_id' => '43984435', // Box API endpoints 'api_base_url' => 'https://api.box.com/2.0', 'oauth_url' => 'https://api.box.com/oauth2/token', // Token caching (in seconds) 'token_cache_duration' => 3600 // 1 hour ], // Webhook Configuration 'webhook' => [ 'url' => 'https://hook.us1.make.celonis.com/ddxrhuykysnbxqvb25uxsg0pjngqytiv', 'api_key' => 'E4P9923eBaUTKrEr.iqvHtVHcZ6L!WH', 'timeout' => 30 // seconds ], // Global to Local CSV Transformation 'global_to_local' => [ 'output_box_folder_id' => 'XXXXXXXXX', // Box folder for output CSVs 'max_file_size' => 5242880, // 5MB max upload 'iso_codes' => [ 'en-GB', 'es-ES', 'pt-PT', 'en-IE', 'fr-CH', 'de-AT', 'de-DE', 'cs-CZ', 'hu-HU', 'sk-SK', 'da-DK', 'fi-FI', 'nb-NO', 'sv-SE', 'en-NN', 'de-CH' ], 'business_unit_map' => [ 'VICHY' => 'VICHY', 'LA ROCHE' => 'LA ROCHE', 'PPD - MULTIBRAND' => 'MULTIBRAND', 'SKINCEUTICAL' => 'SKINCEUTICAL', 'BIOLAGE' => 'BIOLAGE', 'KERASTASE' => 'KERASTASE', 'LOREAL PROFESSIONNEL PARIS' => 'LPP', 'MATRIX' => 'MATRIX', 'MIZANI' => 'MIZANI', 'PUREOLOGY' => 'PUREOLOGY', 'REDKEN' => 'REDKEN', 'SHU UEMURA ART OF HAIR' => 'SHUUEMURA', 'LP' => 'LPP', 'KER' => 'KERASTASE', 'SKINC' => 'SKINCEUTICAL', 'LAROCHEPOSAY' => 'LA ROCHE', 'CERAVE' => 'CERAVE', 'LDB - MULTIBRAND' => 'LDB MULTIBRAND', 'VICHY TEST' => 'Vichy Test' ] ], // OMG API Configuration 'omg_api' => [ 'enabled' => true, // OMG API enabled with updated key 'base_url' => 'https://api2.omg.oliver.solutions/loreal/v1', 'api_key' => 'eyJvcmciOiIyOCIsImlkIjoiNjJhNWMwODkxOGI1NDhiYTlkOGU0NTU2N2ZmOTY2NGIiLCJoIjoibXVybXVyNjQifQ==', 'timeout' => 60, 'fallback_business_unit' => 'TESTING' // Used when OMG API is disabled ], // Email Service Configuration 'email' => [ 'enabled' => true, 'service' => 'smtp', // Using SMTP via Mailgun 'from' => 'twist@mail.dev.oliver.solutions', 'domain' => 'mail.dev.oliver.solutions', // SMTP credentials 'smtp_host' => 'smtp.mailgun.org', 'smtp_port' => 587, 'smtp_username' => 'twist@mail.dev.oliver.solutions', 'smtp_password' => '102115e9f3b9d7332d0cd1d4329bc0d4-77751bfc-ca066b71' ], // Application Settings 'app' => [ 'name' => 'L\'Oréal Box Asset Submission', 'timezone' => 'UTC', 'debug' => false ] ];