@tillhub/schemas 6.89.1 → 6.90.2
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,31 @@
|
|
|
1
|
+
## [6.90.2](https://github.com/tillhub/schemas/compare/v6.90.1...v6.90.2) (2021-09-23)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **loyalty_systems:** adjust min value for abocard system validity pe… ([#624](https://github.com/tillhub/schemas/issues/624)) ([be1b62e](https://github.com/tillhub/schemas/commit/be1b62e)), closes [#API-1017](https://github.com/tillhub/schemas/issues/API-1017)
|
|
7
|
+
|
|
8
|
+
## [6.90.1](https://github.com/tillhub/schemas/compare/v6.90.0...v6.90.1) (2021-09-23)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **loyalty_systems:** add validity_period to abocard system #API-1017 ([e172dd2](https://github.com/tillhub/schemas/commit/e172dd2)), closes [#API-1017](https://github.com/tillhub/schemas/issues/API-1017)
|
|
14
|
+
|
|
15
|
+
# [6.90.0](https://github.com/tillhub/schemas/compare/v6.89.2...v6.90.0) (2021-09-22)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Features
|
|
19
|
+
|
|
20
|
+
* **configurations:** products ([#621](https://github.com/tillhub/schemas/issues/621)) ([ebc8268](https://github.com/tillhub/schemas/commit/ebc8268))
|
|
21
|
+
|
|
22
|
+
## [6.89.2](https://github.com/tillhub/schemas/compare/v6.89.1...v6.89.2) (2021-09-22)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Bug Fixes
|
|
26
|
+
|
|
27
|
+
* **loyalty_systems:** promote base object for base response for abocrds system #API-1017 ([5a8e7e4](https://github.com/tillhub/schemas/commit/5a8e7e4)), closes [#API-1017](https://github.com/tillhub/schemas/issues/API-1017)
|
|
28
|
+
|
|
1
29
|
## [6.89.1](https://github.com/tillhub/schemas/compare/v6.89.0...v6.89.1) (2021-09-21)
|
|
2
30
|
|
|
3
31
|
|
|
@@ -68,6 +68,30 @@ const request = {
|
|
|
68
68
|
type: 'string',
|
|
69
69
|
maxLength: 255
|
|
70
70
|
}),
|
|
71
|
+
validity_period: {
|
|
72
|
+
description: 'Validity period of issued abocrads',
|
|
73
|
+
type: 'object',
|
|
74
|
+
additionalProperties: false,
|
|
75
|
+
required: ['unit', 'value'],
|
|
76
|
+
properties: {
|
|
77
|
+
unit: {
|
|
78
|
+
description: 'The type of period',
|
|
79
|
+
example: 'years',
|
|
80
|
+
type: 'string',
|
|
81
|
+
enum: [
|
|
82
|
+
'years'
|
|
83
|
+
],
|
|
84
|
+
default: 'years'
|
|
85
|
+
},
|
|
86
|
+
value: {
|
|
87
|
+
description: 'The period value in given units',
|
|
88
|
+
example: 3,
|
|
89
|
+
type: 'number',
|
|
90
|
+
minimum: 1,
|
|
91
|
+
default: 3
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
},
|
|
71
95
|
voucher_system: oneOf({
|
|
72
96
|
description: 'Referenced voucher system when system_type == "voucher". 1 to 1 relationship with voucher system instance.',
|
|
73
97
|
type: 'object',
|
|
@@ -199,7 +223,7 @@ const request = {
|
|
|
199
223
|
}
|
|
200
224
|
|
|
201
225
|
const response = {
|
|
202
|
-
...baseObject,
|
|
226
|
+
...baseObject(),
|
|
203
227
|
deleted: {
|
|
204
228
|
type: 'boolean'
|
|
205
229
|
},
|
|
@@ -70,6 +70,11 @@ module.exports = {
|
|
|
70
70
|
}
|
|
71
71
|
]
|
|
72
72
|
},
|
|
73
|
+
attributes_in_name: {
|
|
74
|
+
description: 'Defines whether a child product inherits attributes as part of the product name',
|
|
75
|
+
type: 'boolean',
|
|
76
|
+
default: true
|
|
77
|
+
},
|
|
73
78
|
auto_product_number_enabled: { // should be deprecated
|
|
74
79
|
description: 'If true, product id will be generated automatically',
|
|
75
80
|
oneOf: [
|