@tillhub/schemas 6.255.0 → 6.256.1
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.256.1](https://github.com/tillhub/schemas/compare/v6.256.0...v6.256.1) (2023-08-31)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **configuration:** add logo to be nullable, and delete wrong constraint for opening hours and leave ([52c7bba](https://github.com/tillhub/schemas/commit/52c7bba))
|
|
7
|
+
|
|
8
|
+
# [6.256.0](https://github.com/tillhub/schemas/compare/v6.255.0...v6.256.0) (2023-08-30)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* **stock-management:** add product id to stock-book create event ([#859](https://github.com/tillhub/schemas/issues/859)) ([1c0928f](https://github.com/tillhub/schemas/commit/1c0928f))
|
|
14
|
+
|
|
1
15
|
# [6.255.0](https://github.com/tillhub/schemas/compare/v6.254.0...v6.255.0) (2023-08-30)
|
|
2
16
|
|
|
3
17
|
|
|
@@ -39,6 +39,7 @@ const eventOverrideData = {
|
|
|
39
39
|
...baseObject(),
|
|
40
40
|
...baseProduct
|
|
41
41
|
}, [
|
|
42
|
+
'id',
|
|
42
43
|
'name',
|
|
43
44
|
'client_id',
|
|
44
45
|
'custom_id',
|
|
@@ -64,6 +65,11 @@ const eventOverrideData = {
|
|
|
64
65
|
type: 'string',
|
|
65
66
|
example: 'Not arbitrary reason'
|
|
66
67
|
}),
|
|
68
|
+
stock_id: oneOf({
|
|
69
|
+
description: 'id of stock entity',
|
|
70
|
+
type: 'string',
|
|
71
|
+
example: 'f0a52a37-df58-465d-9121-b8180fc95133'
|
|
72
|
+
}),
|
|
67
73
|
transaction_id: oneOf({
|
|
68
74
|
description: 'id of transaction, if stock book is related to transaction',
|
|
69
75
|
type: 'string',
|
|
@@ -30,7 +30,10 @@ module.exports = {
|
|
|
30
30
|
type: 'string'
|
|
31
31
|
},
|
|
32
32
|
logo: {
|
|
33
|
-
|
|
33
|
+
oneOf: [
|
|
34
|
+
{ type: 'null' },
|
|
35
|
+
{ type: 'string' }
|
|
36
|
+
]
|
|
34
37
|
},
|
|
35
38
|
color: {
|
|
36
39
|
type: 'string'
|
|
@@ -96,20 +99,16 @@ module.exports = {
|
|
|
96
99
|
type: 'boolean'
|
|
97
100
|
},
|
|
98
101
|
open_from: {
|
|
99
|
-
type: 'string'
|
|
100
|
-
format: 'time'
|
|
102
|
+
type: 'string'
|
|
101
103
|
},
|
|
102
104
|
open_to: {
|
|
103
|
-
type: 'string'
|
|
104
|
-
format: 'time'
|
|
105
|
+
type: 'string'
|
|
105
106
|
},
|
|
106
107
|
break_from: {
|
|
107
|
-
type: 'string'
|
|
108
|
-
format: 'time'
|
|
108
|
+
type: 'string'
|
|
109
109
|
},
|
|
110
110
|
break_to: {
|
|
111
|
-
type: 'string'
|
|
112
|
-
format: 'time'
|
|
111
|
+
type: 'string'
|
|
113
112
|
}
|
|
114
113
|
}
|
|
115
114
|
}
|