@tillhub/schemas 6.151.0 → 6.151.1
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,10 @@
|
|
|
1
|
+
## [6.151.1](https://github.com/tillhub/schemas/compare/v6.151.0...v6.151.1) (2022-08-03)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **configurations:** transactions ([de90a47](https://github.com/tillhub/schemas/commit/de90a47))
|
|
7
|
+
|
|
1
8
|
# [6.151.0](https://github.com/tillhub/schemas/compare/v6.150.0...v6.151.0) (2022-08-03)
|
|
2
9
|
|
|
3
10
|
|
|
@@ -3,22 +3,22 @@ const { oneOf } = require('../../../helpers/payload-or-null')
|
|
|
3
3
|
module.exports = {
|
|
4
4
|
type: 'object',
|
|
5
5
|
properties: {
|
|
6
|
-
cross_register_refunding: {
|
|
6
|
+
cross_register_refunding: oneOf({
|
|
7
7
|
description: 'Allows refunding transactions from different registers in the same branch',
|
|
8
8
|
type: 'boolean',
|
|
9
9
|
default: false
|
|
10
|
-
},
|
|
11
|
-
cross_branch_refunding: {
|
|
10
|
+
}),
|
|
11
|
+
cross_branch_refunding: oneOf({
|
|
12
12
|
description: 'Allows refunding transactions from different branches',
|
|
13
13
|
type: 'boolean',
|
|
14
14
|
default: false
|
|
15
|
-
},
|
|
15
|
+
}),
|
|
16
16
|
refund_reason_required: oneOf({
|
|
17
17
|
type: 'boolean',
|
|
18
18
|
description: 'Defines if reasons are mandatory for refunding items from a previous transaction',
|
|
19
19
|
default: true
|
|
20
20
|
}),
|
|
21
|
-
signing: {
|
|
21
|
+
signing: oneOf({
|
|
22
22
|
type: 'object',
|
|
23
23
|
description: 'Decides if and how transactions will be fiscally signed and where the specific configuration can be found',
|
|
24
24
|
properties: {
|
|
@@ -42,11 +42,11 @@ module.exports = {
|
|
|
42
42
|
]
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
|
-
},
|
|
46
|
-
history: {
|
|
45
|
+
}),
|
|
46
|
+
history: oneOf({
|
|
47
47
|
type: 'object',
|
|
48
48
|
properties: {
|
|
49
|
-
range: {
|
|
49
|
+
range: oneOf({
|
|
50
50
|
description: 'Transactions created before (Now() - Range) are not guaranteed to be kept on the client (e.g. older ones will be deleted).',
|
|
51
51
|
type: 'object',
|
|
52
52
|
properties: {
|
|
@@ -70,15 +70,15 @@ module.exports = {
|
|
|
70
70
|
default: 2
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
|
-
},
|
|
74
|
-
max_count: {
|
|
73
|
+
}),
|
|
74
|
+
max_count: oneOf({
|
|
75
75
|
description: 'Maximum number of transactions that are kept on the client.',
|
|
76
76
|
type: 'integer',
|
|
77
77
|
minimum: 1,
|
|
78
78
|
maximum: 75000,
|
|
79
79
|
default: 20000
|
|
80
|
-
}
|
|
80
|
+
})
|
|
81
81
|
}
|
|
82
|
-
}
|
|
82
|
+
})
|
|
83
83
|
}
|
|
84
84
|
}
|