package com.yono.messeripos.api.service;

import com.yono.messeripos.api.ApiHelper;
import com.yono.messeripos.models.ForgotPasswordModels;
import com.yono.messeripos.models.UsersModels;
import com.yono.messeripos.response.DataResponse;

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

public interface UsersService {
    @POST(ApiHelper.VERSI_API_1+"login")
    Call<DataResponse<UsersModels>> checkLogin(@Body UsersModels usersModels);

    @POST(ApiHelper.VERSI_API_1+"register")
    Call<DataResponse<UsersModels>> postRegister(@Body UsersModels usersModels);

    @POST(ApiHelper.VERSI_API_1+"forgot-password")
    Call<DataResponse> postForgotPassword(@Body ForgotPasswordModels forgotPasswordModels);
}
