Documentation ¶
Index ¶
- Variables
- type CreateRequest
- type CreateResponse
- func (*CreateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateResponse) GetProject() *Project
- func (x *CreateResponse) GetProjectId() *model.UUID
- func (*CreateResponse) ProtoMessage()
- func (x *CreateResponse) ProtoReflect() protoreflect.Message
- func (x *CreateResponse) Reset()
- func (x *CreateResponse) String() string
- type DeleteRequest
- type DeleteResponse
- type EmailProvider
- func (*EmailProvider) Descriptor() ([]byte, []int)deprecated
- func (x *EmailProvider) GetFrom() string
- func (x *EmailProvider) GetPrivateKey() string
- func (x *EmailProvider) GetPublicKey() string
- func (x *EmailProvider) GetType() EmailProviderType
- func (*EmailProvider) ProtoMessage()
- func (x *EmailProvider) ProtoReflect() protoreflect.Message
- func (x *EmailProvider) Reset()
- func (x *EmailProvider) String() string
- type EmailProviderType
- func (EmailProviderType) Descriptor() protoreflect.EnumDescriptor
- func (x EmailProviderType) Enum() *EmailProviderType
- func (EmailProviderType) EnumDescriptor() ([]byte, []int)deprecated
- func (x EmailProviderType) Number() protoreflect.EnumNumber
- func (x EmailProviderType) String() string
- func (EmailProviderType) Type() protoreflect.EnumType
- type Entry
- func (*Entry) Descriptor() ([]byte, []int)deprecated
- func (x *Entry) GetCreatedAt() *timestamppb.Timestamp
- func (x *Entry) GetImage() *model.Image
- func (x *Entry) GetName() string
- func (x *Entry) GetProjectId() *model.UUID
- func (*Entry) ProtoMessage()
- func (x *Entry) ProtoReflect() protoreflect.Message
- func (x *Entry) Reset()
- func (x *Entry) String() string
- type GetRequest
- type GetResponse
- type ListRequest
- type ListResponse
- func (*ListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListResponse) GetProjects() []*Entry
- func (x *ListResponse) GetTotal() int64
- func (*ListResponse) ProtoMessage()
- func (x *ListResponse) ProtoReflect() protoreflect.Message
- func (x *ListResponse) Reset()
- func (x *ListResponse) String() string
- type Project
- func (*Project) Descriptor() ([]byte, []int)deprecated
- func (x *Project) GetCreatedAt() *timestamppb.Timestamp
- func (x *Project) GetInfo() *ProjectInfo
- func (x *Project) GetSettings() *Settings
- func (x *Project) GetUpdatedAt() *timestamppb.Timestamp
- func (*Project) ProtoMessage()
- func (x *Project) ProtoReflect() protoreflect.Message
- func (x *Project) Reset()
- func (x *Project) String() string
- type ProjectInfo
- func (*ProjectInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectInfo) GetImage() *model.Image
- func (x *ProjectInfo) GetName() string
- func (*ProjectInfo) ProtoMessage()
- func (x *ProjectInfo) ProtoReflect() protoreflect.Message
- func (x *ProjectInfo) Reset()
- func (x *ProjectInfo) String() string
- type PublicKeyRequest
- type PublicKeyResponse
- type Settings
- func (*Settings) Descriptor() ([]byte, []int)deprecated
- func (x *Settings) GetEmailProvider() *EmailProvider
- func (x *Settings) GetTemplates() *Templates
- func (x *Settings) GetTextProvider() *TextProvider
- func (*Settings) ProtoMessage()
- func (x *Settings) ProtoReflect() protoreflect.Message
- func (x *Settings) Reset()
- func (x *Settings) String() string
- type Template
- func (*Template) Descriptor() ([]byte, []int)deprecated
- func (x *Template) GetBody() string
- func (x *Template) GetFormat() []string
- func (x *Template) GetSubject() string
- func (x *Template) GetType() TemplateType
- func (*Template) ProtoMessage()
- func (x *Template) ProtoReflect() protoreflect.Message
- func (x *Template) Reset()
- func (x *Template) String() string
- type TemplateType
- func (TemplateType) Descriptor() protoreflect.EnumDescriptor
- func (x TemplateType) Enum() *TemplateType
- func (TemplateType) EnumDescriptor() ([]byte, []int)deprecated
- func (x TemplateType) Number() protoreflect.EnumNumber
- func (x TemplateType) String() string
- func (TemplateType) Type() protoreflect.EnumType
- type Templates
- func (*Templates) Descriptor() ([]byte, []int)deprecated
- func (x *Templates) GetMagicEmail() *Template
- func (x *Templates) GetMagicText() *Template
- func (x *Templates) GetResetPasswordEmail() *Template
- func (x *Templates) GetResetPasswordText() *Template
- func (x *Templates) GetVerifyEmail() *Template
- func (x *Templates) GetVerifyPhoneNumber() *Template
- func (*Templates) ProtoMessage()
- func (x *Templates) ProtoReflect() protoreflect.Message
- func (x *Templates) Reset()
- func (x *Templates) String() string
- type TextProvider
- func (*TextProvider) Descriptor() ([]byte, []int)deprecated
- func (x *TextProvider) GetFrom() string
- func (x *TextProvider) GetPrivateKey() string
- func (x *TextProvider) GetPublicKey() string
- func (x *TextProvider) GetType() TextProviderType
- func (*TextProvider) ProtoMessage()
- func (x *TextProvider) ProtoReflect() protoreflect.Message
- func (x *TextProvider) Reset()
- func (x *TextProvider) String() string
- type TextProviderType
- func (TextProviderType) Descriptor() protoreflect.EnumDescriptor
- func (x TextProviderType) Enum() *TextProviderType
- func (TextProviderType) EnumDescriptor() ([]byte, []int)deprecated
- func (x TextProviderType) Number() protoreflect.EnumNumber
- func (x TextProviderType) String() string
- func (TextProviderType) Type() protoreflect.EnumType
- type Update
- func (*Update) Descriptor() ([]byte, []int)deprecated
- func (m *Update) GetField() isUpdate_Field
- func (x *Update) GetImage() *model.Image
- func (x *Update) GetName() string
- func (x *Update) GetSettings() *Settings
- func (*Update) ProtoMessage()
- func (x *Update) ProtoReflect() protoreflect.Message
- func (x *Update) Reset()
- func (x *Update) String() string
- type UpdateRequest
- type UpdateResponse
- type Update_Image
- type Update_Name
- type Update_Settings
- type UseRequest
- type UseResponse
Constants ¶
This section is empty.
Variables ¶
var ( EmailProviderType_name = map[int32]string{ 0: "EMAIL_PROVIDER_TYPE_UNSPECIFIED", 1: "EMAIL_PROVIDER_TYPE_DEFAULT", 2: "EMAIL_PROVIDER_TYPE_SMTP", 3: "EMAIL_PROVIDER_TYPE_MAILJET", 4: "EMAIL_PROVIDER_TYPE_MOCKEMAIL", } EmailProviderType_value = map[string]int32{ "EMAIL_PROVIDER_TYPE_UNSPECIFIED": 0, "EMAIL_PROVIDER_TYPE_DEFAULT": 1, "EMAIL_PROVIDER_TYPE_SMTP": 2, "EMAIL_PROVIDER_TYPE_MAILJET": 3, "EMAIL_PROVIDER_TYPE_MOCKEMAIL": 4, } )
Enum value maps for EmailProviderType.
var ( TextProviderType_name = map[int32]string{ 0: "TEXT_PROVIDER_TYPE_UNSPECIFIED", 1: "TEXT_PROVIDER_TYPE_TWILIO", 2: "TEXT_PROVIDER_TYPE_MOCKTEXT", } TextProviderType_value = map[string]int32{ "TEXT_PROVIDER_TYPE_UNSPECIFIED": 0, "TEXT_PROVIDER_TYPE_TWILIO": 1, "TEXT_PROVIDER_TYPE_MOCKTEXT": 2, } )
Enum value maps for TextProviderType.
var ( TemplateType_name = map[int32]string{ 0: "TEMPLATE_TYPE_UNSPECIFIED", 1: "TEMPLATE_TYPE_EMAIL_VERIFICATION", 2: "TEMPLATE_TYPE_EMAIL_RESET_PASSWORD", 3: "TEMPLATE_TYPE_EMAIL_MAGIC_LINK", 4: "TEMPLATE_TYPE_TEXT_VERIFICATION", 5: "TEMPLATE_TYPE_TEXT_RESET_PASSWORD", 6: "TEMPLATE_TYPE_TEXT_MAGIC_LINK", } TemplateType_value = map[string]int32{ "TEMPLATE_TYPE_UNSPECIFIED": 0, "TEMPLATE_TYPE_EMAIL_VERIFICATION": 1, "TEMPLATE_TYPE_EMAIL_RESET_PASSWORD": 2, "TEMPLATE_TYPE_EMAIL_MAGIC_LINK": 3, "TEMPLATE_TYPE_TEXT_VERIFICATION": 4, "TEMPLATE_TYPE_TEXT_RESET_PASSWORD": 5, "TEMPLATE_TYPE_TEXT_MAGIC_LINK": 6, } )
Enum value maps for TemplateType.
var File_api_v1_project_project_proto protoreflect.FileDescriptor
var File_api_v1_project_service_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CreateRequest ¶
type CreateRequest struct { Initializers []*Update `protobuf:"bytes,1,rep,name=initializers,proto3" json:"initializers,omitempty"` // contains filtered or unexported fields }
The request of a Namespace.Create RPC
func (*CreateRequest) Descriptor
deprecated
func (*CreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRequest.ProtoReflect.Descriptor instead.
func (*CreateRequest) GetInitializers ¶
func (x *CreateRequest) GetInitializers() []*Update
func (*CreateRequest) ProtoMessage ¶
func (*CreateRequest) ProtoMessage()
func (*CreateRequest) ProtoReflect ¶
func (x *CreateRequest) ProtoReflect() protoreflect.Message
func (*CreateRequest) Reset ¶
func (x *CreateRequest) Reset()
func (*CreateRequest) String ¶
func (x *CreateRequest) String() string
type CreateResponse ¶
type CreateResponse struct { ProjectId *model.UUID `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` Project *Project `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"` // contains filtered or unexported fields }
The response of a Namespace.Create RPC
func (*CreateResponse) Descriptor
deprecated
func (*CreateResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateResponse.ProtoReflect.Descriptor instead.
func (*CreateResponse) GetProject ¶
func (x *CreateResponse) GetProject() *Project
func (*CreateResponse) GetProjectId ¶
func (x *CreateResponse) GetProjectId() *model.UUID
func (*CreateResponse) ProtoMessage ¶
func (*CreateResponse) ProtoMessage()
func (*CreateResponse) ProtoReflect ¶
func (x *CreateResponse) ProtoReflect() protoreflect.Message
func (*CreateResponse) Reset ¶
func (x *CreateResponse) Reset()
func (*CreateResponse) String ¶
func (x *CreateResponse) String() string
type DeleteRequest ¶
type DeleteRequest struct {
// contains filtered or unexported fields
}
The request of a Namespace.Delete RPC
func (*DeleteRequest) Descriptor
deprecated
func (*DeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRequest.ProtoReflect.Descriptor instead.
func (*DeleteRequest) ProtoMessage ¶
func (*DeleteRequest) ProtoMessage()
func (*DeleteRequest) ProtoReflect ¶
func (x *DeleteRequest) ProtoReflect() protoreflect.Message
func (*DeleteRequest) Reset ¶
func (x *DeleteRequest) Reset()
func (*DeleteRequest) String ¶
func (x *DeleteRequest) String() string
type DeleteResponse ¶
type DeleteResponse struct {
// contains filtered or unexported fields
}
The response of a Namespace.Delete RPC
func (*DeleteResponse) Descriptor
deprecated
func (*DeleteResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteResponse.ProtoReflect.Descriptor instead.
func (*DeleteResponse) ProtoMessage ¶
func (*DeleteResponse) ProtoMessage()
func (*DeleteResponse) ProtoReflect ¶
func (x *DeleteResponse) ProtoReflect() protoreflect.Message
func (*DeleteResponse) Reset ¶
func (x *DeleteResponse) Reset()
func (*DeleteResponse) String ¶
func (x *DeleteResponse) String() string
type EmailProvider ¶
type EmailProvider struct { Type EmailProviderType `protobuf:"varint,1,opt,name=type,proto3,enum=api.v1.project.EmailProviderType" json:"type,omitempty"` PublicKey string `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` PrivateKey string `protobuf:"bytes,3,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"` From string `protobuf:"bytes,4,opt,name=from,proto3" json:"from,omitempty"` // contains filtered or unexported fields }
func (*EmailProvider) Descriptor
deprecated
func (*EmailProvider) Descriptor() ([]byte, []int)
Deprecated: Use EmailProvider.ProtoReflect.Descriptor instead.
func (*EmailProvider) GetFrom ¶
func (x *EmailProvider) GetFrom() string
func (*EmailProvider) GetPrivateKey ¶
func (x *EmailProvider) GetPrivateKey() string
func (*EmailProvider) GetPublicKey ¶
func (x *EmailProvider) GetPublicKey() string
func (*EmailProvider) GetType ¶
func (x *EmailProvider) GetType() EmailProviderType
func (*EmailProvider) ProtoMessage ¶
func (*EmailProvider) ProtoMessage()
func (*EmailProvider) ProtoReflect ¶
func (x *EmailProvider) ProtoReflect() protoreflect.Message
func (*EmailProvider) Reset ¶
func (x *EmailProvider) Reset()
func (*EmailProvider) String ¶
func (x *EmailProvider) String() string
type EmailProviderType ¶
type EmailProviderType int32
const ( EmailProviderType_EMAIL_PROVIDER_TYPE_UNSPECIFIED EmailProviderType = 0 EmailProviderType_EMAIL_PROVIDER_TYPE_DEFAULT EmailProviderType = 1 EmailProviderType_EMAIL_PROVIDER_TYPE_SMTP EmailProviderType = 2 EmailProviderType_EMAIL_PROVIDER_TYPE_MAILJET EmailProviderType = 3 EmailProviderType_EMAIL_PROVIDER_TYPE_MOCKEMAIL EmailProviderType = 4 )
func (EmailProviderType) Descriptor ¶
func (EmailProviderType) Descriptor() protoreflect.EnumDescriptor
func (EmailProviderType) Enum ¶
func (x EmailProviderType) Enum() *EmailProviderType
func (EmailProviderType) EnumDescriptor
deprecated
func (EmailProviderType) EnumDescriptor() ([]byte, []int)
Deprecated: Use EmailProviderType.Descriptor instead.
func (EmailProviderType) Number ¶
func (x EmailProviderType) Number() protoreflect.EnumNumber
func (EmailProviderType) String ¶
func (x EmailProviderType) String() string
func (EmailProviderType) Type ¶
func (EmailProviderType) Type() protoreflect.EnumType
type Entry ¶
type Entry struct { ProjectId *model.UUID `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` Image *model.Image `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // contains filtered or unexported fields }
Wrapper entry for returning a collection of projects.
func (*Entry) Descriptor
deprecated
func (*Entry) GetCreatedAt ¶
func (x *Entry) GetCreatedAt() *timestamppb.Timestamp
func (*Entry) GetProjectId ¶
func (*Entry) ProtoMessage ¶
func (*Entry) ProtoMessage()
func (*Entry) ProtoReflect ¶
func (x *Entry) ProtoReflect() protoreflect.Message
type GetRequest ¶
type GetRequest struct {
// contains filtered or unexported fields
}
The request of a Namespace.Get RPC
func (*GetRequest) Descriptor
deprecated
func (*GetRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRequest.ProtoReflect.Descriptor instead.
func (*GetRequest) ProtoMessage ¶
func (*GetRequest) ProtoMessage()
func (*GetRequest) ProtoReflect ¶
func (x *GetRequest) ProtoReflect() protoreflect.Message
func (*GetRequest) Reset ¶
func (x *GetRequest) Reset()
func (*GetRequest) String ¶
func (x *GetRequest) String() string
type GetResponse ¶
type GetResponse struct { Project *Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` // contains filtered or unexported fields }
The response of a Namespace.Get RPC
func (*GetResponse) Descriptor
deprecated
func (*GetResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetResponse.ProtoReflect.Descriptor instead.
func (*GetResponse) GetProject ¶
func (x *GetResponse) GetProject() *Project
func (*GetResponse) ProtoMessage ¶
func (*GetResponse) ProtoMessage()
func (*GetResponse) ProtoReflect ¶
func (x *GetResponse) ProtoReflect() protoreflect.Message
func (*GetResponse) Reset ¶
func (x *GetResponse) Reset()
func (*GetResponse) String ¶
func (x *GetResponse) String() string
type ListRequest ¶
type ListRequest struct { Pagination *model.Pagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
The request of a Namespace.List RPC
func (*ListRequest) Descriptor
deprecated
func (*ListRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRequest.ProtoReflect.Descriptor instead.
func (*ListRequest) GetPagination ¶
func (x *ListRequest) GetPagination() *model.Pagination
func (*ListRequest) ProtoMessage ¶
func (*ListRequest) ProtoMessage()
func (*ListRequest) ProtoReflect ¶
func (x *ListRequest) ProtoReflect() protoreflect.Message
func (*ListRequest) Reset ¶
func (x *ListRequest) Reset()
func (*ListRequest) String ¶
func (x *ListRequest) String() string
type ListResponse ¶
type ListResponse struct { Projects []*Entry `protobuf:"bytes,1,rep,name=projects,proto3" json:"projects,omitempty"` Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
func (*ListResponse) Descriptor
deprecated
func (*ListResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListResponse.ProtoReflect.Descriptor instead.
func (*ListResponse) GetProjects ¶
func (x *ListResponse) GetProjects() []*Entry
func (*ListResponse) GetTotal ¶
func (x *ListResponse) GetTotal() int64
func (*ListResponse) ProtoMessage ¶
func (*ListResponse) ProtoMessage()
func (*ListResponse) ProtoReflect ¶
func (x *ListResponse) ProtoReflect() protoreflect.Message
func (*ListResponse) Reset ¶
func (x *ListResponse) Reset()
func (*ListResponse) String ¶
func (x *ListResponse) String() string
type Project ¶
type Project struct { Info *ProjectInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` Settings *Settings `protobuf:"bytes,2,opt,name=settings,proto3" json:"settings,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
func (*Project) Descriptor
deprecated
func (*Project) GetCreatedAt ¶
func (x *Project) GetCreatedAt() *timestamppb.Timestamp
func (*Project) GetInfo ¶
func (x *Project) GetInfo() *ProjectInfo
func (*Project) GetSettings ¶
func (*Project) GetUpdatedAt ¶
func (x *Project) GetUpdatedAt() *timestamppb.Timestamp
func (*Project) ProtoMessage ¶
func (*Project) ProtoMessage()
func (*Project) ProtoReflect ¶
func (x *Project) ProtoReflect() protoreflect.Message
type ProjectInfo ¶
type ProjectInfo struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Image *model.Image `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"` // contains filtered or unexported fields }
func (*ProjectInfo) Descriptor
deprecated
func (*ProjectInfo) Descriptor() ([]byte, []int)
Deprecated: Use ProjectInfo.ProtoReflect.Descriptor instead.
func (*ProjectInfo) GetImage ¶
func (x *ProjectInfo) GetImage() *model.Image
func (*ProjectInfo) GetName ¶
func (x *ProjectInfo) GetName() string
func (*ProjectInfo) ProtoMessage ¶
func (*ProjectInfo) ProtoMessage()
func (*ProjectInfo) ProtoReflect ¶
func (x *ProjectInfo) ProtoReflect() protoreflect.Message
func (*ProjectInfo) Reset ¶
func (x *ProjectInfo) Reset()
func (*ProjectInfo) String ¶
func (x *ProjectInfo) String() string
type PublicKeyRequest ¶
type PublicKeyRequest struct {
// contains filtered or unexported fields
}
The request of a Namespace.PublicKey RPC
func (*PublicKeyRequest) Descriptor
deprecated
func (*PublicKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use PublicKeyRequest.ProtoReflect.Descriptor instead.
func (*PublicKeyRequest) ProtoMessage ¶
func (*PublicKeyRequest) ProtoMessage()
func (*PublicKeyRequest) ProtoReflect ¶
func (x *PublicKeyRequest) ProtoReflect() protoreflect.Message
func (*PublicKeyRequest) Reset ¶
func (x *PublicKeyRequest) Reset()
func (*PublicKeyRequest) String ¶
func (x *PublicKeyRequest) String() string
type PublicKeyResponse ¶
type PublicKeyResponse struct { // The id of the project PublicKey string `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` // contains filtered or unexported fields }
The response of a Namespace.PublicKey RPC
func (*PublicKeyResponse) Descriptor
deprecated
func (*PublicKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use PublicKeyResponse.ProtoReflect.Descriptor instead.
func (*PublicKeyResponse) GetPublicKey ¶
func (x *PublicKeyResponse) GetPublicKey() string
func (*PublicKeyResponse) ProtoMessage ¶
func (*PublicKeyResponse) ProtoMessage()
func (*PublicKeyResponse) ProtoReflect ¶
func (x *PublicKeyResponse) ProtoReflect() protoreflect.Message
func (*PublicKeyResponse) Reset ¶
func (x *PublicKeyResponse) Reset()
func (*PublicKeyResponse) String ¶
func (x *PublicKeyResponse) String() string
type Settings ¶
type Settings struct { EmailProvider *EmailProvider `protobuf:"bytes,1,opt,name=email_provider,json=emailProvider,proto3" json:"email_provider,omitempty"` TextProvider *TextProvider `protobuf:"bytes,2,opt,name=text_provider,json=textProvider,proto3" json:"text_provider,omitempty"` Templates *Templates `protobuf:"bytes,3,opt,name=templates,proto3" json:"templates,omitempty"` // contains filtered or unexported fields }
func (*Settings) Descriptor
deprecated
func (*Settings) GetEmailProvider ¶
func (x *Settings) GetEmailProvider() *EmailProvider
func (*Settings) GetTemplates ¶
func (*Settings) GetTextProvider ¶
func (x *Settings) GetTextProvider() *TextProvider
func (*Settings) ProtoMessage ¶
func (*Settings) ProtoMessage()
func (*Settings) ProtoReflect ¶
func (x *Settings) ProtoReflect() protoreflect.Message
type Template ¶
type Template struct { Body string `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"` Type TemplateType `protobuf:"varint,2,opt,name=type,proto3,enum=api.v1.project.TemplateType" json:"type,omitempty"` Subject string `protobuf:"bytes,3,opt,name=subject,proto3" json:"subject,omitempty"` Format []string `protobuf:"bytes,4,rep,name=format,proto3" json:"format,omitempty"` // contains filtered or unexported fields }
func (*Template) Descriptor
deprecated
func (*Template) GetSubject ¶
func (*Template) GetType ¶
func (x *Template) GetType() TemplateType
func (*Template) ProtoMessage ¶
func (*Template) ProtoMessage()
func (*Template) ProtoReflect ¶
func (x *Template) ProtoReflect() protoreflect.Message
type TemplateType ¶
type TemplateType int32
const ( TemplateType_TEMPLATE_TYPE_UNSPECIFIED TemplateType = 0 TemplateType_TEMPLATE_TYPE_EMAIL_VERIFICATION TemplateType = 1 TemplateType_TEMPLATE_TYPE_EMAIL_RESET_PASSWORD TemplateType = 2 TemplateType_TEMPLATE_TYPE_EMAIL_MAGIC_LINK TemplateType = 3 TemplateType_TEMPLATE_TYPE_TEXT_VERIFICATION TemplateType = 4 TemplateType_TEMPLATE_TYPE_TEXT_RESET_PASSWORD TemplateType = 5 TemplateType_TEMPLATE_TYPE_TEXT_MAGIC_LINK TemplateType = 6 )
func (TemplateType) Descriptor ¶
func (TemplateType) Descriptor() protoreflect.EnumDescriptor
func (TemplateType) Enum ¶
func (x TemplateType) Enum() *TemplateType
func (TemplateType) EnumDescriptor
deprecated
func (TemplateType) EnumDescriptor() ([]byte, []int)
Deprecated: Use TemplateType.Descriptor instead.
func (TemplateType) Number ¶
func (x TemplateType) Number() protoreflect.EnumNumber
func (TemplateType) String ¶
func (x TemplateType) String() string
func (TemplateType) Type ¶
func (TemplateType) Type() protoreflect.EnumType
type Templates ¶
type Templates struct { ResetPasswordEmail *Template `protobuf:"bytes,1,opt,name=reset_password_email,json=resetPasswordEmail,proto3" json:"reset_password_email,omitempty"` ResetPasswordText *Template `protobuf:"bytes,2,opt,name=reset_password_text,json=resetPasswordText,proto3" json:"reset_password_text,omitempty"` VerifyEmail *Template `protobuf:"bytes,3,opt,name=verify_email,json=verifyEmail,proto3" json:"verify_email,omitempty"` VerifyPhoneNumber *Template `protobuf:"bytes,4,opt,name=verify_phone_number,json=verifyPhoneNumber,proto3" json:"verify_phone_number,omitempty"` MagicEmail *Template `protobuf:"bytes,5,opt,name=magic_email,json=magicEmail,proto3" json:"magic_email,omitempty"` MagicText *Template `protobuf:"bytes,6,opt,name=magic_text,json=magicText,proto3" json:"magic_text,omitempty"` // contains filtered or unexported fields }
func (*Templates) Descriptor
deprecated
func (*Templates) GetMagicEmail ¶
func (*Templates) GetMagicText ¶
func (*Templates) GetResetPasswordEmail ¶
func (*Templates) GetResetPasswordText ¶
func (*Templates) GetVerifyEmail ¶
func (*Templates) GetVerifyPhoneNumber ¶
func (*Templates) ProtoMessage ¶
func (*Templates) ProtoMessage()
func (*Templates) ProtoReflect ¶
func (x *Templates) ProtoReflect() protoreflect.Message
type TextProvider ¶
type TextProvider struct { Type TextProviderType `protobuf:"varint,1,opt,name=type,proto3,enum=api.v1.project.TextProviderType" json:"type,omitempty"` PublicKey string `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` PrivateKey string `protobuf:"bytes,3,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"` From string `protobuf:"bytes,4,opt,name=from,proto3" json:"from,omitempty"` // contains filtered or unexported fields }
func (*TextProvider) Descriptor
deprecated
func (*TextProvider) Descriptor() ([]byte, []int)
Deprecated: Use TextProvider.ProtoReflect.Descriptor instead.
func (*TextProvider) GetFrom ¶
func (x *TextProvider) GetFrom() string
func (*TextProvider) GetPrivateKey ¶
func (x *TextProvider) GetPrivateKey() string
func (*TextProvider) GetPublicKey ¶
func (x *TextProvider) GetPublicKey() string
func (*TextProvider) GetType ¶
func (x *TextProvider) GetType() TextProviderType
func (*TextProvider) ProtoMessage ¶
func (*TextProvider) ProtoMessage()
func (*TextProvider) ProtoReflect ¶
func (x *TextProvider) ProtoReflect() protoreflect.Message
func (*TextProvider) Reset ¶
func (x *TextProvider) Reset()
func (*TextProvider) String ¶
func (x *TextProvider) String() string
type TextProviderType ¶
type TextProviderType int32
const ( TextProviderType_TEXT_PROVIDER_TYPE_UNSPECIFIED TextProviderType = 0 TextProviderType_TEXT_PROVIDER_TYPE_TWILIO TextProviderType = 1 TextProviderType_TEXT_PROVIDER_TYPE_MOCKTEXT TextProviderType = 2 )
func (TextProviderType) Descriptor ¶
func (TextProviderType) Descriptor() protoreflect.EnumDescriptor
func (TextProviderType) Enum ¶
func (x TextProviderType) Enum() *TextProviderType
func (TextProviderType) EnumDescriptor
deprecated
func (TextProviderType) EnumDescriptor() ([]byte, []int)
Deprecated: Use TextProviderType.Descriptor instead.
func (TextProviderType) Number ¶
func (x TextProviderType) Number() protoreflect.EnumNumber
func (TextProviderType) String ¶
func (x TextProviderType) String() string
func (TextProviderType) Type ¶
func (TextProviderType) Type() protoreflect.EnumType
type Update ¶
type Update struct { // Types that are assignable to Field: // // *Update_Name // *Update_Image // *Update_Settings Field isUpdate_Field `protobuf_oneof:"field"` // contains filtered or unexported fields }
func (*Update) Descriptor
deprecated
func (*Update) GetSettings ¶
func (*Update) ProtoMessage ¶
func (*Update) ProtoMessage()
func (*Update) ProtoReflect ¶
func (x *Update) ProtoReflect() protoreflect.Message
type UpdateRequest ¶
type UpdateRequest struct { Updates []*Update `protobuf:"bytes,2,rep,name=updates,proto3" json:"updates,omitempty"` // contains filtered or unexported fields }
The request of a Namespace.Update RPC
func (*UpdateRequest) Descriptor
deprecated
func (*UpdateRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRequest.ProtoReflect.Descriptor instead.
func (*UpdateRequest) GetUpdates ¶
func (x *UpdateRequest) GetUpdates() []*Update
func (*UpdateRequest) ProtoMessage ¶
func (*UpdateRequest) ProtoMessage()
func (*UpdateRequest) ProtoReflect ¶
func (x *UpdateRequest) ProtoReflect() protoreflect.Message
func (*UpdateRequest) Reset ¶
func (x *UpdateRequest) Reset()
func (*UpdateRequest) String ¶
func (x *UpdateRequest) String() string
type UpdateResponse ¶
type UpdateResponse struct {
// contains filtered or unexported fields
}
The response of a Namespace.Update RPC
func (*UpdateResponse) Descriptor
deprecated
func (*UpdateResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateResponse.ProtoReflect.Descriptor instead.
func (*UpdateResponse) ProtoMessage ¶
func (*UpdateResponse) ProtoMessage()
func (*UpdateResponse) ProtoReflect ¶
func (x *UpdateResponse) ProtoReflect() protoreflect.Message
func (*UpdateResponse) Reset ¶
func (x *UpdateResponse) Reset()
func (*UpdateResponse) String ¶
func (x *UpdateResponse) String() string
type Update_Image ¶
type Update_Name ¶
type Update_Name struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3,oneof"`
}
type Update_Settings ¶
type Update_Settings struct {
Settings *Settings `protobuf:"bytes,3,opt,name=settings,proto3,oneof"`
}
type UseRequest ¶
type UseRequest struct { ProjectId *model.UUID `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // contains filtered or unexported fields }
func (*UseRequest) Descriptor
deprecated
func (*UseRequest) Descriptor() ([]byte, []int)
Deprecated: Use UseRequest.ProtoReflect.Descriptor instead.
func (*UseRequest) GetProjectId ¶
func (x *UseRequest) GetProjectId() *model.UUID
func (*UseRequest) ProtoMessage ¶
func (*UseRequest) ProtoMessage()
func (*UseRequest) ProtoReflect ¶
func (x *UseRequest) ProtoReflect() protoreflect.Message
func (*UseRequest) Reset ¶
func (x *UseRequest) Reset()
func (*UseRequest) String ¶
func (x *UseRequest) String() string
type UseResponse ¶
type UseResponse struct { ProjectToken string `protobuf:"bytes,1,opt,name=project_token,json=projectToken,proto3" json:"project_token,omitempty"` // contains filtered or unexported fields }
func (*UseResponse) Descriptor
deprecated
func (*UseResponse) Descriptor() ([]byte, []int)
Deprecated: Use UseResponse.ProtoReflect.Descriptor instead.
func (*UseResponse) GetProjectToken ¶
func (x *UseResponse) GetProjectToken() string
func (*UseResponse) ProtoMessage ¶
func (*UseResponse) ProtoMessage()
func (*UseResponse) ProtoReflect ¶
func (x *UseResponse) ProtoReflect() protoreflect.Message
func (*UseResponse) Reset ¶
func (x *UseResponse) Reset()
func (*UseResponse) String ¶
func (x *UseResponse) String() string