feat: add DerivedReadinessColumnExpr support and update API types#70
Open
fern-api[bot] wants to merge 1 commit intomainfrom
Open
feat: add DerivedReadinessColumnExpr support and update API types#70fern-api[bot] wants to merge 1 commit intomainfrom
fern-api[bot] wants to merge 1 commit intomainfrom
Conversation
This SDK regeneration adds support for derived readiness columns in query expressions, updates several API types for improved data handling, and restructures lab report parsing functionality. The changes expand querying capabilities for readiness data while maintaining backward compatibility. Key changes: - Add DerivedReadinessColumnExpr with readiness metrics (chronotype, sleep_score, recovery_score, etc.) - Support derived_readiness index in IndexColumnExpr enum - Update QueryBatch to require timeframe and queries fields (remove optional markers) - Change BodyCreateLabReportParserJob.File from io.Reader to []io.Reader for multi-file support - Remove ParsingJob.JobId field and add FailureReason field with machine-readable error codes - Update ResultMetadata fields to be optional pointers and add Gender field - Add ParsingJobFailureReason enum (invalid_input, low_quality, not_english) - Add ResultMetadataGender enum (male, female, other) - Update import paths to include version prefix 🌿 Generated with Fern
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Version Bump: Removed ParsingJob.JobId field and changed BodyCreateLabReportParserJob.File from io.Reader to []io.Reader - existing callers will get compile errors.
ManualProvidersSamsungHealthenum value. TheManualConnectionDatastruct has been enhanced with new fields for tracking SDK versions (VitalIosSdkVersion,VitalAndroidSdkVersion) and granted permissions (GrantedPermissions).ClientFacingLabReportParsingJobCreatedEventandClientFacingLabReportParsingJobUpdatedEvent. The enhancedBiomarkerResulttype includes reference ranges, LOINC codes, source markers, and performing laboratory information. Additional support includes new sample data structures with clinical information, enhanced address fields for delivery notes, and expanded provider/lab support including Samsung Health and Sonora Quest.github.com/tryVital/vital-gotogithub.com/tryVital/vital-go/v505. All API functionality remains identical.github.com/tryVital/vital-gotogithub.com/tryVital/vital-go/v505. All import statements must be updated to reference the new versioned module path. Replaceimport "github.com/tryVital/vital-go"withimport v505 "github.com/tryVital/vital-go/v505"in your code.github.com/tryVital/vital-go/v505. Update your imports fromgithub.com/tryVital/vital-gotogithub.com/tryVital/vital-go/v505and replacevitalgotype references withv505.github.com/tryVital/vital-gotogithub.com/tryVital/vital-go/v505. All type references that previously usedvitalgo.TypeNameshould now usev505.TypeName. Update your imports and type references to use the new v505 package structure.ordertransaction.RawClientavailable with methods for retrieving transaction data, lab results, and PDF reports. IncludesGetTransaction(),GetTransactionResult(), andGetTransactionResultPdf()methods.