mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-09 15:45:12 +00:00
# Which Problems Are Solved The following terms have all been renamed to management console: - Customer Portal (when used to mean the console) - Console - Admin Console # How the Problems Are Solved - Search & Replace smartly - Use Copilot for translation files Changes done to: backend + frontend codebase, docs, translations and protobufs (descriptions only) # Additional Context - Partially Closes #11279
28 lines
1.6 KiB
Go
28 lines
1.6 KiB
Go
package handlers
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/zitadel/zitadel/internal/notification/senders"
|
|
"github.com/zitadel/zitadel/internal/repository/milestone"
|
|
"github.com/zitadel/zitadel/internal/repository/quota"
|
|
)
|
|
|
|
//go:generate mockgen -typed -package mock -destination ./mock/commands.mock.go . Commands
|
|
type Commands interface {
|
|
HumanInitCodeSent(ctx context.Context, orgID, userID string) error
|
|
HumanEmailVerificationCodeSent(ctx context.Context, orgID, userID string) error
|
|
PasswordCodeSent(ctx context.Context, orgID, userID string, generatorInfo *senders.CodeGeneratorInfo) error
|
|
HumanOTPSMSCodeSent(ctx context.Context, userID, resourceOwner string, generatorInfo *senders.CodeGeneratorInfo) error
|
|
HumanOTPEmailCodeSent(ctx context.Context, userID, resourceOwner string) error
|
|
OTPSMSSent(ctx context.Context, sessionID, resourceOwner string, generatorInfo *senders.CodeGeneratorInfo) error
|
|
OTPEmailSent(ctx context.Context, sessionID, resourceOwner string) error
|
|
UserDomainClaimedSent(ctx context.Context, orgID, userID string) error
|
|
HumanPasswordlessInitCodeSent(ctx context.Context, userID, resourceOwner, codeID string) error
|
|
PasswordChangeSent(ctx context.Context, orgID, userID string) error
|
|
HumanPhoneVerificationCodeSent(ctx context.Context, orgID, userID string, generatorInfo *senders.CodeGeneratorInfo) error
|
|
InviteCodeSent(ctx context.Context, orgID, userID string) error
|
|
UsageNotificationSent(ctx context.Context, dueEvent *quota.NotificationDueEvent) error
|
|
MilestonePushed(ctx context.Context, instanceID string, msType milestone.Type, endpoints []string) error
|
|
}
|