iachat/app/javascript/dashboard/api/captain
Rodrigo Borba 44908f32d1 feat: sistema de notificações de reserva com templates configuráveis
- Adiciona check_in_at/duration_hours ao schema do tool CreateReservationIntent
  para que a IA capture o horário EXATO de chegada informado pelo cliente
- Cria captain_notification_templates: label, content, timing_minutes,
  timing_direction (before/after), active, position
- Implementa SendNotificationService com interpolação de variáveis
  (guest_name, check_in_time, check_out_time, suite_name, unit_name)
- Implementa NotificationScannerJob (Sidekiq-cron a cada 5min) com
  janela de tolerância de ±5min e idempotência via metadata JSONB
- API REST: /captain/units/:unit_id/notification_templates (CRUD)
- Store Vuex captainNotificationTemplates + API client
- UI: página de gestão de templates com editor inline e botão '+'
- Configura rota captain_settings_notifications
- i18n PT/EN para todas as strings novas
- Rubocop e ESLint: zero offenses
2026-03-01 21:53:11 -03:00
..
assistant.js feat: Allow customizing the responses, flows in Captain (#11385) 2025-04-29 15:42:15 -07:00
bulkActions.js feat: Add support for bulk action for Captain FAQs (#10905) 2025-02-27 17:05:33 -08:00
copilotMessages.js feat: Add stores for copilotMessages and copilotThreads (#11603) 2025-05-27 18:36:32 -06:00
copilotThreads.js feat: Add stores for copilotMessages and copilotThreads (#11603) 2025-05-27 18:36:32 -06:00
customTools.js feat: Add UI for custom tools (#12585) 2025-10-06 09:05:54 -07:00
document.js feat: Add assistant filter support to documents page (#10697) 2025-01-15 21:41:07 -08:00
galleryItems.js chore(style): fix rubocop offenses and update typing indicators 2026-02-25 15:06:58 -03:00
inboxes.js feat(ee): Add Captain features (#10665) 2025-01-14 16:15:47 -08:00
notificationTemplates.js feat: sistema de notificações de reserva com templates configuráveis 2026-03-01 21:53:11 -03:00
preferences.js feat: add global config for captain settings (#13141) 2026-01-12 19:54:19 +05:30
reports.js feat(captain): add AI reports page with insights generation 2026-02-27 07:05:58 -03:00
reservations.js feat(captain): permite criacao manual de reserva via painel e conversa 2026-03-01 03:07:44 -03:00
response.js feat: allow searching captain responses [CW-5631] (#12463) 2025-09-18 14:44:56 +05:30
scenarios.js feat: New Scenarios page (#11975) 2025-07-30 19:34:27 +05:30
tasks.js feat: new Captain Editor (#13235) 2026-01-21 13:39:07 +05:30
tools.js feat: New Scenarios page (#11975) 2025-07-30 19:34:27 +05:30
units.js chore(style): fix rubocop offenses and update typing indicators 2026-02-25 15:06:58 -03:00