@tillhub/schemas 6.217.0 → 6.218.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,13 @@
|
|
|
1
|
+
# [6.218.0](https://github.com/tillhub/schemas/compare/v6.217.0...v6.218.0) (2023-06-13)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **search:** added stock adjustment view search configuration ([ba42a12](https://github.com/tillhub/schemas/commit/ba42a12))
|
|
7
|
+
* **UNTIL-6873_pricelist:** add location-based to type_precedence.default ([1f37a81](https://github.com/tillhub/schemas/commit/1f37a81))
|
|
8
|
+
* **UNTIL-6873_pricelist:** add location-based type ([25f6029](https://github.com/tillhub/schemas/commit/25f6029))
|
|
9
|
+
* **UNTIL-6873_pricelist:** add location-based type_precedence ([77c05d4](https://github.com/tillhub/schemas/commit/77c05d4))
|
|
10
|
+
|
|
1
11
|
# [6.217.0](https://github.com/tillhub/schemas/compare/v6.216.0...v6.217.0) (2023-05-25)
|
|
2
12
|
|
|
3
13
|
|
|
@@ -62,11 +62,12 @@ module.exports = {
|
|
|
62
62
|
description: 'Price types sorted by priority.',
|
|
63
63
|
type: 'array',
|
|
64
64
|
uniqueItems: true,
|
|
65
|
-
default: ['scaled', 'time-based', 'branch'],
|
|
65
|
+
default: ['scaled', 'time-based', 'location-based', 'branch'],
|
|
66
66
|
items: {
|
|
67
67
|
type: 'string',
|
|
68
68
|
enum: [
|
|
69
69
|
'time-based',
|
|
70
|
+
'location-based',
|
|
70
71
|
'branch',
|
|
71
72
|
'scaled'
|
|
72
73
|
]
|
|
@@ -82,6 +82,11 @@ module.exports = {
|
|
|
82
82
|
type: 'object',
|
|
83
83
|
...searchBehavior
|
|
84
84
|
},
|
|
85
|
+
stock_adjustment: {
|
|
86
|
+
description: 'Stock adjustment view',
|
|
87
|
+
type: 'object',
|
|
88
|
+
...searchBehavior
|
|
89
|
+
},
|
|
85
90
|
tile_view: {
|
|
86
91
|
description: 'Tile view, no limitations, probably account requirements dependent',
|
|
87
92
|
type: 'object',
|
|
@@ -14,9 +14,10 @@ module.exports = {
|
|
|
14
14
|
description: 'Type of the product prices',
|
|
15
15
|
type: 'string',
|
|
16
16
|
enum: [
|
|
17
|
-
'scaled',
|
|
18
|
-
'branch',
|
|
19
|
-
'time-based'
|
|
17
|
+
'scaled', // defined by product
|
|
18
|
+
'branch', // defined by product
|
|
19
|
+
'time-based', // defined by pricebook-entry
|
|
20
|
+
'location-based' // defined by pricebook-entry
|
|
20
21
|
],
|
|
21
22
|
example: 'scaled'
|
|
22
23
|
},
|