feat: Add APIs for Dialogflow integration V1 (#2155)

Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
This commit is contained in:
Sojan Jose
2021-05-05 21:06:11 +05:30
committed by GitHub
parent fd0c26cdae
commit b30ecb27a6
19 changed files with 303 additions and 26 deletions

View File

@@ -1,11 +1,11 @@
FactoryBot.define do
factory :integrations_hook, class: 'Integrations::Hook' do
status { 1 }
inbox_id { 1 }
account_id { 1 }
status { Integrations::Hook.statuses['enabled'] }
inbox
account
app_id { 'slack' }
settings { 'MyText' }
hook_type { 1 }
settings { { 'test': 'test' } }
hook_type { Integrations::Hook.statuses['account'] }
access_token { SecureRandom.hex }
reference_id { SecureRandom.hex }
end