iachat/enterprise/app/controllers/api/v1/accounts
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
..
agent_capacity_policies fix: Assignment V2 controller fix (#12415) 2025-09-11 19:32:33 +07:00
captain feat: sistema de notificações de reserva com templates configuráveis 2026-03-01 21:53:11 -03:00
contacts feat: outbound voice call essentials (#12782) 2025-11-24 17:47:00 -08:00
agent_capacity_policies_controller.rb fix: Assignment V2 controller fix (#12415) 2025-09-11 19:32:33 +07:00
applied_slas_controller.rb feat: SLA reports view (#9189) 2024-04-09 10:14:36 +10:00
audit_logs_controller.rb chore: Improve logging for ip look up and audit logs [CW-2145] (#7512) 2023-07-27 16:48:30 +05:30
companies_controller.rb feat: Add sorting by contacts count to companies list (#13012) 2026-01-09 15:20:08 -08:00
conference_controller.rb feat(enterprise): add voice conference API (#13064) 2025-12-15 15:11:59 -08:00
custom_roles_controller.rb chore: upgrade ruby version to 3.4.4 (#11524) 2025-05-21 19:40:07 +05:30
enterprise_accounts_controller.rb feat: Conversation API to return applied_sla and sla_events (#9174) 2024-04-01 23:30:07 +05:30
reporting_events_controller.rb Chore/merge upstream 4.8.0 (#150) 2025-11-19 16:25:58 -03:00
saml_settings_controller.rb Chore/merge upstream 4.8.0 (#150) 2025-11-19 16:25:58 -03:00
sla_policies_controller.rb fix: Prevent SLA deletion timeouts by moving to async job (#12944) 2025-12-10 12:28:47 +05:30