@elliemae/pui-scripting-object 1.18.2 → 1.19.1
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.
|
@@ -104,11 +104,12 @@ export interface IAuth extends IScriptingObject {
|
|
|
104
104
|
createAuthCode(clientId: string): Promise<string>;
|
|
105
105
|
/**
|
|
106
106
|
* Get child access token for the given plugin
|
|
107
|
+
* Host implementing this scripting object method,
|
|
108
|
+
* should able to find out the caller of this api and request necessary child token
|
|
107
109
|
*
|
|
108
|
-
* @param appInfo metadata about the plugin requesting the access token
|
|
109
110
|
* @returns access token with the api base url
|
|
110
111
|
*/
|
|
111
|
-
getAccessToken(
|
|
112
|
+
getAccessToken(): Promise<TokenInfo>;
|
|
112
113
|
/**
|
|
113
114
|
* Get current logged in user information
|
|
114
115
|
*
|
|
@@ -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,8 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/pui-scripting-object",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.19.1",
|
|
4
4
|
"description": "Typescript defintions for Scripting Objects",
|
|
5
5
|
"sideEffects": false,
|
|
6
|
+
"type": "module",
|
|
6
7
|
"main": "./dist/cjs/index.js",
|
|
7
8
|
"module": "./dist/es/index.js",
|
|
8
9
|
"unpkg": "./dist/umd/index.js",
|
|
@@ -67,8 +68,8 @@
|
|
|
67
68
|
},
|
|
68
69
|
"devDependencies": {
|
|
69
70
|
"@elliemae/browserslist-config-elliemae-latest-browsers": "~1.6.0",
|
|
70
|
-
"@elliemae/pui-cli": "~
|
|
71
|
-
"@elliemae/pui-doc-gen": "~1.4
|
|
71
|
+
"@elliemae/pui-cli": "~8.0.0",
|
|
72
|
+
"@elliemae/pui-doc-gen": "~1.6.4",
|
|
72
73
|
"@elliemae/pui-theme": "~2.6.0",
|
|
73
74
|
"@types/styled-components": "~5.1.26",
|
|
74
75
|
"history": "~5.3.0",
|