feat: add logging support and remove insulin injection timeseries#88
Open
fern-api[bot] wants to merge 1 commit intomainfrom
Open
feat: add logging support and remove insulin injection timeseries#88fern-api[bot] wants to merge 1 commit intomainfrom
fern-api[bot] wants to merge 1 commit intomainfrom
Conversation
Adds comprehensive logging configuration to ClientOptions with support for event-level discrimination in SSE streams. Removes INSULIN_INJECTION enum value from IntervalTimeseriesExprTimeseries and deprecated InputStream-based methods from LabReportClient. Key changes: - Add LogConfig support to ClientOptions with silent-by-default logging - Enhance Stream class with SSE event-level discrimination capabilities - Remove INSULIN_INJECTION enum value from IntervalTimeseriesExprTimeseries - Remove InputStream-based parserCreateJob methods from LabReportClient - Update method documentation to reflect multiple file upload support 🌿 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 INSULIN_INJECTION enum value and InputStream-based parserCreateJob methods - existing code using these will break.
parserCreateJobmethods that acceptInputStreamparameters have been removed fromRawLabReportClient. Use theFile-based overloads instead. New lab configuration fieldslabAccountIdandlabSlugare now available in lab test requests for enhanced provider selection.parentIdfield has been removed fromClientFacingOrder. ThegetStatus()method inGetOrderTransactionResponsenow returnsOrderTransactionStatusenum instead ofString. New optional fields added for insulin delivery details (deliveryMode,deliveryForm,bolusPurpose), order clinical notes, and lab result order transactions.jobIdfield andgetJobId()method have been removed from theParsingJobclass. Code that accesses this field should be updated to use theidfield instead. Additionally, patient address classes now support an optionalaccessNotesfield for delivery instructions.UserInfo.addressfield now uses theUserAddresstype instead of the genericAddresstype. TheUsAddressclass now includes an optionalaccess_notesfield for additional delivery instructions.logging()method onVitalBuilder- the SDK is silent by default. New enum values have been added across lab providers (SONORA_QUEST, CRL), manual providers (SAMSUNG_HEALTH), password providers (TANDEM_SOURCE), and order statuses to support expanded testing capabilities. Two new client modules are now available:CompendiumClientfor lab test catalogs andLabAccountClientfor lab account management.ConvertCompendiumBodyandSearchCompendiumBodyclasses enable searching lab test catalogs and converting tests between different laboratory providers. Additionally, the newLabAccountClientprovides team-level lab account management capabilities.additionalProperty()andadditionalProperties()builder methods. This enables custom fields beyond the defined schema to be included in API requests.additionalProperty(String key, Object value)andadditionalProperties(Map<String, Object> additionalProperties)methods for enhanced request customization.additionalProperty()andadditionalProperties()are now available on all vitals request builders, allowing dynamic property extension for flexible API request customization.additionalProperty()andadditionalProperties()methods available on all vitals request builders for passing extra key-value pairs to API calls.additionalProperty()andadditionalProperties()are now available on request and type classes, allowing custom key-value pairs to be set. TheAppointmentBookingRequestclass now supports an optionalappointmentNotesfield for adding notes to appointment bookings.CanonicalCandidateclass for working with biomarker canonical candidates, featuring LOINC codes, aliases, provider IDs, and confidence scoring. Builder classes now supportadditionalProperty()andadditionalProperties()methods for handling dynamic fields in API responses.appointmentNotesfield available onClientFacingAppointmentobjects. Builder classes now includeadditionalProperty()andadditionalProperties()methods for easier handling of additional metadata.additionalProperty()andadditionalProperties()are now available on all model classes, allowing dynamic property assignment during object construction.additionalProperty()andadditionalProperties()are now available on all client-facing data type builders, enabling programmatic setting of additional JSON properties not defined in the schema.additionalProperty()andadditionalProperties()are now available on client-facing classes for setting custom properties. TheClientFacingMenstrualCycleSourceTypeenum now includesINSULIN_PUMPas a supported source type.additionalProperty(key, value)andadditionalProperties(map)methods in builders to set custom fields on model objects. The ClientFacingSleepCycleSourceType enum also includes a new INSULIN_PUMP value.additionalProperty()andadditionalProperties()methods available on all ClientFacing type builders for setting custom properties with a fluent API.additionalProperty()andadditionalProperties()methods on builder classes. These methods allow adding arbitrary key-value pairs that are preserved during serialization.additionalProperty()andadditionalProperties()are now available on all model objects for setting custom properties. The SDK also adds support for retrieving team lab accounts with the newGetTeamLabAccountsresponseclass.additionalProperty()andadditionalProperties()builder methods are now available on all Grouped* type builders, enabling clients to set custom properties during object construction.additionalProperty()andadditionalProperties()methods for setting custom JSON properties during object construction.ProviderIdConversionResponseandRelatedCandidatetypes. Added support for TANDEM_SOURCE and SAMSUNG_HEALTH providers. EnhancedResultMetadatawith an optional gender field.