@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
 
@@ -80,9 +80,9 @@ module.exports = {
80
80
  type: 'object',
81
81
  additionalProperties: false,
82
82
  properties: {
83
- show_inactive: {
83
+ show_inactive: oneOf({
84
84
  type: 'boolean'
85
- }
85
+ })
86
86
  }
87
87
  },
88
88
  {
@@ -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
  }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tillhub/schemas",
3
- "version": "6.191.0",
3
+ "version": "6.192.0",
4
4
  "private": false,
5
5
  "description": "All Tillhub API OpenAPI 3 compatible JSON Schemas.",
6
6
  "main": "./lib/index.js",