package com.example.elva.data.api

import com.example.elva.data.models.auth.RegisterRequest
import com.example.elva.data.models.auth.LoginRequest
import com.example.elva.data.models.auth.AuthResponse
import retrofit2.http.Body
import retrofit2.http.POST

interface AuthApiService {

    @POST("api/v1/auth/register")
    suspend fun register(@Body request: RegisterRequest): AuthResponse

    @POST("api/v1/auth/login")
    suspend fun login(@Body request: LoginRequest): AuthResponse
}

