package it.integry.integrywmsnative.core.rest.consumers;

import java.util.List;

import it.integry.integrywmsnative.core.model.MvwSitArtUdcDetInventario;
import it.integry.integrywmsnative.core.rest.model.ServiceRESTResponse;
import it.integry.integrywmsnative.core.rest.model.giacenza.InstantItemSituationResponseDto;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

public interface GiacenzaRESTConsumerService {

    @GET("wms/giacenza/availableItemsByPosizione")
    Call<ServiceRESTResponse<List<MvwSitArtUdcDetInventario>>> retrieveAvailableItems(
            @Query("posizione") String posizione);

    @GET("wms/giacenza/availableItemsByArticolo")
    Call<ServiceRESTResponse<List<MvwSitArtUdcDetInventario>>> retrieveAvailableItemsByArt(
            @Query("codMart") String codMart);

    @GET("wms/giacenza/availableItemsByArticolo")
    Call<ServiceRESTResponse<List<MvwSitArtUdcDetInventario>>> retrieveAvailableItemsByArt(
            @Query("codMart") String codMart,
            @Query("partitaMag") String partitaMag);

    @GET("wms/giacenza/instantItemSituation")
    Call<ServiceRESTResponse<InstantItemSituationResponseDto>> retrieveInstantItemSituation(
            @Query("codMdep") String codMdep,
            @Query("codMart") String codMart,
            @Query("partitaMag") String partitaMag,
            @Query("codJcom") String codJcom);

}
