@tillhub/schemas 6.167.0 → 6.168.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,10 @@
1
+ # [6.168.0](https://github.com/tillhub/schemas/compare/v6.167.0...v6.168.0) (2022-11-13)
2
+
3
+
4
+ ### Features
5
+
6
+ * **transaction_statuses:** Handling of transaction_statuses update ([#737](https://github.com/tillhub/schemas/issues/737)) ([f3ae42f](https://github.com/tillhub/schemas/commit/f3ae42f))
7
+
1
8
  # [6.167.0](https://github.com/tillhub/schemas/compare/v6.166.0...v6.167.0) (2022-11-11)
2
9
 
3
10
 
@@ -63,6 +63,10 @@ const tipsCartItemTemplate = {
63
63
  }
64
64
 
65
65
  module.exports = oneOf({
66
+ // backward compatibilty fallback
67
+ type: 'object',
68
+ properties: {}
69
+ }, {
66
70
  type: 'object',
67
71
  required: [
68
72
  'owner_item',
package/lib/v1/index.js CHANGED
@@ -10,5 +10,6 @@ module.exports.products = require('./products')
10
10
  module.exports.registers = require('./registers')
11
11
  module.exports.templates = require('./templates')
12
12
  module.exports.transactions = require('./transactions')
13
+ module.exports.statuses = require('./statuses')
13
14
 
14
15
  // hygen:injection - Please, don't delete this line: when running the cli for schema resources the new routes will be automatically added here.
@@ -49,5 +49,17 @@ module.exports = {
49
49
  'gastro_order_delta' // gastro order deltas
50
50
  ],
51
51
  description: 'The type of the source that was signed.'
52
- }
52
+ },
53
+ canceled_at: oneOf({
54
+ type: 'string',
55
+ format: 'date-time',
56
+ example: '2018-01-29T14:55:05.000Z',
57
+ description: 'The time when the tranasaction was canceled (ISO_8601).'
58
+ }),
59
+ refunded_at: oneOf({
60
+ type: 'string',
61
+ format: 'date-time',
62
+ example: '2018-01-29T14:55:05.000Z',
63
+ description: 'The time when the tranasaction was refunded (ISO_8601).'
64
+ })
53
65
  }
@@ -0,0 +1 @@
1
+ module.exports.create = { request: require('./create.request') }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tillhub/schemas",
3
- "version": "6.167.0",
3
+ "version": "6.168.0",
4
4
  "private": false,
5
5
  "description": "All Tillhub API OpenAPI 3 compatible JSON Schemas.",
6
6
  "main": "./lib/index.js",