OBJECT

Query

The root query type which gives access points into the data universe.

link GraphQL Schema definition

  • type Query implements Node {
  • # Exposes the root query type nested one level down. This is helpful for Relay 1
  • # which can only query top level fields if they are in a particular form.
  • query: Query!
  • # The root query type must be a `Node` to work well with Relay 1 mutations. This
  • # just resolves to `query`.
  • nodeId: ID!
  • # Fetches an object given its globally unique `ID`.
  • #
  • # Arguments
  • # nodeId: The globally unique `ID`.
  • node(nodeId: ID!): Node
  • # Reads and enables pagination through a set of `AccountingCompany`.
  • #
  • # Arguments
  • # first: Only read the first `n` values of the set.
  • # last: Only read the last `n` values of the set.
  • # offset: Skip the first `n` values from our `after` cursor, an
  • # alternative to cursor based pagination. May not be used with `last`.
  • # before: Read all values in the set before (above) this cursor.
  • # after: Read all values in the set after (below) this cursor.
  • # orderBy: The method to use when ordering `AccountingCompany`.
  • # condition: A condition to be used in determining which values
  • # should be returned by the collection.
  • allAccountingCompanies(
  • first: Int,
  • last: Int,
  • offset: Int,
  • before: Cursor,
  • after: Cursor,
  • orderBy: [AccountingCompaniesOrderBy!],
  • condition: AccountingCompanyCondition
  • ): AccountingCompaniesConnection
  • # Reads and enables pagination through a set of `Bank`.
  • #
  • # Arguments
  • # first: Only read the first `n` values of the set.
  • # last: Only read the last `n` values of the set.
  • # offset: Skip the first `n` values from our `after` cursor, an
  • # alternative to cursor based pagination. May not be used with `last`.
  • # before: Read all values in the set before (above) this cursor.
  • # after: Read all values in the set after (below) this cursor.
  • # orderBy: The method to use when ordering `Bank`.
  • # condition: A condition to be used in determining which values
  • # should be returned by the collection.
  • allBanks(
  • first: Int,
  • last: Int,
  • offset: Int,
  • before: Cursor,
  • after: Cursor,
  • orderBy: [BanksOrderBy!],
  • condition: BankCondition
  • ): BanksConnection
  • # Reads and enables pagination through a set of `BankAccount`.
  • #
  • # Arguments
  • # first: Only read the first `n` values of the set.
  • # last: Only read the last `n` values of the set.
  • # offset: Skip the first `n` values from our `after` cursor, an
  • # alternative to cursor based pagination. May not be used with `last`.
  • # before: Read all values in the set before (above) this cursor.
  • # after: Read all values in the set after (below) this cursor.
  • # orderBy: The method to use when ordering `BankAccount`.
  • # condition: A condition to be used in determining which values
  • # should be returned by the collection.
  • allBankAccounts(
  • first: Int,
  • last: Int,
  • offset: Int,
  • before: Cursor,
  • after: Cursor,
  • orderBy: [BankAccountsOrderBy!],
  • condition: BankAccountCondition
  • ): BankAccountsConnection
  • # Reads and enables pagination through a set of `BankTransaction`.
  • #
  • # Arguments
  • # first: Only read the first `n` values of the set.
  • # last: Only read the last `n` values of the set.
  • # offset: Skip the first `n` values from our `after` cursor, an
  • # alternative to cursor based pagination. May not be used with `last`.
  • # before: Read all values in the set before (above) this cursor.
  • # after: Read all values in the set after (below) this cursor.
  • # orderBy: The method to use when ordering `BankTransaction`.
  • # condition: A condition to be used in determining which values
  • # should be returned by the collection.
  • allBankTransactions(
  • first: Int,
  • last: Int,
  • offset: Int,
  • before: Cursor,
  • after: Cursor,
  • orderBy: [BankTransactionsOrderBy!],
  • condition: BankTransactionCondition
  • ): BankTransactionsConnection
  • # Reads and enables pagination through a set of `ClientCompany`.
  • #
  • # Arguments
  • # first: Only read the first `n` values of the set.
  • # last: Only read the last `n` values of the set.
  • # offset: Skip the first `n` values from our `after` cursor, an
  • # alternative to cursor based pagination. May not be used with `last`.
  • # before: Read all values in the set before (above) this cursor.
  • # after: Read all values in the set after (below) this cursor.
  • # orderBy: The method to use when ordering `ClientCompany`.
  • # condition: A condition to be used in determining which values
  • # should be returned by the collection.
  • allClientCompanies(
  • first: Int,
  • last: Int,
  • offset: Int,
  • before: Cursor,
  • after: Cursor,
  • orderBy: [ClientCompaniesOrderBy!],
  • condition: ClientCompanyCondition
  • ): ClientCompaniesConnection
  • # Reads and enables pagination through a set of `Company`.
  • #
  • # Arguments
  • # first: Only read the first `n` values of the set.
  • # last: Only read the last `n` values of the set.
  • # offset: Skip the first `n` values from our `after` cursor, an
  • # alternative to cursor based pagination. May not be used with `last`.
  • # before: Read all values in the set before (above) this cursor.
  • # after: Read all values in the set after (below) this cursor.
  • # orderBy: The method to use when ordering `Company`.
  • # condition: A condition to be used in determining which values
  • # should be returned by the collection.
  • allCompanies(
  • first: Int,
  • last: Int,
  • offset: Int,
  • before: Cursor,
  • after: Cursor,
  • orderBy: [CompaniesOrderBy!],
  • condition: CompanyCondition
  • ): CompaniesConnection
  • # Reads and enables pagination through a set of `CompanyCostCenter`.
  • #
  • # Arguments
  • # first: Only read the first `n` values of the set.
  • # last: Only read the last `n` values of the set.
  • # offset: Skip the first `n` values from our `after` cursor, an
  • # alternative to cursor based pagination. May not be used with `last`.
  • # before: Read all values in the set before (above) this cursor.
  • # after: Read all values in the set after (below) this cursor.
  • # orderBy: The method to use when ordering `CompanyCostCenter`.
  • # condition: A condition to be used in determining which values
  • # should be returned by the collection.
  • allCompanyCostCenters(
  • first: Int,
  • last: Int,
  • offset: Int,
  • before: Cursor,
  • after: Cursor,
  • orderBy: [CompanyCostCentersOrderBy!],
  • condition: CompanyCostCenterCondition
  • ): CompanyCostCentersConnection
  • # Reads and enables pagination through a set of `CompanyTag`.
  • #
  • # Arguments
  • # first: Only read the first `n` values of the set.
  • # last: Only read the last `n` values of the set.
  • # offset: Skip the first `n` values from our `after` cursor, an
  • # alternative to cursor based pagination. May not be used with `last`.
  • # before: Read all values in the set before (above) this cursor.
  • # after: Read all values in the set after (below) this cursor.
  • # orderBy: The method to use when ordering `CompanyTag`.
  • # condition: A condition to be used in determining which values
  • # should be returned by the collection.
  • allCompanyTags(
  • first: Int,
  • last: Int,
  • offset: Int,
  • before: Cursor,
  • after: Cursor,
  • orderBy: [CompanyTagsOrderBy!],
  • condition: CompanyTagCondition
  • ): CompanyTagsConnection
  • # Reads and enables pagination through a set of `CurrencyRate`.
  • #
  • # Arguments
  • # first: Only read the first `n` values of the set.
  • # last: Only read the last `n` values of the set.
  • # offset: Skip the first `n` values from our `after` cursor, an
  • # alternative to cursor based pagination. May not be used with `last`.
  • # before: Read all values in the set before (above) this cursor.
  • # after: Read all values in the set after (below) this cursor.
  • # orderBy: The method to use when ordering `CurrencyRate`.
  • # condition: A condition to be used in determining which values
  • # should be returned by the collection.
  • allCurrencyRates(
  • first: Int,
  • last: Int,
  • offset: Int,
  • before: Cursor,
  • after: Cursor,
  • orderBy: [CurrencyRatesOrderBy!],
  • condition: CurrencyRateCondition
  • ): CurrencyRatesConnection
  • # Reads and enables pagination through a set of `DeliveryNote`.
  • #
  • # Arguments
  • # first: Only read the first `n` values of the set.
  • # last: Only read the last `n` values of the set.
  • # offset: Skip the first `n` values from our `after` cursor, an
  • # alternative to cursor based pagination. May not be used with `last`.
  • # before: Read all values in the set before (above) this cursor.
  • # after: Read all values in the set after (below) this cursor.
  • # orderBy: The method to use when ordering `DeliveryNote`.
  • # condition: A condition to be used in determining which values
  • # should be returned by the collection.
  • allDeliveryNotes(
  • first: Int,
  • last: Int,
  • offset: Int,
  • before: Cursor,
  • after: Cursor,
  • orderBy: [DeliveryNotesOrderBy!],
  • condition: DeliveryNoteCondition
  • ): DeliveryNotesConnection
  • # Reads and enables pagination through a set of `DeliveryNoteItem`.
  • #
  • # Arguments
  • # first: Only read the first `n` values of the set.
  • # last: Only read the last `n` values of the set.
  • # offset: Skip the first `n` values from our `after` cursor, an
  • # alternative to cursor based pagination. May not be used with `last`.
  • # before: Read all values in the set before (above) this cursor.
  • # after: Read all values in the set after (below) this cursor.
  • # orderBy: The method to use when ordering `DeliveryNoteItem`.
  • # condition: A condition to be used in determining which values
  • # should be returned by the collection.
  • allDeliveryNoteItems(
  • first: Int,
  • last: Int,
  • offset: Int,
  • before: Cursor,
  • after: Cursor,
  • orderBy: [DeliveryNoteItemsOrderBy!],
  • condition: DeliveryNoteItemCondition
  • ): DeliveryNoteItemsConnection
  • # Reads and enables pagination through a set of `Document`.
  • #
  • # Arguments
  • # first: Only read the first `n` values of the set.
  • # last: Only read the last `n` values of the set.
  • # offset: Skip the first `n` values from our `after` cursor, an
  • # alternative to cursor based pagination. May not be used with `last`.
  • # before: Read all values in the set before (above) this cursor.
  • # after: Read all values in the set after (below) this cursor.
  • # orderBy: The method to use when ordering `Document`.
  • # condition: A condition to be used in determining which values
  • # should be returned by the collection.
  • allDocuments(
  • first: Int,
  • last: Int,
  • offset: Int,
  • before: Cursor,
  • after: Cursor,
  • orderBy: [DocumentsOrderBy!],
  • condition: DocumentCondition
  • ): DocumentsConnection
  • # Reads and enables pagination through a set of `DocumentBankTransaction`.
  • #
  • # Arguments
  • # first: Only read the first `n` values of the set.
  • # last: Only read the last `n` values of the set.
  • # offset: Skip the first `n` values from our `after` cursor, an
  • # alternative to cursor based pagination. May not be used with `last`.
  • # before: Read all values in the set before (above) this cursor.
  • # after: Read all values in the set after (below) this cursor.
  • # orderBy: The method to use when ordering
  • # `DocumentBankTransaction`.
  • # condition: A condition to be used in determining which values
  • # should be returned by the collection.
  • allDocumentBankTransactions(
  • first: Int,
  • last: Int,
  • offset: Int,
  • before: Cursor,
  • after: Cursor,
  • orderBy: [DocumentBankTransactionsOrderBy!],
  • condition: DocumentBankTransactionCondition
  • ): DocumentBankTransactionsConnection
  • # Reads and enables pagination through a set of `DocumentCategory`.
  • #
  • # Arguments
  • # first: Only read the first `n` values of the set.
  • # last: Only read the last `n` values of the set.
  • # offset: Skip the first `n` values from our `after` cursor, an
  • # alternative to cursor based pagination. May not be used with `last`.
  • # before: Read all values in the set before (above) this cursor.
  • # after: Read all values in the set after (below) this cursor.
  • # orderBy: The method to use when ordering `DocumentCategory`.
  • # condition: A condition to be used in determining which values
  • # should be returned by the collection.
  • allDocumentCategories(
  • first: Int,
  • last: Int,
  • offset: Int,
  • before: Cursor,
  • after: Cursor,
  • orderBy: [DocumentCategoriesOrderBy!],
  • condition: DocumentCategoryCondition
  • ): DocumentCategoriesConnection
  • # Reads and enables pagination through a set of `DocumentTag`.
  • #
  • # Arguments
  • # first: Only read the first `n` values of the set.
  • # last: Only read the last `n` values of the set.
  • # offset: Skip the first `n` values from our `after` cursor, an
  • # alternative to cursor based pagination. May not be used with `last`.
  • # before: Read all values in the set before (above) this cursor.
  • # after: Read all values in the set after (below) this cursor.
  • # orderBy: The method to use when ordering `DocumentTag`.
  • # condition: A condition to be used in determining which values
  • # should be returned by the collection.
  • allDocumentTags(
  • first: Int,
  • last: Int,
  • offset: Int,
  • before: Cursor,
  • after: Cursor,
  • orderBy: [DocumentTagsOrderBy!],
  • condition: DocumentTagCondition
  • ): DocumentTagsConnection
  • # Reads and enables pagination through a set of `DocumentVersion`.
  • #
  • # Arguments
  • # first: Only read the first `n` values of the set.
  • # last: Only read the last `n` values of the set.
  • # offset: Skip the first `n` values from our `after` cursor, an
  • # alternative to cursor based pagination. May not be used with `last`.
  • # before: Read all values in the set before (above) this cursor.
  • # after: Read all values in the set after (below) this cursor.
  • # orderBy: The method to use when ordering `DocumentVersion`.
  • # condition: A condition to be used in determining which values
  • # should be returned by the collection.
  • allDocumentVersions(
  • first: Int,
  • last: Int,
  • offset: Int,
  • before: Cursor,
  • after: Cursor,
  • orderBy: [DocumentVersionsOrderBy!],
  • condition: DocumentVersionCondition
  • ): DocumentVersionsConnection
  • # Reads and enables pagination through a set of `DocumentVersionFile`.
  • #
  • # Arguments
  • # first: Only read the first `n` values of the set.
  • # last: Only read the last `n` values of the set.
  • # offset: Skip the first `n` values from our `after` cursor, an
  • # alternative to cursor based pagination. May not be used with `last`.
  • # before: Read all values in the set before (above) this cursor.
  • # after: Read all values in the set after (below) this cursor.
  • # orderBy: The method to use when ordering `DocumentVersionFile`.
  • # condition: A condition to be used in determining which values
  • # should be returned by the collection.
  • allDocumentVersionFiles(
  • first: Int,
  • last: Int,
  • offset: Int,
  • before: Cursor,
  • after: Cursor,
  • orderBy: [DocumentVersionFilesOrderBy!],
  • condition: DocumentVersionFileCondition
  • ): DocumentVersionFilesConnection
  • # Reads and enables pagination through a set of `DocumentWorkflow`.
  • #
  • # Arguments
  • # first: Only read the first `n` values of the set.
  • # last: Only read the last `n` values of the set.
  • # offset: Skip the first `n` values from our `after` cursor, an
  • # alternative to cursor based pagination. May not be used with `last`.
  • # before: Read all values in the set before (above) this cursor.
  • # after: Read all values in the set after (below) this cursor.
  • # orderBy: The method to use when ordering `DocumentWorkflow`.
  • # condition: A condition to be used in determining which values
  • # should be returned by the collection.
  • allDocumentWorkflows(
  • first: Int,
  • last: Int,
  • offset: Int,
  • before: Cursor,
  • after: Cursor,
  • orderBy: [DocumentWorkflowsOrderBy!],
  • condition: DocumentWorkflowCondition
  • ): DocumentWorkflowsConnection
  • # Reads and enables pagination through a set of `DocumentWorkflowStep`.
  • #
  • # Arguments
  • # first: Only read the first `n` values of the set.
  • # last: Only read the last `n` values of the set.
  • # offset: Skip the first `n` values from our `after` cursor, an
  • # alternative to cursor based pagination. May not be used with `last`.
  • # before: Read all values in the set before (above) this cursor.
  • # after: Read all values in the set after (below) this cursor.
  • # orderBy: The method to use when ordering
  • # `DocumentWorkflowStep`.
  • # condition: A condition to be used in determining which values
  • # should be returned by the collection.
  • allDocumentWorkflowSteps(
  • first: Int,
  • last: Int,
  • offset: Int,
  • before: Cursor,
  • after: Cursor,
  • orderBy: [DocumentWorkflowStepsOrderBy!],
  • condition: DocumentWorkflowStepCondition
  • ): DocumentWorkflowStepsConnection
  • # Reads and enables pagination through a set of `GeneralLedgerAccount`.
  • #
  • # Arguments
  • # first: Only read the first `n` values of the set.
  • # last: Only read the last `n` values of the set.
  • # offset: Skip the first `n` values from our `after` cursor, an
  • # alternative to cursor based pagination. May not be used with `last`.
  • # before: Read all values in the set before (above) this cursor.
  • # after: Read all values in the set after (below) this cursor.
  • # orderBy: The method to use when ordering
  • # `GeneralLedgerAccount`.
  • # condition: A condition to be used in determining which values
  • # should be returned by the collection.
  • allGeneralLedgerAccounts(
  • first: Int,
  • last: Int,
  • offset: Int,
  • before: Cursor,
  • after: Cursor,
  • orderBy: [GeneralLedgerAccountsOrderBy!],
  • condition: GeneralLedgerAccountCondition
  • ): GeneralLedgerAccountsConnection
  • # Reads and enables pagination through a set of `Invoice`.
  • #
  • # Arguments
  • # first: Only read the first `n` values of the set.
  • # last: Only read the last `n` values of the set.
  • # offset: Skip the first `n` values from our `after` cursor, an
  • # alternative to cursor based pagination. May not be used with `last`.
  • # before: Read all values in the set before (above) this cursor.
  • # after: Read all values in the set after (below) this cursor.
  • # orderBy: The method to use when ordering `Invoice`.
  • # condition: A condition to be used in determining which values
  • # should be returned by the collection.
  • allInvoices(
  • first: Int,
  • last: Int,
  • offset: Int,
  • before: Cursor,
  • after: Cursor,
  • orderBy: [InvoicesOrderBy!],
  • condition: InvoiceCondition
  • ): InvoicesConnection
  • # Reads and enables pagination through a set of `InvoiceCostCenter`.
  • #
  • # Arguments
  • # first: Only read the first `n` values of the set.
  • # last: Only read the last `n` values of the set.
  • # offset: Skip the first `n` values from our `after` cursor, an
  • # alternative to cursor based pagination. May not be used with `last`.
  • # before: Read all values in the set before (above) this cursor.
  • # after: Read all values in the set after (below) this cursor.
  • # orderBy: The method to use when ordering `InvoiceCostCenter`.
  • # condition: A condition to be used in determining which values
  • # should be returned by the collection.
  • allInvoiceCostCenters(
  • first: Int,
  • last: Int,
  • offset: Int,
  • before: Cursor,
  • after: Cursor,
  • orderBy: [InvoiceCostCentersOrderBy!],
  • condition: InvoiceCostCenterCondition
  • ): InvoiceCostCentersConnection
  • # Reads and enables pagination through a set of `InvoiceItem`.
  • #
  • # Arguments
  • # first: Only read the first `n` values of the set.
  • # last: Only read the last `n` values of the set.
  • # offset: Skip the first `n` values from our `after` cursor, an
  • # alternative to cursor based pagination. May not be used with `last`.
  • # before: Read all values in the set before (above) this cursor.
  • # after: Read all values in the set after (below) this cursor.
  • # orderBy: The method to use when ordering `InvoiceItem`.
  • # condition: A condition to be used in determining which values
  • # should be returned by the collection.
  • allInvoiceItems(
  • first: Int,
  • last: Int,
  • offset: Int,
  • before: Cursor,
  • after: Cursor,
  • orderBy: [InvoiceItemsOrderBy!],
  • condition: InvoiceItemCondition
  • ): InvoiceItemsConnection
  • # Reads and enables pagination through a set of `User`.
  • #
  • # Arguments
  • # first: Only read the first `n` values of the set.
  • # last: Only read the last `n` values of the set.
  • # offset: Skip the first `n` values from our `after` cursor, an
  • # alternative to cursor based pagination. May not be used with `last`.
  • # before: Read all values in the set before (above) this cursor.
  • # after: Read all values in the set after (below) this cursor.
  • # orderBy: The method to use when ordering `User`.
  • # condition: A condition to be used in determining which values
  • # should be returned by the collection.
  • allUsers(
  • first: Int,
  • last: Int,
  • offset: Int,
  • before: Cursor,
  • after: Cursor,
  • orderBy: [UsersOrderBy!],
  • condition: UserCondition
  • ): UsersConnection
  • currentCompanyId: UUID
  • }