@tillhub/schemas 6.295.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,10 @@
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
+
1
8
  # [6.295.0](https://github.com/tillhub/schemas/compare/v6.294.0...v6.295.0) (2024-03-21)
2
9
 
3
10
 
@@ -99,7 +99,7 @@ module.exports = {
99
99
  description: 'Rules for automatic discounts when adding a product to the cart',
100
100
  additionalProperties: false,
101
101
  properties: {
102
- stacked_on_product: oneOf({
102
+ override_stacked_on_product: oneOf({
103
103
  description: 'If true, overrides generic limits.stacked_on_product.',
104
104
  type: 'boolean',
105
105
  default: false
@@ -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: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tillhub/schemas",
3
- "version": "6.295.0",
3
+ "version": "6.296.0",
4
4
  "private": false,
5
5
  "description": "All Tillhub API OpenAPI 3 compatible JSON Schemas.",
6
6
  "main": "./lib/index.js",