import { DebtTransactionWasCreated } from './debt-transaction-was-created.event' ; import { DepositTransactionWasCreated } from './deposit-transaction-was-created.event' ; import { TransferTransactionWasCreated } from './transfer-transaction-was-created.event' ; import { DebtTransactionWasRemoved } from './debt-transaction-was-removed.event' ; import { DepositTransactionWasRemoved } from './deposit-transaction-was-removed.event' ; import { TransferTransactionWasRemoved } from './transfer-transaction-was-removed.event' ; export const transactionEventHandlers = { DebtTransactionWasCreated : ( id , idMember , idBill , money , currencyCode ) => new DebtTransactionWasCreated ( id , idMember , idBill , money , currencyCode ) , DepositTransactionWasCreated : ( id , idMember , idBill , money , currencyCode ) => new DepositTransactionWasCreated ( id , idMember , idBill , money , currencyCode ) , TransferTransactionWasCreated : ( id , idSender , idBeneficiary , money , currencyCode , idGroup ) => new TransferTransactionWasCreated ( id , idSender , idBeneficiary , money , currencyCode , idGroup ) , DebtTransactionWasRemoved : ( id , idMember , money ) => new DebtTransactionWasRemoved ( id , idMember , money ) , DepositTransactionWasRemoved : ( id , idMember , money ) => new DepositTransactionWasRemoved ( id , idMember , money ) , TransferTransactionWasRemoved : ( id , idSender , idBeneficiary , money ) => new TransferTransactionWasRemoved ( id , idSender , idBeneficiary , money ) , } ;