@tillhub/schemas 6.241.0 → 6.242.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,10 @@
1
+ # [6.242.0](https://github.com/tillhub/schemas/compare/v6.241.0...v6.242.0) (2023-08-04)
2
+
3
+
4
+ ### Features
5
+
6
+ * **configurations:** receipts ([e897492](https://github.com/tillhub/schemas/commit/e897492))
7
+
1
8
  # [6.241.0](https://github.com/tillhub/schemas/compare/v6.240.1...v6.241.0) (2023-08-04)
2
9
 
3
10
 
@@ -187,6 +187,30 @@ const cartReceipt = {
187
187
  type: 'boolean',
188
188
  default: false
189
189
  }),
190
+ external_rewards: oneOf({
191
+ description: 'Defines external rewards printing',
192
+ type: 'object',
193
+ additionalProperties: false,
194
+ properties: {
195
+ enabled: {
196
+ description: 'States if external rewards information will be printed',
197
+ type: 'boolean',
198
+ default: false // maybe true on 'customer'
199
+ },
200
+ coop: oneOf({
201
+ description: 'Defines external rewards printing for coop',
202
+ type: 'object',
203
+ additionalProperties: false,
204
+ properties: {
205
+ print_balances: oneOf({
206
+ description: 'Defines if previous and anticipated balances will be printed',
207
+ type: 'boolean',
208
+ default: false
209
+ })
210
+ }
211
+ })
212
+ }
213
+ }),
190
214
  minimize_signing_footer: oneOf({
191
215
  description: 'Defines if signing footer is printed without any spaces and line breaks',
192
216
  type: 'boolean',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tillhub/schemas",
3
- "version": "6.241.0",
3
+ "version": "6.242.0",
4
4
  "private": false,
5
5
  "description": "All Tillhub API OpenAPI 3 compatible JSON Schemas.",
6
6
  "main": "./lib/index.js",