import Foundation struct LoginRequest: Codable { let email: String; let password: String } struct LoginResponse: Codable { let token: String; let user: UserInfo } struct UserInfo: Codable { let id: Int; let email: String; let name: String } struct ProfileResponse: Codable { let user: UserInfo; let apiKey: String? }