roboto.notifications
Submodules
Package Contents
EmailLifecycleStatus
Bases: roboto.compat.StrEnum
Notification email lifecycle status enum
Attributes
EmailLifecycleStatus.Bounce
EmailLifecycleStatus.Click
EmailLifecycleStatus.Complaint
EmailLifecycleStatus.Delivery
EmailLifecycleStatus.DeliveryDelay
EmailLifecycleStatus.Failed
EmailLifecycleStatus.Initiated
EmailLifecycleStatus.Open
EmailLifecycleStatus.Reject
EmailLifecycleStatus.RenderingFailure
EmailLifecycleStatus.Send
EmailLifecycleStatus.Subscription
NotificationChannel
NotificationRecord
Bases: pydantic.BaseModel, roboto.notifications.validator.LifecycleStatusValidator
A wire-transmissible representation of a notification.
Parameters
data AnyAttributes
NotificationRecord.channels
NotificationRecord.created
NotificationRecord.lifecycle_status
NotificationRecord.modified
NotificationRecord.notification_id
NotificationRecord.notification_type
NotificationRecord.notifier_id
NotificationRecord.org_id
NotificationRecord.read_status
NotificationRecord.user_id
NotificationType
Bases: roboto.compat.StrEnum
Notification type enum
Attributes
NotificationType.CommentMention
NotificationsClient
Parameters
http_client roboto.NotificationsClient.batch_update_notifications()
Parameters
Return type
dict[str, Any]
NotificationsClient.delete_notification()
Parameters
notification_id strReturn type
None
NotificationsClient.get_notifications()
Return type
dict[str, Any]
NotificationsClient.update_notification()
update_notification(notification_id, org_id=None, read_status=None, lifecycle_status=None)#View Source
Parameters
notification_id strorg_id Optional[str]read_status Optional[str]lifecycle_status Optional[dict[roboto.Return type
Any
ReadStatus
UpdateNotificationRequest
Bases: pydantic.BaseModel, roboto.notifications.validator.LifecycleStatusValidator
Request payload to update a notification
Parameters
data AnyAttributes