@lendi/act-credit-decisions-transform 2.0.0 → 2.0.3
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 +1 -1
- package/lib/logger.d.ts +4 -1
- package/lib/logger.js +2 -2
- package/lib/schemas/bcm-application-status-updated.json +91 -0
- package/lib/transform-events/transform-asset.js +5 -3
- package/lib/transform-events/transform-bcm-status-updated.d.ts +8 -0
- package/lib/transform-events/transform-bcm-status-updated.js +39 -0
- package/lib/transform-events/transform-employment.d.ts +0 -1
- package/lib/transform-events/transform-employment.js +0 -1
- package/lib/types/events/applicant-delete.js +2 -2
- package/lib/types/events/application-workflow.js +6 -6
- package/lib/types/events/asset-delete.js +2 -2
- package/lib/types/events/asset-liability-relation-delete.js +2 -2
- package/lib/types/events/bcm-application-status-updated.d.ts +63 -0
- package/lib/types/events/bcm-application-status-updated.js +39 -0
- package/lib/types/events/credit-report-retrieved.js +2 -2
- package/lib/types/events/employment-delete.js +1 -1
- package/lib/types/events/expense-delete.js +1 -1
- package/lib/types/events/funding-position.js +3 -3
- package/lib/types/events/income-delete.js +2 -2
- package/lib/types/events/liability-delete.js +1 -1
- package/lib/types/events/opportunity.js +3 -3
- package/lib/types/events/public-applicant.js +20 -20
- package/lib/types/events/public-application.js +13 -13
- package/lib/types/events/public-asset-liability-relation.js +2 -2
- package/lib/types/events/public-asset.js +13 -13
- package/lib/types/events/public-employment.js +6 -6
- package/lib/types/events/public-expense.js +4 -4
- package/lib/types/events/public-funding-position.js +2 -2
- package/lib/types/events/public-income.js +6 -6
- package/lib/types/events/public-liability.js +8 -8
- package/lib/types/events/public-required-document.js +7 -7
- package/lib/utils/errors.js +1 -1
- package/package.json +10 -10
package/README.md
CHANGED
|
@@ -12,7 +12,7 @@ Contains tooling for converting Lendi's kafka event data into LIXI format.
|
|
|
12
12
|
To install and implement this module you can run the following:
|
|
13
13
|
|
|
14
14
|
```
|
|
15
|
-
yarn add @lendi/
|
|
15
|
+
yarn add @lendi/act-credit-decisions-transform
|
|
16
16
|
```
|
|
17
17
|
|
|
18
18
|
## Development
|
package/lib/logger.d.ts
CHANGED
package/lib/logger.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.logger = void 0;
|
|
4
|
-
const
|
|
5
|
-
exports.logger = (0,
|
|
4
|
+
const pino_1 = require("pino");
|
|
5
|
+
exports.logger = (0, pino_1.default)({ name: 'integrations-transform', messageKey: 'message' });
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
{
|
|
2
|
+
"title": "Back Channel Message Event",
|
|
3
|
+
"description": "Event produced to update status of application from an external party.",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"definitions": {
|
|
6
|
+
"payload": {
|
|
7
|
+
"type": "object",
|
|
8
|
+
"additionalProperties": false,
|
|
9
|
+
"properties": {
|
|
10
|
+
"additionalInformation": {
|
|
11
|
+
"type": "string",
|
|
12
|
+
"description": "json stringified string of a json object that captures any additional information from upstream."
|
|
13
|
+
},
|
|
14
|
+
"applicationId": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"format": "uuid"
|
|
17
|
+
},
|
|
18
|
+
"description": {
|
|
19
|
+
"type": "string"
|
|
20
|
+
},
|
|
21
|
+
"message": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"enum": [
|
|
24
|
+
"Application Received",
|
|
25
|
+
"Application Registered",
|
|
26
|
+
"Application Settled",
|
|
27
|
+
"Cancelled",
|
|
28
|
+
"Conditionally Approved",
|
|
29
|
+
"Declined",
|
|
30
|
+
"Docs Received",
|
|
31
|
+
"Docs Sent",
|
|
32
|
+
"Error On Submission",
|
|
33
|
+
"Lender Information",
|
|
34
|
+
"Outstanding Items",
|
|
35
|
+
"Pre Approved",
|
|
36
|
+
"Referred",
|
|
37
|
+
"Settlement Booked",
|
|
38
|
+
"Solicitor Instructed",
|
|
39
|
+
"Unconditionally Approved",
|
|
40
|
+
"Valuation Ordered",
|
|
41
|
+
"Valuation Received",
|
|
42
|
+
"Withdrawn"
|
|
43
|
+
]
|
|
44
|
+
},
|
|
45
|
+
"publishedAt": {
|
|
46
|
+
"type": "string",
|
|
47
|
+
"format": "date-time"
|
|
48
|
+
},
|
|
49
|
+
"sourceInternalId": {
|
|
50
|
+
"type": "string"
|
|
51
|
+
},
|
|
52
|
+
"lenderAssignedId": {
|
|
53
|
+
"type": "string",
|
|
54
|
+
"description": "The internal reference id assigned by the lender after it is submitted to them by the gateway. This identifier is required by team members to reference a specific application when communicating with a lender."
|
|
55
|
+
},
|
|
56
|
+
"source": {
|
|
57
|
+
"type": "string",
|
|
58
|
+
"enum": ["Nextgen", "Simpology"]
|
|
59
|
+
},
|
|
60
|
+
"type": {
|
|
61
|
+
"type": "string",
|
|
62
|
+
"enum": ["event", "status"]
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"required": [
|
|
66
|
+
"applicationId",
|
|
67
|
+
"description",
|
|
68
|
+
"message",
|
|
69
|
+
"publishedAt",
|
|
70
|
+
"sourceInternalId",
|
|
71
|
+
"lenderAssignedId",
|
|
72
|
+
"source",
|
|
73
|
+
"type"
|
|
74
|
+
]
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"properties": {
|
|
78
|
+
"version": {
|
|
79
|
+
"type": "string",
|
|
80
|
+
"description": "Current schema version."
|
|
81
|
+
},
|
|
82
|
+
"type": {
|
|
83
|
+
"type": "string",
|
|
84
|
+
"enum": ["BcmApplicationStatusUpdated"]
|
|
85
|
+
},
|
|
86
|
+
"payload": {
|
|
87
|
+
"$ref": "#/definitions/payload"
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
"required": ["version", "type", "payload"]
|
|
91
|
+
}
|
|
@@ -111,11 +111,13 @@ function transformAsset({ asset, applicationId, id }) {
|
|
|
111
111
|
break;
|
|
112
112
|
case 'propertyType':
|
|
113
113
|
const propertyTypeMapping = getPropertyType(value);
|
|
114
|
-
if (
|
|
114
|
+
if (propertyTypeMapping) {
|
|
115
|
+
const { path, value: mappedValue } = propertyTypeMapping;
|
|
116
|
+
(0, lodash_1.set)(partialApplication, path, mappedValue);
|
|
117
|
+
}
|
|
118
|
+
else {
|
|
115
119
|
logger_1.logger.warn({ message: `Unknown propertyType ${value} for asset ${id}`, applicationId });
|
|
116
120
|
}
|
|
117
|
-
const { path, value: mappedValue } = propertyTypeMapping;
|
|
118
|
-
(0, lodash_1.set)(partialApplication, path, mappedValue);
|
|
119
121
|
break;
|
|
120
122
|
case 'zoneType':
|
|
121
123
|
if (asset.zoneType === public_asset_1.ZoneType.Commercial) {
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Payload as BCMStatusUpdatedPayload } from '../types/events/bcm-application-status-updated';
|
|
2
|
+
/**
|
|
3
|
+
* Generates a partial application from an BCMStatusUpdated event
|
|
4
|
+
*
|
|
5
|
+
* @param bcmStatusUpdatedPayload BCMStatusUpdated event payload
|
|
6
|
+
* @returns A partial application
|
|
7
|
+
*/
|
|
8
|
+
export declare function transformBcmStatusUpdated(bcmStatusUpdatedPayload: BCMStatusUpdatedPayload): Promise<any>;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.transformBcmStatusUpdated = void 0;
|
|
13
|
+
const application_paths_1 = require("@lendi/act-eac-integrations-protocol/lib/utils/application-paths");
|
|
14
|
+
const lodash_1 = require("lodash");
|
|
15
|
+
const bcm_application_status_updated_1 = require("../types/events/bcm-application-status-updated");
|
|
16
|
+
const application_workflow_1 = require("../types/events/application-workflow");
|
|
17
|
+
/**
|
|
18
|
+
* Generates a partial application from an BCMStatusUpdated event
|
|
19
|
+
*
|
|
20
|
+
* @param bcmStatusUpdatedPayload BCMStatusUpdated event payload
|
|
21
|
+
* @returns A partial application
|
|
22
|
+
*/
|
|
23
|
+
function transformBcmStatusUpdated(bcmStatusUpdatedPayload) {
|
|
24
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
25
|
+
const partialApplication = {};
|
|
26
|
+
const { applicationId, message } = bcmStatusUpdatedPayload;
|
|
27
|
+
if (message !== bcm_application_status_updated_1.Message.Declined) {
|
|
28
|
+
return partialApplication;
|
|
29
|
+
}
|
|
30
|
+
(0, lodash_1.set)(partialApplication, application_paths_1.paths.ApplicationId, applicationId);
|
|
31
|
+
const statusInstructionDetails = {
|
|
32
|
+
'@UniqueID': `${applicationId}-status`,
|
|
33
|
+
'@Details': application_workflow_1.ApplicationStatus.Declined,
|
|
34
|
+
};
|
|
35
|
+
(0, lodash_1.set)(partialApplication, application_paths_1.paths.InstructionsStatus, statusInstructionDetails);
|
|
36
|
+
return partialApplication;
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
exports.transformBcmStatusUpdated = transformBcmStatusUpdated;
|
|
@@ -3,7 +3,6 @@ import { Payload } from '../types/events/public-employment';
|
|
|
3
3
|
* Generates a partial application from a employment event.
|
|
4
4
|
*
|
|
5
5
|
* @param employment a employment event payload.
|
|
6
|
-
* @param isSelfEmployed
|
|
7
6
|
* @returns partialApplication an incomplete application.
|
|
8
7
|
*/
|
|
9
8
|
export declare function transformEmployment(employment: Payload, isSelfEmployed: boolean): {};
|
|
@@ -11,7 +11,6 @@ const enum_mappings_1 = require("../types/enum-mappings");
|
|
|
11
11
|
* Generates a partial application from a employment event.
|
|
12
12
|
*
|
|
13
13
|
* @param employment a employment event payload.
|
|
14
|
-
* @param isSelfEmployed
|
|
15
14
|
* @returns partialApplication an incomplete application.
|
|
16
15
|
*/
|
|
17
16
|
function transformEmployment(employment, isSelfEmployed) {
|
|
@@ -8,8 +8,8 @@ var ActionedByRole;
|
|
|
8
8
|
(function (ActionedByRole) {
|
|
9
9
|
ActionedByRole["Customer"] = "customer";
|
|
10
10
|
ActionedByRole["Team"] = "team";
|
|
11
|
-
})(ActionedByRole
|
|
11
|
+
})(ActionedByRole || (exports.ActionedByRole = ActionedByRole = {}));
|
|
12
12
|
var Type;
|
|
13
13
|
(function (Type) {
|
|
14
14
|
Type["DeleteApplicant"] = "DeleteApplicant";
|
|
15
|
-
})(Type
|
|
15
|
+
})(Type || (exports.Type = Type = {}));
|
|
@@ -13,7 +13,7 @@ var ApplicationStage;
|
|
|
13
13
|
ApplicationStage["Settlement"] = "SETTLEMENT";
|
|
14
14
|
ApplicationStage["SubmissionReview"] = "SUBMISSION_REVIEW";
|
|
15
15
|
ApplicationStage["SubmittedToLender"] = "SUBMITTED_TO_LENDER";
|
|
16
|
-
})(ApplicationStage
|
|
16
|
+
})(ApplicationStage || (exports.ApplicationStage = ApplicationStage = {}));
|
|
17
17
|
/**
|
|
18
18
|
* Application status in Lendi Group Salesforce
|
|
19
19
|
*/
|
|
@@ -45,7 +45,7 @@ var ApplicationStatus;
|
|
|
45
45
|
ApplicationStatus["UnconditionallyApproved"] = "UNCONDITIONALLY_APPROVED";
|
|
46
46
|
ApplicationStatus["UnderReview"] = "UNDER_REVIEW";
|
|
47
47
|
ApplicationStatus["WaitingOnException"] = "WAITING_ON_EXCEPTION";
|
|
48
|
-
})(ApplicationStatus
|
|
48
|
+
})(ApplicationStatus || (exports.ApplicationStatus = ApplicationStatus = {}));
|
|
49
49
|
/**
|
|
50
50
|
* Intention for applying a loan
|
|
51
51
|
*/
|
|
@@ -69,7 +69,7 @@ var ConfirmedPrimaryPurpose;
|
|
|
69
69
|
ConfirmedPrimaryPurpose["TopUp"] = "TOP_UP";
|
|
70
70
|
ConfirmedPrimaryPurpose["Unknown"] = "UNKNOWN";
|
|
71
71
|
ConfirmedPrimaryPurpose["Variation"] = "VARIATION";
|
|
72
|
-
})(ConfirmedPrimaryPurpose
|
|
72
|
+
})(ConfirmedPrimaryPurpose || (exports.ConfirmedPrimaryPurpose = ConfirmedPrimaryPurpose = {}));
|
|
73
73
|
/**
|
|
74
74
|
* Opportunity stage name. This is a legacy field and will be deprecated after Lendi Group
|
|
75
75
|
* salesforce goes live
|
|
@@ -99,7 +99,7 @@ var Stage;
|
|
|
99
99
|
Stage["Settlement"] = "SETTLEMENT";
|
|
100
100
|
Stage["Submitted"] = "SUBMITTED";
|
|
101
101
|
Stage["Unknown"] = "UNKNOWN";
|
|
102
|
-
})(Stage
|
|
102
|
+
})(Stage || (exports.Stage = Stage = {}));
|
|
103
103
|
/**
|
|
104
104
|
* Opportunity status. This is a legacy field and will be deprecated after Lendi Group
|
|
105
105
|
* salesforce goes live
|
|
@@ -165,8 +165,8 @@ var Status;
|
|
|
165
165
|
Status["SubmittedToLender"] = "SUBMITTED_TO_LENDER";
|
|
166
166
|
Status["UnconditionalApproval"] = "UNCONDITIONAL_APPROVAL";
|
|
167
167
|
Status["Unknown"] = "UNKNOWN";
|
|
168
|
-
})(Status
|
|
168
|
+
})(Status || (exports.Status = Status = {}));
|
|
169
169
|
var Type;
|
|
170
170
|
(function (Type) {
|
|
171
171
|
Type["ApplicationWorkflowUpdated"] = "ApplicationWorkflowUpdated";
|
|
172
|
-
})(Type
|
|
172
|
+
})(Type || (exports.Type = Type = {}));
|
|
@@ -8,8 +8,8 @@ var ActionedByRole;
|
|
|
8
8
|
(function (ActionedByRole) {
|
|
9
9
|
ActionedByRole["Customer"] = "customer";
|
|
10
10
|
ActionedByRole["Team"] = "team";
|
|
11
|
-
})(ActionedByRole
|
|
11
|
+
})(ActionedByRole || (exports.ActionedByRole = ActionedByRole = {}));
|
|
12
12
|
var Type;
|
|
13
13
|
(function (Type) {
|
|
14
14
|
Type["AssetDeleted"] = "AssetDeleted";
|
|
15
|
-
})(Type
|
|
15
|
+
})(Type || (exports.Type = Type = {}));
|
|
@@ -8,8 +8,8 @@ var ActionedByRole;
|
|
|
8
8
|
(function (ActionedByRole) {
|
|
9
9
|
ActionedByRole["Customer"] = "customer";
|
|
10
10
|
ActionedByRole["Team"] = "team";
|
|
11
|
-
})(ActionedByRole
|
|
11
|
+
})(ActionedByRole || (exports.ActionedByRole = ActionedByRole = {}));
|
|
12
12
|
var Type;
|
|
13
13
|
(function (Type) {
|
|
14
14
|
Type["AssetAndLiabilityRelationDeleted"] = "AssetAndLiabilityRelationDeleted";
|
|
15
|
-
})(Type
|
|
15
|
+
})(Type || (exports.Type = Type = {}));
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Event produced to update status of application from an external party.
|
|
3
|
+
*/
|
|
4
|
+
export interface BcmApplicationStatusUpdated {
|
|
5
|
+
payload: Payload;
|
|
6
|
+
type: BcmApplicationStatusUpdatedType;
|
|
7
|
+
/**
|
|
8
|
+
* Current schema version.
|
|
9
|
+
*/
|
|
10
|
+
version: string;
|
|
11
|
+
}
|
|
12
|
+
export interface Payload {
|
|
13
|
+
/**
|
|
14
|
+
* json stringified string of a json object that captures any additional information from
|
|
15
|
+
* upstream.
|
|
16
|
+
*/
|
|
17
|
+
additionalInformation?: string;
|
|
18
|
+
applicationId: string;
|
|
19
|
+
description: string;
|
|
20
|
+
/**
|
|
21
|
+
* The internal reference id assigned by the lender after it is submitted to them by the
|
|
22
|
+
* gateway. This identifier is required by team members to reference a specific application
|
|
23
|
+
* when communicating with a lender.
|
|
24
|
+
*/
|
|
25
|
+
lenderAssignedId: string;
|
|
26
|
+
message: Message;
|
|
27
|
+
publishedAt: string;
|
|
28
|
+
source: Source;
|
|
29
|
+
sourceInternalId: string;
|
|
30
|
+
type: PayloadType;
|
|
31
|
+
}
|
|
32
|
+
export declare enum Message {
|
|
33
|
+
ApplicationReceived = "Application Received",
|
|
34
|
+
ApplicationRegistered = "Application Registered",
|
|
35
|
+
ApplicationSettled = "Application Settled",
|
|
36
|
+
Cancelled = "Cancelled",
|
|
37
|
+
ConditionallyApproved = "Conditionally Approved",
|
|
38
|
+
Declined = "Declined",
|
|
39
|
+
DocsReceived = "Docs Received",
|
|
40
|
+
DocsSent = "Docs Sent",
|
|
41
|
+
ErrorOnSubmission = "Error On Submission",
|
|
42
|
+
LenderInformation = "Lender Information",
|
|
43
|
+
OutstandingItems = "Outstanding Items",
|
|
44
|
+
PreApproved = "Pre Approved",
|
|
45
|
+
Referred = "Referred",
|
|
46
|
+
SettlementBooked = "Settlement Booked",
|
|
47
|
+
SolicitorInstructed = "Solicitor Instructed",
|
|
48
|
+
UnconditionallyApproved = "Unconditionally Approved",
|
|
49
|
+
ValuationOrdered = "Valuation Ordered",
|
|
50
|
+
ValuationReceived = "Valuation Received",
|
|
51
|
+
Withdrawn = "Withdrawn"
|
|
52
|
+
}
|
|
53
|
+
export declare enum Source {
|
|
54
|
+
Nextgen = "Nextgen",
|
|
55
|
+
Simpology = "Simpology"
|
|
56
|
+
}
|
|
57
|
+
export declare enum PayloadType {
|
|
58
|
+
Event = "event",
|
|
59
|
+
Status = "status"
|
|
60
|
+
}
|
|
61
|
+
export declare enum BcmApplicationStatusUpdatedType {
|
|
62
|
+
BcmApplicationStatusUpdated = "BcmApplicationStatusUpdated"
|
|
63
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BcmApplicationStatusUpdatedType = exports.PayloadType = exports.Source = exports.Message = void 0;
|
|
4
|
+
var Message;
|
|
5
|
+
(function (Message) {
|
|
6
|
+
Message["ApplicationReceived"] = "Application Received";
|
|
7
|
+
Message["ApplicationRegistered"] = "Application Registered";
|
|
8
|
+
Message["ApplicationSettled"] = "Application Settled";
|
|
9
|
+
Message["Cancelled"] = "Cancelled";
|
|
10
|
+
Message["ConditionallyApproved"] = "Conditionally Approved";
|
|
11
|
+
Message["Declined"] = "Declined";
|
|
12
|
+
Message["DocsReceived"] = "Docs Received";
|
|
13
|
+
Message["DocsSent"] = "Docs Sent";
|
|
14
|
+
Message["ErrorOnSubmission"] = "Error On Submission";
|
|
15
|
+
Message["LenderInformation"] = "Lender Information";
|
|
16
|
+
Message["OutstandingItems"] = "Outstanding Items";
|
|
17
|
+
Message["PreApproved"] = "Pre Approved";
|
|
18
|
+
Message["Referred"] = "Referred";
|
|
19
|
+
Message["SettlementBooked"] = "Settlement Booked";
|
|
20
|
+
Message["SolicitorInstructed"] = "Solicitor Instructed";
|
|
21
|
+
Message["UnconditionallyApproved"] = "Unconditionally Approved";
|
|
22
|
+
Message["ValuationOrdered"] = "Valuation Ordered";
|
|
23
|
+
Message["ValuationReceived"] = "Valuation Received";
|
|
24
|
+
Message["Withdrawn"] = "Withdrawn";
|
|
25
|
+
})(Message || (exports.Message = Message = {}));
|
|
26
|
+
var Source;
|
|
27
|
+
(function (Source) {
|
|
28
|
+
Source["Nextgen"] = "Nextgen";
|
|
29
|
+
Source["Simpology"] = "Simpology";
|
|
30
|
+
})(Source || (exports.Source = Source = {}));
|
|
31
|
+
var PayloadType;
|
|
32
|
+
(function (PayloadType) {
|
|
33
|
+
PayloadType["Event"] = "event";
|
|
34
|
+
PayloadType["Status"] = "status";
|
|
35
|
+
})(PayloadType || (exports.PayloadType = PayloadType = {}));
|
|
36
|
+
var BcmApplicationStatusUpdatedType;
|
|
37
|
+
(function (BcmApplicationStatusUpdatedType) {
|
|
38
|
+
BcmApplicationStatusUpdatedType["BcmApplicationStatusUpdated"] = "BcmApplicationStatusUpdated";
|
|
39
|
+
})(BcmApplicationStatusUpdatedType || (exports.BcmApplicationStatusUpdatedType = BcmApplicationStatusUpdatedType = {}));
|
|
@@ -7,9 +7,9 @@ exports.Type = exports.Source = void 0;
|
|
|
7
7
|
var Source;
|
|
8
8
|
(function (Source) {
|
|
9
9
|
Source["Equifax"] = "equifax";
|
|
10
|
-
})(Source
|
|
10
|
+
})(Source || (exports.Source = Source = {}));
|
|
11
11
|
var Type;
|
|
12
12
|
(function (Type) {
|
|
13
13
|
Type["CreditReportNoMatch"] = "CreditReportNoMatch";
|
|
14
14
|
Type["CreditReportRetrieved"] = "CreditReportRetrieved";
|
|
15
|
-
})(Type
|
|
15
|
+
})(Type || (exports.Type = Type = {}));
|
|
@@ -9,7 +9,7 @@ var Category;
|
|
|
9
9
|
Category["Fee"] = "Fee";
|
|
10
10
|
Category["Other"] = "Other";
|
|
11
11
|
Category["Purchase"] = "Purchase";
|
|
12
|
-
})(Category
|
|
12
|
+
})(Category || (exports.Category = Category = {}));
|
|
13
13
|
/**
|
|
14
14
|
* Detail type
|
|
15
15
|
*/
|
|
@@ -25,10 +25,10 @@ var DetailType;
|
|
|
25
25
|
DetailType["PurchaseStampDuty"] = "Purchase Stamp Duty";
|
|
26
26
|
DetailType["RegistrationFee"] = "Registration Fee";
|
|
27
27
|
DetailType["TransferFee"] = "Transfer Fee";
|
|
28
|
-
})(DetailType
|
|
28
|
+
})(DetailType || (exports.DetailType = DetailType = {}));
|
|
29
29
|
var Type;
|
|
30
30
|
(function (Type) {
|
|
31
31
|
Type["FundingPositionCreated"] = "FundingPositionCreated";
|
|
32
32
|
Type["FundingPositionMigrated"] = "FundingPositionMigrated";
|
|
33
33
|
Type["FundingPositionUpdated"] = "FundingPositionUpdated";
|
|
34
|
-
})(Type
|
|
34
|
+
})(Type || (exports.Type = Type = {}));
|
|
@@ -8,8 +8,8 @@ var ActionedByRole;
|
|
|
8
8
|
(function (ActionedByRole) {
|
|
9
9
|
ActionedByRole["Customer"] = "customer";
|
|
10
10
|
ActionedByRole["Team"] = "team";
|
|
11
|
-
})(ActionedByRole
|
|
11
|
+
})(ActionedByRole || (exports.ActionedByRole = ActionedByRole = {}));
|
|
12
12
|
var Type;
|
|
13
13
|
(function (Type) {
|
|
14
14
|
Type["IncomeDeleted"] = "IncomeDeleted";
|
|
15
|
-
})(Type
|
|
15
|
+
})(Type || (exports.Type = Type = {}));
|
|
@@ -10,7 +10,7 @@ var Brand;
|
|
|
10
10
|
Brand["DomainVariation"] = "domain variation";
|
|
11
11
|
Brand["Lendi"] = "lendi";
|
|
12
12
|
Brand["LendiVariation"] = "lendi variation";
|
|
13
|
-
})(Brand
|
|
13
|
+
})(Brand || (exports.Brand = Brand = {}));
|
|
14
14
|
/**
|
|
15
15
|
* Opportunity Stage Name
|
|
16
16
|
*/
|
|
@@ -38,10 +38,10 @@ var Stage;
|
|
|
38
38
|
Stage["Settled"] = "Settled";
|
|
39
39
|
Stage["Settlement"] = "Settlement";
|
|
40
40
|
Stage["Submitted"] = "Submitted";
|
|
41
|
-
})(Stage
|
|
41
|
+
})(Stage || (exports.Stage = Stage = {}));
|
|
42
42
|
var Type;
|
|
43
43
|
(function (Type) {
|
|
44
44
|
Type["OpportunityCreated"] = "OpportunityCreated";
|
|
45
45
|
Type["OpportunityMigrated"] = "OpportunityMigrated";
|
|
46
46
|
Type["OpportunityUpdated"] = "OpportunityUpdated";
|
|
47
|
-
})(Type
|
|
47
|
+
})(Type || (exports.Type = Type = {}));
|
|
@@ -6,7 +6,7 @@ var ApplicantType;
|
|
|
6
6
|
ApplicantType["Borrower"] = "BORROWER";
|
|
7
7
|
ApplicantType["BorrowerAndGuarantor"] = "BORROWER_AND_GUARANTOR";
|
|
8
8
|
ApplicantType["Guarantor"] = "GUARANTOR";
|
|
9
|
-
})(ApplicantType
|
|
9
|
+
})(ApplicantType || (exports.ApplicantType = ApplicantType = {}));
|
|
10
10
|
var Countries;
|
|
11
11
|
(function (Countries) {
|
|
12
12
|
Countries["Afghanistan"] = "Afghanistan";
|
|
@@ -248,21 +248,21 @@ var Countries;
|
|
|
248
248
|
Countries["Yemen"] = "Yemen";
|
|
249
249
|
Countries["Zambia"] = "Zambia";
|
|
250
250
|
Countries["Zimbabwe"] = "Zimbabwe";
|
|
251
|
-
})(Countries
|
|
251
|
+
})(Countries || (exports.Countries = Countries = {}));
|
|
252
252
|
var CompanyStructure;
|
|
253
253
|
(function (CompanyStructure) {
|
|
254
254
|
CompanyStructure["Corporation"] = "CORPORATION";
|
|
255
255
|
CompanyStructure["Partnership"] = "PARTNERSHIP";
|
|
256
256
|
CompanyStructure["SoleTrader"] = "SOLE_TRADER";
|
|
257
257
|
CompanyStructure["Trust"] = "TRUST";
|
|
258
|
-
})(CompanyStructure
|
|
258
|
+
})(CompanyStructure || (exports.CompanyStructure = CompanyStructure = {}));
|
|
259
259
|
var CompanyType;
|
|
260
260
|
(function (CompanyType) {
|
|
261
261
|
CompanyType["Incorporated"] = "INCORPORATED";
|
|
262
262
|
CompanyType["Ltd"] = "LTD";
|
|
263
263
|
CompanyType["Nl"] = "NL";
|
|
264
264
|
CompanyType["PtyLtd"] = "PTY_LTD";
|
|
265
|
-
})(CompanyType
|
|
265
|
+
})(CompanyType || (exports.CompanyType = CompanyType = {}));
|
|
266
266
|
var HousingStatusList;
|
|
267
267
|
(function (HousingStatusList) {
|
|
268
268
|
HousingStatusList["Boarding"] = "Boarding";
|
|
@@ -273,7 +273,7 @@ var HousingStatusList;
|
|
|
273
273
|
HousingStatusList["Renting"] = "Renting";
|
|
274
274
|
HousingStatusList["SuppliedByEmployer"] = "Supplied by Employer";
|
|
275
275
|
HousingStatusList["WithParents"] = "With Parents";
|
|
276
|
-
})(HousingStatusList
|
|
276
|
+
})(HousingStatusList || (exports.HousingStatusList = HousingStatusList = {}));
|
|
277
277
|
/**
|
|
278
278
|
* current credit status of the applicant (Customer declared value)
|
|
279
279
|
*/
|
|
@@ -283,7 +283,7 @@ var CreditStatus;
|
|
|
283
283
|
CreditStatus["Excellent"] = "EXCELLENT";
|
|
284
284
|
CreditStatus["Fair"] = "FAIR";
|
|
285
285
|
CreditStatus["Unknown"] = "UNKNOWN";
|
|
286
|
-
})(CreditStatus
|
|
286
|
+
})(CreditStatus || (exports.CreditStatus = CreditStatus = {}));
|
|
287
287
|
/**
|
|
288
288
|
* applicant's employment type
|
|
289
289
|
*/
|
|
@@ -292,7 +292,7 @@ var EmploymentType;
|
|
|
292
292
|
EmploymentType["Employee"] = "EMPLOYEE";
|
|
293
293
|
EmploymentType["SelfEmployed"] = "SELF_EMPLOYED";
|
|
294
294
|
EmploymentType["Unknown"] = "UNKNOWN";
|
|
295
|
-
})(EmploymentType
|
|
295
|
+
})(EmploymentType || (exports.EmploymentType = EmploymentType = {}));
|
|
296
296
|
/**
|
|
297
297
|
* applicant's entity. For a person applicant this is 'PERSON'
|
|
298
298
|
*/
|
|
@@ -301,14 +301,14 @@ var Entity;
|
|
|
301
301
|
Entity["Company"] = "COMPANY";
|
|
302
302
|
Entity["Person"] = "PERSON";
|
|
303
303
|
Entity["Trust"] = "TRUST";
|
|
304
|
-
})(Entity
|
|
304
|
+
})(Entity || (exports.Entity = Entity = {}));
|
|
305
305
|
var Gender;
|
|
306
306
|
(function (Gender) {
|
|
307
307
|
Gender["Female"] = "FEMALE";
|
|
308
308
|
Gender["Male"] = "MALE";
|
|
309
309
|
Gender["Undisclosed"] = "UNDISCLOSED";
|
|
310
310
|
Gender["Unknown"] = "UNKNOWN";
|
|
311
|
-
})(Gender
|
|
311
|
+
})(Gender || (exports.Gender = Gender = {}));
|
|
312
312
|
/**
|
|
313
313
|
* The relationship between borrower and guarantor.
|
|
314
314
|
*/
|
|
@@ -323,7 +323,7 @@ var GuarantorRelationshipToBorrowerType;
|
|
|
323
323
|
GuarantorRelationshipToBorrowerType["Sister"] = "Sister";
|
|
324
324
|
GuarantorRelationshipToBorrowerType["Son"] = "Son";
|
|
325
325
|
GuarantorRelationshipToBorrowerType["Spouse"] = "Spouse";
|
|
326
|
-
})(GuarantorRelationshipToBorrowerType
|
|
326
|
+
})(GuarantorRelationshipToBorrowerType || (exports.GuarantorRelationshipToBorrowerType = GuarantorRelationshipToBorrowerType = {}));
|
|
327
327
|
/**
|
|
328
328
|
* different invitation statuses an applicant can have
|
|
329
329
|
*/
|
|
@@ -333,13 +333,13 @@ var InvitationStatus;
|
|
|
333
333
|
InvitationStatus["Cancelled"] = "CANCELLED";
|
|
334
334
|
InvitationStatus["Expired"] = "EXPIRED";
|
|
335
335
|
InvitationStatus["Pending"] = "PENDING";
|
|
336
|
-
})(InvitationStatus
|
|
336
|
+
})(InvitationStatus || (exports.InvitationStatus = InvitationStatus = {}));
|
|
337
337
|
var YesNoIntend;
|
|
338
338
|
(function (YesNoIntend) {
|
|
339
339
|
YesNoIntend["Intend"] = "Intend";
|
|
340
340
|
YesNoIntend["No"] = "No";
|
|
341
341
|
YesNoIntend["Yes"] = "Yes";
|
|
342
|
-
})(YesNoIntend
|
|
342
|
+
})(YesNoIntend || (exports.YesNoIntend = YesNoIntend = {}));
|
|
343
343
|
var MaritalStatus;
|
|
344
344
|
(function (MaritalStatus) {
|
|
345
345
|
MaritalStatus["DeFacto"] = "DE_FACTO";
|
|
@@ -347,7 +347,7 @@ var MaritalStatus;
|
|
|
347
347
|
MaritalStatus["Married"] = "MARRIED";
|
|
348
348
|
MaritalStatus["Single"] = "SINGLE";
|
|
349
349
|
MaritalStatus["Unknown"] = "UNKNOWN";
|
|
350
|
-
})(MaritalStatus
|
|
350
|
+
})(MaritalStatus || (exports.MaritalStatus = MaritalStatus = {}));
|
|
351
351
|
/**
|
|
352
352
|
* role of the user that made the action
|
|
353
353
|
*/
|
|
@@ -355,7 +355,7 @@ var ActionedByRole;
|
|
|
355
355
|
(function (ActionedByRole) {
|
|
356
356
|
ActionedByRole["Customer"] = "customer";
|
|
357
357
|
ActionedByRole["Team"] = "team";
|
|
358
|
-
})(ActionedByRole
|
|
358
|
+
})(ActionedByRole || (exports.ActionedByRole = ActionedByRole = {}));
|
|
359
359
|
var AustralianStates;
|
|
360
360
|
(function (AustralianStates) {
|
|
361
361
|
AustralianStates["Act"] = "ACT";
|
|
@@ -366,14 +366,14 @@ var AustralianStates;
|
|
|
366
366
|
AustralianStates["Tas"] = "TAS";
|
|
367
367
|
AustralianStates["Vic"] = "VIC";
|
|
368
368
|
AustralianStates["Wa"] = "WA";
|
|
369
|
-
})(AustralianStates
|
|
369
|
+
})(AustralianStates || (exports.AustralianStates = AustralianStates = {}));
|
|
370
370
|
var ResidencyStatus;
|
|
371
371
|
(function (ResidencyStatus) {
|
|
372
372
|
ResidencyStatus["AustralianCitizen"] = "AUSTRALIAN_CITIZEN";
|
|
373
373
|
ResidencyStatus["PermanentResident"] = "PERMANENT_RESIDENT";
|
|
374
374
|
ResidencyStatus["TemporaryResident"] = "TEMPORARY_RESIDENT";
|
|
375
375
|
ResidencyStatus["Unknown"] = "UNKNOWN";
|
|
376
|
-
})(ResidencyStatus
|
|
376
|
+
})(ResidencyStatus || (exports.ResidencyStatus = ResidencyStatus = {}));
|
|
377
377
|
var Title;
|
|
378
378
|
(function (Title) {
|
|
379
379
|
Title["DR"] = "DR";
|
|
@@ -382,7 +382,7 @@ var Title;
|
|
|
382
382
|
Title["Mr"] = "MR";
|
|
383
383
|
Title["Mrs"] = "MRS";
|
|
384
384
|
Title["Unknown"] = "UNKNOWN";
|
|
385
|
-
})(Title
|
|
385
|
+
})(Title || (exports.Title = Title = {}));
|
|
386
386
|
var TrustType;
|
|
387
387
|
(function (TrustType) {
|
|
388
388
|
TrustType["CashManagementTrust"] = "CASH_MANAGEMENT_TRUST";
|
|
@@ -393,7 +393,7 @@ var TrustType;
|
|
|
393
393
|
TrustType["SimpleOrBare"] = "SIMPLE_OR_BARE";
|
|
394
394
|
TrustType["SuperannuationTrusts"] = "SUPERANNUATION_TRUSTS";
|
|
395
395
|
TrustType["Unit"] = "UNIT";
|
|
396
|
-
})(TrustType
|
|
396
|
+
})(TrustType || (exports.TrustType = TrustType = {}));
|
|
397
397
|
var YearsOfTrading;
|
|
398
398
|
(function (YearsOfTrading) {
|
|
399
399
|
YearsOfTrading["The1"] = "1";
|
|
@@ -403,9 +403,9 @@ var YearsOfTrading;
|
|
|
403
403
|
YearsOfTrading["The4"] = "4";
|
|
404
404
|
YearsOfTrading["The5"] = "5";
|
|
405
405
|
YearsOfTrading["The510"] = "5-10";
|
|
406
|
-
})(YearsOfTrading
|
|
406
|
+
})(YearsOfTrading || (exports.YearsOfTrading = YearsOfTrading = {}));
|
|
407
407
|
var Type;
|
|
408
408
|
(function (Type) {
|
|
409
409
|
Type["CreateApplicant"] = "CreateApplicant";
|
|
410
410
|
Type["UpdateApplicant"] = "UpdateApplicant";
|
|
411
|
-
})(Type
|
|
411
|
+
})(Type || (exports.Type = Type = {}));
|
|
@@ -8,7 +8,7 @@ var Brand;
|
|
|
8
8
|
Brand["DomainVariation"] = "domain variation";
|
|
9
9
|
Brand["Lendi"] = "lendi";
|
|
10
10
|
Brand["LendiVariation"] = "lendi variation";
|
|
11
|
-
})(Brand
|
|
11
|
+
})(Brand || (exports.Brand = Brand = {}));
|
|
12
12
|
/**
|
|
13
13
|
* Additional data point for broker to capture primary purpose, other than the preliminary
|
|
14
14
|
* primary purpose associated with current user journey for new purchase or refinance
|
|
@@ -30,7 +30,7 @@ var BrokerPrimaryPurpose;
|
|
|
30
30
|
BrokerPrimaryPurpose["Variation"] = "VARIATION";
|
|
31
31
|
BrokerPrimaryPurpose["VariationCreditCritical"] = "VARIATION_CREDIT_CRITICAL";
|
|
32
32
|
BrokerPrimaryPurpose["VariationNonCreditCritical"] = "VARIATION_NON_CREDIT_CRITICAL";
|
|
33
|
-
})(BrokerPrimaryPurpose
|
|
33
|
+
})(BrokerPrimaryPurpose || (exports.BrokerPrimaryPurpose = BrokerPrimaryPurpose = {}));
|
|
34
34
|
/**
|
|
35
35
|
* role of the user that made the action
|
|
36
36
|
*/
|
|
@@ -38,18 +38,18 @@ var ActionedByRole;
|
|
|
38
38
|
(function (ActionedByRole) {
|
|
39
39
|
ActionedByRole["Customer"] = "customer";
|
|
40
40
|
ActionedByRole["Team"] = "team";
|
|
41
|
-
})(ActionedByRole
|
|
41
|
+
})(ActionedByRole || (exports.ActionedByRole = ActionedByRole = {}));
|
|
42
42
|
var ContributionType;
|
|
43
43
|
(function (ContributionType) {
|
|
44
44
|
ContributionType["Deposit"] = "DEPOSIT";
|
|
45
|
-
})(ContributionType
|
|
45
|
+
})(ContributionType || (exports.ContributionType = ContributionType = {}));
|
|
46
46
|
var DesiredFeature;
|
|
47
47
|
(function (DesiredFeature) {
|
|
48
48
|
DesiredFeature["FixedRate"] = "FIXED_RATE";
|
|
49
49
|
DesiredFeature["MajorLender"] = "MAJOR_LENDER";
|
|
50
50
|
DesiredFeature["MobileApp"] = "MOBILE_APP";
|
|
51
51
|
DesiredFeature["OffsetOrRedraw"] = "OFFSET_OR_REDRAW";
|
|
52
|
-
})(DesiredFeature
|
|
52
|
+
})(DesiredFeature || (exports.DesiredFeature = DesiredFeature = {}));
|
|
53
53
|
/**
|
|
54
54
|
* First Home Owner Grant
|
|
55
55
|
*/
|
|
@@ -58,46 +58,46 @@ var EligibleForFHOG;
|
|
|
58
58
|
EligibleForFHOG["No"] = "NO";
|
|
59
59
|
EligibleForFHOG["NotSure"] = "NOT_SURE";
|
|
60
60
|
EligibleForFHOG["Yes"] = "YES";
|
|
61
|
-
})(EligibleForFHOG
|
|
61
|
+
})(EligibleForFHOG || (exports.EligibleForFHOG = EligibleForFHOG = {}));
|
|
62
62
|
var PaymentType;
|
|
63
63
|
(function (PaymentType) {
|
|
64
64
|
PaymentType["InterestOnly"] = "INTEREST_ONLY";
|
|
65
65
|
PaymentType["PrincipalAndInterest"] = "PRINCIPAL_AND_INTEREST";
|
|
66
66
|
PaymentType["StillDeciding"] = "STILL_DECIDING";
|
|
67
|
-
})(PaymentType
|
|
67
|
+
})(PaymentType || (exports.PaymentType = PaymentType = {}));
|
|
68
68
|
var PrimaryPurpose;
|
|
69
69
|
(function (PrimaryPurpose) {
|
|
70
70
|
PrimaryPurpose["NewPurchase"] = "NEW_PURCHASE";
|
|
71
71
|
PrimaryPurpose["Refinance"] = "REFINANCE";
|
|
72
|
-
})(PrimaryPurpose
|
|
72
|
+
})(PrimaryPurpose || (exports.PrimaryPurpose = PrimaryPurpose = {}));
|
|
73
73
|
var PurchaseReason;
|
|
74
74
|
(function (PurchaseReason) {
|
|
75
75
|
PurchaseReason["LoanAffordability"] = "LOAN_AFFORDABILITY";
|
|
76
76
|
PurchaseReason["LoanApproval"] = "LOAN_APPROVAL";
|
|
77
77
|
PurchaseReason["LoanEligibility"] = "LOAN_ELIGIBILITY";
|
|
78
|
-
})(PurchaseReason
|
|
78
|
+
})(PurchaseReason || (exports.PurchaseReason = PurchaseReason = {}));
|
|
79
79
|
var PurchaseSituation;
|
|
80
80
|
(function (PurchaseSituation) {
|
|
81
81
|
PurchaseSituation["BuyingSoon"] = "BUYING_SOON";
|
|
82
82
|
PurchaseSituation["ContractsExchanged"] = "CONTRACTS_EXCHANGED";
|
|
83
83
|
PurchaseSituation["ExploringOptions"] = "EXPLORING_OPTIONS";
|
|
84
84
|
PurchaseSituation["OfferMade"] = "OFFER_MADE";
|
|
85
|
-
})(PurchaseSituation
|
|
85
|
+
})(PurchaseSituation || (exports.PurchaseSituation = PurchaseSituation = {}));
|
|
86
86
|
var RefinancingReason;
|
|
87
87
|
(function (RefinancingReason) {
|
|
88
88
|
RefinancingReason["ConsolidateCashout"] = "CONSOLIDATE_CASHOUT";
|
|
89
89
|
RefinancingReason["Construction"] = "CONSTRUCTION";
|
|
90
90
|
RefinancingReason["DecreaseRepayments"] = "DECREASE_REPAYMENTS";
|
|
91
91
|
RefinancingReason["FasterPayoff"] = "FASTER_PAYOFF";
|
|
92
|
-
})(RefinancingReason
|
|
92
|
+
})(RefinancingReason || (exports.RefinancingReason = RefinancingReason = {}));
|
|
93
93
|
var Urgency;
|
|
94
94
|
(function (Urgency) {
|
|
95
95
|
Urgency["NotUrgent"] = "NOT_URGENT";
|
|
96
96
|
Urgency["Urgent"] = "URGENT";
|
|
97
|
-
})(Urgency
|
|
97
|
+
})(Urgency || (exports.Urgency = Urgency = {}));
|
|
98
98
|
var PublicApplicationType;
|
|
99
99
|
(function (PublicApplicationType) {
|
|
100
100
|
PublicApplicationType["CreateApplication"] = "CreateApplication";
|
|
101
101
|
PublicApplicationType["MigrateApplication"] = "MigrateApplication";
|
|
102
102
|
PublicApplicationType["UpdateApplication"] = "UpdateApplication";
|
|
103
|
-
})(PublicApplicationType
|
|
103
|
+
})(PublicApplicationType || (exports.PublicApplicationType = PublicApplicationType = {}));
|
|
@@ -8,8 +8,8 @@ var ActionedByRole;
|
|
|
8
8
|
(function (ActionedByRole) {
|
|
9
9
|
ActionedByRole["Customer"] = "customer";
|
|
10
10
|
ActionedByRole["Team"] = "team";
|
|
11
|
-
})(ActionedByRole
|
|
11
|
+
})(ActionedByRole || (exports.ActionedByRole = ActionedByRole = {}));
|
|
12
12
|
var Type;
|
|
13
13
|
(function (Type) {
|
|
14
14
|
Type["AssetAndLiabilityRelationCreated"] = "AssetAndLiabilityRelationCreated";
|
|
15
|
-
})(Type
|
|
15
|
+
})(Type || (exports.Type = Type = {}));
|
|
@@ -242,18 +242,18 @@ var Countries;
|
|
|
242
242
|
Countries["Yemen"] = "Yemen";
|
|
243
243
|
Countries["Zambia"] = "Zambia";
|
|
244
244
|
Countries["Zimbabwe"] = "Zimbabwe";
|
|
245
|
-
})(Countries
|
|
245
|
+
})(Countries || (exports.Countries = Countries = {}));
|
|
246
246
|
var BuilderType;
|
|
247
247
|
(function (BuilderType) {
|
|
248
248
|
BuilderType["LicensedBuilder"] = "LICENSED_BUILDER";
|
|
249
249
|
BuilderType["OwnerBuilder"] = "OWNER_BUILDER";
|
|
250
|
-
})(BuilderType
|
|
250
|
+
})(BuilderType || (exports.BuilderType = BuilderType = {}));
|
|
251
251
|
var ConstructionType;
|
|
252
252
|
(function (ConstructionType) {
|
|
253
253
|
ConstructionType["BuildAProperty"] = "BUILD_A_PROPERTY";
|
|
254
254
|
ConstructionType["KnockdownRebuild"] = "KNOCKDOWN_REBUILD";
|
|
255
255
|
ConstructionType["StructuralRenovations"] = "STRUCTURAL_RENOVATIONS";
|
|
256
|
-
})(ConstructionType
|
|
256
|
+
})(ConstructionType || (exports.ConstructionType = ConstructionType = {}));
|
|
257
257
|
/**
|
|
258
258
|
* Indicate whether ownership proportions are equal, specified individually for each one or
|
|
259
259
|
* not specified.
|
|
@@ -263,12 +263,12 @@ var Proportions;
|
|
|
263
263
|
Proportions["Equal"] = "EQUAL";
|
|
264
264
|
Proportions["NotSpecified"] = "NOT_SPECIFIED";
|
|
265
265
|
Proportions["Specified"] = "SPECIFIED";
|
|
266
|
-
})(Proportions
|
|
266
|
+
})(Proportions || (exports.Proportions = Proportions = {}));
|
|
267
267
|
var PrimaryPurpose;
|
|
268
268
|
(function (PrimaryPurpose) {
|
|
269
269
|
PrimaryPurpose["Investment"] = "INVESTMENT";
|
|
270
270
|
PrimaryPurpose["OwnerOccupied"] = "OWNER_OCCUPIED";
|
|
271
|
-
})(PrimaryPurpose
|
|
271
|
+
})(PrimaryPurpose || (exports.PrimaryPurpose = PrimaryPurpose = {}));
|
|
272
272
|
var Frequency;
|
|
273
273
|
(function (Frequency) {
|
|
274
274
|
Frequency["Fortnightly"] = "FORTNIGHTLY";
|
|
@@ -276,21 +276,21 @@ var Frequency;
|
|
|
276
276
|
Frequency["Quarterly"] = "QUARTERLY";
|
|
277
277
|
Frequency["Weekly"] = "WEEKLY";
|
|
278
278
|
Frequency["Yearly"] = "YEARLY";
|
|
279
|
-
})(Frequency
|
|
279
|
+
})(Frequency || (exports.Frequency = Frequency = {}));
|
|
280
280
|
var PropertyExpenseType;
|
|
281
281
|
(function (PropertyExpenseType) {
|
|
282
282
|
PropertyExpenseType["BodyCorporateFeesStrataFeesAndLandTax"] = "BODY_CORPORATE_FEES_STRATA_FEES_AND_LAND_TAX";
|
|
283
283
|
PropertyExpenseType["InvestmentPropertyRunningCosts"] = "INVESTMENT_PROPERTY_RUNNING_COSTS";
|
|
284
284
|
PropertyExpenseType["PrimaryResidenceRunningCosts"] = "PRIMARY_RESIDENCE_RUNNING_COSTS";
|
|
285
285
|
PropertyExpenseType["SecondaryResidenceRunningCosts"] = "SECONDARY_RESIDENCE_RUNNING_COSTS";
|
|
286
|
-
})(PropertyExpenseType
|
|
286
|
+
})(PropertyExpenseType || (exports.PropertyExpenseType = PropertyExpenseType = {}));
|
|
287
287
|
var PropertyStatus;
|
|
288
288
|
(function (PropertyStatus) {
|
|
289
289
|
PropertyStatus["Established"] = "ESTABLISHED";
|
|
290
290
|
PropertyStatus["NewBuilding"] = "NEW_BUILDING";
|
|
291
291
|
PropertyStatus["OffThePlan"] = "OFF_THE_PLAN";
|
|
292
292
|
PropertyStatus["VacantLand"] = "VACANT_LAND";
|
|
293
|
-
})(PropertyStatus
|
|
293
|
+
})(PropertyStatus || (exports.PropertyStatus = PropertyStatus = {}));
|
|
294
294
|
var PropertyType;
|
|
295
295
|
(function (PropertyType) {
|
|
296
296
|
PropertyType["ApartmentUnitLessThan50M2"] = "APARTMENT_UNIT_LESS_THAN_50M2";
|
|
@@ -309,7 +309,7 @@ var PropertyType;
|
|
|
309
309
|
PropertyType["Townhouse"] = "TOWNHOUSE";
|
|
310
310
|
PropertyType["Villa"] = "VILLA";
|
|
311
311
|
PropertyType["WarehouseApartment"] = "WAREHOUSE_APARTMENT";
|
|
312
|
-
})(PropertyType
|
|
312
|
+
})(PropertyType || (exports.PropertyType = PropertyType = {}));
|
|
313
313
|
var AssetType;
|
|
314
314
|
(function (AssetType) {
|
|
315
315
|
AssetType["Gifts"] = "GIFTS";
|
|
@@ -322,14 +322,14 @@ var AssetType;
|
|
|
322
322
|
AssetType["Superannuation"] = "SUPERANNUATION";
|
|
323
323
|
AssetType["TermDeposit"] = "TERM_DEPOSIT";
|
|
324
324
|
AssetType["Vehicle"] = "VEHICLE";
|
|
325
|
-
})(AssetType
|
|
325
|
+
})(AssetType || (exports.AssetType = AssetType = {}));
|
|
326
326
|
var ZoneType;
|
|
327
327
|
(function (ZoneType) {
|
|
328
328
|
ZoneType["Commercial"] = "COMMERCIAL";
|
|
329
329
|
ZoneType["Industrial"] = "INDUSTRIAL";
|
|
330
330
|
ZoneType["Residential"] = "RESIDENTIAL";
|
|
331
331
|
ZoneType["Rural"] = "RURAL";
|
|
332
|
-
})(ZoneType
|
|
332
|
+
})(ZoneType || (exports.ZoneType = ZoneType = {}));
|
|
333
333
|
/**
|
|
334
334
|
* role of the user that made the action
|
|
335
335
|
*/
|
|
@@ -337,7 +337,7 @@ var ActionedByRole;
|
|
|
337
337
|
(function (ActionedByRole) {
|
|
338
338
|
ActionedByRole["Customer"] = "customer";
|
|
339
339
|
ActionedByRole["Team"] = "team";
|
|
340
|
-
})(ActionedByRole
|
|
340
|
+
})(ActionedByRole || (exports.ActionedByRole = ActionedByRole = {}));
|
|
341
341
|
/**
|
|
342
342
|
* schema version
|
|
343
343
|
*/
|
|
@@ -345,4 +345,4 @@ var PublicAssetType;
|
|
|
345
345
|
(function (PublicAssetType) {
|
|
346
346
|
PublicAssetType["AssetCreated"] = "AssetCreated";
|
|
347
347
|
PublicAssetType["AssetUpdated"] = "AssetUpdated";
|
|
348
|
-
})(PublicAssetType
|
|
348
|
+
})(PublicAssetType || (exports.PublicAssetType = PublicAssetType = {}));
|
|
@@ -8,13 +8,13 @@ var EmploymentBasis;
|
|
|
8
8
|
EmploymentBasis["FullTime"] = "FULL_TIME";
|
|
9
9
|
EmploymentBasis["MaternityLeave"] = "MATERNITY_LEAVE";
|
|
10
10
|
EmploymentBasis["PartTime"] = "PART_TIME";
|
|
11
|
-
})(EmploymentBasis
|
|
11
|
+
})(EmploymentBasis || (exports.EmploymentBasis = EmploymentBasis = {}));
|
|
12
12
|
var EmploymentType;
|
|
13
13
|
(function (EmploymentType) {
|
|
14
14
|
EmploymentType["Employee"] = "EMPLOYEE";
|
|
15
15
|
EmploymentType["NotWorking"] = "NOT_WORKING";
|
|
16
16
|
EmploymentType["SelfEmployed"] = "SELF_EMPLOYED";
|
|
17
|
-
})(EmploymentType
|
|
17
|
+
})(EmploymentType || (exports.EmploymentType = EmploymentType = {}));
|
|
18
18
|
/**
|
|
19
19
|
* Employment basis after returning from maternity leave.
|
|
20
20
|
*/
|
|
@@ -24,7 +24,7 @@ var MaternityLeaveReturnBasis;
|
|
|
24
24
|
MaternityLeaveReturnBasis["Contractor"] = "CONTRACTOR";
|
|
25
25
|
MaternityLeaveReturnBasis["FullTime"] = "FULL_TIME";
|
|
26
26
|
MaternityLeaveReturnBasis["PartTime"] = "PART_TIME";
|
|
27
|
-
})(MaternityLeaveReturnBasis
|
|
27
|
+
})(MaternityLeaveReturnBasis || (exports.MaternityLeaveReturnBasis = MaternityLeaveReturnBasis = {}));
|
|
28
28
|
/**
|
|
29
29
|
* role of the user that made the action
|
|
30
30
|
*/
|
|
@@ -32,15 +32,15 @@ var ActionedByRole;
|
|
|
32
32
|
(function (ActionedByRole) {
|
|
33
33
|
ActionedByRole["Customer"] = "customer";
|
|
34
34
|
ActionedByRole["Team"] = "team";
|
|
35
|
-
})(ActionedByRole
|
|
35
|
+
})(ActionedByRole || (exports.ActionedByRole = ActionedByRole = {}));
|
|
36
36
|
var PayloadType;
|
|
37
37
|
(function (PayloadType) {
|
|
38
38
|
PayloadType["Previous"] = "PREVIOUS";
|
|
39
39
|
PayloadType["Primary"] = "PRIMARY";
|
|
40
40
|
PayloadType["Secondary"] = "SECONDARY";
|
|
41
|
-
})(PayloadType
|
|
41
|
+
})(PayloadType || (exports.PayloadType = PayloadType = {}));
|
|
42
42
|
var PublicEmploymentType;
|
|
43
43
|
(function (PublicEmploymentType) {
|
|
44
44
|
PublicEmploymentType["EmploymentV2Created"] = "EmploymentV2Created";
|
|
45
45
|
PublicEmploymentType["EmploymentV2Updated"] = "EmploymentV2Updated";
|
|
46
|
-
})(PublicEmploymentType
|
|
46
|
+
})(PublicEmploymentType || (exports.PublicEmploymentType = PublicEmploymentType = {}));
|
|
@@ -8,7 +8,7 @@ var Frequency;
|
|
|
8
8
|
Frequency["Quarterly"] = "QUARTERLY";
|
|
9
9
|
Frequency["Weekly"] = "WEEKLY";
|
|
10
10
|
Frequency["Yearly"] = "YEARLY";
|
|
11
|
-
})(Frequency
|
|
11
|
+
})(Frequency || (exports.Frequency = Frequency = {}));
|
|
12
12
|
var ExpenseType;
|
|
13
13
|
(function (ExpenseType) {
|
|
14
14
|
ExpenseType["Board"] = "BOARD";
|
|
@@ -35,7 +35,7 @@ var ExpenseType;
|
|
|
35
35
|
ExpenseType["SecondaryResidenceRunningCosts"] = "SECONDARY_RESIDENCE_RUNNING_COSTS";
|
|
36
36
|
ExpenseType["TelephoneInternetPayTvAndMediaStreamingSubscriptions"] = "TELEPHONE_INTERNET_PAY_TV_AND_MEDIA_STREAMING_SUBSCRIPTIONS";
|
|
37
37
|
ExpenseType["Transport"] = "TRANSPORT";
|
|
38
|
-
})(ExpenseType
|
|
38
|
+
})(ExpenseType || (exports.ExpenseType = ExpenseType = {}));
|
|
39
39
|
/**
|
|
40
40
|
* role of the user that made the action
|
|
41
41
|
*/
|
|
@@ -43,9 +43,9 @@ var ActionedByRole;
|
|
|
43
43
|
(function (ActionedByRole) {
|
|
44
44
|
ActionedByRole["Customer"] = "customer";
|
|
45
45
|
ActionedByRole["Team"] = "team";
|
|
46
|
-
})(ActionedByRole
|
|
46
|
+
})(ActionedByRole || (exports.ActionedByRole = ActionedByRole = {}));
|
|
47
47
|
var PublicExpenseType;
|
|
48
48
|
(function (PublicExpenseType) {
|
|
49
49
|
PublicExpenseType["ExpenseCreated"] = "ExpenseCreated";
|
|
50
50
|
PublicExpenseType["ExpenseUpdated"] = "ExpenseUpdated";
|
|
51
|
-
})(PublicExpenseType
|
|
51
|
+
})(PublicExpenseType || (exports.PublicExpenseType = PublicExpenseType = {}));
|
|
@@ -13,8 +13,8 @@ var Reason;
|
|
|
13
13
|
Reason["PropertyDeposit"] = "PROPERTY_DEPOSIT";
|
|
14
14
|
Reason["VehiclePurchase"] = "VEHICLE_PURCHASE";
|
|
15
15
|
Reason["WeddingExpenses"] = "WEDDING_EXPENSES";
|
|
16
|
-
})(Reason
|
|
16
|
+
})(Reason || (exports.Reason = Reason = {}));
|
|
17
17
|
var Type;
|
|
18
18
|
(function (Type) {
|
|
19
19
|
Type["FundingPosition"] = "FundingPosition";
|
|
20
|
-
})(Type
|
|
20
|
+
})(Type || (exports.Type = Type = {}));
|
|
@@ -7,7 +7,7 @@ var BenefitType;
|
|
|
7
7
|
BenefitType["DisabilitySupportPension"] = "DISABILITY_SUPPORT_PENSION";
|
|
8
8
|
BenefitType["FamilyTax"] = "FAMILY_TAX";
|
|
9
9
|
BenefitType["Other"] = "OTHER";
|
|
10
|
-
})(BenefitType
|
|
10
|
+
})(BenefitType || (exports.BenefitType = BenefitType = {}));
|
|
11
11
|
var Frequency;
|
|
12
12
|
(function (Frequency) {
|
|
13
13
|
Frequency["Fortnightly"] = "FORTNIGHTLY";
|
|
@@ -15,7 +15,7 @@ var Frequency;
|
|
|
15
15
|
Frequency["Quarterly"] = "QUARTERLY";
|
|
16
16
|
Frequency["Weekly"] = "WEEKLY";
|
|
17
17
|
Frequency["Yearly"] = "YEARLY";
|
|
18
|
-
})(Frequency
|
|
18
|
+
})(Frequency || (exports.Frequency = Frequency = {}));
|
|
19
19
|
/**
|
|
20
20
|
* Indicate whether ownership proportions are equal, specified individually for each one or
|
|
21
21
|
* not specified.
|
|
@@ -25,7 +25,7 @@ var Proportions;
|
|
|
25
25
|
Proportions["Equal"] = "EQUAL";
|
|
26
26
|
Proportions["NotSpecified"] = "NOT_SPECIFIED";
|
|
27
27
|
Proportions["Specified"] = "SPECIFIED";
|
|
28
|
-
})(Proportions
|
|
28
|
+
})(Proportions || (exports.Proportions = Proportions = {}));
|
|
29
29
|
var IncomeType;
|
|
30
30
|
(function (IncomeType) {
|
|
31
31
|
IncomeType["ChildMaintenance"] = "CHILD_MAINTENANCE";
|
|
@@ -49,7 +49,7 @@ var IncomeType;
|
|
|
49
49
|
IncomeType["SelfEmployedBusinessIncomeLowDoc"] = "SELF_EMPLOYED_BUSINESS_INCOME_LOW_DOC";
|
|
50
50
|
IncomeType["SuperAnnuityPension"] = "SUPER_ANNUITY_PENSION";
|
|
51
51
|
IncomeType["WorkersCompensation"] = "WORKERS_COMPENSATION";
|
|
52
|
-
})(IncomeType
|
|
52
|
+
})(IncomeType || (exports.IncomeType = IncomeType = {}));
|
|
53
53
|
/**
|
|
54
54
|
* role of the user that made the action
|
|
55
55
|
*/
|
|
@@ -57,9 +57,9 @@ var ActionedByRole;
|
|
|
57
57
|
(function (ActionedByRole) {
|
|
58
58
|
ActionedByRole["Customer"] = "customer";
|
|
59
59
|
ActionedByRole["Team"] = "team";
|
|
60
|
-
})(ActionedByRole
|
|
60
|
+
})(ActionedByRole || (exports.ActionedByRole = ActionedByRole = {}));
|
|
61
61
|
var PublicIncomeType;
|
|
62
62
|
(function (PublicIncomeType) {
|
|
63
63
|
PublicIncomeType["IncomeCreated"] = "IncomeCreated";
|
|
64
64
|
PublicIncomeType["IncomeUpdated"] = "IncomeUpdated";
|
|
65
|
-
})(PublicIncomeType
|
|
65
|
+
})(PublicIncomeType || (exports.PublicIncomeType = PublicIncomeType = {}));
|
|
@@ -5,12 +5,12 @@ var ClearingFromOtherSource;
|
|
|
5
5
|
(function (ClearingFromOtherSource) {
|
|
6
6
|
ClearingFromOtherSource["PayingOut"] = "PAYING_OUT";
|
|
7
7
|
ClearingFromOtherSource["Reducing"] = "REDUCING";
|
|
8
|
-
})(ClearingFromOtherSource
|
|
8
|
+
})(ClearingFromOtherSource || (exports.ClearingFromOtherSource = ClearingFromOtherSource = {}));
|
|
9
9
|
var InterestType;
|
|
10
10
|
(function (InterestType) {
|
|
11
11
|
InterestType["FixedRate"] = "FIXED_RATE";
|
|
12
12
|
InterestType["Variable"] = "VARIABLE";
|
|
13
|
-
})(InterestType
|
|
13
|
+
})(InterestType || (exports.InterestType = InterestType = {}));
|
|
14
14
|
/**
|
|
15
15
|
* Indicate whether ownership proportions are equal, specified individually for each one or
|
|
16
16
|
* not specified.
|
|
@@ -20,19 +20,19 @@ var Proportions;
|
|
|
20
20
|
Proportions["Equal"] = "EQUAL";
|
|
21
21
|
Proportions["NotSpecified"] = "NOT_SPECIFIED";
|
|
22
22
|
Proportions["Specified"] = "SPECIFIED";
|
|
23
|
-
})(Proportions
|
|
23
|
+
})(Proportions || (exports.Proportions = Proportions = {}));
|
|
24
24
|
var RepaymentFrequency;
|
|
25
25
|
(function (RepaymentFrequency) {
|
|
26
26
|
RepaymentFrequency["Fortnightly"] = "FORTNIGHTLY";
|
|
27
27
|
RepaymentFrequency["Monthly"] = "MONTHLY";
|
|
28
28
|
RepaymentFrequency["Weekly"] = "WEEKLY";
|
|
29
29
|
RepaymentFrequency["Yearly"] = "YEARLY";
|
|
30
|
-
})(RepaymentFrequency
|
|
30
|
+
})(RepaymentFrequency || (exports.RepaymentFrequency = RepaymentFrequency = {}));
|
|
31
31
|
var RepaymentTypeDetails;
|
|
32
32
|
(function (RepaymentTypeDetails) {
|
|
33
33
|
RepaymentTypeDetails["InterestOnly"] = "INTEREST_ONLY";
|
|
34
34
|
RepaymentTypeDetails["PrincipalAndInterest"] = "PRINCIPAL_AND_INTEREST";
|
|
35
|
-
})(RepaymentTypeDetails
|
|
35
|
+
})(RepaymentTypeDetails || (exports.RepaymentTypeDetails = RepaymentTypeDetails = {}));
|
|
36
36
|
/**
|
|
37
37
|
* LEASE_OR_HIRE_FINANCE is deprecated.
|
|
38
38
|
*/
|
|
@@ -52,7 +52,7 @@ var LiabilityType;
|
|
|
52
52
|
LiabilityType["ShortTermFinance"] = "SHORT_TERM_FINANCE";
|
|
53
53
|
LiabilityType["StoreCard"] = "STORE_CARD";
|
|
54
54
|
LiabilityType["TaxDebt"] = "TAX_DEBT";
|
|
55
|
-
})(LiabilityType
|
|
55
|
+
})(LiabilityType || (exports.LiabilityType = LiabilityType = {}));
|
|
56
56
|
/**
|
|
57
57
|
* role of the user that made the action
|
|
58
58
|
*/
|
|
@@ -60,9 +60,9 @@ var ActionedByRole;
|
|
|
60
60
|
(function (ActionedByRole) {
|
|
61
61
|
ActionedByRole["Customer"] = "customer";
|
|
62
62
|
ActionedByRole["Team"] = "team";
|
|
63
|
-
})(ActionedByRole
|
|
63
|
+
})(ActionedByRole || (exports.ActionedByRole = ActionedByRole = {}));
|
|
64
64
|
var Type;
|
|
65
65
|
(function (Type) {
|
|
66
66
|
Type["LiabilityCreated"] = "LiabilityCreated";
|
|
67
67
|
Type["LiabilityUpdated"] = "LiabilityUpdated";
|
|
68
|
-
})(Type
|
|
68
|
+
})(Type || (exports.Type = Type = {}));
|
|
@@ -11,12 +11,12 @@ var AustralianState;
|
|
|
11
11
|
AustralianState["Tas"] = "TAS";
|
|
12
12
|
AustralianState["Vic"] = "VIC";
|
|
13
13
|
AustralianState["Wa"] = "WA";
|
|
14
|
-
})(AustralianState
|
|
14
|
+
})(AustralianState || (exports.AustralianState = AustralianState = {}));
|
|
15
15
|
var Gender;
|
|
16
16
|
(function (Gender) {
|
|
17
17
|
Gender["Female"] = "FEMALE";
|
|
18
18
|
Gender["Male"] = "MALE";
|
|
19
|
-
})(Gender
|
|
19
|
+
})(Gender || (exports.Gender = Gender = {}));
|
|
20
20
|
var IDTitle;
|
|
21
21
|
(function (IDTitle) {
|
|
22
22
|
IDTitle["DR"] = "DR";
|
|
@@ -26,7 +26,7 @@ var IDTitle;
|
|
|
26
26
|
IDTitle["Mrs"] = "MRS";
|
|
27
27
|
IDTitle["Other"] = "OTHER";
|
|
28
28
|
IDTitle["Unknown"] = "UNKNOWN";
|
|
29
|
-
})(IDTitle
|
|
29
|
+
})(IDTitle || (exports.IDTitle = IDTitle = {}));
|
|
30
30
|
/**
|
|
31
31
|
* ID Type
|
|
32
32
|
*/
|
|
@@ -35,7 +35,7 @@ var IDType;
|
|
|
35
35
|
IDType["AustralianDriverLicense"] = "australian_driver_license";
|
|
36
36
|
IDType["NationalIDCard"] = "national_id_card";
|
|
37
37
|
IDType["Passport"] = "passport";
|
|
38
|
-
})(IDType
|
|
38
|
+
})(IDType || (exports.IDType = IDType = {}));
|
|
39
39
|
var IssuingCountry;
|
|
40
40
|
(function (IssuingCountry) {
|
|
41
41
|
IssuingCountry["Afghanistan"] = "Afghanistan";
|
|
@@ -277,7 +277,7 @@ var IssuingCountry;
|
|
|
277
277
|
IssuingCountry["Yemen"] = "Yemen";
|
|
278
278
|
IssuingCountry["Zambia"] = "Zambia";
|
|
279
279
|
IssuingCountry["Zimbabwe"] = "Zimbabwe";
|
|
280
|
-
})(IssuingCountry
|
|
280
|
+
})(IssuingCountry || (exports.IssuingCountry = IssuingCountry = {}));
|
|
281
281
|
/**
|
|
282
282
|
* Status
|
|
283
283
|
*/
|
|
@@ -289,9 +289,9 @@ var Status;
|
|
|
289
289
|
Status["PendingUpload"] = "pending_upload";
|
|
290
290
|
Status["PendingVerification"] = "pending_verification";
|
|
291
291
|
Status["Verified"] = "verified";
|
|
292
|
-
})(Status
|
|
292
|
+
})(Status || (exports.Status = Status = {}));
|
|
293
293
|
var Type;
|
|
294
294
|
(function (Type) {
|
|
295
295
|
Type["RequiredDocumentCreated"] = "RequiredDocumentCreated";
|
|
296
296
|
Type["RequiredDocumentUpdated"] = "RequiredDocumentUpdated";
|
|
297
|
-
})(Type
|
|
297
|
+
})(Type || (exports.Type = Type = {}));
|
package/lib/utils/errors.js
CHANGED
|
@@ -15,7 +15,7 @@ var ErrorType;
|
|
|
15
15
|
ErrorType["InvalidEventNotCritical"] = "InvalidEventNotCritical";
|
|
16
16
|
ErrorType["OwnershipOutOfBounds"] = "OwnershipOutOfBounds";
|
|
17
17
|
ErrorType["ResourceNotFound"] = "ResourceNotFound";
|
|
18
|
-
})(ErrorType
|
|
18
|
+
})(ErrorType || (exports.ErrorType = ErrorType = {}));
|
|
19
19
|
class BaseError extends Error {
|
|
20
20
|
/* istanbul ignore next */
|
|
21
21
|
constructor(message, path = [], origin, context = {}) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lendi/act-credit-decisions-transform",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.3",
|
|
4
4
|
"description": "Library for kafka event data transforming",
|
|
5
5
|
"author": "Integrations <integrations@lendi.com.au>",
|
|
6
6
|
"homepage": "https://bitbucket.org/lendi-dev/integrations-shared-packages#readme",
|
|
@@ -21,19 +21,21 @@
|
|
|
21
21
|
"url": "git+ssh://git@bitbucket.org/lendi-dev/integrations-shared-packages.git"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@lendi/integrations-credit-protocol": "1.18.
|
|
25
|
-
"@lendi/act-eac-integrations-protocol": "3.
|
|
26
|
-
"@lendi/logging": "^1.0.0",
|
|
24
|
+
"@lendi/integrations-credit-protocol": "1.18.8",
|
|
25
|
+
"@lendi/act-eac-integrations-protocol": "3.1.0",
|
|
27
26
|
"clean-deep": "^3.4.0",
|
|
28
27
|
"date-fns": "2.19.0",
|
|
29
28
|
"lodash": "^4.17.15"
|
|
30
29
|
},
|
|
30
|
+
"peerDependencies": {
|
|
31
|
+
"pino": "^8.1.0"
|
|
32
|
+
},
|
|
31
33
|
"devDependencies": {
|
|
32
34
|
"@lendi/prettier-config": "^1.0.0",
|
|
33
35
|
"@lendi/typescript-config": "^2.0.0",
|
|
34
36
|
"@types/jest": "^28.1.4",
|
|
35
37
|
"@types/lodash": "^4.14.141",
|
|
36
|
-
"@types/node": "^16.
|
|
38
|
+
"@types/node": "^18.16.16",
|
|
37
39
|
"@types/prettier": "^1.16.1",
|
|
38
40
|
"@types/sinon": "^7.5.0",
|
|
39
41
|
"@typescript-eslint/eslint-plugin": "^5.21.0",
|
|
@@ -43,7 +45,6 @@
|
|
|
43
45
|
"eslint-plugin-jsdoc": "^39.2.9",
|
|
44
46
|
"eslint-plugin-prettier": "^4.0.0",
|
|
45
47
|
"eslint-plugin-sonarjs": "^0.13.0",
|
|
46
|
-
"husky": "^3.0.8",
|
|
47
48
|
"jest": "^28.1.2",
|
|
48
49
|
"jest-buildkite-reporter": "^0.2.8",
|
|
49
50
|
"jest-sonar-reporter": "^2.0.0",
|
|
@@ -51,9 +52,9 @@
|
|
|
51
52
|
"quicktype": "^15.0.261",
|
|
52
53
|
"sinon": "^7.4.2",
|
|
53
54
|
"ts-jest": "^28.0.5",
|
|
54
|
-
"ts-node": "^
|
|
55
|
-
"typedoc": "^0.
|
|
56
|
-
"typescript": "^
|
|
55
|
+
"ts-node": "^10.9.1",
|
|
56
|
+
"typedoc": "^0.24.8",
|
|
57
|
+
"typescript": "^5.0.4"
|
|
57
58
|
},
|
|
58
59
|
"scripts": {
|
|
59
60
|
"build": "tsc && cp -r src/schemas lib",
|
|
@@ -66,7 +67,6 @@
|
|
|
66
67
|
"lint": "eslint './src/**/*.ts'; exit 0",
|
|
67
68
|
"lint:fix": "eslint './src/**/*.ts' --fix",
|
|
68
69
|
"format": "prettier --write '**/*.{json,ts,md}'",
|
|
69
|
-
"prepack": "npm run build",
|
|
70
70
|
"prepublishOnly": "npm run build",
|
|
71
71
|
"postpack": "rm -rf lib",
|
|
72
72
|
"test:unit": "jest --config jest.config.json",
|