iachat/enterprise/app/views/api/v1/models
Pranav 0b4028b95d
feat: Add support for the references in FAQs (#10699)
Currently, it’s unclear whether an FAQ item is generated from a
document, derived from a conversation, or added manually.

This PR resolves the issue by providing visibility into the source of
each FAQ. Users can now see whether an FAQ was generated or manually
added and, if applicable, by whom.

- Move the document_id to a polymorphic relation (documentable).
- Updated the APIs to accommodate the change.
- Update the service to add corresponding references. 
- Updated the specs.

<img width="1007" alt="Screenshot 2025-01-15 at 11 27 56 PM"
src="https://github.com/user-attachments/assets/7d58f798-19c0-4407-b3e2-748a919d14af"
/>

---------

Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
2025-01-16 15:27:30 +05:30
..
captain feat: Add support for the references in FAQs (#10699) 2025-01-16 15:27:30 +05:30
_account_user.json.jbuilder chore: Custom Roles to manage permissions [ UI ] (#9865) 2024-09-17 11:40:11 -07:00
_applied_sla.json.jbuilder feat: Conversation API to return applied_sla and sla_events (#9174) 2024-04-01 23:30:07 +05:30
_custom_role.json.jbuilder feat: Add APIs to manage custom roles in Chatwoot (#9995) 2024-08-23 17:18:28 +05:30
_sla_event.json.jbuilder feat: Add SLA metrics API (#9132) 2024-03-25 12:24:43 +05:30
_sla_policy.json.jbuilder feat: sla 1 - refactor sla_policies model and add applied_sla model (#8602) 2024-01-23 23:48:02 +05:30