Contact
Represents information about a contact.
type Contact {
id: ID!
type: String!
name: String
lastName: String
displayName: String
regNumber: String
vatNumber: String
referenceNumber: String
notes: String
isClient: Boolean
isMember: Boolean
address: Address
comments: [Comment!]!
followers: [User!]
creator: User
createdAt: DateTimeTz!
updatedAt: DateTimeTz!
deletedAt: DateTimeTz
phones(
where: ContactPhonesWhereWhereConditions
orderBy: [ContactPhonesOrderByOrderByClause!]
first: Int! = 10
after: String
): PhoneConnection!
emails(
where: ContactEmailsWhereWhereConditions
orderBy: [ContactEmailsOrderByOrderByClause!]
first: Int! = 10
after: String
): EmailConnection!
websites(
where: ContactWebsitesWhereWhereConditions
orderBy: [ContactWebsitesOrderByOrderByClause!]
first: Int! = 10
after: String
): WebsiteConnection!
people(
where: ContactPeopleWhereWhereConditions
orderBy: [ContactPeopleOrderByOrderByClause!]
first: Int! = 10
after: String
): ContactPeopleEdgeConnection!
companies(
where: ContactCompaniesWhereWhereConditions
orderBy: [ContactCompaniesOrderByOrderByClause!]
first: Int! = 10
after: String
): ContactCompaniesEdgeConnection!
tags(
where: ContactTagsWhereWhereConditions
orderBy: [ContactTagsOrderByOrderByClause!]
first: Int! = 10
after: String
): TagConnection!
projects(
where: ContactProjectsWhereWhereConditions
orderBy: [ContactProjectsOrderByOrderByClause!]
first: Int! = 10
after: String
): ContactProjectsEdgeConnection!
properties(
where: ContactPropertiesWhereWhereConditions
orderBy: [ContactPropertiesOrderByOrderByClause!]
first: Int! = 10
after: String
): ContactPropertiesEdgeConnection!
members(
where: ContactMembersWhereWhereConditions
orderBy: [ContactMembersOrderByOrderByClause!]
first: Int! = 10
after: String
): UserConnection!
tasks(
where: ContactTasksWhereWhereConditions
orderBy: [ContactTasksOrderByOrderByClause!]
first: Int! = 10
after: String
): TaskConnection!
letters(
where: ContactLettersWhereWhereConditions
orderBy: [ContactLettersOrderByOrderByClause!]
first: Int! = 10
after: String
): LetterConnection!
coordinations(
where: ContactCoordinationsWhereWhereConditions
orderBy: [ContactCoordinationsOrderByOrderByClause!]
first: Int! = 10
after: String
): CoordinationConnection!
specifications(
where: ContactSpecificationsWhereWhereConditions
orderBy: [ContactSpecificationsOrderByOrderByClause!]
first: Int! = 10
after: String
): SpecificationConnection!
contracts(
where: ContactContractsWhereWhereConditions
orderBy: [ContactContractsOrderByOrderByClause!]
first: Int! = 10
after: String
): ContactContractsEdgeConnection!
submissions(
where: ContactSubmissionsWhereWhereConditions
orderBy: [ContactSubmissionsOrderByOrderByClause!]
first: Int! = 10
after: String
): SubmissionConnection!
meters(
where: ContactMetersWhereWhereConditions
orderBy: [ContactMetersOrderByOrderByClause!]
first: Int! = 10
after: String
): MeterConnection!
invoices(
where: ContactInvoicesWhereWhereConditions
orderBy: [ContactInvoicesOrderByOrderByClause!]
first: Int! = 10
after: String
): InvoiceConnection!
expenses(
where: ContactExpensesWhereWhereConditions
orderBy: [ContactExpensesOrderByOrderByClause!]
first: Int! = 10
after: String
): ExpenseConnection!
quotes(
where: ContactQuotesWhereWhereConditions
orderBy: [ContactQuotesOrderByOrderByClause!]
first: Int! = 10
after: String
): QuoteConnection!
files(
where: ContactFilesWhereWhereConditions
orderBy: [ContactFilesOrderByOrderByClause!]
first: Int! = 10
after: String
): FileConnection!
}
Fields
Contact.id
● ID!
non-null scalar
Contact's unique identifier.
Contact.type
● String!
non-null scalar
The contact's type.
Contact.name
● String
scalar
The contact's first name.
Contact.lastName
● String
scalar
The contact's last name.
Contact.displayName
● String
scalar
The contact's full name.
Contact.regNumber
● String
scalar
The contact's registration number.
Contact.vatNumber
● String
scalar
The contact's VAT number.
Contact.referenceNumber
● String
scalar
The contact's reference number.
Contact.notes
● String
scalar
The contact's notes.
Contact.isClient
● Boolean
scalar
Whether this contact is a client.
Contact.isMember
● Boolean
scalar
Determine whether the current user is this contact's member.
Contact.address
● Address
object
The contact's address.
Contact.comments
● [Comment!]!
non-null object
The contact's comments.
Contact.followers
● [User!]
list object
The contact's followers.
Contact.creator
● User
object
The user who created this contact.
Contact.createdAt
● DateTimeTz!
non-null scalar
The date and time when the contact was created.
Contact.updatedAt
● DateTimeTz!
non-null scalar
The date and time when the contact was last updated.
Contact.deletedAt
● DateTimeTz
scalar
The date and time when the contact was deleted.
Contact.phones
● PhoneConnection!
non-null object
The contact's phone numbers.
Contact.phones.where
● ContactPhonesWhereWhereConditions
input
Contact.phones.orderBy
● [ContactPhonesOrderByOrderByClause!]
list input
Contact.phones.first
● Int!
non-null scalar
Limits number of fetched items. Maximum allowed value: 50.
Contact.phones.after
● String
scalar
A cursor after which elements are returned.
Contact.emails
● EmailConnection!
non-null object
The contact's email addresses.
Contact.emails.where
● ContactEmailsWhereWhereConditions
input
Contact.emails.orderBy
● [ContactEmailsOrderByOrderByClause!]
list input
Contact.emails.first
● Int!
non-null scalar
Limits number of fetched items. Maximum allowed value: 50.
Contact.emails.after
● String
scalar
A cursor after which elements are returned.
Contact.websites
● WebsiteConnection!
non-null object
The contact's websites.
Contact.websites.where
● ContactWebsitesWhereWhereConditions
input
Contact.websites.orderBy
● [ContactWebsitesOrderByOrderByClause!]
list input
Contact.websites.first
● Int!
non-null scalar
Limits number of fetched items. Maximum allowed value: 50.
Contact.websites.after
● String
scalar
A cursor after which elements are returned.
Contact.people
● ContactPeopleEdgeConnection!
non-null object
A list of people associated with the company.
Contact.people.where
● ContactPeopleWhereWhereConditions
input
Contact.people.orderBy
● [ContactPeopleOrderByOrderByClause!]
list input
Contact.people.first
● Int!
non-null scalar
Limits number of fetched items. Maximum allowed value: 50.
Contact.people.after
● String
scalar
A cursor after which elements are returned.
Contact.companies
● ContactCompaniesEdgeConnection!
non-null object
A list of companies associated with the person.
Contact.companies.where
● ContactCompaniesWhereWhereConditions
input
Contact.companies.orderBy
● [ContactCompaniesOrderByOrderByClause!]
list input
Contact.companies.first
● Int!
non-null scalar
Limits number of fetched items. Maximum allowed value: 50.
Contact.companies.after
● String
scalar
A cursor after which elements are returned.
Contact.tags
● TagConnection!
non-null object
The contact's tags.
Contact.tags.where
● ContactTagsWhereWhereConditions
input
Contact.tags.orderBy
● [ContactTagsOrderByOrderByClause!]
list input
Contact.tags.first
● Int!
non-null scalar
Limits number of fetched items. Maximum allowed value: 50.
Contact.tags.after
● String
scalar
A cursor after which elements are returned.
Contact.projects
● ContactProjectsEdgeConnection!
non-null object
A list of projects associated with the contact.
Contact.projects.where
● ContactProjectsWhereWhereConditions
input
Contact.projects.orderBy
● [ContactProjectsOrderByOrderByClause!]
list input
Contact.projects.first
● Int!
non-null scalar
Limits number of fetched items. Maximum allowed value: 50.
Contact.projects.after
● String
scalar
A cursor after which elements are returned.
Contact.properties
● ContactPropertiesEdgeConnection!
non-null object
A list of properties associated with the contact.
Contact.properties.where
● ContactPropertiesWhereWhereConditions
input
Contact.properties.orderBy
● [ContactPropertiesOrderByOrderByClause!]
list input
Contact.properties.first
● Int!
non-null scalar
Limits number of fetched items. Maximum allowed value: 50.
Contact.properties.after
● String
scalar
A cursor after which elements are returned.
Contact.members
● UserConnection!
non-null object
The contact's members.
Contact.members.where
● ContactMembersWhereWhereConditions
input
Contact.members.orderBy
● [ContactMembersOrderByOrderByClause!]
list input
Contact.members.first
● Int!
non-null scalar
Limits number of fetched items. Maximum allowed value: 50.
Contact.members.after
● String
scalar
A cursor after which elements are returned.
Contact.tasks
● TaskConnection!
non-null object
The contact's tasks.
Contact.tasks.where
● ContactTasksWhereWhereConditions
input
Contact.tasks.orderBy
● [ContactTasksOrderByOrderByClause!]
list input
Contact.tasks.first
● Int!
non-null scalar
Limits number of fetched items. Maximum allowed value: 50.
Contact.tasks.after
● String
scalar
A cursor after which elements are returned.
Contact.letters
● LetterConnection!
non-null object
A list of letters associated with the contact.
Contact.letters.where
● ContactLettersWhereWhereConditions
input
Contact.letters.orderBy
● [ContactLettersOrderByOrderByClause!]
list input
Contact.letters.first
● Int!
non-null scalar
Limits number of fetched items. Maximum allowed value: 50.
Contact.letters.after
● String
scalar
A cursor after which elements are returned.
Contact.coordinations
● CoordinationConnection!
non-null object
A list of coordinations associated with the contact.
Contact.coordinations.where
● ContactCoordinationsWhereWhereConditions
input
Contact.coordinations.orderBy
● [ContactCoordinationsOrderByOrderByClause!]
list input
Contact.coordinations.first
● Int!
non-null scalar
Limits number of fetched items. Maximum allowed value: 50.
Contact.coordinations.after
● String
scalar
A cursor after which elements are returned.
Contact.specifications
● SpecificationConnection!
non-null object
A list of specifications associated with the contact.
Contact.specifications.where
● ContactSpecificationsWhereWhereConditions
input
Contact.specifications.orderBy
● [ContactSpecificationsOrderByOrderByClause!]
list input
Contact.specifications.first
● Int!
non-null scalar
Limits number of fetched items. Maximum allowed value: 50.
Contact.specifications.after
● String
scalar
A cursor after which elements are returned.
Contact.contracts
● ContactContractsEdgeConnection!
non-null object
A list of contracts associated with the contact.
Contact.contracts.where
● ContactContractsWhereWhereConditions
input
Contact.contracts.orderBy
● [ContactContractsOrderByOrderByClause!]
list input
Contact.contracts.first
● Int!
non-null scalar
Limits number of fetched items. Maximum allowed value: 50.
Contact.contracts.after
● String
scalar
A cursor after which elements are returned.
Contact.submissions
● SubmissionConnection!
non-null object
A list of submissions associated with the contact.
Contact.submissions.where
● ContactSubmissionsWhereWhereConditions
input
Contact.submissions.orderBy
● [ContactSubmissionsOrderByOrderByClause!]
list input
Contact.submissions.first
● Int!
non-null scalar
Limits number of fetched items. Maximum allowed value: 50.
Contact.submissions.after
● String
scalar
A cursor after which elements are returned.
Contact.meters
● MeterConnection!
non-null object
A list of meters associated with the contact.
Contact.meters.where
● ContactMetersWhereWhereConditions
input
Contact.meters.orderBy
● [ContactMetersOrderByOrderByClause!]
list input
Contact.meters.first
● Int!
non-null scalar
Limits number of fetched items. Maximum allowed value: 50.
Contact.meters.after
● String
scalar
A cursor after which elements are returned.
Contact.invoices
● InvoiceConnection!
non-null object
A list of invoices associated with the contact.
Contact.invoices.where
● ContactInvoicesWhereWhereConditions
input
Contact.invoices.orderBy
● [ContactInvoicesOrderByOrderByClause!]
list input
Contact.invoices.first
● Int!
non-null scalar
Limits number of fetched items. Maximum allowed value: 50.
Contact.invoices.after
● String
scalar
A cursor after which elements are returned.
Contact.expenses
● ExpenseConnection!
non-null object
A list of expenses associated with the contact.
Contact.expenses.where
● ContactExpensesWhereWhereConditions
input
Contact.expenses.orderBy
● [ContactExpensesOrderByOrderByClause!]
list input
Contact.expenses.first
● Int!
non-null scalar
Limits number of fetched items. Maximum allowed value: 50.
Contact.expenses.after
● String
scalar
A cursor after which elements are returned.
Contact.quotes
● QuoteConnection!
non-null object
A list of quotes associated with the contact.
Contact.quotes.where
● ContactQuotesWhereWhereConditions
input
Contact.quotes.orderBy
● [ContactQuotesOrderByOrderByClause!]
list input
Contact.quotes.first
● Int!
non-null scalar
Limits number of fetched items. Maximum allowed value: 50.
Contact.quotes.after
● String
scalar
A cursor after which elements are returned.
Contact.files
● FileConnection!
non-null object
The contact's files.
Contact.files.where
● ContactFilesWhereWhereConditions
input
Contact.files.orderBy
● [ContactFilesOrderByOrderByClause!]
list input
Contact.files.first
● Int!
non-null scalar
Limits number of fetched items. Maximum allowed value: 50.
Contact.files.after
● String
scalar
A cursor after which elements are returned.
Returned By
addContactEmail
mutation ● addContactPhone
mutation ● addContactWebsite
mutation ● contact
query ● createContact
mutation ● deleteContact
mutation ● deleteContactAddress
mutation ● deleteContactMeansOfContact
mutation ● restoreContact
mutation ● updateContact
mutation ● updateContactAddress
mutation ● updateContactEmails
mutation ● updateContactMeansOfContact
mutation ● updateContactPhones
mutation ● updateContactWebsites
mutation
Member Of
ContactEdge
object ● ContractContactsEdge
object ● Expense
object ● Invoice
object ● Project
object ● ProjectContactsEdge
object ● PropertyContactsEdge
object ● PropertyRepresentativesEdge
object ● Quote
object