UNPKG

@accounter/server

Version:

42 lines (35 loc) 1.08 kB
import { gql } from 'graphql-modules'; // eslint-disable-next-line import/no-default-export export default gql` extend type Invoice { " missing info suggestions data " missingInfoSuggestions: DocumentSuggestions } extend type Receipt { " missing info suggestions data " missingInfoSuggestions: DocumentSuggestions } extend type InvoiceReceipt { " missing info suggestions data " missingInfoSuggestions: DocumentSuggestions } extend type CreditInvoice { " missing info suggestions data " missingInfoSuggestions: DocumentSuggestions } extend type Proforma { " missing info suggestions data " missingInfoSuggestions: DocumentSuggestions } " represent document suggestions for missing info " type DocumentSuggestions { " The owner of the document " owner: FinancialEntity " The counter-side of the document (opposite to it's owner) " counterparty: FinancialEntity " The document amount " amount: FinancialAmount " The document direction (income or expense) " isIncome: Boolean } `;