@tillhub/schemas 6.442.0 → 6.444.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,17 @@
|
|
|
1
|
+
# [6.444.0](https://github.com/tillhub/schemas/compare/v6.443.0...v6.444.0) (2026-06-12)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **mms-hierarchy:** schema for conections ([#1166](https://github.com/tillhub/schemas/issues/1166)) ([d48ad8d](https://github.com/tillhub/schemas/commit/d48ad8d))
|
|
7
|
+
|
|
8
|
+
# [6.443.0](https://github.com/tillhub/schemas/compare/v6.442.0...v6.443.0) (2026-06-12)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* **UNTIL-20591:** update bookable_online property to include default value and non-nullable ([#1165](https://github.com/tillhub/schemas/issues/1165)) ([4327164](https://github.com/tillhub/schemas/commit/4327164))
|
|
14
|
+
|
|
1
15
|
# [6.442.0](https://github.com/tillhub/schemas/compare/v6.441.0...v6.442.0) (2026-06-10)
|
|
2
16
|
|
|
3
17
|
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
const contact = {
|
|
2
|
+
type: 'object',
|
|
3
|
+
additionalProperties: false,
|
|
4
|
+
required: [
|
|
5
|
+
'roles',
|
|
6
|
+
'mmsId',
|
|
7
|
+
'email'
|
|
8
|
+
],
|
|
9
|
+
properties: {
|
|
10
|
+
roles: {
|
|
11
|
+
type: 'array',
|
|
12
|
+
minItems: 1,
|
|
13
|
+
items: {
|
|
14
|
+
type: 'string',
|
|
15
|
+
minLength: 1
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
mmsId: {
|
|
19
|
+
type: 'string',
|
|
20
|
+
minLength: 1
|
|
21
|
+
},
|
|
22
|
+
email: {
|
|
23
|
+
type: 'string',
|
|
24
|
+
format: 'email'
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
const connection = {
|
|
30
|
+
type: 'object',
|
|
31
|
+
additionalProperties: true,
|
|
32
|
+
required: [
|
|
33
|
+
'unzerId',
|
|
34
|
+
'contacts'
|
|
35
|
+
],
|
|
36
|
+
properties: {
|
|
37
|
+
unzerId: {
|
|
38
|
+
type: 'string',
|
|
39
|
+
minLength: 1
|
|
40
|
+
},
|
|
41
|
+
contacts: {
|
|
42
|
+
type: 'array',
|
|
43
|
+
minItems: 1,
|
|
44
|
+
items: contact
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
module.exports = {
|
|
50
|
+
$id: 'https://schemas.tillhub.com/v0/client_accounts.connections.schema.json',
|
|
51
|
+
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
52
|
+
type: 'object',
|
|
53
|
+
additionalProperties: false,
|
|
54
|
+
required: [
|
|
55
|
+
'connections'
|
|
56
|
+
],
|
|
57
|
+
properties: {
|
|
58
|
+
connections: {
|
|
59
|
+
type: 'object',
|
|
60
|
+
additionalProperties: false,
|
|
61
|
+
required: [
|
|
62
|
+
'hasAccessTo',
|
|
63
|
+
'accessibleBy'
|
|
64
|
+
],
|
|
65
|
+
properties: {
|
|
66
|
+
hasAccessTo: {
|
|
67
|
+
type: 'array',
|
|
68
|
+
items: connection
|
|
69
|
+
},
|
|
70
|
+
accessibleBy: {
|
|
71
|
+
type: 'array',
|
|
72
|
+
items: connection
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
@@ -37,10 +37,11 @@ module.exports = {
|
|
|
37
37
|
format: 'uuid'
|
|
38
38
|
}
|
|
39
39
|
}),
|
|
40
|
-
bookable_online:
|
|
40
|
+
bookable_online: {
|
|
41
41
|
description: 'Whether this service can be booked online. Defaults to true.',
|
|
42
|
-
type: 'boolean'
|
|
43
|
-
|
|
42
|
+
type: 'boolean',
|
|
43
|
+
default: true
|
|
44
|
+
}
|
|
44
45
|
},
|
|
45
46
|
required: ['name', 'duration', 'linked_product'],
|
|
46
47
|
$id: 'https://schemas.tillhub.com/v0/services.create.request.schema.json',
|
|
@@ -37,10 +37,10 @@ module.exports = {
|
|
|
37
37
|
format: 'uuid'
|
|
38
38
|
}
|
|
39
39
|
}),
|
|
40
|
-
bookable_online:
|
|
40
|
+
bookable_online: {
|
|
41
41
|
description: 'Whether this service can be booked online.',
|
|
42
42
|
type: 'boolean'
|
|
43
|
-
}
|
|
43
|
+
}
|
|
44
44
|
},
|
|
45
45
|
required: [],
|
|
46
46
|
$id: 'https://schemas.tillhub.com/v0/services.update.request.schema.json',
|