parseInvitation

Parses the given string as an invitation

Return

The parsed invitation InvitationType

Parameters

str

The string to parse

Throws

if the invitation is not a valid Prism or OOB type

if Serialization failed