@tillhub/schemas 6.275.2 → 6.276.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.276.0](https://github.com/tillhub/schemas/compare/v6.275.3...v6.276.0) (2023-12-11)
2
+
3
+
4
+ ### Features
5
+
6
+ * **configurations:** payments ([b4798b9](https://github.com/tillhub/schemas/commit/b4798b9))
7
+
8
+ ## [6.275.3](https://github.com/tillhub/schemas/compare/v6.275.2...v6.275.3) (2023-11-30)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **invoices:** added tx date to invoice data ([fe9e9bd](https://github.com/tillhub/schemas/commit/fe9e9bd))
14
+
1
15
  ## [6.275.2](https://github.com/tillhub/schemas/compare/v6.275.1...v6.275.2) (2023-11-27)
2
16
 
3
17
 
@@ -22,6 +22,11 @@ module.exports = {
22
22
  type: 'string',
23
23
  format: 'date-time'
24
24
  },
25
+ date: {
26
+ additionalProperties: false,
27
+ type: 'string',
28
+ format: 'date-time'
29
+ },
25
30
  cashier_staff: {
26
31
  anyOf: [
27
32
  {
@@ -50,6 +50,18 @@ module.exports = {
50
50
  description: 'If true, will ask for the amount on undefined payment types (rather than setting the total price of the cart).',
51
51
  default: false,
52
52
  type: 'boolean'
53
+ }),
54
+ buy_now_pay_later: oneOf({
55
+ description: 'Settings for Unzer BNPL',
56
+ type: 'object',
57
+ additionalProperties: false,
58
+ properties: {
59
+ secret: oneOf({
60
+ type: 'string',
61
+ description: 'Configured secret for the Unzer BNPL API',
62
+ example: 'QmSgQtMNfm0uZjVedM1BvqGRIQ3D9wjclLYDZcXPZve'
63
+ })
64
+ }
53
65
  })
54
66
  }
55
67
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tillhub/schemas",
3
- "version": "6.275.2",
3
+ "version": "6.276.0",
4
4
  "private": false,
5
5
  "description": "All Tillhub API OpenAPI 3 compatible JSON Schemas.",
6
6
  "main": "./lib/index.js",