@tillhub/schemas 6.210.0 → 6.212.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.212.0](https://github.com/tillhub/schemas/compare/v6.211.0...v6.212.0) (2023-04-25)
2
+
3
+
4
+ ### Features
5
+
6
+ * **mmsbranch:** fix objects to arrays & description ([924b5c5](https://github.com/tillhub/schemas/commit/924b5c5))
7
+
8
+ # [6.211.0](https://github.com/tillhub/schemas/compare/v6.210.0...v6.211.0) (2023-04-25)
9
+
10
+
11
+ ### Features
12
+
13
+ * **branch-mms:** missing deleted_by ([6683f7d](https://github.com/tillhub/schemas/commit/6683f7d))
14
+
1
15
  # [6.210.0](https://github.com/tillhub/schemas/compare/v6.209.0...v6.210.0) (2023-04-25)
2
16
 
3
17
 
@@ -12,13 +12,19 @@ module.exports = {
12
12
  format: 'uuid'
13
13
  }),
14
14
  created_by: oneOf({
15
- description: 'When was created the branch in Mms.',
15
+ description: 'Who created the branch in Mms.',
16
16
  type: 'string',
17
17
  maxLength: 255,
18
18
  minLength: 1
19
19
  }),
20
20
  updated_by: oneOf({
21
- description: 'Last time it was updated in Mms.',
21
+ description: 'Who updated the branch for the last time in Mms.',
22
+ type: 'string',
23
+ maxLength: 255,
24
+ minLength: 1
25
+ }),
26
+ deleted_by: oneOf({
27
+ description: 'Who deleted the branch in Mms.',
22
28
  type: 'string',
23
29
  maxLength: 255,
24
30
  minLength: 1
@@ -113,11 +119,17 @@ module.exports = {
113
119
  }),
114
120
  contacts: oneOf({
115
121
  description: 'The contacts.',
116
- type: 'object'
122
+ type: 'array',
123
+ items: {
124
+ type: 'object'
125
+ }
117
126
  }),
118
127
  unzer_identifier_records: oneOf({
119
128
  description: 'The unzer identifier records.',
120
- type: 'object'
129
+ type: 'array',
130
+ items: {
131
+ type: 'object'
132
+ }
121
133
  }),
122
134
  state: oneOf({
123
135
  description: 'The state.',
@@ -127,7 +139,10 @@ module.exports = {
127
139
  }),
128
140
  contracts: oneOf({
129
141
  description: 'The contracts.',
130
- type: 'object'
142
+ type: 'array',
143
+ items: {
144
+ type: 'object'
145
+ }
131
146
  }),
132
147
  units: oneOf({
133
148
  description: 'The uuids of units.',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tillhub/schemas",
3
- "version": "6.210.0",
3
+ "version": "6.212.0",
4
4
  "private": false,
5
5
  "description": "All Tillhub API OpenAPI 3 compatible JSON Schemas.",
6
6
  "main": "./lib/index.js",