Normalize, create, and query channel suppressions.
Summary
Functions
Normalizes a recipient for suppression matching.
Upserts a normalized suppression row for a channel recipient.
Returns true when a normalized recipient is suppressed for the tenant scope.
Functions
Normalizes a recipient for suppression matching.
@spec suppress(map()) :: {:ok, Ecto.Schema.t()} | {:error, Ecto.Changeset.t()}
Upserts a normalized suppression row for a channel recipient.
Returns true when a normalized recipient is suppressed for the tenant scope.