MailglassInbound.InboundRecords.InboundEvidence (MailglassInbound v0.1.0)

Copy Markdown View Source

Raw evidence row linked to one canonical inbound record.

Stores provider-shaped payloads and debug material needed for replay, verification, and support without contaminating the canonical normalized row.

Summary

Types

t()

@type t() :: %MailglassInbound.InboundRecords.InboundEvidence{
  __meta__: term(),
  attachment_blobs: map(),
  id: Ecto.UUID.t() | nil,
  inbound_record: term(),
  inbound_record_id: Ecto.UUID.t() | nil,
  inserted_at: DateTime.t() | nil,
  parse_warnings: map(),
  provider: String.t() | nil,
  raw_headers: map(),
  raw_mime: binary() | nil,
  raw_payload: map(),
  replay_runs: term(),
  tenant_id: String.t() | nil,
  updated_at: DateTime.t() | nil,
  verification_facts: map()
}

Functions

changeset(attrs)

@spec changeset(map()) :: Ecto.Changeset.t()