|
|
|
@@ -1,7 +1,7 @@
|
|
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
|
|
// versions:
|
|
|
|
|
// protoc-gen-go v1.36.10
|
|
|
|
|
// protoc v6.33.1
|
|
|
|
|
// protoc-gen-go v1.36.11
|
|
|
|
|
// protoc v7.35.0
|
|
|
|
|
// source: cart.proto
|
|
|
|
|
|
|
|
|
|
package cart_messages
|
|
|
|
@@ -87,8 +87,15 @@ type AddItem struct {
|
|
|
|
|
ParentId *uint32 `protobuf:"varint,23,opt,name=parentId,proto3,oneof" json:"parentId,omitempty"`
|
|
|
|
|
Cgm string `protobuf:"bytes,25,opt,name=cgm,proto3" json:"cgm,omitempty"`
|
|
|
|
|
ReservationEndTime *timestamppb.Timestamp `protobuf:"bytes,26,opt,name=reservationEndTime,proto3,oneof" json:"reservationEndTime,omitempty"`
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
// extra_json carries arbitrary product data (the flat product document minus
|
|
|
|
|
// the fields mapped above) as raw JSON. It is stored losslessly and surfaced
|
|
|
|
|
// as flattened keys on the cart item.
|
|
|
|
|
ExtraJson []byte `protobuf:"bytes,27,opt,name=extra_json,json=extraJson,proto3" json:"extra_json,omitempty"`
|
|
|
|
|
// custom_fields holds optional user-supplied input fields for this line
|
|
|
|
|
// (e.g. engraving text, configurator notes), keyed by field name.
|
|
|
|
|
CustomFields map[string]string `protobuf:"bytes,28,rep,name=custom_fields,json=customFields,proto3" json:"custom_fields,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *AddItem) Reset() {
|
|
|
|
@@ -303,6 +310,20 @@ func (x *AddItem) GetReservationEndTime() *timestamppb.Timestamp {
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *AddItem) GetExtraJson() []byte {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.ExtraJson
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *AddItem) GetCustomFields() map[string]string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.CustomFields
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type RemoveItem struct {
|
|
|
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
|
|
|
Id uint32 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"`
|
|
|
|
@@ -547,6 +568,60 @@ func (x *RemoveLineItemMarking) GetId() uint32 {
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// SetLineItemCustomFields sets/merges user-supplied custom input fields on an
|
|
|
|
|
// existing cart line (the dict equivalent of a line item marking).
|
|
|
|
|
type SetLineItemCustomFields struct {
|
|
|
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
|
|
|
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
|
|
CustomFields map[string]string `protobuf:"bytes,2,rep,name=custom_fields,json=customFields,proto3" json:"custom_fields,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *SetLineItemCustomFields) Reset() {
|
|
|
|
|
*x = SetLineItemCustomFields{}
|
|
|
|
|
mi := &file_cart_proto_msgTypes[7]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *SetLineItemCustomFields) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*SetLineItemCustomFields) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *SetLineItemCustomFields) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_cart_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 SetLineItemCustomFields.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*SetLineItemCustomFields) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_cart_proto_rawDescGZIP(), []int{7}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *SetLineItemCustomFields) GetId() uint32 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Id
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *SetLineItemCustomFields) GetCustomFields() map[string]string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.CustomFields
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type SubscriptionAdded struct {
|
|
|
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
|
|
|
ItemId uint32 `protobuf:"varint,1,opt,name=itemId,proto3" json:"itemId,omitempty"`
|
|
|
|
@@ -558,7 +633,7 @@ type SubscriptionAdded struct {
|
|
|
|
|
|
|
|
|
|
func (x *SubscriptionAdded) Reset() {
|
|
|
|
|
*x = SubscriptionAdded{}
|
|
|
|
|
mi := &file_cart_proto_msgTypes[7]
|
|
|
|
|
mi := &file_cart_proto_msgTypes[8]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
@@ -570,7 +645,7 @@ func (x *SubscriptionAdded) String() string {
|
|
|
|
|
func (*SubscriptionAdded) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *SubscriptionAdded) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_cart_proto_msgTypes[7]
|
|
|
|
|
mi := &file_cart_proto_msgTypes[8]
|
|
|
|
|
if x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
@@ -583,7 +658,7 @@ func (x *SubscriptionAdded) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use SubscriptionAdded.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*SubscriptionAdded) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_cart_proto_rawDescGZIP(), []int{7}
|
|
|
|
|
return file_cart_proto_rawDescGZIP(), []int{8}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *SubscriptionAdded) GetItemId() uint32 {
|
|
|
|
@@ -619,7 +694,7 @@ type AddVoucher struct {
|
|
|
|
|
|
|
|
|
|
func (x *AddVoucher) Reset() {
|
|
|
|
|
*x = AddVoucher{}
|
|
|
|
|
mi := &file_cart_proto_msgTypes[8]
|
|
|
|
|
mi := &file_cart_proto_msgTypes[9]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
@@ -631,7 +706,7 @@ func (x *AddVoucher) String() string {
|
|
|
|
|
func (*AddVoucher) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *AddVoucher) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_cart_proto_msgTypes[8]
|
|
|
|
|
mi := &file_cart_proto_msgTypes[9]
|
|
|
|
|
if x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
@@ -644,7 +719,7 @@ func (x *AddVoucher) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use AddVoucher.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*AddVoucher) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_cart_proto_rawDescGZIP(), []int{8}
|
|
|
|
|
return file_cart_proto_rawDescGZIP(), []int{9}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *AddVoucher) GetCode() string {
|
|
|
|
@@ -684,7 +759,7 @@ type RemoveVoucher struct {
|
|
|
|
|
|
|
|
|
|
func (x *RemoveVoucher) Reset() {
|
|
|
|
|
*x = RemoveVoucher{}
|
|
|
|
|
mi := &file_cart_proto_msgTypes[9]
|
|
|
|
|
mi := &file_cart_proto_msgTypes[10]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
@@ -696,7 +771,7 @@ func (x *RemoveVoucher) String() string {
|
|
|
|
|
func (*RemoveVoucher) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *RemoveVoucher) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_cart_proto_msgTypes[9]
|
|
|
|
|
mi := &file_cart_proto_msgTypes[10]
|
|
|
|
|
if x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
@@ -709,7 +784,7 @@ func (x *RemoveVoucher) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use RemoveVoucher.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*RemoveVoucher) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_cart_proto_rawDescGZIP(), []int{9}
|
|
|
|
|
return file_cart_proto_rawDescGZIP(), []int{10}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *RemoveVoucher) GetId() uint32 {
|
|
|
|
@@ -731,7 +806,7 @@ type UpsertSubscriptionDetails struct {
|
|
|
|
|
|
|
|
|
|
func (x *UpsertSubscriptionDetails) Reset() {
|
|
|
|
|
*x = UpsertSubscriptionDetails{}
|
|
|
|
|
mi := &file_cart_proto_msgTypes[10]
|
|
|
|
|
mi := &file_cart_proto_msgTypes[11]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
@@ -743,7 +818,7 @@ func (x *UpsertSubscriptionDetails) String() string {
|
|
|
|
|
func (*UpsertSubscriptionDetails) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *UpsertSubscriptionDetails) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_cart_proto_msgTypes[10]
|
|
|
|
|
mi := &file_cart_proto_msgTypes[11]
|
|
|
|
|
if x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
@@ -756,7 +831,7 @@ func (x *UpsertSubscriptionDetails) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use UpsertSubscriptionDetails.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*UpsertSubscriptionDetails) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_cart_proto_rawDescGZIP(), []int{10}
|
|
|
|
|
return file_cart_proto_rawDescGZIP(), []int{11}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *UpsertSubscriptionDetails) GetId() string {
|
|
|
|
@@ -799,6 +874,7 @@ type Mutation struct {
|
|
|
|
|
// *Mutation_LineItemMarking
|
|
|
|
|
// *Mutation_RemoveLineItemMarking
|
|
|
|
|
// *Mutation_SubscriptionAdded
|
|
|
|
|
// *Mutation_SetLineItemCustomFields
|
|
|
|
|
// *Mutation_AddVoucher
|
|
|
|
|
// *Mutation_RemoveVoucher
|
|
|
|
|
// *Mutation_UpsertSubscriptionDetails
|
|
|
|
@@ -809,7 +885,7 @@ type Mutation struct {
|
|
|
|
|
|
|
|
|
|
func (x *Mutation) Reset() {
|
|
|
|
|
*x = Mutation{}
|
|
|
|
|
mi := &file_cart_proto_msgTypes[11]
|
|
|
|
|
mi := &file_cart_proto_msgTypes[12]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
@@ -821,7 +897,7 @@ func (x *Mutation) String() string {
|
|
|
|
|
func (*Mutation) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *Mutation) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_cart_proto_msgTypes[11]
|
|
|
|
|
mi := &file_cart_proto_msgTypes[12]
|
|
|
|
|
if x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
@@ -834,7 +910,7 @@ func (x *Mutation) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use Mutation.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*Mutation) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_cart_proto_rawDescGZIP(), []int{11}
|
|
|
|
|
return file_cart_proto_rawDescGZIP(), []int{12}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *Mutation) GetType() isMutation_Type {
|
|
|
|
@@ -916,6 +992,15 @@ func (x *Mutation) GetSubscriptionAdded() *SubscriptionAdded {
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *Mutation) GetSetLineItemCustomFields() *SetLineItemCustomFields {
|
|
|
|
|
if x != nil {
|
|
|
|
|
if x, ok := x.Type.(*Mutation_SetLineItemCustomFields); ok {
|
|
|
|
|
return x.SetLineItemCustomFields
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *Mutation) GetAddVoucher() *AddVoucher {
|
|
|
|
|
if x != nil {
|
|
|
|
|
if x, ok := x.Type.(*Mutation_AddVoucher); ok {
|
|
|
|
@@ -979,6 +1064,10 @@ type Mutation_SubscriptionAdded struct {
|
|
|
|
|
SubscriptionAdded *SubscriptionAdded `protobuf:"bytes,8,opt,name=subscription_added,json=subscriptionAdded,proto3,oneof"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type Mutation_SetLineItemCustomFields struct {
|
|
|
|
|
SetLineItemCustomFields *SetLineItemCustomFields `protobuf:"bytes,9,opt,name=set_line_item_custom_fields,json=setLineItemCustomFields,proto3,oneof"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type Mutation_AddVoucher struct {
|
|
|
|
|
AddVoucher *AddVoucher `protobuf:"bytes,20,opt,name=add_voucher,json=addVoucher,proto3,oneof"`
|
|
|
|
|
}
|
|
|
|
@@ -1007,6 +1096,8 @@ func (*Mutation_RemoveLineItemMarking) isMutation_Type() {}
|
|
|
|
|
|
|
|
|
|
func (*Mutation_SubscriptionAdded) isMutation_Type() {}
|
|
|
|
|
|
|
|
|
|
func (*Mutation_SetLineItemCustomFields) isMutation_Type() {}
|
|
|
|
|
|
|
|
|
|
func (*Mutation_AddVoucher) isMutation_Type() {}
|
|
|
|
|
|
|
|
|
|
func (*Mutation_RemoveVoucher) isMutation_Type() {}
|
|
|
|
@@ -1019,7 +1110,7 @@ const file_cart_proto_rawDesc = "" +
|
|
|
|
|
"\n" +
|
|
|
|
|
"\n" +
|
|
|
|
|
"cart.proto\x12\rcart_messages\x1a\x19google/protobuf/any.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x12\n" +
|
|
|
|
|
"\x10ClearCartRequest\"\xb1\x06\n" +
|
|
|
|
|
"\x10ClearCartRequest\"\xe0\a\n" +
|
|
|
|
|
"\aAddItem\x12\x17\n" +
|
|
|
|
|
"\aitem_id\x18\x01 \x01(\rR\x06itemId\x12\x1a\n" +
|
|
|
|
|
"\bquantity\x18\x02 \x01(\x05R\bquantity\x12\x14\n" +
|
|
|
|
@@ -1053,7 +1144,13 @@ const file_cart_proto_rawDesc = "" +
|
|
|
|
|
"\astoreId\x18\x16 \x01(\tH\x01R\astoreId\x88\x01\x01\x12\x1f\n" +
|
|
|
|
|
"\bparentId\x18\x17 \x01(\rH\x02R\bparentId\x88\x01\x01\x12\x10\n" +
|
|
|
|
|
"\x03cgm\x18\x19 \x01(\tR\x03cgm\x12O\n" +
|
|
|
|
|
"\x12reservationEndTime\x18\x1a \x01(\v2\x1a.google.protobuf.TimestampH\x03R\x12reservationEndTime\x88\x01\x01B\t\n" +
|
|
|
|
|
"\x12reservationEndTime\x18\x1a \x01(\v2\x1a.google.protobuf.TimestampH\x03R\x12reservationEndTime\x88\x01\x01\x12\x1d\n" +
|
|
|
|
|
"\n" +
|
|
|
|
|
"extra_json\x18\x1b \x01(\fR\textraJson\x12M\n" +
|
|
|
|
|
"\rcustom_fields\x18\x1c \x03(\v2(.cart_messages.AddItem.CustomFieldsEntryR\fcustomFields\x1a?\n" +
|
|
|
|
|
"\x11CustomFieldsEntry\x12\x10\n" +
|
|
|
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
|
|
|
|
|
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01B\t\n" +
|
|
|
|
|
"\a_outletB\n" +
|
|
|
|
|
"\n" +
|
|
|
|
|
"\b_storeIdB\v\n" +
|
|
|
|
@@ -1072,7 +1169,13 @@ const file_cart_proto_rawDesc = "" +
|
|
|
|
|
"\x04type\x18\x02 \x01(\rR\x04type\x12\x18\n" +
|
|
|
|
|
"\amarking\x18\x03 \x01(\tR\amarking\"'\n" +
|
|
|
|
|
"\x15RemoveLineItemMarking\x12\x0e\n" +
|
|
|
|
|
"\x02id\x18\x01 \x01(\rR\x02id\"q\n" +
|
|
|
|
|
"\x02id\x18\x01 \x01(\rR\x02id\"\xc9\x01\n" +
|
|
|
|
|
"\x17SetLineItemCustomFields\x12\x0e\n" +
|
|
|
|
|
"\x02id\x18\x01 \x01(\rR\x02id\x12]\n" +
|
|
|
|
|
"\rcustom_fields\x18\x02 \x03(\v28.cart_messages.SetLineItemCustomFields.CustomFieldsEntryR\fcustomFields\x1a?\n" +
|
|
|
|
|
"\x11CustomFieldsEntry\x12\x10\n" +
|
|
|
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
|
|
|
|
|
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"q\n" +
|
|
|
|
|
"\x11SubscriptionAdded\x12\x16\n" +
|
|
|
|
|
"\x06itemId\x18\x01 \x01(\rR\x06itemId\x12\x1c\n" +
|
|
|
|
|
"\tdetailsId\x18\x03 \x01(\tR\tdetailsId\x12&\n" +
|
|
|
|
@@ -1090,7 +1193,7 @@ const file_cart_proto_rawDesc = "" +
|
|
|
|
|
"\fofferingCode\x18\x02 \x01(\tR\fofferingCode\x12 \n" +
|
|
|
|
|
"\vsigningType\x18\x03 \x01(\tR\vsigningType\x12(\n" +
|
|
|
|
|
"\x04data\x18\x04 \x01(\v2\x14.google.protobuf.AnyR\x04dataB\x05\n" +
|
|
|
|
|
"\x03_id\"\xc0\x06\n" +
|
|
|
|
|
"\x03_id\"\xa8\a\n" +
|
|
|
|
|
"\bMutation\x12@\n" +
|
|
|
|
|
"\n" +
|
|
|
|
|
"clear_cart\x18\x01 \x01(\v2\x1f.cart_messages.ClearCartRequestH\x00R\tclearCart\x123\n" +
|
|
|
|
@@ -1101,7 +1204,8 @@ const file_cart_proto_rawDesc = "" +
|
|
|
|
|
"\vset_user_id\x18\x05 \x01(\v2\x18.cart_messages.SetUserIdH\x00R\tsetUserId\x12L\n" +
|
|
|
|
|
"\x11line_item_marking\x18\x06 \x01(\v2\x1e.cart_messages.LineItemMarkingH\x00R\x0flineItemMarking\x12_\n" +
|
|
|
|
|
"\x18remove_line_item_marking\x18\a \x01(\v2$.cart_messages.RemoveLineItemMarkingH\x00R\x15removeLineItemMarking\x12Q\n" +
|
|
|
|
|
"\x12subscription_added\x18\b \x01(\v2 .cart_messages.SubscriptionAddedH\x00R\x11subscriptionAdded\x12<\n" +
|
|
|
|
|
"\x12subscription_added\x18\b \x01(\v2 .cart_messages.SubscriptionAddedH\x00R\x11subscriptionAdded\x12f\n" +
|
|
|
|
|
"\x1bset_line_item_custom_fields\x18\t \x01(\v2&.cart_messages.SetLineItemCustomFieldsH\x00R\x17setLineItemCustomFields\x12<\n" +
|
|
|
|
|
"\vadd_voucher\x18\x14 \x01(\v2\x19.cart_messages.AddVoucherH\x00R\n" +
|
|
|
|
|
"addVoucher\x12E\n" +
|
|
|
|
|
"\x0eremove_voucher\x18\x15 \x01(\v2\x1c.cart_messages.RemoveVoucherH\x00R\rremoveVoucher\x12j\n" +
|
|
|
|
@@ -1120,7 +1224,7 @@ func file_cart_proto_rawDescGZIP() []byte {
|
|
|
|
|
return file_cart_proto_rawDescData
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var file_cart_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
|
|
|
|
|
var file_cart_proto_msgTypes = make([]protoimpl.MessageInfo, 15)
|
|
|
|
|
var file_cart_proto_goTypes = []any{
|
|
|
|
|
(*ClearCartRequest)(nil), // 0: cart_messages.ClearCartRequest
|
|
|
|
|
(*AddItem)(nil), // 1: cart_messages.AddItem
|
|
|
|
@@ -1129,33 +1233,39 @@ var file_cart_proto_goTypes = []any{
|
|
|
|
|
(*SetUserId)(nil), // 4: cart_messages.SetUserId
|
|
|
|
|
(*LineItemMarking)(nil), // 5: cart_messages.LineItemMarking
|
|
|
|
|
(*RemoveLineItemMarking)(nil), // 6: cart_messages.RemoveLineItemMarking
|
|
|
|
|
(*SubscriptionAdded)(nil), // 7: cart_messages.SubscriptionAdded
|
|
|
|
|
(*AddVoucher)(nil), // 8: cart_messages.AddVoucher
|
|
|
|
|
(*RemoveVoucher)(nil), // 9: cart_messages.RemoveVoucher
|
|
|
|
|
(*UpsertSubscriptionDetails)(nil), // 10: cart_messages.UpsertSubscriptionDetails
|
|
|
|
|
(*Mutation)(nil), // 11: cart_messages.Mutation
|
|
|
|
|
(*timestamppb.Timestamp)(nil), // 12: google.protobuf.Timestamp
|
|
|
|
|
(*anypb.Any)(nil), // 13: google.protobuf.Any
|
|
|
|
|
(*SetLineItemCustomFields)(nil), // 7: cart_messages.SetLineItemCustomFields
|
|
|
|
|
(*SubscriptionAdded)(nil), // 8: cart_messages.SubscriptionAdded
|
|
|
|
|
(*AddVoucher)(nil), // 9: cart_messages.AddVoucher
|
|
|
|
|
(*RemoveVoucher)(nil), // 10: cart_messages.RemoveVoucher
|
|
|
|
|
(*UpsertSubscriptionDetails)(nil), // 11: cart_messages.UpsertSubscriptionDetails
|
|
|
|
|
(*Mutation)(nil), // 12: cart_messages.Mutation
|
|
|
|
|
nil, // 13: cart_messages.AddItem.CustomFieldsEntry
|
|
|
|
|
nil, // 14: cart_messages.SetLineItemCustomFields.CustomFieldsEntry
|
|
|
|
|
(*timestamppb.Timestamp)(nil), // 15: google.protobuf.Timestamp
|
|
|
|
|
(*anypb.Any)(nil), // 16: google.protobuf.Any
|
|
|
|
|
}
|
|
|
|
|
var file_cart_proto_depIdxs = []int32{
|
|
|
|
|
12, // 0: cart_messages.AddItem.reservationEndTime:type_name -> google.protobuf.Timestamp
|
|
|
|
|
13, // 1: cart_messages.UpsertSubscriptionDetails.data:type_name -> google.protobuf.Any
|
|
|
|
|
0, // 2: cart_messages.Mutation.clear_cart:type_name -> cart_messages.ClearCartRequest
|
|
|
|
|
1, // 3: cart_messages.Mutation.add_item:type_name -> cart_messages.AddItem
|
|
|
|
|
2, // 4: cart_messages.Mutation.remove_item:type_name -> cart_messages.RemoveItem
|
|
|
|
|
3, // 5: cart_messages.Mutation.change_quantity:type_name -> cart_messages.ChangeQuantity
|
|
|
|
|
4, // 6: cart_messages.Mutation.set_user_id:type_name -> cart_messages.SetUserId
|
|
|
|
|
5, // 7: cart_messages.Mutation.line_item_marking:type_name -> cart_messages.LineItemMarking
|
|
|
|
|
6, // 8: cart_messages.Mutation.remove_line_item_marking:type_name -> cart_messages.RemoveLineItemMarking
|
|
|
|
|
7, // 9: cart_messages.Mutation.subscription_added:type_name -> cart_messages.SubscriptionAdded
|
|
|
|
|
8, // 10: cart_messages.Mutation.add_voucher:type_name -> cart_messages.AddVoucher
|
|
|
|
|
9, // 11: cart_messages.Mutation.remove_voucher:type_name -> cart_messages.RemoveVoucher
|
|
|
|
|
10, // 12: cart_messages.Mutation.upsert_subscription_details:type_name -> cart_messages.UpsertSubscriptionDetails
|
|
|
|
|
13, // [13:13] is the sub-list for method output_type
|
|
|
|
|
13, // [13:13] is the sub-list for method input_type
|
|
|
|
|
13, // [13:13] is the sub-list for extension type_name
|
|
|
|
|
13, // [13:13] is the sub-list for extension extendee
|
|
|
|
|
0, // [0:13] is the sub-list for field type_name
|
|
|
|
|
15, // 0: cart_messages.AddItem.reservationEndTime:type_name -> google.protobuf.Timestamp
|
|
|
|
|
13, // 1: cart_messages.AddItem.custom_fields:type_name -> cart_messages.AddItem.CustomFieldsEntry
|
|
|
|
|
14, // 2: cart_messages.SetLineItemCustomFields.custom_fields:type_name -> cart_messages.SetLineItemCustomFields.CustomFieldsEntry
|
|
|
|
|
16, // 3: cart_messages.UpsertSubscriptionDetails.data:type_name -> google.protobuf.Any
|
|
|
|
|
0, // 4: cart_messages.Mutation.clear_cart:type_name -> cart_messages.ClearCartRequest
|
|
|
|
|
1, // 5: cart_messages.Mutation.add_item:type_name -> cart_messages.AddItem
|
|
|
|
|
2, // 6: cart_messages.Mutation.remove_item:type_name -> cart_messages.RemoveItem
|
|
|
|
|
3, // 7: cart_messages.Mutation.change_quantity:type_name -> cart_messages.ChangeQuantity
|
|
|
|
|
4, // 8: cart_messages.Mutation.set_user_id:type_name -> cart_messages.SetUserId
|
|
|
|
|
5, // 9: cart_messages.Mutation.line_item_marking:type_name -> cart_messages.LineItemMarking
|
|
|
|
|
6, // 10: cart_messages.Mutation.remove_line_item_marking:type_name -> cart_messages.RemoveLineItemMarking
|
|
|
|
|
8, // 11: cart_messages.Mutation.subscription_added:type_name -> cart_messages.SubscriptionAdded
|
|
|
|
|
7, // 12: cart_messages.Mutation.set_line_item_custom_fields:type_name -> cart_messages.SetLineItemCustomFields
|
|
|
|
|
9, // 13: cart_messages.Mutation.add_voucher:type_name -> cart_messages.AddVoucher
|
|
|
|
|
10, // 14: cart_messages.Mutation.remove_voucher:type_name -> cart_messages.RemoveVoucher
|
|
|
|
|
11, // 15: cart_messages.Mutation.upsert_subscription_details:type_name -> cart_messages.UpsertSubscriptionDetails
|
|
|
|
|
16, // [16:16] is the sub-list for method output_type
|
|
|
|
|
16, // [16:16] is the sub-list for method input_type
|
|
|
|
|
16, // [16:16] is the sub-list for extension type_name
|
|
|
|
|
16, // [16:16] is the sub-list for extension extendee
|
|
|
|
|
0, // [0:16] is the sub-list for field type_name
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func init() { file_cart_proto_init() }
|
|
|
|
@@ -1164,8 +1274,8 @@ func file_cart_proto_init() {
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
file_cart_proto_msgTypes[1].OneofWrappers = []any{}
|
|
|
|
|
file_cart_proto_msgTypes[10].OneofWrappers = []any{}
|
|
|
|
|
file_cart_proto_msgTypes[11].OneofWrappers = []any{
|
|
|
|
|
file_cart_proto_msgTypes[11].OneofWrappers = []any{}
|
|
|
|
|
file_cart_proto_msgTypes[12].OneofWrappers = []any{
|
|
|
|
|
(*Mutation_ClearCart)(nil),
|
|
|
|
|
(*Mutation_AddItem)(nil),
|
|
|
|
|
(*Mutation_RemoveItem)(nil),
|
|
|
|
@@ -1174,6 +1284,7 @@ func file_cart_proto_init() {
|
|
|
|
|
(*Mutation_LineItemMarking)(nil),
|
|
|
|
|
(*Mutation_RemoveLineItemMarking)(nil),
|
|
|
|
|
(*Mutation_SubscriptionAdded)(nil),
|
|
|
|
|
(*Mutation_SetLineItemCustomFields)(nil),
|
|
|
|
|
(*Mutation_AddVoucher)(nil),
|
|
|
|
|
(*Mutation_RemoveVoucher)(nil),
|
|
|
|
|
(*Mutation_UpsertSubscriptionDetails)(nil),
|
|
|
|
@@ -1184,7 +1295,7 @@ func file_cart_proto_init() {
|
|
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_cart_proto_rawDesc), len(file_cart_proto_rawDesc)),
|
|
|
|
|
NumEnums: 0,
|
|
|
|
|
NumMessages: 12,
|
|
|
|
|
NumMessages: 15,
|
|
|
|
|
NumExtensions: 0,
|
|
|
|
|
NumServices: 0,
|
|
|
|
|
},
|
|
|
|
|