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

import java.util.List;

import it.integry.integrywmsnative.core.REST.model.AvailableCodMdepsDTO;
import it.integry.integrywmsnative.core.REST.model.ServiceRESTResponse;
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 PrinterRESTConsumerService {

    @POST("getAvailablePrinters")
    Call<ServiceRESTResponse<List<String>>> getAvailablePrinters();

    @POST("getAvailablePrinters")
    Call<ServiceRESTResponse<List<String>>> getAvailablePrinters(@Query("codMdep") String codMdep);

    @POST("getAvailablePrinters")
    Call<ServiceRESTResponse<List<String>>> getAvailablePrinters(@Query("codMdep") String codMdep, @Query("printerType") String printerType);


    @POST("pkgPrintLabel")
    @FormUrlEncoded
    Call<ServiceRESTResponse<Object>> printCollo(
            @Query("printerName") String printerName,
            @Field("dataCollo") String dataCollo,
            @Field("gestione") String gestione,
            @Field("serCollo") String serCollo,
            @Field("numCollo") int numCollo,
            @Query("printQuantity") int printQuantity,
            @Query("reportName") String reportName
    );


}
