@tillhub/schemas 6.372.0 → 6.373.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.373.0](https://github.com/tillhub/schemas/compare/v6.372.0...v6.373.0) (2025-04-10)
2
+
3
+
4
+ ### Features
5
+
6
+ * **configurations:** gastro ([98d8b95](https://github.com/tillhub/schemas/commit/98d8b95))
7
+
1
8
  # [6.372.0](https://github.com/tillhub/schemas/compare/v6.371.1...v6.372.0) (2025-04-10)
2
9
 
3
10
 
@@ -58,7 +58,32 @@ module.exports = {
58
58
  'verbose' // request/response bodies
59
59
  ],
60
60
  default: 'info'
61
- }
61
+ },
62
+ caching: oneOf({
63
+ type: 'object',
64
+ description: 'Defines caching behavior of Orderpro devices - only for for order-creation and modificatiuon - no checkouts',
65
+ properties: {
66
+ enabled: oneOf({
67
+ description: 'Specifies if Orderpro should cache orders on failures (e.g. network)',
68
+ type: 'boolean',
69
+ default: false
70
+ }),
71
+ lifetime: oneOf({
72
+ description: 'Lifetime of cached operations in seconds.',
73
+ type: 'integer',
74
+ minimum: 60, // 1 minute
75
+ maximum: 86400, // 24 hours
76
+ default: 3600 // 1 hour
77
+ }),
78
+ max_size: oneOf({
79
+ description: 'Maximum number of operations to be cached on Orderpro.',
80
+ type: 'integer',
81
+ minimum: 1,
82
+ maximum: 100,
83
+ default: 25
84
+ })
85
+ }
86
+ })
62
87
  }
63
88
  }),
64
89
  lock_to_waiters: oneOf({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tillhub/schemas",
3
- "version": "6.372.0",
3
+ "version": "6.373.0",
4
4
  "private": false,
5
5
  "description": "All Tillhub API OpenAPI 3 compatible JSON Schemas.",
6
6
  "main": "./lib/index.js",