Repository navigation
onfleet: add 28 doc-sourced samples - #67
Merged
Merged
Conversation
Verbatim from docs.onfleet.com/reference/webhook-payload-examples, as harvested into hookdeck/webhook-registry samples-doc/ (harvest_onfleet.py at b0a47d3). topic_identifier is the top-level body field triggerName. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
New provider: Onfleet, the last-mile delivery platform (Hookdeck source type
ONFLEET). This is the last stage of the add-a-source pipeline. Before it came the skill (hookdeck/webhook-skills#223), the registry row (hookdeck/webhook-registry#93, plus the citation fix in #95) and the check record (hookdeck/webhook-registry-checks#21)..mdmirror. Every body is the same flat 8-key envelope (triggerId,triggerName,taskId,workerId,adminId,actionContext,data,time, plus trigger-specific fields likeetaSeconds/status). None is elided. In each file,body.triggerNameequals the filename andtopic.null, and the samples keep them. Onfleet: "all other properties not relevant to the trigger may be provided asnull". For example,workerDutyhastaskId: nullandSMSRecipientOptOuthasdata: {}.triggerId, then checked bytriggerName. The fence labels on the examples page are informal (thetaskEtablock is labelledtaskETA), so they aren't used for naming.predictedTaskDelay, but its published example carries"triggerName": "taskPredictedDelay". Both are Onfleet's own docs, and which spelling arrives on the wire is unknown, so neither is exported. The registry records the conflict as a gap.taskUpdatedvariants ("with unavailable photo ids", "with uploaded photo and signature id"). Only the plaintaskUpdatedexample is exported, one body per topic.topic_identifier:triggerName, the top-level body field. Onfleet sends it "so you may overload the sameurlon your application as required". It resolves flat inrequestReceiver.ts, so a future capture will be named correctly.content-type: application/jsonis synthesized.X-Onfleet-Signatureis an HMAC-SHA512 over the raw body keyed with the customer's org secret, so docs can't supply it.latest. Onfleet has no webhook version scheme: no version header, and no version field in any body.latestissourced_via: docs,sourced_on: 2026-10-16. Each file carriessource.type: vendor-documentationand the page URL.Checklist:
providers/onfleetand noscripts/onfleetharness, so no captures are displaced. Existing files changed: 0.harvest_onfleet.pyat webhook-registryb0a47d3, currentmain) into a scratch tree is byte-identical to the committedsamples-doc/and to these files.yarn compilepasses: 154 → 155 providers, 28 onfleet topics, no collisions.yarn test: 14/14 passed.verify.py: FAIL (0), 202 providers.Evidence and non-assertions are in hookdeck/webhook-registry#93. Both registry PRs are already merged, so there is no merge-order dependency.
🤖 Generated with Claude Code