package com.example.initiateaphonecallapp.data.network

import com.example.initiateaphonecallapp.data.model.ApiCallRecord
import com.example.initiateaphonecallapp.data.model.ApiContactsRequest
import com.example.initiateaphonecallapp.data.model.ApiContactsResponse
import com.example.initiateaphonecallapp.data.model.ApiResponse
import com.example.initiateaphonecallapp.data.model.CallRecordRequest
import retrofit2.Response
import retrofit2.http.Body
import retrofit2.http.POST

interface ApiContactsService {
    @POST("app/contacts/add")
    suspend fun addContact(@Body contactsRequest: ApiContactsRequest): Response<ApiContactsResponse>

    @POST("app/contacts/list")
    suspend fun listContacts(): Response<ApiResponse<List<ApiContactsRequest>>>
}