@dynamatix/gb-schemas 1.2.68 → 1.2.69
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.
|
@@ -42,6 +42,7 @@ declare const applicantEmploymentSchema: mongoose.Schema<any, mongoose.Model<any
|
|
|
42
42
|
addressLine3: string;
|
|
43
43
|
addressCity: string;
|
|
44
44
|
addressCountryLid: mongoose.Types.ObjectId;
|
|
45
|
+
acceptableIncomeLids: mongoose.Types.ObjectId[];
|
|
45
46
|
averageBonusPreviousTwoYears: Pound;
|
|
46
47
|
basicGrossIncome: Pound;
|
|
47
48
|
basicPay: Pound;
|
|
@@ -77,7 +78,6 @@ declare const applicantEmploymentSchema: mongoose.Schema<any, mongoose.Model<any
|
|
|
77
78
|
secondJob: Pound;
|
|
78
79
|
travelAllowance: Pound;
|
|
79
80
|
underTerminationNoticeNote: string;
|
|
80
|
-
acceptableIncome?: string | null | undefined;
|
|
81
81
|
contractRemaining?: string | null | undefined;
|
|
82
82
|
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
83
83
|
pageValidFlag: boolean;
|
|
@@ -88,6 +88,7 @@ declare const applicantEmploymentSchema: mongoose.Schema<any, mongoose.Model<any
|
|
|
88
88
|
addressLine3: string;
|
|
89
89
|
addressCity: string;
|
|
90
90
|
addressCountryLid: mongoose.Types.ObjectId;
|
|
91
|
+
acceptableIncomeLids: mongoose.Types.ObjectId[];
|
|
91
92
|
averageBonusPreviousTwoYears: Pound;
|
|
92
93
|
basicGrossIncome: Pound;
|
|
93
94
|
basicPay: Pound;
|
|
@@ -123,7 +124,6 @@ declare const applicantEmploymentSchema: mongoose.Schema<any, mongoose.Model<any
|
|
|
123
124
|
secondJob: Pound;
|
|
124
125
|
travelAllowance: Pound;
|
|
125
126
|
underTerminationNoticeNote: string;
|
|
126
|
-
acceptableIncome?: string | null | undefined;
|
|
127
127
|
contractRemaining?: string | null | undefined;
|
|
128
128
|
}>> & mongoose.FlatRecord<{
|
|
129
129
|
pageValidFlag: boolean;
|
|
@@ -134,6 +134,7 @@ declare const applicantEmploymentSchema: mongoose.Schema<any, mongoose.Model<any
|
|
|
134
134
|
addressLine3: string;
|
|
135
135
|
addressCity: string;
|
|
136
136
|
addressCountryLid: mongoose.Types.ObjectId;
|
|
137
|
+
acceptableIncomeLids: mongoose.Types.ObjectId[];
|
|
137
138
|
averageBonusPreviousTwoYears: Pound;
|
|
138
139
|
basicGrossIncome: Pound;
|
|
139
140
|
basicPay: Pound;
|
|
@@ -169,7 +170,6 @@ declare const applicantEmploymentSchema: mongoose.Schema<any, mongoose.Model<any
|
|
|
169
170
|
secondJob: Pound;
|
|
170
171
|
travelAllowance: Pound;
|
|
171
172
|
underTerminationNoticeNote: string;
|
|
172
|
-
acceptableIncome?: string | null | undefined;
|
|
173
173
|
contractRemaining?: string | null | undefined;
|
|
174
174
|
}> & {
|
|
175
175
|
_id: mongoose.Types.ObjectId;
|
|
@@ -2,7 +2,7 @@ import mongoose from "mongoose";
|
|
|
2
2
|
import { Pound } from "../value-objects/pound";
|
|
3
3
|
const applicantEmploymentSchema = new mongoose.Schema({
|
|
4
4
|
pageValidFlag: { type: Boolean, default: false },
|
|
5
|
-
|
|
5
|
+
acceptableIncomeLids: [{ type: mongoose.Schema.Types.ObjectId, ref: "Lookup", required: true }],
|
|
6
6
|
addressCity: { type: String, default: null },
|
|
7
7
|
addressCountryLid: { type: mongoose.Schema.Types.ObjectId, ref: "Lookup", required: true },
|
|
8
8
|
addressLine1: { type: String, required: true },
|
|
@@ -1990,6 +1990,7 @@ declare const ApplicantModel: mongoose.Model<{
|
|
|
1990
1990
|
totalMontlyExpenditure?: unknown;
|
|
1991
1991
|
} | null | undefined;
|
|
1992
1992
|
employment?: {
|
|
1993
|
+
acceptableIncomeLids: mongoose.Types.ObjectId[];
|
|
1993
1994
|
pageValidFlag?: unknown;
|
|
1994
1995
|
natureOfBusiness?: unknown;
|
|
1995
1996
|
addressPostCode?: unknown;
|
|
@@ -1998,7 +1999,6 @@ declare const ApplicantModel: mongoose.Model<{
|
|
|
1998
1999
|
addressLine3?: unknown;
|
|
1999
2000
|
addressCity?: unknown;
|
|
2000
2001
|
addressCountryLid?: mongoose.Types.ObjectId | null | undefined;
|
|
2001
|
-
acceptableIncome?: unknown;
|
|
2002
2002
|
averageBonusPreviousTwoYears?: {
|
|
2003
2003
|
validators: mongoose.Types.DocumentArray<{
|
|
2004
2004
|
type?: unknown;
|
|
@@ -4674,6 +4674,7 @@ declare const ApplicantModel: mongoose.Model<{
|
|
|
4674
4674
|
totalMontlyExpenditure?: unknown;
|
|
4675
4675
|
} | null | undefined;
|
|
4676
4676
|
employment?: {
|
|
4677
|
+
acceptableIncomeLids: mongoose.Types.ObjectId[];
|
|
4677
4678
|
pageValidFlag?: unknown;
|
|
4678
4679
|
natureOfBusiness?: unknown;
|
|
4679
4680
|
addressPostCode?: unknown;
|
|
@@ -4682,7 +4683,6 @@ declare const ApplicantModel: mongoose.Model<{
|
|
|
4682
4683
|
addressLine3?: unknown;
|
|
4683
4684
|
addressCity?: unknown;
|
|
4684
4685
|
addressCountryLid?: mongoose.Types.ObjectId | null | undefined;
|
|
4685
|
-
acceptableIncome?: unknown;
|
|
4686
4686
|
averageBonusPreviousTwoYears?: {
|
|
4687
4687
|
validators: mongoose.Types.DocumentArray<{
|
|
4688
4688
|
type?: unknown;
|
|
@@ -7358,6 +7358,7 @@ declare const ApplicantModel: mongoose.Model<{
|
|
|
7358
7358
|
totalMontlyExpenditure?: unknown;
|
|
7359
7359
|
} | null | undefined;
|
|
7360
7360
|
employment?: {
|
|
7361
|
+
acceptableIncomeLids: mongoose.Types.ObjectId[];
|
|
7361
7362
|
pageValidFlag?: unknown;
|
|
7362
7363
|
natureOfBusiness?: unknown;
|
|
7363
7364
|
addressPostCode?: unknown;
|
|
@@ -7366,7 +7367,6 @@ declare const ApplicantModel: mongoose.Model<{
|
|
|
7366
7367
|
addressLine3?: unknown;
|
|
7367
7368
|
addressCity?: unknown;
|
|
7368
7369
|
addressCountryLid?: mongoose.Types.ObjectId | null | undefined;
|
|
7369
|
-
acceptableIncome?: unknown;
|
|
7370
7370
|
averageBonusPreviousTwoYears?: {
|
|
7371
7371
|
validators: mongoose.Types.DocumentArray<{
|
|
7372
7372
|
type?: unknown;
|