Notifications Type¶
NotificationTriggerAnalysis¶
Attributes:
analysis_id: GenericIDID of the analysis to trigger.
NotificationTriggerHTTP¶
Attributes:
url: strThe URL to make the request to.method: “POST” or “GET” or “PUT” or “DELETE” or “REDIRECT”HTTP method to use for the request.body: dict[str, Any]Body of the HTTP request.
NotificationTriggerProfile¶
Attributes:
share_profile: “accept” or “refuse”Action to take on a profile share.
NotificationIconImage¶
Attributes:
image_url: strURL of the image to use as the notification icon.bg_color: Optional[HexColor]Background color for the icon.fit: Optional[“fill” or “contain” or “cover”]How the image should fit in its container.
NotificationIconSVG¶
Attributes:
svg_url: strURL of the SVG to use as the notification icon.svg_color: Optional[HexColor]Color of the SVG.bg_color: Optional[HexColor]Background color for the icon.
NotificationCreate¶
Attributes:
title: strTitle of the notification.message: strContent of the notification.read: Optional[bool]Whether the notification has been read.icon: Optional[NotificationIconSVG or NotificationIconImage]Icon for the notification.buttons: Optional[list[NotificationButton]]Buttons to display with the notification.buttons_enabled: Optional[bool]Whether buttons are enabled.buttons_autodisable: Optional[bool]Whether buttons should automatically disable after being clicked.
NotificationQuery(Query)¶
Attributes:
fields: Optional[List[“created_at”]]Fields to include in the query response.filter: Optional[Dict[“read”, bool]]Filters for the query.
NotificationInfo(NotificationCreate)¶
Attributes:
id: GenericIDUnique identifier for the notification.created_at: datetimeWhen the notification was created.
NotificationInfoBasic¶
Attributes:
id: GenericIDUnique identifier for the notification.created_at: datetimeWhen the notification was created.
NotificationCreateReturn¶
Attributes:
id: GenericIDUnique identifier for the newly created notification.