70 Commits

Author SHA1 Message Date
seb
37828fdef9 u 2026-09-24 23:26:50 +02:00
seb
a46e9742f4 sqlite 2026-09-22 07:25:11 +02:00
seb
c2147de284 multipart 2026-09-18 07:19:20 +02:00
seb
12f37ac4c0 feat(delivery): add POST /delivery/parsePDF SSE route
- Accepts multipart/form-data PDF, streams LLM extraction via SSE
- Uses libllmorbiter (OpenRouterProvider) with API key from companysetting keys.openrouter
- Extracts manifest basedata, notes, and line items from invoices/delivery notes
- Events: status, llm_call, tool_call, usage, progress, result, error
- Extends generateApiDocs.js: multipart field table + x-sse-events table support
- Docs: docs/api/routes/delivery/parsePDF.md (auto-generated)
2026-09-15 07:45:32 +02:00
seb
57420ac0db Add company settings and number sequence API routes
- Add CompanySetting routes (list, get, set) backed by company-scoped store
- Add Number routes (list, update) for managing number sequences
- Register new store namespaces for numbers and companysetting
- Add CompanySetting and NumberSequence schemas to OpenAPI
- Regenerate API docs and index for the new routes
2026-08-08 09:01:28 +02:00
seb
cdae7b6eab Add quote and order HTTP APIs on manifest documents.
Expose store-backed CRUD for quotes and sales orders with shared ManifestLine shapes, entityId customers, and documented date semantics.
2026-08-06 19:58:25 +02:00
seb
74269cd3ef Add customergroup and entity HTTP APIs with address and contact routes.
Expose store-backed CRUD for customer groups, entities, nested addresses, and contacts, matching the documented dashdbschema contracts.
2026-08-06 07:38:05 +02:00
seb
1860f38640 Add delivery and supplier HTTP APIs with expanded response docs.
Wire store-backed CRUD for goods receipts and suppliers, and teach the API doc generator to expand $ref/allOf/array samples so route markdown shows full JSON shapes.
2026-08-06 05:32:48 +02:00
seb
782c49a680 Add article history by SKU and SSE update signals for live clients.
Expose getHistoryBySku as GET /article/:sku/history, and document mutation-emitted company signals via GET /events.
2026-08-05 09:54:56 +02:00
seb
aed0857f23 u 2026-08-02 19:04:56 +02:00
seb
bfb1d8762a Add unit API and article unitamount/unitSi patch.
Units use the selected company; article PATCH accepts name/unitamount/unitSi.
2026-08-01 06:15:30 +02:00
seb
067503f4ed u 2026-08-01 02:15:29 +02:00
seb
c77337507f u 2026-07-31 20:10:14 +02:00
seb
6074aa7304 u 2026-07-31 18:25:42 +02:00
seb
db8b192094 u 2026-07-31 05:54:13 +02:00
seb
3bff749b49 reshape search 2026-06-29 10:23:32 +02:00
seb
b278d3cf92 cleasnup 2026-06-24 09:54:34 +02:00
seb
9b11a8a24c services 2026-06-24 09:50:08 +02:00
seb
185b68fe52 search 2026-06-24 09:37:34 +02:00
seb
667f498573 Genesis 2026-06-23 11:04:07 +02:00