@tillhub/schemas 6.196.0 → 6.198.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,22 @@
1
+ # [6.198.0](https://github.com/tillhub/schemas/compare/v6.197.0...v6.198.0) (2023-03-07)
2
+
3
+
4
+ ### Features
5
+
6
+ * **customers:** add customers event schemas ([f48eb6b](https://github.com/tillhub/schemas/commit/f48eb6b))
7
+
8
+ # [6.197.0](https://github.com/tillhub/schemas/compare/v6.196.0...v6.197.0) (2023-03-02)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **taxes_base_jurisdictions:** fix test, remove duplicate item ([16f70d6](https://github.com/tillhub/schemas/commit/16f70d6))
14
+
15
+
16
+ ### Features
17
+
18
+ * **flush:** new version ([19c7997](https://github.com/tillhub/schemas/commit/19c7997))
19
+
1
20
  # [6.196.0](https://github.com/tillhub/schemas/compare/v6.195.0...v6.196.0) (2023-03-01)
2
21
 
3
22
 
@@ -0,0 +1,18 @@
1
+ const baseObject = require('../../common/base')
2
+ const { getEvent } = require('../../common/webhooks')
3
+ const base = require('./base')
4
+ const baseExtended = require('./baseExt')
5
+
6
+ module.exports = {
7
+ $id: 'https://schemas.tillhub.com/v0/customers.create.event.schema.json',
8
+ $schema: 'http://json-schema.org/draft-07/schema#',
9
+ ...getEvent({
10
+ type: 'object',
11
+ additionalProperties: false,
12
+ properties: {
13
+ ...baseObject(),
14
+ ...base,
15
+ ...baseExtended
16
+ }
17
+ }, { eventEntityExample: 'customer' })
18
+ }
@@ -2,6 +2,7 @@ const base = require('./base')
2
2
  const create = require('./create')
3
3
  const read = require('./read')
4
4
  const update = require('./update')
5
+ const event = require('./event')
5
6
  const notesCreateRequest = require('./notes').create
6
7
  const ext = require('./ext')
7
8
 
@@ -9,6 +10,7 @@ module.exports = {
9
10
  create,
10
11
  read,
11
12
  update,
13
+ event,
12
14
  ext
13
15
  }
14
16
 
@@ -76,11 +76,26 @@ module.exports = {
76
76
  'hungary',
77
77
  'italy',
78
78
  'ireland',
79
- 'jungholz',
80
- 'mittelberg',
81
79
  'monaco',
82
80
  'spain',
83
- 'switzerland'
81
+ 'switzerland',
82
+ 'sweden',
83
+ 'belgium',
84
+ 'bulgaria',
85
+ 'croatia',
86
+ 'finland',
87
+ 'cyprus',
88
+ 'estonia',
89
+ 'greece',
90
+ 'latvia',
91
+ 'lithuania',
92
+ 'luxembourg',
93
+ 'malta',
94
+ 'poland',
95
+ 'portugal',
96
+ 'romania',
97
+ 'slovakia',
98
+ 'slovenia'
84
99
  ]
85
100
  },
86
101
  {
@@ -272,7 +272,7 @@ const request = {
272
272
  ]
273
273
  },
274
274
  categories: {
275
- description: 'Defines a list of Tillhub categories, which is list of uuids. The category trees will then determine where it is placed.',
275
+ description: 'Defines a list of "Tillhub" categories, which is list of uuids. The category trees will then determine where it is placed.',
276
276
  anyOf: [
277
277
  {
278
278
  type: 'array'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tillhub/schemas",
3
- "version": "6.196.0",
3
+ "version": "6.198.0",
4
4
  "private": false,
5
5
  "description": "All Tillhub API OpenAPI 3 compatible JSON Schemas.",
6
6
  "main": "./lib/index.js",