@lendi/act-credit-decisions-transform 2.0.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/README.md +31 -0
- package/lib/index.d.ts +11 -0
- package/lib/index.js +28 -0
- package/lib/logger.d.ts +1 -0
- package/lib/logger.js +5 -0
- package/lib/schemas/application-workflow-event.json +240 -0
- package/lib/schemas/credit-report-retrieved-event.json +57 -0
- package/lib/schemas/public-applicant-event.json +910 -0
- package/lib/schemas/public-application-event.json +250 -0
- package/lib/schemas/public-asset-event.json +679 -0
- package/lib/schemas/public-asset-liability-relation-delete-event.json +74 -0
- package/lib/schemas/public-asset-liability-relation-event.json +73 -0
- package/lib/schemas/public-create-applicant-event.json +609 -0
- package/lib/schemas/public-delete-applicant-event.json +66 -0
- package/lib/schemas/public-delete-asset-event.json +53 -0
- package/lib/schemas/public-delete-income-event.json +55 -0
- package/lib/schemas/public-employment-delete-event.json +31 -0
- package/lib/schemas/public-employment-event.json +278 -0
- package/lib/schemas/public-expense-delete-event.json +41 -0
- package/lib/schemas/public-expense-event.json +133 -0
- package/lib/schemas/public-funding-position-event.json +419 -0
- package/lib/schemas/public-income-event.json +242 -0
- package/lib/schemas/public-liability-delete-event.json +37 -0
- package/lib/schemas/public-liability-event.json +262 -0
- package/lib/schemas/public-required-document-event.json +366 -0
- package/lib/schemas/public-update-applicant-event.json +606 -0
- package/lib/schemas/sf-opportunity-event-out.json +138 -0
- package/lib/transform-events/generate-asset-liability-link.d.ts +10 -0
- package/lib/transform-events/generate-asset-liability-link.js +29 -0
- package/lib/transform-events/generate-credit-report-rebuilt.d.ts +8 -0
- package/lib/transform-events/generate-credit-report-rebuilt.js +41 -0
- package/lib/transform-events/transform-applicant.d.ts +8 -0
- package/lib/transform-events/transform-applicant.js +180 -0
- package/lib/transform-events/transform-application-workflow.d.ts +8 -0
- package/lib/transform-events/transform-application-workflow.js +30 -0
- package/lib/transform-events/transform-application.d.ts +20 -0
- package/lib/transform-events/transform-application.js +67 -0
- package/lib/transform-events/transform-asset-address.d.ts +25 -0
- package/lib/transform-events/transform-asset-address.js +87 -0
- package/lib/transform-events/transform-asset.d.ts +58 -0
- package/lib/transform-events/transform-asset.js +337 -0
- package/lib/transform-events/transform-employment.d.ts +9 -0
- package/lib/transform-events/transform-employment.js +107 -0
- package/lib/transform-events/transform-expenses.d.ts +41 -0
- package/lib/transform-events/transform-expenses.js +121 -0
- package/lib/transform-events/transform-funding-position.d.ts +21 -0
- package/lib/transform-events/transform-funding-position.js +107 -0
- package/lib/transform-events/transform-income.d.ts +48 -0
- package/lib/transform-events/transform-income.js +260 -0
- package/lib/transform-events/transform-liability.d.ts +12 -0
- package/lib/transform-events/transform-liability.js +117 -0
- package/lib/transform-events/transform-percent-owned.d.ts +10 -0
- package/lib/transform-events/transform-percent-owned.js +22 -0
- package/lib/transform-events/transform-required-document.d.ts +67 -0
- package/lib/transform-events/transform-required-document.js +148 -0
- package/lib/types/enum-mappings/alieo-frequency.d.ts +15 -0
- package/lib/types/enum-mappings/alieo-frequency.js +25 -0
- package/lib/types/enum-mappings/applicant-gender.d.ts +6 -0
- package/lib/types/enum-mappings/applicant-gender.js +11 -0
- package/lib/types/enum-mappings/applicant-type.d.ts +6 -0
- package/lib/types/enum-mappings/applicant-type.js +10 -0
- package/lib/types/enum-mappings/asset-type.d.ts +3 -0
- package/lib/types/enum-mappings/asset-type.js +17 -0
- package/lib/types/enum-mappings/builder-type.d.ts +7 -0
- package/lib/types/enum-mappings/builder-type.js +9 -0
- package/lib/types/enum-mappings/company-structure.d.ts +7 -0
- package/lib/types/enum-mappings/company-structure.js +10 -0
- package/lib/types/enum-mappings/company-type.d.ts +7 -0
- package/lib/types/enum-mappings/company-type.js +11 -0
- package/lib/types/enum-mappings/construction-type.d.ts +7 -0
- package/lib/types/enum-mappings/construction-type.js +10 -0
- package/lib/types/enum-mappings/country-code.d.ts +7 -0
- package/lib/types/enum-mappings/country-code.js +246 -0
- package/lib/types/enum-mappings/employment-basis.d.ts +7 -0
- package/lib/types/enum-mappings/employment-basis.js +12 -0
- package/lib/types/enum-mappings/expense-frequency.d.ts +7 -0
- package/lib/types/enum-mappings/expense-frequency.js +11 -0
- package/lib/types/enum-mappings/funding-position.d.ts +18 -0
- package/lib/types/enum-mappings/funding-position.js +36 -0
- package/lib/types/enum-mappings/government-benefits.d.ts +7 -0
- package/lib/types/enum-mappings/government-benefits.js +10 -0
- package/lib/types/enum-mappings/guarantor-relationship-type.d.ts +3 -0
- package/lib/types/enum-mappings/guarantor-relationship-type.js +16 -0
- package/lib/types/enum-mappings/housing-status.d.ts +7 -0
- package/lib/types/enum-mappings/housing-status.js +15 -0
- package/lib/types/enum-mappings/income-type.d.ts +7 -0
- package/lib/types/enum-mappings/income-type.js +16 -0
- package/lib/types/enum-mappings/index.d.ts +27 -0
- package/lib/types/enum-mappings/index.js +43 -0
- package/lib/types/enum-mappings/liability-payment-type.d.ts +7 -0
- package/lib/types/enum-mappings/liability-payment-type.js +9 -0
- package/lib/types/enum-mappings/liability-type.d.ts +7 -0
- package/lib/types/enum-mappings/liability-type.js +21 -0
- package/lib/types/enum-mappings/living-expense.d.ts +7 -0
- package/lib/types/enum-mappings/living-expense.js +31 -0
- package/lib/types/enum-mappings/marital-status.d.ts +7 -0
- package/lib/types/enum-mappings/marital-status.js +12 -0
- package/lib/types/enum-mappings/postcode.d.ts +6 -0
- package/lib/types/enum-mappings/postcode.js +15 -0
- package/lib/types/enum-mappings/preferred-repayment.d.ts +7 -0
- package/lib/types/enum-mappings/preferred-repayment.js +10 -0
- package/lib/types/enum-mappings/proof-of-identity.d.ts +7 -0
- package/lib/types/enum-mappings/proof-of-identity.js +10 -0
- package/lib/types/enum-mappings/property-expense-category.d.ts +7 -0
- package/lib/types/enum-mappings/property-expense-category.js +11 -0
- package/lib/types/enum-mappings/public-financial-asset.d.ts +7 -0
- package/lib/types/enum-mappings/public-financial-asset.js +12 -0
- package/lib/types/enum-mappings/public-primary-purpose.d.ts +7 -0
- package/lib/types/enum-mappings/public-primary-purpose.js +9 -0
- package/lib/types/enum-mappings/public-property-status.d.ts +7 -0
- package/lib/types/enum-mappings/public-property-status.js +11 -0
- package/lib/types/enum-mappings/public-property-type.d.ts +7 -0
- package/lib/types/enum-mappings/public-property-type.js +23 -0
- package/lib/types/enum-mappings/residency-status.d.ts +7 -0
- package/lib/types/enum-mappings/residency-status.js +11 -0
- package/lib/types/enum-mappings/title-gender.d.ts +7 -0
- package/lib/types/enum-mappings/title-gender.js +13 -0
- package/lib/types/enum-mappings/title.d.ts +7 -0
- package/lib/types/enum-mappings/title.js +13 -0
- package/lib/types/enum-mappings/to-be-purchased.d.ts +5 -0
- package/lib/types/enum-mappings/to-be-purchased.js +8 -0
- package/lib/types/enum-mappings/to-be-used-as-security.d.ts +5 -0
- package/lib/types/enum-mappings/to-be-used-as-security.js +8 -0
- package/lib/types/enum-mappings/transaction-type.d.ts +7 -0
- package/lib/types/enum-mappings/transaction-type.js +9 -0
- package/lib/types/enum-mappings/trust.d.ts +7 -0
- package/lib/types/enum-mappings/trust.js +14 -0
- package/lib/types/enum-mappings/verification.d.ts +3 -0
- package/lib/types/enum-mappings/verification.js +13 -0
- package/lib/types/events/applicant-delete.d.ts +42 -0
- package/lib/types/events/applicant-delete.js +15 -0
- package/lib/types/events/application-workflow.d.ts +233 -0
- package/lib/types/events/application-workflow.js +172 -0
- package/lib/types/events/asset-delete.d.ts +33 -0
- package/lib/types/events/asset-delete.js +15 -0
- package/lib/types/events/asset-liability-relation-delete.d.ts +52 -0
- package/lib/types/events/asset-liability-relation-delete.js +15 -0
- package/lib/types/events/credit-report-retrieved.d.ts +36 -0
- package/lib/types/events/credit-report-retrieved.js +15 -0
- package/lib/types/events/employment-delete.d.ts +19 -0
- package/lib/types/events/employment-delete.js +7 -0
- package/lib/types/events/expense-delete.d.ts +21 -0
- package/lib/types/events/expense-delete.js +7 -0
- package/lib/types/events/funding-position.d.ts +116 -0
- package/lib/types/events/funding-position.js +34 -0
- package/lib/types/events/income-delete.d.ts +33 -0
- package/lib/types/events/income-delete.js +15 -0
- package/lib/types/events/liability-delete.d.ts +17 -0
- package/lib/types/events/liability-delete.js +7 -0
- package/lib/types/events/opportunity.d.ts +102 -0
- package/lib/types/events/opportunity.js +47 -0
- package/lib/types/events/public-applicant.d.ts +628 -0
- package/lib/types/events/public-applicant.js +411 -0
- package/lib/types/events/public-application.d.ts +151 -0
- package/lib/types/events/public-application.js +103 -0
- package/lib/types/events/public-asset-liability-relation.d.ts +52 -0
- package/lib/types/events/public-asset-liability-relation.js +15 -0
- package/lib/types/events/public-asset.d.ts +502 -0
- package/lib/types/events/public-asset.js +348 -0
- package/lib/types/events/public-employment.d.ts +121 -0
- package/lib/types/events/public-employment.js +46 -0
- package/lib/types/events/public-expense.d.ts +84 -0
- package/lib/types/events/public-expense.js +51 -0
- package/lib/types/events/public-funding-position.d.ts +341 -0
- package/lib/types/events/public-funding-position.js +20 -0
- package/lib/types/events/public-income.d.ts +144 -0
- package/lib/types/events/public-income.js +65 -0
- package/lib/types/events/public-liability.d.ts +140 -0
- package/lib/types/events/public-liability.js +68 -0
- package/lib/types/events/public-required-document.d.ts +374 -0
- package/lib/types/events/public-required-document.js +297 -0
- package/lib/types/partial-application.d.ts +3 -0
- package/lib/types/partial-application.js +2 -0
- package/lib/types/recursive-partial.d.ts +3 -0
- package/lib/types/recursive-partial.js +2 -0
- package/lib/update-application/merge-application.d.ts +14 -0
- package/lib/update-application/merge-application.js +175 -0
- package/lib/update-application/remove-ids-not-required.d.ts +11 -0
- package/lib/update-application/remove-ids-not-required.js +63 -0
- package/lib/update-application/update-primary-applicant.d.ts +27 -0
- package/lib/update-application/update-primary-applicant.js +46 -0
- package/lib/utils/address-tools.d.ts +84 -0
- package/lib/utils/address-tools.js +176 -0
- package/lib/utils/clean-up.d.ts +7 -0
- package/lib/utils/clean-up.js +24 -0
- package/lib/utils/errors.d.ts +28 -0
- package/lib/utils/errors.js +43 -0
- package/lib/utils/formatYesNo.d.ts +8 -0
- package/lib/utils/formatYesNo.js +12 -0
- package/lib/utils/generate-address.d.ts +19 -0
- package/lib/utils/generate-address.js +97 -0
- package/lib/utils/get-financial-institution.d.ts +8 -0
- package/lib/utils/get-financial-institution.js +17 -0
- package/lib/utils/is-asset-type.d.ts +25 -0
- package/lib/utils/is-asset-type.js +46 -0
- package/lib/utils/is-income-type.d.ts +73 -0
- package/lib/utils/is-income-type.js +134 -0
- package/lib/utils/iso-date.d.ts +7 -0
- package/lib/utils/iso-date.js +12 -0
- package/lib/utils/normalise-date.d.ts +8 -0
- package/lib/utils/normalise-date.js +17 -0
- package/lib/utils/round-decimal.d.ts +6 -0
- package/lib/utils/round-decimal.js +12 -0
- package/package.json +79 -0
|
@@ -0,0 +1,341 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This event is the public funding position event
|
|
3
|
+
*/
|
|
4
|
+
export interface PublicFundingPosition {
|
|
5
|
+
payload: Payload;
|
|
6
|
+
type: Type;
|
|
7
|
+
/**
|
|
8
|
+
* schema version
|
|
9
|
+
*/
|
|
10
|
+
version: string;
|
|
11
|
+
}
|
|
12
|
+
export interface Payload {
|
|
13
|
+
/**
|
|
14
|
+
* Application ID
|
|
15
|
+
*/
|
|
16
|
+
applicationId: string;
|
|
17
|
+
/**
|
|
18
|
+
* The loan amount input by the customer or broker, but does not include the lmi. See
|
|
19
|
+
* fundsRequested for the final loan amount requested that includes lmi if lmiIncluded is
|
|
20
|
+
* true.
|
|
21
|
+
*/
|
|
22
|
+
baseFundsRequested?: number;
|
|
23
|
+
/**
|
|
24
|
+
* Loan to value ratio. Calculated as the loan amount divided by the value of all properties
|
|
25
|
+
* being used as security. Based on the baseFundsRequested field, which does not include the
|
|
26
|
+
* lmi.
|
|
27
|
+
*/
|
|
28
|
+
baseLVR?: number;
|
|
29
|
+
/**
|
|
30
|
+
* All cash-out reasons are completed with comment by broker.
|
|
31
|
+
*/
|
|
32
|
+
cashoutBrokerCompleted?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Cash-out acknowledgement completed by customer.
|
|
35
|
+
*/
|
|
36
|
+
cashoutCustomerAcknowledgement?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Customer action on cash-out completed.
|
|
39
|
+
*/
|
|
40
|
+
cashoutCustomerActionCompleted?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* Customer action on cash-out required.
|
|
43
|
+
*/
|
|
44
|
+
cashoutCustomerActionRequired?: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* The final loan amount requested by the customer or broker.
|
|
47
|
+
*/
|
|
48
|
+
fundsRequested: number;
|
|
49
|
+
/**
|
|
50
|
+
* The amount required to balance all costs with contributions. The minimum loan amount
|
|
51
|
+
* required for settlement.
|
|
52
|
+
*/
|
|
53
|
+
fundsRequired: number;
|
|
54
|
+
fundsRequiredBreakdown: FundsRequiredBreakdown;
|
|
55
|
+
/**
|
|
56
|
+
* Application ID
|
|
57
|
+
*/
|
|
58
|
+
id: string;
|
|
59
|
+
/**
|
|
60
|
+
* Lenders Mortgage Insurance premium. An additional cost required by lenders for higher
|
|
61
|
+
* risk loans.
|
|
62
|
+
*/
|
|
63
|
+
lmi: number;
|
|
64
|
+
/**
|
|
65
|
+
* Whether the lmi premium is included in the funds required.
|
|
66
|
+
*/
|
|
67
|
+
lmiIncluded: boolean;
|
|
68
|
+
/**
|
|
69
|
+
* Loan to value ratio. Calculated as the loan amount divided by the value of all properties
|
|
70
|
+
* being used as security.
|
|
71
|
+
*/
|
|
72
|
+
lvr: number;
|
|
73
|
+
/**
|
|
74
|
+
* The amount remaining after settlement. Calculated as the difference between the funds
|
|
75
|
+
* requested and funds required.
|
|
76
|
+
*/
|
|
77
|
+
netSurplus: number;
|
|
78
|
+
/**
|
|
79
|
+
* List of refinance or new purchase property
|
|
80
|
+
*/
|
|
81
|
+
properties: Property[];
|
|
82
|
+
/**
|
|
83
|
+
* All top-up reasons are completed with comment by broker. Value undefined is equivalent to
|
|
84
|
+
* false.
|
|
85
|
+
*/
|
|
86
|
+
topUpBrokerCompleted?: boolean;
|
|
87
|
+
/**
|
|
88
|
+
* The total amount of customer-specified cash out.
|
|
89
|
+
*/
|
|
90
|
+
totalCashOut: number;
|
|
91
|
+
/**
|
|
92
|
+
* The total amount of debt to be consolidated.
|
|
93
|
+
*/
|
|
94
|
+
totalDebtConsolidation: number;
|
|
95
|
+
/**
|
|
96
|
+
* The total deposit amount for all properties.
|
|
97
|
+
*/
|
|
98
|
+
totalDeposit: number;
|
|
99
|
+
/**
|
|
100
|
+
* The total amount available for settlement from government grants.
|
|
101
|
+
*/
|
|
102
|
+
totalGovernmentContributions: number;
|
|
103
|
+
/**
|
|
104
|
+
* Total lending amount is fundsRequested plus the current loan amount, an example for the
|
|
105
|
+
* current loan amount is the loan amount on a land and the land would be used as security
|
|
106
|
+
* for a construction loan. If lmiIncluded is true it will include the lmi.
|
|
107
|
+
*/
|
|
108
|
+
totalLendingAmount?: number;
|
|
109
|
+
/**
|
|
110
|
+
* Loan to value ratio. Calculated as the total lending amount divided by the value of all
|
|
111
|
+
* properties (including new purchase, refinance, security, and construction). Based on the
|
|
112
|
+
* totalLendingAmount field, which may include the lmi.
|
|
113
|
+
*/
|
|
114
|
+
totalLendingLvr?: number;
|
|
115
|
+
/**
|
|
116
|
+
* This is the total amount ($) of equity that the Guarantors are offering up as part of the
|
|
117
|
+
* Security Guarantee to the Borrowers application.
|
|
118
|
+
*/
|
|
119
|
+
totalPledgeAmount?: number;
|
|
120
|
+
/**
|
|
121
|
+
* Total property value excluding guarantor security properties.
|
|
122
|
+
*/
|
|
123
|
+
totalPropertyValue?: number;
|
|
124
|
+
/**
|
|
125
|
+
* The total amount of customer-specified top up.
|
|
126
|
+
*/
|
|
127
|
+
totalTopUp: number;
|
|
128
|
+
}
|
|
129
|
+
export interface FundsRequiredBreakdown {
|
|
130
|
+
/**
|
|
131
|
+
* The interest accrued before an existing loan has been discharged and payable to the
|
|
132
|
+
* existing lender at settlement.
|
|
133
|
+
*/
|
|
134
|
+
accruedInterest: number;
|
|
135
|
+
/**
|
|
136
|
+
* The amount that will be used for construction purposes.
|
|
137
|
+
*/
|
|
138
|
+
constructionCosts: number;
|
|
139
|
+
/**
|
|
140
|
+
* The costs involved with a conveyancer who assists with settlement.
|
|
141
|
+
*/
|
|
142
|
+
conveyancingCost: number;
|
|
143
|
+
/**
|
|
144
|
+
* An additional fee payable to the Land Titles Office for property buyers that are not
|
|
145
|
+
* permanent residents.
|
|
146
|
+
*/
|
|
147
|
+
foreignBuyerSurcharge: number;
|
|
148
|
+
/**
|
|
149
|
+
* A fee charged by a customer’s existing lender when closing a home loan account.
|
|
150
|
+
*/
|
|
151
|
+
lenderDischargeFee: number;
|
|
152
|
+
/**
|
|
153
|
+
* Fees payable to the lender on setting up a home loan and completing settlement.
|
|
154
|
+
*/
|
|
155
|
+
lenderSetupFee: number;
|
|
156
|
+
/**
|
|
157
|
+
* A fee paid to the Land Titles Office for the registration of a mortgage over a property.
|
|
158
|
+
*/
|
|
159
|
+
mortgageRegistrationFee: number;
|
|
160
|
+
/**
|
|
161
|
+
* List of home loan liabilities to be consolidated, tied to a home loan asset not to be
|
|
162
|
+
* used as security.
|
|
163
|
+
*/
|
|
164
|
+
otherConsolidatingHomeLoanLiabilities?: OtherConsolidatingHomeLoanLiability[];
|
|
165
|
+
/**
|
|
166
|
+
* Other fees payable to an interested party to ensure settlement can proceed.
|
|
167
|
+
*/
|
|
168
|
+
otherSundries: number;
|
|
169
|
+
/**
|
|
170
|
+
* Tax paid to the State Revenue Office when purchasing a property.
|
|
171
|
+
*/
|
|
172
|
+
stampDuty: number;
|
|
173
|
+
/**
|
|
174
|
+
* A fee paid to the Land Titles Office fee for transferring the property title from the
|
|
175
|
+
* seller to the buyer.
|
|
176
|
+
*/
|
|
177
|
+
transferFee: number;
|
|
178
|
+
}
|
|
179
|
+
export interface OtherConsolidatingHomeLoanLiability {
|
|
180
|
+
/**
|
|
181
|
+
* The asset ID of the property associated with the home loan liability
|
|
182
|
+
*/
|
|
183
|
+
assetId: string;
|
|
184
|
+
/**
|
|
185
|
+
* The home loan liability ID
|
|
186
|
+
*/
|
|
187
|
+
liabilityId: string;
|
|
188
|
+
/**
|
|
189
|
+
* The home loan liability outstanding amount
|
|
190
|
+
*/
|
|
191
|
+
outstandingAmount: number;
|
|
192
|
+
}
|
|
193
|
+
export interface Property {
|
|
194
|
+
/**
|
|
195
|
+
* The interest accrued before an existing loan has been discharged and payable to the
|
|
196
|
+
* existing lender at settlement.
|
|
197
|
+
*/
|
|
198
|
+
accruedInterest?: number;
|
|
199
|
+
/**
|
|
200
|
+
* The additional amount of money requested by the customer as part of the loan.
|
|
201
|
+
*/
|
|
202
|
+
cashOutAmount?: number;
|
|
203
|
+
cashOuts?: CashOut[];
|
|
204
|
+
/**
|
|
205
|
+
* The amount that will be used for construction purposes.
|
|
206
|
+
*/
|
|
207
|
+
constructionCosts: number;
|
|
208
|
+
/**
|
|
209
|
+
* The amount that a customer is contributing towards the settlement.
|
|
210
|
+
*/
|
|
211
|
+
contributionAmount: number;
|
|
212
|
+
/**
|
|
213
|
+
* The costs involved with a conveyancer who assists with settlement.
|
|
214
|
+
*/
|
|
215
|
+
conveyancingCost?: number;
|
|
216
|
+
/**
|
|
217
|
+
* The credit limit of an existing home loan that is secured by a property.
|
|
218
|
+
*/
|
|
219
|
+
currentLoanAmount?: number;
|
|
220
|
+
debtConsolidation?: DebtConsolidation[];
|
|
221
|
+
/**
|
|
222
|
+
* An additional fee payable to the Land Titles Office for property buyers that are not
|
|
223
|
+
* permanent residents.
|
|
224
|
+
*/
|
|
225
|
+
foreignBuyerSurcharge?: number;
|
|
226
|
+
/**
|
|
227
|
+
* The amount available for settlement from government grants.
|
|
228
|
+
*/
|
|
229
|
+
governmentContributions: number;
|
|
230
|
+
/**
|
|
231
|
+
* Property ID
|
|
232
|
+
*/
|
|
233
|
+
id: string;
|
|
234
|
+
/**
|
|
235
|
+
* A fee charged by a customer’s existing lender when closing a home loan account.
|
|
236
|
+
*/
|
|
237
|
+
lenderDischargeFee?: number;
|
|
238
|
+
/**
|
|
239
|
+
* Fees payable to the lender on setting up a home loan and completing settlement.
|
|
240
|
+
*/
|
|
241
|
+
lenderSetupFee: number;
|
|
242
|
+
/**
|
|
243
|
+
* A fee paid to the Land Titles Office for the registration of a mortgage over a property.
|
|
244
|
+
*/
|
|
245
|
+
mortgageRegistrationFee: number;
|
|
246
|
+
/**
|
|
247
|
+
* Other fees payable to an interested party to ensure settlement can proceed.
|
|
248
|
+
*/
|
|
249
|
+
otherSundries: number;
|
|
250
|
+
/**
|
|
251
|
+
* This is the amount ($) of equity that the Guarantor is offering up as part of the
|
|
252
|
+
* Security Guarantee to the Borrowers application.
|
|
253
|
+
*/
|
|
254
|
+
pledgeAmount?: number;
|
|
255
|
+
/**
|
|
256
|
+
* The value of a property.
|
|
257
|
+
*/
|
|
258
|
+
propertyValue?: number;
|
|
259
|
+
/**
|
|
260
|
+
* The agreed price that a property has been purchased for.
|
|
261
|
+
*/
|
|
262
|
+
purchasePrice?: number;
|
|
263
|
+
/**
|
|
264
|
+
* Tax paid to the State Revenue Office when purchasing a property.
|
|
265
|
+
*/
|
|
266
|
+
stampDuty?: number;
|
|
267
|
+
/**
|
|
268
|
+
* The additional amount of money requested by the customer as part of the top-up loan.
|
|
269
|
+
*/
|
|
270
|
+
topUpAmount?: number;
|
|
271
|
+
topUps?: CashOut[];
|
|
272
|
+
/**
|
|
273
|
+
* A sum of all contributions made towards settlement.
|
|
274
|
+
*/
|
|
275
|
+
totalContributions: number;
|
|
276
|
+
/**
|
|
277
|
+
* A sum of all costs and charges involved with funding the loan and settlement.
|
|
278
|
+
*/
|
|
279
|
+
totalCosts: number;
|
|
280
|
+
/**
|
|
281
|
+
* Total fund required. The sum of purchase price, and fees.
|
|
282
|
+
*/
|
|
283
|
+
totalRequired: number;
|
|
284
|
+
/**
|
|
285
|
+
* A fee paid to the Land Titles Office fee for transferring the property title from the
|
|
286
|
+
* seller to the buyer.
|
|
287
|
+
*/
|
|
288
|
+
transferFee?: number;
|
|
289
|
+
}
|
|
290
|
+
export interface CashOut {
|
|
291
|
+
/**
|
|
292
|
+
* The amount of cash-out with reason.
|
|
293
|
+
*/
|
|
294
|
+
amount: number;
|
|
295
|
+
/**
|
|
296
|
+
* Comment by broker for the cash-out.
|
|
297
|
+
*/
|
|
298
|
+
comment?: string;
|
|
299
|
+
/**
|
|
300
|
+
* Additional description for the cash-out reason.
|
|
301
|
+
*/
|
|
302
|
+
description?: string;
|
|
303
|
+
reason?: Reason;
|
|
304
|
+
}
|
|
305
|
+
export declare enum Reason {
|
|
306
|
+
EducationExpenses = "EDUCATION_EXPENSES",
|
|
307
|
+
HolidayExpenses = "HOLIDAY_EXPENSES",
|
|
308
|
+
InvestmentPurposes = "INVESTMENT_PURPOSES",
|
|
309
|
+
MaritalSettlement = "MARITAL_SETTLEMENT",
|
|
310
|
+
MedicalExpenses = "MEDICAL_EXPENSES",
|
|
311
|
+
NonStructuralRenovations = "NON_STRUCTURAL_RENOVATIONS",
|
|
312
|
+
Other = "OTHER",
|
|
313
|
+
PropertyDeposit = "PROPERTY_DEPOSIT",
|
|
314
|
+
VehiclePurchase = "VEHICLE_PURCHASE",
|
|
315
|
+
WeddingExpenses = "WEDDING_EXPENSES"
|
|
316
|
+
}
|
|
317
|
+
export interface DebtConsolidation {
|
|
318
|
+
/**
|
|
319
|
+
* Amount
|
|
320
|
+
*/
|
|
321
|
+
amount: number;
|
|
322
|
+
/**
|
|
323
|
+
* Financial institution short name
|
|
324
|
+
*/
|
|
325
|
+
financialInstitutionShortName: null | string;
|
|
326
|
+
/**
|
|
327
|
+
* ID
|
|
328
|
+
*/
|
|
329
|
+
id: string;
|
|
330
|
+
/**
|
|
331
|
+
* Liability type
|
|
332
|
+
*/
|
|
333
|
+
liabilityType: null | string;
|
|
334
|
+
/**
|
|
335
|
+
* to consolidate
|
|
336
|
+
*/
|
|
337
|
+
toConsolidate: boolean;
|
|
338
|
+
}
|
|
339
|
+
export declare enum Type {
|
|
340
|
+
FundingPosition = "FundingPosition"
|
|
341
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Type = exports.Reason = void 0;
|
|
4
|
+
var Reason;
|
|
5
|
+
(function (Reason) {
|
|
6
|
+
Reason["EducationExpenses"] = "EDUCATION_EXPENSES";
|
|
7
|
+
Reason["HolidayExpenses"] = "HOLIDAY_EXPENSES";
|
|
8
|
+
Reason["InvestmentPurposes"] = "INVESTMENT_PURPOSES";
|
|
9
|
+
Reason["MaritalSettlement"] = "MARITAL_SETTLEMENT";
|
|
10
|
+
Reason["MedicalExpenses"] = "MEDICAL_EXPENSES";
|
|
11
|
+
Reason["NonStructuralRenovations"] = "NON_STRUCTURAL_RENOVATIONS";
|
|
12
|
+
Reason["Other"] = "OTHER";
|
|
13
|
+
Reason["PropertyDeposit"] = "PROPERTY_DEPOSIT";
|
|
14
|
+
Reason["VehiclePurchase"] = "VEHICLE_PURCHASE";
|
|
15
|
+
Reason["WeddingExpenses"] = "WEDDING_EXPENSES";
|
|
16
|
+
})(Reason = exports.Reason || (exports.Reason = {}));
|
|
17
|
+
var Type;
|
|
18
|
+
(function (Type) {
|
|
19
|
+
Type["FundingPosition"] = "FundingPosition";
|
|
20
|
+
})(Type = exports.Type || (exports.Type = {}));
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
export interface PublicIncome {
|
|
2
|
+
payload: IncomeDefinition;
|
|
3
|
+
type: PublicIncomeType;
|
|
4
|
+
version: string;
|
|
5
|
+
}
|
|
6
|
+
export interface IncomeDefinition {
|
|
7
|
+
applicationId: string;
|
|
8
|
+
/**
|
|
9
|
+
* uuid of Expense
|
|
10
|
+
*/
|
|
11
|
+
id: string;
|
|
12
|
+
income: Income;
|
|
13
|
+
meta?: Meta;
|
|
14
|
+
}
|
|
15
|
+
export interface Income {
|
|
16
|
+
amount?: number;
|
|
17
|
+
assetId?: string;
|
|
18
|
+
bas?: BASDefinition[];
|
|
19
|
+
benefitType?: BenefitType;
|
|
20
|
+
comments?: string;
|
|
21
|
+
companyId?: string;
|
|
22
|
+
description?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Company Applicant
|
|
25
|
+
*/
|
|
26
|
+
employmentId?: string;
|
|
27
|
+
frequency?: Frequency;
|
|
28
|
+
gross?: number;
|
|
29
|
+
incomes?: IncomeBusinessDetails[];
|
|
30
|
+
percentOwned?: OwnershipProportion;
|
|
31
|
+
type: IncomeType;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Business activity statement details
|
|
35
|
+
*/
|
|
36
|
+
export interface BASDefinition {
|
|
37
|
+
quarter: number;
|
|
38
|
+
salesAmount?: number;
|
|
39
|
+
}
|
|
40
|
+
export declare enum BenefitType {
|
|
41
|
+
AgePension = "AGE_PENSION",
|
|
42
|
+
DisabilitySupportPension = "DISABILITY_SUPPORT_PENSION",
|
|
43
|
+
FamilyTax = "FAMILY_TAX",
|
|
44
|
+
Other = "OTHER"
|
|
45
|
+
}
|
|
46
|
+
export declare enum Frequency {
|
|
47
|
+
Fortnightly = "FORTNIGHTLY",
|
|
48
|
+
Monthly = "MONTHLY",
|
|
49
|
+
Quarterly = "QUARTERLY",
|
|
50
|
+
Weekly = "WEEKLY",
|
|
51
|
+
Yearly = "YEARLY"
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Earnings for a company over a specified financial year
|
|
55
|
+
*/
|
|
56
|
+
export interface IncomeBusinessDetails {
|
|
57
|
+
addback?: AddBackDefinition;
|
|
58
|
+
companyProfitBeforeTax?: number;
|
|
59
|
+
nonRecurringIncome?: number;
|
|
60
|
+
year?: number;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* add-back is an expense that is added back to the profits of the business
|
|
64
|
+
*/
|
|
65
|
+
export interface AddBackDefinition {
|
|
66
|
+
depreciation?: number;
|
|
67
|
+
interest?: number;
|
|
68
|
+
lease?: number;
|
|
69
|
+
nonRecurringExpenses?: number;
|
|
70
|
+
other?: number;
|
|
71
|
+
salary?: number;
|
|
72
|
+
superannuationExcess?: number;
|
|
73
|
+
}
|
|
74
|
+
export interface OwnershipProportion {
|
|
75
|
+
owners: Ownership[];
|
|
76
|
+
/**
|
|
77
|
+
* Indicate whether ownership proportions are equal, specified individually for each one or
|
|
78
|
+
* not specified.
|
|
79
|
+
*/
|
|
80
|
+
proportions?: Proportions;
|
|
81
|
+
}
|
|
82
|
+
export interface Ownership {
|
|
83
|
+
applicantId: string;
|
|
84
|
+
/**
|
|
85
|
+
* how much percent for the corresponding applicant
|
|
86
|
+
*/
|
|
87
|
+
percent: number;
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Indicate whether ownership proportions are equal, specified individually for each one or
|
|
91
|
+
* not specified.
|
|
92
|
+
*/
|
|
93
|
+
export declare enum Proportions {
|
|
94
|
+
Equal = "EQUAL",
|
|
95
|
+
NotSpecified = "NOT_SPECIFIED",
|
|
96
|
+
Specified = "SPECIFIED"
|
|
97
|
+
}
|
|
98
|
+
export declare enum IncomeType {
|
|
99
|
+
ChildMaintenance = "CHILD_MAINTENANCE",
|
|
100
|
+
ForeignIncome = "FOREIGN_INCOME",
|
|
101
|
+
GovtBenefit = "GOVT_BENEFIT",
|
|
102
|
+
InvestmentIncome = "INVESTMENT_INCOME",
|
|
103
|
+
OtherIncome = "OTHER_INCOME",
|
|
104
|
+
PaygAllowancesNotTaxed = "PAYG_ALLOWANCES_NOT_TAXED",
|
|
105
|
+
PaygAllowancesTaxed = "PAYG_ALLOWANCES_TAXED",
|
|
106
|
+
PaygBaseSalary = "PAYG_BASE_SALARY",
|
|
107
|
+
PaygBonusIncome = "PAYG_BONUS_INCOME",
|
|
108
|
+
PaygCarAllowance = "PAYG_CAR_ALLOWANCE",
|
|
109
|
+
PaygCommissionIncome = "PAYG_COMMISSION_INCOME",
|
|
110
|
+
PaygCompanyCar = "PAYG_COMPANY_CAR",
|
|
111
|
+
PaygNonVoluntaryDeductionsPreTax = "PAYG_NON_VOLUNTARY_DEDUCTIONS_PRE_TAX",
|
|
112
|
+
PaygOvertimeIncome = "PAYG_OVERTIME_INCOME",
|
|
113
|
+
PaygSalarySacrifice = "PAYG_SALARY_SACRIFICE",
|
|
114
|
+
RentalIncome = "RENTAL_INCOME",
|
|
115
|
+
SelfEmployedBusinessIncome = "SELF_EMPLOYED_BUSINESS_INCOME",
|
|
116
|
+
SelfEmployedBusinessIncomeFullDoc = "SELF_EMPLOYED_BUSINESS_INCOME_FULL_DOC",
|
|
117
|
+
SelfEmployedBusinessIncomeLowDoc = "SELF_EMPLOYED_BUSINESS_INCOME_LOW_DOC",
|
|
118
|
+
SuperAnnuityPension = "SUPER_ANNUITY_PENSION",
|
|
119
|
+
WorkersCompensation = "WORKERS_COMPENSATION"
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* The metadata of the alieo
|
|
123
|
+
*/
|
|
124
|
+
export interface Meta {
|
|
125
|
+
/**
|
|
126
|
+
* uuid of user who made the action (create/update/delete)
|
|
127
|
+
*/
|
|
128
|
+
actionedBy: string;
|
|
129
|
+
/**
|
|
130
|
+
* role of the user that made the action
|
|
131
|
+
*/
|
|
132
|
+
actionedByRole: ActionedByRole;
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* role of the user that made the action
|
|
136
|
+
*/
|
|
137
|
+
export declare enum ActionedByRole {
|
|
138
|
+
Customer = "customer",
|
|
139
|
+
Team = "team"
|
|
140
|
+
}
|
|
141
|
+
export declare enum PublicIncomeType {
|
|
142
|
+
IncomeCreated = "IncomeCreated",
|
|
143
|
+
IncomeUpdated = "IncomeUpdated"
|
|
144
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PublicIncomeType = exports.ActionedByRole = exports.IncomeType = exports.Proportions = exports.Frequency = exports.BenefitType = void 0;
|
|
4
|
+
var BenefitType;
|
|
5
|
+
(function (BenefitType) {
|
|
6
|
+
BenefitType["AgePension"] = "AGE_PENSION";
|
|
7
|
+
BenefitType["DisabilitySupportPension"] = "DISABILITY_SUPPORT_PENSION";
|
|
8
|
+
BenefitType["FamilyTax"] = "FAMILY_TAX";
|
|
9
|
+
BenefitType["Other"] = "OTHER";
|
|
10
|
+
})(BenefitType = exports.BenefitType || (exports.BenefitType = {}));
|
|
11
|
+
var Frequency;
|
|
12
|
+
(function (Frequency) {
|
|
13
|
+
Frequency["Fortnightly"] = "FORTNIGHTLY";
|
|
14
|
+
Frequency["Monthly"] = "MONTHLY";
|
|
15
|
+
Frequency["Quarterly"] = "QUARTERLY";
|
|
16
|
+
Frequency["Weekly"] = "WEEKLY";
|
|
17
|
+
Frequency["Yearly"] = "YEARLY";
|
|
18
|
+
})(Frequency = exports.Frequency || (exports.Frequency = {}));
|
|
19
|
+
/**
|
|
20
|
+
* Indicate whether ownership proportions are equal, specified individually for each one or
|
|
21
|
+
* not specified.
|
|
22
|
+
*/
|
|
23
|
+
var Proportions;
|
|
24
|
+
(function (Proportions) {
|
|
25
|
+
Proportions["Equal"] = "EQUAL";
|
|
26
|
+
Proportions["NotSpecified"] = "NOT_SPECIFIED";
|
|
27
|
+
Proportions["Specified"] = "SPECIFIED";
|
|
28
|
+
})(Proportions = exports.Proportions || (exports.Proportions = {}));
|
|
29
|
+
var IncomeType;
|
|
30
|
+
(function (IncomeType) {
|
|
31
|
+
IncomeType["ChildMaintenance"] = "CHILD_MAINTENANCE";
|
|
32
|
+
IncomeType["ForeignIncome"] = "FOREIGN_INCOME";
|
|
33
|
+
IncomeType["GovtBenefit"] = "GOVT_BENEFIT";
|
|
34
|
+
IncomeType["InvestmentIncome"] = "INVESTMENT_INCOME";
|
|
35
|
+
IncomeType["OtherIncome"] = "OTHER_INCOME";
|
|
36
|
+
IncomeType["PaygAllowancesNotTaxed"] = "PAYG_ALLOWANCES_NOT_TAXED";
|
|
37
|
+
IncomeType["PaygAllowancesTaxed"] = "PAYG_ALLOWANCES_TAXED";
|
|
38
|
+
IncomeType["PaygBaseSalary"] = "PAYG_BASE_SALARY";
|
|
39
|
+
IncomeType["PaygBonusIncome"] = "PAYG_BONUS_INCOME";
|
|
40
|
+
IncomeType["PaygCarAllowance"] = "PAYG_CAR_ALLOWANCE";
|
|
41
|
+
IncomeType["PaygCommissionIncome"] = "PAYG_COMMISSION_INCOME";
|
|
42
|
+
IncomeType["PaygCompanyCar"] = "PAYG_COMPANY_CAR";
|
|
43
|
+
IncomeType["PaygNonVoluntaryDeductionsPreTax"] = "PAYG_NON_VOLUNTARY_DEDUCTIONS_PRE_TAX";
|
|
44
|
+
IncomeType["PaygOvertimeIncome"] = "PAYG_OVERTIME_INCOME";
|
|
45
|
+
IncomeType["PaygSalarySacrifice"] = "PAYG_SALARY_SACRIFICE";
|
|
46
|
+
IncomeType["RentalIncome"] = "RENTAL_INCOME";
|
|
47
|
+
IncomeType["SelfEmployedBusinessIncome"] = "SELF_EMPLOYED_BUSINESS_INCOME";
|
|
48
|
+
IncomeType["SelfEmployedBusinessIncomeFullDoc"] = "SELF_EMPLOYED_BUSINESS_INCOME_FULL_DOC";
|
|
49
|
+
IncomeType["SelfEmployedBusinessIncomeLowDoc"] = "SELF_EMPLOYED_BUSINESS_INCOME_LOW_DOC";
|
|
50
|
+
IncomeType["SuperAnnuityPension"] = "SUPER_ANNUITY_PENSION";
|
|
51
|
+
IncomeType["WorkersCompensation"] = "WORKERS_COMPENSATION";
|
|
52
|
+
})(IncomeType = exports.IncomeType || (exports.IncomeType = {}));
|
|
53
|
+
/**
|
|
54
|
+
* role of the user that made the action
|
|
55
|
+
*/
|
|
56
|
+
var ActionedByRole;
|
|
57
|
+
(function (ActionedByRole) {
|
|
58
|
+
ActionedByRole["Customer"] = "customer";
|
|
59
|
+
ActionedByRole["Team"] = "team";
|
|
60
|
+
})(ActionedByRole = exports.ActionedByRole || (exports.ActionedByRole = {}));
|
|
61
|
+
var PublicIncomeType;
|
|
62
|
+
(function (PublicIncomeType) {
|
|
63
|
+
PublicIncomeType["IncomeCreated"] = "IncomeCreated";
|
|
64
|
+
PublicIncomeType["IncomeUpdated"] = "IncomeUpdated";
|
|
65
|
+
})(PublicIncomeType = exports.PublicIncomeType || (exports.PublicIncomeType = {}));
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The liability event schema
|
|
3
|
+
*/
|
|
4
|
+
export interface PublicLiability {
|
|
5
|
+
payload: LiabilityPayload;
|
|
6
|
+
type: Type;
|
|
7
|
+
/**
|
|
8
|
+
* schema version
|
|
9
|
+
*/
|
|
10
|
+
version: string;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* create / update liability payload
|
|
14
|
+
*/
|
|
15
|
+
export interface LiabilityPayload {
|
|
16
|
+
applicationId: string;
|
|
17
|
+
/**
|
|
18
|
+
* uuid of liability
|
|
19
|
+
*/
|
|
20
|
+
id: string;
|
|
21
|
+
liability: Liability;
|
|
22
|
+
meta?: Meta;
|
|
23
|
+
}
|
|
24
|
+
export interface Liability {
|
|
25
|
+
annualInterestRate?: number;
|
|
26
|
+
balloonRepaymentAmount?: number;
|
|
27
|
+
clearingFromOtherSource?: ClearingFromOtherSource;
|
|
28
|
+
clearingFromThisLoan?: boolean;
|
|
29
|
+
creditLimit?: number;
|
|
30
|
+
description?: string;
|
|
31
|
+
financialInstitution?: string;
|
|
32
|
+
financialInstitutionAccountNumber?: string;
|
|
33
|
+
financialInstitutionBsb?: string;
|
|
34
|
+
financialInstitutionShortName?: string;
|
|
35
|
+
interestOnlyDuration?: number;
|
|
36
|
+
interestOnlyRemainingTerm?: number;
|
|
37
|
+
interestType?: InterestType;
|
|
38
|
+
newLimit?: number;
|
|
39
|
+
originalBalance?: number;
|
|
40
|
+
outstandingBalance: number;
|
|
41
|
+
percentOwned?: PercentOwned;
|
|
42
|
+
remainingTermDuration?: number;
|
|
43
|
+
repaymentAmount?: number;
|
|
44
|
+
repaymentFrequency?: RepaymentFrequency;
|
|
45
|
+
repaymentTypeDetails?: RepaymentTypeDetails;
|
|
46
|
+
/**
|
|
47
|
+
* Is the loan (split) to be topped up
|
|
48
|
+
*/
|
|
49
|
+
toBeToppedUp?: boolean;
|
|
50
|
+
type: LiabilityType;
|
|
51
|
+
}
|
|
52
|
+
export declare enum ClearingFromOtherSource {
|
|
53
|
+
PayingOut = "PAYING_OUT",
|
|
54
|
+
Reducing = "REDUCING"
|
|
55
|
+
}
|
|
56
|
+
export declare enum InterestType {
|
|
57
|
+
FixedRate = "FIXED_RATE",
|
|
58
|
+
Variable = "VARIABLE"
|
|
59
|
+
}
|
|
60
|
+
export interface PercentOwned {
|
|
61
|
+
owners: ApplicantOwnership[];
|
|
62
|
+
/**
|
|
63
|
+
* Indicate whether ownership proportions are equal, specified individually for each one or
|
|
64
|
+
* not specified.
|
|
65
|
+
*/
|
|
66
|
+
proportions?: Proportions;
|
|
67
|
+
}
|
|
68
|
+
export interface ApplicantOwnership {
|
|
69
|
+
/**
|
|
70
|
+
* The applicant Identifier
|
|
71
|
+
*/
|
|
72
|
+
applicantId: string;
|
|
73
|
+
customerId?: string;
|
|
74
|
+
/**
|
|
75
|
+
* how much percent for the corresponding applicant
|
|
76
|
+
*/
|
|
77
|
+
percent: number;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Indicate whether ownership proportions are equal, specified individually for each one or
|
|
81
|
+
* not specified.
|
|
82
|
+
*/
|
|
83
|
+
export declare enum Proportions {
|
|
84
|
+
Equal = "EQUAL",
|
|
85
|
+
NotSpecified = "NOT_SPECIFIED",
|
|
86
|
+
Specified = "SPECIFIED"
|
|
87
|
+
}
|
|
88
|
+
export declare enum RepaymentFrequency {
|
|
89
|
+
Fortnightly = "FORTNIGHTLY",
|
|
90
|
+
Monthly = "MONTHLY",
|
|
91
|
+
Weekly = "WEEKLY",
|
|
92
|
+
Yearly = "YEARLY"
|
|
93
|
+
}
|
|
94
|
+
export declare enum RepaymentTypeDetails {
|
|
95
|
+
InterestOnly = "INTEREST_ONLY",
|
|
96
|
+
PrincipalAndInterest = "PRINCIPAL_AND_INTEREST"
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* LEASE_OR_HIRE_FINANCE is deprecated.
|
|
100
|
+
*/
|
|
101
|
+
export declare enum LiabilityType {
|
|
102
|
+
CarLoan = "CAR_LOAN",
|
|
103
|
+
CreditCard = "CREDIT_CARD",
|
|
104
|
+
HelpHecsDebt = "HELP_HECS_DEBT",
|
|
105
|
+
HirePurchase = "HIRE_PURCHASE",
|
|
106
|
+
HomeLoan = "HOME_LOAN",
|
|
107
|
+
Lease = "LEASE",
|
|
108
|
+
LeaseOrHireFinance = "LEASE_OR_HIRE_FINANCE",
|
|
109
|
+
LineOfCredit = "LINE_OF_CREDIT",
|
|
110
|
+
Other = "OTHER",
|
|
111
|
+
Overdraft = "OVERDRAFT",
|
|
112
|
+
PersonalLoan = "PERSONAL_LOAN",
|
|
113
|
+
ShortTermFinance = "SHORT_TERM_FINANCE",
|
|
114
|
+
StoreCard = "STORE_CARD",
|
|
115
|
+
TaxDebt = "TAX_DEBT"
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* The metadata of the alieo
|
|
119
|
+
*/
|
|
120
|
+
export interface Meta {
|
|
121
|
+
/**
|
|
122
|
+
* uuid of user who made the action (create/update/delete)
|
|
123
|
+
*/
|
|
124
|
+
actionedBy: string;
|
|
125
|
+
/**
|
|
126
|
+
* role of the user that made the action
|
|
127
|
+
*/
|
|
128
|
+
actionedByRole: ActionedByRole;
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* role of the user that made the action
|
|
132
|
+
*/
|
|
133
|
+
export declare enum ActionedByRole {
|
|
134
|
+
Customer = "customer",
|
|
135
|
+
Team = "team"
|
|
136
|
+
}
|
|
137
|
+
export declare enum Type {
|
|
138
|
+
LiabilityCreated = "LiabilityCreated",
|
|
139
|
+
LiabilityUpdated = "LiabilityUpdated"
|
|
140
|
+
}
|