package com.infinite.focus.server.auth;

import com.infinite.focus.server.payment.LicensesEnableDisableResponse;

import retrofit2.Call;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Query;

public interface RepositoryInterface {
	
    @GET("licenses/status")
    Call<LicensesStatusResponse> licensesStatus(
    		@Query("auth_token") String auth_token,
            @Query("license_key") String license_key
    );
    
    @FormUrlEncoded
    @POST("licenses/enable")
    Call<LicensesEnableDisableResponse> enableLicenses(
    		@Field("auth_token") String auth_token,
            @Field("license_key") String license_key
    );
    
    @FormUrlEncoded
    @POST("licenses/disable")
    Call<LicensesEnableDisableResponse> disableLicenses(
    		@Field("auth_token") String auth_token,
            @Field("license_key") String license_key
    );
}