import { api } from '@/lib/api-client' import type { GetNotificationSettingsResponse, UpdateNotificationSettingsRequest, UpdateNotificationSettingsResponse, } from '@/types/notification-settings.types' export class NotificationSettingsService { static async getSettings(): Promise { const res = await api.get('/settings/notifications/') return res.data } static async updateSettings( data: UpdateNotificationSettingsRequest ): Promise { const res = await api.put('/settings/notifications/', data) return res.data } }