@tillhub/schemas 6.277.0 → 6.277.1
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 +7 -0
- package/lib/common/numbers.js +9 -0
- package/lib/v1/registers/base-mms.js +8 -21
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [6.277.1](https://github.com/tillhub/schemas/compare/v6.277.0...v6.277.1) (2023-12-14)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **mms:** lift restrictions for bug numbers #UNTIL-8906 ([dbc1b1e](https://github.com/tillhub/schemas/commit/dbc1b1e)), closes [#UNTIL-8906](https://github.com/tillhub/schemas/issues/UNTIL-8906)
|
|
7
|
+
|
|
1
8
|
# [6.277.0](https://github.com/tillhub/schemas/compare/v6.276.0...v6.277.0) (2023-12-11)
|
|
2
9
|
|
|
3
10
|
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
const { LargeDecimal } = require('../../common/numbers')
|
|
1
2
|
const { oneOf } = require('../../helpers/payload-or-null')
|
|
2
3
|
|
|
3
4
|
module.exports = {
|
|
@@ -84,24 +85,12 @@ module.exports = {
|
|
|
84
85
|
maxLength: 255,
|
|
85
86
|
minLength: 1
|
|
86
87
|
}),
|
|
87
|
-
max_amount_per_txn: oneOf(
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
average_amount_per_month: oneOf({
|
|
94
|
-
type: 'number'
|
|
95
|
-
}),
|
|
96
|
-
average_count_per_month: oneOf({
|
|
97
|
-
type: 'number'
|
|
98
|
-
}),
|
|
99
|
-
min_amount_per_month: oneOf({
|
|
100
|
-
type: 'number'
|
|
101
|
-
}),
|
|
102
|
-
min_amount_per_txn: oneOf({
|
|
103
|
-
type: 'number'
|
|
104
|
-
}),
|
|
88
|
+
max_amount_per_txn: oneOf(LargeDecimal),
|
|
89
|
+
max_amount_per_month: oneOf(LargeDecimal),
|
|
90
|
+
average_amount_per_month: oneOf(LargeDecimal),
|
|
91
|
+
average_count_per_month: oneOf(LargeDecimal),
|
|
92
|
+
min_amount_per_month: oneOf(LargeDecimal),
|
|
93
|
+
min_amount_per_txn: oneOf(LargeDecimal),
|
|
105
94
|
pci_level: oneOf({
|
|
106
95
|
description: 'The commercial register number.',
|
|
107
96
|
type: 'string',
|
|
@@ -116,7 +105,5 @@ module.exports = {
|
|
|
116
105
|
description: 'The mcc of the register.',
|
|
117
106
|
type: 'object'
|
|
118
107
|
}),
|
|
119
|
-
average_basket_size: oneOf(
|
|
120
|
-
type: 'number'
|
|
121
|
-
})
|
|
108
|
+
average_basket_size: oneOf(LargeDecimal)
|
|
122
109
|
}
|