/*
 * COPYRIGHT (c) 2018 All rights reserved by HANWHA LIFE.
 */
package kr.co.zumo.app.lifeplus.network.api;

import io.reactivex.Single;
import kr.co.zumo.app.lifeplus.bean.api.AuthConfirmRequestBean;
import kr.co.zumo.app.lifeplus.bean.api.AuthRequestBean;
import kr.co.zumo.app.lifeplus.bean.api.FAQResultBean;
import kr.co.zumo.app.lifeplus.bean.api.LifeplusAPIBean;
import kr.co.zumo.app.lifeplus.bean.api.LoginResultBean;
import kr.co.zumo.app.lifeplus.bean.api.MemberJoinRequestBean;
import kr.co.zumo.app.lifeplus.bean.api.MemberJoinResultBean;
import kr.co.zumo.app.lifeplus.bean.api.PolicyConfirmRequestBean;
import kr.co.zumo.app.lifeplus.bean.api.PolicyResultBean;
import kr.co.zumo.app.lifeplus.bean.api.RequestBean;
import kr.co.zumo.app.lifeplus.bean.api.UserNoBean;
import retrofit2.http.Body;
import retrofit2.http.POST;

/**
 * LifeplusAPI
 * <pre>
 * </pre>
 *
 * @author 민효동
 * @version 1.0
 * @history 민효동   [2018-09-23]   [최초 작성]
 * @since 2018-09-23
 */
public interface LifeplusAPI {

  @POST("api/v1/mobileAuth/requestMobileAuth.plus")
  Single<LifeplusAPIBean> requestMobileAuth(@Body AuthRequestBean bean);

  @POST("api/v1/mobileAuth/confirmMobileAuth.plus")
  Single<LifeplusAPIBean> confirmMobileAuth(@Body AuthConfirmRequestBean bean);

  @POST("api/v1/textRes/getPolicyList.plus")
  Single<PolicyResultBean> getPolicyList(@Body RequestBean bean);

  @POST("api/v1/textRes/confirmPolicy.plus")
  Single<LifeplusAPIBean> confirmPolicy(@Body PolicyConfirmRequestBean bean);

  @POST("api/v1/member/insertMember.plus")
  Single<MemberJoinResultBean> insertMember(@Body MemberJoinRequestBean bean);

  @POST("api/v1/member/deleteMember.plus")
  Single<LifeplusAPIBean> deleteMember(@Body UserNoBean bean);

  @POST("/api/v1/textRes/getFaqList.plus")
  Single<FAQResultBean> getFaqList(@Body RequestBean bean);

  @POST("api/v1/member/selectMember.plus")
  Single<LoginResultBean> selectMember(@Body UserNoBean bean);

  @POST("api/v1/member/activeMember.plus")
  Single<LifeplusAPIBean> activeMember(@Body RequestBean bean);
}
