Skip to main content

Namespace: types

services.notification.types

Enumerations

Classes

Interfaces

References

Action

Re-exports Action


ActionTypes

Re-exports ActionTypes


Filter

Re-exports Filter


Notification

Re-exports Notification


Subscription

Re-exports Subscription

Type Aliases

INotification

Ƭ INotification: Object

description Interface to define what structure the Finsemble notification service is able to process

Type declaration

NameTypeDescription
actions?(IAction | IAction[])[]A list of Actions and/or Action Groups. An action can be a single action (IAction), or an action group (IAction[]). An action group is a collection of related actions grouped together as a single element.
actionsHistory?IPerformedAction[]list of actions which have been performed on a notification.
contentLogo?stringLogo to display in content section of a notification.HTML source data URI or URL. Defaults set by type in configuration.
cssClassName?stringAllows a css class to be applied to a notification to change it's appearance.
details?stringDetails about the notification mainly for display purposes.
devModeOnly?booleanA flag to determine whether the notification is to be displayed only if Finsemble is running in dev mode.
headerLogo?stringLogo displayed in header section of a notification. HTML source data URI or URL. Defaults set by type in configuration.
headerText?stringAn informational header additional to the title usually referencing the source. Deprecated: Not used since 5.3 and expected to be removed in version 6.0 deprecated - Not used in 5.3 and expected to be removed in version 6.0
id?stringEither set when notification is created to refer to id an external system or if null set to UUID.
isDeletedbooleanPrivate: Indicating a notification has been deleted
isMutedbooleanPrivate: If a Notification has been muted after being received
isReadbooleanPrivate: If an notification has been marked as read.
isSnoozedbooleanPrivate: Indicating a notification is currently snoozed
issuedAtstringISO8601 date formatted string. When the notification was generated.
meta?MetaAdditional metadata to be passed along with a notification. Supports arbitrary metadata fields. For example, a team may decide to include a Source or Channel field in all notifications to support filtering operations, or a Quote or Customer ID field to support grouping of notifications generated by different systems but relating to the same entity (for example for filtering/drill down in the Notification Center).
notificationAlertSound?string-
receivedAt?stringPrivate: ISO8601 date formatted string. When the notification was received by Finsemble
source?stringThe source that the notification originated from
stateHistoryINotification[]-
timeout?numberHow long should the notification appear in the UIs.
titlestringMain display title
type?stringThe type of notification.

INotificationHistoryOptions

Ƭ INotificationHistoryOptions: Object

Type declaration

NameTypeDescription
pageNumber?numberThe page number
pageSize?numberThe number of notifications to fetch
sentAfter?stringISO8601 date formatted string. Fetch (from) notifications sent after this date
sentBefore?stringISO8601 date formatted string. Fetch (from) notifications sent before this date

NotificationServiceState

Ƭ NotificationServiceState: Object

Type declaration

NameTypeDescription
mostRecentWindowName?stringContains the windowName of the most recent UI state change call.
overFlowMenu{ clickCoordinates: boolean ; notification: boolean ; overflowCount: boolean }-
overFlowMenu.clickCoordinatesboolean-
overFlowMenu.notificationboolean-
overFlowMenu.overflowCountboolean-
poppedOutboolean-
positionnumber-
showCenterboolean-
showDrawerboolean-
toasterMonitorstring-