Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Export formatting for webhook usage #166

Open
j opened this issue Jan 14, 2022 · 1 comment
Open

Feature Request: Export formatting for webhook usage #166

j opened this issue Jan 14, 2022 · 1 comment

Comments

@j
Copy link

j commented Jan 14, 2022

I'd like to share the formatted types from results that also apply to webhooks so I can consume a webhook but easily convert to the same exact information used within this SDK.

I.E.

client.trackUsingCarrierCodeAndTrackingNumber(/* ... */);

Is converted to a TrackUsingCarrierCodeAndTrackingNumberTypes.Result type.

I'd like to also consume the webhook and convert it over: formatTrackPackageByLabelIdResult(webhook.data).

@AnneOReilly
Copy link
Member

Hello @j! We will look into including this workflow in future releases. Thank you for your feedback.

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

No branches or pull requests

2 participants