@tillhub/schemas 6.289.0 → 6.291.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.291.0](https://github.com/tillhub/schemas/compare/v6.290.0...v6.291.0) (2024-02-26)
2
+
3
+
4
+ ### Features
5
+
6
+ * **configurations:** balances ([9053e0c](https://github.com/tillhub/schemas/commit/9053e0c))
7
+ * **configurations:** settings ([514bf1c](https://github.com/tillhub/schemas/commit/514bf1c))
8
+
9
+ # [6.290.0](https://github.com/tillhub/schemas/compare/v6.289.0...v6.290.0) (2024-02-15)
10
+
11
+
12
+ ### Features
13
+
14
+ * **customers:** fix linting issue ([27c4c5c](https://github.com/tillhub/schemas/commit/27c4c5c))
15
+ * **customers:** make customer lastname optional ([dc99d1a](https://github.com/tillhub/schemas/commit/dc99d1a))
16
+
1
17
  # [6.289.0](https://github.com/tillhub/schemas/compare/v6.288.0...v6.289.0) (2024-02-13)
2
18
 
3
19
 
@@ -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',
@@ -160,6 +160,18 @@ module.exports = {
160
160
  ],
161
161
  default: 'optional'
162
162
  },
163
+ signing_data_exports: oneOf({
164
+ type: 'object',
165
+ additionalProperties: false,
166
+ description: 'Defines if and how signing data should be exported alongside conducting a balance.',
167
+ properties: {
168
+ enabled: {
169
+ description: 'If true AND the signing type supports exports from the POS (tse_epson), the export dialog will be triggered.',
170
+ type: 'boolean',
171
+ default: true // clients using an Epson TSE will have this enabled when the POS application starts supporting the technology (iOS 4.30.0)
172
+ }
173
+ }
174
+ }),
163
175
  show_account_names: {
164
176
  description: 'Defines if account names are shown additionally to the numbers.',
165
177
  default: false,
@@ -132,6 +132,11 @@ module.exports = {
132
132
  maximum: 120
133
133
  }
134
134
  }
135
+ }),
136
+ allow_time_adjustment_for_archiving: oneOf({
137
+ description: 'defines if exports (archives only) should be tried for expired certificates, HANDLE WITH CARE',
138
+ type: 'boolean',
139
+ default: false
135
140
  })
136
141
  }
137
142
  }),
@@ -586,7 +591,8 @@ module.exports = {
586
591
  },
587
592
  only_self_sustained: {
588
593
  description: `Instruct clients to filter for types 'variant_product', 'product' and 'voucher'`,
589
- type: 'boolean'
594
+ type: 'boolean',
595
+ default: true
590
596
  }
591
597
  }
592
598
  },
@@ -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.291.0",
4
4
  "private": false,
5
5
  "description": "All Tillhub API OpenAPI 3 compatible JSON Schemas.",
6
6
  "main": "./lib/index.js",