import * as Types from "../../../__generated__/types.js";
import * as gm from "graphql-modules";
export namespace TransactionsModule {
  interface DefinedFields {
    Query: 'similarTransactions' | 'transactionsByIDs' | 'transactionsByFinancialEntity';
    TransactionSuggestions: 'business';
    Mutation: 'updateTransaction' | 'updateTransactions';
    CommonTransaction: 'missingInfoSuggestions' | 'id' | 'referenceKey' | 'eventDate' | 'effectiveDate' | 'sourceEffectiveDate' | 'exactEffectiveDate' | 'direction' | 'amount' | 'sourceDescription' | 'balance' | 'createdAt' | 'updatedAt' | 'isFee' | 'chargeId';
    ConversionTransaction: 'missingInfoSuggestions' | 'id' | 'referenceKey' | 'eventDate' | 'effectiveDate' | 'sourceEffectiveDate' | 'exactEffectiveDate' | 'direction' | 'amount' | 'sourceDescription' | 'balance' | 'type' | 'bankRate' | 'officialRateToLocal' | 'createdAt' | 'updatedAt' | 'isFee' | 'chargeId';
    UpdatedTransactionsSuccessfulResult: 'transactions';
    CreditcardBankCharge: 'creditCardTransactions' | 'validCreditCardAmount' | 'transactions';
    CommonCharge: 'transactions';
    FinancialCharge: 'transactions';
    ConversionCharge: 'transactions';
    SalaryCharge: 'transactions';
    InternalTransferCharge: 'transactions';
    DividendCharge: 'transactions';
    BusinessTripCharge: 'transactions';
    MonthlyVatCharge: 'transactions';
    BankDepositCharge: 'transactions';
    ForeignSecuritiesCharge: 'transactions';
    Transaction: 'missingInfoSuggestions' | 'id' | 'referenceKey' | 'eventDate' | 'effectiveDate' | 'sourceEffectiveDate' | 'exactEffectiveDate' | 'direction' | 'amount' | 'sourceDescription' | 'balance' | 'createdAt' | 'updatedAt' | 'isFee' | 'chargeId';
    Charge: 'transactions';
  };
  
  interface DefinedEnumValues {
    TransactionDirection: 'DEBIT' | 'CREDIT';
    ConversionTransactionType: 'QUOTE' | 'BASE';
  };
  
  interface DefinedInputFields {
    UpdateTransactionInput: 'counterpartyId' | 'chargeId' | 'effectiveDate' | 'isFee';
  };
  
  export type CreditcardBankCharge = Types.CreditcardBankCharge;
  export type Transaction = Pick<Types.Transaction, DefinedFields['Transaction']>;
  export type Query = Pick<Types.Query, DefinedFields['Query']>;
  export type UUID = Types.Uuid;
  export type TransactionSuggestions = Pick<Types.TransactionSuggestions, DefinedFields['TransactionSuggestions']>;
  export type CommonTransaction = Pick<Types.CommonTransaction, DefinedFields['CommonTransaction']>;
  export type ConversionTransaction = Pick<Types.ConversionTransaction, DefinedFields['ConversionTransaction']>;
  export type FinancialEntity = Types.FinancialEntity;
  export type Mutation = Pick<Types.Mutation, DefinedFields['Mutation']>;
  export type UpdateTransactionResult = Types.UpdateTransactionResult;
  export type UpdateTransactionInput = Pick<Types.UpdateTransactionInput, DefinedInputFields['UpdateTransactionInput']>;
  export type UpdateTransactionsResult = Types.UpdateTransactionsResult;
  export type Charge = Types.Charge;
  export type CommonCharge = Types.CommonCharge;
  export type FinancialCharge = Types.FinancialCharge;
  export type ConversionCharge = Types.ConversionCharge;
  export type SalaryCharge = Types.SalaryCharge;
  export type InternalTransferCharge = Types.InternalTransferCharge;
  export type DividendCharge = Types.DividendCharge;
  export type BusinessTripCharge = Types.BusinessTripCharge;
  export type MonthlyVatCharge = Types.MonthlyVatCharge;
  export type BankDepositCharge = Types.BankDepositCharge;
  export type ForeignSecuritiesCharge = Types.ForeignSecuritiesCharge;
  export type TimelessDate = Types.TimelessDate;
  export type DateTime = Types.DateTime;
  export type TransactionDirection = DefinedEnumValues['TransactionDirection'];
  export type FinancialAmount = Types.FinancialAmount;
  export type ConversionTransactionType = DefinedEnumValues['ConversionTransactionType'];
  export type Rate = Types.Rate;
  export type CommonError = Types.CommonError;
  export type UpdatedTransactionsSuccessfulResult = Pick<Types.UpdatedTransactionsSuccessfulResult, DefinedFields['UpdatedTransactionsSuccessfulResult']>;
  export type UpdatedTransaction = Types.UpdatedTransaction;
  
  export type QueryResolvers = Pick<Types.QueryResolvers, DefinedFields['Query']>;
  export type TransactionSuggestionsResolvers = Pick<Types.TransactionSuggestionsResolvers, DefinedFields['TransactionSuggestions']>;
  export type MutationResolvers = Pick<Types.MutationResolvers, DefinedFields['Mutation']>;
  export type CommonTransactionResolvers = Pick<Types.CommonTransactionResolvers, DefinedFields['CommonTransaction'] | '__isTypeOf'>;
  export type ConversionTransactionResolvers = Pick<Types.ConversionTransactionResolvers, DefinedFields['ConversionTransaction'] | '__isTypeOf'>;
  export type UpdatedTransactionsSuccessfulResultResolvers = Pick<Types.UpdatedTransactionsSuccessfulResultResolvers, DefinedFields['UpdatedTransactionsSuccessfulResult'] | '__isTypeOf'>;
  export type CreditcardBankChargeResolvers = Pick<Types.CreditcardBankChargeResolvers, DefinedFields['CreditcardBankCharge']>;
  export type CommonChargeResolvers = Pick<Types.CommonChargeResolvers, DefinedFields['CommonCharge']>;
  export type FinancialChargeResolvers = Pick<Types.FinancialChargeResolvers, DefinedFields['FinancialCharge']>;
  export type ConversionChargeResolvers = Pick<Types.ConversionChargeResolvers, DefinedFields['ConversionCharge']>;
  export type SalaryChargeResolvers = Pick<Types.SalaryChargeResolvers, DefinedFields['SalaryCharge']>;
  export type InternalTransferChargeResolvers = Pick<Types.InternalTransferChargeResolvers, DefinedFields['InternalTransferCharge']>;
  export type DividendChargeResolvers = Pick<Types.DividendChargeResolvers, DefinedFields['DividendCharge']>;
  export type BusinessTripChargeResolvers = Pick<Types.BusinessTripChargeResolvers, DefinedFields['BusinessTripCharge']>;
  export type MonthlyVatChargeResolvers = Pick<Types.MonthlyVatChargeResolvers, DefinedFields['MonthlyVatCharge']>;
  export type BankDepositChargeResolvers = Pick<Types.BankDepositChargeResolvers, DefinedFields['BankDepositCharge']>;
  export type ForeignSecuritiesChargeResolvers = Pick<Types.ForeignSecuritiesChargeResolvers, DefinedFields['ForeignSecuritiesCharge']>;
  export type TransactionResolvers = Pick<Types.TransactionResolvers, DefinedFields['Transaction']>;
  export type ChargeResolvers = Pick<Types.ChargeResolvers, DefinedFields['Charge']>;
  
  export interface Resolvers {
    Query?: QueryResolvers;
    TransactionSuggestions?: TransactionSuggestionsResolvers;
    Mutation?: MutationResolvers;
    CommonTransaction?: CommonTransactionResolvers;
    ConversionTransaction?: ConversionTransactionResolvers;
    UpdatedTransactionsSuccessfulResult?: UpdatedTransactionsSuccessfulResultResolvers;
    CreditcardBankCharge?: CreditcardBankChargeResolvers;
    CommonCharge?: CommonChargeResolvers;
    FinancialCharge?: FinancialChargeResolvers;
    ConversionCharge?: ConversionChargeResolvers;
    SalaryCharge?: SalaryChargeResolvers;
    InternalTransferCharge?: InternalTransferChargeResolvers;
    DividendCharge?: DividendChargeResolvers;
    BusinessTripCharge?: BusinessTripChargeResolvers;
    MonthlyVatCharge?: MonthlyVatChargeResolvers;
    BankDepositCharge?: BankDepositChargeResolvers;
    ForeignSecuritiesCharge?: ForeignSecuritiesChargeResolvers;
  };
  
  export interface MiddlewareMap {
    '*'?: {
      '*'?: gm.Middleware[];
    };
    CreditcardBankCharge?: {
      '*'?: gm.Middleware[];
      creditCardTransactions?: gm.Middleware[];
      validCreditCardAmount?: gm.Middleware[];
      transactions?: gm.Middleware[];
    };
    Query?: {
      '*'?: gm.Middleware[];
      similarTransactions?: gm.Middleware[];
      transactionsByIDs?: gm.Middleware[];
      transactionsByFinancialEntity?: gm.Middleware[];
    };
    CommonTransaction?: {
      '*'?: gm.Middleware[];
      missingInfoSuggestions?: gm.Middleware[];
      id?: gm.Middleware[];
      referenceKey?: gm.Middleware[];
      eventDate?: gm.Middleware[];
      effectiveDate?: gm.Middleware[];
      sourceEffectiveDate?: gm.Middleware[];
      exactEffectiveDate?: gm.Middleware[];
      direction?: gm.Middleware[];
      amount?: gm.Middleware[];
      sourceDescription?: gm.Middleware[];
      balance?: gm.Middleware[];
      createdAt?: gm.Middleware[];
      updatedAt?: gm.Middleware[];
      isFee?: gm.Middleware[];
      chargeId?: gm.Middleware[];
    };
    ConversionTransaction?: {
      '*'?: gm.Middleware[];
      missingInfoSuggestions?: gm.Middleware[];
      id?: gm.Middleware[];
      referenceKey?: gm.Middleware[];
      eventDate?: gm.Middleware[];
      effectiveDate?: gm.Middleware[];
      sourceEffectiveDate?: gm.Middleware[];
      exactEffectiveDate?: gm.Middleware[];
      direction?: gm.Middleware[];
      amount?: gm.Middleware[];
      sourceDescription?: gm.Middleware[];
      balance?: gm.Middleware[];
      type?: gm.Middleware[];
      bankRate?: gm.Middleware[];
      officialRateToLocal?: gm.Middleware[];
      createdAt?: gm.Middleware[];
      updatedAt?: gm.Middleware[];
      isFee?: gm.Middleware[];
      chargeId?: gm.Middleware[];
    };
    TransactionSuggestions?: {
      '*'?: gm.Middleware[];
      business?: gm.Middleware[];
    };
    Mutation?: {
      '*'?: gm.Middleware[];
      updateTransaction?: gm.Middleware[];
      updateTransactions?: gm.Middleware[];
    };
    CommonCharge?: {
      '*'?: gm.Middleware[];
      transactions?: gm.Middleware[];
    };
    FinancialCharge?: {
      '*'?: gm.Middleware[];
      transactions?: gm.Middleware[];
    };
    ConversionCharge?: {
      '*'?: gm.Middleware[];
      transactions?: gm.Middleware[];
    };
    SalaryCharge?: {
      '*'?: gm.Middleware[];
      transactions?: gm.Middleware[];
    };
    InternalTransferCharge?: {
      '*'?: gm.Middleware[];
      transactions?: gm.Middleware[];
    };
    DividendCharge?: {
      '*'?: gm.Middleware[];
      transactions?: gm.Middleware[];
    };
    BusinessTripCharge?: {
      '*'?: gm.Middleware[];
      transactions?: gm.Middleware[];
    };
    MonthlyVatCharge?: {
      '*'?: gm.Middleware[];
      transactions?: gm.Middleware[];
    };
    BankDepositCharge?: {
      '*'?: gm.Middleware[];
      transactions?: gm.Middleware[];
    };
    ForeignSecuritiesCharge?: {
      '*'?: gm.Middleware[];
      transactions?: gm.Middleware[];
    };
    UpdatedTransactionsSuccessfulResult?: {
      '*'?: gm.Middleware[];
      transactions?: gm.Middleware[];
    };
  };
}