@tillhub/schemas 6.308.2 → 6.310.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.310.0](https://github.com/tillhub/schemas/compare/v6.309.0...v6.310.0) (2024-05-27)
2
+
3
+
4
+ ### Features
5
+
6
+ * **configurations:** rename payment_options to payment_methods ([10ea70a](https://github.com/tillhub/schemas/commit/10ea70a))
7
+
8
+ # [6.309.0](https://github.com/tillhub/schemas/compare/v6.308.2...v6.309.0) (2024-05-24)
9
+
10
+
11
+ ### Features
12
+
13
+ * **configurations:** stock ([0f8f5ba](https://github.com/tillhub/schemas/commit/0f8f5ba))
14
+
1
15
  ## [6.308.2](https://github.com/tillhub/schemas/compare/v6.308.1...v6.308.2) (2024-05-21)
2
16
 
3
17
 
@@ -64,15 +64,37 @@ module.exports = {
64
64
  default: false
65
65
  }),
66
66
  reference_enabled: oneOf({
67
+ deprecated: true,
67
68
  type: 'boolean',
68
69
  description: 'Defines if delivery note reference should be requested for changing stock',
69
70
  default: false
70
71
  }),
71
72
  reference_required: oneOf({
73
+ deprecated: true,
72
74
  type: 'boolean',
73
75
  description: 'Defines if delivery note reference is mandatory for changing stock',
74
76
  default: false
75
77
  }),
78
+ increment_reference: oneOf({
79
+ description: 'Defines how a delivery note reference will be requested when incrementing stock',
80
+ type: 'string',
81
+ enum: [
82
+ 'none',
83
+ 'optional',
84
+ 'required'
85
+ ],
86
+ default: 'none'
87
+ }),
88
+ decrement_reference: oneOf({
89
+ description: 'Defines how a delivery note reference will be requested when decrementing stock',
90
+ type: 'string',
91
+ enum: [
92
+ 'none',
93
+ 'optional',
94
+ 'required'
95
+ ],
96
+ default: 'none'
97
+ }),
76
98
  reference_format: {
77
99
  description: 'The format of the delivery note reference that is being validated against the input',
78
100
  type: 'string',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tillhub/schemas",
3
- "version": "6.308.2",
3
+ "version": "6.310.0",
4
4
  "private": false,
5
5
  "description": "All Tillhub API OpenAPI 3 compatible JSON Schemas.",
6
6
  "main": "./lib/index.js",