@tillhub/schemas 6.306.0 → 6.306.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,11 @@
|
|
|
1
|
+
## [6.306.1](https://github.com/tillhub/schemas/compare/v6.306.0...v6.306.1) (2024-04-26)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **full-receipts:** add the dynamic footer feature ([#942](https://github.com/tillhub/schemas/issues/942)) ([5de7c09](https://github.com/tillhub/schemas/commit/5de7c09))
|
|
7
|
+
* **report:** add export_history permission ([#941](https://github.com/tillhub/schemas/issues/941)) ([8ffe02f](https://github.com/tillhub/schemas/commit/8ffe02f))
|
|
8
|
+
|
|
1
9
|
# [6.306.0](https://github.com/tillhub/schemas/compare/v6.305.0...v6.306.0) (2024-04-25)
|
|
2
10
|
|
|
3
11
|
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
const base = require('./base').base
|
|
2
2
|
const map = require('./map')
|
|
3
|
+
const footerItems = require('./footer-items')
|
|
3
4
|
const options = require('./base').options
|
|
4
5
|
|
|
5
6
|
module.exports.request = {
|
|
@@ -81,6 +82,9 @@ module.exports.request = {
|
|
|
81
82
|
map: {
|
|
82
83
|
...map
|
|
83
84
|
},
|
|
85
|
+
footer_items: {
|
|
86
|
+
...footerItems
|
|
87
|
+
},
|
|
84
88
|
location_and_date: {
|
|
85
89
|
type: 'string',
|
|
86
90
|
maxLength: 32
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
module.exports = {
|
|
2
|
+
type: 'object',
|
|
3
|
+
additionalProperties: false,
|
|
4
|
+
properties: {
|
|
5
|
+
location_and_date: {
|
|
6
|
+
type: 'object',
|
|
7
|
+
additionalProperties: false,
|
|
8
|
+
properties: {
|
|
9
|
+
default: {
|
|
10
|
+
oneOf: [
|
|
11
|
+
{
|
|
12
|
+
type: 'string'
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
type: 'null'
|
|
16
|
+
}
|
|
17
|
+
]
|
|
18
|
+
},
|
|
19
|
+
custom: {
|
|
20
|
+
oneOf: [
|
|
21
|
+
{
|
|
22
|
+
type: 'string'
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
type: 'null'
|
|
26
|
+
}
|
|
27
|
+
]
|
|
28
|
+
},
|
|
29
|
+
show: {
|
|
30
|
+
type: 'boolean',
|
|
31
|
+
default: true
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
signature: {
|
|
36
|
+
type: 'object',
|
|
37
|
+
additionalProperties: false,
|
|
38
|
+
properties: {
|
|
39
|
+
default: {
|
|
40
|
+
oneOf: [
|
|
41
|
+
{
|
|
42
|
+
type: 'string'
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
type: 'null'
|
|
46
|
+
}
|
|
47
|
+
]
|
|
48
|
+
},
|
|
49
|
+
custom: {
|
|
50
|
+
oneOf: [
|
|
51
|
+
{
|
|
52
|
+
type: 'string'
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
type: 'null'
|
|
56
|
+
}
|
|
57
|
+
]
|
|
58
|
+
},
|
|
59
|
+
show: {
|
|
60
|
+
type: 'boolean',
|
|
61
|
+
default: true
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
amount_received: {
|
|
66
|
+
type: 'object',
|
|
67
|
+
additionalProperties: false,
|
|
68
|
+
properties: {
|
|
69
|
+
default: {
|
|
70
|
+
oneOf: [
|
|
71
|
+
{
|
|
72
|
+
type: 'string'
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
type: 'null'
|
|
76
|
+
}
|
|
77
|
+
]
|
|
78
|
+
},
|
|
79
|
+
custom: {
|
|
80
|
+
oneOf: [
|
|
81
|
+
{
|
|
82
|
+
type: 'string'
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
type: 'null'
|
|
86
|
+
}
|
|
87
|
+
]
|
|
88
|
+
},
|
|
89
|
+
show: {
|
|
90
|
+
type: 'boolean',
|
|
91
|
+
default: true
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
package/lib/v1/templates/put.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
const base = require('./base').base
|
|
2
2
|
const map = require('./map')
|
|
3
|
+
const footerItems = require('./footer-items')
|
|
3
4
|
const options = require('./base').options
|
|
4
5
|
|
|
5
6
|
module.exports.request = {
|
|
@@ -106,6 +107,9 @@ module.exports.request = {
|
|
|
106
107
|
map: {
|
|
107
108
|
...map
|
|
108
109
|
},
|
|
110
|
+
footer_items: {
|
|
111
|
+
...footerItems
|
|
112
|
+
},
|
|
109
113
|
location_and_date: {
|
|
110
114
|
type: 'string',
|
|
111
115
|
maxLength: 32
|