package com.crm.chat.data.api

import com.crm.chat.data.model.AuthResponse
import com.crm.chat.data.model.LoginRequest
import retrofit2.Response
import retrofit2.http.Body
import retrofit2.http.POST

interface AuthApiService {

    @POST("api/iam/auth/login")
    suspend fun login(@Body request: LoginRequest): Response<AuthResponse>

    @POST("api/iam/auth/login-ext")
    suspend fun loginExtension(@Body request: LoginRequest): Response<AuthResponse>

    @POST("api/iam/auth/login-site")
    suspend fun loginSite(@Body request: LoginRequest): Response<AuthResponse>
}
