@tillhub/schemas 6.223.0 → 6.225.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 +15 -0
- package/lib/v0/staff/base.js +5 -0
- package/lib/v1/configurations/items/features.js +25 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
# [6.225.0](https://github.com/tillhub/schemas/compare/v6.224.0...v6.225.0) (2023-06-21)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **configuration:** custom endpoint printing feature configuration ([14134dd](https://github.com/tillhub/schemas/commit/14134dd))
|
|
7
|
+
|
|
8
|
+
# [6.224.0](https://github.com/tillhub/schemas/compare/v6.223.0...v6.224.0) (2023-06-20)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* **staff:** added description to field owner ([85bdf1f](https://github.com/tillhub/schemas/commit/85bdf1f))
|
|
14
|
+
* **staff:** added staff type to requests ([3162e9d](https://github.com/tillhub/schemas/commit/3162e9d))
|
|
15
|
+
|
|
1
16
|
# [6.223.0](https://github.com/tillhub/schemas/compare/v6.222.0...v6.223.0) (2023-06-19)
|
|
2
17
|
|
|
3
18
|
|
package/lib/v0/staff/base.js
CHANGED
|
@@ -488,6 +488,11 @@ module.exports = {
|
|
|
488
488
|
default: {
|
|
489
489
|
type: 'boolean'
|
|
490
490
|
},
|
|
491
|
+
owner: {
|
|
492
|
+
description: 'Defines if this staff is considered to be an owner of the business and thus might be taxed differently for tips.',
|
|
493
|
+
type: 'boolean',
|
|
494
|
+
default: false
|
|
495
|
+
},
|
|
491
496
|
external_reference_id: {
|
|
492
497
|
description: 'A caller defined custom ID for the purpose of syncing from external resources, or to use in analytics.',
|
|
493
498
|
oneOf: [
|
|
@@ -87,6 +87,31 @@ module.exports = oneOf({
|
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
89
|
}),
|
|
90
|
+
custom_endpoint_printing: oneOf({
|
|
91
|
+
description: 'Custom endpoint printing from cart menu',
|
|
92
|
+
type: 'object',
|
|
93
|
+
additionalProperties: false,
|
|
94
|
+
properties: {
|
|
95
|
+
enabled: {
|
|
96
|
+
description: 'Specifies if the feature is available.',
|
|
97
|
+
type: 'boolean',
|
|
98
|
+
default: false
|
|
99
|
+
},
|
|
100
|
+
url: {
|
|
101
|
+
description: 'The URL of the endpoint',
|
|
102
|
+
type: 'string',
|
|
103
|
+
format: 'uri'
|
|
104
|
+
},
|
|
105
|
+
token: {
|
|
106
|
+
description: 'Authorization bearer token',
|
|
107
|
+
type: 'string'
|
|
108
|
+
},
|
|
109
|
+
name: {
|
|
110
|
+
description: 'Display name of the action',
|
|
111
|
+
type: 'string'
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}),
|
|
90
115
|
gastro_tables: oneOf({
|
|
91
116
|
type: 'object',
|
|
92
117
|
additionalProperties: false,
|