This commit is contained in:
seb
2026-10-27 06:48:35 +00:00
parent bab5c151d0
commit ccb81cdb26
84 changed files with 5072 additions and 3625 deletions

View File

@@ -68,7 +68,7 @@ Finds a posterminal by its auth token.
*Source: `src/store/posterminal/getCategoryCount.js`*
Counts categories assigned to the POS terminal updated after the given unix timestamp cursor.
Counts categories assigned to the POS terminal queued after the given sync queue cursor ID.
**Parameters**
@@ -76,7 +76,7 @@ Counts categories assigned to the POS terminal updated after the given unix time
| --- | --- | --- |
| `input` | `object` | |
| `input.posterminalId` | `number` | The POS terminal id. |
| `[input.cursor=0]` | `number` | Unix timestamp cursor of last update. |
| `[input.cursor=0]` | `number` | Sequential ID cursor of last synced posterminalsyncqueue entry. |
| `[tx]` | `object` | Optional transaction to run within. |
**Returns**
@@ -87,7 +87,7 @@ Counts categories assigned to the POS terminal updated after the given unix time
*Source: `src/store/posterminal/getCategoryList.js`*
Lists categories for a POS terminal modified after the cursor.
Lists categories for a POS terminal queued after the sync queue cursor ID.
**Parameters**
@@ -95,7 +95,7 @@ Lists categories for a POS terminal modified after the cursor.
| --- | --- | --- |
| `input` | `object` | |
| `input.posterminalId` | `number` | The POS terminal id. |
| `[input.cursor=0]` | `number` | Unix timestamp cursor. |
| `[input.cursor=0]` | `number` | Sequential ID cursor of last synced posterminalsyncqueue entry. |
| `[input.limit=20]` | `number` | Max items to return. |
| `[tx]` | `object` | Optional transaction. |
@@ -107,7 +107,7 @@ Lists categories for a POS terminal modified after the cursor.
*Source: `src/store/posterminal/getCompositeProductCount.js`*
Counts composite products (Stücklisten) assigned to the POS terminal updated after the given unix timestamp cursor.
Counts composite products (Stücklisten) assigned to the POS terminal queued after the given sync queue cursor ID.
**Parameters**
@@ -115,7 +115,7 @@ Counts composite products (Stücklisten) assigned to the POS terminal updated af
| --- | --- | --- |
| `input` | `object` | |
| `input.posterminalId` | `number` | The POS terminal id. |
| `[input.cursor=0]` | `number` | Unix timestamp cursor of last update. |
| `[input.cursor=0]` | `number` | Sequential ID cursor of last synced posterminalsyncqueue entry. |
| `[tx]` | `object` | Optional transaction to run within. |
**Returns**
@@ -126,7 +126,7 @@ Counts composite products (Stücklisten) assigned to the POS terminal updated af
*Source: `src/store/posterminal/getCustomerCount.js`*
Counts customers of the POS terminal company updated after the given unix timestamp cursor.
Counts customers of the POS terminal company queued after the given sync queue cursor ID.
**Parameters**
@@ -134,7 +134,7 @@ Counts customers of the POS terminal company updated after the given unix timest
| --- | --- | --- |
| `input` | `object` | |
| `input.posterminalId` | `number` | The POS terminal id. |
| `[input.cursor=0]` | `number` | Unix timestamp cursor of last update. |
| `[input.cursor=0]` | `number` | Sequential ID cursor of last synced posterminalsyncqueue entry. |
| `[tx]` | `object` | Optional transaction to run within. |
**Returns**
@@ -145,7 +145,7 @@ Counts customers of the POS terminal company updated after the given unix timest
*Source: `src/store/posterminal/getCustomerGroupCount.js`*
Counts customer groups of the POS terminal company updated after the given unix timestamp cursor.
Counts customer groups of the POS terminal company queued after the given sync queue cursor ID.
**Parameters**
@@ -153,7 +153,7 @@ Counts customer groups of the POS terminal company updated after the given unix
| --- | --- | --- |
| `input` | `object` | |
| `input.posterminalId` | `number` | The POS terminal id. |
| `[input.cursor=0]` | `number` | Unix timestamp cursor of last update. |
| `[input.cursor=0]` | `number` | Sequential ID cursor of last synced posterminalsyncqueue entry. |
| `[tx]` | `object` | Optional transaction to run within. |
**Returns**
@@ -164,7 +164,7 @@ Counts customer groups of the POS terminal company updated after the given unix
*Source: `src/store/posterminal/getCustomerGroupList.js`*
Lists customer groups for a POS terminal modified after the cursor, excluding 'Lieferanten'.
Lists customer groups for a POS terminal queued after the sync queue cursor ID, excluding 'Lieferanten'.
**Parameters**
@@ -172,7 +172,7 @@ Lists customer groups for a POS terminal modified after the cursor, excluding 'L
| --- | --- | --- |
| `input` | `object` | |
| `input.posterminalId` | `number` | The POS terminal id. |
| `[input.cursor=0]` | `number` | Unix timestamp cursor. |
| `[input.cursor=0]` | `number` | Sequential ID cursor of last synced posterminalsyncqueue entry. |
| `[input.limit=50]` | `number` | Max items to return. |
| `[tx]` | `object` | Optional transaction. |
@@ -184,7 +184,7 @@ Lists customer groups for a POS terminal modified after the cursor, excluding 'L
*Source: `src/store/posterminal/getCustomerList.js`*
Lists customers for a POS terminal modified after the cursor, excluding 'Lieferanten'.
Lists customers for a POS terminal queued after the sync queue cursor ID, excluding 'Lieferanten'.
**Parameters**
@@ -192,7 +192,7 @@ Lists customers for a POS terminal modified after the cursor, excluding 'Liefera
| --- | --- | --- |
| `input` | `object` | |
| `input.posterminalId` | `number` | The POS terminal id. |
| `[input.cursor=0]` | `number` | Unix timestamp cursor. |
| `[input.cursor=0]` | `number` | Sequential ID cursor of last synced posterminalsyncqueue entry. |
| `[input.limit=20]` | `number` | Max items to return. |
| `[tx]` | `object` | Optional transaction. |
@@ -261,7 +261,7 @@ Returns the maximum order manifest id for the POS terminal company.
*Source: `src/store/posterminal/getProductCount.js`*
Counts products assigned to the POS terminal updated after the given unix timestamp cursor.
Counts products assigned to the POS terminal queued after the given sync queue cursor ID.
**Parameters**
@@ -269,7 +269,7 @@ Counts products assigned to the POS terminal updated after the given unix timest
| --- | --- | --- |
| `input` | `object` | |
| `input.posterminalId` | `number` | The POS terminal id. |
| `[input.cursor=0]` | `number` | Unix timestamp cursor of last update. |
| `[input.cursor=0]` | `number` | Sequential ID cursor of last synced posterminalsyncqueue entry. |
| `[tx]` | `object` | Optional transaction to run within. |
**Returns**
@@ -280,7 +280,7 @@ Counts products assigned to the POS terminal updated after the given unix timest
*Source: `src/store/posterminal/getProductList.js`*
Lists products for a POS terminal modified after the cursor.
Lists products for a POS terminal queued after the sync queue cursor ID.
**Parameters**
@@ -288,7 +288,7 @@ Lists products for a POS terminal modified after the cursor.
| --- | --- | --- |
| `input` | `object` | |
| `input.posterminalId` | `number` | The POS terminal id. |
| `[input.cursor=0]` | `number` | Unix timestamp cursor. |
| `[input.cursor=0]` | `number` | Sequential ID cursor of last synced posterminalsyncqueue entry. |
| `[input.limit=20]` | `number` | Max items to return. |
| `[tx]` | `object` | Optional transaction. |
@@ -361,6 +361,26 @@ Records an obituary for all active paired POS terminals of a company.
`Promise<void>`
## `posterminal.recordSyncQueue`
*Source: `src/store/posterminal/recordSyncQueue.js`*
Enqueues a sync notification for all POS terminals of a company.
**Parameters**
| Name | Type | Description |
| --- | --- | --- |
| `input` | `object` | |
| `input.companyId` | `number` | The company id. |
| `input.entityType` | `string` | 'category' | 'article' | 'customer' | 'customergroup' |
| `input.entityId` | `number` | The entity's id. |
| `[tx]` | `object` | Optional transaction/runner. |
**Returns**
`Promise<void>`
## `posterminal.setMaxKnownObituaryId`
*Source: `src/store/posterminal/setMaxKnownObituaryId.js`*