@tillhub/schemas 6.307.0 → 6.308.1

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.308.1](https://github.com/tillhub/schemas/compare/v6.308.0...v6.308.1) (2024-05-14)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **vouchers:** added missing filter ([84ed910](https://github.com/tillhub/schemas/commit/84ed910))
7
+
8
+ # [6.308.0](https://github.com/tillhub/schemas/compare/v6.307.0...v6.308.0) (2024-05-14)
9
+
10
+
11
+ ### Features
12
+
13
+ * **shift_plan:** add array for deleted shifts ([#952](https://github.com/tillhub/schemas/issues/952)) ([34a480f](https://github.com/tillhub/schemas/commit/34a480f))
14
+
1
15
  # [6.307.0](https://github.com/tillhub/schemas/compare/v6.306.7...v6.307.0) (2024-05-13)
2
16
 
3
17
 
@@ -1,3 +1,5 @@
1
+ const { oneOf } = require('../../helpers/payload-or-null')
2
+
1
3
  module.exports = {
2
4
  shifts: {
3
5
  type: 'array',
@@ -43,5 +45,13 @@ module.exports = {
43
45
  }
44
46
  }
45
47
  }
46
- }
48
+ },
49
+ deleted: oneOf({
50
+ type: 'array',
51
+ minItems: 1,
52
+ items: {
53
+ type: 'string',
54
+ format: 'uuid'
55
+ }
56
+ })
47
57
  }
@@ -40,6 +40,13 @@ module.exports = {
40
40
  'false'
41
41
  ]
42
42
  },
43
+ restriction_single_transaction: {
44
+ type: 'string',
45
+ enum: [
46
+ 'true',
47
+ 'false'
48
+ ]
49
+ },
43
50
  partial_redemption: {
44
51
  type: 'string',
45
52
  enum: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tillhub/schemas",
3
- "version": "6.307.0",
3
+ "version": "6.308.1",
4
4
  "private": false,
5
5
  "description": "All Tillhub API OpenAPI 3 compatible JSON Schemas.",
6
6
  "main": "./lib/index.js",