@elliemae/pui-scripting-object 1.16.10 → 1.17.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.
|
@@ -61,18 +61,12 @@ export interface ITransactionV2 extends IScriptingObject {
|
|
|
61
61
|
*/
|
|
62
62
|
get(id: string): Promise<TransactionDetails>;
|
|
63
63
|
/**
|
|
64
|
-
*
|
|
64
|
+
* Creates new origin and context.
|
|
65
65
|
*
|
|
66
66
|
* @returns service setup origination information
|
|
67
67
|
* @throws OriginNotFound error when origin is not found
|
|
68
68
|
*/
|
|
69
|
-
|
|
70
|
-
/**
|
|
71
|
-
* refresh origination context, if current one expires.
|
|
72
|
-
*
|
|
73
|
-
* @returns origination information
|
|
74
|
-
*/
|
|
75
|
-
refreshOrigin(): Promise<OriginDetails>;
|
|
69
|
+
createOrigin(): Promise<OriginDetails>;
|
|
76
70
|
/**
|
|
77
71
|
* update existing transaction.
|
|
78
72
|
*
|
|
@@ -9,5 +9,5 @@ type KeysMatching<T extends object, V> = {
|
|
|
9
9
|
[K in keyof T]-?: [V] extends [T[K]] ? K : never;
|
|
10
10
|
}[keyof T];
|
|
11
11
|
export type Events = ApplicationEvents & FormEvents & GlobalEvents & LoanEvents & ModuleEvents & ViewEvents;
|
|
12
|
-
export type EventObjects = KeysMatching<IApplication, IEvent>
|
|
12
|
+
export type EventObjects = KeysMatching<IApplication, IEvent> | KeysMatching<IForm, IEvent> | KeysMatching<IGlobal, IEvent> | KeysMatching<ILoan, IEvent> | KeysMatching<IModule, IEvent> | KeysMatching<IView, IEvent>;
|
|
13
13
|
export {};
|