diff --git a/frontend/types/api/notifications.ts b/frontend/types/api/notifications.ts index 0d9f53898..57a2900d4 100644 --- a/frontend/types/api/notifications.ts +++ b/frontend/types/api/notifications.ts @@ -156,6 +156,13 @@ export interface NotificationPairedDevice { is_notifications_enabled: boolean; } export type InternalPutUserNotificationSettingsPairedDevicesResponse = ApiDataResponse; +export interface NotificationSettingsClient { + id: number /* uint64 */; + name: string; + category: string; + is_subscribed: boolean; +} +export type InternalPutUserNotificationSettingsClientResponse = ApiDataResponse; export interface NotificationSettingsGeneral { do_not_disturb_timestamp: number /* int64 */; // notifications are disabled until this timestamp is_email_notifications_enabled: boolean; @@ -167,7 +174,6 @@ export interface NotificationSettingsGeneral { machine_cpu_usage_threshold: number /* float64 */; is_machine_memory_usage_subscribed: boolean; machine_memory_usage_threshold: number /* float64 */; - subscribed_clients: string[]; is_rocket_pool_new_reward_round_subscribed: boolean; is_rocket_pool_max_collateral_subscribed: boolean; rocket_pool_max_collateral_threshold: number /* float64 */; @@ -179,6 +185,7 @@ export interface NotificationSettings { general_settings: NotificationSettingsGeneral; networks: NotificationNetwork[]; paired_devices: NotificationPairedDevice[]; + clients: NotificationSettingsClient[]; } export type InternalGetUserNotificationSettingsResponse = ApiDataResponse; export interface NotificationSettingsValidatorDashboard {