@tillhub/schemas 6.148.0 → 6.151.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,31 @@
1
+ # [6.151.0](https://github.com/tillhub/schemas/compare/v6.150.0...v6.151.0) (2022-08-03)
2
+
3
+
4
+ ### Features
5
+
6
+ * **interfaces:** add epsonFpIt (Epson Fiscal Printer - Italy) ([2014457](https://github.com/tillhub/schemas/commit/2014457))
7
+ * **staff:** Add Staff filter to Staff report ([#717](https://github.com/tillhub/schemas/issues/717)) ([63bf4b8](https://github.com/tillhub/schemas/commit/63bf4b8))
8
+
9
+ # [6.150.0](https://github.com/tillhub/schemas/compare/v6.149.0...v6.150.0) (2022-07-26)
10
+
11
+
12
+ ### Features
13
+
14
+ * **register:** add example for unit ([ca3a118](https://github.com/tillhub/schemas/commit/ca3a118))
15
+ * **register:** add example for unit ([57e5f77](https://github.com/tillhub/schemas/commit/57e5f77))
16
+ * **register:** add ip address ([34faae2](https://github.com/tillhub/schemas/commit/34faae2))
17
+ * **register:** added Italian fiscal config ([c6a73a7](https://github.com/tillhub/schemas/commit/c6a73a7))
18
+ * **register:** added Italian fiscal config ([dc8347b](https://github.com/tillhub/schemas/commit/dc8347b))
19
+ * **register:** added unit to configuration ([b8459f3](https://github.com/tillhub/schemas/commit/b8459f3))
20
+ * **register:** fix description for epson fiscal printer ([f78a52a](https://github.com/tillhub/schemas/commit/f78a52a))
21
+
22
+ # [6.149.0](https://github.com/tillhub/schemas/compare/v6.148.0...v6.149.0) (2022-07-13)
23
+
24
+
25
+ ### Features
26
+
27
+ * **favourites:** deprecate banches ([a5f1db1](https://github.com/tillhub/schemas/commit/a5f1db1))
28
+
1
29
  # [6.148.0](https://github.com/tillhub/schemas/compare/v6.147.0...v6.148.0) (2022-07-13)
2
30
 
3
31
 
@@ -13,6 +13,11 @@ module.exports.request = {
13
13
  'branch': {
14
14
  'type': 'string',
15
15
  'format': 'uuid'
16
+ },
17
+ 'staff_number': {
18
+ 'type': 'string',
19
+ 'minLength': 1,
20
+ 'maxLength': 64
16
21
  }
17
22
  },
18
23
  'required': []
@@ -93,6 +93,7 @@ const favourite = {
93
93
  },
94
94
  branches: {
95
95
  ...oneOf([{
96
+ description: 'DEPRECATED. Set null or ignore. Use locations. In case of using it, it will redirect the value to locations',
96
97
  type: 'array',
97
98
  items: {
98
99
  type: 'string',
@@ -70,6 +70,15 @@ module.exports = {
70
70
  }
71
71
  })
72
72
  }
73
+ },
74
+ epson_fp_it: {
75
+ type: 'object',
76
+ properties: {
77
+ enabled: {
78
+ type: 'boolean',
79
+ default: false
80
+ }
81
+ }
73
82
  }
74
83
  }
75
84
  },
@@ -29,7 +29,8 @@ module.exports = {
29
29
  'fiskaltrust',
30
30
  'tse_fiskaly',
31
31
  'tse_epson',
32
- 'fr_NF525'
32
+ 'fr_NF525',
33
+ 'it_epson'
33
34
  ]
34
35
  },
35
36
  resource_type: {
@@ -177,7 +177,8 @@ module.exports = {
177
177
  'fiskaltrust',
178
178
  'tse_fiskaly',
179
179
  'tse_epson',
180
- 'fr_NF525'
180
+ 'fr_NF525',
181
+ 'it_epson'
181
182
  ]
182
183
  })
183
184
  },
@@ -314,6 +315,26 @@ module.exports = {
314
315
  }
315
316
  }
316
317
  },
318
+ {
319
+ type: 'object',
320
+ description: 'Configuration object for Italy: Epson Fiscal Printer',
321
+ properties: {
322
+ unit: {
323
+ ...oneOf({
324
+ type: 'string',
325
+ description: 'Eleven character ID of the signing unit (Epson.serialNumber) - should be updated after client is initialized',
326
+ example: '99IEB03890'
327
+ })
328
+ },
329
+ target: {
330
+ ...oneOf({
331
+ type: 'string',
332
+ description: 'IP address of the signing unit - should be updated after client is initialized',
333
+ example: '192.168.0.211'
334
+ })
335
+ }
336
+ }
337
+ },
317
338
  {
318
339
  type: 'null'
319
340
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tillhub/schemas",
3
- "version": "6.148.0",
3
+ "version": "6.151.0",
4
4
  "private": false,
5
5
  "description": "All Tillhub API OpenAPI 3 compatible JSON Schemas.",
6
6
  "main": "./lib/index.js",