Encapsulates the properties of an event type. It defines the fields, that can be used for filtering, for that event type.

interface NotificationEventType {
    category?: NotificationEventTypeCategory;
    color?: string;
    customSubscriptionsAllowed?: boolean;
    eventPublisher?: NotificationEventPublisher;
    fields?: { [key: string]: NotificationEventField };
    hasInitiator?: boolean;
    icon?: string;
    id?: string;
    name?: string;
    roles?: NotificationEventRole[];
    supportedScopes?: string[];
    url?: string;
}

Properties

color?: string

Gets or sets the color representing this event type. Example: rgb(128,245,211) or #fafafa

customSubscriptionsAllowed?: boolean
fields?: { [key: string]: NotificationEventField }
hasInitiator?: boolean
icon?: string

Gets or sets the icon representing this event type. Can be a URL or a CSS class. Example: css://some-css-class

id?: string

Gets or sets the unique identifier of this event definition.

name?: string

Gets or sets the name of this event definition.

supportedScopes?: string[]

Gets or sets the scopes that this event type supports

url?: string

Gets or sets the rest end point to get this event type details (fields, fields types)