511d647eec
Two entry points for event creation were missing customer notifications, both discovered while triaging @Rekoo-PS's report that "API created events" don't send WhatsApp after #649/#650 landed. POST /api/v1/events (the OpenAPI-spec'd bearer-token API at v1/events.js): - gallery_created email was NEVER queued — only the webhook fired. - WhatsApp was NEVER queued either. POST /api/events (legacy admin-auth route at routes/events.js): - gallery_created email was queued, but WhatsApp was not. - customer_phone wasn't read from the body at all. Both routes now mirror the adminEvents.js create-and-publish path: best-effort queues that never block the API response, gated on customer_email / customer_phone presence and the global event_phone_field_enabled toggle for the phone field. The webhook subject from POST /api/events now also includes customer_phone, so downstream integrations get the same shape as the v1 API. No schema change. No migration. customer_phone column already exists on events (migration 080). WhatsApp config + template_language + template_params resolve through the existing queue processor.