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
priceList: PriceList
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.