1086 lines
39 KiB
Go
1086 lines
39 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.5
|
|
// protoc v7.35.0
|
|
// source: profile.proto
|
|
|
|
package profile_messages
|
|
|
|
import (
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
unsafe "unsafe"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
// Address represents a stored address in the user's profile.
|
|
type Address struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"` // e.g. "Home", "Work"
|
|
FullName string `protobuf:"bytes,3,opt,name=fullName,proto3" json:"fullName,omitempty"`
|
|
AddressLine1 string `protobuf:"bytes,4,opt,name=addressLine1,proto3" json:"addressLine1,omitempty"`
|
|
AddressLine2 *string `protobuf:"bytes,5,opt,name=addressLine2,proto3,oneof" json:"addressLine2,omitempty"`
|
|
City string `protobuf:"bytes,6,opt,name=city,proto3" json:"city,omitempty"`
|
|
State string `protobuf:"bytes,7,opt,name=state,proto3" json:"state,omitempty"`
|
|
Zip string `protobuf:"bytes,8,opt,name=zip,proto3" json:"zip,omitempty"`
|
|
Country string `protobuf:"bytes,9,opt,name=country,proto3" json:"country,omitempty"`
|
|
Phone *string `protobuf:"bytes,10,opt,name=phone,proto3,oneof" json:"phone,omitempty"`
|
|
IsDefaultShipping bool `protobuf:"varint,11,opt,name=isDefaultShipping,proto3" json:"isDefaultShipping,omitempty"`
|
|
IsDefaultBilling bool `protobuf:"varint,12,opt,name=isDefaultBilling,proto3" json:"isDefaultBilling,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Address) Reset() {
|
|
*x = Address{}
|
|
mi := &file_profile_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Address) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Address) ProtoMessage() {}
|
|
|
|
func (x *Address) ProtoReflect() protoreflect.Message {
|
|
mi := &file_profile_proto_msgTypes[0]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Address.ProtoReflect.Descriptor instead.
|
|
func (*Address) Descriptor() ([]byte, []int) {
|
|
return file_profile_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *Address) GetId() uint32 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Address) GetLabel() string {
|
|
if x != nil {
|
|
return x.Label
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Address) GetFullName() string {
|
|
if x != nil {
|
|
return x.FullName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Address) GetAddressLine1() string {
|
|
if x != nil {
|
|
return x.AddressLine1
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Address) GetAddressLine2() string {
|
|
if x != nil && x.AddressLine2 != nil {
|
|
return *x.AddressLine2
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Address) GetCity() string {
|
|
if x != nil {
|
|
return x.City
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Address) GetState() string {
|
|
if x != nil {
|
|
return x.State
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Address) GetZip() string {
|
|
if x != nil {
|
|
return x.Zip
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Address) GetCountry() string {
|
|
if x != nil {
|
|
return x.Country
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Address) GetPhone() string {
|
|
if x != nil && x.Phone != nil {
|
|
return *x.Phone
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Address) GetIsDefaultShipping() bool {
|
|
if x != nil {
|
|
return x.IsDefaultShipping
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *Address) GetIsDefaultBilling() bool {
|
|
if x != nil {
|
|
return x.IsDefaultBilling
|
|
}
|
|
return false
|
|
}
|
|
|
|
// SetProfile sets the user's core profile information.
|
|
type SetProfile struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Name *string `protobuf:"bytes,1,opt,name=name,proto3,oneof" json:"name,omitempty"`
|
|
Email *string `protobuf:"bytes,2,opt,name=email,proto3,oneof" json:"email,omitempty"`
|
|
Phone *string `protobuf:"bytes,3,opt,name=phone,proto3,oneof" json:"phone,omitempty"`
|
|
Language *string `protobuf:"bytes,4,opt,name=language,proto3,oneof" json:"language,omitempty"`
|
|
Currency *string `protobuf:"bytes,5,opt,name=currency,proto3,oneof" json:"currency,omitempty"`
|
|
AvatarUrl *string `protobuf:"bytes,6,opt,name=avatarUrl,proto3,oneof" json:"avatarUrl,omitempty"`
|
|
OrderEmails *bool `protobuf:"varint,7,opt,name=orderEmails,proto3,oneof" json:"orderEmails,omitempty"`
|
|
MarketingEmails *bool `protobuf:"varint,8,opt,name=marketingEmails,proto3,oneof" json:"marketingEmails,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetProfile) Reset() {
|
|
*x = SetProfile{}
|
|
mi := &file_profile_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetProfile) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetProfile) ProtoMessage() {}
|
|
|
|
func (x *SetProfile) ProtoReflect() protoreflect.Message {
|
|
mi := &file_profile_proto_msgTypes[1]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SetProfile.ProtoReflect.Descriptor instead.
|
|
func (*SetProfile) Descriptor() ([]byte, []int) {
|
|
return file_profile_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *SetProfile) GetName() string {
|
|
if x != nil && x.Name != nil {
|
|
return *x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetProfile) GetEmail() string {
|
|
if x != nil && x.Email != nil {
|
|
return *x.Email
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetProfile) GetPhone() string {
|
|
if x != nil && x.Phone != nil {
|
|
return *x.Phone
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetProfile) GetLanguage() string {
|
|
if x != nil && x.Language != nil {
|
|
return *x.Language
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetProfile) GetCurrency() string {
|
|
if x != nil && x.Currency != nil {
|
|
return *x.Currency
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetProfile) GetAvatarUrl() string {
|
|
if x != nil && x.AvatarUrl != nil {
|
|
return *x.AvatarUrl
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetProfile) GetOrderEmails() bool {
|
|
if x != nil && x.OrderEmails != nil {
|
|
return *x.OrderEmails
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *SetProfile) GetMarketingEmails() bool {
|
|
if x != nil && x.MarketingEmails != nil {
|
|
return *x.MarketingEmails
|
|
}
|
|
return false
|
|
}
|
|
|
|
// AddAddress adds a new address to the user's address book.
|
|
type AddAddress struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Address *Address `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AddAddress) Reset() {
|
|
*x = AddAddress{}
|
|
mi := &file_profile_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AddAddress) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AddAddress) ProtoMessage() {}
|
|
|
|
func (x *AddAddress) ProtoReflect() protoreflect.Message {
|
|
mi := &file_profile_proto_msgTypes[2]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AddAddress.ProtoReflect.Descriptor instead.
|
|
func (*AddAddress) Descriptor() ([]byte, []int) {
|
|
return file_profile_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *AddAddress) GetAddress() *Address {
|
|
if x != nil {
|
|
return x.Address
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// UpdateAddress updates an existing address (matched by id).
|
|
type UpdateAddress struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Label *string `protobuf:"bytes,2,opt,name=label,proto3,oneof" json:"label,omitempty"`
|
|
FullName *string `protobuf:"bytes,3,opt,name=fullName,proto3,oneof" json:"fullName,omitempty"`
|
|
AddressLine1 *string `protobuf:"bytes,4,opt,name=addressLine1,proto3,oneof" json:"addressLine1,omitempty"`
|
|
AddressLine2 *string `protobuf:"bytes,5,opt,name=addressLine2,proto3,oneof" json:"addressLine2,omitempty"`
|
|
City *string `protobuf:"bytes,6,opt,name=city,proto3,oneof" json:"city,omitempty"`
|
|
State *string `protobuf:"bytes,7,opt,name=state,proto3,oneof" json:"state,omitempty"`
|
|
Zip *string `protobuf:"bytes,8,opt,name=zip,proto3,oneof" json:"zip,omitempty"`
|
|
Country *string `protobuf:"bytes,9,opt,name=country,proto3,oneof" json:"country,omitempty"`
|
|
Phone *string `protobuf:"bytes,10,opt,name=phone,proto3,oneof" json:"phone,omitempty"`
|
|
IsDefaultShipping *bool `protobuf:"varint,11,opt,name=isDefaultShipping,proto3,oneof" json:"isDefaultShipping,omitempty"`
|
|
IsDefaultBilling *bool `protobuf:"varint,12,opt,name=isDefaultBilling,proto3,oneof" json:"isDefaultBilling,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *UpdateAddress) Reset() {
|
|
*x = UpdateAddress{}
|
|
mi := &file_profile_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateAddress) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateAddress) ProtoMessage() {}
|
|
|
|
func (x *UpdateAddress) ProtoReflect() protoreflect.Message {
|
|
mi := &file_profile_proto_msgTypes[3]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpdateAddress.ProtoReflect.Descriptor instead.
|
|
func (*UpdateAddress) Descriptor() ([]byte, []int) {
|
|
return file_profile_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *UpdateAddress) GetId() uint32 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdateAddress) GetLabel() string {
|
|
if x != nil && x.Label != nil {
|
|
return *x.Label
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateAddress) GetFullName() string {
|
|
if x != nil && x.FullName != nil {
|
|
return *x.FullName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateAddress) GetAddressLine1() string {
|
|
if x != nil && x.AddressLine1 != nil {
|
|
return *x.AddressLine1
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateAddress) GetAddressLine2() string {
|
|
if x != nil && x.AddressLine2 != nil {
|
|
return *x.AddressLine2
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateAddress) GetCity() string {
|
|
if x != nil && x.City != nil {
|
|
return *x.City
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateAddress) GetState() string {
|
|
if x != nil && x.State != nil {
|
|
return *x.State
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateAddress) GetZip() string {
|
|
if x != nil && x.Zip != nil {
|
|
return *x.Zip
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateAddress) GetCountry() string {
|
|
if x != nil && x.Country != nil {
|
|
return *x.Country
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateAddress) GetPhone() string {
|
|
if x != nil && x.Phone != nil {
|
|
return *x.Phone
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateAddress) GetIsDefaultShipping() bool {
|
|
if x != nil && x.IsDefaultShipping != nil {
|
|
return *x.IsDefaultShipping
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *UpdateAddress) GetIsDefaultBilling() bool {
|
|
if x != nil && x.IsDefaultBilling != nil {
|
|
return *x.IsDefaultBilling
|
|
}
|
|
return false
|
|
}
|
|
|
|
// RemoveAddress removes an address from the address book.
|
|
type RemoveAddress struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RemoveAddress) Reset() {
|
|
*x = RemoveAddress{}
|
|
mi := &file_profile_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RemoveAddress) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RemoveAddress) ProtoMessage() {}
|
|
|
|
func (x *RemoveAddress) ProtoReflect() protoreflect.Message {
|
|
mi := &file_profile_proto_msgTypes[4]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RemoveAddress.ProtoReflect.Descriptor instead.
|
|
func (*RemoveAddress) Descriptor() ([]byte, []int) {
|
|
return file_profile_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *RemoveAddress) GetId() uint32 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// LinkCart links a cart grain to this user profile.
|
|
type LinkCart struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
CartId uint64 `protobuf:"varint,1,opt,name=cartId,proto3" json:"cartId,omitempty"`
|
|
Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"` // optional label, e.g. "current cart"
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *LinkCart) Reset() {
|
|
*x = LinkCart{}
|
|
mi := &file_profile_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *LinkCart) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*LinkCart) ProtoMessage() {}
|
|
|
|
func (x *LinkCart) ProtoReflect() protoreflect.Message {
|
|
mi := &file_profile_proto_msgTypes[5]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use LinkCart.ProtoReflect.Descriptor instead.
|
|
func (*LinkCart) Descriptor() ([]byte, []int) {
|
|
return file_profile_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *LinkCart) GetCartId() uint64 {
|
|
if x != nil {
|
|
return x.CartId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *LinkCart) GetLabel() string {
|
|
if x != nil {
|
|
return x.Label
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// LinkCheckout links a checkout grain to this user profile.
|
|
type LinkCheckout struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
CheckoutId uint64 `protobuf:"varint,1,opt,name=checkoutId,proto3" json:"checkoutId,omitempty"`
|
|
CartId uint64 `protobuf:"varint,2,opt,name=cartId,proto3" json:"cartId,omitempty"` // the cart this checkout belongs to
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *LinkCheckout) Reset() {
|
|
*x = LinkCheckout{}
|
|
mi := &file_profile_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *LinkCheckout) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*LinkCheckout) ProtoMessage() {}
|
|
|
|
func (x *LinkCheckout) ProtoReflect() protoreflect.Message {
|
|
mi := &file_profile_proto_msgTypes[6]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use LinkCheckout.ProtoReflect.Descriptor instead.
|
|
func (*LinkCheckout) Descriptor() ([]byte, []int) {
|
|
return file_profile_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *LinkCheckout) GetCheckoutId() uint64 {
|
|
if x != nil {
|
|
return x.CheckoutId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *LinkCheckout) GetCartId() uint64 {
|
|
if x != nil {
|
|
return x.CartId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// LinkOrder links an order to this user profile.
|
|
type LinkOrder struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
OrderReference string `protobuf:"bytes,1,opt,name=orderReference,proto3" json:"orderReference,omitempty"` // order reference / id
|
|
CartId uint64 `protobuf:"varint,2,opt,name=cartId,proto3" json:"cartId,omitempty"` // originating cart
|
|
Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` // order status snapshot
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *LinkOrder) Reset() {
|
|
*x = LinkOrder{}
|
|
mi := &file_profile_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *LinkOrder) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*LinkOrder) ProtoMessage() {}
|
|
|
|
func (x *LinkOrder) ProtoReflect() protoreflect.Message {
|
|
mi := &file_profile_proto_msgTypes[7]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use LinkOrder.ProtoReflect.Descriptor instead.
|
|
func (*LinkOrder) Descriptor() ([]byte, []int) {
|
|
return file_profile_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *LinkOrder) GetOrderReference() string {
|
|
if x != nil {
|
|
return x.OrderReference
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *LinkOrder) GetCartId() uint64 {
|
|
if x != nil {
|
|
return x.CartId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *LinkOrder) GetStatus() string {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// AnonymizeProfile wipes all PII from the customer profile.
|
|
type AnonymizeProfile struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AnonymizeProfile) Reset() {
|
|
*x = AnonymizeProfile{}
|
|
mi := &file_profile_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AnonymizeProfile) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AnonymizeProfile) ProtoMessage() {}
|
|
|
|
func (x *AnonymizeProfile) ProtoReflect() protoreflect.Message {
|
|
mi := &file_profile_proto_msgTypes[8]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AnonymizeProfile.ProtoReflect.Descriptor instead.
|
|
func (*AnonymizeProfile) Descriptor() ([]byte, []int) {
|
|
return file_profile_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
type Mutation struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Types that are valid to be assigned to Type:
|
|
//
|
|
// *Mutation_SetProfile
|
|
// *Mutation_AddAddress
|
|
// *Mutation_UpdateAddress
|
|
// *Mutation_RemoveAddress
|
|
// *Mutation_LinkCart
|
|
// *Mutation_LinkCheckout
|
|
// *Mutation_LinkOrder
|
|
// *Mutation_AnonymizeProfile
|
|
Type isMutation_Type `protobuf_oneof:"type"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Mutation) Reset() {
|
|
*x = Mutation{}
|
|
mi := &file_profile_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Mutation) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Mutation) ProtoMessage() {}
|
|
|
|
func (x *Mutation) ProtoReflect() protoreflect.Message {
|
|
mi := &file_profile_proto_msgTypes[9]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Mutation.ProtoReflect.Descriptor instead.
|
|
func (*Mutation) Descriptor() ([]byte, []int) {
|
|
return file_profile_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *Mutation) GetType() isMutation_Type {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Mutation) GetSetProfile() *SetProfile {
|
|
if x != nil {
|
|
if x, ok := x.Type.(*Mutation_SetProfile); ok {
|
|
return x.SetProfile
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Mutation) GetAddAddress() *AddAddress {
|
|
if x != nil {
|
|
if x, ok := x.Type.(*Mutation_AddAddress); ok {
|
|
return x.AddAddress
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Mutation) GetUpdateAddress() *UpdateAddress {
|
|
if x != nil {
|
|
if x, ok := x.Type.(*Mutation_UpdateAddress); ok {
|
|
return x.UpdateAddress
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Mutation) GetRemoveAddress() *RemoveAddress {
|
|
if x != nil {
|
|
if x, ok := x.Type.(*Mutation_RemoveAddress); ok {
|
|
return x.RemoveAddress
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Mutation) GetLinkCart() *LinkCart {
|
|
if x != nil {
|
|
if x, ok := x.Type.(*Mutation_LinkCart); ok {
|
|
return x.LinkCart
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Mutation) GetLinkCheckout() *LinkCheckout {
|
|
if x != nil {
|
|
if x, ok := x.Type.(*Mutation_LinkCheckout); ok {
|
|
return x.LinkCheckout
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Mutation) GetLinkOrder() *LinkOrder {
|
|
if x != nil {
|
|
if x, ok := x.Type.(*Mutation_LinkOrder); ok {
|
|
return x.LinkOrder
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Mutation) GetAnonymizeProfile() *AnonymizeProfile {
|
|
if x != nil {
|
|
if x, ok := x.Type.(*Mutation_AnonymizeProfile); ok {
|
|
return x.AnonymizeProfile
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type isMutation_Type interface {
|
|
isMutation_Type()
|
|
}
|
|
|
|
type Mutation_SetProfile struct {
|
|
SetProfile *SetProfile `protobuf:"bytes,1,opt,name=set_profile,json=setProfile,proto3,oneof"`
|
|
}
|
|
|
|
type Mutation_AddAddress struct {
|
|
AddAddress *AddAddress `protobuf:"bytes,2,opt,name=add_address,json=addAddress,proto3,oneof"`
|
|
}
|
|
|
|
type Mutation_UpdateAddress struct {
|
|
UpdateAddress *UpdateAddress `protobuf:"bytes,3,opt,name=update_address,json=updateAddress,proto3,oneof"`
|
|
}
|
|
|
|
type Mutation_RemoveAddress struct {
|
|
RemoveAddress *RemoveAddress `protobuf:"bytes,4,opt,name=remove_address,json=removeAddress,proto3,oneof"`
|
|
}
|
|
|
|
type Mutation_LinkCart struct {
|
|
LinkCart *LinkCart `protobuf:"bytes,5,opt,name=link_cart,json=linkCart,proto3,oneof"`
|
|
}
|
|
|
|
type Mutation_LinkCheckout struct {
|
|
LinkCheckout *LinkCheckout `protobuf:"bytes,6,opt,name=link_checkout,json=linkCheckout,proto3,oneof"`
|
|
}
|
|
|
|
type Mutation_LinkOrder struct {
|
|
LinkOrder *LinkOrder `protobuf:"bytes,7,opt,name=link_order,json=linkOrder,proto3,oneof"`
|
|
}
|
|
|
|
type Mutation_AnonymizeProfile struct {
|
|
AnonymizeProfile *AnonymizeProfile `protobuf:"bytes,8,opt,name=anonymize_profile,json=anonymizeProfile,proto3,oneof"`
|
|
}
|
|
|
|
func (*Mutation_SetProfile) isMutation_Type() {}
|
|
|
|
func (*Mutation_AddAddress) isMutation_Type() {}
|
|
|
|
func (*Mutation_UpdateAddress) isMutation_Type() {}
|
|
|
|
func (*Mutation_RemoveAddress) isMutation_Type() {}
|
|
|
|
func (*Mutation_LinkCart) isMutation_Type() {}
|
|
|
|
func (*Mutation_LinkCheckout) isMutation_Type() {}
|
|
|
|
func (*Mutation_LinkOrder) isMutation_Type() {}
|
|
|
|
func (*Mutation_AnonymizeProfile) isMutation_Type() {}
|
|
|
|
var File_profile_proto protoreflect.FileDescriptor
|
|
|
|
var file_profile_proto_rawDesc = string([]byte{
|
|
0x0a, 0x0d, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
|
|
0x10, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
|
|
0x73, 0x22, 0xfe, 0x02, 0x0a, 0x07, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x0e, 0x0a,
|
|
0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a,
|
|
0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c, 0x61,
|
|
0x62, 0x65, 0x6c, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x75, 0x6c, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x18,
|
|
0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x75, 0x6c, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x12,
|
|
0x22, 0x0a, 0x0c, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x4c, 0x69, 0x6e, 0x65, 0x31, 0x18,
|
|
0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x4c, 0x69,
|
|
0x6e, 0x65, 0x31, 0x12, 0x27, 0x0a, 0x0c, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x4c, 0x69,
|
|
0x6e, 0x65, 0x32, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0c, 0x61, 0x64, 0x64,
|
|
0x72, 0x65, 0x73, 0x73, 0x4c, 0x69, 0x6e, 0x65, 0x32, 0x88, 0x01, 0x01, 0x12, 0x12, 0x0a, 0x04,
|
|
0x63, 0x69, 0x74, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x69, 0x74, 0x79,
|
|
0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x7a, 0x69, 0x70, 0x18, 0x08, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x03, 0x7a, 0x69, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x75, 0x6e,
|
|
0x74, 0x72, 0x79, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x75, 0x6e, 0x74,
|
|
0x72, 0x79, 0x12, 0x19, 0x0a, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28,
|
|
0x09, 0x48, 0x01, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x88, 0x01, 0x01, 0x12, 0x2c, 0x0a,
|
|
0x11, 0x69, 0x73, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x53, 0x68, 0x69, 0x70, 0x70, 0x69,
|
|
0x6e, 0x67, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x69, 0x73, 0x44, 0x65, 0x66, 0x61,
|
|
0x75, 0x6c, 0x74, 0x53, 0x68, 0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x12, 0x2a, 0x0a, 0x10, 0x69,
|
|
0x73, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x18,
|
|
0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x69, 0x73, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74,
|
|
0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x42, 0x0f, 0x0a, 0x0d, 0x5f, 0x61, 0x64, 0x64, 0x72,
|
|
0x65, 0x73, 0x73, 0x4c, 0x69, 0x6e, 0x65, 0x32, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x70, 0x68, 0x6f,
|
|
0x6e, 0x65, 0x22, 0x85, 0x02, 0x0a, 0x0a, 0x53, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c,
|
|
0x65, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48,
|
|
0x00, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x88, 0x01, 0x01, 0x12, 0x19, 0x0a, 0x05, 0x65, 0x6d,
|
|
0x61, 0x69, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x05, 0x65, 0x6d, 0x61,
|
|
0x69, 0x6c, 0x88, 0x01, 0x01, 0x12, 0x19, 0x0a, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x03,
|
|
0x20, 0x01, 0x28, 0x09, 0x48, 0x02, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x88, 0x01, 0x01,
|
|
0x12, 0x1f, 0x0a, 0x08, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01,
|
|
0x28, 0x09, 0x48, 0x03, 0x52, 0x08, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x88, 0x01,
|
|
0x01, 0x12, 0x1f, 0x0a, 0x08, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x18, 0x05, 0x20,
|
|
0x01, 0x28, 0x09, 0x48, 0x04, 0x52, 0x08, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x88,
|
|
0x01, 0x01, 0x12, 0x21, 0x0a, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x18,
|
|
0x06, 0x20, 0x01, 0x28, 0x09, 0x48, 0x05, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55,
|
|
0x72, 0x6c, 0x88, 0x01, 0x01, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x08,
|
|
0x0a, 0x06, 0x5f, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x70, 0x68, 0x6f,
|
|
0x6e, 0x65, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x42,
|
|
0x0b, 0x0a, 0x09, 0x5f, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x42, 0x0c, 0x0a, 0x0a,
|
|
0x5f, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x22, 0x41, 0x0a, 0x0a, 0x41, 0x64,
|
|
0x64, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x33, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72,
|
|
0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x66,
|
|
0x69, 0x6c, 0x65, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x41, 0x64, 0x64,
|
|
0x72, 0x65, 0x73, 0x73, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0xab, 0x04,
|
|
0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12,
|
|
0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12,
|
|
0x19, 0x0a, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00,
|
|
0x52, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x88, 0x01, 0x01, 0x12, 0x1f, 0x0a, 0x08, 0x66, 0x75,
|
|
0x6c, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x08,
|
|
0x66, 0x75, 0x6c, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x88, 0x01, 0x01, 0x12, 0x27, 0x0a, 0x0c, 0x61,
|
|
0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x4c, 0x69, 0x6e, 0x65, 0x31, 0x18, 0x04, 0x20, 0x01, 0x28,
|
|
0x09, 0x48, 0x02, 0x52, 0x0c, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x4c, 0x69, 0x6e, 0x65,
|
|
0x31, 0x88, 0x01, 0x01, 0x12, 0x27, 0x0a, 0x0c, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x4c,
|
|
0x69, 0x6e, 0x65, 0x32, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x03, 0x52, 0x0c, 0x61, 0x64,
|
|
0x64, 0x72, 0x65, 0x73, 0x73, 0x4c, 0x69, 0x6e, 0x65, 0x32, 0x88, 0x01, 0x01, 0x12, 0x17, 0x0a,
|
|
0x04, 0x63, 0x69, 0x74, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x48, 0x04, 0x52, 0x04, 0x63,
|
|
0x69, 0x74, 0x79, 0x88, 0x01, 0x01, 0x12, 0x19, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18,
|
|
0x07, 0x20, 0x01, 0x28, 0x09, 0x48, 0x05, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x88, 0x01,
|
|
0x01, 0x12, 0x15, 0x0a, 0x03, 0x7a, 0x69, 0x70, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x48, 0x06,
|
|
0x52, 0x03, 0x7a, 0x69, 0x70, 0x88, 0x01, 0x01, 0x12, 0x1d, 0x0a, 0x07, 0x63, 0x6f, 0x75, 0x6e,
|
|
0x74, 0x72, 0x79, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x48, 0x07, 0x52, 0x07, 0x63, 0x6f, 0x75,
|
|
0x6e, 0x74, 0x72, 0x79, 0x88, 0x01, 0x01, 0x12, 0x19, 0x0a, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65,
|
|
0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x48, 0x08, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x88,
|
|
0x01, 0x01, 0x12, 0x31, 0x0a, 0x11, 0x69, 0x73, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x53,
|
|
0x68, 0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x48, 0x09, 0x52,
|
|
0x11, 0x69, 0x73, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x53, 0x68, 0x69, 0x70, 0x70, 0x69,
|
|
0x6e, 0x67, 0x88, 0x01, 0x01, 0x12, 0x2f, 0x0a, 0x10, 0x69, 0x73, 0x44, 0x65, 0x66, 0x61, 0x75,
|
|
0x6c, 0x74, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x48,
|
|
0x0a, 0x52, 0x10, 0x69, 0x73, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x42, 0x69, 0x6c, 0x6c,
|
|
0x69, 0x6e, 0x67, 0x88, 0x01, 0x01, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c,
|
|
0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x66, 0x75, 0x6c, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x42, 0x0f, 0x0a,
|
|
0x0d, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x4c, 0x69, 0x6e, 0x65, 0x31, 0x42, 0x0f,
|
|
0x0a, 0x0d, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x4c, 0x69, 0x6e, 0x65, 0x32, 0x42,
|
|
0x07, 0x0a, 0x05, 0x5f, 0x63, 0x69, 0x74, 0x79, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x73, 0x74, 0x61,
|
|
0x74, 0x65, 0x42, 0x06, 0x0a, 0x04, 0x5f, 0x7a, 0x69, 0x70, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x63,
|
|
0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x70, 0x68, 0x6f, 0x6e, 0x65,
|
|
0x42, 0x14, 0x0a, 0x12, 0x5f, 0x69, 0x73, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x53, 0x68,
|
|
0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x42, 0x13, 0x0a, 0x11, 0x5f, 0x69, 0x73, 0x44, 0x65, 0x66,
|
|
0x61, 0x75, 0x6c, 0x74, 0x42, 0x69, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x22, 0x1f, 0x0a, 0x0d, 0x52,
|
|
0x65, 0x6d, 0x6f, 0x76, 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x0e, 0x0a, 0x02,
|
|
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x22, 0x38, 0x0a, 0x08,
|
|
0x4c, 0x69, 0x6e, 0x6b, 0x43, 0x61, 0x72, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x61, 0x72, 0x74,
|
|
0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x63, 0x61, 0x72, 0x74, 0x49, 0x64,
|
|
0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x22, 0x46, 0x0a, 0x0c, 0x4c, 0x69, 0x6e, 0x6b, 0x43, 0x68,
|
|
0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x6f,
|
|
0x75, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x63, 0x68, 0x65, 0x63,
|
|
0x6b, 0x6f, 0x75, 0x74, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x61, 0x72, 0x74, 0x49, 0x64,
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x63, 0x61, 0x72, 0x74, 0x49, 0x64, 0x22, 0x63,
|
|
0x0a, 0x09, 0x4c, 0x69, 0x6e, 0x6b, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x26, 0x0a, 0x0e, 0x6f,
|
|
0x72, 0x64, 0x65, 0x72, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65,
|
|
0x6e, 0x63, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x61, 0x72, 0x74, 0x49, 0x64, 0x18, 0x02, 0x20,
|
|
0x01, 0x28, 0x04, 0x52, 0x06, 0x63, 0x61, 0x72, 0x74, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73,
|
|
0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61,
|
|
0x74, 0x75, 0x73, 0x22, 0x12, 0x0a, 0x10, 0x41, 0x6e, 0x6f, 0x6e, 0x79, 0x6d, 0x69, 0x7a, 0x65,
|
|
0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x22, 0xbb, 0x04, 0x0a, 0x08, 0x4d, 0x75, 0x74, 0x61,
|
|
0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3f, 0x0a, 0x0b, 0x73, 0x65, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x66,
|
|
0x69, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x66,
|
|
0x69, 0x6c, 0x65, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x53, 0x65, 0x74,
|
|
0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x48, 0x00, 0x52, 0x0a, 0x73, 0x65, 0x74, 0x50, 0x72,
|
|
0x6f, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x3f, 0x0a, 0x0b, 0x61, 0x64, 0x64, 0x5f, 0x61, 0x64, 0x64,
|
|
0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x72, 0x6f,
|
|
0x66, 0x69, 0x6c, 0x65, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x41, 0x64,
|
|
0x64, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x48, 0x00, 0x52, 0x0a, 0x61, 0x64, 0x64, 0x41,
|
|
0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x48, 0x0a, 0x0e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65,
|
|
0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f,
|
|
0x2e, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
|
|
0x73, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x48,
|
|
0x00, 0x52, 0x0d, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73,
|
|
0x12, 0x48, 0x0a, 0x0e, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65,
|
|
0x73, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x66, 0x69,
|
|
0x6c, 0x65, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x52, 0x65, 0x6d, 0x6f,
|
|
0x76, 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x48, 0x00, 0x52, 0x0d, 0x72, 0x65, 0x6d,
|
|
0x6f, 0x76, 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x39, 0x0a, 0x09, 0x6c, 0x69,
|
|
0x6e, 0x6b, 0x5f, 0x63, 0x61, 0x72, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e,
|
|
0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73,
|
|
0x2e, 0x4c, 0x69, 0x6e, 0x6b, 0x43, 0x61, 0x72, 0x74, 0x48, 0x00, 0x52, 0x08, 0x6c, 0x69, 0x6e,
|
|
0x6b, 0x43, 0x61, 0x72, 0x74, 0x12, 0x45, 0x0a, 0x0d, 0x6c, 0x69, 0x6e, 0x6b, 0x5f, 0x63, 0x68,
|
|
0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70,
|
|
0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e,
|
|
0x4c, 0x69, 0x6e, 0x6b, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x48, 0x00, 0x52, 0x0c,
|
|
0x6c, 0x69, 0x6e, 0x6b, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x6f, 0x75, 0x74, 0x12, 0x3c, 0x0a, 0x0a,
|
|
0x6c, 0x69, 0x6e, 0x6b, 0x5f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b,
|
|
0x32, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61,
|
|
0x67, 0x65, 0x73, 0x2e, 0x4c, 0x69, 0x6e, 0x6b, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x48, 0x00, 0x52,
|
|
0x09, 0x6c, 0x69, 0x6e, 0x6b, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x51, 0x0a, 0x11, 0x61, 0x6e,
|
|
0x6f, 0x6e, 0x79, 0x6d, 0x69, 0x7a, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x18,
|
|
0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x5f,
|
|
0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x41, 0x6e, 0x6f, 0x6e, 0x79, 0x6d, 0x69,
|
|
0x7a, 0x65, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x48, 0x00, 0x52, 0x10, 0x61, 0x6e, 0x6f,
|
|
0x6e, 0x79, 0x6d, 0x69, 0x7a, 0x65, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x42, 0x06, 0x0a,
|
|
0x04, 0x74, 0x79, 0x70, 0x65, 0x42, 0x3f, 0x5a, 0x3d, 0x67, 0x69, 0x74, 0x2e, 0x6b, 0x36, 0x6e,
|
|
0x2e, 0x6e, 0x65, 0x74, 0x2f, 0x6d, 0x61, 0x74, 0x73, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x61, 0x72,
|
|
0x74, 0x2d, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x70, 0x72,
|
|
0x6f, 0x66, 0x69, 0x6c, 0x65, 0x3b, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x6d, 0x65,
|
|
0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
})
|
|
|
|
var (
|
|
file_profile_proto_rawDescOnce sync.Once
|
|
file_profile_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_profile_proto_rawDescGZIP() []byte {
|
|
file_profile_proto_rawDescOnce.Do(func() {
|
|
file_profile_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_profile_proto_rawDesc), len(file_profile_proto_rawDesc)))
|
|
})
|
|
return file_profile_proto_rawDescData
|
|
}
|
|
|
|
var file_profile_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
|
|
var file_profile_proto_goTypes = []any{
|
|
(*Address)(nil), // 0: profile_messages.Address
|
|
(*SetProfile)(nil), // 1: profile_messages.SetProfile
|
|
(*AddAddress)(nil), // 2: profile_messages.AddAddress
|
|
(*UpdateAddress)(nil), // 3: profile_messages.UpdateAddress
|
|
(*RemoveAddress)(nil), // 4: profile_messages.RemoveAddress
|
|
(*LinkCart)(nil), // 5: profile_messages.LinkCart
|
|
(*LinkCheckout)(nil), // 6: profile_messages.LinkCheckout
|
|
(*LinkOrder)(nil), // 7: profile_messages.LinkOrder
|
|
(*AnonymizeProfile)(nil), // 8: profile_messages.AnonymizeProfile
|
|
(*Mutation)(nil), // 9: profile_messages.Mutation
|
|
}
|
|
var file_profile_proto_depIdxs = []int32{
|
|
0, // 0: profile_messages.AddAddress.address:type_name -> profile_messages.Address
|
|
1, // 1: profile_messages.Mutation.set_profile:type_name -> profile_messages.SetProfile
|
|
2, // 2: profile_messages.Mutation.add_address:type_name -> profile_messages.AddAddress
|
|
3, // 3: profile_messages.Mutation.update_address:type_name -> profile_messages.UpdateAddress
|
|
4, // 4: profile_messages.Mutation.remove_address:type_name -> profile_messages.RemoveAddress
|
|
5, // 5: profile_messages.Mutation.link_cart:type_name -> profile_messages.LinkCart
|
|
6, // 6: profile_messages.Mutation.link_checkout:type_name -> profile_messages.LinkCheckout
|
|
7, // 7: profile_messages.Mutation.link_order:type_name -> profile_messages.LinkOrder
|
|
8, // 8: profile_messages.Mutation.anonymize_profile:type_name -> profile_messages.AnonymizeProfile
|
|
9, // [9:9] is the sub-list for method output_type
|
|
9, // [9:9] is the sub-list for method input_type
|
|
9, // [9:9] is the sub-list for extension type_name
|
|
9, // [9:9] is the sub-list for extension extendee
|
|
0, // [0:9] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_profile_proto_init() }
|
|
func file_profile_proto_init() {
|
|
if File_profile_proto != nil {
|
|
return
|
|
}
|
|
file_profile_proto_msgTypes[0].OneofWrappers = []any{}
|
|
file_profile_proto_msgTypes[1].OneofWrappers = []any{}
|
|
file_profile_proto_msgTypes[3].OneofWrappers = []any{}
|
|
file_profile_proto_msgTypes[9].OneofWrappers = []any{
|
|
(*Mutation_SetProfile)(nil),
|
|
(*Mutation_AddAddress)(nil),
|
|
(*Mutation_UpdateAddress)(nil),
|
|
(*Mutation_RemoveAddress)(nil),
|
|
(*Mutation_LinkCart)(nil),
|
|
(*Mutation_LinkCheckout)(nil),
|
|
(*Mutation_LinkOrder)(nil),
|
|
(*Mutation_AnonymizeProfile)(nil),
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_profile_proto_rawDesc), len(file_profile_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 10,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_profile_proto_goTypes,
|
|
DependencyIndexes: file_profile_proto_depIdxs,
|
|
MessageInfos: file_profile_proto_msgTypes,
|
|
}.Build()
|
|
File_profile_proto = out.File
|
|
file_profile_proto_goTypes = nil
|
|
file_profile_proto_depIdxs = nil
|
|
}
|