Restructure omni services and add Chatwoot research snapshot

This commit is contained in:
Ruslan Bakiev
2026-02-21 11:11:27 +07:00
parent edea7a0034
commit b73babbbf6
7732 changed files with 978203 additions and 32 deletions

View File

@@ -0,0 +1,4 @@
json.data do
json.page_details @page_details
json.user_access_token @user_access_token
end

View File

@@ -0,0 +1,3 @@
json.data do
json.partial! 'api/v1/models/inbox', formats: [:json], resource: @inbox
end

View File

@@ -0,0 +1,7 @@
json.id @facebook_inbox.id
json.channel_id @facebook_inbox.channel_id
json.name @facebook_inbox.name
json.channel_type @facebook_inbox.channel_type
json.avatar_url @facebook_inbox.try(:avatar_url)
json.page_id @facebook_inbox.channel.try(:page_id)
json.enable_auto_assignment @facebook_inbox.enable_auto_assignment