# This file is the entry point to configure your own services.
# Files in the packages/ subdirectory configure your dependencies.

# Put parameters here that don't need to change on each machine where the app is deployed
# https://symfony.com/doc/current/best_practices.html#use-parameters-for-application-configuration
parameters:
    app.email_from: '%env(EMAIL_FROM)%'
    app.email_pwd: '%env(EMAIL_PWD)%'
    app.smtp_host: '%env(SMTP_HOST)%'
    app.base_url: '%env(BASE_URL)%'
    app.vat: '%env(VAT)%'
    app.report_subject: '%env(REPORT_SUBJECT)%'
    app.file_manager_api_key: '%env(FILE_MANAGER_API_KEY)%'
    app.organisation_id: '%env(ORGANISATION_ID)%'
    app.client_id: '%env(CLIENT_ID)%'
    app.client_secret: '%env(CLIENT_SECRET)%'
    app.api_threshold: '%env(API_THRESHOLD)%'
    app.refresh_token_books: '%env(REFRESH_TOKEN_BOOKS)%'
    app.refresh_token_inventory: '%env(REFRESH_TOKEN_INVENTORY)%'
    app.warehouse_id: '%env(WAREHOUSE_ID)%'
    app.polo_club_id: '%env(POLO_CLUB_ID)%'
    app.controlled_drug_id: '%env(CONTROLLED_DRUG_ID)%'
    app.pay_tabs_profile_id: '%env(PAY_TABS_PROFILE_ID)%'
    app.pay_tabs_api_key: '%env(PAY_TABS_API_KEY)%'
    app.pay_tabs_callback_url: '%env(PAY_TABS_CALLBACK_URL)%'
    app.pay_tabs_return_url: '%env(PAY_TABS_RETURN_URL)%'
    app.zoho_api_id: '%env(ZOHO_API_ID)%'
    app.google_api_id: '%env(GOOGLE_API_ID)%'
    app.country_id: "%env(COUNTRY_ID)%"
    app.pay_tabs_bank_account_id: "%env(PAY_TABS_BANK_ACCOUNT_ID)%"
    app.app_env: "%env(APP_ENV)%"
    app.registration_email: "%env(REGISTRATION_EMAIL)%"
    app.payment_email: "%env(PAYMENT_EMAIL)%"
    app.marketing_email: "%env(MARKETING_EMAIL)%"
    app.open_ai_api_key: "%env(OPEN_AI_API_KEY)%"
    app.open_ai_organisation_id: "%env(OPEN_AI_ORGANISATION_ID)%"
    app.environment: "%env(ENVIRONMENT)%"
    app.max_stock_percentage: "%env(MAX_STOCK_PERCENTAGE)%"

services:
    # default configuration for services in *this* file
    _defaults:
        autowire: true      # Automatically injects dependencies in your services.
        autoconfigure: true # Automatically registers your services as commands, event subscribers, etc.

    # makes classes in src/ available to be used as services
    # this creates a service per class whose id is the fully-qualified class name
    App\:
        resource: '../src/'
        exclude:
            - '../src/DependencyInjection/'
            - '../src/Entity/'
            - '../src/Kernel.php'

    # add more service definitions when explicit configuration is needed
    # please note that last definitions always *replace* previous ones
