@tillhub/schemas 6.375.0 → 6.382.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,53 @@
1
+ # [6.382.0](https://github.com/tillhub/schemas/compare/v6.381.0...v6.382.0) (2025-05-06)
2
+
3
+
4
+ ### Features
5
+
6
+ * **carts:** release trigger ([361dbf3](https://github.com/tillhub/schemas/commit/361dbf3))
7
+
8
+ # [6.381.0](https://github.com/tillhub/schemas/compare/v6.380.0...v6.381.0) (2025-05-06)
9
+
10
+
11
+ ### Features
12
+
13
+ * **carts:** release trigger ([d81f433](https://github.com/tillhub/schemas/commit/d81f433))
14
+
15
+ # [6.380.0](https://github.com/tillhub/schemas/compare/v6.379.0...v6.380.0) (2025-05-06)
16
+
17
+
18
+ ### Features
19
+
20
+ * **carts:** release trigger ([5bb8c18](https://github.com/tillhub/schemas/commit/5bb8c18))
21
+
22
+ # [6.379.0](https://github.com/tillhub/schemas/compare/v6.378.0...v6.379.0) (2025-05-05)
23
+
24
+
25
+ ### Features
26
+
27
+ * **carts:** release trigger ([#1059](https://github.com/tillhub/schemas/issues/1059)) ([f2ac789](https://github.com/tillhub/schemas/commit/f2ac789))
28
+
29
+ # [6.378.0](https://github.com/tillhub/schemas/compare/v6.377.0...v6.378.0) (2025-05-05)
30
+
31
+
32
+ ### Features
33
+
34
+ * **carts:** release trigger ([#1058](https://github.com/tillhub/schemas/issues/1058)) ([3432299](https://github.com/tillhub/schemas/commit/3432299))
35
+
36
+ # [6.377.0](https://github.com/tillhub/schemas/compare/v6.376.0...v6.377.0) (2025-05-05)
37
+
38
+
39
+ ### Features
40
+
41
+ * **carts:** support type ([#1057](https://github.com/tillhub/schemas/issues/1057)) ([409efe3](https://github.com/tillhub/schemas/commit/409efe3))
42
+ * **imports:** chunk index should start with 1 ([#1056](https://github.com/tillhub/schemas/issues/1056)) ([faae808](https://github.com/tillhub/schemas/commit/faae808))
43
+
44
+ # [6.376.0](https://github.com/tillhub/schemas/compare/v6.375.0...v6.376.0) (2025-04-28)
45
+
46
+
47
+ ### Features
48
+
49
+ * **configurations:** receipts ([5bc9674](https://github.com/tillhub/schemas/commit/5bc9674))
50
+
1
51
  # [6.375.0](https://github.com/tillhub/schemas/compare/v6.374.1...v6.375.0) (2025-04-25)
2
52
 
3
53
 
@@ -2,6 +2,14 @@ const { oneOf } = require('../../helpers/payload-or-null')
2
2
  const items = require('./items').create
3
3
 
4
4
  module.exports = {
5
+ type: {
6
+ description: 'Type of the cart',
7
+ example: 'cart',
8
+ ...oneOf({
9
+ type: 'string',
10
+ enum: ['cart', 'order']
11
+ })
12
+ },
5
13
  date: {
6
14
  description: 'Date of this cart',
7
15
  example: '2022-02-20T19:41:07.736Z',
@@ -402,6 +402,11 @@ module.exports = oneOf({
402
402
  maximum: 4096,
403
403
  default: 100
404
404
  },
405
+ debug_logging: {
406
+ description: 'Enables debug logging for kitchen receipts',
407
+ type: 'boolean',
408
+ default: false
409
+ },
405
410
  receipts: {
406
411
  description: 'Receipt configurations per printer',
407
412
  type: 'array',
@@ -21,7 +21,8 @@ module.exports.chunks = {
21
21
  format: 'uuid'
22
22
  },
23
23
  index: {
24
- type: 'integer'
24
+ type: 'integer',
25
+ minimum: 1
25
26
  },
26
27
  isDone: {
27
28
  type: 'boolean'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tillhub/schemas",
3
- "version": "6.375.0",
3
+ "version": "6.382.0",
4
4
  "private": false,
5
5
  "description": "All Tillhub API OpenAPI 3 compatible JSON Schemas.",
6
6
  "main": "./lib/index.js",