Skip to content

feat!: add required calendarDate stage to MealInDbBaseClientFacingSource builder#4

Merged
ItachiEU merged 2 commits into
mainfrom
fern-bot/2026-05-06T11-19Z
May 6, 2026
Merged

feat!: add required calendarDate stage to MealInDbBaseClientFacingSource builder#4
ItachiEU merged 2 commits into
mainfrom
fern-bot/2026-05-06T11-19Z

Conversation

@fern-api
Copy link
Copy Markdown
Contributor

@fern-api fern-api Bot commented May 6, 2026

⚠️ 0.0.1 → 1.0.0

Breaking: The timestamp() method on MealInDbBaseClientFacingSource.Builder now returns CalendarDateStage instead of NameStage, breaking all existing builder chains that call .name() directly after .timestamp().

Breaking Changes

  • MealInDbBaseClientFacingSource builder — a new required calendarDate step has been inserted between timestamp and name in the staged builder; timestamp() now returns CalendarDateStage instead of NameStage. Update all builder chains to call .calendarDate("YYYY-MM-DD") after .timestamp(...).

Added

  • LabReportResultSampleType — new enum type representing the biological sample type (e.g. URINE, SERUM_PLASMA_BLOOD, CAPILLARY_BLOOD, STOOL, SALIVA) on a lab result.
  • LabReportResultMeasurementKind — new enum type representing how a lab result was measured (DIRECT, CALCULATED, RATIO, UNKNOWN).
  • LabReportResult.getSampleType() and LabReportResult.getMeasurementKind() — new optional fields and corresponding builder methods on LabReportResult.

Changed

  • Environment base URLs updated — all environment constants (PRODUCTION, PRODUCTION_EU, SANDBOX, SANDBOX_EU) now point to junction.com domains instead of tryvital.io.

See full changelog

fern-api Bot and others added 2 commits May 6, 2026 11:19
…rce builder

Introduce new fields and types to LabReportResult and MealInDbBaseClientFacingSource,
and update all environment base URLs from tryvital.io to junction.com domains.

The MealInDbBaseClientFacingSource staged builder now requires a new mandatory
`calendarDate` step between `timestamp` and `name`, making this a breaking change
for any caller constructing this type via the builder. The `timestamp()` method
now returns `CalendarDateStage` instead of `NameStage`, breaking existing builder
chains that skip directly to `name()`.

Key changes:
- `MealInDbBaseClientFacingSource` builder gains a required `CalendarDateStage` step; `timestamp()` now returns `CalendarDateStage` instead of `NameStage`
- `LabReportResult` gains two new optional fields: `sampleType` (`LabReportResultSampleType`) and `measurementKind` (`LabReportResultMeasurementKind`)
- New types `LabReportResultSampleType` and `LabReportResultMeasurementKind` added with full visitor/enum support
- All environment base URLs updated from `tryvital.io` to `junction.com` domains

🌿 Generated with Fern
@ItachiEU ItachiEU merged commit 59c97a9 into main May 6, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant