@tillhub/schemas 6.243.0 → 6.245.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.245.0](https://github.com/tillhub/schemas/compare/v6.244.0...v6.245.0) (2023-08-09)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **configurations:** staff ([d4226a8](https://github.com/tillhub/schemas/commit/d4226a8))
|
|
7
|
+
|
|
8
|
+
# [6.244.0](https://github.com/tillhub/schemas/compare/v6.243.0...v6.244.0) (2023-08-08)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* **configurations:** warehub ([0bc99e7](https://github.com/tillhub/schemas/commit/0bc99e7))
|
|
14
|
+
|
|
1
15
|
# [6.243.0](https://github.com/tillhub/schemas/compare/v6.242.1...v6.243.0) (2023-08-07)
|
|
2
16
|
|
|
3
17
|
|
|
@@ -371,16 +371,7 @@ module.exports = {
|
|
|
371
371
|
format: 'date-time',
|
|
372
372
|
example: '2019-03-17T21:12:04.849Z'
|
|
373
373
|
},
|
|
374
|
-
warehub:
|
|
375
|
-
oneOf: [
|
|
376
|
-
{
|
|
377
|
-
type: 'null'
|
|
378
|
-
},
|
|
379
|
-
{
|
|
380
|
-
type: 'object'
|
|
381
|
-
}
|
|
382
|
-
]
|
|
383
|
-
},
|
|
374
|
+
warehub: require('./items/warehub'),
|
|
384
375
|
tenant: require('./items/tenant'),
|
|
385
376
|
onboarding: require('./items/onboarding')
|
|
386
377
|
}
|
|
@@ -311,7 +311,7 @@ const balanceReceipt = {
|
|
|
311
311
|
default: true
|
|
312
312
|
}),
|
|
313
313
|
print_extended_stats: oneOf({
|
|
314
|
-
description: 'Defines if the extended balance stats will be printed.',
|
|
314
|
+
description: 'Defines if the extended balance stats will be printed. Requires configurations.balances.extended_report and related data.',
|
|
315
315
|
type: 'boolean',
|
|
316
316
|
default: true
|
|
317
317
|
}),
|
|
@@ -54,7 +54,8 @@ module.exports = {
|
|
|
54
54
|
'after',
|
|
55
55
|
'before',
|
|
56
56
|
'none'
|
|
57
|
-
]
|
|
57
|
+
],
|
|
58
|
+
default: 'none'
|
|
58
59
|
})
|
|
59
60
|
},
|
|
60
61
|
cashier_pin_policy: {
|
|
@@ -66,7 +67,8 @@ module.exports = {
|
|
|
66
67
|
'none',
|
|
67
68
|
'after',
|
|
68
69
|
'before'
|
|
69
|
-
]
|
|
70
|
+
],
|
|
71
|
+
default: 'none'
|
|
70
72
|
})
|
|
71
73
|
},
|
|
72
74
|
show_staff_number: {
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
const { oneOf } = require('../../../helpers/payload-or-null')
|
|
2
|
+
|
|
3
|
+
module.exports = oneOf({
|
|
4
|
+
type: 'object',
|
|
5
|
+
properties: {
|
|
6
|
+
product_match_required: oneOf({
|
|
7
|
+
description: 'If true - allow only barcodes that match an existing product.',
|
|
8
|
+
type: 'boolean',
|
|
9
|
+
default: false
|
|
10
|
+
})
|
|
11
|
+
}
|
|
12
|
+
})
|