package com.app.simplitend.caregiverdashboard.activities.deactivateacc;

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

import java.util.Map;

import okhttp3.RequestBody;
import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.Header;
import retrofit2.http.Multipart;
import retrofit2.http.POST;
import retrofit2.http.PartMap;
import retrofit2.http.Path;

public interface AccountApiService {

    @POST("api/deactivate-reactivate-account/{id}")
    Call<CallResponse<Object>> de_re_ActivateAccount(@Body Map<String, String> body,
                                                     @Path("id") int caregiver_xid,
                                                     @Header("Authorization") String token);

    @Multipart
    @POST("api/caregiver-contact-admin")
    Call<CallResponse<Object>> contactAdmin(@PartMap Map<String, RequestBody> body,
                                            @Header("Authorization") String token);

    @POST("api/logout")
    Call<CallResponse<Object>> signOut(@Header("Authorization") String token);

}
