UserNotificationPreferences
UserNotificationPreferences Schema¶
Description: Per-user channel preferences and verified-phone state.
Channel preferences are expressed once, per event *family*, in
``event_family_channels``. There is no per-*class* (operational /
observation) channel layer: a family the user has not customized falls
back to that family's ``default_channels`` registered in
``skynet_sdk.notifications.EVENT_FAMILIES``.
Phone-number fields are populated only by the verification flow; the
profile-update API surface does not accept them directly.
Properties¶
| Name | Type | Description |
|---|---|---|
| user_id | Integer |
No description |
| event_family_channels | JSONB |
No description |
| phone_e164 | String(32) (Optional) |
No description |
| phone_verified_on | DateTime (Optional) |
No description |
| phone_verification_sid | String(64) (Optional) |
Twilio Verify Service SID reference for the most recent verification. |
| muted_until | DateTime (Optional) |
No description |
Relationships¶
| Relationship Name | Type |
|---|---|
| user | User |