@tillhub/schemas 6.161.0 → 6.163.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.163.0](https://github.com/tillhub/schemas/compare/v6.162.0...v6.163.0) (2022-09-29)
2
+
3
+
4
+ ### Features
5
+
6
+ * **client_account:** better documentation ([ab4ae8f](https://github.com/tillhub/schemas/commit/ab4ae8f))
7
+
8
+ # [6.162.0](https://github.com/tillhub/schemas/compare/v6.161.0...v6.162.0) (2022-09-29)
9
+
10
+
11
+ ### Features
12
+
13
+ * **client_account:** add preferred_initialization to configuration ([668b804](https://github.com/tillhub/schemas/commit/668b804))
14
+
1
15
  # [6.161.0](https://github.com/tillhub/schemas/compare/v6.160.0...v6.161.0) (2022-09-14)
2
16
 
3
17
 
@@ -24,6 +24,16 @@ module.exports = {
24
24
  test_account: {
25
25
  type: 'boolean'
26
26
  },
27
+ preferred_initialization: {
28
+ description: 'When local data ís missing - counting numbers can be initialized from the corresponding API table or - if available - from a secondary local storage (e.g. keychain on iOS)',
29
+ type: 'string',
30
+ enum: [
31
+ // ONLY on a fresh POS installation
32
+ 'remote', // API data will be considered as primary source of truth and keychain data is ignored even when available
33
+ 'local' // local data will be considered as primary source of truth, API will be considered in absence of local data
34
+ ],
35
+ default: 'remote'
36
+ },
27
37
  template: {
28
38
  type: 'string',
29
39
  'enum': [
@@ -702,8 +702,8 @@ module.exports = {
702
702
  type: 'string',
703
703
  enum: [
704
704
  // ONLY on a fresh POS installation
705
- 'remote', // API data will be considered as primaray source of truth and keychain data is ignored even when available
706
- 'local' // local data will be considered as primaray source of truth, API will be considered in absence of local data
705
+ 'remote', // API data will be considered as primary source of truth and keychain data is ignored even when available
706
+ 'local' // local data will be considered as primary source of truth, API will be considered in absence of local data
707
707
  ],
708
708
  default: 'remote'
709
709
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tillhub/schemas",
3
- "version": "6.161.0",
3
+ "version": "6.163.0",
4
4
  "private": false,
5
5
  "description": "All Tillhub API OpenAPI 3 compatible JSON Schemas.",
6
6
  "main": "./lib/index.js",