@dynamatix/gb-schemas 1.2.41 → 1.2.43

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.
@@ -126,6 +126,42 @@ const companySchema = new mongoose.Schema({
126
126
  epc: { type: String, default: "" },
127
127
  remainingLease: { type: String, default: "" },
128
128
  dateOfIncorporation: { type: String, default: null },
129
+ }, {
130
+ timestamps: true,
131
+ toJSON: { virtuals: true, getters: true },
132
+ toObject: { virtuals: true, getters: true }
129
133
  });
134
+ const virtualBusinessType = companySchema.virtual('businessType', {
135
+ ref: 'Lookup',
136
+ localField: 'businessTypeLid',
137
+ foreignField: '_id',
138
+ justOne: true,
139
+ options: { select: 'label' }
140
+ });
141
+ virtualBusinessType.description = 'Populated lookup value for business type';
142
+ const virtualTaxJurisdiction = companySchema.virtual('taxJurisdiction', {
143
+ ref: 'Lookup',
144
+ localField: 'taxJurisdictionLid',
145
+ foreignField: '_id',
146
+ justOne: true,
147
+ options: { select: 'label' }
148
+ });
149
+ virtualTaxJurisdiction.description = 'Populated lookup value for tax jurisdiction';
150
+ const virtualAddressCountry = companySchema.virtual('addressCountry', {
151
+ ref: 'Lookup',
152
+ localField: 'addressCountryLid',
153
+ foreignField: '_id',
154
+ justOne: true,
155
+ options: { select: 'label' }
156
+ });
157
+ virtualAddressCountry.description = 'Populated lookup value for address country';
158
+ const virtualApplicationType = companySchema.virtual('applicationType', {
159
+ ref: 'Lookup',
160
+ localField: 'applicationTypeLid',
161
+ foreignField: '_id',
162
+ justOne: true,
163
+ options: { select: 'label' }
164
+ });
165
+ virtualApplicationType.description = 'Populated lookup value for application type';
130
166
  const ApplicationCompanyModel = mongoose.model("ApplicationCompany", companySchema);
131
167
  export default ApplicationCompanyModel;
@@ -170,15 +170,15 @@ declare const ApplicationDirectDebitModel: mongoose.Model<{
170
170
  select?: {} | null | undefined;
171
171
  immutable?: {} | null | undefined;
172
172
  transform?: {} | null | undefined;
173
+ options?: {
174
+ [x: string]: unknown;
175
+ } | null | undefined;
173
176
  OptionsConstructor?: {
174
177
  [x: string]: unknown;
175
178
  } | null | undefined;
176
179
  getEmbeddedSchemaType?: {} | null | undefined;
177
180
  instance?: unknown;
178
181
  isRequired?: unknown;
179
- options?: {
180
- [x: string]: unknown;
181
- } | null | undefined;
182
182
  path?: unknown;
183
183
  validateAll?: {} | null | undefined;
184
184
  defaultOptions?: unknown;
@@ -327,15 +327,15 @@ declare const ApplicationDirectDebitModel: mongoose.Model<{
327
327
  select?: {} | null | undefined;
328
328
  immutable?: {} | null | undefined;
329
329
  transform?: {} | null | undefined;
330
+ options?: {
331
+ [x: string]: unknown;
332
+ } | null | undefined;
330
333
  OptionsConstructor?: {
331
334
  [x: string]: unknown;
332
335
  } | null | undefined;
333
336
  getEmbeddedSchemaType?: {} | null | undefined;
334
337
  instance?: unknown;
335
338
  isRequired?: unknown;
336
- options?: {
337
- [x: string]: unknown;
338
- } | null | undefined;
339
339
  path?: unknown;
340
340
  validateAll?: {} | null | undefined;
341
341
  defaultOptions?: unknown;
@@ -484,15 +484,15 @@ declare const ApplicationDirectDebitModel: mongoose.Model<{
484
484
  select?: {} | null | undefined;
485
485
  immutable?: {} | null | undefined;
486
486
  transform?: {} | null | undefined;
487
+ options?: {
488
+ [x: string]: unknown;
489
+ } | null | undefined;
487
490
  OptionsConstructor?: {
488
491
  [x: string]: unknown;
489
492
  } | null | undefined;
490
493
  getEmbeddedSchemaType?: {} | null | undefined;
491
494
  instance?: unknown;
492
495
  isRequired?: unknown;
493
- options?: {
494
- [x: string]: unknown;
495
- } | null | undefined;
496
496
  path?: unknown;
497
497
  validateAll?: {} | null | undefined;
498
498
  defaultOptions?: unknown;
@@ -165,15 +165,15 @@ declare const MortgageModel: mongoose.Model<{
165
165
  select?: {} | null | undefined;
166
166
  immutable?: {} | null | undefined;
167
167
  transform?: {} | null | undefined;
168
+ options?: {
169
+ [x: string]: unknown;
170
+ } | null | undefined;
168
171
  OptionsConstructor?: {
169
172
  [x: string]: unknown;
170
173
  } | null | undefined;
171
174
  getEmbeddedSchemaType?: {} | null | undefined;
172
175
  instance?: unknown;
173
176
  isRequired?: unknown;
174
- options?: {
175
- [x: string]: unknown;
176
- } | null | undefined;
177
177
  path?: unknown;
178
178
  validateAll?: {} | null | undefined;
179
179
  defaultOptions?: unknown;
@@ -262,15 +262,15 @@ declare const MortgageModel: mongoose.Model<{
262
262
  select?: {} | null | undefined;
263
263
  immutable?: {} | null | undefined;
264
264
  transform?: {} | null | undefined;
265
+ options?: {
266
+ [x: string]: unknown;
267
+ } | null | undefined;
265
268
  OptionsConstructor?: {
266
269
  [x: string]: unknown;
267
270
  } | null | undefined;
268
271
  getEmbeddedSchemaType?: {} | null | undefined;
269
272
  instance?: unknown;
270
273
  isRequired?: unknown;
271
- options?: {
272
- [x: string]: unknown;
273
- } | null | undefined;
274
274
  path?: unknown;
275
275
  validateAll?: {} | null | undefined;
276
276
  defaultOptions?: unknown;
@@ -309,15 +309,15 @@ declare const MortgageModel: mongoose.Model<{
309
309
  select?: {} | null | undefined;
310
310
  immutable?: {} | null | undefined;
311
311
  transform?: {} | null | undefined;
312
+ options?: {
313
+ [x: string]: unknown;
314
+ } | null | undefined;
312
315
  OptionsConstructor?: {
313
316
  [x: string]: unknown;
314
317
  } | null | undefined;
315
318
  getEmbeddedSchemaType?: {} | null | undefined;
316
319
  instance?: unknown;
317
320
  isRequired?: unknown;
318
- options?: {
319
- [x: string]: unknown;
320
- } | null | undefined;
321
321
  path?: unknown;
322
322
  validateAll?: {} | null | undefined;
323
323
  defaultOptions?: unknown;
@@ -356,15 +356,15 @@ declare const MortgageModel: mongoose.Model<{
356
356
  select?: {} | null | undefined;
357
357
  immutable?: {} | null | undefined;
358
358
  transform?: {} | null | undefined;
359
+ options?: {
360
+ [x: string]: unknown;
361
+ } | null | undefined;
359
362
  OptionsConstructor?: {
360
363
  [x: string]: unknown;
361
364
  } | null | undefined;
362
365
  getEmbeddedSchemaType?: {} | null | undefined;
363
366
  instance?: unknown;
364
367
  isRequired?: unknown;
365
- options?: {
366
- [x: string]: unknown;
367
- } | null | undefined;
368
368
  path?: unknown;
369
369
  validateAll?: {} | null | undefined;
370
370
  defaultOptions?: unknown;
@@ -522,15 +522,15 @@ declare const MortgageModel: mongoose.Model<{
522
522
  select?: {} | null | undefined;
523
523
  immutable?: {} | null | undefined;
524
524
  transform?: {} | null | undefined;
525
+ options?: {
526
+ [x: string]: unknown;
527
+ } | null | undefined;
525
528
  OptionsConstructor?: {
526
529
  [x: string]: unknown;
527
530
  } | null | undefined;
528
531
  getEmbeddedSchemaType?: {} | null | undefined;
529
532
  instance?: unknown;
530
533
  isRequired?: unknown;
531
- options?: {
532
- [x: string]: unknown;
533
- } | null | undefined;
534
534
  path?: unknown;
535
535
  validateAll?: {} | null | undefined;
536
536
  defaultOptions?: unknown;
@@ -619,15 +619,15 @@ declare const MortgageModel: mongoose.Model<{
619
619
  select?: {} | null | undefined;
620
620
  immutable?: {} | null | undefined;
621
621
  transform?: {} | null | undefined;
622
+ options?: {
623
+ [x: string]: unknown;
624
+ } | null | undefined;
622
625
  OptionsConstructor?: {
623
626
  [x: string]: unknown;
624
627
  } | null | undefined;
625
628
  getEmbeddedSchemaType?: {} | null | undefined;
626
629
  instance?: unknown;
627
630
  isRequired?: unknown;
628
- options?: {
629
- [x: string]: unknown;
630
- } | null | undefined;
631
631
  path?: unknown;
632
632
  validateAll?: {} | null | undefined;
633
633
  defaultOptions?: unknown;
@@ -666,15 +666,15 @@ declare const MortgageModel: mongoose.Model<{
666
666
  select?: {} | null | undefined;
667
667
  immutable?: {} | null | undefined;
668
668
  transform?: {} | null | undefined;
669
+ options?: {
670
+ [x: string]: unknown;
671
+ } | null | undefined;
669
672
  OptionsConstructor?: {
670
673
  [x: string]: unknown;
671
674
  } | null | undefined;
672
675
  getEmbeddedSchemaType?: {} | null | undefined;
673
676
  instance?: unknown;
674
677
  isRequired?: unknown;
675
- options?: {
676
- [x: string]: unknown;
677
- } | null | undefined;
678
678
  path?: unknown;
679
679
  validateAll?: {} | null | undefined;
680
680
  defaultOptions?: unknown;
@@ -713,15 +713,15 @@ declare const MortgageModel: mongoose.Model<{
713
713
  select?: {} | null | undefined;
714
714
  immutable?: {} | null | undefined;
715
715
  transform?: {} | null | undefined;
716
+ options?: {
717
+ [x: string]: unknown;
718
+ } | null | undefined;
716
719
  OptionsConstructor?: {
717
720
  [x: string]: unknown;
718
721
  } | null | undefined;
719
722
  getEmbeddedSchemaType?: {} | null | undefined;
720
723
  instance?: unknown;
721
724
  isRequired?: unknown;
722
- options?: {
723
- [x: string]: unknown;
724
- } | null | undefined;
725
725
  path?: unknown;
726
726
  validateAll?: {} | null | undefined;
727
727
  defaultOptions?: unknown;
@@ -879,15 +879,15 @@ declare const MortgageModel: mongoose.Model<{
879
879
  select?: {} | null | undefined;
880
880
  immutable?: {} | null | undefined;
881
881
  transform?: {} | null | undefined;
882
+ options?: {
883
+ [x: string]: unknown;
884
+ } | null | undefined;
882
885
  OptionsConstructor?: {
883
886
  [x: string]: unknown;
884
887
  } | null | undefined;
885
888
  getEmbeddedSchemaType?: {} | null | undefined;
886
889
  instance?: unknown;
887
890
  isRequired?: unknown;
888
- options?: {
889
- [x: string]: unknown;
890
- } | null | undefined;
891
891
  path?: unknown;
892
892
  validateAll?: {} | null | undefined;
893
893
  defaultOptions?: unknown;
@@ -976,15 +976,15 @@ declare const MortgageModel: mongoose.Model<{
976
976
  select?: {} | null | undefined;
977
977
  immutable?: {} | null | undefined;
978
978
  transform?: {} | null | undefined;
979
+ options?: {
980
+ [x: string]: unknown;
981
+ } | null | undefined;
979
982
  OptionsConstructor?: {
980
983
  [x: string]: unknown;
981
984
  } | null | undefined;
982
985
  getEmbeddedSchemaType?: {} | null | undefined;
983
986
  instance?: unknown;
984
987
  isRequired?: unknown;
985
- options?: {
986
- [x: string]: unknown;
987
- } | null | undefined;
988
988
  path?: unknown;
989
989
  validateAll?: {} | null | undefined;
990
990
  defaultOptions?: unknown;
@@ -1023,15 +1023,15 @@ declare const MortgageModel: mongoose.Model<{
1023
1023
  select?: {} | null | undefined;
1024
1024
  immutable?: {} | null | undefined;
1025
1025
  transform?: {} | null | undefined;
1026
+ options?: {
1027
+ [x: string]: unknown;
1028
+ } | null | undefined;
1026
1029
  OptionsConstructor?: {
1027
1030
  [x: string]: unknown;
1028
1031
  } | null | undefined;
1029
1032
  getEmbeddedSchemaType?: {} | null | undefined;
1030
1033
  instance?: unknown;
1031
1034
  isRequired?: unknown;
1032
- options?: {
1033
- [x: string]: unknown;
1034
- } | null | undefined;
1035
1035
  path?: unknown;
1036
1036
  validateAll?: {} | null | undefined;
1037
1037
  defaultOptions?: unknown;
@@ -1070,15 +1070,15 @@ declare const MortgageModel: mongoose.Model<{
1070
1070
  select?: {} | null | undefined;
1071
1071
  immutable?: {} | null | undefined;
1072
1072
  transform?: {} | null | undefined;
1073
+ options?: {
1074
+ [x: string]: unknown;
1075
+ } | null | undefined;
1073
1076
  OptionsConstructor?: {
1074
1077
  [x: string]: unknown;
1075
1078
  } | null | undefined;
1076
1079
  getEmbeddedSchemaType?: {} | null | undefined;
1077
1080
  instance?: unknown;
1078
1081
  isRequired?: unknown;
1079
- options?: {
1080
- [x: string]: unknown;
1081
- } | null | undefined;
1082
1082
  path?: unknown;
1083
1083
  validateAll?: {} | null | undefined;
1084
1084
  defaultOptions?: unknown;
@@ -32,13 +32,13 @@ declare const ProductModel: mongoose.Model<{
32
32
  pageValidFlag?: unknown;
33
33
  repaymentTypeLid?: unknown;
34
34
  lendingTypeLid?: unknown;
35
- numberOfYearsToRepayFinance?: unknown;
35
+ numberOfYearsToRepay?: unknown;
36
36
  repaymentVehicle?: unknown;
37
37
  fixedAmount?: unknown;
38
38
  isFinanceRecommendedToApplicantLid?: unknown;
39
39
  procFeeRateLid?: unknown;
40
40
  networkClubSubmission?: unknown;
41
- networkClubNameLid?: unknown;
41
+ clubNetworkNameLid?: unknown;
42
42
  introducerSubmission?: unknown;
43
43
  introducer?: unknown;
44
44
  bdm?: unknown;
@@ -50,13 +50,13 @@ declare const ProductModel: mongoose.Model<{
50
50
  pageValidFlag?: unknown;
51
51
  repaymentTypeLid?: unknown;
52
52
  lendingTypeLid?: unknown;
53
- numberOfYearsToRepayFinance?: unknown;
53
+ numberOfYearsToRepay?: unknown;
54
54
  repaymentVehicle?: unknown;
55
55
  fixedAmount?: unknown;
56
56
  isFinanceRecommendedToApplicantLid?: unknown;
57
57
  procFeeRateLid?: unknown;
58
58
  networkClubSubmission?: unknown;
59
- networkClubNameLid?: unknown;
59
+ clubNetworkNameLid?: unknown;
60
60
  introducerSubmission?: unknown;
61
61
  introducer?: unknown;
62
62
  bdm?: unknown;
@@ -68,13 +68,13 @@ declare const ProductModel: mongoose.Model<{
68
68
  pageValidFlag?: unknown;
69
69
  repaymentTypeLid?: unknown;
70
70
  lendingTypeLid?: unknown;
71
- numberOfYearsToRepayFinance?: unknown;
71
+ numberOfYearsToRepay?: unknown;
72
72
  repaymentVehicle?: unknown;
73
73
  fixedAmount?: unknown;
74
74
  isFinanceRecommendedToApplicantLid?: unknown;
75
75
  procFeeRateLid?: unknown;
76
76
  networkClubSubmission?: unknown;
77
- networkClubNameLid?: unknown;
77
+ clubNetworkNameLid?: unknown;
78
78
  introducerSubmission?: unknown;
79
79
  introducer?: unknown;
80
80
  bdm?: unknown;
@@ -90,13 +90,13 @@ declare const ProductModel: mongoose.Model<{
90
90
  pageValidFlag?: unknown;
91
91
  repaymentTypeLid?: unknown;
92
92
  lendingTypeLid?: unknown;
93
- numberOfYearsToRepayFinance?: unknown;
93
+ numberOfYearsToRepay?: unknown;
94
94
  repaymentVehicle?: unknown;
95
95
  fixedAmount?: unknown;
96
96
  isFinanceRecommendedToApplicantLid?: unknown;
97
97
  procFeeRateLid?: unknown;
98
98
  networkClubSubmission?: unknown;
99
- networkClubNameLid?: unknown;
99
+ clubNetworkNameLid?: unknown;
100
100
  introducerSubmission?: unknown;
101
101
  introducer?: unknown;
102
102
  bdm?: unknown;
@@ -108,13 +108,13 @@ declare const ProductModel: mongoose.Model<{
108
108
  pageValidFlag?: unknown;
109
109
  repaymentTypeLid?: unknown;
110
110
  lendingTypeLid?: unknown;
111
- numberOfYearsToRepayFinance?: unknown;
111
+ numberOfYearsToRepay?: unknown;
112
112
  repaymentVehicle?: unknown;
113
113
  fixedAmount?: unknown;
114
114
  isFinanceRecommendedToApplicantLid?: unknown;
115
115
  procFeeRateLid?: unknown;
116
116
  networkClubSubmission?: unknown;
117
- networkClubNameLid?: unknown;
117
+ clubNetworkNameLid?: unknown;
118
118
  introducerSubmission?: unknown;
119
119
  introducer?: unknown;
120
120
  bdm?: unknown;
@@ -126,13 +126,13 @@ declare const ProductModel: mongoose.Model<{
126
126
  pageValidFlag?: unknown;
127
127
  repaymentTypeLid?: unknown;
128
128
  lendingTypeLid?: unknown;
129
- numberOfYearsToRepayFinance?: unknown;
129
+ numberOfYearsToRepay?: unknown;
130
130
  repaymentVehicle?: unknown;
131
131
  fixedAmount?: unknown;
132
132
  isFinanceRecommendedToApplicantLid?: unknown;
133
133
  procFeeRateLid?: unknown;
134
134
  networkClubSubmission?: unknown;
135
- networkClubNameLid?: unknown;
135
+ clubNetworkNameLid?: unknown;
136
136
  introducerSubmission?: unknown;
137
137
  introducer?: unknown;
138
138
  bdm?: unknown;
@@ -8,13 +8,13 @@ const productSchema = new mongoose.Schema({
8
8
  lendingTypeLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup" },
9
9
  pageValidFlag: { type: Boolean, get: (value) => (value ? "Yes" : "No") },
10
10
  repaymentTypeLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup" },
11
- numberOfYearsToRepayFinance: { type: Number, default: 0 },
11
+ numberOfYearsToRepay: { type: Number, default: 0 },
12
12
  repaymentVehicle: { type: String, required: true, default: '', maxLength: 100 },
13
13
  fixedAmount: { type: Pound, default: '£0.00', required: false },
14
14
  isFinanceRecommendedToApplicantLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup" },
15
15
  procFeeRateLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup" },
16
16
  networkClubSubmission: { type: Boolean, required: true, get: (value) => (value ? "Yes" : "No") },
17
- networkClubNameLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup" },
17
+ clubNetworkNameLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup" },
18
18
  introducerSubmission: { type: Boolean, required: true, get: (value) => (value ? "Yes" : "No") },
19
19
  introducer: { type: String, default: '' },
20
20
  bdm: { type: String, required: true, default: '' },
@@ -49,12 +49,12 @@ productSchema.virtual('procFeeRate').get(function () {
49
49
  ? null
50
50
  : procFeeRate?.name || null;
51
51
  });
52
- // virtual property 'networkClubName'
53
- productSchema.virtual('networkClubName').get(function () {
54
- const networkClubName = this.networkClubNameLid;
55
- return networkClubName && networkClubName instanceof mongoose.Types.ObjectId
52
+ // virtual property 'clubNetworkName'
53
+ productSchema.virtual('clubNetworkName').get(function () {
54
+ const clubNetworkName = this.clubNetworkNameLid;
55
+ return clubNetworkName && clubNetworkName instanceof mongoose.Types.ObjectId
56
56
  ? null
57
- : networkClubName?.name || null;
57
+ : clubNetworkName?.name || null;
58
58
  });
59
59
  // virtual property 'productFeePaymentType'
60
60
  productSchema.virtual('productFeePaymentType').get(function () {
@@ -37,7 +37,6 @@ declare const ApplicationModel: mongoose.Model<{
37
37
  lendingTypeLid: mongoose.Types.ObjectId;
38
38
  introducer: string;
39
39
  isFinanceRecommendedToApplicant: string;
40
- networkClubName: string;
41
40
  statusLid: mongoose.Types.ObjectId;
42
41
  queueId: mongoose.Types.ObjectId[];
43
42
  isApplicationFeePaid: string;
@@ -51,6 +50,7 @@ declare const ApplicationModel: mongoose.Model<{
51
50
  isIntroducerSubmission: string;
52
51
  isBrokerAssigned: string;
53
52
  isWorkflowTaskCreated: string;
53
+ networkClubName: string;
54
54
  isNetworkClubSubmission: string;
55
55
  newReason: string;
56
56
  purchaseTypeLid: mongoose.Types.ObjectId;
@@ -225,7 +225,6 @@ declare const ApplicationModel: mongoose.Model<{
225
225
  lendingTypeLid: mongoose.Types.ObjectId;
226
226
  introducer: string;
227
227
  isFinanceRecommendedToApplicant: string;
228
- networkClubName: string;
229
228
  statusLid: mongoose.Types.ObjectId;
230
229
  queueId: mongoose.Types.ObjectId[];
231
230
  isApplicationFeePaid: string;
@@ -239,6 +238,7 @@ declare const ApplicationModel: mongoose.Model<{
239
238
  isIntroducerSubmission: string;
240
239
  isBrokerAssigned: string;
241
240
  isWorkflowTaskCreated: string;
241
+ networkClubName: string;
242
242
  isNetworkClubSubmission: string;
243
243
  newReason: string;
244
244
  purchaseTypeLid: mongoose.Types.ObjectId;
@@ -413,7 +413,6 @@ declare const ApplicationModel: mongoose.Model<{
413
413
  lendingTypeLid: mongoose.Types.ObjectId;
414
414
  introducer: string;
415
415
  isFinanceRecommendedToApplicant: string;
416
- networkClubName: string;
417
416
  statusLid: mongoose.Types.ObjectId;
418
417
  queueId: mongoose.Types.ObjectId[];
419
418
  isApplicationFeePaid: string;
@@ -427,6 +426,7 @@ declare const ApplicationModel: mongoose.Model<{
427
426
  isIntroducerSubmission: string;
428
427
  isBrokerAssigned: string;
429
428
  isWorkflowTaskCreated: string;
429
+ networkClubName: string;
430
430
  isNetworkClubSubmission: string;
431
431
  newReason: string;
432
432
  purchaseTypeLid: mongoose.Types.ObjectId;
@@ -613,7 +613,6 @@ declare const ApplicationModel: mongoose.Model<{
613
613
  lendingTypeLid: mongoose.Types.ObjectId;
614
614
  introducer: string;
615
615
  isFinanceRecommendedToApplicant: string;
616
- networkClubName: string;
617
616
  statusLid: mongoose.Types.ObjectId;
618
617
  queueId: mongoose.Types.ObjectId[];
619
618
  isApplicationFeePaid: string;
@@ -627,6 +626,7 @@ declare const ApplicationModel: mongoose.Model<{
627
626
  isIntroducerSubmission: string;
628
627
  isBrokerAssigned: string;
629
628
  isWorkflowTaskCreated: string;
629
+ networkClubName: string;
630
630
  isNetworkClubSubmission: string;
631
631
  newReason: string;
632
632
  purchaseTypeLid: mongoose.Types.ObjectId;
@@ -801,7 +801,6 @@ declare const ApplicationModel: mongoose.Model<{
801
801
  lendingTypeLid: mongoose.Types.ObjectId;
802
802
  introducer: string;
803
803
  isFinanceRecommendedToApplicant: string;
804
- networkClubName: string;
805
804
  statusLid: mongoose.Types.ObjectId;
806
805
  queueId: mongoose.Types.ObjectId[];
807
806
  isApplicationFeePaid: string;
@@ -815,6 +814,7 @@ declare const ApplicationModel: mongoose.Model<{
815
814
  isIntroducerSubmission: string;
816
815
  isBrokerAssigned: string;
817
816
  isWorkflowTaskCreated: string;
817
+ networkClubName: string;
818
818
  isNetworkClubSubmission: string;
819
819
  newReason: string;
820
820
  purchaseTypeLid: mongoose.Types.ObjectId;
@@ -989,7 +989,6 @@ declare const ApplicationModel: mongoose.Model<{
989
989
  lendingTypeLid: mongoose.Types.ObjectId;
990
990
  introducer: string;
991
991
  isFinanceRecommendedToApplicant: string;
992
- networkClubName: string;
993
992
  statusLid: mongoose.Types.ObjectId;
994
993
  queueId: mongoose.Types.ObjectId[];
995
994
  isApplicationFeePaid: string;
@@ -1003,6 +1002,7 @@ declare const ApplicationModel: mongoose.Model<{
1003
1002
  isIntroducerSubmission: string;
1004
1003
  isBrokerAssigned: string;
1005
1004
  isWorkflowTaskCreated: string;
1005
+ networkClubName: string;
1006
1006
  isNetworkClubSubmission: string;
1007
1007
  newReason: string;
1008
1008
  purchaseTypeLid: mongoose.Types.ObjectId;
@@ -35,10 +35,10 @@ declare const BrokerModel: mongoose.Model<{
35
35
  addressLine2?: string | null | undefined;
36
36
  addressLine3?: string | null | undefined;
37
37
  addressCity?: string | null | undefined;
38
+ addressCountry?: string | null | undefined;
38
39
  brokerId?: string | null | undefined;
39
40
  landlinePhone?: string | null | undefined;
40
41
  mobileTelephone?: string | null | undefined;
41
- addressCountry?: string | null | undefined;
42
42
  tradingName?: string | null | undefined;
43
43
  fcaNumber?: string | null | undefined;
44
44
  brokerType?: string | null | undefined;
@@ -55,10 +55,10 @@ declare const BrokerModel: mongoose.Model<{
55
55
  addressLine2?: string | null | undefined;
56
56
  addressLine3?: string | null | undefined;
57
57
  addressCity?: string | null | undefined;
58
+ addressCountry?: string | null | undefined;
58
59
  brokerId?: string | null | undefined;
59
60
  landlinePhone?: string | null | undefined;
60
61
  mobileTelephone?: string | null | undefined;
61
- addressCountry?: string | null | undefined;
62
62
  tradingName?: string | null | undefined;
63
63
  fcaNumber?: string | null | undefined;
64
64
  brokerType?: string | null | undefined;
@@ -75,10 +75,10 @@ declare const BrokerModel: mongoose.Model<{
75
75
  addressLine2?: string | null | undefined;
76
76
  addressLine3?: string | null | undefined;
77
77
  addressCity?: string | null | undefined;
78
+ addressCountry?: string | null | undefined;
78
79
  brokerId?: string | null | undefined;
79
80
  landlinePhone?: string | null | undefined;
80
81
  mobileTelephone?: string | null | undefined;
81
- addressCountry?: string | null | undefined;
82
82
  tradingName?: string | null | undefined;
83
83
  fcaNumber?: string | null | undefined;
84
84
  brokerType?: string | null | undefined;
@@ -101,10 +101,10 @@ declare const BrokerModel: mongoose.Model<{
101
101
  addressLine2?: string | null | undefined;
102
102
  addressLine3?: string | null | undefined;
103
103
  addressCity?: string | null | undefined;
104
+ addressCountry?: string | null | undefined;
104
105
  brokerId?: string | null | undefined;
105
106
  landlinePhone?: string | null | undefined;
106
107
  mobileTelephone?: string | null | undefined;
107
- addressCountry?: string | null | undefined;
108
108
  tradingName?: string | null | undefined;
109
109
  fcaNumber?: string | null | undefined;
110
110
  brokerType?: string | null | undefined;
@@ -121,10 +121,10 @@ declare const BrokerModel: mongoose.Model<{
121
121
  addressLine2?: string | null | undefined;
122
122
  addressLine3?: string | null | undefined;
123
123
  addressCity?: string | null | undefined;
124
+ addressCountry?: string | null | undefined;
124
125
  brokerId?: string | null | undefined;
125
126
  landlinePhone?: string | null | undefined;
126
127
  mobileTelephone?: string | null | undefined;
127
- addressCountry?: string | null | undefined;
128
128
  tradingName?: string | null | undefined;
129
129
  fcaNumber?: string | null | undefined;
130
130
  brokerType?: string | null | undefined;
@@ -141,10 +141,10 @@ declare const BrokerModel: mongoose.Model<{
141
141
  addressLine2?: string | null | undefined;
142
142
  addressLine3?: string | null | undefined;
143
143
  addressCity?: string | null | undefined;
144
+ addressCountry?: string | null | undefined;
144
145
  brokerId?: string | null | undefined;
145
146
  landlinePhone?: string | null | undefined;
146
147
  mobileTelephone?: string | null | undefined;
147
- addressCountry?: string | null | undefined;
148
148
  tradingName?: string | null | undefined;
149
149
  fcaNumber?: string | null | undefined;
150
150
  brokerType?: string | null | undefined;