@tillhub/schemas 6.291.0 → 6.293.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,17 @@
1
+ # [6.293.0](https://github.com/tillhub/schemas/compare/v6.292.0...v6.293.0) (2024-03-06)
2
+
3
+
4
+ ### Features
5
+
6
+ * **customers:** make lastname nullable ([275a9e1](https://github.com/tillhub/schemas/commit/275a9e1))
7
+
8
+ # [6.292.0](https://github.com/tillhub/schemas/compare/v6.291.0...v6.292.0) (2024-03-01)
9
+
10
+
11
+ ### Features
12
+
13
+ * **configurations:** fix defaults ([b1538e2](https://github.com/tillhub/schemas/commit/b1538e2))
14
+
1
15
  # [6.291.0](https://github.com/tillhub/schemas/compare/v6.290.0...v6.291.0) (2024-02-26)
2
16
 
3
17
 
@@ -26,8 +26,10 @@ module.exports = {
26
26
  lastname: {
27
27
  example: 'Fett',
28
28
  description: 'Last name',
29
- type: 'string',
30
- maxLength: 128
29
+ ...anyOf({
30
+ type: 'string',
31
+ maxLength: 128
32
+ })
31
33
  },
32
34
  middlename: {
33
35
  description: 'Middle name',
@@ -298,22 +298,22 @@ const balanceReceipt = {
298
298
  print_total_sales: oneOf({
299
299
  description: 'Defines if the total number of sales will be printed.',
300
300
  type: 'boolean',
301
- default: true
301
+ default: false
302
302
  }),
303
303
  print_tips_section: oneOf({
304
304
  description: 'Defines if the extended tips-section will be printed.',
305
305
  type: 'boolean',
306
- default: true
306
+ default: false
307
307
  }),
308
308
  print_cash_units_section: oneOf({
309
309
  description: 'Defines if the counted cash units will be printed.',
310
310
  type: 'boolean',
311
- default: true
311
+ default: false
312
312
  }),
313
313
  print_extended_stats: oneOf({
314
314
  description: 'Defines if the extended balance stats will be printed. Requires configurations.balances.extended_report and related data.',
315
315
  type: 'boolean',
316
- default: true
316
+ default: false
317
317
  }),
318
318
  print_account_names: oneOf({
319
319
  description: 'Defines if account names are printed additionally to the numbers.',
@@ -346,7 +346,7 @@ module.exports = {
346
346
  },
347
347
  active: {
348
348
  // supported on POS, FALSE for e.g. KHG, TRUE by default
349
- description: 'If true, products will be downloaded to the POS',
349
+ description: 'If true, customers will be downloaded to the POS',
350
350
  default: true,
351
351
  type: 'boolean'
352
352
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tillhub/schemas",
3
- "version": "6.291.0",
3
+ "version": "6.293.0",
4
4
  "private": false,
5
5
  "description": "All Tillhub API OpenAPI 3 compatible JSON Schemas.",
6
6
  "main": "./lib/index.js",