@tillhub/schemas 6.401.0 → 6.403.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.403.0](https://github.com/tillhub/schemas/compare/v6.402.0...v6.403.0) (2025-10-09)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **settings:** adding new property - keep_unlocked: boolean ([547ab86](https://github.com/tillhub/schemas/commit/547ab86))
|
|
7
|
+
|
|
8
|
+
# [6.402.0](https://github.com/tillhub/schemas/compare/v6.401.0...v6.402.0) (2025-10-07)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* **UNTIL-15266:** add bulk fetch and bulk update request schemas ([#1085](https://github.com/tillhub/schemas/issues/1085)) ([e38ee7d](https://github.com/tillhub/schemas/commit/e38ee7d))
|
|
14
|
+
|
|
1
15
|
# [6.401.0](https://github.com/tillhub/schemas/compare/v6.400.1...v6.401.0) (2025-10-06)
|
|
2
16
|
|
|
3
17
|
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
module.exports = {
|
|
2
|
+
$id: 'https://schemas.tillhub.com/v1/configurations.bulk_fetch.request.schema.json',
|
|
3
|
+
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
4
|
+
additionalProperties: false,
|
|
5
|
+
type: 'object',
|
|
6
|
+
required: ['sections', 'owners'],
|
|
7
|
+
properties: {
|
|
8
|
+
sections: {
|
|
9
|
+
type: 'array',
|
|
10
|
+
minItems: 1,
|
|
11
|
+
items: { type: 'string', minLength: 1 }
|
|
12
|
+
},
|
|
13
|
+
owners: {
|
|
14
|
+
type: 'array',
|
|
15
|
+
minItems: 1,
|
|
16
|
+
items: { type: 'string', minLength: 1 }
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
const jsonPatch = require('../../common/patch.request')
|
|
2
|
+
|
|
3
|
+
module.exports = {
|
|
4
|
+
$id: 'https://schemas.tillhub.com/v1/configurations.bulk_update.request.schema.json',
|
|
5
|
+
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
6
|
+
additionalProperties: false,
|
|
7
|
+
type: 'object',
|
|
8
|
+
required: ['configurations'],
|
|
9
|
+
properties: {
|
|
10
|
+
configurations: {
|
|
11
|
+
type: 'array',
|
|
12
|
+
minItems: 1,
|
|
13
|
+
items: {
|
|
14
|
+
type: 'object',
|
|
15
|
+
additionalProperties: false,
|
|
16
|
+
required: ['id', 'patch'],
|
|
17
|
+
properties: {
|
|
18
|
+
id: { type: 'string' },
|
|
19
|
+
patch: jsonPatch
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -9,4 +9,12 @@ module.exports.patch = {
|
|
|
9
9
|
request: require('./patch.request')
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
+
module.exports.bulk_update = {
|
|
13
|
+
request: require('./bulk_update.request')
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
module.exports.bulk_fetch = {
|
|
17
|
+
request: require('./bulk_fetch.request')
|
|
18
|
+
}
|
|
19
|
+
|
|
12
20
|
module.exports.users = require('./users')
|
|
@@ -223,6 +223,11 @@ module.exports = {
|
|
|
223
223
|
})
|
|
224
224
|
}
|
|
225
225
|
}),
|
|
226
|
+
keep_unlocked: oneOf({
|
|
227
|
+
description: 'Keeps POS devices unlocked after cashiers enter their PIN code',
|
|
228
|
+
type: 'boolean',
|
|
229
|
+
default: false
|
|
230
|
+
}),
|
|
226
231
|
third_party: {
|
|
227
232
|
deprecated: true,
|
|
228
233
|
description: stripIndents`
|