package com.project.android.api.webService;

import com.project.android.api.model.SendOtpReq;
import com.project.android.api.model.SendOtpRes;
import com.project.android.api.model.SendSmsReq;
import com.project.android.api.model.SendSmsRes;

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

public interface APIInterface {

    //ارسال sms
    @POST("/Apiv2/Message/SendSms")
    Call<SendSmsRes> sendSms(@Body SendSmsReq smsReq, @Header( "Authorization") String sign );


    //ارسال otp
    @POST("/Apiv2/Message/SendOtp")
    Call<SendOtpRes> sendOtp(@Body SendOtpReq otpReq, @Header( "Authorization") String sign );


}
