# Generated by smithplates HTTP codegen. Do not edit.
from typing import Annotated, Protocol  # noqa: F401

from pydantic import Field  # noqa: F401

from generated.petstore.api.get_order_output import GetOrderOutput
from generated.petstore.api.order_not_found import OrderNotFound
from generated.petstore.api.place_order_input import PlaceOrderInput
from generated.petstore.api.place_order_output import PlaceOrderOutput
from generated.petstore.api.validation_error import ValidationError


class OrdersApiServiceProtocol(Protocol):
    async def get_order(
        self,
        order_id: str,
    ) -> GetOrderOutput | OrderNotFound: ...
    async def place_order(
        self,
        place_order_input: PlaceOrderInput,
    ) -> PlaceOrderOutput | ValidationError: ...
