Skip to main content

Module webhook

Module webhook 

Source
Expand description

Typed models for the Tango webhook management API.

Wire types are mirrored from tango-node/src/models/Webhooks.ts. Every struct carries #[serde(flatten)] extra: HashMap<String, Value> so a server-side schema addition surfaces as extra["new_field"] rather than being dropped during deserialization.

Structsยง

WebhookAlert
A filter-based webhook subscription.
WebhookAlertCreateInput
Request body for Client::create_webhook_alert.
WebhookAlertUpdateInput
PATCH body for Client::update_webhook_alert.
WebhookEndpoint
A configured webhook endpoint.
WebhookEndpointCreateInput
Request body for Client::create_webhook_endpoint.
WebhookEndpointUpdateInput
PATCH body for Client::update_webhook_endpoint. Only Some fields are sent.
WebhookEventType
One event type the server can emit.
WebhookEventTypesResponse
Response from Client::list_webhook_event_types.
WebhookSampleDelivery
One timestamped batch of synthetic events in a sample-payload response.
WebhookSamplePayloadResponse
Response from Client::get_webhook_sample_payload.
WebhookSamplePayloadSample
Wrapper around the per-type sample-delivery struct used in the all-types variant of WebhookSamplePayloadResponse.
WebhookTestDeliveryResult
Response from Client::test_webhook_endpoint.