Add trackByTrackingNumber method (v0.5.0)#5
Merged
Merged
Conversation
Calls POST /track/v1/trackingnumbers (Basic Integrated Visibility). Same passthrough pattern as existing methods. Track API requires separate FedEx project credentials (FEDEX_TRACK_API_KEY/SECRET_KEY). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Coverage Report for CI Build 26238201495Coverage remained the same at 100.0%Details
Uncovered ChangesNo uncovered changes found. Coverage RegressionsNo coverage regressions found. Coverage Stats
💛 - Coveralls |
Match the FedEx API operation name "Track by Tracking Number". https://developer.fedex.com/wirc/browser/#operation/Track%20by%20Tracking%20Number Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.
Summary
trackByTrackingNumber(trackRequest, options)— calls the FedEx Track API (POST /track/v1/trackingnumbers), matching the API operation name Track by Tracking Number. Same passthrough pattern as the other methods: the caller supplies the full request body and the package forwards it verbatim.FEDEX_TRACK_API_KEY/FEDEX_TRACK_SECRET_KEY), added as repo secrets and wired into CI.613746411451; mocked tests cover delivered Ground shipment (weight, dimensions, service type), in-transit SmartPost shipment (weight only, no dimensions), header/method, errors envelope, and non-2xx responses.Test plan
trackByTrackingNumber (mocked)✓); live tests pass in CI with theFEDEX_TRACK_API_KEY/FEDEX_TRACK_SECRET_KEYsecrets🤖 Generated with Claude Code