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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user