"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""

from __future__ import annotations
from openrouter.types import BaseModel
from typing import Literal
from typing_extensions import TypedDict


OpenResponsesReasoningSummaryTextDoneEventType = Literal[
    "response.reasoning_summary_text.done",
]


class OpenResponsesReasoningSummaryTextDoneEventTypedDict(TypedDict):
    r"""Event emitted when reasoning summary text streaming is complete"""

    type: OpenResponsesReasoningSummaryTextDoneEventType
    item_id: str
    output_index: float
    summary_index: float
    text: str
    sequence_number: float


class OpenResponsesReasoningSummaryTextDoneEvent(BaseModel):
    r"""Event emitted when reasoning summary text streaming is complete"""

    type: OpenResponsesReasoningSummaryTextDoneEventType

    item_id: str

    output_index: float

    summary_index: float

    text: str

    sequence_number: float
