@tillhub/schemas 6.278.1 → 6.279.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,15 @@
|
|
|
1
|
+
# [6.279.0](https://github.com/tillhub/schemas/compare/v6.278.1...v6.279.0) (2024-01-08)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **functions:** decimal quantity fix ([dfab14d](https://github.com/tillhub/schemas/commit/dfab14d))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **configurations:** payments ([0b52e3f](https://github.com/tillhub/schemas/commit/0b52e3f))
|
|
12
|
+
|
|
1
13
|
## [6.278.1](https://github.com/tillhub/schemas/compare/v6.278.0...v6.278.1) (2023-12-20)
|
|
2
14
|
|
|
3
15
|
|
package/lib/v0/functions/base.js
CHANGED
|
@@ -18,7 +18,7 @@ module.exports = {
|
|
|
18
18
|
default: 'never'
|
|
19
19
|
}),
|
|
20
20
|
blacklisted_payment_types: oneOf({
|
|
21
|
-
description: 'Hides the payment options that match the blacklisted
|
|
21
|
+
description: 'Hides the payment options that match the blacklisted types from payment screen',
|
|
22
22
|
type: 'array',
|
|
23
23
|
items: {
|
|
24
24
|
type: 'string',
|
|
@@ -31,6 +31,14 @@ module.exports = {
|
|
|
31
31
|
]
|
|
32
32
|
}
|
|
33
33
|
}),
|
|
34
|
+
blacklisted_payment_options: oneOf({
|
|
35
|
+
description: 'Hides the payment options that match the blacklisted uuids from payment screen',
|
|
36
|
+
type: 'array',
|
|
37
|
+
items: {
|
|
38
|
+
type: 'string',
|
|
39
|
+
format: 'uuid'
|
|
40
|
+
}
|
|
41
|
+
}),
|
|
34
42
|
allow_refund_split: oneOf({
|
|
35
43
|
description: 'If true, allows multiple payments on negative cart totals, e.g. undefined + cash (e.g. health insurance case).',
|
|
36
44
|
default: false,
|
|
@@ -298,7 +298,8 @@ module.exports = {
|
|
|
298
298
|
{
|
|
299
299
|
type: 'integer',
|
|
300
300
|
minimum: 1,
|
|
301
|
-
maximum: 1000
|
|
301
|
+
maximum: 1000,
|
|
302
|
+
default: 100
|
|
302
303
|
},
|
|
303
304
|
{
|
|
304
305
|
type: 'null'
|
|
@@ -306,6 +307,9 @@ module.exports = {
|
|
|
306
307
|
]
|
|
307
308
|
},
|
|
308
309
|
active: {
|
|
310
|
+
// not yet supported on POS, always on
|
|
311
|
+
description: 'If true, products will be downloaded to the POS',
|
|
312
|
+
default: true,
|
|
309
313
|
type: 'boolean'
|
|
310
314
|
}
|
|
311
315
|
}
|
|
@@ -320,7 +324,8 @@ module.exports = {
|
|
|
320
324
|
{
|
|
321
325
|
type: 'integer',
|
|
322
326
|
minimum: 1,
|
|
323
|
-
maximum: 1000
|
|
327
|
+
maximum: 1000,
|
|
328
|
+
default: 200
|
|
324
329
|
},
|
|
325
330
|
{
|
|
326
331
|
type: 'null'
|
|
@@ -328,6 +333,9 @@ module.exports = {
|
|
|
328
333
|
]
|
|
329
334
|
},
|
|
330
335
|
active: {
|
|
336
|
+
// supported on POS, FALSE for e.g. KHG, TRUE by default
|
|
337
|
+
description: 'If true, products will be downloaded to the POS',
|
|
338
|
+
default: true,
|
|
331
339
|
type: 'boolean'
|
|
332
340
|
}
|
|
333
341
|
}
|
|
@@ -342,7 +350,8 @@ module.exports = {
|
|
|
342
350
|
{
|
|
343
351
|
type: 'integer',
|
|
344
352
|
minimum: 1,
|
|
345
|
-
maximum: 1000
|
|
353
|
+
maximum: 1000,
|
|
354
|
+
default: 250
|
|
346
355
|
},
|
|
347
356
|
{
|
|
348
357
|
type: 'null'
|
|
@@ -350,6 +359,9 @@ module.exports = {
|
|
|
350
359
|
]
|
|
351
360
|
},
|
|
352
361
|
active: {
|
|
362
|
+
// not yet supported on POS, always TRUE
|
|
363
|
+
description: 'If true, staffs will be downloaded to the POS',
|
|
364
|
+
default: true,
|
|
353
365
|
type: 'boolean'
|
|
354
366
|
}
|
|
355
367
|
}
|
|
@@ -362,9 +374,11 @@ module.exports = {
|
|
|
362
374
|
description: 'Initial page size for syncing with GET all calls. In-app default is 500. Set this if you run into timeouts.',
|
|
363
375
|
oneOf: [
|
|
364
376
|
{
|
|
377
|
+
// not yet supported on POS
|
|
365
378
|
type: 'integer',
|
|
366
379
|
minimum: 1,
|
|
367
|
-
maximum: 500
|
|
380
|
+
maximum: 500,
|
|
381
|
+
default: 500
|
|
368
382
|
},
|
|
369
383
|
{
|
|
370
384
|
type: 'null'
|
|
@@ -372,6 +386,8 @@ module.exports = {
|
|
|
372
386
|
]
|
|
373
387
|
},
|
|
374
388
|
active: {
|
|
389
|
+
// not yet supported on POS, always TRUE
|
|
390
|
+
description: 'If true, favourites will be downloaded to the POS',
|
|
375
391
|
default: true,
|
|
376
392
|
type: 'boolean'
|
|
377
393
|
},
|
|
@@ -409,7 +425,8 @@ module.exports = {
|
|
|
409
425
|
{
|
|
410
426
|
type: 'integer',
|
|
411
427
|
minimum: 1,
|
|
412
|
-
maximum: 1000
|
|
428
|
+
maximum: 1000,
|
|
429
|
+
default: 100
|
|
413
430
|
},
|
|
414
431
|
{
|
|
415
432
|
type: 'null'
|
|
@@ -417,6 +434,9 @@ module.exports = {
|
|
|
417
434
|
]
|
|
418
435
|
},
|
|
419
436
|
active: {
|
|
437
|
+
// not yet supported on POS, always TRUE
|
|
438
|
+
description: 'If true, transactions will be downloaded to the POS',
|
|
439
|
+
default: true,
|
|
420
440
|
type: 'boolean'
|
|
421
441
|
}
|
|
422
442
|
}
|
|
@@ -450,7 +470,8 @@ module.exports = {
|
|
|
450
470
|
{
|
|
451
471
|
type: 'integer',
|
|
452
472
|
minimum: 1,
|
|
453
|
-
maximum: 1000
|
|
473
|
+
maximum: 1000,
|
|
474
|
+
default: 50 // can be quite big and slow down parsers
|
|
454
475
|
},
|
|
455
476
|
{
|
|
456
477
|
type: 'null'
|
|
@@ -458,6 +479,9 @@ module.exports = {
|
|
|
458
479
|
]
|
|
459
480
|
},
|
|
460
481
|
active: {
|
|
482
|
+
// not yet supported on POS, always TRUE
|
|
483
|
+
description: 'If true, balances will be downloaded to the POS',
|
|
484
|
+
default: true,
|
|
461
485
|
type: 'boolean'
|
|
462
486
|
}
|
|
463
487
|
}
|