@elliemae/pui-scripting-object 1.48.0 → 1.48.2
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/esm/index.js +0 -1
- package/dist/types/lib/index.d.ts +0 -1
- package/dist/types/lib/objects/auth.d.ts +4 -0
- package/dist/types/lib/objects/loan.d.ts +13 -3
- package/dist/types/lib/scriptingObjectList.d.ts +0 -2
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +4 -4
- 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/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";
|
|
@@ -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';
|
|
@@ -140,6 +140,10 @@ export type TokenInfo = {
|
|
|
140
140
|
* @example https://int.api.ellielabs.com
|
|
141
141
|
*/
|
|
142
142
|
host_name: string;
|
|
143
|
+
/**
|
|
144
|
+
* unique id of the oauth client
|
|
145
|
+
*/
|
|
146
|
+
client_id: string;
|
|
143
147
|
};
|
|
144
148
|
/**
|
|
145
149
|
* Methods to get information about the user and access token
|
|
@@ -497,7 +497,7 @@ export type LoanEvents = {
|
|
|
497
497
|
* Use {@link LoanPreMilestoneCompleteListener} to handle this event
|
|
498
498
|
*
|
|
499
499
|
*/
|
|
500
|
-
'loan.
|
|
500
|
+
'loan.premilestonecomplete': LoanPreMilestoneCompleteListener;
|
|
501
501
|
/**
|
|
502
502
|
* Event is fired after the loan is sync'ed within any saved state made outside of the user's workspace.
|
|
503
503
|
*
|
|
@@ -532,6 +532,7 @@ export interface ILoan extends IScriptingObject {
|
|
|
532
532
|
* elli.script.subscribe('loan', 'applicationselected', ({ eventParams }) => {
|
|
533
533
|
* console.log('Application Selected', eventParams);
|
|
534
534
|
* });
|
|
535
|
+
* ```
|
|
535
536
|
*/
|
|
536
537
|
readonly ApplicationSelected: IEvent;
|
|
537
538
|
/**
|
|
@@ -556,6 +557,7 @@ export interface ILoan extends IScriptingObject {
|
|
|
556
557
|
* console.log('Loan closing', eventParams);
|
|
557
558
|
* return true;
|
|
558
559
|
* });
|
|
560
|
+
* ```
|
|
559
561
|
*/
|
|
560
562
|
readonly Close: IEvent;
|
|
561
563
|
/**
|
|
@@ -578,6 +580,7 @@ export interface ILoan extends IScriptingObject {
|
|
|
578
580
|
* elli.script.subscribe('loan', 'change', ({ eventParams }) => {
|
|
579
581
|
* console.log('Loan changed', eventParams);
|
|
580
582
|
* });
|
|
583
|
+
* ```
|
|
581
584
|
*/
|
|
582
585
|
readonly Change: IEvent;
|
|
583
586
|
/**
|
|
@@ -600,6 +603,7 @@ export interface ILoan extends IScriptingObject {
|
|
|
600
603
|
* elli.script.subscribe('loan', 'committed', ({ eventParams }) => {
|
|
601
604
|
* console.log('Loan committed', eventParams);
|
|
602
605
|
* });
|
|
606
|
+
* ```
|
|
603
607
|
*/
|
|
604
608
|
readonly Committed: IEvent;
|
|
605
609
|
/**
|
|
@@ -622,6 +626,7 @@ export interface ILoan extends IScriptingObject {
|
|
|
622
626
|
* elli.script.subscribe('loan', 'editModeChange', ({ eventParams }) => {
|
|
623
627
|
* console.log('Loan edit mode changed', eventParams);
|
|
624
628
|
* });
|
|
629
|
+
* ```
|
|
625
630
|
*/
|
|
626
631
|
readonly EditModeChange: IEvent;
|
|
627
632
|
/**
|
|
@@ -644,6 +649,7 @@ export interface ILoan extends IScriptingObject {
|
|
|
644
649
|
* elli.script.subscribe('loan', 'milestoneCompleted', ({ eventParams }) => {
|
|
645
650
|
* console.log('Loan milestone completed', eventParams);
|
|
646
651
|
* });
|
|
652
|
+
* ```
|
|
647
653
|
*/
|
|
648
654
|
readonly MilestoneCompleted: IEvent;
|
|
649
655
|
/**
|
|
@@ -666,6 +672,7 @@ export interface ILoan extends IScriptingObject {
|
|
|
666
672
|
* elli.script.subscribe('loan', 'open', ({ eventParams }) => {
|
|
667
673
|
* console.log('Loan open', eventParams);
|
|
668
674
|
* });
|
|
675
|
+
* ```
|
|
669
676
|
*/
|
|
670
677
|
readonly Open: IEvent;
|
|
671
678
|
/**
|
|
@@ -692,6 +699,7 @@ export interface ILoan extends IScriptingObject {
|
|
|
692
699
|
* console.log('Loan precommit', eventParams);
|
|
693
700
|
* return true;
|
|
694
701
|
* });
|
|
702
|
+
* ```
|
|
695
703
|
*/
|
|
696
704
|
readonly PreCommit: IEvent;
|
|
697
705
|
/**
|
|
@@ -702,7 +710,7 @@ export interface ILoan extends IScriptingObject {
|
|
|
702
710
|
* with v2 SSF
|
|
703
711
|
* ```ts
|
|
704
712
|
* guest.subscribe({
|
|
705
|
-
* eventId: 'loan.
|
|
713
|
+
* eventId: 'loan.premilestonecomplete',
|
|
706
714
|
* callback: ({ eventParams }) => {
|
|
707
715
|
* console.log('Loan pre-milestone complete', eventParams);
|
|
708
716
|
* return true;
|
|
@@ -712,10 +720,11 @@ export interface ILoan extends IScriptingObject {
|
|
|
712
720
|
* @example
|
|
713
721
|
* with v1 SSF
|
|
714
722
|
* ```ts
|
|
715
|
-
* elli.script.subscribe('loan', '
|
|
723
|
+
* elli.script.subscribe('loan', 'premilestonecomplete', ({ eventParams }) => {
|
|
716
724
|
* console.log('Loan pre-milestone complete', eventParams);
|
|
717
725
|
* return true;
|
|
718
726
|
* });
|
|
727
|
+
* ```
|
|
719
728
|
*/
|
|
720
729
|
readonly PreMilestoneComplete: IEvent;
|
|
721
730
|
/**
|
|
@@ -738,6 +747,7 @@ export interface ILoan extends IScriptingObject {
|
|
|
738
747
|
* elli.script.subscribe('loan', 'sync', ({ eventParams }) => {
|
|
739
748
|
* console.log('Loan synced', eventParams);
|
|
740
749
|
* });
|
|
750
|
+
* ```
|
|
741
751
|
*/
|
|
742
752
|
readonly Sync: IEvent;
|
|
743
753
|
/**
|
|
@@ -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;
|