iachat/enterprise/app/views/api/v1/models
Tanmay Deep Sharma ad90deb709
feat: Add agent capacity controllers (#12200)
## Linear reference:
https://linear.app/chatwoot/issue/CW-4649/re-imagine-assignments

## Description
This PR introduces the foundation for Assignment V2 system by
implementing agent_capacity and their association with inboxes and
users.

## Type of change

- [ ] New feature (non-breaking change which adds functionality)

## How Has This Been Tested?

Test Coverage:
-  Controller specs for assignment policies CRUD operations
-  Enterprise-specific specs for balanced assignment order
-  Model specs for community/enterprise separation

## Checklist:

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my code
- [ ] I have commented on my code, particularly in hard-to-understand
areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged and published in downstream
modules

---------

Co-authored-by: Pranav <pranav@chatwoot.com>
2025-08-26 19:12:58 -07:00
..
captain feat: Whatsapp embedded signup (#11612) 2025-07-14 21:37:06 -07:00
_account_user.json.jbuilder chore: Custom Roles to manage permissions [ UI ] (#9865) 2024-09-17 11:40:11 -07:00
_agent_capacity_policy.json.jbuilder feat: Add agent capacity controllers (#12200) 2025-08-26 19:12:58 -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