getSubscriberRemoteUpdate

suspend fun getSubscriberRemoteUpdate(    context: Context,     internationalNumber: String,     forceUpdate: Boolean = false): ApiResult<STWSubscriberDetails>

Call this method to get update for the given subscriber this method should get details from remote server, then update the local database

Return

STWSubscriberDetails in case of success else return the error code ContactErrorKT.NO_UPDATE_IS_AVAILABLE ContactErrorKT.NETWORK_ERROR ContactErrorKT.EMPTY_DATA

Parameters

context

Context: The application context

internationalNumber

String: The subscriber international phone number

forceUpdate

Boolean: when true should get subscriber details, when false we should check the last update date for the given phone number