WeightService

interface WeightService

Functions

Link copied to clipboard
abstract suspend fun createWeightGoal(payload: HDWeightGoal): HDWeightGoal
Link copied to clipboard
abstract suspend fun getWeightDataByLastUpdate(from: String, count: Long?, order: String? = WeightServiceConstants.WEIGHT_ASC_ORDER): List<HDWeight>
Link copied to clipboard
abstract suspend fun getWeightGoalsByLastUpdate(from: String, count: Long?): List<HDWeightGoal>
Link copied to clipboard
abstract suspend fun updateWeightGoalStatus(payload: HDWeightGoal): HDWeightGoal
Link copied to clipboard
abstract suspend fun weightDataBulkUpdate(toAdd: List<HDWeight>, toUpdate: List<HDWeight>): WeightBulkResponse