Skip to main content

Company

Represents information about a company.

type Company {
id: ID!
name: String
displayName: String
regNumber: String
vatNumber: 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: CompanyPhonesWhereWhereConditions
orderBy: [CompanyPhonesOrderByOrderByClause!]
first: Int! = 10
after: String
): PhoneConnection!
emails(
where: CompanyEmailsWhereWhereConditions
orderBy: [CompanyEmailsOrderByOrderByClause!]
first: Int! = 10
after: String
): EmailConnection!
websites(
where: CompanyWebsitesWhereWhereConditions
orderBy: [CompanyWebsitesOrderByOrderByClause!]
first: Int! = 10
after: String
): WebsiteConnection!
people(
where: CompanyPeopleWhereWhereConditions
orderBy: [CompanyPeopleOrderByOrderByClause!]
first: Int! = 10
after: String
): CompanyPeopleEdgeConnection!
tags(
where: CompanyTagsWhereWhereConditions
orderBy: [CompanyTagsOrderByOrderByClause!]
first: Int! = 10
after: String
): TagConnection!
projects(
where: CompanyProjectsWhereWhereConditions
orderBy: [CompanyProjectsOrderByOrderByClause!]
first: Int! = 10
after: String
): ContactProjectsEdgeConnection!
properties(
where: CompanyPropertiesWhereWhereConditions
orderBy: [CompanyPropertiesOrderByOrderByClause!]
first: Int! = 10
after: String
): CompanyPropertiesEdgeConnection!
members(
where: CompanyMembersWhereWhereConditions
orderBy: [CompanyMembersOrderByOrderByClause!]
first: Int! = 10
after: String
): UserConnection!
tasks(
where: CompanyTasksWhereWhereConditions
orderBy: [CompanyTasksOrderByOrderByClause!]
first: Int! = 10
after: String
): TaskConnection!
letters(
where: CompanyLettersWhereWhereConditions
orderBy: [CompanyLettersOrderByOrderByClause!]
first: Int! = 10
after: String
): LetterConnection!
coordinations(
where: CompanyCoordinationsWhereWhereConditions
orderBy: [CompanyCoordinationsOrderByOrderByClause!]
first: Int! = 10
after: String
): CoordinationConnection!
specifications(
where: CompanySpecificationsWhereWhereConditions
orderBy: [CompanySpecificationsOrderByOrderByClause!]
first: Int! = 10
after: String
): SpecificationConnection!
contracts(
where: CompanyContractsWhereWhereConditions
orderBy: [CompanyContractsOrderByOrderByClause!]
first: Int! = 10
after: String
): ContactContractsEdgeConnection!
submissions(
where: CompanySubmissionsWhereWhereConditions
orderBy: [CompanySubmissionsOrderByOrderByClause!]
first: Int! = 10
after: String
): SubmissionConnection!
meters(
where: CompanyMetersWhereWhereConditions
orderBy: [CompanyMetersOrderByOrderByClause!]
first: Int! = 10
after: String
): MeterConnection!
files(
where: CompanyFilesWhereWhereConditions
orderBy: [CompanyFilesOrderByOrderByClause!]
first: Int! = 10
after: String
): FileConnection!
}

Fields

Company.id ● ID! non-null scalar

Company's unique identifier.

Company.name ● String scalar

The company's name.

Company.displayName ● String scalar

The company's full name.

Company.regNumber ● String scalar

The company's registration number.

Company.vatNumber ● String scalar

The company's VAT number.

Company.referenceNumber ● String scalar

The company's reference number.

Company.notes ● String scalar

The company's notes.

Company.isClient ● Boolean scalar

Whether this company is a client.

Company.address ● Address object

The company's address.

Company.isMember ● Boolean scalar

Determine whether the current user is this company's member.

Company.comments ● [Comment!]! non-null object

The company's comments.

Company.followers ● [User!] list object

The company's followers.

Company.creator ● User object

The user who created this company.

Company.createdAt ● DateTimeTz! non-null scalar

The date and time when the company was created.

Company.updatedAt ● DateTimeTz! non-null scalar

The date and time when the company was last updated.

Company.deletedAt ● DateTimeTz scalar

The date and time when the company was deleted.

Company.phones ● PhoneConnection! non-null object

The company's phone numbers.

Company.phones.where ● CompanyPhonesWhereWhereConditions input
Company.phones.orderBy ● [CompanyPhonesOrderByOrderByClause!] list input
Company.phones.first ● Int! non-null scalar

Limits number of fetched items. Maximum allowed value: 50.

Company.phones.after ● String scalar

A cursor after which elements are returned.

Company.emails ● EmailConnection! non-null object

The company's email addresses.

Company.emails.where ● CompanyEmailsWhereWhereConditions input
Company.emails.orderBy ● [CompanyEmailsOrderByOrderByClause!] list input
Company.emails.first ● Int! non-null scalar

Limits number of fetched items. Maximum allowed value: 50.

Company.emails.after ● String scalar

A cursor after which elements are returned.

Company.websites ● WebsiteConnection! non-null object

The company's websites.

Company.websites.where ● CompanyWebsitesWhereWhereConditions input
Company.websites.orderBy ● [CompanyWebsitesOrderByOrderByClause!] list input
Company.websites.first ● Int! non-null scalar

Limits number of fetched items. Maximum allowed value: 50.

Company.websites.after ● String scalar

A cursor after which elements are returned.

Company.people ● CompanyPeopleEdgeConnection! non-null object

A list of people associated with the company.

Company.people.where ● CompanyPeopleWhereWhereConditions input
Company.people.orderBy ● [CompanyPeopleOrderByOrderByClause!] list input
Company.people.first ● Int! non-null scalar

Limits number of fetched items. Maximum allowed value: 50.

Company.people.after ● String scalar

A cursor after which elements are returned.

Company.tags ● TagConnection! non-null object

The company's tags.

Company.tags.where ● CompanyTagsWhereWhereConditions input
Company.tags.orderBy ● [CompanyTagsOrderByOrderByClause!] list input
Company.tags.first ● Int! non-null scalar

Limits number of fetched items. Maximum allowed value: 50.

Company.tags.after ● String scalar

A cursor after which elements are returned.

Company.projects ● ContactProjectsEdgeConnection! non-null object

A list of projects associated with the company.

Company.projects.where ● CompanyProjectsWhereWhereConditions input
Company.projects.orderBy ● [CompanyProjectsOrderByOrderByClause!] list input
Company.projects.first ● Int! non-null scalar

Limits number of fetched items. Maximum allowed value: 50.

Company.projects.after ● String scalar

A cursor after which elements are returned.

Company.properties ● CompanyPropertiesEdgeConnection! non-null object

A list of properties associated with the company.

Company.properties.where ● CompanyPropertiesWhereWhereConditions input
Company.properties.orderBy ● [CompanyPropertiesOrderByOrderByClause!] list input
Company.properties.first ● Int! non-null scalar

Limits number of fetched items. Maximum allowed value: 50.

Company.properties.after ● String scalar

A cursor after which elements are returned.

Company.members ● UserConnection! non-null object

The company's members.

Company.members.where ● CompanyMembersWhereWhereConditions input
Company.members.orderBy ● [CompanyMembersOrderByOrderByClause!] list input
Company.members.first ● Int! non-null scalar

Limits number of fetched items. Maximum allowed value: 50.

Company.members.after ● String scalar

A cursor after which elements are returned.

Company.tasks ● TaskConnection! non-null object

The company's tasks.

Company.tasks.where ● CompanyTasksWhereWhereConditions input
Company.tasks.orderBy ● [CompanyTasksOrderByOrderByClause!] list input
Company.tasks.first ● Int! non-null scalar

Limits number of fetched items. Maximum allowed value: 50.

Company.tasks.after ● String scalar

A cursor after which elements are returned.

Company.letters ● LetterConnection! non-null object

A list of letters associated with the company.

Company.letters.where ● CompanyLettersWhereWhereConditions input
Company.letters.orderBy ● [CompanyLettersOrderByOrderByClause!] list input
Company.letters.first ● Int! non-null scalar

Limits number of fetched items. Maximum allowed value: 50.

Company.letters.after ● String scalar

A cursor after which elements are returned.

Company.coordinations ● CoordinationConnection! non-null object

A list of coordinations associated with the company.

Company.coordinations.where ● CompanyCoordinationsWhereWhereConditions input
Company.coordinations.orderBy ● [CompanyCoordinationsOrderByOrderByClause!] list input
Company.coordinations.first ● Int! non-null scalar

Limits number of fetched items. Maximum allowed value: 50.

Company.coordinations.after ● String scalar

A cursor after which elements are returned.

Company.specifications ● SpecificationConnection! non-null object

A list of specifications associated with the company.

Company.specifications.where ● CompanySpecificationsWhereWhereConditions input
Company.specifications.orderBy ● [CompanySpecificationsOrderByOrderByClause!] list input
Company.specifications.first ● Int! non-null scalar

Limits number of fetched items. Maximum allowed value: 50.

Company.specifications.after ● String scalar

A cursor after which elements are returned.

Company.contracts ● ContactContractsEdgeConnection! non-null object

A list of contracts associated with the company.

Company.contracts.where ● CompanyContractsWhereWhereConditions input
Company.contracts.orderBy ● [CompanyContractsOrderByOrderByClause!] list input
Company.contracts.first ● Int! non-null scalar

Limits number of fetched items. Maximum allowed value: 50.

Company.contracts.after ● String scalar

A cursor after which elements are returned.

Company.submissions ● SubmissionConnection! non-null object

A list of submissions associated with the company.

Company.submissions.where ● CompanySubmissionsWhereWhereConditions input
Company.submissions.orderBy ● [CompanySubmissionsOrderByOrderByClause!] list input
Company.submissions.first ● Int! non-null scalar

Limits number of fetched items. Maximum allowed value: 50.

Company.submissions.after ● String scalar

A cursor after which elements are returned.

Company.meters ● MeterConnection! non-null object

A list of meters associated with the company.

Company.meters.where ● CompanyMetersWhereWhereConditions input
Company.meters.orderBy ● [CompanyMetersOrderByOrderByClause!] list input
Company.meters.first ● Int! non-null scalar

Limits number of fetched items. Maximum allowed value: 50.

Company.meters.after ● String scalar

A cursor after which elements are returned.

Company.files ● FileConnection! non-null object

The company's files.

Company.files.where ● CompanyFilesWhereWhereConditions input
Company.files.orderBy ● [CompanyFilesOrderByOrderByClause!] list input
Company.files.first ● Int! non-null scalar

Limits number of fetched items. Maximum allowed value: 50.

Company.files.after ● String scalar

A cursor after which elements are returned.

Returned By

addCompanyEmail mutation ● addCompanyPhone mutation ● addCompanyRelatedPerson mutation ● addCompanyWebsite mutation ● company query ● createCompany mutation ● deleteCompany mutation ● deleteCompanyAddress mutation ● removeCompanyRelatedPerson mutation ● restoreCompany mutation ● updateCompany mutation ● updateCompanyAddress mutation ● updateCompanyEmails mutation ● updateCompanyPhones mutation ● updateCompanyWebsites mutation

Member Of

CompanyEdge object ● ContactCompaniesEdge object ● Expense object ● PersonCompaniesEdge object