feat: support multiple file uploads in lab report parser#130
Open
fern-api[bot] wants to merge 1 commit intomasterfrom
Open
feat: support multiple file uploads in lab report parser#130fern-api[bot] wants to merge 1 commit intomasterfrom
fern-api[bot] wants to merge 1 commit intomasterfrom
Conversation
Update the lab report parser to accept multiple files in a single job creation request. This change allows batch processing of multiple lab reports, improving efficiency for users with multiple files to parse simultaneously. Key changes: - Change parserCreateJob method to accept array of files instead of single file - Update form data handling to append multiple files with same field name - Modify JSDoc comments and examples to reflect multiple file support - Refactor query parameter building in introspect methods for cleaner code 🌿 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.
parserCreateJobmethod now accepts an array of files instead of a single file. Replace calls likeparserCreateJob(file, request)withparserCreateJob([file], request)to maintain existing behavior, or pass multiple files for batch processing.labSlugfor marker queries,orderTransactionIdfor order filtering,allowStalefor PSC appointment availability caching, andclinicalNotesfor order creation. Enhanced API documentation with clearer parameter descriptions.LabAccountClientwith team lab account retrieval capabilities. Added comprehensive order transaction tracking viaOrderTransactionClientincluding transaction details, results, and PDF downloads. Enhanced lab test creation with optional lab account and lab slug parameters, extended order filtering with transaction ID support, and added appointment notes functionality across booking workflows.