@dynamatix/gb-schemas 1.2.22 → 1.2.24
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/dist/applications/application-product.model.d.ts +0 -6
- package/dist/applications/application-product.model.d.ts.map +1 -1
- package/dist/applications/application-product.model.js +0 -1
- package/dist/applications/application.model.d.ts +6 -6
- package/dist/applications/application.model.js +1 -1
- package/dist/applications/index.d.ts +1 -0
- package/dist/applications/index.d.ts.map +1 -1
- package/dist/applications/index.js +1 -0
- package/package.json +1 -1
|
@@ -27,7 +27,6 @@
|
|
|
27
27
|
/// <reference types="mongoose/types/inferrawdoctype" />
|
|
28
28
|
import mongoose from "mongoose";
|
|
29
29
|
declare const ProductModel: mongoose.Model<{
|
|
30
|
-
numberOfYearsToRepay: string;
|
|
31
30
|
selectedProduct: string;
|
|
32
31
|
applicationId?: unknown;
|
|
33
32
|
pageValidFlag?: unknown;
|
|
@@ -46,7 +45,6 @@ declare const ProductModel: mongoose.Model<{
|
|
|
46
45
|
tempAppFee?: unknown;
|
|
47
46
|
productFeePaymentTypeLid?: unknown;
|
|
48
47
|
}, {}, {}, {}, mongoose.Document<unknown, {}, {
|
|
49
|
-
numberOfYearsToRepay: string;
|
|
50
48
|
selectedProduct: string;
|
|
51
49
|
applicationId?: unknown;
|
|
52
50
|
pageValidFlag?: unknown;
|
|
@@ -65,7 +63,6 @@ declare const ProductModel: mongoose.Model<{
|
|
|
65
63
|
tempAppFee?: unknown;
|
|
66
64
|
productFeePaymentTypeLid?: unknown;
|
|
67
65
|
}> & {
|
|
68
|
-
numberOfYearsToRepay: string;
|
|
69
66
|
selectedProduct: string;
|
|
70
67
|
applicationId?: unknown;
|
|
71
68
|
pageValidFlag?: unknown;
|
|
@@ -88,7 +85,6 @@ declare const ProductModel: mongoose.Model<{
|
|
|
88
85
|
} & {
|
|
89
86
|
__v: number;
|
|
90
87
|
}, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, {
|
|
91
|
-
numberOfYearsToRepay: string;
|
|
92
88
|
selectedProduct: string;
|
|
93
89
|
applicationId?: unknown;
|
|
94
90
|
pageValidFlag?: unknown;
|
|
@@ -107,7 +103,6 @@ declare const ProductModel: mongoose.Model<{
|
|
|
107
103
|
tempAppFee?: unknown;
|
|
108
104
|
productFeePaymentTypeLid?: unknown;
|
|
109
105
|
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
110
|
-
numberOfYearsToRepay: string;
|
|
111
106
|
selectedProduct: string;
|
|
112
107
|
applicationId?: unknown;
|
|
113
108
|
pageValidFlag?: unknown;
|
|
@@ -126,7 +121,6 @@ declare const ProductModel: mongoose.Model<{
|
|
|
126
121
|
tempAppFee?: unknown;
|
|
127
122
|
productFeePaymentTypeLid?: unknown;
|
|
128
123
|
}>> & mongoose.FlatRecord<{
|
|
129
|
-
numberOfYearsToRepay: string;
|
|
130
124
|
selectedProduct: string;
|
|
131
125
|
applicationId?: unknown;
|
|
132
126
|
pageValidFlag?: unknown;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"application-product.model.d.ts","sourceRoot":"","sources":["../../applications/application-product.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"application-product.model.d.ts","sourceRoot":"","sources":["../../applications/application-product.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAyEhC,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA2C,CAAC;AAC9D,eAAe,YAAY,CAAC"}
|
|
@@ -4,7 +4,6 @@ const productSchema = new mongoose.Schema({
|
|
|
4
4
|
applicationId: { type: mongoose.Schema.Types.ObjectId, ref: "Application", required: true,
|
|
5
5
|
description: "Unique identifier for the application"
|
|
6
6
|
},
|
|
7
|
-
numberOfYearsToRepay: { type: String, default: 0 },
|
|
8
7
|
selectedProduct: { type: String, default: "" },
|
|
9
8
|
lendingTypeLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup" },
|
|
10
9
|
pageValidFlag: { type: Boolean, get: (value) => (value ? "Yes" : "No") },
|
|
@@ -55,7 +55,7 @@ declare const ApplicationModel: mongoose.Model<{
|
|
|
55
55
|
newReason: string;
|
|
56
56
|
purchaseTypeLid: mongoose.Types.ObjectId;
|
|
57
57
|
rejectedReason: string;
|
|
58
|
-
|
|
58
|
+
sourceOfWealthLids: mongoose.Types.ObjectId[];
|
|
59
59
|
sowBusiness: string;
|
|
60
60
|
sowInheritance: string;
|
|
61
61
|
sowOther: string;
|
|
@@ -243,7 +243,7 @@ declare const ApplicationModel: mongoose.Model<{
|
|
|
243
243
|
newReason: string;
|
|
244
244
|
purchaseTypeLid: mongoose.Types.ObjectId;
|
|
245
245
|
rejectedReason: string;
|
|
246
|
-
|
|
246
|
+
sourceOfWealthLids: mongoose.Types.ObjectId[];
|
|
247
247
|
sowBusiness: string;
|
|
248
248
|
sowInheritance: string;
|
|
249
249
|
sowOther: string;
|
|
@@ -431,7 +431,7 @@ declare const ApplicationModel: mongoose.Model<{
|
|
|
431
431
|
newReason: string;
|
|
432
432
|
purchaseTypeLid: mongoose.Types.ObjectId;
|
|
433
433
|
rejectedReason: string;
|
|
434
|
-
|
|
434
|
+
sourceOfWealthLids: mongoose.Types.ObjectId[];
|
|
435
435
|
sowBusiness: string;
|
|
436
436
|
sowInheritance: string;
|
|
437
437
|
sowOther: string;
|
|
@@ -631,7 +631,7 @@ declare const ApplicationModel: mongoose.Model<{
|
|
|
631
631
|
newReason: string;
|
|
632
632
|
purchaseTypeLid: mongoose.Types.ObjectId;
|
|
633
633
|
rejectedReason: string;
|
|
634
|
-
|
|
634
|
+
sourceOfWealthLids: mongoose.Types.ObjectId[];
|
|
635
635
|
sowBusiness: string;
|
|
636
636
|
sowInheritance: string;
|
|
637
637
|
sowOther: string;
|
|
@@ -819,7 +819,7 @@ declare const ApplicationModel: mongoose.Model<{
|
|
|
819
819
|
newReason: string;
|
|
820
820
|
purchaseTypeLid: mongoose.Types.ObjectId;
|
|
821
821
|
rejectedReason: string;
|
|
822
|
-
|
|
822
|
+
sourceOfWealthLids: mongoose.Types.ObjectId[];
|
|
823
823
|
sowBusiness: string;
|
|
824
824
|
sowInheritance: string;
|
|
825
825
|
sowOther: string;
|
|
@@ -1007,7 +1007,7 @@ declare const ApplicationModel: mongoose.Model<{
|
|
|
1007
1007
|
newReason: string;
|
|
1008
1008
|
purchaseTypeLid: mongoose.Types.ObjectId;
|
|
1009
1009
|
rejectedReason: string;
|
|
1010
|
-
|
|
1010
|
+
sourceOfWealthLids: mongoose.Types.ObjectId[];
|
|
1011
1011
|
sowBusiness: string;
|
|
1012
1012
|
sowInheritance: string;
|
|
1013
1013
|
sowOther: string;
|
|
@@ -32,7 +32,7 @@ const applicationSchema = new mongoose.Schema({
|
|
|
32
32
|
rejectedReason: { type: String, default: "" },
|
|
33
33
|
repaymentTypeLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", required: true },
|
|
34
34
|
selectedProduct: { type: String, required: false },
|
|
35
|
-
|
|
35
|
+
sourceOfWealthLids: [{ type: mongoose.Schema.Types.ObjectId, ref: "Lookup", required: true }],
|
|
36
36
|
sowBusiness: { type: String, default: "" },
|
|
37
37
|
sowInheritance: { type: String, default: "" },
|
|
38
38
|
sowOther: { type: String, default: "" },
|
|
@@ -10,6 +10,7 @@ export { default as ApplicationOnboardingModel } from './application-onboarding.
|
|
|
10
10
|
export { default as ApplicationRationaleModel } from './application-rationale.model';
|
|
11
11
|
export { default as ApplicationValuationModel } from './application-valuation.model';
|
|
12
12
|
export { default as BrokerModel } from './broker.model';
|
|
13
|
+
export { default as ProductModel } from './application-product.model';
|
|
13
14
|
export { default as ProductFeaturesModel } from './productfeatures.model';
|
|
14
15
|
export { default as SolicitorModel } from './solicitor.model';
|
|
15
16
|
export { default as ApplicationDocumentModel } from './application-document.model';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../applications/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAClE,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAC7E,OAAO,EAAE,OAAO,IAAI,yBAAyB,EAAE,MAAM,oCAAoC,CAAC;AAC1F,OAAO,EAAE,OAAO,IAAI,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AACpF,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AAC9F,OAAO,EAAE,OAAO,IAAI,2BAA2B,EAAC,MAAM,kCAAkC,CAAA;AACxF,OAAO,EAAE,OAAO,IAAI,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AACnF,OAAO,EAAE,OAAO,IAAI,0BAA0B,EAAE,MAAM,gCAAgC,CAAC;AACvF,OAAO,EAAE,OAAO,IAAI,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AACrF,OAAO,EAAE,OAAO,IAAI,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AACrF,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAC1E,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,OAAO,IAAI,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AACnF,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CAAC;AAC1E,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,OAAO,IAAI,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AACnF,OAAO,EAAE,OAAO,IAAI,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AAC9F,OAAO,EAAE,OAAO,IAAI,2BAA2B,EAAE,MAAM,iCAAiC,CAAC;AACzF,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,8BAA8B,CAAC"}
|
|
@@ -10,6 +10,7 @@ export { default as ApplicationOnboardingModel } from './application-onboarding.
|
|
|
10
10
|
export { default as ApplicationRationaleModel } from './application-rationale.model';
|
|
11
11
|
export { default as ApplicationValuationModel } from './application-valuation.model';
|
|
12
12
|
export { default as BrokerModel } from './broker.model';
|
|
13
|
+
export { default as ProductModel } from './application-product.model';
|
|
13
14
|
export { default as ProductFeaturesModel } from './productfeatures.model';
|
|
14
15
|
export { default as SolicitorModel } from './solicitor.model';
|
|
15
16
|
export { default as ApplicationDocumentModel } from './application-document.model';
|