inline fun <reified T : DealState> VaultService.dealsWith(party: AbstractParty): List<StateAndRef<T>>