package com.mytatvarnsdk.network

import androidx.annotation.Keep
import com.google.gson.JsonElement
import okhttp3.RequestBody
import okhttp3.ResponseBody
import retrofit2.http.Body
import retrofit2.http.GET
import retrofit2.http.HeaderMap
import retrofit2.http.POST
import retrofit2.http.Url

@Keep
interface ApiServiceInterface {

  @POST
  suspend fun postCgmLogs(
    @Url url: String,
    @HeaderMap map: Map<String, String>,
    @Body encryptedData: RequestBody
  ): ResponseBody

  @GET
  suspend fun getCgmStatus(
    @Url url: String,
    @HeaderMap headers: Map<String, String>
  ): ResponseBody
}
