You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
893 B
Go

package user
import (
"time"
domain "knowfoolery/backend/services/user-service/internal/domain/user"
)
// RegisterInput is input for register operation.
type RegisterInput struct {
ActorZitadelUserID string
ActorEmail string
DisplayName string
ConsentVersion string
ConsentSource string
}
// UpdateProfileInput is input for profile update.
type UpdateProfileInput struct {
DisplayName string
ConsentVersion string
ConsentSource string
}
// ListUsersInput controls admin list operation.
type ListUsersInput struct {
Page int
PageSize int
Email string
DisplayName string
CreatedAfter *time.Time
CreatedBefore *time.Time
IncludeDeleted bool
}
// ExportBundle is GDPR export payload.
type ExportBundle struct {
User *domain.User `json:"user"`
AuditLogs []domain.AuditLogEntry `json:"audit_logs"`
}