Skip to main content

User

This is a user table

type User implements Node {
id: ID!
userName: String!
disabled: Boolean!
email: String
firstName: String
lastName: String
deviceLimit: Int!
isRoomObject: Boolean!
mobileNumber: String
mobileCountry: String
notes: String
unitNumber: String
meshEnabled: Boolean!
rateProfile: String!
overLimit: Boolean!
defaultNetworkProfile: String!
lastSeen: GQLTDate!
requireAcceptTNC: Boolean!
options: GQLTJson!
customData: GQLTJson!
createdAt: GQLTDate!
updatedAt: GQLTDate!
roleId: ID
buildingId: Int
role: Role
auths(
after: String
first: Int = 0
before: String
last: Int = 0
orderBy: [UserAuthOrderBy] = []
where: GQLTQueryUserAuthWhere
include: [GQLTUserAuthIncludeObject] = []
): UserAuthHasManyAuthsList
deviceUsages(
after: String
first: Int = 0
before: String
last: Int = 0
orderBy: [DeviceUsageOrderBy] = []
where: GQLTQueryDeviceUsageWhere
include: [GQLTDeviceUsageIncludeObject] = []
): DeviceUsageHasManyDeviceUsagesList
devices(
after: String
first: Int = 0
before: String
last: Int = 0
orderBy: [DeviceOrderBy] = []
where: GQLTQueryDeviceWhere
include: [GQLTDeviceIncludeObject] = []
): DeviceBelongsToManyDevicesList
associatedDevices(
after: String
first: Int = 0
before: String
last: Int = 0
orderBy: [DeviceOrderBy] = []
where: GQLTQueryDeviceWhere
include: [GQLTDeviceIncludeObject] = []
): DeviceHasManyAssociatedDevicesList
webHooks(
after: String
first: Int = 0
before: String
last: Int = 0
orderBy: [WebHookOrderBy] = []
where: GQLTQueryWebHookWhere
include: [GQLTWebHookIncludeObject] = []
): WebHookHasManyWebHooksList
groups(
after: String
first: Int = 0
before: String
last: Int = 0
orderBy: [GroupOrderBy] = []
where: GQLTQueryGroupWhere
include: [GQLTGroupIncludeObject] = []
): GroupBelongsToManyGroupsList
meshes(
after: String
first: Int = 0
before: String
last: Int = 0
orderBy: [MeshOrderBy] = []
where: GQLTQueryMeshWhere
include: [GQLTMeshIncludeObject] = []
): MeshBelongsToManyMeshesList
userPlans(
after: String
first: Int = 0
before: String
last: Int = 0
orderBy: [UserPlanOrderBy] = []
where: GQLTQueryUserPlanWhere
include: [GQLTUserPlanIncludeObject] = []
): UserPlanHasManyUserPlansList
accounts(
after: String
first: Int = 0
before: String
last: Int = 0
orderBy: [AccountOrderBy] = []
where: GQLTQueryAccountWhere
include: [GQLTAccountIncludeObject] = []
): AccountHasManyAccountsList
invoices(
after: String
first: Int = 0
before: String
last: Int = 0
orderBy: [InvoiceOrderBy] = []
where: GQLTQueryInvoiceWhere
include: [GQLTInvoiceIncludeObject] = []
): InvoiceHasManyInvoicesList
transactions(
after: String
first: Int = 0
before: String
last: Int = 0
orderBy: [TransactionOrderBy] = []
where: GQLTQueryTransactionWhere
include: [GQLTTransactionIncludeObject] = []
): TransactionHasManyTransactionsList
orders(
after: String
first: Int = 0
before: String
last: Int = 0
orderBy: [OrderOrderBy] = []
where: GQLTQueryOrderWhere
include: [GQLTOrderIncludeObject] = []
): OrderHasManyOrdersList
deviceAuths(
after: String
first: Int = 0
before: String
last: Int = 0
orderBy: [DeviceAuthOrderBy] = []
where: GQLTQueryDeviceAuthWhere
include: [GQLTDeviceAuthIncludeObject] = []
): DeviceAuthHasManyDeviceAuthsList
addresses(
after: String
first: Int = 0
before: String
last: Int = 0
orderBy: [AddressOrderBy] = []
where: GQLTQueryAddressWhere
include: [GQLTAddressIncludeObject] = []
): AddressBelongsToManyAddressesList
building: Building
permissions: [GQLPermission]
jwtToken(expiresIn: String): String
profileImage: String
getActiveGroup: UserActiveGroup
getActivePlan: UserPlan
getActiveOrder: Order
getScheduledOrder: Order
intercomId: String
hasActiveDevice: Boolean
getLastSeenDevice: String
}

Fields#

id (ID!)#

The ID of an object

userName (String!)#

disabled (Boolean!)#

email (String)#

firstName (String)#

lastName (String)#

deviceLimit (Int!)#

isRoomObject (Boolean!)#

mobileNumber (String)#

This is the user mobile number.

mobileCountry (String)#

This is the user mobile country.

notes (String)#

This is the instructions or details.

unitNumber (String)#

This is the unit number of the user that he/she is staying.

meshEnabled (Boolean!)#

rateProfile (String!)#

overLimit (Boolean!)#

defaultNetworkProfile (String!)#

lastSeen (GQLTDate!)#

requireAcceptTNC (Boolean!)#

This is an indicator if the user have agreed to the terms and conditions.

options (GQLTJson!)#

config column

customData (GQLTJson!)#

createdAt (GQLTDate!)#

updatedAt (GQLTDate!)#

roleId (ID)#

The ID of an object

buildingId (Int)#

role (Role)#

auths (UserAuthHasManyAuthsList)#

If provided it will return results after the provided cursor

If provided the results will be the first ${amount} of records from provided cursor, if a cursor is not provided the results will be the first ${amount} of records.

If provided it will return results before the provided cursor

If provided the results will be the first ${amount} of records from provided cursor, if a cursor is not provided the results will be the last ${amount} of records.

If provided this will sort the results by the supplied column and direction

deviceUsages (DeviceUsageHasManyDeviceUsagesList)#

If provided it will return results after the provided cursor

If provided the results will be the first ${amount} of records from provided cursor, if a cursor is not provided the results will be the first ${amount} of records.

If provided it will return results before the provided cursor

If provided the results will be the first ${amount} of records from provided cursor, if a cursor is not provided the results will be the last ${amount} of records.

If provided this will sort the results by the supplied column and direction

devices (DeviceBelongsToManyDevicesList)#

If provided it will return results after the provided cursor

If provided the results will be the first ${amount} of records from provided cursor, if a cursor is not provided the results will be the first ${amount} of records.

If provided it will return results before the provided cursor

If provided the results will be the first ${amount} of records from provided cursor, if a cursor is not provided the results will be the last ${amount} of records.

If provided this will sort the results by the supplied column and direction

associatedDevices (DeviceHasManyAssociatedDevicesList)#

If provided it will return results after the provided cursor

If provided the results will be the first ${amount} of records from provided cursor, if a cursor is not provided the results will be the first ${amount} of records.

If provided it will return results before the provided cursor

If provided the results will be the first ${amount} of records from provided cursor, if a cursor is not provided the results will be the last ${amount} of records.

If provided this will sort the results by the supplied column and direction

webHooks (WebHookHasManyWebHooksList)#

If provided it will return results after the provided cursor

If provided the results will be the first ${amount} of records from provided cursor, if a cursor is not provided the results will be the first ${amount} of records.

If provided it will return results before the provided cursor

If provided the results will be the first ${amount} of records from provided cursor, if a cursor is not provided the results will be the last ${amount} of records.

If provided this will sort the results by the supplied column and direction

groups (GroupBelongsToManyGroupsList)#

If provided it will return results after the provided cursor

If provided the results will be the first ${amount} of records from provided cursor, if a cursor is not provided the results will be the first ${amount} of records.

If provided it will return results before the provided cursor

If provided the results will be the first ${amount} of records from provided cursor, if a cursor is not provided the results will be the last ${amount} of records.

If provided this will sort the results by the supplied column and direction

meshes (MeshBelongsToManyMeshesList)#

If provided it will return results after the provided cursor

If provided the results will be the first ${amount} of records from provided cursor, if a cursor is not provided the results will be the first ${amount} of records.

If provided it will return results before the provided cursor

If provided the results will be the first ${amount} of records from provided cursor, if a cursor is not provided the results will be the last ${amount} of records.

If provided this will sort the results by the supplied column and direction

userPlans (UserPlanHasManyUserPlansList)#

If provided it will return results after the provided cursor

If provided the results will be the first ${amount} of records from provided cursor, if a cursor is not provided the results will be the first ${amount} of records.

If provided it will return results before the provided cursor

If provided the results will be the first ${amount} of records from provided cursor, if a cursor is not provided the results will be the last ${amount} of records.

If provided this will sort the results by the supplied column and direction

accounts (AccountHasManyAccountsList)#

If provided it will return results after the provided cursor

If provided the results will be the first ${amount} of records from provided cursor, if a cursor is not provided the results will be the first ${amount} of records.

If provided it will return results before the provided cursor

If provided the results will be the first ${amount} of records from provided cursor, if a cursor is not provided the results will be the last ${amount} of records.

If provided this will sort the results by the supplied column and direction

invoices (InvoiceHasManyInvoicesList)#

If provided it will return results after the provided cursor

If provided the results will be the first ${amount} of records from provided cursor, if a cursor is not provided the results will be the first ${amount} of records.

If provided it will return results before the provided cursor

If provided the results will be the first ${amount} of records from provided cursor, if a cursor is not provided the results will be the last ${amount} of records.

If provided this will sort the results by the supplied column and direction

transactions (TransactionHasManyTransactionsList)#

If provided it will return results after the provided cursor

If provided the results will be the first ${amount} of records from provided cursor, if a cursor is not provided the results will be the first ${amount} of records.

If provided it will return results before the provided cursor

If provided the results will be the first ${amount} of records from provided cursor, if a cursor is not provided the results will be the last ${amount} of records.

If provided this will sort the results by the supplied column and direction

orders (OrderHasManyOrdersList)#

If provided it will return results after the provided cursor

If provided the results will be the first ${amount} of records from provided cursor, if a cursor is not provided the results will be the first ${amount} of records.

If provided it will return results before the provided cursor

If provided the results will be the first ${amount} of records from provided cursor, if a cursor is not provided the results will be the last ${amount} of records.

If provided this will sort the results by the supplied column and direction

deviceAuths (DeviceAuthHasManyDeviceAuthsList)#

If provided it will return results after the provided cursor

If provided the results will be the first ${amount} of records from provided cursor, if a cursor is not provided the results will be the first ${amount} of records.

If provided it will return results before the provided cursor

If provided the results will be the first ${amount} of records from provided cursor, if a cursor is not provided the results will be the last ${amount} of records.

If provided this will sort the results by the supplied column and direction

addresses (AddressBelongsToManyAddressesList)#

If provided it will return results after the provided cursor

If provided the results will be the first ${amount} of records from provided cursor, if a cursor is not provided the results will be the first ${amount} of records.

If provided it will return results before the provided cursor

If provided the results will be the first ${amount} of records from provided cursor, if a cursor is not provided the results will be the last ${amount} of records.

If provided this will sort the results by the supplied column and direction

building (Building)#

permissions ([GQLPermission])#

jwtToken (String)#

profileImage (String)#

getActiveGroup (UserActiveGroup)#

getActivePlan (UserPlan)#

getActiveOrder (Order)#

getScheduledOrder (Order)#

intercomId (String)#

hasActiveDevice (Boolean)#

getLastSeenDevice (String)#

Interfaces#

Node#

An object with an ID