Repository navigation
Split uber into uber, uber-eats and uber-direct - #91
Merged
Merged
Conversation
providers/uber held one doc-sourced sample, orders.notification, under the label "Uber Eats". hookdeck/webhook-registry#177 splits Uber into uber (Rides family), uber-eats and uber-direct, and orders.notification moves to uber-eats there. The sample's values were also truncated ("e6f2...") rather than a real example. The index.json goes too: without its only sample it would publish an "Uber Eats" provider with no samples and a latest version that does not exist. The registry's samples-doc tree carries the replacements (12 uber, 2 uber-eats, 5 uber-direct). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
18 samples from hookdeck/webhook-registry's samples-doc tree (generator/harvest_uber.py, regenerated and diffed identical), each a complete example copied verbatim from its developer.uber.com reference page: - uber (12): Riders, Drivers, Guest Rides, Direct API dapi.*, Uber for Business - uber-eats (1): store.menu_refresh_request - uber-direct (5): the four DaaS event.* types and direct.organization; topic_identifier is ["kind", "type"] because the billing webhook carries its type on `type` orders.notification is not re-added: its only example has truncated values. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch was successfully deployed
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.
Replaces the pooled
uberprovider (label "Uber Eats", one sample) with three providers, one for each place Uber puts the event type. This follows hookdeck/webhook-registry#177.topic_identifieruberevent_typedapi.*×2, Uber for Business receipt and invoiceuber-eatsevent_typestore.menu_refresh_requestuber-direct["kind", "type"]event.delivery_status,event.courier_update,event.shopping_progress,event.refund_request,direct.organizationWhere the samples come from:
sourcenames the page, and each version'sprovenanceisdocs, sourced 2026-11-18.samples-doc/tree, produced bygenerator/harvest_uber.py. I regenerated them into a scratch directory and the result was identical to the committed copies.Deliberately not here:
orders.notification: the old file is deleted, not moved touber-eats. Its only example has truncated values ("e6f2...").orders.*examples: fields are cut short with...."<campaign manager organization uuid>".business_order.receipt: the example is wrapped in an internal logging envelope withEVENT_ID-style placeholders.The registry rows list each of these as a gap.
uber-direct's identifier is a list on purpose. Delivery webhooks carry the event type onkind. The billing webhook (direct.organization) has nokindand carries it ontype. Both are top-level keys, sorequestReceiver.ts's flat lookup handles them.Checks:
yarn test: 26 passed, 0 failed.yarn compilepublishes the three providers with 12, 1 and 5 topics.topicthroughtopic.ts'sresolveTopicwith their provider'stopic_identifier.scripts/<provider>/capture harness, and none has a captured version.🤖 Generated with Claude Code