Skip to content

feat: replace Address type with UserAddress in user registration methods#145

Open
fern-api[bot] wants to merge 1 commit intomasterfrom
fern-bot/2026-03-27T14-12Z
Open

feat: replace Address type with UserAddress in user registration methods#145
fern-api[bot] wants to merge 1 commit intomasterfrom
fern-bot/2026-03-27T14-12Z

Conversation

@fern-api
Copy link
Contributor

@fern-api fern-api bot commented Mar 27, 2026

Version Bump: Changed the address parameter type from Address to UserAddress in create_user methods, breaking existing callers who construct Address objects.

  • The SDK now supports comprehensive HTTP request logging through new LogConfig and Logger classes that can be configured when initializing clients. The lab report parser API has been updated to accept multiple files in a single upload request instead of just one file. HTTP response objects now expose a status_code property for easier status code access. The AppointmentPscLabs type has been expanded from a simple literal to a full enum that includes the new SONORA_QUEST option.
  • New optional parameters added to lab test and appointment methods for enhanced filtering and configuration. The SDK now supports lab account filtering, appointment notes, idempotency for PSC bookings, and clinical notes for orders.
  • The SDK now supports additional parameters for enhanced lab test ordering, appointment booking, and provider connection functionality. New optional parameters include lab account filtering, order transaction ID filtering, appointment notes, idempotency keys for PSC appointments, clinical notes for test kit orders, and mobile SDK version tracking for manual provider connections. The insulin injection data model has been expanded with delivery mode, form, and bolus purpose information.
  • The create_user method now requires a UserAddress object instead of Address for the address parameter. Existing code using Address(...) should be updated to use UserAddress(...) which has the same fields and structure.
  • New CompendiumClient and LabAccountClient modules available. CompendiumClient provides search() and convert() methods for laboratory test data operations across different providers. LabAccountClient offers get_team_lab_accounts() for managing team laboratory accounts.
  • New OrderTransactionClient provides methods to retrieve transaction details, results, and PDF reports. New LabAccountClient enables querying team lab accounts with filtering by ID and status. The link client now supports optional mobile SDK version tracking and permission management parameters.
  • The SDK now supports enhanced insulin injection data with bolus purpose, delivery form, and delivery mode fields. New lab account management capabilities include delegated flows and status tracking. Order transaction functionality and canonical candidate search are now available. Appointment booking supports notes and asynchronous confirmation options with configurable timeouts.
  • The SDK now supports lab account management with new ClientFacingLabAccount and ClientFacingOrderTransaction types. Added insulin injection timeseries tracking, new lab providers (Sonora Quest, CRL), Samsung Health integration, and enhanced order status handling with additional status values.
  • New order status values added for lab processing and corrected results. New enum types introduced for order details, transaction status, parsing failures, and US states. Additional provider integrations available for Tandem Source and Samsung Health. New data models added for order summaries and compendium search functionality. Address models now support access notes for delivery instructions.

Updated user registration endpoints to use the more specific UserAddress type instead of the generic Address type. This change affects the address parameter in create_user methods across both sync and async user clients.

Key changes:
- Replace Address with UserAddress in create_user method signatures
- Update import statements to use UserAddress type
- Add support for Python 3.13-3.15 in project classifiers
- Add new client modules for compendium, lab_account, and order_transaction
- Add logging configuration support to main client constructors

🌿 Generated with Fern
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.

0 participants