refs #5870 operator

This commit is contained in:
Sergio De la torre 2023-11-16 10:08:08 +01:00
parent d6afd16fa2
commit cc39ba274c
1 changed files with 8 additions and 6 deletions

View File

@ -68,8 +68,9 @@ interface SalixService {
fun getCollectionSalix( fun getCollectionSalix(
): Call<List<CollectionVO>> ): Call<List<CollectionVO>>
@GET("Addresses/getAddress") @GET("AddressShortages")
fun getAddressSalix( fun getAddressSalix(
@Query("filter") filter:String
): Call<List<AddressLoses>> ): Call<List<AddressLoses>>
@GET("Buyers") @GET("Buyers")
@ -195,7 +196,7 @@ interface SalixService {
@POST("Shelvings/upsertWithWhere") @POST("Shelvings/upsertWithWhere")
fun updateShelvingPriority( fun updateShelvingPriority(
@Query("where") where: String, @Query("where") where: Any,
@Body params: Any @Body params: Any
): Call<Any> ): Call<Any>
@ -289,7 +290,7 @@ interface SalixService {
@Multipart @Multipart
fun uploadImage( fun uploadImage(
@Query("collection") collection: String, @Query("collection") collection: String,
@Query("id") id: Int, @Query("id") id: Number,
@Part filePart: MultipartBody.Part, @Part filePart: MultipartBody.Part,
): Call<Any> ): Call<Any>
@ -299,10 +300,11 @@ interface SalixService {
@Path("id") id: Number, @Body params: Any @Path("id") id: Number, @Body params: Any
): Call<Unit> ): Call<Unit>
@GET("Operators") @GET("Operators/{id}")
fun operator_getData( fun operator_getData(
@Query("filter") filter: String @Path("id") id: Number,
): Call<List<OperatorSalix>> @Query("filter") filter:String
): Call<OperatorSalix>
@GET("AccessTokenConfigs") @GET("AccessTokenConfigs")
fun getAccessTokenConfigs( fun getAccessTokenConfigs(