@elliemae/pui-scripting-object 1.48.1 → 1.48.3
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/index.js +0 -1
- package/dist/cjs/objects/loan.js +1 -0
- package/dist/esm/index.js +0 -1
- package/dist/esm/objects/loan.js +1 -0
- package/dist/types/lib/index.d.ts +0 -1
- package/dist/types/lib/objects/loan.d.ts +18 -4
- package/dist/types/lib/scriptingObjectList.d.ts +0 -2
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +5 -5
- package/dist/cjs/objects/loanv2.js +0 -38
- package/dist/esm/objects/loanv2.js +0 -18
- package/dist/types/lib/objects/loanv2.d.ts +0 -140
package/dist/cjs/index.js
CHANGED
|
@@ -22,7 +22,6 @@ __reExport(lib_exports, require("./objects/form.js"), module.exports);
|
|
|
22
22
|
__reExport(lib_exports, require("./objects/global.js"), module.exports);
|
|
23
23
|
__reExport(lib_exports, require("./objects/http.js"), module.exports);
|
|
24
24
|
__reExport(lib_exports, require("./objects/loan.js"), module.exports);
|
|
25
|
-
__reExport(lib_exports, require("./objects/loanv2.js"), module.exports);
|
|
26
25
|
__reExport(lib_exports, require("./objects/memStorage.js"), module.exports);
|
|
27
26
|
__reExport(lib_exports, require("./objects/module.js"), module.exports);
|
|
28
27
|
__reExport(lib_exports, require("./objects/service.js"), module.exports);
|
package/dist/cjs/objects/loan.js
CHANGED
|
@@ -98,5 +98,6 @@ var LoanCollection = /* @__PURE__ */ ((LoanCollection2) => {
|
|
|
98
98
|
var EditModes = /* @__PURE__ */ ((EditModes2) => {
|
|
99
99
|
EditModes2["READ_ONLY"] = "READONLY";
|
|
100
100
|
EditModes2["EDIT"] = "EDIT";
|
|
101
|
+
EditModes2["EXCLUSIVE_EDIT"] = "EXCLUSIVEEDIT";
|
|
101
102
|
return EditModes2;
|
|
102
103
|
})(EditModes || {});
|
package/dist/esm/index.js
CHANGED
|
@@ -5,7 +5,6 @@ export * from "./objects/form.js";
|
|
|
5
5
|
export * from "./objects/global.js";
|
|
6
6
|
export * from "./objects/http.js";
|
|
7
7
|
export * from "./objects/loan.js";
|
|
8
|
-
export * from "./objects/loanv2.js";
|
|
9
8
|
export * from "./objects/memStorage.js";
|
|
10
9
|
export * from "./objects/module.js";
|
|
11
10
|
export * from "./objects/service.js";
|
package/dist/esm/objects/loan.js
CHANGED
|
@@ -71,6 +71,7 @@ var LoanCollection = /* @__PURE__ */ ((LoanCollection2) => {
|
|
|
71
71
|
var EditModes = /* @__PURE__ */ ((EditModes2) => {
|
|
72
72
|
EditModes2["READ_ONLY"] = "READONLY";
|
|
73
73
|
EditModes2["EDIT"] = "EDIT";
|
|
74
|
+
EditModes2["EXCLUSIVE_EDIT"] = "EXCLUSIVEEDIT";
|
|
74
75
|
return EditModes2;
|
|
75
76
|
})(EditModes || {});
|
|
76
77
|
export {
|
|
@@ -6,7 +6,6 @@ export * from './objects/form.js';
|
|
|
6
6
|
export * from './objects/global.js';
|
|
7
7
|
export * from './objects/http.js';
|
|
8
8
|
export * from './objects/loan.js';
|
|
9
|
-
export * from './objects/loanv2.js';
|
|
10
9
|
export * from './objects/memStorage.js';
|
|
11
10
|
export * from './objects/module.js';
|
|
12
11
|
export * from './objects/service.js';
|
|
@@ -411,7 +411,11 @@ export declare enum EditModes {
|
|
|
411
411
|
/**
|
|
412
412
|
* edit mode
|
|
413
413
|
*/
|
|
414
|
-
EDIT = "EDIT"
|
|
414
|
+
EDIT = "EDIT",
|
|
415
|
+
/**
|
|
416
|
+
* exclusive edit mode
|
|
417
|
+
*/
|
|
418
|
+
EXCLUSIVE_EDIT = "EXCLUSIVEEDIT"
|
|
415
419
|
}
|
|
416
420
|
/**
|
|
417
421
|
* options for setting loan edit mode
|
|
@@ -497,7 +501,7 @@ export type LoanEvents = {
|
|
|
497
501
|
* Use {@link LoanPreMilestoneCompleteListener} to handle this event
|
|
498
502
|
*
|
|
499
503
|
*/
|
|
500
|
-
'loan.
|
|
504
|
+
'loan.premilestonecomplete': LoanPreMilestoneCompleteListener;
|
|
501
505
|
/**
|
|
502
506
|
* Event is fired after the loan is sync'ed within any saved state made outside of the user's workspace.
|
|
503
507
|
*
|
|
@@ -532,6 +536,7 @@ export interface ILoan extends IScriptingObject {
|
|
|
532
536
|
* elli.script.subscribe('loan', 'applicationselected', ({ eventParams }) => {
|
|
533
537
|
* console.log('Application Selected', eventParams);
|
|
534
538
|
* });
|
|
539
|
+
* ```
|
|
535
540
|
*/
|
|
536
541
|
readonly ApplicationSelected: IEvent;
|
|
537
542
|
/**
|
|
@@ -556,6 +561,7 @@ export interface ILoan extends IScriptingObject {
|
|
|
556
561
|
* console.log('Loan closing', eventParams);
|
|
557
562
|
* return true;
|
|
558
563
|
* });
|
|
564
|
+
* ```
|
|
559
565
|
*/
|
|
560
566
|
readonly Close: IEvent;
|
|
561
567
|
/**
|
|
@@ -578,6 +584,7 @@ export interface ILoan extends IScriptingObject {
|
|
|
578
584
|
* elli.script.subscribe('loan', 'change', ({ eventParams }) => {
|
|
579
585
|
* console.log('Loan changed', eventParams);
|
|
580
586
|
* });
|
|
587
|
+
* ```
|
|
581
588
|
*/
|
|
582
589
|
readonly Change: IEvent;
|
|
583
590
|
/**
|
|
@@ -600,6 +607,7 @@ export interface ILoan extends IScriptingObject {
|
|
|
600
607
|
* elli.script.subscribe('loan', 'committed', ({ eventParams }) => {
|
|
601
608
|
* console.log('Loan committed', eventParams);
|
|
602
609
|
* });
|
|
610
|
+
* ```
|
|
603
611
|
*/
|
|
604
612
|
readonly Committed: IEvent;
|
|
605
613
|
/**
|
|
@@ -622,6 +630,7 @@ export interface ILoan extends IScriptingObject {
|
|
|
622
630
|
* elli.script.subscribe('loan', 'editModeChange', ({ eventParams }) => {
|
|
623
631
|
* console.log('Loan edit mode changed', eventParams);
|
|
624
632
|
* });
|
|
633
|
+
* ```
|
|
625
634
|
*/
|
|
626
635
|
readonly EditModeChange: IEvent;
|
|
627
636
|
/**
|
|
@@ -644,6 +653,7 @@ export interface ILoan extends IScriptingObject {
|
|
|
644
653
|
* elli.script.subscribe('loan', 'milestoneCompleted', ({ eventParams }) => {
|
|
645
654
|
* console.log('Loan milestone completed', eventParams);
|
|
646
655
|
* });
|
|
656
|
+
* ```
|
|
647
657
|
*/
|
|
648
658
|
readonly MilestoneCompleted: IEvent;
|
|
649
659
|
/**
|
|
@@ -666,6 +676,7 @@ export interface ILoan extends IScriptingObject {
|
|
|
666
676
|
* elli.script.subscribe('loan', 'open', ({ eventParams }) => {
|
|
667
677
|
* console.log('Loan open', eventParams);
|
|
668
678
|
* });
|
|
679
|
+
* ```
|
|
669
680
|
*/
|
|
670
681
|
readonly Open: IEvent;
|
|
671
682
|
/**
|
|
@@ -692,6 +703,7 @@ export interface ILoan extends IScriptingObject {
|
|
|
692
703
|
* console.log('Loan precommit', eventParams);
|
|
693
704
|
* return true;
|
|
694
705
|
* });
|
|
706
|
+
* ```
|
|
695
707
|
*/
|
|
696
708
|
readonly PreCommit: IEvent;
|
|
697
709
|
/**
|
|
@@ -702,7 +714,7 @@ export interface ILoan extends IScriptingObject {
|
|
|
702
714
|
* with v2 SSF
|
|
703
715
|
* ```ts
|
|
704
716
|
* guest.subscribe({
|
|
705
|
-
* eventId: 'loan.
|
|
717
|
+
* eventId: 'loan.premilestonecomplete',
|
|
706
718
|
* callback: ({ eventParams }) => {
|
|
707
719
|
* console.log('Loan pre-milestone complete', eventParams);
|
|
708
720
|
* return true;
|
|
@@ -712,10 +724,11 @@ export interface ILoan extends IScriptingObject {
|
|
|
712
724
|
* @example
|
|
713
725
|
* with v1 SSF
|
|
714
726
|
* ```ts
|
|
715
|
-
* elli.script.subscribe('loan', '
|
|
727
|
+
* elli.script.subscribe('loan', 'premilestonecomplete', ({ eventParams }) => {
|
|
716
728
|
* console.log('Loan pre-milestone complete', eventParams);
|
|
717
729
|
* return true;
|
|
718
730
|
* });
|
|
731
|
+
* ```
|
|
719
732
|
*/
|
|
720
733
|
readonly PreMilestoneComplete: IEvent;
|
|
721
734
|
/**
|
|
@@ -738,6 +751,7 @@ export interface ILoan extends IScriptingObject {
|
|
|
738
751
|
* elli.script.subscribe('loan', 'sync', ({ eventParams }) => {
|
|
739
752
|
* console.log('Loan synced', eventParams);
|
|
740
753
|
* });
|
|
754
|
+
* ```
|
|
741
755
|
*/
|
|
742
756
|
readonly Sync: IEvent;
|
|
743
757
|
/**
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ILoan } from './objects/loan.js';
|
|
2
|
-
import { ILoanV2 } from './objects/loanv2.js';
|
|
3
2
|
import { IApplication } from './objects/application.js';
|
|
4
3
|
import { IAuth } from './objects/auth.js';
|
|
5
4
|
import { ISession } from './objects/session.js';
|
|
@@ -23,7 +22,6 @@ export type ScriptingObjectTypes = {
|
|
|
23
22
|
Global: IGlobal;
|
|
24
23
|
Http: IHttp;
|
|
25
24
|
Loan: ILoan;
|
|
26
|
-
LoanV2: ILoanV2;
|
|
27
25
|
MemStorage: IMemStorage;
|
|
28
26
|
Module: IModule;
|
|
29
27
|
Service: IService;
|