in teamcity-invitations-plugin-server/src/main/java/org/jetbrains/teamcity/invitations/AbstractInvitation.java [30:40]
protected AbstractInvitation(@NotNull SProject project, String name, @NotNull String token, boolean multi, InvitationType type, long createdByUserId,
@NotNull String welcomeText) {
this.token = token;
this.multi = multi;
this.type = type;
this.name = name;
this.createdByUserId = createdByUserId;
this.project = project;
this.welcomeText = welcomeText;
this.enabled = true;
}