import * as Types from "../../../__generated__/types.js";
import * as gm from "graphql-modules";
export namespace ChargesModule {
  interface DefinedFields {
    Query: 'similarCharges' | 'similarChargesByBusiness' | 'charge' | 'chargesByIDs' | 'allCharges' | 'chargesWithMissingRequiredInfo' | 'annualFinancialCharges';
    ChargeSuggestions: 'description' | 'tags';
    ValidationData: 'isValid' | 'balance' | 'missingInfo';
    Mutation: 'updateCharge' | 'batchUpdateCharges' | 'mergeCharges' | 'deleteCharge' | 'generateRevaluationCharge' | 'generateBankDepositsRevaluationCharge' | 'generateTaxExpensesCharge' | 'generateDepreciationCharge' | 'generateRecoveryReserveCharge' | 'generateVacationReserveCharge' | 'generateBalanceCharge' | 'generateFinancialCharges';
    CommonCharge: 'missingInfoSuggestions' | 'validationData' | 'id' | 'vat' | 'withholdingTax' | 'totalAmount' | 'property' | 'decreasedVAT' | 'isInvoicePaymentDifferentCurrency' | 'userDescription' | 'minEventDate' | 'minDebitDate' | 'minDocumentsDate' | 'maxEventDate' | 'maxDebitDate' | 'maxDocumentsDate' | 'metadata' | 'yearsOfRelevance' | 'optionalVAT' | 'optionalDocuments';
    ConversionCharge: 'missingInfoSuggestions' | 'validationData' | 'id' | 'vat' | 'withholdingTax' | 'totalAmount' | 'property' | 'decreasedVAT' | 'isInvoicePaymentDifferentCurrency' | 'userDescription' | 'minEventDate' | 'minDebitDate' | 'minDocumentsDate' | 'maxEventDate' | 'maxDebitDate' | 'maxDocumentsDate' | 'metadata' | 'yearsOfRelevance' | 'optionalVAT' | 'optionalDocuments';
    SalaryCharge: 'missingInfoSuggestions' | 'validationData' | 'id' | 'vat' | 'withholdingTax' | 'totalAmount' | 'property' | 'decreasedVAT' | 'isInvoicePaymentDifferentCurrency' | 'userDescription' | 'minEventDate' | 'minDebitDate' | 'minDocumentsDate' | 'maxEventDate' | 'maxDebitDate' | 'maxDocumentsDate' | 'metadata' | 'yearsOfRelevance' | 'optionalVAT' | 'optionalDocuments';
    InternalTransferCharge: 'missingInfoSuggestions' | 'validationData' | 'id' | 'vat' | 'withholdingTax' | 'totalAmount' | 'property' | 'decreasedVAT' | 'isInvoicePaymentDifferentCurrency' | 'userDescription' | 'minEventDate' | 'minDebitDate' | 'minDocumentsDate' | 'maxEventDate' | 'maxDebitDate' | 'maxDocumentsDate' | 'metadata' | 'yearsOfRelevance' | 'optionalVAT' | 'optionalDocuments';
    DividendCharge: 'missingInfoSuggestions' | 'validationData' | 'id' | 'vat' | 'withholdingTax' | 'totalAmount' | 'property' | 'decreasedVAT' | 'isInvoicePaymentDifferentCurrency' | 'userDescription' | 'minEventDate' | 'minDebitDate' | 'minDocumentsDate' | 'maxEventDate' | 'maxDebitDate' | 'maxDocumentsDate' | 'metadata' | 'yearsOfRelevance' | 'optionalVAT' | 'optionalDocuments';
    BusinessTripCharge: 'missingInfoSuggestions' | 'validationData' | 'id' | 'vat' | 'withholdingTax' | 'totalAmount' | 'property' | 'decreasedVAT' | 'isInvoicePaymentDifferentCurrency' | 'userDescription' | 'minEventDate' | 'minDebitDate' | 'minDocumentsDate' | 'maxEventDate' | 'maxDebitDate' | 'maxDocumentsDate' | 'metadata' | 'yearsOfRelevance' | 'optionalVAT' | 'optionalDocuments';
    MonthlyVatCharge: 'missingInfoSuggestions' | 'validationData' | 'id' | 'vat' | 'withholdingTax' | 'totalAmount' | 'property' | 'decreasedVAT' | 'isInvoicePaymentDifferentCurrency' | 'userDescription' | 'minEventDate' | 'minDebitDate' | 'minDocumentsDate' | 'maxEventDate' | 'maxDebitDate' | 'maxDocumentsDate' | 'metadata' | 'yearsOfRelevance' | 'optionalVAT' | 'optionalDocuments';
    BankDepositCharge: 'missingInfoSuggestions' | 'validationData' | 'id' | 'vat' | 'withholdingTax' | 'totalAmount' | 'property' | 'decreasedVAT' | 'isInvoicePaymentDifferentCurrency' | 'userDescription' | 'minEventDate' | 'minDebitDate' | 'minDocumentsDate' | 'maxEventDate' | 'maxDebitDate' | 'maxDocumentsDate' | 'metadata' | 'yearsOfRelevance' | 'optionalVAT' | 'optionalDocuments';
    ForeignSecuritiesCharge: 'missingInfoSuggestions' | 'validationData' | 'id' | 'vat' | 'withholdingTax' | 'totalAmount' | 'property' | 'decreasedVAT' | 'isInvoicePaymentDifferentCurrency' | 'userDescription' | 'minEventDate' | 'minDebitDate' | 'minDocumentsDate' | 'maxEventDate' | 'maxDebitDate' | 'maxDocumentsDate' | 'metadata' | 'yearsOfRelevance' | 'optionalVAT' | 'optionalDocuments';
    CreditcardBankCharge: 'missingInfoSuggestions' | 'validationData' | 'id' | 'vat' | 'withholdingTax' | 'totalAmount' | 'property' | 'decreasedVAT' | 'isInvoicePaymentDifferentCurrency' | 'userDescription' | 'minEventDate' | 'minDebitDate' | 'minDocumentsDate' | 'maxEventDate' | 'maxDebitDate' | 'maxDocumentsDate' | 'metadata' | 'yearsOfRelevance' | 'optionalVAT' | 'optionalDocuments';
    PaginatedCharges: 'nodes' | 'pageInfo';
    UpdateChargeSuccessfulResult: 'charge';
    BatchUpdateChargesSuccessfulResult: 'charges';
    MergeChargeSuccessfulResult: 'charge';
    ChargeMetadata: 'createdAt' | 'updatedAt' | 'invoicesCount' | 'receiptsCount' | 'documentsCount' | 'openDocuments' | 'transactionsCount' | 'optionalBusinesses' | 'ledgerCount' | 'miscExpensesCount' | 'invalidLedger';
    YearOfRelevance: 'year' | 'amount';
    FinancialCharge: 'missingInfoSuggestions' | 'validationData' | 'id' | 'type' | 'vat' | 'withholdingTax' | 'totalAmount' | 'property' | 'decreasedVAT' | 'isInvoicePaymentDifferentCurrency' | 'userDescription' | 'minEventDate' | 'minDebitDate' | 'minDocumentsDate' | 'maxEventDate' | 'maxDebitDate' | 'maxDocumentsDate' | 'metadata' | 'yearsOfRelevance' | 'optionalVAT' | 'optionalDocuments';
    FinancialChargesGenerationResult: 'id' | 'revaluationCharge' | 'taxExpensesCharge' | 'depreciationCharge' | 'recoveryReserveCharge' | 'vacationReserveCharge' | 'bankDepositsRevaluationCharge';
    Proforma: 'charge';
    Receipt: 'charge';
    Invoice: 'charge';
    InvoiceReceipt: 'charge';
    CreditInvoice: 'charge';
    Unprocessed: 'charge';
    OtherDocument: 'charge';
    BankFinancialAccount: 'charges';
    CardFinancialAccount: 'charges';
    CryptoWalletFinancialAccount: 'charges';
    ForeignSecuritiesFinancialAccount: 'charges';
    BankDepositFinancialAccount: 'charges';
    LtdFinancialEntity: 'charges';
    PersonalFinancialEntity: 'charges';
    Charge: 'missingInfoSuggestions' | 'validationData' | 'id' | 'vat' | 'withholdingTax' | 'totalAmount' | 'property' | 'decreasedVAT' | 'isInvoicePaymentDifferentCurrency' | 'userDescription' | 'minEventDate' | 'minDebitDate' | 'minDocumentsDate' | 'maxEventDate' | 'maxDebitDate' | 'maxDocumentsDate' | 'metadata' | 'yearsOfRelevance' | 'optionalVAT' | 'optionalDocuments';
    Document: 'charge';
    FinancialDocument: 'charge';
    FinancialAccount: 'charges';
    Business: 'charges';
  };
  
  interface DefinedEnumValues {
    MissingChargeInfo: 'COUNTERPARTY' | 'DESCRIPTION' | 'DOCUMENTS' | 'TAGS' | 'TRANSACTIONS' | 'VAT' | 'TAX_CATEGORY';
    ChargeType: 'COMMON' | 'CONVERSION' | 'PAYROLL' | 'INTERNAL' | 'DIVIDEND' | 'BUSINESS_TRIP' | 'VAT' | 'BANK_DEPOSIT' | 'FOREIGN_SECURITIES' | 'CREDITCARD_BANK' | 'FINANCIAL';
    ChargeFilterType: 'ALL' | 'INCOME' | 'EXPENSE';
    ChargeSortByField: 'DATE' | 'AMOUNT' | 'ABS_AMOUNT';
    LedgerValidationStatus: 'VALID' | 'INVALID' | 'DIFF';
  };
  
  interface DefinedInputFields {
    ChargeFilter: 'withoutTransactions' | 'withoutDocuments' | 'withoutInvoice' | 'withoutReceipt' | 'unbalanced' | 'withoutLedger' | 'withOpenDocuments' | 'fromDate' | 'toDate' | 'fromAnyDate' | 'toAnyDate' | 'byOwners' | 'byFinancialAccounts' | 'byBusinesses' | 'byTags' | 'freeText' | 'sortBy' | 'chargesType' | 'byChargeTypes' | 'byBusinessTrips' | 'withMissingCounterparty' | 'accountantStatus';
    ChargeSortBy: 'field' | 'asc';
    UpdateChargeInput: 'type' | 'isDecreasedVAT' | 'isInvoicePaymentDifferentCurrency' | 'userDescription' | 'defaultTaxCategoryID' | 'businessTripID' | 'yearsOfRelevance' | 'optionalVAT' | 'optionalDocuments';
    YearOfRelevanceInput: 'year' | 'amount';
  };
  
  export type Query = Pick<Types.Query, DefinedFields['Query']>;
  export type Charge = Pick<Types.Charge, DefinedFields['Charge']>;
  export type UUID = Types.Uuid;
  export type ChargeSuggestions = Pick<Types.ChargeSuggestions, DefinedFields['ChargeSuggestions']>;
  export type CommonCharge = Pick<Types.CommonCharge, DefinedFields['CommonCharge']>;
  export type FinancialCharge = Pick<Types.FinancialCharge, DefinedFields['FinancialCharge']>;
  export type ConversionCharge = Pick<Types.ConversionCharge, DefinedFields['ConversionCharge']>;
  export type SalaryCharge = Pick<Types.SalaryCharge, DefinedFields['SalaryCharge']>;
  export type InternalTransferCharge = Pick<Types.InternalTransferCharge, DefinedFields['InternalTransferCharge']>;
  export type DividendCharge = Pick<Types.DividendCharge, DefinedFields['DividendCharge']>;
  export type BusinessTripCharge = Pick<Types.BusinessTripCharge, DefinedFields['BusinessTripCharge']>;
  export type MonthlyVatCharge = Pick<Types.MonthlyVatCharge, DefinedFields['MonthlyVatCharge']>;
  export type BankDepositCharge = Pick<Types.BankDepositCharge, DefinedFields['BankDepositCharge']>;
  export type ForeignSecuritiesCharge = Pick<Types.ForeignSecuritiesCharge, DefinedFields['ForeignSecuritiesCharge']>;
  export type CreditcardBankCharge = Pick<Types.CreditcardBankCharge, DefinedFields['CreditcardBankCharge']>;
  export type Tag = Types.Tag;
  export type ValidationData = Pick<Types.ValidationData, DefinedFields['ValidationData']>;
  export type FinancialAmount = Types.FinancialAmount;
  export type MissingChargeInfo = DefinedEnumValues['MissingChargeInfo'];
  export type ChargeFilter = Pick<Types.ChargeFilter, DefinedInputFields['ChargeFilter']>;
  export type PaginatedCharges = Pick<Types.PaginatedCharges, DefinedFields['PaginatedCharges']>;
  export type Mutation = Pick<Types.Mutation, DefinedFields['Mutation']>;
  export type UpdateChargeResult = Types.UpdateChargeResult;
  export type UpdateChargeInput = Pick<Types.UpdateChargeInput, DefinedInputFields['UpdateChargeInput']>;
  export type BatchUpdateChargesResult = Types.BatchUpdateChargesResult;
  export type MergeChargeResult = Types.MergeChargeResult;
  export type DateTime = Types.DateTime;
  export type ChargeMetadata = Pick<Types.ChargeMetadata, DefinedFields['ChargeMetadata']>;
  export type YearOfRelevance = Pick<Types.YearOfRelevance, DefinedFields['YearOfRelevance']>;
  export type ChargeType = DefinedEnumValues['ChargeType'];
  export type TimelessDate = Types.TimelessDate;
  export type ChargeSortBy = Pick<Types.ChargeSortBy, DefinedInputFields['ChargeSortBy']>;
  export type ChargeFilterType = DefinedEnumValues['ChargeFilterType'];
  export type AccountantStatus = Types.AccountantStatus;
  export type ChargeSortByField = DefinedEnumValues['ChargeSortByField'];
  export type PageInfo = Types.PageInfo;
  export type YearOfRelevanceInput = Pick<Types.YearOfRelevanceInput, DefinedInputFields['YearOfRelevanceInput']>;
  export type UpdateChargeSuccessfulResult = Pick<Types.UpdateChargeSuccessfulResult, DefinedFields['UpdateChargeSuccessfulResult']>;
  export type CommonError = Types.CommonError;
  export type BatchUpdateChargesSuccessfulResult = Pick<Types.BatchUpdateChargesSuccessfulResult, DefinedFields['BatchUpdateChargesSuccessfulResult']>;
  export type MergeChargeSuccessfulResult = Pick<Types.MergeChargeSuccessfulResult, DefinedFields['MergeChargeSuccessfulResult']>;
  export type LedgerValidationStatus = DefinedEnumValues['LedgerValidationStatus'];
  export type Document = Types.Document;
  export type FinancialDocument = Types.FinancialDocument;
  export type Proforma = Types.Proforma;
  export type Receipt = Types.Receipt;
  export type Invoice = Types.Invoice;
  export type InvoiceReceipt = Types.InvoiceReceipt;
  export type CreditInvoice = Types.CreditInvoice;
  export type Unprocessed = Types.Unprocessed;
  export type OtherDocument = Types.OtherDocument;
  export type FinancialAccount = Types.FinancialAccount;
  export type BankFinancialAccount = Types.BankFinancialAccount;
  export type CardFinancialAccount = Types.CardFinancialAccount;
  export type CryptoWalletFinancialAccount = Types.CryptoWalletFinancialAccount;
  export type ForeignSecuritiesFinancialAccount = Types.ForeignSecuritiesFinancialAccount;
  export type BankDepositFinancialAccount = Types.BankDepositFinancialAccount;
  export type LtdFinancialEntity = Types.LtdFinancialEntity;
  export type PersonalFinancialEntity = Types.PersonalFinancialEntity;
  export type Business = Types.Business;
  export type FinancialChargesGenerationResult = Pick<Types.FinancialChargesGenerationResult, DefinedFields['FinancialChargesGenerationResult']>;
  export type InsertMiscExpenseInput = Types.InsertMiscExpenseInput;
  
  export type QueryResolvers = Pick<Types.QueryResolvers, DefinedFields['Query']>;
  export type ChargeSuggestionsResolvers = Pick<Types.ChargeSuggestionsResolvers, DefinedFields['ChargeSuggestions']>;
  export type ValidationDataResolvers = Pick<Types.ValidationDataResolvers, DefinedFields['ValidationData']>;
  export type MutationResolvers = Pick<Types.MutationResolvers, DefinedFields['Mutation']>;
  export type CommonChargeResolvers = Pick<Types.CommonChargeResolvers, DefinedFields['CommonCharge'] | '__isTypeOf'>;
  export type ConversionChargeResolvers = Pick<Types.ConversionChargeResolvers, DefinedFields['ConversionCharge'] | '__isTypeOf'>;
  export type SalaryChargeResolvers = Pick<Types.SalaryChargeResolvers, DefinedFields['SalaryCharge'] | '__isTypeOf'>;
  export type InternalTransferChargeResolvers = Pick<Types.InternalTransferChargeResolvers, DefinedFields['InternalTransferCharge'] | '__isTypeOf'>;
  export type DividendChargeResolvers = Pick<Types.DividendChargeResolvers, DefinedFields['DividendCharge'] | '__isTypeOf'>;
  export type BusinessTripChargeResolvers = Pick<Types.BusinessTripChargeResolvers, DefinedFields['BusinessTripCharge'] | '__isTypeOf'>;
  export type MonthlyVatChargeResolvers = Pick<Types.MonthlyVatChargeResolvers, DefinedFields['MonthlyVatCharge'] | '__isTypeOf'>;
  export type BankDepositChargeResolvers = Pick<Types.BankDepositChargeResolvers, DefinedFields['BankDepositCharge'] | '__isTypeOf'>;
  export type ForeignSecuritiesChargeResolvers = Pick<Types.ForeignSecuritiesChargeResolvers, DefinedFields['ForeignSecuritiesCharge'] | '__isTypeOf'>;
  export type CreditcardBankChargeResolvers = Pick<Types.CreditcardBankChargeResolvers, DefinedFields['CreditcardBankCharge'] | '__isTypeOf'>;
  export type PaginatedChargesResolvers = Pick<Types.PaginatedChargesResolvers, DefinedFields['PaginatedCharges']>;
  export type UpdateChargeSuccessfulResultResolvers = Pick<Types.UpdateChargeSuccessfulResultResolvers, DefinedFields['UpdateChargeSuccessfulResult'] | '__isTypeOf'>;
  export type BatchUpdateChargesSuccessfulResultResolvers = Pick<Types.BatchUpdateChargesSuccessfulResultResolvers, DefinedFields['BatchUpdateChargesSuccessfulResult'] | '__isTypeOf'>;
  export type MergeChargeSuccessfulResultResolvers = Pick<Types.MergeChargeSuccessfulResultResolvers, DefinedFields['MergeChargeSuccessfulResult'] | '__isTypeOf'>;
  export type ChargeMetadataResolvers = Pick<Types.ChargeMetadataResolvers, DefinedFields['ChargeMetadata']>;
  export type YearOfRelevanceResolvers = Pick<Types.YearOfRelevanceResolvers, DefinedFields['YearOfRelevance']>;
  export type FinancialChargeResolvers = Pick<Types.FinancialChargeResolvers, DefinedFields['FinancialCharge'] | '__isTypeOf'>;
  export type FinancialChargesGenerationResultResolvers = Pick<Types.FinancialChargesGenerationResultResolvers, DefinedFields['FinancialChargesGenerationResult']>;
  export type ProformaResolvers = Pick<Types.ProformaResolvers, DefinedFields['Proforma']>;
  export type ReceiptResolvers = Pick<Types.ReceiptResolvers, DefinedFields['Receipt']>;
  export type InvoiceResolvers = Pick<Types.InvoiceResolvers, DefinedFields['Invoice']>;
  export type InvoiceReceiptResolvers = Pick<Types.InvoiceReceiptResolvers, DefinedFields['InvoiceReceipt']>;
  export type CreditInvoiceResolvers = Pick<Types.CreditInvoiceResolvers, DefinedFields['CreditInvoice']>;
  export type UnprocessedResolvers = Pick<Types.UnprocessedResolvers, DefinedFields['Unprocessed']>;
  export type OtherDocumentResolvers = Pick<Types.OtherDocumentResolvers, DefinedFields['OtherDocument']>;
  export type BankFinancialAccountResolvers = Pick<Types.BankFinancialAccountResolvers, DefinedFields['BankFinancialAccount']>;
  export type CardFinancialAccountResolvers = Pick<Types.CardFinancialAccountResolvers, DefinedFields['CardFinancialAccount']>;
  export type CryptoWalletFinancialAccountResolvers = Pick<Types.CryptoWalletFinancialAccountResolvers, DefinedFields['CryptoWalletFinancialAccount']>;
  export type ForeignSecuritiesFinancialAccountResolvers = Pick<Types.ForeignSecuritiesFinancialAccountResolvers, DefinedFields['ForeignSecuritiesFinancialAccount']>;
  export type BankDepositFinancialAccountResolvers = Pick<Types.BankDepositFinancialAccountResolvers, DefinedFields['BankDepositFinancialAccount']>;
  export type LtdFinancialEntityResolvers = Pick<Types.LtdFinancialEntityResolvers, DefinedFields['LtdFinancialEntity']>;
  export type PersonalFinancialEntityResolvers = Pick<Types.PersonalFinancialEntityResolvers, DefinedFields['PersonalFinancialEntity']>;
  export type ChargeResolvers = Pick<Types.ChargeResolvers, DefinedFields['Charge']>;
  export type DocumentResolvers = Pick<Types.DocumentResolvers, DefinedFields['Document']>;
  export type FinancialDocumentResolvers = Pick<Types.FinancialDocumentResolvers, DefinedFields['FinancialDocument']>;
  export type FinancialAccountResolvers = Pick<Types.FinancialAccountResolvers, DefinedFields['FinancialAccount']>;
  export type BusinessResolvers = Pick<Types.BusinessResolvers, DefinedFields['Business']>;
  
  export interface Resolvers {
    Query?: QueryResolvers;
    ChargeSuggestions?: ChargeSuggestionsResolvers;
    ValidationData?: ValidationDataResolvers;
    Mutation?: MutationResolvers;
    CommonCharge?: CommonChargeResolvers;
    ConversionCharge?: ConversionChargeResolvers;
    SalaryCharge?: SalaryChargeResolvers;
    InternalTransferCharge?: InternalTransferChargeResolvers;
    DividendCharge?: DividendChargeResolvers;
    BusinessTripCharge?: BusinessTripChargeResolvers;
    MonthlyVatCharge?: MonthlyVatChargeResolvers;
    BankDepositCharge?: BankDepositChargeResolvers;
    ForeignSecuritiesCharge?: ForeignSecuritiesChargeResolvers;
    CreditcardBankCharge?: CreditcardBankChargeResolvers;
    PaginatedCharges?: PaginatedChargesResolvers;
    UpdateChargeSuccessfulResult?: UpdateChargeSuccessfulResultResolvers;
    BatchUpdateChargesSuccessfulResult?: BatchUpdateChargesSuccessfulResultResolvers;
    MergeChargeSuccessfulResult?: MergeChargeSuccessfulResultResolvers;
    ChargeMetadata?: ChargeMetadataResolvers;
    YearOfRelevance?: YearOfRelevanceResolvers;
    FinancialCharge?: FinancialChargeResolvers;
    FinancialChargesGenerationResult?: FinancialChargesGenerationResultResolvers;
    Proforma?: ProformaResolvers;
    Receipt?: ReceiptResolvers;
    Invoice?: InvoiceResolvers;
    InvoiceReceipt?: InvoiceReceiptResolvers;
    CreditInvoice?: CreditInvoiceResolvers;
    Unprocessed?: UnprocessedResolvers;
    OtherDocument?: OtherDocumentResolvers;
    BankFinancialAccount?: BankFinancialAccountResolvers;
    CardFinancialAccount?: CardFinancialAccountResolvers;
    CryptoWalletFinancialAccount?: CryptoWalletFinancialAccountResolvers;
    ForeignSecuritiesFinancialAccount?: ForeignSecuritiesFinancialAccountResolvers;
    BankDepositFinancialAccount?: BankDepositFinancialAccountResolvers;
    LtdFinancialEntity?: LtdFinancialEntityResolvers;
    PersonalFinancialEntity?: PersonalFinancialEntityResolvers;
  };
  
  export interface MiddlewareMap {
    '*'?: {
      '*'?: gm.Middleware[];
    };
    Query?: {
      '*'?: gm.Middleware[];
      similarCharges?: gm.Middleware[];
      similarChargesByBusiness?: gm.Middleware[];
      charge?: gm.Middleware[];
      chargesByIDs?: gm.Middleware[];
      allCharges?: gm.Middleware[];
      chargesWithMissingRequiredInfo?: gm.Middleware[];
      annualFinancialCharges?: gm.Middleware[];
    };
    CommonCharge?: {
      '*'?: gm.Middleware[];
      missingInfoSuggestions?: gm.Middleware[];
      validationData?: gm.Middleware[];
      id?: gm.Middleware[];
      vat?: gm.Middleware[];
      withholdingTax?: gm.Middleware[];
      totalAmount?: gm.Middleware[];
      property?: gm.Middleware[];
      decreasedVAT?: gm.Middleware[];
      isInvoicePaymentDifferentCurrency?: gm.Middleware[];
      userDescription?: gm.Middleware[];
      minEventDate?: gm.Middleware[];
      minDebitDate?: gm.Middleware[];
      minDocumentsDate?: gm.Middleware[];
      maxEventDate?: gm.Middleware[];
      maxDebitDate?: gm.Middleware[];
      maxDocumentsDate?: gm.Middleware[];
      metadata?: gm.Middleware[];
      yearsOfRelevance?: gm.Middleware[];
      optionalVAT?: gm.Middleware[];
      optionalDocuments?: gm.Middleware[];
    };
    FinancialCharge?: {
      '*'?: gm.Middleware[];
      missingInfoSuggestions?: gm.Middleware[];
      validationData?: gm.Middleware[];
      id?: gm.Middleware[];
      type?: gm.Middleware[];
      vat?: gm.Middleware[];
      withholdingTax?: gm.Middleware[];
      totalAmount?: gm.Middleware[];
      property?: gm.Middleware[];
      decreasedVAT?: gm.Middleware[];
      isInvoicePaymentDifferentCurrency?: gm.Middleware[];
      userDescription?: gm.Middleware[];
      minEventDate?: gm.Middleware[];
      minDebitDate?: gm.Middleware[];
      minDocumentsDate?: gm.Middleware[];
      maxEventDate?: gm.Middleware[];
      maxDebitDate?: gm.Middleware[];
      maxDocumentsDate?: gm.Middleware[];
      metadata?: gm.Middleware[];
      yearsOfRelevance?: gm.Middleware[];
      optionalVAT?: gm.Middleware[];
      optionalDocuments?: gm.Middleware[];
    };
    ConversionCharge?: {
      '*'?: gm.Middleware[];
      missingInfoSuggestions?: gm.Middleware[];
      validationData?: gm.Middleware[];
      id?: gm.Middleware[];
      vat?: gm.Middleware[];
      withholdingTax?: gm.Middleware[];
      totalAmount?: gm.Middleware[];
      property?: gm.Middleware[];
      decreasedVAT?: gm.Middleware[];
      isInvoicePaymentDifferentCurrency?: gm.Middleware[];
      userDescription?: gm.Middleware[];
      minEventDate?: gm.Middleware[];
      minDebitDate?: gm.Middleware[];
      minDocumentsDate?: gm.Middleware[];
      maxEventDate?: gm.Middleware[];
      maxDebitDate?: gm.Middleware[];
      maxDocumentsDate?: gm.Middleware[];
      metadata?: gm.Middleware[];
      yearsOfRelevance?: gm.Middleware[];
      optionalVAT?: gm.Middleware[];
      optionalDocuments?: gm.Middleware[];
    };
    SalaryCharge?: {
      '*'?: gm.Middleware[];
      missingInfoSuggestions?: gm.Middleware[];
      validationData?: gm.Middleware[];
      id?: gm.Middleware[];
      vat?: gm.Middleware[];
      withholdingTax?: gm.Middleware[];
      totalAmount?: gm.Middleware[];
      property?: gm.Middleware[];
      decreasedVAT?: gm.Middleware[];
      isInvoicePaymentDifferentCurrency?: gm.Middleware[];
      userDescription?: gm.Middleware[];
      minEventDate?: gm.Middleware[];
      minDebitDate?: gm.Middleware[];
      minDocumentsDate?: gm.Middleware[];
      maxEventDate?: gm.Middleware[];
      maxDebitDate?: gm.Middleware[];
      maxDocumentsDate?: gm.Middleware[];
      metadata?: gm.Middleware[];
      yearsOfRelevance?: gm.Middleware[];
      optionalVAT?: gm.Middleware[];
      optionalDocuments?: gm.Middleware[];
    };
    InternalTransferCharge?: {
      '*'?: gm.Middleware[];
      missingInfoSuggestions?: gm.Middleware[];
      validationData?: gm.Middleware[];
      id?: gm.Middleware[];
      vat?: gm.Middleware[];
      withholdingTax?: gm.Middleware[];
      totalAmount?: gm.Middleware[];
      property?: gm.Middleware[];
      decreasedVAT?: gm.Middleware[];
      isInvoicePaymentDifferentCurrency?: gm.Middleware[];
      userDescription?: gm.Middleware[];
      minEventDate?: gm.Middleware[];
      minDebitDate?: gm.Middleware[];
      minDocumentsDate?: gm.Middleware[];
      maxEventDate?: gm.Middleware[];
      maxDebitDate?: gm.Middleware[];
      maxDocumentsDate?: gm.Middleware[];
      metadata?: gm.Middleware[];
      yearsOfRelevance?: gm.Middleware[];
      optionalVAT?: gm.Middleware[];
      optionalDocuments?: gm.Middleware[];
    };
    DividendCharge?: {
      '*'?: gm.Middleware[];
      missingInfoSuggestions?: gm.Middleware[];
      validationData?: gm.Middleware[];
      id?: gm.Middleware[];
      vat?: gm.Middleware[];
      withholdingTax?: gm.Middleware[];
      totalAmount?: gm.Middleware[];
      property?: gm.Middleware[];
      decreasedVAT?: gm.Middleware[];
      isInvoicePaymentDifferentCurrency?: gm.Middleware[];
      userDescription?: gm.Middleware[];
      minEventDate?: gm.Middleware[];
      minDebitDate?: gm.Middleware[];
      minDocumentsDate?: gm.Middleware[];
      maxEventDate?: gm.Middleware[];
      maxDebitDate?: gm.Middleware[];
      maxDocumentsDate?: gm.Middleware[];
      metadata?: gm.Middleware[];
      yearsOfRelevance?: gm.Middleware[];
      optionalVAT?: gm.Middleware[];
      optionalDocuments?: gm.Middleware[];
    };
    BusinessTripCharge?: {
      '*'?: gm.Middleware[];
      missingInfoSuggestions?: gm.Middleware[];
      validationData?: gm.Middleware[];
      id?: gm.Middleware[];
      vat?: gm.Middleware[];
      withholdingTax?: gm.Middleware[];
      totalAmount?: gm.Middleware[];
      property?: gm.Middleware[];
      decreasedVAT?: gm.Middleware[];
      isInvoicePaymentDifferentCurrency?: gm.Middleware[];
      userDescription?: gm.Middleware[];
      minEventDate?: gm.Middleware[];
      minDebitDate?: gm.Middleware[];
      minDocumentsDate?: gm.Middleware[];
      maxEventDate?: gm.Middleware[];
      maxDebitDate?: gm.Middleware[];
      maxDocumentsDate?: gm.Middleware[];
      metadata?: gm.Middleware[];
      yearsOfRelevance?: gm.Middleware[];
      optionalVAT?: gm.Middleware[];
      optionalDocuments?: gm.Middleware[];
    };
    MonthlyVatCharge?: {
      '*'?: gm.Middleware[];
      missingInfoSuggestions?: gm.Middleware[];
      validationData?: gm.Middleware[];
      id?: gm.Middleware[];
      vat?: gm.Middleware[];
      withholdingTax?: gm.Middleware[];
      totalAmount?: gm.Middleware[];
      property?: gm.Middleware[];
      decreasedVAT?: gm.Middleware[];
      isInvoicePaymentDifferentCurrency?: gm.Middleware[];
      userDescription?: gm.Middleware[];
      minEventDate?: gm.Middleware[];
      minDebitDate?: gm.Middleware[];
      minDocumentsDate?: gm.Middleware[];
      maxEventDate?: gm.Middleware[];
      maxDebitDate?: gm.Middleware[];
      maxDocumentsDate?: gm.Middleware[];
      metadata?: gm.Middleware[];
      yearsOfRelevance?: gm.Middleware[];
      optionalVAT?: gm.Middleware[];
      optionalDocuments?: gm.Middleware[];
    };
    BankDepositCharge?: {
      '*'?: gm.Middleware[];
      missingInfoSuggestions?: gm.Middleware[];
      validationData?: gm.Middleware[];
      id?: gm.Middleware[];
      vat?: gm.Middleware[];
      withholdingTax?: gm.Middleware[];
      totalAmount?: gm.Middleware[];
      property?: gm.Middleware[];
      decreasedVAT?: gm.Middleware[];
      isInvoicePaymentDifferentCurrency?: gm.Middleware[];
      userDescription?: gm.Middleware[];
      minEventDate?: gm.Middleware[];
      minDebitDate?: gm.Middleware[];
      minDocumentsDate?: gm.Middleware[];
      maxEventDate?: gm.Middleware[];
      maxDebitDate?: gm.Middleware[];
      maxDocumentsDate?: gm.Middleware[];
      metadata?: gm.Middleware[];
      yearsOfRelevance?: gm.Middleware[];
      optionalVAT?: gm.Middleware[];
      optionalDocuments?: gm.Middleware[];
    };
    ForeignSecuritiesCharge?: {
      '*'?: gm.Middleware[];
      missingInfoSuggestions?: gm.Middleware[];
      validationData?: gm.Middleware[];
      id?: gm.Middleware[];
      vat?: gm.Middleware[];
      withholdingTax?: gm.Middleware[];
      totalAmount?: gm.Middleware[];
      property?: gm.Middleware[];
      decreasedVAT?: gm.Middleware[];
      isInvoicePaymentDifferentCurrency?: gm.Middleware[];
      userDescription?: gm.Middleware[];
      minEventDate?: gm.Middleware[];
      minDebitDate?: gm.Middleware[];
      minDocumentsDate?: gm.Middleware[];
      maxEventDate?: gm.Middleware[];
      maxDebitDate?: gm.Middleware[];
      maxDocumentsDate?: gm.Middleware[];
      metadata?: gm.Middleware[];
      yearsOfRelevance?: gm.Middleware[];
      optionalVAT?: gm.Middleware[];
      optionalDocuments?: gm.Middleware[];
    };
    CreditcardBankCharge?: {
      '*'?: gm.Middleware[];
      missingInfoSuggestions?: gm.Middleware[];
      validationData?: gm.Middleware[];
      id?: gm.Middleware[];
      vat?: gm.Middleware[];
      withholdingTax?: gm.Middleware[];
      totalAmount?: gm.Middleware[];
      property?: gm.Middleware[];
      decreasedVAT?: gm.Middleware[];
      isInvoicePaymentDifferentCurrency?: gm.Middleware[];
      userDescription?: gm.Middleware[];
      minEventDate?: gm.Middleware[];
      minDebitDate?: gm.Middleware[];
      minDocumentsDate?: gm.Middleware[];
      maxEventDate?: gm.Middleware[];
      maxDebitDate?: gm.Middleware[];
      maxDocumentsDate?: gm.Middleware[];
      metadata?: gm.Middleware[];
      yearsOfRelevance?: gm.Middleware[];
      optionalVAT?: gm.Middleware[];
      optionalDocuments?: gm.Middleware[];
    };
    ChargeSuggestions?: {
      '*'?: gm.Middleware[];
      description?: gm.Middleware[];
      tags?: gm.Middleware[];
    };
    ValidationData?: {
      '*'?: gm.Middleware[];
      isValid?: gm.Middleware[];
      balance?: gm.Middleware[];
      missingInfo?: gm.Middleware[];
    };
    Mutation?: {
      '*'?: gm.Middleware[];
      updateCharge?: gm.Middleware[];
      batchUpdateCharges?: gm.Middleware[];
      mergeCharges?: gm.Middleware[];
      deleteCharge?: gm.Middleware[];
      generateRevaluationCharge?: gm.Middleware[];
      generateBankDepositsRevaluationCharge?: gm.Middleware[];
      generateTaxExpensesCharge?: gm.Middleware[];
      generateDepreciationCharge?: gm.Middleware[];
      generateRecoveryReserveCharge?: gm.Middleware[];
      generateVacationReserveCharge?: gm.Middleware[];
      generateBalanceCharge?: gm.Middleware[];
      generateFinancialCharges?: gm.Middleware[];
    };
    PaginatedCharges?: {
      '*'?: gm.Middleware[];
      nodes?: gm.Middleware[];
      pageInfo?: gm.Middleware[];
    };
    UpdateChargeSuccessfulResult?: {
      '*'?: gm.Middleware[];
      charge?: gm.Middleware[];
    };
    BatchUpdateChargesSuccessfulResult?: {
      '*'?: gm.Middleware[];
      charges?: gm.Middleware[];
    };
    MergeChargeSuccessfulResult?: {
      '*'?: gm.Middleware[];
      charge?: gm.Middleware[];
    };
    ChargeMetadata?: {
      '*'?: gm.Middleware[];
      createdAt?: gm.Middleware[];
      updatedAt?: gm.Middleware[];
      invoicesCount?: gm.Middleware[];
      receiptsCount?: gm.Middleware[];
      documentsCount?: gm.Middleware[];
      openDocuments?: gm.Middleware[];
      transactionsCount?: gm.Middleware[];
      optionalBusinesses?: gm.Middleware[];
      ledgerCount?: gm.Middleware[];
      miscExpensesCount?: gm.Middleware[];
      invalidLedger?: gm.Middleware[];
    };
    Proforma?: {
      '*'?: gm.Middleware[];
      charge?: gm.Middleware[];
    };
    Receipt?: {
      '*'?: gm.Middleware[];
      charge?: gm.Middleware[];
    };
    Invoice?: {
      '*'?: gm.Middleware[];
      charge?: gm.Middleware[];
    };
    InvoiceReceipt?: {
      '*'?: gm.Middleware[];
      charge?: gm.Middleware[];
    };
    CreditInvoice?: {
      '*'?: gm.Middleware[];
      charge?: gm.Middleware[];
    };
    Unprocessed?: {
      '*'?: gm.Middleware[];
      charge?: gm.Middleware[];
    };
    OtherDocument?: {
      '*'?: gm.Middleware[];
      charge?: gm.Middleware[];
    };
    BankFinancialAccount?: {
      '*'?: gm.Middleware[];
      charges?: gm.Middleware[];
    };
    CardFinancialAccount?: {
      '*'?: gm.Middleware[];
      charges?: gm.Middleware[];
    };
    CryptoWalletFinancialAccount?: {
      '*'?: gm.Middleware[];
      charges?: gm.Middleware[];
    };
    ForeignSecuritiesFinancialAccount?: {
      '*'?: gm.Middleware[];
      charges?: gm.Middleware[];
    };
    BankDepositFinancialAccount?: {
      '*'?: gm.Middleware[];
      charges?: gm.Middleware[];
    };
    LtdFinancialEntity?: {
      '*'?: gm.Middleware[];
      charges?: gm.Middleware[];
    };
    PersonalFinancialEntity?: {
      '*'?: gm.Middleware[];
      charges?: gm.Middleware[];
    };
    YearOfRelevance?: {
      '*'?: gm.Middleware[];
      year?: gm.Middleware[];
      amount?: gm.Middleware[];
    };
    FinancialChargesGenerationResult?: {
      '*'?: gm.Middleware[];
      id?: gm.Middleware[];
      revaluationCharge?: gm.Middleware[];
      taxExpensesCharge?: gm.Middleware[];
      depreciationCharge?: gm.Middleware[];
      recoveryReserveCharge?: gm.Middleware[];
      vacationReserveCharge?: gm.Middleware[];
      bankDepositsRevaluationCharge?: gm.Middleware[];
    };
  };
}