u
This commit is contained in:
@@ -83,6 +83,26 @@ Counts categories assigned to the POS terminal updated after the given unix time
|
||||
|
||||
`Promise<number>` — The count of changed records.
|
||||
|
||||
## `posterminal.getCategoryList`
|
||||
|
||||
*Source: `src/store/posterminal/getCategoryList.js`*
|
||||
|
||||
Lists categories for a POS terminal modified after the cursor.
|
||||
|
||||
**Parameters**
|
||||
|
||||
| Name | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| `input` | `object` | |
|
||||
| `input.posterminalId` | `number` | The POS terminal id. |
|
||||
| `[input.cursor=0]` | `number` | Unix timestamp cursor. |
|
||||
| `[input.limit=20]` | `number` | Max items to return. |
|
||||
| `[tx]` | `object` | Optional transaction. |
|
||||
|
||||
**Returns**
|
||||
|
||||
`Promise<Array<object>>`
|
||||
|
||||
## `posterminal.getCompositeProductCount`
|
||||
|
||||
*Source: `src/store/posterminal/getCompositeProductCount.js`*
|
||||
@@ -195,6 +215,26 @@ Counts products assigned to the POS terminal updated after the given unix timest
|
||||
|
||||
`Promise<number>` — The count of changed records.
|
||||
|
||||
## `posterminal.getProductList`
|
||||
|
||||
*Source: `src/store/posterminal/getProductList.js`*
|
||||
|
||||
Lists products for a POS terminal modified after the cursor.
|
||||
|
||||
**Parameters**
|
||||
|
||||
| Name | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| `input` | `object` | |
|
||||
| `input.posterminalId` | `number` | The POS terminal id. |
|
||||
| `[input.cursor=0]` | `number` | Unix timestamp cursor. |
|
||||
| `[input.limit=20]` | `number` | Max items to return. |
|
||||
| `[tx]` | `object` | Optional transaction. |
|
||||
|
||||
**Returns**
|
||||
|
||||
`Promise<Array<object>>`
|
||||
|
||||
## `posterminal.list`
|
||||
|
||||
*Source: `src/store/posterminal/list.js`*
|
||||
|
||||
Reference in New Issue
Block a user