@dynamatix/gb-schemas 2.3.358 → 2.3.360

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.
@@ -45,7 +45,7 @@ declare const ApplicationEucModel: mongoose.Model<{
45
45
  netMonthlyIncome: number;
46
46
  topUpAmount: number;
47
47
  remainingSurplusIncome: number;
48
- isFscrAcceptable: boolean;
48
+ isRemainingSurplusPassed: boolean;
49
49
  }, {}, {}, {}, mongoose.Document<unknown, {}, {
50
50
  result: any;
51
51
  version: number;
@@ -64,7 +64,7 @@ declare const ApplicationEucModel: mongoose.Model<{
64
64
  netMonthlyIncome: number;
65
65
  topUpAmount: number;
66
66
  remainingSurplusIncome: number;
67
- isFscrAcceptable: boolean;
67
+ isRemainingSurplusPassed: boolean;
68
68
  }, {}> & {
69
69
  result: any;
70
70
  version: number;
@@ -83,7 +83,7 @@ declare const ApplicationEucModel: mongoose.Model<{
83
83
  netMonthlyIncome: number;
84
84
  topUpAmount: number;
85
85
  remainingSurplusIncome: number;
86
- isFscrAcceptable: boolean;
86
+ isRemainingSurplusPassed: boolean;
87
87
  } & {
88
88
  _id: mongoose.Types.ObjectId;
89
89
  } & {
@@ -106,7 +106,7 @@ declare const ApplicationEucModel: mongoose.Model<{
106
106
  netMonthlyIncome: number;
107
107
  topUpAmount: number;
108
108
  remainingSurplusIncome: number;
109
- isFscrAcceptable: boolean;
109
+ isRemainingSurplusPassed: boolean;
110
110
  }, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
111
111
  result: any;
112
112
  version: number;
@@ -125,7 +125,7 @@ declare const ApplicationEucModel: mongoose.Model<{
125
125
  netMonthlyIncome: number;
126
126
  topUpAmount: number;
127
127
  remainingSurplusIncome: number;
128
- isFscrAcceptable: boolean;
128
+ isRemainingSurplusPassed: boolean;
129
129
  }>, {}> & mongoose.FlatRecord<{
130
130
  result: any;
131
131
  version: number;
@@ -144,7 +144,7 @@ declare const ApplicationEucModel: mongoose.Model<{
144
144
  netMonthlyIncome: number;
145
145
  topUpAmount: number;
146
146
  remainingSurplusIncome: number;
147
- isFscrAcceptable: boolean;
147
+ isRemainingSurplusPassed: boolean;
148
148
  }> & {
149
149
  _id: mongoose.Types.ObjectId;
150
150
  } & {
@@ -17,7 +17,7 @@ const applicationEucSchema = new mongoose.Schema({
17
17
  topUpAmount: { type: Number, default: 0 },
18
18
  remainingSurplusIncome: { type: Number, default: 0 },
19
19
  version: { type: Number, default: 0 },
20
- isFscrAcceptable: { type: Boolean, default: false },
20
+ isRemainingSurplusPassed: { type: Boolean, default: true },
21
21
  result: { type: mongoose.Schema.Types.Mixed, default: null }
22
22
  });
23
23
  // Apply workflow plugin to the schema
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamatix/gb-schemas",
3
- "version": "2.3.358",
3
+ "version": "2.3.360",
4
4
  "description": "All the schemas for gatehouse bank back-end",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -36,7 +36,7 @@
36
36
  },
37
37
  "homepage": "https://github.com/DynamatixAnalyticsPvtLtd/gb-schemas#readme",
38
38
  "dependencies": {
39
- "@dynamatix/cat-shared": "^0.0.140",
39
+ "@dynamatix/cat-shared": "^0.0.141",
40
40
  "dotenv": "^16.4.5",
41
41
  "mongodb": "^6.14.2",
42
42
  "mongoose": "^8.9.5"