Skip to content

Split uber into uber, uber-eats and uber-direct - #91

Merged
garethx merged 2 commits into
mainfrom
fix/remove-pooled-uber-eats-sample
Nov 18, 2026
Merged

garethx merged 2 commits into
mainfrom
fix/remove-pooled-uber-eats-sample

Conversation

@garethx

@garethx garethx commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Replaces the pooled uber provider (label "Uber Eats", one sample) with three providers, one for each place Uber puts the event type. This follows hookdeck/webhook-registry#177.

Provider Label topic_identifier Samples
uber Uber event_type 12: Riders ×3, Drivers, Guest Rides ×4, Direct API dapi.* ×2, Uber for Business receipt and invoice
uber-eats Uber Eats event_type 1: store.menu_refresh_request
uber-direct Uber Direct ["kind", "type"] 5: event.delivery_status, event.courier_update, event.shopping_progress, event.refund_request, direct.organization

Where the samples come from:

  • Every sample is a complete example copied exactly from its developer.uber.com reference page. Each file's source names the page, and each version's provenance is docs, sourced 2026-11-18.
  • They come from the registry's samples-doc/ tree, produced by generator/harvest_uber.py. I regenerated them into a scratch directory and the result was identical to the committed copies.
  • The DaaS examples use Uber's own dummy names, 555 phone numbers and public business addresses, kept exactly as published.

Deliberately not here:

  • orders.notification: the old file is deleted, not moved to uber-eats. Its only example has truncated values ("e6f2...").
  • The other Eats orders.* examples: fields are cut short with ....
  • Vouchers: placeholder values like "<campaign manager organization uuid>".
  • business_order.receipt: the example is wrapped in an internal logging envelope with EVENT_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 on kind. The billing webhook (direct.organization) has no kind and carries it on type. Both are top-level keys, so requestReceiver.ts's flat lookup handles them.

Checks:

  • yarn test: 26 passed, 0 failed.
  • yarn compile publishes the three providers with 12, 1 and 5 topics.
  • All 18 files resolve to their own topic through topic.ts's resolveTopic with their provider's topic_identifier.
  • None of the three providers has a scripts/<provider>/ capture harness, and none has a captured version.

🤖 Generated with Claude Code

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>
@vercel

vercel Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
webhook-samples Ready Ready Preview Nov 18, 2026 3:20pm UTC

Request Review

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>
@garethx garethx changed the title Remove the pooled uber provider labelled "Uber Eats" Split uber into uber, uber-eats and uber-direct Nov 18, 2026
@garethx
garethx merged commit d2605d4 into main Nov 18, 2026
3 checks passed
@garethx
garethx deleted the fix/remove-pooled-uber-eats-sample branch November 18, 2026 15:56

This branch was successfully deployed

1 active deployment
Preview — 1654430d Deployed Nov 18, 2026 by vercel[bot]
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

Successfully merging this pull request may close these issues.

1 participant