feat: regenerate SDK with updated OpenAPI spec

Speakeasy regeneration with latest schema changes including
type renames and new server tool models.
This commit is contained in:
OpenRouter SDK Bot
2026-03-27 15:18:14 -04:00
parent e72a84e82d
commit 5ab44f08f0
375 changed files with 36229 additions and 5480 deletions
+6 -10
View File
@@ -1,25 +1,21 @@
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
from __future__ import annotations
from .pdfparserengine import PDFParserEngine
from .pdfparserengine import PDFParserEngine, PDFParserEngineTypedDict
from openrouter.types import BaseModel
from openrouter.utils import validate_open_enum
from pydantic.functional_validators import PlainValidator
from typing import Optional
from typing_extensions import Annotated, NotRequired, TypedDict
from typing_extensions import NotRequired, TypedDict
class PDFParserOptionsTypedDict(TypedDict):
r"""Options for PDF parsing."""
engine: NotRequired[PDFParserEngine]
r"""The engine to use for parsing PDF files."""
engine: NotRequired[PDFParserEngineTypedDict]
r"""The engine to use for parsing PDF files. \"pdf-text\" is deprecated and automatically redirected to \"cloudflare-ai\"."""
class PDFParserOptions(BaseModel):
r"""Options for PDF parsing."""
engine: Annotated[
Optional[PDFParserEngine], PlainValidator(validate_open_enum(False))
] = None
r"""The engine to use for parsing PDF files."""
engine: Optional[PDFParserEngine] = None
r"""The engine to use for parsing PDF files. \"pdf-text\" is deprecated and automatically redirected to \"cloudflare-ai\"."""