Safe Haskell | None |
---|---|
Language | Haskell2010 |
- createPush :: Auth -> Push New -> ClientM (Push Existing)
- getPushes :: Auth -> Maybe PushbulletTime -> Maybe Bool -> Maybe Cursor -> Maybe Int -> ClientM (Paginated ExistingPushes)
- createEphemeral :: Auth -> Ephemeral -> ClientM TrivialObject
- getMe :: Auth -> ClientM User
- getDevices :: Auth -> Maybe Bool -> Maybe Cursor -> ClientM (Paginated ExistingDevices)
- createDevice :: Auth -> Device New -> ClientM (Device Existing)
- deleteDevice :: Auth -> DeviceId -> ClientM TrivialObject
- getSmsThreads :: Auth -> Permanent ThreadList -> ClientM SmsThreads
- getSmsMessages :: Auth -> Permanent MessageList -> ClientM SmsMessages
- pushbulletAuth :: PushbulletKey -> Auth
- type Auth = AuthenticateReq (AuthProtect PushbulletAuth)
Documentation
getPushes :: Auth -> Maybe PushbulletTime -> Maybe Bool -> Maybe Cursor -> Maybe Int -> ClientM (Paginated ExistingPushes) Source #
createEphemeral :: Auth -> Ephemeral -> ClientM TrivialObject Source #
deleteDevice :: Auth -> DeviceId -> ClientM TrivialObject Source #
getSmsThreads :: Auth -> Permanent ThreadList -> ClientM SmsThreads Source #
getSmsMessages :: Auth -> Permanent MessageList -> ClientM SmsMessages Source #
pushbulletAuth :: PushbulletKey -> Auth Source #
Constructs an authenticator from a pushbullet key.
This authenticator adds the necessary Access-Token
header to the request.
type Auth = AuthenticateReq (AuthProtect PushbulletAuth) Source #
A shorter name of the auth type we use.