@dynamatix/gb-schemas 2.3.336 → 2.3.338

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.
@@ -35,17 +35,17 @@ declare const ProductModel: mongoose.Model<{
35
35
  networkClubSubmission: boolean;
36
36
  introducerSubmission: boolean;
37
37
  reasons: mongoose.Types.DocumentArray<{
38
- Description: string;
39
- IsOverridden: boolean;
40
- RuleType: string;
38
+ description: string;
39
+ isOverridden: boolean;
40
+ ruleType: string;
41
41
  }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
42
- Description: string;
43
- IsOverridden: boolean;
44
- RuleType: string;
42
+ description: string;
43
+ isOverridden: boolean;
44
+ ruleType: string;
45
45
  }> & {
46
- Description: string;
47
- IsOverridden: boolean;
48
- RuleType: string;
46
+ description: string;
47
+ isOverridden: boolean;
48
+ ruleType: string;
49
49
  }>;
50
50
  applicationId?: unknown;
51
51
  pageValidFlag?: unknown;
@@ -75,17 +75,17 @@ declare const ProductModel: mongoose.Model<{
75
75
  networkClubSubmission: boolean;
76
76
  introducerSubmission: boolean;
77
77
  reasons: mongoose.Types.DocumentArray<{
78
- Description: string;
79
- IsOverridden: boolean;
80
- RuleType: string;
78
+ description: string;
79
+ isOverridden: boolean;
80
+ ruleType: string;
81
81
  }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
82
- Description: string;
83
- IsOverridden: boolean;
84
- RuleType: string;
82
+ description: string;
83
+ isOverridden: boolean;
84
+ ruleType: string;
85
85
  }> & {
86
- Description: string;
87
- IsOverridden: boolean;
88
- RuleType: string;
86
+ description: string;
87
+ isOverridden: boolean;
88
+ ruleType: string;
89
89
  }>;
90
90
  applicationId?: unknown;
91
91
  pageValidFlag?: unknown;
@@ -115,17 +115,17 @@ declare const ProductModel: mongoose.Model<{
115
115
  networkClubSubmission: boolean;
116
116
  introducerSubmission: boolean;
117
117
  reasons: mongoose.Types.DocumentArray<{
118
- Description: string;
119
- IsOverridden: boolean;
120
- RuleType: string;
118
+ description: string;
119
+ isOverridden: boolean;
120
+ ruleType: string;
121
121
  }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
122
- Description: string;
123
- IsOverridden: boolean;
124
- RuleType: string;
122
+ description: string;
123
+ isOverridden: boolean;
124
+ ruleType: string;
125
125
  }> & {
126
- Description: string;
127
- IsOverridden: boolean;
128
- RuleType: string;
126
+ description: string;
127
+ isOverridden: boolean;
128
+ ruleType: string;
129
129
  }>;
130
130
  applicationId?: unknown;
131
131
  pageValidFlag?: unknown;
@@ -169,17 +169,17 @@ declare const ProductModel: mongoose.Model<{
169
169
  networkClubSubmission: boolean;
170
170
  introducerSubmission: boolean;
171
171
  reasons: mongoose.Types.DocumentArray<{
172
- Description: string;
173
- IsOverridden: boolean;
174
- RuleType: string;
172
+ description: string;
173
+ isOverridden: boolean;
174
+ ruleType: string;
175
175
  }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
176
- Description: string;
177
- IsOverridden: boolean;
178
- RuleType: string;
176
+ description: string;
177
+ isOverridden: boolean;
178
+ ruleType: string;
179
179
  }> & {
180
- Description: string;
181
- IsOverridden: boolean;
182
- RuleType: string;
180
+ description: string;
181
+ isOverridden: boolean;
182
+ ruleType: string;
183
183
  }>;
184
184
  applicationId?: unknown;
185
185
  pageValidFlag?: unknown;
@@ -209,17 +209,17 @@ declare const ProductModel: mongoose.Model<{
209
209
  networkClubSubmission: boolean;
210
210
  introducerSubmission: boolean;
211
211
  reasons: mongoose.Types.DocumentArray<{
212
- Description: string;
213
- IsOverridden: boolean;
214
- RuleType: string;
212
+ description: string;
213
+ isOverridden: boolean;
214
+ ruleType: string;
215
215
  }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
216
- Description: string;
217
- IsOverridden: boolean;
218
- RuleType: string;
216
+ description: string;
217
+ isOverridden: boolean;
218
+ ruleType: string;
219
219
  }> & {
220
- Description: string;
221
- IsOverridden: boolean;
222
- RuleType: string;
220
+ description: string;
221
+ isOverridden: boolean;
222
+ ruleType: string;
223
223
  }>;
224
224
  applicationId?: unknown;
225
225
  pageValidFlag?: unknown;
@@ -249,17 +249,17 @@ declare const ProductModel: mongoose.Model<{
249
249
  networkClubSubmission: boolean;
250
250
  introducerSubmission: boolean;
251
251
  reasons: mongoose.Types.DocumentArray<{
252
- Description: string;
253
- IsOverridden: boolean;
254
- RuleType: string;
252
+ description: string;
253
+ isOverridden: boolean;
254
+ ruleType: string;
255
255
  }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
256
- Description: string;
257
- IsOverridden: boolean;
258
- RuleType: string;
256
+ description: string;
257
+ isOverridden: boolean;
258
+ ruleType: string;
259
259
  }> & {
260
- Description: string;
261
- IsOverridden: boolean;
262
- RuleType: string;
260
+ description: string;
261
+ isOverridden: boolean;
262
+ ruleType: string;
263
263
  }>;
264
264
  applicationId?: unknown;
265
265
  pageValidFlag?: unknown;
@@ -2,9 +2,9 @@ import mongoose from "mongoose";
2
2
  import { applyWorkflowPlugin } from "../shared/workflow.plugin";
3
3
  import { Pound, formatPound } from "../value-objects/pound";
4
4
  const reasonSchema = new mongoose.Schema({
5
- Description: { type: String, required: true },
6
- IsOverridden: { type: Boolean, required: true },
7
- RuleType: { type: String, required: true }
5
+ description: { type: String, required: true },
6
+ isOverridden: { type: Boolean, required: true },
7
+ ruleType: { type: String, required: true }
8
8
  });
9
9
  const productSchema = new mongoose.Schema({
10
10
  applicationId: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamatix/gb-schemas",
3
- "version": "2.3.336",
3
+ "version": "2.3.338",
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.137",
39
+ "@dynamatix/cat-shared": "^0.0.138",
40
40
  "dotenv": "^16.4.5",
41
41
  "mongodb": "^6.14.2",
42
42
  "mongoose": "^8.9.5"