Request object as seen by the webhook middleware, carrying the Square webhook
data it attaches.
This extends the minimal ExpressRequestLike rather than Express's full
Request (see the note above), so it exposes only body, headers, on,
plus the fields below. If you type your own downstream middleware against it
and need Express's extras (params, query, get(...), …), intersect it
with the real Express request: req: SquareWebhookRequest & express.Request.
Request object as seen by the webhook middleware, carrying the Square webhook data it attaches.
This extends the minimal ExpressRequestLike rather than Express's full
Request(see the note above), so it exposes onlybody,headers,on, plus the fields below. If you type your own downstream middleware against it and need Express's extras (params,query,get(...), …), intersect it with the real Express request:req: SquareWebhookRequest & express.Request.