added allowedPartyType to partyDetails