@lendi/integrations-transform 1.4.6 → 1.4.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.
@@ -8,6 +8,7 @@
8
8
  },
9
9
  "brokerPrimaryPurpose": {
10
10
  "description": "Additional data point for broker to capture primary purpose, other than the preliminary primary purpose associated with current user journey for new purchase or refinance",
11
+ "_comment": "PURCHASE is deprecated (will migrated to NEW_PURCHASE), VARIATION is deprecated (domain variation/lendi variation brand will be migrated to VARIATION_NON_CREDIT_CRITICAL, domain/lendi brand will be migrated to VARIATION_CREDIT_CRITICAL) and both PURCHASE and VARIATION will be removed in the future",
11
12
  "enum": [
12
13
  "COMMERCIAL",
13
14
  "CONSTRUCTION",
@@ -21,7 +22,9 @@
21
22
  "REFINANCE",
22
23
  "SLR",
23
24
  "TOP_UP",
24
- "VARIATION"
25
+ "VARIATION",
26
+ "VARIATION_CREDIT_CRITICAL",
27
+ "VARIATION_NON_CREDIT_CRITICAL"
25
28
  ]
26
29
  },
27
30
  "customerId": {
@@ -83,10 +86,12 @@
83
86
  "type": "boolean"
84
87
  },
85
88
  "totalMonthlyExpenses": {
86
- "type": "number"
89
+ "type": "number",
90
+ "minimum": 0
87
91
  },
88
92
  "numberOfDependants": {
89
- "type": "number"
93
+ "type": "number",
94
+ "minimum": 0
90
95
  },
91
96
  "contributions": {
92
97
  "type": "array",
@@ -98,7 +103,8 @@
98
103
  "enum": ["DEPOSIT"]
99
104
  },
100
105
  "amount": {
101
- "type": "number"
106
+ "type": "number",
107
+ "minimum": 0
102
108
  }
103
109
  }
104
110
  }
@@ -109,6 +115,10 @@
109
115
  "enum": ["CONSOLIDATE_CASHOUT", "FASTER_PAYOFF", "DECREASE_REPAYMENTS", "CONSTRUCTION"]
110
116
  }
111
117
  },
118
+ "highIntent": {
119
+ "description": "Indication that this application carries high customer intent",
120
+ "type": "boolean"
121
+ },
112
122
  "payload": {
113
123
  "type": "object",
114
124
  "additionalProperties": false,
@@ -191,6 +201,9 @@
191
201
  "$ref": "#/definitions/contributions"
192
202
  }
193
203
  }
204
+ },
205
+ "highIntent": {
206
+ "$ref": "#/definitions/highIntent"
194
207
  }
195
208
  },
196
209
  "required": ["id", "preliminary"]
@@ -15,6 +15,7 @@ export interface Payload {
15
15
  clonedFromApplicationId?: string;
16
16
  customerId?: string;
17
17
  hidden?: boolean;
18
+ highIntent?: boolean;
18
19
  id: string;
19
20
  meta?: ApplicationMeta;
20
21
  name?: string;
@@ -43,7 +44,9 @@ export declare enum BrokerPrimaryPurpose {
43
44
  Refinance = "REFINANCE",
44
45
  Slr = "SLR",
45
46
  TopUp = "TOP_UP",
46
- Variation = "VARIATION"
47
+ Variation = "VARIATION",
48
+ VariationCreditCritical = "VARIATION_CREDIT_CRITICAL",
49
+ VariationNonCreditCritical = "VARIATION_NON_CREDIT_CRITICAL"
47
50
  }
48
51
  /**
49
52
  * The metadata of the application
@@ -27,6 +27,8 @@ var BrokerPrimaryPurpose;
27
27
  BrokerPrimaryPurpose["Slr"] = "SLR";
28
28
  BrokerPrimaryPurpose["TopUp"] = "TOP_UP";
29
29
  BrokerPrimaryPurpose["Variation"] = "VARIATION";
30
+ BrokerPrimaryPurpose["VariationCreditCritical"] = "VARIATION_CREDIT_CRITICAL";
31
+ BrokerPrimaryPurpose["VariationNonCreditCritical"] = "VARIATION_NON_CREDIT_CRITICAL";
30
32
  })(BrokerPrimaryPurpose = exports.BrokerPrimaryPurpose || (exports.BrokerPrimaryPurpose = {}));
31
33
  /**
32
34
  * role of the user that made the action
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lendi/integrations-transform",
3
- "version": "1.4.6",
3
+ "version": "1.4.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",