comms

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2024 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Comms_SendVerificationEmail_FullMethodName        = "/Comms/SendVerificationEmail"
	Comms_SendPasswordResetEmail_FullMethodName       = "/Comms/SendPasswordResetEmail"
	Comms_SendAccountMemberInviteEmail_FullMethodName = "/Comms/SendAccountMemberInviteEmail"
	Comms_SendProjectMemberInviteEmail_FullMethodName = "/Comms/SendProjectMemberInviteEmail"
	Comms_SendWelcomeEmail_FullMethodName             = "/Comms/SendWelcomeEmail"
	Comms_SendWaitingEmail_FullMethodName             = "/Comms/SendWaitingEmail"
	Comms_SendContactUsEmail_FullMethodName           = "/Comms/SendContactUsEmail"
)

Variables

View Source
var Comms_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "Comms",
	HandlerType: (*CommsServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "SendVerificationEmail",
			Handler:    _Comms_SendVerificationEmail_Handler,
		},
		{
			MethodName: "SendPasswordResetEmail",
			Handler:    _Comms_SendPasswordResetEmail_Handler,
		},
		{
			MethodName: "SendAccountMemberInviteEmail",
			Handler:    _Comms_SendAccountMemberInviteEmail_Handler,
		},
		{
			MethodName: "SendProjectMemberInviteEmail",
			Handler:    _Comms_SendProjectMemberInviteEmail_Handler,
		},
		{
			MethodName: "SendWelcomeEmail",
			Handler:    _Comms_SendWelcomeEmail_Handler,
		},
		{
			MethodName: "SendWaitingEmail",
			Handler:    _Comms_SendWaitingEmail_Handler,
		},
		{
			MethodName: "SendContactUsEmail",
			Handler:    _Comms_SendContactUsEmail_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "comms.proto",
}

Comms_ServiceDesc is the grpc.ServiceDesc for Comms service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_comms_proto protoreflect.FileDescriptor

Functions

func RegisterCommsServer

func RegisterCommsServer(s grpc.ServiceRegistrar, srv CommsServer)

Types

type AccountMemberInviteEmailInput

type AccountMemberInviteEmailInput struct {
	AccountName     string `protobuf:"bytes,1,opt,name=accountName,proto3" json:"accountName,omitempty"`
	InvitationToken string `protobuf:"bytes,2,opt,name=invitationToken,proto3" json:"invitationToken,omitempty"`
	InvitedBy       string `protobuf:"bytes,3,opt,name=invitedBy,proto3" json:"invitedBy,omitempty"`
	Email           string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"`
	Name            string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*AccountMemberInviteEmailInput) Descriptor deprecated

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

Deprecated: Use AccountMemberInviteEmailInput.ProtoReflect.Descriptor instead.

func (*AccountMemberInviteEmailInput) GetAccountName

func (x *AccountMemberInviteEmailInput) GetAccountName() string

func (*AccountMemberInviteEmailInput) GetEmail

func (x *AccountMemberInviteEmailInput) GetEmail() string

func (*AccountMemberInviteEmailInput) GetInvitationToken

func (x *AccountMemberInviteEmailInput) GetInvitationToken() string

func (*AccountMemberInviteEmailInput) GetInvitedBy

func (x *AccountMemberInviteEmailInput) GetInvitedBy() string

func (*AccountMemberInviteEmailInput) GetName

func (*AccountMemberInviteEmailInput) ProtoMessage

func (*AccountMemberInviteEmailInput) ProtoMessage()

func (*AccountMemberInviteEmailInput) ProtoReflect

func (*AccountMemberInviteEmailInput) Reset

func (x *AccountMemberInviteEmailInput) Reset()

func (*AccountMemberInviteEmailInput) String

type CommsClient

type CommsClient interface {
	SendVerificationEmail(ctx context.Context, in *VerificationEmailInput, opts ...grpc.CallOption) (*Void, error)
	SendPasswordResetEmail(ctx context.Context, in *PasswordResetEmailInput, opts ...grpc.CallOption) (*Void, error)
	SendAccountMemberInviteEmail(ctx context.Context, in *AccountMemberInviteEmailInput, opts ...grpc.CallOption) (*Void, error)
	SendProjectMemberInviteEmail(ctx context.Context, in *ProjectMemberInviteEmailInput, opts ...grpc.CallOption) (*Void, error)
	SendWelcomeEmail(ctx context.Context, in *WelcomeEmailInput, opts ...grpc.CallOption) (*Void, error)
	SendWaitingEmail(ctx context.Context, in *WelcomeEmailInput, opts ...grpc.CallOption) (*Void, error)
	SendContactUsEmail(ctx context.Context, in *SendContactUsEmailInput, opts ...grpc.CallOption) (*Void, error)
}

CommsClient is the client API for Comms service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewCommsClient

func NewCommsClient(cc grpc.ClientConnInterface) CommsClient

type CommsServer

type CommsServer interface {
	SendVerificationEmail(context.Context, *VerificationEmailInput) (*Void, error)
	SendPasswordResetEmail(context.Context, *PasswordResetEmailInput) (*Void, error)
	SendAccountMemberInviteEmail(context.Context, *AccountMemberInviteEmailInput) (*Void, error)
	SendProjectMemberInviteEmail(context.Context, *ProjectMemberInviteEmailInput) (*Void, error)
	SendWelcomeEmail(context.Context, *WelcomeEmailInput) (*Void, error)
	SendWaitingEmail(context.Context, *WelcomeEmailInput) (*Void, error)
	SendContactUsEmail(context.Context, *SendContactUsEmailInput) (*Void, error)
	// contains filtered or unexported methods
}

CommsServer is the server API for Comms service. All implementations must embed UnimplementedCommsServer for forward compatibility

type PasswordResetEmailInput

type PasswordResetEmailInput struct {
	Email      string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	Name       string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	ResetToken string `protobuf:"bytes,3,opt,name=resetToken,proto3" json:"resetToken,omitempty"`
	// contains filtered or unexported fields
}

func (*PasswordResetEmailInput) Descriptor deprecated

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

Deprecated: Use PasswordResetEmailInput.ProtoReflect.Descriptor instead.

func (*PasswordResetEmailInput) GetEmail

func (x *PasswordResetEmailInput) GetEmail() string

func (*PasswordResetEmailInput) GetName

func (x *PasswordResetEmailInput) GetName() string

func (*PasswordResetEmailInput) GetResetToken

func (x *PasswordResetEmailInput) GetResetToken() string

func (*PasswordResetEmailInput) ProtoMessage

func (*PasswordResetEmailInput) ProtoMessage()

func (*PasswordResetEmailInput) ProtoReflect

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

func (*PasswordResetEmailInput) Reset

func (x *PasswordResetEmailInput) Reset()

func (*PasswordResetEmailInput) String

func (x *PasswordResetEmailInput) String() string

type ProjectMemberInviteEmailInput

type ProjectMemberInviteEmailInput struct {
	ProjectName     string `protobuf:"bytes,1,opt,name=projectName,proto3" json:"projectName,omitempty"`
	InvitationToken string `protobuf:"bytes,2,opt,name=invitationToken,proto3" json:"invitationToken,omitempty"`
	InvitedBy       string `protobuf:"bytes,3,opt,name=invitedBy,proto3" json:"invitedBy,omitempty"`
	Email           string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"`
	Name            string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*ProjectMemberInviteEmailInput) Descriptor deprecated

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

Deprecated: Use ProjectMemberInviteEmailInput.ProtoReflect.Descriptor instead.

func (*ProjectMemberInviteEmailInput) GetEmail

func (x *ProjectMemberInviteEmailInput) GetEmail() string

func (*ProjectMemberInviteEmailInput) GetInvitationToken

func (x *ProjectMemberInviteEmailInput) GetInvitationToken() string

func (*ProjectMemberInviteEmailInput) GetInvitedBy

func (x *ProjectMemberInviteEmailInput) GetInvitedBy() string

func (*ProjectMemberInviteEmailInput) GetName

func (*ProjectMemberInviteEmailInput) GetProjectName

func (x *ProjectMemberInviteEmailInput) GetProjectName() string

func (*ProjectMemberInviteEmailInput) ProtoMessage

func (*ProjectMemberInviteEmailInput) ProtoMessage()

func (*ProjectMemberInviteEmailInput) ProtoReflect

func (*ProjectMemberInviteEmailInput) Reset

func (x *ProjectMemberInviteEmailInput) Reset()

func (*ProjectMemberInviteEmailInput) String

type SendContactUsEmailInput

type SendContactUsEmailInput struct {
	Email        string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	Name         string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	CompanyName  string `protobuf:"bytes,3,opt,name=companyName,proto3" json:"companyName,omitempty"`
	Country      string `protobuf:"bytes,4,opt,name=country,proto3" json:"country,omitempty"`
	MobileNumber string `protobuf:"bytes,5,opt,name=mobileNumber,proto3" json:"mobileNumber,omitempty"`
	Message      string `protobuf:"bytes,6,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*SendContactUsEmailInput) Descriptor deprecated

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

Deprecated: Use SendContactUsEmailInput.ProtoReflect.Descriptor instead.

func (*SendContactUsEmailInput) GetCompanyName

func (x *SendContactUsEmailInput) GetCompanyName() string

func (*SendContactUsEmailInput) GetCountry

func (x *SendContactUsEmailInput) GetCountry() string

func (*SendContactUsEmailInput) GetEmail

func (x *SendContactUsEmailInput) GetEmail() string

func (*SendContactUsEmailInput) GetMessage

func (x *SendContactUsEmailInput) GetMessage() string

func (*SendContactUsEmailInput) GetMobileNumber

func (x *SendContactUsEmailInput) GetMobileNumber() string

func (*SendContactUsEmailInput) GetName

func (x *SendContactUsEmailInput) GetName() string

func (*SendContactUsEmailInput) ProtoMessage

func (*SendContactUsEmailInput) ProtoMessage()

func (*SendContactUsEmailInput) ProtoReflect

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

func (*SendContactUsEmailInput) Reset

func (x *SendContactUsEmailInput) Reset()

func (*SendContactUsEmailInput) String

func (x *SendContactUsEmailInput) String() string

type UnimplementedCommsServer

type UnimplementedCommsServer struct {
}

UnimplementedCommsServer must be embedded to have forward compatible implementations.

func (UnimplementedCommsServer) SendAccountMemberInviteEmail

func (UnimplementedCommsServer) SendContactUsEmail

func (UnimplementedCommsServer) SendPasswordResetEmail

func (UnimplementedCommsServer) SendProjectMemberInviteEmail

func (UnimplementedCommsServer) SendVerificationEmail

func (UnimplementedCommsServer) SendWaitingEmail

func (UnimplementedCommsServer) SendWelcomeEmail

type UnsafeCommsServer

type UnsafeCommsServer interface {
	// contains filtered or unexported methods
}

UnsafeCommsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CommsServer will result in compilation errors.

type VerificationEmailInput

type VerificationEmailInput struct {
	Email             string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	Name              string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	VerificationToken string `protobuf:"bytes,3,opt,name=verificationToken,proto3" json:"verificationToken,omitempty"`
	// contains filtered or unexported fields
}

func (*VerificationEmailInput) Descriptor deprecated

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

Deprecated: Use VerificationEmailInput.ProtoReflect.Descriptor instead.

func (*VerificationEmailInput) GetEmail

func (x *VerificationEmailInput) GetEmail() string

func (*VerificationEmailInput) GetName

func (x *VerificationEmailInput) GetName() string

func (*VerificationEmailInput) GetVerificationToken

func (x *VerificationEmailInput) GetVerificationToken() string

func (*VerificationEmailInput) ProtoMessage

func (*VerificationEmailInput) ProtoMessage()

func (*VerificationEmailInput) ProtoReflect

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

func (*VerificationEmailInput) Reset

func (x *VerificationEmailInput) Reset()

func (*VerificationEmailInput) String

func (x *VerificationEmailInput) String() string

type Void

type Void struct {
	// contains filtered or unexported fields
}

func (*Void) Descriptor deprecated

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

Deprecated: Use Void.ProtoReflect.Descriptor instead.

func (*Void) ProtoMessage

func (*Void) ProtoMessage()

func (*Void) ProtoReflect

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

func (*Void) Reset

func (x *Void) Reset()

func (*Void) String

func (x *Void) String() string

type WelcomeEmailInput

type WelcomeEmailInput struct {
	Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	Name  string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*WelcomeEmailInput) Descriptor deprecated

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

Deprecated: Use WelcomeEmailInput.ProtoReflect.Descriptor instead.

func (*WelcomeEmailInput) GetEmail

func (x *WelcomeEmailInput) GetEmail() string

func (*WelcomeEmailInput) GetName

func (x *WelcomeEmailInput) GetName() string

func (*WelcomeEmailInput) ProtoMessage

func (*WelcomeEmailInput) ProtoMessage()

func (*WelcomeEmailInput) ProtoReflect

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

func (*WelcomeEmailInput) Reset

func (x *WelcomeEmailInput) Reset()

func (*WelcomeEmailInput) String

func (x *WelcomeEmailInput) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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