package com.airson.alive.network;


import com.airson.alive.model.MedicalIDsResponseModel;
import com.airson.alive.model.ResponseModel;
import com.airson.alive.model.UserResponseModel;

import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;

/**
 * Created by Shrikant on 9/11/2017.
 */

public interface ApiInterface {

    @FormUrlEncoded
    @POST("register")
    Call<UserResponseModel> getSignup(@Field("username") String mobile, @Field("password") String password);

    @FormUrlEncoded
    @POST("login")
    Call<UserResponseModel> getLogin(@Field("username") String mobile, @Field("password") String password);

    @FormUrlEncoded
    @POST("update_medical_id")
    Call<UserResponseModel> updateMedicalID(@Field("mobile") String mobile, @Field("authtoken") String authtoken, @Field("first_name") String first_name,
                                            @Field("second_name") String second_name, @Field("last_name") String last_name, @Field("gender") String gender,
                                            @Field("dob") String dob, @Field("email") String email, @Field("relation") String relation, @Field("mid") String mid);

    @FormUrlEncoded
    @POST("add_medical_id")
    Call<ResponseModel> addMedicalID(@Field("mobile") String mobile, @Field("authtoken") String authtoken, @Field("first_name") String first_name,
                                            @Field("second_name") String second_name, @Field("last_name") String last_name, @Field("gender") String gender,
                                            @Field("dob") String dob, @Field("email") String email, @Field("relation") String relation);

    @FormUrlEncoded
    @POST("change_password")
    Call<ResponseModel> changePassword(@Field("authtoken") String authtoken, @Field("mobile") String mobile, @Field("old_password") String old_password,
                                       @Field("new_password") String new_password);

    @FormUrlEncoded
    @POST("getMedicalIDs")
    Call<MedicalIDsResponseModel> getMedicalIDsList(@Field("authtoken") String authtoken, @Field("mobile") String mobile);

    @FormUrlEncoded
    @POST("getMedicalID ")
    Call<MedicalIDsResponseModel> getMedicalIDsList(@Field("authtoken") String authtoken, @Field("mobile") String mobile, @Field("mid") String mid);




//    @POST("registverfingotp")
//    Call<ResponseModel> getVerifyOTP(@Body OTPRequestModel requestModel);
//
//    @GET("allstats")
//    Call<List<StateModel>> getStates();
//
//    @POST("allcities")
//    Call<List<CityModel>> getCity(@Body CityRequestModel cityRequestModel);
//
//    @POST("alllocality")
//    Call<List<LocalityModel>> getLocality(@Body LocalityRequestModel localityRequestModel);
//
//    @POST("listaddress")
//    Call<AddressResponse> getAddressList(@Body AddressListRequestModel addressListRequestModel);
//
//    @POST("addaddress")
//    Call<AddressModel> addNewAddress(@Body AddNewAddressRequestModel addNewAddressRequestModel);
//
//    @POST("editnewaddress")
//    Call<AddressModel> editAddress(@Body EditAddressRequestModel editAddressRequestModel);
//
//    @POST("setdefaultaddress")
//    Call<ResponseModel> setDefaultAddress(@Body DefaultAddressRequestModel defaultAddressRequestModel);
//
//    @POST("deleteaddress")
//    Call<ResponseModel> deleteAddress(@Body DeleteAddressRequestModel deleteAddressRequestModel);
//
//    @POST("viwmyaccount")
//    Call<ProfileResponse> getProfile(@Body AddressListRequestModel model);
//
//    @Multipart
//    @POST("addprofileimg")
//    Call<AddUpdateProfileImageResponse> addUpdatedProfileImage(@Part MultipartBody.Part file, @Part("fid") RequestBody userid);
//
//    @POST("deleteprofileimgs")
//    Call<ResponseModel> deleteProfileImage(@Body AddressListRequestModel model);
//
//    @POST("editmyaccount")
//    Call<EditProfileResponse> editProfile(@Body EditProfileRequestModel profileRequestModel);
//
//    @POST("changepassd")
//    Call<ResponseModel> changePassword(@Body ChangePasswordRequestModel passwordRequestModel);
//
//    @POST("sendsmsotp")
//    Call<ResponseModel> changeMobileNo(@Body ChangeMobileRequestModel mobileRequestModel);
//
//    @POST("senddataverifyotp")
//    Call<ResponseModel> oTPVerification(@Body OTPRequestModel otpRequestModel);
//
//    @POST("resendotpp")
//    Call<ResponseModel> resendOTP(@Body ChangeMobileRequestModel mobileRequestModel);
//
//    @POST("resenduseremails")
//    Call<ResponseModel> resendEmail(@Body ResendEmailRequestModel requestModel);
//
//    @POST("emailchange")
//    Call<ResponseModel> changeEmail(@Body ChangeEmailRequestModel requestModel);
//
//    @POST("forgotpasswordbymail")
//    Call<ResponseModel> forgotPasswordByEmail(@Body ResendEmailRequestModel requestModel);
//
//    @POST("selecthelperscategory")
//    Call<HelpersCategoryModel> getHelpersCategoryList();
//
//    @POST("selecthelperslanguageedu")
//    Call<HelpersLanguageQualificationModel> getHelpersLanguageQualificationList();
//
//    @POST("selecthelpersbenifits")
//    Call<HelpersBenifitModel> getHelpersBenifits();
//

}
