feat: Builder for creating Campaign conversations (#2192)

- Builder for creating Campaign conversations
- Widget endpoint to fetch the campaigns
This commit is contained in:
Sojan Jose
2021-05-03 20:23:09 +05:30
committed by GitHub
parent b649516fbb
commit 98e2a9b8b5
13 changed files with 182 additions and 6 deletions

View File

@@ -6,6 +6,9 @@ module Events::Types
ACCOUNT_CREATED = 'account.created'
#### Account Events ###
# campaign events
CAMPAIGN_TRIGGERED = 'campaign.triggered'
# channel events
WEBWIDGET_TRIGGERED = 'webwidget.triggered'
@@ -15,6 +18,7 @@ module Events::Types
# FIXME: deprecate the opened and resolved events in future in favor of status changed event.
CONVERSATION_OPENED = 'conversation.opened'
CONVERSATION_RESOLVED = 'conversation.resolved'
CONVERSATION_STATUS_CHANGED = 'conversation.status_changed'
CONVERSATION_CONTACT_CHANGED = 'conversation.contact_changed'
ASSIGNEE_CHANGED = 'assignee.changed'