package constants

// Action type constants - single source of truth from registry
const (
	ActionTypeCreateRecord = "CreateRecord"
	ActionTypeUpdateRecord = "UpdateRecord"
	ActionTypeDeleteRecord = "DeleteRecord"
	ActionTypeSendEmail    = "SendEmail"
	ActionTypeCallWebhook  = "CallWebhook"
	// PushToConnector outbound authority is invoking-user FLS projection; see
	// docs/design/issue-1781-pushtoconnector-authority.md before implementing
	// or changing its runtime executor.
	ActionTypePushToConnector   = "PushToConnector"
	ActionTypeComposite         = "Composite"
	ActionTypeExecuteAction     = "Action"
	ActionTypeSubmitForApproval = "SubmitForApproval"
)

// Flow trigger type constants
const (
	TriggerBeforeCreate = "beforeCreate"
	TriggerAfterCreate  = "afterCreate"
	TriggerBeforeUpdate = "beforeUpdate"
	TriggerAfterUpdate  = "afterUpdate"
	TriggerBeforeDelete = "beforeDelete"
	TriggerAfterDelete  = "afterDelete"
)
