@tillhub/schemas 6.167.0 → 6.169.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.169.0](https://github.com/tillhub/schemas/compare/v6.168.0...v6.169.0) (2022-11-16)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **features:** add missing features ([5b3e7f1](https://github.com/tillhub/schemas/commit/5b3e7f1))
|
|
7
|
+
|
|
8
|
+
# [6.168.0](https://github.com/tillhub/schemas/compare/v6.167.0...v6.168.0) (2022-11-13)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* **transaction_statuses:** Handling of transaction_statuses update ([#737](https://github.com/tillhub/schemas/issues/737)) ([f3ae42f](https://github.com/tillhub/schemas/commit/f3ae42f))
|
|
14
|
+
|
|
1
15
|
# [6.167.0](https://github.com/tillhub/schemas/compare/v6.166.0...v6.167.0) (2022-11-11)
|
|
2
16
|
|
|
3
17
|
|
|
@@ -78,5 +78,18 @@ module.exports = {
|
|
|
78
78
|
webhooks: {
|
|
79
79
|
type: 'boolean',
|
|
80
80
|
default: false
|
|
81
|
+
},
|
|
82
|
+
inventory: {
|
|
83
|
+
type: 'boolean',
|
|
84
|
+
default: false
|
|
85
|
+
},
|
|
86
|
+
webview: {
|
|
87
|
+
type: 'Object',
|
|
88
|
+
properties: {
|
|
89
|
+
enabled: {
|
|
90
|
+
type: 'boolean',
|
|
91
|
+
default: false
|
|
92
|
+
}
|
|
93
|
+
}
|
|
81
94
|
}
|
|
82
95
|
}
|
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.
|
package/lib/v1/statuses/base.js
CHANGED
|
@@ -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') }
|