iachat/enterprise/app/controllers/api/v1/accounts
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
..
agent_capacity_policies feat: Add agent capacity controllers (#12200) 2025-08-26 19:12:58 -07:00
captain feat: Add feature_citation toggle for Captain assistants (#12052) 2025-08-11 13:06:20 +05:30
agent_capacity_policies_controller.rb feat: Add agent capacity controllers (#12200) 2025-08-26 19:12:58 -07:00
applied_slas_controller.rb feat: SLA reports view (#9189) 2024-04-09 10:14:36 +10:00
audit_logs_controller.rb chore: Improve logging for ip look up and audit logs [CW-2145] (#7512) 2023-07-27 16:48:30 +05:30
custom_roles_controller.rb chore: upgrade ruby version to 3.4.4 (#11524) 2025-05-21 19:40:07 +05:30
enterprise_accounts_controller.rb feat: Conversation API to return applied_sla and sla_events (#9174) 2024-04-01 23:30:07 +05:30
sla_policies_controller.rb chore: upgrade ruby version to 3.4.4 (#11524) 2025-05-21 19:40:07 +05:30