wire-api-0.1.0
Safe HaskellSafe-Inferred
LanguageGHC2021

Wire.API.User.Profile

Synopsis

Documentation

newtype Name Source #

Usually called display name. Length is between 1 and 128 characters.

Constructors

Name 

Fields

Instances

Instances details
Arbitrary Name Source # 
Instance details

Defined in Wire.API.User.Profile

FromJSON Name Source # 
Instance details

Defined in Wire.API.User.Profile

ToJSON Name Source # 
Instance details

Defined in Wire.API.User.Profile

Generic Name Source # 
Instance details

Defined in Wire.API.User.Profile

Associated Types

type Rep Name :: Type -> Type #

Methods

from :: Name -> Rep Name x #

to :: Rep Name x -> Name #

Show Name Source # 
Instance details

Defined in Wire.API.User.Profile

Methods

showsPrec :: Int -> Name -> ShowS #

show :: Name -> String #

showList :: [Name] -> ShowS #

FromByteString Name Source # 
Instance details

Defined in Wire.API.User.Profile

Methods

parser :: Parser Name Source #

ToByteString Name Source # 
Instance details

Defined in Wire.API.User.Profile

Methods

builder :: Name -> Builder Source #

Cql Name Source # 
Instance details

Defined in Wire.API.User.Profile

Eq Name Source # 
Instance details

Defined in Wire.API.User.Profile

Methods

(==) :: Name -> Name -> Bool #

(/=) :: Name -> Name -> Bool #

Ord Name Source # 
Instance details

Defined in Wire.API.User.Profile

Methods

compare :: Name -> Name -> Ordering #

(<) :: Name -> Name -> Bool #

(<=) :: Name -> Name -> Bool #

(>) :: Name -> Name -> Bool #

(>=) :: Name -> Name -> Bool #

max :: Name -> Name -> Name #

min :: Name -> Name -> Name #

ToSchema Name Source # 
Instance details

Defined in Wire.API.User.Profile

ToSchema Name Source # 
Instance details

Defined in Wire.API.User.Profile

type Rep Name Source # 
Instance details

Defined in Wire.API.User.Profile

type Rep Name = D1 ('MetaData "Name" "Wire.API.User.Profile" "wire-api-0.1.0-EbZS9CKNOfZ8BBy5DRJfXi" 'True) (C1 ('MetaCons "Name" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

data TextStatus Source #

Instances

Instances details
Arbitrary TextStatus Source # 
Instance details

Defined in Wire.API.User.Profile

FromJSON TextStatus Source # 
Instance details

Defined in Wire.API.User.Profile

ToJSON TextStatus Source # 
Instance details

Defined in Wire.API.User.Profile

Generic TextStatus Source # 
Instance details

Defined in Wire.API.User.Profile

Associated Types

type Rep TextStatus :: Type -> Type #

Show TextStatus Source # 
Instance details

Defined in Wire.API.User.Profile

FromByteString TextStatus Source # 
Instance details

Defined in Wire.API.User.Profile

Methods

parser :: Parser TextStatus Source #

ToByteString TextStatus Source # 
Instance details

Defined in Wire.API.User.Profile

Cql TextStatus Source # 
Instance details

Defined in Wire.API.User.Profile

Eq TextStatus Source # 
Instance details

Defined in Wire.API.User.Profile

Ord TextStatus Source # 
Instance details

Defined in Wire.API.User.Profile

ToSchema TextStatus Source # 
Instance details

Defined in Wire.API.User.Profile

ToSchema TextStatus Source # 
Instance details

Defined in Wire.API.User.Profile

type Rep TextStatus Source # 
Instance details

Defined in Wire.API.User.Profile

type Rep TextStatus = D1 ('MetaData "TextStatus" "Wire.API.User.Profile" "wire-api-0.1.0-EbZS9CKNOfZ8BBy5DRJfXi" 'True) (C1 ('MetaCons "TextStatus" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromTextStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

newtype ColourId Source #

Constructors

ColourId 

Fields

Instances

Instances details
Arbitrary ColourId Source # 
Instance details

Defined in Wire.API.User.Profile

FromJSON ColourId Source # 
Instance details

Defined in Wire.API.User.Profile

ToJSON ColourId Source # 
Instance details

Defined in Wire.API.User.Profile

Generic ColourId Source # 
Instance details

Defined in Wire.API.User.Profile

Associated Types

type Rep ColourId :: Type -> Type #

Methods

from :: ColourId -> Rep ColourId x #

to :: Rep ColourId x -> ColourId #

Num ColourId Source # 
Instance details

Defined in Wire.API.User.Profile

Show ColourId Source # 
Instance details

Defined in Wire.API.User.Profile

Cql ColourId Source # 
Instance details

Defined in Wire.API.User.Profile

Eq ColourId Source # 
Instance details

Defined in Wire.API.User.Profile

Ord ColourId Source # 
Instance details

Defined in Wire.API.User.Profile

ToSchema ColourId Source # 
Instance details

Defined in Wire.API.User.Profile

ToSchema ColourId Source # 
Instance details

Defined in Wire.API.User.Profile

type Rep ColourId Source # 
Instance details

Defined in Wire.API.User.Profile

type Rep ColourId = D1 ('MetaData "ColourId" "Wire.API.User.Profile" "wire-api-0.1.0-EbZS9CKNOfZ8BBy5DRJfXi" 'True) (C1 ('MetaCons "ColourId" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromColourId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int32)))

Asset

data Asset Source #

Constructors

ImageAsset 

Instances

Instances details
Arbitrary Asset Source # 
Instance details

Defined in Wire.API.User.Profile

FromJSON Asset Source # 
Instance details

Defined in Wire.API.User.Profile

ToJSON Asset Source # 
Instance details

Defined in Wire.API.User.Profile

Generic Asset Source # 
Instance details

Defined in Wire.API.User.Profile

Associated Types

type Rep Asset :: Type -> Type #

Methods

from :: Asset -> Rep Asset x #

to :: Rep Asset x -> Asset #

Show Asset Source # 
Instance details

Defined in Wire.API.User.Profile

Methods

showsPrec :: Int -> Asset -> ShowS #

show :: Asset -> String #

showList :: [Asset] -> ShowS #

Cql Asset Source # 
Instance details

Defined in Wire.API.User.Profile

Eq Asset Source # 
Instance details

Defined in Wire.API.User.Profile

Methods

(==) :: Asset -> Asset -> Bool #

(/=) :: Asset -> Asset -> Bool #

Ord Asset Source # 
Instance details

Defined in Wire.API.User.Profile

Methods

compare :: Asset -> Asset -> Ordering #

(<) :: Asset -> Asset -> Bool #

(<=) :: Asset -> Asset -> Bool #

(>) :: Asset -> Asset -> Bool #

(>=) :: Asset -> Asset -> Bool #

max :: Asset -> Asset -> Asset #

min :: Asset -> Asset -> Asset #

ToSchema Asset Source # 
Instance details

Defined in Wire.API.User.Profile

ToSchema Asset Source # 
Instance details

Defined in Wire.API.User.Profile

type Rep Asset Source # 
Instance details

Defined in Wire.API.User.Profile

type Rep Asset = D1 ('MetaData "Asset" "Wire.API.User.Profile" "wire-api-0.1.0-EbZS9CKNOfZ8BBy5DRJfXi" 'False) (C1 ('MetaCons "ImageAsset" 'PrefixI 'True) (S1 ('MetaSel ('Just "assetKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 AssetKey) :*: S1 ('MetaSel ('Just "assetSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AssetSize))))

data AssetSize Source #

Instances

Instances details
Arbitrary AssetSize Source # 
Instance details

Defined in Wire.API.User.Profile

FromJSON AssetSize Source # 
Instance details

Defined in Wire.API.User.Profile

ToJSON AssetSize Source # 
Instance details

Defined in Wire.API.User.Profile

Generic AssetSize Source # 
Instance details

Defined in Wire.API.User.Profile

Associated Types

type Rep AssetSize :: Type -> Type #

Show AssetSize Source # 
Instance details

Defined in Wire.API.User.Profile

Cql AssetSize Source # 
Instance details

Defined in Wire.API.User.Profile

Eq AssetSize Source # 
Instance details

Defined in Wire.API.User.Profile

Ord AssetSize Source # 
Instance details

Defined in Wire.API.User.Profile

ToSchema AssetSize Source # 
Instance details

Defined in Wire.API.User.Profile

ToSchema AssetSize Source # 
Instance details

Defined in Wire.API.User.Profile

type Rep AssetSize Source # 
Instance details

Defined in Wire.API.User.Profile

type Rep AssetSize = D1 ('MetaData "AssetSize" "Wire.API.User.Profile" "wire-api-0.1.0-EbZS9CKNOfZ8BBy5DRJfXi" 'False) (C1 ('MetaCons "AssetComplete" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "AssetPreview" 'PrefixI 'False) (U1 :: Type -> Type))

ManagedBy

data ManagedBy Source #

Who controls changes to the user profile (where the profile is defined as "all user-editable, user-visible attributes"). See {#SparBrainDump}.

Constructors

ManagedByWire

The profile can be changed in-app; user doesn't show up via SCIM at all.

ManagedByScim

The profile can only be changed via SCIM, with several exceptions:

  1. User properties can still be set (because they are used internally by clients and none of them can be modified via SCIM now or in the future).
  2. Password can be changed by the user (SCIM doesn't support setting passwords yet, but currently SCIM only works with SSO-users who don't even have passwords).
  3. The user can still be deleted normally (SCIM doesn't support deleting users yet; but it's questionable whether this should even count as a change of a user profile).

There are some other things that SCIM can't do yet, like setting accent IDs, but they are not essential, unlike e.g. passwords.

Instances

Instances details
Arbitrary ManagedBy Source # 
Instance details

Defined in Wire.API.User.Profile

FromJSON ManagedBy Source # 
Instance details

Defined in Wire.API.User.Profile

ToJSON ManagedBy Source # 
Instance details

Defined in Wire.API.User.Profile

Bounded ManagedBy Source # 
Instance details

Defined in Wire.API.User.Profile

Enum ManagedBy Source # 
Instance details

Defined in Wire.API.User.Profile

Generic ManagedBy Source # 
Instance details

Defined in Wire.API.User.Profile

Associated Types

type Rep ManagedBy :: Type -> Type #

Show ManagedBy Source # 
Instance details

Defined in Wire.API.User.Profile

FromByteString ManagedBy Source # 
Instance details

Defined in Wire.API.User.Profile

Methods

parser :: Parser ManagedBy Source #

ToByteString ManagedBy Source # 
Instance details

Defined in Wire.API.User.Profile

Cql ManagedBy Source # 
Instance details

Defined in Wire.API.User.Profile

Eq ManagedBy Source # 
Instance details

Defined in Wire.API.User.Profile

Ord ManagedBy Source # 
Instance details

Defined in Wire.API.User.Profile

ToSchema ManagedBy Source # 
Instance details

Defined in Wire.API.User.Profile

ToSchema ManagedBy Source # 
Instance details

Defined in Wire.API.User.Profile

type Rep ManagedBy Source # 
Instance details

Defined in Wire.API.User.Profile

type Rep ManagedBy = D1 ('MetaData "ManagedBy" "Wire.API.User.Profile" "wire-api-0.1.0-EbZS9CKNOfZ8BBy5DRJfXi" 'False) (C1 ('MetaCons "ManagedByWire" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ManagedByScim" 'PrefixI 'False) (U1 :: Type -> Type))

Deprecated

newtype Pict Source #

DEPRECATED

Constructors

Pict 

Fields

Instances

Instances details
Arbitrary Pict Source # 
Instance details

Defined in Wire.API.User.Profile

FromJSON Pict Source # 
Instance details

Defined in Wire.API.User.Profile

ToJSON Pict Source # 
Instance details

Defined in Wire.API.User.Profile

Generic Pict Source # 
Instance details

Defined in Wire.API.User.Profile

Associated Types

type Rep Pict :: Type -> Type #

Methods

from :: Pict -> Rep Pict x #

to :: Rep Pict x -> Pict #

Show Pict Source # 
Instance details

Defined in Wire.API.User.Profile

Methods

showsPrec :: Int -> Pict -> ShowS #

show :: Pict -> String #

showList :: [Pict] -> ShowS #

Cql Pict Source # 
Instance details

Defined in Wire.API.User.Profile

Eq Pict Source # 
Instance details

Defined in Wire.API.User.Profile

Methods

(==) :: Pict -> Pict -> Bool #

(/=) :: Pict -> Pict -> Bool #

Ord Pict Source # 
Instance details

Defined in Wire.API.User.Profile

Methods

compare :: Pict -> Pict -> Ordering #

(<) :: Pict -> Pict -> Bool #

(<=) :: Pict -> Pict -> Bool #

(>) :: Pict -> Pict -> Bool #

(>=) :: Pict -> Pict -> Bool #

max :: Pict -> Pict -> Pict #

min :: Pict -> Pict -> Pict #

ToSchema Pict Source # 
Instance details

Defined in Wire.API.User.Profile

ToSchema Pict Source # 
Instance details

Defined in Wire.API.User.Profile

type Rep Pict Source # 
Instance details

Defined in Wire.API.User.Profile

type Rep Pict = D1 ('MetaData "Pict" "Wire.API.User.Profile" "wire-api-0.1.0-EbZS9CKNOfZ8BBy5DRJfXi" 'True) (C1 ('MetaCons "Pict" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromPict") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Object])))