UNPKG

@accounter/client

Version:

587 lines • 151 kB
/* eslint-disable */
import * as types from './graphql';
import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';

/**
 * Map of all GraphQL operations in the project.
 *
 * This map has several performance disadvantages:
 * 1. It is not tree-shakeable, so it will include all operations in the project.
 * 2. It is not minifiable, so the string of a GraphQL query will be multiple times inside the bundle.
 * 3. It does not support dead code elimination, so it will add unused operations.
 *
 * Therefore it is highly recommended to use the babel or swc plugin for production.
 */
const documents = {
    "\n  fragment AllChargesRowFields on Charge {\n    id\n    ... on Charge @defer {\n      metadata {\n        transactionsCount\n        documentsCount\n      }\n    }\n    ...AllChargesAccountantApprovalFields\n    ...AllChargesAmountFields\n    ...AllChargesBusinessTripFields\n    ...AllChargesDateFields\n    ...AllChargesDescriptionFields\n    ...AllChargesEntityFields\n    ...AllChargesMoreInfoFields\n    ...AllChargesTagsFields\n    ...AllChargesTaxCategoryFields\n    ...AllChargesTypeFields\n    ...AllChargesVatFields\n  }\n": types.AllChargesRowFieldsFragmentDoc,
    "\n  query ChargeForRow($chargeIDs: [UUID!]!) {\n    chargesByIDs(chargeIDs: $chargeIDs) {\n      id\n      ...AllChargesRowFields\n    }\n  }\n": types.ChargeForRowDocument,
    "\n  fragment AllChargesTableFields on Charge {\n    id\n    ... on Charge @defer {\n      owner {\n        id\n      }\n    }\n    ...AllChargesRowFields\n  }\n": types.AllChargesTableFieldsFragmentDoc,
    "\n  fragment AllChargesAccountantApprovalFields on Charge {\n    id\n    accountantApproval\n  }\n": types.AllChargesAccountantApprovalFieldsFragmentDoc,
    "\n  fragment AllChargesAmountFields on Charge {\n    id\n    totalAmount {\n        raw\n        formatted\n    }\n  }\n": types.AllChargesAmountFieldsFragmentDoc,
    "\n  fragment AllChargesBusinessTripFields on Charge {\n    id\n    businessTrip {\n        name\n        dates {\n            start\n            end\n        }\n    }\n  }\n": types.AllChargesBusinessTripFieldsFragmentDoc,
    "\n  fragment AllChargesEntityFields on Charge {\n    __typename\n    id\n    counterparty {\n      name\n      id\n    }\n    validationData {\n      missingInfo\n    }\n  }\n": types.AllChargesEntityFieldsFragmentDoc,
    "\n  fragment AllChargesDateFields on Charge {\n    id\n    minEventDate\n    minDebitDate\n    minDocumentsDate\n  }\n": types.AllChargesDateFieldsFragmentDoc,
    "\n  fragment AllChargesDescriptionFields on Charge {\n    id\n    userDescription\n    validationData {\n      missingInfo\n    }\n    missingInfoSuggestions {\n      description\n    }\n  }\n": types.AllChargesDescriptionFieldsFragmentDoc,
    "\n  fragment AllChargesMoreInfoFields on Charge {\n    id\n    ... on Charge @defer {\n      metadata {\n        transactionsCount\n        documentsCount\n        isSalary\n      }\n      validationData {\n        missingInfo\n      }\n    }\n    ...AllChargesMoreLedgerInfoFields\n  }\n": types.AllChargesMoreInfoFieldsFragmentDoc,
    "\n  fragment AllChargesMoreLedgerInfoFields on Charge {\n    id\n    ... on Charge @defer {\n      ledger {\n        __typename\n        records {\n          id\n        }\n        balance {\n          isBalanced\n        }\n        ... on Ledger @defer {\n          validate {\n            ... on LedgerValidation @defer {\n              isValid\n              differences {\n                id\n              }\n            }\n          }\n        }\n      }\n    }\n  }\n": types.AllChargesMoreLedgerInfoFieldsFragmentDoc,
    "\n  fragment AllChargesTagsFields on Charge {\n    __typename\n    id\n    ... on Charge @defer {\n      tags {\n        name\n      }\n      validationData {\n        missingInfo\n      }\n      missingInfoSuggestions {\n        tags {\n          name\n        }\n      }\n    }\n  }\n": types.AllChargesTagsFieldsFragmentDoc,
    "\n  fragment AllChargesTaxCategoryFields on Charge {\n    __typename\n    id\n    ... on Charge @defer {\n      taxCategory {\n          id\n          name\n      }\n      validationData {\n        missingInfo\n      }\n    }\n  }\n": types.AllChargesTaxCategoryFieldsFragmentDoc,
    "\n  fragment AllChargesTypeFields on Charge {\n    __typename\n    id\n  }\n": types.AllChargesTypeFieldsFragmentDoc,
    "\n  fragment AllChargesVatFields on Charge {\n    __typename\n    id\n    ... on Charge @defer {\n      vat {\n        raw\n        formatted\n      }\n      totalAmount {\n        raw\n        currency\n      }\n      validationData {\n        missingInfo\n      }\n    }\n  }\n": types.AllChargesVatFieldsFragmentDoc,
    "\n  query FetchCharge($chargeIDs: [UUID!]!) {\n    chargesByIDs(chargeIDs: $chargeIDs) {\n      __typename\n      id\n      ... on Charge @defer {\n        ledger {\n          records {\n            id\n          }\n          balance {\n            isBalanced\n          }\n        }\n      }\n      metadata {\n        transactionsCount\n        documentsCount\n      }\n      tags {\n        name\n      }\n      ...DocumentsGalleryFields\n      ...TableDocumentsFields\n      ...TableLedgerRecordsFields\n      ...TableTransactionsFields\n      ... on ConversionCharge {\n        ...ConversionChargeInfo\n      }\n      ... on SalaryCharge {\n        ...TableSalariesFields\n      }\n    }\n  }\n": types.FetchChargeDocument,
    "\n  fragment DocumentsTableAmountFields on Document {\n    id\n    ... on Invoice {\n      amount {\n        raw\n        formatted\n        currency\n      }\n      missingInfoSuggestions {\n        amount {\n          raw\n          formatted\n          currency\n        }\n      }\n    }\n    ... on InvoiceReceipt {\n      amount {\n        raw\n        formatted\n        currency\n      }\n      missingInfoSuggestions {\n        amount {\n          raw\n          formatted\n          currency\n        }\n      }\n    }\n    ... on Proforma {\n      amount {\n        raw\n        formatted\n        currency\n      }\n      missingInfoSuggestions {\n        amount {\n          raw\n          formatted\n          currency\n        }\n      }\n    }\n    ... on Receipt {\n      amount {\n        raw\n        formatted\n        currency\n      }\n      missingInfoSuggestions {\n        amount {\n          raw\n          formatted\n          currency\n        }\n      }\n    }\n    ... on CreditInvoice {\n      amount {\n        raw\n        formatted\n        currency\n      }\n      missingInfoSuggestions {\n        amount {\n          raw\n          formatted\n          currency\n        }\n      }\n    }\n  }\n": types.DocumentsTableAmountFieldsFragmentDoc,
    "\n  fragment DocumentsTableCreditorFields on Document {\n    id\n    documentType\n    ... on Invoice {\n      creditor {\n        id\n        name\n      }\n      debtor {\n        id\n      }\n      missingInfoSuggestions {\n        isIncome\n        counterparty {\n          id\n          name\n        }\n        owner {\n          id\n          name\n        }\n      }\n    }\n    ... on InvoiceReceipt {\n      creditor {\n        id\n        name\n      }\n      debtor {\n        id\n      }\n      missingInfoSuggestions {\n        isIncome\n        counterparty {\n          id\n          name\n        }\n        owner {\n          id\n          name\n        }\n      }\n    }\n    ... on CreditInvoice {\n      creditor {\n        id\n        name\n      }\n      debtor {\n        id\n      }\n      missingInfoSuggestions {\n        isIncome\n        counterparty {\n          id\n          name\n        }\n        owner {\n          id\n          name\n        }\n      }\n    }\n    ... on Proforma {\n      creditor {\n        id\n        name\n      }\n      debtor {\n        id\n      }\n      missingInfoSuggestions {\n        isIncome\n        counterparty {\n          id\n          name\n        }\n        owner {\n          id\n          name\n        }\n      }\n    }\n    ... on Receipt {\n      creditor {\n        id\n        name\n      }\n      debtor {\n        id\n      }\n      missingInfoSuggestions {\n        isIncome\n        counterparty {\n          id\n          name\n        }\n        owner {\n          id\n          name\n        }\n      }\n    }\n  }\n": types.DocumentsTableCreditorFieldsFragmentDoc,
    "\n  fragment DocumentsDateFields on Document {\n    id\n    ... on Invoice {\n      date\n    }\n    ... on InvoiceReceipt {\n      date\n    }\n    ... on CreditInvoice {\n      date\n    }\n    ... on Proforma {\n      date\n    }\n    ... on Receipt {\n      date\n    }\n  }\n": types.DocumentsDateFieldsFragmentDoc,
    "\n  fragment DocumentsTableDebtorFields on Document {\n    id\n    documentType\n    ... on Invoice {\n      creditor {\n        id\n      }\n      debtor {\n        id\n        name\n      }\n      missingInfoSuggestions {\n        isIncome\n        counterparty {\n          id\n          name\n        }\n        owner {\n          id\n          name\n        }\n      }\n    }\n    ... on InvoiceReceipt {\n      creditor {\n        id\n      }\n      debtor {\n        id\n        name\n      }\n      missingInfoSuggestions {\n        isIncome\n        counterparty {\n          id\n          name\n        }\n        owner {\n          id\n          name\n        }\n      }\n    }\n    ... on CreditInvoice {\n      creditor {\n        id\n      }\n      debtor {\n        id\n        name\n      }\n      missingInfoSuggestions {\n        isIncome\n        counterparty {\n          id\n          name\n        }\n        owner {\n          id\n          name\n        }\n      }\n\n    }\n    ... on Proforma {\n      creditor {\n        id\n      }\n      debtor {\n        id\n        name\n      }\n      missingInfoSuggestions {\n        isIncome\n        counterparty {\n          id\n          name\n        }\n        owner {\n          id\n          name\n        }\n      }\n    }\n    ... on Receipt {\n      creditor {\n        id\n      }\n      debtor {\n        id\n        name\n      }\n      missingInfoSuggestions {\n        isIncome\n        counterparty {\n          id\n          name\n        }\n        owner {\n          id\n          name\n        }\n      }\n    }\n  }\n": types.DocumentsTableDebtorFieldsFragmentDoc,
    "\n  fragment DocumentFilesFields on Document {\n    id\n    image\n    file\n  }\n": types.DocumentFilesFieldsFragmentDoc,
    "\n  fragment DocumentSerialFields on Document {\n    id\n    ... on Invoice {\n      serialNumber\n    }\n    ... on InvoiceReceipt {\n      serialNumber\n    }\n    ... on CreditInvoice {\n      serialNumber\n    }\n    ... on Proforma {\n      serialNumber\n    }\n    ... on Receipt {\n      serialNumber\n    }\n  }\n": types.DocumentSerialFieldsFragmentDoc,
    "\n  fragment DocumentTypeFields on Document {\n    id\n    documentType\n  }\n": types.DocumentTypeFieldsFragmentDoc,
    "\n  fragment DocumentsTableVatFields on Document {\n    id\n    ... on Invoice {\n      vat {\n        raw\n        formatted\n        currency\n      }\n    }\n    ... on InvoiceReceipt {\n      vat {\n        raw\n        formatted\n        currency\n      }\n    }\n    ... on CreditInvoice {\n      vat {\n        raw\n        formatted\n        currency\n      }\n    }\n    ... on Proforma {\n      vat {\n        raw\n        formatted\n        currency\n      }\n    }\n    ... on Receipt {\n      vat {\n        raw\n        formatted\n        currency\n      }\n    }\n  }\n": types.DocumentsTableVatFieldsFragmentDoc,
    "\n  fragment DocumentsGalleryFields on Charge {\n    id\n    ... on Charge @defer {\n      additionalDocuments {\n        id\n        image\n        ... on Invoice {\n          documentType\n        }\n        ... on Proforma {\n          documentType\n        }\n        ... on Receipt {\n          documentType\n        }\n        ... on InvoiceReceipt {\n          documentType\n        }\n        ... on CreditInvoice {\n          documentType\n        }\n      }\n    }\n  }\n": types.DocumentsGalleryFieldsFragmentDoc,
    "\n  fragment TableDocumentsRowFields on Document {\n    id\n    ...DocumentsTableAmountFields\n    ...DocumentsDateFields\n    ...DocumentsTableVatFields\n    ...DocumentTypeFields\n    ...DocumentSerialFields\n    ...DocumentsTableCreditorFields\n    ...DocumentsTableDebtorFields\n    ...DocumentFilesFields\n  }\n": types.TableDocumentsRowFieldsFragmentDoc,
    "\n  query DocumentTableRow($documentId: UUID!) {\n    documentById(documentId: $documentId) {\n      id\n      ...TableDocumentsRowFields\n    }\n  }\n": types.DocumentTableRowDocument,
    "\n  fragment TableDocumentsFields on Charge {\n    id\n    ... on Charge @defer {\n      additionalDocuments {\n        id\n        ...TableDocumentsRowFields\n      }\n    }\n  }\n": types.TableDocumentsFieldsFragmentDoc,
    "\n  fragment ConversionChargeInfo on ConversionCharge {\n    id\n    ... on ConversionCharge @defer {\n      eventRate {\n        from\n        to\n        rate\n      }\n      officialRate {\n        from\n        to\n        rate\n      }\n    }\n  }\n": types.ConversionChargeInfoFragmentDoc,
    "\n  fragment TableSalariesFields on SalaryCharge {\n    id\n    ... on SalaryCharge @defer {\n      salaryRecords {\n        directAmount {\n          formatted\n        }\n        baseAmount {\n          formatted\n        }\n        employee {\n          name\n        }\n        pensionFund {\n          id\n          name\n        }\n        pensionEmployeeAmount {\n          formatted\n        }\n        pensionEmployerAmount {\n          formatted\n        }\n        compensationsAmount {\n          formatted\n        }\n        trainingFund {\n          id\n          name\n        }\n        trainingFundEmployeeAmount {\n          formatted\n        }\n        trainingFundEmployerAmount {\n          formatted\n        }\n        socialSecurityEmployeeAmount {\n          formatted\n        }\n        socialSecurityEmployerAmount {\n          formatted\n        }\n        incomeTaxAmount {\n          formatted\n        }\n        healthInsuranceAmount {\n          formatted\n        }\n      }\n    }\n  }\n": types.TableSalariesFieldsFragmentDoc,
    "\n  query AllCharges($page: Int, $limit: Int, $filters: ChargeFilter) {\n    allCharges(page: $page, limit: $limit, filters: $filters) {\n      nodes {\n        id\n        ...AllChargesTableFields\n      }\n      pageInfo {\n        totalPages\n      }\n    }\n  }\n": types.AllChargesDocument,
    "\n  fragment LedgerRecordsAccountDetailsFields on LedgerRecord {\n    id\n    creditAccount1 {\n      __typename\n      id\n      name\n    }\n    creditAccount2 {\n      __typename\n      id\n      name\n    }\n    debitAccount1 {\n      __typename\n      id\n      name\n    }\n    debitAccount2 {\n      __typename\n      id\n      name\n    }\n    creditAmount1 {\n      formatted\n      currency\n    }\n    creditAmount2 {\n      formatted\n      currency\n    }\n    debitAmount1 {\n      formatted\n      currency\n    }\n    debitAmount2 {\n      formatted\n      currency\n    }\n    localCurrencyCreditAmount1 {\n      formatted\n    }\n    localCurrencyCreditAmount2 {\n      formatted\n    }\n    localCurrencyDebitAmount1 {\n      formatted\n    }\n    localCurrencyDebitAmount2 {\n      formatted\n    }\n  }\n": types.LedgerRecordsAccountDetailsFieldsFragmentDoc,
    "\n  fragment LedgerRecordsGeneralDateFields on LedgerRecord {\n    id\n    invoiceDate\n    valueDate\n  }\n": types.LedgerRecordsGeneralDateFieldsFragmentDoc,
    "\n  fragment TableLedgerRecordsRowFields on LedgerRecord {\n    id\n    ...LedgerRecordsAccountDetailsFields\n    ...LedgerRecordsGeneralDateFields\n    description\n    reference1\n  }\n": types.TableLedgerRecordsRowFieldsFragmentDoc,
    "\n  fragment TableLedgerRecordsFields on Charge {\n    id\n    ... on Charge @defer {\n      ledger {\n        __typename\n        records {\n          id\n          ...TableLedgerRecordsRowFields\n        }\n        ... on Ledger @defer {\n          validate {\n            ... on LedgerValidation @defer {\n              matches\n              differences {\n                id\n                ...TableLedgerRecordsRowFields\n              }\n            }\n          }\n        }\n      }\n    }\n  }\n": types.TableLedgerRecordsFieldsFragmentDoc,
    "\n  fragment TransactionsTableAccountFields on Transaction {\n    id\n    account {\n        id\n        __typename\n        name\n        type\n    }\n  }\n": types.TransactionsTableAccountFieldsFragmentDoc,
    "\n  fragment TransactionsTableAmountFields on Transaction {\n    id\n    amount {\n      raw\n      formatted\n    }\n    cryptoExchangeRate {\n      rate\n    }\n  }\n": types.TransactionsTableAmountFieldsFragmentDoc,
    "\n  fragment TransactionsTableEntityFields on Transaction {\n    id\n    counterparty {\n      name\n      id\n    }\n    missingInfoSuggestions {\n      business {\n        id\n        name\n      }\n    }\n  }\n": types.TransactionsTableEntityFieldsFragmentDoc,
    "\n  fragment TransactionsTableDebitDateFields on Transaction {\n    id\n    effectiveDate\n  }\n": types.TransactionsTableDebitDateFieldsFragmentDoc,
    "\n  fragment TransactionsTableDescriptionFields on Transaction {\n    id\n    sourceDescription\n  }\n": types.TransactionsTableDescriptionFieldsFragmentDoc,
    "\n  fragment TransactionsTableEventDateFields on Transaction {\n    id\n    eventDate\n  }\n": types.TransactionsTableEventDateFieldsFragmentDoc,
    "\n  fragment TransactionsTableSourceIDFields on Transaction {\n    id\n    referenceKey\n  }\n": types.TransactionsTableSourceIdFieldsFragmentDoc,
    "\n  fragment TableTransactionsFields on Charge {\n    id\n    ... on Charge @defer {\n      transactions {\n        id\n        ...TransactionsTableEventDateFields\n        ...TransactionsTableDebitDateFields\n        ...TransactionsTableAmountFields\n        ...TransactionsTableAccountFields\n        ...TransactionsTableDescriptionFields\n        ...TransactionsTableSourceIDFields\n        ...TransactionsTableEntityFields\n      }\n    }\n  }\n": types.TableTransactionsFieldsFragmentDoc,
    "\n  query BusinessTransactionsInfo($filters: BusinessTransactionsFilter) {\n    businessTransactionsFromLedgerRecords(filters: $filters) {\n      ... on BusinessTransactionsFromLedgerRecordsSuccessfulResult {\n        businessTransactions {\n          amount {\n            formatted\n            raw\n          }\n          business {\n            id\n            name\n          }\n          eurAmount {\n            formatted\n            raw\n          }\n          gbpAmount {\n            formatted\n            raw\n          }\n          usdAmount {\n            formatted\n            raw\n          }\n          invoiceDate\n          reference1\n          reference2\n          details\n          counterAccount {\n            __typename\n            id\n            name\n          }\n        }\n      }\n      ... on CommonError {\n        __typename\n        message\n      }\n    }\n  }\n": types.BusinessTransactionsInfoDocument,
    "\n  query BusinessTransactionsSummery($filters: BusinessTransactionsFilter) {\n    businessTransactionsSumFromLedgerRecords(filters: $filters) {\n      ... on BusinessTransactionsSumFromLedgerRecordsSuccessfulResult {\n        businessTransactionsSum {\n          business {\n            id\n            name\n          }\n          credit {\n            formatted\n          }\n          debit {\n            formatted\n          }\n          total {\n            formatted\n            raw\n          }\n          eurSum {\n            credit {\n              formatted\n            }\n            debit {\n              formatted\n            }\n            total {\n              formatted\n              raw\n            }\n          }\n          gbpSum {\n            credit {\n              formatted\n            }\n            debit {\n              formatted\n            }\n            total {\n              formatted\n              raw\n            }\n          }\n          usdSum {\n            credit {\n              formatted\n            }\n            debit {\n              formatted\n            }\n            total {\n              formatted\n              raw\n            }\n          }\n        }\n      }\n      ... on CommonError {\n        __typename\n        message\n      }\n    }\n  }\n": types.BusinessTransactionsSummeryDocument,
    "\n  fragment AllBusinessesRowFields on LtdFinancialEntity {\n    id\n    ...AllBusinessesNameFields\n    ...AllBusinessesHebrewNameFields\n  }\n": types.AllBusinessesRowFieldsFragmentDoc,
    "\n  fragment AllBusinessesHebrewNameFields on LtdFinancialEntity {\n    id\n    hebrewName\n  }\n": types.AllBusinessesHebrewNameFieldsFragmentDoc,
    "\n  fragment AllBusinessesNameFields on LtdFinancialEntity {\n    id\n    name\n  }\n": types.AllBusinessesNameFieldsFragmentDoc,
    "\n  query AllBusinessesForScreen($page: Int, $limit: Int) {\n    allBusinesses(page: $page, limit: $limit) {\n      nodes {\n        __typename\n        id\n        name\n        ... on LtdFinancialEntity {\n            ...AllBusinessesRowFields\n        }\n\n      }\n      pageInfo {\n        totalPages\n      }\n    }\n  }\n": types.AllBusinessesForScreenDocument,
    "\nquery IncomeChargesChart($filters: ChargeFilter) {\n    allCharges(filters: $filters) {\n      nodes {\n        id\n        transactions {\n          id\n          eventDate\n          effectiveDate\n          amount {\n            currency\n            formatted\n            raw\n          }\n          eventExchangeRates {\n            eur {\n              currency\n              formatted\n              raw\n            }\n            gbp {\n              currency\n              formatted\n              raw\n            }\n            usd {\n              currency\n              formatted\n              raw\n            }\n            date\n          }\n          debitExchangeRates {\n            eur {\n              currency\n              formatted\n              raw\n            }\n            gbp {\n              currency\n              formatted\n              raw\n            }\n            usd {\n              currency\n              formatted\n              raw\n            }\n            date\n          }\n        }\n      }\n    }\n  }\n": types.IncomeChargesChartDocument,
    "\n  query DocumentsToChargeMatcher($chargeIds: [UUID!]!, $filters: DocumentsFilters!) {\n    documentsByFilters(filters: $filters) {\n      id\n      ...DocumentsToMatchFields\n    }\n    chargesByIDs(chargeIDs: $chargeIds) {\n      id\n      transactions {\n        id\n        eventDate\n      }\n      totalAmount {\n        raw\n      }\n      ...ChargeToMatchDocumentsFields\n    }\n  }\n": types.DocumentsToChargeMatcherDocument,
    "\n  fragment ChargeToMatchDocumentsFields on Charge {\n    id\n    totalAmount {\n      raw\n      formatted\n      currency\n    }\n    counterparty {\n      id\n      name\n    }\n    transactions {\n      id\n      eventDate\n      sourceDescription\n    }\n  }\n": types.ChargeToMatchDocumentsFieldsFragmentDoc,
    "\n  fragment DocumentsToMatchFields on Document {\n    id\n    __typename\n    charge {\n      id\n    }\n    image\n    file\n    documentType\n    creditor {\n      id\n      name\n    }\n    ... on Proforma {\n      serialNumber\n      date\n      amount {\n        raw\n        formatted\n        currency\n      }\n    }\n    ... on InvoiceReceipt {\n      serialNumber\n      date\n      amount {\n        raw\n        formatted\n        currency\n      }\n    }\n    ... on CreditInvoice {\n      serialNumber\n      date\n      amount {\n        raw\n        formatted\n        currency\n      }\n    }\n    ... on Invoice {\n      serialNumber\n      date\n      amount {\n        raw\n        formatted\n        currency\n      }\n    }\n    ... on Receipt {\n      serialNumber\n      date\n      amount {\n        raw\n        formatted\n        currency\n      }\n    }\n  }\n": types.DocumentsToMatchFieldsFragmentDoc,
    "\n  query FetchBusiness($id: UUID!) {\n    business(id: $id) {\n      __typename\n      id\n      ... on LtdFinancialEntity {\n        address\n        email\n        governmentId\n        hebrewName\n        name\n        phoneNumber\n        sortCode {\n            id\n            name\n        }\n        taxCategory {\n          id\n          name\n        }\n        website\n      }\n    }\n  }\n": types.FetchBusinessDocument,
    "\n  query EditDocument($documentId: UUID!) {\n    documentById(documentId: $documentId) {\n      id\n      image\n      file\n      documentType\n      __typename\n      ... on Invoice {\n        vat {\n          raw\n          currency\n        }\n        serialNumber\n        date\n        amount {\n          raw\n          currency\n        }\n        debtor {\n          id\n          name\n        }\n        creditor {\n          id\n          name\n        }\n      }\n      ... on Proforma {\n        vat {\n          raw\n          currency\n        }\n        serialNumber\n        date\n        amount {\n          raw\n          currency\n        }\n        debtor {\n          id\n          name\n        }\n        creditor {\n          id\n          name\n        }\n      }\n      ... on Receipt {\n        vat {\n          raw\n          currency\n        }\n        serialNumber\n        date\n        amount {\n          raw\n          currency\n        }\n        debtor {\n          id\n          name\n        }\n        creditor {\n          id\n          name\n        }\n      }\n      ... on InvoiceReceipt {\n        vat {\n          raw\n          currency\n        }\n        serialNumber\n        date\n        amount {\n          raw\n          currency\n        }\n        debtor {\n          id\n          name\n        }\n        creditor {\n          id\n          name\n        }\n      }\n      ... on CreditInvoice {\n        vat {\n          raw\n          currency\n        }\n        serialNumber\n        date\n        amount {\n          raw\n          currency\n        }\n        debtor {\n          id\n          name\n        }\n        creditor {\n          id\n          name\n        }\n      }\n    }\n  }\n": types.EditDocumentDocument,
    "\n  query EditTransaction($transactionIDs: [UUID!]!) {\n    transactionsByIDs(transactionIDs: $transactionIDs) {\n      id\n      account {\n        id\n        ... on CardFinancialAccount {\n          __typename\n          fourDigits\n          number\n        }\n        ... on BankFinancialAccount {\n          __typename\n          name\n          accountNumber\n        }\n      }\n      sourceDescription\n      amount {\n        raw\n        currency\n      }\n      counterparty {\n        id\n        name\n      }\n      balance {\n        raw\n        currency\n      }\n      eventDate\n      effectiveDate\n      isFee\n    }\n  }\n": types.EditTransactionDocument,
    "\n  mutation UploadDocument($file: FileScalar!, $chargeId: UUID) {\n    uploadDocument(file: $file, chargeId: $chargeId) {\n      __typename\n      ... on UploadDocumentSuccessfulResult {\n        document {\n          id\n        }\n      }\n      ... on CommonError {\n        message\n      }\n    }\n  }\n": types.UploadDocumentDocument,
    "\n  query AllBusinessTrips {\n    allBusinessTrips {\n      id\n      name\n    }\n  }\n": types.AllBusinessTripsDocument,
    "\n  query AllBusinesses {\n    allBusinesses {\n      nodes {\n        id\n        name\n      }\n    }\n  }\n": types.AllBusinessesDocument,
    "\n  query AllEmployeesByEmployer($employerId: UUID!) {\n    employeesByEmployerId(employerId: $employerId) {\n      id\n      name\n    }\n  }\n": types.AllEmployeesByEmployerDocument,
    "\n  query AllFinancialAccounts {\n    allFinancialAccounts {\n        __typename\n      id\n      ... on BankFinancialAccount {\n        name\n      }\n      ... on CardFinancialAccount {\n        name\n      }\n      ... on CryptoWalletFinancialAccount {\n        name\n      }\n    }\n  }\n": types.AllFinancialAccountsDocument,
    "\n  query AllFinancialEntities {\n    allFinancialEntities {\n      nodes {\n        id\n        name\n      }\n    }\n  }\n": types.AllFinancialEntitiesDocument,
    "\n  query AllPensionFunds {\n    allPensionFunds {\n      id\n      name\n    }\n  }\n": types.AllPensionFundsDocument,
    "\n  query AllSortCodes {\n    allSortCodes {\n      id\n      name\n    }\n  }\n": types.AllSortCodesDocument,
    "\n  query AllTaxCategories {\n    taxCategories {\n      id\n      name\n    }\n  }\n": types.AllTaxCategoriesDocument,
    "\n  query AllTrainingFunds {\n    allTrainingFunds {\n      id\n      name\n    }\n  }\n": types.AllTrainingFundsDocument,
    "\n  query FetchMultipleCharges($chargeIds: [UUID!]!) {\n    chargesByIDs(chargeIDs: $chargeIds) {\n      id\n      metadata {\n        transactionsCount\n        invoicesCount\n      }\n      owner {\n        id\n        name\n      }\n      tags {\n        name\n      }\n      conversion\n      property\n      userDescription\n    }\n  }\n": types.FetchMultipleChargesDocument,
    "\n  query EditCharge($chargeIDs: [UUID!]!) {\n    chargesByIDs(chargeIDs: $chargeIDs) {\n      id\n      counterparty {\n        id\n        name\n      }\n      owner {\n        id\n        name\n      }\n      property\n      conversion\n      userDescription\n      taxCategory {\n        id\n        name\n      }\n      tags {\n        name\n      }\n      businessTrip {\n        id\n        name\n      }\n      yearOfRelevance\n    }\n  }\n": types.EditChargeDocument,
    "\n  query EditSalaryRecord($month: TimelessDate!, $employeeIDs: [UUID!]!) {\n    salaryRecordsByDates(fromDate: $month, toDate: $month, employeeIDs: $employeeIDs) {\n      month\n      charge {\n        id\n      }\n      directAmount {\n        raw\n      }\n      baseAmount {\n        raw\n      }\n      employee {\n        id\n        name\n      }\n      employer {\n        id\n        name\n      }\n      pensionFund {\n        id\n        name\n      }\n      pensionEmployeeAmount {\n        raw\n      }\n      pensionEmployeePercentage\n      pensionEmployerAmount {\n        raw\n      }\n      pensionEmployerPercentage\n      compensationsAmount {\n        raw\n      }\n      compensationsPercentage\n      trainingFund {\n        id\n        name\n      }\n      trainingFundEmployeeAmount {\n        raw\n      }\n      trainingFundEmployeePercentage\n      trainingFundEmployerAmount {\n        raw\n      }\n      trainingFundEmployerPercentage\n      socialSecurityEmployeeAmount {\n        raw\n      }\n      socialSecurityEmployerAmount {\n        raw\n      }\n      incomeTaxAmount {\n        raw\n      }\n      healthInsuranceAmount {\n        raw\n      }\n      globalAdditionalHoursAmount {\n        raw\n      }\n      bonus {\n        raw\n      }\n      gift {\n        raw\n      }\n      recovery {\n        raw\n      }\n      notionalExpense {\n        raw\n      }\n      vacationDays {\n        added\n        balance\n      }\n      vacationTakeout {\n        raw\n      }\n      workDays\n      sicknessDays {\n        balance\n      }\n    }\n  }\n": types.EditSalaryRecordDocument,
    "\n  query Documents {\n    documents {\n      id\n      image\n      file\n      creditor {\n        id\n        name\n      }\n      debtor {\n        id\n        name\n      }\n      charge {\n        id\n        userDescription\n        __typename\n        tags {\n          name\n        }\n        vat {\n          formatted\n          __typename\n        }\n        transactions {\n          id\n          eventDate\n          sourceDescription\n          effectiveDate\n          amount {\n            formatted\n            __typename\n          }\n        }\n      }\n      __typename\n      ... on Unprocessed {\n        id\n        image\n        file\n        creditor {\n          id\n          name\n        }\n        debtor {\n          id\n          name\n        }\n      }\n      ... on Proforma {\n        id\n        image\n        file\n        creditor {\n          id\n          name\n        }\n        debtor {\n          id\n          name\n        }\n        vat {\n          raw\n          formatted\n          currency\n        }\n        serialNumber\n        date\n        amount {\n          raw\n          formatted\n          currency\n        }\n      }\n      ... on Receipt {\n        id\n        image\n        file\n        creditor {\n          id\n          name\n        }\n        debtor {\n          id\n          name\n        }\n        vat {\n          raw\n          formatted\n          currency\n        }\n        serialNumber\n        date\n      }\n      ... on Invoice {\n        id\n        image\n        file\n        creditor {\n          id\n          name\n        }\n        debtor {\n          id\n          name\n        }\n        vat {\n          raw\n          formatted\n          currency\n        }\n        serialNumber\n        date\n        amount {\n          raw\n          formatted\n          currency\n        }\n      }\n      ... on InvoiceReceipt {\n        id\n        image\n        file\n        creditor {\n          id\n          name\n        }\n        debtor {\n          id\n          name\n        }\n        vat {\n          raw\n          formatted\n          currency\n        }\n        serialNumber\n        date\n        amount {\n          raw\n          formatted\n          currency\n        }\n      }\n      ... on CreditInvoice {\n        id\n        image\n        file\n        creditor {\n          id\n          name\n        }\n        debtor {\n          id\n          name\n        }\n        vat {\n          raw\n          formatted\n          currency\n        }\n        serialNumber\n        date\n        amount {\n          raw\n          formatted\n          currency\n        }\n      }\n    }\n  }\n": types.DocumentsDocument,
    "\n  query TrialBalanceReport($filters: BusinessTransactionsFilter) {\n    businessTransactionsSumFromLedgerRecords(filters: $filters) {\n      ... on BusinessTransactionsSumFromLedgerRecordsSuccessfulResult {\n        businessTransactionsSum {\n          business {\n            id\n            name\n            sortCode {\n              id\n              name\n            }\n          }\n          credit {\n            formatted\n            raw\n          }\n          debit {\n            formatted\n            raw\n          }\n          total {\n            formatted\n            raw\n          }\n          eurSum {\n            credit {\n              formatted\n            }\n            debit {\n              formatted\n            }\n            total {\n              formatted\n              raw\n            }\n          }\n          gbpSum {\n            credit {\n              formatted\n            }\n            debit {\n              formatted\n            }\n            total {\n              formatted\n              raw\n            }\n          }\n          usdSum {\n            credit {\n              formatted\n              raw\n            }\n            debit {\n              formatted\n              raw\n            }\n            total {\n              formatted\n              raw\n            }\n          }\n        }\n      }\n      ... on CommonError {\n        __typename\n        message\n      }\n    }\n  }\n": types.TrialBalanceReportDocument,
    "\n  fragment VatReportBusinessTripsFields on VatReportResult {\n    businessTrips {\n      id\n      ...AllChargesTableFields\n    }\n  }\n": types.VatReportBusinessTripsFieldsFragmentDoc,
    "\n  fragment VatReportAccountantApprovalFields on VatReportRecord {\n    chargeId\n    chargeAccountantReviewed\n  }": types.VatReportAccountantApprovalFieldsFragmentDoc,
    "\n  fragment VatReportExpensesRowFields on VatReportRecord {\n    ...VatReportAccountantApprovalFields\n    business {\n      id\n      name\n    }\n    vatNumber\n    image\n    documentSerial\n    documentDate\n    chargeDate\n    chargeId\n    # chargeAccountantReviewed\n    amount {\n      formatted\n    }\n    localAmount {\n      formatted\n    }\n    vat {\n      formatted\n    }\n    vatAfterDeduction {\n      formatted\n    }\n    localVatAfterDeduction {\n      formatted\n    }\n    roundedLocalVatAfterDeduction {\n      formatted\n    #   raw\n    }\n    taxReducedLocalAmount {\n      formatted\n    #   raw\n    }\n  }": types.VatReportExpensesRowFieldsFragmentDoc,
    "\n  fragment VatReportExpensesFields on VatReportResult {\n    expenses {\n        ...VatReportExpensesRowFields\n        roundedLocalVatAfterDeduction {\n          raw\n        }\n        taxReducedLocalAmount {\n          raw\n        }\n      }\n}\n": types.VatReportExpensesFieldsFragmentDoc,
    "\n  fragment VatReportIncomeRowFields on VatReportRecord {\n    ...VatReportAccountantApprovalFields\n    chargeId\n    business {\n      id\n      name\n    }\n    vatNumber\n    image\n    documentSerial\n    documentDate\n    chargeDate\n    amount {\n      formatted\n    }\n    taxReducedLocalAmount {\n      formatted\n    }\n  }": types.VatReportIncomeRowFieldsFragmentDoc,
    "\n  fragment VatReportIncomeFields on VatReportResult {\n    income {\n      ...VatReportIncomeRowFields\n      taxReducedLocalAmount {\n        raw\n      }\n    }\n}\n": types.VatReportIncomeFieldsFragmentDoc,
    "\n  query VatMonthlyReport($filters: VatReportFilter) {\n    vatReport(filters: $filters) {\n      ...VatReportIncomeFields\n      ...VatReportExpensesFields\n      ...VatReportMissingInfoFields\n      ...VatReportMiscTableFields\n      ...VatReportBusinessTripsFields\n    }\n  }\n": types.VatMonthlyReportDocument,
    "\n  fragment VatReportMiscTableFields on VatReportResult {\n    differentMonthDoc {\n      id\n      ...AllChargesTableFields\n    }\n  }\n": types.VatReportMiscTableFieldsFragmentDoc,
    "\n  fragment VatReportMissingInfoFields on VatReportResult {\n    missingInfo {\n      id\n      ...AllChargesTableFields\n    }\n  }\n": types.VatReportMissingInfoFieldsFragmentDoc,
    "\n  query GeneratePCN($fromDate: TimelessDate!, $toDate: TimelessDate!, $financialEntityId: UUID!) {\n    pcnFile(\n        fromDate: $fromDate,\n        toDate: $toDate,\n        financialEntityId: $financialEntityId\n    ) {\n        reportContent\n        fileName\n    }\n  }\n": types.GeneratePcnDocument,
    "\n  query SalaryScreenRecords($fromDate: TimelessDate!, $toDate: TimelessDate!, $employeeIDs: [UUID!]) {\n    salaryRecordsByDates(fromDate: $fromDate, toDate: $toDate, employeeIDs: $employeeIDs) {\n        month\n        employee {\n            id\n        }\n        ...SalariesTableFields\n    }\n  }\n": types.SalaryScreenRecordsDocument,
    "\n  fragment SalariesRecordEmployeeFields on Salary {\n    month\n    employee {\n      id\n      name\n    }\n  }\n": types.SalariesRecordEmployeeFieldsFragmentDoc,
    "\n  fragment SalariesRecordFundsFields on Salary {\n    month\n    employee {\n      id\n    }\n    pensionFund {\n      id\n      name\n    }\n    pensionEmployeeAmount {\n      formatted\n      raw\n    }\n    pensionEmployeePercentage\n    pensionEmployerAmount {\n      formatted\n      raw\n    }\n    pensionEmployerPercentage\n    compensationsAmount {\n      formatted\n      raw\n    }\n    compensationsPercentage\n    trainingFund {\n      id\n      name\n    }\n    trainingFundEmployeeAmount {\n      formatted\n      raw\n    }\n    trainingFundEmployeePercentage\n    trainingFundEmployerAmount {\n      formatted\n      raw\n    }\n    trainingFundEmployerPercentage\n  }\n": types.SalariesRecordFundsFieldsFragmentDoc,
    "\n  fragment SalariesRecordInsurancesAndTaxesFields on Salary {\n    month\n    employee {\n      id\n    }\n    healthInsuranceAmount {\n      formatted\n      raw\n    }\n    socialSecurityEmployeeAmount {\n      formatted\n      raw\n    }\n    socialSecurityEmployerAmount {\n      formatted\n      raw\n    }\n    incomeTaxAmount {\n      formatted\n      raw\n    }\n    notionalExpense {\n      formatted\n      raw\n    }\n  }\n": types.SalariesRecordInsurancesAndTaxesFieldsFragmentDoc,
    "\n  fragment SalariesRecordMainSalaryFields on Salary {\n    month\n    employee {\n      id\n    }\n    baseAmount {\n      formatted\n    }\n    directAmount {\n      formatted\n    }\n    globalAdditionalHoursAmount {\n      formatted\n    }\n    bonus {\n      formatted\n      raw\n    }\n    gift {\n      formatted\n      raw\n    }\n    recovery {\n      formatted\n      raw\n    }\n    vacationTakeout {\n      formatted\n      raw\n    }\n  }\n": types.SalariesRecordMainSalaryFieldsFragmentDoc,
    "\n  fragment SalariesRecordWorkFrameFields on Salary {\n    month\n    employee {\n      id\n    }\n    vacationDays {\n      added\n      taken\n      balance\n    }\n    workDays\n    sicknessDays {\n      balance\n    }\n  }\n": types.SalariesRecordWorkFrameFieldsFragmentDoc,
    "\n  fragment SalariesMonthFields on Salary {\n    month\n    employee {\n      id\n    }\n    ...SalariesRecordFields\n  }\n": types.SalariesMonthFieldsFragmentDoc,
    "\n  fragment SalariesTableFields on Salary {\n    month\n    employee {\n      id\n    }\n    ...SalariesMonthFields\n  }\n": types.SalariesTableFieldsFragmentDoc,
    "\n  fragment SalariesRecordFields on Salary {\n    month\n    employee {\n      id\n    }\n    ...SalariesRecordEmployeeFields\n    ...SalariesRecordMainSalaryFields\n    ...SalariesRecordFundsFields\n    ...SalariesRecordInsurancesAndTaxesFields\n    ...SalariesRecordWorkFrameFields\n  }\n": types.SalariesRecordFieldsFragmentDoc,
    "\n  query AllTags {\n    allTags {\n      name\n    }\n  }\n": types.AllTagsDocument,
    "\n  mutation AddTag($tag: String!) {\n    addTag(name: $tag)\n  }\n": types.AddTagDocument,
    "\n  mutation FlagForeignFeeTransactions {\n    flagForeignFeeTransactions {\n      success\n      errors\n    }\n  }\n": types.FlagForeignFeeTransactionsDocument,
    "\n  mutation MergeChargesByTransactionReference {\n    mergeChargesByTransactionReference {\n      success\n      errors\n    }\n  }\n": types.MergeChargesByTransactionReferenceDocument,
    "\n  mutation DeleteCharge($chargeId: UUID!) {\n    deleteCharge(chargeId: $chargeId)\n  }\n": types.DeleteChargeDocument,
    "\n  mutation DeleteDocument($documentId: UUID!) {\n    deleteDocument(documentId: $documentId)\n  }\n": types.DeleteDocumentDocument,
    "\n  mutation DeleteTag($tag: String!) {\n    deleteTag(name: $tag)\n  }\n": types.DeleteTagDocument,
    "\n  mutation FetchIncomeDocuments($ownerId: UUID!) {\n    fetchIncomeDocuments(ownerId: $ownerId) {\n      id\n    }\n  }\n": types.FetchIncomeDocumentsDocument,
    "\n  mutation InsertBusinessTrip($fields: InsertBusinessTripInput!) {\n    insertBusinessTrip(fields: $fields) {\n      id\n      name\n    }\n  }\n": types.InsertBusinessTripDocument,
    "\n  mutation InsertDocument($record: InsertDocumentInput!) {\n    insertDocument(record: $record) {\n      __typename\n      ... on InsertDocumentSuccessfulResult {\n        document {\n          id\n        }\n      }\n      ... on CommonError {\n        message\n      }\n    }\n  }\n": types.InsertDocumentDocument,
    "\n  mutation InsertSalaryRecord($salaryRecords: [SalaryRecordInput!]!) {\n    insertSalaryRecords(salaryRecords: $salaryRecords) {\n      __typename\n      ... on InsertSalaryRecordsSuccessfulResult {\n        salaryRecords {\n          month\n          employee {\n            id\n          }\n        }\n      }\n      ... on CommonError {\n        message\n      }\n    }\n  }\n": types.InsertSalaryRecordDocument,
    "\n  mutation MergeCharges($baseChargeID: UUID!, $chargeIdsToMerge: [UUID!]!, $fields: UpdateChargeInput) {\n    mergeCharges(baseChargeID: $baseChargeID, chargeIdsToMerge: $chargeIdsToMerge, fields: $fields) {\n      __typename\n      ... on MergeChargeSuccessfulResult {\n        charge {\n          id\n        }\n      }\n      ... on CommonError {\n        message\n      }\n    }\n  }\n": types.MergeChargesDocument,
    "\n  mutation RegenerateLedger($chargeId: UUID!) {\n    regenerateLedgerRecords(chargeId: $chargeId) {\n      __typename\n      ... on Ledger {\n        records {\n          id\n        }\n      }\n      ... on CommonError {\n        message\n      }\n    }\n  }\n": types.RegenerateLedgerDocument,
    "\n  mutation ToggleChargeAccountantApproval($chargeId: UUID!, $approved: Boolean!) {\n    toggleChargeAccountantApproval(chargeId: $chargeId, approved: $approved)\n  }\n": types.ToggleChargeAccountantApprovalDocument,
    "\n  mutation UpdateBusiness($businessId: UUID!, $ownerId: UUID!, $fields: UpdateBusinessInput!) {\n    updateBusiness(businessId: $businessId, ownerId: $ownerId, fields: $fields) {\n      __typename\n      ... on LtdFinancialEntity {\n        id\n        name\n      }\n      ... on CommonError {\n        message\n      }\n    }\n  }\n": types.UpdateBusinessDocument,
    "\n  mutation UpdateCharge($chargeId: UUID!, $fields: UpdateChargeInput!) {\n    updateCharge(chargeId: $chargeId, fields: $fields) {\n      __typename\n      ... on UpdateChargeSuccessfulResult {\n        charge {\n          id\n        }\n      }\n      ... on CommonError {\n        message\n      }\n    }\n  }\n": types.UpdateChargeDocument,
    "\n  mutation UpdateDocument($documentId: UUID!, $fields: UpdateDocumentFieldsInput!) {\n    updateDocument(documentId: $documentId, fields: $fields) {\n      __typename\n      ... on CommonError {\n        message\n      }\n      ... on UpdateDocumentSuccessfulResult {\n        document {\n          id\n        }\n      }\n    }\n  }\n": types.UpdateDocumentDocument,
    "\n  mutation UpdateOrInsertSalaryRecords($salaryRecords: [SalaryRecordInput!]!) {\n    insertOrUpdateSalaryRecords(salaryRecords: $salaryRecords) {\n      __typename\n      ... on InsertSalaryRecordsSuccessfulResult {\n        salaryRecords {\n          month\n          employee {\n            id\n          }\n        }\n      }\n      ... on CommonError {\n        message\n      }\n    }\n  }\n": types.UpdateOrInsertSalaryRecordsDocument,
    "\n  mutation UpdateSalaryRecord($salaryRecord: SalaryRecordEditInput!) {\n    updateSalaryRecord(salaryRecord: $salaryRecord) {\n      __typename\n      ... on UpdateSalaryRecordSuccessfulResult {\n        salaryRecord {\n          month\n          employee {\n            id\n          }\n        }\n      }\n      ... on CommonError {\n        message\n      }\n    }\n  }\n": types.UpdateSalaryRecordDocument,
    "\n  mutation UpdateTransaction($transactionId: UUID!, $fields: UpdateTransactionInput!) {\n    updateTransaction(transactionId: $transactionId, fields: $fields) {\n      __typename\n      ... on Transaction {\n        id\n      }\n      ... on CommonError {\n        message\n      }\n    }\n  }\n": types.UpdateTransactionDocument,
};

/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 *
 *
 * @example
 * ```ts
 * const query = graphql(`query GetUser($id: ID!) { user(id: $id) { name } }`);
 * ```
 *
 * The query argument is unknown!
 * Please regenerate the types.
 */
export function graphql(source: string): unknown;

/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  fragment AllChargesRowFields on Charge {\n    id\n    ... on Charge @defer {\n      metadata {\n        transactionsCount\n        documentsCount\n      }\n    }\n    ...AllChargesAccountantApprovalFields\n    ...AllChargesAmountFields\n    ...AllChargesBusinessTripFields\n    ...AllChargesDateFields\n    ...AllChargesDescriptionFields\n    ...AllChargesEntityFields\n    ...AllChargesMoreInfoFields\n    ...AllChargesTagsFields\n    ...AllChargesTaxCategoryFields\n    ...AllChargesTypeFields\n    ...AllChargesVatFields\n  }\n"): (typeof documents)["\n  fragment AllChargesRowFields on Charge {\n    id\n    ... on Charge @defer {\n      metadata {\n        transactionsCount\n        documentsCount\n      }\n    }\n    ...AllChargesAccountantApprovalFields\n    ...AllChargesAmountFields\n    ...AllChargesBusinessTripFields\n    ...AllChargesDateFields\n    ...AllChargesDescriptionFields\n    ...AllChargesEntityFields\n    ...AllChargesMoreInfoFields\n    ...AllChargesTagsFields\n    ...AllChargesTaxCategoryFields\n    ...AllChargesTypeFields\n    ...AllChargesVatFields\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query ChargeForRow($chargeIDs: [UUID!]!) {\n    chargesByIDs(chargeIDs: $chargeIDs) {\n      id\n      ...AllChargesRowFields\n    }\n  }\n"): (typeof documents)["\n  query ChargeForRow($chargeIDs: [UUID!]!) {\n    chargesByIDs(chargeIDs: $chargeIDs) {\n      id\n      ...AllChargesRowFields\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  fragment AllChargesTableFields on Charge {\n    id\n    ... on Charge @defer {\n      owner {\n        id\n      }\n    }\n    ...AllChargesRowFields\n  }\n"): (typeof documents)["\n  fragment AllChargesTableFields on Charge {\n    id\n    ... on Charge @defer {\n      owner {\n        id\n      }\n    }\n    ...AllChargesRowFields\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  fragment AllChargesAccountantApprovalFields on Charge {\n    id\n    accountantApproval\n  }\n"): (typeof documents)["\n  fragment AllChargesAccountantApprovalFields on Charge {\n    id\n    accountantApproval\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  fragment AllChargesAmountFields on Charge {\n    id\n    totalAmount {\n        raw\n        formatted\n    }\n  }\n"): (typeof documents)["\n  fragment AllChargesAmountFields on Charge {\n    id\n    totalAmount {\n        raw\n        formatted\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  fragment AllChargesBusinessTripFields on Charge {\n    id\n    businessTrip {\n        name\n        dates {\n            start\n            end\n        }\n    }\n  }\n"): (typeof documents)["\n  fragment AllChargesBusinessTripFields on Charge {\n    id\n    businessTrip {\n        name\n        dates {\n            start\n            end\n        }\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  fragment AllChargesEntityFields on Charge {\n    __typename\n    id\n    counterparty {\n      name\n      id\n    }\n    validationData {\n      missingInfo\n    }\n  }\n"): (typeof documents)["\n  fragment AllChargesEntityFields on Charge {\n    __typename\n    id\n    counterparty {\n      name\n      id\n    }\n    validationData {\n      missingInfo\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  fragment AllChargesDateFields on Charge {\n    id\n    minEventDate\n    minDebitDate\n    minDocumentsDate\n  }\n"): (typeof documents)["\n  fragment AllChargesDateFields on Charge {\n    id\n    minEventDate\n    minDebitDate\n    minDocumentsDate\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  fragment AllChargesDescriptionFields on Charge {\n    id\n    userDescription\n    validationData {\n      missingInfo\n    }\n    missingInfoSuggestions {\n      description\n    }\n  }\n"): (typeof documents)["\n  fragment AllChargesDescriptionFields on Charge {\n    id\n    userDescription\n    validationData {\n      missingInfo\n    }\n    missingInfoSuggestions {\n      description\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  fragment AllChargesMoreInfoFields on Charge {\n    id\n    ... on Charge @defer {\n      metadata {\n        transactionsCount\n        documentsCount\n        isSalary\n      }\n      validationData {\n        missingInfo\n      }\n    }\n    ...AllChargesMoreLedgerInfoFields\n  }\n"): (typeof documents)["\n  fragment AllChargesMoreInfoFields on Charge {\n    id\n    ... on Charge @defer {\n      metadata {\n        transactionsCount\n        documentsCount\n        isSalary\n      }\n      validationData {\n        missingInfo\n      }\n    }\n    ...AllChargesMoreLedgerInfoFields\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  fragment AllChargesMoreLedgerInfoFields on Charge {\n    id\n    ... on Charge @defer {\n      ledger {\n        __typename\n        records {\n          id\n        }\n        balance {\n          isBalanced\n        }\n        ... on Ledger @defer {\n          validate {\n            ... on LedgerValidation @defer {\n              isValid\n              differences {\n                id\n              }\n            }\n          }\n        }\n      }\n    }\n  }\n"): (typeof documents)["\n  fragment AllChargesMoreLedgerInfoFields on Charge {\n    id\n    ... on Charge @defer {\n      ledger {\n        __typename\n        records {\n          id\n        }\n        balance {\n          isBalanced\n        }\n        ... on Ledger @defer {\n          validate {\n            ... on LedgerValidation @defer {\n              isValid\n              differences {\n                id\n              }\n            }\n          }\n        }\n      }\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  fragment AllChargesTagsFields on Charge {\n    __typename\n    id\n    ... on Charge @defer {\n      tags {\n        name\n      }\n      validationData {\n        missingInfo\n      }\n      missingInfoSuggestions {\n        tags {\n          name\n        }\n      }\n    }\n  }\n"): (typeof documents)["\n  fragment AllChargesTagsFields on Charge {\n    __typename\n    id\n    ... on Charge @defer {\n      tags {\n        name\n      }\n      validationData {\n        missingInfo\n      }\n      missingInfoSuggestions {\n        tags {\n          name\n        }\n      }\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  fragment AllChargesTaxCategoryFields on Charge {\n    __typename\n    id\n    ... on Charge @defer {\n      taxCategory {\n          id\n          name\n      }\n      validationData {\n        missingInfo\n      }\n    }\n  }\n"): (typeof documents)["\n  fragment AllChargesTaxCategoryFields on Charge {\n    __typename\n    id\n    ... on Charge @defer {\n      taxCategory {\n          id\n          name\n      }\n      validationData {\n        missingInfo\n      }\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  fragment AllChargesTypeFields on Charge {\n    __typename\n    id\n  }\n"): (typeof documents)["\n  fragment AllChargesTypeFields on Charge {\n    __typename\n    id\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  fragment AllChargesVatFields on Charge {\n    __typename\n    id\n    ... on Charge @defer {\n      vat {\n        raw\n        formatted\n      }\n      totalAmount {\n        raw\n        currency\n      }\n      validationData {\n        missingInfo\n      }\n    }\n  }\n"): (typeof documents)["\n  fragment AllChargesVatFields on Charge {\n    __typename\n    id\n    ... on Charge @defer {\n      vat {\n        raw\n        formatted\n      }\n      totalAmount {\n        raw\n        currency\n      }\n      validationData {\n        missingInfo\n      }\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query FetchCharge($chargeIDs: [UUID!]!) {\n    chargesByIDs(chargeIDs: $chargeIDs) {\n      __typename\n      id\n      ... on Charge @defer {\n        ledger {\n          records {\n            id\n          }\n          balance {\n            isBalanced\n          }\n        }\n      }\n      metadata {\n        transactionsCount\n        documentsCount\n      }\n      tags {\n        name\n      }\n      ...DocumentsGalleryFields\n      ...TableDocumentsFields\n      ...TableLedgerRecordsFields\n      ...TableTransactionsFields\n      ... on ConversionCharge {\n        ...ConversionChargeInfo\n      }\n      ... on SalaryCharge {\n        ...TableSalariesFields\n      }\n    }\n  }\n"): (typeof documents)["\n  query FetchCharge($chargeIDs: [UUID!]!) {\n    chargesByIDs(chargeIDs: $chargeIDs) {\n      __typename\n      id\n      ... on Charge @defer {\n        ledger {\n          records {\n            id\n          }\n          balance {\n            isBalanced\n          }\n        }\n      }\n      metadata {\n        transactionsCount\n        documentsCount\n      }\n      tags {\n        name\n      }\n      ...DocumentsGalleryFields\n      ...TableDocumentsFields\n      ...TableLedgerRecordsFields\n      ...TableTransactionsFields\n      ... on ConversionCharge {\n        ...ConversionChargeInfo\n      }\n      ... on SalaryCharge {\n        ...TableSalariesFields\n      }\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  fragment DocumentsTableAmountFields on Document {\n    id\n    ... on Invoice {\n      amount {\n        raw\n        formatted\n        currency\n      }\n      missingInfoSuggestions {\n        amount {\n          raw\n          formatted\n          currency\n        }\n      }\n    }\n    ... on InvoiceReceipt {\n      amount {\n        raw\n        formatted\n        currency\n      }\n      missingInfoSuggestions {\n        amount {\n          raw\n          formatted\n          currency\n        }\n      }\n    }\n    ... on Proforma {\n      amount {\n        raw\n        formatted\n        currency\n      }\n      missingInfoSuggestions {\n        amount {\n          raw\n          formatted\n          currency\n        }\n      }\n    }\n    ... on Receipt {\n      amount {\n        raw\n        formatted\n        currency\n      }\n      missingInfoSuggestions {\n        amount {\n          raw\n          formatted\n          currency\n        }\n      }\n    }\n    ... on CreditInvoice {\n      amount {\n        raw\n        formatted\n        currency\n      }\n      missingInfoSuggestions {\n        amount {\n          raw\n          formatted\n          currency\n        }\n      }\n    }\n  }\n"): (typeof documents)["\n  fragment DocumentsTableAmountFields on Document {\n    id\n    ... on Invoice {\n      amount {\n        raw\n        formatted\n        currency\n      }\n      missingInfoSuggestions {\n        amount {\n          raw\n          formatted\n          currency\n        }\n      }\n    }\n    ... on InvoiceReceipt {\n      amount {\n        raw\n        formatted\n        currency\n      }\n      missingInfoSuggestions {\n        amount {\n          raw\n          formatted\n          currency\n        }\n      }\n    }\n    ... on Proforma {\n      amount {\n        raw\n        formatted\n        currency\n      }\n      missingInfoSuggestions {\n        amount {\n          raw\n          formatted\n          currency\n        }\n      }\n    }\n    ... on Receipt {\n      amount {\n        raw\n        formatted\n        currency\n      }\n      missingInfoSuggestions {\n        amount {\n          raw\n          formatted\n          currency\n        }\n      }\n    }\n    ... on CreditInvoice {\n      amount {\n        raw\n        formatted\n        currency\n      }\n      missingInfoSuggestions {\n        amount {\n          raw\n          formatted\n          currency\n        }\n      }\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  fragment DocumentsTableCreditorFields on Document {\n    id\n    documentType\n    ... on Invoice {\n      creditor {\n        id\n        name\n      }\n      debtor {\n        id\n      }\n      missingInfoSuggestions {\n        isIncome\n        counterparty {\n          id\n          name\n        }\n        owner {\n          id\n          name\n        }\n      }\n    }\n    ... on InvoiceReceipt {\n      creditor {\n        id\n        name\n      }\n      debtor {\n        id\n      }\n      missingInfoSuggestions {\n        isIncome\n        counterparty {\n          id\n          name\n        }\n        owner {\n          id\n          name\n        }\n      }\n    }\n    ... on CreditInvoice {\n      creditor {\n        id\n        name\n      }\n      debtor {\n        id\n      }\n      missingInfoSuggestions {\n        isIncome\n        counterparty {\n          id\n          name\n        }\n        owner {\n          id\n          name\n        }\n      }\n    }\n    ... on Proforma {\n      creditor {\n        id\n        name\n      }\n      debtor {\n        id\n      }\n      missingInfoSuggestions {\n        isIncome\n        counterparty {\n          id\n          name\n        }\n        owner {\n          id\n          name\n        }\n      }\n    }\n    ... on Receipt {\n      creditor {\n        id\n        name\n      }\n      debtor {\n        id\n      }\n      missingInfoSuggestions {\n        isIncome\n        counterparty {\n          id\n          name\n        }\n        owner {\n          id\n          name\n        }\n      }\n    }\n  }\n"): (typeof documents)["\n  fragment DocumentsTableCreditorFields on Document {\n    id\n    documentType\n    ... on Invoice {\n      creditor {\n        id\n        name\n      }\n      debtor {\n        id\n      }\n      missingInfoSuggestions {\n        isIncome\n        counterparty {\n          id\n          name\n        }\n        owner {\n          id\n          name\n        }\n      }\n    }\n    ... on InvoiceReceipt {\n      creditor {\n        id\n        name\n      }\n      debtor {\n        id\n      }\n      missingInfoSuggestions {\n        isIncome\n        counterparty {\n          id\n          name\n        }\n        owner {\n          id\n          name\n        }\n      }\n    }\n    ... on CreditInvoice {\n      creditor {\n        id\n        name\n      }\n      debtor {\n        id\n      }\n      missingInfoSuggestions {\n        isIncome\n        counterparty {\n          id\n          name\n        }\n        owner {\n          id\n          name\n        }\n      }\n    }\n    ... on Proforma {\n      creditor {\n        id\n        name\n      }\n      debtor {\n        id\n      }\n      missingInfoSuggestions {\n        isIncome\n        counterparty {\n          id\n          name\n        }\n        owner {\n          id\n          name\n        }\n      }\n    }\n    ... on Receipt {\n      creditor {\n        id\n        name\n      }\n      debtor {\n        id\n      }\n      missingInfoSuggestions {\n        isIncome\n        counterparty {\n          id\n          name\n        }\n        owner {\n          id\n          name\n        }\n      }\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  fragment DocumentsDateFields on Document {\n    id\n    ... on Invoice {\n      date\n    }\n    ... on InvoiceReceipt {\n      date\n    }\n    ... on CreditInvoice {\n      date\n    }\n    ... on Proforma {\n      date\n    }\n    ... on Receipt {\n      date\n    }\n  }\n"): (typeof documents)["\n  fragment DocumentsDateFields on Document {\n    id\n    ... on Invoice {\n      date\n    }\n    ... on InvoiceReceipt {\n      date\n    }\n    ... on CreditInvoice {\n      date\n    }\n    ... on Proforma {\n      date\n    }\n    ... on Receipt {\n      date\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  fragment DocumentsTableDebtorFields on Document {\n    id\n    documentType\n    ... on Invoice {\n      creditor {\n        id\n      }\n      debtor {\n        id\n        name\n      }\n      missingInfoSuggestions {\n        isIncome\n        counterparty {\n          id\n          name\n        }\n        owner {\n          id\n          name\n        }\n      }\n    }\n    ... on InvoiceReceipt {\n      creditor {\n        id\n      }\n      debtor {\n        id\n        name\n      }\n      missingInfoSuggestions {\n        isIncome\n        counterparty {\n          id\n          name\n        }\n        owner {\n          id\n          name\n        }\n      }\n    }\n    ... on CreditInvoice {\n      creditor {\n        id\n      }\n      debtor {\n        id\n        name\n      }\n      missingInfoSuggestions {\n        isIncome\n        counterparty {\n          id\n          name\n        }\n        owner {\n          id\n          name\n        }\n      }\n\n    }\n    ... on Proforma {\n      creditor {\n        id\n      }\n      debtor {\n        id\n        name\n      }\n      missingInfoSuggestions {\n        isIncome\n        counterparty {\n          id\n          name\n        }\n        owner {\n          id\n          name\n        }\n      }\n    }\n    ... on Receipt {\n      creditor {\n        id\n      }\n      debtor {\n        id\n        name\n      }\n      missingInfoSuggestions {\n        isIncome\n        counterparty {\n          id\n          name\n        }\n        owner {\n          id\n          name\n        }\n      }\n    }\n  }\n"): (typeof documents)["\n  fragment DocumentsTableDebtorFields on Document {\n    id\n    documentType\n    ... on Invoice {\n      creditor {\n        id\n      }\n      debtor {\n        id\n        name\n      }\n      missingInfoSuggestions {\n        isIncome\n        counterparty {\n          id\n          name\n        }\n        owner {\n          id\n          name\n        }\n      }\n    }\n    ... on InvoiceReceipt {\n      creditor {\n        id\n      }\n      debtor {\n        id\n        name\n      }\n      missingInfoSuggestions {\n        isIncome\n        counterparty {\n          id\n          name\n        }\n        owner {\n          id\n          name\n        }\n      }\n    }\n    ... on CreditInvoice {\n      creditor {\n        id\n      }\n      debtor {\n        id\n        name\n      }\n      missingInfoSuggestions {\n        isIncome\n        counterparty {\n          id\n          name\n        }\n        owner {\n          id\n          name\n        }\n      }\n\n    }\n    ... on Proforma {\n      creditor {\n        id\n      }\n      debtor {\n        id\n        name\n      }\n      missingInfoSuggestions {\n        isIncome\n        counterparty {\n          id\n          name\n        }\n        owner {\n          id\n          name\n        }\n      }\n    }\n    ... on Receipt {\n      creditor {\n        id\n      }\n      debtor {\n        id\n        name\n      }\n      missingInfoSuggestions {\n        isIncome\n        counterparty {\n          id\n          name\n        }\n        owner {\n          id\n          name\n        }\n      }\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  fragment DocumentFilesFields on Document {\n    id\n    image\n    file\n  }\n"): (typeof documents)["\n  fragment DocumentFilesFields on Document {\n    id\n    image\n    file\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  fragment DocumentSerialFields on Document {\n    id\n    ... on Invoice {\n      serialNumber\n    }\n    ... on InvoiceReceipt {\n      serialNumber\n    }\n    ... on CreditInvoice {\n      serialNumber\n    }\n    ... on Proforma {\n      serialNumber\n    }\n    ... on Receipt {\n      serialNumber\n    }\n  }\n"): (typeof documents)["\n  fragment DocumentSerialFields on Document {\n    id\n    ... on Invoice {\n      serialNumber\n    }\n    ... on InvoiceReceipt {\n      serialNumber\n    }\n    ... on CreditInvoice {\n      serialNumber\n    }\n    ... on Proforma {\n      serialNumber\n    }\n    ... on Receipt {\n      serialNumber\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  fragment DocumentTypeFields on Document {\n    id\n    documentType\n  }\n"): (typeof documents)["\n  fragment DocumentTypeFields on Document {\n    id\n    documentType\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  fragment DocumentsTableVatFields on Document {\n    id\n    ... on Invoice {\n      vat {\n        raw\n        formatted\n        currency\n      }\n    }\n    ... on InvoiceReceipt {\n      vat {\n        raw\n        formatted\n        currency\n      }\n    }\n    ... on CreditInvoice {\n      vat {\n        raw\n        formatted\n        currency\n      }\n    }\n    ... on Proforma {\n      vat {\n        raw\n        formatted\n        currency\n      }\n    }\n    ... on Receipt {\n      vat {\n        raw\n        formatted\n        currency\n      }\n    }\n  }\n"): (typeof documents)["\n  fragment DocumentsTableVatFields on Document {\n    id\n    ... on Invoice {\n      vat {\n        raw\n        formatted\n        currency\n      }\n    }\n    ... on InvoiceReceipt {\n      vat {\n        raw\n        formatted\n        currency\n      }\n    }\n    ... on CreditInvoice {\n      vat {\n        raw\n        formatted\n        currency\n      }\n    }\n    ... on Proforma {\n      vat {\n        raw\n        formatted\n        currency\n      }\n    }\n    ... on Receipt {\n      vat {\n        raw\n        formatted\n        currency\n      }\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  fragment DocumentsGalleryFields on Charge {\n    id\n    ... on Charge @defer {\n      additionalDocuments {\n        id\n        image\n        ... on Invoice {\n          documentType\n        }\n        ... on Proforma {\n          documentType\n        }\n        ... on Receipt {\n          documentType\n        }\n        ... on InvoiceReceipt {\n          documentType\n        }\n        ... on CreditInvoice {\n          documentType\n        }\n      }\n    }\n  }\n"): (typeof documents)["\n  fragment DocumentsGalleryFields on Charge {\n    id\n    ... on Charge @defer {\n      additionalDocuments {\n        id\n        image\n        ... on Invoice {\n          documentType\n        }\n        ... on Proforma {\n          documentType\n        }\n        ... on Receipt {\n          documentType\n        }\n        ... on InvoiceReceipt {\n          documentType\n        }\n        ... on CreditInvoice {\n          documentType\n        }\n      }\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  fragment TableDocumentsRowFields on Document {\n    id\n    ...DocumentsTableAmountFields\n    ...DocumentsDateFields\n    ...DocumentsTableVatFields\n    ...DocumentTypeFields\n    ...DocumentSerialFields\n    ...DocumentsTableCreditorFields\n    ...DocumentsTableDebtorFields\n    ...DocumentFilesFields\n  }\n"): (typeof documents)["\n  fragment TableDocumentsRowFields on Document {\n    id\n    ...DocumentsTableAmountFields\n    ...DocumentsDateFields\n    ...DocumentsTableVatFields\n    ...DocumentTypeFields\n    ...DocumentSerialFields\n    ...DocumentsTableCreditorFields\n    ...DocumentsTableDebtorFields\n    ...DocumentFilesFields\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query DocumentTableRow($documentId: UUID!) {\n    documentById(documentId: $documentId) {\n      id\n      ...TableDocumentsRowFields\n    }\n  }\n"): (typeof documents)["\n  query DocumentTableRow($documentId: UUID!) {\n    documentById(documentId: $documentId) {\n      id\n      ...TableDocumentsRowFields\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  fragment TableDocumentsFields on Charge {\n    id\n    ... on Charge @defer {\n      additionalDocuments {\n        id\n        ...TableDocumentsRowFields\n      }\n    }\n  }\n"): (typeof documents)["\n  fragment TableDocumentsFields on Charge {\n    id\n    ... on Charge @defer {\n      additionalDocuments {\n        id\n        ...TableDocumentsRowFields\n      }\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  fragment ConversionChargeInfo on ConversionCharge {\n    id\n    ... on ConversionCharge @defer {\n      eventRate {\n        from\n        to\n        rate\n      }\n      officialRate {\n        from\n        to\n        rate\n      }\n    }\n  }\n"): (typeof documents)["\n  fragment ConversionChargeInfo on ConversionCharge {\n    id\n    ... on ConversionCharge @defer {\n      eventRate {\n        from\n        to\n        rate\n      }\n      officialRate {\n        from\n        to\n        rate\n      }\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  fragment TableSalariesFields on SalaryCharge {\n    id\n    ... on SalaryCharge @defer {\n      salaryRecords {\n        directAmount {\n          formatted\n        }\n        baseAmount {\n          formatted\n        }\n        employee {\n          name\n        }\n        pensionFund {\n          id\n          name\n        }\n        pensionEmployeeAmount {\n          formatted\n        }\n        pensionEmployerAmount {\n          formatted\n        }\n        compensationsAmount {\n          formatted\n        }\n        trainingFund {\n          id\n          name\n        }\n        trainingFundEmployeeAmount {\n          formatted\n        }\n        trainingFundEmployerAmount {\n          formatted\n        }\n        socialSecurityEmployeeAmount {\n          formatted\n        }\n        socialSecurityEmployerAmount {\n          formatted\n        }\n        incomeTaxAmount {\n          formatted\n        }\n        healthInsuranceAmount {\n          formatted\n        }\n      }\n    }\n  }\n"): (typeof documents)["\n  fragment TableSalariesFields on SalaryCharge {\n    id\n    ... on SalaryCharge @defer {\n      salaryRecords {\n        directAmount {\n          formatted\n        }\n        baseAmount {\n          formatted\n        }\n        employee {\n          name\n        }\n        pensionFund {\n          id\n          name\n        }\n        pensionEmployeeAmount {\n          formatted\n        }\n        pensionEmployerAmount {\n          formatted\n        }\n        compensationsAmount {\n          formatted\n        }\n        trainingFund {\n          id\n          name\n        }\n        trainingFundEmployeeAmount {\n          formatted\n        }\n        trainingFundEmployerAmount {\n          formatted\n        }\n        socialSecurityEmployeeAmount {\n          formatted\n        }\n        socialSecurityEmployerAmount {\n          formatted\n        }\n        incomeTaxAmount {\n          formatted\n        }\n        healthInsuranceAmount {\n          formatted\n        }\n      }\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query AllCharges($page: Int, $limit: Int, $filters: ChargeFilter) {\n    allCharges(page: $page, limit: $limit, filters: $filters) {\n      nodes {\n        id\n        ...AllChargesTableFields\n      }\n      pageInfo {\n        totalPages\n      }\n    }\n  }\n"): (typeof documents)["\n  query AllCharges($page: Int, $limit: Int, $filters: ChargeFilter) {\n    allCharges(page: $page, limit: $limit, filters: $filters) {\n      nodes {\n        id\n        ...AllChargesTableFields\n      }\n      pageInfo {\n        totalPages\n      }\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  fragment LedgerRecordsAccountDetailsFields on LedgerRecord {\n    id\n    creditAccount1 {\n      __typename\n      id\n      name\n    }\n    creditAccount2 {\n      __typename\n      id\n      name\n    }\n    debitAccount1 {\n      __typename\n      id\n      name\n    }\n    debitAccount2 {\n      __typename\n      id\n      name\n    }\n    creditAmount1 {\n      formatted\n      currency\n    }\n    creditAmount2 {\n      formatted\n      currency\n    }\n    debitAmount1 {\n      formatted\n      currency\n    }\n    debitAmount2 {\n      formatted\n      currency\n    }\n    localCurrencyCreditAmount1 {\n      formatted\n    }\n    localCurrencyCreditAmount2 {\n      formatted\n    }\n    localCurrencyDebitAmount1 {\n      formatted\n    }\n    localCurrencyDebitAmount2 {\n      formatted\n    }\n  }\n"): (typeof documents)["\n  fragment LedgerRecordsAccountDetailsFields on LedgerRecord {\n    id\n    creditAccount1 {\n      __typename\n      id\n      name\n    }\n    creditAccount2 {\n      __typename\n      id\n      name\n    }\n    debitAccount1 {\n      __typename\n      id\n      name\n    }\n    debitAccount2 {\n      __typename\n      id\n      name\n    }\n    creditAmount1 {\n      formatted\n      currency\n    }\n    creditAmount2 {\n      formatted\n      currency\n    }\n    debitAmount1 {\n      formatted\n      currency\n    }\n    debitAmount2 {\n      formatted\n      currency\n    }\n    localCurrencyCreditAmount1 {\n      formatted\n    }\n    localCurrencyCreditAmount2 {\n      formatted\n    }\n    localCurrencyDebitAmount1 {\n      formatted\n    }\n    localCurrencyDebitAmount2 {\n      formatted\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  fragment LedgerRecordsGeneralDateFields on LedgerRecord {\n    id\n    invoiceDate\n    valueDate\n  }\n"): (typeof documents)["\n  fragment LedgerRecordsGeneralDateFields on LedgerRecord {\n    id\n    invoiceDate\n    valueDate\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  fragment TableLedgerRecordsRowFields on LedgerRecord {\n    id\n    ...LedgerRecordsAccountDetailsFields\n    ...LedgerRecordsGeneralDateFields\n    description\n    reference1\n  }\n"): (typeof documents)["\n  fragment TableLedgerRecordsRowFields on LedgerRecord {\n    id\n    ...LedgerRecordsAccountDetailsFields\n    ...LedgerRecordsGeneralDateFields\n    description\n    reference1\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  fragment TableLedgerRecordsFields on Charge {\n    id\n    ... on Charge @defer {\n      ledger {\n        __typename\n        records {\n          id\n          ...TableLedgerRecordsRowFields\n        }\n        ... on Ledger @defer {\n          validate {\n            ... on LedgerValidation @defer {\n              matches\n              differences {\n                id\n                ...TableLedgerRecordsRowFields\n              }\n            }\n          }\n        }\n      }\n    }\n  }\n"): (typeof documents)["\n  fragment TableLedgerRecordsFields on Charge {\n    id\n    ... on Charge @defer {\n      ledger {\n        __typename\n        records {\n          id\n          ...TableLedgerRecordsRowFields\n        }\n        ... on Ledger @defer {\n          validate {\n            ... on LedgerValidation @defer {\n              matches\n              differences {\n                id\n                ...TableLedgerRecordsRowFields\n              }\n            }\n          }\n        }\n      }\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  fragment TransactionsTableAccountFields on Transaction {\n    id\n    account {\n        id\n        __typename\n        name\n        type\n    }\n  }\n"): (typeof documents)["\n  fragment TransactionsTableAccountFields on Transaction {\n    id\n    account {\n        id\n        __typename\n        name\n        type\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  fragment TransactionsTableAmountFields on Transaction {\n    id\n    amount {\n      raw\n      formatted\n    }\n    cryptoExchangeRate {\n      rate\n    }\n  }\n"): (typeof documents)["\n  fragment TransactionsTableAmountFields on Transaction {\n    id\n    amount {\n      raw\n      formatted\n    }\n    cryptoExchangeRate {\n      rate\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  fragment TransactionsTableEntityFields on Transaction {\n    id\n    counterparty {\n      name\n      id\n    }\n    missingInfoSuggestions {\n      business {\n        id\n        name\n      }\n    }\n  }\n"): (typeof documents)["\n  fragment TransactionsTableEntityFields on Transaction {\n    id\n    counterparty {\n      name\n      id\n    }\n    missingInfoSuggestions {\n      business {\n        id\n        name\n      }\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  fragment TransactionsTableDebitDateFields on Transaction {\n    id\n    effectiveDate\n  }\n"): (typeof documents)["\n  fragment TransactionsTableDebitDateFields on Transaction {\n    id\n    effectiveDate\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  fragment TransactionsTableDescriptionFields on Transaction {\n    id\n    sourceDescription\n  }\n"): (typeof documents)["\n  fragment TransactionsTableDescriptionFields on Transaction {\n    id\n    sourceDescription\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  fragment TransactionsTableEventDateFields on Transaction {\n    id\n    eventDate\n  }\n"): (typeof documents)["\n  fragment TransactionsTableEventDateFields on Transaction {\n    id\n    eventDate\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  fragment TransactionsTableSourceIDFields on Transaction {\n    id\n    referenceKey\n  }\n"): (typeof documents)["\n  fragment TransactionsTableSourceIDFields on Transaction {\n    id\n    referenceKey\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  fragment TableTransactionsFields on Charge {\n    id\n    ... on Charge @defer {\n      transactions {\n        id\n        ...TransactionsTableEventDateFields\n        ...TransactionsTableDebitDateFields\n        ...TransactionsTableAmountFields\n        ...TransactionsTableAccountFields\n        ...TransactionsTableDescriptionFields\n        ...TransactionsTableSourceIDFields\n        ...TransactionsTableEntityFields\n      }\n    }\n  }\n"): (typeof documents)["\n  fragment TableTransactionsFields on Charge {\n    id\n    ... on Charge @defer {\n      transactions {\n        id\n        ...TransactionsTableEventDateFields\n        ...TransactionsTableDebitDateFields\n        ...TransactionsTableAmountFields\n        ...TransactionsTableAccountFields\n        ...TransactionsTableDescriptionFields\n        ...TransactionsTableSourceIDFields\n        ...TransactionsTableEntityFields\n      }\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query BusinessTransactionsInfo($filters: BusinessTransactionsFilter) {\n    businessTransactionsFromLedgerRecords(filters: $filters) {\n      ... on BusinessTransactionsFromLedgerRecordsSuccessfulResult {\n        businessTransactions {\n          amount {\n            formatted\n            raw\n          }\n          business {\n            id\n            name\n          }\n          eurAmount {\n            formatted\n            raw\n          }\n          gbpAmount {\n            formatted\n            raw\n          }\n          usdAmount {\n            formatted\n            raw\n          }\n          invoiceDate\n          reference1\n          reference2\n          details\n          counterAccount {\n            __typename\n            id\n            name\n          }\n        }\n      }\n      ... on CommonError {\n        __typename\n        message\n      }\n    }\n  }\n"): (typeof documents)["\n  query BusinessTransactionsInfo($filters: BusinessTransactionsFilter) {\n    businessTransactionsFromLedgerRecords(filters: $filters) {\n      ... on BusinessTransactionsFromLedgerRecordsSuccessfulResult {\n        businessTransactions {\n          amount {\n            formatted\n            raw\n          }\n          business {\n            id\n            name\n          }\n          eurAmount {\n            formatted\n            raw\n          }\n          gbpAmount {\n            formatted\n            raw\n          }\n          usdAmount {\n            formatted\n            raw\n          }\n          invoiceDate\n          reference1\n          reference2\n          details\n          counterAccount {\n            __typename\n            id\n            name\n          }\n        }\n      }\n      ... on CommonError {\n        __typename\n        message\n      }\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query BusinessTransactionsSummery($filters: BusinessTransactionsFilter) {\n    businessTransactionsSumFromLedgerRecords(filters: $filters) {\n      ... on BusinessTransactionsSumFromLedgerRecordsSuccessfulResult {\n        businessTransactionsSum {\n          business {\n            id\n            name\n          }\n          credit {\n            formatted\n          }\n          debit {\n            formatted\n          }\n          total {\n            formatted\n            raw\n          }\n          eurSum {\n            credit {\n              formatted\n            }\n            debit {\n              formatted\n            }\n            total {\n              formatted\n              raw\n            }\n          }\n          gbpSum {\n            credit {\n              formatted\n            }\n            debit {\n              formatted\n            }\n            total {\n              formatted\n              raw\n            }\n          }\n          usdSum {\n            credit {\n              formatted\n            }\n            debit {\n              formatted\n            }\n            total {\n              formatted\n              raw\n            }\n          }\n        }\n      }\n      ... on CommonError {\n        __typename\n        message\n      }\n    }\n  }\n"): (typeof documents)["\n  query BusinessTransactionsSummery($filters: BusinessTransactionsFilter) {\n    businessTransactionsSumFromLedgerRecords(filters: $filters) {\n      ... on BusinessTransactionsSumFromLedgerRecordsSuccessfulResult {\n        businessTransactionsSum {\n          business {\n            id\n            name\n          }\n          credit {\n            formatted\n          }\n          debit {\n            formatted\n          }\n          total {\n            formatted\n            raw\n          }\n          eurSum {\n            credit {\n              formatted\n            }\n            debit {\n              formatted\n            }\n            total {\n              formatted\n              raw\n            }\n          }\n          gbpSum {\n            credit {\n              formatted\n            }\n            debit {\n              formatted\n            }\n            total {\n              formatted\n              raw\n            }\n          }\n          usdSum {\n            credit {\n              formatted\n            }\n            debit {\n              formatted\n            }\n            total {\n              formatted\n              raw\n            }\n          }\n        }\n      }\n      ... on CommonError {\n        __typename\n        message\n      }\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  fragment AllBusinessesRowFields on LtdFinancialEntity {\n    id\n    ...AllBusinessesNameFields\n    ...AllBusinessesHebrewNameFields\n  }\n"): (typeof documents)["\n  fragment AllBusinessesRowFields on LtdFinancialEntity {\n    id\n    ...AllBusinessesNameFields\n    ...AllBusinessesHebrewNameFields\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  fragment AllBusinessesHebrewNameFields on LtdFinancialEntity {\n    id\n    hebrewName\n  }\n"): (typeof documents)["\n  fragment AllBusinessesHebrewNameFields on LtdFinancialEntity {\n    id\n    hebrewName\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  fragment AllBusinessesNameFields on LtdFinancialEntity {\n    id\n    name\n  }\n"): (typeof documents)["\n  fragment AllBusinessesNameFields on LtdFinancialEntity {\n    id\n    name\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query AllBusinessesForScreen($page: Int, $limit: Int) {\n    allBusinesses(page: $page, limit: $limit) {\n      nodes {\n        __typename\n        id\n        name\n        ... on LtdFinancialEntity {\n            ...AllBusinessesRowFields\n        }\n\n      }\n      pageInfo {\n        totalPages\n      }\n    }\n  }\n"): (typeof documents)["\n  query AllBusinessesForScreen($page: Int, $limit: Int) {\n    allBusinesses(page: $page, limit: $limit) {\n      nodes {\n        __typename\n        id\n        name\n        ... on LtdFinancialEntity {\n            ...AllBusinessesRowFields\n        }\n\n      }\n      pageInfo {\n        totalPages\n      }\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\nquery IncomeChargesChart($filters: ChargeFilter) {\n    allCharges(filters: $filters) {\n      nodes {\n        id\n        transactions {\n          id\n          eventDate\n          effectiveDate\n          amount {\n            currency\n            formatted\n            raw\n          }\n          eventExchangeRates {\n            eur {\n              currency\n              formatted\n              raw\n            }\n            gbp {\n              currency\n              formatted\n              raw\n            }\n            usd {\n              currency\n              formatted\n              raw\n            }\n            date\n          }\n          debitExchangeRates {\n            eur {\n              currency\n              formatted\n              raw\n            }\n            gbp {\n              currency\n              formatted\n              raw\n            }\n            usd {\n              currency\n              formatted\n              raw\n            }\n            date\n          }\n        }\n      }\n    }\n  }\n"): (typeof documents)["\nquery IncomeChargesChart($filters: ChargeFilter) {\n    allCharges(filters: $filters) {\n      nodes {\n        id\n        transactions {\n          id\n          eventDate\n          effectiveDate\n          amount {\n            currency\n            formatted\n            raw\n          }\n          eventExchangeRates {\n            eur {\n              currency\n              formatted\n              raw\n            }\n            gbp {\n              currency\n              formatted\n              raw\n            }\n            usd {\n              currency\n              formatted\n              raw\n            }\n            date\n          }\n          debitExchangeRates {\n            eur {\n              currency\n              formatted\n              raw\n            }\n            gbp {\n              currency\n              formatted\n              raw\n            }\n            usd {\n              currency\n              formatted\n              raw\n            }\n            date\n          }\n        }\n      }\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query DocumentsToChargeMatcher($chargeIds: [UUID!]!, $filters: DocumentsFilters!) {\n    documentsByFilters(filters: $filters) {\n      id\n      ...DocumentsToMatchFields\n    }\n    chargesByIDs(chargeIDs: $chargeIds) {\n      id\n      transactions {\n        id\n        eventDate\n      }\n      totalAmount {\n        raw\n      }\n      ...ChargeToMatchDocumentsFields\n    }\n  }\n"): (typeof documents)["\n  query DocumentsToChargeMatcher($chargeIds: [UUID!]!, $filters: DocumentsFilters!) {\n    documentsByFilters(filters: $filters) {\n      id\n      ...DocumentsToMatchFields\n    }\n    chargesByIDs(chargeIDs: $chargeIds) {\n      id\n      transactions {\n        id\n        eventDate\n      }\n      totalAmount {\n        raw\n      }\n      ...ChargeToMatchDocumentsFields\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  fragment ChargeToMatchDocumentsFields on Charge {\n    id\n    totalAmount {\n      raw\n      formatted\n      currency\n    }\n    counterparty {\n      id\n      name\n    }\n    transactions {\n      id\n      eventDate\n      sourceDescription\n    }\n  }\n"): (typeof documents)["\n  fragment ChargeToMatchDocumentsFields on Charge {\n    id\n    totalAmount {\n      raw\n      formatted\n      currency\n    }\n    counterparty {\n      id\n      name\n    }\n    transactions {\n      id\n      eventDate\n      sourceDescription\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  fragment DocumentsToMatchFields on Document {\n    id\n    __typename\n    charge {\n      id\n    }\n    image\n    file\n    documentType\n    creditor {\n      id\n      name\n    }\n    ... on Proforma {\n      serialNumber\n      date\n      amount {\n        raw\n        formatted\n        currency\n      }\n    }\n    ... on InvoiceReceipt {\n      serialNumber\n      date\n      amount {\n        raw\n        formatted\n        currency\n      }\n    }\n    ... on CreditInvoice {\n      serialNumber\n      date\n      amount {\n        raw\n        formatted\n        currency\n      }\n    }\n    ... on Invoice {\n      serialNumber\n      date\n      amount {\n        raw\n        formatted\n        currency\n      }\n    }\n    ... on Receipt {\n      serialNumber\n      date\n      amount {\n        raw\n        formatted\n        currency\n      }\n    }\n  }\n"): (typeof documents)["\n  fragment DocumentsToMatchFields on Document {\n    id\n    __typename\n    charge {\n      id\n    }\n    image\n    file\n    documentType\n    creditor {\n      id\n      name\n    }\n    ... on Proforma {\n      serialNumber\n      date\n      amount {\n        raw\n        formatted\n        currency\n      }\n    }\n    ... on InvoiceReceipt {\n      serialNumber\n      date\n      amount {\n        raw\n        formatted\n        currency\n      }\n    }\n    ... on CreditInvoice {\n      serialNumber\n      date\n      amount {\n        raw\n        formatted\n        currency\n      }\n    }\n    ... on Invoice {\n      serialNumber\n      date\n      amount {\n        raw\n        formatted\n        currency\n      }\n    }\n    ... on Receipt {\n      serialNumber\n      date\n      amount {\n        raw\n        formatted\n        currency\n      }\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query FetchBusiness($id: UUID!) {\n    business(id: $id) {\n      __typename\n      id\n      ... on LtdFinancialEntity {\n        address\n        email\n        governmentId\n        hebrewName\n        name\n        phoneNumber\n        sortCode {\n            id\n            name\n        }\n        taxCategory {\n          id\n          name\n        }\n        website\n      }\n    }\n  }\n"): (typeof documents)["\n  query FetchBusiness($id: UUID!) {\n    business(id: $id) {\n      __typename\n      id\n      ... on LtdFinancialEntity {\n        address\n        email\n        governmentId\n        hebrewName\n        name\n        phoneNumber\n        sortCode {\n            id\n            name\n        }\n        taxCategory {\n          id\n          name\n        }\n        website\n      }\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query EditDocument($documentId: UUID!) {\n    documentById(documentId: $documentId) {\n      id\n      image\n      file\n      documentType\n      __typename\n      ... on Invoice {\n        vat {\n          raw\n          currency\n        }\n        serialNumber\n        date\n        amount {\n          raw\n          currency\n        }\n        debtor {\n          id\n          name\n        }\n        creditor {\n          id\n          name\n        }\n      }\n      ... on Proforma {\n        vat {\n          raw\n          currency\n        }\n        serialNumber\n        date\n        amount {\n          raw\n          currency\n        }\n        debtor {\n          id\n          name\n        }\n        creditor {\n          id\n          name\n        }\n      }\n      ... on Receipt {\n        vat {\n          raw\n          currency\n        }\n        serialNumber\n        date\n        amount {\n          raw\n          currency\n        }\n        debtor {\n          id\n          name\n        }\n        creditor {\n          id\n          name\n        }\n      }\n      ... on InvoiceReceipt {\n        vat {\n          raw\n          currency\n        }\n        serialNumber\n        date\n        amount {\n          raw\n          currency\n        }\n        debtor {\n          id\n          name\n        }\n        creditor {\n          id\n          name\n        }\n      }\n      ... on CreditInvoice {\n        vat {\n          raw\n          currency\n        }\n        serialNumber\n        date\n        amount {\n          raw\n          currency\n        }\n        debtor {\n          id\n          name\n        }\n        creditor {\n          id\n          name\n        }\n      }\n    }\n  }\n"): (typeof documents)["\n  query EditDocument($documentId: UUID!) {\n    documentById(documentId: $documentId) {\n      id\n      image\n      file\n      documentType\n      __typename\n      ... on Invoice {\n        vat {\n          raw\n          currency\n        }\n        serialNumber\n        date\n        amount {\n          raw\n          currency\n        }\n        debtor {\n          id\n          name\n        }\n        creditor {\n          id\n          name\n        }\n      }\n      ... on Proforma {\n        vat {\n          raw\n          currency\n        }\n        serialNumber\n        date\n        amount {\n          raw\n          currency\n        }\n        debtor {\n          id\n          name\n        }\n        creditor {\n          id\n          name\n        }\n      }\n      ... on Receipt {\n        vat {\n          raw\n          currency\n        }\n        serialNumber\n        date\n        amount {\n          raw\n          currency\n        }\n        debtor {\n          id\n          name\n        }\n        creditor {\n          id\n          name\n        }\n      }\n      ... on InvoiceReceipt {\n        vat {\n          raw\n          currency\n        }\n        serialNumber\n        date\n        amount {\n          raw\n          currency\n        }\n        debtor {\n          id\n          name\n        }\n        creditor {\n          id\n          name\n        }\n      }\n      ... on CreditInvoice {\n        vat {\n          raw\n          currency\n        }\n        serialNumber\n        date\n        amount {\n          raw\n          currency\n        }\n        debtor {\n          id\n          name\n        }\n        creditor {\n          id\n          name\n        }\n      }\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query EditTransaction($transactionIDs: [UUID!]!) {\n    transactionsByIDs(transactionIDs: $transactionIDs) {\n      id\n      account {\n        id\n        ... on CardFinancialAccount {\n          __typename\n          fourDigits\n          number\n        }\n        ... on BankFinancialAccount {\n          __typename\n          name\n          accountNumber\n        }\n      }\n      sourceDescription\n      amount {\n        raw\n        currency\n      }\n      counterparty {\n        id\n        name\n      }\n      balance {\n        raw\n        currency\n      }\n      eventDate\n      effectiveDate\n      isFee\n    }\n  }\n"): (typeof documents)["\n  query EditTransaction($transactionIDs: [UUID!]!) {\n    transactionsByIDs(transactionIDs: $transactionIDs) {\n      id\n      account {\n        id\n        ... on CardFinancialAccount {\n          __typename\n          fourDigits\n          number\n        }\n        ... on BankFinancialAccount {\n          __typename\n          name\n          accountNumber\n        }\n      }\n      sourceDescription\n      amount {\n        raw\n        currency\n      }\n      counterparty {\n        id\n        name\n      }\n      balance {\n        raw\n        currency\n      }\n      eventDate\n      effectiveDate\n      isFee\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation UploadDocument($file: FileScalar!, $chargeId: UUID) {\n    uploadDocument(file: $file, chargeId: $chargeId) {\n      __typename\n      ... on UploadDocumentSuccessfulResult {\n        document {\n          id\n        }\n      }\n      ... on CommonError {\n        message\n      }\n    }\n  }\n"): (typeof documents)["\n  mutation UploadDocument($file: FileScalar!, $chargeId: UUID) {\n    uploadDocument(file: $file, chargeId: $chargeId) {\n      __typename\n      ... on UploadDocumentSuccessfulResult {\n        document {\n          id\n        }\n      }\n      ... on CommonError {\n        message\n      }\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query AllBusinessTrips {\n    allBusinessTrips {\n      id\n      name\n    }\n  }\n"): (typeof documents)["\n  query AllBusinessTrips {\n    allBusinessTrips {\n      id\n      name\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query AllBusinesses {\n    allBusinesses {\n      nodes {\n        id\n        name\n      }\n    }\n  }\n"): (typeof documents)["\n  query AllBusinesses {\n    allBusinesses {\n      nodes {\n        id\n        name\n      }\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query AllEmployeesByEmployer($employerId: UUID!) {\n    employeesByEmployerId(employerId: $employerId) {\n      id\n      name\n    }\n  }\n"): (typeof documents)["\n  query AllEmployeesByEmployer($employerId: UUID!) {\n    employeesByEmployerId(employerId: $employerId) {\n      id\n      name\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query AllFinancialAccounts {\n    allFinancialAccounts {\n        __typename\n      id\n      ... on BankFinancialAccount {\n        name\n      }\n      ... on CardFinancialAccount {\n        name\n      }\n      ... on CryptoWalletFinancialAccount {\n        name\n      }\n    }\n  }\n"): (typeof documents)["\n  query AllFinancialAccounts {\n    allFinancialAccounts {\n        __typename\n      id\n      ... on BankFinancialAccount {\n        name\n      }\n      ... on CardFinancialAccount {\n        name\n      }\n      ... on CryptoWalletFinancialAccount {\n        name\n      }\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query AllFinancialEntities {\n    allFinancialEntities {\n      nodes {\n        id\n        name\n      }\n    }\n  }\n"): (typeof documents)["\n  query AllFinancialEntities {\n    allFinancialEntities {\n      nodes {\n        id\n        name\n      }\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query AllPensionFunds {\n    allPensionFunds {\n      id\n      name\n    }\n  }\n"): (typeof documents)["\n  query AllPensionFunds {\n    allPensionFunds {\n      id\n      name\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query AllSortCodes {\n    allSortCodes {\n      id\n      name\n    }\n  }\n"): (typeof documents)["\n  query AllSortCodes {\n    allSortCodes {\n      id\n      name\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query AllTaxCategories {\n    taxCategories {\n      id\n      name\n    }\n  }\n"): (typeof documents)["\n  query AllTaxCategories {\n    taxCategories {\n      id\n      name\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query AllTrainingFunds {\n    allTrainingFunds {\n      id\n      name\n    }\n  }\n"): (typeof documents)["\n  query AllTrainingFunds {\n    allTrainingFunds {\n      id\n      name\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query FetchMultipleCharges($chargeIds: [UUID!]!) {\n    chargesByIDs(chargeIDs: $chargeIds) {\n      id\n      metadata {\n        transactionsCount\n        invoicesCount\n      }\n      owner {\n        id\n        name\n      }\n      tags {\n        name\n      }\n      conversion\n      property\n      userDescription\n    }\n  }\n"): (typeof documents)["\n  query FetchMultipleCharges($chargeIds: [UUID!]!) {\n    chargesByIDs(chargeIDs: $chargeIds) {\n      id\n      metadata {\n        transactionsCount\n        invoicesCount\n      }\n      owner {\n        id\n        name\n      }\n      tags {\n        name\n      }\n      conversion\n      property\n      userDescription\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query EditCharge($chargeIDs: [UUID!]!) {\n    chargesByIDs(chargeIDs: $chargeIDs) {\n      id\n      counterparty {\n        id\n        name\n      }\n      owner {\n        id\n        name\n      }\n      property\n      conversion\n      userDescription\n      taxCategory {\n        id\n        name\n      }\n      tags {\n        name\n      }\n      businessTrip {\n        id\n        name\n      }\n      yearOfRelevance\n    }\n  }\n"): (typeof documents)["\n  query EditCharge($chargeIDs: [UUID!]!) {\n    chargesByIDs(chargeIDs: $chargeIDs) {\n      id\n      counterparty {\n        id\n        name\n      }\n      owner {\n        id\n        name\n      }\n      property\n      conversion\n      userDescription\n      taxCategory {\n        id\n        name\n      }\n      tags {\n        name\n      }\n      businessTrip {\n        id\n        name\n      }\n      yearOfRelevance\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query EditSalaryRecord($month: TimelessDate!, $employeeIDs: [UUID!]!) {\n    salaryRecordsByDates(fromDate: $month, toDate: $month, employeeIDs: $employeeIDs) {\n      month\n      charge {\n        id\n      }\n      directAmount {\n        raw\n      }\n      baseAmount {\n        raw\n      }\n      employee {\n        id\n        name\n      }\n      employer {\n        id\n        name\n      }\n      pensionFund {\n        id\n        name\n      }\n      pensionEmployeeAmount {\n        raw\n      }\n      pensionEmployeePercentage\n      pensionEmployerAmount {\n        raw\n      }\n      pensionEmployerPercentage\n      compensationsAmount {\n        raw\n      }\n      compensationsPercentage\n      trainingFund {\n        id\n        name\n      }\n      trainingFundEmployeeAmount {\n        raw\n      }\n      trainingFundEmployeePercentage\n      trainingFundEmployerAmount {\n        raw\n      }\n      trainingFundEmployerPercentage\n      socialSecurityEmployeeAmount {\n        raw\n      }\n      socialSecurityEmployerAmount {\n        raw\n      }\n      incomeTaxAmount {\n        raw\n      }\n      healthInsuranceAmount {\n        raw\n      }\n      globalAdditionalHoursAmount {\n        raw\n      }\n      bonus {\n        raw\n      }\n      gift {\n        raw\n      }\n      recovery {\n        raw\n      }\n      notionalExpense {\n        raw\n      }\n      vacationDays {\n        added\n        balance\n      }\n      vacationTakeout {\n        raw\n      }\n      workDays\n      sicknessDays {\n        balance\n      }\n    }\n  }\n"): (typeof documents)["\n  query EditSalaryRecord($month: TimelessDate!, $employeeIDs: [UUID!]!) {\n    salaryRecordsByDates(fromDate: $month, toDate: $month, employeeIDs: $employeeIDs) {\n      month\n      charge {\n        id\n      }\n      directAmount {\n        raw\n      }\n      baseAmount {\n        raw\n      }\n      employee {\n        id\n        name\n      }\n      employer {\n        id\n        name\n      }\n      pensionFund {\n        id\n        name\n      }\n      pensionEmployeeAmount {\n        raw\n      }\n      pensionEmployeePercentage\n      pensionEmployerAmount {\n        raw\n      }\n      pensionEmployerPercentage\n      compensationsAmount {\n        raw\n      }\n      compensationsPercentage\n      trainingFund {\n        id\n        name\n      }\n      trainingFundEmployeeAmount {\n        raw\n      }\n      trainingFundEmployeePercentage\n      trainingFundEmployerAmount {\n        raw\n      }\n      trainingFundEmployerPercentage\n      socialSecurityEmployeeAmount {\n        raw\n      }\n      socialSecurityEmployerAmount {\n        raw\n      }\n      incomeTaxAmount {\n        raw\n      }\n      healthInsuranceAmount {\n        raw\n      }\n      globalAdditionalHoursAmount {\n        raw\n      }\n      bonus {\n        raw\n      }\n      gift {\n        raw\n      }\n      recovery {\n        raw\n      }\n      notionalExpense {\n        raw\n      }\n      vacationDays {\n        added\n        balance\n      }\n      vacationTakeout {\n        raw\n      }\n      workDays\n      sicknessDays {\n        balance\n      }\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query Documents {\n    documents {\n      id\n      image\n      file\n      creditor {\n        id\n        name\n      }\n      debtor {\n        id\n        name\n      }\n      charge {\n        id\n        userDescription\n        __typename\n        tags {\n          name\n        }\n        vat {\n          formatted\n          __typename\n        }\n        transactions {\n          id\n          eventDate\n          sourceDescription\n          effectiveDate\n          amount {\n            formatted\n            __typename\n          }\n        }\n      }\n      __typename\n      ... on Unprocessed {\n        id\n        image\n        file\n        creditor {\n          id\n          name\n        }\n        debtor {\n          id\n          name\n        }\n      }\n      ... on Proforma {\n        id\n        image\n        file\n        creditor {\n          id\n          name\n        }\n        debtor {\n          id\n          name\n        }\n        vat {\n          raw\n          formatted\n          currency\n        }\n        serialNumber\n        date\n        amount {\n          raw\n          formatted\n          currency\n        }\n      }\n      ... on Receipt {\n        id\n        image\n        file\n        creditor {\n          id\n          name\n        }\n        debtor {\n          id\n          name\n        }\n        vat {\n          raw\n          formatted\n          currency\n        }\n        serialNumber\n        date\n      }\n      ... on Invoice {\n        id\n        image\n        file\n        creditor {\n          id\n          name\n        }\n        debtor {\n          id\n          name\n        }\n        vat {\n          raw\n          formatted\n          currency\n        }\n        serialNumber\n        date\n        amount {\n          raw\n          formatted\n          currency\n        }\n      }\n      ... on InvoiceReceipt {\n        id\n        image\n        file\n        creditor {\n          id\n          name\n        }\n        debtor {\n          id\n          name\n        }\n        vat {\n          raw\n          formatted\n          currency\n        }\n        serialNumber\n        date\n        amount {\n          raw\n          formatted\n          currency\n        }\n      }\n      ... on CreditInvoice {\n        id\n        image\n        file\n        creditor {\n          id\n          name\n        }\n        debtor {\n          id\n          name\n        }\n        vat {\n          raw\n          formatted\n          currency\n        }\n        serialNumber\n        date\n        amount {\n          raw\n          formatted\n          currency\n        }\n      }\n    }\n  }\n"): (typeof documents)["\n  query Documents {\n    documents {\n      id\n      image\n      file\n      creditor {\n        id\n        name\n      }\n      debtor {\n        id\n        name\n      }\n      charge {\n        id\n        userDescription\n        __typename\n        tags {\n          name\n        }\n        vat {\n          formatted\n          __typename\n        }\n        transactions {\n          id\n          eventDate\n          sourceDescription\n          effectiveDate\n          amount {\n            formatted\n            __typename\n          }\n        }\n      }\n      __typename\n      ... on Unprocessed {\n        id\n        image\n        file\n        creditor {\n          id\n          name\n        }\n        debtor {\n          id\n          name\n        }\n      }\n      ... on Proforma {\n        id\n        image\n        file\n        creditor {\n          id\n          name\n        }\n        debtor {\n          id\n          name\n        }\n        vat {\n          raw\n          formatted\n          currency\n        }\n        serialNumber\n        date\n        amount {\n          raw\n          formatted\n          currency\n        }\n      }\n      ... on Receipt {\n        id\n        image\n        file\n        creditor {\n          id\n          name\n        }\n        debtor {\n          id\n          name\n        }\n        vat {\n          raw\n          formatted\n          currency\n        }\n        serialNumber\n        date\n      }\n      ... on Invoice {\n        id\n        image\n        file\n        creditor {\n          id\n          name\n        }\n        debtor {\n          id\n          name\n        }\n        vat {\n          raw\n          formatted\n          currency\n        }\n        serialNumber\n        date\n        amount {\n          raw\n          formatted\n          currency\n        }\n      }\n      ... on InvoiceReceipt {\n        id\n        image\n        file\n        creditor {\n          id\n          name\n        }\n        debtor {\n          id\n          name\n        }\n        vat {\n          raw\n          formatted\n          currency\n        }\n        serialNumber\n        date\n        amount {\n          raw\n          formatted\n          currency\n        }\n      }\n      ... on CreditInvoice {\n        id\n        image\n        file\n        creditor {\n          id\n          name\n        }\n        debtor {\n          id\n          name\n        }\n        vat {\n          raw\n          formatted\n          currency\n        }\n        serialNumber\n        date\n        amount {\n          raw\n          formatted\n          currency\n        }\n      }\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query TrialBalanceReport($filters: BusinessTransactionsFilter) {\n    businessTransactionsSumFromLedgerRecords(filters: $filters) {\n      ... on BusinessTransactionsSumFromLedgerRecordsSuccessfulResult {\n        businessTransactionsSum {\n          business {\n            id\n            name\n            sortCode {\n              id\n              name\n            }\n          }\n          credit {\n            formatted\n            raw\n          }\n          debit {\n            formatted\n            raw\n          }\n          total {\n            formatted\n            raw\n          }\n          eurSum {\n            credit {\n              formatted\n            }\n            debit {\n              formatted\n            }\n            total {\n              formatted\n              raw\n            }\n          }\n          gbpSum {\n            credit {\n              formatted\n            }\n            debit {\n              formatted\n            }\n            total {\n              formatted\n              raw\n            }\n          }\n          usdSum {\n            credit {\n              formatted\n              raw\n            }\n            debit {\n              formatted\n              raw\n            }\n            total {\n              formatted\n              raw\n            }\n          }\n        }\n      }\n      ... on CommonError {\n        __typename\n        message\n      }\n    }\n  }\n"): (typeof documents)["\n  query TrialBalanceReport($filters: BusinessTransactionsFilter) {\n    businessTransactionsSumFromLedgerRecords(filters: $filters) {\n      ... on BusinessTransactionsSumFromLedgerRecordsSuccessfulResult {\n        businessTransactionsSum {\n          business {\n            id\n            name\n            sortCode {\n              id\n              name\n            }\n          }\n          credit {\n            formatted\n            raw\n          }\n          debit {\n            formatted\n            raw\n          }\n          total {\n            formatted\n            raw\n          }\n          eurSum {\n            credit {\n              formatted\n            }\n            debit {\n              formatted\n            }\n            total {\n              formatted\n              raw\n            }\n          }\n          gbpSum {\n            credit {\n              formatted\n            }\n            debit {\n              formatted\n            }\n            total {\n              formatted\n              raw\n            }\n          }\n          usdSum {\n            credit {\n              formatted\n              raw\n            }\n            debit {\n              formatted\n              raw\n            }\n            total {\n              formatted\n              raw\n            }\n          }\n        }\n      }\n      ... on CommonError {\n        __typename\n        message\n      }\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  fragment VatReportBusinessTripsFields on VatReportResult {\n    businessTrips {\n      id\n      ...AllChargesTableFields\n    }\n  }\n"): (typeof documents)["\n  fragment VatReportBusinessTripsFields on VatReportResult {\n    businessTrips {\n      id\n      ...AllChargesTableFields\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  fragment VatReportAccountantApprovalFields on VatReportRecord {\n    chargeId\n    chargeAccountantReviewed\n  }"): (typeof documents)["\n  fragment VatReportAccountantApprovalFields on VatReportRecord {\n    chargeId\n    chargeAccountantReviewed\n  }"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  fragment VatReportExpensesRowFields on VatReportRecord {\n    ...VatReportAccountantApprovalFields\n    business {\n      id\n      name\n    }\n    vatNumber\n    image\n    documentSerial\n    documentDate\n    chargeDate\n    chargeId\n    # chargeAccountantReviewed\n    amount {\n      formatted\n    }\n    localAmount {\n      formatted\n    }\n    vat {\n      formatted\n    }\n    vatAfterDeduction {\n      formatted\n    }\n    localVatAfterDeduction {\n      formatted\n    }\n    roundedLocalVatAfterDeduction {\n      formatted\n    #   raw\n    }\n    taxReducedLocalAmount {\n      formatted\n    #   raw\n    }\n  }"): (typeof documents)["\n  fragment VatReportExpensesRowFields on VatReportRecord {\n    ...VatReportAccountantApprovalFields\n    business {\n      id\n      name\n    }\n    vatNumber\n    image\n    documentSerial\n    documentDate\n    chargeDate\n    chargeId\n    # chargeAccountantReviewed\n    amount {\n      formatted\n    }\n    localAmount {\n      formatted\n    }\n    vat {\n      formatted\n    }\n    vatAfterDeduction {\n      formatted\n    }\n    localVatAfterDeduction {\n      formatted\n    }\n    roundedLocalVatAfterDeduction {\n      formatted\n    #   raw\n    }\n    taxReducedLocalAmount {\n      formatted\n    #   raw\n    }\n  }"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  fragment VatReportExpensesFields on VatReportResult {\n    expenses {\n        ...VatReportExpensesRowFields\n        roundedLocalVatAfterDeduction {\n          raw\n        }\n        taxReducedLocalAmount {\n          raw\n        }\n      }\n}\n"): (typeof documents)["\n  fragment VatReportExpensesFields on VatReportResult {\n    expenses {\n        ...VatReportExpensesRowFields\n        roundedLocalVatAfterDeduction {\n          raw\n        }\n        taxReducedLocalAmount {\n          raw\n        }\n      }\n}\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  fragment VatReportIncomeRowFields on VatReportRecord {\n    ...VatReportAccountantApprovalFields\n    chargeId\n    business {\n      id\n      name\n    }\n    vatNumber\n    image\n    documentSerial\n    documentDate\n    chargeDate\n    amount {\n      formatted\n    }\n    taxReducedLocalAmount {\n      formatted\n    }\n  }"): (typeof documents)["\n  fragment VatReportIncomeRowFields on VatReportRecord {\n    ...VatReportAccountantApprovalFields\n    chargeId\n    business {\n      id\n      name\n    }\n    vatNumber\n    image\n    documentSerial\n    documentDate\n    chargeDate\n    amount {\n      formatted\n    }\n    taxReducedLocalAmount {\n      formatted\n    }\n  }"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  fragment VatReportIncomeFields on VatReportResult {\n    income {\n      ...VatReportIncomeRowFields\n      taxReducedLocalAmount {\n        raw\n      }\n    }\n}\n"): (typeof documents)["\n  fragment VatReportIncomeFields on VatReportResult {\n    income {\n      ...VatReportIncomeRowFields\n      taxReducedLocalAmount {\n        raw\n      }\n    }\n}\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query VatMonthlyReport($filters: VatReportFilter) {\n    vatReport(filters: $filters) {\n      ...VatReportIncomeFields\n      ...VatReportExpensesFields\n      ...VatReportMissingInfoFields\n      ...VatReportMiscTableFields\n      ...VatReportBusinessTripsFields\n    }\n  }\n"): (typeof documents)["\n  query VatMonthlyReport($filters: VatReportFilter) {\n    vatReport(filters: $filters) {\n      ...VatReportIncomeFields\n      ...VatReportExpensesFields\n      ...VatReportMissingInfoFields\n      ...VatReportMiscTableFields\n      ...VatReportBusinessTripsFields\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  fragment VatReportMiscTableFields on VatReportResult {\n    differentMonthDoc {\n      id\n      ...AllChargesTableFields\n    }\n  }\n"): (typeof documents)["\n  fragment VatReportMiscTableFields on VatReportResult {\n    differentMonthDoc {\n      id\n      ...AllChargesTableFields\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  fragment VatReportMissingInfoFields on VatReportResult {\n    missingInfo {\n      id\n      ...AllChargesTableFields\n    }\n  }\n"): (typeof documents)["\n  fragment VatReportMissingInfoFields on VatReportResult {\n    missingInfo {\n      id\n      ...AllChargesTableFields\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query GeneratePCN($fromDate: TimelessDate!, $toDate: TimelessDate!, $financialEntityId: UUID!) {\n    pcnFile(\n        fromDate: $fromDate,\n        toDate: $toDate,\n        financialEntityId: $financialEntityId\n    ) {\n        reportContent\n        fileName\n    }\n  }\n"): (typeof documents)["\n  query GeneratePCN($fromDate: TimelessDate!, $toDate: TimelessDate!, $financialEntityId: UUID!) {\n    pcnFile(\n        fromDate: $fromDate,\n        toDate: $toDate,\n        financialEntityId: $financialEntityId\n    ) {\n        reportContent\n        fileName\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query SalaryScreenRecords($fromDate: TimelessDate!, $toDate: TimelessDate!, $employeeIDs: [UUID!]) {\n    salaryRecordsByDates(fromDate: $fromDate, toDate: $toDate, employeeIDs: $employeeIDs) {\n        month\n        employee {\n            id\n        }\n        ...SalariesTableFields\n    }\n  }\n"): (typeof documents)["\n  query SalaryScreenRecords($fromDate: TimelessDate!, $toDate: TimelessDate!, $employeeIDs: [UUID!]) {\n    salaryRecordsByDates(fromDate: $fromDate, toDate: $toDate, employeeIDs: $employeeIDs) {\n        month\n        employee {\n            id\n        }\n        ...SalariesTableFields\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  fragment SalariesRecordEmployeeFields on Salary {\n    month\n    employee {\n      id\n      name\n    }\n  }\n"): (typeof documents)["\n  fragment SalariesRecordEmployeeFields on Salary {\n    month\n    employee {\n      id\n      name\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  fragment SalariesRecordFundsFields on Salary {\n    month\n    employee {\n      id\n    }\n    pensionFund {\n      id\n      name\n    }\n    pensionEmployeeAmount {\n      formatted\n      raw\n    }\n    pensionEmployeePercentage\n    pensionEmployerAmount {\n      formatted\n      raw\n    }\n    pensionEmployerPercentage\n    compensationsAmount {\n      formatted\n      raw\n    }\n    compensationsPercentage\n    trainingFund {\n      id\n      name\n    }\n    trainingFundEmployeeAmount {\n      formatted\n      raw\n    }\n    trainingFundEmployeePercentage\n    trainingFundEmployerAmount {\n      formatted\n      raw\n    }\n    trainingFundEmployerPercentage\n  }\n"): (typeof documents)["\n  fragment SalariesRecordFundsFields on Salary {\n    month\n    employee {\n      id\n    }\n    pensionFund {\n      id\n      name\n    }\n    pensionEmployeeAmount {\n      formatted\n      raw\n    }\n    pensionEmployeePercentage\n    pensionEmployerAmount {\n      formatted\n      raw\n    }\n    pensionEmployerPercentage\n    compensationsAmount {\n      formatted\n      raw\n    }\n    compensationsPercentage\n    trainingFund {\n      id\n      name\n    }\n    trainingFundEmployeeAmount {\n      formatted\n      raw\n    }\n    trainingFundEmployeePercentage\n    trainingFundEmployerAmount {\n      formatted\n      raw\n    }\n    trainingFundEmployerPercentage\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  fragment SalariesRecordInsurancesAndTaxesFields on Salary {\n    month\n    employee {\n      id\n    }\n    healthInsuranceAmount {\n      formatted\n      raw\n    }\n    socialSecurityEmployeeAmount {\n      formatted\n      raw\n    }\n    socialSecurityEmployerAmount {\n      formatted\n      raw\n    }\n    incomeTaxAmount {\n      formatted\n      raw\n    }\n    notionalExpense {\n      formatted\n      raw\n    }\n  }\n"): (typeof documents)["\n  fragment SalariesRecordInsurancesAndTaxesFields on Salary {\n    month\n    employee {\n      id\n    }\n    healthInsuranceAmount {\n      formatted\n      raw\n    }\n    socialSecurityEmployeeAmount {\n      formatted\n      raw\n    }\n    socialSecurityEmployerAmount {\n      formatted\n      raw\n    }\n    incomeTaxAmount {\n      formatted\n      raw\n    }\n    notionalExpense {\n      formatted\n      raw\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  fragment SalariesRecordMainSalaryFields on Salary {\n    month\n    employee {\n      id\n    }\n    baseAmount {\n      formatted\n    }\n    directAmount {\n      formatted\n    }\n    globalAdditionalHoursAmount {\n      formatted\n    }\n    bonus {\n      formatted\n      raw\n    }\n    gift {\n      formatted\n      raw\n    }\n    recovery {\n      formatted\n      raw\n    }\n    vacationTakeout {\n      formatted\n      raw\n    }\n  }\n"): (typeof documents)["\n  fragment SalariesRecordMainSalaryFields on Salary {\n    month\n    employee {\n      id\n    }\n    baseAmount {\n      formatted\n    }\n    directAmount {\n      formatted\n    }\n    globalAdditionalHoursAmount {\n      formatted\n    }\n    bonus {\n      formatted\n      raw\n    }\n    gift {\n      formatted\n      raw\n    }\n    recovery {\n      formatted\n      raw\n    }\n    vacationTakeout {\n      formatted\n      raw\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  fragment SalariesRecordWorkFrameFields on Salary {\n    month\n    employee {\n      id\n    }\n    vacationDays {\n      added\n      taken\n      balance\n    }\n    workDays\n    sicknessDays {\n      balance\n    }\n  }\n"): (typeof documents)["\n  fragment SalariesRecordWorkFrameFields on Salary {\n    month\n    employee {\n      id\n    }\n    vacationDays {\n      added\n      taken\n      balance\n    }\n    workDays\n    sicknessDays {\n      balance\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  fragment SalariesMonthFields on Salary {\n    month\n    employee {\n      id\n    }\n    ...SalariesRecordFields\n  }\n"): (typeof documents)["\n  fragment SalariesMonthFields on Salary {\n    month\n    employee {\n      id\n    }\n    ...SalariesRecordFields\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  fragment SalariesTableFields on Salary {\n    month\n    employee {\n      id\n    }\n    ...SalariesMonthFields\n  }\n"): (typeof documents)["\n  fragment SalariesTableFields on Salary {\n    month\n    employee {\n      id\n    }\n    ...SalariesMonthFields\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  fragment SalariesRecordFields on Salary {\n    month\n    employee {\n      id\n    }\n    ...SalariesRecordEmployeeFields\n    ...SalariesRecordMainSalaryFields\n    ...SalariesRecordFundsFields\n    ...SalariesRecordInsurancesAndTaxesFields\n    ...SalariesRecordWorkFrameFields\n  }\n"): (typeof documents)["\n  fragment SalariesRecordFields on Salary {\n    month\n    employee {\n      id\n    }\n    ...SalariesRecordEmployeeFields\n    ...SalariesRecordMainSalaryFields\n    ...SalariesRecordFundsFields\n    ...SalariesRecordInsurancesAndTaxesFields\n    ...SalariesRecordWorkFrameFields\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query AllTags {\n    allTags {\n      name\n    }\n  }\n"): (typeof documents)["\n  query AllTags {\n    allTags {\n      name\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation AddTag($tag: String!) {\n    addTag(name: $tag)\n  }\n"): (typeof documents)["\n  mutation AddTag($tag: String!) {\n    addTag(name: $tag)\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation FlagForeignFeeTransactions {\n    flagForeignFeeTransactions {\n      success\n      errors\n    }\n  }\n"): (typeof documents)["\n  mutation FlagForeignFeeTransactions {\n    flagForeignFeeTransactions {\n      success\n      errors\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation MergeChargesByTransactionReference {\n    mergeChargesByTransactionReference {\n      success\n      errors\n    }\n  }\n"): (typeof documents)["\n  mutation MergeChargesByTransactionReference {\n    mergeChargesByTransactionReference {\n      success\n      errors\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation DeleteCharge($chargeId: UUID!) {\n    deleteCharge(chargeId: $chargeId)\n  }\n"): (typeof documents)["\n  mutation DeleteCharge($chargeId: UUID!) {\n    deleteCharge(chargeId: $chargeId)\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation DeleteDocument($documentId: UUID!) {\n    deleteDocument(documentId: $documentId)\n  }\n"): (typeof documents)["\n  mutation DeleteDocument($documentId: UUID!) {\n    deleteDocument(documentId: $documentId)\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation DeleteTag($tag: String!) {\n    deleteTag(name: $tag)\n  }\n"): (typeof documents)["\n  mutation DeleteTag($tag: String!) {\n    deleteTag(name: $tag)\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation FetchIncomeDocuments($ownerId: UUID!) {\n    fetchIncomeDocuments(ownerId: $ownerId) {\n      id\n    }\n  }\n"): (typeof documents)["\n  mutation FetchIncomeDocuments($ownerId: UUID!) {\n    fetchIncomeDocuments(ownerId: $ownerId) {\n      id\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation InsertBusinessTrip($fields: InsertBusinessTripInput!) {\n    insertBusinessTrip(fields: $fields) {\n      id\n      name\n    }\n  }\n"): (typeof documents)["\n  mutation InsertBusinessTrip($fields: InsertBusinessTripInput!) {\n    insertBusinessTrip(fields: $fields) {\n      id\n      name\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation InsertDocument($record: InsertDocumentInput!) {\n    insertDocument(record: $record) {\n      __typename\n      ... on InsertDocumentSuccessfulResult {\n        document {\n          id\n        }\n      }\n      ... on CommonError {\n        message\n      }\n    }\n  }\n"): (typeof documents)["\n  mutation InsertDocument($record: InsertDocumentInput!) {\n    insertDocument(record: $record) {\n      __typename\n      ... on InsertDocumentSuccessfulResult {\n        document {\n          id\n        }\n      }\n      ... on CommonError {\n        message\n      }\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation InsertSalaryRecord($salaryRecords: [SalaryRecordInput!]!) {\n    insertSalaryRecords(salaryRecords: $salaryRecords) {\n      __typename\n      ... on InsertSalaryRecordsSuccessfulResult {\n        salaryRecords {\n          month\n          employee {\n            id\n          }\n        }\n      }\n      ... on CommonError {\n        message\n      }\n    }\n  }\n"): (typeof documents)["\n  mutation InsertSalaryRecord($salaryRecords: [SalaryRecordInput!]!) {\n    insertSalaryRecords(salaryRecords: $salaryRecords) {\n      __typename\n      ... on InsertSalaryRecordsSuccessfulResult {\n        salaryRecords {\n          month\n          employee {\n            id\n          }\n        }\n      }\n      ... on CommonError {\n        message\n      }\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation MergeCharges($baseChargeID: UUID!, $chargeIdsToMerge: [UUID!]!, $fields: UpdateChargeInput) {\n    mergeCharges(baseChargeID: $baseChargeID, chargeIdsToMerge: $chargeIdsToMerge, fields: $fields) {\n      __typename\n      ... on MergeChargeSuccessfulResult {\n        charge {\n          id\n        }\n      }\n      ... on CommonError {\n        message\n      }\n    }\n  }\n"): (typeof documents)["\n  mutation MergeCharges($baseChargeID: UUID!, $chargeIdsToMerge: [UUID!]!, $fields: UpdateChargeInput) {\n    mergeCharges(baseChargeID: $baseChargeID, chargeIdsToMerge: $chargeIdsToMerge, fields: $fields) {\n      __typename\n      ... on MergeChargeSuccessfulResult {\n        charge {\n          id\n        }\n      }\n      ... on CommonError {\n        message\n      }\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation RegenerateLedger($chargeId: UUID!) {\n    regenerateLedgerRecords(chargeId: $chargeId) {\n      __typename\n      ... on Ledger {\n        records {\n          id\n        }\n      }\n      ... on CommonError {\n        message\n      }\n    }\n  }\n"): (typeof documents)["\n  mutation RegenerateLedger($chargeId: UUID!) {\n    regenerateLedgerRecords(chargeId: $chargeId) {\n      __typename\n      ... on Ledger {\n        records {\n          id\n        }\n      }\n      ... on CommonError {\n        message\n      }\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation ToggleChargeAccountantApproval($chargeId: UUID!, $approved: Boolean!) {\n    toggleChargeAccountantApproval(chargeId: $chargeId, approved: $approved)\n  }\n"): (typeof documents)["\n  mutation ToggleChargeAccountantApproval($chargeId: UUID!, $approved: Boolean!) {\n    toggleChargeAccountantApproval(chargeId: $chargeId, approved: $approved)\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation UpdateBusiness($businessId: UUID!, $ownerId: UUID!, $fields: UpdateBusinessInput!) {\n    updateBusiness(businessId: $businessId, ownerId: $ownerId, fields: $fields) {\n      __typename\n      ... on LtdFinancialEntity {\n        id\n        name\n      }\n      ... on CommonError {\n        message\n      }\n    }\n  }\n"): (typeof documents)["\n  mutation UpdateBusiness($businessId: UUID!, $ownerId: UUID!, $fields: UpdateBusinessInput!) {\n    updateBusiness(businessId: $businessId, ownerId: $ownerId, fields: $fields) {\n      __typename\n      ... on LtdFinancialEntity {\n        id\n        name\n      }\n      ... on CommonError {\n        message\n      }\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation UpdateCharge($chargeId: UUID!, $fields: UpdateChargeInput!) {\n    updateCharge(chargeId: $chargeId, fields: $fields) {\n      __typename\n      ... on UpdateChargeSuccessfulResult {\n        charge {\n          id\n        }\n      }\n      ... on CommonError {\n        message\n      }\n    }\n  }\n"): (typeof documents)["\n  mutation UpdateCharge($chargeId: UUID!, $fields: UpdateChargeInput!) {\n    updateCharge(chargeId: $chargeId, fields: $fields) {\n      __typename\n      ... on UpdateChargeSuccessfulResult {\n        charge {\n          id\n        }\n      }\n      ... on CommonError {\n        message\n      }\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation UpdateDocument($documentId: UUID!, $fields: UpdateDocumentFieldsInput!) {\n    updateDocument(documentId: $documentId, fields: $fields) {\n      __typename\n      ... on CommonError {\n        message\n      }\n      ... on UpdateDocumentSuccessfulResult {\n        document {\n          id\n        }\n      }\n    }\n  }\n"): (typeof documents)["\n  mutation UpdateDocument($documentId: UUID!, $fields: UpdateDocumentFieldsInput!) {\n    updateDocument(documentId: $documentId, fields: $fields) {\n      __typename\n      ... on CommonError {\n        message\n      }\n      ... on UpdateDocumentSuccessfulResult {\n        document {\n          id\n        }\n      }\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation UpdateOrInsertSalaryRecords($salaryRecords: [SalaryRecordInput!]!) {\n    insertOrUpdateSalaryRecords(salaryRecords: $salaryRecords) {\n      __typename\n      ... on InsertSalaryRecordsSuccessfulResult {\n        salaryRecords {\n          month\n          employee {\n            id\n          }\n        }\n      }\n      ... on CommonError {\n        message\n      }\n    }\n  }\n"): (typeof documents)["\n  mutation UpdateOrInsertSalaryRecords($salaryRecords: [SalaryRecordInput!]!) {\n    insertOrUpdateSalaryRecords(salaryRecords: $salaryRecords) {\n      __typename\n      ... on InsertSalaryRecordsSuccessfulResult {\n        salaryRecords {\n          month\n          employee {\n            id\n          }\n        }\n      }\n      ... on CommonError {\n        message\n      }\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation UpdateSalaryRecord($salaryRecord: SalaryRecordEditInput!) {\n    updateSalaryRecord(salaryRecord: $salaryRecord) {\n      __typename\n      ... on UpdateSalaryRecordSuccessfulResult {\n        salaryRecord {\n          month\n          employee {\n            id\n          }\n        }\n      }\n      ... on CommonError {\n        message\n      }\n    }\n  }\n"): (typeof documents)["\n  mutation UpdateSalaryRecord($salaryRecord: SalaryRecordEditInput!) {\n    updateSalaryRecord(salaryRecord: $salaryRecord) {\n      __typename\n      ... on UpdateSalaryRecordSuccessfulResult {\n        salaryRecord {\n          month\n          employee {\n            id\n          }\n        }\n      }\n      ... on CommonError {\n        message\n      }\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation UpdateTransaction($transactionId: UUID!, $fields: UpdateTransactionInput!) {\n    updateTransaction(transactionId: $transactionId, fields: $fields) {\n      __typename\n      ... on Transaction {\n        id\n      }\n      ... on CommonError {\n        message\n      }\n    }\n  }\n"): (typeof documents)["\n  mutation UpdateTransaction($transactionId: UUID!, $fields: UpdateTransactionInput!) {\n    updateTransaction(transactionId: $transactionId, fields: $fields) {\n      __typename\n      ... on Transaction {\n        id\n      }\n      ... on CommonError {\n        message\n      }\n    }\n  }\n"];

export function graphql(source: string) {
  return (documents as any)[source] ?? {};
}

export type DocumentType<TDocumentNode extends DocumentNode<any, any>> = TDocumentNode extends DocumentNode<  infer TType,  any>  ? TType  : never;