Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- getConnections :: [UserId] -> Maybe [Qualified UserId] -> Maybe Relation -> App [ConnectionStatusV2]
- getConnectionsUnqualified :: [UserId] -> Maybe [UserId] -> Maybe Relation -> App [ConnectionStatus]
- putConnectionInternal :: UpdateConnectionsInternal -> App Status
- deleteBot :: ConvId -> BotId -> App ()
- reAuthUser :: UserId -> ReAuthUser -> App (Either AuthenticationError ())
- lookupActivatedUsers :: [UserId] -> App [User]
- getUsers :: [UserId] -> App [User]
- deleteUser :: UserId -> App ()
- getContactList :: UserId -> App [UserId]
- chunkify :: forall m key a. (Monad m, Monoid a) => ([key] -> m a) -> [key] -> m a
- getRichInfoMultiUser :: [UserId] -> App [(UserId, RichInfo)]
- getUserExportData :: UserId -> App (Maybe TeamExportUser)
- getAccountConferenceCallingConfigClient :: HasCallStack => UserId -> App (Feature ConferenceCallingConfig)
- updateSearchVisibilityInbound :: TeamStatus SearchVisibilityInboundConfig -> App ()
Documentation
getConnections :: [UserId] -> Maybe [Qualified UserId] -> Maybe Relation -> App [ConnectionStatusV2] Source #
Get statuses of all connections between two groups of users (the usual pattern is to check all connections from one user to several, or from several users to one).
When a connection does not exist, it is skipped.
Calls getConnectionsStatus
.
getConnectionsUnqualified :: [UserId] -> Maybe [UserId] -> Maybe Relation -> App [ConnectionStatus] Source #
Get statuses of all connections between two groups of users (the usual pattern is to check all connections from one user to several, or from several users to one).
When a connection does not exist, it is skipped.
Calls getConnectionsStatusUnqualified
.
reAuthUser :: UserId -> ReAuthUser -> App (Either AuthenticationError ()) Source #
Calls reAuthUserH
.
lookupActivatedUsers :: [UserId] -> App [User] Source #
Calls listActivatedAccountsH
.
deleteUser :: UserId -> App () Source #
Calls deleteUserNoAuthH
.
getContactList :: UserId -> App [UserId] Source #
Calls getContactListH
.
chunkify :: forall m key a. (Monad m, Monoid a) => ([key] -> m a) -> [key] -> m a Source #
URLs with more than ~160 uids produce 400 responses, because HAProxy has a URL length limit of ~6500 (determined experimentally). 100 is a conservative setting. A uid contributes about 36+3 characters (+3 for the comma separator) to the overall URL length.
getRichInfoMultiUser :: [UserId] -> App [(UserId, RichInfo)] Source #
Calls getRichInfoMultiH
getUserExportData :: UserId -> App (Maybe TeamExportUser) Source #
Calls getUserExportDataH