@tillhub/schemas 6.438.0 → 6.440.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.440.0](https://github.com/tillhub/schemas/compare/v6.439.0...v6.440.0) (2026-05-22)
2
+
3
+
4
+ ### Features
5
+
6
+ * **UNTIL-20265:** add is_reservations_service field to create and update request schemas ([#1154](https://github.com/tillhub/schemas/issues/1154)) ([3a6384c](https://github.com/tillhub/schemas/commit/3a6384c))
7
+
8
+ # [6.439.0](https://github.com/tillhub/schemas/compare/v6.438.0...v6.439.0) (2026-05-19)
9
+
10
+
11
+ ### Features
12
+
13
+ * **UNTIL-20265:** add bookable_online field to create and update request schemas ([#1152](https://github.com/tillhub/schemas/issues/1152)) ([f8eb4fa](https://github.com/tillhub/schemas/commit/f8eb4fa))
14
+
1
15
  # [6.438.0](https://github.com/tillhub/schemas/compare/v6.437.0...v6.438.0) (2026-05-12)
2
16
 
3
17
 
@@ -36,7 +36,16 @@ module.exports = {
36
36
  type: 'string',
37
37
  format: 'uuid'
38
38
  }
39
- })
39
+ }),
40
+ is_reservations_service: {
41
+ description: 'Whether this row is a reservation service. Defaults to true.',
42
+ type: 'boolean',
43
+ default: true
44
+ },
45
+ bookable_online: oneOf({
46
+ description: 'Whether this reservation service can be booked online. Only allowed when is_reservations_service is true. defaults to true and must not be false for reservation services.',
47
+ type: 'boolean'
48
+ }, { default: true })
40
49
  },
41
50
  required: ['name', 'duration', 'linked_product'],
42
51
  $id: 'https://schemas.tillhub.com/v0/services.create.request.schema.json',
@@ -36,6 +36,14 @@ module.exports = {
36
36
  type: 'string',
37
37
  format: 'uuid'
38
38
  }
39
+ }),
40
+ is_reservations_service: {
41
+ description: 'Whether this row is a reservation service.',
42
+ type: 'boolean'
43
+ },
44
+ bookable_online: oneOf({
45
+ description: 'Whether this reservation service can be booked online. Only allowed when is_reservations_service is true and must not be false for reservation services.',
46
+ type: 'boolean'
39
47
  })
40
48
  },
41
49
  required: [],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tillhub/schemas",
3
- "version": "6.438.0",
3
+ "version": "6.440.0",
4
4
  "private": false,
5
5
  "description": "All Tillhub API OpenAPI 3 compatible JSON Schemas.",
6
6
  "main": "./lib/index.js",