@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.
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * user access rights object
3
3
  */
4
- export declare type UserAccessRights = {
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 declare type AdditionalServices = {
68
+ export type AdditionalServices = {
69
69
  access: boolean;
70
70
  rights: string[];
71
71
  };
72
- export declare type AusTracking = {
72
+ export type AusTracking = {
73
73
  access: boolean;
74
74
  rights: string[];
75
75
  };
76
- export declare type BorrowerContacts = {
76
+ export type BorrowerContacts = {
77
77
  access: boolean;
78
78
  rights: string[];
79
79
  };
80
- export declare type BusinessContacts = {
80
+ export type BusinessContacts = {
81
81
  access: boolean;
82
82
  rights: string[];
83
83
  };
84
- export declare type BusinessRules = {
84
+ export type BusinessRules = {
85
85
  access: boolean;
86
86
  rights: string[];
87
87
  };
88
- export declare type CompanyUserSetup = {
88
+ export type CompanyUserSetup = {
89
89
  access: boolean;
90
90
  rights: string[];
91
91
  };
92
- export declare type Contacts = {
92
+ export type Contacts = {
93
93
  access: boolean;
94
94
  rights: string[];
95
95
  };
96
- export declare type ContactSetup = {
96
+ export type ContactSetup = {
97
97
  access: boolean;
98
98
  rights: string[];
99
99
  };
100
- export declare type Dashboard = {
100
+ export type Dashboard = {
101
101
  access: boolean;
102
102
  rights: string[];
103
103
  };
104
- export declare type DisclosureTracking = {
104
+ export type DisclosureTracking = {
105
105
  access: boolean;
106
106
  rights: string[];
107
107
  };
108
- export declare type DocsSetup = {
108
+ export type DocsSetup = {
109
109
  access: boolean;
110
110
  rights: string[];
111
111
  };
112
- export declare type Documents = {
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 declare type DynamicDataManagement = {
119
+ export type DynamicDataManagement = {
120
120
  access: boolean;
121
121
  rights: string[];
122
122
  };
123
- export declare type EDisclosures = {
123
+ export type EDisclosures = {
124
124
  access: boolean;
125
125
  rights: string[];
126
126
  };
127
- export declare type EFolderHistory = {
127
+ export type EFolderHistory = {
128
128
  access: boolean;
129
129
  };
130
- export declare type EFolderSetup = {
130
+ export type EFolderSetup = {
131
131
  access: boolean;
132
132
  rights: string[];
133
133
  };
134
- export declare type EVault = {
134
+ export type EVault = {
135
135
  eVaultPortal: EVaultPortal;
136
136
  };
137
- export declare type EVaultPortal = {
137
+ export type EVaultPortal = {
138
138
  access: boolean;
139
139
  rights: string[];
140
140
  };
141
- export declare type FileContacts = {
141
+ export type FileContacts = {
142
142
  access: boolean;
143
143
  rights: string[];
144
144
  grantWriteAccess: GrantWriteAccess;
145
145
  };
146
- export declare type GrantWriteAccess = {
146
+ export type GrantWriteAccess = {
147
147
  access: boolean;
148
148
  loanTeam: LoanTeam[];
149
149
  };
150
- export declare type LoanTeam = {
150
+ export type LoanTeam = {
151
151
  role: Role;
152
152
  };
153
- export declare type Role = {
153
+ export type Role = {
154
154
  entityId: string;
155
155
  entityName: string;
156
156
  entityType: string;
157
157
  };
158
- export declare type Form = {
158
+ export type Form = {
159
159
  entityId: string;
160
160
  entityName: string;
161
161
  entityType: string;
162
162
  };
163
- export declare type GseServices = {
163
+ export type GseServices = {
164
164
  access: boolean;
165
165
  rights: string[];
166
166
  };
167
- export declare type ImportLoan = {
167
+ export type ImportLoan = {
168
168
  entityId: string;
169
169
  entityType: string;
170
170
  };
171
- export declare type Service = {
171
+ export type Service = {
172
172
  category: string;
173
173
  accessSetting: string;
174
174
  defaultAccess: string;
175
175
  };
176
- export declare type LoanSetup = {
176
+ export type LoanSetup = {
177
177
  access: boolean;
178
178
  rights: string[];
179
179
  };
180
- export declare type ManageServiceProviders = {
180
+ export type ManageServiceProviders = {
181
181
  accessSetting: string;
182
182
  rights: string[];
183
183
  };
184
- export declare type MilestoneWorkflowManagement = {
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 declare type AcceptFile = {
192
+ export type AcceptFile = {
193
193
  entityId: string;
194
194
  entityName: string;
195
195
  entityType: string;
196
196
  };
197
- export declare type ReturnFile = {
197
+ export type ReturnFile = {
198
198
  entityId: string;
199
199
  entityName: string;
200
200
  entityType: string;
201
201
  };
202
- export declare type ChangeExpectedDate = {
202
+ export type ChangeExpectedDate = {
203
203
  entityId: string;
204
204
  entityName: string;
205
205
  entityType: string;
206
206
  };
207
- export declare type FinishMilestone = {
207
+ export type FinishMilestone = {
208
208
  entityId: string;
209
209
  entityName: string;
210
210
  entityType: string;
211
211
  };
212
- export declare type AssignLoanTeamMember = {
212
+ export type AssignLoanTeamMember = {
213
213
  milestone: Milestone;
214
214
  role?: Role2;
215
215
  };
216
- export declare type Milestone = {
216
+ export type Milestone = {
217
217
  entityId: string;
218
218
  entityName: string;
219
219
  entityType: string;
220
220
  };
221
- export declare type Role2 = {
221
+ export type Role2 = {
222
222
  entityId: string;
223
223
  entityName: string;
224
224
  entityType: string;
225
225
  };
226
- export declare type EditComment = {
226
+ export type EditComment = {
227
227
  entityId: string;
228
228
  entityName: string;
229
229
  entityType: string;
230
230
  };
231
- export declare type MoveLoans = {
231
+ export type MoveLoans = {
232
232
  access: boolean;
233
233
  moveFrom: MoveFrom[];
234
234
  moveTo: MoveTo[];
235
235
  };
236
- export declare type MoveFrom = {
236
+ export type MoveFrom = {
237
237
  entityId: string;
238
238
  entityType: string;
239
239
  };
240
- export declare type MoveTo = {
240
+ export type MoveTo = {
241
241
  entityId: string;
242
242
  entityType: string;
243
243
  };
244
- export declare type PersonalTemplates = {
244
+ export type PersonalTemplates = {
245
245
  access: boolean;
246
246
  rights: string[];
247
247
  };
248
- export declare type Pipeline = {
248
+ export type Pipeline = {
249
249
  access: boolean;
250
250
  pipelineTasks: string[];
251
251
  pipelineViews: PipelineView[];
252
252
  nonAccessibleColumns: unknown[];
253
253
  };
254
- export declare type PipelineView = {
254
+ export type PipelineView = {
255
255
  entityId: string;
256
256
  entityName: string;
257
257
  entityType: string;
258
258
  };
259
- export declare type ExportServices = {
259
+ export type ExportServices = {
260
260
  accessSetting: string;
261
261
  defaultAccess: string;
262
262
  };
263
- export declare type PostClosingConditions = {
263
+ export type PostClosingConditions = {
264
264
  access: boolean;
265
265
  rights: string[];
266
266
  };
267
- export declare type PreliminaryConditions = {
267
+ export type PreliminaryConditions = {
268
268
  access: boolean;
269
269
  rights: string[];
270
270
  };
271
- export declare type PurchaseConditions = {
271
+ export type PurchaseConditions = {
272
272
  access: boolean;
273
273
  rights: string[];
274
274
  };
275
- export declare type Print = {
275
+ export type Print = {
276
276
  access: boolean;
277
277
  rights: string[];
278
278
  };
279
- export declare type SecondarySetup = {
279
+ export type SecondarySetup = {
280
280
  access: boolean;
281
281
  rights: string[];
282
282
  };
283
- export declare type DeliveryConditions = {
283
+ export type DeliveryConditions = {
284
284
  access: boolean;
285
285
  rights: string[];
286
286
  };
287
- export declare type SystemAdministration = {
287
+ export type SystemAdministration = {
288
288
  access: boolean;
289
289
  rights: string[];
290
290
  };
291
- export declare type TablesAndFees = {
291
+ export type TablesAndFees = {
292
292
  access: boolean;
293
293
  rights: string[];
294
294
  };
295
- export declare type Tool = {
295
+ export type Tool = {
296
296
  entityName: string;
297
297
  };
298
- export declare type TpoCompanyDetails = {
298
+ export type TpoCompanyDetails = {
299
299
  access: boolean;
300
300
  rights: string[];
301
301
  };
302
- export declare type TpoConnectSiteSettings = {
302
+ export type TpoConnectSiteSettings = {
303
303
  access: boolean;
304
304
  rights: string[];
305
305
  };
306
- export declare type TpoContacts = {
306
+ export type TpoContacts = {
307
307
  access: boolean;
308
308
  rights: string[];
309
309
  };
310
- export declare type TpoFees = {
310
+ export type TpoFees = {
311
311
  access: boolean;
312
312
  rights: string[];
313
313
  };
314
- export declare type TpoInformation = {
314
+ export type TpoInformation = {
315
315
  access: boolean;
316
316
  rights: string[];
317
317
  };
318
- export declare type TpoOrganizationSettings = {
318
+ export type TpoOrganizationSettings = {
319
319
  access: boolean;
320
320
  rights: string[];
321
321
  };
322
- export declare type TqlServices = {
322
+ export type TqlServices = {
323
323
  access: boolean;
324
324
  rights: string[];
325
325
  };
326
- export declare type Trades = {
326
+ export type Trades = {
327
327
  access: boolean;
328
328
  rights: string[];
329
329
  };
330
- export declare type UnderwritingConditions = {
330
+ export type UnderwritingConditions = {
331
331
  access: boolean;
332
332
  rights: string[];
333
333
  };
334
- export declare type EnhancedConditions = {
334
+ export type EnhancedConditions = {
335
335
  access: boolean;
336
336
  conditionType: ConditionType;
337
337
  };
338
- export declare type ConditionType = {
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 declare type LoConnectTasks = {
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 declare type StandardWebForm = {
352
+ export type StandardWebForm = {
353
353
  formName: string;
354
354
  access: boolean;
355
355
  formID: number;
356
356
  };
357
- export declare type EncompassWebServices = {
357
+ export type EncompassWebServices = {
358
358
  access: boolean;
359
359
  rights: string[];
360
360
  };
361
- export declare type UnderwritingCenter = {
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 declare type ViewportSize = {
7
+ export type ViewportSize = {
8
8
  width: number;
9
9
  height: number;
10
10
  };
11
- declare type ViewportSizeInfo = {
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 declare type ViewResizeListener = Listener<IView, ViewportSizeInfo, Record<string, unknown>, void>;
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
- declare type BreakpointInfo = {
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 declare type BreakpointChangeListener = Listener<IView, BreakpointInfo, Record<string, unknown>, void>;
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
- * subscribe to the event
51
+ * eent is fired when the parent window is resized
78
52
  */
79
- subscribe: (callback: BreakpointChangeListener) => string;
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: IViewResizeEvent;
66
+ readonly Resize: {
67
+ new (): IViewResizeEvent;
68
+ };
89
69
  /**
90
70
  * event fired when the window breakpoint changes
91
71
  */
92
- readonly BreakpointChange: IViewBreakpointChangeEvent;
72
+ readonly BreakpointChange: {
73
+ new (): IViewBreakpointChangeEvent;
74
+ };
93
75
  /**
94
76
  * Get the current breakpoint of the parent window
95
77
  */
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * serialized scripting object
3
3
  */
4
- export declare type RemotingScriptingObject = {
4
+ export type RemotingScriptingObject = {
5
5
  /**
6
6
  * id of the scripting object
7
7
  */
@@ -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 declare type ScriptingObjects = {
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.5",
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.14.1",
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",