package tempuser import ( "context" "github.com/grafana/grafana/pkg/models" ) type Service interface { UpdateTempUserStatus(ctx context.Context, cmd *models.UpdateTempUserStatusCommand) error CreateTempUser(ctx context.Context, cmd *models.CreateTempUserCommand) error UpdateTempUserWithEmailSent(ctx context.Context, cmd *models.UpdateTempUserWithEmailSentCommand) error GetTempUsersQuery(ctx context.Context, query *models.GetTempUsersQuery) error GetTempUserByCode(ctx context.Context, query *models.GetTempUserByCodeQuery) error ExpireOldUserInvites(ctx context.Context, cmd *models.ExpireTempUsersCommand) error }