feat(sla): align applied sla reports

This commit is contained in:
2026-06-05 07:45:54 +08:00
parent 0c6cf1dd27
commit 4f85ef11e4
9 changed files with 708 additions and 107 deletions
+2 -1
View File
@@ -128,6 +128,7 @@ GET /api/v1/accounts/:account_id/agent_capacity_policies/:id
GET /api/v1/accounts/:account_id/agent_capacity_policies/:id/users
GET /api/v1/accounts/:account_id/agents
GET /api/v1/accounts/:account_id/agents/:agent_id
GET /api/v1/accounts/:account_id/applied_slas
GET /api/v1/accounts/:account_id/applied_slas/download
GET /api/v1/accounts/:account_id/applied_slas/metrics
GET /api/v1/accounts/:account_id/assignable_agents
@@ -827,4 +828,4 @@ PUT /public/api/v1/csat_survey/:id
PUT /public/api/v1/inboxes/:inbox_id/contacts/:contact_id
PUT /public/api/v1/inboxes/:inbox_id/contacts/:contact_id/conversations/:conversation_id/messages/:message_id
PUT /widget/direct_uploads/:upload_uuid
TOTAL: 829
TOTAL: 830
+4 -1
View File
@@ -7,7 +7,7 @@ Generated from:
This report covers tracked frontend-critical Chatwoot routes from `reference/chatwoot/config/routes.rb`, including API v1 account routes, Captain/Copilot, assignment policies, widget/public APIs, and API v2 reports. Ruby is not installed in the workspace, so Chatwoot routes are sourced from static route declarations instead of `bin/rails routes`.
Summary: 267 exact, 0 method-compatible, 7 parameter-compatible, 0 missing out of 274 tracked critical routes.
Summary: 270 exact, 0 method-compatible, 7 parameter-compatible, 0 missing out of 277 tracked critical routes.
## Missing Critical Routes
@@ -77,6 +77,9 @@ These routes exist with equivalent method and path shape but different parameter
| GET | `/api/v1/accounts/:account_id/agent_capacity_policies/` | `/api/v1/accounts/:account_id/agent_capacity_policies/` | `api/v1/accounts/agent_capacity_policies#index` | `routes.rb:123` | exact |
| GET | `/api/v1/accounts/:account_id/agent_capacity_policies/:id` | `/api/v1/accounts/:account_id/agent_capacity_policies/:id` | `api/v1/accounts/agent_capacity_policies#show` | `routes.rb:123` | exact |
| GET | `/api/v1/accounts/:account_id/agents` | `/api/v1/accounts/:account_id/agents` | `api/v1/accounts/agents#index` | `routes.rb:59` | exact |
| GET | `/api/v1/accounts/:account_id/applied_slas` | `/api/v1/accounts/:account_id/applied_slas` | `api/v1/accounts/applied_slas#index` | `routes.rb:228` | exact |
| GET | `/api/v1/accounts/:account_id/applied_slas/download` | `/api/v1/accounts/:account_id/applied_slas/download` | `api/v1/accounts/applied_slas#download` | `routes.rb:231` | exact |
| GET | `/api/v1/accounts/:account_id/applied_slas/metrics` | `/api/v1/accounts/:account_id/applied_slas/metrics` | `api/v1/accounts/applied_slas#metrics` | `routes.rb:230` | exact |
| GET | `/api/v1/accounts/:account_id/assignable_agents` | `/api/v1/accounts/:account_id/assignable_agents` | `api/v1/accounts/assignable_agents#index` | `routes.rb:104` | exact |
| GET | `/api/v1/accounts/:account_id/assignment_policies/` | `/api/v1/accounts/:account_id/assignment_policies/` | `api/v1/accounts/assignment_policies#index` | `routes.rb:306` | exact |
| GET | `/api/v1/accounts/:account_id/assignment_policies/:policy_id` | `/api/v1/accounts/:account_id/assignment_policies/:policy_id` | `api/v1/accounts/assignment_policies#show` | `routes.rb:306` | exact |