@tillhub/schemas 6.138.0 → 6.141.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,24 @@
1
+ # [6.141.0](https://github.com/tillhub/schemas/compare/v6.140.0...v6.141.0) (2022-05-30)
2
+
3
+
4
+ ### Features
5
+
6
+ * **configurations:** order_receipts ([f9d5f14](https://github.com/tillhub/schemas/commit/f9d5f14))
7
+
8
+ # [6.140.0](https://github.com/tillhub/schemas/compare/v6.139.0...v6.140.0) (2022-05-20)
9
+
10
+
11
+ ### Features
12
+
13
+ * **stocks:** Add delivery_note_refund value type column ([8a86607](https://github.com/tillhub/schemas/commit/8a86607))
14
+
15
+ # [6.139.0](https://github.com/tillhub/schemas/compare/v6.138.0...v6.139.0) (2022-05-17)
16
+
17
+
18
+ ### Features
19
+
20
+ * **configurations:** receipts ([296248d](https://github.com/tillhub/schemas/commit/296248d))
21
+
1
22
  # [6.138.0](https://github.com/tillhub/schemas/compare/v6.137.0...v6.138.0) (2022-05-12)
2
23
 
3
24
 
@@ -36,6 +36,7 @@ module.exports = {
36
36
  anyOf: [
37
37
  {
38
38
  type: 'string',
39
+ description: 'The type of movement for the change in stock',
39
40
  'enum': [
40
41
  'goods_in',
41
42
  'goods_out',
@@ -44,6 +45,7 @@ module.exports = {
44
45
  'cancellation',
45
46
  'refund',
46
47
  'delivery_note',
48
+ 'delivery_note_refund',
47
49
  'delivery_note_cancellation'
48
50
  ]
49
51
  },
@@ -16,6 +16,11 @@ const commonReceipt = {
16
16
  type: 'boolean',
17
17
  default: true
18
18
  }),
19
+ print_branch_footer_image: oneOf({
20
+ description: 'Defines if the branch footer image will be printed (for types that support it)',
21
+ type: 'boolean',
22
+ default: true // false for expenses, balance
23
+ }),
19
24
  print_cashier_policy: oneOf({
20
25
  description: 'Defines if and how the cashier will be printed on the receipt',
21
26
  type: 'string',
@@ -364,6 +369,14 @@ module.exports = oneOf({
364
369
  type: 'boolean',
365
370
  default: true
366
371
  },
372
+ size_type: oneOf({
373
+ type: 'string',
374
+ enum: [
375
+ 'regular',
376
+ 'large'
377
+ ],
378
+ default: 'large'
379
+ }),
367
380
  triggers: oneOf({
368
381
  type: 'object',
369
382
  additionalProperties: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tillhub/schemas",
3
- "version": "6.138.0",
3
+ "version": "6.141.0",
4
4
  "private": false,
5
5
  "description": "All Tillhub API OpenAPI 3 compatible JSON Schemas.",
6
6
  "main": "./lib/index.js",