OBJECT

PartnerCompany

link GraphQL Schema definition

  • type PartnerCompany implements Node {
  • # A globally unique identifier. Can be used in various places throughout the
  • # system to identify this single value.
  • id: ID!
  • rowId: UUID!
  • companyRowId: UUID
  • name: String
  • alternativeNames: [String]!
  • source: String!
  • paidWithDirectDebit: Boolean!
  • disabledAt: Datetime
  • disabledBy: TrimmedText
  • # Is the `PartnerCompany` active or not? You may also check the `disabledAt` and
  • # `disabledBy` fields.
  • active: Boolean!
  • updatedAt: UpdatedTime
  • createdAt: CreatedTime
  • # Reads a single `Company` that is related to this `PartnerCompany`.
  • companyByCompanyRowId: Company
  • # 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.
  • bankTransactionsByPartnerCompanyRowId(
  • first: Int,
  • last: Int,
  • offset: Int,
  • before: Cursor,
  • after: Cursor,
  • orderBy: [BankTransactionsOrderBy!],
  • condition: BankTransactionCondition
  • ): BankTransactionsConnection!
  • # Reads and enables pagination through a set of `CompanyLocation`.
  • #
  • # 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 `CompanyLocation`.
  • # condition: A condition to be used in determining which values
  • # should be returned by the collection.
  • companyLocationsByPartnerCompanyRowId(
  • first: Int,
  • last: Int,
  • offset: Int,
  • before: Cursor,
  • after: Cursor,
  • orderBy: [CompanyLocationsOrderBy!],
  • condition: CompanyLocationCondition
  • ): CompanyLocationsConnection!
  • # Reads and enables pagination through a set of `CreditCardTransaction`.
  • #
  • # 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
  • # `CreditCardTransaction`.
  • # condition: A condition to be used in determining which values
  • # should be returned by the collection.
  • creditCardTransactionsByPartnerCompanyRowId(
  • first: Int,
  • last: Int,
  • offset: Int,
  • before: Cursor,
  • after: Cursor,
  • orderBy: [CreditCardTransactionsOrderBy!],
  • condition: CreditCardTransactionCondition
  • ): CreditCardTransactionsConnection!
  • # 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.
  • deliveryNotesByPartnerCompanyRowId(
  • first: Int,
  • last: Int,
  • offset: Int,
  • before: Cursor,
  • after: Cursor,
  • orderBy: [DeliveryNotesOrderBy!],
  • condition: DeliveryNoteCondition
  • ): DeliveryNotesConnection!
  • # 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.
  • invoicesByPartnerCompanyRowId(
  • first: Int,
  • last: Int,
  • offset: Int,
  • before: Cursor,
  • after: Cursor,
  • orderBy: [InvoicesOrderBy!],
  • condition: InvoiceCondition
  • ): InvoicesConnection!
  • # Reads and enables pagination through a set of `MoneyTransaction`.
  • #
  • # 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 `MoneyTransaction`.
  • # condition: A condition to be used in determining which values
  • # should be returned by the collection.
  • moneyTransactionsByPartnerCompanyRowId(
  • first: Int,
  • last: Int,
  • offset: Int,
  • before: Cursor,
  • after: Cursor,
  • orderBy: [MoneyTransactionsOrderBy!],
  • condition: MoneyTransactionCondition
  • ): MoneyTransactionsConnection!
  • clientAccountNumber: String
  • # Derives the correct name of the `PartnerCompany`. It does so by always using the
  • # `name` field if present, falling back to the linked `Company.brandNameOrName`.
  • derivedName: String!
  • vendorAccountNumber: String
  • }