Pending team invitations. Needs :team_token.
Every function takes the options timeout: (milliseconds) last.
Summary
Functions
Invites a person to the team and sends the invitation email. The team needs a free seat, and the Owner role cannot be assigned.
Streams every pending invitation, following next_cursor. Raises the error of a failed page request.
Lists pending invitations, one page at a time. query: Lettermint.Types.ListTeamInvitesQuery.t/0.
Retrieves a pending invitation.
Revokes a pending invitation.
Replaces the email, role and project access of a pending invitation. A new invitation email is sent only when the address changes.
Types
@type result(value) :: {:ok, value} | {:error, Lettermint.Error.t()}
Functions
@spec create( Lettermint.Client.t(), Lettermint.Types.CreateTeamInviteData.t() | map(), keyword() ) :: result(Lettermint.Types.TeamInviteData.t())
Invites a person to the team and sends the invitation email. The team needs a free seat, and the Owner role cannot be assigned.
@spec iterate( Lettermint.Client.t(), Lettermint.Types.ListTeamInvitesQuery.t(), keyword() ) :: Enumerable.t(Lettermint.Types.TeamInviteData.t())
Streams every pending invitation, following next_cursor. Raises the error of a failed page request.
@spec list( Lettermint.Client.t(), Lettermint.Types.ListTeamInvitesQuery.t(), keyword() ) :: result(Lettermint.Types.ListTeamInvitesResponse.t())
Lists pending invitations, one page at a time. query: Lettermint.Types.ListTeamInvitesQuery.t/0.
@spec retrieve(Lettermint.Client.t(), String.t(), keyword()) :: result(Lettermint.Types.TeamInviteData.t())
Retrieves a pending invitation.
@spec revoke(Lettermint.Client.t(), String.t(), keyword()) :: result(Lettermint.Types.MessageResponse.t())
Revokes a pending invitation.
@spec update( Lettermint.Client.t(), String.t(), Lettermint.Types.UpdateTeamInviteData.t() | map(), keyword() ) :: result(Lettermint.Types.TeamInviteData.t())
Replaces the email, role and project access of a pending invitation. A new invitation email is sent only when the address changes.