feat loginApp #refs 6868
This commit is contained in:
parent
5dfae7102b
commit
cf8d92ce25
|
@ -34,6 +34,8 @@ import es.verdnatura.presentation.view.feature.historicovehiculo.model.ItemHisto
|
|||
import es.verdnatura.presentation.view.feature.inventario.model.ItemInventaryVO
|
||||
import es.verdnatura.presentation.view.feature.inventario.model.ItemInventoryParking
|
||||
import es.verdnatura.presentation.view.feature.login.model.DataUserSalix
|
||||
import es.verdnatura.presentation.view.feature.login.model.LoginApp
|
||||
import es.verdnatura.presentation.view.feature.login.model.LoginAppData
|
||||
import es.verdnatura.presentation.view.feature.login.model.LoginDevice
|
||||
import es.verdnatura.presentation.view.feature.login.model.LoginSalixVO
|
||||
import es.verdnatura.presentation.view.feature.login.model.OperatorSalix
|
||||
|
@ -62,6 +64,7 @@ import es.verdnatura.presentation.view.feature.sacador.model.CollectionVO
|
|||
import es.verdnatura.presentation.view.feature.sacador.model.MistakeTypeVO
|
||||
import es.verdnatura.presentation.view.feature.sacador.model.PlacementSupplyVO
|
||||
import es.verdnatura.presentation.view.feature.sacador.model.TicketStateSalix
|
||||
import es.verdnatura.presentation.view.feature.ubicador.model.ItemShelvingNewer
|
||||
import es.verdnatura.presentation.view.feature.ubicador.model.ItemUbicador
|
||||
import es.verdnatura.presentation.view.feature.ubicador.model.ItemUbicadorVO
|
||||
import es.verdnatura.presentation.view.feature.workermistake.model.DepartmentMistake
|
||||
|
@ -92,6 +95,11 @@ interface SalixService {
|
|||
@Body params: LoginSalixVO
|
||||
): Call<LoginSalixVO>
|
||||
|
||||
@POST("Accounts/loginApp")
|
||||
fun loginApp(
|
||||
@Body params: LoginApp
|
||||
): Call<LoginAppData>
|
||||
|
||||
@GET("VnUsers/getCurrentUserData")
|
||||
fun getCurrentUserData(
|
||||
): Call<DataUserSalix>
|
||||
|
@ -347,6 +355,14 @@ interface SalixService {
|
|||
):
|
||||
Call<Any>
|
||||
|
||||
@POST("Tickets/{id}/addSale")
|
||||
fun addSale(
|
||||
@Path("id") id: Number,
|
||||
@Query("quantity") quantity: Number,
|
||||
@Query("barcode") barcode: String
|
||||
):
|
||||
Call<Any>
|
||||
|
||||
@POST("Collections/assign")
|
||||
fun collectionAssign(
|
||||
):
|
||||
|
@ -473,7 +489,7 @@ interface SalixService {
|
|||
@Query("schema") schema: String = "vn"
|
||||
): Call<Unit>
|
||||
|
||||
@POST("Applications/itemShelvingSale_setSaleGroup/execute-proc")
|
||||
@POST("Applications/itemShelvingSale_setPicked/execute-proc")
|
||||
fun itemShelvingSaleSetSaleGroup(
|
||||
@Query("params") params: Any? = null,
|
||||
@Query("schema") schema: String = "vn"
|
||||
|
@ -491,13 +507,11 @@ interface SalixService {
|
|||
@Query("schema") schema: String = "vn"
|
||||
): Call<Any>
|
||||
|
||||
@GET("ItemShelvings/hasItemOlder")
|
||||
fun hasItemOlder(
|
||||
@Query("shelvingFkIn") shelvingFkIn: Any,
|
||||
@Query("parking") parking: Any? = null,
|
||||
@Query("shelvingFkOut") shelvingFkOut: Any? = null,
|
||||
@Query("itemFk") itemFk: Any? = null,
|
||||
): Call<Any>
|
||||
@GET("ItemShelvings/getListItemNewer")
|
||||
fun getListItemNewer(
|
||||
@Query("shelvingFk") shelvingFkIn: Any,
|
||||
@Query("parking") parking: Any? = null
|
||||
): Call<List<ItemShelvingNewer>>
|
||||
|
||||
@POST("Applications/sectorCollectionSaleGroup_add/execute-proc")
|
||||
fun sectorCollectionSaleGroupAdd(
|
||||
|
@ -523,7 +537,7 @@ interface SalixService {
|
|||
@Query("schema") schema: String = "vn"
|
||||
): Call<List<CollectionVO>>
|
||||
|
||||
@POST("Applications/sectorCollection_getPartial/execute-proc")
|
||||
@POST("Applications/sectorCollection_getMyPartial/execute-proc")
|
||||
fun sectorCollectionGetPartial(
|
||||
@Query("params") params: Any? = null,
|
||||
@Query("schema") schema: String = "vn"
|
||||
|
@ -856,8 +870,8 @@ interface SalixService {
|
|||
@Body params: Any
|
||||
): Call<Unit>
|
||||
|
||||
@POST("ExpeditionTrucks")
|
||||
fun expeditionTrucksInsert(
|
||||
@POST("RoadMapStops")
|
||||
fun roadMapStopAdd(
|
||||
@Body params: Any
|
||||
): Call<Any>
|
||||
|
||||
|
@ -866,8 +880,8 @@ interface SalixService {
|
|||
@Query("filter") filter: String = """{"where": {"isActive": true}}"""
|
||||
): Call<List<ItemPackingType>>
|
||||
|
||||
@GET("ExpeditionTrucks")
|
||||
fun expeditionTruckGet(
|
||||
@GET("RoadMapStops")
|
||||
fun roadMapStopGet(
|
||||
@Query("filter") filter: String
|
||||
): Call<List<ItemExpeditionTruckVO>>
|
||||
|
||||
|
@ -893,6 +907,12 @@ interface SalixService {
|
|||
@Query("schema") schema: String = "vn"
|
||||
): Call<List<StopMapTruckPallet>>
|
||||
|
||||
@GET("RoadmapStops/getPalletMatchState")
|
||||
fun getPalletMatchState(
|
||||
@Query("roadMapStopFk") roadMapStopFk: Int,
|
||||
@Query("state") state: String
|
||||
): Call<List<StopMapTruckPallet>>
|
||||
|
||||
@POST("PackingSiteAdvanceds")
|
||||
fun ticket_advancePackaging(
|
||||
@Body parms: packingSiteSalix
|
||||
|
@ -968,7 +988,7 @@ interface SalixService {
|
|||
): Call<List<ShelvingLogSalix>>
|
||||
|
||||
@GET("Parkings")
|
||||
fun getPickingOrder(
|
||||
fun getParkings(
|
||||
@Query("filter") filter: String
|
||||
): Call<List<JsonObject>>
|
||||
|
||||
|
|
Loading…
Reference in New Issue