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
This commit is contained in:
seb
2026-08-08 09:01:28 +02:00
parent e6c24654dd
commit 57420ac0db
14 changed files with 1279 additions and 0 deletions

View File

@@ -45,6 +45,15 @@
* type: number
* reducedtaxrate:
* type: number
* CompanySetting:
* type: object
* required: [key, value]
* properties:
* key:
* type: string
* value:
* type: string
* nullable: true
* Category:
* type: object
* properties:
@@ -110,6 +119,23 @@
* gsprpinfo:
* type: string
* nullable: true
* NumberSequence:
* type: object
* required: [id, type, prefix, padding, next]
* properties:
* id:
* type: integer
* type:
* type: string
* description: Sequence type (e.g. entity, article, delivery)
* prefix:
* type: string
* padding:
* type: integer
* description: Zero-padding length for the numeric part
* next:
* type: integer
* description: Next value to allocate
* Supplier:
* type: object
* required: [id, name, createdAt, updatedAt]