Skip to main content

GovernanceDocument

Represents information about a governance document.

type GovernanceDocument {
id: ID!
isLocked: Boolean!
isOverdue: Boolean!
daysOverdue: Int
_groupMeta: GroupMeta
parentId: ID
number: String
name: String
status: RelatedStatusType
externalCode: String
affectedParty: String
isPublic: Boolean
signedAt: Date
startAt: Date
dueAt: Date
completedAt: Date
isSubGovernanceDocument: Boolean
parent: GovernanceDocument
type: GovernanceDocumentType
allowedTypes: [GovernanceDocumentType!]!
filesPath: String
description: String
isMember: Boolean
isResponsible: Boolean
comments: [Comment!]!
followers: [User!]
creator: User
createdAt: DateTimeTz!
updatedAt: DateTimeTz!
deletedAt: DateTimeTz
children(
where: GovernanceDocumentChildrenWhereWhereConditions
orderBy: [GovernanceDocumentChildrenOrderByOrderByClause!]
first: Int!
after: String
): GovernanceDocumentConnection!
members(
where: GovernanceDocumentMembersWhereWhereConditions
orderBy: [GovernanceDocumentMembersOrderByOrderByClause!]
first: Int!
after: String
): GovernanceDocumentMembersEdgeConnection!
responsible(
first: Int!
after: String
): GovernanceDocumentMembersEdgeConnection!
projects(
where: GovernanceDocumentProjectsWhereWhereConditions
orderBy: [GovernanceDocumentProjectsOrderByOrderByClause!]
first: Int!
after: String
): ProjectConnection!
tasks(
where: GovernanceDocumentTasksWhereWhereConditions
orderBy: [GovernanceDocumentTasksOrderByOrderByClause!]
first: Int!
after: String
): TaskConnection!
letters(
where: GovernanceDocumentLettersWhereWhereConditions
orderBy: [GovernanceDocumentLettersOrderByOrderByClause!]
first: Int!
after: String
): LetterConnection!
files(
where: GovernanceDocumentFilesWhereWhereConditions
orderBy: [GovernanceDocumentFilesOrderByOrderByClause!]
first: Int!
after: String
): FileConnection!
}

Fields​

GovernanceDocument.id ● ID! non-null scalar​

Governance document's unique identifier.

GovernanceDocument.isLocked ● Boolean! non-null scalar​

Whether this entity is locked from edits to its contractual fields by its current status.

GovernanceDocument.isOverdue ● Boolean! non-null scalar​

Whether the due date has passed while the record is still unsettled. Counted in Estonian time, from the day after the due date.

GovernanceDocument.daysOverdue ● Int scalar​

How many days past its due date an overdue record is. Null when the record is not overdue.

GovernanceDocument._groupMeta ● GroupMeta object​

Grouping metadata when results are grouped.

GovernanceDocument.parentId ● ID scalar​

The parent governance document's id. Null when the caller cannot open the parent.

GovernanceDocument.number ● String scalar​

The governance document's number.

GovernanceDocument.name ● String scalar​

The governance document's name.

GovernanceDocument.status ● RelatedStatusType object​

The governance document's status.

GovernanceDocument.externalCode ● String scalar​

The governance document's external code.

GovernanceDocument.affectedParty ● String scalar​

The governance document's affected party.

GovernanceDocument.isPublic ● Boolean scalar​

True if the governance document is public to the organization. If false, do not share this governance document with other users in this organization without explicitly checking to see if they have access.

GovernanceDocument.signedAt ● Date scalar​

Signed date of the governance document.

GovernanceDocument.startAt ● Date scalar​

Start date of the governance document.

GovernanceDocument.dueAt ● Date scalar​

Due date of the governance document.

GovernanceDocument.completedAt ● Date scalar​

Completed date of the governance document.

GovernanceDocument.isSubGovernanceDocument ● Boolean scalar​

Determine whether the governance document is a sub governance document.

GovernanceDocument.parent ● GovernanceDocument object​

The parent governance document. Null when the current user cannot see it, such as a private parent they are not a member of.

GovernanceDocument.type ● GovernanceDocumentType object​

The governance document's type.

GovernanceDocument.allowedTypes ● [GovernanceDocumentType!]! non-null object​

Types this governance document may be switched to without breaking its numbering. While the account uses document numbering, a numbered governance document is limited to the types that resolve to its active numbering series, so foreign and expired series are excluded; otherwise every type is listed. Resolved on demand.

GovernanceDocument.filesPath ● String scalar​

The governance document's files path.

GovernanceDocument.description ● String scalar​

The governance document's description.

GovernanceDocument.isMember ● Boolean scalar​

Determine whether the current user is this governance document's member.

GovernanceDocument.isResponsible ● Boolean scalar​

Determine whether the current user is this governance document's responsible member.

GovernanceDocument.comments ● [Comment!]! non-null object​

The governance document's comments.

GovernanceDocument.followers ● [User!] list object​

The governance document's followers.

GovernanceDocument.creator ● User object​

The user who created this governance document.

GovernanceDocument.createdAt ● DateTimeTz! non-null scalar​

The date and time when the governance document was created.

GovernanceDocument.updatedAt ● DateTimeTz! non-null scalar​

The date and time when the governance document was last updated.

GovernanceDocument.deletedAt ● DateTimeTz scalar​

The date and time when the governance document was deleted.

GovernanceDocument.children ● GovernanceDocumentConnection! non-null object​

The child governance documents.

GovernanceDocument.children.where ● GovernanceDocumentChildrenWhereWhereConditions input​
GovernanceDocument.children.orderBy ● [GovernanceDocumentChildrenOrderByOrderByClause!] list input​
GovernanceDocument.children.first ● Int! non-null scalar​

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

GovernanceDocument.children.after ● String scalar​

A cursor after which elements are returned.

GovernanceDocument.members ● GovernanceDocumentMembersEdgeConnection! non-null object​

The governance document's members.

GovernanceDocument.members.where ● GovernanceDocumentMembersWhereWhereConditions input​
GovernanceDocument.members.orderBy ● [GovernanceDocumentMembersOrderByOrderByClause!] list input​
GovernanceDocument.members.first ● Int! non-null scalar​

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

GovernanceDocument.members.after ● String scalar​

A cursor after which elements are returned.

GovernanceDocument.responsible ● GovernanceDocumentMembersEdgeConnection! non-null object​

The governance document's responsible member.

GovernanceDocument.responsible.first ● Int! non-null scalar​

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

GovernanceDocument.responsible.after ● String scalar​

A cursor after which elements are returned.

GovernanceDocument.projects ● ProjectConnection! non-null object​

A list of projects associated with the governance document.

GovernanceDocument.projects.where ● GovernanceDocumentProjectsWhereWhereConditions input​
GovernanceDocument.projects.orderBy ● [GovernanceDocumentProjectsOrderByOrderByClause!] list input​
GovernanceDocument.projects.first ● Int! non-null scalar​

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

GovernanceDocument.projects.after ● String scalar​

A cursor after which elements are returned.

GovernanceDocument.tasks ● TaskConnection! non-null object​

A list of tasks associated with the governance document.

GovernanceDocument.tasks.where ● GovernanceDocumentTasksWhereWhereConditions input​
GovernanceDocument.tasks.orderBy ● [GovernanceDocumentTasksOrderByOrderByClause!] list input​
GovernanceDocument.tasks.first ● Int! non-null scalar​

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

GovernanceDocument.tasks.after ● String scalar​

A cursor after which elements are returned.

GovernanceDocument.letters ● LetterConnection! non-null object​

A list of letters associated with the governance document.

GovernanceDocument.letters.where ● GovernanceDocumentLettersWhereWhereConditions input​
GovernanceDocument.letters.orderBy ● [GovernanceDocumentLettersOrderByOrderByClause!] list input​
GovernanceDocument.letters.first ● Int! non-null scalar​

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

GovernanceDocument.letters.after ● String scalar​

A cursor after which elements are returned.

GovernanceDocument.files ● FileConnection! non-null object​

The governance document's files.

GovernanceDocument.files.where ● GovernanceDocumentFilesWhereWhereConditions input​
GovernanceDocument.files.orderBy ● [GovernanceDocumentFilesOrderByOrderByClause!] list input​
GovernanceDocument.files.first ● Int! non-null scalar​

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

GovernanceDocument.files.after ● String scalar​

A cursor after which elements are returned.

Returned By​

createGovernanceDocument mutation ● deleteGovernanceDocument mutation ● duplicateGovernanceDocument mutation ● governanceDocument query ● restoreGovernanceDocument mutation ● updateGovernanceDocument mutation

Member Of​

GovernanceDocument object ● GovernanceDocumentEdge object