Skip to main content

SCInviteType

Interface SCInviteType. Invite Code Schema.

Properties

PropertyTypeDescription
codestringThe invitation code
emailstringThe invitation email
extra_dataRecord<string, any>An object containing extra information
generated_atDateThe date when the invitation code was generated
idnumberThe ID of the user.
invited_bynumberThe ID of the user who sent the invite.
namestringThe invitation name
rolestringThe user role
sent_atnull | DateThe date when the invitation code was sent to the user
used_atnull | DateThe date when the invitation code was used by the user
usernull | SCUserTypeThe user object associated to this invite code (if used_at is not null)