Lettermint.Types.StoreSuppressionData (Lettermint v2.1.0)

Copy Markdown View Source

schema:StoreSuppressionData.

Fields

  • email (optional, nullable)
  • emails (optional, nullable)
  • reason (required)
  • scope (required)
  • route_id (optional, nullable)
  • project_id (optional, nullable)
  • applies_to (optional, nullable): Mail category to block. Manual suppressions default to all. Use broadcast only at team scope, project scope, or on a broadcast route

Absent fields are :unset; nil is JSON null. extra holds response fields that this version of the SDK does not know.

Summary

Types

t()

@type t() :: %Lettermint.Types.StoreSuppressionData{
  applies_to: Lettermint.Types.SuppressionAppliesTo.t() | nil | :unset,
  email: String.t() | nil | :unset,
  emails: [String.t()] | nil | :unset,
  extra: %{optional(String.t()) => term()},
  project_id: String.t() | nil | :unset,
  reason: Lettermint.Types.SuppressionCreateReason.t(),
  route_id: String.t() | nil | :unset,
  scope: Lettermint.Types.SuppressionCreateScope.t()
}