@tillhub/schemas 6.279.1 → 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 CHANGED
@@ -1,3 +1,18 @@
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
+
9
+ ## [6.279.2](https://github.com/tillhub/schemas/compare/v6.279.1...v6.279.2) (2024-01-18)
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * **reports:** Change report format from excel to xls ([#912](https://github.com/tillhub/schemas/issues/912)) ([c55d7a9](https://github.com/tillhub/schemas/commit/c55d7a9))
15
+
1
16
  ## [6.279.1](https://github.com/tillhub/schemas/compare/v6.279.0...v6.279.1) (2024-01-08)
2
17
 
3
18
 
@@ -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
@@ -14,7 +14,7 @@ module.exports = {
14
14
  format: anyOf({
15
15
  type: 'string',
16
16
  description: 'The format of the Report file',
17
- enum: ['csv', 'excel']
17
+ enum: ['csv', 'xls']
18
18
  }),
19
19
  enclosure: anyOf({
20
20
  type: 'string',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tillhub/schemas",
3
- "version": "6.279.1",
3
+ "version": "6.280.0",
4
4
  "private": false,
5
5
  "description": "All Tillhub API OpenAPI 3 compatible JSON Schemas.",
6
6
  "main": "./lib/index.js",