@tillhub/schemas 6.191.0 → 6.192.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,15 @@
|
|
|
1
|
+
# [6.192.0](https://github.com/tillhub/schemas/compare/v6.191.0...v6.192.0) (2023-02-14)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **configurations:** discounts ([9f8ed2c](https://github.com/tillhub/schemas/commit/9f8ed2c))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **configurations:** discounts ([67ee1f8](https://github.com/tillhub/schemas/commit/67ee1f8))
|
|
12
|
+
|
|
1
13
|
# [6.191.0](https://github.com/tillhub/schemas/compare/v6.190.0...v6.191.0) (2023-02-06)
|
|
2
14
|
|
|
3
15
|
|
package/lib/v0/discounts/base.js
CHANGED
|
@@ -43,6 +43,18 @@ module.exports = {
|
|
|
43
43
|
type: 'boolean',
|
|
44
44
|
description: 'If true, non-active discounts will be still displayed (greyed out)',
|
|
45
45
|
default: false
|
|
46
|
+
}),
|
|
47
|
+
item_details: oneOf({
|
|
48
|
+
description: 'Discount display on cart item details',
|
|
49
|
+
type: 'object',
|
|
50
|
+
additionalProperties: false,
|
|
51
|
+
properties: {
|
|
52
|
+
hide_cart_behavior: oneOf({
|
|
53
|
+
description: 'If true - hide discounts that have the behavior type \'cart\'',
|
|
54
|
+
type: 'boolean',
|
|
55
|
+
default: false
|
|
56
|
+
})
|
|
57
|
+
}
|
|
46
58
|
})
|
|
47
59
|
}
|
|
48
60
|
}),
|