iachat/spec/enterprise/controllers/api/v1/accounts
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
agents_controller_spec.rb feat: API changes to support multi step user signup (#8933) 2024-02-20 16:48:51 +05:30
applied_slas_controller_spec.rb feat: SLA report filter (#9218) 2024-04-12 11:03:18 +05:30
audit_logs_controller_spec.rb feat: add auditlogs for account model (#7511) 2023-07-19 23:52:34 +05:30
conversations_controller_spec.rb feat: Conversation API to return applied_sla and sla_events (#9174) 2024-04-01 23:30:07 +05:30
custom_roles_controller_spec.rb chore: Fix flaky permissions test (#10074) 2024-09-04 16:13:29 -07:00
sla_policies_controller_spec.rb feat: sla 1 - refactor sla_policies model and add applied_sla model (#8602) 2024-01-23 23:48:02 +05:30