This commit is contained in:
seb
2026-10-08 01:44:40 +02:00
parent 8bc912c567
commit 243eba5fc6
7 changed files with 718 additions and 27 deletions

View File

@@ -1710,6 +1710,19 @@ export const posterminal = {
});
},
/**
* PATCH /api/posterminal/:id
* Body: { name?: string, rootCategoryId?: number|null, syncRootArticles?: boolean, pairingpin?: string }
* Update posterminal configuration.
* → 200 { posterminal }
*/
update(terminalId, patch) {
return http(`/api/posterminal/${terminalId}`, {
method: 'PATCH',
body: patch,
});
},
/**
* DELETE /api/posterminal/:id → 204
* Deletes a terminal.