@lendi/integrations-transform 1.3.4 → 1.3.7
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/schemas/public-asset-event.json +33 -0
- package/lib/transform-events/transform-asset.d.ts +25 -1
- package/lib/transform-events/transform-asset.js +97 -1
- package/lib/types/enum-mappings/index.d.ts +1 -0
- package/lib/types/enum-mappings/index.js +1 -0
- package/lib/types/enum-mappings/property-expense-category.d.ts +7 -0
- package/lib/types/enum-mappings/property-expense-category.js +12 -0
- package/lib/types/events/public-asset.d.ts +22 -2
- package/lib/types/events/public-asset.js +21 -6
- package/package.json +2 -2
|
@@ -503,6 +503,36 @@
|
|
|
503
503
|
"applicationId": {
|
|
504
504
|
"type": "string"
|
|
505
505
|
},
|
|
506
|
+
"PropertyExpenses": {
|
|
507
|
+
"type": "array",
|
|
508
|
+
"items": {
|
|
509
|
+
"type": "object",
|
|
510
|
+
"additionalProperties": false,
|
|
511
|
+
"required": ["type"],
|
|
512
|
+
"properties": {
|
|
513
|
+
"type": {
|
|
514
|
+
"type": "string",
|
|
515
|
+
"enum": [
|
|
516
|
+
"BODY_CORPORATE_FEES_STRATA_FEES_AND_LAND_TAX",
|
|
517
|
+
"PRIMARY_RESIDENCE_RUNNING_COSTS",
|
|
518
|
+
"INVESTMENT_PROPERTY_RUNNING_COSTS",
|
|
519
|
+
"SECONDARY_RESIDENCE_RUNNING_COSTS"
|
|
520
|
+
]
|
|
521
|
+
},
|
|
522
|
+
"amount": {
|
|
523
|
+
"type": "number",
|
|
524
|
+
"example": 100000
|
|
525
|
+
},
|
|
526
|
+
"frequency": {
|
|
527
|
+
"type": "string",
|
|
528
|
+
"enum": ["FORTNIGHTLY", "MONTHLY", "QUARTERLY", "WEEKLY", "YEARLY"]
|
|
529
|
+
},
|
|
530
|
+
"comments": {
|
|
531
|
+
"type": "string"
|
|
532
|
+
}
|
|
533
|
+
}
|
|
534
|
+
}
|
|
535
|
+
},
|
|
506
536
|
"asset": {
|
|
507
537
|
"type": "object",
|
|
508
538
|
"properties": {
|
|
@@ -580,6 +610,9 @@
|
|
|
580
610
|
},
|
|
581
611
|
"year": {
|
|
582
612
|
"$ref": "#/definitions/year"
|
|
613
|
+
},
|
|
614
|
+
"propertyExpenses": {
|
|
615
|
+
"$ref": "#/definitions/PropertyExpenses"
|
|
583
616
|
}
|
|
584
617
|
},
|
|
585
618
|
"additionalProperties": true,
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { LivingExpense, PropertyExpense as LIXIPropertyExpense, OccupancyList } from '@lendi/integrations-credit-protocol/types/lixi-internal-request';
|
|
1
2
|
import { PropertyType as LixiPropertyType, Residential } from '@lendi/integrations-protocol/lib/types/lixi-internal-request';
|
|
2
|
-
import { Asset, Payload, PropertyType } from '../types/events/public-asset';
|
|
3
|
+
import { Asset, Payload, PercentOwned, PropertyExpense, PropertyType } from '../types/events/public-asset';
|
|
3
4
|
import { PartialApplication } from '../types/partial-application';
|
|
4
5
|
export interface PropertyTypeMapping {
|
|
5
6
|
path: string;
|
|
@@ -26,3 +27,26 @@ export declare function getPropertyType(propertyType: PropertyType): PropertyTyp
|
|
|
26
27
|
* @returns {Record<string, string>} Asset Transform Mapping.
|
|
27
28
|
*/
|
|
28
29
|
export declare function getAssetMapping(asset: Asset): Record<string, string>;
|
|
30
|
+
/**
|
|
31
|
+
* Creates living expense items from a propertyExpense object.
|
|
32
|
+
*
|
|
33
|
+
* @param percentOwned: owners of the property
|
|
34
|
+
* @param assetId: Asset id
|
|
35
|
+
* @param propertyExpenses: propertyExpenses items
|
|
36
|
+
*/
|
|
37
|
+
export declare function generateLivingExpenses(percentOwned: PercentOwned, assetId: string, propertyExpenses: PropertyExpense[]): LivingExpense[];
|
|
38
|
+
/**
|
|
39
|
+
* Creates PropertyExpense array on RealEstateAsset from the same array on the event.
|
|
40
|
+
* @param propertyExpenses
|
|
41
|
+
*/
|
|
42
|
+
export declare function generatePropertyExpenses(propertyExpenses: PropertyExpense[]): LIXIPropertyExpense[];
|
|
43
|
+
/**
|
|
44
|
+
* Determines the occupancy based on the list of property expense types available.
|
|
45
|
+
* @param propertyExpenses
|
|
46
|
+
*/
|
|
47
|
+
export declare function determineOccupancy(propertyExpenses: PropertyExpense[]): OccupancyList;
|
|
48
|
+
/**
|
|
49
|
+
* Calculates the correct amount and frequency.
|
|
50
|
+
* @param expense
|
|
51
|
+
*/
|
|
52
|
+
export declare function normalizeAmounts(expense: PropertyExpense): PropertyExpense;
|
|
@@ -11,16 +11,19 @@ var __assign = (this && this.__assign) || function () {
|
|
|
11
11
|
return __assign.apply(this, arguments);
|
|
12
12
|
};
|
|
13
13
|
exports.__esModule = true;
|
|
14
|
-
exports.getAssetMapping = exports.getPropertyType = exports.transformAsset = exports.residentialTypeList = exports.propertyTypeNameList = void 0;
|
|
14
|
+
exports.normalizeAmounts = exports.determineOccupancy = exports.generatePropertyExpenses = exports.generateLivingExpenses = exports.getAssetMapping = exports.getPropertyType = exports.transformAsset = exports.residentialTypeList = exports.propertyTypeNameList = void 0;
|
|
15
15
|
var lixi_internal_request_1 = require("@lendi/integrations-credit-protocol/types/lixi-internal-request");
|
|
16
16
|
var application_paths_1 = require("@lendi/integrations-credit-protocol/utils/application-paths");
|
|
17
17
|
var lixi_internal_request_2 = require("@lendi/integrations-protocol/lib/types/lixi-internal-request");
|
|
18
|
+
var uuid_1 = require("uuid");
|
|
18
19
|
var lodash_1 = require("lodash");
|
|
19
20
|
var logger_1 = require("../logger");
|
|
20
21
|
var enum_mappings_1 = require("../types/enum-mappings");
|
|
21
22
|
var public_asset_1 = require("../types/events/public-asset");
|
|
23
|
+
var public_expense_1 = require("../types/events/public-expense");
|
|
22
24
|
var get_financial_institution_1 = require("../utils/get-financial-institution");
|
|
23
25
|
var is_asset_type_1 = require("../utils/is-asset-type");
|
|
26
|
+
var round_decimal_1 = require("../utils/round-decimal");
|
|
24
27
|
var transform_asset_address_1 = require("./transform-asset-address");
|
|
25
28
|
var transform_percent_owned_1 = require("./transform-percent-owned");
|
|
26
29
|
exports.propertyTypeNameList = Object.values(lixi_internal_request_2.Custom2PropertyTypeNameList);
|
|
@@ -85,6 +88,16 @@ function transformAsset(_a) {
|
|
|
85
88
|
case 'toBePurchased':
|
|
86
89
|
(0, lodash_1.set)(partialApplication, assetMapping[key], enum_mappings_1.toBePurchasedMapping[value]);
|
|
87
90
|
break;
|
|
91
|
+
case 'propertyExpenses':
|
|
92
|
+
if (!asset.percentOwned) {
|
|
93
|
+
break;
|
|
94
|
+
}
|
|
95
|
+
var propertyExpenses = generatePropertyExpenses(value);
|
|
96
|
+
(0, lodash_1.set)(partialApplication, "".concat(application_paths_1.paths.RealEstateAsset, ".PropertyExpense"), propertyExpenses);
|
|
97
|
+
var livingExpenses = generateLivingExpenses(asset.percentOwned, id, value);
|
|
98
|
+
(0, lodash_1.set)(partialApplication, assetMapping[key], livingExpenses);
|
|
99
|
+
(0, lodash_1.set)(partialApplication, "".concat(application_paths_1.paths.RealEstateAsset, ".Occupancy"), determineOccupancy(value));
|
|
100
|
+
break;
|
|
88
101
|
case 'propertyStatus':
|
|
89
102
|
(0, lodash_1.set)(partialApplication, assetMapping[key], enum_mappings_1.propertyStatusMapping[value]);
|
|
90
103
|
break;
|
|
@@ -185,6 +198,7 @@ function getAssetMapping(asset) {
|
|
|
185
198
|
estimatedValue: estimatedValue,
|
|
186
199
|
percentOwned: percentOwned,
|
|
187
200
|
primaryPurpose: "".concat(application_paths_1.paths.RealEstateAsset, ".@PrimaryPurpose"),
|
|
201
|
+
propertyExpenses: application_paths_1.paths.LivingExpenses,
|
|
188
202
|
propertyStatus: "".concat(application_paths_1.paths.RealEstateAsset, ".@Status"),
|
|
189
203
|
propertyType: "".concat(application_paths_1.paths.RealEstateAsset, ".Residential"),
|
|
190
204
|
toBePurchased: "".concat(application_paths_1.paths.RealEstateAsset, ".@Transaction"),
|
|
@@ -201,3 +215,85 @@ function getAssetMapping(asset) {
|
|
|
201
215
|
return baseMapping;
|
|
202
216
|
}
|
|
203
217
|
exports.getAssetMapping = getAssetMapping;
|
|
218
|
+
/**
|
|
219
|
+
* Creates living expense items from a propertyExpense object.
|
|
220
|
+
*
|
|
221
|
+
* @param percentOwned: owners of the property
|
|
222
|
+
* @param assetId: Asset id
|
|
223
|
+
* @param propertyExpenses: propertyExpenses items
|
|
224
|
+
*/
|
|
225
|
+
function generateLivingExpenses(percentOwned, assetId, propertyExpenses) {
|
|
226
|
+
var livingExpenses = [];
|
|
227
|
+
var filteredPropertyExpenses = propertyExpenses.filter(function (expense) { return expense.amount !== undefined; });
|
|
228
|
+
percentOwned.owners.forEach(function (owner) {
|
|
229
|
+
var expenses = filteredPropertyExpenses.map(function (expense) {
|
|
230
|
+
normalizeAmounts(expense);
|
|
231
|
+
return {
|
|
232
|
+
'@Amount': (0, round_decimal_1.roundDecimal)(expense.amount * owner.percent),
|
|
233
|
+
'@Category': enum_mappings_1.livingExpenseMapping[expense.type],
|
|
234
|
+
'@Frequency': enum_mappings_1.incomeExpenseFrequencyMapping[expense.frequency],
|
|
235
|
+
'@UniqueID': "".concat((0, uuid_1.v4)(), "-").concat(assetId),
|
|
236
|
+
PercentResponsible: {
|
|
237
|
+
Owner: [
|
|
238
|
+
{
|
|
239
|
+
'@Percent': 100,
|
|
240
|
+
'@x_Party': owner.applicantId
|
|
241
|
+
},
|
|
242
|
+
]
|
|
243
|
+
}
|
|
244
|
+
};
|
|
245
|
+
});
|
|
246
|
+
livingExpenses = livingExpenses.concat(expenses);
|
|
247
|
+
});
|
|
248
|
+
return livingExpenses;
|
|
249
|
+
}
|
|
250
|
+
exports.generateLivingExpenses = generateLivingExpenses;
|
|
251
|
+
/**
|
|
252
|
+
* Creates PropertyExpense array on RealEstateAsset from the same array on the event.
|
|
253
|
+
* @param propertyExpenses
|
|
254
|
+
*/
|
|
255
|
+
function generatePropertyExpenses(propertyExpenses) {
|
|
256
|
+
return propertyExpenses
|
|
257
|
+
.filter(function (expense) { return expense.amount !== undefined; })
|
|
258
|
+
.map(function (expense) {
|
|
259
|
+
normalizeAmounts(expense);
|
|
260
|
+
return {
|
|
261
|
+
'@Amount': expense.amount,
|
|
262
|
+
'@Category': enum_mappings_1.propertyExpenseCategoryMapping[expense.type],
|
|
263
|
+
'@Frequency': enum_mappings_1.incomeExpenseFrequencyMapping[expense.frequency]
|
|
264
|
+
};
|
|
265
|
+
});
|
|
266
|
+
}
|
|
267
|
+
exports.generatePropertyExpenses = generatePropertyExpenses;
|
|
268
|
+
/**
|
|
269
|
+
* Determines the occupancy based on the list of property expense types available.
|
|
270
|
+
* @param propertyExpenses
|
|
271
|
+
*/
|
|
272
|
+
function determineOccupancy(propertyExpenses) {
|
|
273
|
+
var propertyExpenseCategoryList = propertyExpenses.map(function (expense) { return expense.type; });
|
|
274
|
+
if (propertyExpenseCategoryList.includes(public_asset_1.PropertyExpenseType.InvestmentPropertyRunningCosts)) {
|
|
275
|
+
return lixi_internal_request_1.OccupancyList.NonOwner;
|
|
276
|
+
}
|
|
277
|
+
else if (propertyExpenseCategoryList.includes(public_asset_1.PropertyExpenseType.PrimaryResidenceRunningCosts && public_asset_1.PropertyExpenseType.SecondaryResidenceRunningCosts)) {
|
|
278
|
+
return lixi_internal_request_1.OccupancyList.OwnerSecondary;
|
|
279
|
+
}
|
|
280
|
+
else if (propertyExpenseCategoryList.some(function (item) {
|
|
281
|
+
return item !== public_asset_1.PropertyExpenseType.SecondaryResidenceRunningCosts &&
|
|
282
|
+
item === public_asset_1.PropertyExpenseType.PrimaryResidenceRunningCosts;
|
|
283
|
+
})) {
|
|
284
|
+
return lixi_internal_request_1.OccupancyList.OwnerPrimary;
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
exports.determineOccupancy = determineOccupancy;
|
|
288
|
+
/**
|
|
289
|
+
* Calculates the correct amount and frequency.
|
|
290
|
+
* @param expense
|
|
291
|
+
*/
|
|
292
|
+
function normalizeAmounts(expense) {
|
|
293
|
+
if (expense.frequency === public_expense_1.Frequency.Quarterly) {
|
|
294
|
+
expense.frequency = public_expense_1.Frequency.Yearly;
|
|
295
|
+
expense.amount *= 4;
|
|
296
|
+
}
|
|
297
|
+
return expense;
|
|
298
|
+
}
|
|
299
|
+
exports.normalizeAmounts = normalizeAmounts;
|
|
@@ -14,6 +14,7 @@ export * from './marital-status';
|
|
|
14
14
|
export * from './postcode';
|
|
15
15
|
export * from './preferred-repayment';
|
|
16
16
|
export * from './proof-of-identity';
|
|
17
|
+
export * from './property-expense-category';
|
|
17
18
|
export * from './public-financial-asset';
|
|
18
19
|
export * from './public-primary-purpose';
|
|
19
20
|
export * from './public-property-status';
|
|
@@ -26,6 +26,7 @@ __exportStar(require("./marital-status"), exports);
|
|
|
26
26
|
__exportStar(require("./postcode"), exports);
|
|
27
27
|
__exportStar(require("./preferred-repayment"), exports);
|
|
28
28
|
__exportStar(require("./proof-of-identity"), exports);
|
|
29
|
+
__exportStar(require("./property-expense-category"), exports);
|
|
29
30
|
__exportStar(require("./public-financial-asset"), exports);
|
|
30
31
|
__exportStar(require("./public-primary-purpose"), exports);
|
|
31
32
|
__exportStar(require("./public-property-status"), exports);
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PropertyExpenseCategoryList } from '@lendi/integrations-credit-protocol/types/lixi-internal-request';
|
|
2
|
+
import { PropertyExpenseType } from '../events/public-asset';
|
|
3
|
+
declare type PropertyExpenseCategoryMapping = {
|
|
4
|
+
[key in PropertyExpenseType]: PropertyExpenseCategoryList;
|
|
5
|
+
};
|
|
6
|
+
export declare const propertyExpenseCategoryMapping: PropertyExpenseCategoryMapping;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var _a;
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.propertyExpenseCategoryMapping = void 0;
|
|
5
|
+
var lixi_internal_request_1 = require("@lendi/integrations-credit-protocol/types/lixi-internal-request");
|
|
6
|
+
var public_asset_1 = require("../events/public-asset");
|
|
7
|
+
exports.propertyExpenseCategoryMapping = (_a = {},
|
|
8
|
+
_a[public_asset_1.PropertyExpenseType.BodyCorporateFeesStrataFeesAndLandTax] = lixi_internal_request_1.PropertyExpenseCategoryList.BodyCorporateFeesStrataFeesAndLandTax,
|
|
9
|
+
_a[public_asset_1.PropertyExpenseType.InvestmentPropertyRunningCosts] = lixi_internal_request_1.PropertyExpenseCategoryList.RunningCosts,
|
|
10
|
+
_a[public_asset_1.PropertyExpenseType.PrimaryResidenceRunningCosts] = lixi_internal_request_1.PropertyExpenseCategoryList.RunningCosts,
|
|
11
|
+
_a[public_asset_1.PropertyExpenseType.SecondaryResidenceRunningCosts] = lixi_internal_request_1.PropertyExpenseCategoryList.RunningCosts,
|
|
12
|
+
_a);
|
|
@@ -6,7 +6,7 @@ export interface PublicAsset {
|
|
|
6
6
|
/**
|
|
7
7
|
* schema version
|
|
8
8
|
*/
|
|
9
|
-
type:
|
|
9
|
+
type: PublicAssetType;
|
|
10
10
|
version: string;
|
|
11
11
|
}
|
|
12
12
|
/**
|
|
@@ -38,6 +38,7 @@ export interface Asset {
|
|
|
38
38
|
model?: string;
|
|
39
39
|
percentOwned?: PercentOwned;
|
|
40
40
|
primaryPurpose?: PrimaryPurpose;
|
|
41
|
+
propertyExpenses?: PropertyExpense[];
|
|
41
42
|
propertyStatus?: PropertyStatus;
|
|
42
43
|
propertyType?: PropertyType;
|
|
43
44
|
relationId?: string;
|
|
@@ -397,6 +398,25 @@ export declare enum PrimaryPurpose {
|
|
|
397
398
|
Investment = "INVESTMENT",
|
|
398
399
|
OwnerOccupied = "OWNER_OCCUPIED"
|
|
399
400
|
}
|
|
401
|
+
export interface PropertyExpense {
|
|
402
|
+
amount?: number;
|
|
403
|
+
comments?: string;
|
|
404
|
+
frequency?: Frequency;
|
|
405
|
+
type: PropertyExpenseType;
|
|
406
|
+
}
|
|
407
|
+
export declare enum Frequency {
|
|
408
|
+
Fortnightly = "FORTNIGHTLY",
|
|
409
|
+
Monthly = "MONTHLY",
|
|
410
|
+
Quarterly = "QUARTERLY",
|
|
411
|
+
Weekly = "WEEKLY",
|
|
412
|
+
Yearly = "YEARLY"
|
|
413
|
+
}
|
|
414
|
+
export declare enum PropertyExpenseType {
|
|
415
|
+
BodyCorporateFeesStrataFeesAndLandTax = "BODY_CORPORATE_FEES_STRATA_FEES_AND_LAND_TAX",
|
|
416
|
+
InvestmentPropertyRunningCosts = "INVESTMENT_PROPERTY_RUNNING_COSTS",
|
|
417
|
+
PrimaryResidenceRunningCosts = "PRIMARY_RESIDENCE_RUNNING_COSTS",
|
|
418
|
+
SecondaryResidenceRunningCosts = "SECONDARY_RESIDENCE_RUNNING_COSTS"
|
|
419
|
+
}
|
|
400
420
|
export declare enum PropertyStatus {
|
|
401
421
|
Established = "ESTABLISHED",
|
|
402
422
|
NewBuilding = "NEW_BUILDING",
|
|
@@ -462,7 +482,7 @@ export declare enum ActionedByRole {
|
|
|
462
482
|
/**
|
|
463
483
|
* schema version
|
|
464
484
|
*/
|
|
465
|
-
export declare enum
|
|
485
|
+
export declare enum PublicAssetType {
|
|
466
486
|
AssetCreated = "AssetCreated",
|
|
467
487
|
AssetUpdated = "AssetUpdated"
|
|
468
488
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
exports.__esModule = true;
|
|
3
|
-
exports.
|
|
3
|
+
exports.PublicAssetType = exports.ActionedByRole = exports.ZoneType = exports.AssetType = exports.PropertyType = exports.PropertyStatus = exports.PropertyExpenseType = exports.Frequency = exports.PrimaryPurpose = exports.Proportions = exports.Countries = void 0;
|
|
4
4
|
var Countries;
|
|
5
5
|
(function (Countries) {
|
|
6
6
|
Countries["Afghanistan"] = "Afghanistan";
|
|
@@ -258,6 +258,21 @@ var PrimaryPurpose;
|
|
|
258
258
|
PrimaryPurpose["Investment"] = "INVESTMENT";
|
|
259
259
|
PrimaryPurpose["OwnerOccupied"] = "OWNER_OCCUPIED";
|
|
260
260
|
})(PrimaryPurpose = exports.PrimaryPurpose || (exports.PrimaryPurpose = {}));
|
|
261
|
+
var Frequency;
|
|
262
|
+
(function (Frequency) {
|
|
263
|
+
Frequency["Fortnightly"] = "FORTNIGHTLY";
|
|
264
|
+
Frequency["Monthly"] = "MONTHLY";
|
|
265
|
+
Frequency["Quarterly"] = "QUARTERLY";
|
|
266
|
+
Frequency["Weekly"] = "WEEKLY";
|
|
267
|
+
Frequency["Yearly"] = "YEARLY";
|
|
268
|
+
})(Frequency = exports.Frequency || (exports.Frequency = {}));
|
|
269
|
+
var PropertyExpenseType;
|
|
270
|
+
(function (PropertyExpenseType) {
|
|
271
|
+
PropertyExpenseType["BodyCorporateFeesStrataFeesAndLandTax"] = "BODY_CORPORATE_FEES_STRATA_FEES_AND_LAND_TAX";
|
|
272
|
+
PropertyExpenseType["InvestmentPropertyRunningCosts"] = "INVESTMENT_PROPERTY_RUNNING_COSTS";
|
|
273
|
+
PropertyExpenseType["PrimaryResidenceRunningCosts"] = "PRIMARY_RESIDENCE_RUNNING_COSTS";
|
|
274
|
+
PropertyExpenseType["SecondaryResidenceRunningCosts"] = "SECONDARY_RESIDENCE_RUNNING_COSTS";
|
|
275
|
+
})(PropertyExpenseType = exports.PropertyExpenseType || (exports.PropertyExpenseType = {}));
|
|
261
276
|
var PropertyStatus;
|
|
262
277
|
(function (PropertyStatus) {
|
|
263
278
|
PropertyStatus["Established"] = "ESTABLISHED";
|
|
@@ -315,8 +330,8 @@ var ActionedByRole;
|
|
|
315
330
|
/**
|
|
316
331
|
* schema version
|
|
317
332
|
*/
|
|
318
|
-
var
|
|
319
|
-
(function (
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
})(
|
|
333
|
+
var PublicAssetType;
|
|
334
|
+
(function (PublicAssetType) {
|
|
335
|
+
PublicAssetType["AssetCreated"] = "AssetCreated";
|
|
336
|
+
PublicAssetType["AssetUpdated"] = "AssetUpdated";
|
|
337
|
+
})(PublicAssetType = exports.PublicAssetType || (exports.PublicAssetType = {}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lendi/integrations-transform",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.7",
|
|
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,7 +21,7 @@
|
|
|
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.
|
|
24
|
+
"@lendi/integrations-credit-protocol": "1.16.0",
|
|
25
25
|
"@lendi/integrations-protocol": "2.5.4",
|
|
26
26
|
"clean-deep": "^3.4.0",
|
|
27
27
|
"date-fns": "2.19.0",
|