@tillhub/schemas 6.392.0 → 6.394.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.394.0](https://github.com/tillhub/schemas/compare/v6.393.0...v6.394.0) (2025-06-23)
2
+
3
+
4
+ ### Features
5
+
6
+ * **registers:** device_configuration ([6752dbf](https://github.com/tillhub/schemas/commit/6752dbf))
7
+
8
+ # [6.393.0](https://github.com/tillhub/schemas/compare/v6.392.0...v6.393.0) (2025-06-19)
9
+
10
+
11
+ ### Features
12
+
13
+ * **table-layout:** update schema to allow additional properties ([#1075](https://github.com/tillhub/schemas/issues/1075)) ([5b93713](https://github.com/tillhub/schemas/commit/5b93713))
14
+
1
15
  # [6.392.0](https://github.com/tillhub/schemas/compare/v6.391.0...v6.392.0) (2025-06-19)
2
16
 
3
17
 
@@ -2,6 +2,7 @@ const { stripIndents } = require('common-tags')
2
2
  const { oneOf, anyOf } = require('../../helpers/payload-or-null')
3
3
 
4
4
  const countingDecision = require('../../common/counting_decision')
5
+ const deviceInfo = require('../../common/device_info')
5
6
 
6
7
  module.exports = {
7
8
  name: {
@@ -441,7 +442,10 @@ module.exports = {
441
442
  type: 'null'
442
443
  }
443
444
  ]
444
- }
445
+ },
446
+ device_info: oneOf({
447
+ ...deviceInfo
448
+ })
445
449
  }
446
450
  },
447
451
  {
@@ -3,8 +3,14 @@ const base = require('./base')
3
3
  module.exports.request = {
4
4
  $id: 'https://schemas.tillhub.com/v0/table_layout.update.request.schema.json',
5
5
  $schema: 'http://json-schema.org/draft-07/schema#',
6
- additionalProperties: false,
6
+ additionalProperties: true,
7
7
  type: 'object',
8
8
  required: [],
9
- properties: base
9
+ properties: {
10
+ ...base,
11
+ tables_count: { // @TODO: remove this field
12
+ type: 'number',
13
+ default: 0
14
+ }
15
+ }
10
16
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tillhub/schemas",
3
- "version": "6.392.0",
3
+ "version": "6.394.0",
4
4
  "private": false,
5
5
  "description": "All Tillhub API OpenAPI 3 compatible JSON Schemas.",
6
6
  "main": "./lib/index.js",