@elliemae/pui-scripting-object 1.18.1 → 1.19.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.
@@ -13,6 +13,15 @@ export type FieldOptions = {
13
13
  */
14
14
  value: string;
15
15
  };
16
+ /**
17
+ * options for setting current application
18
+ */
19
+ export type CurrentApplicationOptions = {
20
+ /**
21
+ * unique borrower pair id
22
+ */
23
+ borrowerPairId: string;
24
+ };
16
25
  /**
17
26
  * v3 loan object
18
27
  */
@@ -268,6 +277,12 @@ export interface ILoan extends IScriptingObject {
268
277
  * Returns an object with current application selected
269
278
  */
270
279
  getCurrentApplication(): Promise<Record<string, string>>;
280
+ /**
281
+ * Update data for current application
282
+ *
283
+ * @param options
284
+ */
285
+ setCurrentApplication(options: CurrentApplicationOptions): Promise<void>;
271
286
  /**
272
287
  * Execute loan level action, this is specific to v3 stateful implementation
273
288
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/pui-scripting-object",
3
- "version": "1.18.1",
3
+ "version": "1.19.0",
4
4
  "description": "Typescript defintions for Scripting Objects",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/cjs/index.js",
@@ -67,12 +67,12 @@
67
67
  },
68
68
  "devDependencies": {
69
69
  "@elliemae/browserslist-config-elliemae-latest-browsers": "~1.6.0",
70
- "@elliemae/pui-cli": "~7.24.0",
70
+ "@elliemae/pui-cli": "~7.26.3",
71
71
  "@elliemae/pui-doc-gen": "~1.4.1",
72
72
  "@elliemae/pui-theme": "~2.6.0",
73
73
  "@types/styled-components": "~5.1.26",
74
74
  "history": "~5.3.0",
75
- "redux": "~4.2.0",
75
+ "redux": "~4.2.1",
76
76
  "redux-saga": "~1.2.2",
77
77
  "styled-components": "~5.3.6"
78
78
  },