@tillhub/schemas 6.206.0 → 6.208.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,19 @@
1
+ # [6.208.0](https://github.com/tillhub/schemas/compare/v6.207.0...v6.208.0) (2023-04-18)
2
+
3
+
4
+ ### Features
5
+
6
+ * **configurations:** tips ([15da363](https://github.com/tillhub/schemas/commit/15da363))
7
+ * **configurations:** tips ([6a85257](https://github.com/tillhub/schemas/commit/6a85257))
8
+
9
+ # [6.207.0](https://github.com/tillhub/schemas/compare/v6.206.0...v6.207.0) (2023-04-18)
10
+
11
+
12
+ ### Features
13
+
14
+ * **configurations:** features ([ab81b11](https://github.com/tillhub/schemas/commit/ab81b11))
15
+ * **configurations:** gastro ([58f7fc6](https://github.com/tillhub/schemas/commit/58f7fc6))
16
+
1
17
  # [6.206.0](https://github.com/tillhub/schemas/compare/v6.205.0...v6.206.0) (2023-04-14)
2
18
 
3
19
 
@@ -98,6 +98,17 @@ module.exports = oneOf({
98
98
  }
99
99
  }
100
100
  }),
101
+ wallets: oneOf({
102
+ type: 'object',
103
+ additionalProperties: false,
104
+ properties: {
105
+ enabled: {
106
+ description: 'Specifies if the wallets feature is available.',
107
+ type: 'boolean',
108
+ default: false
109
+ }
110
+ }
111
+ }),
101
112
  web_view: oneOf({
102
113
  description: 'Web view with js-interaction to iOS. Introduced by Regiondo project. Can not be used with Gastro.',
103
114
  type: 'object',
@@ -11,11 +11,8 @@ const tipsCartItemTemplate = {
11
11
  example: '43847a66-97dc-4ac2-8e8a-c44920e1f22f'
12
12
  },
13
13
  product_name: {
14
- default: null,
15
- ...oneOf({
16
- type: 'string',
17
- description: 'Name of the product, e.g. Shop-owner\'s Tip.'
18
- })
14
+ type: 'string',
15
+ description: 'Name of the product, e.g. Shop-owner\'s Tip.'
19
16
  },
20
17
  product_number: {
21
18
  default: null,
@@ -54,10 +51,13 @@ const tipsCartItemTemplate = {
54
51
  example: 'a3847a66-97dc-4ac2-8e8a-c44920e1f22f'
55
52
  },
56
53
  tax: {
57
- type: 'string',
58
- format: 'uuid',
59
- description: 'The Tillhub tax resource reference ID.',
60
- example: '33847a66-97dc-4ac2-8e8a-c44920e1f22f'
54
+ default: null,
55
+ ...oneOf({
56
+ type: 'string',
57
+ format: 'uuid',
58
+ description: 'The Tillhub tax resource reference ID. If NULL, the source items are used to define tax rates',
59
+ example: '33847a66-97dc-4ac2-8e8a-c44920e1f22f'
60
+ })
61
61
  }
62
62
  }
63
63
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tillhub/schemas",
3
- "version": "6.206.0",
3
+ "version": "6.208.0",
4
4
  "private": false,
5
5
  "description": "All Tillhub API OpenAPI 3 compatible JSON Schemas.",
6
6
  "main": "./lib/index.js",