Contract
Represents information about an contract.
type Contract {
id: ID!
parentId: ID
number: String
name: String
status: RelatedStatusType
externalCode: String
sum: Money
isNotarized: Boolean
relatedId: ID @deprecated
related: Contract @deprecated
signedAt: Date
startAt: Date
dueAt: Date
completedAt: Date
warrantyDueAt: Date
isSubcontract: Boolean
parent: Contract
type: ContractType
filePath: String @deprecated
filesPath: String
notes: String @deprecated
description: String
comments: [Comment!]!
followers: [User!]
creator: User
createdAt: DateTimeTz!
updatedAt: DateTimeTz!
deletedAt: DateTimeTz
children(
where: ContractChildrenWhereWhereConditions
orderBy: [ContractChildrenOrderByOrderByClause!]
first: Int! = 10
after: String
): ContractConnection!
members(
where: ContractMembersWhereWhereConditions
orderBy: [ContractMembersOrderByOrderByClause!]
first: Int! = 10
after: String
): ContractMembersEdgeConnection!
responsible(first: Int! = 10, after: String): ContractMembersEdgeConnection!
contacts(
where: ContractContactsWhereWhereConditions
orderBy: [ContractContactsOrderByOrderByClause!]
first: Int! = 10
after: String
): ContractContactsEdgeConnection!
projects(
where: ContractProjectsWhereWhereConditions
orderBy: [ContractProjectsOrderByOrderByClause!]
first: Int! = 10
after: String
): ProjectConnection!
properties(
where: ContractPropertiesWhereWhereConditions
orderBy: [ContractPropertiesOrderByOrderByClause!]
first: Int! = 10
after: String
): PropertyConnection!
tasks(
where: ContractTasksWhereWhereConditions
orderBy: [ContractTasksOrderByOrderByClause!]
first: Int! = 10
after: String
): TaskConnection!
letters(
where: ContractLettersWhereWhereConditions
orderBy: [ContractLettersOrderByOrderByClause!]
first: Int! = 10
after: String
): LetterConnection!
meters(
where: ContractMetersWhereWhereConditions
orderBy: [ContractMetersOrderByOrderByClause!]
first: Int! = 10
after: String
): MeterConnection!
invoices(
where: ContractInvoicesWhereWhereConditions
orderBy: [ContractInvoicesOrderByOrderByClause!]
first: Int! = 10
after: String
): InvoiceConnection!
expenses(
where: ContractExpensesWhereWhereConditions
orderBy: [ContractExpensesOrderByOrderByClause!]
first: Int! = 10
after: String
): ExpenseConnection!
quotes(
where: ContractQuotesWhereWhereConditions
orderBy: [ContractQuotesOrderByOrderByClause!]
first: Int! = 10
after: String
): QuoteConnection!
tags(
where: ContractTagsWhereWhereConditions
orderBy: [ContractTagsOrderByOrderByClause!]
first: Int! = 10
after: String
): TagConnection!
files(
where: ContractFilesWhereWhereConditions
orderBy: [ContractFilesOrderByOrderByClause!]
first: Int! = 10
after: String
): FileConnection!
}
Fields
Contract.id
● ID!
non-null scalar
Contract's unique identifier.
Contract.parentId
● ID
scalar
The contract's parent contract.
Contract.number
● String
scalar
The contract's number.
Contract.name
● String
scalar
The contract's name.
Contract.status
● RelatedStatusType
object
The contract's status.
Contract.externalCode
● String
scalar
The contract's external code.
Contract.sum
● Money
object
The contract's sum.
Contract.isNotarized
● Boolean
scalar
Whether the easement has been notarized.
Contract.relatedId
● ID
deprecated scalar
Use parentId
instead
The contract's related contract.
Contract.related
● Contract
deprecated object
Use parent
instead
The related contract.
Contract.signedAt
● Date
scalar
Signed date of the contract.
Contract.startAt
● Date
scalar
Start date of the contract.
Contract.dueAt
● Date
scalar
Due date of the contract.
Contract.completedAt
● Date
scalar
Completed date of the contract.
Contract.warrantyDueAt
● Date
scalar
Warranty due date of the contract.
Contract.isSubcontract
● Boolean
scalar
Determine whether the contract is a subcontract.
Contract.parent
● Contract
object
The parent contract.
Contract.type
● ContractType
object
The contract's type.
Contract.filePath
● String
deprecated scalar
Use filesPath
instead
The contract's file path.
Contract.filesPath
● String
scalar
The contract's files path.
Contract.notes
● String
deprecated scalar
Use description
instead
The contract's notes.
Contract.description
● String
scalar
The coontract's description.
Contract.comments
● [Comment!]!
non-null object
The contract's comments.
Contract.followers
● [User!]
list object
The contract's followers.
Contract.creator
● User
object
The user who created this contract.
Contract.createdAt
● DateTimeTz!
non-null scalar
The date and time when the contract was created.
Contract.updatedAt
● DateTimeTz!
non-null scalar
The date and time when the contract was last updated.
Contract.deletedAt
● DateTimeTz
scalar
The date and time when the contract was deleted.
Contract.children
● ContractConnection!
non-null object
The child contracts.
Contract.children.where
● ContractChildrenWhereWhereConditions
input
Contract.children.orderBy
● [ContractChildrenOrderByOrderByClause!]
list input
Contract.children.first
● Int!
non-null scalar
Limits number of fetched items. Maximum allowed value: 50.
Contract.children.after
● String
scalar
A cursor after which elements are returned.
Contract.members
● ContractMembersEdgeConnection!
non-null object
The contract's members.
Contract.members.where
● ContractMembersWhereWhereConditions
input
Contract.members.orderBy
● [ContractMembersOrderByOrderByClause!]
list input
Contract.members.first
● Int!
non-null scalar
Limits number of fetched items. Maximum allowed value: 50.
Contract.members.after
● String
scalar
A cursor after which elements are returned.
Contract.responsible
● ContractMembersEdgeConnection!
non-null object
The contract's responsible member.
Contract.responsible.first
● Int!
non-null scalar
Limits number of fetched items. Maximum allowed value: 50.
Contract.responsible.after
● String
scalar
A cursor after which elements are returned.
Contract.contacts
● ContractContactsEdgeConnection!
non-null object
The contract's contacts.
Contract.contacts.where
● ContractContactsWhereWhereConditions
input
Contract.contacts.orderBy
● [ContractContactsOrderByOrderByClause!]
list input
Contract.contacts.first
● Int!
non-null scalar
Limits number of fetched items. Maximum allowed value: 50.
Contract.contacts.after
● String
scalar
A cursor after which elements are returned.
Contract.projects
● ProjectConnection!
non-null object
A list of projects associated with the contract.
Contract.projects.where
● ContractProjectsWhereWhereConditions
input
Contract.projects.orderBy
● [ContractProjectsOrderByOrderByClause!]
list input
Contract.projects.first
● Int!
non-null scalar
Limits number of fetched items. Maximum allowed value: 50.
Contract.projects.after
● String
scalar
A cursor after which elements are returned.
Contract.properties
● PropertyConnection!
non-null object
A list of properties associated with the contract.
Contract.properties.where
● ContractPropertiesWhereWhereConditions
input
Contract.properties.orderBy
● [ContractPropertiesOrderByOrderByClause!]
list input
Contract.properties.first
● Int!
non-null scalar
Limits number of fetched items. Maximum allowed value: 50.
Contract.properties.after
● String
scalar
A cursor after which elements are returned.
Contract.tasks
● TaskConnection!
non-null object
A list of tasks associated with the contract.
Contract.tasks.where
● ContractTasksWhereWhereConditions
input
Contract.tasks.orderBy
● [ContractTasksOrderByOrderByClause!]
list input
Contract.tasks.first
● Int!
non-null scalar
Limits number of fetched items. Maximum allowed value: 50.
Contract.tasks.after
● String
scalar
A cursor after which elements are returned.
Contract.letters
● LetterConnection!
non-null object
A list of letters associated with the contract.
Contract.letters.where
● ContractLettersWhereWhereConditions
input
Contract.letters.orderBy
● [ContractLettersOrderByOrderByClause!]
list input
Contract.letters.first
● Int!
non-null scalar
Limits number of fetched items. Maximum allowed value: 50.
Contract.letters.after
● String
scalar
A cursor after which elements are returned.
Contract.meters
● MeterConnection!
non-null object
A list of meters associated with the contract.
Contract.meters.where
● ContractMetersWhereWhereConditions
input
Contract.meters.orderBy
● [ContractMetersOrderByOrderByClause!]
list input
Contract.meters.first
● Int!
non-null scalar
Limits number of fetched items. Maximum allowed value: 50.
Contract.meters.after
● String
scalar
A cursor after which elements are returned.
Contract.invoices
● InvoiceConnection!
non-null object
A list of invoices associated with the contract.
Contract.invoices.where
● ContractInvoicesWhereWhereConditions
input
Contract.invoices.orderBy
● [ContractInvoicesOrderByOrderByClause!]
list input
Contract.invoices.first
● Int!
non-null scalar
Limits number of fetched items. Maximum allowed value: 50.
Contract.invoices.after
● String
scalar
A cursor after which elements are returned.
Contract.expenses
● ExpenseConnection!
non-null object
A list of expenses associated with the contract.
Contract.expenses.where
● ContractExpensesWhereWhereConditions
input
Contract.expenses.orderBy
● [ContractExpensesOrderByOrderByClause!]
list input
Contract.expenses.first
● Int!
non-null scalar
Limits number of fetched items. Maximum allowed value: 50.
Contract.expenses.after
● String
scalar
A cursor after which elements are returned.
Contract.quotes
● QuoteConnection!
non-null object
A list of quotes associated with the contract.
Contract.quotes.where
● ContractQuotesWhereWhereConditions
input
Contract.quotes.orderBy
● [ContractQuotesOrderByOrderByClause!]
list input
Contract.quotes.first
● Int!
non-null scalar
Limits number of fetched items. Maximum allowed value: 50.
Contract.quotes.after
● String
scalar
A cursor after which elements are returned.
Contract.tags
● TagConnection!
non-null object
The contract's tags.
Contract.tags.where
● ContractTagsWhereWhereConditions
input
Contract.tags.orderBy
● [ContractTagsOrderByOrderByClause!]
list input
Contract.tags.first
● Int!
non-null scalar
Limits number of fetched items. Maximum allowed value: 50.
Contract.tags.after
● String
scalar
A cursor after which elements are returned.
Contract.files
● FileConnection!
non-null object
The contract's files.
Contract.files.where
● ContractFilesWhereWhereConditions
input
Contract.files.orderBy
● [ContractFilesOrderByOrderByClause!]
list input
Contract.files.first
● Int!
non-null scalar
Limits number of fetched items. Maximum allowed value: 50.
Contract.files.after
● String
scalar
A cursor after which elements are returned.
Returned By
contract
query ● createContract
mutation ● deleteContract
mutation ● duplicateContract
mutation ● restoreContract
mutation ● updateContract
mutation
Member Of
ContactContractsEdge
object ● Contract
object ● ContractEdge
object