User
The User is the unique user, natural person, of the Swan app.
type User {
id: ID!
accountMemberships(
first: Int! = 50
before: String
after: String
filters: AccountMembershipsFilterInput
): AccountMembershipConnection!
mobilePhoneNumber: PhoneNumber
firstName: String
lastName: String
allFirstNames: [String!]
birthDate: Date
nationalityCCA3: CCA3
birthCity: String
idVerified: Boolean!
authenticators: [Authenticator!]
identificationStatus: IdentificationStatus @deprecated
identificationLevels: IdentificationLevels
preferredNotificationChannel: PreferredNotificationChannel
status: UserStatus
createdAt: DateTime!
updatedAt: DateTime!
joinedAt: DateTime!
emailAddresses: [String!]!
identifications(
first: Int! = 50
after: String
filters: IdentificationFiltersInput
orderBy: IdentificationsOrderByInput
): IdentificationConnection
}
Fields
User.id
● ID!
non-null scalar
unique identifier of the user
User.accountMemberships
● AccountMembershipConnection!
non-null object
The list of account memberships
Implements the Relay Connection interface, used to paginate list of element (Learn More)
User.accountMemberships.first
● Int!
non-null scalar
the number of elements to load (maximum: 100)
User.accountMemberships.before
● String
scalar
the index (a unique reference in string form) from which you will load the preceding elements
User.accountMemberships.after
● String
scalar
the index (a unique reference in string form) from which you will load the following elements
User.accountMemberships.filters
● AccountMembershipsFilterInput
input
a filtering table you can apply to your list of connections
User.mobilePhoneNumber
● PhoneNumber
scalar
mobile phone number with the international format (Example: +33689788967)
User.firstName
● String
scalar
first name
User.lastName
● String
scalar
last name
User.allFirstNames
● [String!]
list scalar
list of first names