@tillhub/schemas 6.294.0 → 6.296.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,17 @@
|
|
|
1
|
+
# [6.296.0](https://github.com/tillhub/schemas/compare/v6.295.0...v6.296.0) (2024-03-25)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **configurations:** add toggle for individual opening hours and closing days ([#926](https://github.com/tillhub/schemas/issues/926)) ([ed11944](https://github.com/tillhub/schemas/commit/ed11944))
|
|
7
|
+
|
|
8
|
+
# [6.295.0](https://github.com/tillhub/schemas/compare/v6.294.0...v6.295.0) (2024-03-21)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* **configurations:** discounts ([a300ddf](https://github.com/tillhub/schemas/commit/a300ddf))
|
|
14
|
+
|
|
1
15
|
# [6.294.0](https://github.com/tillhub/schemas/compare/v6.293.0...v6.294.0) (2024-03-19)
|
|
2
16
|
|
|
3
17
|
|
|
@@ -94,6 +94,18 @@ module.exports = {
|
|
|
94
94
|
})
|
|
95
95
|
}
|
|
96
96
|
}),
|
|
97
|
+
automatic: oneOf({
|
|
98
|
+
type: 'object',
|
|
99
|
+
description: 'Rules for automatic discounts when adding a product to the cart',
|
|
100
|
+
additionalProperties: false,
|
|
101
|
+
properties: {
|
|
102
|
+
override_stacked_on_product: oneOf({
|
|
103
|
+
description: 'If true, overrides generic limits.stacked_on_product.',
|
|
104
|
+
type: 'boolean',
|
|
105
|
+
default: false
|
|
106
|
+
})
|
|
107
|
+
}
|
|
108
|
+
}),
|
|
97
109
|
price_and_quantity_edit_condition: oneOf({
|
|
98
110
|
description: 'In case of discounted items - specifies if quantity and price can still be edited',
|
|
99
111
|
type: 'string',
|
|
@@ -115,6 +127,7 @@ module.exports = {
|
|
|
115
127
|
}
|
|
116
128
|
}),
|
|
117
129
|
stacked_on_product: oneOf({
|
|
130
|
+
description: 'Regulates if cart items can have more than 1 discount.',
|
|
118
131
|
type: 'boolean',
|
|
119
132
|
default: true
|
|
120
133
|
})
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
module.exports = {
|
|
2
2
|
type: 'object',
|
|
3
3
|
properties: {
|
|
4
|
+
use_individual_closing_days: {
|
|
5
|
+
type: 'boolean'
|
|
6
|
+
},
|
|
4
7
|
closing_days: {
|
|
5
8
|
type: 'array',
|
|
6
9
|
items: {
|
|
@@ -87,6 +90,9 @@ module.exports = {
|
|
|
87
90
|
}
|
|
88
91
|
}
|
|
89
92
|
},
|
|
93
|
+
use_individual_opening_hours: {
|
|
94
|
+
type: 'boolean'
|
|
95
|
+
},
|
|
90
96
|
opening_hours: {
|
|
91
97
|
type: 'array',
|
|
92
98
|
items: {
|