import { NotificationItem } from '~/types/notifications';

export interface ApiGetNotificationSettingsResponse {
  enabled: boolean;
  flow: boolean;
  boris: boolean;
  comments: boolean;
  send_telegram: boolean;
  show_indicator: boolean;
  last_seen?: string | null;
  last_date?: string | null;
}
export type ApiUpdateNotificationSettingsResponse =
  ApiGetNotificationSettingsResponse;

export type ApiUpdateNotificationSettingsRequest =
  Partial<ApiGetNotificationSettingsResponse>;
export interface ApiGetNotificationsResponse {
  items?: NotificationItem[];
}
