Skip to main content
The helpers module provides cross-cutting utility functions used throughout the TMT Platform: transactional email delivery, push notification broadcasting, event status management, and PIN retrieval for QR code access control.

Email

Send transactional emails via Brevo (formerly Sendinblue)

Notifications

Broadcast push notifications to mobile app users via Firebase Cloud Messaging

Event Status

Automatically finalize events past their end date

Security PINs

Retrieve event and app QR security PINs

Functions in this module

FunctionDescription
send_emailSend a transactional email via Brevo API
send_notificationsBroadcast FCM push notifications to users with orders for an event
list_notificationsQuery notification history from PostgreSQL
update_events_statusMark events as Finalizado when their date_end has passed
helpers_event_pinGet the QR PIN for a specific event from Firestore
helpers_app_pinGet the global TMT app PIN from Firestore

Build docs developers (and LLMs) love