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
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=currentRate.js.map
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
export * from "./address";
|
|
2
|
-
export * from "./applicant";
|
|
3
|
-
export * from "./application";
|
|
4
|
-
export * from "./asset";
|
|
5
|
-
export * from "./attachment";
|
|
6
|
-
export * from "./liability";
|
|
7
|
-
export * from "./user";
|
|
8
|
-
export * from "./lender";
|
|
9
|
-
export * from "./rateReview";
|
|
10
|
-
export * from "./currentRate";
|
|
11
|
-
export declare enum LoanTypes {
|
|
12
|
-
refinance = "Refinance",
|
|
13
|
-
purchase = "Purchase",
|
|
14
|
-
asset_finance = "Asset Finance"
|
|
15
|
-
}
|
|
16
|
-
export interface ErrorReport {
|
|
17
|
-
error: string;
|
|
18
|
-
url: string;
|
|
19
|
-
userAgent: string;
|
|
20
|
-
timeStamp?: string;
|
|
21
|
-
uid?: string;
|
|
22
|
-
ipAddress?: string;
|
|
23
|
-
}
|
|
24
|
-
export declare enum YesNoValues {
|
|
25
|
-
yes = "yes",
|
|
26
|
-
no = "no"
|
|
27
|
-
}
|
|
1
|
+
export * from "./address";
|
|
2
|
+
export * from "./applicant";
|
|
3
|
+
export * from "./application";
|
|
4
|
+
export * from "./asset";
|
|
5
|
+
export * from "./attachment";
|
|
6
|
+
export * from "./liability";
|
|
7
|
+
export * from "./user";
|
|
8
|
+
export * from "./lender";
|
|
9
|
+
export * from "./rateReview";
|
|
10
|
+
export * from "./currentRate";
|
|
11
|
+
export declare enum LoanTypes {
|
|
12
|
+
refinance = "Refinance",
|
|
13
|
+
purchase = "Purchase",
|
|
14
|
+
asset_finance = "Asset Finance"
|
|
15
|
+
}
|
|
16
|
+
export interface ErrorReport {
|
|
17
|
+
error: string;
|
|
18
|
+
url: string;
|
|
19
|
+
userAgent: string;
|
|
20
|
+
timeStamp?: string;
|
|
21
|
+
uid?: string;
|
|
22
|
+
ipAddress?: string;
|
|
23
|
+
}
|
|
24
|
+
export declare enum YesNoValues {
|
|
25
|
+
yes = "yes",
|
|
26
|
+
no = "no"
|
|
27
|
+
}
|
|
@@ -1,39 +1,39 @@
|
|
|
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
|
-
exports.YesNoValues = exports.LoanTypes = void 0;
|
|
18
|
-
__exportStar(require("./address"), exports);
|
|
19
|
-
__exportStar(require("./applicant"), exports);
|
|
20
|
-
__exportStar(require("./application"), exports);
|
|
21
|
-
__exportStar(require("./asset"), exports);
|
|
22
|
-
__exportStar(require("./attachment"), exports);
|
|
23
|
-
__exportStar(require("./liability"), exports);
|
|
24
|
-
__exportStar(require("./user"), exports);
|
|
25
|
-
__exportStar(require("./lender"), exports);
|
|
26
|
-
__exportStar(require("./rateReview"), exports);
|
|
27
|
-
__exportStar(require("./currentRate"), exports);
|
|
28
|
-
var LoanTypes;
|
|
29
|
-
(function (LoanTypes) {
|
|
30
|
-
LoanTypes["refinance"] = "Refinance";
|
|
31
|
-
LoanTypes["purchase"] = "Purchase";
|
|
32
|
-
LoanTypes["asset_finance"] = "Asset Finance";
|
|
33
|
-
})(LoanTypes
|
|
34
|
-
var YesNoValues;
|
|
35
|
-
(function (YesNoValues) {
|
|
36
|
-
YesNoValues["yes"] = "yes";
|
|
37
|
-
YesNoValues["no"] = "no";
|
|
38
|
-
})(YesNoValues
|
|
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
|
+
exports.YesNoValues = exports.LoanTypes = void 0;
|
|
18
|
+
__exportStar(require("./address"), exports);
|
|
19
|
+
__exportStar(require("./applicant"), exports);
|
|
20
|
+
__exportStar(require("./application"), exports);
|
|
21
|
+
__exportStar(require("./asset"), exports);
|
|
22
|
+
__exportStar(require("./attachment"), exports);
|
|
23
|
+
__exportStar(require("./liability"), exports);
|
|
24
|
+
__exportStar(require("./user"), exports);
|
|
25
|
+
__exportStar(require("./lender"), exports);
|
|
26
|
+
__exportStar(require("./rateReview"), exports);
|
|
27
|
+
__exportStar(require("./currentRate"), exports);
|
|
28
|
+
var LoanTypes;
|
|
29
|
+
(function (LoanTypes) {
|
|
30
|
+
LoanTypes["refinance"] = "Refinance";
|
|
31
|
+
LoanTypes["purchase"] = "Purchase";
|
|
32
|
+
LoanTypes["asset_finance"] = "Asset Finance";
|
|
33
|
+
})(LoanTypes || (exports.LoanTypes = LoanTypes = {}));
|
|
34
|
+
var YesNoValues;
|
|
35
|
+
(function (YesNoValues) {
|
|
36
|
+
YesNoValues["yes"] = "yes";
|
|
37
|
+
YesNoValues["no"] = "no";
|
|
38
|
+
})(YesNoValues || (exports.YesNoValues = YesNoValues = {}));
|
|
39
39
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/typings/loanshub/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,8CAA4B;AAC5B,gDAA8B;AAC9B,0CAAwB;AACxB,+CAA6B;AAC7B,8CAA4B;AAC5B,yCAAuB;AACvB,2CAAyB;AACzB,+CAA6B;AAC7B,gDAA8B;AAE9B,IAAY,SAIX;AAJD,WAAY,SAAS;IACnB,oCAAuB,CAAA;IACvB,kCAAqB,CAAA;IACrB,4CAA+B,CAAA;AACjC,CAAC,EAJW,SAAS,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/typings/loanshub/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,8CAA4B;AAC5B,gDAA8B;AAC9B,0CAAwB;AACxB,+CAA6B;AAC7B,8CAA4B;AAC5B,yCAAuB;AACvB,2CAAyB;AACzB,+CAA6B;AAC7B,gDAA8B;AAE9B,IAAY,SAIX;AAJD,WAAY,SAAS;IACnB,oCAAuB,CAAA;IACvB,kCAAqB,CAAA;IACrB,4CAA+B,CAAA;AACjC,CAAC,EAJW,SAAS,yBAAT,SAAS,QAIpB;AAWD,IAAY,WAGX;AAHD,WAAY,WAAW;IACrB,0BAAW,CAAA;IACX,wBAAS,CAAA;AACX,CAAC,EAHW,WAAW,2BAAX,WAAW,QAGtB"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export interface AppLender {
|
|
2
|
-
id: string;
|
|
3
|
-
/** the display name of the lender */
|
|
4
|
-
name: string;
|
|
5
|
-
/** LoansHub's Broker Id for this lender */
|
|
6
|
-
brokerId: string;
|
|
7
|
-
supportDetails: {
|
|
8
|
-
/** the name of the support contact */
|
|
9
|
-
name: string;
|
|
10
|
-
/** the email of the support contact */
|
|
11
|
-
email: string;
|
|
12
|
-
};
|
|
13
|
-
}
|
|
1
|
+
export interface AppLender {
|
|
2
|
+
id: string;
|
|
3
|
+
/** the display name of the lender */
|
|
4
|
+
name: string;
|
|
5
|
+
/** LoansHub's Broker Id for this lender */
|
|
6
|
+
brokerId: string;
|
|
7
|
+
supportDetails: {
|
|
8
|
+
/** the name of the support contact */
|
|
9
|
+
name: string;
|
|
10
|
+
/** the email of the support contact */
|
|
11
|
+
email: string;
|
|
12
|
+
};
|
|
13
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=lender.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { LiabilityTypeEnumerator, CreditCardTypeEnumerator } from "../salestrekker";
|
|
2
|
-
export interface AppLiability {
|
|
3
|
-
id?: string;
|
|
4
|
-
type: LiabilityTypeEnumerator;
|
|
5
|
-
value: number;
|
|
6
|
-
toBePaidOut?: boolean;
|
|
7
|
-
address?: string;
|
|
8
|
-
limit?: number;
|
|
9
|
-
cardType?: CreditCardTypeEnumerator;
|
|
10
|
-
monthlyRepayment?: number;
|
|
11
|
-
description?: string;
|
|
12
|
-
lender?: string;
|
|
13
|
-
}
|
|
1
|
+
import { LiabilityTypeEnumerator, CreditCardTypeEnumerator } from "../salestrekker";
|
|
2
|
+
export interface AppLiability {
|
|
3
|
+
id?: string;
|
|
4
|
+
type: LiabilityTypeEnumerator;
|
|
5
|
+
value: number;
|
|
6
|
+
toBePaidOut?: boolean;
|
|
7
|
+
address?: string;
|
|
8
|
+
limit?: number;
|
|
9
|
+
cardType?: CreditCardTypeEnumerator;
|
|
10
|
+
monthlyRepayment?: number;
|
|
11
|
+
description?: string;
|
|
12
|
+
lender?: string;
|
|
13
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=liability.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export interface RateReviewRecord<T> {
|
|
2
|
-
sentDate: T;
|
|
3
|
-
body: string;
|
|
4
|
-
}
|
|
1
|
+
export interface RateReviewRecord<T> {
|
|
2
|
+
sentDate: T;
|
|
3
|
+
body: string;
|
|
4
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=rateReview.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export interface User {
|
|
2
|
-
emailAddress: string;
|
|
3
|
-
firstName?: string;
|
|
4
|
-
lastName?: string;
|
|
5
|
-
}
|
|
1
|
+
export interface User {
|
|
2
|
+
emailAddress: string;
|
|
3
|
+
firstName?: string;
|
|
4
|
+
lastName?: string;
|
|
5
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=user.js.map
|