@tillhub/schemas 6.293.0 → 6.295.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.295.0](https://github.com/tillhub/schemas/compare/v6.294.0...v6.295.0) (2024-03-21)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **configurations:** discounts ([a300ddf](https://github.com/tillhub/schemas/commit/a300ddf))
|
|
7
|
+
|
|
8
|
+
# [6.294.0](https://github.com/tillhub/schemas/compare/v6.293.0...v6.294.0) (2024-03-19)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* **web_view:** icon configuration ([b0314a6](https://github.com/tillhub/schemas/commit/b0314a6))
|
|
14
|
+
|
|
1
15
|
# [6.293.0](https://github.com/tillhub/schemas/compare/v6.292.0...v6.293.0) (2024-03-06)
|
|
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
|
+
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
|
})
|
|
@@ -214,6 +214,15 @@ module.exports = oneOf({
|
|
|
214
214
|
minLength: 2,
|
|
215
215
|
maxLength: 24
|
|
216
216
|
},
|
|
217
|
+
type: oneOf({
|
|
218
|
+
description: 'Web view icon type',
|
|
219
|
+
type: 'string',
|
|
220
|
+
enum: [
|
|
221
|
+
'none',
|
|
222
|
+
'calendar'
|
|
223
|
+
],
|
|
224
|
+
default: 'none'
|
|
225
|
+
}),
|
|
217
226
|
log_level: {
|
|
218
227
|
description: 'defines the granularity of the web api logging.',
|
|
219
228
|
type: 'string',
|