This commit is contained in:
seb
2026-10-16 18:04:42 +02:00
parent d05ba9276f
commit de6c4987b9
11 changed files with 358 additions and 236 deletions

View File

@@ -1176,10 +1176,12 @@
* enum: [idle, busy]
* description: Messages can only be posted while `idle`
* started_by:
* type: [integer, 'null']
* type: integer
* nullable: true
* description: Id of the conversation that started this one as a subagent, or null for a top-level conversation. Deleting a conversation also deletes every conversation below it in this chain.
* first_message:
* type: [string, 'null']
* type: string
* nullable: true
* description: Plain text of the conversation's first user message (XML stripped, max 50 chars, ellipsis if cut), or null if there is none yet.
* ModelConversationCreateInput:
* type: object

View File

@@ -306,26 +306,57 @@ export function register(app, basePath = '') {
* trackStock:
* type: boolean
* unit:
* type: object
* $ref: '#/components/schemas/Unit'
* nullable: true
* brand:
* type: object
* $ref: '#/components/schemas/ArticleBrand'
* nullable: true
* price:
* type: object
* nullable: true
* properties:
* minmultiplier:
* type: number
* net:
* type: number
* nullable: true
* taxRate:
* type: number
* nullable: true
* gross:
* type: number
* nullable: true
* prices:
* type: array
* items:
* type: object
* properties:
* minmultiplier:
* type: number
* net:
* type: number
* nullable: true
* taxRate:
* type: number
* nullable: true
* gross:
* type: number
* nullable: true
* categories:
* type: array
* items:
* type: object
* properties:
* id:
* type: integer
* name:
* type: string
* slug:
* type: string
* photos:
* type: array
* items:
* type: object
* $ref: '#/components/schemas/ArticlePhoto'
* eans:
* type: array
* items:
@@ -339,6 +370,31 @@ export function register(app, basePath = '') {
* type: array
* items:
* type: object
* properties:
* id:
* type: integer
* sku:
* type: string
* sort:
* type: integer
* name:
* type: string
* slug:
* type: string
* attributeValueId:
* type: integer
* nullable: true
* attributeValue:
* type: string
* nullable: true
* unitamount:
* type: number
* nullable: true
* weight:
* type: number
* nullable: true
* trackStock:
* type: boolean
* 400:
* description: Invalid parameters
* content:

View File

@@ -384,11 +384,7 @@ export function register(app, basePath = '') {
* name: skus
* required: false
* schema:
* oneOf:
* - type: array
* items:
* type: string
* - type: string
* type: string
* description: Optional SKU or comma-separated SKUs to filter by
* responses:
* 200: