Skip to content

feat(api): add File contents method and physical_check_book event category#1386

Merged
mattt merged 1 commit into
mainfrom
sync/ea35154a
Jul 16, 2026
Merged

feat(api): add File contents method and physical_check_book event category#1386
mattt merged 1 commit into
mainfrom
sync/ea35154a

Conversation

@increase-releases

@increase-releases increase-releases Bot commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Brings the SDK up to the latest spec. Because this repo was a spec release behind, this sync bundles more than the rest of the batch:

  • Adds a new contents method on the File service (GET /files/{file_id}/contents) for downloading a File's contents, together with its FileContentsParams.
  • Adds physical_check_book.created and physical_check_book.updated members to the event category enums.
  • Removes the internal X-Stainless-* telemetry / timeout / retry-count request headers from the HTTP client plumbing (no public typed-API surface change).

Held for manual review — diff is materially larger than and inconsistent with the rest of this batch. Unlike the other SDKs (which received only the event-category enum addition), this PR also carries catch-up library changes — a new endpoint plus removal of the X-Stainless-* request headers. A human should confirm the header-behavior change before merging.

Spec: ea35154a418c5a3cabaedc30f766fcac.

@increase-releases increase-releases Bot changed the title feat(api): api update feat(api): add File contents method and physical_check_book event category Jul 16, 2026
@mattt
mattt merged commit 25184c2 into main Jul 16, 2026
1 check passed
@mattt
mattt deleted the sync/ea35154a branch July 16, 2026 11:58
@increase-releases increase-releases Bot mentioned this pull request Jul 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant