feat: add LabReportResult fields, MealInDbBase CalendarDate, and update default base URLs#4
Closed
fern-api[bot] wants to merge 1 commit into
Closed
feat: add LabReportResult fields, MealInDbBase CalendarDate, and update default base URLs#4fern-api[bot] wants to merge 1 commit into
fern-api[bot] wants to merge 1 commit into
Conversation
…te default base URLs Expand the LabReportResult model with two new optional fields (SampleType and MeasurementKind) along with their associated enum types, getters, and setters. Add a required CalendarDate field to MealInDbBaseClientFacingSource. Update all default base URLs across every raw client from api.tryvital.io to api.us.junction.com, and update the Environments constants to reflect the new junction.com domain. Key changes: - Add `LabReportResultSampleType` and `LabReportResultMeasurementKind` enum types with constructors and constants - Add `SampleType` and `MeasurementKind` optional fields (with getters/setters) to `LabReportResult` - Add required `CalendarDate` field (with getter/setter) to `MealInDbBaseClientFacingSource` - Update `Environments` constants (Production, ProductionEu, Sandbox, SandboxEu) to junction.com domains - Update all raw client default base URLs from `https://api.tryvital.io` to `https://api.us.junction.com` 🌿 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.
v0.0.1 → v0.1.0
Added
LabReportResultSampleType— new non-exhaustive enum representing the sample type of a lab result (e.g.urine,serum_plasma_blood,capillary_blood).LabReportResultMeasurementKind— new non-exhaustive enum representing how a lab result was measured (e.g.direct,calculated,ratio).LabReportResult.SampleTypeandLabReportResult.MeasurementKind— new optional fields onLabReportResultwith corresponding getter and setter methods.MealInDbBaseClientFacingSource.CalendarDate— new requiredstringfield representing the meal date inYYYY-mm-ddformat, withGetCalendarDateandSetCalendarDatemethods.Changed
Environments— all default base URLs updated fromtryvital.iotojunction.comdomains (e.g.Productionis nowhttps://api.us.junction.com); consumers relying on the default URL without an explicit override will now target the new host.See full changelog