@tillhub/schemas 6.271.0 → 6.272.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 +7 -0
- package/lib/v1/registers/base.js +44 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [6.272.0](https://github.com/tillhub/schemas/compare/v6.271.0...v6.272.0) (2023-11-02)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **fiskaly:** schema validation to update fiskaly information in the register ([#892](https://github.com/tillhub/schemas/issues/892)) ([a2da4e3](https://github.com/tillhub/schemas/commit/a2da4e3))
|
|
7
|
+
|
|
1
8
|
# [6.271.0](https://github.com/tillhub/schemas/compare/v6.270.0...v6.271.0) (2023-10-31)
|
|
2
9
|
|
|
3
10
|
|
package/lib/v1/registers/base.js
CHANGED
|
@@ -167,6 +167,50 @@ module.exports = {
|
|
|
167
167
|
type: 'boolean',
|
|
168
168
|
default: false
|
|
169
169
|
},
|
|
170
|
+
fiscal_signing_admin_config: {
|
|
171
|
+
anyOf: [
|
|
172
|
+
{
|
|
173
|
+
type: 'object',
|
|
174
|
+
additionalProperties: false,
|
|
175
|
+
properties: {
|
|
176
|
+
resource: {
|
|
177
|
+
type: 'string',
|
|
178
|
+
description: 'fiskaly cash register id',
|
|
179
|
+
example: 'uuid'
|
|
180
|
+
},
|
|
181
|
+
signature_type: {
|
|
182
|
+
type: 'string',
|
|
183
|
+
description: 'type of the signature',
|
|
184
|
+
example: 'at_fiskaly'
|
|
185
|
+
},
|
|
186
|
+
fiskaly: {
|
|
187
|
+
type: 'object',
|
|
188
|
+
description: 'fiskaly meta data',
|
|
189
|
+
properties: {
|
|
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
|
+
}
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
type: 'null'
|
|
211
|
+
}
|
|
212
|
+
]
|
|
213
|
+
},
|
|
170
214
|
device_configuration: {
|
|
171
215
|
anyOf: [
|
|
172
216
|
{
|