Skip to main content

Scripting Object API

Interfaces

InterfaceDescription
IAnalyticsMethods to collect various business analytics & performance related events and report the same
IApplicationAllows access to application-level UI elements, behaviors and events
IAuthMethods to get information about the user and access token
IEventbase class for events
IFormMethods to get information about the custom form
IGlobalThe Global object allows for data to be shared between custom forms/tools/plugins within a user's session. Unlike the Session scripting object, where data is isolated to be visible/accessible only by the form/plugin that writes the variables, values written to the Global store are visible to all such customizations
IHttpProvides methods to make call-outs to to external systems via HTTPS. By exposing this object from the host, it ensures that the call will bear the "Origin" header of the host application. This is critical for situations where the guest's code is running in a strict-mode sandbox (where the "allowSameOrigin" flag is false).
ILoanMethods & Events for interacting with an open loan in the application
IMemStorageGet or set values in host application javascript memory. Values stored in memory are not persisted across sessions.
IModuleExposes MicroApp module specific methods
IScriptingObjectbase type for scripting object
IScriptingObjectProxybase type for scripting object proxy
IServiceScripting object to work with service orders, such as launching a service order integration etc.,
ISessionstore and retrieves values in host application's session storage
IStylingInterface for managing dynamic styling of fields and table rows Allows conditional styling based on field values and criteria
ITransactionProvides your applications lender/borrower-facing view with the necessary handles to model your application's transactional interaction with the EPC platform. Allows access to an interactive session's origination context, create a new transaction, update an existing transaction, create events/messages for a transaction, and more.
ITransactionTemplateProvides application's administrator-facing view with the necessary handles for enabling Lender administrators to create transaction request templates, which they can associate with a 1-click/automated ordering business condition set.
IWebSocketScripting object for WebSocket communication with the server.

Enumerations

EnumerationDescription
EditModesList of supported edit modes
FormTypetype of the form
LoanCollectionLoan collection names
LoanLevelActionsLoan level actions
LogLevelsLog levels
ModalSizesize of the modal
ModalTypetype of the modal
NavigationTypeareas in the application where the user can navigate to
OpenModemodule open mode
OpenTypetype of the item to open
OriginContextuser type context
RecordActionsloan record actions
RecordViewTypeloan record view types
SCOPEproduct scopes
ScriptingObjectNames-
ServiceSetupCategorytype of service setup categories
ToastTypetoast message type
TokenTypetoken type
WebSocketErrorCodeWell-known WebSocket command error codes

Type Aliases

Type AliasDescription
AcceptFile-
ActionInfoAction information
ActionResponseReturn type for action execution
AdditionalServices-
AppInfoadditional information about the application
ApplicationActionCompletedListenerevent handler that handles action completed event
ApplicationContextapplication context
ApplicationEventsevents related to the application
ApplicationInfoSelected application related information
ApplicationLoginListenerevent handler that handles user login event
ApplicationNavigationStartListenerevent handler that handles navigation start event
AssignLoanTeamMember-
AusTracking-
BAEventBusiness analytics event
BorrowerContacts-
BusinessContacts-
BusinessRules-
Capabilitiescapabilities exposed by the application
ChangeExpectedDate-
CommitInfoLoan commit event parameters
CompanySettingsQueryOptionsset of query options to get company settings
CompanyUserSetup-
ConditionOperatorCondition operators for style criteria matching
ConditionType-
Contacts-
ContactSetup-
CurrentApplicationOptionsoptions for setting current application
Dashboard-
DeliveryConditions-
DescriptorInfometadata about the application descriptor
DisclosureTracking-
DocsSetup-
Documents-
DynamicDataManagement-
EDisclosures-
EditComment-
EditModeOptionsoptions for setting loan edit mode
EFolderHistory-
EFolderSetup-
EncompassWebServices-
EnhancedConditions-
EntityOptionsentity options (used by EPC)
Environmentenvironment details
EvaluatorOptions-
EVault-
EVaultPortal-
EventObjects-
Events-
ExportServices-
FieldOptionsoption name and its value
FieldOptionsParamParameters for getting field options
FileContacts-
FilterOperator-
FilterOption-
FinishMilestone-
Form-
FormDescriptormetadata about the form descriptor
FormEventsevents that notifies the form's lifecycle
FormInfometadata about the form
FormLoadListenerevent handler for form load event
FormUnloadListenerevent handler for form unload event
GlobalChangeListenerevent handler for global state change event
GlobalEventsevents fired from Global scripting object
GrantWriteAccess-
GseServices-
ImportLoan-
LaunchCategoryOptionsoptions to launch service order integration by category
LaunchProviderOptionsoptions to launch service order integration by specific service provider
LaunchServiceSetupOptionsoptions to launch service order integration by specific service setup
LIB_NAME-
Listenercallback for event
LoanApplicationSelectedListenerevent handler for loan application selected event
LoanChangeEventInfoLoan change event parameters
LoanChangeListenerEvent handler for loan data change event
LoanCloseListenerevent handler for loan close event
LoanCollectionObjectLoan collection object
LoanCommittedListenerEvent handler for loan commited event
LoanEditModeChangeListenerevent handler for loan edit mode change event
LoanEditModeEventInfoLoan edit mode change event info
LoanEventsEvent types available for loan-related operations.
LoanExternallyModifiedListenerEvent handler for loan externally modified event
LoanFieldChangeSyncListenerEvent handler for synchronous loan field change event
LoanMilestoneCompletedListenerevent handler for loan milestone completed event
LoanObjectv3 loan object
LoanOpenListenerevent handler for loan open event
LoanPreCommitListenerEvent handler for loan precommit event
LoanPreMilestoneCompleteListenerevent handler for loan pre milestone complete event
LoanRecord-
LoanSetup-
LoanSyncListenerEvent handler for loan sync event
LoanTeam-
LoConnectTasks-
LogMessagelog message
ManageServiceProviders-
Milestone-
MilestoneInfoMilestone related information
MilestoneWorkflowManagement-
ModalContentcontent for warning / success / error / info modal types
ModalOptionsmodal options
ModuleCloseInfomodule close event info
ModuleCloseListenerevent handler that handles module close event
ModuleEventsevents that notifies the module's lifecycle
ModuleOpenInfomodule open event info
ModuleOpenListenerevent handler that handles module open event
ModuleParametersMicroApp module specific parameters
ModuleUnloadInfomodule unload event info
ModuleUnLoadingListenerevent handler that handles module unload event
MoveFrom-
MoveLoans-
MoveTo-
NavigationOptionsnavigation options
NavigationStartInfonavigation start event info
OpenOptions-
OriginDetailstransaction origination context
PerfMarkPerformance mark
PersonalTemplates-
PersonasPersonas information
Pipeline-
PipelineView-
PluginInfoPlugin information
PostClosingConditions-
PreliminaryConditions-
Print-
PrintOptionsOptions for printing the document
PurchaseConditions-
RecordOptionsoptions for updating records
RemotingScriptingObjectserialized scripting object
ResourceDetailsdetails of the transaction resource
ResourceOptionsname of the document to be uploaded
ReturnFile-
Role-
Role2-
Routenavigation type
ScriptingObjectTypeslist of scripting object names and their types
SecondarySetup-
Service-
ServiceSetupdetails of a service setup
StandardWebForm-
StateInfostate information
StyleOptionsCSS style properties that can be applied to fields and table rows All color values should be valid CSS color strings (hex, rgb, named colors, etc.)
SubscribeOptionsOptions for subscribing to a WebSocket resource event.
SubscribeResultResult returned after a successful subscription
SubscriptionFilterFilter criteria for WebSocket subscription.
SystemAdministration-
TableRowCriteriaCriteria for conditional styling of table rows Maps table column name/key to condition operators that determine when styles should be applied
TableRowStyleOptionsStyle configuration for table rows with conditional criteria Styles are applied to rows that match all specified criteria
TablesAndFees-
TimingOptionsadditional details related to the timing measure
ToastOptionsoptions for toast message
TokenInfoToken information
Tool-
TpoCompanyDetails-
TpoConnectSiteSettings-
TpoContacts-
TpoFees-
TpoInformation-
TpoOrganizationSettings-
TqlServices-
Trades-
TransactionDetailsdetails about the transaction
TransactionEvent-
TransactionInfodetails about the transaction that is created / updated
TransactionRequestTransaction request object
TransactionResourcefile attachment information
TransactionTemplateDetailsTransaction Template object
UnAuthorizedErrorError thrown when the microapp / customization is not authorized to receive child token
UnderwritingCenter-
UnderwritingConditions-
UserUser information
UserAccessRightsuser access rights object
UserInfoUser information
WebSocketErrorDetailError detail returned by the WebSocket server
WebSocketEventMessageInfoPayload delivered with a WebSocket event message
WebSocketEventsEvent types available for WebSocket operations.
WebSocketMessageListenerEvent handler for incoming WebSocket event messages.