@elliemae/pui-scripting-object 1.36.0 → 1.37.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/dist/cjs/objects/loan.js
CHANGED
|
@@ -40,5 +40,6 @@ var LoanLevelActions = /* @__PURE__ */ ((LoanLevelActions2) => {
|
|
|
40
40
|
LoanLevelActions2["UPDATE_CORRESPONDENT_FEES"] = "updateCorrespondentFees";
|
|
41
41
|
LoanLevelActions2["COPY_ITEMIZATION_TO_STATE_DISCLOSURE"] = "copyItemizationToStateDisclosure";
|
|
42
42
|
LoanLevelActions2["CALCULATE_EEM_MORTGAGE"] = "calculateEEMMortgage";
|
|
43
|
+
LoanLevelActions2["COPY_BORROWER_TO_TAX_REQUEST"] = "copyBorrowerToTaxRequest";
|
|
43
44
|
return LoanLevelActions2;
|
|
44
45
|
})(LoanLevelActions || {});
|
package/dist/esm/objects/loan.js
CHANGED
|
@@ -15,6 +15,7 @@ var LoanLevelActions = /* @__PURE__ */ ((LoanLevelActions2) => {
|
|
|
15
15
|
LoanLevelActions2["UPDATE_CORRESPONDENT_FEES"] = "updateCorrespondentFees";
|
|
16
16
|
LoanLevelActions2["COPY_ITEMIZATION_TO_STATE_DISCLOSURE"] = "copyItemizationToStateDisclosure";
|
|
17
17
|
LoanLevelActions2["CALCULATE_EEM_MORTGAGE"] = "calculateEEMMortgage";
|
|
18
|
+
LoanLevelActions2["COPY_BORROWER_TO_TAX_REQUEST"] = "copyBorrowerToTaxRequest";
|
|
18
19
|
return LoanLevelActions2;
|
|
19
20
|
})(LoanLevelActions || {});
|
|
20
21
|
export {
|
|
@@ -97,11 +97,15 @@ export type RecordOptions = {
|
|
|
97
97
|
* v3 loan object
|
|
98
98
|
*/
|
|
99
99
|
export type LoanObject = Record<string, unknown>;
|
|
100
|
+
/**
|
|
101
|
+
* Loan level actions
|
|
102
|
+
*/
|
|
100
103
|
export declare enum LoanLevelActions {
|
|
101
104
|
UPDATE_CORRESPONDENT_BALANCE = "updateCorrespondentBalance",
|
|
102
105
|
UPDATE_CORRESPONDENT_FEES = "updateCorrespondentFees",
|
|
103
106
|
COPY_ITEMIZATION_TO_STATE_DISCLOSURE = "copyItemizationToStateDisclosure",
|
|
104
|
-
CALCULATE_EEM_MORTGAGE = "calculateEEMMortgage"
|
|
107
|
+
CALCULATE_EEM_MORTGAGE = "calculateEEMMortgage",
|
|
108
|
+
COPY_BORROWER_TO_TAX_REQUEST = "copyBorrowerToTaxRequest"
|
|
105
109
|
}
|
|
106
110
|
type CommitInfo = {
|
|
107
111
|
/**
|
|
@@ -352,8 +356,9 @@ export interface ILoan extends IScriptingObject {
|
|
|
352
356
|
/**
|
|
353
357
|
* Execute loan level action, this is specific to v3 stateful implementation
|
|
354
358
|
* @param type {LoanLevelActions} type of action to be executed
|
|
359
|
+
* @param params {Record<string, unknown>} additional parameters for the action
|
|
355
360
|
*/
|
|
356
|
-
execAction(type: LoanLevelActions): Promise<LoanObject>;
|
|
361
|
+
execAction(type: LoanLevelActions, params?: Record<string, unknown>): Promise<LoanObject>;
|
|
357
362
|
/**
|
|
358
363
|
* Returns an object reference of type LoanCollection. Argument "name" is required & used to get specific collection like BorrowerEmployer, Escrow etc.
|
|
359
364
|
* @param name collection template name
|
|
@@ -56,7 +56,7 @@ export type LaunchCategoryOptions = {
|
|
|
56
56
|
*/
|
|
57
57
|
targetType: NavigationType;
|
|
58
58
|
/**
|
|
59
|
-
* additional query parameters to be passed to the redirect location
|
|
59
|
+
* additional query parameters to be passed to the redirect location. For example, if rediret requested to services area with targetParams { "key1": "value1", "key2": "value2"}, the url will have querystring as services?query={"transactionId":123, "orderId":456, "key1": "value1", "key2": "value2"}
|
|
60
60
|
*/
|
|
61
61
|
targetParams?: Record<string, string>;
|
|
62
62
|
};
|
|
@@ -102,7 +102,7 @@ export type LaunchServiceSetupOptions = {
|
|
|
102
102
|
*/
|
|
103
103
|
targetType: NavigationType;
|
|
104
104
|
/**
|
|
105
|
-
* additional query parameters to be passed to the redirect location
|
|
105
|
+
* additional query parameters to be passed to the redirect location. For example, if rediret requested to services area with targetParams { "key1": "value1", "key2": "value2"}, the url will have querystring as services?query={"transactionId":123, "orderId":456, "key1": "value1", "key2": "value2"}
|
|
106
106
|
*/
|
|
107
107
|
targetParams?: Record<string, string>;
|
|
108
108
|
};
|
|
@@ -148,7 +148,7 @@ export type LaunchProviderOptions = {
|
|
|
148
148
|
*/
|
|
149
149
|
targetType: NavigationType;
|
|
150
150
|
/**
|
|
151
|
-
* additional query parameters to be passed to the redirect location
|
|
151
|
+
* additional query parameters to be passed to the redirect location. For example, if rediret requested to services area with targetParams { "key1": "value1", "key2": "value2"}, the url will have querystring as services?query={"transactionId":123, "orderId":456, "key1": "value1", "key2": "value2"}
|
|
152
152
|
*/
|
|
153
153
|
targetParams?: Record<string, string>;
|
|
154
154
|
};
|
|
@@ -201,7 +201,7 @@ export interface IService extends IScriptingObject {
|
|
|
201
201
|
*
|
|
202
202
|
* After the integration flow is complete, user will be redirected to the location provided in the input parameter.
|
|
203
203
|
*
|
|
204
|
-
* Service order transaction id (transactionId) and service order id (orderId) will be appended as query parameters to the url incase of new order. For example, if rediret requested to services area, the url will have querystring as services?transactionId
|
|
204
|
+
* Service order transaction id (transactionId) and service order id (orderId) will be appended as query parameters to the url incase of new order. For example, if rediret requested to services area, the url will have querystring as services?query={"transactionId":123, "orderId":456}
|
|
205
205
|
*
|
|
206
206
|
* Supports EPC & EVP service order integrations
|
|
207
207
|
* @param category - name of the service category
|
|
@@ -223,7 +223,7 @@ export interface IService extends IScriptingObject {
|
|
|
223
223
|
*
|
|
224
224
|
* After the integration flow is complete, user will be redirected to the location provided in the input parameter.
|
|
225
225
|
*
|
|
226
|
-
* Service order transaction id (transactionId) and service order id (orderId) will be appended as query parameters to the url incase of new order. For example, if rediret requested to services area, the url will have querystring as services?transactionId
|
|
226
|
+
* Service order transaction id (transactionId) and service order id (orderId) will be appended as query parameters to the url incase of new order. For example, if rediret requested to services area, the url will have querystring as services?query={"transactionId":123, "orderId":456}
|
|
227
227
|
*
|
|
228
228
|
* Supports EPC & EVP service order integrations
|
|
229
229
|
* @param serviceSetupId - unique id of the service setup
|
|
@@ -245,7 +245,7 @@ export interface IService extends IScriptingObject {
|
|
|
245
245
|
*
|
|
246
246
|
* After the integration flow is complete, user will be redirected to the location provided in the input parameter.
|
|
247
247
|
*
|
|
248
|
-
* Service order transaction id (transactionId) and service order id (orderId) will be appended as query parameters to the url incase of new order. For example, if rediret requested to services area, the url will have querystring as services?transactionId
|
|
248
|
+
* Service order transaction id (transactionId) and service order id (orderId) will be appended as query parameters to the url incase of new order. For example, if rediret requested to services area, the url will have querystring as services?query={"transactionId":123, "orderId":456}
|
|
249
249
|
*
|
|
250
250
|
* Supports EPC & EVP service order integrations
|
|
251
251
|
* @param providerId - unique id of the service provider
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/pui-scripting-object",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.37.0",
|
|
4
4
|
"description": "Typescript defintions for Scripting Objects",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"type": "module",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"@elliemae/browserslist-config-elliemae-latest-browsers": "~1.9.0",
|
|
70
|
-
"@elliemae/pui-cli": "~8.
|
|
70
|
+
"@elliemae/pui-cli": "~8.34.0",
|
|
71
71
|
"@elliemae/pui-doc-gen": "~2.0.1",
|
|
72
72
|
"@elliemae/pui-theme": "~2.9.3",
|
|
73
73
|
"@types/styled-components": "~5.1.34",
|