@tillhub/schemas 6.431.0 → 6.433.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,21 @@
1
+ # [6.433.0](https://github.com/tillhub/schemas/compare/v6.432.0...v6.433.0) (2026-04-14)
2
+
3
+
4
+ ### Features
5
+
6
+ * **bnpl:** add customer_document_type and customer_document_id_suffix fields ([5c51736](https://github.com/tillhub/schemas/commit/5c51736))
7
+ * **configurations:** gastro ([4a668ae](https://github.com/tillhub/schemas/commit/4a668ae))
8
+ * **transactions:** remote_ordering ([4e638a1](https://github.com/tillhub/schemas/commit/4e638a1))
9
+ * **transactions:** remote_ordering ([97fd7c2](https://github.com/tillhub/schemas/commit/97fd7c2))
10
+ * **UNTIL-19796-payment-link-context:** update _context obj. ([bd7e72f](https://github.com/tillhub/schemas/commit/bd7e72f))
11
+
12
+ # [6.432.0](https://github.com/tillhub/schemas/compare/v6.431.0...v6.432.0) (2026-04-02)
13
+
14
+
15
+ ### Features
16
+
17
+ * **UNTIL-18961:** cpublish both into public and private registries ([d3dc83b](https://github.com/tillhub/schemas/commit/d3dc83b))
18
+
1
19
  # [6.431.0](https://github.com/tillhub/schemas/compare/v6.430.0...v6.431.0) (2026-04-01)
2
20
 
3
21
 
@@ -71,7 +71,7 @@ module.exports = {
71
71
  enabled: oneOf({
72
72
  description: 'Specifies if Orderpro should cache orders on failures (e.g. network)',
73
73
  type: 'boolean',
74
- default: false
74
+ default: true
75
75
  }),
76
76
  lifetime: oneOf({
77
77
  description: 'Lifetime of cached operations in seconds.',
@@ -0,0 +1,24 @@
1
+ const { oneOf } = require('../../../../../helpers/payload-or-null')
2
+
3
+ module.exports = {
4
+ description: 'Pay later payment link details',
5
+ additionalProperties: false,
6
+ type: 'object',
7
+ properties: {
8
+ payment_link_id: oneOf({
9
+ type: 'string',
10
+ format: 'uuid',
11
+ description: 'The unique identifier of the payment link associated with this transaction',
12
+ example: 'f3534b16-700f-41cc-8243-2744808f81ce'
13
+ }),
14
+ customer_document_type: oneOf({
15
+ type: 'string',
16
+ description: 'Type of ID document (drivers_license | identity_card | passport | residence_permit)'
17
+ }),
18
+ customer_document_id_suffix: oneOf({
19
+ type: 'string',
20
+ description: 'Last 5 digits of the customer\'s ID document number',
21
+ maxLength: 5
22
+ })
23
+ }
24
+ }
@@ -208,6 +208,11 @@ module.exports = {
208
208
  format: 'uuid',
209
209
  description: 'The identifier of the respective reservation object'
210
210
  }),
211
+ remote_order_id: oneOf({
212
+ type: 'string',
213
+ format: 'uuid',
214
+ description: 'The 3rd party TH remote order id (e.g. SoUse)'
215
+ }),
211
216
  device: oneOf({
212
217
  ...deviceInfo
213
218
  }),
@@ -220,11 +225,11 @@ module.exports = {
220
225
  format: 'uuid',
221
226
  description: 'The common identifier of this order process (to be found on all deltas as well -> "order")'
222
227
  },
223
- ros_id: {
228
+ ros_id: oneOf({
224
229
  type: 'string',
225
230
  format: 'uuid',
226
231
  description: 'The ROS identifier'
227
- },
232
+ }),
228
233
  number: oneOf({
229
234
  type: 'integer',
230
235
  example: 34,
@@ -744,6 +744,12 @@ module.exports = {
744
744
  format: 'uuid',
745
745
  description: 'Inheritable/copyable identifier in context of order incarnations until a transaction',
746
746
  example: 'a5380b42-6025-49de-bb1d-c9357df96506'
747
+ }),
748
+ remote_order_item_id: oneOf({
749
+ type: 'string',
750
+ format: 'uuid',
751
+ description: 'External remote ordering item identifier',
752
+ example: 'c5380b42-6025-49de-bb1d-c9357df96506'
747
753
  })
748
754
  }
749
755
  }),
@@ -3,6 +3,7 @@ const { oneOf } = require('../../../../helpers/payload-or-null')
3
3
  const voucherObject = require('../../components/embedded/voucher/base')
4
4
  const terminalObject = require('../../components/embedded/terminal/base')
5
5
  const bnplObject = require('../../components/embedded/bnpl/base')
6
+ const payLaterObject = require('../../components/embedded/pay_later/base')
6
7
 
7
8
  const relatedObject = require('../../components/embedded/reference/related')
8
9
  const dependsObject = require('../../components/embedded/reference/depends')
@@ -246,11 +247,18 @@ module.exports = {
246
247
  default: null
247
248
  },
248
249
  buy_now_pay_later: {
249
- description: 'Details when Unzer BNPL is used',
250
+ description: 'Details when Unzer BNPL is used (legacy)',
250
251
  ...oneOf({
251
252
  ...bnplObject
252
253
  }),
253
254
  default: null
255
+ },
256
+ payment_link: {
257
+ description: 'Pay later payment link details',
258
+ ...oneOf({
259
+ ...payLaterObject
260
+ }),
261
+ default: null
254
262
  }
255
263
  }
256
264
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tillhub/schemas",
3
- "version": "6.431.0",
3
+ "version": "6.433.0",
4
4
  "private": false,
5
5
  "description": "All Tillhub API OpenAPI 3 compatible JSON Schemas.",
6
6
  "main": "./lib/index.js",