@tillhub/schemas 6.194.0 → 6.196.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.196.0](https://github.com/tillhub/schemas/compare/v6.195.0...v6.196.0) (2023-03-01)
2
+
3
+
4
+ ### Features
5
+
6
+ * **configurations:** interfaces ([4eff50d](https://github.com/tillhub/schemas/commit/4eff50d))
7
+
8
+ # [6.195.0](https://github.com/tillhub/schemas/compare/v6.194.0...v6.195.0) (2023-02-21)
9
+
10
+
11
+ ### Features
12
+
13
+ * **common:** permissions ([ddb074d](https://github.com/tillhub/schemas/commit/ddb074d))
14
+
1
15
  # [6.194.0](https://github.com/tillhub/schemas/compare/v6.193.0...v6.194.0) (2023-02-20)
2
16
 
3
17
 
@@ -131,7 +131,9 @@ module.exports.staff = {
131
131
  'staff:staff:processes:all_staff',
132
132
  'staff:staff:processes:all_locations',
133
133
  'staff:staff:orders:others:locked:modify', // allows modifying other staffs' orders (gastro)
134
- 'staff:staff:orders:preview:print' // allows printing previews for unpaid orders (gastro)
134
+ 'staff:staff:orders:preview:print', // allows printing previews for unpaid orders (gastro)
135
+ 'staff:staff:cart:clear', // Can clear the current cart
136
+ 'staff:staff:cart:clear:row' // Can remove items from the cart
135
137
  ]
136
138
  }
137
139
  }
@@ -153,6 +153,14 @@ module.exports = {
153
153
  maximum: 10.0,
154
154
  multipleOf: 0.001,
155
155
  default: 1.0 // defaults to 3.0 if Swiss
156
+ }),
157
+ language_code: oneOf({
158
+ type: 'string',
159
+ description: 'Language code send in card service requests. ISO 639-1:2002.',
160
+ example: 'de',
161
+ minLength: 2,
162
+ maxLength: 2,
163
+ default: null // fallback is defined by the current POS language
156
164
  })
157
165
  }
158
166
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tillhub/schemas",
3
- "version": "6.194.0",
3
+ "version": "6.196.0",
4
4
  "private": false,
5
5
  "description": "All Tillhub API OpenAPI 3 compatible JSON Schemas.",
6
6
  "main": "./lib/index.js",