@tillhub/schemas 6.364.0 → 6.366.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,17 @@
1
+ # [6.366.0](https://github.com/tillhub/schemas/compare/v6.365.0...v6.366.0) (2025-03-01)
2
+
3
+
4
+ ### Features
5
+
6
+ * **carts:** items ([67be002](https://github.com/tillhub/schemas/commit/67be002))
7
+
8
+ # [6.365.0](https://github.com/tillhub/schemas/compare/v6.364.0...v6.365.0) (2025-02-28)
9
+
10
+
11
+ ### Features
12
+
13
+ * **client_accounts:** features ([10f0de5](https://github.com/tillhub/schemas/commit/10f0de5))
14
+
1
15
  # [6.364.0](https://github.com/tillhub/schemas/compare/v6.363.0...v6.364.0) (2025-02-28)
2
16
 
3
17
 
@@ -63,6 +63,11 @@ module.exports = {
63
63
  type: 'boolean',
64
64
  default: false
65
65
  },
66
+ floor_layouts: {
67
+ description: 'enables visual table layouts instead of just a grid on the POS - depends on gastro_tables',
68
+ type: 'boolean',
69
+ default: false
70
+ },
66
71
  takeaway: {
67
72
  type: 'boolean',
68
73
  default: false
@@ -695,7 +695,37 @@ const internalCartBase = {
695
695
  ...anyOf({
696
696
  type: 'object'
697
697
  })
698
- }
698
+ },
699
+ configuration: oneOf({
700
+ type: 'object',
701
+ description: 'Item property changes triggered by a user decision.',
702
+ properties: {
703
+ tax_switched: oneOf({
704
+ type: 'boolean'
705
+ }),
706
+ action: oneOf({
707
+ type: 'object',
708
+ properties: {
709
+ tax: oneOf({
710
+ type: 'string',
711
+ format: 'uuid'
712
+ }),
713
+ default: oneOf({
714
+ type: 'boolean'
715
+ }),
716
+ name: oneOf({
717
+ type: 'string'
718
+ })
719
+ }
720
+ }),
721
+ link_id: oneOf({
722
+ type: 'string',
723
+ format: 'uuid',
724
+ description: 'Inheritable/copyable identifier in context of order incarnations until a transaction',
725
+ example: 'a5380b42-6025-49de-bb1d-c9357df96506'
726
+ })
727
+ }
728
+ })
699
729
  }
700
730
 
701
731
  module.exports = {
@@ -738,6 +738,12 @@ module.exports = {
738
738
  type: 'string'
739
739
  })
740
740
  }
741
+ }),
742
+ link_id: oneOf({
743
+ type: 'string',
744
+ format: 'uuid',
745
+ description: 'Inheritable/copyable identifier in context of order incarnations until a transaction',
746
+ example: 'a5380b42-6025-49de-bb1d-c9357df96506'
741
747
  })
742
748
  }
743
749
  }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tillhub/schemas",
3
- "version": "6.364.0",
3
+ "version": "6.366.0",
4
4
  "private": false,
5
5
  "description": "All Tillhub API OpenAPI 3 compatible JSON Schemas.",
6
6
  "main": "./lib/index.js",