@tillhub/schemas 6.286.0 → 6.288.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.288.0](https://github.com/tillhub/schemas/compare/v6.287.0...v6.288.0) (2024-02-09)
2
+
3
+
4
+ ### Features
5
+
6
+ * **configurations:** settings ([6f95563](https://github.com/tillhub/schemas/commit/6f95563))
7
+
8
+ # [6.287.0](https://github.com/tillhub/schemas/compare/v6.286.0...v6.287.0) (2024-02-08)
9
+
10
+
11
+ ### Features
12
+
13
+ * **UNTIL_9446_branchSwitchingConf:** add ([cc5fd90](https://github.com/tillhub/schemas/commit/cc5fd90))
14
+
1
15
  # [6.286.0](https://github.com/tillhub/schemas/compare/v6.285.0...v6.286.0) (2024-02-08)
2
16
 
3
17
 
@@ -68,6 +68,12 @@ module.exports = {
68
68
  type: 'string',
69
69
  description: 'Configured secret for the Unzer BNPL API',
70
70
  example: 'QmSgQtMNfm0uZjVedM1BvqGRIQ3D9wjclLYDZcXPZve'
71
+ }),
72
+ success_url: oneOf({
73
+ type: 'string',
74
+ description: 'Configured success url, customers will be redirected to it after finishing the pay-later flow',
75
+ default: 'https://bnpl.tillhub.com/?data=',
76
+ example: 'https://bnpl.tillhub.com/?data=BNPL-{CART_UUID}'
71
77
  })
72
78
  }
73
79
  })
@@ -1,3 +1,4 @@
1
+ const { stripIndents } = require('common-tags')
1
2
  const { oneOf } = require('../../../helpers/payload-or-null')
2
3
 
3
4
  module.exports = {
@@ -217,7 +218,12 @@ module.exports = {
217
218
  }
218
219
  }),
219
220
  third_party: {
220
- description: 'Third party app links',
221
+ deprecated: true,
222
+ description: stripIndents`
223
+ Third party app links - Only for locally installed/installable applications - not for any random webpage!
224
+
225
+ Since the 3rd party scheme also must be registered within the POS app we should rather limit this to prepared apps with just being enabled or not
226
+ `,
221
227
  type: 'array',
222
228
  items: {
223
229
  type: 'object',
@@ -778,7 +784,12 @@ module.exports = {
778
784
  }
779
785
  })
780
786
  }
781
- })
787
+ }),
788
+ branch_register_switching_allowed: {
789
+ description: 'Defines if the branch and register selection UI is enabled in the POS settings.',
790
+ type: 'boolean',
791
+ default: false
792
+ }
782
793
  }
783
794
  }
784
795
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tillhub/schemas",
3
- "version": "6.286.0",
3
+ "version": "6.288.0",
4
4
  "private": false,
5
5
  "description": "All Tillhub API OpenAPI 3 compatible JSON Schemas.",
6
6
  "main": "./lib/index.js",