@tillhub/schemas 6.112.1 → 6.113.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,11 @@
1
+ # [6.113.0](https://github.com/tillhub/schemas/compare/v6.112.1...v6.113.0) (2022-01-20)
2
+
3
+
4
+ ### Features
5
+
6
+ * **configurations:** features ([6cd1289](https://github.com/tillhub/schemas/commit/6cd1289))
7
+ * **configurations:** features ([139876d](https://github.com/tillhub/schemas/commit/139876d))
8
+
1
9
  ## [6.112.1](https://github.com/tillhub/schemas/compare/v6.112.0...v6.112.1) (2022-01-13)
2
10
 
3
11
 
@@ -92,11 +92,35 @@ module.exports = oneOf({
92
92
  additionalProperties: false,
93
93
  properties: {
94
94
  enabled: {
95
- description: 'Specifies if gastro tables feature is available.',
95
+ description: 'Specifies if gastro tables feature is available - mutually exclusive with \'web_view\'.',
96
96
  type: 'boolean',
97
97
  default: false
98
98
  }
99
99
  }
100
+ }),
101
+ web_view: oneOf({
102
+ description: 'Web view with js-interaction to iOS. Introduced by Regiondo project. Can not be used with Gastro.',
103
+ type: 'object',
104
+ additionalProperties: false,
105
+ properties: {
106
+ enabled: {
107
+ description: 'Specifies if a web view is shown in the main sale view - mutually exclusive with \'gastro_tables\'.',
108
+ type: 'boolean',
109
+ default: false
110
+ },
111
+ url: {
112
+ description: 'The URL of the web view',
113
+ type: 'string',
114
+ format: 'uri'
115
+ },
116
+ name: {
117
+ description: 'Display name of the web view tab in the POS',
118
+ type: 'string',
119
+ example: 'Regiondo',
120
+ minLength: 2,
121
+ maxLength: 24
122
+ }
123
+ }
100
124
  })
101
125
  }
102
126
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tillhub/schemas",
3
- "version": "6.112.1",
3
+ "version": "6.113.0",
4
4
  "private": false,
5
5
  "description": "All Tillhub API OpenAPI 3 compatible JSON Schemas.",
6
6
  "main": "./lib/index.js",