make types for transactionType and transactionFor
use int64 for all object IDs