"""Endpoint service for MXCP server.

This package provides endpoint execution and validation functionality.
The main entry point is the service module.
"""

# Import main functions from service module
from .models import (
    EndpointValidationResultModel,
    EndpointValidationSummaryModel,
)
from .service import (
    execute_endpoint,
    execute_endpoint_with_engine,
    execute_endpoint_with_engine_and_policy,
    parse_policies_from_config,
)

# Import validation functions
from .validator import validate_all_endpoints, validate_endpoint

__all__ = [
    # Execution functions
    "execute_endpoint",
    "execute_endpoint_with_engine",
    "execute_endpoint_with_engine_and_policy",
    "parse_policies_from_config",
    # Validation functions
    "validate_all_endpoints",
    "validate_endpoint",
    # Models
    "EndpointValidationResultModel",
    "EndpointValidationSummaryModel",
]
