"""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 RefusalDoneEventType = Literal["response.refusal.done",] class RefusalDoneEventTypedDict(TypedDict): r"""Event emitted when refusal streaming is complete""" content_index: int item_id: str output_index: int refusal: str sequence_number: int type: RefusalDoneEventType class RefusalDoneEvent(BaseModel): r"""Event emitted when refusal streaming is complete""" content_index: int item_id: str output_index: int refusal: str sequence_number: int type: RefusalDoneEventType