@tillhub/schemas 6.115.0 → 6.118.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,35 @@
1
+ # [6.118.0](https://github.com/tillhub/schemas/compare/v6.117.1...v6.118.0) (2022-02-10)
2
+
3
+
4
+ ### Features
5
+
6
+ * **configurations:** features ([d9ad71d](https://github.com/tillhub/schemas/commit/d9ad71d))
7
+ * **configurations:** gastro ([d977675](https://github.com/tillhub/schemas/commit/d977675))
8
+ * **configurations:** gastro ([71126be](https://github.com/tillhub/schemas/commit/71126be))
9
+
10
+ ## [6.117.1](https://github.com/tillhub/schemas/compare/v6.117.0...v6.117.1) (2022-02-09)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * **documentation:** fixing the circular dependency issue ([b1916ec](https://github.com/tillhub/schemas/commit/b1916ec))
16
+
17
+ # [6.117.0](https://github.com/tillhub/schemas/compare/v6.116.0...v6.117.0) (2022-02-08)
18
+
19
+
20
+ ### Features
21
+
22
+ * **carts:** customers ([abb5a1e](https://github.com/tillhub/schemas/commit/abb5a1e))
23
+ * **carts:** patch ([b370fac](https://github.com/tillhub/schemas/commit/b370fac))
24
+ * **delivery notes:** customer ([b8aedeb](https://github.com/tillhub/schemas/commit/b8aedeb))
25
+
26
+ # [6.116.0](https://github.com/tillhub/schemas/compare/v6.115.0...v6.116.0) (2022-01-25)
27
+
28
+
29
+ ### Features
30
+
31
+ * **scopes:** permissions ([16dfe70](https://github.com/tillhub/schemas/commit/16dfe70))
32
+
1
33
  # [6.115.0](https://github.com/tillhub/schemas/compare/v6.114.0...v6.115.0) (2022-01-20)
2
34
 
3
35
 
@@ -21,6 +21,8 @@ module.exports.staff = {
21
21
  'staff:staff:transactions:cancel:row',
22
22
  'staff:staff:transactions:prices',
23
23
  'staff:staff:transactions:qty',
24
+ 'staff:staff:transactions:qty:positive',
25
+ 'staff:staff:transactions:qty:negative',
24
26
  'staff:staff:transactions:cash_return',
25
27
  'staff:staff:transactions:vouchers',
26
28
  'staff:staff:transactions:print',
@@ -10,7 +10,7 @@ module.exports.children = {
10
10
  format: 'uuid'
11
11
  },
12
12
  children: {
13
- '$ref': '#/definitions/children'
13
+ type: 'object'
14
14
  }
15
15
  }
16
16
  }
@@ -16,6 +16,8 @@ module.exports = [
16
16
  'staff:staff:transactions:cancel:row',
17
17
  'staff:staff:transactions:prices',
18
18
  'staff:staff:transactions:qty',
19
+ 'staff:staff:transactions:qty:positive',
20
+ 'staff:staff:transactions:qty:negative',
19
21
  'staff:staff:transactions:cash_return',
20
22
  'staff:staff:transactions:vouchers',
21
23
  'staff:staff:transactions:print',
@@ -204,6 +204,17 @@ module.exports = {
204
204
  }
205
205
  ]
206
206
  },
207
+ customer_number: {
208
+ oneOf: [
209
+ {
210
+ type: 'string',
211
+ maxLength: 128
212
+ },
213
+ {
214
+ type: 'null'
215
+ }
216
+ ]
217
+ },
207
218
  name: {
208
219
  oneOf: [
209
220
  {
@@ -196,6 +196,17 @@ module.exports = {
196
196
  }
197
197
  ]
198
198
  },
199
+ customer_number: {
200
+ oneOf: [
201
+ {
202
+ type: 'string',
203
+ maxLength: 128
204
+ },
205
+ {
206
+ type: 'null'
207
+ }
208
+ ]
209
+ },
199
210
  name: {
200
211
  oneOf: [
201
212
  {
@@ -119,6 +119,18 @@ module.exports = oneOf({
119
119
  example: 'Regiondo',
120
120
  minLength: 2,
121
121
  maxLength: 24
122
+ },
123
+ log_level: {
124
+ description: 'defines the granularity of the web api logging.',
125
+ type: 'string',
126
+ enum: [
127
+ 'error',
128
+ 'warning',
129
+ 'info',
130
+ 'debug',
131
+ 'verbose' // request/response bodies
132
+ ],
133
+ default: 'info'
122
134
  }
123
135
  }
124
136
  })
@@ -46,6 +46,18 @@ module.exports = {
46
46
  minimum: 0,
47
47
  maximum: 3600,
48
48
  default: 25
49
+ },
50
+ log_level: {
51
+ description: 'defines the granularity of the local server logging.',
52
+ type: 'string',
53
+ enum: [
54
+ 'error',
55
+ 'warning',
56
+ 'info', // basic server info
57
+ 'debug', // basic request/response info
58
+ 'verbose' // request/response bodies
59
+ ],
60
+ default: 'info'
49
61
  }
50
62
  }
51
63
  }),
@@ -168,6 +168,17 @@ module.exports = {
168
168
  }
169
169
  ]
170
170
  },
171
+ customer_number: {
172
+ oneOf: [
173
+ {
174
+ type: 'string',
175
+ maxLength: 128
176
+ },
177
+ {
178
+ type: 'null'
179
+ }
180
+ ]
181
+ },
171
182
  name: {
172
183
  oneOf: [
173
184
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tillhub/schemas",
3
- "version": "6.115.0",
3
+ "version": "6.118.0",
4
4
  "private": false,
5
5
  "description": "All Tillhub API OpenAPI 3 compatible JSON Schemas.",
6
6
  "main": "./lib/index.js",