feat: Add CSAT reports (#2608)
This commit is contained in:
@@ -3,7 +3,15 @@ json.rating resource.rating
|
||||
json.feedback_message resource.feedback_message
|
||||
json.account_id resource.account_id
|
||||
json.message_id resource.message_id
|
||||
json.contact resource.contact
|
||||
if resource.contact
|
||||
json.contact do
|
||||
json.partial! 'api/v1/models/contact.json.jbuilder', resource: resource.contact
|
||||
end
|
||||
end
|
||||
json.conversation_id resource.conversation.display_id
|
||||
json.assigned_agent resource.assigned_agent
|
||||
if resource.assigned_agent
|
||||
json.assigned_agent do
|
||||
json.partial! 'api/v1/models/agent.json.jbuilder', resource: resource.assigned_agent
|
||||
end
|
||||
end
|
||||
json.created_at resource.created_at
|
||||
|
||||
Reference in New Issue
Block a user