InviteUserToBlocks

Command definition

This command is used to initiate a new invite to blocks users. The command will create any missing accounts and or account users that are required to access the marketplace. If the user does not have a Carta account, this command will send them a registration invitation to join Carta as well.

structs::commands::InviteUserToBlocks

This command is used to initiate a new invite to blocks users. The command will create any missing accounts and or account users that are required to access the marketplace. If the user does not have a Carta account, this command will send them a registration invitation to join Carta as well.

Fields

Capabilities: AccountCapability[]source

AccountInformation: BlocksInviteNewAccount | BlocksInviteExistingAccountsource

AccountUserInformation: BlocksInviteNewAccountUser | BlocksInviteExistingAccountUser | BlocksInviteRegisterCartaUser[]source

SuppressEmailInvite: boolsource

optionalInvitationExpirationDays: u8source

The number of days after which the invitation will expire.

optionalInvitationReminderDays: Setsource

The number of days after which the invitation will be resent. This is a set of days, so multiple reminders can be sent.

optionalAccountCoverageUser: Id<User>source

The staff user who will provide coverage for the invited account.

Result

Success

If successful, an OK outcome will be produced.

In addition, one of the following models may be produced:

Error

If unsuccessful, one of the following error types will be produced:

Producers

Produced by the following services:

Consumers

Consumed by the following services: