"""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 ApplyPatchUpdateFileOperationType = Literal["update_file",] class ApplyPatchUpdateFileOperationTypedDict(TypedDict): r"""The `update_file` variant of an `apply_patch_call.operation`. Carries a V4A diff describing edits to an existing file.""" diff: str path: str type: ApplyPatchUpdateFileOperationType class ApplyPatchUpdateFileOperation(BaseModel): r"""The `update_file` variant of an `apply_patch_call.operation`. Carries a V4A diff describing edits to an existing file.""" diff: str path: str type: ApplyPatchUpdateFileOperationType