@tillhub/schemas 6.260.0 → 6.261.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.261.0](https://github.com/tillhub/schemas/compare/v6.260.1...v6.261.0) (2023-09-20)
2
+
3
+
4
+ ### Features
5
+
6
+ * **terminal_id:** add terminalId to the schema ([#870](https://github.com/tillhub/schemas/issues/870)) ([82b222b](https://github.com/tillhub/schemas/commit/82b222b))
7
+
8
+ ## [6.260.1](https://github.com/tillhub/schemas/compare/v6.260.0...v6.260.1) (2023-09-19)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **configurations:** features ([5f88fb5](https://github.com/tillhub/schemas/commit/5f88fb5))
14
+
1
15
  # [6.260.0](https://github.com/tillhub/schemas/compare/v6.259.0...v6.260.0) (2023-09-13)
2
16
 
3
17
 
@@ -18,7 +18,7 @@ const TimeInterval = {
18
18
  value: {
19
19
  description: 'The value of the interval, defines a timeframe together with the set unit.',
20
20
  type: 'integer',
21
- minimum: 1,
21
+ minimum: 0,
22
22
  maximum: 500,
23
23
  default: 2
24
24
  }
@@ -551,6 +551,20 @@ module.exports = {
551
551
  }
552
552
  }
553
553
  },
554
+ staff: oneOf({ // LEGACY MAX NEBL STYLE, controls search AND regular download - no separation as of late 2023
555
+ type: 'object',
556
+ additionalProperties: false,
557
+ properties: {
558
+ online_search: oneOf({
559
+ description: 'Unlike the name suggests - controls adding a branch-parameter to sync and search calls',
560
+ type: 'string',
561
+ enum: [
562
+ 'per_location'
563
+ ],
564
+ default: null // results in ignoring branch-paramneters in sync and search calls
565
+ })
566
+ }
567
+ }),
554
568
  staffs: {
555
569
  type: 'object',
556
570
  additionalProperties: false,
@@ -66,6 +66,11 @@ module.exports = {
66
66
  type: 'object'
67
67
  }
68
68
  }),
69
+ terminal_id: oneOf({
70
+ description: 'Identification for the payment terminal Id',
71
+ type: 'string',
72
+ format: 'string'
73
+ }),
69
74
  urls: oneOf({
70
75
  type: 'array',
71
76
  items: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tillhub/schemas",
3
- "version": "6.260.0",
3
+ "version": "6.261.0",
4
4
  "private": false,
5
5
  "description": "All Tillhub API OpenAPI 3 compatible JSON Schemas.",
6
6
  "main": "./lib/index.js",