@tillhub/schemas 6.261.0 → 6.263.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.263.0](https://github.com/tillhub/schemas/compare/v6.262.0...v6.263.0) (2023-09-21)
2
+
3
+
4
+ ### Features
5
+
6
+ * **staffs:** staff members have color that shows in reservation calendar around timeslot that they ([9149137](https://github.com/tillhub/schemas/commit/9149137))
7
+
8
+ # [6.262.0](https://github.com/tillhub/schemas/compare/v6.261.0...v6.262.0) (2023-09-20)
9
+
10
+
11
+ ### Features
12
+
13
+ * **terminalId:** terminalId has been added ([#871](https://github.com/tillhub/schemas/issues/871)) ([723ff75](https://github.com/tillhub/schemas/commit/723ff75))
14
+
1
15
  # [6.261.0](https://github.com/tillhub/schemas/compare/v6.260.1...v6.261.0) (2023-09-20)
2
16
 
3
17
 
@@ -505,6 +505,19 @@ module.exports = {
505
505
  }
506
506
  ]
507
507
  },
508
+ calendar_color: {
509
+ description: 'A color to be used in the calendar for this staff member.',
510
+ oneOf: [
511
+ {
512
+ type: 'string',
513
+ maxLength: 7,
514
+ minLength: 7
515
+ },
516
+ {
517
+ type: 'null'
518
+ }
519
+ ]
520
+ },
508
521
  individual_reservation_times: {
509
522
  description: 'Whether or not this staff member is having custom work hours.',
510
523
  type: 'boolean'
@@ -69,7 +69,8 @@ module.exports = {
69
69
  terminal_id: oneOf({
70
70
  description: 'Identification for the payment terminal Id',
71
71
  type: 'string',
72
- format: 'string'
72
+ maxLength: 255,
73
+ minLength: 1
73
74
  }),
74
75
  urls: oneOf({
75
76
  type: 'array',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tillhub/schemas",
3
- "version": "6.261.0",
3
+ "version": "6.263.0",
4
4
  "private": false,
5
5
  "description": "All Tillhub API OpenAPI 3 compatible JSON Schemas.",
6
6
  "main": "./lib/index.js",