@tillhub/schemas 6.269.0 → 6.271.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 +24 -0
- package/lib/v0/branches/base.js +10 -1
- package/lib/v1/products/pricelist/response.js +10 -2
- package/lib/v1/registers/base.js +26 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,27 @@
|
|
|
1
|
+
# [6.271.0](https://github.com/tillhub/schemas/compare/v6.270.0...v6.271.0) (2023-10-31)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **at:** update fiscal configs ([4ecb0d7](https://github.com/tillhub/schemas/commit/4ecb0d7))
|
|
7
|
+
* **at:** update fiscal configs ([38d0e32](https://github.com/tillhub/schemas/commit/38d0e32))
|
|
8
|
+
* **at:** update fiscal configs ([373b87f](https://github.com/tillhub/schemas/commit/373b87f))
|
|
9
|
+
* **at:** update fiscal configs ([b79ba0a](https://github.com/tillhub/schemas/commit/b79ba0a))
|
|
10
|
+
* **fiscalization:** configurations ([63aef90](https://github.com/tillhub/schemas/commit/63aef90))
|
|
11
|
+
* **fiskalization:** at_fiskaly ([f321442](https://github.com/tillhub/schemas/commit/f321442))
|
|
12
|
+
|
|
13
|
+
# [6.270.0](https://github.com/tillhub/schemas/compare/v6.269.0...v6.270.0) (2023-10-26)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Bug Fixes
|
|
17
|
+
|
|
18
|
+
* **products:** pricelist ([68d37d1](https://github.com/tillhub/schemas/commit/68d37d1))
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Features
|
|
22
|
+
|
|
23
|
+
* **pricebook:** customer price book for pricelist ([678c133](https://github.com/tillhub/schemas/commit/678c133))
|
|
24
|
+
|
|
1
25
|
# [6.269.0](https://github.com/tillhub/schemas/compare/v6.268.0...v6.269.0) (2023-10-24)
|
|
2
26
|
|
|
3
27
|
|
package/lib/v0/branches/base.js
CHANGED
|
@@ -397,7 +397,16 @@ module.exports = {
|
|
|
397
397
|
anyOf: [
|
|
398
398
|
{
|
|
399
399
|
type: 'object',
|
|
400
|
-
description: '
|
|
400
|
+
description: 'Configuration object for Austria: Fiskaltrust - INCOMPLETE definition',
|
|
401
|
+
properties: {
|
|
402
|
+
signature_type: {
|
|
403
|
+
description: 'Any allowed singing system provider as type, currently only Austria has per-branch licensing.',
|
|
404
|
+
type: 'string',
|
|
405
|
+
enum: [
|
|
406
|
+
'fiskaltrust'
|
|
407
|
+
]
|
|
408
|
+
}
|
|
409
|
+
}
|
|
401
410
|
},
|
|
402
411
|
{
|
|
403
412
|
type: 'null'
|
|
@@ -11,10 +11,9 @@ module.exports = {
|
|
|
11
11
|
format: 'uuid'
|
|
12
12
|
},
|
|
13
13
|
type: {
|
|
14
|
-
description: '
|
|
14
|
+
description: 'The product prices type',
|
|
15
15
|
type: 'string',
|
|
16
16
|
enum: [
|
|
17
|
-
'customer', // defined by pricebook when of type 'customer'
|
|
18
17
|
'scaled', // defined by product
|
|
19
18
|
'branch', // defined by product
|
|
20
19
|
'time-based', // defined by pricebook-entry
|
|
@@ -22,6 +21,15 @@ module.exports = {
|
|
|
22
21
|
],
|
|
23
22
|
example: 'scaled'
|
|
24
23
|
},
|
|
24
|
+
price_book_type: oneOf({
|
|
25
|
+
description: 'The price book type',
|
|
26
|
+
type: 'string',
|
|
27
|
+
enum: [
|
|
28
|
+
'general', // price book is applied to every customer
|
|
29
|
+
'customer' // price book is bound to a specific customer
|
|
30
|
+
],
|
|
31
|
+
example: 'general'
|
|
32
|
+
}),
|
|
25
33
|
created_at: {
|
|
26
34
|
type: 'string',
|
|
27
35
|
format: 'date-time',
|
package/lib/v1/registers/base.js
CHANGED
|
@@ -377,6 +377,32 @@ module.exports = {
|
|
|
377
377
|
}
|
|
378
378
|
}
|
|
379
379
|
},
|
|
380
|
+
{
|
|
381
|
+
type: 'object',
|
|
382
|
+
description: 'Configuration object for Austria: Fiskaltrust',
|
|
383
|
+
properties: {
|
|
384
|
+
signature_type: {
|
|
385
|
+
description: 'The fiscal signing type to use - placeholder for future use',
|
|
386
|
+
type: 'string',
|
|
387
|
+
enum: [
|
|
388
|
+
'fiskaltrust'
|
|
389
|
+
]
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
type: 'object',
|
|
395
|
+
description: 'Configuration object for Austria: Fiskaly',
|
|
396
|
+
properties: {
|
|
397
|
+
signature_type: {
|
|
398
|
+
description: 'The fiscal signing type to use - placeholder for future use',
|
|
399
|
+
type: 'string',
|
|
400
|
+
enum: [
|
|
401
|
+
'at_fiskaly'
|
|
402
|
+
]
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
},
|
|
380
406
|
{
|
|
381
407
|
type: 'null'
|
|
382
408
|
}
|