feat: Add inbox webhook events (#8006)

- Add webhook events for inbox creation/updation.
- Right now, the feature is added under a feature_flag. It is not available by default on all installations.
This commit is contained in:
Pranav Raj S
2023-09-28 15:28:10 -07:00
committed by GitHub
parent 12a64f1b10
commit fd633e1613
8 changed files with 165 additions and 1 deletions

View File

@@ -26,7 +26,7 @@ class Webhook < ApplicationRecord
enum webhook_type: { account_type: 0, inbox_type: 1 }
ALLOWED_WEBHOOK_EVENTS = %w[conversation_status_changed conversation_updated conversation_created contact_created contact_updated
message_created message_updated webwidget_triggered].freeze
message_created message_updated webwidget_triggered inbox_created inbox_updated].freeze
private