@tillhub/schemas 6.173.0 → 6.174.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.174.0](https://github.com/tillhub/schemas/compare/v6.173.0...v6.174.0) (2022-11-21)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **payments:** blacklisted_payment_types configuration ([6ab0762](https://github.com/tillhub/schemas/commit/6ab0762))
|
|
7
|
+
* **payments:** payments black list ([3e896be](https://github.com/tillhub/schemas/commit/3e896be))
|
|
8
|
+
|
|
1
9
|
# [6.173.0](https://github.com/tillhub/schemas/compare/v6.172.0...v6.173.0) (2022-11-21)
|
|
2
10
|
|
|
3
11
|
|
|
@@ -17,6 +17,20 @@ module.exports = {
|
|
|
17
17
|
],
|
|
18
18
|
default: 'never'
|
|
19
19
|
}),
|
|
20
|
+
blacklisted_payment_types: oneOf({
|
|
21
|
+
description: 'Hides the payment options that match the blacklisted type from payment screen',
|
|
22
|
+
type: 'array',
|
|
23
|
+
items: {
|
|
24
|
+
type: 'string',
|
|
25
|
+
enum: [
|
|
26
|
+
'cash',
|
|
27
|
+
'card',
|
|
28
|
+
'invoice',
|
|
29
|
+
'gift_card',
|
|
30
|
+
'terminal_gift_card'
|
|
31
|
+
]
|
|
32
|
+
}
|
|
33
|
+
}),
|
|
20
34
|
allow_refund_split: oneOf({
|
|
21
35
|
description: 'If true, allows multiple payments on negative cart totals, e.g. undefined + cash (e.g. health insurance case).',
|
|
22
36
|
default: false,
|