package com.app.simplitend.caregiverdashboard.mvvm;

import com.app.simplitend.welcome.welcomepatient.mvvm.models.CallResponse;

import java.util.Map;

import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.Header;
import retrofit2.http.POST;
import retrofit2.http.Query;

public interface NotificationApiService {

    @POST("api/send-out-of-geofence-notification")
    Call<CallResponse<Object>> notifyOutOfGeoFence(@Body Map<String, String> body,

                                                   @Header("Authorization") String token);

    @POST("api/send-notification-when-patient-clicks-on-sos")
    Call<CallResponse<Object>> notifyRequestedSOS(@Body Map<String, String> body,
                                                   @Header("Authorization") String token);

     @POST("api/send-notification-when-patient-clicks-on-go")
    Call<CallResponse<Object>> notifyRequestedDirections(@Body Map<String, String> body,
                                                   @Query("address") String address,
                                                   @Header("Authorization") String token);


}
