package de.krisenvorrat.app.data.sync

import kotlinx.serialization.Serializable

@Serializable
internal data class LoginRequest(val username: String, val password: String)

@Serializable
internal data class LoginResponse(
    val accessToken: String,
    val refreshToken: String,
    val userId: String,
    val username: String,
    val inventoryId: String? = null,
    val inventoryName: String? = null
)

@Serializable
internal data class RefreshRequest(val refreshToken: String)
