This commit is contained in:
seb
2026-09-27 16:47:37 +02:00
parent cd57f21af8
commit 516feb51d4
6 changed files with 115 additions and 10 deletions

View File

@@ -15,7 +15,7 @@ Creates a new printer for the user's selected company.
| `googleAuthId` | `number` | The id of the Google auth user. |
| `input` | `object` | Printer input. |
| `input.address` | `string` | Printer address (network IP/host/path). |
| `input.type` | `string` | Printer type ("esc/pos" or "zpl"). |
| `input.type` | `string` | Printer type ("esc/pos", "zpl", or "ipp"). |
| `[input.model]` | `string` | Optional printer model name. |
| `[input.serial]` | `string` | Optional printer serial number. |
| `[input.sort]` | `number` | Optional sort order (auto-increments if omitted). |
@@ -149,7 +149,7 @@ Updates a printer for the user's selected company.
| `id` | `number` | The printer ID to update. |
| `input` | `object` | Update payload. |
| `[input.address]` | `string` | The printer address. |
| `[input.type]` | `string` | The printer type ("esc/pos" or "zpl"). |
| `[input.type]` | `string` | The printer type ("esc/pos", "zpl", or "ipp"). |
| `[input.model]` | `string|null` | The printer model. |
| `[input.serial]` | `string|null` | The printer serial. |
| `[input.sort]` | `number` | The sort order. |