@tillhub/schemas 6.233.0 → 6.234.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 +13 -0
- package/lib/v0/reasons/base.js +3 -1
- package/lib/v1/configurations/items/staff.js +22 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
# [6.234.0](https://github.com/tillhub/schemas/compare/v6.233.0...v6.234.0) (2023-07-20)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **pull_request:** append unsaved changes ([ccba782](https://github.com/tillhub/schemas/commit/ccba782))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **configurations:** staff ([c34faf7](https://github.com/tillhub/schemas/commit/c34faf7))
|
|
12
|
+
* **reasons:** type ([556f700](https://github.com/tillhub/schemas/commit/556f700))
|
|
13
|
+
|
|
1
14
|
# [6.233.0](https://github.com/tillhub/schemas/compare/v6.232.0...v6.233.0) (2023-07-20)
|
|
2
15
|
|
|
3
16
|
|
package/lib/v0/reasons/base.js
CHANGED
|
@@ -83,6 +83,28 @@ module.exports = {
|
|
|
83
83
|
'default': false
|
|
84
84
|
})
|
|
85
85
|
},
|
|
86
|
+
short_code_length: oneOf({
|
|
87
|
+
type: 'object',
|
|
88
|
+
additionalProperties: false,
|
|
89
|
+
properties: {
|
|
90
|
+
min: oneOf({
|
|
91
|
+
type: 'integer',
|
|
92
|
+
description: 'Minimum number of digits for a staff short_code (falsely referred to as pin most of the time).',
|
|
93
|
+
minimum: 1,
|
|
94
|
+
maximum: 10,
|
|
95
|
+
example: 4,
|
|
96
|
+
default: 4
|
|
97
|
+
}),
|
|
98
|
+
max: oneOf({
|
|
99
|
+
type: 'integer',
|
|
100
|
+
description: 'Maximum number of digits for a staff short_code (falsely referred to as pin most of the time).',
|
|
101
|
+
minimum: 4,
|
|
102
|
+
maximum: 16,
|
|
103
|
+
example: 6,
|
|
104
|
+
default: 6
|
|
105
|
+
})
|
|
106
|
+
}
|
|
107
|
+
}),
|
|
86
108
|
staff_number_length: {
|
|
87
109
|
// deprecated
|
|
88
110
|
'description': 'If the API defines a specific length for a staff number it can be reported here.',
|