FreeScout/Resources
Christian 12b3964ef8 Add event-driven SMS notifications for multiple conversation events
This commit extends the seven.io SMS module for FreeScout with automatic
SMS notifications for various conversation events. The implementation provides
a unified configuration interface for managing multiple event types.

Features:
- Support for 4 conversation events: conversation.created, conversation.assigned,
  customer.reply.created, user.reply.created
- Shared configuration with event selection checkboxes
- Flexible recipient options: assigned user or fixed phone numbers
- Mailbox filtering to target specific mailboxes
- Rich placeholder system including {{event.type}} for universal templates
- Phone number validation and JSON encoding for array settings
- Bilingual support (English and German)

Technical implementation:
- Added handleEventNotification() helper method in SevenServiceProvider
- Registered 4 event hooks using Eventy
- Extended Config class with 6 new getter methods
- Added settings UI with on/off toggle, event checkboxes, and form fields
- Implemented validation rules and sanitization in beforeSave hook
- Added 18 translation keys per language

All changes are backward compatible and follow existing code patterns.
2025-12-04 19:15:59 +01:00
..
lang Add event-driven SMS notifications for multiple conversation events 2025-12-04 19:15:59 +01:00
public add event driven sms dispatch for conversation status changes 2024-01-26 13:14:25 +01:00
views Add event-driven SMS notifications for multiple conversation events 2025-12-04 19:15:59 +01:00