email_queue

package
v0.0.0-...-eeb1421 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 7, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	EmailType_name = map[int32]string{
		0: "PASSWORD_RESET_EMAIL",
		1: "WELCOME_EMAIL",
		2: "RESET_EMAIL",
		3: "INVITE_CODE",
		4: "SYSTEM_MAINTENANCE",
		5: "PROMOTIONAL",
	}
	EmailType_value = map[string]int32{
		"PASSWORD_RESET_EMAIL": 0,
		"WELCOME_EMAIL":        1,
		"RESET_EMAIL":          2,
		"INVITE_CODE":          3,
		"SYSTEM_MAINTENANCE":   4,
		"PROMOTIONAL":          5,
	}
)

Enum value maps for EmailType.

View Source
var File_email_queue_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type EmailContract

type EmailContract struct {
	From      string    `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
	To        string    `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
	Subject   string    `protobuf:"bytes,3,opt,name=subject,proto3" json:"subject,omitempty"`
	Message   string    `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
	EmailType EmailType `protobuf:"varint,5,opt,name=emailType,proto3,enum=email_queue.EmailType" json:"emailType,omitempty"`
	UserName  string    `protobuf:"bytes,6,opt,name=userName,proto3" json:"userName,omitempty"`
	FirstName string    `protobuf:"bytes,7,opt,name=firstName,proto3" json:"firstName,omitempty"`
	Metadata  *Metadata `protobuf:"bytes,8,opt,name=metadata,proto3" json:"metadata,omitempty"`
	Token     *Tokens   `protobuf:"bytes,9,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*EmailContract) Descriptor deprecated

func (*EmailContract) Descriptor() ([]byte, []int)

Deprecated: Use EmailContract.ProtoReflect.Descriptor instead.

func (*EmailContract) GetEmailType

func (x *EmailContract) GetEmailType() EmailType

func (*EmailContract) GetFirstName

func (x *EmailContract) GetFirstName() string

func (*EmailContract) GetFrom

func (x *EmailContract) GetFrom() string

func (*EmailContract) GetMessage

func (x *EmailContract) GetMessage() string

func (*EmailContract) GetMetadata

func (x *EmailContract) GetMetadata() *Metadata

func (*EmailContract) GetSubject

func (x *EmailContract) GetSubject() string

func (*EmailContract) GetTo

func (x *EmailContract) GetTo() string

func (*EmailContract) GetToken

func (x *EmailContract) GetToken() *Tokens

func (*EmailContract) GetUserName

func (x *EmailContract) GetUserName() string

func (*EmailContract) ProtoMessage

func (*EmailContract) ProtoMessage()

func (*EmailContract) ProtoReflect

func (x *EmailContract) ProtoReflect() protoreflect.Message

func (*EmailContract) Reset

func (x *EmailContract) Reset()

func (*EmailContract) String

func (x *EmailContract) String() string

type EmailMessage

type EmailMessage struct {
	From                 string    `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
	To                   string    `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
	Subject              string    `protobuf:"bytes,3,opt,name=subject,proto3" json:"subject,omitempty"`
	UserName             string    `protobuf:"bytes,4,opt,name=userName,proto3" json:"userName,omitempty"`
	EmailType            EmailType `protobuf:"varint,5,opt,name=emailType,proto3,enum=email_queue.EmailType" json:"emailType,omitempty"`
	FirstName            string    `protobuf:"bytes,6,opt,name=firstName,proto3" json:"firstName,omitempty"`
	LastName             string    `protobuf:"bytes,7,opt,name=lastName,proto3" json:"lastName,omitempty"`
	VerificationAddress  string    `protobuf:"bytes,8,opt,name=verificationAddress,proto3" json:"verificationAddress,omitempty"`
	UserID               string    `protobuf:"bytes,9,opt,name=userID,proto3" json:"userID,omitempty"`
	PasswordResetAuthnID int32     `protobuf:"varint,10,opt,name=passwordResetAuthnID,proto3" json:"passwordResetAuthnID,omitempty"`
	PasswordResetToken   string    `protobuf:"bytes,11,opt,name=passwordResetToken,proto3" json:"passwordResetToken,omitempty"`
	// contains filtered or unexported fields
}

EmailMessage: represents an email message

func (*EmailMessage) Descriptor deprecated

func (*EmailMessage) Descriptor() ([]byte, []int)

Deprecated: Use EmailMessage.ProtoReflect.Descriptor instead.

func (*EmailMessage) GetEmailType

func (x *EmailMessage) GetEmailType() EmailType

func (*EmailMessage) GetFirstName

func (x *EmailMessage) GetFirstName() string

func (*EmailMessage) GetFrom

func (x *EmailMessage) GetFrom() string

func (*EmailMessage) GetLastName

func (x *EmailMessage) GetLastName() string

func (*EmailMessage) GetPasswordResetAuthnID

func (x *EmailMessage) GetPasswordResetAuthnID() int32

func (*EmailMessage) GetPasswordResetToken

func (x *EmailMessage) GetPasswordResetToken() string

func (*EmailMessage) GetSubject

func (x *EmailMessage) GetSubject() string

func (*EmailMessage) GetTo

func (x *EmailMessage) GetTo() string

func (*EmailMessage) GetUserID

func (x *EmailMessage) GetUserID() string

func (*EmailMessage) GetUserName

func (x *EmailMessage) GetUserName() string

func (*EmailMessage) GetVerificationAddress

func (x *EmailMessage) GetVerificationAddress() string

func (*EmailMessage) ProtoMessage

func (*EmailMessage) ProtoMessage()

func (*EmailMessage) ProtoReflect

func (x *EmailMessage) ProtoReflect() protoreflect.Message

func (*EmailMessage) Reset

func (x *EmailMessage) Reset()

func (*EmailMessage) String

func (x *EmailMessage) String() string

type EmailType

type EmailType int32
const (
	EmailType_PASSWORD_RESET_EMAIL EmailType = 0
	EmailType_WELCOME_EMAIL        EmailType = 1
	// reset email account email type
	EmailType_RESET_EMAIL EmailType = 2
	// invite code email type
	EmailType_INVITE_CODE EmailType = 3
	// system maintenance email type
	EmailType_SYSTEM_MAINTENANCE EmailType = 4
	// promotional email type
	EmailType_PROMOTIONAL EmailType = 5
)

func (EmailType) Descriptor

func (EmailType) Descriptor() protoreflect.EnumDescriptor

func (EmailType) Enum

func (x EmailType) Enum() *EmailType

func (EmailType) EnumDescriptor deprecated

func (EmailType) EnumDescriptor() ([]byte, []int)

Deprecated: Use EmailType.Descriptor instead.

func (EmailType) Number

func (x EmailType) Number() protoreflect.EnumNumber

func (EmailType) String

func (x EmailType) String() string

func (EmailType) Type

type Metadata

type Metadata struct {
	TraceId       uint32 `protobuf:"varint,1,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty"`
	SourceService string `protobuf:"bytes,2,opt,name=source_service,json=sourceService,proto3" json:"source_service,omitempty"`
	// contains filtered or unexported fields
}

func (*Metadata) Descriptor deprecated

func (*Metadata) Descriptor() ([]byte, []int)

Deprecated: Use Metadata.ProtoReflect.Descriptor instead.

func (*Metadata) GetSourceService

func (x *Metadata) GetSourceService() string

func (*Metadata) GetTraceId

func (x *Metadata) GetTraceId() uint32

func (*Metadata) ProtoMessage

func (*Metadata) ProtoMessage()

func (*Metadata) ProtoReflect

func (x *Metadata) ProtoReflect() protoreflect.Message

func (*Metadata) Reset

func (x *Metadata) Reset()

func (*Metadata) String

func (x *Metadata) String() string

type Tokens

type Tokens struct {
	AccountActivationToken string `protobuf:"bytes,1,opt,name=accountActivationToken,proto3" json:"accountActivationToken,omitempty"`
	PasswordResetToken     string `protobuf:"bytes,2,opt,name=passwordResetToken,proto3" json:"passwordResetToken,omitempty"`
	InviteCodeToken        string `protobuf:"bytes,3,opt,name=inviteCodeToken,proto3" json:"inviteCodeToken,omitempty"`
	// contains filtered or unexported fields
}

func (*Tokens) Descriptor deprecated

func (*Tokens) Descriptor() ([]byte, []int)

Deprecated: Use Tokens.ProtoReflect.Descriptor instead.

func (*Tokens) GetAccountActivationToken

func (x *Tokens) GetAccountActivationToken() string

func (*Tokens) GetInviteCodeToken

func (x *Tokens) GetInviteCodeToken() string

func (*Tokens) GetPasswordResetToken

func (x *Tokens) GetPasswordResetToken() string

func (*Tokens) ProtoMessage

func (*Tokens) ProtoMessage()

func (*Tokens) ProtoReflect

func (x *Tokens) ProtoReflect() protoreflect.Message

func (*Tokens) Reset

func (x *Tokens) Reset()

func (*Tokens) String

func (x *Tokens) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL