refactor: remove user_id fields from API types and simplify upload interface #79
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.


This refactoring removes user_id fields from various API response types across the codebase and simplifies the construe code system upload interface. These changes improve API consistency and reduce unnecessary data exposure.
Key changes:
🌿 Generated with Fern
Note
Medium Risk
This is a breaking API surface change for SDK consumers (removed fields and changed
uploadCodeSystemrequest/response types), requiring downstream code updates, but it doesn’t alter auth/transport logic.Overview
Bumps the TypeScript SDK to
6.0.0and removesuser_idfrom multiple generated API response/template types (agent chat messages/sessions, FHIR provider templates, summary templates, MCP server/tool responses, workflows), reducing exposed user-identifying data.Refactors Construe code-system uploads by replacing the prior format-discriminated
UploadRequest*union with a singleconstrue.UploadRequesttype, dropping theasyncflag (uploads are now documented as always async) and updating docs/tests accordingly; upload responses now also include optionalnameandversionfields.Written by Cursor Bugbot for commit 7d52ae3. This will update automatically on new commits. Configure here.