@dynamatix/gb-schemas 2.3.402 → 2.3.404

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.
@@ -11,7 +11,7 @@ declare const applicantIncomeSourceSchema: mongoose.Schema<any, mongoose.Model<a
11
11
  incomeFromPension?: string | null | undefined;
12
12
  incomeFromProperty?: string | null | undefined;
13
13
  incomeFromSavings?: string | null | undefined;
14
- }>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<{
14
+ }>> & mongoose.FlatRecord<{
15
15
  employmentStatusLid: mongoose.Types.ObjectId;
16
16
  incomeFromEmployment?: string | null | undefined;
17
17
  incomeFromPension?: string | null | undefined;
@@ -103,13 +103,6 @@ declare const incomeSchema: mongoose.Schema<any, mongoose.Model<any, any, any, a
103
103
  year1: Pound;
104
104
  year2: Pound;
105
105
  year3: Pound;
106
- }>, {}, mongoose.ResolveSchemaOptions<{
107
- toJSON: {
108
- getters: true;
109
- };
110
- toObject: {
111
- getters: true;
112
- };
113
106
  }>> & mongoose.FlatRecord<{
114
107
  pageValidFlag: string;
115
108
  businessTypeLid: mongoose.Types.ObjectId;
@@ -1 +1 @@
1
- {"version":3,"file":"applicant-income.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-income.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAE/C,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmDhB,CAAC;AAEH,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"applicant-income.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-income.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAE/C,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmDhB,CAAC;AAEH,eAAe,YAAY,CAAC"}
@@ -53,13 +53,6 @@ declare const applicantOtherIncomeSchema: mongoose.Schema<any, mongoose.Model<an
53
53
  grossPensionIncome: Pound;
54
54
  privatePensionIncome: Pound;
55
55
  statePensionIncome: Pound;
56
- }>, {}, mongoose.ResolveSchemaOptions<{
57
- toJSON: {
58
- getters: true;
59
- };
60
- toObject: {
61
- getters: true;
62
- };
63
56
  }>> & mongoose.FlatRecord<{
64
57
  maintenance: Pound;
65
58
  sourceDetails1: string;
@@ -1 +1 @@
1
- {"version":3,"file":"applicant-other-income.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-other-income.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAE/C,QAAA,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6C9B,CAAC;AAEH,eAAe,0BAA0B,CAAC"}
1
+ {"version":3,"file":"applicant-other-income.model.d.ts","sourceRoot":"","sources":["../../applicants/applicant-other-income.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAE/C,QAAA,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6C9B,CAAC;AAEH,eAAe,0BAA0B,CAAC"}
@@ -6,6 +6,7 @@ declare const ApplicationDocumentModel: mongoose.Model<{
6
6
  documentId: string;
7
7
  signers: any[];
8
8
  applicationId?: mongoose.Types.ObjectId | null | undefined;
9
+ data?: string | null | undefined;
9
10
  owningEntityId?: string | null | undefined;
10
11
  documentTypeLid?: mongoose.Types.ObjectId | null | undefined;
11
12
  documentTypeId?: string | null | undefined;
@@ -14,13 +15,12 @@ declare const ApplicationDocumentModel: mongoose.Model<{
14
15
  created?: string | null | undefined;
15
16
  createdBy?: string | null | undefined;
16
17
  isGenerated?: string | null | undefined;
17
- data?: string | null | undefined;
18
18
  envelopeId?: string | null | undefined;
19
19
  documentType?: {
20
- documentTypeId?: string | null | undefined;
21
20
  data?: any;
22
- displayName?: string | null | undefined;
23
21
  value?: string | null | undefined;
22
+ documentTypeId?: string | null | undefined;
23
+ displayName?: string | null | undefined;
24
24
  } | null | undefined;
25
25
  documentUrl?: string | null | undefined;
26
26
  }, {}, {}, {}, mongoose.Document<unknown, {}, {
@@ -30,6 +30,7 @@ declare const ApplicationDocumentModel: mongoose.Model<{
30
30
  documentId: string;
31
31
  signers: any[];
32
32
  applicationId?: mongoose.Types.ObjectId | null | undefined;
33
+ data?: string | null | undefined;
33
34
  owningEntityId?: string | null | undefined;
34
35
  documentTypeLid?: mongoose.Types.ObjectId | null | undefined;
35
36
  documentTypeId?: string | null | undefined;
@@ -38,17 +39,14 @@ declare const ApplicationDocumentModel: mongoose.Model<{
38
39
  created?: string | null | undefined;
39
40
  createdBy?: string | null | undefined;
40
41
  isGenerated?: string | null | undefined;
41
- data?: string | null | undefined;
42
42
  envelopeId?: string | null | undefined;
43
43
  documentType?: {
44
- documentTypeId?: string | null | undefined;
45
44
  data?: any;
46
- displayName?: string | null | undefined;
47
45
  value?: string | null | undefined;
46
+ documentTypeId?: string | null | undefined;
47
+ displayName?: string | null | undefined;
48
48
  } | null | undefined;
49
49
  documentUrl?: string | null | undefined;
50
- }, {}, {
51
- timestamps: true;
52
50
  }> & {
53
51
  createdAt: NativeDate;
54
52
  updatedAt: NativeDate;
@@ -56,6 +54,7 @@ declare const ApplicationDocumentModel: mongoose.Model<{
56
54
  documentId: string;
57
55
  signers: any[];
58
56
  applicationId?: mongoose.Types.ObjectId | null | undefined;
57
+ data?: string | null | undefined;
59
58
  owningEntityId?: string | null | undefined;
60
59
  documentTypeLid?: mongoose.Types.ObjectId | null | undefined;
61
60
  documentTypeId?: string | null | undefined;
@@ -64,13 +63,12 @@ declare const ApplicationDocumentModel: mongoose.Model<{
64
63
  created?: string | null | undefined;
65
64
  createdBy?: string | null | undefined;
66
65
  isGenerated?: string | null | undefined;
67
- data?: string | null | undefined;
68
66
  envelopeId?: string | null | undefined;
69
67
  documentType?: {
70
- documentTypeId?: string | null | undefined;
71
68
  data?: any;
72
- displayName?: string | null | undefined;
73
69
  value?: string | null | undefined;
70
+ documentTypeId?: string | null | undefined;
71
+ displayName?: string | null | undefined;
74
72
  } | null | undefined;
75
73
  documentUrl?: string | null | undefined;
76
74
  } & {
@@ -86,6 +84,7 @@ declare const ApplicationDocumentModel: mongoose.Model<{
86
84
  documentId: string;
87
85
  signers: any[];
88
86
  applicationId?: mongoose.Types.ObjectId | null | undefined;
87
+ data?: string | null | undefined;
89
88
  owningEntityId?: string | null | undefined;
90
89
  documentTypeLid?: mongoose.Types.ObjectId | null | undefined;
91
90
  documentTypeId?: string | null | undefined;
@@ -94,13 +93,12 @@ declare const ApplicationDocumentModel: mongoose.Model<{
94
93
  created?: string | null | undefined;
95
94
  createdBy?: string | null | undefined;
96
95
  isGenerated?: string | null | undefined;
97
- data?: string | null | undefined;
98
96
  envelopeId?: string | null | undefined;
99
97
  documentType?: {
100
- documentTypeId?: string | null | undefined;
101
98
  data?: any;
102
- displayName?: string | null | undefined;
103
99
  value?: string | null | undefined;
100
+ documentTypeId?: string | null | undefined;
101
+ displayName?: string | null | undefined;
104
102
  } | null | undefined;
105
103
  documentUrl?: string | null | undefined;
106
104
  }, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
@@ -110,6 +108,7 @@ declare const ApplicationDocumentModel: mongoose.Model<{
110
108
  documentId: string;
111
109
  signers: any[];
112
110
  applicationId?: mongoose.Types.ObjectId | null | undefined;
111
+ data?: string | null | undefined;
113
112
  owningEntityId?: string | null | undefined;
114
113
  documentTypeLid?: mongoose.Types.ObjectId | null | undefined;
115
114
  documentTypeId?: string | null | undefined;
@@ -118,17 +117,14 @@ declare const ApplicationDocumentModel: mongoose.Model<{
118
117
  created?: string | null | undefined;
119
118
  createdBy?: string | null | undefined;
120
119
  isGenerated?: string | null | undefined;
121
- data?: string | null | undefined;
122
120
  envelopeId?: string | null | undefined;
123
121
  documentType?: {
124
- documentTypeId?: string | null | undefined;
125
122
  data?: any;
126
- displayName?: string | null | undefined;
127
123
  value?: string | null | undefined;
124
+ documentTypeId?: string | null | undefined;
125
+ displayName?: string | null | undefined;
128
126
  } | null | undefined;
129
127
  documentUrl?: string | null | undefined;
130
- }>, {}, mongoose.ResolveSchemaOptions<{
131
- timestamps: true;
132
128
  }>> & mongoose.FlatRecord<{
133
129
  createdAt: NativeDate;
134
130
  updatedAt: NativeDate;
@@ -136,6 +132,7 @@ declare const ApplicationDocumentModel: mongoose.Model<{
136
132
  documentId: string;
137
133
  signers: any[];
138
134
  applicationId?: mongoose.Types.ObjectId | null | undefined;
135
+ data?: string | null | undefined;
139
136
  owningEntityId?: string | null | undefined;
140
137
  documentTypeLid?: mongoose.Types.ObjectId | null | undefined;
141
138
  documentTypeId?: string | null | undefined;
@@ -144,13 +141,12 @@ declare const ApplicationDocumentModel: mongoose.Model<{
144
141
  created?: string | null | undefined;
145
142
  createdBy?: string | null | undefined;
146
143
  isGenerated?: string | null | undefined;
147
- data?: string | null | undefined;
148
144
  envelopeId?: string | null | undefined;
149
145
  documentType?: {
150
- documentTypeId?: string | null | undefined;
151
146
  data?: any;
152
- displayName?: string | null | undefined;
153
147
  value?: string | null | undefined;
148
+ documentTypeId?: string | null | undefined;
149
+ displayName?: string | null | undefined;
154
150
  } | null | undefined;
155
151
  documentUrl?: string | null | undefined;
156
152
  }> & {
@@ -1 +1 @@
1
- {"version":3,"file":"application-document.model.d.ts","sourceRoot":"","sources":["../../applications/application-document.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAoChC,QAAA,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAwD,CAAC;AACvF,eAAe,wBAAwB,CAAC"}
1
+ {"version":3,"file":"application-document.model.d.ts","sourceRoot":"","sources":["../../applications/application-document.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAoChC,QAAA,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAwD,CAAC;AACvF,eAAe,wBAAwB,CAAC"}
@@ -6,6 +6,7 @@ declare const DocumentModel: mongoose.Model<{
6
6
  documentId: string;
7
7
  signers: any[];
8
8
  applicationId?: mongoose.Types.ObjectId | null | undefined;
9
+ data?: string | null | undefined;
9
10
  owningEntityId?: string | null | undefined;
10
11
  documentTypeLid?: mongoose.Types.ObjectId | null | undefined;
11
12
  documentTypeId?: mongoose.Types.ObjectId | null | undefined;
@@ -14,13 +15,12 @@ declare const DocumentModel: mongoose.Model<{
14
15
  created?: string | null | undefined;
15
16
  createdBy?: string | null | undefined;
16
17
  isGenerated?: string | null | undefined;
17
- data?: string | null | undefined;
18
18
  envelopeId?: string | null | undefined;
19
19
  documentType?: {
20
- documentTypeId?: string | null | undefined;
21
20
  data?: any;
22
- displayName?: string | null | undefined;
23
21
  value?: string | null | undefined;
22
+ documentTypeId?: string | null | undefined;
23
+ displayName?: string | null | undefined;
24
24
  } | null | undefined;
25
25
  documentUrl?: string | null | undefined;
26
26
  }, {}, {}, {}, mongoose.Document<unknown, {}, {
@@ -30,6 +30,7 @@ declare const DocumentModel: mongoose.Model<{
30
30
  documentId: string;
31
31
  signers: any[];
32
32
  applicationId?: mongoose.Types.ObjectId | null | undefined;
33
+ data?: string | null | undefined;
33
34
  owningEntityId?: string | null | undefined;
34
35
  documentTypeLid?: mongoose.Types.ObjectId | null | undefined;
35
36
  documentTypeId?: mongoose.Types.ObjectId | null | undefined;
@@ -38,17 +39,14 @@ declare const DocumentModel: mongoose.Model<{
38
39
  created?: string | null | undefined;
39
40
  createdBy?: string | null | undefined;
40
41
  isGenerated?: string | null | undefined;
41
- data?: string | null | undefined;
42
42
  envelopeId?: string | null | undefined;
43
43
  documentType?: {
44
- documentTypeId?: string | null | undefined;
45
44
  data?: any;
46
- displayName?: string | null | undefined;
47
45
  value?: string | null | undefined;
46
+ documentTypeId?: string | null | undefined;
47
+ displayName?: string | null | undefined;
48
48
  } | null | undefined;
49
49
  documentUrl?: string | null | undefined;
50
- }, {}, {
51
- timestamps: true;
52
50
  }> & {
53
51
  createdAt: NativeDate;
54
52
  updatedAt: NativeDate;
@@ -56,6 +54,7 @@ declare const DocumentModel: mongoose.Model<{
56
54
  documentId: string;
57
55
  signers: any[];
58
56
  applicationId?: mongoose.Types.ObjectId | null | undefined;
57
+ data?: string | null | undefined;
59
58
  owningEntityId?: string | null | undefined;
60
59
  documentTypeLid?: mongoose.Types.ObjectId | null | undefined;
61
60
  documentTypeId?: mongoose.Types.ObjectId | null | undefined;
@@ -64,13 +63,12 @@ declare const DocumentModel: mongoose.Model<{
64
63
  created?: string | null | undefined;
65
64
  createdBy?: string | null | undefined;
66
65
  isGenerated?: string | null | undefined;
67
- data?: string | null | undefined;
68
66
  envelopeId?: string | null | undefined;
69
67
  documentType?: {
70
- documentTypeId?: string | null | undefined;
71
68
  data?: any;
72
- displayName?: string | null | undefined;
73
69
  value?: string | null | undefined;
70
+ documentTypeId?: string | null | undefined;
71
+ displayName?: string | null | undefined;
74
72
  } | null | undefined;
75
73
  documentUrl?: string | null | undefined;
76
74
  } & {
@@ -86,6 +84,7 @@ declare const DocumentModel: mongoose.Model<{
86
84
  documentId: string;
87
85
  signers: any[];
88
86
  applicationId?: mongoose.Types.ObjectId | null | undefined;
87
+ data?: string | null | undefined;
89
88
  owningEntityId?: string | null | undefined;
90
89
  documentTypeLid?: mongoose.Types.ObjectId | null | undefined;
91
90
  documentTypeId?: mongoose.Types.ObjectId | null | undefined;
@@ -94,13 +93,12 @@ declare const DocumentModel: mongoose.Model<{
94
93
  created?: string | null | undefined;
95
94
  createdBy?: string | null | undefined;
96
95
  isGenerated?: string | null | undefined;
97
- data?: string | null | undefined;
98
96
  envelopeId?: string | null | undefined;
99
97
  documentType?: {
100
- documentTypeId?: string | null | undefined;
101
98
  data?: any;
102
- displayName?: string | null | undefined;
103
99
  value?: string | null | undefined;
100
+ documentTypeId?: string | null | undefined;
101
+ displayName?: string | null | undefined;
104
102
  } | null | undefined;
105
103
  documentUrl?: string | null | undefined;
106
104
  }, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
@@ -110,6 +108,7 @@ declare const DocumentModel: mongoose.Model<{
110
108
  documentId: string;
111
109
  signers: any[];
112
110
  applicationId?: mongoose.Types.ObjectId | null | undefined;
111
+ data?: string | null | undefined;
113
112
  owningEntityId?: string | null | undefined;
114
113
  documentTypeLid?: mongoose.Types.ObjectId | null | undefined;
115
114
  documentTypeId?: mongoose.Types.ObjectId | null | undefined;
@@ -118,17 +117,14 @@ declare const DocumentModel: mongoose.Model<{
118
117
  created?: string | null | undefined;
119
118
  createdBy?: string | null | undefined;
120
119
  isGenerated?: string | null | undefined;
121
- data?: string | null | undefined;
122
120
  envelopeId?: string | null | undefined;
123
121
  documentType?: {
124
- documentTypeId?: string | null | undefined;
125
122
  data?: any;
126
- displayName?: string | null | undefined;
127
123
  value?: string | null | undefined;
124
+ documentTypeId?: string | null | undefined;
125
+ displayName?: string | null | undefined;
128
126
  } | null | undefined;
129
127
  documentUrl?: string | null | undefined;
130
- }>, {}, mongoose.ResolveSchemaOptions<{
131
- timestamps: true;
132
128
  }>> & mongoose.FlatRecord<{
133
129
  createdAt: NativeDate;
134
130
  updatedAt: NativeDate;
@@ -136,6 +132,7 @@ declare const DocumentModel: mongoose.Model<{
136
132
  documentId: string;
137
133
  signers: any[];
138
134
  applicationId?: mongoose.Types.ObjectId | null | undefined;
135
+ data?: string | null | undefined;
139
136
  owningEntityId?: string | null | undefined;
140
137
  documentTypeLid?: mongoose.Types.ObjectId | null | undefined;
141
138
  documentTypeId?: mongoose.Types.ObjectId | null | undefined;
@@ -144,13 +141,12 @@ declare const DocumentModel: mongoose.Model<{
144
141
  created?: string | null | undefined;
145
142
  createdBy?: string | null | undefined;
146
143
  isGenerated?: string | null | undefined;
147
- data?: string | null | undefined;
148
144
  envelopeId?: string | null | undefined;
149
145
  documentType?: {
150
- documentTypeId?: string | null | undefined;
151
146
  data?: any;
152
- displayName?: string | null | undefined;
153
147
  value?: string | null | undefined;
148
+ documentTypeId?: string | null | undefined;
149
+ displayName?: string | null | undefined;
154
150
  } | null | undefined;
155
151
  documentUrl?: string | null | undefined;
156
152
  }> & {
@@ -1 +1 @@
1
- {"version":3,"file":"document.model.d.ts","sourceRoot":"","sources":["../../applications/document.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAoChC,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA6C,CAAC;AACjE,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"document.model.d.ts","sourceRoot":"","sources":["../../applications/document.model.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAoChC,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA6C,CAAC;AACjE,eAAe,aAAa,CAAC"}
@@ -51,7 +51,7 @@ declare const productFeaturesSchema: mongoose.Schema<any, mongoose.Model<any, an
51
51
  rate: string;
52
52
  addedToLoan: string;
53
53
  allowOverride: string;
54
- }, mongoose.Types.Subdocument<mongoose.mongo.BSON.ObjectId, any, {
54
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
55
55
  description: string;
56
56
  additionalData: any;
57
57
  feeType: string;
@@ -171,7 +171,7 @@ declare const productFeaturesSchema: mongoose.Schema<any, mongoose.Model<any, an
171
171
  rate: string;
172
172
  addedToLoan: string;
173
173
  allowOverride: string;
174
- }, mongoose.Types.Subdocument<mongoose.mongo.BSON.ObjectId, any, {
174
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
175
175
  description: string;
176
176
  additionalData: any;
177
177
  feeType: string;
@@ -239,7 +239,7 @@ declare const productFeaturesSchema: mongoose.Schema<any, mongoose.Model<any, an
239
239
  outstandingCapital: string;
240
240
  } | null | undefined;
241
241
  } | null | undefined;
242
- }>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<{
242
+ }>> & mongoose.FlatRecord<{
243
243
  name: string;
244
244
  repaymentType: string;
245
245
  ltv: string;
@@ -291,7 +291,7 @@ declare const productFeaturesSchema: mongoose.Schema<any, mongoose.Model<any, an
291
291
  rate: string;
292
292
  addedToLoan: string;
293
293
  allowOverride: string;
294
- }, mongoose.Types.Subdocument<mongoose.mongo.BSON.ObjectId, any, {
294
+ }, mongoose.Types.Subdocument<mongoose.Types.ObjectId, any, {
295
295
  description: string;
296
296
  additionalData: any;
297
297
  feeType: string;
@@ -11,7 +11,7 @@ declare const DocumentTypeModel: mongoose.Model<{
11
11
  parentDocumentTypeId: mongoose.Types.ObjectId;
12
12
  label?: string | null | undefined;
13
13
  matchRules?: any;
14
- }, {}, mongoose.DefaultSchemaOptions> & {
14
+ }> & {
15
15
  name: string;
16
16
  source: string;
17
17
  parentDocumentTypeId: mongoose.Types.ObjectId;
@@ -33,7 +33,7 @@ declare const DocumentTypeModel: mongoose.Model<{
33
33
  parentDocumentTypeId: mongoose.Types.ObjectId;
34
34
  label?: string | null | undefined;
35
35
  matchRules?: any;
36
- }>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<{
36
+ }>> & mongoose.FlatRecord<{
37
37
  name: string;
38
38
  source: string;
39
39
  parentDocumentTypeId: mongoose.Types.ObjectId;
@@ -11,7 +11,7 @@ const lookupGroupSchema = new mongoose.Schema({
11
11
  type: mongoose.Schema.Types.ObjectId,
12
12
  ref: "Lookup", // References the Lookup collection
13
13
  },
14
- ],
14
+ ]
15
15
  });
16
16
  // Apply workflow plugin to the schema
17
17
  applyWorkflowPlugin(lookupGroupSchema, 'lookupgroup');
@@ -28,16 +28,19 @@
28
28
  /// <reference types="mongoose/types/inferrawdoctype" />
29
29
  import mongoose from "mongoose";
30
30
  declare const LookupModel: mongoose.Model<{
31
+ isActive: boolean;
31
32
  text: string;
32
33
  name: string;
33
34
  value?: string | null | undefined;
34
35
  lookupGroupId?: mongoose.Types.ObjectId | null | undefined;
35
36
  }, {}, {}, {}, mongoose.Document<unknown, {}, {
37
+ isActive: boolean;
36
38
  text: string;
37
39
  name: string;
38
40
  value?: string | null | undefined;
39
41
  lookupGroupId?: mongoose.Types.ObjectId | null | undefined;
40
42
  }, {}> & {
43
+ isActive: boolean;
41
44
  text: string;
42
45
  name: string;
43
46
  value?: string | null | undefined;
@@ -47,16 +50,19 @@ declare const LookupModel: mongoose.Model<{
47
50
  } & {
48
51
  __v: number;
49
52
  }, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, {
53
+ isActive: boolean;
50
54
  text: string;
51
55
  name: string;
52
56
  value?: string | null | undefined;
53
57
  lookupGroupId?: mongoose.Types.ObjectId | null | undefined;
54
58
  }, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
59
+ isActive: boolean;
55
60
  text: string;
56
61
  name: string;
57
62
  value?: string | null | undefined;
58
63
  lookupGroupId?: mongoose.Types.ObjectId | null | undefined;
59
64
  }>, {}> & mongoose.FlatRecord<{
65
+ isActive: boolean;
60
66
  text: string;
61
67
  name: string;
62
68
  value?: string | null | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"lookup.model.d.ts","sourceRoot":"","sources":["../../shared/lookup.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAgChC,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAyC,CAAC;AAC3D,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"lookup.model.d.ts","sourceRoot":"","sources":["../../shared/lookup.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAqChC,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAyC,CAAC;AAC3D,eAAe,WAAW,CAAC"}
@@ -14,6 +14,11 @@ const lookupSchema = new mongoose.Schema({
14
14
  },
15
15
  value: {
16
16
  type: String
17
+ },
18
+ isActive: {
19
+ type: Boolean,
20
+ default: true,
21
+ description: "Whether the lookup is active"
17
22
  }
18
23
  });
19
24
  lookupSchema.index({ lookupGroupId: 1 });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamatix/gb-schemas",
3
- "version": "2.3.402",
3
+ "version": "2.3.404",
4
4
  "description": "All the schemas for gatehouse bank back-end",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",