Unicom360.Webhook.TestEvent (Unicom360 v0.1.0)

Copy Markdown View Source

A verified webhook.test webhook delivery, from Unicom360.Webhook.construct_event/4.

  • event - "webhook.test".
  • delivery_id - the X-Unicom360-Delivery header (nil when absent). Deliveries are retried, so drop repeats by it.
  • created_at - an ISO 8601 string, as received.
  • data - a Unicom360.Webhook.TestEventData.
  • raw, extra - the JSON object, and the members this version does not model.

Summary

Types

t()

@type t() :: %Unicom360.Webhook.TestEvent{
  created_at: String.t() | nil,
  data: Unicom360.Webhook.TestEventData.t() | nil,
  delivery_id: String.t() | nil,
  event: String.t(),
  extra: map(),
  raw: map()
}