Skip to main content

Account

This is the accounts table

type Account implements Node {
id: ID!
name: String!
type: AccountTypeEnum!
default: Boolean!
options: GQLTJson!
createdAt: GQLTDate!
updatedAt: GQLTDate!
userId: ID
invoice(
after: String
first: Int = 0
before: String
last: Int = 0
orderBy: [InvoiceOrderBy] = []
where: GQLTQueryInvoiceWhere
include: [GQLTInvoiceIncludeObject] = []
): InvoiceHasManyInvoiceList
orders(
after: String
first: Int = 0
before: String
last: Int = 0
orderBy: [OrderOrderBy] = []
where: GQLTQueryOrderWhere
include: [GQLTOrderIncludeObject] = []
): OrderHasManyOrdersList
transactions(
after: String
first: Int = 0
before: String
last: Int = 0
orderBy: [TransactionOrderBy] = []
where: GQLTQueryTransactionWhere
include: [GQLTTransactionIncludeObject] = []
): TransactionHasManyTransactionsList
user: User
}

Fields#

id (ID!)#

The ID of an object

name (String!)#

The name of the account

type (AccountTypeEnum!)#

This is the type of account

default (Boolean!)#

options (GQLTJson!)#

The config options of the account

createdAt (GQLTDate!)#

updatedAt (GQLTDate!)#

userId (ID)#

The ID of an object

invoice (InvoiceHasManyInvoiceList)#

If provided it will return results after the provided cursor

If provided the results will be the first ${amount} of records from provided cursor, if a cursor is not provided the results will be the first ${amount} of records.

If provided it will return results before the provided cursor

If provided the results will be the first ${amount} of records from provided cursor, if a cursor is not provided the results will be the last ${amount} of records.

If provided this will sort the results by the supplied column and direction

orders (OrderHasManyOrdersList)#

If provided it will return results after the provided cursor

If provided the results will be the first ${amount} of records from provided cursor, if a cursor is not provided the results will be the first ${amount} of records.

If provided it will return results before the provided cursor

If provided the results will be the first ${amount} of records from provided cursor, if a cursor is not provided the results will be the last ${amount} of records.

If provided this will sort the results by the supplied column and direction

transactions (TransactionHasManyTransactionsList)#

If provided it will return results after the provided cursor

If provided the results will be the first ${amount} of records from provided cursor, if a cursor is not provided the results will be the first ${amount} of records.

If provided it will return results before the provided cursor

If provided the results will be the first ${amount} of records from provided cursor, if a cursor is not provided the results will be the last ${amount} of records.

If provided this will sort the results by the supplied column and direction

user (User)#

Interfaces#

Node#

An object with an ID