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
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!
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
scalar
The contract's notes.
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.