# `SquatchMail.WebhookLog`
[🔗](https://github.com/Axio-Intelligence/Squatch-Mail/blob/v0.1.0/lib/squatch_mail/webhook_log.ex#L1)

A raw audit record of an inbound webhook payload (typically SNS/SES).

Every inbound payload is logged with its processing status so that ingestion
failures can be inspected and replayed.

# `t`

```elixir
@type t() :: %SquatchMail.WebhookLog{
  __meta__: term(),
  error: term(),
  id: term(),
  inserted_at: term(),
  message_type: term(),
  payload: term(),
  provider: term(),
  status: term(),
  updated_at: term()
}
```

# `changeset`

```elixir
@spec changeset(t(), map()) :: Ecto.Changeset.t()
```

Builds a changeset for a webhook log entry.

# `statuses`

```elixir
@spec statuses() :: [String.t()]
```

Returns the list of valid webhook log statuses.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
