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:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user