User Repository
Functions
Link copied to clipboard
fun acceptUserInvitation(userId: String, invitationId: String, listener: RainbowListener<Unit, Unit>? = null): Job
Link copied to clipboard
fun cancelUserInvitation(userId: String, invitationId: String, listener: RainbowListener<Unit, Unit>? = null): Job
Link copied to clipboard
fun declineUserInvitation(userId: String, invitationId: String, listener: RainbowListener<Unit, Unit>? = null): Job
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun fetchTargetedUserSuggestions(query: Map<String, String>, listener: RainbowListener<TargetedUserSuggestionsResponse, Unit>? = null): Job
Link copied to clipboard
fun fetchUserData(userId: String, listener: RainbowListener<Contact, UserRepository.FetchUserDataError>? = null): Job
Link copied to clipboard
fun fetchUserReceivedInvitations(userId: String, query: Map<String, String>, listener: RainbowListener<List<Invitation>, Unit>? = null): Job
Link copied to clipboard
fun fetchUserSentInvitations(userId: String, query: Map<String, String>, listener: RainbowListener<List<Invitation>, Unit>? = null): Job
Link copied to clipboard
fun fetchUserSettings(userId: String, listener: RainbowListener<UserSettingsResponse, Unit>? = null): Job
Link copied to clipboard
fun fetchUserSuggestions(query: Map<String, String>, listener: RainbowListener<List<Contact>, Unit>? = null): Job
Link copied to clipboard
Link copied to clipboard
fun inviteUser(userId: String, body: InviteUserBody, listener: RainbowListener<Invitation, Unit>? = null): Job
Link copied to clipboard
Link copied to clipboard
fun reSendInvitation(userId: String, invitationId: String, listener: RainbowListener<Invitation, Unit>? = null): Job
Link copied to clipboard
Link copied to clipboard
fun selectTheme(userId: String, themeId: String, listener: RainbowListener<RainbowTheme, Unit>? = null): Job
Link copied to clipboard
fun selfRegisterByEmail(body: Map<String, String>, listener: RainbowListener<Unit, Unit>? = null): Job
Link copied to clipboard
Link copied to clipboard
fun setUserSettings(userId: String, body: UserSettingsBody, listener: RainbowListener<Unit, Unit>? = null): Job
Link copied to clipboard
fun startResetPassword(body: Map<String, String>, listener: RainbowListener<Unit, Unit>? = null): Job
Link copied to clipboard
fun updateUser(userId: String, body: UpdateUserRequest, listener: RainbowListener<Contact, Unit>? = null): Job
Link copied to clipboard
fun updateUserPassword(userId: String, body: Map<String, String>, listener: RainbowListener<Unit, UserRepository.ChangePasswordError>? = null): Job