"""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 ApplyPatchCallOperationDiffDoneEventType = Literal[ "response.apply_patch_call_operation_diff.done", ] class ApplyPatchCallOperationDiffDoneEventTypedDict(TypedDict): r"""Emitted when `operation.diff` streaming completes for an `apply_patch_call`.""" diff: str item_id: str output_index: int sequence_number: int type: ApplyPatchCallOperationDiffDoneEventType class ApplyPatchCallOperationDiffDoneEvent(BaseModel): r"""Emitted when `operation.diff` streaming completes for an `apply_patch_call`.""" diff: str item_id: str output_index: int sequence_number: int type: ApplyPatchCallOperationDiffDoneEventType