loanshub-shared 1.0.0 → 1.1.0
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/lib/app/index.d.ts +3 -3
- package/lib/app/index.js +18 -18
- package/lib/app/options/applicantOptions.d.ts +10 -10
- package/lib/app/options/applicantOptions.js +203 -203
- package/lib/app/options/assetOptions.d.ts +3 -3
- package/lib/app/options/assetOptions.js +38 -38
- package/lib/app/options/assetOptions.js.map +1 -1
- package/lib/app/options/bankOptions.d.ts +2 -0
- package/lib/app/options/bankOptions.js +10 -0
- package/lib/app/options/bankOptions.js.map +1 -0
- package/lib/app/options/employmentOptions.d.ts +6 -6
- package/lib/app/options/employmentOptions.js +69 -69
- package/lib/app/options/employmentOptions.js.map +1 -1
- package/lib/app/options/expenseOptions.d.ts +3 -3
- package/lib/app/options/expenseOptions.js +199 -134
- package/lib/app/options/expenseOptions.js.map +1 -1
- package/lib/app/options/index.d.ts +13 -12
- package/lib/app/options/index.js +47 -46
- package/lib/app/options/index.js.map +1 -1
- package/lib/app/options/liabilityOptions.d.ts +4 -4
- package/lib/app/options/liabilityOptions.js +60 -52
- package/lib/app/options/liabilityOptions.js.map +1 -1
- package/lib/app/options/repaymentOptions.d.ts +13 -13
- package/lib/app/options/repaymentOptions.js +53 -53
- package/lib/app/options/repaymentOptions.js.map +1 -1
- package/lib/app/stages.d.ts +15 -15
- package/lib/app/stages.js +35 -35
- package/lib/app/stages.js.map +1 -1
- package/lib/assetPropertyAddress.d.ts +26 -0
- package/lib/assetPropertyAddress.js +148 -0
- package/lib/assetPropertyAddress.js.map +1 -0
- package/lib/form/index.d.ts +2 -2
- package/lib/form/index.js +18 -18
- package/lib/form/loanForm.d.ts +180 -174
- package/lib/form/loanForm.js +92 -85
- package/lib/form/loanForm.js.map +1 -1
- package/lib/form/loanFormOptions.d.ts +18 -17
- package/lib/form/loanFormOptions.js +145 -139
- package/lib/form/loanFormOptions.js.map +1 -1
- package/lib/index.d.ts +6 -5
- package/lib/index.js +22 -21
- package/lib/index.js.map +1 -1
- package/lib/nominatimAddress.d.ts +41 -0
- package/lib/nominatimAddress.js +118 -0
- package/lib/nominatimAddress.js.map +1 -0
- package/lib/nominatimAddress.test.d.ts +1 -0
- package/lib/nominatimAddress.test.js +91 -0
- package/lib/nominatimAddress.test.js.map +1 -0
- package/lib/typings/firebase/employment.d.ts +11 -11
- package/lib/typings/firebase/employment.js +15 -15
- package/lib/typings/firebase/employment.js.map +1 -1
- package/lib/typings/firebase/index.d.ts +1 -1
- package/lib/typings/firebase/index.js +17 -17
- package/lib/typings/loanshub/address.d.ts +13 -13
- package/lib/typings/loanshub/address.js +2 -2
- package/lib/typings/loanshub/applicant.d.ts +71 -71
- package/lib/typings/loanshub/applicant.js +20 -20
- package/lib/typings/loanshub/applicant.js.map +1 -1
- package/lib/typings/loanshub/application.d.ts +100 -100
- package/lib/typings/loanshub/application.js +8 -8
- package/lib/typings/loanshub/application.js.map +1 -1
- package/lib/typings/loanshub/asset.d.ts +13 -13
- package/lib/typings/loanshub/asset.js +2 -2
- package/lib/typings/loanshub/attachment.d.ts +17 -17
- package/lib/typings/loanshub/attachment.js +2 -2
- package/lib/typings/loanshub/currentRate.d.ts +7 -7
- package/lib/typings/loanshub/currentRate.js +2 -2
- package/lib/typings/loanshub/index.d.ts +27 -27
- package/lib/typings/loanshub/index.js +38 -38
- package/lib/typings/loanshub/index.js.map +1 -1
- package/lib/typings/loanshub/lender.d.ts +13 -13
- package/lib/typings/loanshub/lender.js +2 -2
- package/lib/typings/loanshub/liability.d.ts +13 -13
- package/lib/typings/loanshub/liability.js +2 -2
- package/lib/typings/loanshub/rateReview.d.ts +4 -4
- package/lib/typings/loanshub/rateReview.js +2 -2
- package/lib/typings/loanshub/user.d.ts +5 -5
- package/lib/typings/loanshub/user.js +2 -2
- package/lib/typings/salestrekker/generated.d.ts +5880 -5899
- package/lib/typings/salestrekker/generated.js +1210 -1194
- package/lib/typings/salestrekker/generated.js.map +1 -1
- package/lib/typings/salestrekker/index.d.ts +6 -6
- package/lib/typings/salestrekker/index.js +24 -24
- package/lib/typings/salestrekker/index.js.map +1 -1
- package/lib/utils.d.ts +27 -27
- package/lib/utils.js +79 -80
- package/lib/utils.js.map +1 -1
- package/lib/utils.test.d.ts +1 -1
- package/lib/utils.test.js +88 -88
- package/package.json +5 -6
package/lib/app/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from "./options";
|
|
2
|
-
export * from "./stages";
|
|
3
|
-
export type SemanticColors = "red" | "orange" | "yellow" | "olive" | "green" | "teal" | "blue" | "violet" | "purple" | "pink" | "brown" | "grey" | "black";
|
|
1
|
+
export * from "./options";
|
|
2
|
+
export * from "./stages";
|
|
3
|
+
export type SemanticColors = "red" | "orange" | "yellow" | "olive" | "green" | "teal" | "blue" | "violet" | "purple" | "pink" | "brown" | "grey" | "black";
|
package/lib/app/index.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./options"), exports);
|
|
18
|
-
__exportStar(require("./stages"), exports);
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./options"), exports);
|
|
18
|
+
__exportStar(require("./stages"), exports);
|
|
19
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { PersonalTitleEnumerator, ContactMaritalStatusOptionEnumerator, ContactResidencyStatusOptionEnumerator, ContactNextOfKinRelationshipEnumerator, ContactResidentialStatusOptionEnumerator } from "../../typings/salestrekker";
|
|
2
|
-
import { PreferredContactMethods, ApplicantRelationshipTypes } from "../../typings/loanshub";
|
|
3
|
-
import { OptionItem } from ".";
|
|
4
|
-
export declare const ApplicantTitleOptions: OptionItem<PersonalTitleEnumerator>[];
|
|
5
|
-
export declare const PreferredContactMethodOptions: OptionItem<PreferredContactMethods>[];
|
|
6
|
-
export declare const MaritalStatusOptions: OptionItem<ContactMaritalStatusOptionEnumerator>[];
|
|
7
|
-
export declare const ApplicantRelationshipTypeOptions: OptionItem<ApplicantRelationshipTypes>[];
|
|
8
|
-
export declare const ResidencyStatusOptions: OptionItem<ContactResidencyStatusOptionEnumerator>[];
|
|
9
|
-
export declare const ResidentialStatusOptions: OptionItem<ContactResidentialStatusOptionEnumerator>[];
|
|
10
|
-
export declare const NextOfKinRelationshipOptions: OptionItem<ContactNextOfKinRelationshipEnumerator>[];
|
|
1
|
+
import { PersonalTitleEnumerator, ContactMaritalStatusOptionEnumerator, ContactResidencyStatusOptionEnumerator, ContactNextOfKinRelationshipEnumerator, ContactResidentialStatusOptionEnumerator } from "../../typings/salestrekker";
|
|
2
|
+
import { PreferredContactMethods, ApplicantRelationshipTypes } from "../../typings/loanshub";
|
|
3
|
+
import { OptionItem } from ".";
|
|
4
|
+
export declare const ApplicantTitleOptions: OptionItem<PersonalTitleEnumerator>[];
|
|
5
|
+
export declare const PreferredContactMethodOptions: OptionItem<PreferredContactMethods>[];
|
|
6
|
+
export declare const MaritalStatusOptions: OptionItem<ContactMaritalStatusOptionEnumerator>[];
|
|
7
|
+
export declare const ApplicantRelationshipTypeOptions: OptionItem<ApplicantRelationshipTypes>[];
|
|
8
|
+
export declare const ResidencyStatusOptions: OptionItem<ContactResidencyStatusOptionEnumerator>[];
|
|
9
|
+
export declare const ResidentialStatusOptions: OptionItem<ContactResidentialStatusOptionEnumerator>[];
|
|
10
|
+
export declare const NextOfKinRelationshipOptions: OptionItem<ContactNextOfKinRelationshipEnumerator>[];
|
|
@@ -1,204 +1,204 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.NextOfKinRelationshipOptions = exports.ResidentialStatusOptions = exports.ResidencyStatusOptions = exports.ApplicantRelationshipTypeOptions = exports.MaritalStatusOptions = exports.PreferredContactMethodOptions = exports.ApplicantTitleOptions = void 0;
|
|
4
|
-
const salestrekker_1 = require("../../typings/salestrekker");
|
|
5
|
-
const loanshub_1 = require("../../typings/loanshub");
|
|
6
|
-
exports.ApplicantTitleOptions = [
|
|
7
|
-
{
|
|
8
|
-
text: "Mr",
|
|
9
|
-
value: salestrekker_1.PersonalTitleEnumerator.mr,
|
|
10
|
-
},
|
|
11
|
-
{
|
|
12
|
-
text: "Mrs",
|
|
13
|
-
value: salestrekker_1.PersonalTitleEnumerator.mrs,
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
text: "Miss",
|
|
17
|
-
value: salestrekker_1.PersonalTitleEnumerator.miss,
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
text: "Ms",
|
|
21
|
-
value: salestrekker_1.PersonalTitleEnumerator.ms,
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
text: "Dr",
|
|
25
|
-
value: salestrekker_1.PersonalTitleEnumerator.dr,
|
|
26
|
-
},
|
|
27
|
-
];
|
|
28
|
-
exports.PreferredContactMethodOptions = [
|
|
29
|
-
{
|
|
30
|
-
text: "Email",
|
|
31
|
-
value: loanshub_1.PreferredContactMethods.Email,
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
text: "Phone",
|
|
35
|
-
value: loanshub_1.PreferredContactMethods.Phone,
|
|
36
|
-
},
|
|
37
|
-
];
|
|
38
|
-
exports.MaritalStatusOptions = [
|
|
39
|
-
{
|
|
40
|
-
text: "Single",
|
|
41
|
-
value: salestrekker_1.ContactMaritalStatusOptionEnumerator.Single,
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
text: "Married",
|
|
45
|
-
value: salestrekker_1.ContactMaritalStatusOptionEnumerator.Married,
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
text: "Divorced",
|
|
49
|
-
value: salestrekker_1.ContactMaritalStatusOptionEnumerator.Divorced,
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
text: "Defacto",
|
|
53
|
-
value: salestrekker_1.ContactMaritalStatusOptionEnumerator.DeFacto,
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
text: "Other",
|
|
57
|
-
value: salestrekker_1.ContactMaritalStatusOptionEnumerator.Other,
|
|
58
|
-
},
|
|
59
|
-
];
|
|
60
|
-
exports.ApplicantRelationshipTypeOptions = [
|
|
61
|
-
{
|
|
62
|
-
value: loanshub_1.ApplicantRelationshipTypes.Spouse,
|
|
63
|
-
text: "Spouse",
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
value: loanshub_1.ApplicantRelationshipTypes.JointBorrower,
|
|
67
|
-
text: "Joint borrower",
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
value: loanshub_1.ApplicantRelationshipTypes.Sibling,
|
|
71
|
-
text: "Sibling",
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
value: loanshub_1.ApplicantRelationshipTypes.Parent,
|
|
75
|
-
text: "Parent",
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
value: loanshub_1.ApplicantRelationshipTypes.Guarantor,
|
|
79
|
-
text: "Guarantor",
|
|
80
|
-
},
|
|
81
|
-
];
|
|
82
|
-
exports.ResidencyStatusOptions = [
|
|
83
|
-
{
|
|
84
|
-
text: "Citizen",
|
|
85
|
-
value: salestrekker_1.ContactResidencyStatusOptionEnumerator.citizen,
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
text: "Permanent resident",
|
|
89
|
-
value: salestrekker_1.ContactResidencyStatusOptionEnumerator.permanent_resident,
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
text: "Non-resident",
|
|
93
|
-
value: salestrekker_1.ContactResidencyStatusOptionEnumerator.non_resident,
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
text: "Work permit",
|
|
97
|
-
value: salestrekker_1.ContactResidencyStatusOptionEnumerator.work_permit,
|
|
98
|
-
},
|
|
99
|
-
];
|
|
100
|
-
exports.ResidentialStatusOptions = [
|
|
101
|
-
{
|
|
102
|
-
text: "Owned outright",
|
|
103
|
-
value: salestrekker_1.ContactResidentialStatusOptionEnumerator.own,
|
|
104
|
-
},
|
|
105
|
-
{
|
|
106
|
-
text: "Owned with mortgage",
|
|
107
|
-
value: salestrekker_1.ContactResidentialStatusOptionEnumerator.own_home_mortgage,
|
|
108
|
-
},
|
|
109
|
-
{
|
|
110
|
-
text: "Renting",
|
|
111
|
-
value: salestrekker_1.ContactResidentialStatusOptionEnumerator.renting,
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
text: "Boarding",
|
|
115
|
-
value: salestrekker_1.ContactResidentialStatusOptionEnumerator.boarding,
|
|
116
|
-
},
|
|
117
|
-
{
|
|
118
|
-
text: "With parents",
|
|
119
|
-
value: salestrekker_1.ContactResidentialStatusOptionEnumerator.with_parents,
|
|
120
|
-
},
|
|
121
|
-
{
|
|
122
|
-
text: "Other",
|
|
123
|
-
value: salestrekker_1.ContactResidentialStatusOptionEnumerator.other,
|
|
124
|
-
},
|
|
125
|
-
];
|
|
126
|
-
exports.NextOfKinRelationshipOptions = [
|
|
127
|
-
{
|
|
128
|
-
text: "Mother",
|
|
129
|
-
value: salestrekker_1.ContactNextOfKinRelationshipEnumerator.mother,
|
|
130
|
-
},
|
|
131
|
-
{
|
|
132
|
-
text: "Mother-in-law",
|
|
133
|
-
value: salestrekker_1.ContactNextOfKinRelationshipEnumerator.mother_in_law,
|
|
134
|
-
},
|
|
135
|
-
{
|
|
136
|
-
text: "Father",
|
|
137
|
-
value: salestrekker_1.ContactNextOfKinRelationshipEnumerator.father,
|
|
138
|
-
},
|
|
139
|
-
{
|
|
140
|
-
text: "Father-in-law",
|
|
141
|
-
value: salestrekker_1.ContactNextOfKinRelationshipEnumerator.father_in_law,
|
|
142
|
-
},
|
|
143
|
-
{
|
|
144
|
-
text: "Brother",
|
|
145
|
-
value: salestrekker_1.ContactNextOfKinRelationshipEnumerator.brother,
|
|
146
|
-
},
|
|
147
|
-
{
|
|
148
|
-
text: "Brother-in-law",
|
|
149
|
-
value: salestrekker_1.ContactNextOfKinRelationshipEnumerator.brother_in_law,
|
|
150
|
-
},
|
|
151
|
-
{
|
|
152
|
-
text: "Sister",
|
|
153
|
-
value: salestrekker_1.ContactNextOfKinRelationshipEnumerator.sister,
|
|
154
|
-
},
|
|
155
|
-
{
|
|
156
|
-
text: "Sister-in-law",
|
|
157
|
-
value: salestrekker_1.ContactNextOfKinRelationshipEnumerator.sister_in_law,
|
|
158
|
-
},
|
|
159
|
-
{
|
|
160
|
-
text: "Cousin",
|
|
161
|
-
value: salestrekker_1.ContactNextOfKinRelationshipEnumerator.cousin,
|
|
162
|
-
},
|
|
163
|
-
{
|
|
164
|
-
text: "Daughter",
|
|
165
|
-
value: salestrekker_1.ContactNextOfKinRelationshipEnumerator.daughter,
|
|
166
|
-
},
|
|
167
|
-
{
|
|
168
|
-
text: "Son",
|
|
169
|
-
value: salestrekker_1.ContactNextOfKinRelationshipEnumerator.son,
|
|
170
|
-
},
|
|
171
|
-
{
|
|
172
|
-
text: "Uncle",
|
|
173
|
-
value: salestrekker_1.ContactNextOfKinRelationshipEnumerator.uncle,
|
|
174
|
-
},
|
|
175
|
-
{
|
|
176
|
-
text: "Aunt",
|
|
177
|
-
value: salestrekker_1.ContactNextOfKinRelationshipEnumerator.aunt,
|
|
178
|
-
},
|
|
179
|
-
{
|
|
180
|
-
text: "Friend",
|
|
181
|
-
value: salestrekker_1.ContactNextOfKinRelationshipEnumerator.friend,
|
|
182
|
-
},
|
|
183
|
-
{
|
|
184
|
-
text: "Boyfriend",
|
|
185
|
-
value: salestrekker_1.ContactNextOfKinRelationshipEnumerator.boyfriend,
|
|
186
|
-
},
|
|
187
|
-
{
|
|
188
|
-
text: "Girlfriend",
|
|
189
|
-
value: salestrekker_1.ContactNextOfKinRelationshipEnumerator.girlfriend,
|
|
190
|
-
},
|
|
191
|
-
{
|
|
192
|
-
text: "Spouse",
|
|
193
|
-
value: salestrekker_1.ContactNextOfKinRelationshipEnumerator.spouse,
|
|
194
|
-
},
|
|
195
|
-
{
|
|
196
|
-
text: "Grandmother",
|
|
197
|
-
value: salestrekker_1.ContactNextOfKinRelationshipEnumerator.grandmother,
|
|
198
|
-
},
|
|
199
|
-
{
|
|
200
|
-
text: "Grandfather",
|
|
201
|
-
value: salestrekker_1.ContactNextOfKinRelationshipEnumerator.grandfather,
|
|
202
|
-
},
|
|
203
|
-
];
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NextOfKinRelationshipOptions = exports.ResidentialStatusOptions = exports.ResidencyStatusOptions = exports.ApplicantRelationshipTypeOptions = exports.MaritalStatusOptions = exports.PreferredContactMethodOptions = exports.ApplicantTitleOptions = void 0;
|
|
4
|
+
const salestrekker_1 = require("../../typings/salestrekker");
|
|
5
|
+
const loanshub_1 = require("../../typings/loanshub");
|
|
6
|
+
exports.ApplicantTitleOptions = [
|
|
7
|
+
{
|
|
8
|
+
text: "Mr",
|
|
9
|
+
value: salestrekker_1.PersonalTitleEnumerator.mr,
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
text: "Mrs",
|
|
13
|
+
value: salestrekker_1.PersonalTitleEnumerator.mrs,
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
text: "Miss",
|
|
17
|
+
value: salestrekker_1.PersonalTitleEnumerator.miss,
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
text: "Ms",
|
|
21
|
+
value: salestrekker_1.PersonalTitleEnumerator.ms,
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
text: "Dr",
|
|
25
|
+
value: salestrekker_1.PersonalTitleEnumerator.dr,
|
|
26
|
+
},
|
|
27
|
+
];
|
|
28
|
+
exports.PreferredContactMethodOptions = [
|
|
29
|
+
{
|
|
30
|
+
text: "Email",
|
|
31
|
+
value: loanshub_1.PreferredContactMethods.Email,
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
text: "Phone",
|
|
35
|
+
value: loanshub_1.PreferredContactMethods.Phone,
|
|
36
|
+
},
|
|
37
|
+
];
|
|
38
|
+
exports.MaritalStatusOptions = [
|
|
39
|
+
{
|
|
40
|
+
text: "Single",
|
|
41
|
+
value: salestrekker_1.ContactMaritalStatusOptionEnumerator.Single,
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
text: "Married",
|
|
45
|
+
value: salestrekker_1.ContactMaritalStatusOptionEnumerator.Married,
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
text: "Divorced",
|
|
49
|
+
value: salestrekker_1.ContactMaritalStatusOptionEnumerator.Divorced,
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
text: "Defacto",
|
|
53
|
+
value: salestrekker_1.ContactMaritalStatusOptionEnumerator.DeFacto,
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
text: "Other",
|
|
57
|
+
value: salestrekker_1.ContactMaritalStatusOptionEnumerator.Other,
|
|
58
|
+
},
|
|
59
|
+
];
|
|
60
|
+
exports.ApplicantRelationshipTypeOptions = [
|
|
61
|
+
{
|
|
62
|
+
value: loanshub_1.ApplicantRelationshipTypes.Spouse,
|
|
63
|
+
text: "Spouse",
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
value: loanshub_1.ApplicantRelationshipTypes.JointBorrower,
|
|
67
|
+
text: "Joint borrower",
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
value: loanshub_1.ApplicantRelationshipTypes.Sibling,
|
|
71
|
+
text: "Sibling",
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
value: loanshub_1.ApplicantRelationshipTypes.Parent,
|
|
75
|
+
text: "Parent",
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
value: loanshub_1.ApplicantRelationshipTypes.Guarantor,
|
|
79
|
+
text: "Guarantor",
|
|
80
|
+
},
|
|
81
|
+
];
|
|
82
|
+
exports.ResidencyStatusOptions = [
|
|
83
|
+
{
|
|
84
|
+
text: "Citizen",
|
|
85
|
+
value: salestrekker_1.ContactResidencyStatusOptionEnumerator.citizen,
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
text: "Permanent resident",
|
|
89
|
+
value: salestrekker_1.ContactResidencyStatusOptionEnumerator.permanent_resident,
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
text: "Non-resident",
|
|
93
|
+
value: salestrekker_1.ContactResidencyStatusOptionEnumerator.non_resident,
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
text: "Work permit",
|
|
97
|
+
value: salestrekker_1.ContactResidencyStatusOptionEnumerator.work_permit,
|
|
98
|
+
},
|
|
99
|
+
];
|
|
100
|
+
exports.ResidentialStatusOptions = [
|
|
101
|
+
{
|
|
102
|
+
text: "Owned outright",
|
|
103
|
+
value: salestrekker_1.ContactResidentialStatusOptionEnumerator.own,
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
text: "Owned with mortgage",
|
|
107
|
+
value: salestrekker_1.ContactResidentialStatusOptionEnumerator.own_home_mortgage,
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
text: "Renting",
|
|
111
|
+
value: salestrekker_1.ContactResidentialStatusOptionEnumerator.renting,
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
text: "Boarding",
|
|
115
|
+
value: salestrekker_1.ContactResidentialStatusOptionEnumerator.boarding,
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
text: "With parents",
|
|
119
|
+
value: salestrekker_1.ContactResidentialStatusOptionEnumerator.with_parents,
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
text: "Other",
|
|
123
|
+
value: salestrekker_1.ContactResidentialStatusOptionEnumerator.other,
|
|
124
|
+
},
|
|
125
|
+
];
|
|
126
|
+
exports.NextOfKinRelationshipOptions = [
|
|
127
|
+
{
|
|
128
|
+
text: "Mother",
|
|
129
|
+
value: salestrekker_1.ContactNextOfKinRelationshipEnumerator.mother,
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
text: "Mother-in-law",
|
|
133
|
+
value: salestrekker_1.ContactNextOfKinRelationshipEnumerator.mother_in_law,
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
text: "Father",
|
|
137
|
+
value: salestrekker_1.ContactNextOfKinRelationshipEnumerator.father,
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
text: "Father-in-law",
|
|
141
|
+
value: salestrekker_1.ContactNextOfKinRelationshipEnumerator.father_in_law,
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
text: "Brother",
|
|
145
|
+
value: salestrekker_1.ContactNextOfKinRelationshipEnumerator.brother,
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
text: "Brother-in-law",
|
|
149
|
+
value: salestrekker_1.ContactNextOfKinRelationshipEnumerator.brother_in_law,
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
text: "Sister",
|
|
153
|
+
value: salestrekker_1.ContactNextOfKinRelationshipEnumerator.sister,
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
text: "Sister-in-law",
|
|
157
|
+
value: salestrekker_1.ContactNextOfKinRelationshipEnumerator.sister_in_law,
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
text: "Cousin",
|
|
161
|
+
value: salestrekker_1.ContactNextOfKinRelationshipEnumerator.cousin,
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
text: "Daughter",
|
|
165
|
+
value: salestrekker_1.ContactNextOfKinRelationshipEnumerator.daughter,
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
text: "Son",
|
|
169
|
+
value: salestrekker_1.ContactNextOfKinRelationshipEnumerator.son,
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
text: "Uncle",
|
|
173
|
+
value: salestrekker_1.ContactNextOfKinRelationshipEnumerator.uncle,
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
text: "Aunt",
|
|
177
|
+
value: salestrekker_1.ContactNextOfKinRelationshipEnumerator.aunt,
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
text: "Friend",
|
|
181
|
+
value: salestrekker_1.ContactNextOfKinRelationshipEnumerator.friend,
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
text: "Boyfriend",
|
|
185
|
+
value: salestrekker_1.ContactNextOfKinRelationshipEnumerator.boyfriend,
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
text: "Girlfriend",
|
|
189
|
+
value: salestrekker_1.ContactNextOfKinRelationshipEnumerator.girlfriend,
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
text: "Spouse",
|
|
193
|
+
value: salestrekker_1.ContactNextOfKinRelationshipEnumerator.spouse,
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
text: "Grandmother",
|
|
197
|
+
value: salestrekker_1.ContactNextOfKinRelationshipEnumerator.grandmother,
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
text: "Grandfather",
|
|
201
|
+
value: salestrekker_1.ContactNextOfKinRelationshipEnumerator.grandfather,
|
|
202
|
+
},
|
|
203
|
+
];
|
|
204
204
|
//# sourceMappingURL=applicantOptions.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { OptionItem } from "..";
|
|
2
|
-
import { AssetTypeEnumerator } from "../../typings/salestrekker";
|
|
3
|
-
export declare const AssetTypeOptions: OptionItem<AssetTypeEnumerator>[];
|
|
1
|
+
import { OptionItem } from "..";
|
|
2
|
+
import { AssetTypeEnumerator } from "../../typings/salestrekker";
|
|
3
|
+
export declare const AssetTypeOptions: OptionItem<AssetTypeEnumerator>[];
|
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AssetTypeOptions = void 0;
|
|
4
|
-
const salestrekker_1 = require("../../typings/salestrekker");
|
|
5
|
-
exports.AssetTypeOptions = [
|
|
6
|
-
{
|
|
7
|
-
text: "Home",
|
|
8
|
-
value: salestrekker_1.AssetTypeEnumerator.
|
|
9
|
-
},
|
|
10
|
-
{
|
|
11
|
-
text: "Investment property",
|
|
12
|
-
value: salestrekker_1.AssetTypeEnumerator.investment_property_address,
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
text: "Vehicle",
|
|
16
|
-
value: salestrekker_1.AssetTypeEnumerator.
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
text: "Cash",
|
|
20
|
-
value: salestrekker_1.AssetTypeEnumerator.
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
text: "Home contents",
|
|
24
|
-
value: salestrekker_1.AssetTypeEnumerator.
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
text: "Superannuation",
|
|
28
|
-
value: salestrekker_1.AssetTypeEnumerator.
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
text: "Shares",
|
|
32
|
-
value: salestrekker_1.AssetTypeEnumerator.shares,
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
text: "Other",
|
|
36
|
-
value: salestrekker_1.AssetTypeEnumerator.other,
|
|
37
|
-
},
|
|
38
|
-
];
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AssetTypeOptions = void 0;
|
|
4
|
+
const salestrekker_1 = require("../../typings/salestrekker");
|
|
5
|
+
exports.AssetTypeOptions = [
|
|
6
|
+
{
|
|
7
|
+
text: "Home",
|
|
8
|
+
value: salestrekker_1.AssetTypeEnumerator.owner_occupied_properties,
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
text: "Investment property",
|
|
12
|
+
value: salestrekker_1.AssetTypeEnumerator.investment_property_address,
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
text: "Vehicle",
|
|
16
|
+
value: salestrekker_1.AssetTypeEnumerator.vehicles_make_and_model,
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
text: "Cash",
|
|
20
|
+
value: salestrekker_1.AssetTypeEnumerator.bank_account,
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
text: "Home contents",
|
|
24
|
+
value: salestrekker_1.AssetTypeEnumerator.home_content,
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
text: "Superannuation",
|
|
28
|
+
value: salestrekker_1.AssetTypeEnumerator.superfund_institutions,
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
text: "Shares",
|
|
32
|
+
value: salestrekker_1.AssetTypeEnumerator.shares,
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
text: "Other",
|
|
36
|
+
value: salestrekker_1.AssetTypeEnumerator.other,
|
|
37
|
+
},
|
|
38
|
+
];
|
|
39
39
|
//# sourceMappingURL=assetOptions.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assetOptions.js","sourceRoot":"","sources":["../../../src/app/options/assetOptions.ts"],"names":[],"mappings":";;;AACA,6DAAiE;AAEpD,QAAA,gBAAgB,GAAsC;IACjE;QACE,IAAI,EAAE,MAAM;QACZ,KAAK,EAAE,kCAAmB,CAAC
|
|
1
|
+
{"version":3,"file":"assetOptions.js","sourceRoot":"","sources":["../../../src/app/options/assetOptions.ts"],"names":[],"mappings":";;;AACA,6DAAiE;AAEpD,QAAA,gBAAgB,GAAsC;IACjE;QACE,IAAI,EAAE,MAAM;QACZ,KAAK,EAAE,kCAAmB,CAAC,yBAAyB;KACrD;IACD;QACE,IAAI,EAAE,qBAAqB;QAC3B,KAAK,EAAE,kCAAmB,CAAC,2BAA2B;KACvD;IACD;QACE,IAAI,EAAE,SAAS;QACf,KAAK,EAAE,kCAAmB,CAAC,uBAAuB;KACnD;IACD;QACE,IAAI,EAAE,MAAM;QACZ,KAAK,EAAE,kCAAmB,CAAC,YAAY;KACxC;IACD;QACE,IAAI,EAAE,eAAe;QACrB,KAAK,EAAE,kCAAmB,CAAC,YAAY;KACxC;IACD;QACE,IAAI,EAAE,gBAAgB;QACtB,KAAK,EAAE,kCAAmB,CAAC,sBAAsB;KAClD;IACD;QACE,IAAI,EAAE,QAAQ;QACd,KAAK,EAAE,kCAAmB,CAAC,MAAM;KAClC;IACD;QACE,IAAI,EAAE,OAAO;QACb,KAAK,EAAE,kCAAmB,CAAC,KAAK;KACjC;CACF,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BankOptions = void 0;
|
|
4
|
+
exports.BankOptions = [
|
|
5
|
+
{ text: "AMP", value: "AMP" },
|
|
6
|
+
{ text: "ING", value: "ING" },
|
|
7
|
+
{ text: "NAB", value: "NAB" },
|
|
8
|
+
{ text: "Suncorp", value: "Suncorp" },
|
|
9
|
+
];
|
|
10
|
+
//# sourceMappingURL=bankOptions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bankOptions.js","sourceRoot":"","sources":["../../../src/app/options/bankOptions.ts"],"names":[],"mappings":";;;AAEa,QAAA,WAAW,GAAyB;IAC/C,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE;IAC7B,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE;IAC7B,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE;IAC7B,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE;CACtC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { OptionItem } from ".";
|
|
2
|
-
import { EmploymentTypes } from "../../typings/firebase";
|
|
3
|
-
export declare const EmploymentTypeOptions: OptionItem<EmploymentTypes>[];
|
|
4
|
-
export declare function isSelfEmployed(employmentType: EmploymentTypes): boolean;
|
|
5
|
-
export declare function isEmployee(employmentType: EmploymentTypes): boolean;
|
|
6
|
-
export declare function isNotEmployed(employmentType: EmploymentTypes): boolean;
|
|
1
|
+
import { OptionItem } from ".";
|
|
2
|
+
import { EmploymentTypes } from "../../typings/firebase";
|
|
3
|
+
export declare const EmploymentTypeOptions: OptionItem<EmploymentTypes>[];
|
|
4
|
+
export declare function isSelfEmployed(employmentType: EmploymentTypes): boolean;
|
|
5
|
+
export declare function isEmployee(employmentType: EmploymentTypes): boolean;
|
|
6
|
+
export declare function isNotEmployed(employmentType: EmploymentTypes): boolean;
|