@tillhub/schemas 6.175.0 → 6.177.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
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
# [6.177.0](https://github.com/tillhub/schemas/compare/v6.176.0...v6.177.0) (2022-12-07)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **time_tracking:** add configuration and time tracking type ([12a473b](https://github.com/tillhub/schemas/commit/12a473b))
|
|
7
|
+
* **transactions:** add ros_id to order ([33cb95c](https://github.com/tillhub/schemas/commit/33cb95c))
|
|
8
|
+
|
|
9
|
+
# [6.176.0](https://github.com/tillhub/schemas/compare/v6.175.0...v6.176.0) (2022-11-24)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
* **configurations:** gastro ([28f5e8a](https://github.com/tillhub/schemas/commit/28f5e8a))
|
|
15
|
+
|
|
1
16
|
# [6.175.0](https://github.com/tillhub/schemas/compare/v6.174.0...v6.175.0) (2022-11-21)
|
|
2
17
|
|
|
3
18
|
|
|
@@ -1,7 +1,42 @@
|
|
|
1
|
+
const { oneOf } = require('../../../helpers/payload-or-null')
|
|
2
|
+
|
|
1
3
|
module.exports = {
|
|
2
4
|
enabled: {
|
|
3
5
|
type: 'boolean',
|
|
4
6
|
description: 'defines whether time tracking feature is active or not',
|
|
5
7
|
default: 'false'
|
|
8
|
+
},
|
|
9
|
+
type: {
|
|
10
|
+
...oneOf({
|
|
11
|
+
description: 'The time tracking type to use, e.g. Klier (without conf.) or in Auris (for Gidor)',
|
|
12
|
+
type: 'string',
|
|
13
|
+
default: 'klier',
|
|
14
|
+
enum: [
|
|
15
|
+
'klier',
|
|
16
|
+
'gidor'
|
|
17
|
+
]
|
|
18
|
+
})
|
|
19
|
+
},
|
|
20
|
+
configuration: {
|
|
21
|
+
description: 'Necessary for third party tracking types',
|
|
22
|
+
anyOf: [
|
|
23
|
+
{
|
|
24
|
+
type: 'object',
|
|
25
|
+
description: 'Configuration for (Auris) Gidor',
|
|
26
|
+
properties: {
|
|
27
|
+
url: {
|
|
28
|
+
...oneOf({
|
|
29
|
+
type: 'string',
|
|
30
|
+
description: 'A custom url for this time tracking feature',
|
|
31
|
+
example: 'https://cbms.gidor.ch:4442/Praesenzzeit/',
|
|
32
|
+
default: 'https://cbms.gidor.ch:4442/Praesenzzeit/'
|
|
33
|
+
})
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
type: 'null'
|
|
39
|
+
}
|
|
40
|
+
]
|
|
6
41
|
}
|
|
7
42
|
}
|