"""Settings for the compliance / eBay deletion endpoint and OAuth."""

from __future__ import annotations

from pydantic_settings import BaseSettings


class ComplianceSettings(BaseSettings):
    ebay_verification_token: str = ""
    ebay_deletion_endpoint_url: str = "https://api.agent.dgx.dev/ebay/deletions"

    # OAuth
    ebay_client_id: str = ""
    ebay_client_secret: str = ""
    ebay_redirect_uri: str = "Denis_Kuchur-DenisKuc-agents-shbppb"
    ebay_oauth_scopes: str = (
        "https://api.ebay.com/oauth/api_scope "
        "https://api.ebay.com/oauth/api_scope/sell.inventory.readonly "
        "https://api.ebay.com/oauth/api_scope/sell.inventory "
        "https://api.ebay.com/oauth/api_scope/sell.account.readonly "
        "https://api.ebay.com/oauth/api_scope/sell.account"
    )
    ebay_token_path: str = "/var/lib/agent-samochodowy/ebay_tokens.json"

    model_config = {"env_file": ".env", "env_file_encoding": "utf-8", "extra": "ignore"}
