package cy.hexor.furumi.data.remote.model

import com.squareup.moshi.Json

data class LoginRequest(
    @param:Json(name = "username") val username: String,
    @param:Json(name = "password") val password: String,
    @param:Json(name = "device_name") val deviceName: String
)

data class SsoExchangeRequest(
    @param:Json(name = "code") val code: String,
    @param:Json(name = "device_name") val deviceName: String
)

data class RefreshRequest(
    @param:Json(name = "refresh_token") val refreshToken: String
)

data class LogoutRequest(
    @param:Json(name = "refresh_token") val refreshToken: String
)

data class LogoutResponse(
    @param:Json(name = "revoked") val revoked: Boolean
)
