Karta.Reports.Sending.Run (Karta v1.0.0)

One report Karta sends about one domain for one UTC day (day), of a kind ("dmarc_aggregate", "tls_rpt"). (kind, domain, day) is unique, so a day planned twice is one run.

status is :pending (to send, or to send again at next_attempt_at), :done (something was sent), :skipped (there was nothing to send to: reason says why) or :failed (reason says why; no more attempts). next_attempt_at is the claim (Karta.Claim).

Summary

Types

t()

@type t() :: %Karta.Reports.Sending.Run{
  __meta__: term(),
  attempts: term(),
  created_at: term(),
  day: term(),
  domain: term(),
  id: term(),
  kind: term(),
  next_attempt_at: term(),
  reason: term(),
  sends: term(),
  status: term(),
  updated_at: term()
}