@tillhub/schemas 6.289.0 → 6.290.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,11 @@
1
+ # [6.290.0](https://github.com/tillhub/schemas/compare/v6.289.0...v6.290.0) (2024-02-15)
2
+
3
+
4
+ ### Features
5
+
6
+ * **customers:** fix linting issue ([27c4c5c](https://github.com/tillhub/schemas/commit/27c4c5c))
7
+ * **customers:** make customer lastname optional ([dc99d1a](https://github.com/tillhub/schemas/commit/dc99d1a))
8
+
1
9
  # [6.289.0](https://github.com/tillhub/schemas/compare/v6.288.0...v6.289.0) (2024-02-13)
2
10
 
3
11
 
@@ -11,10 +11,7 @@ module.exports = {
11
11
  $schema: 'http://json-schema.org/draft-07/schema#',
12
12
  additionalProperties: false,
13
13
  type: 'object',
14
- properties: base,
15
- required: [
16
- 'lastname'
17
- ]
14
+ properties: base
18
15
  },
19
16
  response: {
20
17
  $id: 'https://schemas.tillhub.com/v0/customers.create.response.schema.json',
@@ -586,7 +586,8 @@ module.exports = {
586
586
  },
587
587
  only_self_sustained: {
588
588
  description: `Instruct clients to filter for types 'variant_product', 'product' and 'voucher'`,
589
- type: 'boolean'
589
+ type: 'boolean',
590
+ default: true
590
591
  }
591
592
  }
592
593
  },
@@ -12,7 +12,8 @@ module.exports = {
12
12
  enum: [
13
13
  'inclusive',
14
14
  'exclusive'
15
- ]
15
+ ],
16
+ default: 'inclusive'
16
17
  }
17
18
  }
18
19
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tillhub/schemas",
3
- "version": "6.289.0",
3
+ "version": "6.290.0",
4
4
  "private": false,
5
5
  "description": "All Tillhub API OpenAPI 3 compatible JSON Schemas.",
6
6
  "main": "./lib/index.js",