Skip to content

feat: update module path to v505 and add new types#68

Open
fern-api[bot] wants to merge 1 commit intomainfrom
fern-bot/2026-03-13T17-39Z
Open

feat: update module path to v505 and add new types#68
fern-api[bot] wants to merge 1 commit intomainfrom
fern-bot/2026-03-13T17-39Z

Conversation

@fern-api
Copy link
Contributor

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

  • New derived readiness data support in aggregate queries with access to chronotype, sleep score, recovery score, stress score, strain score, and zone metrics. Enhanced lab report parsing API with improved error handling and optional metadata fields including gender.
  • New appointment notes support allows adding custom notes when booking or rescheduling appointments. Async booking confirmation feature enables configurable timeout handling for more reliable appointment bookings. Added support for Sonora Quest lab services and enhanced filtering options for lab test markers and orders.
  • The SDK now supports Samsung Health as a manual provider. Several request fields that were previously optional are now required, including connections arrays, user ID arrays, and address details in various API calls. New fields are available on ManualConnectionData for tracking SDK versions and granted permissions.
  • The SDK now supports detailed biomarker result handling with new BiomarkerResult, LabResultsRaw, and related metadata types. New webhook events are available for lab report parsing job lifecycle tracking. Enhanced address and order models include clinical notes and access notes fields. Added support for Samsung Health provider and Sonora Quest laboratory.
  • Breaking changes: All import paths have changed from github.com/tryVital/vital-go to github.com/tryVital/vital-go/v505. Update all imports in your code to use the new v505 module path. The Address type has been replaced with UserAddress type for user profile addresses. The CreateInsuranceRequest.Insured field is now required instead of optional.
  • Breaking change: All import paths have changed from github.com/tryVital/vital-go to github.com/tryVital/vital-go/v505. Update your import statements to use the new versioned module path.
  • New compendium search and conversion types available for medical test data operations. The SDK now supports searching across laboratory providers (Labcorp, Quest, BioReference, Sonora Quest) and converting provider IDs between different lab systems.
  • New Compendium, LabAccount, and OrderTransaction clients are now available. The Compendium client provides Search and Convert methods for lab data operations. The LabAccount client offers team lab account management with filtering capabilities. The OrderTransaction client enables retrieval of transaction details, results, and PDF reports.
  • New order transaction raw client available with methods for retrieving transaction details, lab results, and PDF downloads. The SDK also includes a new Bytes() utility function for creating byte slice pointers.

Updated Go module import paths from github.com/tryVital/vital-go to github.com/tryVital/vital-go/v505 across all packages. Added UserAddress type for address information in user profiles. Enhanced serialization with new MarshalJSON/UnmarshalJSON methods for various request types. Added three new client modules: Compendium, LabAccount, and OrderTransaction.

Key changes:
- Updated all import paths to use v505 module versioning
- Added UserAddress type with fields for complete address information
- Enhanced JSON marshaling for UserCreateBody, CreateInsuranceRequest, CreateUserPortalUrlBody, UserPatchBody, and UserInfoCreateRequest
- Added Compendium, LabAccount, and OrderTransaction client modules
- Changed UserInfo and UserInfoCreateRequest to use UserAddress instead of Address type
- Updated CreateInsuranceRequest.Insured field from optional to required

🌿 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