u
This commit is contained in:
@@ -730,6 +730,135 @@
|
||||
* transaction_text:
|
||||
* type: string
|
||||
* description: Transaction memo / details
|
||||
* Printer:
|
||||
* type: object
|
||||
* required: [id, company_id, address, type, sort]
|
||||
* properties:
|
||||
* id:
|
||||
* type: integer
|
||||
* company_id:
|
||||
* type: integer
|
||||
* address:
|
||||
* type: string
|
||||
* description: Printer network address or hostname
|
||||
* type:
|
||||
* type: string
|
||||
* enum: [esc/pos, zpl]
|
||||
* description: Printer type ("esc/pos" for lines or "zpl" for pages)
|
||||
* model:
|
||||
* type: string
|
||||
* nullable: true
|
||||
* description: Printer model name
|
||||
* serial:
|
||||
* type: string
|
||||
* nullable: true
|
||||
* description: Printer serial number
|
||||
* sort:
|
||||
* type: integer
|
||||
* description: Sort order
|
||||
* desc:
|
||||
* type: string
|
||||
* nullable: true
|
||||
* description: Printer description
|
||||
* PrinterCreateInput:
|
||||
* type: object
|
||||
* required: [address, type]
|
||||
* properties:
|
||||
* address:
|
||||
* type: string
|
||||
* description: Printer network address or hostname
|
||||
* type:
|
||||
* type: string
|
||||
* enum: [esc/pos, zpl]
|
||||
* description: Printer type ("esc/pos" for lines or "zpl" for pages)
|
||||
* model:
|
||||
* type: string
|
||||
* nullable: true
|
||||
* serial:
|
||||
* type: string
|
||||
* nullable: true
|
||||
* sort:
|
||||
* type: integer
|
||||
* desc:
|
||||
* type: string
|
||||
* nullable: true
|
||||
* PrinterUpdateInput:
|
||||
* type: object
|
||||
* properties:
|
||||
* address:
|
||||
* type: string
|
||||
* type:
|
||||
* type: string
|
||||
* enum: [esc/pos, zpl]
|
||||
* model:
|
||||
* type: string
|
||||
* nullable: true
|
||||
* serial:
|
||||
* type: string
|
||||
* nullable: true
|
||||
* sort:
|
||||
* type: integer
|
||||
* desc:
|
||||
* type: string
|
||||
* nullable: true
|
||||
* StockAdjustmentInput:
|
||||
* type: object
|
||||
* properties:
|
||||
* sku:
|
||||
* type: string
|
||||
* description: Article SKU (for single-item adjustment)
|
||||
* warehouseId:
|
||||
* type: integer
|
||||
* description: Target warehouse ID
|
||||
* amount:
|
||||
* type: number
|
||||
* description: Signed adjustment quantity (+ to add, - to remove)
|
||||
* text:
|
||||
* type: string
|
||||
* nullable: true
|
||||
* description: Reason or memo
|
||||
* lines:
|
||||
* type: array
|
||||
* description: Batch adjustment lines
|
||||
* items:
|
||||
* type: object
|
||||
* required: [sku, amount]
|
||||
* properties:
|
||||
* sku:
|
||||
* type: string
|
||||
* warehouseId:
|
||||
* type: integer
|
||||
* amount:
|
||||
* type: number
|
||||
* text:
|
||||
* type: string
|
||||
* StockAdjustmentResult:
|
||||
* type: object
|
||||
* properties:
|
||||
* manifest:
|
||||
* type: object
|
||||
* properties:
|
||||
* id:
|
||||
* type: integer
|
||||
* number:
|
||||
* type: string
|
||||
* type:
|
||||
* type: string
|
||||
* example: adjustment
|
||||
* date:
|
||||
* type: string
|
||||
* format: date-time
|
||||
* createdAt:
|
||||
* type: string
|
||||
* format: date-time
|
||||
* lines:
|
||||
* type: array
|
||||
* items:
|
||||
* type: object
|
||||
* ledger:
|
||||
* type: array
|
||||
* items:
|
||||
* $ref: '#/components/schemas/LedgerEntry'
|
||||
*/
|
||||
|
||||
export {};
|
||||
|
||||
Reference in New Issue
Block a user