From 4b59ea396c11e2ed8cc9455af24f691f525d0b1f Mon Sep 17 00:00:00 2001 From: "fern-api[bot]" <115122769+fern-api[bot]@users.noreply.github.com> Date: Tue, 3 Mar 2026 00:48:40 +0000 Subject: [PATCH] SDK regeneration --- .fern/metadata.json | 2 +- reference.md | 4 ++-- src/runcaptain/indexing/client.py | 8 ++++---- src/runcaptain/indexing/raw_client.py | 8 ++++---- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.fern/metadata.json b/.fern/metadata.json index ef6aa0d..aba6e88 100644 --- a/.fern/metadata.json +++ b/.fern/metadata.json @@ -1,5 +1,5 @@ { - "cliVersion": "3.86.0", + "cliVersion": "4.0.1", "generatorName": "fernapi/fern-python-sdk", "generatorVersion": "4.59.4", "generatorConfig": { diff --git a/reference.md b/reference.md index f5e5b0d..0213529 100644 --- a/reference.md +++ b/reference.md @@ -2358,7 +2358,7 @@ You can provide either: - `url` — a single URL string for one document - `urls` — an array of URL strings for multiple documents -Supported file types include PDF, TXT, DOCX, CSV, XLSX, and more. Documents are downloaded and processed through the same pipeline as cloud storage indexing. +Supported file types: PDF, DOCX, DOC, XLSX, XLS, CSV, TSV, TXT, MD, JSON, YAML, YML, PNG, JPG, JPEG, GIF, BMP, TIFF. Documents are downloaded and processed through the same pipeline as cloud storage indexing. Returns a job_id for tracking progress via GET /v2/jobs/{job_id}. @@ -2421,7 +2421,7 @@ client.indexing.index_url_v2(
-**url:** `typing.Optional[str]` — A single public URL to a hosted document (PDF, TXT, DOCX, etc.). Provide either 'url' or 'urls', not both. +**url:** `typing.Optional[str]` — A single public URL to a hosted document. Supported types: PDF, DOCX, DOC, XLSX, XLS, CSV, TSV, TXT, MD, JSON, YAML, YML, PNG, JPG, JPEG, GIF, BMP, TIFF. Provide either 'url' or 'urls', not both.
diff --git a/src/runcaptain/indexing/client.py b/src/runcaptain/indexing/client.py index 6a63666..91fed1a 100644 --- a/src/runcaptain/indexing/client.py +++ b/src/runcaptain/indexing/client.py @@ -1037,7 +1037,7 @@ def index_url_v2( - `url` — a single URL string for one document - `urls` — an array of URL strings for multiple documents - Supported file types include PDF, TXT, DOCX, CSV, XLSX, and more. Documents are downloaded and processed through the same pipeline as cloud storage indexing. + Supported file types: PDF, DOCX, DOC, XLSX, XLS, CSV, TSV, TXT, MD, JSON, YAML, YML, PNG, JPG, JPEG, GIF, BMP, TIFF. Documents are downloaded and processed through the same pipeline as cloud storage indexing. Returns a job_id for tracking progress via GET /v2/jobs/{job_id}. @@ -1049,7 +1049,7 @@ def index_url_v2( Document processing type. 'advanced' uses agentic OCR with AI-enhanced extraction for complex layouts, tables, figures, charts, and documents containing images. 'basic' provides reliable OCR optimized for general document indexing and high-volume processing. url : typing.Optional[str] - A single public URL to a hosted document (PDF, TXT, DOCX, etc.). Provide either 'url' or 'urls', not both. + A single public URL to a hosted document. Supported types: PDF, DOCX, DOC, XLSX, XLS, CSV, TSV, TXT, MD, JSON, YAML, YML, PNG, JPG, JPEG, GIF, BMP, TIFF. Provide either 'url' or 'urls', not both. urls : typing.Optional[typing.Sequence[str]] An array of public URLs to hosted documents. Provide either 'url' or 'urls', not both. @@ -2196,7 +2196,7 @@ async def index_url_v2( - `url` — a single URL string for one document - `urls` — an array of URL strings for multiple documents - Supported file types include PDF, TXT, DOCX, CSV, XLSX, and more. Documents are downloaded and processed through the same pipeline as cloud storage indexing. + Supported file types: PDF, DOCX, DOC, XLSX, XLS, CSV, TSV, TXT, MD, JSON, YAML, YML, PNG, JPG, JPEG, GIF, BMP, TIFF. Documents are downloaded and processed through the same pipeline as cloud storage indexing. Returns a job_id for tracking progress via GET /v2/jobs/{job_id}. @@ -2208,7 +2208,7 @@ async def index_url_v2( Document processing type. 'advanced' uses agentic OCR with AI-enhanced extraction for complex layouts, tables, figures, charts, and documents containing images. 'basic' provides reliable OCR optimized for general document indexing and high-volume processing. url : typing.Optional[str] - A single public URL to a hosted document (PDF, TXT, DOCX, etc.). Provide either 'url' or 'urls', not both. + A single public URL to a hosted document. Supported types: PDF, DOCX, DOC, XLSX, XLS, CSV, TSV, TXT, MD, JSON, YAML, YML, PNG, JPG, JPEG, GIF, BMP, TIFF. Provide either 'url' or 'urls', not both. urls : typing.Optional[typing.Sequence[str]] An array of public URLs to hosted documents. Provide either 'url' or 'urls', not both. diff --git a/src/runcaptain/indexing/raw_client.py b/src/runcaptain/indexing/raw_client.py index 9af4bd5..58745db 100644 --- a/src/runcaptain/indexing/raw_client.py +++ b/src/runcaptain/indexing/raw_client.py @@ -1066,7 +1066,7 @@ def index_url_v2( - `url` — a single URL string for one document - `urls` — an array of URL strings for multiple documents - Supported file types include PDF, TXT, DOCX, CSV, XLSX, and more. Documents are downloaded and processed through the same pipeline as cloud storage indexing. + Supported file types: PDF, DOCX, DOC, XLSX, XLS, CSV, TSV, TXT, MD, JSON, YAML, YML, PNG, JPG, JPEG, GIF, BMP, TIFF. Documents are downloaded and processed through the same pipeline as cloud storage indexing. Returns a job_id for tracking progress via GET /v2/jobs/{job_id}. @@ -1078,7 +1078,7 @@ def index_url_v2( Document processing type. 'advanced' uses agentic OCR with AI-enhanced extraction for complex layouts, tables, figures, charts, and documents containing images. 'basic' provides reliable OCR optimized for general document indexing and high-volume processing. url : typing.Optional[str] - A single public URL to a hosted document (PDF, TXT, DOCX, etc.). Provide either 'url' or 'urls', not both. + A single public URL to a hosted document. Supported types: PDF, DOCX, DOC, XLSX, XLS, CSV, TSV, TXT, MD, JSON, YAML, YML, PNG, JPG, JPEG, GIF, BMP, TIFF. Provide either 'url' or 'urls', not both. urls : typing.Optional[typing.Sequence[str]] An array of public URLs to hosted documents. Provide either 'url' or 'urls', not both. @@ -2160,7 +2160,7 @@ async def index_url_v2( - `url` — a single URL string for one document - `urls` — an array of URL strings for multiple documents - Supported file types include PDF, TXT, DOCX, CSV, XLSX, and more. Documents are downloaded and processed through the same pipeline as cloud storage indexing. + Supported file types: PDF, DOCX, DOC, XLSX, XLS, CSV, TSV, TXT, MD, JSON, YAML, YML, PNG, JPG, JPEG, GIF, BMP, TIFF. Documents are downloaded and processed through the same pipeline as cloud storage indexing. Returns a job_id for tracking progress via GET /v2/jobs/{job_id}. @@ -2172,7 +2172,7 @@ async def index_url_v2( Document processing type. 'advanced' uses agentic OCR with AI-enhanced extraction for complex layouts, tables, figures, charts, and documents containing images. 'basic' provides reliable OCR optimized for general document indexing and high-volume processing. url : typing.Optional[str] - A single public URL to a hosted document (PDF, TXT, DOCX, etc.). Provide either 'url' or 'urls', not both. + A single public URL to a hosted document. Supported types: PDF, DOCX, DOC, XLSX, XLS, CSV, TSV, TXT, MD, JSON, YAML, YML, PNG, JPG, JPEG, GIF, BMP, TIFF. Provide either 'url' or 'urls', not both. urls : typing.Optional[typing.Sequence[str]] An array of public URLs to hosted documents. Provide either 'url' or 'urls', not both.