ClientRepository
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract suspend fun deleteClient(param: <Error class: unknown class>): Either<NetworkFailure, Unit>
Link copied to clipboard
Link copied to clipboard
abstract suspend fun getClientsByConversationId(conversationId: <Error class: unknown class>): Either<StorageFailure, Map<<Error class: unknown class>, List<<Error class: unknown class>>>>
Link copied to clipboard
abstract suspend fun getClientsByUserId(userId: <Error class: unknown class>): Either<StorageFailure, List<<Error class: unknown class>>>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract suspend fun observeClientsByUserId(userId: <Error class: unknown class>): <Error class: unknown class><Either<StorageFailure, List<<Error class: unknown class>>>>
Link copied to clipboard
abstract suspend fun observeClientsByUserIdAndClientId(userId: <Error class: unknown class>, clientId: <Error class: unknown class>): <Error class: unknown class><Either<StorageFailure, <Error class: unknown class>>>
Link copied to clipboard
abstract suspend fun observeCurrentClientId(): <Error class: unknown class><<Error class: unknown class>?>
Link copied to clipboard
abstract suspend fun observeIsClientRegistrationBlockedByE2EI(): <Error class: unknown class><Boolean?>
Link copied to clipboard
abstract suspend fun observeNewClients(): <Error class: unknown class><Either<StorageFailure, List<<Error class: unknown class>>>>
Link copied to clipboard
abstract suspend fun persistClientId(clientId: <Error class: unknown class>): Either<CoreFailure, Unit>
Link copied to clipboard
abstract suspend fun persistRetainedClientId(clientId: <Error class: unknown class>): Either<CoreFailure, Unit>
Link copied to clipboard
abstract suspend fun registerClient(param: RegisterClientParam): Either<NetworkFailure, <Error class: unknown class>>
Link copied to clipboard
abstract suspend fun registerMLSClient(clientId: <Error class: unknown class>, publicKey: ByteArray, cipherSuite: <Error class: unknown class>): Either<CoreFailure, Unit>
Link copied to clipboard
abstract suspend fun registerToken(senderId: String, client: String, token: String, transport: String): Either<NetworkFailure, Unit>
Link copied to clipboard
abstract suspend fun removeClientsAndReturnUsersWithNoClients(redundantClientsOfUsers: Map<<Error class: unknown class>, List<<Error class: unknown class>>>): Either<StorageFailure, List<<Error class: unknown class>>>
Link copied to clipboard
Link copied to clipboard
abstract suspend fun saveNewClientEvent(newClientEvent: Event.User.NewClient): Either<CoreFailure, Unit>
Link copied to clipboard
abstract suspend fun selfListOfClients(): Either<NetworkFailure, List<<Error class: unknown class>>>
Link copied to clipboard
Link copied to clipboard
abstract suspend fun storeMapOfUserToClientId(userToClientMap: Map<<Error class: unknown class>, List<<Error class: unknown class>>>): Either<StorageFailure, Unit>
Link copied to clipboard
abstract suspend fun storeUserClientIdList(userId: <Error class: unknown class>, clients: List<<Error class: unknown class>>): Either<StorageFailure, Unit>
Link copied to clipboard
abstract suspend fun storeUserClientListAndRemoveRedundantClients(clients: List<<Error class: unknown class>>): Either<StorageFailure, Unit>
Link copied to clipboard
abstract suspend fun updateClientProteusVerificationStatus(userId: <Error class: unknown class>, clientId: <Error class: unknown class>, verified: Boolean): Either<StorageFailure, Unit>