Connections

Abstrakt.shared.searchContact(email: String, completion: @escaping (CompletionError?, [SearchedContact]) -> Void)
Abstrakt.shared.getPendingConnectionRequests(completion: @escaping ([PendingConnectionRequest]) -> Void)
Abstrakt.shared.requestConnection(userId: String, completion: ((CompletionError?, PendingConnectionRequest?) -> Void)? = nil)
Abstrakt.shared.approveConnectionRequest(userId: String, completion: ((CompletionError?, UserConnection?) -> Void)? = nil)
Abstrakt.shared.denyConnectionRequest(userId: String, completion: ((CompletionError?, _ userId: String?) -> Void)? = nil)
Abstrakt.shared.removeConnection(userId: String, completion: ((CompletionError?, _ userId: String?) -> Void)? = nil)
Abstrakt.shared.getConnections(completion: @escaping ([UserConnection]) -> Void)