feat!: update environment URLs and add new API fields#4
Merged
Conversation
Update base environment URLs from tryvital.io to junction.com domains, add new optional fields to LabReportResult and MealInDbBaseClientFacingSource, introduce new enum types, and add flexible auth override support to BaseClientOptions. Key changes: - Change all JunctionEnvironment URLs from tryvital.io to junction.com (breaking: existing hardcoded URL comparisons will differ) - Add required `calendarDate` field to `MealInDbBaseClientFacingSource` (breaking: existing object literals missing this field won't compile) - Add new `LabReportResultSampleType` and `LabReportResultMeasurementKind` enum types with optional fields on `LabReportResult` - Add `auth` option to `BaseClientOptions` supporting false, function, AuthProvider, or AuthOptions - Fix nullable record value serialization in `Micros`, `SampleData`, and `LabResultsRaw` 🌿 Generated with Fern
ItachiEU
approved these changes
May 6, 2026
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.
Breaking:
MealInDbBaseClientFacingSourcegains a new requiredcalendarDatefield (existing object literals won't compile without it), andJunctionEnvironmentbase URLs changed fromtryvital.iotojunction.com(breaking for consumers comparing or depending on those URL strings).Breaking Changes
JunctionEnvironmentURLs have changed fromtryvital.iotojunction.comdomains — update any hardcoded URL comparisons or overrides to use the newjunction.comendpoints.MealInDbBaseClientFacingSourcenow requires acalendarDate: stringfield — addcalendarDateto any object literals or constructors that build this type.Added
LabReportResultSampleTypeandLabReportResultMeasurementKind— new non-exhaustive enum types exposed as optional fieldssampleTypeandmeasurementKindonLabReportResult.AuthOptiontype andauthproperty onBaseClientOptions— passfalseto disable auth, a function, anAuthProvider, or auth options to override authentication per-client.isAuthProvider— new exported helper function to type-narrow an unknown value toAuthProvider.Fixed
Micros,SampleData, andLabResultsRawserialization now correctly handles nullable values within record fields.See full changelog