Help us shape the future of Go! Take the 2026 Go Developer Survey

outboundmessage

package
v0.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 25, 2026 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the outboundmessage type in the database.
	Label = "outbound_message"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// FieldUpdatedAt holds the string denoting the updated_at field in the database.
	FieldUpdatedAt = "updated_at"
	// FieldWorkspaceID holds the string denoting the workspace_id field in the database.
	FieldWorkspaceID = "workspace_id"
	// FieldKind holds the string denoting the kind field in the database.
	FieldKind = "kind"
	// FieldIdempotencyKey holds the string denoting the idempotency_key field in the database.
	FieldIdempotencyKey = "idempotency_key"
	// FieldChannel holds the string denoting the channel field in the database.
	FieldChannel = "channel"
	// FieldDestination holds the string denoting the destination field in the database.
	FieldDestination = "destination"
	// FieldContactID holds the string denoting the contact_id field in the database.
	FieldContactID = "contact_id"
	// FieldSendingSource holds the string denoting the sending_source field in the database.
	FieldSendingSource = "sending_source"
	// FieldSendingDomain holds the string denoting the sending_domain field in the database.
	FieldSendingDomain = "sending_domain"
	// FieldProviderMessageID holds the string denoting the provider_message_id field in the database.
	FieldProviderMessageID = "provider_message_id"
	// FieldStatus holds the string denoting the status field in the database.
	FieldStatus = "status"
	// FieldReason holds the string denoting the reason field in the database.
	FieldReason = "reason"
	// FieldClaimedAt holds the string denoting the claimed_at field in the database.
	FieldClaimedAt = "claimed_at"
	// FieldSentAt holds the string denoting the sent_at field in the database.
	FieldSentAt = "sent_at"
	// FieldDeliveredAt holds the string denoting the delivered_at field in the database.
	FieldDeliveredAt = "delivered_at"
	// FieldBouncedAt holds the string denoting the bounced_at field in the database.
	FieldBouncedAt = "bounced_at"
	// FieldComplainedAt holds the string denoting the complained_at field in the database.
	FieldComplainedAt = "complained_at"
	// FieldCaptured holds the string denoting the captured field in the database.
	FieldCaptured = "captured"
	// FieldBroadcastID holds the string denoting the broadcast_id field in the database.
	FieldBroadcastID = "broadcast_id"
	// FieldBroadcastRecipientID holds the string denoting the broadcast_recipient_id field in the database.
	FieldBroadcastRecipientID = "broadcast_recipient_id"
	// FieldAutomationID holds the string denoting the automation_id field in the database.
	FieldAutomationID = "automation_id"
	// FieldAutomationRunID holds the string denoting the automation_run_id field in the database.
	FieldAutomationRunID = "automation_run_id"
	// FieldAutomationStep holds the string denoting the automation_step field in the database.
	FieldAutomationStep = "automation_step"
	// FieldIntegrationID holds the string denoting the integration_id field in the database.
	FieldIntegrationID = "integration_id"
	// FieldTemplateID holds the string denoting the template_id field in the database.
	FieldTemplateID = "template_id"
	// FieldAppOrigin holds the string denoting the app_origin field in the database.
	FieldAppOrigin = "app_origin"
	// EdgeWorkspace holds the string denoting the workspace edge name in mutations.
	EdgeWorkspace = "workspace"
	// EdgeBroadcast holds the string denoting the broadcast edge name in mutations.
	EdgeBroadcast = "broadcast"
	// EdgeAutomation holds the string denoting the automation edge name in mutations.
	EdgeAutomation = "automation"
	// EdgeIntegration holds the string denoting the integration edge name in mutations.
	EdgeIntegration = "integration"
	// EdgeBroadcastRecipient holds the string denoting the broadcast_recipient edge name in mutations.
	EdgeBroadcastRecipient = "broadcast_recipient"
	// EdgeAutomationRun holds the string denoting the automation_run edge name in mutations.
	EdgeAutomationRun = "automation_run"
	// EdgeContact holds the string denoting the contact edge name in mutations.
	EdgeContact = "contact"
	// EdgeTemplate holds the string denoting the template edge name in mutations.
	EdgeTemplate = "template"
	// Table holds the table name of the outboundmessage in the database.
	Table = "outbound_messages"
	// WorkspaceTable is the table that holds the workspace relation/edge.
	WorkspaceTable = "outbound_messages"
	// WorkspaceInverseTable is the table name for the Workspace entity.
	// It exists in this package in order to avoid circular dependency with the "workspace" package.
	WorkspaceInverseTable = "workspaces"
	// WorkspaceColumn is the table column denoting the workspace relation/edge.
	WorkspaceColumn = "workspace_id"
	// BroadcastTable is the table that holds the broadcast relation/edge.
	BroadcastTable = "outbound_messages"
	// BroadcastInverseTable is the table name for the Broadcast entity.
	// It exists in this package in order to avoid circular dependency with the "broadcast" package.
	BroadcastInverseTable = "broadcasts"
	// BroadcastColumn is the table column denoting the broadcast relation/edge.
	BroadcastColumn = "broadcast_id"
	// AutomationTable is the table that holds the automation relation/edge.
	AutomationTable = "outbound_messages"
	// AutomationInverseTable is the table name for the Automation entity.
	// It exists in this package in order to avoid circular dependency with the "automation" package.
	AutomationInverseTable = "automations"
	// AutomationColumn is the table column denoting the automation relation/edge.
	AutomationColumn = "automation_id"
	// IntegrationTable is the table that holds the integration relation/edge.
	IntegrationTable = "outbound_messages"
	// IntegrationInverseTable is the table name for the Integration entity.
	// It exists in this package in order to avoid circular dependency with the "integration" package.
	IntegrationInverseTable = "integrations"
	// IntegrationColumn is the table column denoting the integration relation/edge.
	IntegrationColumn = "integration_id"
	// BroadcastRecipientTable is the table that holds the broadcast_recipient relation/edge.
	BroadcastRecipientTable = "outbound_messages"
	// BroadcastRecipientInverseTable is the table name for the BroadcastRecipient entity.
	// It exists in this package in order to avoid circular dependency with the "broadcastrecipient" package.
	BroadcastRecipientInverseTable = "broadcast_recipients"
	// BroadcastRecipientColumn is the table column denoting the broadcast_recipient relation/edge.
	BroadcastRecipientColumn = "broadcast_recipient_id"
	// AutomationRunTable is the table that holds the automation_run relation/edge.
	AutomationRunTable = "outbound_messages"
	// AutomationRunInverseTable is the table name for the AutomationRun entity.
	// It exists in this package in order to avoid circular dependency with the "automationrun" package.
	AutomationRunInverseTable = "automation_runs"
	// AutomationRunColumn is the table column denoting the automation_run relation/edge.
	AutomationRunColumn = "automation_run_id"
	// ContactTable is the table that holds the contact relation/edge.
	ContactTable = "outbound_messages"
	// ContactInverseTable is the table name for the Contact entity.
	// It exists in this package in order to avoid circular dependency with the "contact" package.
	ContactInverseTable = "contacts"
	// ContactColumn is the table column denoting the contact relation/edge.
	ContactColumn = "contact_id"
	// TemplateTable is the table that holds the template relation/edge.
	TemplateTable = "outbound_messages"
	// TemplateInverseTable is the table name for the EmailTemplate entity.
	// It exists in this package in order to avoid circular dependency with the "emailtemplate" package.
	TemplateInverseTable = "email_templates"
	// TemplateColumn is the table column denoting the template relation/edge.
	TemplateColumn = "template_id"
)
View Source
const DefaultChannel = ChannelEmail

ChannelEmail is the default value of the Channel enum.

View Source
const DefaultStatus = StatusPending

StatusPending is the default value of the Status enum.

Variables

View Source
var (
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
	// DefaultUpdatedAt holds the default value on creation for the "updated_at" field.
	DefaultUpdatedAt func() time.Time
	// UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field.
	UpdateDefaultUpdatedAt func() time.Time
	// IdempotencyKeyValidator is a validator for the "idempotency_key" field. It is called by the builders before save.
	IdempotencyKeyValidator func(string) error
	// DefaultClaimedAt holds the default value on creation for the "claimed_at" field.
	DefaultClaimedAt func() time.Time
	// DefaultCaptured holds the default value on creation for the "captured" field.
	DefaultCaptured bool
)

Columns holds all SQL columns for outboundmessage fields.

Functions

func And

And groups predicates with the AND operator between them.

func AppOrigin

func AppOrigin(v string) predicate.OutboundMessage

AppOrigin applies equality check predicate on the "app_origin" field. It's identical to AppOriginEQ.

func AppOriginContains

func AppOriginContains(v string) predicate.OutboundMessage

AppOriginContains applies the Contains predicate on the "app_origin" field.

func AppOriginContainsFold

func AppOriginContainsFold(v string) predicate.OutboundMessage

AppOriginContainsFold applies the ContainsFold predicate on the "app_origin" field.

func AppOriginEQ

func AppOriginEQ(v string) predicate.OutboundMessage

AppOriginEQ applies the EQ predicate on the "app_origin" field.

func AppOriginEqualFold

func AppOriginEqualFold(v string) predicate.OutboundMessage

AppOriginEqualFold applies the EqualFold predicate on the "app_origin" field.

func AppOriginGT

func AppOriginGT(v string) predicate.OutboundMessage

AppOriginGT applies the GT predicate on the "app_origin" field.

func AppOriginGTE

func AppOriginGTE(v string) predicate.OutboundMessage

AppOriginGTE applies the GTE predicate on the "app_origin" field.

func AppOriginHasPrefix

func AppOriginHasPrefix(v string) predicate.OutboundMessage

AppOriginHasPrefix applies the HasPrefix predicate on the "app_origin" field.

func AppOriginHasSuffix

func AppOriginHasSuffix(v string) predicate.OutboundMessage

AppOriginHasSuffix applies the HasSuffix predicate on the "app_origin" field.

func AppOriginIn

func AppOriginIn(vs ...string) predicate.OutboundMessage

AppOriginIn applies the In predicate on the "app_origin" field.

func AppOriginIsNil

func AppOriginIsNil() predicate.OutboundMessage

AppOriginIsNil applies the IsNil predicate on the "app_origin" field.

func AppOriginLT

func AppOriginLT(v string) predicate.OutboundMessage

AppOriginLT applies the LT predicate on the "app_origin" field.

func AppOriginLTE

func AppOriginLTE(v string) predicate.OutboundMessage

AppOriginLTE applies the LTE predicate on the "app_origin" field.

func AppOriginNEQ

func AppOriginNEQ(v string) predicate.OutboundMessage

AppOriginNEQ applies the NEQ predicate on the "app_origin" field.

func AppOriginNotIn

func AppOriginNotIn(vs ...string) predicate.OutboundMessage

AppOriginNotIn applies the NotIn predicate on the "app_origin" field.

func AppOriginNotNil

func AppOriginNotNil() predicate.OutboundMessage

AppOriginNotNil applies the NotNil predicate on the "app_origin" field.

func AutomationID

func AutomationID(v int64) predicate.OutboundMessage

AutomationID applies equality check predicate on the "automation_id" field. It's identical to AutomationIDEQ.

func AutomationIDEQ

func AutomationIDEQ(v int64) predicate.OutboundMessage

AutomationIDEQ applies the EQ predicate on the "automation_id" field.

func AutomationIDIn

func AutomationIDIn(vs ...int64) predicate.OutboundMessage

AutomationIDIn applies the In predicate on the "automation_id" field.

func AutomationIDIsNil

func AutomationIDIsNil() predicate.OutboundMessage

AutomationIDIsNil applies the IsNil predicate on the "automation_id" field.

func AutomationIDNEQ

func AutomationIDNEQ(v int64) predicate.OutboundMessage

AutomationIDNEQ applies the NEQ predicate on the "automation_id" field.

func AutomationIDNotIn

func AutomationIDNotIn(vs ...int64) predicate.OutboundMessage

AutomationIDNotIn applies the NotIn predicate on the "automation_id" field.

func AutomationIDNotNil

func AutomationIDNotNil() predicate.OutboundMessage

AutomationIDNotNil applies the NotNil predicate on the "automation_id" field.

func AutomationRunID

func AutomationRunID(v int64) predicate.OutboundMessage

AutomationRunID applies equality check predicate on the "automation_run_id" field. It's identical to AutomationRunIDEQ.

func AutomationRunIDEQ

func AutomationRunIDEQ(v int64) predicate.OutboundMessage

AutomationRunIDEQ applies the EQ predicate on the "automation_run_id" field.

func AutomationRunIDIn

func AutomationRunIDIn(vs ...int64) predicate.OutboundMessage

AutomationRunIDIn applies the In predicate on the "automation_run_id" field.

func AutomationRunIDIsNil

func AutomationRunIDIsNil() predicate.OutboundMessage

AutomationRunIDIsNil applies the IsNil predicate on the "automation_run_id" field.

func AutomationRunIDNEQ

func AutomationRunIDNEQ(v int64) predicate.OutboundMessage

AutomationRunIDNEQ applies the NEQ predicate on the "automation_run_id" field.

func AutomationRunIDNotIn

func AutomationRunIDNotIn(vs ...int64) predicate.OutboundMessage

AutomationRunIDNotIn applies the NotIn predicate on the "automation_run_id" field.

func AutomationRunIDNotNil

func AutomationRunIDNotNil() predicate.OutboundMessage

AutomationRunIDNotNil applies the NotNil predicate on the "automation_run_id" field.

func AutomationStep

func AutomationStep(v int) predicate.OutboundMessage

AutomationStep applies equality check predicate on the "automation_step" field. It's identical to AutomationStepEQ.

func AutomationStepEQ

func AutomationStepEQ(v int) predicate.OutboundMessage

AutomationStepEQ applies the EQ predicate on the "automation_step" field.

func AutomationStepGT

func AutomationStepGT(v int) predicate.OutboundMessage

AutomationStepGT applies the GT predicate on the "automation_step" field.

func AutomationStepGTE

func AutomationStepGTE(v int) predicate.OutboundMessage

AutomationStepGTE applies the GTE predicate on the "automation_step" field.

func AutomationStepIn

func AutomationStepIn(vs ...int) predicate.OutboundMessage

AutomationStepIn applies the In predicate on the "automation_step" field.

func AutomationStepIsNil

func AutomationStepIsNil() predicate.OutboundMessage

AutomationStepIsNil applies the IsNil predicate on the "automation_step" field.

func AutomationStepLT

func AutomationStepLT(v int) predicate.OutboundMessage

AutomationStepLT applies the LT predicate on the "automation_step" field.

func AutomationStepLTE

func AutomationStepLTE(v int) predicate.OutboundMessage

AutomationStepLTE applies the LTE predicate on the "automation_step" field.

func AutomationStepNEQ

func AutomationStepNEQ(v int) predicate.OutboundMessage

AutomationStepNEQ applies the NEQ predicate on the "automation_step" field.

func AutomationStepNotIn

func AutomationStepNotIn(vs ...int) predicate.OutboundMessage

AutomationStepNotIn applies the NotIn predicate on the "automation_step" field.

func AutomationStepNotNil

func AutomationStepNotNil() predicate.OutboundMessage

AutomationStepNotNil applies the NotNil predicate on the "automation_step" field.

func BouncedAt

func BouncedAt(v time.Time) predicate.OutboundMessage

BouncedAt applies equality check predicate on the "bounced_at" field. It's identical to BouncedAtEQ.

func BouncedAtEQ

func BouncedAtEQ(v time.Time) predicate.OutboundMessage

BouncedAtEQ applies the EQ predicate on the "bounced_at" field.

func BouncedAtGT

func BouncedAtGT(v time.Time) predicate.OutboundMessage

BouncedAtGT applies the GT predicate on the "bounced_at" field.

func BouncedAtGTE

func BouncedAtGTE(v time.Time) predicate.OutboundMessage

BouncedAtGTE applies the GTE predicate on the "bounced_at" field.

func BouncedAtIn

func BouncedAtIn(vs ...time.Time) predicate.OutboundMessage

BouncedAtIn applies the In predicate on the "bounced_at" field.

func BouncedAtIsNil

func BouncedAtIsNil() predicate.OutboundMessage

BouncedAtIsNil applies the IsNil predicate on the "bounced_at" field.

func BouncedAtLT

func BouncedAtLT(v time.Time) predicate.OutboundMessage

BouncedAtLT applies the LT predicate on the "bounced_at" field.

func BouncedAtLTE

func BouncedAtLTE(v time.Time) predicate.OutboundMessage

BouncedAtLTE applies the LTE predicate on the "bounced_at" field.

func BouncedAtNEQ

func BouncedAtNEQ(v time.Time) predicate.OutboundMessage

BouncedAtNEQ applies the NEQ predicate on the "bounced_at" field.

func BouncedAtNotIn

func BouncedAtNotIn(vs ...time.Time) predicate.OutboundMessage

BouncedAtNotIn applies the NotIn predicate on the "bounced_at" field.

func BouncedAtNotNil

func BouncedAtNotNil() predicate.OutboundMessage

BouncedAtNotNil applies the NotNil predicate on the "bounced_at" field.

func BroadcastID

func BroadcastID(v int64) predicate.OutboundMessage

BroadcastID applies equality check predicate on the "broadcast_id" field. It's identical to BroadcastIDEQ.

func BroadcastIDEQ

func BroadcastIDEQ(v int64) predicate.OutboundMessage

BroadcastIDEQ applies the EQ predicate on the "broadcast_id" field.

func BroadcastIDIn

func BroadcastIDIn(vs ...int64) predicate.OutboundMessage

BroadcastIDIn applies the In predicate on the "broadcast_id" field.

func BroadcastIDIsNil

func BroadcastIDIsNil() predicate.OutboundMessage

BroadcastIDIsNil applies the IsNil predicate on the "broadcast_id" field.

func BroadcastIDNEQ

func BroadcastIDNEQ(v int64) predicate.OutboundMessage

BroadcastIDNEQ applies the NEQ predicate on the "broadcast_id" field.

func BroadcastIDNotIn

func BroadcastIDNotIn(vs ...int64) predicate.OutboundMessage

BroadcastIDNotIn applies the NotIn predicate on the "broadcast_id" field.

func BroadcastIDNotNil

func BroadcastIDNotNil() predicate.OutboundMessage

BroadcastIDNotNil applies the NotNil predicate on the "broadcast_id" field.

func BroadcastRecipientID

func BroadcastRecipientID(v int64) predicate.OutboundMessage

BroadcastRecipientID applies equality check predicate on the "broadcast_recipient_id" field. It's identical to BroadcastRecipientIDEQ.

func BroadcastRecipientIDEQ

func BroadcastRecipientIDEQ(v int64) predicate.OutboundMessage

BroadcastRecipientIDEQ applies the EQ predicate on the "broadcast_recipient_id" field.

func BroadcastRecipientIDIn

func BroadcastRecipientIDIn(vs ...int64) predicate.OutboundMessage

BroadcastRecipientIDIn applies the In predicate on the "broadcast_recipient_id" field.

func BroadcastRecipientIDIsNil

func BroadcastRecipientIDIsNil() predicate.OutboundMessage

BroadcastRecipientIDIsNil applies the IsNil predicate on the "broadcast_recipient_id" field.

func BroadcastRecipientIDNEQ

func BroadcastRecipientIDNEQ(v int64) predicate.OutboundMessage

BroadcastRecipientIDNEQ applies the NEQ predicate on the "broadcast_recipient_id" field.

func BroadcastRecipientIDNotIn

func BroadcastRecipientIDNotIn(vs ...int64) predicate.OutboundMessage

BroadcastRecipientIDNotIn applies the NotIn predicate on the "broadcast_recipient_id" field.

func BroadcastRecipientIDNotNil

func BroadcastRecipientIDNotNil() predicate.OutboundMessage

BroadcastRecipientIDNotNil applies the NotNil predicate on the "broadcast_recipient_id" field.

func Captured

func Captured(v bool) predicate.OutboundMessage

Captured applies equality check predicate on the "captured" field. It's identical to CapturedEQ.

func CapturedEQ

func CapturedEQ(v bool) predicate.OutboundMessage

CapturedEQ applies the EQ predicate on the "captured" field.

func CapturedNEQ

func CapturedNEQ(v bool) predicate.OutboundMessage

CapturedNEQ applies the NEQ predicate on the "captured" field.

func ChannelEQ

func ChannelEQ(v Channel) predicate.OutboundMessage

ChannelEQ applies the EQ predicate on the "channel" field.

func ChannelIn

func ChannelIn(vs ...Channel) predicate.OutboundMessage

ChannelIn applies the In predicate on the "channel" field.

func ChannelNEQ

func ChannelNEQ(v Channel) predicate.OutboundMessage

ChannelNEQ applies the NEQ predicate on the "channel" field.

func ChannelNotIn

func ChannelNotIn(vs ...Channel) predicate.OutboundMessage

ChannelNotIn applies the NotIn predicate on the "channel" field.

func ChannelValidator

func ChannelValidator(c Channel) error

ChannelValidator is a validator for the "channel" field enum values. It is called by the builders before save.

func ClaimedAt

func ClaimedAt(v time.Time) predicate.OutboundMessage

ClaimedAt applies equality check predicate on the "claimed_at" field. It's identical to ClaimedAtEQ.

func ClaimedAtEQ

func ClaimedAtEQ(v time.Time) predicate.OutboundMessage

ClaimedAtEQ applies the EQ predicate on the "claimed_at" field.

func ClaimedAtGT

func ClaimedAtGT(v time.Time) predicate.OutboundMessage

ClaimedAtGT applies the GT predicate on the "claimed_at" field.

func ClaimedAtGTE

func ClaimedAtGTE(v time.Time) predicate.OutboundMessage

ClaimedAtGTE applies the GTE predicate on the "claimed_at" field.

func ClaimedAtIn

func ClaimedAtIn(vs ...time.Time) predicate.OutboundMessage

ClaimedAtIn applies the In predicate on the "claimed_at" field.

func ClaimedAtLT

func ClaimedAtLT(v time.Time) predicate.OutboundMessage

ClaimedAtLT applies the LT predicate on the "claimed_at" field.

func ClaimedAtLTE

func ClaimedAtLTE(v time.Time) predicate.OutboundMessage

ClaimedAtLTE applies the LTE predicate on the "claimed_at" field.

func ClaimedAtNEQ

func ClaimedAtNEQ(v time.Time) predicate.OutboundMessage

ClaimedAtNEQ applies the NEQ predicate on the "claimed_at" field.

func ClaimedAtNotIn

func ClaimedAtNotIn(vs ...time.Time) predicate.OutboundMessage

ClaimedAtNotIn applies the NotIn predicate on the "claimed_at" field.

func ComplainedAt

func ComplainedAt(v time.Time) predicate.OutboundMessage

ComplainedAt applies equality check predicate on the "complained_at" field. It's identical to ComplainedAtEQ.

func ComplainedAtEQ

func ComplainedAtEQ(v time.Time) predicate.OutboundMessage

ComplainedAtEQ applies the EQ predicate on the "complained_at" field.

func ComplainedAtGT

func ComplainedAtGT(v time.Time) predicate.OutboundMessage

ComplainedAtGT applies the GT predicate on the "complained_at" field.

func ComplainedAtGTE

func ComplainedAtGTE(v time.Time) predicate.OutboundMessage

ComplainedAtGTE applies the GTE predicate on the "complained_at" field.

func ComplainedAtIn

func ComplainedAtIn(vs ...time.Time) predicate.OutboundMessage

ComplainedAtIn applies the In predicate on the "complained_at" field.

func ComplainedAtIsNil

func ComplainedAtIsNil() predicate.OutboundMessage

ComplainedAtIsNil applies the IsNil predicate on the "complained_at" field.

func ComplainedAtLT

func ComplainedAtLT(v time.Time) predicate.OutboundMessage

ComplainedAtLT applies the LT predicate on the "complained_at" field.

func ComplainedAtLTE

func ComplainedAtLTE(v time.Time) predicate.OutboundMessage

ComplainedAtLTE applies the LTE predicate on the "complained_at" field.

func ComplainedAtNEQ

func ComplainedAtNEQ(v time.Time) predicate.OutboundMessage

ComplainedAtNEQ applies the NEQ predicate on the "complained_at" field.

func ComplainedAtNotIn

func ComplainedAtNotIn(vs ...time.Time) predicate.OutboundMessage

ComplainedAtNotIn applies the NotIn predicate on the "complained_at" field.

func ComplainedAtNotNil

func ComplainedAtNotNil() predicate.OutboundMessage

ComplainedAtNotNil applies the NotNil predicate on the "complained_at" field.

func ContactID

func ContactID(v int64) predicate.OutboundMessage

ContactID applies equality check predicate on the "contact_id" field. It's identical to ContactIDEQ.

func ContactIDEQ

func ContactIDEQ(v int64) predicate.OutboundMessage

ContactIDEQ applies the EQ predicate on the "contact_id" field.

func ContactIDIn

func ContactIDIn(vs ...int64) predicate.OutboundMessage

ContactIDIn applies the In predicate on the "contact_id" field.

func ContactIDIsNil

func ContactIDIsNil() predicate.OutboundMessage

ContactIDIsNil applies the IsNil predicate on the "contact_id" field.

func ContactIDNEQ

func ContactIDNEQ(v int64) predicate.OutboundMessage

ContactIDNEQ applies the NEQ predicate on the "contact_id" field.

func ContactIDNotIn

func ContactIDNotIn(vs ...int64) predicate.OutboundMessage

ContactIDNotIn applies the NotIn predicate on the "contact_id" field.

func ContactIDNotNil

func ContactIDNotNil() predicate.OutboundMessage

ContactIDNotNil applies the NotNil predicate on the "contact_id" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.OutboundMessage

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.OutboundMessage

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.OutboundMessage

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.OutboundMessage

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.OutboundMessage

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.OutboundMessage

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.OutboundMessage

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.OutboundMessage

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.OutboundMessage

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func DeliveredAt

func DeliveredAt(v time.Time) predicate.OutboundMessage

DeliveredAt applies equality check predicate on the "delivered_at" field. It's identical to DeliveredAtEQ.

func DeliveredAtEQ

func DeliveredAtEQ(v time.Time) predicate.OutboundMessage

DeliveredAtEQ applies the EQ predicate on the "delivered_at" field.

func DeliveredAtGT

func DeliveredAtGT(v time.Time) predicate.OutboundMessage

DeliveredAtGT applies the GT predicate on the "delivered_at" field.

func DeliveredAtGTE

func DeliveredAtGTE(v time.Time) predicate.OutboundMessage

DeliveredAtGTE applies the GTE predicate on the "delivered_at" field.

func DeliveredAtIn

func DeliveredAtIn(vs ...time.Time) predicate.OutboundMessage

DeliveredAtIn applies the In predicate on the "delivered_at" field.

func DeliveredAtIsNil

func DeliveredAtIsNil() predicate.OutboundMessage

DeliveredAtIsNil applies the IsNil predicate on the "delivered_at" field.

func DeliveredAtLT

func DeliveredAtLT(v time.Time) predicate.OutboundMessage

DeliveredAtLT applies the LT predicate on the "delivered_at" field.

func DeliveredAtLTE

func DeliveredAtLTE(v time.Time) predicate.OutboundMessage

DeliveredAtLTE applies the LTE predicate on the "delivered_at" field.

func DeliveredAtNEQ

func DeliveredAtNEQ(v time.Time) predicate.OutboundMessage

DeliveredAtNEQ applies the NEQ predicate on the "delivered_at" field.

func DeliveredAtNotIn

func DeliveredAtNotIn(vs ...time.Time) predicate.OutboundMessage

DeliveredAtNotIn applies the NotIn predicate on the "delivered_at" field.

func DeliveredAtNotNil

func DeliveredAtNotNil() predicate.OutboundMessage

DeliveredAtNotNil applies the NotNil predicate on the "delivered_at" field.

func Destination

func Destination(v string) predicate.OutboundMessage

Destination applies equality check predicate on the "destination" field. It's identical to DestinationEQ.

func DestinationContains

func DestinationContains(v string) predicate.OutboundMessage

DestinationContains applies the Contains predicate on the "destination" field.

func DestinationContainsFold

func DestinationContainsFold(v string) predicate.OutboundMessage

DestinationContainsFold applies the ContainsFold predicate on the "destination" field.

func DestinationEQ

func DestinationEQ(v string) predicate.OutboundMessage

DestinationEQ applies the EQ predicate on the "destination" field.

func DestinationEqualFold

func DestinationEqualFold(v string) predicate.OutboundMessage

DestinationEqualFold applies the EqualFold predicate on the "destination" field.

func DestinationGT

func DestinationGT(v string) predicate.OutboundMessage

DestinationGT applies the GT predicate on the "destination" field.

func DestinationGTE

func DestinationGTE(v string) predicate.OutboundMessage

DestinationGTE applies the GTE predicate on the "destination" field.

func DestinationHasPrefix

func DestinationHasPrefix(v string) predicate.OutboundMessage

DestinationHasPrefix applies the HasPrefix predicate on the "destination" field.

func DestinationHasSuffix

func DestinationHasSuffix(v string) predicate.OutboundMessage

DestinationHasSuffix applies the HasSuffix predicate on the "destination" field.

func DestinationIn

func DestinationIn(vs ...string) predicate.OutboundMessage

DestinationIn applies the In predicate on the "destination" field.

func DestinationIsNil

func DestinationIsNil() predicate.OutboundMessage

DestinationIsNil applies the IsNil predicate on the "destination" field.

func DestinationLT

func DestinationLT(v string) predicate.OutboundMessage

DestinationLT applies the LT predicate on the "destination" field.

func DestinationLTE

func DestinationLTE(v string) predicate.OutboundMessage

DestinationLTE applies the LTE predicate on the "destination" field.

func DestinationNEQ

func DestinationNEQ(v string) predicate.OutboundMessage

DestinationNEQ applies the NEQ predicate on the "destination" field.

func DestinationNotIn

func DestinationNotIn(vs ...string) predicate.OutboundMessage

DestinationNotIn applies the NotIn predicate on the "destination" field.

func DestinationNotNil

func DestinationNotNil() predicate.OutboundMessage

DestinationNotNil applies the NotNil predicate on the "destination" field.

func HasAutomation

func HasAutomation() predicate.OutboundMessage

HasAutomation applies the HasEdge predicate on the "automation" edge.

func HasAutomationRun

func HasAutomationRun() predicate.OutboundMessage

HasAutomationRun applies the HasEdge predicate on the "automation_run" edge.

func HasAutomationRunWith

func HasAutomationRunWith(preds ...predicate.AutomationRun) predicate.OutboundMessage

HasAutomationRunWith applies the HasEdge predicate on the "automation_run" edge with a given conditions (other predicates).

func HasAutomationWith

func HasAutomationWith(preds ...predicate.Automation) predicate.OutboundMessage

HasAutomationWith applies the HasEdge predicate on the "automation" edge with a given conditions (other predicates).

func HasBroadcast

func HasBroadcast() predicate.OutboundMessage

HasBroadcast applies the HasEdge predicate on the "broadcast" edge.

func HasBroadcastRecipient

func HasBroadcastRecipient() predicate.OutboundMessage

HasBroadcastRecipient applies the HasEdge predicate on the "broadcast_recipient" edge.

func HasBroadcastRecipientWith

func HasBroadcastRecipientWith(preds ...predicate.BroadcastRecipient) predicate.OutboundMessage

HasBroadcastRecipientWith applies the HasEdge predicate on the "broadcast_recipient" edge with a given conditions (other predicates).

func HasBroadcastWith

func HasBroadcastWith(preds ...predicate.Broadcast) predicate.OutboundMessage

HasBroadcastWith applies the HasEdge predicate on the "broadcast" edge with a given conditions (other predicates).

func HasContact

func HasContact() predicate.OutboundMessage

HasContact applies the HasEdge predicate on the "contact" edge.

func HasContactWith

func HasContactWith(preds ...predicate.Contact) predicate.OutboundMessage

HasContactWith applies the HasEdge predicate on the "contact" edge with a given conditions (other predicates).

func HasIntegration

func HasIntegration() predicate.OutboundMessage

HasIntegration applies the HasEdge predicate on the "integration" edge.

func HasIntegrationWith

func HasIntegrationWith(preds ...predicate.Integration) predicate.OutboundMessage

HasIntegrationWith applies the HasEdge predicate on the "integration" edge with a given conditions (other predicates).

func HasTemplate

func HasTemplate() predicate.OutboundMessage

HasTemplate applies the HasEdge predicate on the "template" edge.

func HasTemplateWith

func HasTemplateWith(preds ...predicate.EmailTemplate) predicate.OutboundMessage

HasTemplateWith applies the HasEdge predicate on the "template" edge with a given conditions (other predicates).

func HasWorkspace

func HasWorkspace() predicate.OutboundMessage

HasWorkspace applies the HasEdge predicate on the "workspace" edge.

func HasWorkspaceWith

func HasWorkspaceWith(preds ...predicate.Workspace) predicate.OutboundMessage

HasWorkspaceWith applies the HasEdge predicate on the "workspace" edge with a given conditions (other predicates).

func ID

ID filters vertices based on their ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int64) predicate.OutboundMessage

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int64) predicate.OutboundMessage

IDNotIn applies the NotIn predicate on the ID field.

func IdempotencyKey

func IdempotencyKey(v string) predicate.OutboundMessage

IdempotencyKey applies equality check predicate on the "idempotency_key" field. It's identical to IdempotencyKeyEQ.

func IdempotencyKeyContains

func IdempotencyKeyContains(v string) predicate.OutboundMessage

IdempotencyKeyContains applies the Contains predicate on the "idempotency_key" field.

func IdempotencyKeyContainsFold

func IdempotencyKeyContainsFold(v string) predicate.OutboundMessage

IdempotencyKeyContainsFold applies the ContainsFold predicate on the "idempotency_key" field.

func IdempotencyKeyEQ

func IdempotencyKeyEQ(v string) predicate.OutboundMessage

IdempotencyKeyEQ applies the EQ predicate on the "idempotency_key" field.

func IdempotencyKeyEqualFold

func IdempotencyKeyEqualFold(v string) predicate.OutboundMessage

IdempotencyKeyEqualFold applies the EqualFold predicate on the "idempotency_key" field.

func IdempotencyKeyGT

func IdempotencyKeyGT(v string) predicate.OutboundMessage

IdempotencyKeyGT applies the GT predicate on the "idempotency_key" field.

func IdempotencyKeyGTE

func IdempotencyKeyGTE(v string) predicate.OutboundMessage

IdempotencyKeyGTE applies the GTE predicate on the "idempotency_key" field.

func IdempotencyKeyHasPrefix

func IdempotencyKeyHasPrefix(v string) predicate.OutboundMessage

IdempotencyKeyHasPrefix applies the HasPrefix predicate on the "idempotency_key" field.

func IdempotencyKeyHasSuffix

func IdempotencyKeyHasSuffix(v string) predicate.OutboundMessage

IdempotencyKeyHasSuffix applies the HasSuffix predicate on the "idempotency_key" field.

func IdempotencyKeyIn

func IdempotencyKeyIn(vs ...string) predicate.OutboundMessage

IdempotencyKeyIn applies the In predicate on the "idempotency_key" field.

func IdempotencyKeyLT

func IdempotencyKeyLT(v string) predicate.OutboundMessage

IdempotencyKeyLT applies the LT predicate on the "idempotency_key" field.

func IdempotencyKeyLTE

func IdempotencyKeyLTE(v string) predicate.OutboundMessage

IdempotencyKeyLTE applies the LTE predicate on the "idempotency_key" field.

func IdempotencyKeyNEQ

func IdempotencyKeyNEQ(v string) predicate.OutboundMessage

IdempotencyKeyNEQ applies the NEQ predicate on the "idempotency_key" field.

func IdempotencyKeyNotIn

func IdempotencyKeyNotIn(vs ...string) predicate.OutboundMessage

IdempotencyKeyNotIn applies the NotIn predicate on the "idempotency_key" field.

func IntegrationID

func IntegrationID(v int64) predicate.OutboundMessage

IntegrationID applies equality check predicate on the "integration_id" field. It's identical to IntegrationIDEQ.

func IntegrationIDEQ

func IntegrationIDEQ(v int64) predicate.OutboundMessage

IntegrationIDEQ applies the EQ predicate on the "integration_id" field.

func IntegrationIDIn

func IntegrationIDIn(vs ...int64) predicate.OutboundMessage

IntegrationIDIn applies the In predicate on the "integration_id" field.

func IntegrationIDIsNil

func IntegrationIDIsNil() predicate.OutboundMessage

IntegrationIDIsNil applies the IsNil predicate on the "integration_id" field.

func IntegrationIDNEQ

func IntegrationIDNEQ(v int64) predicate.OutboundMessage

IntegrationIDNEQ applies the NEQ predicate on the "integration_id" field.

func IntegrationIDNotIn

func IntegrationIDNotIn(vs ...int64) predicate.OutboundMessage

IntegrationIDNotIn applies the NotIn predicate on the "integration_id" field.

func IntegrationIDNotNil

func IntegrationIDNotNil() predicate.OutboundMessage

IntegrationIDNotNil applies the NotNil predicate on the "integration_id" field.

func KindEQ

func KindEQ(v Kind) predicate.OutboundMessage

KindEQ applies the EQ predicate on the "kind" field.

func KindIn

func KindIn(vs ...Kind) predicate.OutboundMessage

KindIn applies the In predicate on the "kind" field.

func KindNEQ

func KindNEQ(v Kind) predicate.OutboundMessage

KindNEQ applies the NEQ predicate on the "kind" field.

func KindNotIn

func KindNotIn(vs ...Kind) predicate.OutboundMessage

KindNotIn applies the NotIn predicate on the "kind" field.

func KindValidator

func KindValidator(k Kind) error

KindValidator is a validator for the "kind" field enum values. It is called by the builders before save.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func ProviderMessageID

func ProviderMessageID(v string) predicate.OutboundMessage

ProviderMessageID applies equality check predicate on the "provider_message_id" field. It's identical to ProviderMessageIDEQ.

func ProviderMessageIDContains

func ProviderMessageIDContains(v string) predicate.OutboundMessage

ProviderMessageIDContains applies the Contains predicate on the "provider_message_id" field.

func ProviderMessageIDContainsFold

func ProviderMessageIDContainsFold(v string) predicate.OutboundMessage

ProviderMessageIDContainsFold applies the ContainsFold predicate on the "provider_message_id" field.

func ProviderMessageIDEQ

func ProviderMessageIDEQ(v string) predicate.OutboundMessage

ProviderMessageIDEQ applies the EQ predicate on the "provider_message_id" field.

func ProviderMessageIDEqualFold

func ProviderMessageIDEqualFold(v string) predicate.OutboundMessage

ProviderMessageIDEqualFold applies the EqualFold predicate on the "provider_message_id" field.

func ProviderMessageIDGT

func ProviderMessageIDGT(v string) predicate.OutboundMessage

ProviderMessageIDGT applies the GT predicate on the "provider_message_id" field.

func ProviderMessageIDGTE

func ProviderMessageIDGTE(v string) predicate.OutboundMessage

ProviderMessageIDGTE applies the GTE predicate on the "provider_message_id" field.

func ProviderMessageIDHasPrefix

func ProviderMessageIDHasPrefix(v string) predicate.OutboundMessage

ProviderMessageIDHasPrefix applies the HasPrefix predicate on the "provider_message_id" field.

func ProviderMessageIDHasSuffix

func ProviderMessageIDHasSuffix(v string) predicate.OutboundMessage

ProviderMessageIDHasSuffix applies the HasSuffix predicate on the "provider_message_id" field.

func ProviderMessageIDIn

func ProviderMessageIDIn(vs ...string) predicate.OutboundMessage

ProviderMessageIDIn applies the In predicate on the "provider_message_id" field.

func ProviderMessageIDIsNil

func ProviderMessageIDIsNil() predicate.OutboundMessage

ProviderMessageIDIsNil applies the IsNil predicate on the "provider_message_id" field.

func ProviderMessageIDLT

func ProviderMessageIDLT(v string) predicate.OutboundMessage

ProviderMessageIDLT applies the LT predicate on the "provider_message_id" field.

func ProviderMessageIDLTE

func ProviderMessageIDLTE(v string) predicate.OutboundMessage

ProviderMessageIDLTE applies the LTE predicate on the "provider_message_id" field.

func ProviderMessageIDNEQ

func ProviderMessageIDNEQ(v string) predicate.OutboundMessage

ProviderMessageIDNEQ applies the NEQ predicate on the "provider_message_id" field.

func ProviderMessageIDNotIn

func ProviderMessageIDNotIn(vs ...string) predicate.OutboundMessage

ProviderMessageIDNotIn applies the NotIn predicate on the "provider_message_id" field.

func ProviderMessageIDNotNil

func ProviderMessageIDNotNil() predicate.OutboundMessage

ProviderMessageIDNotNil applies the NotNil predicate on the "provider_message_id" field.

func Reason

Reason applies equality check predicate on the "reason" field. It's identical to ReasonEQ.

func ReasonContains

func ReasonContains(v string) predicate.OutboundMessage

ReasonContains applies the Contains predicate on the "reason" field.

func ReasonContainsFold

func ReasonContainsFold(v string) predicate.OutboundMessage

ReasonContainsFold applies the ContainsFold predicate on the "reason" field.

func ReasonEQ

func ReasonEQ(v string) predicate.OutboundMessage

ReasonEQ applies the EQ predicate on the "reason" field.

func ReasonEqualFold

func ReasonEqualFold(v string) predicate.OutboundMessage

ReasonEqualFold applies the EqualFold predicate on the "reason" field.

func ReasonGT

func ReasonGT(v string) predicate.OutboundMessage

ReasonGT applies the GT predicate on the "reason" field.

func ReasonGTE

func ReasonGTE(v string) predicate.OutboundMessage

ReasonGTE applies the GTE predicate on the "reason" field.

func ReasonHasPrefix

func ReasonHasPrefix(v string) predicate.OutboundMessage

ReasonHasPrefix applies the HasPrefix predicate on the "reason" field.

func ReasonHasSuffix

func ReasonHasSuffix(v string) predicate.OutboundMessage

ReasonHasSuffix applies the HasSuffix predicate on the "reason" field.

func ReasonIn

func ReasonIn(vs ...string) predicate.OutboundMessage

ReasonIn applies the In predicate on the "reason" field.

func ReasonIsNil

func ReasonIsNil() predicate.OutboundMessage

ReasonIsNil applies the IsNil predicate on the "reason" field.

func ReasonLT

func ReasonLT(v string) predicate.OutboundMessage

ReasonLT applies the LT predicate on the "reason" field.

func ReasonLTE

func ReasonLTE(v string) predicate.OutboundMessage

ReasonLTE applies the LTE predicate on the "reason" field.

func ReasonNEQ

func ReasonNEQ(v string) predicate.OutboundMessage

ReasonNEQ applies the NEQ predicate on the "reason" field.

func ReasonNotIn

func ReasonNotIn(vs ...string) predicate.OutboundMessage

ReasonNotIn applies the NotIn predicate on the "reason" field.

func ReasonNotNil

func ReasonNotNil() predicate.OutboundMessage

ReasonNotNil applies the NotNil predicate on the "reason" field.

func SendingDomain

func SendingDomain(v string) predicate.OutboundMessage

SendingDomain applies equality check predicate on the "sending_domain" field. It's identical to SendingDomainEQ.

func SendingDomainContains

func SendingDomainContains(v string) predicate.OutboundMessage

SendingDomainContains applies the Contains predicate on the "sending_domain" field.

func SendingDomainContainsFold

func SendingDomainContainsFold(v string) predicate.OutboundMessage

SendingDomainContainsFold applies the ContainsFold predicate on the "sending_domain" field.

func SendingDomainEQ

func SendingDomainEQ(v string) predicate.OutboundMessage

SendingDomainEQ applies the EQ predicate on the "sending_domain" field.

func SendingDomainEqualFold

func SendingDomainEqualFold(v string) predicate.OutboundMessage

SendingDomainEqualFold applies the EqualFold predicate on the "sending_domain" field.

func SendingDomainGT

func SendingDomainGT(v string) predicate.OutboundMessage

SendingDomainGT applies the GT predicate on the "sending_domain" field.

func SendingDomainGTE

func SendingDomainGTE(v string) predicate.OutboundMessage

SendingDomainGTE applies the GTE predicate on the "sending_domain" field.

func SendingDomainHasPrefix

func SendingDomainHasPrefix(v string) predicate.OutboundMessage

SendingDomainHasPrefix applies the HasPrefix predicate on the "sending_domain" field.

func SendingDomainHasSuffix

func SendingDomainHasSuffix(v string) predicate.OutboundMessage

SendingDomainHasSuffix applies the HasSuffix predicate on the "sending_domain" field.

func SendingDomainIn

func SendingDomainIn(vs ...string) predicate.OutboundMessage

SendingDomainIn applies the In predicate on the "sending_domain" field.

func SendingDomainIsNil

func SendingDomainIsNil() predicate.OutboundMessage

SendingDomainIsNil applies the IsNil predicate on the "sending_domain" field.

func SendingDomainLT

func SendingDomainLT(v string) predicate.OutboundMessage

SendingDomainLT applies the LT predicate on the "sending_domain" field.

func SendingDomainLTE

func SendingDomainLTE(v string) predicate.OutboundMessage

SendingDomainLTE applies the LTE predicate on the "sending_domain" field.

func SendingDomainNEQ

func SendingDomainNEQ(v string) predicate.OutboundMessage

SendingDomainNEQ applies the NEQ predicate on the "sending_domain" field.

func SendingDomainNotIn

func SendingDomainNotIn(vs ...string) predicate.OutboundMessage

SendingDomainNotIn applies the NotIn predicate on the "sending_domain" field.

func SendingDomainNotNil

func SendingDomainNotNil() predicate.OutboundMessage

SendingDomainNotNil applies the NotNil predicate on the "sending_domain" field.

func SendingSource

func SendingSource(v string) predicate.OutboundMessage

SendingSource applies equality check predicate on the "sending_source" field. It's identical to SendingSourceEQ.

func SendingSourceContains

func SendingSourceContains(v string) predicate.OutboundMessage

SendingSourceContains applies the Contains predicate on the "sending_source" field.

func SendingSourceContainsFold

func SendingSourceContainsFold(v string) predicate.OutboundMessage

SendingSourceContainsFold applies the ContainsFold predicate on the "sending_source" field.

func SendingSourceEQ

func SendingSourceEQ(v string) predicate.OutboundMessage

SendingSourceEQ applies the EQ predicate on the "sending_source" field.

func SendingSourceEqualFold

func SendingSourceEqualFold(v string) predicate.OutboundMessage

SendingSourceEqualFold applies the EqualFold predicate on the "sending_source" field.

func SendingSourceGT

func SendingSourceGT(v string) predicate.OutboundMessage

SendingSourceGT applies the GT predicate on the "sending_source" field.

func SendingSourceGTE

func SendingSourceGTE(v string) predicate.OutboundMessage

SendingSourceGTE applies the GTE predicate on the "sending_source" field.

func SendingSourceHasPrefix

func SendingSourceHasPrefix(v string) predicate.OutboundMessage

SendingSourceHasPrefix applies the HasPrefix predicate on the "sending_source" field.

func SendingSourceHasSuffix

func SendingSourceHasSuffix(v string) predicate.OutboundMessage

SendingSourceHasSuffix applies the HasSuffix predicate on the "sending_source" field.

func SendingSourceIn

func SendingSourceIn(vs ...string) predicate.OutboundMessage

SendingSourceIn applies the In predicate on the "sending_source" field.

func SendingSourceIsNil

func SendingSourceIsNil() predicate.OutboundMessage

SendingSourceIsNil applies the IsNil predicate on the "sending_source" field.

func SendingSourceLT

func SendingSourceLT(v string) predicate.OutboundMessage

SendingSourceLT applies the LT predicate on the "sending_source" field.

func SendingSourceLTE

func SendingSourceLTE(v string) predicate.OutboundMessage

SendingSourceLTE applies the LTE predicate on the "sending_source" field.

func SendingSourceNEQ

func SendingSourceNEQ(v string) predicate.OutboundMessage

SendingSourceNEQ applies the NEQ predicate on the "sending_source" field.

func SendingSourceNotIn

func SendingSourceNotIn(vs ...string) predicate.OutboundMessage

SendingSourceNotIn applies the NotIn predicate on the "sending_source" field.

func SendingSourceNotNil

func SendingSourceNotNil() predicate.OutboundMessage

SendingSourceNotNil applies the NotNil predicate on the "sending_source" field.

func SentAt

SentAt applies equality check predicate on the "sent_at" field. It's identical to SentAtEQ.

func SentAtEQ

func SentAtEQ(v time.Time) predicate.OutboundMessage

SentAtEQ applies the EQ predicate on the "sent_at" field.

func SentAtGT

func SentAtGT(v time.Time) predicate.OutboundMessage

SentAtGT applies the GT predicate on the "sent_at" field.

func SentAtGTE

func SentAtGTE(v time.Time) predicate.OutboundMessage

SentAtGTE applies the GTE predicate on the "sent_at" field.

func SentAtIn

func SentAtIn(vs ...time.Time) predicate.OutboundMessage

SentAtIn applies the In predicate on the "sent_at" field.

func SentAtIsNil

func SentAtIsNil() predicate.OutboundMessage

SentAtIsNil applies the IsNil predicate on the "sent_at" field.

func SentAtLT

func SentAtLT(v time.Time) predicate.OutboundMessage

SentAtLT applies the LT predicate on the "sent_at" field.

func SentAtLTE

func SentAtLTE(v time.Time) predicate.OutboundMessage

SentAtLTE applies the LTE predicate on the "sent_at" field.

func SentAtNEQ

func SentAtNEQ(v time.Time) predicate.OutboundMessage

SentAtNEQ applies the NEQ predicate on the "sent_at" field.

func SentAtNotIn

func SentAtNotIn(vs ...time.Time) predicate.OutboundMessage

SentAtNotIn applies the NotIn predicate on the "sent_at" field.

func SentAtNotNil

func SentAtNotNil() predicate.OutboundMessage

SentAtNotNil applies the NotNil predicate on the "sent_at" field.

func StatusEQ

func StatusEQ(v Status) predicate.OutboundMessage

StatusEQ applies the EQ predicate on the "status" field.

func StatusIn

func StatusIn(vs ...Status) predicate.OutboundMessage

StatusIn applies the In predicate on the "status" field.

func StatusNEQ

func StatusNEQ(v Status) predicate.OutboundMessage

StatusNEQ applies the NEQ predicate on the "status" field.

func StatusNotIn

func StatusNotIn(vs ...Status) predicate.OutboundMessage

StatusNotIn applies the NotIn predicate on the "status" field.

func StatusValidator

func StatusValidator(s Status) error

StatusValidator is a validator for the "status" field enum values. It is called by the builders before save.

func TemplateID

func TemplateID(v int64) predicate.OutboundMessage

TemplateID applies equality check predicate on the "template_id" field. It's identical to TemplateIDEQ.

func TemplateIDEQ

func TemplateIDEQ(v int64) predicate.OutboundMessage

TemplateIDEQ applies the EQ predicate on the "template_id" field.

func TemplateIDIn

func TemplateIDIn(vs ...int64) predicate.OutboundMessage

TemplateIDIn applies the In predicate on the "template_id" field.

func TemplateIDIsNil

func TemplateIDIsNil() predicate.OutboundMessage

TemplateIDIsNil applies the IsNil predicate on the "template_id" field.

func TemplateIDNEQ

func TemplateIDNEQ(v int64) predicate.OutboundMessage

TemplateIDNEQ applies the NEQ predicate on the "template_id" field.

func TemplateIDNotIn

func TemplateIDNotIn(vs ...int64) predicate.OutboundMessage

TemplateIDNotIn applies the NotIn predicate on the "template_id" field.

func TemplateIDNotNil

func TemplateIDNotNil() predicate.OutboundMessage

TemplateIDNotNil applies the NotNil predicate on the "template_id" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.OutboundMessage

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.OutboundMessage

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.OutboundMessage

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.OutboundMessage

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.OutboundMessage

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.OutboundMessage

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.OutboundMessage

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.OutboundMessage

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.OutboundMessage

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

func WorkspaceID

func WorkspaceID(v int64) predicate.OutboundMessage

WorkspaceID applies equality check predicate on the "workspace_id" field. It's identical to WorkspaceIDEQ.

func WorkspaceIDEQ

func WorkspaceIDEQ(v int64) predicate.OutboundMessage

WorkspaceIDEQ applies the EQ predicate on the "workspace_id" field.

func WorkspaceIDIn

func WorkspaceIDIn(vs ...int64) predicate.OutboundMessage

WorkspaceIDIn applies the In predicate on the "workspace_id" field.

func WorkspaceIDNEQ

func WorkspaceIDNEQ(v int64) predicate.OutboundMessage

WorkspaceIDNEQ applies the NEQ predicate on the "workspace_id" field.

func WorkspaceIDNotIn

func WorkspaceIDNotIn(vs ...int64) predicate.OutboundMessage

WorkspaceIDNotIn applies the NotIn predicate on the "workspace_id" field.

Types

type Channel

type Channel string

Channel defines the type for the "channel" enum field.

const (
	ChannelEmail Channel = "email"
)

Channel values.

func (Channel) String

func (c Channel) String() string

type Kind

type Kind string

Kind defines the type for the "kind" enum field.

const (
	KindBroadcast     Kind = "broadcast"
	KindAutomation    Kind = "automation"
	KindTransactional Kind = "transactional"
)

Kind values.

func (Kind) String

func (k Kind) String() string

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the OutboundMessage queries.

func ByAppOrigin

func ByAppOrigin(opts ...sql.OrderTermOption) OrderOption

ByAppOrigin orders the results by the app_origin field.

func ByAutomationField

func ByAutomationField(field string, opts ...sql.OrderTermOption) OrderOption

ByAutomationField orders the results by automation field.

func ByAutomationID

func ByAutomationID(opts ...sql.OrderTermOption) OrderOption

ByAutomationID orders the results by the automation_id field.

func ByAutomationRunField

func ByAutomationRunField(field string, opts ...sql.OrderTermOption) OrderOption

ByAutomationRunField orders the results by automation_run field.

func ByAutomationRunID

func ByAutomationRunID(opts ...sql.OrderTermOption) OrderOption

ByAutomationRunID orders the results by the automation_run_id field.

func ByAutomationStep

func ByAutomationStep(opts ...sql.OrderTermOption) OrderOption

ByAutomationStep orders the results by the automation_step field.

func ByBouncedAt

func ByBouncedAt(opts ...sql.OrderTermOption) OrderOption

ByBouncedAt orders the results by the bounced_at field.

func ByBroadcastField

func ByBroadcastField(field string, opts ...sql.OrderTermOption) OrderOption

ByBroadcastField orders the results by broadcast field.

func ByBroadcastID

func ByBroadcastID(opts ...sql.OrderTermOption) OrderOption

ByBroadcastID orders the results by the broadcast_id field.

func ByBroadcastRecipientField

func ByBroadcastRecipientField(field string, opts ...sql.OrderTermOption) OrderOption

ByBroadcastRecipientField orders the results by broadcast_recipient field.

func ByBroadcastRecipientID

func ByBroadcastRecipientID(opts ...sql.OrderTermOption) OrderOption

ByBroadcastRecipientID orders the results by the broadcast_recipient_id field.

func ByCaptured

func ByCaptured(opts ...sql.OrderTermOption) OrderOption

ByCaptured orders the results by the captured field.

func ByChannel

func ByChannel(opts ...sql.OrderTermOption) OrderOption

ByChannel orders the results by the channel field.

func ByClaimedAt

func ByClaimedAt(opts ...sql.OrderTermOption) OrderOption

ByClaimedAt orders the results by the claimed_at field.

func ByComplainedAt

func ByComplainedAt(opts ...sql.OrderTermOption) OrderOption

ByComplainedAt orders the results by the complained_at field.

func ByContactField

func ByContactField(field string, opts ...sql.OrderTermOption) OrderOption

ByContactField orders the results by contact field.

func ByContactID

func ByContactID(opts ...sql.OrderTermOption) OrderOption

ByContactID orders the results by the contact_id field.

func ByCreatedAt

func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption

ByCreatedAt orders the results by the created_at field.

func ByDeliveredAt

func ByDeliveredAt(opts ...sql.OrderTermOption) OrderOption

ByDeliveredAt orders the results by the delivered_at field.

func ByDestination

func ByDestination(opts ...sql.OrderTermOption) OrderOption

ByDestination orders the results by the destination field.

func ByID

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByIdempotencyKey

func ByIdempotencyKey(opts ...sql.OrderTermOption) OrderOption

ByIdempotencyKey orders the results by the idempotency_key field.

func ByIntegrationField

func ByIntegrationField(field string, opts ...sql.OrderTermOption) OrderOption

ByIntegrationField orders the results by integration field.

func ByIntegrationID

func ByIntegrationID(opts ...sql.OrderTermOption) OrderOption

ByIntegrationID orders the results by the integration_id field.

func ByKind

func ByKind(opts ...sql.OrderTermOption) OrderOption

ByKind orders the results by the kind field.

func ByProviderMessageID

func ByProviderMessageID(opts ...sql.OrderTermOption) OrderOption

ByProviderMessageID orders the results by the provider_message_id field.

func ByReason

func ByReason(opts ...sql.OrderTermOption) OrderOption

ByReason orders the results by the reason field.

func BySendingDomain

func BySendingDomain(opts ...sql.OrderTermOption) OrderOption

BySendingDomain orders the results by the sending_domain field.

func BySendingSource

func BySendingSource(opts ...sql.OrderTermOption) OrderOption

BySendingSource orders the results by the sending_source field.

func BySentAt

func BySentAt(opts ...sql.OrderTermOption) OrderOption

BySentAt orders the results by the sent_at field.

func ByStatus

func ByStatus(opts ...sql.OrderTermOption) OrderOption

ByStatus orders the results by the status field.

func ByTemplateField

func ByTemplateField(field string, opts ...sql.OrderTermOption) OrderOption

ByTemplateField orders the results by template field.

func ByTemplateID

func ByTemplateID(opts ...sql.OrderTermOption) OrderOption

ByTemplateID orders the results by the template_id field.

func ByUpdatedAt

func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption

ByUpdatedAt orders the results by the updated_at field.

func ByWorkspaceField

func ByWorkspaceField(field string, opts ...sql.OrderTermOption) OrderOption

ByWorkspaceField orders the results by workspace field.

func ByWorkspaceID

func ByWorkspaceID(opts ...sql.OrderTermOption) OrderOption

ByWorkspaceID orders the results by the workspace_id field.

type Status

type Status string

Status defines the type for the "status" enum field.

const (
	StatusPending Status = "pending"
	StatusSent    Status = "sent"
	StatusSkipped Status = "skipped"
	StatusFailed  Status = "failed"
)

Status values.

func (Status) String

func (s Status) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL