feat: add optional logging configuration and remove InputStream overloads#84
Open
fern-api[bot] wants to merge 1 commit intomainfrom
Open
feat: add optional logging configuration and remove InputStream overloads#84fern-api[bot] wants to merge 1 commit intomainfrom
fern-api[bot] wants to merge 1 commit intomainfrom
Conversation
…oads Add optional logging support to ClientOptions with LogConfig parameter and LoggingInterceptor. Remove InputStream-based parserCreateJob method overloads from lab report clients. Enhance Stream class with SSE event-level discrimination capabilities for union type handling. Key changes: - Add optional logging() method to ClientOptions.Builder with LogConfig parameter - Remove 4 InputStream parserCreateJob overloads from AsyncLabReportClient and LabReportClient - Add SSE_EVENT_DISCRIMINATED stream type with fromSseWithEventDiscrimination factory methods - Add SSEEventDiscriminatedIterator for handling discriminated union SSE streams - Update documentation comments to reflect file upload changes 🌿 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 public parserCreateJob methods that accepted InputStream parameters - existing callers using these overloads will get compile errors.
parserCreateJobmethods that acceptedInputStreamparameters have been removed fromAsyncLabReportClientandLabReportClient. Use theFile-based overloads instead. New feature: Optional logging configuration is now available throughClientOptions.Builder.logging()method.getJobId()method has been removed from theParsingJobclass. Code that previously accessed this field will need to be updated. Additionally, address classes now support an optionalaccessNotesfield for delivery instructions, and query expressions now support derived readiness columns.getMarkers()method now accepts an optionallab_slugparameter for filtering markers by laboratory slug. Method documentation has been updated to better describe marker listing behavior.additionalProperty()andadditionalProperties()methods available on all request builders. These methods allow adding custom fields to API requests for enhanced extensibility.additionalProperty()andadditionalProperties()methods available on all request builders, allowing dynamic addition of custom properties to API requests.additionalProperty()andadditionalProperties()are now available on all vitals request builders. These optional methods allow setting arbitrary key-value pairs on request objects for extended customization.additionalProperty()andadditionalProperties()methods available on all vitals request builders, enabling custom key-value pairs to be passed alongside standard request parameters.additionalProperty()andadditionalProperties()are now available on request and response type builders, allowing custom properties to be added to API objects. TheAppointmentBookingRequestnow supports an optionalappointmentNotesfield for adding notes to appointment bookings.appointmentNotesfield added toClientFacingAppointmentfor storing additional appointment information. Enhanced builder patterns now available across all appointment and health data models with standardizedadditionalProperty()andadditionalProperties()methods.additionalProperty()andadditionalProperties()builder methods are now available on all client-facing types. These methods allow setting custom key-value pairs for forward compatibility and extensibility with future API changes.additionalProperty()andadditionalProperties()are available on client-facing types for enhanced customization.additionalProperty()andadditionalProperties()methods available on all type builders for setting custom metadata and handling additional response fields.ClientFacingInsulinInjectionSampleBolusPurpose,ClientFacingInsulinInjectionSampleDeliveryForm, andClientFacingInsulinInjectionSampleDeliveryMode. AddedClientFacingLabAccountclass for lab account management and new webhook eventsClientFacingLabReportParsingJobCreatedEventandClientFacingLabReportParsingJobUpdatedEventfor lab report parsing job notifications.additionalProperty()andadditionalProperties()are now available on all builder classes, enabling dynamic property handling for API responses with extra fields. TheClientFacingMenstrualCycleSourceTypeenum now includesINSULIN_PUMPas a valid source type.additionalProperty()andadditionalProperties()methods available on all builder interfaces for programmatic access to additional properties during object construction. TheClientFacingSleepCycleSourceTypeenum now includes anINSULIN_PUMPvalue.additionalProperty(String key, Object value)andadditionalProperties(Map<String, Object> additionalProperties)methods to set custom properties on model objects.additionalProperty()andadditionalProperties()are now available on all model builders, allowing you to set custom properties during object construction.additionalProperty()andadditionalProperties()are now available on response and data type builders, allowing custom properties to be set and preserved during serialization. New typesConvertCompendiumResponse,CompendiumSearchLabs, andDerivedReadinessColumnExprhave been added.additionalProperty()andadditionalProperties()methods are available for handling custom fields in API responses.additionalProperty(String key, Object value)andadditionalProperties(Map<String, Object>)methods for enhanced customization during object construction.additionalProperty(String key, Object value)method allows setting individual properties, whileadditionalProperties(Map<String, Object> additionalProperties)allows setting multiple properties at once on builder instances.PerLabCandidatetype available for laboratory test matching functionality. Builder classes now includeadditionalProperty()andadditionalProperties()methods for better extensibility.ProviderIdConversionResponseandRelatedCandidatetypes. New health providersTANDEM_SOURCEandSAMSUNG_HEALTHare now available. Lab result metadata now includes gender information through theResultMetadata.getGender()method.