@tillhub/schemas 6.200.0 → 6.202.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 +15 -0
- package/lib/v0/taxes/base.js +14 -12
- package/lib/v1/products/event.js +16 -0
- package/lib/v1/products/index.js +2 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
# [6.202.0](https://github.com/tillhub/schemas/compare/v6.201.0...v6.202.0) (2023-03-22)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **product:** add event inside the request ([e1f81ec](https://github.com/tillhub/schemas/commit/e1f81ec))
|
|
7
|
+
* **products:** add event to product create UNTIL-5810 ([b1b2ccf](https://github.com/tillhub/schemas/commit/b1b2ccf))
|
|
8
|
+
|
|
9
|
+
# [6.201.0](https://github.com/tillhub/schemas/compare/v6.200.0...v6.201.0) (2023-03-13)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
* **taxes:** add missing jurisdictions ([f709738](https://github.com/tillhub/schemas/commit/f709738))
|
|
15
|
+
|
|
1
16
|
# [6.200.0](https://github.com/tillhub/schemas/compare/v6.199.0...v6.200.0) (2023-03-10)
|
|
2
17
|
|
|
3
18
|
|
package/lib/v0/taxes/base.js
CHANGED
|
@@ -70,32 +70,34 @@ module.exports = {
|
|
|
70
70
|
type: 'string',
|
|
71
71
|
'enum': [
|
|
72
72
|
'austria',
|
|
73
|
-
'czech_republic',
|
|
74
|
-
'france',
|
|
75
|
-
'germany',
|
|
76
|
-
'hungary',
|
|
77
|
-
'italy',
|
|
78
|
-
'ireland',
|
|
79
|
-
'monaco',
|
|
80
|
-
'spain',
|
|
81
|
-
'switzerland',
|
|
82
|
-
'sweden',
|
|
83
73
|
'belgium',
|
|
84
74
|
'bulgaria',
|
|
85
75
|
'croatia',
|
|
86
|
-
'finland',
|
|
87
76
|
'cyprus',
|
|
77
|
+
'czechia',
|
|
78
|
+
'denmark',
|
|
88
79
|
'estonia',
|
|
80
|
+
'finland',
|
|
81
|
+
'france',
|
|
82
|
+
'germany',
|
|
89
83
|
'greece',
|
|
84
|
+
'hungary',
|
|
85
|
+
'ireland',
|
|
86
|
+
'italy',
|
|
90
87
|
'latvia',
|
|
91
88
|
'lithuania',
|
|
92
89
|
'luxembourg',
|
|
93
90
|
'malta',
|
|
91
|
+
'monaco',
|
|
92
|
+
'netherlands',
|
|
94
93
|
'poland',
|
|
95
94
|
'portugal',
|
|
96
95
|
'romania',
|
|
97
96
|
'slovakia',
|
|
98
|
-
'slovenia'
|
|
97
|
+
'slovenia',
|
|
98
|
+
'spain',
|
|
99
|
+
'sweden',
|
|
100
|
+
'switzerland'
|
|
99
101
|
]
|
|
100
102
|
},
|
|
101
103
|
{
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
const baseObject = require('../../common/base')
|
|
2
|
+
const { getEvent } = require('../../common/webhooks')
|
|
3
|
+
const base = require('./base')
|
|
4
|
+
|
|
5
|
+
module.exports = {
|
|
6
|
+
$id: 'https://schemas.tillhub.com/v1/products.create.event.schema.json',
|
|
7
|
+
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
8
|
+
...getEvent({
|
|
9
|
+
type: 'object',
|
|
10
|
+
additionalProperties: false,
|
|
11
|
+
properties: {
|
|
12
|
+
...baseObject(),
|
|
13
|
+
...base
|
|
14
|
+
}
|
|
15
|
+
}, { eventEntityExample: 'product' })
|
|
16
|
+
}
|
package/lib/v1/products/index.js
CHANGED