feat: add new UserAddress type and update module paths#69
Open
fern-api[bot] wants to merge 1 commit intomainfrom
Open
feat: add new UserAddress type and update module paths#69fern-api[bot] wants to merge 1 commit intomainfrom
fern-api[bot] wants to merge 1 commit intomainfrom
Conversation
Updates the Go module path from github.com/tryVital/vital-go to github.com/tryVital/vital-go/v505 across all packages. Introduces new UserAddress type with complete address field support and adds new client endpoints for Compendium, LabAccount, and OrderTransaction. Key changes: - Add UserAddress type with address fields (first_line, country, zip, etc.) - Update all import paths to use v505 module version - Add Compendium, LabAccount, and OrderTransaction client endpoints - Update UserInfo and UserInfoCreateRequest to use UserAddress instead of Address - Add JSON marshaling/unmarshaling methods to request types - Change CreateInsuranceRequest.Insured field from optional to required 🌿 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: Module path changed from github.com/tryVital/vital-go to github.com/tryVital/vital-go/v505, requiring import statement updates in consumer code.
AsyncConfirmation,SyncConfirmationTimeoutMillisecond, andAsyncConfirmationTimeoutMillisecondparameters. Appointment notes can now be included when booking, rescheduling, or requesting appointments. Lab test creation supports newLabAccountIdandLabSlugparameters for enhanced filtering. Order creation includes a newClinicalNotesfield, and order filtering supportsOrderTransactionId. Address types now includeAccessNotesfor delivery instructions. Sonora Quest is now available as an appointment provider.BiomarkerResult,LabResultsRaw, andLabResultsMetadatatypes. Address types now include anAccessNotesfield for delivery instructions. New event types are available for lab report parsing job lifecycle tracking, and order transaction functionality has been added withClientFacingOrderTransaction. Provider support has been expanded to include Samsung Health and Sonora Quest labs.github.com/tryVital/vital-gotogithub.com/tryVital/vital-go/v505. Update all import statements in your code to use the new versioned path structure. All existing imports will need to be updated to reference the v505 module.github.com/tryVital/vital-gotogithub.com/tryVital/vital-go/v505. This ensures proper version isolation and dependency management when using different SDK versions.github.com/tryVital/vital-gotogithub.com/tryVital/vital-go/v505and change the package alias fromvitalgotov505.vitalgopackage tov505. Update your imports fromgithub.com/tryVital/vital-gotogithub.com/tryVital/vital-go/v505and change type references accordingly (e.g.,vitalgo.Userbecomesv505.User).github.com/tryVital/vital-gotogithub.com/tryVital/vital-go/v505. Update your import statements to use the new versioned package path.github.com/tryVital/vital-gotogithub.com/tryVital/vital-go/v505. Update your import statements to use the new versioned path. All types and methods remain the same, only the import path has changed.Bytes()utility function for working with byte slice pointers.