@tillhub/schemas 6.219.0 → 6.221.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.221.0](https://github.com/tillhub/schemas/compare/v6.220.0...v6.221.0) (2023-06-18)
2
+
3
+
4
+ ### Features
5
+
6
+ * **purchase-orders:** Get full name of user, who creates purchase order ([#811](https://github.com/tillhub/schemas/issues/811)) ([c31f83e](https://github.com/tillhub/schemas/commit/c31f83e))
7
+
8
+ # [6.220.0](https://github.com/tillhub/schemas/compare/v6.219.0...v6.220.0) (2023-06-14)
9
+
10
+
11
+ ### Features
12
+
13
+ * **configurations:** balances ([9840b4f](https://github.com/tillhub/schemas/commit/9840b4f))
14
+
1
15
  # [6.219.0](https://github.com/tillhub/schemas/compare/v6.218.0...v6.219.0) (2023-06-13)
2
16
 
3
17
 
@@ -40,7 +40,14 @@ module.exports = {
40
40
  ]
41
41
  },
42
42
  createdBy: {
43
- type: 'string'
43
+ anyOf: [
44
+ {
45
+ type: 'string'
46
+ },
47
+ {
48
+ type: 'null'
49
+ }
50
+ ]
44
51
  },
45
52
  creatorFullName: {
46
53
  type: 'string'
@@ -254,7 +261,7 @@ module.exports = {
254
261
  'company_name'
255
262
  ]
256
263
  },
257
- businessParnter: {
264
+ businessPartner: {
258
265
  type: 'object',
259
266
  properties: {
260
267
  id: {
@@ -147,7 +147,8 @@ module.exports = {
147
147
  'none',
148
148
  'optional',
149
149
  'required'
150
- ]
150
+ ],
151
+ default: 'optional'
151
152
  },
152
153
  bank_expense: {
153
154
  description: 'Defines if a bank expense is required within conducting the balance (if register cash > 0).',
@@ -156,7 +157,8 @@ module.exports = {
156
157
  'none',
157
158
  'optional',
158
159
  'required'
159
- ]
160
+ ],
161
+ default: 'optional'
160
162
  },
161
163
  show_account_names: {
162
164
  description: 'Defines if account names are shown additionally to the numbers.',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tillhub/schemas",
3
- "version": "6.219.0",
3
+ "version": "6.221.0",
4
4
  "private": false,
5
5
  "description": "All Tillhub API OpenAPI 3 compatible JSON Schemas.",
6
6
  "main": "./lib/index.js",