mirror of
https://github.com/andwati/zitadel.git
synced 2026-12-04 18:08:50 +00:00
chore: management console naming inconsistency (#11390)
# 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
This commit is contained in:
@@ -8,6 +8,7 @@ import (
|
||||
"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
|
||||
|
||||
@@ -56,8 +56,8 @@ func TestServer_TelemetryPushMilestones(t *testing.T) {
|
||||
// create the session to be used for the authN of the clients
|
||||
sessionID, sessionToken, _, _ := instance.CreatePasswordSession(t, iamOwnerCtx, instance.AdminUserID, "Password1!")
|
||||
|
||||
console := consoleOIDCConfig(t, instance)
|
||||
loginToClient(t, instance, console.GetClientId(), console.GetRedirectUris()[0], sessionID, sessionToken)
|
||||
managementConsole := managementConsoleOIDCConfig(t, instance)
|
||||
loginToClient(t, instance, managementConsole.GetClientId(), managementConsole.GetRedirectUris()[0], sessionID, sessionToken)
|
||||
awaitMilestone(t, sub, instance.ID(), milestone.AuthenticationSucceededOnInstance)
|
||||
|
||||
// make sure the client has been projected
|
||||
@@ -98,7 +98,7 @@ func loginToClient(t *testing.T, instance *integration.Instance, clientID, redir
|
||||
require.NoError(t, err)
|
||||
}
|
||||
|
||||
func consoleOIDCConfig(t *testing.T, instance *integration.Instance) *app.OIDCConfig {
|
||||
func managementConsoleOIDCConfig(t *testing.T, instance *integration.Instance) *app.OIDCConfig {
|
||||
iamOwnerCtx := instance.WithAuthorization(CTX, integration.UserTypeIAMOwner)
|
||||
|
||||
projects, err := instance.Client.Mgmt.ListProjects(iamOwnerCtx, &management.ListProjectsRequest{
|
||||
@@ -121,7 +121,7 @@ func consoleOIDCConfig(t *testing.T, instance *integration.Instance) *app.OIDCCo
|
||||
{
|
||||
Query: &app.AppQuery_NameQuery{
|
||||
NameQuery: &app.AppNameQuery{
|
||||
Name: "Console",
|
||||
Name: "Management Console",
|
||||
Method: object.TextQueryMethod_TEXT_QUERY_METHOD_EQUALS,
|
||||
},
|
||||
},
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
//
|
||||
// Generated by this command:
|
||||
//
|
||||
// mockgen -package mock -destination ./mock/commands.mock.go github.com/zitadel/zitadel/internal/notification/handlers Commands
|
||||
// mockgen -typed -package mock -destination ./mock/commands.mock.go . Commands
|
||||
//
|
||||
|
||||
// Package mock is a generated GoMock package.
|
||||
@@ -23,6 +23,7 @@ import (
|
||||
type MockCommands struct {
|
||||
ctrl *gomock.Controller
|
||||
recorder *MockCommandsMockRecorder
|
||||
isgomock struct{}
|
||||
}
|
||||
|
||||
// MockCommandsMockRecorder is the mock recorder for MockCommands.
|
||||
@@ -43,197 +44,533 @@ func (m *MockCommands) EXPECT() *MockCommandsMockRecorder {
|
||||
}
|
||||
|
||||
// HumanEmailVerificationCodeSent mocks base method.
|
||||
func (m *MockCommands) HumanEmailVerificationCodeSent(arg0 context.Context, arg1, arg2 string) error {
|
||||
func (m *MockCommands) HumanEmailVerificationCodeSent(ctx context.Context, orgID, userID string) error {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "HumanEmailVerificationCodeSent", arg0, arg1, arg2)
|
||||
ret := m.ctrl.Call(m, "HumanEmailVerificationCodeSent", ctx, orgID, userID)
|
||||
ret0, _ := ret[0].(error)
|
||||
return ret0
|
||||
}
|
||||
|
||||
// HumanEmailVerificationCodeSent indicates an expected call of HumanEmailVerificationCodeSent.
|
||||
func (mr *MockCommandsMockRecorder) HumanEmailVerificationCodeSent(arg0, arg1, arg2 any) *gomock.Call {
|
||||
func (mr *MockCommandsMockRecorder) HumanEmailVerificationCodeSent(ctx, orgID, userID any) *MockCommandsHumanEmailVerificationCodeSentCall {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HumanEmailVerificationCodeSent", reflect.TypeOf((*MockCommands)(nil).HumanEmailVerificationCodeSent), arg0, arg1, arg2)
|
||||
call := mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HumanEmailVerificationCodeSent", reflect.TypeOf((*MockCommands)(nil).HumanEmailVerificationCodeSent), ctx, orgID, userID)
|
||||
return &MockCommandsHumanEmailVerificationCodeSentCall{Call: call}
|
||||
}
|
||||
|
||||
// MockCommandsHumanEmailVerificationCodeSentCall wrap *gomock.Call
|
||||
type MockCommandsHumanEmailVerificationCodeSentCall struct {
|
||||
*gomock.Call
|
||||
}
|
||||
|
||||
// Return rewrite *gomock.Call.Return
|
||||
func (c *MockCommandsHumanEmailVerificationCodeSentCall) Return(arg0 error) *MockCommandsHumanEmailVerificationCodeSentCall {
|
||||
c.Call = c.Call.Return(arg0)
|
||||
return c
|
||||
}
|
||||
|
||||
// Do rewrite *gomock.Call.Do
|
||||
func (c *MockCommandsHumanEmailVerificationCodeSentCall) Do(f func(context.Context, string, string) error) *MockCommandsHumanEmailVerificationCodeSentCall {
|
||||
c.Call = c.Call.Do(f)
|
||||
return c
|
||||
}
|
||||
|
||||
// DoAndReturn rewrite *gomock.Call.DoAndReturn
|
||||
func (c *MockCommandsHumanEmailVerificationCodeSentCall) DoAndReturn(f func(context.Context, string, string) error) *MockCommandsHumanEmailVerificationCodeSentCall {
|
||||
c.Call = c.Call.DoAndReturn(f)
|
||||
return c
|
||||
}
|
||||
|
||||
// HumanInitCodeSent mocks base method.
|
||||
func (m *MockCommands) HumanInitCodeSent(arg0 context.Context, arg1, arg2 string) error {
|
||||
func (m *MockCommands) HumanInitCodeSent(ctx context.Context, orgID, userID string) error {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "HumanInitCodeSent", arg0, arg1, arg2)
|
||||
ret := m.ctrl.Call(m, "HumanInitCodeSent", ctx, orgID, userID)
|
||||
ret0, _ := ret[0].(error)
|
||||
return ret0
|
||||
}
|
||||
|
||||
// HumanInitCodeSent indicates an expected call of HumanInitCodeSent.
|
||||
func (mr *MockCommandsMockRecorder) HumanInitCodeSent(arg0, arg1, arg2 any) *gomock.Call {
|
||||
func (mr *MockCommandsMockRecorder) HumanInitCodeSent(ctx, orgID, userID any) *MockCommandsHumanInitCodeSentCall {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HumanInitCodeSent", reflect.TypeOf((*MockCommands)(nil).HumanInitCodeSent), arg0, arg1, arg2)
|
||||
call := mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HumanInitCodeSent", reflect.TypeOf((*MockCommands)(nil).HumanInitCodeSent), ctx, orgID, userID)
|
||||
return &MockCommandsHumanInitCodeSentCall{Call: call}
|
||||
}
|
||||
|
||||
// MockCommandsHumanInitCodeSentCall wrap *gomock.Call
|
||||
type MockCommandsHumanInitCodeSentCall struct {
|
||||
*gomock.Call
|
||||
}
|
||||
|
||||
// Return rewrite *gomock.Call.Return
|
||||
func (c *MockCommandsHumanInitCodeSentCall) Return(arg0 error) *MockCommandsHumanInitCodeSentCall {
|
||||
c.Call = c.Call.Return(arg0)
|
||||
return c
|
||||
}
|
||||
|
||||
// Do rewrite *gomock.Call.Do
|
||||
func (c *MockCommandsHumanInitCodeSentCall) Do(f func(context.Context, string, string) error) *MockCommandsHumanInitCodeSentCall {
|
||||
c.Call = c.Call.Do(f)
|
||||
return c
|
||||
}
|
||||
|
||||
// DoAndReturn rewrite *gomock.Call.DoAndReturn
|
||||
func (c *MockCommandsHumanInitCodeSentCall) DoAndReturn(f func(context.Context, string, string) error) *MockCommandsHumanInitCodeSentCall {
|
||||
c.Call = c.Call.DoAndReturn(f)
|
||||
return c
|
||||
}
|
||||
|
||||
// HumanOTPEmailCodeSent mocks base method.
|
||||
func (m *MockCommands) HumanOTPEmailCodeSent(arg0 context.Context, arg1, arg2 string) error {
|
||||
func (m *MockCommands) HumanOTPEmailCodeSent(ctx context.Context, userID, resourceOwner string) error {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "HumanOTPEmailCodeSent", arg0, arg1, arg2)
|
||||
ret := m.ctrl.Call(m, "HumanOTPEmailCodeSent", ctx, userID, resourceOwner)
|
||||
ret0, _ := ret[0].(error)
|
||||
return ret0
|
||||
}
|
||||
|
||||
// HumanOTPEmailCodeSent indicates an expected call of HumanOTPEmailCodeSent.
|
||||
func (mr *MockCommandsMockRecorder) HumanOTPEmailCodeSent(arg0, arg1, arg2 any) *gomock.Call {
|
||||
func (mr *MockCommandsMockRecorder) HumanOTPEmailCodeSent(ctx, userID, resourceOwner any) *MockCommandsHumanOTPEmailCodeSentCall {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HumanOTPEmailCodeSent", reflect.TypeOf((*MockCommands)(nil).HumanOTPEmailCodeSent), arg0, arg1, arg2)
|
||||
call := mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HumanOTPEmailCodeSent", reflect.TypeOf((*MockCommands)(nil).HumanOTPEmailCodeSent), ctx, userID, resourceOwner)
|
||||
return &MockCommandsHumanOTPEmailCodeSentCall{Call: call}
|
||||
}
|
||||
|
||||
// MockCommandsHumanOTPEmailCodeSentCall wrap *gomock.Call
|
||||
type MockCommandsHumanOTPEmailCodeSentCall struct {
|
||||
*gomock.Call
|
||||
}
|
||||
|
||||
// Return rewrite *gomock.Call.Return
|
||||
func (c *MockCommandsHumanOTPEmailCodeSentCall) Return(arg0 error) *MockCommandsHumanOTPEmailCodeSentCall {
|
||||
c.Call = c.Call.Return(arg0)
|
||||
return c
|
||||
}
|
||||
|
||||
// Do rewrite *gomock.Call.Do
|
||||
func (c *MockCommandsHumanOTPEmailCodeSentCall) Do(f func(context.Context, string, string) error) *MockCommandsHumanOTPEmailCodeSentCall {
|
||||
c.Call = c.Call.Do(f)
|
||||
return c
|
||||
}
|
||||
|
||||
// DoAndReturn rewrite *gomock.Call.DoAndReturn
|
||||
func (c *MockCommandsHumanOTPEmailCodeSentCall) DoAndReturn(f func(context.Context, string, string) error) *MockCommandsHumanOTPEmailCodeSentCall {
|
||||
c.Call = c.Call.DoAndReturn(f)
|
||||
return c
|
||||
}
|
||||
|
||||
// HumanOTPSMSCodeSent mocks base method.
|
||||
func (m *MockCommands) HumanOTPSMSCodeSent(arg0 context.Context, arg1, arg2 string, arg3 *senders.CodeGeneratorInfo) error {
|
||||
func (m *MockCommands) HumanOTPSMSCodeSent(ctx context.Context, userID, resourceOwner string, generatorInfo *senders.CodeGeneratorInfo) error {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "HumanOTPSMSCodeSent", arg0, arg1, arg2, arg3)
|
||||
ret := m.ctrl.Call(m, "HumanOTPSMSCodeSent", ctx, userID, resourceOwner, generatorInfo)
|
||||
ret0, _ := ret[0].(error)
|
||||
return ret0
|
||||
}
|
||||
|
||||
// HumanOTPSMSCodeSent indicates an expected call of HumanOTPSMSCodeSent.
|
||||
func (mr *MockCommandsMockRecorder) HumanOTPSMSCodeSent(arg0, arg1, arg2, arg3 any) *gomock.Call {
|
||||
func (mr *MockCommandsMockRecorder) HumanOTPSMSCodeSent(ctx, userID, resourceOwner, generatorInfo any) *MockCommandsHumanOTPSMSCodeSentCall {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HumanOTPSMSCodeSent", reflect.TypeOf((*MockCommands)(nil).HumanOTPSMSCodeSent), arg0, arg1, arg2, arg3)
|
||||
call := mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HumanOTPSMSCodeSent", reflect.TypeOf((*MockCommands)(nil).HumanOTPSMSCodeSent), ctx, userID, resourceOwner, generatorInfo)
|
||||
return &MockCommandsHumanOTPSMSCodeSentCall{Call: call}
|
||||
}
|
||||
|
||||
// MockCommandsHumanOTPSMSCodeSentCall wrap *gomock.Call
|
||||
type MockCommandsHumanOTPSMSCodeSentCall struct {
|
||||
*gomock.Call
|
||||
}
|
||||
|
||||
// Return rewrite *gomock.Call.Return
|
||||
func (c *MockCommandsHumanOTPSMSCodeSentCall) Return(arg0 error) *MockCommandsHumanOTPSMSCodeSentCall {
|
||||
c.Call = c.Call.Return(arg0)
|
||||
return c
|
||||
}
|
||||
|
||||
// Do rewrite *gomock.Call.Do
|
||||
func (c *MockCommandsHumanOTPSMSCodeSentCall) Do(f func(context.Context, string, string, *senders.CodeGeneratorInfo) error) *MockCommandsHumanOTPSMSCodeSentCall {
|
||||
c.Call = c.Call.Do(f)
|
||||
return c
|
||||
}
|
||||
|
||||
// DoAndReturn rewrite *gomock.Call.DoAndReturn
|
||||
func (c *MockCommandsHumanOTPSMSCodeSentCall) DoAndReturn(f func(context.Context, string, string, *senders.CodeGeneratorInfo) error) *MockCommandsHumanOTPSMSCodeSentCall {
|
||||
c.Call = c.Call.DoAndReturn(f)
|
||||
return c
|
||||
}
|
||||
|
||||
// HumanPasswordlessInitCodeSent mocks base method.
|
||||
func (m *MockCommands) HumanPasswordlessInitCodeSent(arg0 context.Context, arg1, arg2, arg3 string) error {
|
||||
func (m *MockCommands) HumanPasswordlessInitCodeSent(ctx context.Context, userID, resourceOwner, codeID string) error {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "HumanPasswordlessInitCodeSent", arg0, arg1, arg2, arg3)
|
||||
ret := m.ctrl.Call(m, "HumanPasswordlessInitCodeSent", ctx, userID, resourceOwner, codeID)
|
||||
ret0, _ := ret[0].(error)
|
||||
return ret0
|
||||
}
|
||||
|
||||
// HumanPasswordlessInitCodeSent indicates an expected call of HumanPasswordlessInitCodeSent.
|
||||
func (mr *MockCommandsMockRecorder) HumanPasswordlessInitCodeSent(arg0, arg1, arg2, arg3 any) *gomock.Call {
|
||||
func (mr *MockCommandsMockRecorder) HumanPasswordlessInitCodeSent(ctx, userID, resourceOwner, codeID any) *MockCommandsHumanPasswordlessInitCodeSentCall {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HumanPasswordlessInitCodeSent", reflect.TypeOf((*MockCommands)(nil).HumanPasswordlessInitCodeSent), arg0, arg1, arg2, arg3)
|
||||
call := mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HumanPasswordlessInitCodeSent", reflect.TypeOf((*MockCommands)(nil).HumanPasswordlessInitCodeSent), ctx, userID, resourceOwner, codeID)
|
||||
return &MockCommandsHumanPasswordlessInitCodeSentCall{Call: call}
|
||||
}
|
||||
|
||||
// MockCommandsHumanPasswordlessInitCodeSentCall wrap *gomock.Call
|
||||
type MockCommandsHumanPasswordlessInitCodeSentCall struct {
|
||||
*gomock.Call
|
||||
}
|
||||
|
||||
// Return rewrite *gomock.Call.Return
|
||||
func (c *MockCommandsHumanPasswordlessInitCodeSentCall) Return(arg0 error) *MockCommandsHumanPasswordlessInitCodeSentCall {
|
||||
c.Call = c.Call.Return(arg0)
|
||||
return c
|
||||
}
|
||||
|
||||
// Do rewrite *gomock.Call.Do
|
||||
func (c *MockCommandsHumanPasswordlessInitCodeSentCall) Do(f func(context.Context, string, string, string) error) *MockCommandsHumanPasswordlessInitCodeSentCall {
|
||||
c.Call = c.Call.Do(f)
|
||||
return c
|
||||
}
|
||||
|
||||
// DoAndReturn rewrite *gomock.Call.DoAndReturn
|
||||
func (c *MockCommandsHumanPasswordlessInitCodeSentCall) DoAndReturn(f func(context.Context, string, string, string) error) *MockCommandsHumanPasswordlessInitCodeSentCall {
|
||||
c.Call = c.Call.DoAndReturn(f)
|
||||
return c
|
||||
}
|
||||
|
||||
// HumanPhoneVerificationCodeSent mocks base method.
|
||||
func (m *MockCommands) HumanPhoneVerificationCodeSent(arg0 context.Context, arg1, arg2 string, arg3 *senders.CodeGeneratorInfo) error {
|
||||
func (m *MockCommands) HumanPhoneVerificationCodeSent(ctx context.Context, orgID, userID string, generatorInfo *senders.CodeGeneratorInfo) error {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "HumanPhoneVerificationCodeSent", arg0, arg1, arg2, arg3)
|
||||
ret := m.ctrl.Call(m, "HumanPhoneVerificationCodeSent", ctx, orgID, userID, generatorInfo)
|
||||
ret0, _ := ret[0].(error)
|
||||
return ret0
|
||||
}
|
||||
|
||||
// HumanPhoneVerificationCodeSent indicates an expected call of HumanPhoneVerificationCodeSent.
|
||||
func (mr *MockCommandsMockRecorder) HumanPhoneVerificationCodeSent(arg0, arg1, arg2, arg3 any) *gomock.Call {
|
||||
func (mr *MockCommandsMockRecorder) HumanPhoneVerificationCodeSent(ctx, orgID, userID, generatorInfo any) *MockCommandsHumanPhoneVerificationCodeSentCall {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HumanPhoneVerificationCodeSent", reflect.TypeOf((*MockCommands)(nil).HumanPhoneVerificationCodeSent), arg0, arg1, arg2, arg3)
|
||||
call := mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HumanPhoneVerificationCodeSent", reflect.TypeOf((*MockCommands)(nil).HumanPhoneVerificationCodeSent), ctx, orgID, userID, generatorInfo)
|
||||
return &MockCommandsHumanPhoneVerificationCodeSentCall{Call: call}
|
||||
}
|
||||
|
||||
// MockCommandsHumanPhoneVerificationCodeSentCall wrap *gomock.Call
|
||||
type MockCommandsHumanPhoneVerificationCodeSentCall struct {
|
||||
*gomock.Call
|
||||
}
|
||||
|
||||
// Return rewrite *gomock.Call.Return
|
||||
func (c *MockCommandsHumanPhoneVerificationCodeSentCall) Return(arg0 error) *MockCommandsHumanPhoneVerificationCodeSentCall {
|
||||
c.Call = c.Call.Return(arg0)
|
||||
return c
|
||||
}
|
||||
|
||||
// Do rewrite *gomock.Call.Do
|
||||
func (c *MockCommandsHumanPhoneVerificationCodeSentCall) Do(f func(context.Context, string, string, *senders.CodeGeneratorInfo) error) *MockCommandsHumanPhoneVerificationCodeSentCall {
|
||||
c.Call = c.Call.Do(f)
|
||||
return c
|
||||
}
|
||||
|
||||
// DoAndReturn rewrite *gomock.Call.DoAndReturn
|
||||
func (c *MockCommandsHumanPhoneVerificationCodeSentCall) DoAndReturn(f func(context.Context, string, string, *senders.CodeGeneratorInfo) error) *MockCommandsHumanPhoneVerificationCodeSentCall {
|
||||
c.Call = c.Call.DoAndReturn(f)
|
||||
return c
|
||||
}
|
||||
|
||||
// InviteCodeSent mocks base method.
|
||||
func (m *MockCommands) InviteCodeSent(arg0 context.Context, arg1, arg2 string) error {
|
||||
func (m *MockCommands) InviteCodeSent(ctx context.Context, orgID, userID string) error {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "InviteCodeSent", arg0, arg1, arg2)
|
||||
ret := m.ctrl.Call(m, "InviteCodeSent", ctx, orgID, userID)
|
||||
ret0, _ := ret[0].(error)
|
||||
return ret0
|
||||
}
|
||||
|
||||
// InviteCodeSent indicates an expected call of InviteCodeSent.
|
||||
func (mr *MockCommandsMockRecorder) InviteCodeSent(arg0, arg1, arg2 any) *gomock.Call {
|
||||
func (mr *MockCommandsMockRecorder) InviteCodeSent(ctx, orgID, userID any) *MockCommandsInviteCodeSentCall {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "InviteCodeSent", reflect.TypeOf((*MockCommands)(nil).InviteCodeSent), arg0, arg1, arg2)
|
||||
call := mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "InviteCodeSent", reflect.TypeOf((*MockCommands)(nil).InviteCodeSent), ctx, orgID, userID)
|
||||
return &MockCommandsInviteCodeSentCall{Call: call}
|
||||
}
|
||||
|
||||
// MockCommandsInviteCodeSentCall wrap *gomock.Call
|
||||
type MockCommandsInviteCodeSentCall struct {
|
||||
*gomock.Call
|
||||
}
|
||||
|
||||
// Return rewrite *gomock.Call.Return
|
||||
func (c *MockCommandsInviteCodeSentCall) Return(arg0 error) *MockCommandsInviteCodeSentCall {
|
||||
c.Call = c.Call.Return(arg0)
|
||||
return c
|
||||
}
|
||||
|
||||
// Do rewrite *gomock.Call.Do
|
||||
func (c *MockCommandsInviteCodeSentCall) Do(f func(context.Context, string, string) error) *MockCommandsInviteCodeSentCall {
|
||||
c.Call = c.Call.Do(f)
|
||||
return c
|
||||
}
|
||||
|
||||
// DoAndReturn rewrite *gomock.Call.DoAndReturn
|
||||
func (c *MockCommandsInviteCodeSentCall) DoAndReturn(f func(context.Context, string, string) error) *MockCommandsInviteCodeSentCall {
|
||||
c.Call = c.Call.DoAndReturn(f)
|
||||
return c
|
||||
}
|
||||
|
||||
// MilestonePushed mocks base method.
|
||||
func (m *MockCommands) MilestonePushed(arg0 context.Context, arg1 string, arg2 milestone.Type, arg3 []string) error {
|
||||
func (m *MockCommands) MilestonePushed(ctx context.Context, instanceID string, msType milestone.Type, endpoints []string) error {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "MilestonePushed", arg0, arg1, arg2, arg3)
|
||||
ret := m.ctrl.Call(m, "MilestonePushed", ctx, instanceID, msType, endpoints)
|
||||
ret0, _ := ret[0].(error)
|
||||
return ret0
|
||||
}
|
||||
|
||||
// MilestonePushed indicates an expected call of MilestonePushed.
|
||||
func (mr *MockCommandsMockRecorder) MilestonePushed(arg0, arg1, arg2, arg3 any) *gomock.Call {
|
||||
func (mr *MockCommandsMockRecorder) MilestonePushed(ctx, instanceID, msType, endpoints any) *MockCommandsMilestonePushedCall {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MilestonePushed", reflect.TypeOf((*MockCommands)(nil).MilestonePushed), arg0, arg1, arg2, arg3)
|
||||
call := mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MilestonePushed", reflect.TypeOf((*MockCommands)(nil).MilestonePushed), ctx, instanceID, msType, endpoints)
|
||||
return &MockCommandsMilestonePushedCall{Call: call}
|
||||
}
|
||||
|
||||
// MockCommandsMilestonePushedCall wrap *gomock.Call
|
||||
type MockCommandsMilestonePushedCall struct {
|
||||
*gomock.Call
|
||||
}
|
||||
|
||||
// Return rewrite *gomock.Call.Return
|
||||
func (c *MockCommandsMilestonePushedCall) Return(arg0 error) *MockCommandsMilestonePushedCall {
|
||||
c.Call = c.Call.Return(arg0)
|
||||
return c
|
||||
}
|
||||
|
||||
// Do rewrite *gomock.Call.Do
|
||||
func (c *MockCommandsMilestonePushedCall) Do(f func(context.Context, string, milestone.Type, []string) error) *MockCommandsMilestonePushedCall {
|
||||
c.Call = c.Call.Do(f)
|
||||
return c
|
||||
}
|
||||
|
||||
// DoAndReturn rewrite *gomock.Call.DoAndReturn
|
||||
func (c *MockCommandsMilestonePushedCall) DoAndReturn(f func(context.Context, string, milestone.Type, []string) error) *MockCommandsMilestonePushedCall {
|
||||
c.Call = c.Call.DoAndReturn(f)
|
||||
return c
|
||||
}
|
||||
|
||||
// OTPEmailSent mocks base method.
|
||||
func (m *MockCommands) OTPEmailSent(arg0 context.Context, arg1, arg2 string) error {
|
||||
func (m *MockCommands) OTPEmailSent(ctx context.Context, sessionID, resourceOwner string) error {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "OTPEmailSent", arg0, arg1, arg2)
|
||||
ret := m.ctrl.Call(m, "OTPEmailSent", ctx, sessionID, resourceOwner)
|
||||
ret0, _ := ret[0].(error)
|
||||
return ret0
|
||||
}
|
||||
|
||||
// OTPEmailSent indicates an expected call of OTPEmailSent.
|
||||
func (mr *MockCommandsMockRecorder) OTPEmailSent(arg0, arg1, arg2 any) *gomock.Call {
|
||||
func (mr *MockCommandsMockRecorder) OTPEmailSent(ctx, sessionID, resourceOwner any) *MockCommandsOTPEmailSentCall {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "OTPEmailSent", reflect.TypeOf((*MockCommands)(nil).OTPEmailSent), arg0, arg1, arg2)
|
||||
call := mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "OTPEmailSent", reflect.TypeOf((*MockCommands)(nil).OTPEmailSent), ctx, sessionID, resourceOwner)
|
||||
return &MockCommandsOTPEmailSentCall{Call: call}
|
||||
}
|
||||
|
||||
// MockCommandsOTPEmailSentCall wrap *gomock.Call
|
||||
type MockCommandsOTPEmailSentCall struct {
|
||||
*gomock.Call
|
||||
}
|
||||
|
||||
// Return rewrite *gomock.Call.Return
|
||||
func (c *MockCommandsOTPEmailSentCall) Return(arg0 error) *MockCommandsOTPEmailSentCall {
|
||||
c.Call = c.Call.Return(arg0)
|
||||
return c
|
||||
}
|
||||
|
||||
// Do rewrite *gomock.Call.Do
|
||||
func (c *MockCommandsOTPEmailSentCall) Do(f func(context.Context, string, string) error) *MockCommandsOTPEmailSentCall {
|
||||
c.Call = c.Call.Do(f)
|
||||
return c
|
||||
}
|
||||
|
||||
// DoAndReturn rewrite *gomock.Call.DoAndReturn
|
||||
func (c *MockCommandsOTPEmailSentCall) DoAndReturn(f func(context.Context, string, string) error) *MockCommandsOTPEmailSentCall {
|
||||
c.Call = c.Call.DoAndReturn(f)
|
||||
return c
|
||||
}
|
||||
|
||||
// OTPSMSSent mocks base method.
|
||||
func (m *MockCommands) OTPSMSSent(arg0 context.Context, arg1, arg2 string, arg3 *senders.CodeGeneratorInfo) error {
|
||||
func (m *MockCommands) OTPSMSSent(ctx context.Context, sessionID, resourceOwner string, generatorInfo *senders.CodeGeneratorInfo) error {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "OTPSMSSent", arg0, arg1, arg2, arg3)
|
||||
ret := m.ctrl.Call(m, "OTPSMSSent", ctx, sessionID, resourceOwner, generatorInfo)
|
||||
ret0, _ := ret[0].(error)
|
||||
return ret0
|
||||
}
|
||||
|
||||
// OTPSMSSent indicates an expected call of OTPSMSSent.
|
||||
func (mr *MockCommandsMockRecorder) OTPSMSSent(arg0, arg1, arg2, arg3 any) *gomock.Call {
|
||||
func (mr *MockCommandsMockRecorder) OTPSMSSent(ctx, sessionID, resourceOwner, generatorInfo any) *MockCommandsOTPSMSSentCall {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "OTPSMSSent", reflect.TypeOf((*MockCommands)(nil).OTPSMSSent), arg0, arg1, arg2, arg3)
|
||||
call := mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "OTPSMSSent", reflect.TypeOf((*MockCommands)(nil).OTPSMSSent), ctx, sessionID, resourceOwner, generatorInfo)
|
||||
return &MockCommandsOTPSMSSentCall{Call: call}
|
||||
}
|
||||
|
||||
// MockCommandsOTPSMSSentCall wrap *gomock.Call
|
||||
type MockCommandsOTPSMSSentCall struct {
|
||||
*gomock.Call
|
||||
}
|
||||
|
||||
// Return rewrite *gomock.Call.Return
|
||||
func (c *MockCommandsOTPSMSSentCall) Return(arg0 error) *MockCommandsOTPSMSSentCall {
|
||||
c.Call = c.Call.Return(arg0)
|
||||
return c
|
||||
}
|
||||
|
||||
// Do rewrite *gomock.Call.Do
|
||||
func (c *MockCommandsOTPSMSSentCall) Do(f func(context.Context, string, string, *senders.CodeGeneratorInfo) error) *MockCommandsOTPSMSSentCall {
|
||||
c.Call = c.Call.Do(f)
|
||||
return c
|
||||
}
|
||||
|
||||
// DoAndReturn rewrite *gomock.Call.DoAndReturn
|
||||
func (c *MockCommandsOTPSMSSentCall) DoAndReturn(f func(context.Context, string, string, *senders.CodeGeneratorInfo) error) *MockCommandsOTPSMSSentCall {
|
||||
c.Call = c.Call.DoAndReturn(f)
|
||||
return c
|
||||
}
|
||||
|
||||
// PasswordChangeSent mocks base method.
|
||||
func (m *MockCommands) PasswordChangeSent(arg0 context.Context, arg1, arg2 string) error {
|
||||
func (m *MockCommands) PasswordChangeSent(ctx context.Context, orgID, userID string) error {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "PasswordChangeSent", arg0, arg1, arg2)
|
||||
ret := m.ctrl.Call(m, "PasswordChangeSent", ctx, orgID, userID)
|
||||
ret0, _ := ret[0].(error)
|
||||
return ret0
|
||||
}
|
||||
|
||||
// PasswordChangeSent indicates an expected call of PasswordChangeSent.
|
||||
func (mr *MockCommandsMockRecorder) PasswordChangeSent(arg0, arg1, arg2 any) *gomock.Call {
|
||||
func (mr *MockCommandsMockRecorder) PasswordChangeSent(ctx, orgID, userID any) *MockCommandsPasswordChangeSentCall {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PasswordChangeSent", reflect.TypeOf((*MockCommands)(nil).PasswordChangeSent), arg0, arg1, arg2)
|
||||
call := mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PasswordChangeSent", reflect.TypeOf((*MockCommands)(nil).PasswordChangeSent), ctx, orgID, userID)
|
||||
return &MockCommandsPasswordChangeSentCall{Call: call}
|
||||
}
|
||||
|
||||
// MockCommandsPasswordChangeSentCall wrap *gomock.Call
|
||||
type MockCommandsPasswordChangeSentCall struct {
|
||||
*gomock.Call
|
||||
}
|
||||
|
||||
// Return rewrite *gomock.Call.Return
|
||||
func (c *MockCommandsPasswordChangeSentCall) Return(arg0 error) *MockCommandsPasswordChangeSentCall {
|
||||
c.Call = c.Call.Return(arg0)
|
||||
return c
|
||||
}
|
||||
|
||||
// Do rewrite *gomock.Call.Do
|
||||
func (c *MockCommandsPasswordChangeSentCall) Do(f func(context.Context, string, string) error) *MockCommandsPasswordChangeSentCall {
|
||||
c.Call = c.Call.Do(f)
|
||||
return c
|
||||
}
|
||||
|
||||
// DoAndReturn rewrite *gomock.Call.DoAndReturn
|
||||
func (c *MockCommandsPasswordChangeSentCall) DoAndReturn(f func(context.Context, string, string) error) *MockCommandsPasswordChangeSentCall {
|
||||
c.Call = c.Call.DoAndReturn(f)
|
||||
return c
|
||||
}
|
||||
|
||||
// PasswordCodeSent mocks base method.
|
||||
func (m *MockCommands) PasswordCodeSent(arg0 context.Context, arg1, arg2 string, arg3 *senders.CodeGeneratorInfo) error {
|
||||
func (m *MockCommands) PasswordCodeSent(ctx context.Context, orgID, userID string, generatorInfo *senders.CodeGeneratorInfo) error {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "PasswordCodeSent", arg0, arg1, arg2, arg3)
|
||||
ret := m.ctrl.Call(m, "PasswordCodeSent", ctx, orgID, userID, generatorInfo)
|
||||
ret0, _ := ret[0].(error)
|
||||
return ret0
|
||||
}
|
||||
|
||||
// PasswordCodeSent indicates an expected call of PasswordCodeSent.
|
||||
func (mr *MockCommandsMockRecorder) PasswordCodeSent(arg0, arg1, arg2, arg3 any) *gomock.Call {
|
||||
func (mr *MockCommandsMockRecorder) PasswordCodeSent(ctx, orgID, userID, generatorInfo any) *MockCommandsPasswordCodeSentCall {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PasswordCodeSent", reflect.TypeOf((*MockCommands)(nil).PasswordCodeSent), arg0, arg1, arg2, arg3)
|
||||
call := mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PasswordCodeSent", reflect.TypeOf((*MockCommands)(nil).PasswordCodeSent), ctx, orgID, userID, generatorInfo)
|
||||
return &MockCommandsPasswordCodeSentCall{Call: call}
|
||||
}
|
||||
|
||||
// MockCommandsPasswordCodeSentCall wrap *gomock.Call
|
||||
type MockCommandsPasswordCodeSentCall struct {
|
||||
*gomock.Call
|
||||
}
|
||||
|
||||
// Return rewrite *gomock.Call.Return
|
||||
func (c *MockCommandsPasswordCodeSentCall) Return(arg0 error) *MockCommandsPasswordCodeSentCall {
|
||||
c.Call = c.Call.Return(arg0)
|
||||
return c
|
||||
}
|
||||
|
||||
// Do rewrite *gomock.Call.Do
|
||||
func (c *MockCommandsPasswordCodeSentCall) Do(f func(context.Context, string, string, *senders.CodeGeneratorInfo) error) *MockCommandsPasswordCodeSentCall {
|
||||
c.Call = c.Call.Do(f)
|
||||
return c
|
||||
}
|
||||
|
||||
// DoAndReturn rewrite *gomock.Call.DoAndReturn
|
||||
func (c *MockCommandsPasswordCodeSentCall) DoAndReturn(f func(context.Context, string, string, *senders.CodeGeneratorInfo) error) *MockCommandsPasswordCodeSentCall {
|
||||
c.Call = c.Call.DoAndReturn(f)
|
||||
return c
|
||||
}
|
||||
|
||||
// UsageNotificationSent mocks base method.
|
||||
func (m *MockCommands) UsageNotificationSent(arg0 context.Context, arg1 *quota.NotificationDueEvent) error {
|
||||
func (m *MockCommands) UsageNotificationSent(ctx context.Context, dueEvent *quota.NotificationDueEvent) error {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "UsageNotificationSent", arg0, arg1)
|
||||
ret := m.ctrl.Call(m, "UsageNotificationSent", ctx, dueEvent)
|
||||
ret0, _ := ret[0].(error)
|
||||
return ret0
|
||||
}
|
||||
|
||||
// UsageNotificationSent indicates an expected call of UsageNotificationSent.
|
||||
func (mr *MockCommandsMockRecorder) UsageNotificationSent(arg0, arg1 any) *gomock.Call {
|
||||
func (mr *MockCommandsMockRecorder) UsageNotificationSent(ctx, dueEvent any) *MockCommandsUsageNotificationSentCall {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UsageNotificationSent", reflect.TypeOf((*MockCommands)(nil).UsageNotificationSent), arg0, arg1)
|
||||
call := mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UsageNotificationSent", reflect.TypeOf((*MockCommands)(nil).UsageNotificationSent), ctx, dueEvent)
|
||||
return &MockCommandsUsageNotificationSentCall{Call: call}
|
||||
}
|
||||
|
||||
// MockCommandsUsageNotificationSentCall wrap *gomock.Call
|
||||
type MockCommandsUsageNotificationSentCall struct {
|
||||
*gomock.Call
|
||||
}
|
||||
|
||||
// Return rewrite *gomock.Call.Return
|
||||
func (c *MockCommandsUsageNotificationSentCall) Return(arg0 error) *MockCommandsUsageNotificationSentCall {
|
||||
c.Call = c.Call.Return(arg0)
|
||||
return c
|
||||
}
|
||||
|
||||
// Do rewrite *gomock.Call.Do
|
||||
func (c *MockCommandsUsageNotificationSentCall) Do(f func(context.Context, *quota.NotificationDueEvent) error) *MockCommandsUsageNotificationSentCall {
|
||||
c.Call = c.Call.Do(f)
|
||||
return c
|
||||
}
|
||||
|
||||
// DoAndReturn rewrite *gomock.Call.DoAndReturn
|
||||
func (c *MockCommandsUsageNotificationSentCall) DoAndReturn(f func(context.Context, *quota.NotificationDueEvent) error) *MockCommandsUsageNotificationSentCall {
|
||||
c.Call = c.Call.DoAndReturn(f)
|
||||
return c
|
||||
}
|
||||
|
||||
// UserDomainClaimedSent mocks base method.
|
||||
func (m *MockCommands) UserDomainClaimedSent(arg0 context.Context, arg1, arg2 string) error {
|
||||
func (m *MockCommands) UserDomainClaimedSent(ctx context.Context, orgID, userID string) error {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "UserDomainClaimedSent", arg0, arg1, arg2)
|
||||
ret := m.ctrl.Call(m, "UserDomainClaimedSent", ctx, orgID, userID)
|
||||
ret0, _ := ret[0].(error)
|
||||
return ret0
|
||||
}
|
||||
|
||||
// UserDomainClaimedSent indicates an expected call of UserDomainClaimedSent.
|
||||
func (mr *MockCommandsMockRecorder) UserDomainClaimedSent(arg0, arg1, arg2 any) *gomock.Call {
|
||||
func (mr *MockCommandsMockRecorder) UserDomainClaimedSent(ctx, orgID, userID any) *MockCommandsUserDomainClaimedSentCall {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UserDomainClaimedSent", reflect.TypeOf((*MockCommands)(nil).UserDomainClaimedSent), arg0, arg1, arg2)
|
||||
call := mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UserDomainClaimedSent", reflect.TypeOf((*MockCommands)(nil).UserDomainClaimedSent), ctx, orgID, userID)
|
||||
return &MockCommandsUserDomainClaimedSentCall{Call: call}
|
||||
}
|
||||
|
||||
// MockCommandsUserDomainClaimedSentCall wrap *gomock.Call
|
||||
type MockCommandsUserDomainClaimedSentCall struct {
|
||||
*gomock.Call
|
||||
}
|
||||
|
||||
// Return rewrite *gomock.Call.Return
|
||||
func (c *MockCommandsUserDomainClaimedSentCall) Return(arg0 error) *MockCommandsUserDomainClaimedSentCall {
|
||||
c.Call = c.Call.Return(arg0)
|
||||
return c
|
||||
}
|
||||
|
||||
// Do rewrite *gomock.Call.Do
|
||||
func (c *MockCommandsUserDomainClaimedSentCall) Do(f func(context.Context, string, string) error) *MockCommandsUserDomainClaimedSentCall {
|
||||
c.Call = c.Call.Do(f)
|
||||
return c
|
||||
}
|
||||
|
||||
// DoAndReturn rewrite *gomock.Call.DoAndReturn
|
||||
func (c *MockCommandsUserDomainClaimedSentCall) DoAndReturn(f func(context.Context, string, string) error) *MockCommandsUserDomainClaimedSentCall {
|
||||
c.Call = c.Call.DoAndReturn(f)
|
||||
return c
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
//
|
||||
// Generated by this command:
|
||||
//
|
||||
// mockgen -package mock -destination ./mock/queries.mock.go github.com/zitadel/zitadel/internal/notification/handlers Queries
|
||||
// mockgen -typed -package mock -destination ./mock/queries.mock.go . Queries
|
||||
//
|
||||
|
||||
// Package mock is a generated GoMock package.
|
||||
@@ -25,6 +25,7 @@ import (
|
||||
type MockQueries struct {
|
||||
ctrl *gomock.Controller
|
||||
recorder *MockQueriesMockRecorder
|
||||
isgomock struct{}
|
||||
}
|
||||
|
||||
// MockQueriesMockRecorder is the mock recorder for MockQueries.
|
||||
@@ -53,231 +54,615 @@ func (m *MockQueries) ActiveInstances() []string {
|
||||
}
|
||||
|
||||
// ActiveInstances indicates an expected call of ActiveInstances.
|
||||
func (mr *MockQueriesMockRecorder) ActiveInstances() *gomock.Call {
|
||||
func (mr *MockQueriesMockRecorder) ActiveInstances() *MockQueriesActiveInstancesCall {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ActiveInstances", reflect.TypeOf((*MockQueries)(nil).ActiveInstances))
|
||||
call := mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ActiveInstances", reflect.TypeOf((*MockQueries)(nil).ActiveInstances))
|
||||
return &MockQueriesActiveInstancesCall{Call: call}
|
||||
}
|
||||
|
||||
// MockQueriesActiveInstancesCall wrap *gomock.Call
|
||||
type MockQueriesActiveInstancesCall struct {
|
||||
*gomock.Call
|
||||
}
|
||||
|
||||
// Return rewrite *gomock.Call.Return
|
||||
func (c *MockQueriesActiveInstancesCall) Return(arg0 []string) *MockQueriesActiveInstancesCall {
|
||||
c.Call = c.Call.Return(arg0)
|
||||
return c
|
||||
}
|
||||
|
||||
// Do rewrite *gomock.Call.Do
|
||||
func (c *MockQueriesActiveInstancesCall) Do(f func() []string) *MockQueriesActiveInstancesCall {
|
||||
c.Call = c.Call.Do(f)
|
||||
return c
|
||||
}
|
||||
|
||||
// DoAndReturn rewrite *gomock.Call.DoAndReturn
|
||||
func (c *MockQueriesActiveInstancesCall) DoAndReturn(f func() []string) *MockQueriesActiveInstancesCall {
|
||||
c.Call = c.Call.DoAndReturn(f)
|
||||
return c
|
||||
}
|
||||
|
||||
// ActiveLabelPolicyByOrg mocks base method.
|
||||
func (m *MockQueries) ActiveLabelPolicyByOrg(arg0 context.Context, arg1 string, arg2 bool) (*query.LabelPolicy, error) {
|
||||
func (m *MockQueries) ActiveLabelPolicyByOrg(ctx context.Context, orgID string, withOwnerRemoved bool) (*query.LabelPolicy, error) {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "ActiveLabelPolicyByOrg", arg0, arg1, arg2)
|
||||
ret := m.ctrl.Call(m, "ActiveLabelPolicyByOrg", ctx, orgID, withOwnerRemoved)
|
||||
ret0, _ := ret[0].(*query.LabelPolicy)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
||||
// ActiveLabelPolicyByOrg indicates an expected call of ActiveLabelPolicyByOrg.
|
||||
func (mr *MockQueriesMockRecorder) ActiveLabelPolicyByOrg(arg0, arg1, arg2 any) *gomock.Call {
|
||||
func (mr *MockQueriesMockRecorder) ActiveLabelPolicyByOrg(ctx, orgID, withOwnerRemoved any) *MockQueriesActiveLabelPolicyByOrgCall {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ActiveLabelPolicyByOrg", reflect.TypeOf((*MockQueries)(nil).ActiveLabelPolicyByOrg), arg0, arg1, arg2)
|
||||
call := mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ActiveLabelPolicyByOrg", reflect.TypeOf((*MockQueries)(nil).ActiveLabelPolicyByOrg), ctx, orgID, withOwnerRemoved)
|
||||
return &MockQueriesActiveLabelPolicyByOrgCall{Call: call}
|
||||
}
|
||||
|
||||
// MockQueriesActiveLabelPolicyByOrgCall wrap *gomock.Call
|
||||
type MockQueriesActiveLabelPolicyByOrgCall struct {
|
||||
*gomock.Call
|
||||
}
|
||||
|
||||
// Return rewrite *gomock.Call.Return
|
||||
func (c *MockQueriesActiveLabelPolicyByOrgCall) Return(arg0 *query.LabelPolicy, arg1 error) *MockQueriesActiveLabelPolicyByOrgCall {
|
||||
c.Call = c.Call.Return(arg0, arg1)
|
||||
return c
|
||||
}
|
||||
|
||||
// Do rewrite *gomock.Call.Do
|
||||
func (c *MockQueriesActiveLabelPolicyByOrgCall) Do(f func(context.Context, string, bool) (*query.LabelPolicy, error)) *MockQueriesActiveLabelPolicyByOrgCall {
|
||||
c.Call = c.Call.Do(f)
|
||||
return c
|
||||
}
|
||||
|
||||
// DoAndReturn rewrite *gomock.Call.DoAndReturn
|
||||
func (c *MockQueriesActiveLabelPolicyByOrgCall) DoAndReturn(f func(context.Context, string, bool) (*query.LabelPolicy, error)) *MockQueriesActiveLabelPolicyByOrgCall {
|
||||
c.Call = c.Call.DoAndReturn(f)
|
||||
return c
|
||||
}
|
||||
|
||||
// CustomTextListByTemplate mocks base method.
|
||||
func (m *MockQueries) CustomTextListByTemplate(arg0 context.Context, arg1, arg2 string, arg3 bool) (*query.CustomTexts, error) {
|
||||
func (m *MockQueries) CustomTextListByTemplate(ctx context.Context, aggregateID, template string, withOwnerRemoved bool) (*query.CustomTexts, error) {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "CustomTextListByTemplate", arg0, arg1, arg2, arg3)
|
||||
ret := m.ctrl.Call(m, "CustomTextListByTemplate", ctx, aggregateID, template, withOwnerRemoved)
|
||||
ret0, _ := ret[0].(*query.CustomTexts)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
||||
// CustomTextListByTemplate indicates an expected call of CustomTextListByTemplate.
|
||||
func (mr *MockQueriesMockRecorder) CustomTextListByTemplate(arg0, arg1, arg2, arg3 any) *gomock.Call {
|
||||
func (mr *MockQueriesMockRecorder) CustomTextListByTemplate(ctx, aggregateID, template, withOwnerRemoved any) *MockQueriesCustomTextListByTemplateCall {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CustomTextListByTemplate", reflect.TypeOf((*MockQueries)(nil).CustomTextListByTemplate), arg0, arg1, arg2, arg3)
|
||||
call := mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CustomTextListByTemplate", reflect.TypeOf((*MockQueries)(nil).CustomTextListByTemplate), ctx, aggregateID, template, withOwnerRemoved)
|
||||
return &MockQueriesCustomTextListByTemplateCall{Call: call}
|
||||
}
|
||||
|
||||
// MockQueriesCustomTextListByTemplateCall wrap *gomock.Call
|
||||
type MockQueriesCustomTextListByTemplateCall struct {
|
||||
*gomock.Call
|
||||
}
|
||||
|
||||
// Return rewrite *gomock.Call.Return
|
||||
func (c *MockQueriesCustomTextListByTemplateCall) Return(arg0 *query.CustomTexts, arg1 error) *MockQueriesCustomTextListByTemplateCall {
|
||||
c.Call = c.Call.Return(arg0, arg1)
|
||||
return c
|
||||
}
|
||||
|
||||
// Do rewrite *gomock.Call.Do
|
||||
func (c *MockQueriesCustomTextListByTemplateCall) Do(f func(context.Context, string, string, bool) (*query.CustomTexts, error)) *MockQueriesCustomTextListByTemplateCall {
|
||||
c.Call = c.Call.Do(f)
|
||||
return c
|
||||
}
|
||||
|
||||
// DoAndReturn rewrite *gomock.Call.DoAndReturn
|
||||
func (c *MockQueriesCustomTextListByTemplateCall) DoAndReturn(f func(context.Context, string, string, bool) (*query.CustomTexts, error)) *MockQueriesCustomTextListByTemplateCall {
|
||||
c.Call = c.Call.DoAndReturn(f)
|
||||
return c
|
||||
}
|
||||
|
||||
// GetActiveSigningWebKey mocks base method.
|
||||
func (m *MockQueries) GetActiveSigningWebKey(arg0 context.Context) (*jose.JSONWebKey, error) {
|
||||
func (m *MockQueries) GetActiveSigningWebKey(ctx context.Context) (*jose.JSONWebKey, error) {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "GetActiveSigningWebKey", arg0)
|
||||
ret := m.ctrl.Call(m, "GetActiveSigningWebKey", ctx)
|
||||
ret0, _ := ret[0].(*jose.JSONWebKey)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
||||
// GetActiveSigningWebKey indicates an expected call of GetActiveSigningWebKey.
|
||||
func (mr *MockQueriesMockRecorder) GetActiveSigningWebKey(arg0 any) *gomock.Call {
|
||||
func (mr *MockQueriesMockRecorder) GetActiveSigningWebKey(ctx any) *MockQueriesGetActiveSigningWebKeyCall {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetActiveSigningWebKey", reflect.TypeOf((*MockQueries)(nil).GetActiveSigningWebKey), arg0)
|
||||
call := mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetActiveSigningWebKey", reflect.TypeOf((*MockQueries)(nil).GetActiveSigningWebKey), ctx)
|
||||
return &MockQueriesGetActiveSigningWebKeyCall{Call: call}
|
||||
}
|
||||
|
||||
// MockQueriesGetActiveSigningWebKeyCall wrap *gomock.Call
|
||||
type MockQueriesGetActiveSigningWebKeyCall struct {
|
||||
*gomock.Call
|
||||
}
|
||||
|
||||
// Return rewrite *gomock.Call.Return
|
||||
func (c *MockQueriesGetActiveSigningWebKeyCall) Return(arg0 *jose.JSONWebKey, arg1 error) *MockQueriesGetActiveSigningWebKeyCall {
|
||||
c.Call = c.Call.Return(arg0, arg1)
|
||||
return c
|
||||
}
|
||||
|
||||
// Do rewrite *gomock.Call.Do
|
||||
func (c *MockQueriesGetActiveSigningWebKeyCall) Do(f func(context.Context) (*jose.JSONWebKey, error)) *MockQueriesGetActiveSigningWebKeyCall {
|
||||
c.Call = c.Call.Do(f)
|
||||
return c
|
||||
}
|
||||
|
||||
// DoAndReturn rewrite *gomock.Call.DoAndReturn
|
||||
func (c *MockQueriesGetActiveSigningWebKeyCall) DoAndReturn(f func(context.Context) (*jose.JSONWebKey, error)) *MockQueriesGetActiveSigningWebKeyCall {
|
||||
c.Call = c.Call.DoAndReturn(f)
|
||||
return c
|
||||
}
|
||||
|
||||
// GetDefaultLanguage mocks base method.
|
||||
func (m *MockQueries) GetDefaultLanguage(arg0 context.Context) language.Tag {
|
||||
func (m *MockQueries) GetDefaultLanguage(ctx context.Context) language.Tag {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "GetDefaultLanguage", arg0)
|
||||
ret := m.ctrl.Call(m, "GetDefaultLanguage", ctx)
|
||||
ret0, _ := ret[0].(language.Tag)
|
||||
return ret0
|
||||
}
|
||||
|
||||
// GetDefaultLanguage indicates an expected call of GetDefaultLanguage.
|
||||
func (mr *MockQueriesMockRecorder) GetDefaultLanguage(arg0 any) *gomock.Call {
|
||||
func (mr *MockQueriesMockRecorder) GetDefaultLanguage(ctx any) *MockQueriesGetDefaultLanguageCall {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetDefaultLanguage", reflect.TypeOf((*MockQueries)(nil).GetDefaultLanguage), arg0)
|
||||
call := mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetDefaultLanguage", reflect.TypeOf((*MockQueries)(nil).GetDefaultLanguage), ctx)
|
||||
return &MockQueriesGetDefaultLanguageCall{Call: call}
|
||||
}
|
||||
|
||||
// MockQueriesGetDefaultLanguageCall wrap *gomock.Call
|
||||
type MockQueriesGetDefaultLanguageCall struct {
|
||||
*gomock.Call
|
||||
}
|
||||
|
||||
// Return rewrite *gomock.Call.Return
|
||||
func (c *MockQueriesGetDefaultLanguageCall) Return(arg0 language.Tag) *MockQueriesGetDefaultLanguageCall {
|
||||
c.Call = c.Call.Return(arg0)
|
||||
return c
|
||||
}
|
||||
|
||||
// Do rewrite *gomock.Call.Do
|
||||
func (c *MockQueriesGetDefaultLanguageCall) Do(f func(context.Context) language.Tag) *MockQueriesGetDefaultLanguageCall {
|
||||
c.Call = c.Call.Do(f)
|
||||
return c
|
||||
}
|
||||
|
||||
// DoAndReturn rewrite *gomock.Call.DoAndReturn
|
||||
func (c *MockQueriesGetDefaultLanguageCall) DoAndReturn(f func(context.Context) language.Tag) *MockQueriesGetDefaultLanguageCall {
|
||||
c.Call = c.Call.DoAndReturn(f)
|
||||
return c
|
||||
}
|
||||
|
||||
// GetInstanceRestrictions mocks base method.
|
||||
func (m *MockQueries) GetInstanceRestrictions(arg0 context.Context) (query.Restrictions, error) {
|
||||
func (m *MockQueries) GetInstanceRestrictions(ctx context.Context) (query.Restrictions, error) {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "GetInstanceRestrictions", arg0)
|
||||
ret := m.ctrl.Call(m, "GetInstanceRestrictions", ctx)
|
||||
ret0, _ := ret[0].(query.Restrictions)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
||||
// GetInstanceRestrictions indicates an expected call of GetInstanceRestrictions.
|
||||
func (mr *MockQueriesMockRecorder) GetInstanceRestrictions(arg0 any) *gomock.Call {
|
||||
func (mr *MockQueriesMockRecorder) GetInstanceRestrictions(ctx any) *MockQueriesGetInstanceRestrictionsCall {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetInstanceRestrictions", reflect.TypeOf((*MockQueries)(nil).GetInstanceRestrictions), arg0)
|
||||
call := mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetInstanceRestrictions", reflect.TypeOf((*MockQueries)(nil).GetInstanceRestrictions), ctx)
|
||||
return &MockQueriesGetInstanceRestrictionsCall{Call: call}
|
||||
}
|
||||
|
||||
// MockQueriesGetInstanceRestrictionsCall wrap *gomock.Call
|
||||
type MockQueriesGetInstanceRestrictionsCall struct {
|
||||
*gomock.Call
|
||||
}
|
||||
|
||||
// Return rewrite *gomock.Call.Return
|
||||
func (c *MockQueriesGetInstanceRestrictionsCall) Return(restrictions query.Restrictions, err error) *MockQueriesGetInstanceRestrictionsCall {
|
||||
c.Call = c.Call.Return(restrictions, err)
|
||||
return c
|
||||
}
|
||||
|
||||
// Do rewrite *gomock.Call.Do
|
||||
func (c *MockQueriesGetInstanceRestrictionsCall) Do(f func(context.Context) (query.Restrictions, error)) *MockQueriesGetInstanceRestrictionsCall {
|
||||
c.Call = c.Call.Do(f)
|
||||
return c
|
||||
}
|
||||
|
||||
// DoAndReturn rewrite *gomock.Call.DoAndReturn
|
||||
func (c *MockQueriesGetInstanceRestrictionsCall) DoAndReturn(f func(context.Context) (query.Restrictions, error)) *MockQueriesGetInstanceRestrictionsCall {
|
||||
c.Call = c.Call.DoAndReturn(f)
|
||||
return c
|
||||
}
|
||||
|
||||
// GetNotifyUserByID mocks base method.
|
||||
func (m *MockQueries) GetNotifyUserByID(arg0 context.Context, arg1 bool, arg2 string) (*query.NotifyUser, error) {
|
||||
func (m *MockQueries) GetNotifyUserByID(ctx context.Context, shouldTriggered bool, userID string) (*query.NotifyUser, error) {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "GetNotifyUserByID", arg0, arg1, arg2)
|
||||
ret := m.ctrl.Call(m, "GetNotifyUserByID", ctx, shouldTriggered, userID)
|
||||
ret0, _ := ret[0].(*query.NotifyUser)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
||||
// GetNotifyUserByID indicates an expected call of GetNotifyUserByID.
|
||||
func (mr *MockQueriesMockRecorder) GetNotifyUserByID(arg0, arg1, arg2 any) *gomock.Call {
|
||||
func (mr *MockQueriesMockRecorder) GetNotifyUserByID(ctx, shouldTriggered, userID any) *MockQueriesGetNotifyUserByIDCall {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetNotifyUserByID", reflect.TypeOf((*MockQueries)(nil).GetNotifyUserByID), arg0, arg1, arg2)
|
||||
call := mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetNotifyUserByID", reflect.TypeOf((*MockQueries)(nil).GetNotifyUserByID), ctx, shouldTriggered, userID)
|
||||
return &MockQueriesGetNotifyUserByIDCall{Call: call}
|
||||
}
|
||||
|
||||
// MockQueriesGetNotifyUserByIDCall wrap *gomock.Call
|
||||
type MockQueriesGetNotifyUserByIDCall struct {
|
||||
*gomock.Call
|
||||
}
|
||||
|
||||
// Return rewrite *gomock.Call.Return
|
||||
func (c *MockQueriesGetNotifyUserByIDCall) Return(arg0 *query.NotifyUser, arg1 error) *MockQueriesGetNotifyUserByIDCall {
|
||||
c.Call = c.Call.Return(arg0, arg1)
|
||||
return c
|
||||
}
|
||||
|
||||
// Do rewrite *gomock.Call.Do
|
||||
func (c *MockQueriesGetNotifyUserByIDCall) Do(f func(context.Context, bool, string) (*query.NotifyUser, error)) *MockQueriesGetNotifyUserByIDCall {
|
||||
c.Call = c.Call.Do(f)
|
||||
return c
|
||||
}
|
||||
|
||||
// DoAndReturn rewrite *gomock.Call.DoAndReturn
|
||||
func (c *MockQueriesGetNotifyUserByIDCall) DoAndReturn(f func(context.Context, bool, string) (*query.NotifyUser, error)) *MockQueriesGetNotifyUserByIDCall {
|
||||
c.Call = c.Call.DoAndReturn(f)
|
||||
return c
|
||||
}
|
||||
|
||||
// InstanceByID mocks base method.
|
||||
func (m *MockQueries) InstanceByID(arg0 context.Context, arg1 string) (authz.Instance, error) {
|
||||
func (m *MockQueries) InstanceByID(ctx context.Context, id string) (authz.Instance, error) {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "InstanceByID", arg0, arg1)
|
||||
ret := m.ctrl.Call(m, "InstanceByID", ctx, id)
|
||||
ret0, _ := ret[0].(authz.Instance)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
||||
// InstanceByID indicates an expected call of InstanceByID.
|
||||
func (mr *MockQueriesMockRecorder) InstanceByID(arg0, arg1 any) *gomock.Call {
|
||||
func (mr *MockQueriesMockRecorder) InstanceByID(ctx, id any) *MockQueriesInstanceByIDCall {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "InstanceByID", reflect.TypeOf((*MockQueries)(nil).InstanceByID), arg0, arg1)
|
||||
call := mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "InstanceByID", reflect.TypeOf((*MockQueries)(nil).InstanceByID), ctx, id)
|
||||
return &MockQueriesInstanceByIDCall{Call: call}
|
||||
}
|
||||
|
||||
// MockQueriesInstanceByIDCall wrap *gomock.Call
|
||||
type MockQueriesInstanceByIDCall struct {
|
||||
*gomock.Call
|
||||
}
|
||||
|
||||
// Return rewrite *gomock.Call.Return
|
||||
func (c *MockQueriesInstanceByIDCall) Return(instance authz.Instance, err error) *MockQueriesInstanceByIDCall {
|
||||
c.Call = c.Call.Return(instance, err)
|
||||
return c
|
||||
}
|
||||
|
||||
// Do rewrite *gomock.Call.Do
|
||||
func (c *MockQueriesInstanceByIDCall) Do(f func(context.Context, string) (authz.Instance, error)) *MockQueriesInstanceByIDCall {
|
||||
c.Call = c.Call.Do(f)
|
||||
return c
|
||||
}
|
||||
|
||||
// DoAndReturn rewrite *gomock.Call.DoAndReturn
|
||||
func (c *MockQueriesInstanceByIDCall) DoAndReturn(f func(context.Context, string) (authz.Instance, error)) *MockQueriesInstanceByIDCall {
|
||||
c.Call = c.Call.DoAndReturn(f)
|
||||
return c
|
||||
}
|
||||
|
||||
// MailTemplateByOrg mocks base method.
|
||||
func (m *MockQueries) MailTemplateByOrg(arg0 context.Context, arg1 string, arg2 bool) (*query.MailTemplate, error) {
|
||||
func (m *MockQueries) MailTemplateByOrg(ctx context.Context, orgID string, withOwnerRemoved bool) (*query.MailTemplate, error) {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "MailTemplateByOrg", arg0, arg1, arg2)
|
||||
ret := m.ctrl.Call(m, "MailTemplateByOrg", ctx, orgID, withOwnerRemoved)
|
||||
ret0, _ := ret[0].(*query.MailTemplate)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
||||
// MailTemplateByOrg indicates an expected call of MailTemplateByOrg.
|
||||
func (mr *MockQueriesMockRecorder) MailTemplateByOrg(arg0, arg1, arg2 any) *gomock.Call {
|
||||
func (mr *MockQueriesMockRecorder) MailTemplateByOrg(ctx, orgID, withOwnerRemoved any) *MockQueriesMailTemplateByOrgCall {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MailTemplateByOrg", reflect.TypeOf((*MockQueries)(nil).MailTemplateByOrg), arg0, arg1, arg2)
|
||||
call := mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MailTemplateByOrg", reflect.TypeOf((*MockQueries)(nil).MailTemplateByOrg), ctx, orgID, withOwnerRemoved)
|
||||
return &MockQueriesMailTemplateByOrgCall{Call: call}
|
||||
}
|
||||
|
||||
// MockQueriesMailTemplateByOrgCall wrap *gomock.Call
|
||||
type MockQueriesMailTemplateByOrgCall struct {
|
||||
*gomock.Call
|
||||
}
|
||||
|
||||
// Return rewrite *gomock.Call.Return
|
||||
func (c *MockQueriesMailTemplateByOrgCall) Return(arg0 *query.MailTemplate, arg1 error) *MockQueriesMailTemplateByOrgCall {
|
||||
c.Call = c.Call.Return(arg0, arg1)
|
||||
return c
|
||||
}
|
||||
|
||||
// Do rewrite *gomock.Call.Do
|
||||
func (c *MockQueriesMailTemplateByOrgCall) Do(f func(context.Context, string, bool) (*query.MailTemplate, error)) *MockQueriesMailTemplateByOrgCall {
|
||||
c.Call = c.Call.Do(f)
|
||||
return c
|
||||
}
|
||||
|
||||
// DoAndReturn rewrite *gomock.Call.DoAndReturn
|
||||
func (c *MockQueriesMailTemplateByOrgCall) DoAndReturn(f func(context.Context, string, bool) (*query.MailTemplate, error)) *MockQueriesMailTemplateByOrgCall {
|
||||
c.Call = c.Call.DoAndReturn(f)
|
||||
return c
|
||||
}
|
||||
|
||||
// NotificationPolicyByOrg mocks base method.
|
||||
func (m *MockQueries) NotificationPolicyByOrg(arg0 context.Context, arg1 bool, arg2 string, arg3 bool) (*query.NotificationPolicy, error) {
|
||||
func (m *MockQueries) NotificationPolicyByOrg(ctx context.Context, shouldTriggerBulk bool, orgID string, withOwnerRemoved bool) (*query.NotificationPolicy, error) {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "NotificationPolicyByOrg", arg0, arg1, arg2, arg3)
|
||||
ret := m.ctrl.Call(m, "NotificationPolicyByOrg", ctx, shouldTriggerBulk, orgID, withOwnerRemoved)
|
||||
ret0, _ := ret[0].(*query.NotificationPolicy)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
||||
// NotificationPolicyByOrg indicates an expected call of NotificationPolicyByOrg.
|
||||
func (mr *MockQueriesMockRecorder) NotificationPolicyByOrg(arg0, arg1, arg2, arg3 any) *gomock.Call {
|
||||
func (mr *MockQueriesMockRecorder) NotificationPolicyByOrg(ctx, shouldTriggerBulk, orgID, withOwnerRemoved any) *MockQueriesNotificationPolicyByOrgCall {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NotificationPolicyByOrg", reflect.TypeOf((*MockQueries)(nil).NotificationPolicyByOrg), arg0, arg1, arg2, arg3)
|
||||
call := mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NotificationPolicyByOrg", reflect.TypeOf((*MockQueries)(nil).NotificationPolicyByOrg), ctx, shouldTriggerBulk, orgID, withOwnerRemoved)
|
||||
return &MockQueriesNotificationPolicyByOrgCall{Call: call}
|
||||
}
|
||||
|
||||
// MockQueriesNotificationPolicyByOrgCall wrap *gomock.Call
|
||||
type MockQueriesNotificationPolicyByOrgCall struct {
|
||||
*gomock.Call
|
||||
}
|
||||
|
||||
// Return rewrite *gomock.Call.Return
|
||||
func (c *MockQueriesNotificationPolicyByOrgCall) Return(arg0 *query.NotificationPolicy, arg1 error) *MockQueriesNotificationPolicyByOrgCall {
|
||||
c.Call = c.Call.Return(arg0, arg1)
|
||||
return c
|
||||
}
|
||||
|
||||
// Do rewrite *gomock.Call.Do
|
||||
func (c *MockQueriesNotificationPolicyByOrgCall) Do(f func(context.Context, bool, string, bool) (*query.NotificationPolicy, error)) *MockQueriesNotificationPolicyByOrgCall {
|
||||
c.Call = c.Call.Do(f)
|
||||
return c
|
||||
}
|
||||
|
||||
// DoAndReturn rewrite *gomock.Call.DoAndReturn
|
||||
func (c *MockQueriesNotificationPolicyByOrgCall) DoAndReturn(f func(context.Context, bool, string, bool) (*query.NotificationPolicy, error)) *MockQueriesNotificationPolicyByOrgCall {
|
||||
c.Call = c.Call.DoAndReturn(f)
|
||||
return c
|
||||
}
|
||||
|
||||
// NotificationProviderByIDAndType mocks base method.
|
||||
func (m *MockQueries) NotificationProviderByIDAndType(arg0 context.Context, arg1 string, arg2 domain.NotificationProviderType) (*query.DebugNotificationProvider, error) {
|
||||
func (m *MockQueries) NotificationProviderByIDAndType(ctx context.Context, aggID string, providerType domain.NotificationProviderType) (*query.DebugNotificationProvider, error) {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "NotificationProviderByIDAndType", arg0, arg1, arg2)
|
||||
ret := m.ctrl.Call(m, "NotificationProviderByIDAndType", ctx, aggID, providerType)
|
||||
ret0, _ := ret[0].(*query.DebugNotificationProvider)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
||||
// NotificationProviderByIDAndType indicates an expected call of NotificationProviderByIDAndType.
|
||||
func (mr *MockQueriesMockRecorder) NotificationProviderByIDAndType(arg0, arg1, arg2 any) *gomock.Call {
|
||||
func (mr *MockQueriesMockRecorder) NotificationProviderByIDAndType(ctx, aggID, providerType any) *MockQueriesNotificationProviderByIDAndTypeCall {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NotificationProviderByIDAndType", reflect.TypeOf((*MockQueries)(nil).NotificationProviderByIDAndType), arg0, arg1, arg2)
|
||||
call := mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NotificationProviderByIDAndType", reflect.TypeOf((*MockQueries)(nil).NotificationProviderByIDAndType), ctx, aggID, providerType)
|
||||
return &MockQueriesNotificationProviderByIDAndTypeCall{Call: call}
|
||||
}
|
||||
|
||||
// MockQueriesNotificationProviderByIDAndTypeCall wrap *gomock.Call
|
||||
type MockQueriesNotificationProviderByIDAndTypeCall struct {
|
||||
*gomock.Call
|
||||
}
|
||||
|
||||
// Return rewrite *gomock.Call.Return
|
||||
func (c *MockQueriesNotificationProviderByIDAndTypeCall) Return(arg0 *query.DebugNotificationProvider, arg1 error) *MockQueriesNotificationProviderByIDAndTypeCall {
|
||||
c.Call = c.Call.Return(arg0, arg1)
|
||||
return c
|
||||
}
|
||||
|
||||
// Do rewrite *gomock.Call.Do
|
||||
func (c *MockQueriesNotificationProviderByIDAndTypeCall) Do(f func(context.Context, string, domain.NotificationProviderType) (*query.DebugNotificationProvider, error)) *MockQueriesNotificationProviderByIDAndTypeCall {
|
||||
c.Call = c.Call.Do(f)
|
||||
return c
|
||||
}
|
||||
|
||||
// DoAndReturn rewrite *gomock.Call.DoAndReturn
|
||||
func (c *MockQueriesNotificationProviderByIDAndTypeCall) DoAndReturn(f func(context.Context, string, domain.NotificationProviderType) (*query.DebugNotificationProvider, error)) *MockQueriesNotificationProviderByIDAndTypeCall {
|
||||
c.Call = c.Call.DoAndReturn(f)
|
||||
return c
|
||||
}
|
||||
|
||||
// SMSProviderConfigActive mocks base method.
|
||||
func (m *MockQueries) SMSProviderConfigActive(arg0 context.Context, arg1 string) (*query.SMSConfig, error) {
|
||||
func (m *MockQueries) SMSProviderConfigActive(ctx context.Context, resourceOwner string) (*query.SMSConfig, error) {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "SMSProviderConfigActive", arg0, arg1)
|
||||
ret := m.ctrl.Call(m, "SMSProviderConfigActive", ctx, resourceOwner)
|
||||
ret0, _ := ret[0].(*query.SMSConfig)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
||||
// SMSProviderConfigActive indicates an expected call of SMSProviderConfigActive.
|
||||
func (mr *MockQueriesMockRecorder) SMSProviderConfigActive(arg0, arg1 any) *gomock.Call {
|
||||
func (mr *MockQueriesMockRecorder) SMSProviderConfigActive(ctx, resourceOwner any) *MockQueriesSMSProviderConfigActiveCall {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SMSProviderConfigActive", reflect.TypeOf((*MockQueries)(nil).SMSProviderConfigActive), arg0, arg1)
|
||||
call := mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SMSProviderConfigActive", reflect.TypeOf((*MockQueries)(nil).SMSProviderConfigActive), ctx, resourceOwner)
|
||||
return &MockQueriesSMSProviderConfigActiveCall{Call: call}
|
||||
}
|
||||
|
||||
// MockQueriesSMSProviderConfigActiveCall wrap *gomock.Call
|
||||
type MockQueriesSMSProviderConfigActiveCall struct {
|
||||
*gomock.Call
|
||||
}
|
||||
|
||||
// Return rewrite *gomock.Call.Return
|
||||
func (c *MockQueriesSMSProviderConfigActiveCall) Return(config *query.SMSConfig, err error) *MockQueriesSMSProviderConfigActiveCall {
|
||||
c.Call = c.Call.Return(config, err)
|
||||
return c
|
||||
}
|
||||
|
||||
// Do rewrite *gomock.Call.Do
|
||||
func (c *MockQueriesSMSProviderConfigActiveCall) Do(f func(context.Context, string) (*query.SMSConfig, error)) *MockQueriesSMSProviderConfigActiveCall {
|
||||
c.Call = c.Call.Do(f)
|
||||
return c
|
||||
}
|
||||
|
||||
// DoAndReturn rewrite *gomock.Call.DoAndReturn
|
||||
func (c *MockQueriesSMSProviderConfigActiveCall) DoAndReturn(f func(context.Context, string) (*query.SMSConfig, error)) *MockQueriesSMSProviderConfigActiveCall {
|
||||
c.Call = c.Call.DoAndReturn(f)
|
||||
return c
|
||||
}
|
||||
|
||||
// SMTPConfigActive mocks base method.
|
||||
func (m *MockQueries) SMTPConfigActive(arg0 context.Context, arg1 string) (*query.SMTPConfig, error) {
|
||||
func (m *MockQueries) SMTPConfigActive(ctx context.Context, resourceOwner string) (*query.SMTPConfig, error) {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "SMTPConfigActive", arg0, arg1)
|
||||
ret := m.ctrl.Call(m, "SMTPConfigActive", ctx, resourceOwner)
|
||||
ret0, _ := ret[0].(*query.SMTPConfig)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
||||
// SMTPConfigActive indicates an expected call of SMTPConfigActive.
|
||||
func (mr *MockQueriesMockRecorder) SMTPConfigActive(arg0, arg1 any) *gomock.Call {
|
||||
func (mr *MockQueriesMockRecorder) SMTPConfigActive(ctx, resourceOwner any) *MockQueriesSMTPConfigActiveCall {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SMTPConfigActive", reflect.TypeOf((*MockQueries)(nil).SMTPConfigActive), arg0, arg1)
|
||||
call := mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SMTPConfigActive", reflect.TypeOf((*MockQueries)(nil).SMTPConfigActive), ctx, resourceOwner)
|
||||
return &MockQueriesSMTPConfigActiveCall{Call: call}
|
||||
}
|
||||
|
||||
// MockQueriesSMTPConfigActiveCall wrap *gomock.Call
|
||||
type MockQueriesSMTPConfigActiveCall struct {
|
||||
*gomock.Call
|
||||
}
|
||||
|
||||
// Return rewrite *gomock.Call.Return
|
||||
func (c *MockQueriesSMTPConfigActiveCall) Return(arg0 *query.SMTPConfig, arg1 error) *MockQueriesSMTPConfigActiveCall {
|
||||
c.Call = c.Call.Return(arg0, arg1)
|
||||
return c
|
||||
}
|
||||
|
||||
// Do rewrite *gomock.Call.Do
|
||||
func (c *MockQueriesSMTPConfigActiveCall) Do(f func(context.Context, string) (*query.SMTPConfig, error)) *MockQueriesSMTPConfigActiveCall {
|
||||
c.Call = c.Call.Do(f)
|
||||
return c
|
||||
}
|
||||
|
||||
// DoAndReturn rewrite *gomock.Call.DoAndReturn
|
||||
func (c *MockQueriesSMTPConfigActiveCall) DoAndReturn(f func(context.Context, string) (*query.SMTPConfig, error)) *MockQueriesSMTPConfigActiveCall {
|
||||
c.Call = c.Call.DoAndReturn(f)
|
||||
return c
|
||||
}
|
||||
|
||||
// SearchInstanceDomains mocks base method.
|
||||
func (m *MockQueries) SearchInstanceDomains(arg0 context.Context, arg1 *query.InstanceDomainSearchQueries) (*query.InstanceDomains, error) {
|
||||
func (m *MockQueries) SearchInstanceDomains(ctx context.Context, queries *query.InstanceDomainSearchQueries) (*query.InstanceDomains, error) {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "SearchInstanceDomains", arg0, arg1)
|
||||
ret := m.ctrl.Call(m, "SearchInstanceDomains", ctx, queries)
|
||||
ret0, _ := ret[0].(*query.InstanceDomains)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
||||
// SearchInstanceDomains indicates an expected call of SearchInstanceDomains.
|
||||
func (mr *MockQueriesMockRecorder) SearchInstanceDomains(arg0, arg1 any) *gomock.Call {
|
||||
func (mr *MockQueriesMockRecorder) SearchInstanceDomains(ctx, queries any) *MockQueriesSearchInstanceDomainsCall {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchInstanceDomains", reflect.TypeOf((*MockQueries)(nil).SearchInstanceDomains), arg0, arg1)
|
||||
call := mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchInstanceDomains", reflect.TypeOf((*MockQueries)(nil).SearchInstanceDomains), ctx, queries)
|
||||
return &MockQueriesSearchInstanceDomainsCall{Call: call}
|
||||
}
|
||||
|
||||
// MockQueriesSearchInstanceDomainsCall wrap *gomock.Call
|
||||
type MockQueriesSearchInstanceDomainsCall struct {
|
||||
*gomock.Call
|
||||
}
|
||||
|
||||
// Return rewrite *gomock.Call.Return
|
||||
func (c *MockQueriesSearchInstanceDomainsCall) Return(arg0 *query.InstanceDomains, arg1 error) *MockQueriesSearchInstanceDomainsCall {
|
||||
c.Call = c.Call.Return(arg0, arg1)
|
||||
return c
|
||||
}
|
||||
|
||||
// Do rewrite *gomock.Call.Do
|
||||
func (c *MockQueriesSearchInstanceDomainsCall) Do(f func(context.Context, *query.InstanceDomainSearchQueries) (*query.InstanceDomains, error)) *MockQueriesSearchInstanceDomainsCall {
|
||||
c.Call = c.Call.Do(f)
|
||||
return c
|
||||
}
|
||||
|
||||
// DoAndReturn rewrite *gomock.Call.DoAndReturn
|
||||
func (c *MockQueriesSearchInstanceDomainsCall) DoAndReturn(f func(context.Context, *query.InstanceDomainSearchQueries) (*query.InstanceDomains, error)) *MockQueriesSearchInstanceDomainsCall {
|
||||
c.Call = c.Call.DoAndReturn(f)
|
||||
return c
|
||||
}
|
||||
|
||||
// SearchMilestones mocks base method.
|
||||
func (m *MockQueries) SearchMilestones(arg0 context.Context, arg1 []string, arg2 *query.MilestonesSearchQueries) (*query.Milestones, error) {
|
||||
func (m *MockQueries) SearchMilestones(ctx context.Context, instanceIDs []string, queries *query.MilestonesSearchQueries) (*query.Milestones, error) {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "SearchMilestones", arg0, arg1, arg2)
|
||||
ret := m.ctrl.Call(m, "SearchMilestones", ctx, instanceIDs, queries)
|
||||
ret0, _ := ret[0].(*query.Milestones)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
||||
// SearchMilestones indicates an expected call of SearchMilestones.
|
||||
func (mr *MockQueriesMockRecorder) SearchMilestones(arg0, arg1, arg2 any) *gomock.Call {
|
||||
func (mr *MockQueriesMockRecorder) SearchMilestones(ctx, instanceIDs, queries any) *MockQueriesSearchMilestonesCall {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchMilestones", reflect.TypeOf((*MockQueries)(nil).SearchMilestones), arg0, arg1, arg2)
|
||||
call := mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchMilestones", reflect.TypeOf((*MockQueries)(nil).SearchMilestones), ctx, instanceIDs, queries)
|
||||
return &MockQueriesSearchMilestonesCall{Call: call}
|
||||
}
|
||||
|
||||
// MockQueriesSearchMilestonesCall wrap *gomock.Call
|
||||
type MockQueriesSearchMilestonesCall struct {
|
||||
*gomock.Call
|
||||
}
|
||||
|
||||
// Return rewrite *gomock.Call.Return
|
||||
func (c *MockQueriesSearchMilestonesCall) Return(arg0 *query.Milestones, arg1 error) *MockQueriesSearchMilestonesCall {
|
||||
c.Call = c.Call.Return(arg0, arg1)
|
||||
return c
|
||||
}
|
||||
|
||||
// Do rewrite *gomock.Call.Do
|
||||
func (c *MockQueriesSearchMilestonesCall) Do(f func(context.Context, []string, *query.MilestonesSearchQueries) (*query.Milestones, error)) *MockQueriesSearchMilestonesCall {
|
||||
c.Call = c.Call.Do(f)
|
||||
return c
|
||||
}
|
||||
|
||||
// DoAndReturn rewrite *gomock.Call.DoAndReturn
|
||||
func (c *MockQueriesSearchMilestonesCall) DoAndReturn(f func(context.Context, []string, *query.MilestonesSearchQueries) (*query.Milestones, error)) *MockQueriesSearchMilestonesCall {
|
||||
c.Call = c.Call.DoAndReturn(f)
|
||||
return c
|
||||
}
|
||||
|
||||
// SessionByID mocks base method.
|
||||
func (m *MockQueries) SessionByID(arg0 context.Context, arg1 bool, arg2, arg3 string, arg4 domain.PermissionCheck) (*query.Session, error) {
|
||||
func (m *MockQueries) SessionByID(ctx context.Context, shouldTriggerBulk bool, id, sessionToken string, check domain.PermissionCheck) (*query.Session, error) {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "SessionByID", arg0, arg1, arg2, arg3, arg4)
|
||||
ret := m.ctrl.Call(m, "SessionByID", ctx, shouldTriggerBulk, id, sessionToken, check)
|
||||
ret0, _ := ret[0].(*query.Session)
|
||||
ret1, _ := ret[1].(error)
|
||||
return ret0, ret1
|
||||
}
|
||||
|
||||
// SessionByID indicates an expected call of SessionByID.
|
||||
func (mr *MockQueriesMockRecorder) SessionByID(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call {
|
||||
func (mr *MockQueriesMockRecorder) SessionByID(ctx, shouldTriggerBulk, id, sessionToken, check any) *MockQueriesSessionByIDCall {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SessionByID", reflect.TypeOf((*MockQueries)(nil).SessionByID), arg0, arg1, arg2, arg3, arg4)
|
||||
call := mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SessionByID", reflect.TypeOf((*MockQueries)(nil).SessionByID), ctx, shouldTriggerBulk, id, sessionToken, check)
|
||||
return &MockQueriesSessionByIDCall{Call: call}
|
||||
}
|
||||
|
||||
// MockQueriesSessionByIDCall wrap *gomock.Call
|
||||
type MockQueriesSessionByIDCall struct {
|
||||
*gomock.Call
|
||||
}
|
||||
|
||||
// Return rewrite *gomock.Call.Return
|
||||
func (c *MockQueriesSessionByIDCall) Return(arg0 *query.Session, arg1 error) *MockQueriesSessionByIDCall {
|
||||
c.Call = c.Call.Return(arg0, arg1)
|
||||
return c
|
||||
}
|
||||
|
||||
// Do rewrite *gomock.Call.Do
|
||||
func (c *MockQueriesSessionByIDCall) Do(f func(context.Context, bool, string, string, domain.PermissionCheck) (*query.Session, error)) *MockQueriesSessionByIDCall {
|
||||
c.Call = c.Call.Do(f)
|
||||
return c
|
||||
}
|
||||
|
||||
// DoAndReturn rewrite *gomock.Call.DoAndReturn
|
||||
func (c *MockQueriesSessionByIDCall) DoAndReturn(f func(context.Context, bool, string, string, domain.PermissionCheck) (*query.Session, error)) *MockQueriesSessionByIDCall {
|
||||
c.Call = c.Call.DoAndReturn(f)
|
||||
return c
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
//
|
||||
// Generated by this command:
|
||||
//
|
||||
// mockgen -package mock -destination ./mock/queue.mock.go github.com/zitadel/zitadel/internal/notification/handlers Queue
|
||||
// mockgen -typed -package mock -destination ./mock/queue.mock.go . Queue
|
||||
//
|
||||
|
||||
// Package mock is a generated GoMock package.
|
||||
@@ -22,6 +22,7 @@ import (
|
||||
type MockQueue struct {
|
||||
ctrl *gomock.Controller
|
||||
recorder *MockQueueMockRecorder
|
||||
isgomock struct{}
|
||||
}
|
||||
|
||||
// MockQueueMockRecorder is the mock recorder for MockQueue.
|
||||
@@ -42,10 +43,10 @@ func (m *MockQueue) EXPECT() *MockQueueMockRecorder {
|
||||
}
|
||||
|
||||
// Insert mocks base method.
|
||||
func (m *MockQueue) Insert(arg0 context.Context, arg1 river.JobArgs, arg2 ...queue.InsertOpt) error {
|
||||
func (m *MockQueue) Insert(ctx context.Context, args river.JobArgs, opts ...queue.InsertOpt) error {
|
||||
m.ctrl.T.Helper()
|
||||
varargs := []any{arg0, arg1}
|
||||
for _, a := range arg2 {
|
||||
varargs := []any{ctx, args}
|
||||
for _, a := range opts {
|
||||
varargs = append(varargs, a)
|
||||
}
|
||||
ret := m.ctrl.Call(m, "Insert", varargs...)
|
||||
@@ -54,8 +55,32 @@ func (m *MockQueue) Insert(arg0 context.Context, arg1 river.JobArgs, arg2 ...que
|
||||
}
|
||||
|
||||
// Insert indicates an expected call of Insert.
|
||||
func (mr *MockQueueMockRecorder) Insert(arg0, arg1 any, arg2 ...any) *gomock.Call {
|
||||
func (mr *MockQueueMockRecorder) Insert(ctx, args any, opts ...any) *MockQueueInsertCall {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
varargs := append([]any{arg0, arg1}, arg2...)
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Insert", reflect.TypeOf((*MockQueue)(nil).Insert), varargs...)
|
||||
varargs := append([]any{ctx, args}, opts...)
|
||||
call := mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Insert", reflect.TypeOf((*MockQueue)(nil).Insert), varargs...)
|
||||
return &MockQueueInsertCall{Call: call}
|
||||
}
|
||||
|
||||
// MockQueueInsertCall wrap *gomock.Call
|
||||
type MockQueueInsertCall struct {
|
||||
*gomock.Call
|
||||
}
|
||||
|
||||
// Return rewrite *gomock.Call.Return
|
||||
func (c *MockQueueInsertCall) Return(arg0 error) *MockQueueInsertCall {
|
||||
c.Call = c.Call.Return(arg0)
|
||||
return c
|
||||
}
|
||||
|
||||
// Do rewrite *gomock.Call.Do
|
||||
func (c *MockQueueInsertCall) Do(f func(context.Context, river.JobArgs, ...queue.InsertOpt) error) *MockQueueInsertCall {
|
||||
c.Call = c.Call.Do(f)
|
||||
return c
|
||||
}
|
||||
|
||||
// DoAndReturn rewrite *gomock.Call.DoAndReturn
|
||||
func (c *MockQueueInsertCall) DoAndReturn(f func(context.Context, river.JobArgs, ...queue.InsertOpt) error) *MockQueueInsertCall {
|
||||
c.Call = c.Call.DoAndReturn(f)
|
||||
return c
|
||||
}
|
||||
|
||||
@@ -13,6 +13,7 @@ import (
|
||||
"github.com/zitadel/zitadel/internal/query"
|
||||
)
|
||||
|
||||
//go:generate mockgen -typed -package mock -destination ./mock/queries.mock.go . Queries
|
||||
type Queries interface {
|
||||
ActiveLabelPolicyByOrg(ctx context.Context, orgID string, withOwnerRemoved bool) (*query.LabelPolicy, error)
|
||||
MailTemplateByOrg(ctx context.Context, orgID string, withOwnerRemoved bool) (*query.MailTemplate, error)
|
||||
|
||||
@@ -8,6 +8,7 @@ import (
|
||||
"github.com/zitadel/zitadel/internal/queue"
|
||||
)
|
||||
|
||||
//go:generate mockgen -typed -package mock -destination ./mock/queue.mock.go . Queue
|
||||
type Queue interface {
|
||||
Insert(ctx context.Context, args river.JobArgs, opts ...queue.InsertOpt) error
|
||||
}
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
InitCode:
|
||||
Title: ZITADEL - Инициализиране на потребител
|
||||
Title: Zitadel - Инициализиране на потребител
|
||||
PreHeader: Инициализиране на потребителя
|
||||
Subject: Инициализиране на потребителя
|
||||
Greeting: 'Здравейте {{.DisplayName}},'
|
||||
Text: >-
|
||||
Този потребител е създаден в ZITADEL. {{.PreferredLoginName}} за да
|
||||
Този потребител е създаден в Zitadel. {{.PreferredLoginName}} за да
|
||||
влезете. {{.Code}}) Ако не сте поискали този имейл, моля, игнорирайте го.
|
||||
ButtonText: Завършете инициализацията
|
||||
PasswordReset:
|
||||
Title: ZITADEL - Нулиране на парола
|
||||
Title: Zitadel - Нулиране на парола
|
||||
PreHeader: Нулирайте паролата
|
||||
Subject: Нулирайте паролата
|
||||
Greeting: 'Здравейте {{.DisplayName}},'
|
||||
@@ -17,7 +17,7 @@ PasswordReset:
|
||||
поискали този имейл, моля, игнорирайте го.
|
||||
ButtonText: Нулирайте паролата
|
||||
VerifyEmail:
|
||||
Title: ZITADEL - Потвърдете имейл
|
||||
Title: Zitadel - Потвърдете имейл
|
||||
PreHeader: Потвърди Имейл
|
||||
Subject: Потвърди Имейл
|
||||
Greeting: 'Здравейте {{.DisplayName}},'
|
||||
@@ -26,18 +26,18 @@ VerifyEmail:
|
||||
игнорирайте този имейл.
|
||||
ButtonText: Потвърди Имейл
|
||||
VerifyPhone:
|
||||
Title: ZITADEL - Потвърдете телефона
|
||||
Title: Zitadel - Потвърдете телефона
|
||||
PreHeader: Потвърдете телефона
|
||||
Subject: Потвърдете телефона
|
||||
Greeting: 'Здравейте {{.DisplayName}},'
|
||||
Text: 'Добавен е нов телефонен номер. {{.Code}}'
|
||||
ButtonText: Потвърдете телефона
|
||||
VerifyEmailOTP:
|
||||
Title: ZITADEL - Потвърди временната парола
|
||||
Title: Zitadel - Потвърди временната парола
|
||||
PreHeader: Потвърди временната парола
|
||||
Subject: Потвърди временната парола
|
||||
Greeting: Здравей, {{.DisplayName}},
|
||||
Text: Моля, използвай бутона 'Удостовери' или копирай временната парола {{.OTP}} и я постави на екрана за удостоверяване, за да се удостовериш в ZITADEL в рамките на следващите пет минути.
|
||||
Text: Моля, използвай бутона 'Удостовери' или копирай временната парола {{.OTP}} и я постави на екрана за удостоверяване, за да се удостовериш в Zitadel в рамките на следващите пет минути.
|
||||
ButtonText: Удостовери
|
||||
VerifySMSOTP:
|
||||
Text: >-
|
||||
@@ -45,7 +45,7 @@ VerifySMSOTP:
|
||||
|
||||
@{{.Domain}} #{{.OTP}}
|
||||
DomainClaimed:
|
||||
Title: ZITADEL - Домейнът е заявен
|
||||
Title: Zitadel - Домейнът е заявен
|
||||
PreHeader: Промяна на имейл/потребителско име
|
||||
Subject: Домейнът е заявен
|
||||
Greeting: 'Здравейте {{.DisplayName}},'
|
||||
@@ -54,14 +54,14 @@ DomainClaimed:
|
||||
тази организация. {{.TempUsername}}) за това влизане.
|
||||
ButtonText: Влизам
|
||||
PasswordlessRegistration:
|
||||
Title: ZITADEL - Добавете вход без парола
|
||||
Title: Zitadel - Добавете вход без парола
|
||||
PreHeader: Добавете вход без парола
|
||||
Subject: Добавете вход без парола
|
||||
Greeting: 'Здравейте {{.DisplayName}},'
|
||||
Text: 'Получихме заявка за добавяне на токен за влизане без парола. '
|
||||
ButtonText: Добавете вход без парола
|
||||
PasswordChange:
|
||||
Title: ZITADEL - Паролата на потребителя е променена
|
||||
Title: Zitadel - Паролата на потребителя е променена
|
||||
PreHeader: Промяна на паролата
|
||||
Subject: Паролата на потребителя е променена
|
||||
Greeting: 'Здравейте {{.DisplayName}},'
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
InitCode:
|
||||
Title: ZITADEL - User initialisieren
|
||||
Title: Zitadel - User initialisieren
|
||||
PreHeader: User initialisieren
|
||||
Subject: User initialisieren
|
||||
Greeting: Hallo {{.DisplayName}},
|
||||
|
||||
@@ -1,37 +1,37 @@
|
||||
InitCode:
|
||||
Title: ZITADEL - Inicializar usuario
|
||||
Title: Zitadel - Inicializar usuario
|
||||
PreHeader: Inicializar usuario
|
||||
Subject: Inicializar usuario
|
||||
Greeting: Hola {{.DisplayName}},
|
||||
Text: Este usuario fue creado en ZITADEL. Utiliza el nombre de usuario {{.PreferredLoginName}} para iniciar sesión. Por favor, haz clic en el botón más abajo para finalizar el proceso de inicialización. (Código {{.Code}}) Si no solicitaste este correo electrónico, por favor ignóralo.
|
||||
Text: Este usuario fue creado en Zitadel. Utiliza el nombre de usuario {{.PreferredLoginName}} para iniciar sesión. Por favor, haz clic en el botón más abajo para finalizar el proceso de inicialización. (Código {{.Code}}) Si no solicitaste este correo electrónico, por favor ignóralo.
|
||||
ButtonText: Finalizar inicialización
|
||||
PasswordReset:
|
||||
Title: ZITADEL - Restablecer contraseña
|
||||
Title: Zitadel - Restablecer contraseña
|
||||
PreHeader: Restablecer contraseña
|
||||
Subject: Restablecer contraseña
|
||||
Greeting: Hola {{.DisplayName}},
|
||||
Text: Hemos recibido una solicitud de restablecimiento de contraseña. Por favor, usa el botón más abajo para restablecer tu contraseña. (Código {{.Code}}) Si no solicitaste este correo electrónico, por favor ignóralo.
|
||||
ButtonText: Restablecer contraseña
|
||||
VerifyEmail:
|
||||
Title: ZITADEL - Verificar correo electrónico
|
||||
Title: Zitadel - Verificar correo electrónico
|
||||
PreHeader: Verificar correo electrónico
|
||||
Subject: Verificar correo electrónico
|
||||
Greeting: Hola {{.DisplayName}},
|
||||
Text: Se ha añadido una nueva dirección de correo electrónico. Por favor, usa el botón más abajo para verificar tu correo electrónico. (Código {{.Code}}) Si no añadiste una nueva dirección de correo electrónico, por favor ignora este correo.
|
||||
ButtonText: Verificar correo electrónico
|
||||
VerifyPhone:
|
||||
Title: ZITADEL - Verificar teléfono
|
||||
Title: Zitadel - Verificar teléfono
|
||||
PreHeader: Verificar teléfono
|
||||
Subject: Verificar teléfono
|
||||
Greeting: Hola {{.DisplayName}},
|
||||
Text: Se ha añadido un nuevo número de teléfono. Por favor, usa el siguiente código para verificarlo {{.Code}}
|
||||
ButtonText: Verificar teléfono
|
||||
VerifyEmailOTP:
|
||||
Title: ZITADEL - Verifica la contraseña de un solo uso
|
||||
Title: Zitadel - Verifica la contraseña de un solo uso
|
||||
PreHeader: Verifica la contraseña de un solo uso
|
||||
Subject: Verifica la contraseña de un solo uso
|
||||
Greeting: Hola {{.DisplayName}},
|
||||
Text: Por favor, utiliza el botón 'Autenticar' o copia la contraseña de un solo uso {{.OTP}} y pégala en la pantalla de autenticación para autenticarte en ZITADEL en los próximos cinco minutos.
|
||||
Text: Por favor, utiliza el botón 'Autenticar' o copia la contraseña de un solo uso {{.OTP}} y pégala en la pantalla de autenticación para autenticarte en Zitadel en los próximos cinco minutos.
|
||||
ButtonText: Autenticar
|
||||
VerifySMSOTP:
|
||||
Text: >-
|
||||
@@ -39,21 +39,21 @@ VerifySMSOTP:
|
||||
|
||||
@{{.Domain}} #{{.OTP}}
|
||||
DomainClaimed:
|
||||
Title: ZITADEL - Se ha reclamado un dominio
|
||||
Title: Zitadel - Se ha reclamado un dominio
|
||||
PreHeader: Cambiar dirección de correo electrónico / nombre de usuario
|
||||
Subject: Se ha reclamado un dominio
|
||||
Greeting: Hola {{.DisplayName}},
|
||||
Text: El dominio {{.Domain}} ha sido reclamado por una organización. Tu usuario actual {{.Username}} no es parte de esta organización. Por tanto tendrás que cambiar tu dirección de correo electrónico cuando inicies sesión. Hemos creado un nombre de usuario temporal ({{.TempUsername}}) para este inicio de sesión.
|
||||
ButtonText: Iniciar sesión
|
||||
PasswordlessRegistration:
|
||||
Title: ZITADEL - Añadir inicio de sesión sin contraseña
|
||||
Title: Zitadel - Añadir inicio de sesión sin contraseña
|
||||
PreHeader: Añadir inicio de sesión sin contraseña
|
||||
Subject: Añadir inicio de sesión sin contraseña
|
||||
Greeting: Hola {{.DisplayName}},
|
||||
Text: Hemos recibido una solicitud para añadir un token para iniciar sesión sin contraseña. Por favor, usa el botón más abajo para añadir tu token o dispositivo para un inicio de sesión sin contraseña.
|
||||
ButtonText: Añadir inicio de sesión sin contraseña
|
||||
PasswordChange:
|
||||
Title: ZITADEL - La contraseña de usuario ha sido cambiada
|
||||
Title: Zitadel - La contraseña de usuario ha sido cambiada
|
||||
PreHeader: Cambiar contraseña
|
||||
Subject: La contraseña de usuario ha sido cambiada
|
||||
Greeting: Hola {{.DisplayName}},
|
||||
|
||||
@@ -1,37 +1,37 @@
|
||||
InitCode:
|
||||
Title: ZITADEL - Initialiser l'utilisateur
|
||||
Title: Zitadel - Initialiser l'utilisateur
|
||||
PreHeader: Initialiser l'utilisateur
|
||||
Subject: Initialiser l'utilisateur
|
||||
Greeting: Bonjour {{.DisplayName}},
|
||||
Text: Cet utilisateur a été créé dans ZITADEL. Utilisez le nom d'utilisateur {{.PreferredLoginName}} pour vous connecter. Veuillez cliquer sur le bouton ci-dessous pour terminer le processus d'initialisation. (Code {{.Code}}) Si vous n'avez pas demandé ce courrier, veuillez l'ignorer.
|
||||
Text: Cet utilisateur a été créé dans Zitadel. Utilisez le nom d'utilisateur {{.PreferredLoginName}} pour vous connecter. Veuillez cliquer sur le bouton ci-dessous pour terminer le processus d'initialisation. (Code {{.Code}}) Si vous n'avez pas demandé ce courrier, veuillez l'ignorer.
|
||||
ButtonText: Terminer l'initialisation
|
||||
PasswordReset:
|
||||
Title: ZITADEL - Réinitialiser le mot de passe
|
||||
Title: Zitadel - Réinitialiser le mot de passe
|
||||
PreHeader: Réinitialiser le mot de passe
|
||||
Subject: Réinitialiser le mot de passe
|
||||
Greeting: Bonjour {{.DisplayName}},
|
||||
Text: Nous avons reçu une demande de réinitialisation du mot de passe. Veuillez utiliser le bouton ci-dessous pour réinitialiser votre mot de passe. (Code {{.Code}}) Si vous n'avez pas demandé cet e-mail, veuillez l'ignorer.
|
||||
ButtonText: Réinitialiser le mot de passe
|
||||
VerifyEmail:
|
||||
Title: ZITADEL - Vérifier l'email
|
||||
Title: Zitadel - Vérifier l'email
|
||||
PreHeader: Vérifier l'email
|
||||
Subject: Vérifier l'email
|
||||
Greeting: Bonjour {{.DisplayName}},
|
||||
Text: Un nouveau courriel a été ajouté. Veuillez utiliser le bouton ci-dessous pour vérifier votre e-mail. (Code {{.Code}}) Si vous n'avez pas ajouté de nouvelle adresse e-mail, veuillez ignorer cet e-mail.
|
||||
ButtonText: Vérifier l'email
|
||||
VerifyPhone:
|
||||
Title: ZITADEL - Vérifier le téléphone
|
||||
Title: Zitadel - Vérifier le téléphone
|
||||
PreHeader: Vérifier le téléphone
|
||||
Subject: Vérifier le téléphone
|
||||
Greeting: Bonjour {{.DisplayName}},
|
||||
Text: Un nouveau numéro de téléphone a été ajouté. Veuillez utiliser le code suivant pour le vérifier {{.Code}}
|
||||
ButtonText: Vérifier le téléphone
|
||||
VerifyEmailOTP:
|
||||
Title: ZITADEL - Vérifier le mot de passe à usage unique
|
||||
Title: Zitadel - Vérifier le mot de passe à usage unique
|
||||
PreHeader: Vérifier le mot de passe à usage unique
|
||||
Subject: Vérifier le mot de passe à usage unique
|
||||
Greeting: Bonjour {{.DisplayName}},
|
||||
Text: Utilisez le bouton 'Authentifier' ou copiez le mot de passe à usage unique {{.OTP}} et collez-le à l'écran d'authentification pour vous authentifier sur ZITADEL dans les cinq prochaines minutes.
|
||||
Text: Utilisez le bouton 'Authentifier' ou copiez le mot de passe à usage unique {{.OTP}} et collez-le à l'écran d'authentification pour vous authentifier sur Zitadel dans les cinq prochaines minutes.
|
||||
ButtonText: Authentifier
|
||||
VerifySMSOTP:
|
||||
Text: >-
|
||||
@@ -39,21 +39,21 @@ VerifySMSOTP:
|
||||
|
||||
@{{.Domain}} #{{.OTP}}
|
||||
DomainClaimed:
|
||||
Title: ZITADEL - Le domaine a été réclamé
|
||||
Title: Zitadel - Le domaine a été réclamé
|
||||
PreHeader: Modifier l'email / le nom d'utilisateur
|
||||
Subject: Le domaine a été réclamé
|
||||
Greeting: Bonjour {{.DisplayName}},
|
||||
Text: Le domaine {{.Domain}} a été revendiqué par une organisation. Votre utilisateur actuel {{.Username}} ne fait pas partie de cette organisation. Par conséquent, vous devrez changer votre adresse électronique lors de votre connexion. Nous avons créé un nom d'utilisateur temporaire ({{.TempUsername}}) pour cette connexion.
|
||||
ButtonText: Connexion
|
||||
PasswordlessRegistration:
|
||||
Title: ZITADEL - Ajouter une connexion sans mot de passe
|
||||
Title: Zitadel - Ajouter une connexion sans mot de passe
|
||||
PreHeader: Ajouter une connexion sans mot de passe
|
||||
Subject: Ajouter une connexion sans mot de passe
|
||||
Greeting: Bonjour {{.DisplayName}},
|
||||
Text: Nous avons reçu une demande d'ajout d'un jeton pour la connexion sans mot de passe. Veuillez utiliser le bouton ci-dessous pour ajouter votre jeton ou dispositif pour la connexion sans mot de passe.
|
||||
ButtonText: Ajouter une connexion sans mot de passe
|
||||
PasswordChange:
|
||||
Title: ZITADEL - Le mot de passe de l'utilisateur a changé
|
||||
Title: Zitadel - Le mot de passe de l'utilisateur a changé
|
||||
PreHeader: Modifier le mot de passe
|
||||
Subject: Le mot de passe de l'utilisateur a changé
|
||||
Greeting: Bonjour {{.DisplayName}},
|
||||
|
||||
@@ -1,37 +1,37 @@
|
||||
InitCode:
|
||||
Title: ZITADEL - Inizializzare l'utente
|
||||
Title: Zitadel - Inizializzare l'utente
|
||||
PreHeader: Inizializzare l'utente
|
||||
Subject: Inizializzare l'utente
|
||||
Greeting: 'Ciao {{.DisplayName}},'
|
||||
Text: Questo utente è stato creato in ZITADEL. Usa il nome utente {{.PreferredLoginName}} per accedere. Per favore, clicca il pulsante per finire il processo di inizializzazione. (Codice {{.Code}}) Se non hai richiesto questa mail, per favore ignorala.
|
||||
Text: Questo utente è stato creato in Zitadel. Usa il nome utente {{.PreferredLoginName}} per accedere. Per favore, clicca il pulsante per finire il processo di inizializzazione. (Codice {{.Code}}) Se non hai richiesto questa mail, per favore ignorala.
|
||||
ButtonText: Termina
|
||||
PasswordReset:
|
||||
Title: ZITADEL - Ripristina la password
|
||||
Title: Zitadel - Ripristina la password
|
||||
PreHeader: Ripristina la password
|
||||
Subject: Ripristina la password
|
||||
Greeting: 'Ciao {{.DisplayName}},'
|
||||
Text: Abbiamo ricevuto una richiesta di reimpostazione della password. Per favore clicca il pulsante per resettare la tua password. (Codice {{.Code}}) Se non hai richiesto questa mail, ignorala.
|
||||
ButtonText: Ripristina
|
||||
VerifyEmail:
|
||||
Title: ZITADEL - Verifica l'e-mail
|
||||
Title: Zitadel - Verifica l'e-mail
|
||||
PreHeader: Verifica l'e-mail
|
||||
Subject: Verifica l'e-mail
|
||||
Greeting: 'Ciao {{.DisplayName}},'
|
||||
Text: È stata aggiunta una nuova email. Per favore fai clic sul pulsante per verificare la tua mail. (Codice {{.Code}}) Se non hai aggiunto una nuova email, ignora questa email.
|
||||
ButtonText: Verifica
|
||||
VerifyPhone:
|
||||
Title: ZITADEL - Verifica il telefono
|
||||
Title: Zitadel - Verifica il telefono
|
||||
PreHeader: Verifica il telefono
|
||||
Subject: Verifica il telefono
|
||||
Greeting: 'Ciao {{.DisplayName}},'
|
||||
Text: È stato aggiunto un nuovo numero di telefono. Usa il seguente codice per verificarlo {{.Code}}
|
||||
ButtonText: Verifica
|
||||
VerifyEmailOTP:
|
||||
Title: ZITADEL - Verifica la password monouso
|
||||
Title: Zitadel - Verifica la password monouso
|
||||
PreHeader: Verifica la password monouso
|
||||
Subject: Verifica la password monouso
|
||||
Greeting: Ciao {{.DisplayName}},
|
||||
Text: Per favore, utilizza il pulsante 'Autentica' o copia la password monouso {{.OTP}} e incollala nella schermata di autenticazione per autenticarti a ZITADEL entro i prossimi cinque minuti.
|
||||
Text: Per favore, utilizza il pulsante 'Autentica' o copia la password monouso {{.OTP}} e incollala nella schermata di autenticazione per autenticarti a Zitadel entro i prossimi cinque minuti.
|
||||
ButtonText: Autentica
|
||||
VerifySMSOTP:
|
||||
Text: >-
|
||||
@@ -39,21 +39,21 @@ VerifySMSOTP:
|
||||
|
||||
@{{.Domain}} #{{.OTP}}
|
||||
DomainClaimed:
|
||||
Title: ZITADEL - Il dominio è stato rivendicato
|
||||
Title: Zitadel - Il dominio è stato rivendicato
|
||||
PreHeader: Cambiare email / nome utente
|
||||
Subject: Il dominio è stato rivendicato
|
||||
Greeting: 'Ciao {{.DisplayName}},'
|
||||
Text: Il dominio {{.Domain}} è stato rivendicato da un'organizzazione. Il tuo attuale utente {{.Username}} non fa parte di questa organizzazione. Perciò dovrai cambiare la tua email quando farai il login. Abbiamo creato un nome utente temporaneo ({{.TempUsername}}) per questo login.
|
||||
ButtonText: Accedi
|
||||
PasswordlessRegistration:
|
||||
Title: ZITADEL - Aggiungere autenticazione con passkey
|
||||
Title: Zitadel - Aggiungere autenticazione con passkey
|
||||
PreHeader: Aggiungi l'autenticazione con passkey
|
||||
Subject: Aggiungi l'autenticazione con passkey
|
||||
Greeting: 'Ciao {{.DisplayName}},'
|
||||
Text: Abbiamo ricevuto una richiesta per aggiungere l'autenticazione con passkey. Usa il pulsante qui sotto per aggiungere il tuo token o dispositivo per il login senza password.
|
||||
ButtonText: Attiva passkey
|
||||
PasswordChange:
|
||||
Title: ZITADEL - La password dell'utente è stata modificata
|
||||
Title: Zitadel - La password dell'utente è stata modificata
|
||||
PreHeader: Modifica della password
|
||||
Subject: La password dell'utente è stata modificata
|
||||
Greeting: Ciao {{.DisplayName}},
|
||||
|
||||
@@ -1,37 +1,37 @@
|
||||
InitCode:
|
||||
Title: ZITADEL - ユーザーの初期セットアップ
|
||||
Title: Zitadel - ユーザーの初期セットアップ
|
||||
PreHeader: ユーザーの初期セットアップ
|
||||
Subject: ユーザーの初期セットアップ
|
||||
Greeting: こんにちは {{.DisplayName}} さん、
|
||||
Text: このユーザーはZITADELで作成されました。ユーザー名 {{.PreferredLoginName}} を使用してログインします。以下のボタンから、初期セットアップを完了してください。(コード {{.Code}})このメールの受信を希望していない場合は、無視してください。
|
||||
Text: このユーザーはZitadelで作成されました。ユーザー名 {{.PreferredLoginName}} を使用してログインします。以下のボタンから、初期セットアップを完了してください。(コード {{.Code}})このメールの受信を希望していない場合は、無視してください。
|
||||
ButtonText: 初期セットアップを完了する
|
||||
PasswordReset:
|
||||
Title: ZITADEL - パスワードをリセットします
|
||||
Title: Zitadel - パスワードをリセットします
|
||||
PreHeader: パスワードの再設定
|
||||
Subject: パスワードの再設定
|
||||
Greeting: こんにちは {{.DisplayName}} さん、
|
||||
Text: パスワードリセットのリクエストを受け取りました。以下のボタンから、パスワードをリセットしてください。(コード {{.Code}})このメールの受信を希望していない場合は、無視してください。
|
||||
ButtonText: パスワードを再設定
|
||||
VerifyEmail:
|
||||
Title: ZITADEL - メールアドレスの認証
|
||||
Title: Zitadel - メールアドレスの認証
|
||||
PreHeader: メールアドレスの認証
|
||||
Subject: メールアドレスの認証
|
||||
Greeting: こんにちは {{.DisplayName}} さん、
|
||||
Text: 新しいメールアドレスが追加されました。以下のボタンから、メールアドレスを認証してください。(コード {{.Code}})新しいメールアドレスを追加していない場合は、このメールを無視してください。
|
||||
ButtonText: メールアドレスを認証
|
||||
VerifyPhone:
|
||||
Title: ZITADEL - 電話番号の認証
|
||||
Title: Zitadel - 電話番号の認証
|
||||
PreHeader: 電話番号の認証
|
||||
Subject: 電話番号の認証
|
||||
Greeting: こんにちは {{.DisplayName}} さん、
|
||||
Text: 新しい電話番号が追加されました。次のコードを使用してを認証してください {{.Code}}
|
||||
ButtonText: 電話番号を認証
|
||||
VerifyEmailOTP:
|
||||
Title: ZITADEL - ワンタイムパスワードを確認する
|
||||
Title: Zitadel - ワンタイムパスワードを確認する
|
||||
PreHeader: ワンタイムパスワードを確認する
|
||||
Subject: ワンタイムパスワードを確認する
|
||||
Greeting: こんにちは、{{.DisplayName}}さん
|
||||
Text: 認証ボタンを使用するか、ワンタイムパスワード {{.OTP}} をコピーして認証画面に貼り付け、次の5分以内にZITADELで認証してください。
|
||||
Text: 認証ボタンを使用するか、ワンタイムパスワード {{.OTP}} をコピーして認証画面に貼り付け、次の5分以内にZitadelで認証してください。
|
||||
ButtonText: 認証
|
||||
VerifySMSOTP:
|
||||
Text: >-
|
||||
@@ -39,21 +39,21 @@ VerifySMSOTP:
|
||||
|
||||
@{{.Domain}} #{{.OTP}}
|
||||
DomainClaimed:
|
||||
Title: ZITADEL - ドメインの登録
|
||||
Title: Zitadel - ドメインの登録
|
||||
PreHeader: メールアドレス・ユーザー名の変更
|
||||
Subject: ドメインの登録
|
||||
Greeting: こんにちは {{.DisplayName}} さん、
|
||||
Text: ドメイン {{.Domain}} が組織によって登録されました。現在のユーザー {{.Username}} はこの組織のメンバーでないため、ログイン時にメールアドレスを変更する必要があります。一時的なユーザー名({{.TempUsername}})を使用してログインし、設定を進めてください。
|
||||
ButtonText: ログイン
|
||||
PasswordlessRegistration:
|
||||
Title: ZITADEL - パスワードレスログインの追加
|
||||
Title: Zitadel - パスワードレスログインの追加
|
||||
PreHeader: パスワードレスログインの追加
|
||||
Subject: パスワードレスログインの追加
|
||||
Greeting: こんにちは {{.DisplayName}} さん、
|
||||
Text: パスワードレスログイン用のトークンを追加するリクエストを受け取りました。以下のボタンから、パスワードレスログイン用のトークンやデバイスを追加してください。
|
||||
ButtonText: パスワードレスログインを追加
|
||||
PasswordChange:
|
||||
Title: ZITADEL - ユーザーのパスワードが変更されました
|
||||
Title: Zitadel - ユーザーのパスワードが変更されました
|
||||
PreHeader: パスワードの変更
|
||||
Subject: ユーザーのパスワードが変更されました
|
||||
Greeting: こんにちは {{.DisplayName}} さん、
|
||||
|
||||
@@ -1,37 +1,37 @@
|
||||
InitCode:
|
||||
Title: ZITADEL - Иницијализација на Корисник
|
||||
Title: Zitadel - Иницијализација на Корисник
|
||||
PreHeader: Иницијализација на Корисник
|
||||
Subject: Иницијализација на Корисник
|
||||
Greeting: Здраво {{.DisplayName}},
|
||||
Text: Овој корисник е креиран во ZITADEL. Користете го корисничкото име {{.PreferredLoginName}} за најава. Ве молиме кликнете на копчето подолу за да го завршите процесот на иницијализација. (Код {{.Code}}) Ако не сте барале/и оваа е-пошта, ве молиме игнорирајте ја.
|
||||
Text: Овој корисник е креиран во Zitadel. Користете го корисничкото име {{.PreferredLoginName}} за најава. Ве молиме кликнете на копчето подолу за да го завршите процесот на иницијализација. (Код {{.Code}}) Ако не сте барале/и оваа е-пошта, ве молиме игнорирајте ја.
|
||||
ButtonText: Заврши иницијализација
|
||||
PasswordReset:
|
||||
Title: ZITADEL - Ресетирање на лозинка
|
||||
Title: Zitadel - Ресетирање на лозинка
|
||||
PreHeader: Ресетирање на лозинка
|
||||
Subject: Ресетирање на лозинка
|
||||
Greeting: Здраво {{.DisplayName}},
|
||||
Text: Добивме барање за ресетирање на лозинката. Ве молиме користете го копчето подолу за да ја ресетирате вашата лозинка. (Код {{.Code}}) Ако не сте ја побарале ресетирање на лозинка, ве молиме игнорирајте ја оваа е-пошта.
|
||||
ButtonText: Ресетирај лозинка
|
||||
VerifyEmail:
|
||||
Title: ZITADEL - Верификација на е-пошта
|
||||
Title: Zitadel - Верификација на е-пошта
|
||||
PreHeader: Верификација на е-пошта
|
||||
Subject: Верификација на е-пошта
|
||||
Greeting: Здраво {{.DisplayName}},
|
||||
Text: Додадена е нова е-пошта. Ве молиме користете го копчето подолу за да ја верифицирате вашата е-пошта. (Код {{.Code}}) Ако не сте додале нова е-пошта, ве молиме игнорирајте ја оваа е-пошта.
|
||||
ButtonText: Верифицирај е-пошта
|
||||
VerifyPhone:
|
||||
Title: ZITADEL - Верификација на телефонски број
|
||||
Title: Zitadel - Верификација на телефонски број
|
||||
PreHeader: Верификација на телефонски број
|
||||
Subject: Верификација на телефонски број
|
||||
Greeting: Здраво {{.DisplayName}},
|
||||
Text: Додаден е нов телефонски број. Ве молиме користете го следниот код за да го верифицирате. {{.Code}}
|
||||
ButtonText: Верифицирај телефонски број
|
||||
VerifyEmailOTP:
|
||||
Title: ZITADEL - Потврди еднократна лозинка
|
||||
Title: Zitadel - Потврди еднократна лозинка
|
||||
PreHeader: Потврди еднократна лозинка
|
||||
Subject: Потврди еднократна лозинка
|
||||
Greeting: Здраво {{.DisplayName}},
|
||||
Text: Ве молам, користи го копчето 'Автентицирај' или копирај ја еднократната лозинка {{.OTP}} и стави ја на екранот за автентикација за да се автентицираш на ZITADEL во следните пет минути.
|
||||
Text: Ве молам, користи го копчето 'Автентицирај' или копирај ја еднократната лозинка {{.OTP}} и стави ја на екранот за автентикација за да се автентицираш на Zitadel во следните пет минути.
|
||||
ButtonText: Автентицирај
|
||||
VerifySMSOTP:
|
||||
Text: >-
|
||||
@@ -39,21 +39,21 @@ VerifySMSOTP:
|
||||
|
||||
@{{.Domain}} #{{.OTP}}
|
||||
DomainClaimed:
|
||||
Title: ZITADEL - Доменот е преземен
|
||||
Title: Zitadel - Доменот е преземен
|
||||
PreHeader: Промена на е-пошта / корисничко име
|
||||
Subject: Доменот е преземен
|
||||
Greeting: Здраво {{.DisplayName}},
|
||||
Text: Доменот {{.Domain}} е преземен од страна на организација. Вашиот моментален корисник {{.Username}} не е дел од оваа организација. Затоа, при најава, треба да го промените вашиот е-поштенска адреса. Направивме привремено корисничко име ({{.TempUsername}}) за оваа најава.
|
||||
ButtonText: Најави се
|
||||
PasswordlessRegistration:
|
||||
Title: ZITADEL - Додади Најава без Лозинка
|
||||
Title: Zitadel - Додади Најава без Лозинка
|
||||
PreHeader: Додади Најава без Лозинка
|
||||
Subject: Додади Најава без Лозинка
|
||||
Greeting: Здраво {{.DisplayName}},
|
||||
Text: Добивме барање да додадеме токен за најава без лозинка. Ве молиме користете го копчето подолу за да додадете вашиот токен или уред за најава без лозинка.
|
||||
ButtonText: Додади Најава без Лозинка
|
||||
PasswordChange:
|
||||
Title: ZITADEL - Лозинката на корисникот е променета
|
||||
Title: Zitadel - Лозинката на корисникот е променета
|
||||
PreHeader: Промена на лозинка
|
||||
Subject: Лозинката на корисникот е променета
|
||||
Greeting: Здраво {{.DisplayName}},
|
||||
|
||||
@@ -1,37 +1,37 @@
|
||||
InitCode:
|
||||
Title: ZITADEL - Inicjalizacja użytkownika
|
||||
Title: Zitadel - Inicjalizacja użytkownika
|
||||
PreHeader: Inicjalizacja użytkownika
|
||||
Subject: Inicjalizacja użytkownika
|
||||
Greeting: Witaj {{.DisplayName}},
|
||||
Text: Ten użytkownik został utworzony w ZITADEL. Aby się zalogować, użyj nazwy użytkownika {{.PreferredLoginName}}. Kliknij poniższy przycisk, aby zakończyć proces inicjalizacji. (Kod {{.Code}}) Jeśli nie wystąpiła prośba o ten e-mail, proszę go zignorować.
|
||||
Text: Ten użytkownik został utworzony w Zitadel. Aby się zalogować, użyj nazwy użytkownika {{.PreferredLoginName}}. Kliknij poniższy przycisk, aby zakończyć proces inicjalizacji. (Kod {{.Code}}) Jeśli nie wystąpiła prośba o ten e-mail, proszę go zignorować.
|
||||
ButtonText: Zakończ inicjalizację
|
||||
PasswordReset:
|
||||
Title: ZITADEL - Resetowanie hasła
|
||||
Title: Zitadel - Resetowanie hasła
|
||||
PreHeader: Resetowanie hasła
|
||||
Subject: Resetowanie hasła
|
||||
Greeting: Witaj {{.DisplayName}},
|
||||
Text: Otrzymaliśmy prośbę o resetowanie hasła. Kliknij poniższy przycisk, aby zresetować swoje hasło. (Kod {{.Code}}) Jeśli nie wystąpiła prośba o ten e-mail, proszę go zignorować.
|
||||
ButtonText: Zresetuj hasło
|
||||
VerifyEmail:
|
||||
Title: ZITADEL - Weryfikacja adresu e-mail
|
||||
Title: Zitadel - Weryfikacja adresu e-mail
|
||||
PreHeader: Weryfikacja adresu e-mail
|
||||
Subject: Weryfikacja adresu e-mail
|
||||
Greeting: Witaj {{.DisplayName}},
|
||||
Text: Został dodany nowy adres e-mail. Użyj poniższego przycisku, aby zweryfikować swój adres e-mail. (Kod {{.Code}}) Jeśli nie dodałeś nowego adresu e-mail, proszę zignoruj ten e-mail.
|
||||
ButtonText: Zweryfikuj adres e-mail
|
||||
VerifyPhone:
|
||||
Title: ZITADEL - Weryfikacja numeru telefonu
|
||||
Title: Zitadel - Weryfikacja numeru telefonu
|
||||
PreHeader: Weryfikacja numeru telefonu
|
||||
Subject: Weryfikacja numeru telefonu
|
||||
Greeting: Witaj {{.DisplayName}},
|
||||
Text: Został dodany nowy numer telefonu. Użyj następującego kodu, aby go zweryfikować {{.Code}}
|
||||
ButtonText: Zweryfikuj numer telefonu
|
||||
VerifyEmailOTP:
|
||||
Title: ZITADEL - Zatwierdź hasło jednorazowe
|
||||
Title: Zitadel - Zatwierdź hasło jednorazowe
|
||||
PreHeader: Zatwierdź hasło jednorazowe
|
||||
Subject: Zatwierdź hasło jednorazowe
|
||||
Greeting: Witaj {{.DisplayName}},
|
||||
Text: Proszę, użyj przycisku 'Uwierzytelnij' lub skopiuj hasło jednorazowe {{.OTP}} i wklej go na ekran uwierzytelniania, aby uwierzytelnić się w ZITADEL w ciągu najbliższych pięciu minut.
|
||||
Text: Proszę, użyj przycisku 'Uwierzytelnij' lub skopiuj hasło jednorazowe {{.OTP}} i wklej go na ekran uwierzytelniania, aby uwierzytelnić się w Zitadel w ciągu najbliższych pięciu minut.
|
||||
ButtonText: Uwierzytelnij
|
||||
VerifySMSOTP:
|
||||
Text: >-
|
||||
@@ -39,21 +39,21 @@ VerifySMSOTP:
|
||||
|
||||
@{{.Domain}} #{{.OTP}}
|
||||
DomainClaimed:
|
||||
Title: ZITADEL - Domena została zarejestrowana
|
||||
Title: Zitadel - Domena została zarejestrowana
|
||||
PreHeader: Zmiana adresu e-mail / nazwy użytkownika
|
||||
Subject: Domena została zarejestrowana
|
||||
Greeting: Witaj {{.DisplayName}},
|
||||
Text: Domena {{.Domain}} została zarejestrowana przez organizację. Twój obecny użytkownik {{.Username}} nie jest członkiem tej organizacji. Dlatego będziesz musiał zmienić swój adres e-mail podczas logowania. Stworzyliśmy tymczasową nazwę użytkownika ({{.TempUsername}}) dla tego logowania.
|
||||
ButtonText: Zaloguj się
|
||||
PasswordlessRegistration:
|
||||
Title: ZITADEL - Dodaj logowanie bez hasła
|
||||
Title: Zitadel - Dodaj logowanie bez hasła
|
||||
PreHeader: Dodaj logowanie bez hasła
|
||||
Subject: Dodaj logowanie bez hasła
|
||||
Greeting: Witaj {{.DisplayName}},
|
||||
Text: Otrzymaliśmy prośbę o dodanie tokenu do logowania bez hasła. Użyj poniższego przycisku, aby dodać swój token lub urządzenie do logowania bez hasła.
|
||||
ButtonText: Dodaj logowanie bez hasła
|
||||
PasswordChange:
|
||||
Title: ZITADEL - Hasło użytkownika zostało zmienione
|
||||
Title: Zitadel - Hasło użytkownika zostało zmienione
|
||||
PreHeader: Zmiana hasła
|
||||
Subject: Hasło użytkownika zostało zmienione
|
||||
Greeting: Witaj {{.DisplayName}},
|
||||
|
||||
@@ -1,37 +1,37 @@
|
||||
InitCode:
|
||||
Title: ZITADEL - Inicializar Usuário
|
||||
Title: Zitadel - Inicializar Usuário
|
||||
PreHeader: Inicializar Usuário
|
||||
Subject: Inicializar Usuário
|
||||
Greeting: Olá {{.DisplayName}},
|
||||
Text: Este usuário foi criado no ZITADEL. Use o nome de usuário {{.PreferredLoginName}} para fazer login. Por favor, clique no botão abaixo para finalizar o processo de inicialização. (Código {{.Code}}) Se você não solicitou este e-mail, por favor, ignore-o.
|
||||
Text: Este usuário foi criado no Zitadel. Use o nome de usuário {{.PreferredLoginName}} para fazer login. Por favor, clique no botão abaixo para finalizar o processo de inicialização. (Código {{.Code}}) Se você não solicitou este e-mail, por favor, ignore-o.
|
||||
ButtonText: Finalizar inicialização
|
||||
PasswordReset:
|
||||
Title: ZITADEL - Redefinir senha
|
||||
Title: Zitadel - Redefinir senha
|
||||
PreHeader: Redefinir senha
|
||||
Subject: Redefinir senha
|
||||
Greeting: Olá {{.DisplayName}},
|
||||
Text: Recebemos uma solicitação de redefinição de senha. Por favor, use o botão abaixo para redefinir sua senha. (Código {{.Code}}) Se você não solicitou este e-mail, por favor, ignore-o.
|
||||
ButtonText: Redefinir senha
|
||||
VerifyEmail:
|
||||
Title: ZITADEL - Verificar e-mail
|
||||
Title: Zitadel - Verificar e-mail
|
||||
PreHeader: Verificar e-mail
|
||||
Subject: Verificar e-mail
|
||||
Greeting: Olá {{.DisplayName}},
|
||||
Text: Um novo e-mail foi adicionado. Por favor, use o botão abaixo para verificar seu e-mail. (Código {{.Code}}) Se você não adicionou um novo e-mail, por favor, ignore este e-mail.
|
||||
ButtonText: Verificar e-mail
|
||||
VerifyPhone:
|
||||
Title: ZITADEL - Verificar telefone
|
||||
Title: Zitadel - Verificar telefone
|
||||
PreHeader: Verificar telefone
|
||||
Subject: Verificar telefone
|
||||
Greeting: Olá {{.DisplayName}},
|
||||
Text: Um novo número de telefone foi adicionado. Por favor, use o código a seguir para verificá-lo {{.Code}}
|
||||
ButtonText: Verificar telefone
|
||||
VerifyEmailOTP:
|
||||
Title: ZITADEL - Verifica a senha de uso único
|
||||
Title: Zitadel - Verifica a senha de uso único
|
||||
PreHeader: Verifica a senha de uso único
|
||||
Subject: Verifica a senha de uso único
|
||||
Greeting: Olá {{.DisplayName}},
|
||||
Text: Por favor, usa o botão 'Autenticar' ou copia a senha de uso único {{.OTP}} e cola-a na tela de autenticação para te autenticares no ZITADEL nos próximos cinco minutos.
|
||||
Text: Por favor, usa o botão 'Autenticar' ou copia a senha de uso único {{.OTP}} e cola-a na tela de autenticação para te autenticares no Zitadel nos próximos cinco minutos.
|
||||
ButtonText: Autenticar
|
||||
VerifySMSOTP:
|
||||
Text: >-
|
||||
@@ -39,21 +39,21 @@ VerifySMSOTP:
|
||||
|
||||
@{{.Domain}} #{{.OTP}}
|
||||
DomainClaimed:
|
||||
Title: ZITADEL - Domínio foi reivindicado
|
||||
Title: Zitadel - Domínio foi reivindicado
|
||||
PreHeader: Alterar e-mail / nome de usuário
|
||||
Subject: Domínio foi reivindicado
|
||||
Greeting: Olá {{.DisplayName}},
|
||||
Text: O domínio {{.Domain}} foi reivindicado por uma organização. Seu usuário atual, {{.Username}}, não faz parte dessa organização. Portanto, você terá que alterar seu e-mail quando fizer o login. Criamos um nome de usuário temporário ({{.TempUsername}}) para este login.
|
||||
ButtonText: Fazer login
|
||||
PasswordlessRegistration:
|
||||
Title: ZITADEL - Adicionar Login sem Senha
|
||||
Title: Zitadel - Adicionar Login sem Senha
|
||||
PreHeader: Adicionar Login sem Senha
|
||||
Subject: Adicionar Login sem Senha
|
||||
Greeting: Olá {{.DisplayName}},
|
||||
Text: Recebemos uma solicitação para adicionar um token ou dispositivo para login sem senha. Por favor, use o botão abaixo para adicionar seu token ou dispositivo para login sem senha.
|
||||
ButtonText: Adicionar Login sem Senha
|
||||
PasswordChange:
|
||||
Title: ZITADEL - Senha do usuário foi alterada
|
||||
Title: Zitadel - Senha do usuário foi alterada
|
||||
PreHeader: Alterar senha
|
||||
Subject: Senha do usuário foi alterada
|
||||
Greeting: Olá {{.DisplayName}},
|
||||
|
||||
@@ -1,37 +1,37 @@
|
||||
InitCode:
|
||||
Title: ZITADEL - 初始化用户
|
||||
Title: Zitadel - 初始化用户
|
||||
PreHeader: 初始化用户
|
||||
Subject: 初始化用户
|
||||
Greeting: 你好 {{.DisplayName}},
|
||||
Text: 此用户是在 ZITADEL 中创建的。使用用户名 {{.PreferredLoginName}} 登录。请单击下面的按钮完成初始化过程。(代码 {{.Code}})如果不是您本人操作,请忽略它。
|
||||
Text: 此用户是在 Zitadel 中创建的。使用用户名 {{.PreferredLoginName}} 登录。请单击下面的按钮完成初始化过程。(代码 {{.Code}})如果不是您本人操作,请忽略它。
|
||||
ButtonText: 完成初始化
|
||||
PasswordReset:
|
||||
Title: ZITADEL - 重置密码
|
||||
Title: Zitadel - 重置密码
|
||||
PreHeader: 重置密码
|
||||
Subject: 重置密码
|
||||
Greeting: 你好 {{.DisplayName}},
|
||||
Text: 我们收到了密码重置请求。请使用下面的按钮重置您的密码。(验证码 {{.Code}})如果不是您本人操作,请忽略它。
|
||||
ButtonText: 重置密码
|
||||
VerifyEmail:
|
||||
Title: ZITADEL - 验证电子邮箱
|
||||
Title: Zitadel - 验证电子邮箱
|
||||
PreHeader: 验证电子邮箱
|
||||
Subject: 验证电子邮箱
|
||||
Greeting: 你好 {{.DisplayName}},
|
||||
Text: 已添加新电子邮件。请使用下面的按钮来验证您的邮件。(验证码 {{.Code}})如果不是您本人操作,请忽略此电子邮件。
|
||||
ButtonText: 验证电子邮箱
|
||||
VerifyPhone:
|
||||
Title: ZITADEL - 验证手机号码
|
||||
Title: Zitadel - 验证手机号码
|
||||
PreHeader: 验证手机号码
|
||||
Subject: 验证手机号码
|
||||
Greeting: 你好 {{.DisplayName}},
|
||||
Text: 您的用户中添加了一个新的手机号码,请使用以下验证码进行验证 {{.Code}}
|
||||
ButtonText: 验证手机号码
|
||||
VerifyEmailOTP:
|
||||
Title: ZITADEL - 验证一次性密码
|
||||
Title: Zitadel - 验证一次性密码
|
||||
PreHeader: 验证一次性密码
|
||||
Subject: 验证一次性密码
|
||||
Greeting: 你好,{{.DisplayName}},
|
||||
Text: 请使用 '验证' 按钮,或复制一次性密码 {{.OTP}} 并将其粘贴到验证屏幕中,以在接下来的五分钟内在 ZITADEL 中进行验证。
|
||||
Text: 请使用 '验证' 按钮,或复制一次性密码 {{.OTP}} 并将其粘贴到验证屏幕中,以在接下来的五分钟内在 Zitadel 中进行验证。
|
||||
ButtonText: 验证
|
||||
VerifySMSOTP:
|
||||
Text: >-
|
||||
@@ -39,21 +39,21 @@ VerifySMSOTP:
|
||||
|
||||
@{{.Domain}} #{{.OTP}}
|
||||
DomainClaimed:
|
||||
Title: ZITADEL - 域名所有权验证
|
||||
Title: Zitadel - 域名所有权验证
|
||||
PreHeader: 更改电子邮件/用户名
|
||||
Subject: 域名所有权验证
|
||||
Greeting: 你好 {{.DisplayName}},
|
||||
Text: 域 {{.Domain}} 已被组织使用。您当前的用户 {{.Username}} 不属于此组织。因此,您必须在登录时更改您的电子邮件。我们为此登录创建了一个临时用户名 ({{.TempUsername}})。
|
||||
ButtonText: 登录
|
||||
PasswordlessRegistration:
|
||||
Title: ZITADEL - 添加无密码登录
|
||||
Title: Zitadel - 添加无密码登录
|
||||
PreHeader: 添加无密码登录
|
||||
Subject: 添加无密码登录
|
||||
Greeting: 你好 {{.DisplayName}},
|
||||
Text: 我们收到了为无密码登录添加令牌的请求。请使用下面的按钮添加您的令牌或设备以进行无密码登录。
|
||||
ButtonText: 添加无密码登录
|
||||
PasswordChange:
|
||||
Title: ZITADEL - 用户的密码已经改变
|
||||
Title: Zitadel - 用户的密码已经改变
|
||||
PreHeader: 更改密码
|
||||
Subject: 用户的密码已经改变
|
||||
Greeting: 你好 {{.DisplayName}},
|
||||
|
||||
Reference in New Issue
Block a user