integration-0.1.0
Safe HaskellSafe-Inferred
LanguageGHC2021

API.Galley

Synopsis

Documentation

data CreateConv Source #

Instances

Instances details
MakesValue CreateConv Source # 
Instance details

Defined in API.Galley

deleteTeamMember :: (HasCallStack, MakesValue owner, MakesValue member) => String -> owner -> member -> App Response Source #

putConversationProtocol :: (HasCallStack, MakesValue user, MakesValue protocol) => user -> ConvId -> protocol -> App Response Source #

data ListConversationIds Source #

Instances

Instances details
Default ListConversationIds Source # 
Instance details

Defined in API.Galley

mkProteusRecipients :: (HasCallStack, MakesValue domain, MakesValue user, MakesValue client) => domain -> [(user, [client])] -> String -> App QualifiedUserEntry Source #

updateConversationMember :: (HasCallStack, MakesValue user, MakesValue conv, MakesValue target) => user -> conv -> target -> String -> App Response Source #

deleteTeamConv :: (HasCallStack, MakesValue team, MakesValue conv, MakesValue user) => team -> conv -> user -> App Response Source #

data AddMembers Source #

Constructors

AddMembers 

Fields

Instances

Instances details
Default AddMembers Source # 
Instance details

Defined in API.Galley

addMembers :: (HasCallStack, MakesValue user, MakesValue conv) => user -> conv -> AddMembers -> App Response Source #

removeMember :: (HasCallStack, MakesValue remover, MakesValue conv, MakesValue removed) => remover -> conv -> removed -> App Response Source #

changeConversationName :: (HasCallStack, MakesValue user, MakesValue conv, MakesValue name) => user -> conv -> name -> App Response Source #

updateRole :: (HasCallStack, MakesValue callerUser, MakesValue targetUser, MakesValue roleUpdate, MakesValue qcnv) => callerUser -> targetUser -> roleUpdate -> qcnv -> App Response Source #

updateReceiptMode :: (HasCallStack, MakesValue user, MakesValue conv, MakesValue mode) => user -> conv -> mode -> App Response Source #

updateAccess :: (HasCallStack, MakesValue user, MakesValue conv) => user -> conv -> [Pair] -> App Response Source #

getTeam :: (HasCallStack, MakesValue user, MakesValue tid) => user -> tid -> App Response Source #

data AppLockSettings Source #

Instances

Instances details
Default AppLockSettings Source # 
Instance details

Defined in API.Galley

data TeamProperties Source #

Constructors

TeamProperties 

Instances

Instances details
Default TeamProperties Source # 
Instance details

Defined in API.Galley

setTeamFeatureConfig :: (HasCallStack, MakesValue user, MakesValue team, MakesValue featureName, MakesValue payload) => user -> team -> featureName -> payload -> App Response Source #

setTeamFeatureConfigVersioned :: (HasCallStack, MakesValue user, MakesValue team, MakesValue featureName, MakesValue payload) => Versioned -> user -> team -> featureName -> payload -> App Response Source #