WFDASH-WEBAPP/src/app/api/v1
Dave 151ae8d67f feat(quotes): introduce quotes.submit tool for approval transition
- Added a new `quotes.submit` tool that transitions a quote from `new` to `approval_pending` once all line items are priced. This tool ensures that only fully priced quotes can be submitted for approval, enhancing the integrity of the approval process.
- Updated the API documentation in `docs/api-mcp-layer.md` to include the new `quotes.submit` tool and its usage details.
- Enhanced the `quotes` status enum in `docs/agents/hermes-skill.md` to reflect the new transition and its implications.
- Regenerated documentation to ensure accuracy, increasing the total tool count from 126 to 127.
- Added comprehensive tests for the `submitQuote` function to cover various scenarios, including idempotency and error handling for unpriced items.
2026-08-15 19:01:52 +02:00
..
agent/scan refactor(agent scan route): remove debug logs and redundant sanity check 2026-08-14 17:55:58 +02:00
ai/settings feat: add AI quote processing pipeline and admin settings UI 2026-08-09 16:17:29 +02:00
ai-insights feat(item-history): add getItemHistory service with 5 PB queries 2026-07-29 14:51:58 +02:00
buyer-tasks fix(buyer-tasks): surface PO email_payload + attachments on group for resend modal prefill 2026-08-06 18:01:58 +02:00
collection-confirm feat(stock-purchase): split warehouse confirm from accountant booking 2026-08-06 23:01:15 +02:00
collection-map/items/[id]/assign feat(item-history): add getItemHistory service with 5 PB queries 2026-07-29 14:51:58 +02:00
companies feat(item-history): add getItemHistory service with 5 PB queries 2026-07-29 14:51:58 +02:00
customers feat(mcp): add walk-in quote creation and enhance customer filtering 2026-08-15 11:50:48 +02:00
dashboard feat: add new order, invoice, and dashboard management tools 2026-08-05 23:00:54 +02:00
deliveries feat(item-history): add getItemHistory service with 5 PB queries 2026-07-29 14:51:58 +02:00
delivery-notes feat(invoicing, dn): add surplus tracking, fix qty, update branding 2026-08-13 13:02:37 +02:00
driver feat(item-history): add getItemHistory service with 5 PB queries 2026-07-29 14:51:58 +02:00
files/[collection]/[recordId]/[filename] fix(orders): source attachments from order_attachements field 2026-07-29 17:41:29 +02:00
health feat(item-history): add getItemHistory service with 5 PB queries 2026-07-29 14:51:58 +02:00
invoicing/stock-book feat(stock-purchase): split warehouse confirm from accountant booking 2026-08-06 23:01:15 +02:00
items feat(api/v1/items): add item intel refresh route 2026-08-11 11:28:51 +02:00
order-items feat(item-intel): add new item intel popover and backend workflows 2026-08-11 02:57:57 +02:00
orders feat(orders,invoicing): add duplicate order cleanup and soft cancellation 2026-08-13 09:02:27 +02:00
purchase-orders feat(po): resend purchase order from sent / mail_failed / sending statuses 2026-08-04 20:05:52 +02:00
quote_items feat(mcp): add walk-in quote creation and enhance customer filtering 2026-08-15 11:50:48 +02:00
quotes feat(quotes): introduce quotes.submit tool for approval transition 2026-08-15 19:01:52 +02:00
sprint feat(item-history): add getItemHistory service with 5 PB queries 2026-07-29 14:51:58 +02:00
stock feat: add split views, stock picking slips, and invoice viewer 2026-08-09 23:16:55 +02:00
stock-items/stocktake-pdf fix(api): make list-pdf routes browser-accessible 2026-08-03 18:12:38 +02:00
stock-purchase-items/[id] refactor: clean imports, update types and fix issues 2026-08-14 17:13:04 +02:00
stock-purchases feat: add split views, stock picking slips, and invoice viewer 2026-08-09 23:16:55 +02:00
stock-quick-draft feat(stock-quick-draft): PATCH /api/v1/stock-quick-draft/line/[lineId] 2026-07-31 13:40:06 +02:00
suppliers feat(item-history): add getItemHistory service with 5 PB queries 2026-07-29 14:51:58 +02:00
users feat(item-history): add getItemHistory service with 5 PB queries 2026-07-29 14:51:58 +02:00