integration-0.1.0
Safe HaskellSafe-Inferred
LanguageGHC2021

API.Brig

Synopsis

Documentation

data AddUser Source #

Instances

Instances details
Default AddUser Source # 
Instance details

Defined in API.Brig

Methods

def :: AddUser Source #

data UpdateClient Source #

Instances

Instances details
Default UpdateClient Source # 
Instance details

Defined in API.Brig

searchContacts :: (MakesValue user, MakesValue searchTerm, MakesValue domain) => user -> searchTerm -> domain -> App Response Source #

postConnection :: (HasCallStack, MakesValue userFrom, MakesValue userTo) => userFrom -> userTo -> App Response Source #

getConnection :: (HasCallStack, MakesValue userFrom, MakesValue userTo) => userFrom -> userTo -> App Response Source #

putConnection :: (HasCallStack, MakesValue userFrom, MakesValue userTo, MakesValue status) => userFrom -> userTo -> status -> App Response Source #

data PutSelf Source #

Constructors

PutSelf 

Instances

Instances details
Default PutSelf Source # 
Instance details

Defined in API.Brig

Methods

def :: PutSelf Source #

putSelfEmail :: (HasCallStack, MakesValue caller) => caller -> String -> App Response Source #

https://staging-nginz-https.zinfra.io/v6/api/swagger-ui/#/default/put_users__uid__email

NOTE: the full process of changing (and confirming) the email address is more complicated. see servicesbrigtestintegration for details.

data PostInvitation Source #

Constructors

PostInvitation 

Instances

Instances details
Default PostInvitation Source # 
Instance details

Defined in API.Brig

newProvider :: (HasCallStack, MakesValue provider, MakesValue user) => user -> provider -> App Value Source #

loginProvider :: (HasCallStack, MakesValue dom) => dom -> String -> String -> App ByteString Source #

Returns the value of the Set-Cookie header that is to be used to authenticate to provider endpoints.

updateService :: (HasCallStack, MakesValue dom, MakesValue serviceId) => dom -> String -> serviceId -> Maybe String -> Maybe String -> App Response Source #

updateServiceConn Source #

Arguments

:: MakesValue conn 
=> String

providerId

-> String

serviceId

-> conn

connection update as a Json object, with an obligatory "password" field

-> App Response 

setProperty :: (MakesValue user, ToJSON val) => user -> String -> val -> App Response Source #

activate :: (HasCallStack, MakesValue domain) => domain -> String -> String -> App Response Source #

login :: (HasCallStack, MakesValue domain) => domain -> String -> String -> App Response Source #

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