feat(POS-004): completed feature

This commit is contained in:
chattie
2026-08-22 13:31:19 +02:00
parent 7ce6465054
commit 955c25d77b
18 changed files with 569 additions and 130 deletions

View File

@@ -0,0 +1,9 @@
# POS-004 — Architect
## Feature
POS API Phase 1: config, stores, terminals, sessions routes.
## Design
Routes: GET/POST /pos/admin/stores, GET/POST /pos/admin/terminals, GET/pos/terminals/me, POST /pos/terminals/bind, GET /pos/config, GET /pos/sessions/me, POST /pos/sessions, POST /pos/sessions/:id/close.
Auth: requireRole('admin') for admin routes; requireAnyRole(['admin','pos_manager','pos_cashier']) for terminal routes.
Rate limits applied via existing framework.