@elliemae/pui-scripting-object 1.4.0 → 1.5.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.
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
var userAccessRights_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(userAccessRights_exports);
|
|
File without changes
|
package/dist/types/auth.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { UserAccessRights } from './userAccessRights';
|
|
1
2
|
export declare type Personas = {
|
|
2
3
|
entityId: string;
|
|
3
4
|
entityType: string;
|
|
@@ -32,4 +33,5 @@ export interface IAuth {
|
|
|
32
33
|
createAuthCode(clientId: string): Promise<string>;
|
|
33
34
|
getAccessToken(appInfo: PluginInfo): Promise<TokenInfo>;
|
|
34
35
|
getUser(): Promise<User>;
|
|
36
|
+
getUserAccessRights(): Promise<UserAccessRights>;
|
|
35
37
|
}
|
package/dist/types/loan.d.ts
CHANGED
|
@@ -27,7 +27,17 @@ export interface ILoan {
|
|
|
27
27
|
*/
|
|
28
28
|
all(): Promise<Record<string, any>>;
|
|
29
29
|
apply(loan: Record<string, string>): Promise<void>;
|
|
30
|
-
|
|
30
|
+
/**
|
|
31
|
+
* Commits changes to the Loan object
|
|
32
|
+
*
|
|
33
|
+
* @returns v3 Loan Object
|
|
34
|
+
*
|
|
35
|
+
* #### Product Compatibility:
|
|
36
|
+
* | | Encompass | Encompass Web | TPO | Consumer Connect |
|
|
37
|
+
* :-----:|:-----: |:-----: |:-----: |:-----: |
|
|
38
|
+
* | all | ✔ | ✔ | ✔ | ✖️ |
|
|
39
|
+
*/
|
|
40
|
+
commit(): Promise<Record<string, any>>;
|
|
31
41
|
getField(id: string): Promise<string>;
|
|
32
42
|
/**
|
|
33
43
|
* get options for list of fields
|
|
@@ -0,0 +1,361 @@
|
|
|
1
|
+
export interface UserAccessRights {
|
|
2
|
+
access: string[];
|
|
3
|
+
additionalServices: AdditionalServices;
|
|
4
|
+
ausTracking: AusTracking;
|
|
5
|
+
borrowerContacts: BorrowerContacts;
|
|
6
|
+
businessContacts: BusinessContacts;
|
|
7
|
+
businessRules: BusinessRules;
|
|
8
|
+
closingDocs: string[];
|
|
9
|
+
companyUserSetup: CompanyUserSetup;
|
|
10
|
+
contacts: Contacts;
|
|
11
|
+
contactSetup: ContactSetup;
|
|
12
|
+
consumerConnect: string[];
|
|
13
|
+
dashboard: Dashboard;
|
|
14
|
+
disclosureTracking: DisclosureTracking;
|
|
15
|
+
docsSetup: DocsSetup;
|
|
16
|
+
documents: Documents;
|
|
17
|
+
dynamicDataManagement: DynamicDataManagement;
|
|
18
|
+
eDisclosures: EDisclosures;
|
|
19
|
+
eFolderHistory: EFolderHistory;
|
|
20
|
+
eFolderSetup: EFolderSetup;
|
|
21
|
+
externalSettings: string[];
|
|
22
|
+
eVault: EVault;
|
|
23
|
+
fileContacts: FileContacts;
|
|
24
|
+
forms: Form[];
|
|
25
|
+
gseServices: GseServices;
|
|
26
|
+
home: string[];
|
|
27
|
+
importLoans: ImportLoan[];
|
|
28
|
+
services: Service[];
|
|
29
|
+
itemizationFee: string[];
|
|
30
|
+
loan: string[];
|
|
31
|
+
loanSetup: LoanSetup;
|
|
32
|
+
manageServiceProviders: ManageServiceProviders;
|
|
33
|
+
milestoneWorkflowManagement: MilestoneWorkflowManagement;
|
|
34
|
+
moveLoans: MoveLoans;
|
|
35
|
+
personalSettings: string[];
|
|
36
|
+
personalTemplates: PersonalTemplates;
|
|
37
|
+
pipeline: Pipeline;
|
|
38
|
+
exportServices: ExportServices;
|
|
39
|
+
postClosingConditions: PostClosingConditions;
|
|
40
|
+
preliminaryConditions: PreliminaryConditions;
|
|
41
|
+
purchaseConditions: PurchaseConditions;
|
|
42
|
+
reports: string[];
|
|
43
|
+
print: Print;
|
|
44
|
+
secondarySetup: SecondarySetup;
|
|
45
|
+
deliveryConditions: DeliveryConditions;
|
|
46
|
+
settings: string[];
|
|
47
|
+
smartClient: string[];
|
|
48
|
+
systemAdministration: SystemAdministration;
|
|
49
|
+
tablesAndFees: TablesAndFees;
|
|
50
|
+
tools: Tool[];
|
|
51
|
+
tpoCompanyDetails: TpoCompanyDetails;
|
|
52
|
+
tpoConnectSiteSettings: TpoConnectSiteSettings;
|
|
53
|
+
tpoContacts: TpoContacts;
|
|
54
|
+
tpoFees: TpoFees;
|
|
55
|
+
tpoInformation: TpoInformation;
|
|
56
|
+
tpoOrganizationSettings: TpoOrganizationSettings;
|
|
57
|
+
tqlServices: TqlServices;
|
|
58
|
+
trades: Trades;
|
|
59
|
+
underwritingConditions: UnderwritingConditions;
|
|
60
|
+
enhancedConditions: EnhancedConditions;
|
|
61
|
+
loConnectTasks: LoConnectTasks;
|
|
62
|
+
encompassWebServices: EncompassWebServices;
|
|
63
|
+
underwritingCenter: UnderwritingCenter;
|
|
64
|
+
}
|
|
65
|
+
export interface AdditionalServices {
|
|
66
|
+
access: boolean;
|
|
67
|
+
rights: string[];
|
|
68
|
+
}
|
|
69
|
+
export interface AusTracking {
|
|
70
|
+
access: boolean;
|
|
71
|
+
rights: string[];
|
|
72
|
+
}
|
|
73
|
+
export interface BorrowerContacts {
|
|
74
|
+
access: boolean;
|
|
75
|
+
rights: string[];
|
|
76
|
+
}
|
|
77
|
+
export interface BusinessContacts {
|
|
78
|
+
access: boolean;
|
|
79
|
+
rights: string[];
|
|
80
|
+
}
|
|
81
|
+
export interface BusinessRules {
|
|
82
|
+
access: boolean;
|
|
83
|
+
rights: string[];
|
|
84
|
+
}
|
|
85
|
+
export interface CompanyUserSetup {
|
|
86
|
+
access: boolean;
|
|
87
|
+
rights: string[];
|
|
88
|
+
}
|
|
89
|
+
export interface Contacts {
|
|
90
|
+
access: boolean;
|
|
91
|
+
rights: string[];
|
|
92
|
+
}
|
|
93
|
+
export interface ContactSetup {
|
|
94
|
+
access: boolean;
|
|
95
|
+
rights: string[];
|
|
96
|
+
}
|
|
97
|
+
export interface Dashboard {
|
|
98
|
+
access: boolean;
|
|
99
|
+
rights: string[];
|
|
100
|
+
}
|
|
101
|
+
export interface DisclosureTracking {
|
|
102
|
+
access: boolean;
|
|
103
|
+
rights: string[];
|
|
104
|
+
}
|
|
105
|
+
export interface DocsSetup {
|
|
106
|
+
access: boolean;
|
|
107
|
+
rights: string[];
|
|
108
|
+
}
|
|
109
|
+
export interface Documents {
|
|
110
|
+
access: boolean;
|
|
111
|
+
rights: string[];
|
|
112
|
+
protectedDocuments: string[];
|
|
113
|
+
unprotectedDocuments: string[];
|
|
114
|
+
unassignedFiles: string[];
|
|
115
|
+
}
|
|
116
|
+
export interface DynamicDataManagement {
|
|
117
|
+
access: boolean;
|
|
118
|
+
rights: string[];
|
|
119
|
+
}
|
|
120
|
+
export interface EDisclosures {
|
|
121
|
+
access: boolean;
|
|
122
|
+
rights: string[];
|
|
123
|
+
}
|
|
124
|
+
export interface EFolderHistory {
|
|
125
|
+
access: boolean;
|
|
126
|
+
}
|
|
127
|
+
export interface EFolderSetup {
|
|
128
|
+
access: boolean;
|
|
129
|
+
rights: string[];
|
|
130
|
+
}
|
|
131
|
+
export interface EVault {
|
|
132
|
+
eVaultPortal: EVaultPortal;
|
|
133
|
+
}
|
|
134
|
+
export interface EVaultPortal {
|
|
135
|
+
access: boolean;
|
|
136
|
+
rights: string[];
|
|
137
|
+
}
|
|
138
|
+
export interface FileContacts {
|
|
139
|
+
access: boolean;
|
|
140
|
+
rights: string[];
|
|
141
|
+
grantWriteAccess: GrantWriteAccess;
|
|
142
|
+
}
|
|
143
|
+
export interface GrantWriteAccess {
|
|
144
|
+
access: boolean;
|
|
145
|
+
loanTeam: LoanTeam[];
|
|
146
|
+
}
|
|
147
|
+
export interface LoanTeam {
|
|
148
|
+
role: Role;
|
|
149
|
+
}
|
|
150
|
+
export interface Role {
|
|
151
|
+
entityId: string;
|
|
152
|
+
entityName: string;
|
|
153
|
+
entityType: string;
|
|
154
|
+
}
|
|
155
|
+
export interface Form {
|
|
156
|
+
entityId: string;
|
|
157
|
+
entityName: string;
|
|
158
|
+
entityType: string;
|
|
159
|
+
}
|
|
160
|
+
export interface GseServices {
|
|
161
|
+
access: boolean;
|
|
162
|
+
rights: string[];
|
|
163
|
+
}
|
|
164
|
+
export interface ImportLoan {
|
|
165
|
+
entityId: string;
|
|
166
|
+
entityType: string;
|
|
167
|
+
}
|
|
168
|
+
export interface Service {
|
|
169
|
+
category: string;
|
|
170
|
+
accessSetting: string;
|
|
171
|
+
defaultAccess: string;
|
|
172
|
+
}
|
|
173
|
+
export interface LoanSetup {
|
|
174
|
+
access: boolean;
|
|
175
|
+
rights: string[];
|
|
176
|
+
}
|
|
177
|
+
export interface ManageServiceProviders {
|
|
178
|
+
accessSetting: string;
|
|
179
|
+
rights: string[];
|
|
180
|
+
}
|
|
181
|
+
export interface MilestoneWorkflowManagement {
|
|
182
|
+
acceptFiles: AcceptFile[];
|
|
183
|
+
returnFiles: ReturnFile[];
|
|
184
|
+
changeExpectedDate: ChangeExpectedDate[];
|
|
185
|
+
finishMilestones: FinishMilestone[];
|
|
186
|
+
assignLoanTeamMembers: AssignLoanTeamMember[];
|
|
187
|
+
editComments: EditComment[];
|
|
188
|
+
}
|
|
189
|
+
export interface AcceptFile {
|
|
190
|
+
entityId: string;
|
|
191
|
+
entityName: string;
|
|
192
|
+
entityType: string;
|
|
193
|
+
}
|
|
194
|
+
export interface ReturnFile {
|
|
195
|
+
entityId: string;
|
|
196
|
+
entityName: string;
|
|
197
|
+
entityType: string;
|
|
198
|
+
}
|
|
199
|
+
export interface ChangeExpectedDate {
|
|
200
|
+
entityId: string;
|
|
201
|
+
entityName: string;
|
|
202
|
+
entityType: string;
|
|
203
|
+
}
|
|
204
|
+
export interface FinishMilestone {
|
|
205
|
+
entityId: string;
|
|
206
|
+
entityName: string;
|
|
207
|
+
entityType: string;
|
|
208
|
+
}
|
|
209
|
+
export interface AssignLoanTeamMember {
|
|
210
|
+
milestone: Milestone;
|
|
211
|
+
role?: Role2;
|
|
212
|
+
}
|
|
213
|
+
export interface Milestone {
|
|
214
|
+
entityId: string;
|
|
215
|
+
entityName: string;
|
|
216
|
+
entityType: string;
|
|
217
|
+
}
|
|
218
|
+
export interface Role2 {
|
|
219
|
+
entityId: string;
|
|
220
|
+
entityName: string;
|
|
221
|
+
entityType: string;
|
|
222
|
+
}
|
|
223
|
+
export interface EditComment {
|
|
224
|
+
entityId: string;
|
|
225
|
+
entityName: string;
|
|
226
|
+
entityType: string;
|
|
227
|
+
}
|
|
228
|
+
export interface MoveLoans {
|
|
229
|
+
access: boolean;
|
|
230
|
+
moveFrom: MoveFrom[];
|
|
231
|
+
moveTo: MoveTo[];
|
|
232
|
+
}
|
|
233
|
+
export interface MoveFrom {
|
|
234
|
+
entityId: string;
|
|
235
|
+
entityType: string;
|
|
236
|
+
}
|
|
237
|
+
export interface MoveTo {
|
|
238
|
+
entityId: string;
|
|
239
|
+
entityType: string;
|
|
240
|
+
}
|
|
241
|
+
export interface PersonalTemplates {
|
|
242
|
+
access: boolean;
|
|
243
|
+
rights: string[];
|
|
244
|
+
}
|
|
245
|
+
export interface Pipeline {
|
|
246
|
+
access: boolean;
|
|
247
|
+
pipelineTasks: string[];
|
|
248
|
+
pipelineViews: PipelineView[];
|
|
249
|
+
nonAccessibleColumns: any[];
|
|
250
|
+
}
|
|
251
|
+
export interface PipelineView {
|
|
252
|
+
entityId: string;
|
|
253
|
+
entityName: string;
|
|
254
|
+
entityType: string;
|
|
255
|
+
}
|
|
256
|
+
export interface ExportServices {
|
|
257
|
+
accessSetting: string;
|
|
258
|
+
defaultAccess: string;
|
|
259
|
+
}
|
|
260
|
+
export interface PostClosingConditions {
|
|
261
|
+
access: boolean;
|
|
262
|
+
rights: string[];
|
|
263
|
+
}
|
|
264
|
+
export interface PreliminaryConditions {
|
|
265
|
+
access: boolean;
|
|
266
|
+
rights: string[];
|
|
267
|
+
}
|
|
268
|
+
export interface PurchaseConditions {
|
|
269
|
+
access: boolean;
|
|
270
|
+
rights: string[];
|
|
271
|
+
}
|
|
272
|
+
export interface Print {
|
|
273
|
+
access: boolean;
|
|
274
|
+
rights: string[];
|
|
275
|
+
}
|
|
276
|
+
export interface SecondarySetup {
|
|
277
|
+
access: boolean;
|
|
278
|
+
rights: string[];
|
|
279
|
+
}
|
|
280
|
+
export interface DeliveryConditions {
|
|
281
|
+
access: boolean;
|
|
282
|
+
rights: string[];
|
|
283
|
+
}
|
|
284
|
+
export interface SystemAdministration {
|
|
285
|
+
access: boolean;
|
|
286
|
+
rights: string[];
|
|
287
|
+
}
|
|
288
|
+
export interface TablesAndFees {
|
|
289
|
+
access: boolean;
|
|
290
|
+
rights: string[];
|
|
291
|
+
}
|
|
292
|
+
export interface Tool {
|
|
293
|
+
entityName: string;
|
|
294
|
+
}
|
|
295
|
+
export interface TpoCompanyDetails {
|
|
296
|
+
access: boolean;
|
|
297
|
+
rights: string[];
|
|
298
|
+
}
|
|
299
|
+
export interface TpoConnectSiteSettings {
|
|
300
|
+
access: boolean;
|
|
301
|
+
rights: string[];
|
|
302
|
+
}
|
|
303
|
+
export interface TpoContacts {
|
|
304
|
+
access: boolean;
|
|
305
|
+
rights: string[];
|
|
306
|
+
}
|
|
307
|
+
export interface TpoFees {
|
|
308
|
+
access: boolean;
|
|
309
|
+
rights: string[];
|
|
310
|
+
}
|
|
311
|
+
export interface TpoInformation {
|
|
312
|
+
access: boolean;
|
|
313
|
+
rights: string[];
|
|
314
|
+
}
|
|
315
|
+
export interface TpoOrganizationSettings {
|
|
316
|
+
access: boolean;
|
|
317
|
+
rights: string[];
|
|
318
|
+
}
|
|
319
|
+
export interface TqlServices {
|
|
320
|
+
access: boolean;
|
|
321
|
+
rights: string[];
|
|
322
|
+
}
|
|
323
|
+
export interface Trades {
|
|
324
|
+
access: boolean;
|
|
325
|
+
rights: string[];
|
|
326
|
+
}
|
|
327
|
+
export interface UnderwritingConditions {
|
|
328
|
+
access: boolean;
|
|
329
|
+
rights: string[];
|
|
330
|
+
}
|
|
331
|
+
export interface EnhancedConditions {
|
|
332
|
+
access: boolean;
|
|
333
|
+
conditionType: ConditionType;
|
|
334
|
+
}
|
|
335
|
+
export interface ConditionType {
|
|
336
|
+
'Investor Delivery': string[];
|
|
337
|
+
'Post-Closing': string[];
|
|
338
|
+
Preliminary: string[];
|
|
339
|
+
Underwriting: string[];
|
|
340
|
+
}
|
|
341
|
+
export interface LoConnectTasks {
|
|
342
|
+
access: boolean;
|
|
343
|
+
rights: string[];
|
|
344
|
+
customForms: any[];
|
|
345
|
+
customTools: any[];
|
|
346
|
+
globalApplications: any[];
|
|
347
|
+
standardWebForms: StandardWebForm[];
|
|
348
|
+
}
|
|
349
|
+
export interface StandardWebForm {
|
|
350
|
+
formName: string;
|
|
351
|
+
access: boolean;
|
|
352
|
+
formID: number;
|
|
353
|
+
}
|
|
354
|
+
export interface EncompassWebServices {
|
|
355
|
+
access: boolean;
|
|
356
|
+
rights: string[];
|
|
357
|
+
}
|
|
358
|
+
export interface UnderwritingCenter {
|
|
359
|
+
access: boolean;
|
|
360
|
+
rights: string[];
|
|
361
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/pui-scripting-object",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.0",
|
|
4
4
|
"description": "Typescript defintions for Scripting Objects",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "./dist/cjs/index.js",
|
|
@@ -58,8 +58,8 @@
|
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"@elliemae/browserslist-config-elliemae-latest-browsers": "~1.5.0",
|
|
61
|
-
"@elliemae/pui-cli": "~7.
|
|
62
|
-
"@elliemae/pui-doc-gen": "~1.1
|
|
61
|
+
"@elliemae/pui-cli": "~7.4.0",
|
|
62
|
+
"@elliemae/pui-doc-gen": "~1.2.1",
|
|
63
63
|
"@types/styled-components": "~5.1.26",
|
|
64
64
|
"redux": "~4.2.0",
|
|
65
65
|
"redux-saga": "~1.2.1",
|