@tillhub/schemas 6.192.0 → 6.194.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.194.0](https://github.com/tillhub/schemas/compare/v6.193.0...v6.194.0) (2023-02-20)
2
+
3
+
4
+ ### Features
5
+
6
+ * **products:** array of uuid ([ba92044](https://github.com/tillhub/schemas/commit/ba92044))
7
+
8
+ # [6.193.0](https://github.com/tillhub/schemas/compare/v6.192.0...v6.193.0) (2023-02-15)
9
+
10
+
11
+ ### Features
12
+
13
+ * **terminals:** apis ([7efefbd](https://github.com/tillhub/schemas/commit/7efefbd))
14
+
1
15
  # [6.192.0](https://github.com/tillhub/schemas/compare/v6.191.0...v6.192.0) (2023-02-14)
2
16
 
3
17
 
@@ -189,6 +189,23 @@ module.exports = {
189
189
  default: 0.0
190
190
  })
191
191
  }
192
+ },
193
+ ZVT: { // capitalized for historical reasons
194
+ type: 'object',
195
+ properties: {
196
+ enabled: {
197
+ type: 'boolean',
198
+ default: true
199
+ },
200
+ inter_call_delay_seconds: oneOf({
201
+ type: 'number',
202
+ 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)',
203
+ minimum: 0.0,
204
+ maximum: 10.0,
205
+ multipleOf: 0.001,
206
+ default: 0.0
207
+ })
208
+ }
192
209
  }
193
210
  }
194
211
  }
@@ -92,7 +92,13 @@ const request = {
92
92
  tags: {
93
93
  anyOf: [
94
94
  {
95
- type: 'array'
95
+ type: 'array',
96
+ items: {
97
+ type: 'string',
98
+ example: '860defb8-5598-421d-9da4-f0826e767536',
99
+ format: 'uuid',
100
+ description: 'The uuid v4 that is generated on the API when a tag is created'
101
+ }
96
102
  },
97
103
  {
98
104
  type: 'null'
@@ -103,7 +109,13 @@ const request = {
103
109
  description: 'Used to store linked_products (existing (can be any type, including `linked` and embedded (`full` product schema)',
104
110
  anyOf: [
105
111
  {
106
- type: 'array'
112
+ type: 'array',
113
+ items: {
114
+ type: 'string',
115
+ example: '860defb8-5598-421d-9da4-f0826e767536',
116
+ format: 'uuid',
117
+ description: 'The uuid v4 that is generated on the API when a product is created'
118
+ }
107
119
  },
108
120
  {
109
121
  type: 'null'
@@ -35,7 +35,8 @@ module.exports = {
35
35
  'concardis',
36
36
  'opi',
37
37
  'tim',
38
- 'sumup'
38
+ 'sumup',
39
+ 'ZVT' // sic! for historical reasons!
39
40
  ]
40
41
  },
41
42
  payment_provider: {
@@ -106,7 +106,7 @@ module.exports = {
106
106
  description: 'The given tip via this payment, 1.10 EUR or 110 HUF respectively (represented as integer)'
107
107
  })
108
108
  },
109
- terminal_jornal: {
109
+ terminal_journal: {
110
110
  deprecated: true, // moved to terminal object
111
111
  ...oneOf({
112
112
  type: 'string',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tillhub/schemas",
3
- "version": "6.192.0",
3
+ "version": "6.194.0",
4
4
  "private": false,
5
5
  "description": "All Tillhub API OpenAPI 3 compatible JSON Schemas.",
6
6
  "main": "./lib/index.js",