@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
|
-
|
|
39
|
-
|
|
40
|
-
|
|
38
|
+
description: string;
|
|
39
|
+
isOverridden: boolean;
|
|
40
|
+
ruleType: string;
|
|
41
41
|
}, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
42
|
+
description: string;
|
|
43
|
+
isOverridden: boolean;
|
|
44
|
+
ruleType: string;
|
|
45
45
|
}> & {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
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
|
-
|
|
79
|
-
|
|
80
|
-
|
|
78
|
+
description: string;
|
|
79
|
+
isOverridden: boolean;
|
|
80
|
+
ruleType: string;
|
|
81
81
|
}, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
82
|
+
description: string;
|
|
83
|
+
isOverridden: boolean;
|
|
84
|
+
ruleType: string;
|
|
85
85
|
}> & {
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
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
|
-
|
|
119
|
-
|
|
120
|
-
|
|
118
|
+
description: string;
|
|
119
|
+
isOverridden: boolean;
|
|
120
|
+
ruleType: string;
|
|
121
121
|
}, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
122
|
+
description: string;
|
|
123
|
+
isOverridden: boolean;
|
|
124
|
+
ruleType: string;
|
|
125
125
|
}> & {
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
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
|
-
|
|
173
|
-
|
|
174
|
-
|
|
172
|
+
description: string;
|
|
173
|
+
isOverridden: boolean;
|
|
174
|
+
ruleType: string;
|
|
175
175
|
}, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
176
|
+
description: string;
|
|
177
|
+
isOverridden: boolean;
|
|
178
|
+
ruleType: string;
|
|
179
179
|
}> & {
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
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
|
-
|
|
213
|
-
|
|
214
|
-
|
|
212
|
+
description: string;
|
|
213
|
+
isOverridden: boolean;
|
|
214
|
+
ruleType: string;
|
|
215
215
|
}, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
216
|
+
description: string;
|
|
217
|
+
isOverridden: boolean;
|
|
218
|
+
ruleType: string;
|
|
219
219
|
}> & {
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
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
|
-
|
|
253
|
-
|
|
254
|
-
|
|
252
|
+
description: string;
|
|
253
|
+
isOverridden: boolean;
|
|
254
|
+
ruleType: string;
|
|
255
255
|
}, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
256
|
+
description: string;
|
|
257
|
+
isOverridden: boolean;
|
|
258
|
+
ruleType: string;
|
|
259
259
|
}> & {
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
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
|
-
|
|
6
|
-
|
|
7
|
-
|
|
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.
|
|
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.
|
|
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"
|