@tillhub/schemas 6.240.1 → 6.241.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,11 @@
|
|
|
1
|
+
# [6.241.0](https://github.com/tillhub/schemas/compare/v6.240.1...v6.241.0) (2023-08-04)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **configurations:** features ([e642ef1](https://github.com/tillhub/schemas/commit/e642ef1))
|
|
7
|
+
* **configurations:** receipts ([4be436d](https://github.com/tillhub/schemas/commit/4be436d))
|
|
8
|
+
|
|
1
9
|
## [6.240.1](https://github.com/tillhub/schemas/compare/v6.240.0...v6.240.1) (2023-08-03)
|
|
2
10
|
|
|
3
11
|
|
|
@@ -299,6 +299,45 @@ const balanceReceipt = {
|
|
|
299
299
|
}
|
|
300
300
|
}
|
|
301
301
|
|
|
302
|
+
const stockAdjustmentReceipt = {
|
|
303
|
+
type: 'object',
|
|
304
|
+
description: 'Defines receipt printing for stock adjustments',
|
|
305
|
+
additionalProperties: false,
|
|
306
|
+
properties: {
|
|
307
|
+
print_cashier_policy: oneOf({
|
|
308
|
+
description: 'Defines if and how the cashier will be printed on the receipt.',
|
|
309
|
+
type: 'string',
|
|
310
|
+
enum: [
|
|
311
|
+
'number',
|
|
312
|
+
'name', // legacy, will indicate full name printing
|
|
313
|
+
'none',
|
|
314
|
+
'first_name', // first name only
|
|
315
|
+
'last_name' // last name only
|
|
316
|
+
]
|
|
317
|
+
}),
|
|
318
|
+
print_product_description: oneOf({
|
|
319
|
+
description: 'Defines if the product description will be printed (e.g. just for the customer)',
|
|
320
|
+
type: 'boolean',
|
|
321
|
+
default: false
|
|
322
|
+
}),
|
|
323
|
+
print_product_group: oneOf({
|
|
324
|
+
description: 'Defines if the product group will be printed (e.g. just for the merchant)',
|
|
325
|
+
type: 'boolean',
|
|
326
|
+
default: false
|
|
327
|
+
}),
|
|
328
|
+
print_product_number: oneOf({
|
|
329
|
+
description: 'Defines if the product number (in case of options) will be printed (e.g. just for the merchant)',
|
|
330
|
+
type: 'boolean',
|
|
331
|
+
default: true
|
|
332
|
+
}),
|
|
333
|
+
print_product_name: oneOf({
|
|
334
|
+
description: 'Defines if the product name (in case of options) will be printed (e.g. just for the merchant)',
|
|
335
|
+
type: 'boolean',
|
|
336
|
+
default: true
|
|
337
|
+
})
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
|
|
302
341
|
const voucherReceipt = {
|
|
303
342
|
type: 'object',
|
|
304
343
|
description: 'Defines receipt printing for vouchers',
|
|
@@ -542,6 +581,11 @@ module.exports = oneOf({
|
|
|
542
581
|
type: 'object',
|
|
543
582
|
...balanceReceipt
|
|
544
583
|
},
|
|
584
|
+
stock_adjustment: {
|
|
585
|
+
description: 'Defines stock adjustment receipt printing',
|
|
586
|
+
type: 'object',
|
|
587
|
+
...stockAdjustmentReceipt
|
|
588
|
+
},
|
|
545
589
|
register_opening_protocol: {
|
|
546
590
|
description: 'Defines register opening protocol receipt printing',
|
|
547
591
|
type: 'object',
|