import * as Types from "../../../__generated__/types.js";
import * as gm from "graphql-modules";
export namespace FinancialAccountsModule {
  interface DefinedFields {
    Query: 'allFinancialAccounts' | 'financialAccountsByOwner' | 'financialAccount';
    Mutation: 'deleteFinancialAccount' | 'createFinancialAccount' | 'updateFinancialAccount';
    CurrencyTaxCategory: 'id' | 'currency' | 'taxCategory';
    CardFinancialAccount: 'id' | 'name' | 'type' | 'privateOrBusiness' | 'accountTaxCategories' | 'number' | 'fourDigits';
    CryptoWalletFinancialAccount: 'id' | 'name' | 'type' | 'privateOrBusiness' | 'accountTaxCategories' | 'number';
    ForeignSecuritiesFinancialAccount: 'id' | 'name' | 'type' | 'privateOrBusiness' | 'accountTaxCategories' | 'number';
    BankDepositFinancialAccount: 'id' | 'name' | 'type' | 'privateOrBusiness' | 'accountTaxCategories' | 'number';
    BankFinancialAccount: 'id' | 'name' | 'number' | 'type' | 'privateOrBusiness' | 'accountTaxCategories' | 'accountNumber' | 'bankNumber' | 'branchNumber' | 'iban' | 'swiftCode' | 'extendedBankNumber' | 'partyPreferredIndication' | 'partyAccountInvolvementCode' | 'accountDealDate' | 'accountUpdateDate' | 'metegDoarNet' | 'kodHarshaatPeilut' | 'accountClosingReasonCode' | 'accountAgreementOpeningDate' | 'serviceAuthorizationDesc' | 'branchTypeCode' | 'mymailEntitlementSwitch' | 'productLabel';
    CommonTransaction: 'account';
    ConversionTransaction: 'account';
    LtdFinancialEntity: 'accounts';
    PersonalFinancialEntity: 'accounts';
    FinancialAccount: 'id' | 'name' | 'number' | 'type' | 'privateOrBusiness' | 'accountTaxCategories';
    Transaction: 'account';
    Business: 'accounts';
  };
  
  interface DefinedEnumValues {
    FinancialAccountType: 'BANK_ACCOUNT' | 'CREDIT_CARD' | 'CRYPTO_WALLET' | 'BANK_DEPOSIT_ACCOUNT' | 'FOREIGN_SECURITIES';
    PrivateOrBusinessType: 'PRIVATE' | 'BUSINESS';
  };
  
  interface DefinedInputFields {
    CreateFinancialAccountInput: 'number' | 'name' | 'ownerId' | 'type' | 'privateOrBusiness' | 'bankAccountDetails' | 'currencies';
    UpdateFinancialAccountInput: 'number' | 'name' | 'ownerId' | 'type' | 'privateOrBusiness' | 'bankAccountDetails' | 'currencies';
    FinancialAccountCurrencyInput: 'currency' | 'taxCategoryId';
    BankAccountInsertInput: 'bankNumber' | 'branchNumber' | 'iban' | 'swiftCode' | 'extendedBankNumber' | 'partyPreferredIndication' | 'partyAccountInvolvementCode' | 'accountDealDate' | 'accountUpdateDate' | 'metegDoarNet' | 'kodHarshaatPeilut' | 'accountClosingReasonCode' | 'accountAgreementOpeningDate' | 'serviceAuthorizationDesc' | 'branchTypeCode' | 'mymailEntitlementSwitch' | 'productLabel';
    BankAccountUpdateInput: 'bankNumber' | 'branchNumber' | 'iban' | 'swiftCode' | 'extendedBankNumber' | 'partyPreferredIndication' | 'partyAccountInvolvementCode' | 'accountDealDate' | 'accountUpdateDate' | 'metegDoarNet' | 'kodHarshaatPeilut' | 'accountClosingReasonCode' | 'accountAgreementOpeningDate' | 'serviceAuthorizationDesc' | 'branchTypeCode' | 'mymailEntitlementSwitch' | 'productLabel';
  };
  
  export type Query = Pick<Types.Query, DefinedFields['Query']>;
  export type FinancialAccount = Pick<Types.FinancialAccount, DefinedFields['FinancialAccount']>;
  export type UUID = Types.Uuid;
  export type Mutation = Pick<Types.Mutation, DefinedFields['Mutation']>;
  export type CreateFinancialAccountInput = Pick<Types.CreateFinancialAccountInput, DefinedInputFields['CreateFinancialAccountInput']>;
  export type UpdateFinancialAccountInput = Pick<Types.UpdateFinancialAccountInput, DefinedInputFields['UpdateFinancialAccountInput']>;
  export type FinancialAccountType = DefinedEnumValues['FinancialAccountType'];
  export type PrivateOrBusinessType = DefinedEnumValues['PrivateOrBusinessType'];
  export type CurrencyTaxCategory = Pick<Types.CurrencyTaxCategory, DefinedFields['CurrencyTaxCategory']>;
  export type Currency = Types.Currency;
  export type TaxCategory = Types.TaxCategory;
  export type CardFinancialAccount = Pick<Types.CardFinancialAccount, DefinedFields['CardFinancialAccount']>;
  export type CryptoWalletFinancialAccount = Pick<Types.CryptoWalletFinancialAccount, DefinedFields['CryptoWalletFinancialAccount']>;
  export type ForeignSecuritiesFinancialAccount = Pick<Types.ForeignSecuritiesFinancialAccount, DefinedFields['ForeignSecuritiesFinancialAccount']>;
  export type BankDepositFinancialAccount = Pick<Types.BankDepositFinancialAccount, DefinedFields['BankDepositFinancialAccount']>;
  export type BankAccountInsertInput = Pick<Types.BankAccountInsertInput, DefinedInputFields['BankAccountInsertInput']>;
  export type FinancialAccountCurrencyInput = Pick<Types.FinancialAccountCurrencyInput, DefinedInputFields['FinancialAccountCurrencyInput']>;
  export type BankAccountUpdateInput = Pick<Types.BankAccountUpdateInput, DefinedInputFields['BankAccountUpdateInput']>;
  export type Transaction = Types.Transaction;
  export type CommonTransaction = Types.CommonTransaction;
  export type ConversionTransaction = Types.ConversionTransaction;
  export type LtdFinancialEntity = Types.LtdFinancialEntity;
  export type PersonalFinancialEntity = Types.PersonalFinancialEntity;
  export type Business = Types.Business;
  export type BankFinancialAccount = Pick<Types.BankFinancialAccount, DefinedFields['BankFinancialAccount']>;
  
  export type QueryResolvers = Pick<Types.QueryResolvers, DefinedFields['Query']>;
  export type MutationResolvers = Pick<Types.MutationResolvers, DefinedFields['Mutation']>;
  export type CurrencyTaxCategoryResolvers = Pick<Types.CurrencyTaxCategoryResolvers, DefinedFields['CurrencyTaxCategory']>;
  export type CardFinancialAccountResolvers = Pick<Types.CardFinancialAccountResolvers, DefinedFields['CardFinancialAccount'] | '__isTypeOf'>;
  export type CryptoWalletFinancialAccountResolvers = Pick<Types.CryptoWalletFinancialAccountResolvers, DefinedFields['CryptoWalletFinancialAccount'] | '__isTypeOf'>;
  export type ForeignSecuritiesFinancialAccountResolvers = Pick<Types.ForeignSecuritiesFinancialAccountResolvers, DefinedFields['ForeignSecuritiesFinancialAccount'] | '__isTypeOf'>;
  export type BankDepositFinancialAccountResolvers = Pick<Types.BankDepositFinancialAccountResolvers, DefinedFields['BankDepositFinancialAccount'] | '__isTypeOf'>;
  export type BankFinancialAccountResolvers = Pick<Types.BankFinancialAccountResolvers, DefinedFields['BankFinancialAccount'] | '__isTypeOf'>;
  export type CommonTransactionResolvers = Pick<Types.CommonTransactionResolvers, DefinedFields['CommonTransaction']>;
  export type ConversionTransactionResolvers = Pick<Types.ConversionTransactionResolvers, DefinedFields['ConversionTransaction']>;
  export type LtdFinancialEntityResolvers = Pick<Types.LtdFinancialEntityResolvers, DefinedFields['LtdFinancialEntity']>;
  export type PersonalFinancialEntityResolvers = Pick<Types.PersonalFinancialEntityResolvers, DefinedFields['PersonalFinancialEntity']>;
  export type FinancialAccountResolvers = Pick<Types.FinancialAccountResolvers, DefinedFields['FinancialAccount']>;
  export type TransactionResolvers = Pick<Types.TransactionResolvers, DefinedFields['Transaction']>;
  export type BusinessResolvers = Pick<Types.BusinessResolvers, DefinedFields['Business']>;
  
  export interface Resolvers {
    Query?: QueryResolvers;
    Mutation?: MutationResolvers;
    CurrencyTaxCategory?: CurrencyTaxCategoryResolvers;
    CardFinancialAccount?: CardFinancialAccountResolvers;
    CryptoWalletFinancialAccount?: CryptoWalletFinancialAccountResolvers;
    ForeignSecuritiesFinancialAccount?: ForeignSecuritiesFinancialAccountResolvers;
    BankDepositFinancialAccount?: BankDepositFinancialAccountResolvers;
    BankFinancialAccount?: BankFinancialAccountResolvers;
    CommonTransaction?: CommonTransactionResolvers;
    ConversionTransaction?: ConversionTransactionResolvers;
    LtdFinancialEntity?: LtdFinancialEntityResolvers;
    PersonalFinancialEntity?: PersonalFinancialEntityResolvers;
  };
  
  export interface MiddlewareMap {
    '*'?: {
      '*'?: gm.Middleware[];
    };
    Query?: {
      '*'?: gm.Middleware[];
      allFinancialAccounts?: gm.Middleware[];
      financialAccountsByOwner?: gm.Middleware[];
      financialAccount?: gm.Middleware[];
    };
    Mutation?: {
      '*'?: gm.Middleware[];
      deleteFinancialAccount?: gm.Middleware[];
      createFinancialAccount?: gm.Middleware[];
      updateFinancialAccount?: gm.Middleware[];
    };
    CurrencyTaxCategory?: {
      '*'?: gm.Middleware[];
      id?: gm.Middleware[];
      currency?: gm.Middleware[];
      taxCategory?: gm.Middleware[];
    };
    CardFinancialAccount?: {
      '*'?: gm.Middleware[];
      id?: gm.Middleware[];
      name?: gm.Middleware[];
      type?: gm.Middleware[];
      privateOrBusiness?: gm.Middleware[];
      accountTaxCategories?: gm.Middleware[];
      number?: gm.Middleware[];
      fourDigits?: gm.Middleware[];
    };
    CryptoWalletFinancialAccount?: {
      '*'?: gm.Middleware[];
      id?: gm.Middleware[];
      name?: gm.Middleware[];
      type?: gm.Middleware[];
      privateOrBusiness?: gm.Middleware[];
      accountTaxCategories?: gm.Middleware[];
      number?: gm.Middleware[];
    };
    ForeignSecuritiesFinancialAccount?: {
      '*'?: gm.Middleware[];
      id?: gm.Middleware[];
      name?: gm.Middleware[];
      type?: gm.Middleware[];
      privateOrBusiness?: gm.Middleware[];
      accountTaxCategories?: gm.Middleware[];
      number?: gm.Middleware[];
    };
    BankDepositFinancialAccount?: {
      '*'?: gm.Middleware[];
      id?: gm.Middleware[];
      name?: gm.Middleware[];
      type?: gm.Middleware[];
      privateOrBusiness?: gm.Middleware[];
      accountTaxCategories?: gm.Middleware[];
      number?: gm.Middleware[];
    };
    CommonTransaction?: {
      '*'?: gm.Middleware[];
      account?: gm.Middleware[];
    };
    ConversionTransaction?: {
      '*'?: gm.Middleware[];
      account?: gm.Middleware[];
    };
    LtdFinancialEntity?: {
      '*'?: gm.Middleware[];
      accounts?: gm.Middleware[];
    };
    PersonalFinancialEntity?: {
      '*'?: gm.Middleware[];
      accounts?: gm.Middleware[];
    };
    BankFinancialAccount?: {
      '*'?: gm.Middleware[];
      id?: gm.Middleware[];
      name?: gm.Middleware[];
      number?: gm.Middleware[];
      type?: gm.Middleware[];
      privateOrBusiness?: gm.Middleware[];
      accountTaxCategories?: gm.Middleware[];
      accountNumber?: gm.Middleware[];
      bankNumber?: gm.Middleware[];
      branchNumber?: gm.Middleware[];
      iban?: gm.Middleware[];
      swiftCode?: gm.Middleware[];
      extendedBankNumber?: gm.Middleware[];
      partyPreferredIndication?: gm.Middleware[];
      partyAccountInvolvementCode?: gm.Middleware[];
      accountDealDate?: gm.Middleware[];
      accountUpdateDate?: gm.Middleware[];
      metegDoarNet?: gm.Middleware[];
      kodHarshaatPeilut?: gm.Middleware[];
      accountClosingReasonCode?: gm.Middleware[];
      accountAgreementOpeningDate?: gm.Middleware[];
      serviceAuthorizationDesc?: gm.Middleware[];
      branchTypeCode?: gm.Middleware[];
      mymailEntitlementSwitch?: gm.Middleware[];
      productLabel?: gm.Middleware[];
    };
  };
}