Person
Represents information about a person.
type Person {
id: ID!
firstName: String
lastName: String
displayName: String
idNumber: String
referenceNumber: String
notes: String
isClient: Boolean
address: Address
isMember: Boolean
comments: [Comment!]!
followers: [User!]
creator: User
createdAt: DateTimeTz!
updatedAt: DateTimeTz!
deletedAt: DateTimeTz
phones(
where: PersonPhonesWhereWhereConditions
orderBy: [PersonPhonesOrderByOrderByClause!]
first: Int! = 10
after: String
): PhoneConnection!
emails(
where: PersonEmailsWhereWhereConditions
orderBy: [PersonEmailsOrderByOrderByClause!]
first: Int! = 10
after: String
): EmailConnection!
websites(
where: PersonWebsitesWhereWhereConditions
orderBy: [PersonWebsitesOrderByOrderByClause!]
first: Int! = 10
after: String
): WebsiteConnection!
companies(
where: PersonCompaniesWhereWhereConditions
orderBy: [PersonCompaniesOrderByOrderByClause!]
first: Int! = 10
after: String
): PersonCompaniesEdgeConnection!
tags(
where: PersonTagsWhereWhereConditions
orderBy: [PersonTagsOrderByOrderByClause!]
first: Int! = 10
after: String
): TagConnection!
projects(
where: PersonProjectsWhereWhereConditions
orderBy: [PersonProjectsOrderByOrderByClause!]
first: Int! = 10
after: String
): ContactProjectsEdgeConnection!
properties(
where: PersonPropertiesWhereWhereConditions
orderBy: [PersonPropertiesOrderByOrderByClause!]
first: Int! = 10
after: String
): PersonPropertiesEdgeConnection!
members(
where: PersonMembersWhereWhereConditions
orderBy: [PersonMembersOrderByOrderByClause!]
first: Int! = 10
after: String
): UserConnection!
tasks(
where: PersonTasksWhereWhereConditions
orderBy: [PersonTasksOrderByOrderByClause!]
first: Int! = 10
after: String
): TaskConnection!
letters(
where: PersonLettersWhereWhereConditions
orderBy: [PersonLettersOrderByOrderByClause!]
first: Int! = 10
after: String
): LetterConnection!
coordinations(
where: PersonCoordinationsWhereWhereConditions
orderBy: [PersonCoordinationsOrderByOrderByClause!]
first: Int! = 10
after: String
): CoordinationConnection!
specifications(
where: PersonSpecificationsWhereWhereConditions
orderBy: [PersonSpecificationsOrderByOrderByClause!]
first: Int! = 10
after: String
): SpecificationConnection!
contracts(
where: PersonContractsWhereWhereConditions
orderBy: [PersonContractsOrderByOrderByClause!]
first: Int! = 10
after: String
): ContactContractsEdgeConnection!
submissions(
where: PersonSubmissionsWhereWhereConditions
orderBy: [PersonSubmissionsOrderByOrderByClause!]
first: Int! = 10
after: String
): SubmissionConnection!
meters(
where: PersonMetersWhereWhereConditions
orderBy: [PersonMetersOrderByOrderByClause!]
first: Int! = 10
after: String
): MeterConnection!
files(
where: PersonFilesWhereWhereConditions
orderBy: [PersonFilesOrderByOrderByClause!]
first: Int! = 10
after: String
): FileConnection!
}
Fields
Person.id
● ID!
non-null scalar
Person's unique identifier.
Person.firstName
● String
scalar
The person's first name.
Person.lastName
● String
scalar
The person's last name.
Person.displayName
● String
scalar
The person's full name.
Person.idNumber
● String
scalar
The person's personal identification number.
Person.referenceNumber
● String
scalar
The person's reference number.
Person.notes
● String
scalar
The person's notes.
Person.isClient
● Boolean
scalar
Whether this person is a client.
Person.address
● Address
object
The person's address.
Person.isMember
● Boolean
scalar
Determine whether the current user is this person's member.
Person.comments
● [Comment!]!
non-null object
The person's comments.
Person.followers
● [User!]
list object
The person's followers.
Person.creator
● User
object
The user who created this person.
Person.createdAt
● DateTimeTz!
non-null scalar
The date and time when the person was created.
Person.updatedAt
● DateTimeTz!
non-null scalar
The date and time when the person was last updated.
Person.deletedAt
● DateTimeTz
scalar
The date and time when the person was deleted.
Person.phones
● PhoneConnection!
non-null object
The person's phone numbers.
Person.phones.where
● PersonPhonesWhereWhereConditions
input
Person.phones.orderBy
● [PersonPhonesOrderByOrderByClause!]
list input
Person.phones.first
● Int!
non-null scalar
Limits number of fetched items. Maximum allowed value: 50.
Person.phones.after
● String
scalar
A cursor after which elements are returned.
Person.emails
● EmailConnection!
non-null object
The person's email addresses.
Person.emails.where
● PersonEmailsWhereWhereConditions
input
Person.emails.orderBy
● [PersonEmailsOrderByOrderByClause!]
list input
Person.emails.first
● Int!
non-null scalar
Limits number of fetched items. Maximum allowed value: 50.
Person.emails.after
● String
scalar
A cursor after which elements are returned.
Person.websites
● WebsiteConnection!
non-null object
The person's websites.
Person.websites.where
● PersonWebsitesWhereWhereConditions
input
Person.websites.orderBy
● [PersonWebsitesOrderByOrderByClause!]
list input
Person.websites.first
● Int!
non-null scalar
Limits number of fetched items. Maximum allowed value: 50.
Person.websites.after
● String
scalar
A cursor after which elements are returned.
Person.companies
● PersonCompaniesEdgeConnection!
non-null object
A list of companies associated with the person.
Person.companies.where
● PersonCompaniesWhereWhereConditions
input
Person.companies.orderBy
● [PersonCompaniesOrderByOrderByClause!]
list input
Person.companies.first
● Int!
non-null scalar
Limits number of fetched items. Maximum allowed value: 50.
Person.companies.after
● String
scalar
A cursor after which elements are returned.
Person.tags
● TagConnection!
non-null object
The person's tags.
Person.tags.where
● PersonTagsWhereWhereConditions
input
Person.tags.orderBy
● [PersonTagsOrderByOrderByClause!]
list input
Person.tags.first
● Int!
non-null scalar
Limits number of fetched items. Maximum allowed value: 50.
Person.tags.after
● String
scalar
A cursor after which elements are returned.
Person.projects
● ContactProjectsEdgeConnection!
non-null object
A list of projects associated with the person.
Person.projects.where
● PersonProjectsWhereWhereConditions
input
Person.projects.orderBy
● [PersonProjectsOrderByOrderByClause!]
list input
Person.projects.first
● Int!
non-null scalar
Limits number of fetched items. Maximum allowed value: 50.
Person.projects.after
● String
scalar
A cursor after which elements are returned.
Person.properties
● PersonPropertiesEdgeConnection!
non-null object
A list of properties associated with the contact.
Person.properties.where
● PersonPropertiesWhereWhereConditions
input
Person.properties.orderBy
● [PersonPropertiesOrderByOrderByClause!]
list input
Person.properties.first
● Int!
non-null scalar
Limits number of fetched items. Maximum allowed value: 50.
Person.properties.after
● String
scalar
A cursor after which elements are returned.
Person.members
● UserConnection!
non-null object
The person's members.
Person.members.where
● PersonMembersWhereWhereConditions
input
Person.members.orderBy
● [PersonMembersOrderByOrderByClause!]
list input
Person.members.first
● Int!
non-null scalar
Limits number of fetched items. Maximum allowed value: 50.
Person.members.after
● String
scalar
A cursor after which elements are returned.
Person.tasks
● TaskConnection!
non-null object
The person's tasks.
Person.tasks.where
● PersonTasksWhereWhereConditions
input
Person.tasks.orderBy
● [PersonTasksOrderByOrderByClause!]
list input
Person.tasks.first
● Int!
non-null scalar
Limits number of fetched items. Maximum allowed value: 50.
Person.tasks.after
● String
scalar
A cursor after which elements are returned.
Person.letters
● LetterConnection!
non-null object
A list of letters associated with the person.
Person.letters.where
● PersonLettersWhereWhereConditions
input
Person.letters.orderBy
● [PersonLettersOrderByOrderByClause!]
list input
Person.letters.first
● Int!
non-null scalar
Limits number of fetched items. Maximum allowed value: 50.
Person.letters.after
● String
scalar
A cursor after which elements are returned.
Person.coordinations
● CoordinationConnection!
non-null object
A list of coordinations associated with the person.
Person.coordinations.where
● PersonCoordinationsWhereWhereConditions
input
Person.coordinations.orderBy
● [PersonCoordinationsOrderByOrderByClause!]
list input
Person.coordinations.first
● Int!
non-null scalar
Limits number of fetched items. Maximum allowed value: 50.
Person.coordinations.after
● String
scalar
A cursor after which elements are returned.
Person.specifications
● SpecificationConnection!
non-null object
A list of specifications associated with the person.
Person.specifications.where
● PersonSpecificationsWhereWhereConditions
input
Person.specifications.orderBy
● [PersonSpecificationsOrderByOrderByClause!]
list input
Person.specifications.first
● Int!
non-null scalar
Limits number of fetched items. Maximum allowed value: 50.
Person.specifications.after
● String
scalar
A cursor after which elements are returned.
Person.contracts
● ContactContractsEdgeConnection!
non-null object
A list of contracts associated with the person.
Person.contracts.where
● PersonContractsWhereWhereConditions
input
Person.contracts.orderBy
● [PersonContractsOrderByOrderByClause!]
list input
Person.contracts.first
● Int!
non-null scalar
Limits number of fetched items. Maximum allowed value: 50.
Person.contracts.after
● String
scalar
A cursor after which elements are returned.
Person.submissions
● SubmissionConnection!
non-null object
A list of submissions associated with the person.
Person.submissions.where
● PersonSubmissionsWhereWhereConditions
input
Person.submissions.orderBy
● [PersonSubmissionsOrderByOrderByClause!]
list input
Person.submissions.first
● Int!
non-null scalar
Limits number of fetched items. Maximum allowed value: 50.
Person.submissions.after
● String
scalar
A cursor after which elements are returned.
Person.meters
● MeterConnection!
non-null object
A list of meters associated with the person.
Person.meters.where
● PersonMetersWhereWhereConditions
input
Person.meters.orderBy
● [PersonMetersOrderByOrderByClause!]
list input
Person.meters.first
● Int!
non-null scalar
Limits number of fetched items. Maximum allowed value: 50.
Person.meters.after
● String
scalar
A cursor after which elements are returned.
Person.files
● FileConnection!
non-null object
The person's files.
Person.files.where
● PersonFilesWhereWhereConditions
input
Person.files.orderBy
● [PersonFilesOrderByOrderByClause!]
list input
Person.files.first
● Int!
non-null scalar
Limits number of fetched items. Maximum allowed value: 50.
Person.files.after
● String
scalar
A cursor after which elements are returned.
Returned By
addPersonEmail
mutation ● addPersonPhone
mutation ● addPersonRelatedCompany
mutation ● addPersonWebsite
mutation ● createPerson
mutation ● deletePerson
mutation ● deletePersonAddress
mutation ● person
query ● removePersonRelatedCompany
mutation ● restorePerson
mutation ● updatePerson
mutation ● updatePersonAddress
mutation ● updatePersonEmails
mutation ● updatePersonPhones
mutation ● updatePersonWebsites
mutation
Member Of
CompanyPeopleEdge
object ● ContactPeopleEdge
object ● PersonEdge
object