@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 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
 
@@ -0,0 +1,9 @@
1
+ const LargeDecimal = [{
2
+ type: 'number'
3
+ }, {
4
+ type: 'string'
5
+ }]
6
+
7
+ module.exports = {
8
+ LargeDecimal
9
+ }
@@ -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
- type: 'number'
89
- }),
90
- max_amount_per_month: oneOf({
91
- type: 'number'
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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tillhub/schemas",
3
- "version": "6.277.0",
3
+ "version": "6.277.1",
4
4
  "private": false,
5
5
  "description": "All Tillhub API OpenAPI 3 compatible JSON Schemas.",
6
6
  "main": "./lib/index.js",