import Foundation // MARK: - UserProfile struct UserProfile: Codable { var telegramChatId: String? var morningNotification: Bool? var eveningNotification: Bool? var morningTime: String? var eveningTime: String? var timezone: String? enum CodingKeys: String, CodingKey { case telegramChatId = "telegram_chat_id" case morningNotification = "morning_notification" case eveningNotification = "evening_notification" case morningTime = "morning_time" case eveningTime = "evening_time" case timezone } } // MARK: - UpdateProfileRequest struct UpdateProfileRequest: Codable { var telegramChatId: String? var morningNotification: Bool? var eveningNotification: Bool? var morningTime: String? var eveningTime: String? var timezone: String? enum CodingKeys: String, CodingKey { case telegramChatId = "telegram_chat_id" case morningNotification = "morning_notification" case eveningNotification = "evening_notification" case morningTime = "morning_time" case eveningTime = "evening_time" case timezone } }