@elliemae/pui-scripting-object 1.16.5 → 1.16.6
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/scriptingObjectEventList.js +16 -0
- package/dist/esm/scriptingObjectEventList.js +0 -0
- package/dist/types/event.d.ts +5 -9
- package/dist/types/index.d.ts +1 -0
- package/dist/types/objects/analytics.d.ts +1 -1
- package/dist/types/objects/application.d.ts +33 -48
- package/dist/types/objects/auth.d.ts +4 -4
- package/dist/types/objects/form.d.ts +26 -41
- package/dist/types/objects/global.d.ts +13 -18
- package/dist/types/objects/loan.d.ts +79 -161
- package/dist/types/objects/loanv2.d.ts +5 -5
- package/dist/types/objects/module.d.ts +15 -20
- package/dist/types/objects/route.d.ts +6 -0
- package/dist/types/objects/service.d.ts +2 -2
- package/dist/types/objects/shared.d.ts +6 -6
- package/dist/types/objects/transaction.d.ts +1 -1
- package/dist/types/objects/transactionTemplate.d.ts +2 -2
- package/dist/types/objects/userAccessRights.d.ts +69 -69
- package/dist/types/objects/view.d.ts +20 -38
- package/dist/types/remotingScriptingObject.d.ts +1 -1
- package/dist/types/scriptingObjectEventList.d.ts +7 -0
- package/dist/types/scriptingObjectList.d.ts +1 -1
- package/package.json +2 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* user access rights object
|
|
3
3
|
*/
|
|
4
|
-
export
|
|
4
|
+
export type UserAccessRights = {
|
|
5
5
|
access: string[];
|
|
6
6
|
additionalServices: AdditionalServices;
|
|
7
7
|
ausTracking: AusTracking;
|
|
@@ -65,123 +65,123 @@ export declare type UserAccessRights = {
|
|
|
65
65
|
encompassWebServices: EncompassWebServices;
|
|
66
66
|
underwritingCenter: UnderwritingCenter;
|
|
67
67
|
};
|
|
68
|
-
export
|
|
68
|
+
export type AdditionalServices = {
|
|
69
69
|
access: boolean;
|
|
70
70
|
rights: string[];
|
|
71
71
|
};
|
|
72
|
-
export
|
|
72
|
+
export type AusTracking = {
|
|
73
73
|
access: boolean;
|
|
74
74
|
rights: string[];
|
|
75
75
|
};
|
|
76
|
-
export
|
|
76
|
+
export type BorrowerContacts = {
|
|
77
77
|
access: boolean;
|
|
78
78
|
rights: string[];
|
|
79
79
|
};
|
|
80
|
-
export
|
|
80
|
+
export type BusinessContacts = {
|
|
81
81
|
access: boolean;
|
|
82
82
|
rights: string[];
|
|
83
83
|
};
|
|
84
|
-
export
|
|
84
|
+
export type BusinessRules = {
|
|
85
85
|
access: boolean;
|
|
86
86
|
rights: string[];
|
|
87
87
|
};
|
|
88
|
-
export
|
|
88
|
+
export type CompanyUserSetup = {
|
|
89
89
|
access: boolean;
|
|
90
90
|
rights: string[];
|
|
91
91
|
};
|
|
92
|
-
export
|
|
92
|
+
export type Contacts = {
|
|
93
93
|
access: boolean;
|
|
94
94
|
rights: string[];
|
|
95
95
|
};
|
|
96
|
-
export
|
|
96
|
+
export type ContactSetup = {
|
|
97
97
|
access: boolean;
|
|
98
98
|
rights: string[];
|
|
99
99
|
};
|
|
100
|
-
export
|
|
100
|
+
export type Dashboard = {
|
|
101
101
|
access: boolean;
|
|
102
102
|
rights: string[];
|
|
103
103
|
};
|
|
104
|
-
export
|
|
104
|
+
export type DisclosureTracking = {
|
|
105
105
|
access: boolean;
|
|
106
106
|
rights: string[];
|
|
107
107
|
};
|
|
108
|
-
export
|
|
108
|
+
export type DocsSetup = {
|
|
109
109
|
access: boolean;
|
|
110
110
|
rights: string[];
|
|
111
111
|
};
|
|
112
|
-
export
|
|
112
|
+
export type Documents = {
|
|
113
113
|
access: boolean;
|
|
114
114
|
rights: string[];
|
|
115
115
|
protectedDocuments: string[];
|
|
116
116
|
unprotectedDocuments: string[];
|
|
117
117
|
unassignedFiles: string[];
|
|
118
118
|
};
|
|
119
|
-
export
|
|
119
|
+
export type DynamicDataManagement = {
|
|
120
120
|
access: boolean;
|
|
121
121
|
rights: string[];
|
|
122
122
|
};
|
|
123
|
-
export
|
|
123
|
+
export type EDisclosures = {
|
|
124
124
|
access: boolean;
|
|
125
125
|
rights: string[];
|
|
126
126
|
};
|
|
127
|
-
export
|
|
127
|
+
export type EFolderHistory = {
|
|
128
128
|
access: boolean;
|
|
129
129
|
};
|
|
130
|
-
export
|
|
130
|
+
export type EFolderSetup = {
|
|
131
131
|
access: boolean;
|
|
132
132
|
rights: string[];
|
|
133
133
|
};
|
|
134
|
-
export
|
|
134
|
+
export type EVault = {
|
|
135
135
|
eVaultPortal: EVaultPortal;
|
|
136
136
|
};
|
|
137
|
-
export
|
|
137
|
+
export type EVaultPortal = {
|
|
138
138
|
access: boolean;
|
|
139
139
|
rights: string[];
|
|
140
140
|
};
|
|
141
|
-
export
|
|
141
|
+
export type FileContacts = {
|
|
142
142
|
access: boolean;
|
|
143
143
|
rights: string[];
|
|
144
144
|
grantWriteAccess: GrantWriteAccess;
|
|
145
145
|
};
|
|
146
|
-
export
|
|
146
|
+
export type GrantWriteAccess = {
|
|
147
147
|
access: boolean;
|
|
148
148
|
loanTeam: LoanTeam[];
|
|
149
149
|
};
|
|
150
|
-
export
|
|
150
|
+
export type LoanTeam = {
|
|
151
151
|
role: Role;
|
|
152
152
|
};
|
|
153
|
-
export
|
|
153
|
+
export type Role = {
|
|
154
154
|
entityId: string;
|
|
155
155
|
entityName: string;
|
|
156
156
|
entityType: string;
|
|
157
157
|
};
|
|
158
|
-
export
|
|
158
|
+
export type Form = {
|
|
159
159
|
entityId: string;
|
|
160
160
|
entityName: string;
|
|
161
161
|
entityType: string;
|
|
162
162
|
};
|
|
163
|
-
export
|
|
163
|
+
export type GseServices = {
|
|
164
164
|
access: boolean;
|
|
165
165
|
rights: string[];
|
|
166
166
|
};
|
|
167
|
-
export
|
|
167
|
+
export type ImportLoan = {
|
|
168
168
|
entityId: string;
|
|
169
169
|
entityType: string;
|
|
170
170
|
};
|
|
171
|
-
export
|
|
171
|
+
export type Service = {
|
|
172
172
|
category: string;
|
|
173
173
|
accessSetting: string;
|
|
174
174
|
defaultAccess: string;
|
|
175
175
|
};
|
|
176
|
-
export
|
|
176
|
+
export type LoanSetup = {
|
|
177
177
|
access: boolean;
|
|
178
178
|
rights: string[];
|
|
179
179
|
};
|
|
180
|
-
export
|
|
180
|
+
export type ManageServiceProviders = {
|
|
181
181
|
accessSetting: string;
|
|
182
182
|
rights: string[];
|
|
183
183
|
};
|
|
184
|
-
export
|
|
184
|
+
export type MilestoneWorkflowManagement = {
|
|
185
185
|
acceptFiles: AcceptFile[];
|
|
186
186
|
returnFiles: ReturnFile[];
|
|
187
187
|
changeExpectedDate: ChangeExpectedDate[];
|
|
@@ -189,159 +189,159 @@ export declare type MilestoneWorkflowManagement = {
|
|
|
189
189
|
assignLoanTeamMembers: AssignLoanTeamMember[];
|
|
190
190
|
editComments: EditComment[];
|
|
191
191
|
};
|
|
192
|
-
export
|
|
192
|
+
export type AcceptFile = {
|
|
193
193
|
entityId: string;
|
|
194
194
|
entityName: string;
|
|
195
195
|
entityType: string;
|
|
196
196
|
};
|
|
197
|
-
export
|
|
197
|
+
export type ReturnFile = {
|
|
198
198
|
entityId: string;
|
|
199
199
|
entityName: string;
|
|
200
200
|
entityType: string;
|
|
201
201
|
};
|
|
202
|
-
export
|
|
202
|
+
export type ChangeExpectedDate = {
|
|
203
203
|
entityId: string;
|
|
204
204
|
entityName: string;
|
|
205
205
|
entityType: string;
|
|
206
206
|
};
|
|
207
|
-
export
|
|
207
|
+
export type FinishMilestone = {
|
|
208
208
|
entityId: string;
|
|
209
209
|
entityName: string;
|
|
210
210
|
entityType: string;
|
|
211
211
|
};
|
|
212
|
-
export
|
|
212
|
+
export type AssignLoanTeamMember = {
|
|
213
213
|
milestone: Milestone;
|
|
214
214
|
role?: Role2;
|
|
215
215
|
};
|
|
216
|
-
export
|
|
216
|
+
export type Milestone = {
|
|
217
217
|
entityId: string;
|
|
218
218
|
entityName: string;
|
|
219
219
|
entityType: string;
|
|
220
220
|
};
|
|
221
|
-
export
|
|
221
|
+
export type Role2 = {
|
|
222
222
|
entityId: string;
|
|
223
223
|
entityName: string;
|
|
224
224
|
entityType: string;
|
|
225
225
|
};
|
|
226
|
-
export
|
|
226
|
+
export type EditComment = {
|
|
227
227
|
entityId: string;
|
|
228
228
|
entityName: string;
|
|
229
229
|
entityType: string;
|
|
230
230
|
};
|
|
231
|
-
export
|
|
231
|
+
export type MoveLoans = {
|
|
232
232
|
access: boolean;
|
|
233
233
|
moveFrom: MoveFrom[];
|
|
234
234
|
moveTo: MoveTo[];
|
|
235
235
|
};
|
|
236
|
-
export
|
|
236
|
+
export type MoveFrom = {
|
|
237
237
|
entityId: string;
|
|
238
238
|
entityType: string;
|
|
239
239
|
};
|
|
240
|
-
export
|
|
240
|
+
export type MoveTo = {
|
|
241
241
|
entityId: string;
|
|
242
242
|
entityType: string;
|
|
243
243
|
};
|
|
244
|
-
export
|
|
244
|
+
export type PersonalTemplates = {
|
|
245
245
|
access: boolean;
|
|
246
246
|
rights: string[];
|
|
247
247
|
};
|
|
248
|
-
export
|
|
248
|
+
export type Pipeline = {
|
|
249
249
|
access: boolean;
|
|
250
250
|
pipelineTasks: string[];
|
|
251
251
|
pipelineViews: PipelineView[];
|
|
252
252
|
nonAccessibleColumns: unknown[];
|
|
253
253
|
};
|
|
254
|
-
export
|
|
254
|
+
export type PipelineView = {
|
|
255
255
|
entityId: string;
|
|
256
256
|
entityName: string;
|
|
257
257
|
entityType: string;
|
|
258
258
|
};
|
|
259
|
-
export
|
|
259
|
+
export type ExportServices = {
|
|
260
260
|
accessSetting: string;
|
|
261
261
|
defaultAccess: string;
|
|
262
262
|
};
|
|
263
|
-
export
|
|
263
|
+
export type PostClosingConditions = {
|
|
264
264
|
access: boolean;
|
|
265
265
|
rights: string[];
|
|
266
266
|
};
|
|
267
|
-
export
|
|
267
|
+
export type PreliminaryConditions = {
|
|
268
268
|
access: boolean;
|
|
269
269
|
rights: string[];
|
|
270
270
|
};
|
|
271
|
-
export
|
|
271
|
+
export type PurchaseConditions = {
|
|
272
272
|
access: boolean;
|
|
273
273
|
rights: string[];
|
|
274
274
|
};
|
|
275
|
-
export
|
|
275
|
+
export type Print = {
|
|
276
276
|
access: boolean;
|
|
277
277
|
rights: string[];
|
|
278
278
|
};
|
|
279
|
-
export
|
|
279
|
+
export type SecondarySetup = {
|
|
280
280
|
access: boolean;
|
|
281
281
|
rights: string[];
|
|
282
282
|
};
|
|
283
|
-
export
|
|
283
|
+
export type DeliveryConditions = {
|
|
284
284
|
access: boolean;
|
|
285
285
|
rights: string[];
|
|
286
286
|
};
|
|
287
|
-
export
|
|
287
|
+
export type SystemAdministration = {
|
|
288
288
|
access: boolean;
|
|
289
289
|
rights: string[];
|
|
290
290
|
};
|
|
291
|
-
export
|
|
291
|
+
export type TablesAndFees = {
|
|
292
292
|
access: boolean;
|
|
293
293
|
rights: string[];
|
|
294
294
|
};
|
|
295
|
-
export
|
|
295
|
+
export type Tool = {
|
|
296
296
|
entityName: string;
|
|
297
297
|
};
|
|
298
|
-
export
|
|
298
|
+
export type TpoCompanyDetails = {
|
|
299
299
|
access: boolean;
|
|
300
300
|
rights: string[];
|
|
301
301
|
};
|
|
302
|
-
export
|
|
302
|
+
export type TpoConnectSiteSettings = {
|
|
303
303
|
access: boolean;
|
|
304
304
|
rights: string[];
|
|
305
305
|
};
|
|
306
|
-
export
|
|
306
|
+
export type TpoContacts = {
|
|
307
307
|
access: boolean;
|
|
308
308
|
rights: string[];
|
|
309
309
|
};
|
|
310
|
-
export
|
|
310
|
+
export type TpoFees = {
|
|
311
311
|
access: boolean;
|
|
312
312
|
rights: string[];
|
|
313
313
|
};
|
|
314
|
-
export
|
|
314
|
+
export type TpoInformation = {
|
|
315
315
|
access: boolean;
|
|
316
316
|
rights: string[];
|
|
317
317
|
};
|
|
318
|
-
export
|
|
318
|
+
export type TpoOrganizationSettings = {
|
|
319
319
|
access: boolean;
|
|
320
320
|
rights: string[];
|
|
321
321
|
};
|
|
322
|
-
export
|
|
322
|
+
export type TqlServices = {
|
|
323
323
|
access: boolean;
|
|
324
324
|
rights: string[];
|
|
325
325
|
};
|
|
326
|
-
export
|
|
326
|
+
export type Trades = {
|
|
327
327
|
access: boolean;
|
|
328
328
|
rights: string[];
|
|
329
329
|
};
|
|
330
|
-
export
|
|
330
|
+
export type UnderwritingConditions = {
|
|
331
331
|
access: boolean;
|
|
332
332
|
rights: string[];
|
|
333
333
|
};
|
|
334
|
-
export
|
|
334
|
+
export type EnhancedConditions = {
|
|
335
335
|
access: boolean;
|
|
336
336
|
conditionType: ConditionType;
|
|
337
337
|
};
|
|
338
|
-
export
|
|
338
|
+
export type ConditionType = {
|
|
339
339
|
'Investor Delivery': string[];
|
|
340
340
|
'Post-Closing': string[];
|
|
341
341
|
Preliminary: string[];
|
|
342
342
|
Underwriting: string[];
|
|
343
343
|
};
|
|
344
|
-
export
|
|
344
|
+
export type LoConnectTasks = {
|
|
345
345
|
access: boolean;
|
|
346
346
|
rights: string[];
|
|
347
347
|
customForms: unknown[];
|
|
@@ -349,16 +349,16 @@ export declare type LoConnectTasks = {
|
|
|
349
349
|
globalApplications: unknown[];
|
|
350
350
|
standardWebForms: StandardWebForm[];
|
|
351
351
|
};
|
|
352
|
-
export
|
|
352
|
+
export type StandardWebForm = {
|
|
353
353
|
formName: string;
|
|
354
354
|
access: boolean;
|
|
355
355
|
formID: number;
|
|
356
356
|
};
|
|
357
|
-
export
|
|
357
|
+
export type EncompassWebServices = {
|
|
358
358
|
access: boolean;
|
|
359
359
|
rights: string[];
|
|
360
360
|
};
|
|
361
|
-
export
|
|
361
|
+
export type UnderwritingCenter = {
|
|
362
362
|
access: boolean;
|
|
363
363
|
rights: string[];
|
|
364
364
|
};
|
|
@@ -4,11 +4,11 @@ import { IScriptingObject } from '../scriptingObject.js';
|
|
|
4
4
|
/**
|
|
5
5
|
* window viewport size
|
|
6
6
|
*/
|
|
7
|
-
export
|
|
7
|
+
export type ViewportSize = {
|
|
8
8
|
width: number;
|
|
9
9
|
height: number;
|
|
10
10
|
};
|
|
11
|
-
|
|
11
|
+
type ViewportSizeInfo = {
|
|
12
12
|
/**
|
|
13
13
|
* details about the resize event
|
|
14
14
|
*/
|
|
@@ -17,33 +17,17 @@ declare type ViewportSizeInfo = {
|
|
|
17
17
|
/**
|
|
18
18
|
* parent window resize event handler
|
|
19
19
|
*/
|
|
20
|
-
export
|
|
20
|
+
export type ViewResizeListener = Listener<IView, ViewportSizeInfo, Record<string, unknown>, void>;
|
|
21
21
|
/**
|
|
22
22
|
* event to notify window viewport resize operation
|
|
23
23
|
*/
|
|
24
24
|
export interface IViewResizeEvent extends IEvent {
|
|
25
|
-
/**
|
|
26
|
-
* event name
|
|
27
|
-
*/
|
|
28
|
-
readonly name: 'Resize';
|
|
29
|
-
/**
|
|
30
|
-
* scripting object from where the event is fired
|
|
31
|
-
*/
|
|
32
|
-
readonly objectId: 'View';
|
|
33
|
-
/**
|
|
34
|
-
* event does not require feedback from listeners
|
|
35
|
-
*/
|
|
36
|
-
readonly requiresFeedback: false;
|
|
37
25
|
/**
|
|
38
26
|
* event parameters
|
|
39
27
|
*/
|
|
40
28
|
readonly params: ViewportSizeInfo;
|
|
41
|
-
/**
|
|
42
|
-
* subscribe to the event
|
|
43
|
-
*/
|
|
44
|
-
subscribe: (callback: ViewResizeListener) => string;
|
|
45
29
|
}
|
|
46
|
-
|
|
30
|
+
type BreakpointInfo = {
|
|
47
31
|
/**
|
|
48
32
|
* current breakpoint of the parent window
|
|
49
33
|
*/
|
|
@@ -52,32 +36,26 @@ declare type BreakpointInfo = {
|
|
|
52
36
|
/**
|
|
53
37
|
* parent window breakpoint change event handler
|
|
54
38
|
*/
|
|
55
|
-
export
|
|
39
|
+
export type BreakpointChangeListener = Listener<IView, BreakpointInfo, Record<string, unknown>, void>;
|
|
56
40
|
/**
|
|
57
41
|
* event to notify window viewport breakpoint change
|
|
58
42
|
*/
|
|
59
43
|
export interface IViewBreakpointChangeEvent extends IEvent {
|
|
60
|
-
/**
|
|
61
|
-
* event name
|
|
62
|
-
*/
|
|
63
|
-
readonly name: 'BreakpointChange';
|
|
64
|
-
/**
|
|
65
|
-
* scripting object from where the event is fired
|
|
66
|
-
*/
|
|
67
|
-
readonly objectId: 'View';
|
|
68
|
-
/**
|
|
69
|
-
* event does not require feedback from listeners
|
|
70
|
-
*/
|
|
71
|
-
readonly requiresFeedback: false;
|
|
72
44
|
/**
|
|
73
45
|
* event parameters
|
|
74
46
|
*/
|
|
75
47
|
readonly params: BreakpointInfo;
|
|
48
|
+
}
|
|
49
|
+
export type ViewEvents = {
|
|
76
50
|
/**
|
|
77
|
-
*
|
|
51
|
+
* eent is fired when the parent window is resized
|
|
78
52
|
*/
|
|
79
|
-
|
|
80
|
-
|
|
53
|
+
'view.resize': ViewResizeListener;
|
|
54
|
+
/**
|
|
55
|
+
* event is fired when the parent window's breakpoint changes
|
|
56
|
+
*/
|
|
57
|
+
'view.breakpointChange': BreakpointChangeListener;
|
|
58
|
+
};
|
|
81
59
|
/**
|
|
82
60
|
* Methods view, modify parent's window attributes
|
|
83
61
|
*/
|
|
@@ -85,11 +63,15 @@ export interface IView extends IScriptingObject {
|
|
|
85
63
|
/**
|
|
86
64
|
* event fired when the window is resized
|
|
87
65
|
*/
|
|
88
|
-
readonly Resize:
|
|
66
|
+
readonly Resize: {
|
|
67
|
+
new (): IViewResizeEvent;
|
|
68
|
+
};
|
|
89
69
|
/**
|
|
90
70
|
* event fired when the window breakpoint changes
|
|
91
71
|
*/
|
|
92
|
-
readonly BreakpointChange:
|
|
72
|
+
readonly BreakpointChange: {
|
|
73
|
+
new (): IViewBreakpointChangeEvent;
|
|
74
|
+
};
|
|
93
75
|
/**
|
|
94
76
|
* Get the current breakpoint of the parent window
|
|
95
77
|
*/
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ApplicationEvents } from './objects/application.js';
|
|
2
|
+
import { FormEvents } from './objects/form.js';
|
|
3
|
+
import { GlobalEvents } from './objects/global.js';
|
|
4
|
+
import { LoanEvents } from './objects/loan.js';
|
|
5
|
+
import { ModuleEvents } from './objects/module.js';
|
|
6
|
+
import { ViewEvents } from './objects/view.js';
|
|
7
|
+
export type ScriptingObjectEvents = ApplicationEvents & FormEvents & GlobalEvents & LoanEvents & ModuleEvents & ViewEvents;
|
|
@@ -18,7 +18,7 @@ import { IService } from './objects/service.js';
|
|
|
18
18
|
/**
|
|
19
19
|
* list of scripting object names and their types
|
|
20
20
|
*/
|
|
21
|
-
export
|
|
21
|
+
export type ScriptingObjects = {
|
|
22
22
|
Analytics: IAnalytics;
|
|
23
23
|
Application: IApplication;
|
|
24
24
|
Auth: IAuth;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/pui-scripting-object",
|
|
3
|
-
"version": "1.16.
|
|
3
|
+
"version": "1.16.6",
|
|
4
4
|
"description": "Typescript defintions for Scripting Objects",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "./dist/cjs/index.js",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"@elliemae/browserslist-config-elliemae-latest-browsers": "~1.5.0",
|
|
70
|
-
"@elliemae/pui-cli": "~7.
|
|
70
|
+
"@elliemae/pui-cli": "~7.16.0",
|
|
71
71
|
"@elliemae/pui-doc-gen": "~1.3.0",
|
|
72
72
|
"@elliemae/pui-theme": "~2.6.0",
|
|
73
73
|
"@types/styled-components": "~5.1.26",
|