@tillhub/schemas 6.325.0 → 6.327.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,18 @@
1
+ # [6.327.0](https://github.com/tillhub/schemas/compare/v6.326.0...v6.327.0) (2024-07-22)
2
+
3
+
4
+ ### Features
5
+
6
+ * **gastro:** receipt type ([21eee08](https://github.com/tillhub/schemas/commit/21eee08))
7
+
8
+ # [6.326.0](https://github.com/tillhub/schemas/compare/v6.325.0...v6.326.0) (2024-07-17)
9
+
10
+
11
+ ### Features
12
+
13
+ * **transactions:** meta ([bb5d64f](https://github.com/tillhub/schemas/commit/bb5d64f))
14
+ * **transactions:** meta, change keychain_counting_numbers to string ([c2ef3a6](https://github.com/tillhub/schemas/commit/c2ef3a6))
15
+
1
16
  # [6.325.0](https://github.com/tillhub/schemas/compare/v6.324.0...v6.325.0) (2024-07-11)
2
17
 
3
18
 
@@ -62,6 +62,19 @@ module.exports = {
62
62
  type: 'integer',
63
63
  example: 234,
64
64
  description: 'Counting number of the last transaction'
65
+ }),
66
+ device: oneOf({
67
+ type: 'object',
68
+ properties: {
69
+ identifier_for_vendor: oneOf({
70
+ type: 'string',
71
+ description: 'Current vendor identifier regardless of value stored in keychain'
72
+ }),
73
+ keychain_counting_numbers: oneOf({
74
+ type: 'string',
75
+ description: 'Snapshot of the keychain counting numbers table'
76
+ })
77
+ }
65
78
  })
66
79
  }
67
80
  }
@@ -64,7 +64,8 @@ module.exports = {
64
64
  enum: [
65
65
  'save',
66
66
  'checkout',
67
- 'cancel'
67
+ 'cancel',
68
+ 'cancel_zero'
68
69
  ],
69
70
  description: 'Description of the context this delta was caused by'
70
71
  },
@@ -202,6 +202,19 @@ module.exports = {
202
202
  })
203
203
  }
204
204
  },
205
+ device: oneOf({
206
+ type: 'object',
207
+ properties: {
208
+ identifier_for_vendor: oneOf({
209
+ type: 'string',
210
+ description: 'Current vendor identifier regardless of value stored in keychain'
211
+ }),
212
+ keychain_counting_numbers: oneOf({
213
+ type: 'string',
214
+ description: 'Snapshot of the keychain counting numbers table'
215
+ })
216
+ }
217
+ }),
205
218
  order: oneOf({
206
219
  type: 'object',
207
220
  description: 'If this transaction was the result of a gastro order - the relevant information will be stored here',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tillhub/schemas",
3
- "version": "6.325.0",
3
+ "version": "6.327.0",
4
4
  "private": false,
5
5
  "description": "All Tillhub API OpenAPI 3 compatible JSON Schemas.",
6
6
  "main": "./lib/index.js",