@tillhub/schemas 6.412.0 → 6.414.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,18 @@
1
+ # [6.414.0](https://github.com/tillhub/schemas/compare/v6.413.0...v6.414.0) (2025-11-28)
2
+
3
+
4
+ ### Features
5
+
6
+ * **payment_options:** types ([58e97fd](https://github.com/tillhub/schemas/commit/58e97fd))
7
+
8
+ # [6.413.0](https://github.com/tillhub/schemas/compare/v6.412.0...v6.413.0) (2025-11-25)
9
+
10
+
11
+ ### Features
12
+
13
+ * **UNTIL-17786:** argument is necessary ([#1098](https://github.com/tillhub/schemas/issues/1098)) ([83bd793](https://github.com/tillhub/schemas/commit/83bd793))
14
+ * **UNTIL-17786:** Extend reservation configuration logo with stored image schema ([678b01a](https://github.com/tillhub/schemas/commit/678b01a))
15
+
1
16
  # [6.412.0](https://github.com/tillhub/schemas/compare/v6.411.0...v6.412.0) (2025-11-12)
2
17
 
3
18
 
@@ -22,7 +22,9 @@ module.exports = {
22
22
  'undefined',
23
23
  'voucher',
24
24
  'sumup',
25
- 'buy_now_pay_later' // Unzer: Buy-Now-Pay-Later
25
+ 'buy_now_pay_later', // Unzer: Buy-Now-Pay-Later
26
+ 'unzer_installment', // Unzer: TH LinkPay installments
27
+ 'unzer_invoice' // Unzer: TH LinkPay invoice
26
28
  ]
27
29
  },
28
30
  metadata: {
@@ -1,3 +1,8 @@
1
+ const { getImages } = require('../../../common/images')
2
+
3
+ const logoImage = getImages({})
4
+ logoImage.anyOf.push({ type: 'string' })
5
+
1
6
  module.exports = {
2
7
  type: 'object',
3
8
  properties: {
@@ -32,12 +37,7 @@ module.exports = {
32
37
  font: {
33
38
  type: 'string'
34
39
  },
35
- logo: {
36
- oneOf: [
37
- { type: 'null' },
38
- { type: 'string' }
39
- ]
40
- },
40
+ logo: logoImage,
41
41
  color: {
42
42
  type: 'string'
43
43
  },
@@ -53,31 +53,7 @@ module.exports = {
53
53
  { type: 'string' }
54
54
  ]
55
55
  },
56
- header_background_image: {
57
- oneOf: [
58
- { type: 'null' },
59
- {
60
- type: 'object',
61
- properties: {
62
- original: {
63
- type: 'string'
64
- },
65
- avatar: {
66
- type: 'string'
67
- },
68
- '1x': {
69
- type: 'string'
70
- },
71
- '2x': {
72
- type: 'string'
73
- },
74
- '3x': {
75
- type: 'string'
76
- }
77
- }
78
- }
79
- ]
80
- }
56
+ header_background_image: getImages({})
81
57
  }
82
58
  },
83
59
  max_booking_lead_time: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tillhub/schemas",
3
- "version": "6.412.0",
3
+ "version": "6.414.0",
4
4
  "private": false,
5
5
  "description": "All Tillhub API OpenAPI 3 compatible JSON Schemas.",
6
6
  "main": "./lib/index.js",