js-bao-wss-client / AppInvitationInfo
Interface: AppInvitationInfo
An app-level invitation, as returned by invitations.create(), invitations.get(), and each item of invitations.list(). Carries the invitee's email, the assigned role, and the inviteToken used to build an accept-page link.
Properties
accepted
accepted:
boolean
acceptedAt?
optionalacceptedAt?:string
appId?
optionalappId?:string
email
email:
string
expiresAt?
optionalexpiresAt?:string
invitationId
invitationId:
string
invitedAt
invitedAt:
string
invitedBy
invitedBy:
string
inviteToken?
optionalinviteToken?:string|null
Tokenized accept token — combine with your app's accept-page URL to build a working CTA (e.g. ${baseUrl}/invite/accept?inviteToken=…). null only for legacy rows that have not been upgraded yet — new invitations always have one.
note?
optionalnote?:string|null
role
role:
string
source?
optionalsource?:string|null
status?
optionalstatus?:"pending"|"expired"|"accepted"
Lifecycle status. Returned by invitations.get(). Not present on list responses.