@tillhub/schemas 6.137.0 → 6.140.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.140.0](https://github.com/tillhub/schemas/compare/v6.139.0...v6.140.0) (2022-05-20)
2
+
3
+
4
+ ### Features
5
+
6
+ * **stocks:** Add delivery_note_refund value type column ([8a86607](https://github.com/tillhub/schemas/commit/8a86607))
7
+
8
+ # [6.139.0](https://github.com/tillhub/schemas/compare/v6.138.0...v6.139.0) (2022-05-17)
9
+
10
+
11
+ ### Features
12
+
13
+ * **configurations:** receipts ([296248d](https://github.com/tillhub/schemas/commit/296248d))
14
+
15
+ # [6.138.0](https://github.com/tillhub/schemas/compare/v6.137.0...v6.138.0) (2022-05-12)
16
+
17
+
18
+ ### Features
19
+
20
+ * **voucher_systems:** Add ?q= search to Voucher Systems ([#702](https://github.com/tillhub/schemas/issues/702)) ([0911a9f](https://github.com/tillhub/schemas/commit/0911a9f))
21
+
1
22
  # [6.137.0](https://github.com/tillhub/schemas/compare/v6.136.1...v6.137.0) (2022-05-11)
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
  },
@@ -20,5 +20,10 @@ module.exports = {
20
20
  'true',
21
21
  'false'
22
22
  ]
23
+ },
24
+ q: {
25
+ description: 'Search by voucher system name, with a partial match',
26
+ example: 'abocard',
27
+ type: 'string'
23
28
  }
24
29
  }
@@ -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',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tillhub/schemas",
3
- "version": "6.137.0",
3
+ "version": "6.140.0",
4
4
  "private": false,
5
5
  "description": "All Tillhub API OpenAPI 3 compatible JSON Schemas.",
6
6
  "main": "./lib/index.js",