@tillhub/schemas 6.441.0 → 6.443.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,22 @@
1
+ # [6.443.0](https://github.com/tillhub/schemas/compare/v6.442.0...v6.443.0) (2026-06-12)
2
+
3
+
4
+ ### Features
5
+
6
+ * **UNTIL-20591:** update bookable_online property to include default value and non-nullable ([#1165](https://github.com/tillhub/schemas/issues/1165)) ([4327164](https://github.com/tillhub/schemas/commit/4327164))
7
+
8
+ # [6.442.0](https://github.com/tillhub/schemas/compare/v6.441.0...v6.442.0) (2026-06-10)
9
+
10
+
11
+ ### Features
12
+
13
+ * **configurations:** remote ordering reduced ([f436b9d](https://github.com/tillhub/schemas/commit/f436b9d))
14
+ * **terminal_apis:** add softpay ([70f27a3](https://github.com/tillhub/schemas/commit/70f27a3))
15
+ * **transactions:** add remote order submission ids to legacy ([82bba3b](https://github.com/tillhub/schemas/commit/82bba3b))
16
+ * **UNTIL-20490:** add remote ordering abandoned timeout setting ([8a91a47](https://github.com/tillhub/schemas/commit/8a91a47))
17
+ * **UNTIL-20490:** add remote ordering abandoned timeout setting ([e30bb3a](https://github.com/tillhub/schemas/commit/e30bb3a))
18
+ * **UNTIL-20490:** update naming ([8d60ddf](https://github.com/tillhub/schemas/commit/8d60ddf))
19
+
1
20
  # [6.441.0](https://github.com/tillhub/schemas/compare/v6.440.0...v6.441.0) (2026-05-27)
2
21
 
3
22
 
@@ -37,10 +37,11 @@ module.exports = {
37
37
  format: 'uuid'
38
38
  }
39
39
  }),
40
- bookable_online: oneOf({
40
+ bookable_online: {
41
41
  description: 'Whether this service can be booked online. Defaults to true.',
42
- type: 'boolean'
43
- }, { default: true })
42
+ type: 'boolean',
43
+ default: true
44
+ }
44
45
  },
45
46
  required: ['name', 'duration', 'linked_product'],
46
47
  $id: 'https://schemas.tillhub.com/v0/services.create.request.schema.json',
@@ -37,10 +37,10 @@ module.exports = {
37
37
  format: 'uuid'
38
38
  }
39
39
  }),
40
- bookable_online: oneOf({
40
+ bookable_online: {
41
41
  description: 'Whether this service can be booked online.',
42
42
  type: 'boolean'
43
- })
43
+ }
44
44
  },
45
45
  required: [],
46
46
  $id: 'https://schemas.tillhub.com/v0/services.update.request.schema.json',
@@ -18,6 +18,30 @@ module.exports = {
18
18
  }
19
19
  }
20
20
  }),
21
+ remote_ordering: oneOf({
22
+ description: 'This is referring to external ordering - e.g., online ordering platforms. Communication is handled via the Unzer/Tillhub API',
23
+ type: 'object',
24
+ additionalProperties: false,
25
+ properties: {
26
+ acceptance_policy_on_printer_failures: oneOf({
27
+ description: 'Defines the acceptance policy for incoming remote orders based on printer feedback.',
28
+ type: 'string',
29
+ enum: [
30
+ 'ignore', // accepts the order with all items regardless of printer success/failure
31
+ 'printed_items_only', // accepts the order but only with items that were successfully printed
32
+ 'reject' // rejects the order if any item fails to print
33
+ ],
34
+ default: 'reject'
35
+ }),
36
+ abandoned_order_timeout_minutes: oneOf({
37
+ description: 'Time in minutes after which a pending remote order submission is marked as abandoned if POS does not respond.',
38
+ type: 'integer',
39
+ minimum: 1,
40
+ maximum: 1440, // 24 hours
41
+ default: 15
42
+ })
43
+ }
44
+ }),
21
45
  orders: oneOf({
22
46
  type: 'object',
23
47
  properties: {
@@ -32,6 +56,7 @@ module.exports = {
32
56
  }
33
57
  }),
34
58
  remote_access: oneOf({
59
+ description: 'This is referring to internal ordering, e.g. Orderpro - the Unzer/Tillhub ordering application in restaurants connected via LAN.',
35
60
  type: 'object',
36
61
  properties: {
37
62
  enabled: {
@@ -220,6 +220,23 @@ module.exports = {
220
220
  })
221
221
  }
222
222
  },
223
+ softpay: {
224
+ type: 'object',
225
+ properties: {
226
+ enabled: {
227
+ type: 'boolean',
228
+ default: true
229
+ },
230
+ inter_call_delay_seconds: oneOf({
231
+ type: 'number',
232
+ description: 'Artificial delay between a previous terminal response and the next terminal request when performed automatically (some devices require additional cooldowns to avoid \'busy\' states)',
233
+ minimum: 0.0,
234
+ maximum: 10.0,
235
+ multipleOf: 0.001,
236
+ default: 0.0
237
+ })
238
+ }
239
+ },
223
240
  ZVT: { // capitalized for historical reasons
224
241
  type: 'object',
225
242
  properties: {
@@ -37,7 +37,8 @@ module.exports = {
37
37
  'tim',
38
38
  'sumup',
39
39
  'spos',
40
- 'ZVT' // sic! for historical reasons!
40
+ 'ZVT', // sic! for historical reasons!
41
+ 'softpay'
41
42
  ]
42
43
  },
43
44
  payment_provider: {
@@ -213,6 +213,15 @@ module.exports = {
213
213
  format: 'uuid',
214
214
  description: 'The 3rd party TH remote order id (e.g. SoUse)'
215
215
  }),
216
+ remote_order_submission_ids: oneOf({
217
+ type: 'array',
218
+ items: {
219
+ type: 'string',
220
+ format: 'uuid',
221
+ description: 'A submission id for a remote order (e.g. for tracking multiple attempts or submissions)'
222
+ },
223
+ description: 'Optional array of remote order submission ids.'
224
+ }),
216
225
  device: oneOf({
217
226
  ...deviceInfo
218
227
  }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tillhub/schemas",
3
- "version": "6.441.0",
3
+ "version": "6.443.0",
4
4
  "private": false,
5
5
  "description": "All Tillhub API OpenAPI 3 compatible JSON Schemas.",
6
6
  "main": "./lib/index.js",