@tillhub/schemas 6.371.1 → 6.372.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,11 @@
1
+ # [6.372.0](https://github.com/tillhub/schemas/compare/v6.371.1...v6.372.0) (2025-04-10)
2
+
3
+
4
+ ### Features
5
+
6
+ * **configurations:** gastro ([1a560ba](https://github.com/tillhub/schemas/commit/1a560ba))
7
+ * **configurations:** gastro ([591ba46](https://github.com/tillhub/schemas/commit/591ba46))
8
+
1
9
  ## [6.371.1](https://github.com/tillhub/schemas/compare/v6.371.0...v6.371.1) (2025-03-21)
2
10
 
3
11
 
@@ -75,6 +75,66 @@ module.exports = {
75
75
  default: 'false'
76
76
  })
77
77
  }
78
+ }),
79
+ synch: oneOf({
80
+ type: 'object',
81
+ additionalProperties: false,
82
+ properties: {
83
+ enabled: {
84
+ description: 'Specifies if orders will be synched via the carts-API',
85
+ type: 'boolean',
86
+ default: false
87
+ }
88
+ }
89
+ }),
90
+ numbers: oneOf({
91
+ type: 'object',
92
+ properties: {
93
+ reset_time: oneOf({
94
+ type: 'string',
95
+ pattern: '([0-1][0-9]|2[0-3]):[0-5][0-9]',
96
+ example: '09:15',
97
+ description: 'daytime when order numbers will be reset, counting starts from 1 afterwards - only with multi iPad Synch enabled',
98
+ default: '04:00'
99
+ })
100
+ }
101
+ }),
102
+ history: oneOf({
103
+ type: 'object',
104
+ properties: {
105
+ range: oneOf({
106
+ description: 'Sold orders created before (Now() - Range) will be deleted from the client database.',
107
+ type: 'object',
108
+ properties: {
109
+ unit: {
110
+ description: 'Unit of the range.',
111
+ type: 'string',
112
+ enum: [
113
+ 'hours',
114
+ 'days',
115
+ 'weeks',
116
+ 'months',
117
+ 'years'
118
+ ],
119
+ default: 'days'
120
+ },
121
+ value: {
122
+ description: 'The value of the range, defines a timeframe together with the set unit.',
123
+ type: 'integer',
124
+ minimum: 1,
125
+ maximum: 500,
126
+ default: 2
127
+ }
128
+ }
129
+ }),
130
+ max_count: oneOf({
131
+ description: 'Maximum number of transactions that are kept on the client.',
132
+ type: 'integer',
133
+ minimum: 1,
134
+ maximum: 75000,
135
+ default: 2000
136
+ })
137
+ }
78
138
  })
79
139
  }
80
140
  })
@@ -214,7 +214,7 @@ module.exports = {
214
214
  ...oneOf({
215
215
  type: 'string',
216
216
  description: 'The Apple Push Notification Service (APNS) token that can be used to send push notifications to the device',
217
- example: 'da6f9c820ca73df7680675134b64641f46520a0ee0e93b15b25cf131cb2e29f6'
217
+ example: 'eb6f9c820ac73df7680675134b64641f46520a0ee0e93b15b25cf131cb2e29f6'
218
218
  })
219
219
  },
220
220
  bundle_id: {
@@ -305,12 +305,12 @@ module.exports = {
305
305
  api_key: {
306
306
  type: 'string',
307
307
  description: 'Per fiskaly account: key for their API',
308
- example: 'test_dttfadyyenial79q8yga9ww0k_tillhub'
308
+ example: 'test_7w38468236aksjobf8yga9wwz_tillhub'
309
309
  },
310
310
  api_secret: {
311
311
  type: 'string',
312
312
  description: 'Per fiskaly account: secret for their API',
313
- example: 'QmSgQtMNfm0uZjVedM1BvqGRIQ3D9wjclLYDZcXPZve'
313
+ example: '67askjdhfg76k34j5hsdfg87r34jclLYDZcXPZve'
314
314
  },
315
315
  api_version: {
316
316
  ...oneOf({
@@ -368,7 +368,7 @@ module.exports = {
368
368
  ...oneOf({
369
369
  type: 'string',
370
370
  description: 'ID of the signing unit (Epson.serialNumber) - should be updated after client is initialized',
371
- example: 'soTFFH9xiZP9JYWCPRgvpw6xhZ3ttbWDjfS4ky4AMEk='
371
+ example: 'soTFasd9xasdYWCPskfhw6xhZ3ttbWDjfS4ky4AMEk='
372
372
  })
373
373
  },
374
374
  target: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tillhub/schemas",
3
- "version": "6.371.1",
3
+ "version": "6.372.0",
4
4
  "private": false,
5
5
  "description": "All Tillhub API OpenAPI 3 compatible JSON Schemas.",
6
6
  "main": "./lib/index.js",