feat: refs#8678 ticketAdvance

This commit is contained in:
Sergio De la torre 2025-02-28 09:05:02 +01:00
parent 612b2ac8f2
commit 12e5241a10
1 changed files with 7 additions and 0 deletions

View File

@ -2,6 +2,7 @@ package es.verdnatura.domain.userCases
import es.verdnatura.domain.SalixService
import es.verdnatura.presentation.view.feature.packaging.model.NotificationQueue
import es.verdnatura.presentation.view.feature.pasillero.model.WorkerActionSalix
import retrofit2.Call
class GetItemFromBarcodeUseCase(private val salixService: SalixService) {
@ -25,3 +26,9 @@ class NotiticationUseCase(private val salixService: SalixService) {
return salixService.notificationQueues(notificationQueue)
}
}
class WorkerActivityUseCase(private val salixService: SalixService) {
fun addWorkerActivity(workerActionSalix: WorkerActionSalix): Call<Any> {
return salixService.workerActivityAdd(workerActionSalix)
}
}