Commit Graph

245 Commits

Author SHA1 Message Date
seb
7f3558b4cb u 2026-09-29 16:16:03 +02:00
seb
b92e2deb41 u 2026-09-29 13:44:14 +02:00
seb
6966c5f092 u 2026-09-29 11:37:13 +02:00
seb
0e64233418 u 2026-09-29 11:31:35 +02:00
seb
cf4af1480b u 2026-09-29 11:21:55 +02:00
seb
3089cc7252 u 2026-09-29 10:27:23 +02:00
seb
62d46a1df3 u 2026-09-28 12:13:17 +02:00
seb
e8e4265dc4 u 2026-09-28 06:50:00 +02:00
seb
d2aa9ff8b1 u 2026-09-27 22:01:47 +02:00
seb
68b793c9ba u 2026-09-27 21:01:20 +02:00
seb
bab15b0978 u 2026-09-27 18:32:17 +02:00
seb
76a49833d4 u 2026-09-27 18:32:10 +02:00
seb
e8b23db276 u 2026-09-27 18:31:36 +02:00
seb
65b4ce5098 u 2026-09-27 18:01:08 +02:00
seb
9f97e3f3c6 u 2026-09-27 16:47:35 +02:00
seb
3e64fff747 u 2026-09-27 16:19:43 +02:00
seb
69f27a2942 u 2026-09-26 23:06:09 +02:00
seb
cbb2fdeb6d u 2026-09-26 14:42:29 +02:00
seb
f0176e0fe0 u 2026-09-26 07:34:35 +02:00
seb
67758d5ec2 u 2026-09-25 12:30:54 +02:00
seb
37828fdef9 u 2026-09-24 23:26:50 +02:00
seb
68aadd483b u 2026-09-23 15:15:45 +02:00
seb
a46e9742f4 sqlite 2026-09-22 07:25:11 +02:00
seb
15664223ee u 2026-09-20 16:33:38 +02:00
seb
dff254e923 errorlog 2026-09-20 13:14:55 +02:00
seb
dbabce2a2d u 2026-09-20 08:03:00 +02:00
seb
043facff48 llm 2026-09-20 07:22:14 +02:00
seb
fb2ab77ab8 u 2026-09-20 06:13:24 +02:00
seb
2130a1e408 abord and log 2026-09-19 08:13:35 +02:00
seb
bc0e277b81 sse abort 2026-09-19 07:01:55 +02:00
seb
37a676bb50 file api 2026-09-19 06:34:11 +02:00
seb
96d35bcf6d u 2026-09-19 05:14:41 +02:00
seb
c2147de284 multipart 2026-09-18 07:19:20 +02:00
seb
8c19388901 file meta 2026-09-18 05:20:03 +02:00
seb
bbd285109d unify parse api 2026-09-18 04:35:42 +02:00
seb
adb529d14f feat(api): add GET and POST /supplier/:id/articles endpoints and openapi docs 2026-09-18 02:54:06 +02:00
seb
fe8fa55fbb feat(api): implement articlesupplier endpoints, sort reordering, and openapi docs 2026-09-17 12:38:16 +02:00
seb
49efd5f8a1 u 2026-09-17 11:46:22 +02:00
seb
ab6d018a1f refactor(api): update manifest line schema docs with name and pu, update deliveryParsePdf model 2026-09-16 17:04:32 +02:00
seb
ed36c534b9 ncu 2026-09-15 09:35:51 +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
367555bb59 u 2026-08-08 17:18:38 +02:00
seb
7514848022 Delivery API: use externalNumber for user reference
Delivery create now accepts externalNumber (user-supplied reference) instead
of number; the manifest number is auto-allocated server-side via
nextNumber('delivery'). Update patches externalNumber (clearable) rather than
number. DeliverySummary schema documents externalNumber and notes number is
auto-generated. Regenerate API docs.
2026-08-08 10:09: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
e6c24654dd Align store calls with selected-company scoping and add entity numbers.
Drop companyId from company-scoped store wrappers and routes, add GET /entity/next-number plus optional number on entity create/update, and document dashdbschema API.md lookup in sibling-repos.
2026-08-07 06:22:13 +02:00
seb
2767568f5a restart 2026-08-07 03:51:54 +02:00
seb
57fd3b4837 Add customergroup bulk reorder and list editable flag.
Expose PUT /customergroup/order for exact-set sort updates, keep create/update name-only, and mark POS/Lieferanten as non-editable in list responses.
2026-08-07 03:40:40 +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