feat!: remove teamId fields from bulk link requests and drop insulin_injection timeseries value#178
Open
fern-api[bot] wants to merge 1 commit intomasterfrom
Open
feat!: remove teamId fields from bulk link requests and drop insulin_injection timeseries value#178fern-api[bot] wants to merge 1 commit intomasterfrom
fern-api[bot] wants to merge 1 commit intomasterfrom
Conversation
…injection timeseries value This SDK regeneration removes several previously exported types and optional properties from the Link bulk operation request interfaces, removes the `insulin_injection` value from `IntervalTimeseriesExprTimeseries`, and adds new enum values across multiple types. It also includes internal performance improvements to the object schema builder. Key changes: - Remove `teamId` optional property from `BulkExportConnectionsBody`, `BulkImportConnectionsBody`, `BulkPauseConnectionsBody`, and `BulkTriggerHistoricalPullBody` interfaces - Remove and stop exporting `LinkBulkExportRequestTeamId`, `LinkBulkImportRequestTeamId`, `LinkBulkPauseRequestTeamId`, `LinkBulkTriggerHistoricalPullRequestTeamId`, and `LinkListBulkOpsRequestTeamId` types - Remove `InsulinInjection` / `"insulin_injection"` from `IntervalTimeseriesExprTimeseries` enum - Add `SonoraQuest` / `"sonora_quest"` to `AppointmentPscLabs`, `AppointmentProvider`, `ClientFacingLabs`; add `"apero"` and `"pverify"` to `PayorCodeExternalProvider`; add `"derived_readiness"` to `IndexColumnExprIndex` - Refactor internal object schema builder to use lazy property computation and optimised required-key tracking (no public API surface change) 🌿 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: Existing callers will get compile errors due to the removal of the exported types
LinkBulkExportRequestTeamId,LinkBulkImportRequestTeamId,LinkBulkPauseRequestTeamId,LinkBulkTriggerHistoricalPullRequestTeamId, andLinkListBulkOpsRequestTeamId, the removal of theteamIdproperty from four request interfaces, and the removal ofInsulinInjectionfromIntervalTimeseriesExprTimeseries.Several breaking changes have been made to the Link bulk-operation request types and the
IntervalTimeseriesExprTimeseriesenum:The
teamIdoptional property has been removed fromBulkExportConnectionsBody,BulkImportConnectionsBody,BulkPauseConnectionsBody, andBulkTriggerHistoricalPullBody. Remove any code that sets this field.The exported types
LinkBulkExportRequestTeamId,LinkBulkImportRequestTeamId,LinkBulkPauseRequestTeamId,LinkBulkTriggerHistoricalPullRequestTeamId, andLinkListBulkOpsRequestTeamIdhave been deleted. Remove any imports or references to these types.The
InsulinInjection("insulin_injection") value has been removed fromIntervalTimeseriesExprTimeseries. Update any exhaustive switch/if-else handling of this enum.New additions (non-breaking):
"sonora_quest"added toAppointmentPscLabs,AppointmentProvider, andClientFacingLabs;"apero"and"pverify"added toPayorCodeExternalProvider;"derived_readiness"added toIndexColumnExprIndex.labReport.parserCreateJobmethod now accepts an array of files (core.file.Uploadable[]) instead of a single file (core.file.Uploadable), enabling multiple files to be uploaded in a single parse job. Migration: wrap any existing single-file call in an array, e.g.parserCreateJob([file], request).New resource modules
compendium,labAccount, andorderTransactionare now available on the SDK client.bookPscAppointmentmethod onLabTestsClientnow accepts aLabTestsBookPscAppointmentRequestinstead ofAppointmentBookingRequest. The booking payload must now be nested under thebodyproperty, and idempotency headers (idempotencyKey,idempotencyError) can now be passed directly on the request object. Update all calls to wrap the booking payload:{ body: { bookingKey: "..." } }.Several new optional parameters have also been added:
labSlugongetMarkers,allowStaleongetPscAppointmentAvailability,orderTransactionIdongetOrders, andclinicalNotesonCreateOrderRequestCompatible.Several breaking changes have been made to request types in this release:
The
teamIdfield has been removed fromLinkListBulkOpsRequest,BulkImportConnectionsBody,BulkTriggerHistoricalPullBody,BulkExportConnectionsBody, andBulkPauseConnectionsBody. Remove any usage ofteamIdfrom calls tolistBulkOps,bulkImport,bulkTriggerHistoricalPull,bulkExport, andbulkPause.The
addressfield inUserInfoCreateRequesthas changed from typeVital.AddresstoVital.UserAddress. Update any references accordingly.The
vitalIosSdkVersionandvitalAndroidSdkVersionfields are now extracted from theManualConnectionDatarequest body and sent as HTTP headers (x-vital-ios-sdk-versionandx-vital-android-sdk-version) rather than as body properties.Several breaking type changes have been introduced in this release.
Breaking changes requiring migration:
ParsingJob.jobId(requiredstring) has been removed. Remove any code that readsparsingJob.jobId.UserInfo.addresstype has changed fromAddresstoUserAddress. Update any code that typed this field asAddress.ResultMetadatafieldspatientFirstName,patientLastName,dob, andlabNamehave changed from required to optional (string→string | undefined). Add null-checks where these fields are accessed.wheelchairUseonClientFacingActivityandClientFacingProfilehas narrowed frombooleantotrue. Code that assigned or checked forfalsewill no longer type-check.HistoricalPullCompleted.isFinal,UserRefreshSuccessResponse.success,UserRefreshErrorResponse.success, andPlaceholder.placeholderhave been narrowed to literal types (trueorfalse).New additions:
ClientFacingInsulinInjectionSamplenow includes optionaldeliveryMode,deliveryForm, andbolusPurposefields.OrderStatusandOrderLowLevelStatusenum values for corrected results and lab processing blocked states.sonora_quest,crl; new manual provider:samsung_health; new password provider:tandem_source.ResultMetadatagains an optionalgenderfield.VitalClient:compendium(withsearch()andconvert()methods for lab test compendium queries),labAccount(withgetTeamLabAccounts()), andorderTransaction. Several existing request types have been extended with new optional fields includinglabSlug,orderTransactionId,appointmentNotes,labAccountId, and mobile SDK version metadata onManualConnectionData.ResultMetadataresponse fields (patientFirstName,patientLastName,dob,labName) are now optional, andUserRefreshSuccessResponse/UserRefreshErrorResponseuse boolean literal types (true/false) for theirsuccessdiscriminant field.OrderTransactionClient(accessible viaclient.orderTransaction) withgetTransaction,getTransactionResult, andgetTransactionResultPdfmethods for managing order transactions. New types for insulin injection timeseries, sleep recovery/readiness scores, lab accounts, lab report parsing jobs, and order status details have been added. Several enums have been expanded with new values includingSonoraQuestfor lab/appointment providers,SamsungHealthfor manual providers, andInsulinPumpfor device source types. New optional fields are available onAppointmentBookingRequest,AppointmentRescheduleRequest,ClientFacingAppointment,ClientFacingOrder, andAddress.TandemSource,SamsungHealth), new payor code external providers (Apero,Pverify), and an optionalaccessNotesfield on address types (PatientAddress,PatientAddressCompatible,PatientAddressWithValidation,UsAddress,UserAddress). New types have been added for compendium search and conversion (SearchCompendiumResponse,SearchMode,CanonicalCandidate,PerLabCandidate,RelatedCandidate,ConvertCompendiumResponse), parsing job failure reasons (ParsingJobFailureReason), and US state codes (UsState). Query expression union types (QueryGroupByItem,QuerySelectItem) now includeDerivedReadinessColumnExpr,AwakeningsValueMacroExpr, andInsulinInjectionTimeseriesExprvariants. Appointment-related types now support optionalappointmentNotesand async confirmation fields.deliveryMode,deliveryForm,bolusPurpose) have been added toClientFacingInsulinInjectionSample, andrecoveryReadinessScoreis now available onClientFacingSleep. Order tracking has been expanded with newClientFacingOrderTransaction,OrderOrigin,OrderStatusDetail, and related types, while newClientFacingLabAccounttypes andConvertCompendiumResponseenable lab account management and compendium conversion workflows.tandem_source,samsung_health), an optionalaccess_notesfield on address types, and a newUsStateenum. New types have been added for compendium search (SearchCompendiumResponse,PerLabCandidate,RelatedCandidate,ProviderIdConversionResponse), lab accounts (ClientFacingLabAccount,LabAccountStatus), order transactions (ClientFacingOrderTransaction,OrderTransactionStatus), and derived readiness and insulin injection timeseries query expressions (DerivedReadinessColumnExpr,InsulinInjectionTimeseriesExpr,AwakeningsValueMacroExpr). TheSleepColumnExprSleepenum now includesrecovery_readiness_score.