@tillhub/schemas 6.134.0 → 6.136.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,24 @@
|
|
|
1
|
+
# [6.136.0](https://github.com/tillhub/schemas/compare/v6.135.1...v6.136.0) (2022-04-27)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **analytics:** Staff sales report ([#694](https://github.com/tillhub/schemas/issues/694)) ([f1efabe](https://github.com/tillhub/schemas/commit/f1efabe))
|
|
7
|
+
|
|
8
|
+
## [6.135.1](https://github.com/tillhub/schemas/compare/v6.135.0...v6.135.1) (2022-04-21)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **client_accounts:** Accept `regiondo` as valid Whitelabel and dashboard value when creating account ([87fc826](https://github.com/tillhub/schemas/commit/87fc826))
|
|
14
|
+
|
|
15
|
+
# [6.135.0](https://github.com/tillhub/schemas/compare/v6.134.0...v6.135.0) (2022-04-13)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Features
|
|
19
|
+
|
|
20
|
+
* **transactions:** Add key to fr_transaction_cartitem_context_option ([#690](https://github.com/tillhub/schemas/issues/690)) ([10c0371](https://github.com/tillhub/schemas/commit/10c0371))
|
|
21
|
+
|
|
1
22
|
# [6.134.0](https://github.com/tillhub/schemas/compare/v6.133.0...v6.134.0) (2022-04-05)
|
|
2
23
|
|
|
3
24
|
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
module.exports.request = {
|
|
2
|
+
$id: 'https://schemas.tillhub.com/v0/analytics.staff.sales.request.schema.json',
|
|
3
|
+
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
4
|
+
type: 'object',
|
|
5
|
+
'additionalProperties': true,
|
|
6
|
+
'properties': {
|
|
7
|
+
'branch': {
|
|
8
|
+
'type': 'string',
|
|
9
|
+
'format': 'uuid'
|
|
10
|
+
},
|
|
11
|
+
'start': {
|
|
12
|
+
'type': 'string'
|
|
13
|
+
},
|
|
14
|
+
'end': {
|
|
15
|
+
'type': 'string'
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
'required': []
|
|
19
|
+
}
|
|
@@ -33,12 +33,14 @@ module.exports = {
|
|
|
33
33
|
'default': 'tillhub_init'
|
|
34
34
|
},
|
|
35
35
|
dashboard: {
|
|
36
|
+
description: 'Defines this account\'s preferred dashboard',
|
|
36
37
|
type: 'string',
|
|
37
38
|
'enum': [
|
|
38
39
|
'tillhub',
|
|
39
40
|
'tillhub_legacy',
|
|
40
41
|
'shore',
|
|
41
|
-
'localsearch'
|
|
42
|
+
'localsearch',
|
|
43
|
+
'regiondo'
|
|
42
44
|
],
|
|
43
45
|
'default': 'tillhub'
|
|
44
46
|
},
|
|
@@ -393,6 +393,7 @@ module.exports = {
|
|
|
393
393
|
'note', // Cashier/customer note on this item
|
|
394
394
|
'related_transaction_guid', // In cases of refund or cancellation, or invoicing a delivery note or selling a saved cart: the GUID of the origin transaction
|
|
395
395
|
'serial_number', // Product serial number recorded at the point of sale
|
|
396
|
+
'price_change_reason', // Price change reason recorded at the point of sale
|
|
396
397
|
'voucher_value', // The DELTA value of this voucher operation, INT 2500 = 25.00 EUR or 2500 HUF respectively
|
|
397
398
|
'voucher_id', // If is_voucher, the Tillhub voucher resource used to create this item
|
|
398
399
|
'voucher_client_id', // If is_voucher, the client assigned id of the item\'s associated vocuher operation
|