paymentserviceproto

package
v0.5.17 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrEthAddressEmpty           = errGroup.Register(errors.New("owner eth address is empty"), uint64(ErrorCodes_EthAddressEmpty))
	ErrInvalidSignature          = errGroup.Register(errors.New("invalid signature"), uint64(ErrorCodes_InvalidSignature))
	ErrTierWrong                 = errGroup.Register(errors.New("wrong tier specified"), uint64(ErrorCodes_TierWrong))
	ErrTierNotFound              = errGroup.Register(errors.New("requested tier not found"), uint64(ErrorCodes_TierNotFound))
	ErrTierInactive              = errGroup.Register(errors.New("requested tier is not active"), uint64(ErrorCodes_TierInactive))
	ErrPaymentMethodWrong        = errGroup.Register(errors.New("wrong payment method specified"), uint64(ErrorCodes_PaymentMethodWrong))
	ErrBadAnyName                = errGroup.Register(errors.New("bad any name specified"), uint64(ErrorCodes_BadAnyName))
	ErrUnknown                   = errGroup.Register(errors.New("unknown error"), uint64(ErrorCodes_Unknown))
	ErrSubsAlreadyActive         = errGroup.Register(errors.New("user already has an active subscription"), uint64(ErrorCodes_SubsAlreadyActive))
	ErrSubsNotFound              = errGroup.Register(errors.New("no subscription for user"), uint64(ErrorCodes_SubsNotFound))
	ErrSubsWrongState            = errGroup.Register(errors.New("subscription is not in PendingRequiresFinalization state"), uint64(ErrorCodes_SubsWrongState))
	ErrEmailWrongFormat          = errGroup.Register(errors.New("wrong email format"), uint64(ErrorCodes_EmailWrongFormat))
	ErrEmailAlreadyVerified      = errGroup.Register(errors.New("email already verified"), uint64(ErrorCodes_EmailAlreadyVerified))
	ErrEmailAlreadySent          = errGroup.Register(errors.New("email verification request already sent. wait for the email or try again later"), uint64(ErrorCodes_EmailAlreadySent))
	ErrEmailFailedToSend         = errGroup.Register(errors.New("failed to send email"), uint64(ErrorCodes_EmailFailedToSend))
	ErrEmailExpired              = errGroup.Register(errors.New("email verification request expired. try getting new code"), uint64(ErrorCodes_EmailExpired))
	ErrEmailWrongCode            = errGroup.Register(errors.New("wrong verification code"), uint64(ErrorCodes_EmailWrongCode))
	ErrAppleInvalidReceipt       = errGroup.Register(errors.New("invalid AppStore receipt"), uint64(ErrorCodes_AppleInvalidReceipt))
	ErrApplePurchaseRegistration = errGroup.Register(errors.New("error on purchase registration"), uint64(ErrorCodes_ApplePurchaseRegistration))
	ErrAppleSubscriptionRenew    = errGroup.Register(errors.New("error on subscription renew"), uint64(ErrorCodes_AppleSubscriptionRenew))
)
View Source
var (
	ErrInvalidLengthPaymentservice        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowPaymentservice          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupPaymentservice = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthPaymentserviceTiers        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowPaymentserviceTiers          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupPaymentserviceTiers = fmt.Errorf("proto: unexpected end of group")
)
View Source
var ErrorCodes_name = map[int32]string{
	0:   "Unexpected",
	1:   "EthAddressEmpty",
	2:   "InvalidSignature",
	3:   "TierWrong",
	4:   "TierNotFound",
	5:   "TierInactive",
	6:   "PaymentMethodWrong",
	7:   "BadAnyName",
	8:   "Unknown",
	9:   "SubsAlreadyActive",
	10:  "SubsNotFound",
	11:  "SubsWrongState",
	12:  "EmailWrongFormat",
	13:  "EmailAlreadyVerified",
	14:  "EmailAlreadySent",
	15:  "EmailFailedToSend",
	16:  "EmailExpired",
	17:  "EmailWrongCode",
	18:  "AppleInvalidReceipt",
	19:  "ApplePurchaseRegistration",
	20:  "AppleSubscriptionRenew",
	600: "ErrorOffset",
}
View Source
var ErrorCodes_value = map[string]int32{
	"Unexpected":                0,
	"EthAddressEmpty":           1,
	"InvalidSignature":          2,
	"TierWrong":                 3,
	"TierNotFound":              4,
	"TierInactive":              5,
	"PaymentMethodWrong":        6,
	"BadAnyName":                7,
	"Unknown":                   8,
	"SubsAlreadyActive":         9,
	"SubsNotFound":              10,
	"SubsWrongState":            11,
	"EmailWrongFormat":          12,
	"EmailAlreadyVerified":      13,
	"EmailAlreadySent":          14,
	"EmailFailedToSend":         15,
	"EmailExpired":              16,
	"EmailWrongCode":            17,
	"AppleInvalidReceipt":       18,
	"ApplePurchaseRegistration": 19,
	"AppleSubscriptionRenew":    20,
	"ErrorOffset":               600,
}
View Source
var IsNameValidResponse_Code_name = map[int32]string{
	0: "Valid",
	1: "NoDotAny",
	2: "TooShort",
	3: "TooLong",
	4: "HasInvalidChars",
	5: "TierFeatureNoName",
	6: "CanNotReserve",
}
View Source
var IsNameValidResponse_Code_value = map[string]int32{
	"Valid":             0,
	"NoDotAny":          1,
	"TooShort":          2,
	"TooLong":           3,
	"HasInvalidChars":   4,
	"TierFeatureNoName": 5,
	"CanNotReserve":     6,
}
View Source
var PaymentMethod_name = map[int32]string{
	0: "MethodCard",
	1: "MethodCrypto",
	2: "MethodApplePay",
	3: "MethodGooglePay",
	4: "MethodAppleInapp",
	5: "MethodGoogleInapp",
	6: "MethodNone",
}
View Source
var PaymentMethod_value = map[string]int32{
	"MethodCard":        0,
	"MethodCrypto":      1,
	"MethodApplePay":    2,
	"MethodGooglePay":   3,
	"MethodAppleInapp":  4,
	"MethodGoogleInapp": 5,
	"MethodNone":        6,
}
View Source
var PeriodType_name = map[int32]string{
	0: "PeriodTypeUnknown",
	1: "PeriodTypeUnlimited",
	2: "PeriodTypeDays",
	3: "PeriodTypeWeeks",
	4: "PeriodTypeMonths",
	5: "PeriodTypeYears",
}
View Source
var PeriodType_value = map[string]int32{
	"PeriodTypeUnknown":   0,
	"PeriodTypeUnlimited": 1,
	"PeriodTypeDays":      2,
	"PeriodTypeWeeks":     3,
	"PeriodTypeMonths":    4,
	"PeriodTypeYears":     5,
}
View Source
var SubscriptionStatus_name = map[int32]string{
	0: "StatusUnknown",
	1: "StatusPending",
	2: "StatusActive",
	3: "StatusPendingRequiresFinalization",
}
View Source
var SubscriptionStatus_value = map[string]int32{
	"StatusUnknown":                     0,
	"StatusPending":                     1,
	"StatusActive":                      2,
	"StatusPendingRequiresFinalization": 3,
}
View Source
var SubscriptionTier_name = map[int32]string{
	0: "TierUnknown",
	1: "TierExplorer",
	2: "TierBuilder1WeekTEST",
	3: "TierCoCreator1WeekTEST",
	4: "TierBuilder1Year",
	5: "TierCoCreator1Year",
	6: "TierBuilderPlus",
	7: "TierAnytypeTeam",
}
View Source
var SubscriptionTier_value = map[string]int32{
	"TierUnknown":            0,
	"TierExplorer":           1,
	"TierBuilder1WeekTEST":   2,
	"TierCoCreator1WeekTEST": 3,
	"TierBuilder1Year":       4,
	"TierCoCreator1Year":     5,
	"TierBuilderPlus":        6,
	"TierAnytypeTeam":        7,
}

Functions

func DRPCRegisterAnyPaymentProcessing

func DRPCRegisterAnyPaymentProcessing(mux drpc.Mux, impl DRPCAnyPaymentProcessingServer) error

Types

type BuySubscriptionRequest

type BuySubscriptionRequest struct {
	// in the following format: "A5k2d9sFZw84yisTxRnz2bPRd1YPfVfhxqymZ6yESprFTG65"
	// you can get it with Account().SignKey.GetPublic().Account()
	OwnerAnyId string `protobuf:"bytes,1,opt,name=ownerAnyId,proto3" json:"ownerAnyId,omitempty"`
	// this is the owner's main EOA (Externally Owned Account) address
	// not AccountAbstraction's SCW (Smart Contract Wallet) address!
	// this is required to reserve a name for the owner (later that is done by user)
	// in the following format: "0x7a250d5630b4cf539739df2c5dacb4c659f2488d"
	OwnerEthAddress string `protobuf:"bytes,2,opt,name=ownerEthAddress,proto3" json:"ownerEthAddress,omitempty"`
	// was SubscriptionTier before, changed to uint32 to allow us to use dynamic tiers
	RequestedTier uint32        `protobuf:"varint,3,opt,name=requestedTier,proto3" json:"requestedTier,omitempty"`
	PaymentMethod PaymentMethod `protobuf:"varint,4,opt,name=paymentMethod,proto3,enum=PaymentMethod" json:"paymentMethod,omitempty"`
	// if empty - then no name requested
	// if non-empty - PP node will register that name on behalf of the user
	RequestedAnyName string `protobuf:"bytes,5,opt,name=requestedAnyName,proto3" json:"requestedAnyName,omitempty"`
	// for some payment methods we need to know the user's email
	UserEmail string `protobuf:"bytes,6,opt,name=userEmail,proto3" json:"userEmail,omitempty"`
}

func (*BuySubscriptionRequest) Descriptor

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

func (*BuySubscriptionRequest) GetOwnerAnyId added in v0.3.33

func (m *BuySubscriptionRequest) GetOwnerAnyId() string

func (*BuySubscriptionRequest) GetOwnerEthAddress

func (m *BuySubscriptionRequest) GetOwnerEthAddress() string

func (*BuySubscriptionRequest) GetPaymentMethod

func (m *BuySubscriptionRequest) GetPaymentMethod() PaymentMethod

func (*BuySubscriptionRequest) GetRequestedAnyName added in v0.3.33

func (m *BuySubscriptionRequest) GetRequestedAnyName() string

func (*BuySubscriptionRequest) GetRequestedTier

func (m *BuySubscriptionRequest) GetRequestedTier() uint32

func (*BuySubscriptionRequest) GetUserEmail added in v0.4.15

func (m *BuySubscriptionRequest) GetUserEmail() string

func (*BuySubscriptionRequest) Marshal

func (m *BuySubscriptionRequest) Marshal() (dAtA []byte, err error)

func (*BuySubscriptionRequest) MarshalTo

func (m *BuySubscriptionRequest) MarshalTo(dAtA []byte) (int, error)

func (*BuySubscriptionRequest) MarshalToSizedBuffer

func (m *BuySubscriptionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BuySubscriptionRequest) ProtoMessage

func (*BuySubscriptionRequest) ProtoMessage()

func (*BuySubscriptionRequest) Reset

func (m *BuySubscriptionRequest) Reset()

func (*BuySubscriptionRequest) Size

func (m *BuySubscriptionRequest) Size() (n int)

func (*BuySubscriptionRequest) String

func (m *BuySubscriptionRequest) String() string

func (*BuySubscriptionRequest) Unmarshal

func (m *BuySubscriptionRequest) Unmarshal(dAtA []byte) error

func (*BuySubscriptionRequest) XXX_DiscardUnknown

func (m *BuySubscriptionRequest) XXX_DiscardUnknown()

func (*BuySubscriptionRequest) XXX_Marshal

func (m *BuySubscriptionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BuySubscriptionRequest) XXX_MarshalAppend added in v0.5.0

func (m *BuySubscriptionRequest) XXX_MarshalAppend(b []byte, newLen int) ([]byte, error)

func (*BuySubscriptionRequest) XXX_Merge

func (m *BuySubscriptionRequest) XXX_Merge(src proto.Message)

func (*BuySubscriptionRequest) XXX_Size

func (m *BuySubscriptionRequest) XXX_Size() int

func (*BuySubscriptionRequest) XXX_Unmarshal

func (m *BuySubscriptionRequest) XXX_Unmarshal(b []byte) error

type BuySubscriptionRequestSigned

type BuySubscriptionRequestSigned struct {
	// BuySubscriptionRequest
	Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
	// this is payload signed with payload.ownerAnyID
	Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
}

func (*BuySubscriptionRequestSigned) Descriptor

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

func (*BuySubscriptionRequestSigned) GetPayload

func (m *BuySubscriptionRequestSigned) GetPayload() []byte

func (*BuySubscriptionRequestSigned) GetSignature

func (m *BuySubscriptionRequestSigned) GetSignature() []byte

func (*BuySubscriptionRequestSigned) Marshal

func (m *BuySubscriptionRequestSigned) Marshal() (dAtA []byte, err error)

func (*BuySubscriptionRequestSigned) MarshalTo

func (m *BuySubscriptionRequestSigned) MarshalTo(dAtA []byte) (int, error)

func (*BuySubscriptionRequestSigned) MarshalToSizedBuffer

func (m *BuySubscriptionRequestSigned) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BuySubscriptionRequestSigned) ProtoMessage

func (*BuySubscriptionRequestSigned) ProtoMessage()

func (*BuySubscriptionRequestSigned) Reset

func (m *BuySubscriptionRequestSigned) Reset()

func (*BuySubscriptionRequestSigned) Size

func (m *BuySubscriptionRequestSigned) Size() (n int)

func (*BuySubscriptionRequestSigned) String

func (*BuySubscriptionRequestSigned) Unmarshal

func (m *BuySubscriptionRequestSigned) Unmarshal(dAtA []byte) error

func (*BuySubscriptionRequestSigned) XXX_DiscardUnknown

func (m *BuySubscriptionRequestSigned) XXX_DiscardUnknown()

func (*BuySubscriptionRequestSigned) XXX_Marshal

func (m *BuySubscriptionRequestSigned) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BuySubscriptionRequestSigned) XXX_MarshalAppend added in v0.5.0

func (m *BuySubscriptionRequestSigned) XXX_MarshalAppend(b []byte, newLen int) ([]byte, error)

func (*BuySubscriptionRequestSigned) XXX_Merge

func (m *BuySubscriptionRequestSigned) XXX_Merge(src proto.Message)

func (*BuySubscriptionRequestSigned) XXX_Size

func (m *BuySubscriptionRequestSigned) XXX_Size() int

func (*BuySubscriptionRequestSigned) XXX_Unmarshal

func (m *BuySubscriptionRequestSigned) XXX_Unmarshal(b []byte) error

type BuySubscriptionResponse

type BuySubscriptionResponse struct {
	// will feature current billing ID
	// stripe.com/?client_reference_id=1234
	PaymentUrl string `protobuf:"bytes,1,opt,name=paymentUrl,proto3" json:"paymentUrl,omitempty"`
	// billingID is passed via mobile client to payment platform
	BillingID string `protobuf:"bytes,2,opt,name=billingID,proto3" json:"billingID,omitempty"`
}

func (*BuySubscriptionResponse) Descriptor

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

func (*BuySubscriptionResponse) GetBillingID added in v0.4.0

func (m *BuySubscriptionResponse) GetBillingID() string

func (*BuySubscriptionResponse) GetPaymentUrl

func (m *BuySubscriptionResponse) GetPaymentUrl() string

func (*BuySubscriptionResponse) Marshal

func (m *BuySubscriptionResponse) Marshal() (dAtA []byte, err error)

func (*BuySubscriptionResponse) MarshalTo

func (m *BuySubscriptionResponse) MarshalTo(dAtA []byte) (int, error)

func (*BuySubscriptionResponse) MarshalToSizedBuffer

func (m *BuySubscriptionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BuySubscriptionResponse) ProtoMessage

func (*BuySubscriptionResponse) ProtoMessage()

func (*BuySubscriptionResponse) Reset

func (m *BuySubscriptionResponse) Reset()

func (*BuySubscriptionResponse) Size

func (m *BuySubscriptionResponse) Size() (n int)

func (*BuySubscriptionResponse) String

func (m *BuySubscriptionResponse) String() string

func (*BuySubscriptionResponse) Unmarshal

func (m *BuySubscriptionResponse) Unmarshal(dAtA []byte) error

func (*BuySubscriptionResponse) XXX_DiscardUnknown

func (m *BuySubscriptionResponse) XXX_DiscardUnknown()

func (*BuySubscriptionResponse) XXX_Marshal

func (m *BuySubscriptionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BuySubscriptionResponse) XXX_MarshalAppend added in v0.5.0

func (m *BuySubscriptionResponse) XXX_MarshalAppend(b []byte, newLen int) ([]byte, error)

func (*BuySubscriptionResponse) XXX_Merge

func (m *BuySubscriptionResponse) XXX_Merge(src proto.Message)

func (*BuySubscriptionResponse) XXX_Size

func (m *BuySubscriptionResponse) XXX_Size() int

func (*BuySubscriptionResponse) XXX_Unmarshal

func (m *BuySubscriptionResponse) XXX_Unmarshal(b []byte) error

type DRPCAnyPaymentProcessingDescription

type DRPCAnyPaymentProcessingDescription struct{}

func (DRPCAnyPaymentProcessingDescription) Method

func (DRPCAnyPaymentProcessingDescription) NumMethods

type DRPCAnyPaymentProcessingUnimplementedServer

type DRPCAnyPaymentProcessingUnimplementedServer struct{}

func (*DRPCAnyPaymentProcessingUnimplementedServer) BuySubscription

func (*DRPCAnyPaymentProcessingUnimplementedServer) FinalizeSubscription added in v0.3.33

func (*DRPCAnyPaymentProcessingUnimplementedServer) GetAllTiers added in v0.3.33

func (*DRPCAnyPaymentProcessingUnimplementedServer) GetSubscriptionStatus

func (*DRPCAnyPaymentProcessingUnimplementedServer) GetVerificationEmail added in v0.3.33

func (*DRPCAnyPaymentProcessingUnimplementedServer) IsNameValid added in v0.3.35

func (*DRPCAnyPaymentProcessingUnimplementedServer) VerifyAppStoreReceipt added in v0.4.6

func (*DRPCAnyPaymentProcessingUnimplementedServer) VerifyEmail added in v0.3.33

type DRPCAnyPaymentProcessing_BuySubscriptionStream

type DRPCAnyPaymentProcessing_BuySubscriptionStream interface {
	drpc.Stream
	SendAndClose(*BuySubscriptionResponse) error
}

type DRPCAnyPaymentProcessing_FinalizeSubscriptionStream added in v0.3.33

type DRPCAnyPaymentProcessing_FinalizeSubscriptionStream interface {
	drpc.Stream
	SendAndClose(*FinalizeSubscriptionResponse) error
}

type DRPCAnyPaymentProcessing_GetAllTiersStream added in v0.3.33

type DRPCAnyPaymentProcessing_GetAllTiersStream interface {
	drpc.Stream
	SendAndClose(*GetTiersResponse) error
}

type DRPCAnyPaymentProcessing_GetSubscriptionPortalLinkStream added in v0.3.33

type DRPCAnyPaymentProcessing_GetSubscriptionPortalLinkStream interface {
	drpc.Stream
	SendAndClose(*GetSubscriptionPortalLinkResponse) error
}

type DRPCAnyPaymentProcessing_GetSubscriptionStatusStream

type DRPCAnyPaymentProcessing_GetSubscriptionStatusStream interface {
	drpc.Stream
	SendAndClose(*GetSubscriptionResponse) error
}

type DRPCAnyPaymentProcessing_GetVerificationEmailStream added in v0.3.33

type DRPCAnyPaymentProcessing_GetVerificationEmailStream interface {
	drpc.Stream
	SendAndClose(*GetVerificationEmailResponse) error
}

type DRPCAnyPaymentProcessing_IsNameValidStream added in v0.3.35

type DRPCAnyPaymentProcessing_IsNameValidStream interface {
	drpc.Stream
	SendAndClose(*IsNameValidResponse) error
}

type DRPCAnyPaymentProcessing_VerifyAppStoreReceiptStream added in v0.4.6

type DRPCAnyPaymentProcessing_VerifyAppStoreReceiptStream interface {
	drpc.Stream
	SendAndClose(*VerifyAppStoreReceiptResponse) error
}

type DRPCAnyPaymentProcessing_VerifyEmailStream added in v0.3.33

type DRPCAnyPaymentProcessing_VerifyEmailStream interface {
	drpc.Stream
	SendAndClose(*VerifyEmailResponse) error
}

type ErrorCodes added in v0.4.0

type ErrorCodes int32
const (
	ErrorCodes_Unexpected                ErrorCodes = 0
	ErrorCodes_EthAddressEmpty           ErrorCodes = 1
	ErrorCodes_InvalidSignature          ErrorCodes = 2
	ErrorCodes_TierWrong                 ErrorCodes = 3
	ErrorCodes_TierNotFound              ErrorCodes = 4
	ErrorCodes_TierInactive              ErrorCodes = 5
	ErrorCodes_PaymentMethodWrong        ErrorCodes = 6
	ErrorCodes_BadAnyName                ErrorCodes = 7
	ErrorCodes_Unknown                   ErrorCodes = 8
	ErrorCodes_SubsAlreadyActive         ErrorCodes = 9
	ErrorCodes_SubsNotFound              ErrorCodes = 10
	ErrorCodes_SubsWrongState            ErrorCodes = 11
	ErrorCodes_EmailWrongFormat          ErrorCodes = 12
	ErrorCodes_EmailAlreadyVerified      ErrorCodes = 13
	ErrorCodes_EmailAlreadySent          ErrorCodes = 14
	ErrorCodes_EmailFailedToSend         ErrorCodes = 15
	ErrorCodes_EmailExpired              ErrorCodes = 16
	ErrorCodes_EmailWrongCode            ErrorCodes = 17
	ErrorCodes_AppleInvalidReceipt       ErrorCodes = 18
	ErrorCodes_ApplePurchaseRegistration ErrorCodes = 19
	ErrorCodes_AppleSubscriptionRenew    ErrorCodes = 20
	ErrorCodes_ErrorOffset               ErrorCodes = 600
)

func (ErrorCodes) EnumDescriptor added in v0.4.0

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

func (ErrorCodes) String added in v0.4.0

func (x ErrorCodes) String() string

type Feature added in v0.3.33

type Feature struct {
	Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
}

func (*Feature) Descriptor added in v0.3.33

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

func (*Feature) GetDescription added in v0.4.0

func (m *Feature) GetDescription() string

func (*Feature) Marshal added in v0.3.33

func (m *Feature) Marshal() (dAtA []byte, err error)

func (*Feature) MarshalTo added in v0.3.33

func (m *Feature) MarshalTo(dAtA []byte) (int, error)

func (*Feature) MarshalToSizedBuffer added in v0.3.33

func (m *Feature) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Feature) ProtoMessage added in v0.3.33

func (*Feature) ProtoMessage()

func (*Feature) Reset added in v0.3.33

func (m *Feature) Reset()

func (*Feature) Size added in v0.3.33

func (m *Feature) Size() (n int)

func (*Feature) String added in v0.3.33

func (m *Feature) String() string

func (*Feature) Unmarshal added in v0.3.33

func (m *Feature) Unmarshal(dAtA []byte) error

func (*Feature) XXX_DiscardUnknown added in v0.3.33

func (m *Feature) XXX_DiscardUnknown()

func (*Feature) XXX_Marshal added in v0.3.33

func (m *Feature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Feature) XXX_MarshalAppend added in v0.5.0

func (m *Feature) XXX_MarshalAppend(b []byte, newLen int) ([]byte, error)

func (*Feature) XXX_Merge added in v0.3.33

func (m *Feature) XXX_Merge(src proto.Message)

func (*Feature) XXX_Size added in v0.3.33

func (m *Feature) XXX_Size() int

func (*Feature) XXX_Unmarshal added in v0.3.33

func (m *Feature) XXX_Unmarshal(b []byte) error

type FinalizeSubscriptionRequest added in v0.3.33

type FinalizeSubscriptionRequest struct {
	// in the following format: "A5k2d9sFZw84yisTxRnz2bPRd1YPfVfhxqymZ6yESprFTG65"
	// you can get it with Account().SignKey.GetPublic().Account()
	OwnerAnyId string `protobuf:"bytes,1,opt,name=ownerAnyId,proto3" json:"ownerAnyId,omitempty"`
	// this is the owner's main EOA (Externally Owned Account) address
	// not AccountAbstraction's SCW (Smart Contract Wallet) address!
	// this is required to reserve a name for the owner (later that is done by user)
	// in the following format: "0x7a250d5630b4cf539739df2c5dacb4c659f2488d"
	OwnerEthAddress string `protobuf:"bytes,2,opt,name=ownerEthAddress,proto3" json:"ownerEthAddress,omitempty"`
	// if empty - then no name requested
	RequestedAnyName string `protobuf:"bytes,3,opt,name=requestedAnyName,proto3" json:"requestedAnyName,omitempty"`
}

func (*FinalizeSubscriptionRequest) Descriptor added in v0.3.33

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

func (*FinalizeSubscriptionRequest) GetOwnerAnyId added in v0.3.33

func (m *FinalizeSubscriptionRequest) GetOwnerAnyId() string

func (*FinalizeSubscriptionRequest) GetOwnerEthAddress added in v0.3.33

func (m *FinalizeSubscriptionRequest) GetOwnerEthAddress() string

func (*FinalizeSubscriptionRequest) GetRequestedAnyName added in v0.3.33

func (m *FinalizeSubscriptionRequest) GetRequestedAnyName() string

func (*FinalizeSubscriptionRequest) Marshal added in v0.3.33

func (m *FinalizeSubscriptionRequest) Marshal() (dAtA []byte, err error)

func (*FinalizeSubscriptionRequest) MarshalTo added in v0.3.33

func (m *FinalizeSubscriptionRequest) MarshalTo(dAtA []byte) (int, error)

func (*FinalizeSubscriptionRequest) MarshalToSizedBuffer added in v0.3.33

func (m *FinalizeSubscriptionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FinalizeSubscriptionRequest) ProtoMessage added in v0.3.33

func (*FinalizeSubscriptionRequest) ProtoMessage()

func (*FinalizeSubscriptionRequest) Reset added in v0.3.33

func (m *FinalizeSubscriptionRequest) Reset()

func (*FinalizeSubscriptionRequest) Size added in v0.3.33

func (m *FinalizeSubscriptionRequest) Size() (n int)

func (*FinalizeSubscriptionRequest) String added in v0.3.33

func (m *FinalizeSubscriptionRequest) String() string

func (*FinalizeSubscriptionRequest) Unmarshal added in v0.3.33

func (m *FinalizeSubscriptionRequest) Unmarshal(dAtA []byte) error

func (*FinalizeSubscriptionRequest) XXX_DiscardUnknown added in v0.3.33

func (m *FinalizeSubscriptionRequest) XXX_DiscardUnknown()

func (*FinalizeSubscriptionRequest) XXX_Marshal added in v0.3.33

func (m *FinalizeSubscriptionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FinalizeSubscriptionRequest) XXX_MarshalAppend added in v0.5.0

func (m *FinalizeSubscriptionRequest) XXX_MarshalAppend(b []byte, newLen int) ([]byte, error)

func (*FinalizeSubscriptionRequest) XXX_Merge added in v0.3.33

func (m *FinalizeSubscriptionRequest) XXX_Merge(src proto.Message)

func (*FinalizeSubscriptionRequest) XXX_Size added in v0.3.33

func (m *FinalizeSubscriptionRequest) XXX_Size() int

func (*FinalizeSubscriptionRequest) XXX_Unmarshal added in v0.3.33

func (m *FinalizeSubscriptionRequest) XXX_Unmarshal(b []byte) error

type FinalizeSubscriptionRequestSigned added in v0.3.33

type FinalizeSubscriptionRequestSigned struct {
	// VerifyEmailRequest
	Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
	// this is payload signed with payload.ownerAnyID
	Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
}

func (*FinalizeSubscriptionRequestSigned) Descriptor added in v0.3.33

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

func (*FinalizeSubscriptionRequestSigned) GetPayload added in v0.3.33

func (m *FinalizeSubscriptionRequestSigned) GetPayload() []byte

func (*FinalizeSubscriptionRequestSigned) GetSignature added in v0.3.33

func (m *FinalizeSubscriptionRequestSigned) GetSignature() []byte

func (*FinalizeSubscriptionRequestSigned) Marshal added in v0.3.33

func (m *FinalizeSubscriptionRequestSigned) Marshal() (dAtA []byte, err error)

func (*FinalizeSubscriptionRequestSigned) MarshalTo added in v0.3.33

func (m *FinalizeSubscriptionRequestSigned) MarshalTo(dAtA []byte) (int, error)

func (*FinalizeSubscriptionRequestSigned) MarshalToSizedBuffer added in v0.3.33

func (m *FinalizeSubscriptionRequestSigned) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FinalizeSubscriptionRequestSigned) ProtoMessage added in v0.3.33

func (*FinalizeSubscriptionRequestSigned) ProtoMessage()

func (*FinalizeSubscriptionRequestSigned) Reset added in v0.3.33

func (*FinalizeSubscriptionRequestSigned) Size added in v0.3.33

func (m *FinalizeSubscriptionRequestSigned) Size() (n int)

func (*FinalizeSubscriptionRequestSigned) String added in v0.3.33

func (*FinalizeSubscriptionRequestSigned) Unmarshal added in v0.3.33

func (m *FinalizeSubscriptionRequestSigned) Unmarshal(dAtA []byte) error

func (*FinalizeSubscriptionRequestSigned) XXX_DiscardUnknown added in v0.3.33

func (m *FinalizeSubscriptionRequestSigned) XXX_DiscardUnknown()

func (*FinalizeSubscriptionRequestSigned) XXX_Marshal added in v0.3.33

func (m *FinalizeSubscriptionRequestSigned) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FinalizeSubscriptionRequestSigned) XXX_MarshalAppend added in v0.5.0

func (m *FinalizeSubscriptionRequestSigned) XXX_MarshalAppend(b []byte, newLen int) ([]byte, error)

func (*FinalizeSubscriptionRequestSigned) XXX_Merge added in v0.3.33

func (*FinalizeSubscriptionRequestSigned) XXX_Size added in v0.3.33

func (m *FinalizeSubscriptionRequestSigned) XXX_Size() int

func (*FinalizeSubscriptionRequestSigned) XXX_Unmarshal added in v0.3.33

func (m *FinalizeSubscriptionRequestSigned) XXX_Unmarshal(b []byte) error

type FinalizeSubscriptionResponse added in v0.3.33

type FinalizeSubscriptionResponse struct {
}

func (*FinalizeSubscriptionResponse) Descriptor added in v0.3.33

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

func (*FinalizeSubscriptionResponse) Marshal added in v0.3.33

func (m *FinalizeSubscriptionResponse) Marshal() (dAtA []byte, err error)

func (*FinalizeSubscriptionResponse) MarshalTo added in v0.3.33

func (m *FinalizeSubscriptionResponse) MarshalTo(dAtA []byte) (int, error)

func (*FinalizeSubscriptionResponse) MarshalToSizedBuffer added in v0.3.33

func (m *FinalizeSubscriptionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FinalizeSubscriptionResponse) ProtoMessage added in v0.3.33

func (*FinalizeSubscriptionResponse) ProtoMessage()

func (*FinalizeSubscriptionResponse) Reset added in v0.3.33

func (m *FinalizeSubscriptionResponse) Reset()

func (*FinalizeSubscriptionResponse) Size added in v0.3.33

func (m *FinalizeSubscriptionResponse) Size() (n int)

func (*FinalizeSubscriptionResponse) String added in v0.3.33

func (*FinalizeSubscriptionResponse) Unmarshal added in v0.3.33

func (m *FinalizeSubscriptionResponse) Unmarshal(dAtA []byte) error

func (*FinalizeSubscriptionResponse) XXX_DiscardUnknown added in v0.3.33

func (m *FinalizeSubscriptionResponse) XXX_DiscardUnknown()

func (*FinalizeSubscriptionResponse) XXX_Marshal added in v0.3.33

func (m *FinalizeSubscriptionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FinalizeSubscriptionResponse) XXX_MarshalAppend added in v0.5.0

func (m *FinalizeSubscriptionResponse) XXX_MarshalAppend(b []byte, newLen int) ([]byte, error)

func (*FinalizeSubscriptionResponse) XXX_Merge added in v0.3.33

func (m *FinalizeSubscriptionResponse) XXX_Merge(src proto.Message)

func (*FinalizeSubscriptionResponse) XXX_Size added in v0.3.33

func (m *FinalizeSubscriptionResponse) XXX_Size() int

func (*FinalizeSubscriptionResponse) XXX_Unmarshal added in v0.3.33

func (m *FinalizeSubscriptionResponse) XXX_Unmarshal(b []byte) error

type GetSubscriptionPortalLinkRequest added in v0.3.33

type GetSubscriptionPortalLinkRequest struct {
	// in the following format: "A5k2d9sFZw84yisTxRnz2bPRd1YPfVfhxqymZ6yESprFTG65"
	// you can get it with Account().SignKey.GetPublic().Account()
	OwnerAnyId string `protobuf:"bytes,1,opt,name=ownerAnyId,proto3" json:"ownerAnyId,omitempty"`
}

func (*GetSubscriptionPortalLinkRequest) Descriptor added in v0.3.33

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

func (*GetSubscriptionPortalLinkRequest) GetOwnerAnyId added in v0.3.33

func (m *GetSubscriptionPortalLinkRequest) GetOwnerAnyId() string

func (*GetSubscriptionPortalLinkRequest) Marshal added in v0.3.33

func (m *GetSubscriptionPortalLinkRequest) Marshal() (dAtA []byte, err error)

func (*GetSubscriptionPortalLinkRequest) MarshalTo added in v0.3.33

func (m *GetSubscriptionPortalLinkRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetSubscriptionPortalLinkRequest) MarshalToSizedBuffer added in v0.3.33

func (m *GetSubscriptionPortalLinkRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetSubscriptionPortalLinkRequest) ProtoMessage added in v0.3.33

func (*GetSubscriptionPortalLinkRequest) ProtoMessage()

func (*GetSubscriptionPortalLinkRequest) Reset added in v0.3.33

func (*GetSubscriptionPortalLinkRequest) Size added in v0.3.33

func (m *GetSubscriptionPortalLinkRequest) Size() (n int)

func (*GetSubscriptionPortalLinkRequest) String added in v0.3.33

func (*GetSubscriptionPortalLinkRequest) Unmarshal added in v0.3.33

func (m *GetSubscriptionPortalLinkRequest) Unmarshal(dAtA []byte) error

func (*GetSubscriptionPortalLinkRequest) XXX_DiscardUnknown added in v0.3.33

func (m *GetSubscriptionPortalLinkRequest) XXX_DiscardUnknown()

func (*GetSubscriptionPortalLinkRequest) XXX_Marshal added in v0.3.33

func (m *GetSubscriptionPortalLinkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetSubscriptionPortalLinkRequest) XXX_MarshalAppend added in v0.5.0

func (m *GetSubscriptionPortalLinkRequest) XXX_MarshalAppend(b []byte, newLen int) ([]byte, error)

func (*GetSubscriptionPortalLinkRequest) XXX_Merge added in v0.3.33

func (*GetSubscriptionPortalLinkRequest) XXX_Size added in v0.3.33

func (m *GetSubscriptionPortalLinkRequest) XXX_Size() int

func (*GetSubscriptionPortalLinkRequest) XXX_Unmarshal added in v0.3.33

func (m *GetSubscriptionPortalLinkRequest) XXX_Unmarshal(b []byte) error

type GetSubscriptionPortalLinkRequestSigned added in v0.3.33

type GetSubscriptionPortalLinkRequestSigned struct {
	// GetSubscriptionPortalLinkRequest
	Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
	// this is payload signed with payload.ownerAnyID
	Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
}

func (*GetSubscriptionPortalLinkRequestSigned) Descriptor added in v0.3.33

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

func (*GetSubscriptionPortalLinkRequestSigned) GetPayload added in v0.3.33

func (m *GetSubscriptionPortalLinkRequestSigned) GetPayload() []byte

func (*GetSubscriptionPortalLinkRequestSigned) GetSignature added in v0.3.33

func (m *GetSubscriptionPortalLinkRequestSigned) GetSignature() []byte

func (*GetSubscriptionPortalLinkRequestSigned) Marshal added in v0.3.33

func (m *GetSubscriptionPortalLinkRequestSigned) Marshal() (dAtA []byte, err error)

func (*GetSubscriptionPortalLinkRequestSigned) MarshalTo added in v0.3.33

func (m *GetSubscriptionPortalLinkRequestSigned) MarshalTo(dAtA []byte) (int, error)

func (*GetSubscriptionPortalLinkRequestSigned) MarshalToSizedBuffer added in v0.3.33

func (m *GetSubscriptionPortalLinkRequestSigned) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetSubscriptionPortalLinkRequestSigned) ProtoMessage added in v0.3.33

func (*GetSubscriptionPortalLinkRequestSigned) Reset added in v0.3.33

func (*GetSubscriptionPortalLinkRequestSigned) Size added in v0.3.33

func (*GetSubscriptionPortalLinkRequestSigned) String added in v0.3.33

func (*GetSubscriptionPortalLinkRequestSigned) Unmarshal added in v0.3.33

func (m *GetSubscriptionPortalLinkRequestSigned) Unmarshal(dAtA []byte) error

func (*GetSubscriptionPortalLinkRequestSigned) XXX_DiscardUnknown added in v0.3.33

func (m *GetSubscriptionPortalLinkRequestSigned) XXX_DiscardUnknown()

func (*GetSubscriptionPortalLinkRequestSigned) XXX_Marshal added in v0.3.33

func (m *GetSubscriptionPortalLinkRequestSigned) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetSubscriptionPortalLinkRequestSigned) XXX_MarshalAppend added in v0.5.0

func (m *GetSubscriptionPortalLinkRequestSigned) XXX_MarshalAppend(b []byte, newLen int) ([]byte, error)

func (*GetSubscriptionPortalLinkRequestSigned) XXX_Merge added in v0.3.33

func (*GetSubscriptionPortalLinkRequestSigned) XXX_Size added in v0.3.33

func (*GetSubscriptionPortalLinkRequestSigned) XXX_Unmarshal added in v0.3.33

func (m *GetSubscriptionPortalLinkRequestSigned) XXX_Unmarshal(b []byte) error

type GetSubscriptionPortalLinkResponse added in v0.3.33

type GetSubscriptionPortalLinkResponse struct {
	PortalUrl string `protobuf:"bytes,1,opt,name=portalUrl,proto3" json:"portalUrl,omitempty"`
}

func (*GetSubscriptionPortalLinkResponse) Descriptor added in v0.3.33

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

func (*GetSubscriptionPortalLinkResponse) GetPortalUrl added in v0.3.33

func (m *GetSubscriptionPortalLinkResponse) GetPortalUrl() string

func (*GetSubscriptionPortalLinkResponse) Marshal added in v0.3.33

func (m *GetSubscriptionPortalLinkResponse) Marshal() (dAtA []byte, err error)

func (*GetSubscriptionPortalLinkResponse) MarshalTo added in v0.3.33

func (m *GetSubscriptionPortalLinkResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetSubscriptionPortalLinkResponse) MarshalToSizedBuffer added in v0.3.33

func (m *GetSubscriptionPortalLinkResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetSubscriptionPortalLinkResponse) ProtoMessage added in v0.3.33

func (*GetSubscriptionPortalLinkResponse) ProtoMessage()

func (*GetSubscriptionPortalLinkResponse) Reset added in v0.3.33

func (*GetSubscriptionPortalLinkResponse) Size added in v0.3.33

func (m *GetSubscriptionPortalLinkResponse) Size() (n int)

func (*GetSubscriptionPortalLinkResponse) String added in v0.3.33

func (*GetSubscriptionPortalLinkResponse) Unmarshal added in v0.3.33

func (m *GetSubscriptionPortalLinkResponse) Unmarshal(dAtA []byte) error

func (*GetSubscriptionPortalLinkResponse) XXX_DiscardUnknown added in v0.3.33

func (m *GetSubscriptionPortalLinkResponse) XXX_DiscardUnknown()

func (*GetSubscriptionPortalLinkResponse) XXX_Marshal added in v0.3.33

func (m *GetSubscriptionPortalLinkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetSubscriptionPortalLinkResponse) XXX_MarshalAppend added in v0.5.0

func (m *GetSubscriptionPortalLinkResponse) XXX_MarshalAppend(b []byte, newLen int) ([]byte, error)

func (*GetSubscriptionPortalLinkResponse) XXX_Merge added in v0.3.33

func (*GetSubscriptionPortalLinkResponse) XXX_Size added in v0.3.33

func (m *GetSubscriptionPortalLinkResponse) XXX_Size() int

func (*GetSubscriptionPortalLinkResponse) XXX_Unmarshal added in v0.3.33

func (m *GetSubscriptionPortalLinkResponse) XXX_Unmarshal(b []byte) error

type GetSubscriptionRequest

type GetSubscriptionRequest struct {
	// in the following format: "A5k2d9sFZw84yisTxRnz2bPRd1YPfVfhxqymZ6yESprFTG65"
	// you can get it with Account().SignKey.GetPublic().Account()
	OwnerAnyID string `protobuf:"bytes,1,opt,name=ownerAnyID,proto3" json:"ownerAnyID,omitempty"`
}

func (*GetSubscriptionRequest) Descriptor

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

func (*GetSubscriptionRequest) GetOwnerAnyID

func (m *GetSubscriptionRequest) GetOwnerAnyID() string

func (*GetSubscriptionRequest) Marshal

func (m *GetSubscriptionRequest) Marshal() (dAtA []byte, err error)

func (*GetSubscriptionRequest) MarshalTo

func (m *GetSubscriptionRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetSubscriptionRequest) MarshalToSizedBuffer

func (m *GetSubscriptionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetSubscriptionRequest) ProtoMessage

func (*GetSubscriptionRequest) ProtoMessage()

func (*GetSubscriptionRequest) Reset

func (m *GetSubscriptionRequest) Reset()

func (*GetSubscriptionRequest) Size

func (m *GetSubscriptionRequest) Size() (n int)

func (*GetSubscriptionRequest) String

func (m *GetSubscriptionRequest) String() string

func (*GetSubscriptionRequest) Unmarshal

func (m *GetSubscriptionRequest) Unmarshal(dAtA []byte) error

func (*GetSubscriptionRequest) XXX_DiscardUnknown

func (m *GetSubscriptionRequest) XXX_DiscardUnknown()

func (*GetSubscriptionRequest) XXX_Marshal

func (m *GetSubscriptionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetSubscriptionRequest) XXX_MarshalAppend added in v0.5.0

func (m *GetSubscriptionRequest) XXX_MarshalAppend(b []byte, newLen int) ([]byte, error)

func (*GetSubscriptionRequest) XXX_Merge

func (m *GetSubscriptionRequest) XXX_Merge(src proto.Message)

func (*GetSubscriptionRequest) XXX_Size

func (m *GetSubscriptionRequest) XXX_Size() int

func (*GetSubscriptionRequest) XXX_Unmarshal

func (m *GetSubscriptionRequest) XXX_Unmarshal(b []byte) error

type GetSubscriptionRequestSigned

type GetSubscriptionRequestSigned struct {
	// GetSubscriptionRequest
	Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
	// this is payload signed with payload.ownerAnyID
	Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
}

func (*GetSubscriptionRequestSigned) Descriptor

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

func (*GetSubscriptionRequestSigned) GetPayload

func (m *GetSubscriptionRequestSigned) GetPayload() []byte

func (*GetSubscriptionRequestSigned) GetSignature

func (m *GetSubscriptionRequestSigned) GetSignature() []byte

func (*GetSubscriptionRequestSigned) Marshal

func (m *GetSubscriptionRequestSigned) Marshal() (dAtA []byte, err error)

func (*GetSubscriptionRequestSigned) MarshalTo

func (m *GetSubscriptionRequestSigned) MarshalTo(dAtA []byte) (int, error)

func (*GetSubscriptionRequestSigned) MarshalToSizedBuffer

func (m *GetSubscriptionRequestSigned) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetSubscriptionRequestSigned) ProtoMessage

func (*GetSubscriptionRequestSigned) ProtoMessage()

func (*GetSubscriptionRequestSigned) Reset

func (m *GetSubscriptionRequestSigned) Reset()

func (*GetSubscriptionRequestSigned) Size

func (m *GetSubscriptionRequestSigned) Size() (n int)

func (*GetSubscriptionRequestSigned) String

func (*GetSubscriptionRequestSigned) Unmarshal

func (m *GetSubscriptionRequestSigned) Unmarshal(dAtA []byte) error

func (*GetSubscriptionRequestSigned) XXX_DiscardUnknown

func (m *GetSubscriptionRequestSigned) XXX_DiscardUnknown()

func (*GetSubscriptionRequestSigned) XXX_Marshal

func (m *GetSubscriptionRequestSigned) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetSubscriptionRequestSigned) XXX_MarshalAppend added in v0.5.0

func (m *GetSubscriptionRequestSigned) XXX_MarshalAppend(b []byte, newLen int) ([]byte, error)

func (*GetSubscriptionRequestSigned) XXX_Merge

func (m *GetSubscriptionRequestSigned) XXX_Merge(src proto.Message)

func (*GetSubscriptionRequestSigned) XXX_Size

func (m *GetSubscriptionRequestSigned) XXX_Size() int

func (*GetSubscriptionRequestSigned) XXX_Unmarshal

func (m *GetSubscriptionRequestSigned) XXX_Unmarshal(b []byte) error

type GetSubscriptionResponse

type GetSubscriptionResponse struct {
	// was SubscriptionTier before, changed to uint32 to allow us to use dynamic tiers
	Tier             uint32             `protobuf:"varint,1,opt,name=tier,proto3" json:"tier,omitempty"`
	Status           SubscriptionStatus `protobuf:"varint,2,opt,name=status,proto3,enum=SubscriptionStatus" json:"status,omitempty"`
	DateStarted      uint64             `protobuf:"varint,3,opt,name=dateStarted,proto3" json:"dateStarted,omitempty"`
	DateEnds         uint64             `protobuf:"varint,4,opt,name=dateEnds,proto3" json:"dateEnds,omitempty"`
	IsAutoRenew      bool               `protobuf:"varint,5,opt,name=isAutoRenew,proto3" json:"isAutoRenew,omitempty"`
	PaymentMethod    PaymentMethod      `protobuf:"varint,6,opt,name=paymentMethod,proto3,enum=PaymentMethod" json:"paymentMethod,omitempty"`
	RequestedAnyName string             `protobuf:"bytes,7,opt,name=requestedAnyName,proto3" json:"requestedAnyName,omitempty"`
	// if user verified her email OR provided it while buying a subscription, it will be here
	UserEmail             string `protobuf:"bytes,8,opt,name=userEmail,proto3" json:"userEmail,omitempty"`
	SubscribeToNewsletter bool   `protobuf:"varint,9,opt,name=subscribeToNewsletter,proto3" json:"subscribeToNewsletter,omitempty"`
}

func (*GetSubscriptionResponse) Descriptor

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

func (*GetSubscriptionResponse) GetDateEnds

func (m *GetSubscriptionResponse) GetDateEnds() uint64

func (*GetSubscriptionResponse) GetDateStarted

func (m *GetSubscriptionResponse) GetDateStarted() uint64

func (*GetSubscriptionResponse) GetIsAutoRenew

func (m *GetSubscriptionResponse) GetIsAutoRenew() bool

func (*GetSubscriptionResponse) GetPaymentMethod

func (m *GetSubscriptionResponse) GetPaymentMethod() PaymentMethod

func (*GetSubscriptionResponse) GetRequestedAnyName added in v0.3.33

func (m *GetSubscriptionResponse) GetRequestedAnyName() string

func (*GetSubscriptionResponse) GetStatus

func (*GetSubscriptionResponse) GetSubscribeToNewsletter added in v0.3.33

func (m *GetSubscriptionResponse) GetSubscribeToNewsletter() bool

func (*GetSubscriptionResponse) GetTier

func (m *GetSubscriptionResponse) GetTier() uint32

func (*GetSubscriptionResponse) GetUserEmail added in v0.3.33

func (m *GetSubscriptionResponse) GetUserEmail() string

func (*GetSubscriptionResponse) Marshal

func (m *GetSubscriptionResponse) Marshal() (dAtA []byte, err error)

func (*GetSubscriptionResponse) MarshalTo

func (m *GetSubscriptionResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetSubscriptionResponse) MarshalToSizedBuffer

func (m *GetSubscriptionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetSubscriptionResponse) ProtoMessage

func (*GetSubscriptionResponse) ProtoMessage()

func (*GetSubscriptionResponse) Reset

func (m *GetSubscriptionResponse) Reset()

func (*GetSubscriptionResponse) Size

func (m *GetSubscriptionResponse) Size() (n int)

func (*GetSubscriptionResponse) String

func (m *GetSubscriptionResponse) String() string

func (*GetSubscriptionResponse) Unmarshal

func (m *GetSubscriptionResponse) Unmarshal(dAtA []byte) error

func (*GetSubscriptionResponse) XXX_DiscardUnknown

func (m *GetSubscriptionResponse) XXX_DiscardUnknown()

func (*GetSubscriptionResponse) XXX_Marshal

func (m *GetSubscriptionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetSubscriptionResponse) XXX_MarshalAppend added in v0.5.0

func (m *GetSubscriptionResponse) XXX_MarshalAppend(b []byte, newLen int) ([]byte, error)

func (*GetSubscriptionResponse) XXX_Merge

func (m *GetSubscriptionResponse) XXX_Merge(src proto.Message)

func (*GetSubscriptionResponse) XXX_Size

func (m *GetSubscriptionResponse) XXX_Size() int

func (*GetSubscriptionResponse) XXX_Unmarshal

func (m *GetSubscriptionResponse) XXX_Unmarshal(b []byte) error

type GetTiersRequest added in v0.3.33

type GetTiersRequest struct {
	// in the following format: "A5k2d9sFZw84yisTxRnz2bPRd1YPfVfhxqymZ6yESprFTG65"
	// you can get it with Account().SignKey.GetPublic().Account()
	OwnerAnyId string `protobuf:"bytes,1,opt,name=ownerAnyId,proto3" json:"ownerAnyId,omitempty"`
	Locale     string `protobuf:"bytes,2,opt,name=locale,proto3" json:"locale,omitempty"`
}

func (*GetTiersRequest) Descriptor added in v0.3.33

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

func (*GetTiersRequest) GetLocale added in v0.3.33

func (m *GetTiersRequest) GetLocale() string

func (*GetTiersRequest) GetOwnerAnyId added in v0.3.33

func (m *GetTiersRequest) GetOwnerAnyId() string

func (*GetTiersRequest) Marshal added in v0.3.33

func (m *GetTiersRequest) Marshal() (dAtA []byte, err error)

func (*GetTiersRequest) MarshalTo added in v0.3.33

func (m *GetTiersRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetTiersRequest) MarshalToSizedBuffer added in v0.3.33

func (m *GetTiersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetTiersRequest) ProtoMessage added in v0.3.33

func (*GetTiersRequest) ProtoMessage()

func (*GetTiersRequest) Reset added in v0.3.33

func (m *GetTiersRequest) Reset()

func (*GetTiersRequest) Size added in v0.3.33

func (m *GetTiersRequest) Size() (n int)

func (*GetTiersRequest) String added in v0.3.33

func (m *GetTiersRequest) String() string

func (*GetTiersRequest) Unmarshal added in v0.3.33

func (m *GetTiersRequest) Unmarshal(dAtA []byte) error

func (*GetTiersRequest) XXX_DiscardUnknown added in v0.3.33

func (m *GetTiersRequest) XXX_DiscardUnknown()

func (*GetTiersRequest) XXX_Marshal added in v0.3.33

func (m *GetTiersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetTiersRequest) XXX_MarshalAppend added in v0.5.0

func (m *GetTiersRequest) XXX_MarshalAppend(b []byte, newLen int) ([]byte, error)

func (*GetTiersRequest) XXX_Merge added in v0.3.33

func (m *GetTiersRequest) XXX_Merge(src proto.Message)

func (*GetTiersRequest) XXX_Size added in v0.3.33

func (m *GetTiersRequest) XXX_Size() int

func (*GetTiersRequest) XXX_Unmarshal added in v0.3.33

func (m *GetTiersRequest) XXX_Unmarshal(b []byte) error

type GetTiersRequestSigned added in v0.3.33

type GetTiersRequestSigned struct {
	// GetTiersRequest struct
	Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
	// this is payload signed with payload.ownerAnyID
	Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
}

func (*GetTiersRequestSigned) Descriptor added in v0.3.33

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

func (*GetTiersRequestSigned) GetPayload added in v0.3.33

func (m *GetTiersRequestSigned) GetPayload() []byte

func (*GetTiersRequestSigned) GetSignature added in v0.3.33

func (m *GetTiersRequestSigned) GetSignature() []byte

func (*GetTiersRequestSigned) Marshal added in v0.3.33

func (m *GetTiersRequestSigned) Marshal() (dAtA []byte, err error)

func (*GetTiersRequestSigned) MarshalTo added in v0.3.33

func (m *GetTiersRequestSigned) MarshalTo(dAtA []byte) (int, error)

func (*GetTiersRequestSigned) MarshalToSizedBuffer added in v0.3.33

func (m *GetTiersRequestSigned) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetTiersRequestSigned) ProtoMessage added in v0.3.33

func (*GetTiersRequestSigned) ProtoMessage()

func (*GetTiersRequestSigned) Reset added in v0.3.33

func (m *GetTiersRequestSigned) Reset()

func (*GetTiersRequestSigned) Size added in v0.3.33

func (m *GetTiersRequestSigned) Size() (n int)

func (*GetTiersRequestSigned) String added in v0.3.33

func (m *GetTiersRequestSigned) String() string

func (*GetTiersRequestSigned) Unmarshal added in v0.3.33

func (m *GetTiersRequestSigned) Unmarshal(dAtA []byte) error

func (*GetTiersRequestSigned) XXX_DiscardUnknown added in v0.3.33

func (m *GetTiersRequestSigned) XXX_DiscardUnknown()

func (*GetTiersRequestSigned) XXX_Marshal added in v0.3.33

func (m *GetTiersRequestSigned) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetTiersRequestSigned) XXX_MarshalAppend added in v0.5.0

func (m *GetTiersRequestSigned) XXX_MarshalAppend(b []byte, newLen int) ([]byte, error)

func (*GetTiersRequestSigned) XXX_Merge added in v0.3.33

func (m *GetTiersRequestSigned) XXX_Merge(src proto.Message)

func (*GetTiersRequestSigned) XXX_Size added in v0.3.33

func (m *GetTiersRequestSigned) XXX_Size() int

func (*GetTiersRequestSigned) XXX_Unmarshal added in v0.3.33

func (m *GetTiersRequestSigned) XXX_Unmarshal(b []byte) error

type GetTiersResponse added in v0.3.33

type GetTiersResponse struct {
	// list of all available tiers
	Tiers []*TierData `protobuf:"bytes,1,rep,name=tiers,proto3" json:"tiers,omitempty"`
}

func (*GetTiersResponse) Descriptor added in v0.3.33

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

func (*GetTiersResponse) GetTiers added in v0.3.33

func (m *GetTiersResponse) GetTiers() []*TierData

func (*GetTiersResponse) Marshal added in v0.3.33

func (m *GetTiersResponse) Marshal() (dAtA []byte, err error)

func (*GetTiersResponse) MarshalTo added in v0.3.33

func (m *GetTiersResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetTiersResponse) MarshalToSizedBuffer added in v0.3.33

func (m *GetTiersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetTiersResponse) ProtoMessage added in v0.3.33

func (*GetTiersResponse) ProtoMessage()

func (*GetTiersResponse) Reset added in v0.3.33

func (m *GetTiersResponse) Reset()

func (*GetTiersResponse) Size added in v0.3.33

func (m *GetTiersResponse) Size() (n int)

func (*GetTiersResponse) String added in v0.3.33

func (m *GetTiersResponse) String() string

func (*GetTiersResponse) Unmarshal added in v0.3.33

func (m *GetTiersResponse) Unmarshal(dAtA []byte) error

func (*GetTiersResponse) XXX_DiscardUnknown added in v0.3.33

func (m *GetTiersResponse) XXX_DiscardUnknown()

func (*GetTiersResponse) XXX_Marshal added in v0.3.33

func (m *GetTiersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetTiersResponse) XXX_MarshalAppend added in v0.5.0

func (m *GetTiersResponse) XXX_MarshalAppend(b []byte, newLen int) ([]byte, error)

func (*GetTiersResponse) XXX_Merge added in v0.3.33

func (m *GetTiersResponse) XXX_Merge(src proto.Message)

func (*GetTiersResponse) XXX_Size added in v0.3.33

func (m *GetTiersResponse) XXX_Size() int

func (*GetTiersResponse) XXX_Unmarshal added in v0.3.33

func (m *GetTiersResponse) XXX_Unmarshal(b []byte) error

type GetVerificationEmailRequest added in v0.3.33

type GetVerificationEmailRequest struct {
	// in the following format: "A5k2d9sFZw84yisTxRnz2bPRd1YPfVfhxqymZ6yESprFTG65"
	// you can get it with Account().SignKey.GetPublic().Account()
	OwnerAnyId              string `protobuf:"bytes,1,opt,name=ownerAnyId,proto3" json:"ownerAnyId,omitempty"`
	Email                   string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
	SubscribeToNewsletter   bool   `protobuf:"varint,3,opt,name=subscribeToNewsletter,proto3" json:"subscribeToNewsletter,omitempty"`
	InsiderTipsAndTutorials bool   `protobuf:"varint,4,opt,name=insiderTipsAndTutorials,proto3" json:"insiderTipsAndTutorials,omitempty"`
	// if we are coming from the onboarding screen
	IsOnboardingList bool `protobuf:"varint,5,opt,name=isOnboardingList,proto3" json:"isOnboardingList,omitempty"`
}

func (*GetVerificationEmailRequest) Descriptor added in v0.3.33

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

func (*GetVerificationEmailRequest) GetEmail added in v0.3.33

func (m *GetVerificationEmailRequest) GetEmail() string

func (*GetVerificationEmailRequest) GetInsiderTipsAndTutorials added in v0.5.4

func (m *GetVerificationEmailRequest) GetInsiderTipsAndTutorials() bool

func (*GetVerificationEmailRequest) GetIsOnboardingList added in v0.5.4

func (m *GetVerificationEmailRequest) GetIsOnboardingList() bool

func (*GetVerificationEmailRequest) GetOwnerAnyId added in v0.3.33

func (m *GetVerificationEmailRequest) GetOwnerAnyId() string

func (*GetVerificationEmailRequest) GetSubscribeToNewsletter added in v0.3.33

func (m *GetVerificationEmailRequest) GetSubscribeToNewsletter() bool

func (*GetVerificationEmailRequest) Marshal added in v0.3.33

func (m *GetVerificationEmailRequest) Marshal() (dAtA []byte, err error)

func (*GetVerificationEmailRequest) MarshalTo added in v0.3.33

func (m *GetVerificationEmailRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetVerificationEmailRequest) MarshalToSizedBuffer added in v0.3.33

func (m *GetVerificationEmailRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetVerificationEmailRequest) ProtoMessage added in v0.3.33

func (*GetVerificationEmailRequest) ProtoMessage()

func (*GetVerificationEmailRequest) Reset added in v0.3.33

func (m *GetVerificationEmailRequest) Reset()

func (*GetVerificationEmailRequest) Size added in v0.3.33

func (m *GetVerificationEmailRequest) Size() (n int)

func (*GetVerificationEmailRequest) String added in v0.3.33

func (m *GetVerificationEmailRequest) String() string

func (*GetVerificationEmailRequest) Unmarshal added in v0.3.33

func (m *GetVerificationEmailRequest) Unmarshal(dAtA []byte) error

func (*GetVerificationEmailRequest) XXX_DiscardUnknown added in v0.3.33

func (m *GetVerificationEmailRequest) XXX_DiscardUnknown()

func (*GetVerificationEmailRequest) XXX_Marshal added in v0.3.33

func (m *GetVerificationEmailRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetVerificationEmailRequest) XXX_MarshalAppend added in v0.5.0

func (m *GetVerificationEmailRequest) XXX_MarshalAppend(b []byte, newLen int) ([]byte, error)

func (*GetVerificationEmailRequest) XXX_Merge added in v0.3.33

func (m *GetVerificationEmailRequest) XXX_Merge(src proto.Message)

func (*GetVerificationEmailRequest) XXX_Size added in v0.3.33

func (m *GetVerificationEmailRequest) XXX_Size() int

func (*GetVerificationEmailRequest) XXX_Unmarshal added in v0.3.33

func (m *GetVerificationEmailRequest) XXX_Unmarshal(b []byte) error

type GetVerificationEmailRequestSigned added in v0.3.33

type GetVerificationEmailRequestSigned struct {
	// GetVerificationEmailRequest
	Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
	// this is payload signed with payload.ownerAnyID
	Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
}

func (*GetVerificationEmailRequestSigned) Descriptor added in v0.3.33

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

func (*GetVerificationEmailRequestSigned) GetPayload added in v0.3.33

func (m *GetVerificationEmailRequestSigned) GetPayload() []byte

func (*GetVerificationEmailRequestSigned) GetSignature added in v0.3.33

func (m *GetVerificationEmailRequestSigned) GetSignature() []byte

func (*GetVerificationEmailRequestSigned) Marshal added in v0.3.33

func (m *GetVerificationEmailRequestSigned) Marshal() (dAtA []byte, err error)

func (*GetVerificationEmailRequestSigned) MarshalTo added in v0.3.33

func (m *GetVerificationEmailRequestSigned) MarshalTo(dAtA []byte) (int, error)

func (*GetVerificationEmailRequestSigned) MarshalToSizedBuffer added in v0.3.33

func (m *GetVerificationEmailRequestSigned) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetVerificationEmailRequestSigned) ProtoMessage added in v0.3.33

func (*GetVerificationEmailRequestSigned) ProtoMessage()

func (*GetVerificationEmailRequestSigned) Reset added in v0.3.33

func (*GetVerificationEmailRequestSigned) Size added in v0.3.33

func (m *GetVerificationEmailRequestSigned) Size() (n int)

func (*GetVerificationEmailRequestSigned) String added in v0.3.33

func (*GetVerificationEmailRequestSigned) Unmarshal added in v0.3.33

func (m *GetVerificationEmailRequestSigned) Unmarshal(dAtA []byte) error

func (*GetVerificationEmailRequestSigned) XXX_DiscardUnknown added in v0.3.33

func (m *GetVerificationEmailRequestSigned) XXX_DiscardUnknown()

func (*GetVerificationEmailRequestSigned) XXX_Marshal added in v0.3.33

func (m *GetVerificationEmailRequestSigned) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetVerificationEmailRequestSigned) XXX_MarshalAppend added in v0.5.0

func (m *GetVerificationEmailRequestSigned) XXX_MarshalAppend(b []byte, newLen int) ([]byte, error)

func (*GetVerificationEmailRequestSigned) XXX_Merge added in v0.3.33

func (*GetVerificationEmailRequestSigned) XXX_Size added in v0.3.33

func (m *GetVerificationEmailRequestSigned) XXX_Size() int

func (*GetVerificationEmailRequestSigned) XXX_Unmarshal added in v0.3.33

func (m *GetVerificationEmailRequestSigned) XXX_Unmarshal(b []byte) error

type GetVerificationEmailResponse added in v0.3.33

type GetVerificationEmailResponse struct {
}

func (*GetVerificationEmailResponse) Descriptor added in v0.3.33

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

func (*GetVerificationEmailResponse) Marshal added in v0.3.33

func (m *GetVerificationEmailResponse) Marshal() (dAtA []byte, err error)

func (*GetVerificationEmailResponse) MarshalTo added in v0.3.33

func (m *GetVerificationEmailResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetVerificationEmailResponse) MarshalToSizedBuffer added in v0.3.33

func (m *GetVerificationEmailResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetVerificationEmailResponse) ProtoMessage added in v0.3.33

func (*GetVerificationEmailResponse) ProtoMessage()

func (*GetVerificationEmailResponse) Reset added in v0.3.33

func (m *GetVerificationEmailResponse) Reset()

func (*GetVerificationEmailResponse) Size added in v0.3.33

func (m *GetVerificationEmailResponse) Size() (n int)

func (*GetVerificationEmailResponse) String added in v0.3.33

func (*GetVerificationEmailResponse) Unmarshal added in v0.3.33

func (m *GetVerificationEmailResponse) Unmarshal(dAtA []byte) error

func (*GetVerificationEmailResponse) XXX_DiscardUnknown added in v0.3.33

func (m *GetVerificationEmailResponse) XXX_DiscardUnknown()

func (*GetVerificationEmailResponse) XXX_Marshal added in v0.3.33

func (m *GetVerificationEmailResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetVerificationEmailResponse) XXX_MarshalAppend added in v0.5.0

func (m *GetVerificationEmailResponse) XXX_MarshalAppend(b []byte, newLen int) ([]byte, error)

func (*GetVerificationEmailResponse) XXX_Merge added in v0.3.33

func (m *GetVerificationEmailResponse) XXX_Merge(src proto.Message)

func (*GetVerificationEmailResponse) XXX_Size added in v0.3.33

func (m *GetVerificationEmailResponse) XXX_Size() int

func (*GetVerificationEmailResponse) XXX_Unmarshal added in v0.3.33

func (m *GetVerificationEmailResponse) XXX_Unmarshal(b []byte) error

type IsNameValidRequest added in v0.3.35

type IsNameValidRequest struct {
	RequestedTier    uint32 `protobuf:"varint,1,opt,name=requestedTier,proto3" json:"requestedTier,omitempty"`
	RequestedAnyName string `protobuf:"bytes,2,opt,name=requestedAnyName,proto3" json:"requestedAnyName,omitempty"`
}

func (*IsNameValidRequest) Descriptor added in v0.3.35

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

func (*IsNameValidRequest) GetRequestedAnyName added in v0.3.35

func (m *IsNameValidRequest) GetRequestedAnyName() string

func (*IsNameValidRequest) GetRequestedTier added in v0.3.35

func (m *IsNameValidRequest) GetRequestedTier() uint32

func (*IsNameValidRequest) Marshal added in v0.3.35

func (m *IsNameValidRequest) Marshal() (dAtA []byte, err error)

func (*IsNameValidRequest) MarshalTo added in v0.3.35

func (m *IsNameValidRequest) MarshalTo(dAtA []byte) (int, error)

func (*IsNameValidRequest) MarshalToSizedBuffer added in v0.3.35

func (m *IsNameValidRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*IsNameValidRequest) ProtoMessage added in v0.3.35

func (*IsNameValidRequest) ProtoMessage()

func (*IsNameValidRequest) Reset added in v0.3.35

func (m *IsNameValidRequest) Reset()

func (*IsNameValidRequest) Size added in v0.3.35

func (m *IsNameValidRequest) Size() (n int)

func (*IsNameValidRequest) String added in v0.3.35

func (m *IsNameValidRequest) String() string

func (*IsNameValidRequest) Unmarshal added in v0.3.35

func (m *IsNameValidRequest) Unmarshal(dAtA []byte) error

func (*IsNameValidRequest) XXX_DiscardUnknown added in v0.3.35

func (m *IsNameValidRequest) XXX_DiscardUnknown()

func (*IsNameValidRequest) XXX_Marshal added in v0.3.35

func (m *IsNameValidRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IsNameValidRequest) XXX_MarshalAppend added in v0.5.0

func (m *IsNameValidRequest) XXX_MarshalAppend(b []byte, newLen int) ([]byte, error)

func (*IsNameValidRequest) XXX_Merge added in v0.3.35

func (m *IsNameValidRequest) XXX_Merge(src proto.Message)

func (*IsNameValidRequest) XXX_Size added in v0.3.35

func (m *IsNameValidRequest) XXX_Size() int

func (*IsNameValidRequest) XXX_Unmarshal added in v0.3.35

func (m *IsNameValidRequest) XXX_Unmarshal(b []byte) error

type IsNameValidResponse added in v0.3.35

type IsNameValidResponse struct {
	Code        IsNameValidResponse_Code `protobuf:"varint,1,opt,name=code,proto3,enum=IsNameValidResponse_Code" json:"code,omitempty"`
	Description string                   `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
}

func (*IsNameValidResponse) Descriptor added in v0.3.35

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

func (*IsNameValidResponse) GetCode added in v0.3.35

func (*IsNameValidResponse) GetDescription added in v0.3.35

func (m *IsNameValidResponse) GetDescription() string

func (*IsNameValidResponse) Marshal added in v0.3.35

func (m *IsNameValidResponse) Marshal() (dAtA []byte, err error)

func (*IsNameValidResponse) MarshalTo added in v0.3.35

func (m *IsNameValidResponse) MarshalTo(dAtA []byte) (int, error)

func (*IsNameValidResponse) MarshalToSizedBuffer added in v0.3.35

func (m *IsNameValidResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*IsNameValidResponse) ProtoMessage added in v0.3.35

func (*IsNameValidResponse) ProtoMessage()

func (*IsNameValidResponse) Reset added in v0.3.35

func (m *IsNameValidResponse) Reset()

func (*IsNameValidResponse) Size added in v0.3.35

func (m *IsNameValidResponse) Size() (n int)

func (*IsNameValidResponse) String added in v0.3.35

func (m *IsNameValidResponse) String() string

func (*IsNameValidResponse) Unmarshal added in v0.3.35

func (m *IsNameValidResponse) Unmarshal(dAtA []byte) error

func (*IsNameValidResponse) XXX_DiscardUnknown added in v0.3.35

func (m *IsNameValidResponse) XXX_DiscardUnknown()

func (*IsNameValidResponse) XXX_Marshal added in v0.3.35

func (m *IsNameValidResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IsNameValidResponse) XXX_MarshalAppend added in v0.5.0

func (m *IsNameValidResponse) XXX_MarshalAppend(b []byte, newLen int) ([]byte, error)

func (*IsNameValidResponse) XXX_Merge added in v0.3.35

func (m *IsNameValidResponse) XXX_Merge(src proto.Message)

func (*IsNameValidResponse) XXX_Size added in v0.3.35

func (m *IsNameValidResponse) XXX_Size() int

func (*IsNameValidResponse) XXX_Unmarshal added in v0.3.35

func (m *IsNameValidResponse) XXX_Unmarshal(b []byte) error

type IsNameValidResponse_Code added in v0.3.35

type IsNameValidResponse_Code int32
const (
	IsNameValidResponse_Valid             IsNameValidResponse_Code = 0
	IsNameValidResponse_NoDotAny          IsNameValidResponse_Code = 1
	IsNameValidResponse_TooShort          IsNameValidResponse_Code = 2
	IsNameValidResponse_TooLong           IsNameValidResponse_Code = 3
	IsNameValidResponse_HasInvalidChars   IsNameValidResponse_Code = 4
	IsNameValidResponse_TierFeatureNoName IsNameValidResponse_Code = 5
	IsNameValidResponse_CanNotReserve     IsNameValidResponse_Code = 6
)

func (IsNameValidResponse_Code) EnumDescriptor added in v0.3.35

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

func (IsNameValidResponse_Code) String added in v0.3.35

func (x IsNameValidResponse_Code) String() string

type PaymentMethod

type PaymentMethod int32
const (
	PaymentMethod_MethodCard        PaymentMethod = 0
	PaymentMethod_MethodCrypto      PaymentMethod = 1
	PaymentMethod_MethodApplePay    PaymentMethod = 2
	PaymentMethod_MethodGooglePay   PaymentMethod = 3
	PaymentMethod_MethodAppleInapp  PaymentMethod = 4
	PaymentMethod_MethodGoogleInapp PaymentMethod = 5
	PaymentMethod_MethodNone        PaymentMethod = 6
)

func (PaymentMethod) EnumDescriptor

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

func (PaymentMethod) String

func (x PaymentMethod) String() string

type PeriodType added in v0.3.33

type PeriodType int32
const (
	PeriodType_PeriodTypeUnknown   PeriodType = 0
	PeriodType_PeriodTypeUnlimited PeriodType = 1
	PeriodType_PeriodTypeDays      PeriodType = 2
	PeriodType_PeriodTypeWeeks     PeriodType = 3
	PeriodType_PeriodTypeMonths    PeriodType = 4
	PeriodType_PeriodTypeYears     PeriodType = 5
)

func (PeriodType) EnumDescriptor added in v0.3.33

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

func (PeriodType) String added in v0.3.33

func (x PeriodType) String() string

type SubscriptionStatus

type SubscriptionStatus int32
const (
	SubscriptionStatus_StatusUnknown SubscriptionStatus = 0
	// payment is still pending
	// this will be the status until the payment is confirmed or N is elapsed and no payment is received
	// in the last case the subscription will switch to Status_Unknown or Status_Active
	SubscriptionStatus_StatusPending SubscriptionStatus = 1
	SubscriptionStatus_StatusActive  SubscriptionStatus = 2
	// when buying from other side - some data is missing in the Subscription
	// we need to provide additional data after the payment
	// please call FinalizeSubscription to fill-in needed fields
	SubscriptionStatus_StatusPendingRequiresFinalization SubscriptionStatus = 3
)

func (SubscriptionStatus) EnumDescriptor

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

func (SubscriptionStatus) String

func (x SubscriptionStatus) String() string

type SubscriptionTier

type SubscriptionTier int32

TODO: later we will have an interface to enumerate all available tiers it's a bad idea to list them here, because interface will be changed often

const (
	SubscriptionTier_TierUnknown SubscriptionTier = 0
	// "free" tier
	SubscriptionTier_TierExplorer SubscriptionTier = 1
	// these can be used just for testing in debug mode
	// it will still create an active subscription, but with NO features
	SubscriptionTier_TierBuilder1WeekTEST   SubscriptionTier = 2
	SubscriptionTier_TierCoCreator1WeekTEST SubscriptionTier = 3
	// these are the real tiers:
	SubscriptionTier_TierBuilder1Year   SubscriptionTier = 4
	SubscriptionTier_TierCoCreator1Year SubscriptionTier = 5
	SubscriptionTier_TierBuilderPlus    SubscriptionTier = 6
	SubscriptionTier_TierAnytypeTeam    SubscriptionTier = 7
)

func (SubscriptionTier) EnumDescriptor

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

func (SubscriptionTier) String

func (x SubscriptionTier) String() string

type TierData added in v0.3.33

type TierData struct {
	// this is a unique ID of the tier
	// you should hardcode this in your app and provide icon, graphics, etc for each tier
	// (even for old/historical/inactive/hidden tiers)
	Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// localazied name of the tier
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// just a short technical description
	// you don't have to use it, you can use your own UI-friendly texts
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// can you buy it (ON ALL PLATFORMS, without clarification)?
	IsActive bool `protobuf:"varint,4,opt,name=isActive,proto3" json:"isActive,omitempty"`
	// is this tier for debugging only?
	IsTest bool `protobuf:"varint,5,opt,name=isTest,proto3" json:"isTest,omitempty"`
	// hidden tiers are only visible once user got them
	IsHiddenTier bool `protobuf:"varint,6,opt,name=isHiddenTier,proto3" json:"isHiddenTier,omitempty"`
	// how long is the period of the subscription
	PeriodType PeriodType `protobuf:"varint,7,opt,name=periodType,proto3,enum=PeriodType" json:"periodType,omitempty"`
	// i.e. "5 days" or "3 years"
	PeriodValue uint32 `protobuf:"varint,8,opt,name=periodValue,proto3" json:"periodValue,omitempty"`
	// this one is a price we use ONLY on Stripe platform
	PriceStripeUsdCents uint32 `protobuf:"varint,9,opt,name=priceStripeUsdCents,proto3" json:"priceStripeUsdCents,omitempty"`
	// number of ANY NS names that this tier includes
	// (not counted as a "feature" and not in the features list)
	AnyNamesCountIncluded uint32 `protobuf:"varint,10,opt,name=anyNamesCountIncluded,proto3" json:"anyNamesCountIncluded,omitempty"`
	// somename.any - len of 8
	AnyNameMinLength uint32 `protobuf:"varint,11,opt,name=anyNameMinLength,proto3" json:"anyNameMinLength,omitempty"`
	// each tier has a set of features
	Features []*Feature `protobuf:"bytes,12,rep,name=features,proto3" json:"features,omitempty"`
	// green, blue, red, purple or custom color in string format #ff00ff
	ColorStr string `protobuf:"bytes,13,opt,name=colorStr,proto3" json:"colorStr,omitempty"`
	// Stripe platform-specific data:
	StripeProductId string `protobuf:"bytes,14,opt,name=stripeProductId,proto3" json:"stripeProductId,omitempty"`
	StripeManageUrl string `protobuf:"bytes,15,opt,name=stripeManageUrl,proto3" json:"stripeManageUrl,omitempty"`
	// iOS platform-specific data:
	IosProductId string `protobuf:"bytes,16,opt,name=iosProductId,proto3" json:"iosProductId,omitempty"`
	IosManageUrl string `protobuf:"bytes,17,opt,name=iosManageUrl,proto3" json:"iosManageUrl,omitempty"`
	// Android platform-specific data:
	AndroidProductId string `protobuf:"bytes,18,opt,name=androidProductId,proto3" json:"androidProductId,omitempty"`
	AndroidManageUrl string `protobuf:"bytes,19,opt,name=androidManageUrl,proto3" json:"androidManageUrl,omitempty"`
}

func (*TierData) Descriptor added in v0.3.33

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

func (*TierData) GetAndroidManageUrl added in v0.4.3

func (m *TierData) GetAndroidManageUrl() string

func (*TierData) GetAndroidProductId added in v0.4.3

func (m *TierData) GetAndroidProductId() string

func (*TierData) GetAnyNameMinLength added in v0.3.33

func (m *TierData) GetAnyNameMinLength() uint32

func (*TierData) GetAnyNamesCountIncluded added in v0.3.33

func (m *TierData) GetAnyNamesCountIncluded() uint32

func (*TierData) GetColorStr added in v0.4.0

func (m *TierData) GetColorStr() string

func (*TierData) GetDescription added in v0.3.33

func (m *TierData) GetDescription() string

func (*TierData) GetFeatures added in v0.3.33

func (m *TierData) GetFeatures() []*Feature

func (*TierData) GetId added in v0.3.33

func (m *TierData) GetId() uint32

func (*TierData) GetIosManageUrl added in v0.4.3

func (m *TierData) GetIosManageUrl() string

func (*TierData) GetIosProductId added in v0.4.3

func (m *TierData) GetIosProductId() string

func (*TierData) GetIsActive added in v0.3.33

func (m *TierData) GetIsActive() bool

func (*TierData) GetIsHiddenTier added in v0.3.33

func (m *TierData) GetIsHiddenTier() bool

func (*TierData) GetIsTest added in v0.3.33

func (m *TierData) GetIsTest() bool

func (*TierData) GetName added in v0.3.33

func (m *TierData) GetName() string

func (*TierData) GetPeriodType added in v0.3.33

func (m *TierData) GetPeriodType() PeriodType

func (*TierData) GetPeriodValue added in v0.3.33

func (m *TierData) GetPeriodValue() uint32

func (*TierData) GetPriceStripeUsdCents added in v0.3.33

func (m *TierData) GetPriceStripeUsdCents() uint32

func (*TierData) GetStripeManageUrl added in v0.4.3

func (m *TierData) GetStripeManageUrl() string

func (*TierData) GetStripeProductId added in v0.4.3

func (m *TierData) GetStripeProductId() string

func (*TierData) Marshal added in v0.3.33

func (m *TierData) Marshal() (dAtA []byte, err error)

func (*TierData) MarshalTo added in v0.3.33

func (m *TierData) MarshalTo(dAtA []byte) (int, error)

func (*TierData) MarshalToSizedBuffer added in v0.3.33

func (m *TierData) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TierData) ProtoMessage added in v0.3.33

func (*TierData) ProtoMessage()

func (*TierData) Reset added in v0.3.33

func (m *TierData) Reset()

func (*TierData) Size added in v0.3.33

func (m *TierData) Size() (n int)

func (*TierData) String added in v0.3.33

func (m *TierData) String() string

func (*TierData) Unmarshal added in v0.3.33

func (m *TierData) Unmarshal(dAtA []byte) error

func (*TierData) XXX_DiscardUnknown added in v0.3.33

func (m *TierData) XXX_DiscardUnknown()

func (*TierData) XXX_Marshal added in v0.3.33

func (m *TierData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TierData) XXX_MarshalAppend added in v0.5.0

func (m *TierData) XXX_MarshalAppend(b []byte, newLen int) ([]byte, error)

func (*TierData) XXX_Merge added in v0.3.33

func (m *TierData) XXX_Merge(src proto.Message)

func (*TierData) XXX_Size added in v0.3.33

func (m *TierData) XXX_Size() int

func (*TierData) XXX_Unmarshal added in v0.3.33

func (m *TierData) XXX_Unmarshal(b []byte) error

type VerifyAppStoreReceiptRequest added in v0.4.6

type VerifyAppStoreReceiptRequest struct {
	// in the following format: "A5k2d9sFZw84yisTxRnz2bPRd1YPfVfhxqymZ6yESprFTG65"
	// you can get it with Account().SignKey.GetPublic().Account()
	OwnerAnyId string `protobuf:"bytes,1,opt,name=ownerAnyId,proto3" json:"ownerAnyId,omitempty"`
	// receipt is a JWT-encoded information about subscription purchase
	Receipt string `protobuf:"bytes,2,opt,name=receipt,proto3" json:"receipt,omitempty"`
}

func (*VerifyAppStoreReceiptRequest) Descriptor added in v0.4.6

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

func (*VerifyAppStoreReceiptRequest) GetOwnerAnyId added in v0.4.6

func (m *VerifyAppStoreReceiptRequest) GetOwnerAnyId() string

func (*VerifyAppStoreReceiptRequest) GetReceipt added in v0.4.6

func (m *VerifyAppStoreReceiptRequest) GetReceipt() string

func (*VerifyAppStoreReceiptRequest) Marshal added in v0.4.6

func (m *VerifyAppStoreReceiptRequest) Marshal() (dAtA []byte, err error)

func (*VerifyAppStoreReceiptRequest) MarshalTo added in v0.4.6

func (m *VerifyAppStoreReceiptRequest) MarshalTo(dAtA []byte) (int, error)

func (*VerifyAppStoreReceiptRequest) MarshalToSizedBuffer added in v0.4.6

func (m *VerifyAppStoreReceiptRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*VerifyAppStoreReceiptRequest) ProtoMessage added in v0.4.6

func (*VerifyAppStoreReceiptRequest) ProtoMessage()

func (*VerifyAppStoreReceiptRequest) Reset added in v0.4.6

func (m *VerifyAppStoreReceiptRequest) Reset()

func (*VerifyAppStoreReceiptRequest) Size added in v0.4.6

func (m *VerifyAppStoreReceiptRequest) Size() (n int)

func (*VerifyAppStoreReceiptRequest) String added in v0.4.6

func (*VerifyAppStoreReceiptRequest) Unmarshal added in v0.4.6

func (m *VerifyAppStoreReceiptRequest) Unmarshal(dAtA []byte) error

func (*VerifyAppStoreReceiptRequest) XXX_DiscardUnknown added in v0.4.6

func (m *VerifyAppStoreReceiptRequest) XXX_DiscardUnknown()

func (*VerifyAppStoreReceiptRequest) XXX_Marshal added in v0.4.6

func (m *VerifyAppStoreReceiptRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VerifyAppStoreReceiptRequest) XXX_MarshalAppend added in v0.5.0

func (m *VerifyAppStoreReceiptRequest) XXX_MarshalAppend(b []byte, newLen int) ([]byte, error)

func (*VerifyAppStoreReceiptRequest) XXX_Merge added in v0.4.6

func (m *VerifyAppStoreReceiptRequest) XXX_Merge(src proto.Message)

func (*VerifyAppStoreReceiptRequest) XXX_Size added in v0.4.6

func (m *VerifyAppStoreReceiptRequest) XXX_Size() int

func (*VerifyAppStoreReceiptRequest) XXX_Unmarshal added in v0.4.6

func (m *VerifyAppStoreReceiptRequest) XXX_Unmarshal(b []byte) error

type VerifyAppStoreReceiptRequestSigned added in v0.4.6

type VerifyAppStoreReceiptRequestSigned struct {
	// VerifyAppStoreReceiptRequest
	Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
	// this is payload signed with payload.ownerAnyID
	Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
}

func (*VerifyAppStoreReceiptRequestSigned) Descriptor added in v0.4.6

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

func (*VerifyAppStoreReceiptRequestSigned) GetPayload added in v0.4.6

func (m *VerifyAppStoreReceiptRequestSigned) GetPayload() []byte

func (*VerifyAppStoreReceiptRequestSigned) GetSignature added in v0.4.6

func (m *VerifyAppStoreReceiptRequestSigned) GetSignature() []byte

func (*VerifyAppStoreReceiptRequestSigned) Marshal added in v0.4.6

func (m *VerifyAppStoreReceiptRequestSigned) Marshal() (dAtA []byte, err error)

func (*VerifyAppStoreReceiptRequestSigned) MarshalTo added in v0.4.6

func (m *VerifyAppStoreReceiptRequestSigned) MarshalTo(dAtA []byte) (int, error)

func (*VerifyAppStoreReceiptRequestSigned) MarshalToSizedBuffer added in v0.4.6

func (m *VerifyAppStoreReceiptRequestSigned) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*VerifyAppStoreReceiptRequestSigned) ProtoMessage added in v0.4.6

func (*VerifyAppStoreReceiptRequestSigned) ProtoMessage()

func (*VerifyAppStoreReceiptRequestSigned) Reset added in v0.4.6

func (*VerifyAppStoreReceiptRequestSigned) Size added in v0.4.6

func (*VerifyAppStoreReceiptRequestSigned) String added in v0.4.6

func (*VerifyAppStoreReceiptRequestSigned) Unmarshal added in v0.4.6

func (m *VerifyAppStoreReceiptRequestSigned) Unmarshal(dAtA []byte) error

func (*VerifyAppStoreReceiptRequestSigned) XXX_DiscardUnknown added in v0.4.6

func (m *VerifyAppStoreReceiptRequestSigned) XXX_DiscardUnknown()

func (*VerifyAppStoreReceiptRequestSigned) XXX_Marshal added in v0.4.6

func (m *VerifyAppStoreReceiptRequestSigned) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VerifyAppStoreReceiptRequestSigned) XXX_MarshalAppend added in v0.5.0

func (m *VerifyAppStoreReceiptRequestSigned) XXX_MarshalAppend(b []byte, newLen int) ([]byte, error)

func (*VerifyAppStoreReceiptRequestSigned) XXX_Merge added in v0.4.6

func (*VerifyAppStoreReceiptRequestSigned) XXX_Size added in v0.4.6

func (*VerifyAppStoreReceiptRequestSigned) XXX_Unmarshal added in v0.4.6

func (m *VerifyAppStoreReceiptRequestSigned) XXX_Unmarshal(b []byte) error

type VerifyAppStoreReceiptResponse added in v0.4.8

type VerifyAppStoreReceiptResponse struct {
}

func (*VerifyAppStoreReceiptResponse) Descriptor added in v0.4.8

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

func (*VerifyAppStoreReceiptResponse) Marshal added in v0.4.8

func (m *VerifyAppStoreReceiptResponse) Marshal() (dAtA []byte, err error)

func (*VerifyAppStoreReceiptResponse) MarshalTo added in v0.4.8

func (m *VerifyAppStoreReceiptResponse) MarshalTo(dAtA []byte) (int, error)

func (*VerifyAppStoreReceiptResponse) MarshalToSizedBuffer added in v0.4.8

func (m *VerifyAppStoreReceiptResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*VerifyAppStoreReceiptResponse) ProtoMessage added in v0.4.8

func (*VerifyAppStoreReceiptResponse) ProtoMessage()

func (*VerifyAppStoreReceiptResponse) Reset added in v0.4.8

func (m *VerifyAppStoreReceiptResponse) Reset()

func (*VerifyAppStoreReceiptResponse) Size added in v0.4.8

func (m *VerifyAppStoreReceiptResponse) Size() (n int)

func (*VerifyAppStoreReceiptResponse) String added in v0.4.8

func (*VerifyAppStoreReceiptResponse) Unmarshal added in v0.4.8

func (m *VerifyAppStoreReceiptResponse) Unmarshal(dAtA []byte) error

func (*VerifyAppStoreReceiptResponse) XXX_DiscardUnknown added in v0.4.8

func (m *VerifyAppStoreReceiptResponse) XXX_DiscardUnknown()

func (*VerifyAppStoreReceiptResponse) XXX_Marshal added in v0.4.8

func (m *VerifyAppStoreReceiptResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VerifyAppStoreReceiptResponse) XXX_MarshalAppend added in v0.5.0

func (m *VerifyAppStoreReceiptResponse) XXX_MarshalAppend(b []byte, newLen int) ([]byte, error)

func (*VerifyAppStoreReceiptResponse) XXX_Merge added in v0.4.8

func (m *VerifyAppStoreReceiptResponse) XXX_Merge(src proto.Message)

func (*VerifyAppStoreReceiptResponse) XXX_Size added in v0.4.8

func (m *VerifyAppStoreReceiptResponse) XXX_Size() int

func (*VerifyAppStoreReceiptResponse) XXX_Unmarshal added in v0.4.8

func (m *VerifyAppStoreReceiptResponse) XXX_Unmarshal(b []byte) error

type VerifyEmailRequest added in v0.3.33

type VerifyEmailRequest struct {
	// in the following format: "A5k2d9sFZw84yisTxRnz2bPRd1YPfVfhxqymZ6yESprFTG65"
	// you can get it with Account().SignKey.GetPublic().Account()
	OwnerAnyId string `protobuf:"bytes,1,opt,name=ownerAnyId,proto3" json:"ownerAnyId,omitempty"`
	// this is the owner's main EOA (Externally Owned Account) address
	// not AccountAbstraction's SCW (Smart Contract Wallet) address!
	// this is required to reserve a name for the owner (later that is done by user)
	// in the following format: "0x7a250d5630b4cf539739df2c5dacb4c659f2488d"
	OwnerEthAddress string `protobuf:"bytes,2,opt,name=ownerEthAddress,proto3" json:"ownerEthAddress,omitempty"`
	// code received in the email
	Code string `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"`
}

func (*VerifyEmailRequest) Descriptor added in v0.3.33

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

func (*VerifyEmailRequest) GetCode added in v0.3.33

func (m *VerifyEmailRequest) GetCode() string

func (*VerifyEmailRequest) GetOwnerAnyId added in v0.3.33

func (m *VerifyEmailRequest) GetOwnerAnyId() string

func (*VerifyEmailRequest) GetOwnerEthAddress added in v0.3.33

func (m *VerifyEmailRequest) GetOwnerEthAddress() string

func (*VerifyEmailRequest) Marshal added in v0.3.33

func (m *VerifyEmailRequest) Marshal() (dAtA []byte, err error)

func (*VerifyEmailRequest) MarshalTo added in v0.3.33

func (m *VerifyEmailRequest) MarshalTo(dAtA []byte) (int, error)

func (*VerifyEmailRequest) MarshalToSizedBuffer added in v0.3.33

func (m *VerifyEmailRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*VerifyEmailRequest) ProtoMessage added in v0.3.33

func (*VerifyEmailRequest) ProtoMessage()

func (*VerifyEmailRequest) Reset added in v0.3.33

func (m *VerifyEmailRequest) Reset()

func (*VerifyEmailRequest) Size added in v0.3.33

func (m *VerifyEmailRequest) Size() (n int)

func (*VerifyEmailRequest) String added in v0.3.33

func (m *VerifyEmailRequest) String() string

func (*VerifyEmailRequest) Unmarshal added in v0.3.33

func (m *VerifyEmailRequest) Unmarshal(dAtA []byte) error

func (*VerifyEmailRequest) XXX_DiscardUnknown added in v0.3.33

func (m *VerifyEmailRequest) XXX_DiscardUnknown()

func (*VerifyEmailRequest) XXX_Marshal added in v0.3.33

func (m *VerifyEmailRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VerifyEmailRequest) XXX_MarshalAppend added in v0.5.0

func (m *VerifyEmailRequest) XXX_MarshalAppend(b []byte, newLen int) ([]byte, error)

func (*VerifyEmailRequest) XXX_Merge added in v0.3.33

func (m *VerifyEmailRequest) XXX_Merge(src proto.Message)

func (*VerifyEmailRequest) XXX_Size added in v0.3.33

func (m *VerifyEmailRequest) XXX_Size() int

func (*VerifyEmailRequest) XXX_Unmarshal added in v0.3.33

func (m *VerifyEmailRequest) XXX_Unmarshal(b []byte) error

type VerifyEmailRequestSigned added in v0.3.33

type VerifyEmailRequestSigned struct {
	// VerifyEmailRequest
	Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
	// this is payload signed with payload.ownerAnyID
	Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
}

func (*VerifyEmailRequestSigned) Descriptor added in v0.3.33

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

func (*VerifyEmailRequestSigned) GetPayload added in v0.3.33

func (m *VerifyEmailRequestSigned) GetPayload() []byte

func (*VerifyEmailRequestSigned) GetSignature added in v0.3.33

func (m *VerifyEmailRequestSigned) GetSignature() []byte

func (*VerifyEmailRequestSigned) Marshal added in v0.3.33

func (m *VerifyEmailRequestSigned) Marshal() (dAtA []byte, err error)

func (*VerifyEmailRequestSigned) MarshalTo added in v0.3.33

func (m *VerifyEmailRequestSigned) MarshalTo(dAtA []byte) (int, error)

func (*VerifyEmailRequestSigned) MarshalToSizedBuffer added in v0.3.33

func (m *VerifyEmailRequestSigned) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*VerifyEmailRequestSigned) ProtoMessage added in v0.3.33

func (*VerifyEmailRequestSigned) ProtoMessage()

func (*VerifyEmailRequestSigned) Reset added in v0.3.33

func (m *VerifyEmailRequestSigned) Reset()

func (*VerifyEmailRequestSigned) Size added in v0.3.33

func (m *VerifyEmailRequestSigned) Size() (n int)

func (*VerifyEmailRequestSigned) String added in v0.3.33

func (m *VerifyEmailRequestSigned) String() string

func (*VerifyEmailRequestSigned) Unmarshal added in v0.3.33

func (m *VerifyEmailRequestSigned) Unmarshal(dAtA []byte) error

func (*VerifyEmailRequestSigned) XXX_DiscardUnknown added in v0.3.33

func (m *VerifyEmailRequestSigned) XXX_DiscardUnknown()

func (*VerifyEmailRequestSigned) XXX_Marshal added in v0.3.33

func (m *VerifyEmailRequestSigned) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VerifyEmailRequestSigned) XXX_MarshalAppend added in v0.5.0

func (m *VerifyEmailRequestSigned) XXX_MarshalAppend(b []byte, newLen int) ([]byte, error)

func (*VerifyEmailRequestSigned) XXX_Merge added in v0.3.33

func (m *VerifyEmailRequestSigned) XXX_Merge(src proto.Message)

func (*VerifyEmailRequestSigned) XXX_Size added in v0.3.33

func (m *VerifyEmailRequestSigned) XXX_Size() int

func (*VerifyEmailRequestSigned) XXX_Unmarshal added in v0.3.33

func (m *VerifyEmailRequestSigned) XXX_Unmarshal(b []byte) error

type VerifyEmailResponse added in v0.3.33

type VerifyEmailResponse struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
}

func (*VerifyEmailResponse) Descriptor added in v0.3.33

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

func (*VerifyEmailResponse) GetSuccess added in v0.3.33

func (m *VerifyEmailResponse) GetSuccess() bool

func (*VerifyEmailResponse) Marshal added in v0.3.33

func (m *VerifyEmailResponse) Marshal() (dAtA []byte, err error)

func (*VerifyEmailResponse) MarshalTo added in v0.3.33

func (m *VerifyEmailResponse) MarshalTo(dAtA []byte) (int, error)

func (*VerifyEmailResponse) MarshalToSizedBuffer added in v0.3.33

func (m *VerifyEmailResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*VerifyEmailResponse) ProtoMessage added in v0.3.33

func (*VerifyEmailResponse) ProtoMessage()

func (*VerifyEmailResponse) Reset added in v0.3.33

func (m *VerifyEmailResponse) Reset()

func (*VerifyEmailResponse) Size added in v0.3.33

func (m *VerifyEmailResponse) Size() (n int)

func (*VerifyEmailResponse) String added in v0.3.33

func (m *VerifyEmailResponse) String() string

func (*VerifyEmailResponse) Unmarshal added in v0.3.33

func (m *VerifyEmailResponse) Unmarshal(dAtA []byte) error

func (*VerifyEmailResponse) XXX_DiscardUnknown added in v0.3.33

func (m *VerifyEmailResponse) XXX_DiscardUnknown()

func (*VerifyEmailResponse) XXX_Marshal added in v0.3.33

func (m *VerifyEmailResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VerifyEmailResponse) XXX_MarshalAppend added in v0.5.0

func (m *VerifyEmailResponse) XXX_MarshalAppend(b []byte, newLen int) ([]byte, error)

func (*VerifyEmailResponse) XXX_Merge added in v0.3.33

func (m *VerifyEmailResponse) XXX_Merge(src proto.Message)

func (*VerifyEmailResponse) XXX_Size added in v0.3.33

func (m *VerifyEmailResponse) XXX_Size() int

func (*VerifyEmailResponse) XXX_Unmarshal added in v0.3.33

func (m *VerifyEmailResponse) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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