@tillhub/schemas 6.279.2 → 6.280.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 +8 -0
- package/lib/v1/branches/read.js +36 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
# [6.280.0](https://github.com/tillhub/schemas/compare/v6.279.2...v6.280.0) (2024-01-25)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **branches:** extend v1 ([687d291](https://github.com/tillhub/schemas/commit/687d291))
|
|
7
|
+
* **branches:** extender properties for branches v1 ([c9e8aed](https://github.com/tillhub/schemas/commit/c9e8aed))
|
|
8
|
+
|
|
1
9
|
## [6.279.2](https://github.com/tillhub/schemas/compare/v6.279.1...v6.279.2) (2024-01-18)
|
|
2
10
|
|
|
3
11
|
|
package/lib/v1/branches/read.js
CHANGED
|
@@ -4,10 +4,46 @@ const { all } = require('../../v0/branches/read')
|
|
|
4
4
|
module.exports.all = {
|
|
5
5
|
query: {
|
|
6
6
|
...all.query,
|
|
7
|
+
properties: {
|
|
8
|
+
...all.query.properties,
|
|
9
|
+
...{
|
|
10
|
+
extended: {
|
|
11
|
+
description: 'Return mms branches extended information',
|
|
12
|
+
example: 'true',
|
|
13
|
+
type: 'string',
|
|
14
|
+
enum: ['true', 'false']
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
},
|
|
7
18
|
$id: 'https://schemas.tillhub.com/v1/branches.read.all.query.schema.json'
|
|
8
19
|
},
|
|
9
20
|
response: {
|
|
10
21
|
...all.response,
|
|
22
|
+
properties: {
|
|
23
|
+
...all.response.properties,
|
|
24
|
+
...{
|
|
25
|
+
mms_id: {
|
|
26
|
+
description: 'Id from mms branch',
|
|
27
|
+
example: '0e3da0e5-be16-4085-964d-19655070b714',
|
|
28
|
+
type: 'string'
|
|
29
|
+
},
|
|
30
|
+
mms_state: {
|
|
31
|
+
description: 'State from mms branch',
|
|
32
|
+
example: '10785',
|
|
33
|
+
type: 'ACTIVE'
|
|
34
|
+
},
|
|
35
|
+
mms_type: {
|
|
36
|
+
description: 'Type from mms branch',
|
|
37
|
+
example: 'POS_BRANCH',
|
|
38
|
+
type: 'string'
|
|
39
|
+
},
|
|
40
|
+
mms_unit_unzer_id: {
|
|
41
|
+
description: 'Unit unzer id from mms branch',
|
|
42
|
+
example: 'UZ4453975',
|
|
43
|
+
type: 'string'
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
},
|
|
11
47
|
$id: 'https://schemas.tillhub.com/v1/branches.read.all.response.schema.json',
|
|
12
48
|
...commonResponse({
|
|
13
49
|
resultItems: all.response.properties.results.items
|