@tillhub/schemas 6.250.0 → 6.252.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,19 @@
1
+ # [6.252.0](https://github.com/tillhub/schemas/compare/v6.251.0...v6.252.0) (2023-08-21)
2
+
3
+
4
+ ### Features
5
+
6
+ * **analytics:** change created_at, updated_at to dateObject ([d9f9af8](https://github.com/tillhub/schemas/commit/d9f9af8))
7
+ * **analytics:** start, end ([bff0469](https://github.com/tillhub/schemas/commit/bff0469))
8
+ * **analytics:** use dateObject for start, end ([745f108](https://github.com/tillhub/schemas/commit/745f108))
9
+
10
+ # [6.251.0](https://github.com/tillhub/schemas/compare/v6.250.0...v6.251.0) (2023-08-21)
11
+
12
+
13
+ ### Features
14
+
15
+ * **favourites:** tab ([f775dae](https://github.com/tillhub/schemas/commit/f775dae))
16
+
1
17
  # [6.250.0](https://github.com/tillhub/schemas/compare/v6.249.0...v6.250.0) (2023-08-21)
2
18
 
3
19
 
@@ -439,7 +439,10 @@ module.exports = {
439
439
  description: 'Tillhub branch SAP number if available.',
440
440
  example: '000001'
441
441
  })
442
- }
442
+ },
443
+ required: [
444
+ 'store_eain'
445
+ ]
443
446
  })
444
447
  }
445
448
  }),
@@ -41,12 +41,13 @@ const item = {
41
41
  const tab = {
42
42
  type: 'object',
43
43
  properties: {
44
- name: {
45
- oneOf: [
46
- { type: 'string' },
47
- { type: 'null' }
48
- ]
49
- },
44
+ name: oneOf({
45
+ type: 'string',
46
+ maxLength: 128,
47
+ description: 'Name of this favourite-tab.',
48
+ example: 'Drinks',
49
+ default: null
50
+ }),
50
51
  client_id: {
51
52
  type: 'string',
52
53
  format: 'uuid'
@@ -64,7 +65,6 @@ const tab = {
64
65
  }
65
66
  },
66
67
  required: [
67
- 'name',
68
68
  'client_id',
69
69
  'order_index',
70
70
  'items'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tillhub/schemas",
3
- "version": "6.250.0",
3
+ "version": "6.252.0",
4
4
  "private": false,
5
5
  "description": "All Tillhub API OpenAPI 3 compatible JSON Schemas.",
6
6
  "main": "./lib/index.js",