OBJECT

RootQueryType

link GraphQL Schema definition

  • type RootQueryType {
  • # Get all cash fund lines
  • #
  • # Arguments
  • # employeeId: [Not documented]
  • # paymentMethod: [Not documented]
  • allCashFundLines(employeeId: ID, paymentMethod: String): [CashFundLine]
  • # Get all categories
  • #
  • # Arguments
  • # hideDeleted: [Not documented]
  • allCategories(hideDeleted: Boolean): [Category]
  • # Get all closings
  • allClosings: [FiscalClosing]
  • # Get all closings with transactions_ids
  • allClosingsWithTransactions: [FiscalClosingWithTransactions]
  • # Get all customers
  • allCustomers: [Customer]
  • # Get all employees
  • #
  • # Arguments
  • # active: [Not documented]
  • # hideDeleted: [Not documented]
  • # pointOfSaleId: [Not documented]
  • allEmployees(active: Boolean, hideDeleted: Boolean, pointOfSaleId: ID): [Employee]
  • # Get all invoices
  • #
  • # Arguments
  • # billingCustomerId: [Not documented]
  • # orderId: [Not documented]
  • # reversedInvoiceId: [Not documented]
  • # status: [Not documented]
  • allInvoices(
  • billingCustomerId: ID,
  • orderId: ID,
  • reversedInvoiceId: ID,
  • status: String
  • ): [Invoice]
  • # Get all orders
  • #
  • # Arguments
  • # customerId: [Not documented]
  • # orderTrackingLines: [Not documented]
  • # orderType: [Not documented]
  • # refundedOrderId: [Not documented]
  • # status: [Not documented]
  • # transactionId: [Not documented]
  • allOrders(
  • customerId: ID,
  • orderTrackingLines: Boolean,
  • orderType: String,
  • refundedOrderId: ID,
  • status: String,
  • transactionId: ID
  • ): [Order]
  • # Get all points of sale
  • #
  • # Arguments
  • # hideDeleted: [Not documented]
  • allPointsOfSale(hideDeleted: Boolean): [PointOfSale]
  • # Get all products
  • #
  • # Arguments
  • # hideDeleted: [Not documented]
  • allProducts(hideDeleted: Boolean): [Product]
  • # Get all transactions
  • #
  • # Arguments
  • # applyCorrections: [Not documented]
  • allTransactions(applyCorrections: Boolean): [FiscalTransaction]
  • # Get closings paginated with cursor per inserted_at asc
  • #
  • # Arguments
  • # after: [Not documented]
  • # first: [Not documented]
  • # updatedAt: [Not documented]
  • closings(after: String, first: Int, updatedAt: DateTime): FiscalClosingWithTransactionsConnection
  • # Get customers paginated with cursor per updated_at asc
  • #
  • # Arguments
  • # after: [Not documented]
  • # first: [Not documented]
  • # hideDeleted: [Not documented]
  • # updatedAt: [Not documented]
  • customers(
  • after: String,
  • first: Int,
  • hideDeleted: Boolean,
  • updatedAt: DateTime
  • ): CustomerConnection
  • # Get list of all loyalty lines
  • getAllLoyaltyLines: [LoyaltyLine]
  • # Get one cash fund line
  • #
  • # Arguments
  • # id: [Not documented]
  • getCashFundLine(id: ID): CashFundLine
  • # Get one closing
  • #
  • # Arguments
  • # id: [Not documented]
  • getClosing(id: ID): FiscalClosing
  • # Get one employee
  • #
  • # Arguments
  • # id: [Not documented]
  • getEmployee(id: ID): Employee
  • # Get the estimated turnover for the current daily period
  • getEstimatedTurnover: Turnover
  • # Get one invoice with optional preload
  • #
  • # Arguments
  • # id: [Not documented]
  • # preload: [Not documented]
  • getInvoice(id: String, preload: [String]): Invoice
  • # Get the last inserted article by a terminal
  • getLastKnownArticle: FiscalArticle
  • # Get the last inserted articles_correction by a terminal
  • getLastKnownArticleCorrection: FiscalArticlesCorrection
  • # Get the last inserted cash fund line by a terminal
  • getLastKnownCashFundLine: CashFundLine
  • # Get the last inserted category
  • getLastKnownCategory: Category
  • # Get the last inserted closing by a terminal
  • getLastKnownClosing: FiscalClosing
  • # Get the last inserted customer
  • getLastKnownCustomer: Customer
  • # Get the last inserted invoice by a terminal
  • getLastKnownInvoice: Invoice
  • # Get the last inserted order by a terminal
  • getLastKnownOrder: Order
  • # Get the last inserted order tracking line by a terminal
  • getLastKnownOrderTrackingLine: OrderTrackingLine
  • # Get the last inserted payment by a terminal
  • getLastKnownPayment: FiscalPayment
  • # Get the last inserted payments_correction by a terminal
  • getLastKnownPaymentCorrection: FiscalPaymentsCorrection
  • # Get the last inserted print by a terminal
  • getLastKnownPrint: FiscalPrint
  • # Get the last inserted product
  • getLastKnownProduct: Product
  • # Get the last inserted transaction by a terminal
  • getLastKnownTransaction: FiscalTransaction
  • # Get the last inserted transactions_correction by a terminal
  • getLastKnownTransactionCorrection: FiscalTransactionsCorrection
  • # Get last line of one customer loyalty lines
  • #
  • # Arguments
  • # customerId: [Not documented]
  • getLoyaltyAmount(customerId: ID): LoyaltyLine
  • # Get list of one customer loyalty lines
  • #
  • # Arguments
  • # customerId: [Not documented]
  • getLoyaltyLines(customerId: ID): [LoyaltyLine]
  • # Get one order
  • #
  • # Arguments
  • # id: [Not documented]
  • getOrder(id: ID): Order
  • # Get list of one order tracking lines
  • #
  • # Arguments
  • # orderId: [Not documented]
  • getOrderTrackingLines(orderId: ID): [OrderTrackingLine]
  • # Get products filtered by a given category
  • #
  • # Arguments
  • # category: [Not documented]
  • getProducts(category: ID): [Product]
  • # Get one quote
  • #
  • # Arguments
  • # id: [Not documented]
  • getQuote(id: ID): Quote
  • # Get one team
  • #
  • # Arguments
  • # token: [Not documented]
  • getTeam(token: String): Team
  • # Get current terminal_info from context
  • getTerminalInfo: TerminalInfo
  • # Get the Z ticket for the closing_id
  • #
  • # Arguments
  • # closingId: [Not documented]
  • getZTicket(closingId: ID): ZTicket
  • # Get loyalties_lines paginated with cursor
  • #
  • # Arguments
  • # after: [Not documented]
  • # first: [Not documented]
  • # insertedAt: Will return loyalties_lines greater than the arg
  • loyaltiesLines(after: String, first: Int, insertedAt: DateTime): LoyaltyLineConnection
  • # Get orders paginated with cursor per updated_at asc
  • #
  • # Arguments
  • # after: [Not documented]
  • # first: [Not documented]
  • # updatedAt: [Not documented]
  • orders(after: String, first: Int, updatedAt: DateTime): OrderConnection
  • # Get products paginated with cursor per updated_at asc
  • #
  • # Arguments
  • # after: [Not documented]
  • # first: [Not documented]
  • # hideDeleted: [Not documented]
  • # updatedAt: [Not documented]
  • products(after: String, first: Int, hideDeleted: Boolean, updatedAt: DateTime): ProductConnection
  • # Get quotes paginated with cursor per updated_at asc
  • #
  • # Arguments
  • # after: [Not documented]
  • # first: [Not documented]
  • # updatedAt: [Not documented]
  • quotes(after: String, first: Int, updatedAt: DateTime): QuoteConnection
  • # Get status of terminal licence
  • terminalLicence: TerminalLicence
  • }

link Require by

This element is not required by anyone