@tillhub/schemas 6.272.0 → 6.273.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 +8 -0
- package/lib/v1/registers/base.js +29 -36
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
# [6.273.0](https://github.com/tillhub/schemas/compare/v6.272.0...v6.273.0) (2023-11-02)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **fiskaly:** add branch signing_configuration ([8f1e7ad](https://github.com/tillhub/schemas/commit/8f1e7ad))
|
|
7
|
+
* **fiskaly:** rollback the last change ([1994f22](https://github.com/tillhub/schemas/commit/1994f22))
|
|
8
|
+
|
|
1
9
|
# [6.272.0](https://github.com/tillhub/schemas/compare/v6.271.0...v6.272.0) (2023-11-02)
|
|
2
10
|
|
|
3
11
|
|
package/lib/v1/registers/base.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const { stripIndents } = require('common-tags')
|
|
2
|
-
const { oneOf } = require('../../helpers/payload-or-null')
|
|
2
|
+
const { oneOf, anyOf } = require('../../helpers/payload-or-null')
|
|
3
3
|
|
|
4
4
|
const countingDecision = require('../../common/counting_decision')
|
|
5
5
|
|
|
@@ -167,50 +167,43 @@ module.exports = {
|
|
|
167
167
|
type: 'boolean',
|
|
168
168
|
default: false
|
|
169
169
|
},
|
|
170
|
-
fiscal_signing_admin_config: {
|
|
171
|
-
|
|
172
|
-
|
|
170
|
+
fiscal_signing_admin_config: anyOf({
|
|
171
|
+
type: 'object',
|
|
172
|
+
additionalProperties: false,
|
|
173
|
+
properties: {
|
|
174
|
+
resource: {
|
|
175
|
+
type: 'string',
|
|
176
|
+
description: 'fiskaly cash register id',
|
|
177
|
+
example: 'uuid'
|
|
178
|
+
},
|
|
179
|
+
signature_type: {
|
|
180
|
+
type: 'string',
|
|
181
|
+
description: 'type of the signature',
|
|
182
|
+
example: 'at_fiskaly'
|
|
183
|
+
},
|
|
184
|
+
fiskaly: {
|
|
173
185
|
type: 'object',
|
|
174
|
-
|
|
186
|
+
description: 'fiskaly meta data',
|
|
175
187
|
properties: {
|
|
176
|
-
|
|
188
|
+
state: {
|
|
177
189
|
type: 'string',
|
|
178
|
-
description: 'fiskaly cash register
|
|
179
|
-
example: '
|
|
190
|
+
description: 'state of the fiskaly cash register',
|
|
191
|
+
example: 'CREATED'
|
|
180
192
|
},
|
|
181
|
-
|
|
193
|
+
serial_number: {
|
|
182
194
|
type: 'string',
|
|
183
|
-
description: '
|
|
184
|
-
example: '
|
|
195
|
+
description: 'serial number of the fiskaly cash register',
|
|
196
|
+
example: 'serial-number'
|
|
185
197
|
},
|
|
186
|
-
|
|
187
|
-
type: '
|
|
188
|
-
description: 'fiskaly
|
|
189
|
-
|
|
190
|
-
state: {
|
|
191
|
-
type: 'string',
|
|
192
|
-
description: 'state of the fiskaly cash register',
|
|
193
|
-
example: 'CREATED'
|
|
194
|
-
},
|
|
195
|
-
serial_number: {
|
|
196
|
-
type: 'string',
|
|
197
|
-
description: 'serial number of the fiskaly cash register',
|
|
198
|
-
example: 'serial-number'
|
|
199
|
-
},
|
|
200
|
-
turnover_counter: {
|
|
201
|
-
type: 'string',
|
|
202
|
-
description: 'turnover counter of the fiskaly cash register',
|
|
203
|
-
example: '12.311'
|
|
204
|
-
}
|
|
205
|
-
}
|
|
198
|
+
turnover_counter: {
|
|
199
|
+
type: 'string',
|
|
200
|
+
description: 'turnover counter of the fiskaly cash register',
|
|
201
|
+
example: '12.311'
|
|
206
202
|
}
|
|
207
203
|
}
|
|
208
|
-
},
|
|
209
|
-
{
|
|
210
|
-
type: 'null'
|
|
211
204
|
}
|
|
212
|
-
|
|
213
|
-
},
|
|
205
|
+
}
|
|
206
|
+
}),
|
|
214
207
|
device_configuration: {
|
|
215
208
|
anyOf: [
|
|
216
209
|
{
|