6760 lines
208 KiB
Go
6760 lines
208 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|||
|
|
// versions:
|
||
|
|
// protoc-gen-go v1.36.11
|
||
|
|
// protoc v6.33.0
|
||
|
|
// source: shop_crm_agent.proto
|
||
|
|
|
||
|
|
package dto
|
||
|
|
|
||
|
|
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)
|
||
|
|
)
|
||
|
|
|
||
|
|
type ResponseHeader struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
|
||
|
|
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
|
||
|
|
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
|
||
|
|
Replayed bool `protobuf:"varint,4,opt,name=replayed,proto3" json:"replayed,omitempty"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ResponseHeader) Reset() {
|
||
|
|
*x = ResponseHeader{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[0]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ResponseHeader) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*ResponseHeader) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *ResponseHeader) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_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 ResponseHeader.ProtoReflect.Descriptor instead.
|
||
|
|
func (*ResponseHeader) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{0}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ResponseHeader) GetCode() int32 {
|
||
|
|
if x != nil {
|
||
|
|
return x.Code
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ResponseHeader) GetMessage() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.Message
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ResponseHeader) GetRequestId() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.RequestId
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ResponseHeader) GetReplayed() bool {
|
||
|
|
if x != nil {
|
||
|
|
return x.Replayed
|
||
|
|
}
|
||
|
|
return false
|
||
|
|
}
|
||
|
|
|
||
|
|
type CommandHeader struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *CommandHeader) Reset() {
|
||
|
|
*x = CommandHeader{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[1]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *CommandHeader) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*CommandHeader) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *CommandHeader) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_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 CommandHeader.ProtoReflect.Descriptor instead.
|
||
|
|
func (*CommandHeader) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{1}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *CommandHeader) GetRequestId() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.RequestId
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
type CommonResponse struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
Header *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *CommonResponse) Reset() {
|
||
|
|
*x = CommonResponse{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[2]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *CommonResponse) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*CommonResponse) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *CommonResponse) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_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 CommonResponse.ProtoReflect.Descriptor instead.
|
||
|
|
func (*CommonResponse) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{2}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *CommonResponse) GetHeader() *ResponseHeader {
|
||
|
|
if x != nil {
|
||
|
|
return x.Header
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
type PageInfo struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
|
||
|
|
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
|
||
|
|
Total int64 `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *PageInfo) Reset() {
|
||
|
|
*x = PageInfo{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[3]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *PageInfo) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*PageInfo) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *PageInfo) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_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 PageInfo.ProtoReflect.Descriptor instead.
|
||
|
|
func (*PageInfo) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{3}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *PageInfo) GetPage() int32 {
|
||
|
|
if x != nil {
|
||
|
|
return x.Page
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *PageInfo) GetPageSize() int32 {
|
||
|
|
if x != nil {
|
||
|
|
return x.PageSize
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *PageInfo) GetTotal() int64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.Total
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
type Customer struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
||
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
||
|
|
Phone string `protobuf:"bytes,3,opt,name=phone,proto3" json:"phone,omitempty"`
|
||
|
|
Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
|
||
|
|
Source string `protobuf:"bytes,5,opt,name=source,proto3" json:"source,omitempty"`
|
||
|
|
Province string `protobuf:"bytes,6,opt,name=province,proto3" json:"province,omitempty"`
|
||
|
|
City string `protobuf:"bytes,7,opt,name=city,proto3" json:"city,omitempty"`
|
||
|
|
District string `protobuf:"bytes,8,opt,name=district,proto3" json:"district,omitempty"`
|
||
|
|
CreatedAt int64 `protobuf:"varint,9,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
|
||
|
|
UpdatedAt int64 `protobuf:"varint,10,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *Customer) Reset() {
|
||
|
|
*x = Customer{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[4]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *Customer) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*Customer) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *Customer) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_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 Customer.ProtoReflect.Descriptor instead.
|
||
|
|
func (*Customer) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{4}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *Customer) GetId() uint64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.Id
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *Customer) GetName() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.Name
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *Customer) GetPhone() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.Phone
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *Customer) GetStatus() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.Status
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *Customer) GetSource() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.Source
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *Customer) GetProvince() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.Province
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *Customer) GetCity() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.City
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *Customer) GetDistrict() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.District
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *Customer) GetCreatedAt() int64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.CreatedAt
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *Customer) GetUpdatedAt() int64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.UpdatedAt
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
type CustomerListRequest struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
Keyword string `protobuf:"bytes,1,opt,name=keyword,proto3" json:"keyword,omitempty"`
|
||
|
|
Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"`
|
||
|
|
PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *CustomerListRequest) Reset() {
|
||
|
|
*x = CustomerListRequest{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[5]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *CustomerListRequest) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*CustomerListRequest) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *CustomerListRequest) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_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 CustomerListRequest.ProtoReflect.Descriptor instead.
|
||
|
|
func (*CustomerListRequest) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{5}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *CustomerListRequest) GetKeyword() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.Keyword
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *CustomerListRequest) GetPage() int32 {
|
||
|
|
if x != nil {
|
||
|
|
return x.Page
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *CustomerListRequest) GetPageSize() int32 {
|
||
|
|
if x != nil {
|
||
|
|
return x.PageSize
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
type CustomerListResponse struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
Header *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
|
||
|
|
Customers []*Customer `protobuf:"bytes,2,rep,name=customers,proto3" json:"customers,omitempty"`
|
||
|
|
Page *PageInfo `protobuf:"bytes,3,opt,name=page,proto3" json:"page,omitempty"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *CustomerListResponse) Reset() {
|
||
|
|
*x = CustomerListResponse{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[6]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *CustomerListResponse) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*CustomerListResponse) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *CustomerListResponse) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_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 CustomerListResponse.ProtoReflect.Descriptor instead.
|
||
|
|
func (*CustomerListResponse) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{6}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *CustomerListResponse) GetHeader() *ResponseHeader {
|
||
|
|
if x != nil {
|
||
|
|
return x.Header
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *CustomerListResponse) GetCustomers() []*Customer {
|
||
|
|
if x != nil {
|
||
|
|
return x.Customers
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *CustomerListResponse) GetPage() *PageInfo {
|
||
|
|
if x != nil {
|
||
|
|
return x.Page
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
type Project struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
||
|
|
ProjectNo string `protobuf:"bytes,2,opt,name=project_no,json=projectNo,proto3" json:"project_no,omitempty"`
|
||
|
|
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
|
||
|
|
Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
|
||
|
|
HouseType string `protobuf:"bytes,5,opt,name=house_type,json=houseType,proto3" json:"house_type,omitempty"`
|
||
|
|
Province string `protobuf:"bytes,6,opt,name=province,proto3" json:"province,omitempty"`
|
||
|
|
ProvinceCode string `protobuf:"bytes,7,opt,name=province_code,json=provinceCode,proto3" json:"province_code,omitempty"`
|
||
|
|
City string `protobuf:"bytes,8,opt,name=city,proto3" json:"city,omitempty"`
|
||
|
|
CityCode string `protobuf:"bytes,9,opt,name=city_code,json=cityCode,proto3" json:"city_code,omitempty"`
|
||
|
|
District string `protobuf:"bytes,10,opt,name=district,proto3" json:"district,omitempty"`
|
||
|
|
DistrictCode string `protobuf:"bytes,11,opt,name=district_code,json=districtCode,proto3" json:"district_code,omitempty"`
|
||
|
|
Address string `protobuf:"bytes,12,opt,name=address,proto3" json:"address,omitempty"`
|
||
|
|
CustomerId uint64 `protobuf:"varint,16,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"`
|
||
|
|
CustomerName string `protobuf:"bytes,17,opt,name=customer_name,json=customerName,proto3" json:"customer_name,omitempty"`
|
||
|
|
CustomerPhone string `protobuf:"bytes,18,opt,name=customer_phone,json=customerPhone,proto3" json:"customer_phone,omitempty"`
|
||
|
|
Remark string `protobuf:"bytes,19,opt,name=remark,proto3" json:"remark,omitempty"`
|
||
|
|
QuotationCount int32 `protobuf:"varint,20,opt,name=quotation_count,json=quotationCount,proto3" json:"quotation_count,omitempty"`
|
||
|
|
CreatedAt int64 `protobuf:"varint,21,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
|
||
|
|
UpdatedAt int64 `protobuf:"varint,22,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *Project) Reset() {
|
||
|
|
*x = Project{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[7]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *Project) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*Project) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *Project) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_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 Project.ProtoReflect.Descriptor instead.
|
||
|
|
func (*Project) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{7}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *Project) GetId() uint64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.Id
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *Project) GetProjectNo() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.ProjectNo
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *Project) GetName() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.Name
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *Project) GetStatus() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.Status
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *Project) GetHouseType() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.HouseType
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *Project) GetProvince() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.Province
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *Project) GetProvinceCode() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.ProvinceCode
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *Project) GetCity() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.City
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *Project) GetCityCode() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.CityCode
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *Project) GetDistrict() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.District
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *Project) GetDistrictCode() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.DistrictCode
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *Project) GetAddress() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.Address
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *Project) GetCustomerId() uint64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.CustomerId
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *Project) GetCustomerName() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.CustomerName
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *Project) GetCustomerPhone() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.CustomerPhone
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *Project) GetRemark() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.Remark
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *Project) GetQuotationCount() int32 {
|
||
|
|
if x != nil {
|
||
|
|
return x.QuotationCount
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *Project) GetCreatedAt() int64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.CreatedAt
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *Project) GetUpdatedAt() int64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.UpdatedAt
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
type ProjectListRequest struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
Keyword string `protobuf:"bytes,1,opt,name=keyword,proto3" json:"keyword,omitempty"`
|
||
|
|
Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
|
||
|
|
HouseType string `protobuf:"bytes,3,opt,name=house_type,json=houseType,proto3" json:"house_type,omitempty"`
|
||
|
|
Page int32 `protobuf:"varint,4,opt,name=page,proto3" json:"page,omitempty"`
|
||
|
|
PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ProjectListRequest) Reset() {
|
||
|
|
*x = ProjectListRequest{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[8]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ProjectListRequest) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*ProjectListRequest) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *ProjectListRequest) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_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 ProjectListRequest.ProtoReflect.Descriptor instead.
|
||
|
|
func (*ProjectListRequest) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{8}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ProjectListRequest) GetKeyword() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.Keyword
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ProjectListRequest) GetStatus() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.Status
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ProjectListRequest) GetHouseType() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.HouseType
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ProjectListRequest) GetPage() int32 {
|
||
|
|
if x != nil {
|
||
|
|
return x.Page
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ProjectListRequest) GetPageSize() int32 {
|
||
|
|
if x != nil {
|
||
|
|
return x.PageSize
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
type ProjectListResponse struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
Header *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
|
||
|
|
Projects []*Project `protobuf:"bytes,2,rep,name=projects,proto3" json:"projects,omitempty"`
|
||
|
|
Page *PageInfo `protobuf:"bytes,3,opt,name=page,proto3" json:"page,omitempty"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ProjectListResponse) Reset() {
|
||
|
|
*x = ProjectListResponse{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[9]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ProjectListResponse) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*ProjectListResponse) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *ProjectListResponse) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_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 ProjectListResponse.ProtoReflect.Descriptor instead.
|
||
|
|
func (*ProjectListResponse) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{9}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ProjectListResponse) GetHeader() *ResponseHeader {
|
||
|
|
if x != nil {
|
||
|
|
return x.Header
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ProjectListResponse) GetProjects() []*Project {
|
||
|
|
if x != nil {
|
||
|
|
return x.Projects
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ProjectListResponse) GetPage() *PageInfo {
|
||
|
|
if x != nil {
|
||
|
|
return x.Page
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
type ProjectGetRequest struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
ProjectId uint64 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ProjectGetRequest) Reset() {
|
||
|
|
*x = ProjectGetRequest{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[10]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ProjectGetRequest) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*ProjectGetRequest) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *ProjectGetRequest) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[10]
|
||
|
|
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 ProjectGetRequest.ProtoReflect.Descriptor instead.
|
||
|
|
func (*ProjectGetRequest) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{10}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ProjectGetRequest) GetProjectId() uint64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.ProjectId
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
type ProjectResponse struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
Header *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
|
||
|
|
Project *Project `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ProjectResponse) Reset() {
|
||
|
|
*x = ProjectResponse{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[11]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ProjectResponse) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*ProjectResponse) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *ProjectResponse) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[11]
|
||
|
|
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 ProjectResponse.ProtoReflect.Descriptor instead.
|
||
|
|
func (*ProjectResponse) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{11}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ProjectResponse) GetHeader() *ResponseHeader {
|
||
|
|
if x != nil {
|
||
|
|
return x.Header
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ProjectResponse) GetProject() *Project {
|
||
|
|
if x != nil {
|
||
|
|
return x.Project
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
type ProjectCreateRequest struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
Command *CommandHeader `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"`
|
||
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
||
|
|
CustomerId uint64 `protobuf:"varint,3,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"`
|
||
|
|
HouseType string `protobuf:"bytes,4,opt,name=house_type,json=houseType,proto3" json:"house_type,omitempty"`
|
||
|
|
Province string `protobuf:"bytes,5,opt,name=province,proto3" json:"province,omitempty"`
|
||
|
|
ProvinceCode string `protobuf:"bytes,6,opt,name=province_code,json=provinceCode,proto3" json:"province_code,omitempty"`
|
||
|
|
City string `protobuf:"bytes,7,opt,name=city,proto3" json:"city,omitempty"`
|
||
|
|
CityCode string `protobuf:"bytes,8,opt,name=city_code,json=cityCode,proto3" json:"city_code,omitempty"`
|
||
|
|
District string `protobuf:"bytes,9,opt,name=district,proto3" json:"district,omitempty"`
|
||
|
|
DistrictCode string `protobuf:"bytes,10,opt,name=district_code,json=districtCode,proto3" json:"district_code,omitempty"`
|
||
|
|
Address string `protobuf:"bytes,11,opt,name=address,proto3" json:"address,omitempty"`
|
||
|
|
Remark string `protobuf:"bytes,13,opt,name=remark,proto3" json:"remark,omitempty"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ProjectCreateRequest) Reset() {
|
||
|
|
*x = ProjectCreateRequest{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[12]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ProjectCreateRequest) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*ProjectCreateRequest) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *ProjectCreateRequest) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[12]
|
||
|
|
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 ProjectCreateRequest.ProtoReflect.Descriptor instead.
|
||
|
|
func (*ProjectCreateRequest) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{12}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ProjectCreateRequest) GetCommand() *CommandHeader {
|
||
|
|
if x != nil {
|
||
|
|
return x.Command
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ProjectCreateRequest) GetName() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.Name
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ProjectCreateRequest) GetCustomerId() uint64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.CustomerId
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ProjectCreateRequest) GetHouseType() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.HouseType
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ProjectCreateRequest) GetProvince() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.Province
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ProjectCreateRequest) GetProvinceCode() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.ProvinceCode
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ProjectCreateRequest) GetCity() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.City
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ProjectCreateRequest) GetCityCode() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.CityCode
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ProjectCreateRequest) GetDistrict() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.District
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ProjectCreateRequest) GetDistrictCode() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.DistrictCode
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ProjectCreateRequest) GetAddress() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.Address
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ProjectCreateRequest) GetRemark() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.Remark
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
type ProjectUpdateRequest struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
Command *CommandHeader `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"`
|
||
|
|
ProjectId uint64 `protobuf:"varint,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
|
||
|
|
Name *string `protobuf:"bytes,3,opt,name=name,proto3,oneof" json:"name,omitempty"`
|
||
|
|
HouseType *string `protobuf:"bytes,4,opt,name=house_type,json=houseType,proto3,oneof" json:"house_type,omitempty"`
|
||
|
|
Province *string `protobuf:"bytes,5,opt,name=province,proto3,oneof" json:"province,omitempty"`
|
||
|
|
ProvinceCode *string `protobuf:"bytes,6,opt,name=province_code,json=provinceCode,proto3,oneof" json:"province_code,omitempty"`
|
||
|
|
City *string `protobuf:"bytes,7,opt,name=city,proto3,oneof" json:"city,omitempty"`
|
||
|
|
CityCode *string `protobuf:"bytes,8,opt,name=city_code,json=cityCode,proto3,oneof" json:"city_code,omitempty"`
|
||
|
|
District *string `protobuf:"bytes,9,opt,name=district,proto3,oneof" json:"district,omitempty"`
|
||
|
|
DistrictCode *string `protobuf:"bytes,10,opt,name=district_code,json=districtCode,proto3,oneof" json:"district_code,omitempty"`
|
||
|
|
Address *string `protobuf:"bytes,11,opt,name=address,proto3,oneof" json:"address,omitempty"`
|
||
|
|
Remark *string `protobuf:"bytes,13,opt,name=remark,proto3,oneof" json:"remark,omitempty"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ProjectUpdateRequest) Reset() {
|
||
|
|
*x = ProjectUpdateRequest{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[13]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ProjectUpdateRequest) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*ProjectUpdateRequest) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *ProjectUpdateRequest) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[13]
|
||
|
|
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 ProjectUpdateRequest.ProtoReflect.Descriptor instead.
|
||
|
|
func (*ProjectUpdateRequest) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{13}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ProjectUpdateRequest) GetCommand() *CommandHeader {
|
||
|
|
if x != nil {
|
||
|
|
return x.Command
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ProjectUpdateRequest) GetProjectId() uint64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.ProjectId
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ProjectUpdateRequest) GetName() string {
|
||
|
|
if x != nil && x.Name != nil {
|
||
|
|
return *x.Name
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ProjectUpdateRequest) GetHouseType() string {
|
||
|
|
if x != nil && x.HouseType != nil {
|
||
|
|
return *x.HouseType
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ProjectUpdateRequest) GetProvince() string {
|
||
|
|
if x != nil && x.Province != nil {
|
||
|
|
return *x.Province
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ProjectUpdateRequest) GetProvinceCode() string {
|
||
|
|
if x != nil && x.ProvinceCode != nil {
|
||
|
|
return *x.ProvinceCode
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ProjectUpdateRequest) GetCity() string {
|
||
|
|
if x != nil && x.City != nil {
|
||
|
|
return *x.City
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ProjectUpdateRequest) GetCityCode() string {
|
||
|
|
if x != nil && x.CityCode != nil {
|
||
|
|
return *x.CityCode
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ProjectUpdateRequest) GetDistrict() string {
|
||
|
|
if x != nil && x.District != nil {
|
||
|
|
return *x.District
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ProjectUpdateRequest) GetDistrictCode() string {
|
||
|
|
if x != nil && x.DistrictCode != nil {
|
||
|
|
return *x.DistrictCode
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ProjectUpdateRequest) GetAddress() string {
|
||
|
|
if x != nil && x.Address != nil {
|
||
|
|
return *x.Address
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ProjectUpdateRequest) GetRemark() string {
|
||
|
|
if x != nil && x.Remark != nil {
|
||
|
|
return *x.Remark
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
type ProjectStatusRequest struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
Command *CommandHeader `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"`
|
||
|
|
ProjectId uint64 `protobuf:"varint,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
|
||
|
|
Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ProjectStatusRequest) Reset() {
|
||
|
|
*x = ProjectStatusRequest{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[14]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ProjectStatusRequest) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*ProjectStatusRequest) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *ProjectStatusRequest) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[14]
|
||
|
|
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 ProjectStatusRequest.ProtoReflect.Descriptor instead.
|
||
|
|
func (*ProjectStatusRequest) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{14}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ProjectStatusRequest) GetCommand() *CommandHeader {
|
||
|
|
if x != nil {
|
||
|
|
return x.Command
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ProjectStatusRequest) GetProjectId() uint64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.ProjectId
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ProjectStatusRequest) GetStatus() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.Status
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
type ProjectDeletePreviewRequest struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
ProjectId uint64 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ProjectDeletePreviewRequest) Reset() {
|
||
|
|
*x = ProjectDeletePreviewRequest{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[15]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ProjectDeletePreviewRequest) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*ProjectDeletePreviewRequest) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *ProjectDeletePreviewRequest) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[15]
|
||
|
|
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 ProjectDeletePreviewRequest.ProtoReflect.Descriptor instead.
|
||
|
|
func (*ProjectDeletePreviewRequest) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{15}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ProjectDeletePreviewRequest) GetProjectId() uint64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.ProjectId
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
type DeletePreview struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
ResourceType string `protobuf:"bytes,1,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"`
|
||
|
|
ResourceId uint64 `protobuf:"varint,2,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
|
||
|
|
Revision int32 `protobuf:"varint,3,opt,name=revision,proto3" json:"revision,omitempty"`
|
||
|
|
ChangeSetId string `protobuf:"bytes,4,opt,name=change_set_id,json=changeSetId,proto3" json:"change_set_id,omitempty"`
|
||
|
|
Allowed bool `protobuf:"varint,5,opt,name=allowed,proto3" json:"allowed,omitempty"`
|
||
|
|
Reasons []string `protobuf:"bytes,6,rep,name=reasons,proto3" json:"reasons,omitempty"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *DeletePreview) Reset() {
|
||
|
|
*x = DeletePreview{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[16]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *DeletePreview) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*DeletePreview) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *DeletePreview) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[16]
|
||
|
|
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 DeletePreview.ProtoReflect.Descriptor instead.
|
||
|
|
func (*DeletePreview) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{16}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *DeletePreview) GetResourceType() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.ResourceType
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *DeletePreview) GetResourceId() uint64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.ResourceId
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *DeletePreview) GetRevision() int32 {
|
||
|
|
if x != nil {
|
||
|
|
return x.Revision
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *DeletePreview) GetChangeSetId() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.ChangeSetId
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *DeletePreview) GetAllowed() bool {
|
||
|
|
if x != nil {
|
||
|
|
return x.Allowed
|
||
|
|
}
|
||
|
|
return false
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *DeletePreview) GetReasons() []string {
|
||
|
|
if x != nil {
|
||
|
|
return x.Reasons
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
type DeletePreviewResponse struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
Header *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
|
||
|
|
Preview *DeletePreview `protobuf:"bytes,2,opt,name=preview,proto3" json:"preview,omitempty"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *DeletePreviewResponse) Reset() {
|
||
|
|
*x = DeletePreviewResponse{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[17]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *DeletePreviewResponse) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*DeletePreviewResponse) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *DeletePreviewResponse) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[17]
|
||
|
|
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 DeletePreviewResponse.ProtoReflect.Descriptor instead.
|
||
|
|
func (*DeletePreviewResponse) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{17}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *DeletePreviewResponse) GetHeader() *ResponseHeader {
|
||
|
|
if x != nil {
|
||
|
|
return x.Header
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *DeletePreviewResponse) GetPreview() *DeletePreview {
|
||
|
|
if x != nil {
|
||
|
|
return x.Preview
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
type ProjectDeleteRequest struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
Command *CommandHeader `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"`
|
||
|
|
ProjectId uint64 `protobuf:"varint,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
|
||
|
|
ChangeSetId string `protobuf:"bytes,3,opt,name=change_set_id,json=changeSetId,proto3" json:"change_set_id,omitempty"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ProjectDeleteRequest) Reset() {
|
||
|
|
*x = ProjectDeleteRequest{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[18]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ProjectDeleteRequest) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*ProjectDeleteRequest) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *ProjectDeleteRequest) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[18]
|
||
|
|
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 ProjectDeleteRequest.ProtoReflect.Descriptor instead.
|
||
|
|
func (*ProjectDeleteRequest) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{18}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ProjectDeleteRequest) GetCommand() *CommandHeader {
|
||
|
|
if x != nil {
|
||
|
|
return x.Command
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ProjectDeleteRequest) GetProjectId() uint64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.ProjectId
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ProjectDeleteRequest) GetChangeSetId() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.ChangeSetId
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
type QuotationSummary struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
QuotationId uint64 `protobuf:"varint,1,opt,name=quotation_id,json=quotationId,proto3" json:"quotation_id,omitempty"`
|
||
|
|
ArtifactId uint64 `protobuf:"varint,2,opt,name=artifact_id,json=artifactId,proto3" json:"artifact_id,omitempty"`
|
||
|
|
ProjectId uint64 `protobuf:"varint,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
|
||
|
|
ProjectNo string `protobuf:"bytes,4,opt,name=project_no,json=projectNo,proto3" json:"project_no,omitempty"`
|
||
|
|
ProjectName string `protobuf:"bytes,5,opt,name=project_name,json=projectName,proto3" json:"project_name,omitempty"`
|
||
|
|
CustomerName string `protobuf:"bytes,6,opt,name=customer_name,json=customerName,proto3" json:"customer_name,omitempty"`
|
||
|
|
Title string `protobuf:"bytes,7,opt,name=title,proto3" json:"title,omitempty"`
|
||
|
|
Status string `protobuf:"bytes,8,opt,name=status,proto3" json:"status,omitempty"`
|
||
|
|
Revision int32 `protobuf:"varint,9,opt,name=revision,proto3" json:"revision,omitempty"`
|
||
|
|
Locked bool `protobuf:"varint,10,opt,name=locked,proto3" json:"locked,omitempty"`
|
||
|
|
FinalAmount int64 `protobuf:"varint,11,opt,name=final_amount,json=finalAmount,proto3" json:"final_amount,omitempty"`
|
||
|
|
ActualAmount int64 `protobuf:"varint,12,opt,name=actual_amount,json=actualAmount,proto3" json:"actual_amount,omitempty"`
|
||
|
|
ItemCount int32 `protobuf:"varint,13,opt,name=item_count,json=itemCount,proto3" json:"item_count,omitempty"`
|
||
|
|
HasPriceAdjustment bool `protobuf:"varint,14,opt,name=has_price_adjustment,json=hasPriceAdjustment,proto3" json:"has_price_adjustment,omitempty"`
|
||
|
|
CreatedAt int64 `protobuf:"varint,15,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
|
||
|
|
UpdatedAt int64 `protobuf:"varint,16,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationSummary) Reset() {
|
||
|
|
*x = QuotationSummary{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[19]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationSummary) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*QuotationSummary) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *QuotationSummary) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[19]
|
||
|
|
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 QuotationSummary.ProtoReflect.Descriptor instead.
|
||
|
|
func (*QuotationSummary) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{19}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationSummary) GetQuotationId() uint64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.QuotationId
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationSummary) GetArtifactId() uint64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.ArtifactId
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationSummary) GetProjectId() uint64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.ProjectId
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationSummary) GetProjectNo() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.ProjectNo
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationSummary) GetProjectName() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.ProjectName
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationSummary) GetCustomerName() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.CustomerName
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationSummary) GetTitle() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.Title
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationSummary) GetStatus() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.Status
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationSummary) GetRevision() int32 {
|
||
|
|
if x != nil {
|
||
|
|
return x.Revision
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationSummary) GetLocked() bool {
|
||
|
|
if x != nil {
|
||
|
|
return x.Locked
|
||
|
|
}
|
||
|
|
return false
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationSummary) GetFinalAmount() int64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.FinalAmount
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationSummary) GetActualAmount() int64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.ActualAmount
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationSummary) GetItemCount() int32 {
|
||
|
|
if x != nil {
|
||
|
|
return x.ItemCount
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationSummary) GetHasPriceAdjustment() bool {
|
||
|
|
if x != nil {
|
||
|
|
return x.HasPriceAdjustment
|
||
|
|
}
|
||
|
|
return false
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationSummary) GetCreatedAt() int64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.CreatedAt
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationSummary) GetUpdatedAt() int64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.UpdatedAt
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
type QuotationCategory struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
||
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
||
|
|
Source string `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"`
|
||
|
|
SourceKey string `protobuf:"bytes,4,opt,name=source_key,json=sourceKey,proto3" json:"source_key,omitempty"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationCategory) Reset() {
|
||
|
|
*x = QuotationCategory{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[20]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationCategory) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*QuotationCategory) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *QuotationCategory) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[20]
|
||
|
|
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 QuotationCategory.ProtoReflect.Descriptor instead.
|
||
|
|
func (*QuotationCategory) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{20}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationCategory) GetId() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.Id
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationCategory) GetName() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.Name
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationCategory) GetSource() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.Source
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationCategory) GetSourceKey() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.SourceKey
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
type QuotationSpace struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
||
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
||
|
|
Categories []*QuotationCategory `protobuf:"bytes,3,rep,name=categories,proto3" json:"categories,omitempty"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationSpace) Reset() {
|
||
|
|
*x = QuotationSpace{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[21]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationSpace) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*QuotationSpace) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *QuotationSpace) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[21]
|
||
|
|
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 QuotationSpace.ProtoReflect.Descriptor instead.
|
||
|
|
func (*QuotationSpace) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{21}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationSpace) GetId() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.Id
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationSpace) GetName() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.Name
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationSpace) GetCategories() []*QuotationCategory {
|
||
|
|
if x != nil {
|
||
|
|
return x.Categories
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
type QuotationFloor struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
||
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
||
|
|
Spaces []*QuotationSpace `protobuf:"bytes,3,rep,name=spaces,proto3" json:"spaces,omitempty"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationFloor) Reset() {
|
||
|
|
*x = QuotationFloor{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[22]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationFloor) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*QuotationFloor) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *QuotationFloor) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[22]
|
||
|
|
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 QuotationFloor.ProtoReflect.Descriptor instead.
|
||
|
|
func (*QuotationFloor) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{22}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationFloor) GetId() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.Id
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationFloor) GetName() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.Name
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationFloor) GetSpaces() []*QuotationSpace {
|
||
|
|
if x != nil {
|
||
|
|
return x.Spaces
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
type QuotationLine struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
LineId string `protobuf:"bytes,1,opt,name=line_id,json=lineId,proto3" json:"line_id,omitempty"`
|
||
|
|
FloorId string `protobuf:"bytes,2,opt,name=floor_id,json=floorId,proto3" json:"floor_id,omitempty"`
|
||
|
|
SpaceId string `protobuf:"bytes,3,opt,name=space_id,json=spaceId,proto3" json:"space_id,omitempty"`
|
||
|
|
CategoryId string `protobuf:"bytes,4,opt,name=category_id,json=categoryId,proto3" json:"category_id,omitempty"`
|
||
|
|
SourceType string `protobuf:"bytes,5,opt,name=source_type,json=sourceType,proto3" json:"source_type,omitempty"`
|
||
|
|
ProductId uint64 `protobuf:"varint,6,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"`
|
||
|
|
SkuId uint64 `protobuf:"varint,7,opt,name=sku_id,json=skuId,proto3" json:"sku_id,omitempty"`
|
||
|
|
GoodsName string `protobuf:"bytes,8,opt,name=goods_name,json=goodsName,proto3" json:"goods_name,omitempty"`
|
||
|
|
SpecCombination string `protobuf:"bytes,9,opt,name=spec_combination,json=specCombination,proto3" json:"spec_combination,omitempty"`
|
||
|
|
ImageId uint64 `protobuf:"varint,10,opt,name=image_id,json=imageId,proto3" json:"image_id,omitempty"`
|
||
|
|
ImageUrl string `protobuf:"bytes,11,opt,name=image_url,json=imageUrl,proto3" json:"image_url,omitempty"`
|
||
|
|
CategoryName string `protobuf:"bytes,12,opt,name=category_name,json=categoryName,proto3" json:"category_name,omitempty"`
|
||
|
|
SortOrder int32 `protobuf:"varint,13,opt,name=sort_order,json=sortOrder,proto3" json:"sort_order,omitempty"`
|
||
|
|
Remark string `protobuf:"bytes,14,opt,name=remark,proto3" json:"remark,omitempty"`
|
||
|
|
Active bool `protobuf:"varint,15,opt,name=active,proto3" json:"active,omitempty"`
|
||
|
|
UnitPrice int64 `protobuf:"varint,16,opt,name=unit_price,json=unitPrice,proto3" json:"unit_price,omitempty"`
|
||
|
|
Quantity float64 `protobuf:"fixed64,17,opt,name=quantity,proto3" json:"quantity,omitempty"`
|
||
|
|
DiscountRate int32 `protobuf:"varint,18,opt,name=discount_rate,json=discountRate,proto3" json:"discount_rate,omitempty"`
|
||
|
|
DiscountAmount int64 `protobuf:"varint,19,opt,name=discount_amount,json=discountAmount,proto3" json:"discount_amount,omitempty"`
|
||
|
|
CostPrice int64 `protobuf:"varint,20,opt,name=cost_price,json=costPrice,proto3" json:"cost_price,omitempty"`
|
||
|
|
OriginalSubtotal int64 `protobuf:"varint,21,opt,name=original_subtotal,json=originalSubtotal,proto3" json:"original_subtotal,omitempty"`
|
||
|
|
DiscountedSubtotal int64 `protobuf:"varint,22,opt,name=discounted_subtotal,json=discountedSubtotal,proto3" json:"discounted_subtotal,omitempty"`
|
||
|
|
FinalSubtotal int64 `protobuf:"varint,23,opt,name=final_subtotal,json=finalSubtotal,proto3" json:"final_subtotal,omitempty"`
|
||
|
|
CostSubtotal int64 `protobuf:"varint,24,opt,name=cost_subtotal,json=costSubtotal,proto3" json:"cost_subtotal,omitempty"`
|
||
|
|
ProfitSubtotal int64 `protobuf:"varint,25,opt,name=profit_subtotal,json=profitSubtotal,proto3" json:"profit_subtotal,omitempty"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationLine) Reset() {
|
||
|
|
*x = QuotationLine{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[23]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationLine) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*QuotationLine) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *QuotationLine) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[23]
|
||
|
|
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 QuotationLine.ProtoReflect.Descriptor instead.
|
||
|
|
func (*QuotationLine) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{23}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationLine) GetLineId() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.LineId
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationLine) GetFloorId() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.FloorId
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationLine) GetSpaceId() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.SpaceId
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationLine) GetCategoryId() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.CategoryId
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationLine) GetSourceType() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.SourceType
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationLine) GetProductId() uint64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.ProductId
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationLine) GetSkuId() uint64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.SkuId
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationLine) GetGoodsName() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.GoodsName
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationLine) GetSpecCombination() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.SpecCombination
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationLine) GetImageId() uint64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.ImageId
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationLine) GetImageUrl() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.ImageUrl
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationLine) GetCategoryName() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.CategoryName
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationLine) GetSortOrder() int32 {
|
||
|
|
if x != nil {
|
||
|
|
return x.SortOrder
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationLine) GetRemark() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.Remark
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationLine) GetActive() bool {
|
||
|
|
if x != nil {
|
||
|
|
return x.Active
|
||
|
|
}
|
||
|
|
return false
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationLine) GetUnitPrice() int64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.UnitPrice
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationLine) GetQuantity() float64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.Quantity
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationLine) GetDiscountRate() int32 {
|
||
|
|
if x != nil {
|
||
|
|
return x.DiscountRate
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationLine) GetDiscountAmount() int64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.DiscountAmount
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationLine) GetCostPrice() int64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.CostPrice
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationLine) GetOriginalSubtotal() int64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.OriginalSubtotal
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationLine) GetDiscountedSubtotal() int64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.DiscountedSubtotal
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationLine) GetFinalSubtotal() int64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.FinalSubtotal
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationLine) GetCostSubtotal() int64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.CostSubtotal
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationLine) GetProfitSubtotal() int64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.ProfitSubtotal
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
type QuotationFee struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
Index int32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
|
||
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
||
|
|
Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
|
||
|
|
FixedAmount int64 `protobuf:"varint,4,opt,name=fixed_amount,json=fixedAmount,proto3" json:"fixed_amount,omitempty"`
|
||
|
|
Percentage int32 `protobuf:"varint,5,opt,name=percentage,proto3" json:"percentage,omitempty"`
|
||
|
|
SortOrder int32 `protobuf:"varint,6,opt,name=sort_order,json=sortOrder,proto3" json:"sort_order,omitempty"`
|
||
|
|
Remark string `protobuf:"bytes,7,opt,name=remark,proto3" json:"remark,omitempty"`
|
||
|
|
Amount int64 `protobuf:"varint,8,opt,name=amount,proto3" json:"amount,omitempty"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationFee) Reset() {
|
||
|
|
*x = QuotationFee{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[24]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationFee) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*QuotationFee) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *QuotationFee) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[24]
|
||
|
|
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 QuotationFee.ProtoReflect.Descriptor instead.
|
||
|
|
func (*QuotationFee) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{24}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationFee) GetIndex() int32 {
|
||
|
|
if x != nil {
|
||
|
|
return x.Index
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationFee) GetName() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.Name
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationFee) GetType() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.Type
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationFee) GetFixedAmount() int64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.FixedAmount
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationFee) GetPercentage() int32 {
|
||
|
|
if x != nil {
|
||
|
|
return x.Percentage
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationFee) GetSortOrder() int32 {
|
||
|
|
if x != nil {
|
||
|
|
return x.SortOrder
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationFee) GetRemark() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.Remark
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationFee) GetAmount() int64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.Amount
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
type Quotation struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
Summary *QuotationSummary `protobuf:"bytes,1,opt,name=summary,proto3" json:"summary,omitempty"`
|
||
|
|
Floors []*QuotationFloor `protobuf:"bytes,2,rep,name=floors,proto3" json:"floors,omitempty"`
|
||
|
|
Lines []*QuotationLine `protobuf:"bytes,3,rep,name=lines,proto3" json:"lines,omitempty"`
|
||
|
|
Fees []*QuotationFee `protobuf:"bytes,4,rep,name=fees,proto3" json:"fees,omitempty"`
|
||
|
|
DiscountRate int32 `protobuf:"varint,5,opt,name=discount_rate,json=discountRate,proto3" json:"discount_rate,omitempty"`
|
||
|
|
DiscountAmount int64 `protobuf:"varint,6,opt,name=discount_amount,json=discountAmount,proto3" json:"discount_amount,omitempty"`
|
||
|
|
OriginalTotalAmount int64 `protobuf:"varint,7,opt,name=original_total_amount,json=originalTotalAmount,proto3" json:"original_total_amount,omitempty"`
|
||
|
|
TotalAmount int64 `protobuf:"varint,8,opt,name=total_amount,json=totalAmount,proto3" json:"total_amount,omitempty"`
|
||
|
|
DiscountedAmount int64 `protobuf:"varint,9,opt,name=discounted_amount,json=discountedAmount,proto3" json:"discounted_amount,omitempty"`
|
||
|
|
TotalFeeAmount int64 `protobuf:"varint,10,opt,name=total_fee_amount,json=totalFeeAmount,proto3" json:"total_fee_amount,omitempty"`
|
||
|
|
FinalAmount int64 `protobuf:"varint,11,opt,name=final_amount,json=finalAmount,proto3" json:"final_amount,omitempty"`
|
||
|
|
ActualAmount int64 `protobuf:"varint,12,opt,name=actual_amount,json=actualAmount,proto3" json:"actual_amount,omitempty"`
|
||
|
|
HasPriceAdjustment bool `protobuf:"varint,13,opt,name=has_price_adjustment,json=hasPriceAdjustment,proto3" json:"has_price_adjustment,omitempty"`
|
||
|
|
TotalCost int64 `protobuf:"varint,14,opt,name=total_cost,json=totalCost,proto3" json:"total_cost,omitempty"`
|
||
|
|
ProductProfit int64 `protobuf:"varint,15,opt,name=product_profit,json=productProfit,proto3" json:"product_profit,omitempty"`
|
||
|
|
TotalProfit int64 `protobuf:"varint,16,opt,name=total_profit,json=totalProfit,proto3" json:"total_profit,omitempty"`
|
||
|
|
ProductProfitRate float64 `protobuf:"fixed64,17,opt,name=product_profit_rate,json=productProfitRate,proto3" json:"product_profit_rate,omitempty"`
|
||
|
|
TotalProfitRate float64 `protobuf:"fixed64,18,opt,name=total_profit_rate,json=totalProfitRate,proto3" json:"total_profit_rate,omitempty"`
|
||
|
|
Remark string `protobuf:"bytes,19,opt,name=remark,proto3" json:"remark,omitempty"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *Quotation) Reset() {
|
||
|
|
*x = Quotation{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[25]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *Quotation) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*Quotation) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *Quotation) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[25]
|
||
|
|
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 Quotation.ProtoReflect.Descriptor instead.
|
||
|
|
func (*Quotation) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{25}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *Quotation) GetSummary() *QuotationSummary {
|
||
|
|
if x != nil {
|
||
|
|
return x.Summary
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *Quotation) GetFloors() []*QuotationFloor {
|
||
|
|
if x != nil {
|
||
|
|
return x.Floors
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *Quotation) GetLines() []*QuotationLine {
|
||
|
|
if x != nil {
|
||
|
|
return x.Lines
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *Quotation) GetFees() []*QuotationFee {
|
||
|
|
if x != nil {
|
||
|
|
return x.Fees
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *Quotation) GetDiscountRate() int32 {
|
||
|
|
if x != nil {
|
||
|
|
return x.DiscountRate
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *Quotation) GetDiscountAmount() int64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.DiscountAmount
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *Quotation) GetOriginalTotalAmount() int64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.OriginalTotalAmount
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *Quotation) GetTotalAmount() int64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.TotalAmount
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *Quotation) GetDiscountedAmount() int64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.DiscountedAmount
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *Quotation) GetTotalFeeAmount() int64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.TotalFeeAmount
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *Quotation) GetFinalAmount() int64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.FinalAmount
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *Quotation) GetActualAmount() int64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.ActualAmount
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *Quotation) GetHasPriceAdjustment() bool {
|
||
|
|
if x != nil {
|
||
|
|
return x.HasPriceAdjustment
|
||
|
|
}
|
||
|
|
return false
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *Quotation) GetTotalCost() int64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.TotalCost
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *Quotation) GetProductProfit() int64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.ProductProfit
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *Quotation) GetTotalProfit() int64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.TotalProfit
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *Quotation) GetProductProfitRate() float64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.ProductProfitRate
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *Quotation) GetTotalProfitRate() float64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.TotalProfitRate
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *Quotation) GetRemark() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.Remark
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
type QuotationListRequest struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
ProjectId uint64 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
|
||
|
|
Keyword string `protobuf:"bytes,2,opt,name=keyword,proto3" json:"keyword,omitempty"`
|
||
|
|
Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
|
||
|
|
Page int32 `protobuf:"varint,4,opt,name=page,proto3" json:"page,omitempty"`
|
||
|
|
PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationListRequest) Reset() {
|
||
|
|
*x = QuotationListRequest{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[26]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationListRequest) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*QuotationListRequest) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *QuotationListRequest) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[26]
|
||
|
|
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 QuotationListRequest.ProtoReflect.Descriptor instead.
|
||
|
|
func (*QuotationListRequest) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{26}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationListRequest) GetProjectId() uint64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.ProjectId
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationListRequest) GetKeyword() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.Keyword
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationListRequest) GetStatus() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.Status
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationListRequest) GetPage() int32 {
|
||
|
|
if x != nil {
|
||
|
|
return x.Page
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationListRequest) GetPageSize() int32 {
|
||
|
|
if x != nil {
|
||
|
|
return x.PageSize
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
type QuotationListResponse struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
Header *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
|
||
|
|
Quotations []*QuotationSummary `protobuf:"bytes,2,rep,name=quotations,proto3" json:"quotations,omitempty"`
|
||
|
|
Page *PageInfo `protobuf:"bytes,3,opt,name=page,proto3" json:"page,omitempty"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationListResponse) Reset() {
|
||
|
|
*x = QuotationListResponse{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[27]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationListResponse) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*QuotationListResponse) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *QuotationListResponse) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[27]
|
||
|
|
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 QuotationListResponse.ProtoReflect.Descriptor instead.
|
||
|
|
func (*QuotationListResponse) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{27}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationListResponse) GetHeader() *ResponseHeader {
|
||
|
|
if x != nil {
|
||
|
|
return x.Header
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationListResponse) GetQuotations() []*QuotationSummary {
|
||
|
|
if x != nil {
|
||
|
|
return x.Quotations
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationListResponse) GetPage() *PageInfo {
|
||
|
|
if x != nil {
|
||
|
|
return x.Page
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
type QuotationGetRequest struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
QuotationId uint64 `protobuf:"varint,1,opt,name=quotation_id,json=quotationId,proto3" json:"quotation_id,omitempty"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationGetRequest) Reset() {
|
||
|
|
*x = QuotationGetRequest{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[28]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationGetRequest) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*QuotationGetRequest) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *QuotationGetRequest) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[28]
|
||
|
|
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 QuotationGetRequest.ProtoReflect.Descriptor instead.
|
||
|
|
func (*QuotationGetRequest) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{28}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationGetRequest) GetQuotationId() uint64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.QuotationId
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
type QuotationResponse struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
Header *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
|
||
|
|
Quotation *Quotation `protobuf:"bytes,2,opt,name=quotation,proto3" json:"quotation,omitempty"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationResponse) Reset() {
|
||
|
|
*x = QuotationResponse{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[29]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationResponse) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*QuotationResponse) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *QuotationResponse) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[29]
|
||
|
|
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 QuotationResponse.ProtoReflect.Descriptor instead.
|
||
|
|
func (*QuotationResponse) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{29}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationResponse) GetHeader() *ResponseHeader {
|
||
|
|
if x != nil {
|
||
|
|
return x.Header
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationResponse) GetQuotation() *Quotation {
|
||
|
|
if x != nil {
|
||
|
|
return x.Quotation
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
type QuotationCreateRequest struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
Command *CommandHeader `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"`
|
||
|
|
ProjectId uint64 `protobuf:"varint,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
|
||
|
|
Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationCreateRequest) Reset() {
|
||
|
|
*x = QuotationCreateRequest{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[30]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationCreateRequest) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*QuotationCreateRequest) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *QuotationCreateRequest) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[30]
|
||
|
|
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 QuotationCreateRequest.ProtoReflect.Descriptor instead.
|
||
|
|
func (*QuotationCreateRequest) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{30}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationCreateRequest) GetCommand() *CommandHeader {
|
||
|
|
if x != nil {
|
||
|
|
return x.Command
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationCreateRequest) GetProjectId() uint64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.ProjectId
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationCreateRequest) GetTitle() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.Title
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
type QuotationCopyRequest struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
Command *CommandHeader `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"`
|
||
|
|
QuotationId uint64 `protobuf:"varint,2,opt,name=quotation_id,json=quotationId,proto3" json:"quotation_id,omitempty"`
|
||
|
|
Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationCopyRequest) Reset() {
|
||
|
|
*x = QuotationCopyRequest{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[31]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationCopyRequest) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*QuotationCopyRequest) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *QuotationCopyRequest) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[31]
|
||
|
|
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 QuotationCopyRequest.ProtoReflect.Descriptor instead.
|
||
|
|
func (*QuotationCopyRequest) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{31}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationCopyRequest) GetCommand() *CommandHeader {
|
||
|
|
if x != nil {
|
||
|
|
return x.Command
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationCopyRequest) GetQuotationId() uint64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.QuotationId
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationCopyRequest) GetTitle() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.Title
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
type QuotationTitleRequest struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
Command *CommandHeader `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"`
|
||
|
|
QuotationId uint64 `protobuf:"varint,2,opt,name=quotation_id,json=quotationId,proto3" json:"quotation_id,omitempty"`
|
||
|
|
Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationTitleRequest) Reset() {
|
||
|
|
*x = QuotationTitleRequest{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[32]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationTitleRequest) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*QuotationTitleRequest) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *QuotationTitleRequest) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[32]
|
||
|
|
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 QuotationTitleRequest.ProtoReflect.Descriptor instead.
|
||
|
|
func (*QuotationTitleRequest) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{32}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationTitleRequest) GetCommand() *CommandHeader {
|
||
|
|
if x != nil {
|
||
|
|
return x.Command
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationTitleRequest) GetQuotationId() uint64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.QuotationId
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationTitleRequest) GetTitle() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.Title
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
type QuotationStatusRequest struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
Command *CommandHeader `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"`
|
||
|
|
QuotationId uint64 `protobuf:"varint,2,opt,name=quotation_id,json=quotationId,proto3" json:"quotation_id,omitempty"`
|
||
|
|
Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationStatusRequest) Reset() {
|
||
|
|
*x = QuotationStatusRequest{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[33]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationStatusRequest) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*QuotationStatusRequest) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *QuotationStatusRequest) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[33]
|
||
|
|
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 QuotationStatusRequest.ProtoReflect.Descriptor instead.
|
||
|
|
func (*QuotationStatusRequest) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{33}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationStatusRequest) GetCommand() *CommandHeader {
|
||
|
|
if x != nil {
|
||
|
|
return x.Command
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationStatusRequest) GetQuotationId() uint64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.QuotationId
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationStatusRequest) GetStatus() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.Status
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
type QuotationLockRequest struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
Command *CommandHeader `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"`
|
||
|
|
QuotationId uint64 `protobuf:"varint,2,opt,name=quotation_id,json=quotationId,proto3" json:"quotation_id,omitempty"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationLockRequest) Reset() {
|
||
|
|
*x = QuotationLockRequest{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[34]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationLockRequest) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*QuotationLockRequest) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *QuotationLockRequest) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[34]
|
||
|
|
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 QuotationLockRequest.ProtoReflect.Descriptor instead.
|
||
|
|
func (*QuotationLockRequest) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{34}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationLockRequest) GetCommand() *CommandHeader {
|
||
|
|
if x != nil {
|
||
|
|
return x.Command
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationLockRequest) GetQuotationId() uint64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.QuotationId
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
type QuotationDeletePreviewRequest struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
QuotationId uint64 `protobuf:"varint,1,opt,name=quotation_id,json=quotationId,proto3" json:"quotation_id,omitempty"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationDeletePreviewRequest) Reset() {
|
||
|
|
*x = QuotationDeletePreviewRequest{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[35]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationDeletePreviewRequest) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*QuotationDeletePreviewRequest) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *QuotationDeletePreviewRequest) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[35]
|
||
|
|
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 QuotationDeletePreviewRequest.ProtoReflect.Descriptor instead.
|
||
|
|
func (*QuotationDeletePreviewRequest) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{35}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationDeletePreviewRequest) GetQuotationId() uint64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.QuotationId
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
type QuotationDeleteRequest struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
Command *CommandHeader `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"`
|
||
|
|
QuotationId uint64 `protobuf:"varint,2,opt,name=quotation_id,json=quotationId,proto3" json:"quotation_id,omitempty"`
|
||
|
|
Revision int32 `protobuf:"varint,3,opt,name=revision,proto3" json:"revision,omitempty"`
|
||
|
|
ChangeSetId string `protobuf:"bytes,4,opt,name=change_set_id,json=changeSetId,proto3" json:"change_set_id,omitempty"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationDeleteRequest) Reset() {
|
||
|
|
*x = QuotationDeleteRequest{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[36]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationDeleteRequest) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*QuotationDeleteRequest) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *QuotationDeleteRequest) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[36]
|
||
|
|
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 QuotationDeleteRequest.ProtoReflect.Descriptor instead.
|
||
|
|
func (*QuotationDeleteRequest) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{36}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationDeleteRequest) GetCommand() *CommandHeader {
|
||
|
|
if x != nil {
|
||
|
|
return x.Command
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationDeleteRequest) GetQuotationId() uint64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.QuotationId
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationDeleteRequest) GetRevision() int32 {
|
||
|
|
if x != nil {
|
||
|
|
return x.Revision
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationDeleteRequest) GetChangeSetId() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.ChangeSetId
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
type CatalogSku struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
||
|
|
ProductId uint64 `protobuf:"varint,2,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"`
|
||
|
|
SkuCode string `protobuf:"bytes,3,opt,name=sku_code,json=skuCode,proto3" json:"sku_code,omitempty"`
|
||
|
|
SkuName string `protobuf:"bytes,4,opt,name=sku_name,json=skuName,proto3" json:"sku_name,omitempty"`
|
||
|
|
ProductName string `protobuf:"bytes,5,opt,name=product_name,json=productName,proto3" json:"product_name,omitempty"`
|
||
|
|
QuotationName string `protobuf:"bytes,6,opt,name=quotation_name,json=quotationName,proto3" json:"quotation_name,omitempty"`
|
||
|
|
CategoryName string `protobuf:"bytes,7,opt,name=category_name,json=categoryName,proto3" json:"category_name,omitempty"`
|
||
|
|
SpecCombination string `protobuf:"bytes,8,opt,name=spec_combination,json=specCombination,proto3" json:"spec_combination,omitempty"`
|
||
|
|
PriceCents int64 `protobuf:"varint,9,opt,name=price_cents,json=priceCents,proto3" json:"price_cents,omitempty"`
|
||
|
|
CostPriceCents int64 `protobuf:"varint,10,opt,name=cost_price_cents,json=costPriceCents,proto3" json:"cost_price_cents,omitempty"`
|
||
|
|
ImageId uint64 `protobuf:"varint,11,opt,name=image_id,json=imageId,proto3" json:"image_id,omitempty"`
|
||
|
|
ImageUrl string `protobuf:"bytes,12,opt,name=image_url,json=imageUrl,proto3" json:"image_url,omitempty"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *CatalogSku) Reset() {
|
||
|
|
*x = CatalogSku{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[37]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *CatalogSku) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*CatalogSku) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *CatalogSku) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[37]
|
||
|
|
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 CatalogSku.ProtoReflect.Descriptor instead.
|
||
|
|
func (*CatalogSku) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{37}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *CatalogSku) GetId() uint64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.Id
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *CatalogSku) GetProductId() uint64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.ProductId
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *CatalogSku) GetSkuCode() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.SkuCode
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *CatalogSku) GetSkuName() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.SkuName
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *CatalogSku) GetProductName() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.ProductName
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *CatalogSku) GetQuotationName() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.QuotationName
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *CatalogSku) GetCategoryName() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.CategoryName
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *CatalogSku) GetSpecCombination() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.SpecCombination
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *CatalogSku) GetPriceCents() int64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.PriceCents
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *CatalogSku) GetCostPriceCents() int64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.CostPriceCents
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *CatalogSku) GetImageId() uint64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.ImageId
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *CatalogSku) GetImageUrl() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.ImageUrl
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
type CatalogProduct struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
||
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
||
|
|
QuotationName string `protobuf:"bytes,3,opt,name=quotation_name,json=quotationName,proto3" json:"quotation_name,omitempty"`
|
||
|
|
CategoryName string `protobuf:"bytes,4,opt,name=category_name,json=categoryName,proto3" json:"category_name,omitempty"`
|
||
|
|
RootCategoryId uint64 `protobuf:"varint,5,opt,name=root_category_id,json=rootCategoryId,proto3" json:"root_category_id,omitempty"`
|
||
|
|
RootCategoryName string `protobuf:"bytes,6,opt,name=root_category_name,json=rootCategoryName,proto3" json:"root_category_name,omitempty"`
|
||
|
|
Skus []*CatalogSku `protobuf:"bytes,7,rep,name=skus,proto3" json:"skus,omitempty"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *CatalogProduct) Reset() {
|
||
|
|
*x = CatalogProduct{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[38]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *CatalogProduct) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*CatalogProduct) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *CatalogProduct) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[38]
|
||
|
|
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 CatalogProduct.ProtoReflect.Descriptor instead.
|
||
|
|
func (*CatalogProduct) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{38}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *CatalogProduct) GetId() uint64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.Id
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *CatalogProduct) GetName() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.Name
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *CatalogProduct) GetQuotationName() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.QuotationName
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *CatalogProduct) GetCategoryName() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.CategoryName
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *CatalogProduct) GetRootCategoryId() uint64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.RootCategoryId
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *CatalogProduct) GetRootCategoryName() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.RootCategoryName
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *CatalogProduct) GetSkus() []*CatalogSku {
|
||
|
|
if x != nil {
|
||
|
|
return x.Skus
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
type CatalogSearchRequest struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
Keyword string `protobuf:"bytes,1,opt,name=keyword,proto3" json:"keyword,omitempty"`
|
||
|
|
CategoryId uint64 `protobuf:"varint,2,opt,name=category_id,json=categoryId,proto3" json:"category_id,omitempty"`
|
||
|
|
RootCategoryId uint64 `protobuf:"varint,3,opt,name=root_category_id,json=rootCategoryId,proto3" json:"root_category_id,omitempty"`
|
||
|
|
BrandId uint64 `protobuf:"varint,4,opt,name=brand_id,json=brandId,proto3" json:"brand_id,omitempty"`
|
||
|
|
Page int32 `protobuf:"varint,5,opt,name=page,proto3" json:"page,omitempty"`
|
||
|
|
PageSize int32 `protobuf:"varint,6,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *CatalogSearchRequest) Reset() {
|
||
|
|
*x = CatalogSearchRequest{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[39]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *CatalogSearchRequest) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*CatalogSearchRequest) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *CatalogSearchRequest) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[39]
|
||
|
|
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 CatalogSearchRequest.ProtoReflect.Descriptor instead.
|
||
|
|
func (*CatalogSearchRequest) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{39}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *CatalogSearchRequest) GetKeyword() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.Keyword
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *CatalogSearchRequest) GetCategoryId() uint64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.CategoryId
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *CatalogSearchRequest) GetRootCategoryId() uint64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.RootCategoryId
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *CatalogSearchRequest) GetBrandId() uint64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.BrandId
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *CatalogSearchRequest) GetPage() int32 {
|
||
|
|
if x != nil {
|
||
|
|
return x.Page
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *CatalogSearchRequest) GetPageSize() int32 {
|
||
|
|
if x != nil {
|
||
|
|
return x.PageSize
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
type CatalogSearchResponse struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
Header *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
|
||
|
|
Products []*CatalogProduct `protobuf:"bytes,2,rep,name=products,proto3" json:"products,omitempty"`
|
||
|
|
Page *PageInfo `protobuf:"bytes,3,opt,name=page,proto3" json:"page,omitempty"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *CatalogSearchResponse) Reset() {
|
||
|
|
*x = CatalogSearchResponse{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[40]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *CatalogSearchResponse) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*CatalogSearchResponse) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *CatalogSearchResponse) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[40]
|
||
|
|
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 CatalogSearchResponse.ProtoReflect.Descriptor instead.
|
||
|
|
func (*CatalogSearchResponse) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{40}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *CatalogSearchResponse) GetHeader() *ResponseHeader {
|
||
|
|
if x != nil {
|
||
|
|
return x.Header
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *CatalogSearchResponse) GetProducts() []*CatalogProduct {
|
||
|
|
if x != nil {
|
||
|
|
return x.Products
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *CatalogSearchResponse) GetPage() *PageInfo {
|
||
|
|
if x != nil {
|
||
|
|
return x.Page
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
type EditSession struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
|
||
|
|
QuotationId uint64 `protobuf:"varint,2,opt,name=quotation_id,json=quotationId,proto3" json:"quotation_id,omitempty"`
|
||
|
|
ArtifactId uint64 `protobuf:"varint,3,opt,name=artifact_id,json=artifactId,proto3" json:"artifact_id,omitempty"`
|
||
|
|
BaseRevision int32 `protobuf:"varint,4,opt,name=base_revision,json=baseRevision,proto3" json:"base_revision,omitempty"`
|
||
|
|
ExpiresAt int64 `protobuf:"varint,5,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
|
||
|
|
Quotation *Quotation `protobuf:"bytes,6,opt,name=quotation,proto3" json:"quotation,omitempty"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *EditSession) Reset() {
|
||
|
|
*x = EditSession{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[41]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *EditSession) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*EditSession) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *EditSession) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[41]
|
||
|
|
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 EditSession.ProtoReflect.Descriptor instead.
|
||
|
|
func (*EditSession) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{41}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *EditSession) GetSessionId() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.SessionId
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *EditSession) GetQuotationId() uint64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.QuotationId
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *EditSession) GetArtifactId() uint64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.ArtifactId
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *EditSession) GetBaseRevision() int32 {
|
||
|
|
if x != nil {
|
||
|
|
return x.BaseRevision
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *EditSession) GetExpiresAt() int64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.ExpiresAt
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *EditSession) GetQuotation() *Quotation {
|
||
|
|
if x != nil {
|
||
|
|
return x.Quotation
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
type QuotationEditBeginRequest struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
Command *CommandHeader `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"`
|
||
|
|
QuotationId uint64 `protobuf:"varint,2,opt,name=quotation_id,json=quotationId,proto3" json:"quotation_id,omitempty"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationEditBeginRequest) Reset() {
|
||
|
|
*x = QuotationEditBeginRequest{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[42]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationEditBeginRequest) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*QuotationEditBeginRequest) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *QuotationEditBeginRequest) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[42]
|
||
|
|
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 QuotationEditBeginRequest.ProtoReflect.Descriptor instead.
|
||
|
|
func (*QuotationEditBeginRequest) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{42}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationEditBeginRequest) GetCommand() *CommandHeader {
|
||
|
|
if x != nil {
|
||
|
|
return x.Command
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationEditBeginRequest) GetQuotationId() uint64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.QuotationId
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
type EditSessionResponse struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
Header *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
|
||
|
|
Session *EditSession `protobuf:"bytes,2,opt,name=session,proto3" json:"session,omitempty"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *EditSessionResponse) Reset() {
|
||
|
|
*x = EditSessionResponse{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[43]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *EditSessionResponse) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*EditSessionResponse) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *EditSessionResponse) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[43]
|
||
|
|
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 EditSessionResponse.ProtoReflect.Descriptor instead.
|
||
|
|
func (*EditSessionResponse) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{43}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *EditSessionResponse) GetHeader() *ResponseHeader {
|
||
|
|
if x != nil {
|
||
|
|
return x.Header
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *EditSessionResponse) GetSession() *EditSession {
|
||
|
|
if x != nil {
|
||
|
|
return x.Session
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
type AddFloor struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
||
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
||
|
|
Index int32 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *AddFloor) Reset() {
|
||
|
|
*x = AddFloor{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[44]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *AddFloor) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*AddFloor) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *AddFloor) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[44]
|
||
|
|
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 AddFloor.ProtoReflect.Descriptor instead.
|
||
|
|
func (*AddFloor) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{44}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *AddFloor) GetId() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.Id
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *AddFloor) GetName() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.Name
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *AddFloor) GetIndex() int32 {
|
||
|
|
if x != nil {
|
||
|
|
return x.Index
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
type RenameFloor struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
FloorId string `protobuf:"bytes,1,opt,name=floor_id,json=floorId,proto3" json:"floor_id,omitempty"`
|
||
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *RenameFloor) Reset() {
|
||
|
|
*x = RenameFloor{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[45]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *RenameFloor) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*RenameFloor) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *RenameFloor) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[45]
|
||
|
|
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 RenameFloor.ProtoReflect.Descriptor instead.
|
||
|
|
func (*RenameFloor) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{45}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *RenameFloor) GetFloorId() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.FloorId
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *RenameFloor) GetName() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.Name
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
type ReorderFloor struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
FloorId string `protobuf:"bytes,1,opt,name=floor_id,json=floorId,proto3" json:"floor_id,omitempty"`
|
||
|
|
Index int32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ReorderFloor) Reset() {
|
||
|
|
*x = ReorderFloor{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[46]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ReorderFloor) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*ReorderFloor) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *ReorderFloor) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[46]
|
||
|
|
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 ReorderFloor.ProtoReflect.Descriptor instead.
|
||
|
|
func (*ReorderFloor) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{46}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ReorderFloor) GetFloorId() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.FloorId
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ReorderFloor) GetIndex() int32 {
|
||
|
|
if x != nil {
|
||
|
|
return x.Index
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
type RemoveFloor struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
FloorId string `protobuf:"bytes,1,opt,name=floor_id,json=floorId,proto3" json:"floor_id,omitempty"`
|
||
|
|
Cascade bool `protobuf:"varint,2,opt,name=cascade,proto3" json:"cascade,omitempty"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *RemoveFloor) Reset() {
|
||
|
|
*x = RemoveFloor{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[47]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *RemoveFloor) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*RemoveFloor) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *RemoveFloor) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[47]
|
||
|
|
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 RemoveFloor.ProtoReflect.Descriptor instead.
|
||
|
|
func (*RemoveFloor) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{47}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *RemoveFloor) GetFloorId() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.FloorId
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *RemoveFloor) GetCascade() bool {
|
||
|
|
if x != nil {
|
||
|
|
return x.Cascade
|
||
|
|
}
|
||
|
|
return false
|
||
|
|
}
|
||
|
|
|
||
|
|
type AddSpace struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
||
|
|
FloorId string `protobuf:"bytes,2,opt,name=floor_id,json=floorId,proto3" json:"floor_id,omitempty"`
|
||
|
|
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
|
||
|
|
Index int32 `protobuf:"varint,4,opt,name=index,proto3" json:"index,omitempty"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *AddSpace) Reset() {
|
||
|
|
*x = AddSpace{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[48]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *AddSpace) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*AddSpace) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *AddSpace) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[48]
|
||
|
|
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 AddSpace.ProtoReflect.Descriptor instead.
|
||
|
|
func (*AddSpace) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{48}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *AddSpace) GetId() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.Id
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *AddSpace) GetFloorId() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.FloorId
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *AddSpace) GetName() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.Name
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *AddSpace) GetIndex() int32 {
|
||
|
|
if x != nil {
|
||
|
|
return x.Index
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
type RenameSpace struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
SpaceId string `protobuf:"bytes,1,opt,name=space_id,json=spaceId,proto3" json:"space_id,omitempty"`
|
||
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *RenameSpace) Reset() {
|
||
|
|
*x = RenameSpace{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[49]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *RenameSpace) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*RenameSpace) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *RenameSpace) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[49]
|
||
|
|
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 RenameSpace.ProtoReflect.Descriptor instead.
|
||
|
|
func (*RenameSpace) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{49}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *RenameSpace) GetSpaceId() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.SpaceId
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *RenameSpace) GetName() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.Name
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
type MoveSpace struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
SpaceId string `protobuf:"bytes,1,opt,name=space_id,json=spaceId,proto3" json:"space_id,omitempty"`
|
||
|
|
TargetFloorId string `protobuf:"bytes,2,opt,name=target_floor_id,json=targetFloorId,proto3" json:"target_floor_id,omitempty"`
|
||
|
|
Index int32 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *MoveSpace) Reset() {
|
||
|
|
*x = MoveSpace{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[50]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *MoveSpace) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*MoveSpace) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *MoveSpace) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[50]
|
||
|
|
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 MoveSpace.ProtoReflect.Descriptor instead.
|
||
|
|
func (*MoveSpace) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{50}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *MoveSpace) GetSpaceId() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.SpaceId
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *MoveSpace) GetTargetFloorId() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.TargetFloorId
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *MoveSpace) GetIndex() int32 {
|
||
|
|
if x != nil {
|
||
|
|
return x.Index
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
type ReorderSpace struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
SpaceId string `protobuf:"bytes,1,opt,name=space_id,json=spaceId,proto3" json:"space_id,omitempty"`
|
||
|
|
Index int32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ReorderSpace) Reset() {
|
||
|
|
*x = ReorderSpace{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[51]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ReorderSpace) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*ReorderSpace) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *ReorderSpace) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[51]
|
||
|
|
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 ReorderSpace.ProtoReflect.Descriptor instead.
|
||
|
|
func (*ReorderSpace) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{51}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ReorderSpace) GetSpaceId() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.SpaceId
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ReorderSpace) GetIndex() int32 {
|
||
|
|
if x != nil {
|
||
|
|
return x.Index
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
type RemoveSpace struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
SpaceId string `protobuf:"bytes,1,opt,name=space_id,json=spaceId,proto3" json:"space_id,omitempty"`
|
||
|
|
Cascade bool `protobuf:"varint,2,opt,name=cascade,proto3" json:"cascade,omitempty"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *RemoveSpace) Reset() {
|
||
|
|
*x = RemoveSpace{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[52]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *RemoveSpace) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*RemoveSpace) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *RemoveSpace) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[52]
|
||
|
|
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 RemoveSpace.ProtoReflect.Descriptor instead.
|
||
|
|
func (*RemoveSpace) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{52}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *RemoveSpace) GetSpaceId() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.SpaceId
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *RemoveSpace) GetCascade() bool {
|
||
|
|
if x != nil {
|
||
|
|
return x.Cascade
|
||
|
|
}
|
||
|
|
return false
|
||
|
|
}
|
||
|
|
|
||
|
|
type AddCategory struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
||
|
|
FloorId string `protobuf:"bytes,2,opt,name=floor_id,json=floorId,proto3" json:"floor_id,omitempty"`
|
||
|
|
SpaceId string `protobuf:"bytes,3,opt,name=space_id,json=spaceId,proto3" json:"space_id,omitempty"`
|
||
|
|
Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
|
||
|
|
Source string `protobuf:"bytes,5,opt,name=source,proto3" json:"source,omitempty"`
|
||
|
|
SourceKey string `protobuf:"bytes,6,opt,name=source_key,json=sourceKey,proto3" json:"source_key,omitempty"`
|
||
|
|
Index int32 `protobuf:"varint,7,opt,name=index,proto3" json:"index,omitempty"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *AddCategory) Reset() {
|
||
|
|
*x = AddCategory{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[53]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *AddCategory) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*AddCategory) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *AddCategory) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[53]
|
||
|
|
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 AddCategory.ProtoReflect.Descriptor instead.
|
||
|
|
func (*AddCategory) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{53}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *AddCategory) GetId() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.Id
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *AddCategory) GetFloorId() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.FloorId
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *AddCategory) GetSpaceId() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.SpaceId
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *AddCategory) GetName() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.Name
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *AddCategory) GetSource() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.Source
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *AddCategory) GetSourceKey() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.SourceKey
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *AddCategory) GetIndex() int32 {
|
||
|
|
if x != nil {
|
||
|
|
return x.Index
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
type RenameCategory struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
CategoryId string `protobuf:"bytes,1,opt,name=category_id,json=categoryId,proto3" json:"category_id,omitempty"`
|
||
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *RenameCategory) Reset() {
|
||
|
|
*x = RenameCategory{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[54]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *RenameCategory) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*RenameCategory) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *RenameCategory) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[54]
|
||
|
|
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 RenameCategory.ProtoReflect.Descriptor instead.
|
||
|
|
func (*RenameCategory) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{54}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *RenameCategory) GetCategoryId() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.CategoryId
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *RenameCategory) GetName() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.Name
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
type ReorderCategory struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
CategoryId string `protobuf:"bytes,1,opt,name=category_id,json=categoryId,proto3" json:"category_id,omitempty"`
|
||
|
|
Index int32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ReorderCategory) Reset() {
|
||
|
|
*x = ReorderCategory{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[55]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ReorderCategory) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*ReorderCategory) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *ReorderCategory) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[55]
|
||
|
|
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 ReorderCategory.ProtoReflect.Descriptor instead.
|
||
|
|
func (*ReorderCategory) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{55}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ReorderCategory) GetCategoryId() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.CategoryId
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ReorderCategory) GetIndex() int32 {
|
||
|
|
if x != nil {
|
||
|
|
return x.Index
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
type RemoveCategory struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
CategoryId string `protobuf:"bytes,1,opt,name=category_id,json=categoryId,proto3" json:"category_id,omitempty"`
|
||
|
|
Cascade bool `protobuf:"varint,2,opt,name=cascade,proto3" json:"cascade,omitempty"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *RemoveCategory) Reset() {
|
||
|
|
*x = RemoveCategory{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[56]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *RemoveCategory) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*RemoveCategory) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *RemoveCategory) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[56]
|
||
|
|
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 RemoveCategory.ProtoReflect.Descriptor instead.
|
||
|
|
func (*RemoveCategory) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{56}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *RemoveCategory) GetCategoryId() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.CategoryId
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *RemoveCategory) GetCascade() bool {
|
||
|
|
if x != nil {
|
||
|
|
return x.Cascade
|
||
|
|
}
|
||
|
|
return false
|
||
|
|
}
|
||
|
|
|
||
|
|
type AddCatalogLine struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
FloorId string `protobuf:"bytes,1,opt,name=floor_id,json=floorId,proto3" json:"floor_id,omitempty"`
|
||
|
|
SpaceId string `protobuf:"bytes,2,opt,name=space_id,json=spaceId,proto3" json:"space_id,omitempty"`
|
||
|
|
CategoryId string `protobuf:"bytes,3,opt,name=category_id,json=categoryId,proto3" json:"category_id,omitempty"`
|
||
|
|
SkuId uint64 `protobuf:"varint,4,opt,name=sku_id,json=skuId,proto3" json:"sku_id,omitempty"`
|
||
|
|
Quantity float64 `protobuf:"fixed64,5,opt,name=quantity,proto3" json:"quantity,omitempty"`
|
||
|
|
DiscountRate int32 `protobuf:"varint,6,opt,name=discount_rate,json=discountRate,proto3" json:"discount_rate,omitempty"`
|
||
|
|
DiscountAmount int64 `protobuf:"varint,7,opt,name=discount_amount,json=discountAmount,proto3" json:"discount_amount,omitempty"`
|
||
|
|
Remark string `protobuf:"bytes,8,opt,name=remark,proto3" json:"remark,omitempty"`
|
||
|
|
Index int32 `protobuf:"varint,9,opt,name=index,proto3" json:"index,omitempty"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *AddCatalogLine) Reset() {
|
||
|
|
*x = AddCatalogLine{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[57]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *AddCatalogLine) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*AddCatalogLine) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *AddCatalogLine) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[57]
|
||
|
|
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 AddCatalogLine.ProtoReflect.Descriptor instead.
|
||
|
|
func (*AddCatalogLine) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{57}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *AddCatalogLine) GetFloorId() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.FloorId
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *AddCatalogLine) GetSpaceId() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.SpaceId
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *AddCatalogLine) GetCategoryId() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.CategoryId
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *AddCatalogLine) GetSkuId() uint64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.SkuId
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *AddCatalogLine) GetQuantity() float64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.Quantity
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *AddCatalogLine) GetDiscountRate() int32 {
|
||
|
|
if x != nil {
|
||
|
|
return x.DiscountRate
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *AddCatalogLine) GetDiscountAmount() int64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.DiscountAmount
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *AddCatalogLine) GetRemark() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.Remark
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *AddCatalogLine) GetIndex() int32 {
|
||
|
|
if x != nil {
|
||
|
|
return x.Index
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
type AddCustomLine struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
FloorId string `protobuf:"bytes,1,opt,name=floor_id,json=floorId,proto3" json:"floor_id,omitempty"`
|
||
|
|
SpaceId string `protobuf:"bytes,2,opt,name=space_id,json=spaceId,proto3" json:"space_id,omitempty"`
|
||
|
|
CategoryId string `protobuf:"bytes,3,opt,name=category_id,json=categoryId,proto3" json:"category_id,omitempty"`
|
||
|
|
GoodsName string `protobuf:"bytes,4,opt,name=goods_name,json=goodsName,proto3" json:"goods_name,omitempty"`
|
||
|
|
SpecCombination string `protobuf:"bytes,5,opt,name=spec_combination,json=specCombination,proto3" json:"spec_combination,omitempty"`
|
||
|
|
Quantity float64 `protobuf:"fixed64,6,opt,name=quantity,proto3" json:"quantity,omitempty"`
|
||
|
|
UnitPrice int64 `protobuf:"varint,7,opt,name=unit_price,json=unitPrice,proto3" json:"unit_price,omitempty"`
|
||
|
|
CostPrice int64 `protobuf:"varint,8,opt,name=cost_price,json=costPrice,proto3" json:"cost_price,omitempty"`
|
||
|
|
DiscountRate int32 `protobuf:"varint,9,opt,name=discount_rate,json=discountRate,proto3" json:"discount_rate,omitempty"`
|
||
|
|
DiscountAmount int64 `protobuf:"varint,10,opt,name=discount_amount,json=discountAmount,proto3" json:"discount_amount,omitempty"`
|
||
|
|
Remark string `protobuf:"bytes,11,opt,name=remark,proto3" json:"remark,omitempty"`
|
||
|
|
Index int32 `protobuf:"varint,12,opt,name=index,proto3" json:"index,omitempty"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *AddCustomLine) Reset() {
|
||
|
|
*x = AddCustomLine{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[58]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *AddCustomLine) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*AddCustomLine) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *AddCustomLine) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[58]
|
||
|
|
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 AddCustomLine.ProtoReflect.Descriptor instead.
|
||
|
|
func (*AddCustomLine) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{58}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *AddCustomLine) GetFloorId() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.FloorId
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *AddCustomLine) GetSpaceId() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.SpaceId
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *AddCustomLine) GetCategoryId() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.CategoryId
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *AddCustomLine) GetGoodsName() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.GoodsName
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *AddCustomLine) GetSpecCombination() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.SpecCombination
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *AddCustomLine) GetQuantity() float64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.Quantity
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *AddCustomLine) GetUnitPrice() int64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.UnitPrice
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *AddCustomLine) GetCostPrice() int64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.CostPrice
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *AddCustomLine) GetDiscountRate() int32 {
|
||
|
|
if x != nil {
|
||
|
|
return x.DiscountRate
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *AddCustomLine) GetDiscountAmount() int64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.DiscountAmount
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *AddCustomLine) GetRemark() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.Remark
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *AddCustomLine) GetIndex() int32 {
|
||
|
|
if x != nil {
|
||
|
|
return x.Index
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
type UpdateLine struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
LineId string `protobuf:"bytes,1,opt,name=line_id,json=lineId,proto3" json:"line_id,omitempty"`
|
||
|
|
GoodsName *string `protobuf:"bytes,2,opt,name=goods_name,json=goodsName,proto3,oneof" json:"goods_name,omitempty"`
|
||
|
|
SpecCombination *string `protobuf:"bytes,3,opt,name=spec_combination,json=specCombination,proto3,oneof" json:"spec_combination,omitempty"`
|
||
|
|
Quantity *float64 `protobuf:"fixed64,4,opt,name=quantity,proto3,oneof" json:"quantity,omitempty"`
|
||
|
|
UnitPrice *int64 `protobuf:"varint,5,opt,name=unit_price,json=unitPrice,proto3,oneof" json:"unit_price,omitempty"`
|
||
|
|
CostPrice *int64 `protobuf:"varint,6,opt,name=cost_price,json=costPrice,proto3,oneof" json:"cost_price,omitempty"`
|
||
|
|
DiscountRate *int32 `protobuf:"varint,7,opt,name=discount_rate,json=discountRate,proto3,oneof" json:"discount_rate,omitempty"`
|
||
|
|
DiscountAmount *int64 `protobuf:"varint,8,opt,name=discount_amount,json=discountAmount,proto3,oneof" json:"discount_amount,omitempty"`
|
||
|
|
Remark *string `protobuf:"bytes,9,opt,name=remark,proto3,oneof" json:"remark,omitempty"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *UpdateLine) Reset() {
|
||
|
|
*x = UpdateLine{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[59]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *UpdateLine) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*UpdateLine) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *UpdateLine) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[59]
|
||
|
|
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 UpdateLine.ProtoReflect.Descriptor instead.
|
||
|
|
func (*UpdateLine) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{59}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *UpdateLine) GetLineId() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.LineId
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *UpdateLine) GetGoodsName() string {
|
||
|
|
if x != nil && x.GoodsName != nil {
|
||
|
|
return *x.GoodsName
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *UpdateLine) GetSpecCombination() string {
|
||
|
|
if x != nil && x.SpecCombination != nil {
|
||
|
|
return *x.SpecCombination
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *UpdateLine) GetQuantity() float64 {
|
||
|
|
if x != nil && x.Quantity != nil {
|
||
|
|
return *x.Quantity
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *UpdateLine) GetUnitPrice() int64 {
|
||
|
|
if x != nil && x.UnitPrice != nil {
|
||
|
|
return *x.UnitPrice
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *UpdateLine) GetCostPrice() int64 {
|
||
|
|
if x != nil && x.CostPrice != nil {
|
||
|
|
return *x.CostPrice
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *UpdateLine) GetDiscountRate() int32 {
|
||
|
|
if x != nil && x.DiscountRate != nil {
|
||
|
|
return *x.DiscountRate
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *UpdateLine) GetDiscountAmount() int64 {
|
||
|
|
if x != nil && x.DiscountAmount != nil {
|
||
|
|
return *x.DiscountAmount
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *UpdateLine) GetRemark() string {
|
||
|
|
if x != nil && x.Remark != nil {
|
||
|
|
return *x.Remark
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
type MoveLine struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
LineId string `protobuf:"bytes,1,opt,name=line_id,json=lineId,proto3" json:"line_id,omitempty"`
|
||
|
|
FloorId string `protobuf:"bytes,2,opt,name=floor_id,json=floorId,proto3" json:"floor_id,omitempty"`
|
||
|
|
SpaceId string `protobuf:"bytes,3,opt,name=space_id,json=spaceId,proto3" json:"space_id,omitempty"`
|
||
|
|
CategoryId string `protobuf:"bytes,4,opt,name=category_id,json=categoryId,proto3" json:"category_id,omitempty"`
|
||
|
|
Index int32 `protobuf:"varint,5,opt,name=index,proto3" json:"index,omitempty"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *MoveLine) Reset() {
|
||
|
|
*x = MoveLine{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[60]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *MoveLine) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*MoveLine) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *MoveLine) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[60]
|
||
|
|
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 MoveLine.ProtoReflect.Descriptor instead.
|
||
|
|
func (*MoveLine) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{60}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *MoveLine) GetLineId() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.LineId
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *MoveLine) GetFloorId() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.FloorId
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *MoveLine) GetSpaceId() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.SpaceId
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *MoveLine) GetCategoryId() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.CategoryId
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *MoveLine) GetIndex() int32 {
|
||
|
|
if x != nil {
|
||
|
|
return x.Index
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
type ReorderLine struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
LineId string `protobuf:"bytes,1,opt,name=line_id,json=lineId,proto3" json:"line_id,omitempty"`
|
||
|
|
Index int32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ReorderLine) Reset() {
|
||
|
|
*x = ReorderLine{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[61]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ReorderLine) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*ReorderLine) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *ReorderLine) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[61]
|
||
|
|
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 ReorderLine.ProtoReflect.Descriptor instead.
|
||
|
|
func (*ReorderLine) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{61}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ReorderLine) GetLineId() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.LineId
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ReorderLine) GetIndex() int32 {
|
||
|
|
if x != nil {
|
||
|
|
return x.Index
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
type SetLineActive struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
LineId string `protobuf:"bytes,1,opt,name=line_id,json=lineId,proto3" json:"line_id,omitempty"`
|
||
|
|
Active bool `protobuf:"varint,2,opt,name=active,proto3" json:"active,omitempty"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *SetLineActive) Reset() {
|
||
|
|
*x = SetLineActive{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[62]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *SetLineActive) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*SetLineActive) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *SetLineActive) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[62]
|
||
|
|
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 SetLineActive.ProtoReflect.Descriptor instead.
|
||
|
|
func (*SetLineActive) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{62}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *SetLineActive) GetLineId() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.LineId
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *SetLineActive) GetActive() bool {
|
||
|
|
if x != nil {
|
||
|
|
return x.Active
|
||
|
|
}
|
||
|
|
return false
|
||
|
|
}
|
||
|
|
|
||
|
|
type RemoveLine struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
LineId string `protobuf:"bytes,1,opt,name=line_id,json=lineId,proto3" json:"line_id,omitempty"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *RemoveLine) Reset() {
|
||
|
|
*x = RemoveLine{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[63]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *RemoveLine) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*RemoveLine) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *RemoveLine) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[63]
|
||
|
|
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 RemoveLine.ProtoReflect.Descriptor instead.
|
||
|
|
func (*RemoveLine) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{63}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *RemoveLine) GetLineId() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.LineId
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
type AddFee struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
||
|
|
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
|
||
|
|
FixedAmount int64 `protobuf:"varint,3,opt,name=fixed_amount,json=fixedAmount,proto3" json:"fixed_amount,omitempty"`
|
||
|
|
Percentage int32 `protobuf:"varint,4,opt,name=percentage,proto3" json:"percentage,omitempty"`
|
||
|
|
Index int32 `protobuf:"varint,5,opt,name=index,proto3" json:"index,omitempty"`
|
||
|
|
Remark string `protobuf:"bytes,6,opt,name=remark,proto3" json:"remark,omitempty"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *AddFee) Reset() {
|
||
|
|
*x = AddFee{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[64]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *AddFee) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*AddFee) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *AddFee) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[64]
|
||
|
|
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 AddFee.ProtoReflect.Descriptor instead.
|
||
|
|
func (*AddFee) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{64}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *AddFee) GetName() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.Name
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *AddFee) GetType() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.Type
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *AddFee) GetFixedAmount() int64 {
|
||
|
|
if x != nil {
|
||
|
|
return x.FixedAmount
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *AddFee) GetPercentage() int32 {
|
||
|
|
if x != nil {
|
||
|
|
return x.Percentage
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *AddFee) GetIndex() int32 {
|
||
|
|
if x != nil {
|
||
|
|
return x.Index
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *AddFee) GetRemark() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.Remark
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
type UpdateFee struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
Index int32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
|
||
|
|
Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"`
|
||
|
|
Type *string `protobuf:"bytes,3,opt,name=type,proto3,oneof" json:"type,omitempty"`
|
||
|
|
FixedAmount *int64 `protobuf:"varint,4,opt,name=fixed_amount,json=fixedAmount,proto3,oneof" json:"fixed_amount,omitempty"`
|
||
|
|
Percentage *int32 `protobuf:"varint,5,opt,name=percentage,proto3,oneof" json:"percentage,omitempty"`
|
||
|
|
Remark *string `protobuf:"bytes,6,opt,name=remark,proto3,oneof" json:"remark,omitempty"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *UpdateFee) Reset() {
|
||
|
|
*x = UpdateFee{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[65]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *UpdateFee) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*UpdateFee) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *UpdateFee) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[65]
|
||
|
|
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 UpdateFee.ProtoReflect.Descriptor instead.
|
||
|
|
func (*UpdateFee) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{65}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *UpdateFee) GetIndex() int32 {
|
||
|
|
if x != nil {
|
||
|
|
return x.Index
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *UpdateFee) GetName() string {
|
||
|
|
if x != nil && x.Name != nil {
|
||
|
|
return *x.Name
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *UpdateFee) GetType() string {
|
||
|
|
if x != nil && x.Type != nil {
|
||
|
|
return *x.Type
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *UpdateFee) GetFixedAmount() int64 {
|
||
|
|
if x != nil && x.FixedAmount != nil {
|
||
|
|
return *x.FixedAmount
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *UpdateFee) GetPercentage() int32 {
|
||
|
|
if x != nil && x.Percentage != nil {
|
||
|
|
return *x.Percentage
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *UpdateFee) GetRemark() string {
|
||
|
|
if x != nil && x.Remark != nil {
|
||
|
|
return *x.Remark
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
type ReorderFee struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
Index int32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
|
||
|
|
TargetIndex int32 `protobuf:"varint,2,opt,name=target_index,json=targetIndex,proto3" json:"target_index,omitempty"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ReorderFee) Reset() {
|
||
|
|
*x = ReorderFee{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[66]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ReorderFee) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*ReorderFee) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *ReorderFee) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[66]
|
||
|
|
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 ReorderFee.ProtoReflect.Descriptor instead.
|
||
|
|
func (*ReorderFee) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{66}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ReorderFee) GetIndex() int32 {
|
||
|
|
if x != nil {
|
||
|
|
return x.Index
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *ReorderFee) GetTargetIndex() int32 {
|
||
|
|
if x != nil {
|
||
|
|
return x.TargetIndex
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
type RemoveFee struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
Index int32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *RemoveFee) Reset() {
|
||
|
|
*x = RemoveFee{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[67]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *RemoveFee) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*RemoveFee) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *RemoveFee) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[67]
|
||
|
|
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 RemoveFee.ProtoReflect.Descriptor instead.
|
||
|
|
func (*RemoveFee) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{67}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *RemoveFee) GetIndex() int32 {
|
||
|
|
if x != nil {
|
||
|
|
return x.Index
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
type SetPricing struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
DiscountRate *int32 `protobuf:"varint,1,opt,name=discount_rate,json=discountRate,proto3,oneof" json:"discount_rate,omitempty"`
|
||
|
|
DiscountAmount *int64 `protobuf:"varint,2,opt,name=discount_amount,json=discountAmount,proto3,oneof" json:"discount_amount,omitempty"`
|
||
|
|
ActualAmount *int64 `protobuf:"varint,3,opt,name=actual_amount,json=actualAmount,proto3,oneof" json:"actual_amount,omitempty"`
|
||
|
|
HasPriceAdjustment *bool `protobuf:"varint,4,opt,name=has_price_adjustment,json=hasPriceAdjustment,proto3,oneof" json:"has_price_adjustment,omitempty"`
|
||
|
|
Remark *string `protobuf:"bytes,5,opt,name=remark,proto3,oneof" json:"remark,omitempty"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *SetPricing) Reset() {
|
||
|
|
*x = SetPricing{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[68]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *SetPricing) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*SetPricing) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *SetPricing) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[68]
|
||
|
|
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 SetPricing.ProtoReflect.Descriptor instead.
|
||
|
|
func (*SetPricing) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{68}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *SetPricing) GetDiscountRate() int32 {
|
||
|
|
if x != nil && x.DiscountRate != nil {
|
||
|
|
return *x.DiscountRate
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *SetPricing) GetDiscountAmount() int64 {
|
||
|
|
if x != nil && x.DiscountAmount != nil {
|
||
|
|
return *x.DiscountAmount
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *SetPricing) GetActualAmount() int64 {
|
||
|
|
if x != nil && x.ActualAmount != nil {
|
||
|
|
return *x.ActualAmount
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *SetPricing) GetHasPriceAdjustment() bool {
|
||
|
|
if x != nil && x.HasPriceAdjustment != nil {
|
||
|
|
return *x.HasPriceAdjustment
|
||
|
|
}
|
||
|
|
return false
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *SetPricing) GetRemark() string {
|
||
|
|
if x != nil && x.Remark != nil {
|
||
|
|
return *x.Remark
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
type QuotationEditCommandRequest struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
Command *CommandHeader `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"`
|
||
|
|
SessionId string `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
|
||
|
|
// Types that are valid to be assigned to Edit:
|
||
|
|
//
|
||
|
|
// *QuotationEditCommandRequest_AddFloor
|
||
|
|
// *QuotationEditCommandRequest_RenameFloor
|
||
|
|
// *QuotationEditCommandRequest_ReorderFloor
|
||
|
|
// *QuotationEditCommandRequest_RemoveFloor
|
||
|
|
// *QuotationEditCommandRequest_AddSpace
|
||
|
|
// *QuotationEditCommandRequest_RenameSpace
|
||
|
|
// *QuotationEditCommandRequest_MoveSpace
|
||
|
|
// *QuotationEditCommandRequest_ReorderSpace
|
||
|
|
// *QuotationEditCommandRequest_RemoveSpace
|
||
|
|
// *QuotationEditCommandRequest_AddCategory
|
||
|
|
// *QuotationEditCommandRequest_RenameCategory
|
||
|
|
// *QuotationEditCommandRequest_ReorderCategory
|
||
|
|
// *QuotationEditCommandRequest_RemoveCategory
|
||
|
|
// *QuotationEditCommandRequest_AddCatalogLine
|
||
|
|
// *QuotationEditCommandRequest_AddCustomLine
|
||
|
|
// *QuotationEditCommandRequest_UpdateLine
|
||
|
|
// *QuotationEditCommandRequest_MoveLine
|
||
|
|
// *QuotationEditCommandRequest_ReorderLine
|
||
|
|
// *QuotationEditCommandRequest_SetLineActive
|
||
|
|
// *QuotationEditCommandRequest_RemoveLine
|
||
|
|
// *QuotationEditCommandRequest_AddFee
|
||
|
|
// *QuotationEditCommandRequest_UpdateFee
|
||
|
|
// *QuotationEditCommandRequest_ReorderFee
|
||
|
|
// *QuotationEditCommandRequest_RemoveFee
|
||
|
|
// *QuotationEditCommandRequest_SetPricing
|
||
|
|
Edit isQuotationEditCommandRequest_Edit `protobuf_oneof:"edit"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationEditCommandRequest) Reset() {
|
||
|
|
*x = QuotationEditCommandRequest{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[69]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationEditCommandRequest) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*QuotationEditCommandRequest) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *QuotationEditCommandRequest) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[69]
|
||
|
|
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 QuotationEditCommandRequest.ProtoReflect.Descriptor instead.
|
||
|
|
func (*QuotationEditCommandRequest) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{69}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationEditCommandRequest) GetCommand() *CommandHeader {
|
||
|
|
if x != nil {
|
||
|
|
return x.Command
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationEditCommandRequest) GetSessionId() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.SessionId
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationEditCommandRequest) GetEdit() isQuotationEditCommandRequest_Edit {
|
||
|
|
if x != nil {
|
||
|
|
return x.Edit
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationEditCommandRequest) GetAddFloor() *AddFloor {
|
||
|
|
if x != nil {
|
||
|
|
if x, ok := x.Edit.(*QuotationEditCommandRequest_AddFloor); ok {
|
||
|
|
return x.AddFloor
|
||
|
|
}
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationEditCommandRequest) GetRenameFloor() *RenameFloor {
|
||
|
|
if x != nil {
|
||
|
|
if x, ok := x.Edit.(*QuotationEditCommandRequest_RenameFloor); ok {
|
||
|
|
return x.RenameFloor
|
||
|
|
}
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationEditCommandRequest) GetReorderFloor() *ReorderFloor {
|
||
|
|
if x != nil {
|
||
|
|
if x, ok := x.Edit.(*QuotationEditCommandRequest_ReorderFloor); ok {
|
||
|
|
return x.ReorderFloor
|
||
|
|
}
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationEditCommandRequest) GetRemoveFloor() *RemoveFloor {
|
||
|
|
if x != nil {
|
||
|
|
if x, ok := x.Edit.(*QuotationEditCommandRequest_RemoveFloor); ok {
|
||
|
|
return x.RemoveFloor
|
||
|
|
}
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationEditCommandRequest) GetAddSpace() *AddSpace {
|
||
|
|
if x != nil {
|
||
|
|
if x, ok := x.Edit.(*QuotationEditCommandRequest_AddSpace); ok {
|
||
|
|
return x.AddSpace
|
||
|
|
}
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationEditCommandRequest) GetRenameSpace() *RenameSpace {
|
||
|
|
if x != nil {
|
||
|
|
if x, ok := x.Edit.(*QuotationEditCommandRequest_RenameSpace); ok {
|
||
|
|
return x.RenameSpace
|
||
|
|
}
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationEditCommandRequest) GetMoveSpace() *MoveSpace {
|
||
|
|
if x != nil {
|
||
|
|
if x, ok := x.Edit.(*QuotationEditCommandRequest_MoveSpace); ok {
|
||
|
|
return x.MoveSpace
|
||
|
|
}
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationEditCommandRequest) GetReorderSpace() *ReorderSpace {
|
||
|
|
if x != nil {
|
||
|
|
if x, ok := x.Edit.(*QuotationEditCommandRequest_ReorderSpace); ok {
|
||
|
|
return x.ReorderSpace
|
||
|
|
}
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationEditCommandRequest) GetRemoveSpace() *RemoveSpace {
|
||
|
|
if x != nil {
|
||
|
|
if x, ok := x.Edit.(*QuotationEditCommandRequest_RemoveSpace); ok {
|
||
|
|
return x.RemoveSpace
|
||
|
|
}
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationEditCommandRequest) GetAddCategory() *AddCategory {
|
||
|
|
if x != nil {
|
||
|
|
if x, ok := x.Edit.(*QuotationEditCommandRequest_AddCategory); ok {
|
||
|
|
return x.AddCategory
|
||
|
|
}
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationEditCommandRequest) GetRenameCategory() *RenameCategory {
|
||
|
|
if x != nil {
|
||
|
|
if x, ok := x.Edit.(*QuotationEditCommandRequest_RenameCategory); ok {
|
||
|
|
return x.RenameCategory
|
||
|
|
}
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationEditCommandRequest) GetReorderCategory() *ReorderCategory {
|
||
|
|
if x != nil {
|
||
|
|
if x, ok := x.Edit.(*QuotationEditCommandRequest_ReorderCategory); ok {
|
||
|
|
return x.ReorderCategory
|
||
|
|
}
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationEditCommandRequest) GetRemoveCategory() *RemoveCategory {
|
||
|
|
if x != nil {
|
||
|
|
if x, ok := x.Edit.(*QuotationEditCommandRequest_RemoveCategory); ok {
|
||
|
|
return x.RemoveCategory
|
||
|
|
}
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationEditCommandRequest) GetAddCatalogLine() *AddCatalogLine {
|
||
|
|
if x != nil {
|
||
|
|
if x, ok := x.Edit.(*QuotationEditCommandRequest_AddCatalogLine); ok {
|
||
|
|
return x.AddCatalogLine
|
||
|
|
}
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationEditCommandRequest) GetAddCustomLine() *AddCustomLine {
|
||
|
|
if x != nil {
|
||
|
|
if x, ok := x.Edit.(*QuotationEditCommandRequest_AddCustomLine); ok {
|
||
|
|
return x.AddCustomLine
|
||
|
|
}
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationEditCommandRequest) GetUpdateLine() *UpdateLine {
|
||
|
|
if x != nil {
|
||
|
|
if x, ok := x.Edit.(*QuotationEditCommandRequest_UpdateLine); ok {
|
||
|
|
return x.UpdateLine
|
||
|
|
}
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationEditCommandRequest) GetMoveLine() *MoveLine {
|
||
|
|
if x != nil {
|
||
|
|
if x, ok := x.Edit.(*QuotationEditCommandRequest_MoveLine); ok {
|
||
|
|
return x.MoveLine
|
||
|
|
}
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationEditCommandRequest) GetReorderLine() *ReorderLine {
|
||
|
|
if x != nil {
|
||
|
|
if x, ok := x.Edit.(*QuotationEditCommandRequest_ReorderLine); ok {
|
||
|
|
return x.ReorderLine
|
||
|
|
}
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationEditCommandRequest) GetSetLineActive() *SetLineActive {
|
||
|
|
if x != nil {
|
||
|
|
if x, ok := x.Edit.(*QuotationEditCommandRequest_SetLineActive); ok {
|
||
|
|
return x.SetLineActive
|
||
|
|
}
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationEditCommandRequest) GetRemoveLine() *RemoveLine {
|
||
|
|
if x != nil {
|
||
|
|
if x, ok := x.Edit.(*QuotationEditCommandRequest_RemoveLine); ok {
|
||
|
|
return x.RemoveLine
|
||
|
|
}
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationEditCommandRequest) GetAddFee() *AddFee {
|
||
|
|
if x != nil {
|
||
|
|
if x, ok := x.Edit.(*QuotationEditCommandRequest_AddFee); ok {
|
||
|
|
return x.AddFee
|
||
|
|
}
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationEditCommandRequest) GetUpdateFee() *UpdateFee {
|
||
|
|
if x != nil {
|
||
|
|
if x, ok := x.Edit.(*QuotationEditCommandRequest_UpdateFee); ok {
|
||
|
|
return x.UpdateFee
|
||
|
|
}
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationEditCommandRequest) GetReorderFee() *ReorderFee {
|
||
|
|
if x != nil {
|
||
|
|
if x, ok := x.Edit.(*QuotationEditCommandRequest_ReorderFee); ok {
|
||
|
|
return x.ReorderFee
|
||
|
|
}
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationEditCommandRequest) GetRemoveFee() *RemoveFee {
|
||
|
|
if x != nil {
|
||
|
|
if x, ok := x.Edit.(*QuotationEditCommandRequest_RemoveFee); ok {
|
||
|
|
return x.RemoveFee
|
||
|
|
}
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationEditCommandRequest) GetSetPricing() *SetPricing {
|
||
|
|
if x != nil {
|
||
|
|
if x, ok := x.Edit.(*QuotationEditCommandRequest_SetPricing); ok {
|
||
|
|
return x.SetPricing
|
||
|
|
}
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
type isQuotationEditCommandRequest_Edit interface {
|
||
|
|
isQuotationEditCommandRequest_Edit()
|
||
|
|
}
|
||
|
|
|
||
|
|
type QuotationEditCommandRequest_AddFloor struct {
|
||
|
|
AddFloor *AddFloor `protobuf:"bytes,10,opt,name=add_floor,json=addFloor,proto3,oneof"`
|
||
|
|
}
|
||
|
|
|
||
|
|
type QuotationEditCommandRequest_RenameFloor struct {
|
||
|
|
RenameFloor *RenameFloor `protobuf:"bytes,11,opt,name=rename_floor,json=renameFloor,proto3,oneof"`
|
||
|
|
}
|
||
|
|
|
||
|
|
type QuotationEditCommandRequest_ReorderFloor struct {
|
||
|
|
ReorderFloor *ReorderFloor `protobuf:"bytes,12,opt,name=reorder_floor,json=reorderFloor,proto3,oneof"`
|
||
|
|
}
|
||
|
|
|
||
|
|
type QuotationEditCommandRequest_RemoveFloor struct {
|
||
|
|
RemoveFloor *RemoveFloor `protobuf:"bytes,13,opt,name=remove_floor,json=removeFloor,proto3,oneof"`
|
||
|
|
}
|
||
|
|
|
||
|
|
type QuotationEditCommandRequest_AddSpace struct {
|
||
|
|
AddSpace *AddSpace `protobuf:"bytes,14,opt,name=add_space,json=addSpace,proto3,oneof"`
|
||
|
|
}
|
||
|
|
|
||
|
|
type QuotationEditCommandRequest_RenameSpace struct {
|
||
|
|
RenameSpace *RenameSpace `protobuf:"bytes,15,opt,name=rename_space,json=renameSpace,proto3,oneof"`
|
||
|
|
}
|
||
|
|
|
||
|
|
type QuotationEditCommandRequest_MoveSpace struct {
|
||
|
|
MoveSpace *MoveSpace `protobuf:"bytes,16,opt,name=move_space,json=moveSpace,proto3,oneof"`
|
||
|
|
}
|
||
|
|
|
||
|
|
type QuotationEditCommandRequest_ReorderSpace struct {
|
||
|
|
ReorderSpace *ReorderSpace `protobuf:"bytes,17,opt,name=reorder_space,json=reorderSpace,proto3,oneof"`
|
||
|
|
}
|
||
|
|
|
||
|
|
type QuotationEditCommandRequest_RemoveSpace struct {
|
||
|
|
RemoveSpace *RemoveSpace `protobuf:"bytes,18,opt,name=remove_space,json=removeSpace,proto3,oneof"`
|
||
|
|
}
|
||
|
|
|
||
|
|
type QuotationEditCommandRequest_AddCategory struct {
|
||
|
|
AddCategory *AddCategory `protobuf:"bytes,19,opt,name=add_category,json=addCategory,proto3,oneof"`
|
||
|
|
}
|
||
|
|
|
||
|
|
type QuotationEditCommandRequest_RenameCategory struct {
|
||
|
|
RenameCategory *RenameCategory `protobuf:"bytes,20,opt,name=rename_category,json=renameCategory,proto3,oneof"`
|
||
|
|
}
|
||
|
|
|
||
|
|
type QuotationEditCommandRequest_ReorderCategory struct {
|
||
|
|
ReorderCategory *ReorderCategory `protobuf:"bytes,21,opt,name=reorder_category,json=reorderCategory,proto3,oneof"`
|
||
|
|
}
|
||
|
|
|
||
|
|
type QuotationEditCommandRequest_RemoveCategory struct {
|
||
|
|
RemoveCategory *RemoveCategory `protobuf:"bytes,22,opt,name=remove_category,json=removeCategory,proto3,oneof"`
|
||
|
|
}
|
||
|
|
|
||
|
|
type QuotationEditCommandRequest_AddCatalogLine struct {
|
||
|
|
AddCatalogLine *AddCatalogLine `protobuf:"bytes,23,opt,name=add_catalog_line,json=addCatalogLine,proto3,oneof"`
|
||
|
|
}
|
||
|
|
|
||
|
|
type QuotationEditCommandRequest_AddCustomLine struct {
|
||
|
|
AddCustomLine *AddCustomLine `protobuf:"bytes,24,opt,name=add_custom_line,json=addCustomLine,proto3,oneof"`
|
||
|
|
}
|
||
|
|
|
||
|
|
type QuotationEditCommandRequest_UpdateLine struct {
|
||
|
|
UpdateLine *UpdateLine `protobuf:"bytes,25,opt,name=update_line,json=updateLine,proto3,oneof"`
|
||
|
|
}
|
||
|
|
|
||
|
|
type QuotationEditCommandRequest_MoveLine struct {
|
||
|
|
MoveLine *MoveLine `protobuf:"bytes,26,opt,name=move_line,json=moveLine,proto3,oneof"`
|
||
|
|
}
|
||
|
|
|
||
|
|
type QuotationEditCommandRequest_ReorderLine struct {
|
||
|
|
ReorderLine *ReorderLine `protobuf:"bytes,27,opt,name=reorder_line,json=reorderLine,proto3,oneof"`
|
||
|
|
}
|
||
|
|
|
||
|
|
type QuotationEditCommandRequest_SetLineActive struct {
|
||
|
|
SetLineActive *SetLineActive `protobuf:"bytes,28,opt,name=set_line_active,json=setLineActive,proto3,oneof"`
|
||
|
|
}
|
||
|
|
|
||
|
|
type QuotationEditCommandRequest_RemoveLine struct {
|
||
|
|
RemoveLine *RemoveLine `protobuf:"bytes,29,opt,name=remove_line,json=removeLine,proto3,oneof"`
|
||
|
|
}
|
||
|
|
|
||
|
|
type QuotationEditCommandRequest_AddFee struct {
|
||
|
|
AddFee *AddFee `protobuf:"bytes,30,opt,name=add_fee,json=addFee,proto3,oneof"`
|
||
|
|
}
|
||
|
|
|
||
|
|
type QuotationEditCommandRequest_UpdateFee struct {
|
||
|
|
UpdateFee *UpdateFee `protobuf:"bytes,31,opt,name=update_fee,json=updateFee,proto3,oneof"`
|
||
|
|
}
|
||
|
|
|
||
|
|
type QuotationEditCommandRequest_ReorderFee struct {
|
||
|
|
ReorderFee *ReorderFee `protobuf:"bytes,32,opt,name=reorder_fee,json=reorderFee,proto3,oneof"`
|
||
|
|
}
|
||
|
|
|
||
|
|
type QuotationEditCommandRequest_RemoveFee struct {
|
||
|
|
RemoveFee *RemoveFee `protobuf:"bytes,33,opt,name=remove_fee,json=removeFee,proto3,oneof"`
|
||
|
|
}
|
||
|
|
|
||
|
|
type QuotationEditCommandRequest_SetPricing struct {
|
||
|
|
SetPricing *SetPricing `protobuf:"bytes,34,opt,name=set_pricing,json=setPricing,proto3,oneof"`
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*QuotationEditCommandRequest_AddFloor) isQuotationEditCommandRequest_Edit() {}
|
||
|
|
|
||
|
|
func (*QuotationEditCommandRequest_RenameFloor) isQuotationEditCommandRequest_Edit() {}
|
||
|
|
|
||
|
|
func (*QuotationEditCommandRequest_ReorderFloor) isQuotationEditCommandRequest_Edit() {}
|
||
|
|
|
||
|
|
func (*QuotationEditCommandRequest_RemoveFloor) isQuotationEditCommandRequest_Edit() {}
|
||
|
|
|
||
|
|
func (*QuotationEditCommandRequest_AddSpace) isQuotationEditCommandRequest_Edit() {}
|
||
|
|
|
||
|
|
func (*QuotationEditCommandRequest_RenameSpace) isQuotationEditCommandRequest_Edit() {}
|
||
|
|
|
||
|
|
func (*QuotationEditCommandRequest_MoveSpace) isQuotationEditCommandRequest_Edit() {}
|
||
|
|
|
||
|
|
func (*QuotationEditCommandRequest_ReorderSpace) isQuotationEditCommandRequest_Edit() {}
|
||
|
|
|
||
|
|
func (*QuotationEditCommandRequest_RemoveSpace) isQuotationEditCommandRequest_Edit() {}
|
||
|
|
|
||
|
|
func (*QuotationEditCommandRequest_AddCategory) isQuotationEditCommandRequest_Edit() {}
|
||
|
|
|
||
|
|
func (*QuotationEditCommandRequest_RenameCategory) isQuotationEditCommandRequest_Edit() {}
|
||
|
|
|
||
|
|
func (*QuotationEditCommandRequest_ReorderCategory) isQuotationEditCommandRequest_Edit() {}
|
||
|
|
|
||
|
|
func (*QuotationEditCommandRequest_RemoveCategory) isQuotationEditCommandRequest_Edit() {}
|
||
|
|
|
||
|
|
func (*QuotationEditCommandRequest_AddCatalogLine) isQuotationEditCommandRequest_Edit() {}
|
||
|
|
|
||
|
|
func (*QuotationEditCommandRequest_AddCustomLine) isQuotationEditCommandRequest_Edit() {}
|
||
|
|
|
||
|
|
func (*QuotationEditCommandRequest_UpdateLine) isQuotationEditCommandRequest_Edit() {}
|
||
|
|
|
||
|
|
func (*QuotationEditCommandRequest_MoveLine) isQuotationEditCommandRequest_Edit() {}
|
||
|
|
|
||
|
|
func (*QuotationEditCommandRequest_ReorderLine) isQuotationEditCommandRequest_Edit() {}
|
||
|
|
|
||
|
|
func (*QuotationEditCommandRequest_SetLineActive) isQuotationEditCommandRequest_Edit() {}
|
||
|
|
|
||
|
|
func (*QuotationEditCommandRequest_RemoveLine) isQuotationEditCommandRequest_Edit() {}
|
||
|
|
|
||
|
|
func (*QuotationEditCommandRequest_AddFee) isQuotationEditCommandRequest_Edit() {}
|
||
|
|
|
||
|
|
func (*QuotationEditCommandRequest_UpdateFee) isQuotationEditCommandRequest_Edit() {}
|
||
|
|
|
||
|
|
func (*QuotationEditCommandRequest_ReorderFee) isQuotationEditCommandRequest_Edit() {}
|
||
|
|
|
||
|
|
func (*QuotationEditCommandRequest_RemoveFee) isQuotationEditCommandRequest_Edit() {}
|
||
|
|
|
||
|
|
func (*QuotationEditCommandRequest_SetPricing) isQuotationEditCommandRequest_Edit() {}
|
||
|
|
|
||
|
|
type QuotationEditCommandResponse struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
Header *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
|
||
|
|
Session *EditSession `protobuf:"bytes,2,opt,name=session,proto3" json:"session,omitempty"`
|
||
|
|
AffectedLineIds []string `protobuf:"bytes,3,rep,name=affected_line_ids,json=affectedLineIds,proto3" json:"affected_line_ids,omitempty"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationEditCommandResponse) Reset() {
|
||
|
|
*x = QuotationEditCommandResponse{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[70]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationEditCommandResponse) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*QuotationEditCommandResponse) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *QuotationEditCommandResponse) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[70]
|
||
|
|
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 QuotationEditCommandResponse.ProtoReflect.Descriptor instead.
|
||
|
|
func (*QuotationEditCommandResponse) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{70}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationEditCommandResponse) GetHeader() *ResponseHeader {
|
||
|
|
if x != nil {
|
||
|
|
return x.Header
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationEditCommandResponse) GetSession() *EditSession {
|
||
|
|
if x != nil {
|
||
|
|
return x.Session
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationEditCommandResponse) GetAffectedLineIds() []string {
|
||
|
|
if x != nil {
|
||
|
|
return x.AffectedLineIds
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
type QuotationEditPreviewRequest struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationEditPreviewRequest) Reset() {
|
||
|
|
*x = QuotationEditPreviewRequest{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[71]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationEditPreviewRequest) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*QuotationEditPreviewRequest) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *QuotationEditPreviewRequest) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[71]
|
||
|
|
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 QuotationEditPreviewRequest.ProtoReflect.Descriptor instead.
|
||
|
|
func (*QuotationEditPreviewRequest) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{71}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationEditPreviewRequest) GetSessionId() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.SessionId
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
type QuotationEditPreviewResponse struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
Header *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
|
||
|
|
SessionId string `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
|
||
|
|
Revision int32 `protobuf:"varint,3,opt,name=revision,proto3" json:"revision,omitempty"`
|
||
|
|
ChangeSetId string `protobuf:"bytes,4,opt,name=change_set_id,json=changeSetId,proto3" json:"change_set_id,omitempty"`
|
||
|
|
Quotation *Quotation `protobuf:"bytes,5,opt,name=quotation,proto3" json:"quotation,omitempty"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationEditPreviewResponse) Reset() {
|
||
|
|
*x = QuotationEditPreviewResponse{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[72]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationEditPreviewResponse) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*QuotationEditPreviewResponse) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *QuotationEditPreviewResponse) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[72]
|
||
|
|
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 QuotationEditPreviewResponse.ProtoReflect.Descriptor instead.
|
||
|
|
func (*QuotationEditPreviewResponse) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{72}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationEditPreviewResponse) GetHeader() *ResponseHeader {
|
||
|
|
if x != nil {
|
||
|
|
return x.Header
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationEditPreviewResponse) GetSessionId() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.SessionId
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationEditPreviewResponse) GetRevision() int32 {
|
||
|
|
if x != nil {
|
||
|
|
return x.Revision
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationEditPreviewResponse) GetChangeSetId() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.ChangeSetId
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationEditPreviewResponse) GetQuotation() *Quotation {
|
||
|
|
if x != nil {
|
||
|
|
return x.Quotation
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
type QuotationEditCommitRequest struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
Command *CommandHeader `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"`
|
||
|
|
SessionId string `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
|
||
|
|
Revision int32 `protobuf:"varint,3,opt,name=revision,proto3" json:"revision,omitempty"`
|
||
|
|
ChangeSetId string `protobuf:"bytes,4,opt,name=change_set_id,json=changeSetId,proto3" json:"change_set_id,omitempty"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationEditCommitRequest) Reset() {
|
||
|
|
*x = QuotationEditCommitRequest{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[73]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationEditCommitRequest) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*QuotationEditCommitRequest) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *QuotationEditCommitRequest) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[73]
|
||
|
|
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 QuotationEditCommitRequest.ProtoReflect.Descriptor instead.
|
||
|
|
func (*QuotationEditCommitRequest) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{73}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationEditCommitRequest) GetCommand() *CommandHeader {
|
||
|
|
if x != nil {
|
||
|
|
return x.Command
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationEditCommitRequest) GetSessionId() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.SessionId
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationEditCommitRequest) GetRevision() int32 {
|
||
|
|
if x != nil {
|
||
|
|
return x.Revision
|
||
|
|
}
|
||
|
|
return 0
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationEditCommitRequest) GetChangeSetId() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.ChangeSetId
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
type QuotationEditDiscardRequest struct {
|
||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||
|
|
Command *CommandHeader `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"`
|
||
|
|
SessionId string `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
|
||
|
|
unknownFields protoimpl.UnknownFields
|
||
|
|
sizeCache protoimpl.SizeCache
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationEditDiscardRequest) Reset() {
|
||
|
|
*x = QuotationEditDiscardRequest{}
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[74]
|
||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
|
ms.StoreMessageInfo(mi)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationEditDiscardRequest) String() string {
|
||
|
|
return protoimpl.X.MessageStringOf(x)
|
||
|
|
}
|
||
|
|
|
||
|
|
func (*QuotationEditDiscardRequest) ProtoMessage() {}
|
||
|
|
|
||
|
|
func (x *QuotationEditDiscardRequest) ProtoReflect() protoreflect.Message {
|
||
|
|
mi := &file_shop_crm_agent_proto_msgTypes[74]
|
||
|
|
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 QuotationEditDiscardRequest.ProtoReflect.Descriptor instead.
|
||
|
|
func (*QuotationEditDiscardRequest) Descriptor() ([]byte, []int) {
|
||
|
|
return file_shop_crm_agent_proto_rawDescGZIP(), []int{74}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationEditDiscardRequest) GetCommand() *CommandHeader {
|
||
|
|
if x != nil {
|
||
|
|
return x.Command
|
||
|
|
}
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
func (x *QuotationEditDiscardRequest) GetSessionId() string {
|
||
|
|
if x != nil {
|
||
|
|
return x.SessionId
|
||
|
|
}
|
||
|
|
return ""
|
||
|
|
}
|
||
|
|
|
||
|
|
var File_shop_crm_agent_proto protoreflect.FileDescriptor
|
||
|
|
|
||
|
|
const file_shop_crm_agent_proto_rawDesc = "" +
|
||
|
|
"\n" +
|
||
|
|
"\x14shop_crm_agent.proto\x12\x1blightcore.shop.crm_agent.v1\"y\n" +
|
||
|
|
"\x0eResponseHeader\x12\x12\n" +
|
||
|
|
"\x04code\x18\x01 \x01(\x05R\x04code\x12\x18\n" +
|
||
|
|
"\amessage\x18\x02 \x01(\tR\amessage\x12\x1d\n" +
|
||
|
|
"\n" +
|
||
|
|
"request_id\x18\x03 \x01(\tR\trequestId\x12\x1a\n" +
|
||
|
|
"\breplayed\x18\x04 \x01(\bR\breplayed\".\n" +
|
||
|
|
"\rCommandHeader\x12\x1d\n" +
|
||
|
|
"\n" +
|
||
|
|
"request_id\x18\x01 \x01(\tR\trequestId\"U\n" +
|
||
|
|
"\x0eCommonResponse\x12C\n" +
|
||
|
|
"\x06header\x18\x01 \x01(\v2+.lightcore.shop.crm_agent.v1.ResponseHeaderR\x06header\"Q\n" +
|
||
|
|
"\bPageInfo\x12\x12\n" +
|
||
|
|
"\x04page\x18\x01 \x01(\x05R\x04page\x12\x1b\n" +
|
||
|
|
"\tpage_size\x18\x02 \x01(\x05R\bpageSize\x12\x14\n" +
|
||
|
|
"\x05total\x18\x03 \x01(\x03R\x05total\"\xfe\x01\n" +
|
||
|
|
"\bCustomer\x12\x0e\n" +
|
||
|
|
"\x02id\x18\x01 \x01(\x04R\x02id\x12\x12\n" +
|
||
|
|
"\x04name\x18\x02 \x01(\tR\x04name\x12\x14\n" +
|
||
|
|
"\x05phone\x18\x03 \x01(\tR\x05phone\x12\x16\n" +
|
||
|
|
"\x06status\x18\x04 \x01(\tR\x06status\x12\x16\n" +
|
||
|
|
"\x06source\x18\x05 \x01(\tR\x06source\x12\x1a\n" +
|
||
|
|
"\bprovince\x18\x06 \x01(\tR\bprovince\x12\x12\n" +
|
||
|
|
"\x04city\x18\a \x01(\tR\x04city\x12\x1a\n" +
|
||
|
|
"\bdistrict\x18\b \x01(\tR\bdistrict\x12\x1d\n" +
|
||
|
|
"\n" +
|
||
|
|
"created_at\x18\t \x01(\x03R\tcreatedAt\x12\x1d\n" +
|
||
|
|
"\n" +
|
||
|
|
"updated_at\x18\n" +
|
||
|
|
" \x01(\x03R\tupdatedAt\"`\n" +
|
||
|
|
"\x13CustomerListRequest\x12\x18\n" +
|
||
|
|
"\akeyword\x18\x01 \x01(\tR\akeyword\x12\x12\n" +
|
||
|
|
"\x04page\x18\x02 \x01(\x05R\x04page\x12\x1b\n" +
|
||
|
|
"\tpage_size\x18\x03 \x01(\x05R\bpageSize\"\xdb\x01\n" +
|
||
|
|
"\x14CustomerListResponse\x12C\n" +
|
||
|
|
"\x06header\x18\x01 \x01(\v2+.lightcore.shop.crm_agent.v1.ResponseHeaderR\x06header\x12C\n" +
|
||
|
|
"\tcustomers\x18\x02 \x03(\v2%.lightcore.shop.crm_agent.v1.CustomerR\tcustomers\x129\n" +
|
||
|
|
"\x04page\x18\x03 \x01(\v2%.lightcore.shop.crm_agent.v1.PageInfoR\x04page\"\x8d\x05\n" +
|
||
|
|
"\aProject\x12\x0e\n" +
|
||
|
|
"\x02id\x18\x01 \x01(\x04R\x02id\x12\x1d\n" +
|
||
|
|
"\n" +
|
||
|
|
"project_no\x18\x02 \x01(\tR\tprojectNo\x12\x12\n" +
|
||
|
|
"\x04name\x18\x03 \x01(\tR\x04name\x12\x16\n" +
|
||
|
|
"\x06status\x18\x04 \x01(\tR\x06status\x12\x1d\n" +
|
||
|
|
"\n" +
|
||
|
|
"house_type\x18\x05 \x01(\tR\thouseType\x12\x1a\n" +
|
||
|
|
"\bprovince\x18\x06 \x01(\tR\bprovince\x12#\n" +
|
||
|
|
"\rprovince_code\x18\a \x01(\tR\fprovinceCode\x12\x12\n" +
|
||
|
|
"\x04city\x18\b \x01(\tR\x04city\x12\x1b\n" +
|
||
|
|
"\tcity_code\x18\t \x01(\tR\bcityCode\x12\x1a\n" +
|
||
|
|
"\bdistrict\x18\n" +
|
||
|
|
" \x01(\tR\bdistrict\x12#\n" +
|
||
|
|
"\rdistrict_code\x18\v \x01(\tR\fdistrictCode\x12\x18\n" +
|
||
|
|
"\aaddress\x18\f \x01(\tR\aaddress\x12\x1f\n" +
|
||
|
|
"\vcustomer_id\x18\x10 \x01(\x04R\n" +
|
||
|
|
"customerId\x12#\n" +
|
||
|
|
"\rcustomer_name\x18\x11 \x01(\tR\fcustomerName\x12%\n" +
|
||
|
|
"\x0ecustomer_phone\x18\x12 \x01(\tR\rcustomerPhone\x12\x16\n" +
|
||
|
|
"\x06remark\x18\x13 \x01(\tR\x06remark\x12'\n" +
|
||
|
|
"\x0fquotation_count\x18\x14 \x01(\x05R\x0equotationCount\x12\x1d\n" +
|
||
|
|
"\n" +
|
||
|
|
"created_at\x18\x15 \x01(\x03R\tcreatedAt\x12\x1d\n" +
|
||
|
|
"\n" +
|
||
|
|
"updated_at\x18\x16 \x01(\x03R\tupdatedAtJ\x04\b\r\x10\x0eJ\x04\b\x0e\x10\x0fJ\x04\b\x0f\x10\x10R\x15progress_template_keyR\x16progress_template_nameR\x0eprogress_steps\"\x96\x01\n" +
|
||
|
|
"\x12ProjectListRequest\x12\x18\n" +
|
||
|
|
"\akeyword\x18\x01 \x01(\tR\akeyword\x12\x16\n" +
|
||
|
|
"\x06status\x18\x02 \x01(\tR\x06status\x12\x1d\n" +
|
||
|
|
"\n" +
|
||
|
|
"house_type\x18\x03 \x01(\tR\thouseType\x12\x12\n" +
|
||
|
|
"\x04page\x18\x04 \x01(\x05R\x04page\x12\x1b\n" +
|
||
|
|
"\tpage_size\x18\x05 \x01(\x05R\bpageSize\"\xd7\x01\n" +
|
||
|
|
"\x13ProjectListResponse\x12C\n" +
|
||
|
|
"\x06header\x18\x01 \x01(\v2+.lightcore.shop.crm_agent.v1.ResponseHeaderR\x06header\x12@\n" +
|
||
|
|
"\bprojects\x18\x02 \x03(\v2$.lightcore.shop.crm_agent.v1.ProjectR\bprojects\x129\n" +
|
||
|
|
"\x04page\x18\x03 \x01(\v2%.lightcore.shop.crm_agent.v1.PageInfoR\x04page\"2\n" +
|
||
|
|
"\x11ProjectGetRequest\x12\x1d\n" +
|
||
|
|
"\n" +
|
||
|
|
"project_id\x18\x01 \x01(\x04R\tprojectId\"\x96\x01\n" +
|
||
|
|
"\x0fProjectResponse\x12C\n" +
|
||
|
|
"\x06header\x18\x01 \x01(\v2+.lightcore.shop.crm_agent.v1.ResponseHeaderR\x06header\x12>\n" +
|
||
|
|
"\aproject\x18\x02 \x01(\v2$.lightcore.shop.crm_agent.v1.ProjectR\aproject\"\xb2\x03\n" +
|
||
|
|
"\x14ProjectCreateRequest\x12D\n" +
|
||
|
|
"\acommand\x18\x01 \x01(\v2*.lightcore.shop.crm_agent.v1.CommandHeaderR\acommand\x12\x12\n" +
|
||
|
|
"\x04name\x18\x02 \x01(\tR\x04name\x12\x1f\n" +
|
||
|
|
"\vcustomer_id\x18\x03 \x01(\x04R\n" +
|
||
|
|
"customerId\x12\x1d\n" +
|
||
|
|
"\n" +
|
||
|
|
"house_type\x18\x04 \x01(\tR\thouseType\x12\x1a\n" +
|
||
|
|
"\bprovince\x18\x05 \x01(\tR\bprovince\x12#\n" +
|
||
|
|
"\rprovince_code\x18\x06 \x01(\tR\fprovinceCode\x12\x12\n" +
|
||
|
|
"\x04city\x18\a \x01(\tR\x04city\x12\x1b\n" +
|
||
|
|
"\tcity_code\x18\b \x01(\tR\bcityCode\x12\x1a\n" +
|
||
|
|
"\bdistrict\x18\t \x01(\tR\bdistrict\x12#\n" +
|
||
|
|
"\rdistrict_code\x18\n" +
|
||
|
|
" \x01(\tR\fdistrictCode\x12\x18\n" +
|
||
|
|
"\aaddress\x18\v \x01(\tR\aaddress\x12\x16\n" +
|
||
|
|
"\x06remark\x18\r \x01(\tR\x06remarkJ\x04\b\f\x10\rR\x15progress_template_key\"\xe6\x04\n" +
|
||
|
|
"\x14ProjectUpdateRequest\x12D\n" +
|
||
|
|
"\acommand\x18\x01 \x01(\v2*.lightcore.shop.crm_agent.v1.CommandHeaderR\acommand\x12\x1d\n" +
|
||
|
|
"\n" +
|
||
|
|
"project_id\x18\x02 \x01(\x04R\tprojectId\x12\x17\n" +
|
||
|
|
"\x04name\x18\x03 \x01(\tH\x00R\x04name\x88\x01\x01\x12\"\n" +
|
||
|
|
"\n" +
|
||
|
|
"house_type\x18\x04 \x01(\tH\x01R\thouseType\x88\x01\x01\x12\x1f\n" +
|
||
|
|
"\bprovince\x18\x05 \x01(\tH\x02R\bprovince\x88\x01\x01\x12(\n" +
|
||
|
|
"\rprovince_code\x18\x06 \x01(\tH\x03R\fprovinceCode\x88\x01\x01\x12\x17\n" +
|
||
|
|
"\x04city\x18\a \x01(\tH\x04R\x04city\x88\x01\x01\x12 \n" +
|
||
|
|
"\tcity_code\x18\b \x01(\tH\x05R\bcityCode\x88\x01\x01\x12\x1f\n" +
|
||
|
|
"\bdistrict\x18\t \x01(\tH\x06R\bdistrict\x88\x01\x01\x12(\n" +
|
||
|
|
"\rdistrict_code\x18\n" +
|
||
|
|
" \x01(\tH\aR\fdistrictCode\x88\x01\x01\x12\x1d\n" +
|
||
|
|
"\aaddress\x18\v \x01(\tH\bR\aaddress\x88\x01\x01\x12\x1b\n" +
|
||
|
|
"\x06remark\x18\r \x01(\tH\tR\x06remark\x88\x01\x01B\a\n" +
|
||
|
|
"\x05_nameB\r\n" +
|
||
|
|
"\v_house_typeB\v\n" +
|
||
|
|
"\t_provinceB\x10\n" +
|
||
|
|
"\x0e_province_codeB\a\n" +
|
||
|
|
"\x05_cityB\f\n" +
|
||
|
|
"\n" +
|
||
|
|
"_city_codeB\v\n" +
|
||
|
|
"\t_districtB\x10\n" +
|
||
|
|
"\x0e_district_codeB\n" +
|
||
|
|
"\n" +
|
||
|
|
"\b_addressB\t\n" +
|
||
|
|
"\a_remarkJ\x04\b\f\x10\rR\x15progress_template_key\"\x93\x01\n" +
|
||
|
|
"\x14ProjectStatusRequest\x12D\n" +
|
||
|
|
"\acommand\x18\x01 \x01(\v2*.lightcore.shop.crm_agent.v1.CommandHeaderR\acommand\x12\x1d\n" +
|
||
|
|
"\n" +
|
||
|
|
"project_id\x18\x02 \x01(\x04R\tprojectId\x12\x16\n" +
|
||
|
|
"\x06status\x18\x03 \x01(\tR\x06status\"<\n" +
|
||
|
|
"\x1bProjectDeletePreviewRequest\x12\x1d\n" +
|
||
|
|
"\n" +
|
||
|
|
"project_id\x18\x01 \x01(\x04R\tprojectId\"\xc9\x01\n" +
|
||
|
|
"\rDeletePreview\x12#\n" +
|
||
|
|
"\rresource_type\x18\x01 \x01(\tR\fresourceType\x12\x1f\n" +
|
||
|
|
"\vresource_id\x18\x02 \x01(\x04R\n" +
|
||
|
|
"resourceId\x12\x1a\n" +
|
||
|
|
"\brevision\x18\x03 \x01(\x05R\brevision\x12\"\n" +
|
||
|
|
"\rchange_set_id\x18\x04 \x01(\tR\vchangeSetId\x12\x18\n" +
|
||
|
|
"\aallowed\x18\x05 \x01(\bR\aallowed\x12\x18\n" +
|
||
|
|
"\areasons\x18\x06 \x03(\tR\areasons\"\xa2\x01\n" +
|
||
|
|
"\x15DeletePreviewResponse\x12C\n" +
|
||
|
|
"\x06header\x18\x01 \x01(\v2+.lightcore.shop.crm_agent.v1.ResponseHeaderR\x06header\x12D\n" +
|
||
|
|
"\apreview\x18\x02 \x01(\v2*.lightcore.shop.crm_agent.v1.DeletePreviewR\apreview\"\x9f\x01\n" +
|
||
|
|
"\x14ProjectDeleteRequest\x12D\n" +
|
||
|
|
"\acommand\x18\x01 \x01(\v2*.lightcore.shop.crm_agent.v1.CommandHeaderR\acommand\x12\x1d\n" +
|
||
|
|
"\n" +
|
||
|
|
"project_id\x18\x02 \x01(\x04R\tprojectId\x12\"\n" +
|
||
|
|
"\rchange_set_id\x18\x03 \x01(\tR\vchangeSetId\"\x95\x04\n" +
|
||
|
|
"\x10QuotationSummary\x12!\n" +
|
||
|
|
"\fquotation_id\x18\x01 \x01(\x04R\vquotationId\x12\x1f\n" +
|
||
|
|
"\vartifact_id\x18\x02 \x01(\x04R\n" +
|
||
|
|
"artifactId\x12\x1d\n" +
|
||
|
|
"\n" +
|
||
|
|
"project_id\x18\x03 \x01(\x04R\tprojectId\x12\x1d\n" +
|
||
|
|
"\n" +
|
||
|
|
"project_no\x18\x04 \x01(\tR\tprojectNo\x12!\n" +
|
||
|
|
"\fproject_name\x18\x05 \x01(\tR\vprojectName\x12#\n" +
|
||
|
|
"\rcustomer_name\x18\x06 \x01(\tR\fcustomerName\x12\x14\n" +
|
||
|
|
"\x05title\x18\a \x01(\tR\x05title\x12\x16\n" +
|
||
|
|
"\x06status\x18\b \x01(\tR\x06status\x12\x1a\n" +
|
||
|
|
"\brevision\x18\t \x01(\x05R\brevision\x12\x16\n" +
|
||
|
|
"\x06locked\x18\n" +
|
||
|
|
" \x01(\bR\x06locked\x12!\n" +
|
||
|
|
"\ffinal_amount\x18\v \x01(\x03R\vfinalAmount\x12#\n" +
|
||
|
|
"\ractual_amount\x18\f \x01(\x03R\factualAmount\x12\x1d\n" +
|
||
|
|
"\n" +
|
||
|
|
"item_count\x18\r \x01(\x05R\titemCount\x120\n" +
|
||
|
|
"\x14has_price_adjustment\x18\x0e \x01(\bR\x12hasPriceAdjustment\x12\x1d\n" +
|
||
|
|
"\n" +
|
||
|
|
"created_at\x18\x0f \x01(\x03R\tcreatedAt\x12\x1d\n" +
|
||
|
|
"\n" +
|
||
|
|
"updated_at\x18\x10 \x01(\x03R\tupdatedAt\"n\n" +
|
||
|
|
"\x11QuotationCategory\x12\x0e\n" +
|
||
|
|
"\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n" +
|
||
|
|
"\x04name\x18\x02 \x01(\tR\x04name\x12\x16\n" +
|
||
|
|
"\x06source\x18\x03 \x01(\tR\x06source\x12\x1d\n" +
|
||
|
|
"\n" +
|
||
|
|
"source_key\x18\x04 \x01(\tR\tsourceKey\"\x84\x01\n" +
|
||
|
|
"\x0eQuotationSpace\x12\x0e\n" +
|
||
|
|
"\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n" +
|
||
|
|
"\x04name\x18\x02 \x01(\tR\x04name\x12N\n" +
|
||
|
|
"\n" +
|
||
|
|
"categories\x18\x03 \x03(\v2..lightcore.shop.crm_agent.v1.QuotationCategoryR\n" +
|
||
|
|
"categories\"y\n" +
|
||
|
|
"\x0eQuotationFloor\x12\x0e\n" +
|
||
|
|
"\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n" +
|
||
|
|
"\x04name\x18\x02 \x01(\tR\x04name\x12C\n" +
|
||
|
|
"\x06spaces\x18\x03 \x03(\v2+.lightcore.shop.crm_agent.v1.QuotationSpaceR\x06spaces\"\xc7\x06\n" +
|
||
|
|
"\rQuotationLine\x12\x17\n" +
|
||
|
|
"\aline_id\x18\x01 \x01(\tR\x06lineId\x12\x19\n" +
|
||
|
|
"\bfloor_id\x18\x02 \x01(\tR\afloorId\x12\x19\n" +
|
||
|
|
"\bspace_id\x18\x03 \x01(\tR\aspaceId\x12\x1f\n" +
|
||
|
|
"\vcategory_id\x18\x04 \x01(\tR\n" +
|
||
|
|
"categoryId\x12\x1f\n" +
|
||
|
|
"\vsource_type\x18\x05 \x01(\tR\n" +
|
||
|
|
"sourceType\x12\x1d\n" +
|
||
|
|
"\n" +
|
||
|
|
"product_id\x18\x06 \x01(\x04R\tproductId\x12\x15\n" +
|
||
|
|
"\x06sku_id\x18\a \x01(\x04R\x05skuId\x12\x1d\n" +
|
||
|
|
"\n" +
|
||
|
|
"goods_name\x18\b \x01(\tR\tgoodsName\x12)\n" +
|
||
|
|
"\x10spec_combination\x18\t \x01(\tR\x0fspecCombination\x12\x19\n" +
|
||
|
|
"\bimage_id\x18\n" +
|
||
|
|
" \x01(\x04R\aimageId\x12\x1b\n" +
|
||
|
|
"\timage_url\x18\v \x01(\tR\bimageUrl\x12#\n" +
|
||
|
|
"\rcategory_name\x18\f \x01(\tR\fcategoryName\x12\x1d\n" +
|
||
|
|
"\n" +
|
||
|
|
"sort_order\x18\r \x01(\x05R\tsortOrder\x12\x16\n" +
|
||
|
|
"\x06remark\x18\x0e \x01(\tR\x06remark\x12\x16\n" +
|
||
|
|
"\x06active\x18\x0f \x01(\bR\x06active\x12\x1d\n" +
|
||
|
|
"\n" +
|
||
|
|
"unit_price\x18\x10 \x01(\x03R\tunitPrice\x12\x1a\n" +
|
||
|
|
"\bquantity\x18\x11 \x01(\x01R\bquantity\x12#\n" +
|
||
|
|
"\rdiscount_rate\x18\x12 \x01(\x05R\fdiscountRate\x12'\n" +
|
||
|
|
"\x0fdiscount_amount\x18\x13 \x01(\x03R\x0ediscountAmount\x12\x1d\n" +
|
||
|
|
"\n" +
|
||
|
|
"cost_price\x18\x14 \x01(\x03R\tcostPrice\x12+\n" +
|
||
|
|
"\x11original_subtotal\x18\x15 \x01(\x03R\x10originalSubtotal\x12/\n" +
|
||
|
|
"\x13discounted_subtotal\x18\x16 \x01(\x03R\x12discountedSubtotal\x12%\n" +
|
||
|
|
"\x0efinal_subtotal\x18\x17 \x01(\x03R\rfinalSubtotal\x12#\n" +
|
||
|
|
"\rcost_subtotal\x18\x18 \x01(\x03R\fcostSubtotal\x12'\n" +
|
||
|
|
"\x0fprofit_subtotal\x18\x19 \x01(\x03R\x0eprofitSubtotal\"\xde\x01\n" +
|
||
|
|
"\fQuotationFee\x12\x14\n" +
|
||
|
|
"\x05index\x18\x01 \x01(\x05R\x05index\x12\x12\n" +
|
||
|
|
"\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n" +
|
||
|
|
"\x04type\x18\x03 \x01(\tR\x04type\x12!\n" +
|
||
|
|
"\ffixed_amount\x18\x04 \x01(\x03R\vfixedAmount\x12\x1e\n" +
|
||
|
|
"\n" +
|
||
|
|
"percentage\x18\x05 \x01(\x05R\n" +
|
||
|
|
"percentage\x12\x1d\n" +
|
||
|
|
"\n" +
|
||
|
|
"sort_order\x18\x06 \x01(\x05R\tsortOrder\x12\x16\n" +
|
||
|
|
"\x06remark\x18\a \x01(\tR\x06remark\x12\x16\n" +
|
||
|
|
"\x06amount\x18\b \x01(\x03R\x06amount\"\xed\x06\n" +
|
||
|
|
"\tQuotation\x12G\n" +
|
||
|
|
"\asummary\x18\x01 \x01(\v2-.lightcore.shop.crm_agent.v1.QuotationSummaryR\asummary\x12C\n" +
|
||
|
|
"\x06floors\x18\x02 \x03(\v2+.lightcore.shop.crm_agent.v1.QuotationFloorR\x06floors\x12@\n" +
|
||
|
|
"\x05lines\x18\x03 \x03(\v2*.lightcore.shop.crm_agent.v1.QuotationLineR\x05lines\x12=\n" +
|
||
|
|
"\x04fees\x18\x04 \x03(\v2).lightcore.shop.crm_agent.v1.QuotationFeeR\x04fees\x12#\n" +
|
||
|
|
"\rdiscount_rate\x18\x05 \x01(\x05R\fdiscountRate\x12'\n" +
|
||
|
|
"\x0fdiscount_amount\x18\x06 \x01(\x03R\x0ediscountAmount\x122\n" +
|
||
|
|
"\x15original_total_amount\x18\a \x01(\x03R\x13originalTotalAmount\x12!\n" +
|
||
|
|
"\ftotal_amount\x18\b \x01(\x03R\vtotalAmount\x12+\n" +
|
||
|
|
"\x11discounted_amount\x18\t \x01(\x03R\x10discountedAmount\x12(\n" +
|
||
|
|
"\x10total_fee_amount\x18\n" +
|
||
|
|
" \x01(\x03R\x0etotalFeeAmount\x12!\n" +
|
||
|
|
"\ffinal_amount\x18\v \x01(\x03R\vfinalAmount\x12#\n" +
|
||
|
|
"\ractual_amount\x18\f \x01(\x03R\factualAmount\x120\n" +
|
||
|
|
"\x14has_price_adjustment\x18\r \x01(\bR\x12hasPriceAdjustment\x12\x1d\n" +
|
||
|
|
"\n" +
|
||
|
|
"total_cost\x18\x0e \x01(\x03R\ttotalCost\x12%\n" +
|
||
|
|
"\x0eproduct_profit\x18\x0f \x01(\x03R\rproductProfit\x12!\n" +
|
||
|
|
"\ftotal_profit\x18\x10 \x01(\x03R\vtotalProfit\x12.\n" +
|
||
|
|
"\x13product_profit_rate\x18\x11 \x01(\x01R\x11productProfitRate\x12*\n" +
|
||
|
|
"\x11total_profit_rate\x18\x12 \x01(\x01R\x0ftotalProfitRate\x12\x16\n" +
|
||
|
|
"\x06remark\x18\x13 \x01(\tR\x06remark\"\x98\x01\n" +
|
||
|
|
"\x14QuotationListRequest\x12\x1d\n" +
|
||
|
|
"\n" +
|
||
|
|
"project_id\x18\x01 \x01(\x04R\tprojectId\x12\x18\n" +
|
||
|
|
"\akeyword\x18\x02 \x01(\tR\akeyword\x12\x16\n" +
|
||
|
|
"\x06status\x18\x03 \x01(\tR\x06status\x12\x12\n" +
|
||
|
|
"\x04page\x18\x04 \x01(\x05R\x04page\x12\x1b\n" +
|
||
|
|
"\tpage_size\x18\x05 \x01(\x05R\bpageSize\"\xe6\x01\n" +
|
||
|
|
"\x15QuotationListResponse\x12C\n" +
|
||
|
|
"\x06header\x18\x01 \x01(\v2+.lightcore.shop.crm_agent.v1.ResponseHeaderR\x06header\x12M\n" +
|
||
|
|
"\n" +
|
||
|
|
"quotations\x18\x02 \x03(\v2-.lightcore.shop.crm_agent.v1.QuotationSummaryR\n" +
|
||
|
|
"quotations\x129\n" +
|
||
|
|
"\x04page\x18\x03 \x01(\v2%.lightcore.shop.crm_agent.v1.PageInfoR\x04page\"8\n" +
|
||
|
|
"\x13QuotationGetRequest\x12!\n" +
|
||
|
|
"\fquotation_id\x18\x01 \x01(\x04R\vquotationId\"\x9e\x01\n" +
|
||
|
|
"\x11QuotationResponse\x12C\n" +
|
||
|
|
"\x06header\x18\x01 \x01(\v2+.lightcore.shop.crm_agent.v1.ResponseHeaderR\x06header\x12D\n" +
|
||
|
|
"\tquotation\x18\x02 \x01(\v2&.lightcore.shop.crm_agent.v1.QuotationR\tquotation\"\x93\x01\n" +
|
||
|
|
"\x16QuotationCreateRequest\x12D\n" +
|
||
|
|
"\acommand\x18\x01 \x01(\v2*.lightcore.shop.crm_agent.v1.CommandHeaderR\acommand\x12\x1d\n" +
|
||
|
|
"\n" +
|
||
|
|
"project_id\x18\x02 \x01(\x04R\tprojectId\x12\x14\n" +
|
||
|
|
"\x05title\x18\x03 \x01(\tR\x05title\"\x95\x01\n" +
|
||
|
|
"\x14QuotationCopyRequest\x12D\n" +
|
||
|
|
"\acommand\x18\x01 \x01(\v2*.lightcore.shop.crm_agent.v1.CommandHeaderR\acommand\x12!\n" +
|
||
|
|
"\fquotation_id\x18\x02 \x01(\x04R\vquotationId\x12\x14\n" +
|
||
|
|
"\x05title\x18\x03 \x01(\tR\x05title\"\x96\x01\n" +
|
||
|
|
"\x15QuotationTitleRequest\x12D\n" +
|
||
|
|
"\acommand\x18\x01 \x01(\v2*.lightcore.shop.crm_agent.v1.CommandHeaderR\acommand\x12!\n" +
|
||
|
|
"\fquotation_id\x18\x02 \x01(\x04R\vquotationId\x12\x14\n" +
|
||
|
|
"\x05title\x18\x03 \x01(\tR\x05title\"\x99\x01\n" +
|
||
|
|
"\x16QuotationStatusRequest\x12D\n" +
|
||
|
|
"\acommand\x18\x01 \x01(\v2*.lightcore.shop.crm_agent.v1.CommandHeaderR\acommand\x12!\n" +
|
||
|
|
"\fquotation_id\x18\x02 \x01(\x04R\vquotationId\x12\x16\n" +
|
||
|
|
"\x06status\x18\x03 \x01(\tR\x06status\"\x7f\n" +
|
||
|
|
"\x14QuotationLockRequest\x12D\n" +
|
||
|
|
"\acommand\x18\x01 \x01(\v2*.lightcore.shop.crm_agent.v1.CommandHeaderR\acommand\x12!\n" +
|
||
|
|
"\fquotation_id\x18\x02 \x01(\x04R\vquotationId\"B\n" +
|
||
|
|
"\x1dQuotationDeletePreviewRequest\x12!\n" +
|
||
|
|
"\fquotation_id\x18\x01 \x01(\x04R\vquotationId\"\xc1\x01\n" +
|
||
|
|
"\x16QuotationDeleteRequest\x12D\n" +
|
||
|
|
"\acommand\x18\x01 \x01(\v2*.lightcore.shop.crm_agent.v1.CommandHeaderR\acommand\x12!\n" +
|
||
|
|
"\fquotation_id\x18\x02 \x01(\x04R\vquotationId\x12\x1a\n" +
|
||
|
|
"\brevision\x18\x03 \x01(\x05R\brevision\x12\"\n" +
|
||
|
|
"\rchange_set_id\x18\x04 \x01(\tR\vchangeSetId\"\x8e\x03\n" +
|
||
|
|
"\n" +
|
||
|
|
"CatalogSku\x12\x0e\n" +
|
||
|
|
"\x02id\x18\x01 \x01(\x04R\x02id\x12\x1d\n" +
|
||
|
|
"\n" +
|
||
|
|
"product_id\x18\x02 \x01(\x04R\tproductId\x12\x19\n" +
|
||
|
|
"\bsku_code\x18\x03 \x01(\tR\askuCode\x12\x19\n" +
|
||
|
|
"\bsku_name\x18\x04 \x01(\tR\askuName\x12!\n" +
|
||
|
|
"\fproduct_name\x18\x05 \x01(\tR\vproductName\x12%\n" +
|
||
|
|
"\x0equotation_name\x18\x06 \x01(\tR\rquotationName\x12#\n" +
|
||
|
|
"\rcategory_name\x18\a \x01(\tR\fcategoryName\x12)\n" +
|
||
|
|
"\x10spec_combination\x18\b \x01(\tR\x0fspecCombination\x12\x1f\n" +
|
||
|
|
"\vprice_cents\x18\t \x01(\x03R\n" +
|
||
|
|
"priceCents\x12(\n" +
|
||
|
|
"\x10cost_price_cents\x18\n" +
|
||
|
|
" \x01(\x03R\x0ecostPriceCents\x12\x19\n" +
|
||
|
|
"\bimage_id\x18\v \x01(\x04R\aimageId\x12\x1b\n" +
|
||
|
|
"\timage_url\x18\f \x01(\tR\bimageUrl\"\x95\x02\n" +
|
||
|
|
"\x0eCatalogProduct\x12\x0e\n" +
|
||
|
|
"\x02id\x18\x01 \x01(\x04R\x02id\x12\x12\n" +
|
||
|
|
"\x04name\x18\x02 \x01(\tR\x04name\x12%\n" +
|
||
|
|
"\x0equotation_name\x18\x03 \x01(\tR\rquotationName\x12#\n" +
|
||
|
|
"\rcategory_name\x18\x04 \x01(\tR\fcategoryName\x12(\n" +
|
||
|
|
"\x10root_category_id\x18\x05 \x01(\x04R\x0erootCategoryId\x12,\n" +
|
||
|
|
"\x12root_category_name\x18\x06 \x01(\tR\x10rootCategoryName\x12;\n" +
|
||
|
|
"\x04skus\x18\a \x03(\v2'.lightcore.shop.crm_agent.v1.CatalogSkuR\x04skus\"\xc7\x01\n" +
|
||
|
|
"\x14CatalogSearchRequest\x12\x18\n" +
|
||
|
|
"\akeyword\x18\x01 \x01(\tR\akeyword\x12\x1f\n" +
|
||
|
|
"\vcategory_id\x18\x02 \x01(\x04R\n" +
|
||
|
|
"categoryId\x12(\n" +
|
||
|
|
"\x10root_category_id\x18\x03 \x01(\x04R\x0erootCategoryId\x12\x19\n" +
|
||
|
|
"\bbrand_id\x18\x04 \x01(\x04R\abrandId\x12\x12\n" +
|
||
|
|
"\x04page\x18\x05 \x01(\x05R\x04page\x12\x1b\n" +
|
||
|
|
"\tpage_size\x18\x06 \x01(\x05R\bpageSize\"\xe0\x01\n" +
|
||
|
|
"\x15CatalogSearchResponse\x12C\n" +
|
||
|
|
"\x06header\x18\x01 \x01(\v2+.lightcore.shop.crm_agent.v1.ResponseHeaderR\x06header\x12G\n" +
|
||
|
|
"\bproducts\x18\x02 \x03(\v2+.lightcore.shop.crm_agent.v1.CatalogProductR\bproducts\x129\n" +
|
||
|
|
"\x04page\x18\x03 \x01(\v2%.lightcore.shop.crm_agent.v1.PageInfoR\x04page\"\xfa\x01\n" +
|
||
|
|
"\vEditSession\x12\x1d\n" +
|
||
|
|
"\n" +
|
||
|
|
"session_id\x18\x01 \x01(\tR\tsessionId\x12!\n" +
|
||
|
|
"\fquotation_id\x18\x02 \x01(\x04R\vquotationId\x12\x1f\n" +
|
||
|
|
"\vartifact_id\x18\x03 \x01(\x04R\n" +
|
||
|
|
"artifactId\x12#\n" +
|
||
|
|
"\rbase_revision\x18\x04 \x01(\x05R\fbaseRevision\x12\x1d\n" +
|
||
|
|
"\n" +
|
||
|
|
"expires_at\x18\x05 \x01(\x03R\texpiresAt\x12D\n" +
|
||
|
|
"\tquotation\x18\x06 \x01(\v2&.lightcore.shop.crm_agent.v1.QuotationR\tquotation\"\x84\x01\n" +
|
||
|
|
"\x19QuotationEditBeginRequest\x12D\n" +
|
||
|
|
"\acommand\x18\x01 \x01(\v2*.lightcore.shop.crm_agent.v1.CommandHeaderR\acommand\x12!\n" +
|
||
|
|
"\fquotation_id\x18\x02 \x01(\x04R\vquotationId\"\x9e\x01\n" +
|
||
|
|
"\x13EditSessionResponse\x12C\n" +
|
||
|
|
"\x06header\x18\x01 \x01(\v2+.lightcore.shop.crm_agent.v1.ResponseHeaderR\x06header\x12B\n" +
|
||
|
|
"\asession\x18\x02 \x01(\v2(.lightcore.shop.crm_agent.v1.EditSessionR\asession\"D\n" +
|
||
|
|
"\bAddFloor\x12\x0e\n" +
|
||
|
|
"\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n" +
|
||
|
|
"\x04name\x18\x02 \x01(\tR\x04name\x12\x14\n" +
|
||
|
|
"\x05index\x18\x03 \x01(\x05R\x05index\"<\n" +
|
||
|
|
"\vRenameFloor\x12\x19\n" +
|
||
|
|
"\bfloor_id\x18\x01 \x01(\tR\afloorId\x12\x12\n" +
|
||
|
|
"\x04name\x18\x02 \x01(\tR\x04name\"?\n" +
|
||
|
|
"\fReorderFloor\x12\x19\n" +
|
||
|
|
"\bfloor_id\x18\x01 \x01(\tR\afloorId\x12\x14\n" +
|
||
|
|
"\x05index\x18\x02 \x01(\x05R\x05index\"B\n" +
|
||
|
|
"\vRemoveFloor\x12\x19\n" +
|
||
|
|
"\bfloor_id\x18\x01 \x01(\tR\afloorId\x12\x18\n" +
|
||
|
|
"\acascade\x18\x02 \x01(\bR\acascade\"_\n" +
|
||
|
|
"\bAddSpace\x12\x0e\n" +
|
||
|
|
"\x02id\x18\x01 \x01(\tR\x02id\x12\x19\n" +
|
||
|
|
"\bfloor_id\x18\x02 \x01(\tR\afloorId\x12\x12\n" +
|
||
|
|
"\x04name\x18\x03 \x01(\tR\x04name\x12\x14\n" +
|
||
|
|
"\x05index\x18\x04 \x01(\x05R\x05index\"<\n" +
|
||
|
|
"\vRenameSpace\x12\x19\n" +
|
||
|
|
"\bspace_id\x18\x01 \x01(\tR\aspaceId\x12\x12\n" +
|
||
|
|
"\x04name\x18\x02 \x01(\tR\x04name\"d\n" +
|
||
|
|
"\tMoveSpace\x12\x19\n" +
|
||
|
|
"\bspace_id\x18\x01 \x01(\tR\aspaceId\x12&\n" +
|
||
|
|
"\x0ftarget_floor_id\x18\x02 \x01(\tR\rtargetFloorId\x12\x14\n" +
|
||
|
|
"\x05index\x18\x03 \x01(\x05R\x05index\"?\n" +
|
||
|
|
"\fReorderSpace\x12\x19\n" +
|
||
|
|
"\bspace_id\x18\x01 \x01(\tR\aspaceId\x12\x14\n" +
|
||
|
|
"\x05index\x18\x02 \x01(\x05R\x05index\"B\n" +
|
||
|
|
"\vRemoveSpace\x12\x19\n" +
|
||
|
|
"\bspace_id\x18\x01 \x01(\tR\aspaceId\x12\x18\n" +
|
||
|
|
"\acascade\x18\x02 \x01(\bR\acascade\"\xb4\x01\n" +
|
||
|
|
"\vAddCategory\x12\x0e\n" +
|
||
|
|
"\x02id\x18\x01 \x01(\tR\x02id\x12\x19\n" +
|
||
|
|
"\bfloor_id\x18\x02 \x01(\tR\afloorId\x12\x19\n" +
|
||
|
|
"\bspace_id\x18\x03 \x01(\tR\aspaceId\x12\x12\n" +
|
||
|
|
"\x04name\x18\x04 \x01(\tR\x04name\x12\x16\n" +
|
||
|
|
"\x06source\x18\x05 \x01(\tR\x06source\x12\x1d\n" +
|
||
|
|
"\n" +
|
||
|
|
"source_key\x18\x06 \x01(\tR\tsourceKey\x12\x14\n" +
|
||
|
|
"\x05index\x18\a \x01(\x05R\x05index\"E\n" +
|
||
|
|
"\x0eRenameCategory\x12\x1f\n" +
|
||
|
|
"\vcategory_id\x18\x01 \x01(\tR\n" +
|
||
|
|
"categoryId\x12\x12\n" +
|
||
|
|
"\x04name\x18\x02 \x01(\tR\x04name\"H\n" +
|
||
|
|
"\x0fReorderCategory\x12\x1f\n" +
|
||
|
|
"\vcategory_id\x18\x01 \x01(\tR\n" +
|
||
|
|
"categoryId\x12\x14\n" +
|
||
|
|
"\x05index\x18\x02 \x01(\x05R\x05index\"K\n" +
|
||
|
|
"\x0eRemoveCategory\x12\x1f\n" +
|
||
|
|
"\vcategory_id\x18\x01 \x01(\tR\n" +
|
||
|
|
"categoryId\x12\x18\n" +
|
||
|
|
"\acascade\x18\x02 \x01(\bR\acascade\"\x96\x02\n" +
|
||
|
|
"\x0eAddCatalogLine\x12\x19\n" +
|
||
|
|
"\bfloor_id\x18\x01 \x01(\tR\afloorId\x12\x19\n" +
|
||
|
|
"\bspace_id\x18\x02 \x01(\tR\aspaceId\x12\x1f\n" +
|
||
|
|
"\vcategory_id\x18\x03 \x01(\tR\n" +
|
||
|
|
"categoryId\x12\x15\n" +
|
||
|
|
"\x06sku_id\x18\x04 \x01(\x04R\x05skuId\x12\x1a\n" +
|
||
|
|
"\bquantity\x18\x05 \x01(\x01R\bquantity\x12#\n" +
|
||
|
|
"\rdiscount_rate\x18\x06 \x01(\x05R\fdiscountRate\x12'\n" +
|
||
|
|
"\x0fdiscount_amount\x18\a \x01(\x03R\x0ediscountAmount\x12\x16\n" +
|
||
|
|
"\x06remark\x18\b \x01(\tR\x06remark\x12\x14\n" +
|
||
|
|
"\x05index\x18\t \x01(\x05R\x05index\"\x86\x03\n" +
|
||
|
|
"\rAddCustomLine\x12\x19\n" +
|
||
|
|
"\bfloor_id\x18\x01 \x01(\tR\afloorId\x12\x19\n" +
|
||
|
|
"\bspace_id\x18\x02 \x01(\tR\aspaceId\x12\x1f\n" +
|
||
|
|
"\vcategory_id\x18\x03 \x01(\tR\n" +
|
||
|
|
"categoryId\x12\x1d\n" +
|
||
|
|
"\n" +
|
||
|
|
"goods_name\x18\x04 \x01(\tR\tgoodsName\x12)\n" +
|
||
|
|
"\x10spec_combination\x18\x05 \x01(\tR\x0fspecCombination\x12\x1a\n" +
|
||
|
|
"\bquantity\x18\x06 \x01(\x01R\bquantity\x12\x1d\n" +
|
||
|
|
"\n" +
|
||
|
|
"unit_price\x18\a \x01(\x03R\tunitPrice\x12\x1d\n" +
|
||
|
|
"\n" +
|
||
|
|
"cost_price\x18\b \x01(\x03R\tcostPrice\x12#\n" +
|
||
|
|
"\rdiscount_rate\x18\t \x01(\x05R\fdiscountRate\x12'\n" +
|
||
|
|
"\x0fdiscount_amount\x18\n" +
|
||
|
|
" \x01(\x03R\x0ediscountAmount\x12\x16\n" +
|
||
|
|
"\x06remark\x18\v \x01(\tR\x06remark\x12\x14\n" +
|
||
|
|
"\x05index\x18\f \x01(\x05R\x05index\"\xd7\x03\n" +
|
||
|
|
"\n" +
|
||
|
|
"UpdateLine\x12\x17\n" +
|
||
|
|
"\aline_id\x18\x01 \x01(\tR\x06lineId\x12\"\n" +
|
||
|
|
"\n" +
|
||
|
|
"goods_name\x18\x02 \x01(\tH\x00R\tgoodsName\x88\x01\x01\x12.\n" +
|
||
|
|
"\x10spec_combination\x18\x03 \x01(\tH\x01R\x0fspecCombination\x88\x01\x01\x12\x1f\n" +
|
||
|
|
"\bquantity\x18\x04 \x01(\x01H\x02R\bquantity\x88\x01\x01\x12\"\n" +
|
||
|
|
"\n" +
|
||
|
|
"unit_price\x18\x05 \x01(\x03H\x03R\tunitPrice\x88\x01\x01\x12\"\n" +
|
||
|
|
"\n" +
|
||
|
|
"cost_price\x18\x06 \x01(\x03H\x04R\tcostPrice\x88\x01\x01\x12(\n" +
|
||
|
|
"\rdiscount_rate\x18\a \x01(\x05H\x05R\fdiscountRate\x88\x01\x01\x12,\n" +
|
||
|
|
"\x0fdiscount_amount\x18\b \x01(\x03H\x06R\x0ediscountAmount\x88\x01\x01\x12\x1b\n" +
|
||
|
|
"\x06remark\x18\t \x01(\tH\aR\x06remark\x88\x01\x01B\r\n" +
|
||
|
|
"\v_goods_nameB\x13\n" +
|
||
|
|
"\x11_spec_combinationB\v\n" +
|
||
|
|
"\t_quantityB\r\n" +
|
||
|
|
"\v_unit_priceB\r\n" +
|
||
|
|
"\v_cost_priceB\x10\n" +
|
||
|
|
"\x0e_discount_rateB\x12\n" +
|
||
|
|
"\x10_discount_amountB\t\n" +
|
||
|
|
"\a_remark\"\x90\x01\n" +
|
||
|
|
"\bMoveLine\x12\x17\n" +
|
||
|
|
"\aline_id\x18\x01 \x01(\tR\x06lineId\x12\x19\n" +
|
||
|
|
"\bfloor_id\x18\x02 \x01(\tR\afloorId\x12\x19\n" +
|
||
|
|
"\bspace_id\x18\x03 \x01(\tR\aspaceId\x12\x1f\n" +
|
||
|
|
"\vcategory_id\x18\x04 \x01(\tR\n" +
|
||
|
|
"categoryId\x12\x14\n" +
|
||
|
|
"\x05index\x18\x05 \x01(\x05R\x05index\"<\n" +
|
||
|
|
"\vReorderLine\x12\x17\n" +
|
||
|
|
"\aline_id\x18\x01 \x01(\tR\x06lineId\x12\x14\n" +
|
||
|
|
"\x05index\x18\x02 \x01(\x05R\x05index\"@\n" +
|
||
|
|
"\rSetLineActive\x12\x17\n" +
|
||
|
|
"\aline_id\x18\x01 \x01(\tR\x06lineId\x12\x16\n" +
|
||
|
|
"\x06active\x18\x02 \x01(\bR\x06active\"%\n" +
|
||
|
|
"\n" +
|
||
|
|
"RemoveLine\x12\x17\n" +
|
||
|
|
"\aline_id\x18\x01 \x01(\tR\x06lineId\"\xa1\x01\n" +
|
||
|
|
"\x06AddFee\x12\x12\n" +
|
||
|
|
"\x04name\x18\x01 \x01(\tR\x04name\x12\x12\n" +
|
||
|
|
"\x04type\x18\x02 \x01(\tR\x04type\x12!\n" +
|
||
|
|
"\ffixed_amount\x18\x03 \x01(\x03R\vfixedAmount\x12\x1e\n" +
|
||
|
|
"\n" +
|
||
|
|
"percentage\x18\x04 \x01(\x05R\n" +
|
||
|
|
"percentage\x12\x14\n" +
|
||
|
|
"\x05index\x18\x05 \x01(\x05R\x05index\x12\x16\n" +
|
||
|
|
"\x06remark\x18\x06 \x01(\tR\x06remark\"\xfa\x01\n" +
|
||
|
|
"\tUpdateFee\x12\x14\n" +
|
||
|
|
"\x05index\x18\x01 \x01(\x05R\x05index\x12\x17\n" +
|
||
|
|
"\x04name\x18\x02 \x01(\tH\x00R\x04name\x88\x01\x01\x12\x17\n" +
|
||
|
|
"\x04type\x18\x03 \x01(\tH\x01R\x04type\x88\x01\x01\x12&\n" +
|
||
|
|
"\ffixed_amount\x18\x04 \x01(\x03H\x02R\vfixedAmount\x88\x01\x01\x12#\n" +
|
||
|
|
"\n" +
|
||
|
|
"percentage\x18\x05 \x01(\x05H\x03R\n" +
|
||
|
|
"percentage\x88\x01\x01\x12\x1b\n" +
|
||
|
|
"\x06remark\x18\x06 \x01(\tH\x04R\x06remark\x88\x01\x01B\a\n" +
|
||
|
|
"\x05_nameB\a\n" +
|
||
|
|
"\x05_typeB\x0f\n" +
|
||
|
|
"\r_fixed_amountB\r\n" +
|
||
|
|
"\v_percentageB\t\n" +
|
||
|
|
"\a_remark\"E\n" +
|
||
|
|
"\n" +
|
||
|
|
"ReorderFee\x12\x14\n" +
|
||
|
|
"\x05index\x18\x01 \x01(\x05R\x05index\x12!\n" +
|
||
|
|
"\ftarget_index\x18\x02 \x01(\x05R\vtargetIndex\"!\n" +
|
||
|
|
"\tRemoveFee\x12\x14\n" +
|
||
|
|
"\x05index\x18\x01 \x01(\x05R\x05index\"\xbe\x02\n" +
|
||
|
|
"\n" +
|
||
|
|
"SetPricing\x12(\n" +
|
||
|
|
"\rdiscount_rate\x18\x01 \x01(\x05H\x00R\fdiscountRate\x88\x01\x01\x12,\n" +
|
||
|
|
"\x0fdiscount_amount\x18\x02 \x01(\x03H\x01R\x0ediscountAmount\x88\x01\x01\x12(\n" +
|
||
|
|
"\ractual_amount\x18\x03 \x01(\x03H\x02R\factualAmount\x88\x01\x01\x125\n" +
|
||
|
|
"\x14has_price_adjustment\x18\x04 \x01(\bH\x03R\x12hasPriceAdjustment\x88\x01\x01\x12\x1b\n" +
|
||
|
|
"\x06remark\x18\x05 \x01(\tH\x04R\x06remark\x88\x01\x01B\x10\n" +
|
||
|
|
"\x0e_discount_rateB\x12\n" +
|
||
|
|
"\x10_discount_amountB\x10\n" +
|
||
|
|
"\x0e_actual_amountB\x17\n" +
|
||
|
|
"\x15_has_price_adjustmentB\t\n" +
|
||
|
|
"\a_remark\"\xb5\x10\n" +
|
||
|
|
"\x1bQuotationEditCommandRequest\x12D\n" +
|
||
|
|
"\acommand\x18\x01 \x01(\v2*.lightcore.shop.crm_agent.v1.CommandHeaderR\acommand\x12\x1d\n" +
|
||
|
|
"\n" +
|
||
|
|
"session_id\x18\x02 \x01(\tR\tsessionId\x12D\n" +
|
||
|
|
"\tadd_floor\x18\n" +
|
||
|
|
" \x01(\v2%.lightcore.shop.crm_agent.v1.AddFloorH\x00R\baddFloor\x12M\n" +
|
||
|
|
"\frename_floor\x18\v \x01(\v2(.lightcore.shop.crm_agent.v1.RenameFloorH\x00R\vrenameFloor\x12P\n" +
|
||
|
|
"\rreorder_floor\x18\f \x01(\v2).lightcore.shop.crm_agent.v1.ReorderFloorH\x00R\freorderFloor\x12M\n" +
|
||
|
|
"\fremove_floor\x18\r \x01(\v2(.lightcore.shop.crm_agent.v1.RemoveFloorH\x00R\vremoveFloor\x12D\n" +
|
||
|
|
"\tadd_space\x18\x0e \x01(\v2%.lightcore.shop.crm_agent.v1.AddSpaceH\x00R\baddSpace\x12M\n" +
|
||
|
|
"\frename_space\x18\x0f \x01(\v2(.lightcore.shop.crm_agent.v1.RenameSpaceH\x00R\vrenameSpace\x12G\n" +
|
||
|
|
"\n" +
|
||
|
|
"move_space\x18\x10 \x01(\v2&.lightcore.shop.crm_agent.v1.MoveSpaceH\x00R\tmoveSpace\x12P\n" +
|
||
|
|
"\rreorder_space\x18\x11 \x01(\v2).lightcore.shop.crm_agent.v1.ReorderSpaceH\x00R\freorderSpace\x12M\n" +
|
||
|
|
"\fremove_space\x18\x12 \x01(\v2(.lightcore.shop.crm_agent.v1.RemoveSpaceH\x00R\vremoveSpace\x12M\n" +
|
||
|
|
"\fadd_category\x18\x13 \x01(\v2(.lightcore.shop.crm_agent.v1.AddCategoryH\x00R\vaddCategory\x12V\n" +
|
||
|
|
"\x0frename_category\x18\x14 \x01(\v2+.lightcore.shop.crm_agent.v1.RenameCategoryH\x00R\x0erenameCategory\x12Y\n" +
|
||
|
|
"\x10reorder_category\x18\x15 \x01(\v2,.lightcore.shop.crm_agent.v1.ReorderCategoryH\x00R\x0freorderCategory\x12V\n" +
|
||
|
|
"\x0fremove_category\x18\x16 \x01(\v2+.lightcore.shop.crm_agent.v1.RemoveCategoryH\x00R\x0eremoveCategory\x12W\n" +
|
||
|
|
"\x10add_catalog_line\x18\x17 \x01(\v2+.lightcore.shop.crm_agent.v1.AddCatalogLineH\x00R\x0eaddCatalogLine\x12T\n" +
|
||
|
|
"\x0fadd_custom_line\x18\x18 \x01(\v2*.lightcore.shop.crm_agent.v1.AddCustomLineH\x00R\raddCustomLine\x12J\n" +
|
||
|
|
"\vupdate_line\x18\x19 \x01(\v2'.lightcore.shop.crm_agent.v1.UpdateLineH\x00R\n" +
|
||
|
|
"updateLine\x12D\n" +
|
||
|
|
"\tmove_line\x18\x1a \x01(\v2%.lightcore.shop.crm_agent.v1.MoveLineH\x00R\bmoveLine\x12M\n" +
|
||
|
|
"\freorder_line\x18\x1b \x01(\v2(.lightcore.shop.crm_agent.v1.ReorderLineH\x00R\vreorderLine\x12T\n" +
|
||
|
|
"\x0fset_line_active\x18\x1c \x01(\v2*.lightcore.shop.crm_agent.v1.SetLineActiveH\x00R\rsetLineActive\x12J\n" +
|
||
|
|
"\vremove_line\x18\x1d \x01(\v2'.lightcore.shop.crm_agent.v1.RemoveLineH\x00R\n" +
|
||
|
|
"removeLine\x12>\n" +
|
||
|
|
"\aadd_fee\x18\x1e \x01(\v2#.lightcore.shop.crm_agent.v1.AddFeeH\x00R\x06addFee\x12G\n" +
|
||
|
|
"\n" +
|
||
|
|
"update_fee\x18\x1f \x01(\v2&.lightcore.shop.crm_agent.v1.UpdateFeeH\x00R\tupdateFee\x12J\n" +
|
||
|
|
"\vreorder_fee\x18 \x01(\v2'.lightcore.shop.crm_agent.v1.ReorderFeeH\x00R\n" +
|
||
|
|
"reorderFee\x12G\n" +
|
||
|
|
"\n" +
|
||
|
|
"remove_fee\x18! \x01(\v2&.lightcore.shop.crm_agent.v1.RemoveFeeH\x00R\tremoveFee\x12J\n" +
|
||
|
|
"\vset_pricing\x18\" \x01(\v2'.lightcore.shop.crm_agent.v1.SetPricingH\x00R\n" +
|
||
|
|
"setPricingB\x06\n" +
|
||
|
|
"\x04edit\"\xd3\x01\n" +
|
||
|
|
"\x1cQuotationEditCommandResponse\x12C\n" +
|
||
|
|
"\x06header\x18\x01 \x01(\v2+.lightcore.shop.crm_agent.v1.ResponseHeaderR\x06header\x12B\n" +
|
||
|
|
"\asession\x18\x02 \x01(\v2(.lightcore.shop.crm_agent.v1.EditSessionR\asession\x12*\n" +
|
||
|
|
"\x11affected_line_ids\x18\x03 \x03(\tR\x0faffectedLineIds\"<\n" +
|
||
|
|
"\x1bQuotationEditPreviewRequest\x12\x1d\n" +
|
||
|
|
"\n" +
|
||
|
|
"session_id\x18\x01 \x01(\tR\tsessionId\"\x88\x02\n" +
|
||
|
|
"\x1cQuotationEditPreviewResponse\x12C\n" +
|
||
|
|
"\x06header\x18\x01 \x01(\v2+.lightcore.shop.crm_agent.v1.ResponseHeaderR\x06header\x12\x1d\n" +
|
||
|
|
"\n" +
|
||
|
|
"session_id\x18\x02 \x01(\tR\tsessionId\x12\x1a\n" +
|
||
|
|
"\brevision\x18\x03 \x01(\x05R\brevision\x12\"\n" +
|
||
|
|
"\rchange_set_id\x18\x04 \x01(\tR\vchangeSetId\x12D\n" +
|
||
|
|
"\tquotation\x18\x05 \x01(\v2&.lightcore.shop.crm_agent.v1.QuotationR\tquotation\"\xc1\x01\n" +
|
||
|
|
"\x1aQuotationEditCommitRequest\x12D\n" +
|
||
|
|
"\acommand\x18\x01 \x01(\v2*.lightcore.shop.crm_agent.v1.CommandHeaderR\acommand\x12\x1d\n" +
|
||
|
|
"\n" +
|
||
|
|
"session_id\x18\x02 \x01(\tR\tsessionId\x12\x1a\n" +
|
||
|
|
"\brevision\x18\x03 \x01(\x05R\brevision\x12\"\n" +
|
||
|
|
"\rchange_set_id\x18\x04 \x01(\tR\vchangeSetId\"\x82\x01\n" +
|
||
|
|
"\x1bQuotationEditDiscardRequest\x12D\n" +
|
||
|
|
"\acommand\x18\x01 \x01(\v2*.lightcore.shop.crm_agent.v1.CommandHeaderR\acommand\x12\x1d\n" +
|
||
|
|
"\n" +
|
||
|
|
"session_id\x18\x02 \x01(\tR\tsessionIdB;Z9light/application/shop/interfaces/crm_agent_proto/dto;dtob\x06proto3"
|
||
|
|
|
||
|
|
var (
|
||
|
|
file_shop_crm_agent_proto_rawDescOnce sync.Once
|
||
|
|
file_shop_crm_agent_proto_rawDescData []byte
|
||
|
|
)
|
||
|
|
|
||
|
|
func file_shop_crm_agent_proto_rawDescGZIP() []byte {
|
||
|
|
file_shop_crm_agent_proto_rawDescOnce.Do(func() {
|
||
|
|
file_shop_crm_agent_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_shop_crm_agent_proto_rawDesc), len(file_shop_crm_agent_proto_rawDesc)))
|
||
|
|
})
|
||
|
|
return file_shop_crm_agent_proto_rawDescData
|
||
|
|
}
|
||
|
|
|
||
|
|
var file_shop_crm_agent_proto_msgTypes = make([]protoimpl.MessageInfo, 75)
|
||
|
|
var file_shop_crm_agent_proto_goTypes = []any{
|
||
|
|
(*ResponseHeader)(nil), // 0: lightcore.shop.crm_agent.v1.ResponseHeader
|
||
|
|
(*CommandHeader)(nil), // 1: lightcore.shop.crm_agent.v1.CommandHeader
|
||
|
|
(*CommonResponse)(nil), // 2: lightcore.shop.crm_agent.v1.CommonResponse
|
||
|
|
(*PageInfo)(nil), // 3: lightcore.shop.crm_agent.v1.PageInfo
|
||
|
|
(*Customer)(nil), // 4: lightcore.shop.crm_agent.v1.Customer
|
||
|
|
(*CustomerListRequest)(nil), // 5: lightcore.shop.crm_agent.v1.CustomerListRequest
|
||
|
|
(*CustomerListResponse)(nil), // 6: lightcore.shop.crm_agent.v1.CustomerListResponse
|
||
|
|
(*Project)(nil), // 7: lightcore.shop.crm_agent.v1.Project
|
||
|
|
(*ProjectListRequest)(nil), // 8: lightcore.shop.crm_agent.v1.ProjectListRequest
|
||
|
|
(*ProjectListResponse)(nil), // 9: lightcore.shop.crm_agent.v1.ProjectListResponse
|
||
|
|
(*ProjectGetRequest)(nil), // 10: lightcore.shop.crm_agent.v1.ProjectGetRequest
|
||
|
|
(*ProjectResponse)(nil), // 11: lightcore.shop.crm_agent.v1.ProjectResponse
|
||
|
|
(*ProjectCreateRequest)(nil), // 12: lightcore.shop.crm_agent.v1.ProjectCreateRequest
|
||
|
|
(*ProjectUpdateRequest)(nil), // 13: lightcore.shop.crm_agent.v1.ProjectUpdateRequest
|
||
|
|
(*ProjectStatusRequest)(nil), // 14: lightcore.shop.crm_agent.v1.ProjectStatusRequest
|
||
|
|
(*ProjectDeletePreviewRequest)(nil), // 15: lightcore.shop.crm_agent.v1.ProjectDeletePreviewRequest
|
||
|
|
(*DeletePreview)(nil), // 16: lightcore.shop.crm_agent.v1.DeletePreview
|
||
|
|
(*DeletePreviewResponse)(nil), // 17: lightcore.shop.crm_agent.v1.DeletePreviewResponse
|
||
|
|
(*ProjectDeleteRequest)(nil), // 18: lightcore.shop.crm_agent.v1.ProjectDeleteRequest
|
||
|
|
(*QuotationSummary)(nil), // 19: lightcore.shop.crm_agent.v1.QuotationSummary
|
||
|
|
(*QuotationCategory)(nil), // 20: lightcore.shop.crm_agent.v1.QuotationCategory
|
||
|
|
(*QuotationSpace)(nil), // 21: lightcore.shop.crm_agent.v1.QuotationSpace
|
||
|
|
(*QuotationFloor)(nil), // 22: lightcore.shop.crm_agent.v1.QuotationFloor
|
||
|
|
(*QuotationLine)(nil), // 23: lightcore.shop.crm_agent.v1.QuotationLine
|
||
|
|
(*QuotationFee)(nil), // 24: lightcore.shop.crm_agent.v1.QuotationFee
|
||
|
|
(*Quotation)(nil), // 25: lightcore.shop.crm_agent.v1.Quotation
|
||
|
|
(*QuotationListRequest)(nil), // 26: lightcore.shop.crm_agent.v1.QuotationListRequest
|
||
|
|
(*QuotationListResponse)(nil), // 27: lightcore.shop.crm_agent.v1.QuotationListResponse
|
||
|
|
(*QuotationGetRequest)(nil), // 28: lightcore.shop.crm_agent.v1.QuotationGetRequest
|
||
|
|
(*QuotationResponse)(nil), // 29: lightcore.shop.crm_agent.v1.QuotationResponse
|
||
|
|
(*QuotationCreateRequest)(nil), // 30: lightcore.shop.crm_agent.v1.QuotationCreateRequest
|
||
|
|
(*QuotationCopyRequest)(nil), // 31: lightcore.shop.crm_agent.v1.QuotationCopyRequest
|
||
|
|
(*QuotationTitleRequest)(nil), // 32: lightcore.shop.crm_agent.v1.QuotationTitleRequest
|
||
|
|
(*QuotationStatusRequest)(nil), // 33: lightcore.shop.crm_agent.v1.QuotationStatusRequest
|
||
|
|
(*QuotationLockRequest)(nil), // 34: lightcore.shop.crm_agent.v1.QuotationLockRequest
|
||
|
|
(*QuotationDeletePreviewRequest)(nil), // 35: lightcore.shop.crm_agent.v1.QuotationDeletePreviewRequest
|
||
|
|
(*QuotationDeleteRequest)(nil), // 36: lightcore.shop.crm_agent.v1.QuotationDeleteRequest
|
||
|
|
(*CatalogSku)(nil), // 37: lightcore.shop.crm_agent.v1.CatalogSku
|
||
|
|
(*CatalogProduct)(nil), // 38: lightcore.shop.crm_agent.v1.CatalogProduct
|
||
|
|
(*CatalogSearchRequest)(nil), // 39: lightcore.shop.crm_agent.v1.CatalogSearchRequest
|
||
|
|
(*CatalogSearchResponse)(nil), // 40: lightcore.shop.crm_agent.v1.CatalogSearchResponse
|
||
|
|
(*EditSession)(nil), // 41: lightcore.shop.crm_agent.v1.EditSession
|
||
|
|
(*QuotationEditBeginRequest)(nil), // 42: lightcore.shop.crm_agent.v1.QuotationEditBeginRequest
|
||
|
|
(*EditSessionResponse)(nil), // 43: lightcore.shop.crm_agent.v1.EditSessionResponse
|
||
|
|
(*AddFloor)(nil), // 44: lightcore.shop.crm_agent.v1.AddFloor
|
||
|
|
(*RenameFloor)(nil), // 45: lightcore.shop.crm_agent.v1.RenameFloor
|
||
|
|
(*ReorderFloor)(nil), // 46: lightcore.shop.crm_agent.v1.ReorderFloor
|
||
|
|
(*RemoveFloor)(nil), // 47: lightcore.shop.crm_agent.v1.RemoveFloor
|
||
|
|
(*AddSpace)(nil), // 48: lightcore.shop.crm_agent.v1.AddSpace
|
||
|
|
(*RenameSpace)(nil), // 49: lightcore.shop.crm_agent.v1.RenameSpace
|
||
|
|
(*MoveSpace)(nil), // 50: lightcore.shop.crm_agent.v1.MoveSpace
|
||
|
|
(*ReorderSpace)(nil), // 51: lightcore.shop.crm_agent.v1.ReorderSpace
|
||
|
|
(*RemoveSpace)(nil), // 52: lightcore.shop.crm_agent.v1.RemoveSpace
|
||
|
|
(*AddCategory)(nil), // 53: lightcore.shop.crm_agent.v1.AddCategory
|
||
|
|
(*RenameCategory)(nil), // 54: lightcore.shop.crm_agent.v1.RenameCategory
|
||
|
|
(*ReorderCategory)(nil), // 55: lightcore.shop.crm_agent.v1.ReorderCategory
|
||
|
|
(*RemoveCategory)(nil), // 56: lightcore.shop.crm_agent.v1.RemoveCategory
|
||
|
|
(*AddCatalogLine)(nil), // 57: lightcore.shop.crm_agent.v1.AddCatalogLine
|
||
|
|
(*AddCustomLine)(nil), // 58: lightcore.shop.crm_agent.v1.AddCustomLine
|
||
|
|
(*UpdateLine)(nil), // 59: lightcore.shop.crm_agent.v1.UpdateLine
|
||
|
|
(*MoveLine)(nil), // 60: lightcore.shop.crm_agent.v1.MoveLine
|
||
|
|
(*ReorderLine)(nil), // 61: lightcore.shop.crm_agent.v1.ReorderLine
|
||
|
|
(*SetLineActive)(nil), // 62: lightcore.shop.crm_agent.v1.SetLineActive
|
||
|
|
(*RemoveLine)(nil), // 63: lightcore.shop.crm_agent.v1.RemoveLine
|
||
|
|
(*AddFee)(nil), // 64: lightcore.shop.crm_agent.v1.AddFee
|
||
|
|
(*UpdateFee)(nil), // 65: lightcore.shop.crm_agent.v1.UpdateFee
|
||
|
|
(*ReorderFee)(nil), // 66: lightcore.shop.crm_agent.v1.ReorderFee
|
||
|
|
(*RemoveFee)(nil), // 67: lightcore.shop.crm_agent.v1.RemoveFee
|
||
|
|
(*SetPricing)(nil), // 68: lightcore.shop.crm_agent.v1.SetPricing
|
||
|
|
(*QuotationEditCommandRequest)(nil), // 69: lightcore.shop.crm_agent.v1.QuotationEditCommandRequest
|
||
|
|
(*QuotationEditCommandResponse)(nil), // 70: lightcore.shop.crm_agent.v1.QuotationEditCommandResponse
|
||
|
|
(*QuotationEditPreviewRequest)(nil), // 71: lightcore.shop.crm_agent.v1.QuotationEditPreviewRequest
|
||
|
|
(*QuotationEditPreviewResponse)(nil), // 72: lightcore.shop.crm_agent.v1.QuotationEditPreviewResponse
|
||
|
|
(*QuotationEditCommitRequest)(nil), // 73: lightcore.shop.crm_agent.v1.QuotationEditCommitRequest
|
||
|
|
(*QuotationEditDiscardRequest)(nil), // 74: lightcore.shop.crm_agent.v1.QuotationEditDiscardRequest
|
||
|
|
}
|
||
|
|
var file_shop_crm_agent_proto_depIdxs = []int32{
|
||
|
|
0, // 0: lightcore.shop.crm_agent.v1.CommonResponse.header:type_name -> lightcore.shop.crm_agent.v1.ResponseHeader
|
||
|
|
0, // 1: lightcore.shop.crm_agent.v1.CustomerListResponse.header:type_name -> lightcore.shop.crm_agent.v1.ResponseHeader
|
||
|
|
4, // 2: lightcore.shop.crm_agent.v1.CustomerListResponse.customers:type_name -> lightcore.shop.crm_agent.v1.Customer
|
||
|
|
3, // 3: lightcore.shop.crm_agent.v1.CustomerListResponse.page:type_name -> lightcore.shop.crm_agent.v1.PageInfo
|
||
|
|
0, // 4: lightcore.shop.crm_agent.v1.ProjectListResponse.header:type_name -> lightcore.shop.crm_agent.v1.ResponseHeader
|
||
|
|
7, // 5: lightcore.shop.crm_agent.v1.ProjectListResponse.projects:type_name -> lightcore.shop.crm_agent.v1.Project
|
||
|
|
3, // 6: lightcore.shop.crm_agent.v1.ProjectListResponse.page:type_name -> lightcore.shop.crm_agent.v1.PageInfo
|
||
|
|
0, // 7: lightcore.shop.crm_agent.v1.ProjectResponse.header:type_name -> lightcore.shop.crm_agent.v1.ResponseHeader
|
||
|
|
7, // 8: lightcore.shop.crm_agent.v1.ProjectResponse.project:type_name -> lightcore.shop.crm_agent.v1.Project
|
||
|
|
1, // 9: lightcore.shop.crm_agent.v1.ProjectCreateRequest.command:type_name -> lightcore.shop.crm_agent.v1.CommandHeader
|
||
|
|
1, // 10: lightcore.shop.crm_agent.v1.ProjectUpdateRequest.command:type_name -> lightcore.shop.crm_agent.v1.CommandHeader
|
||
|
|
1, // 11: lightcore.shop.crm_agent.v1.ProjectStatusRequest.command:type_name -> lightcore.shop.crm_agent.v1.CommandHeader
|
||
|
|
0, // 12: lightcore.shop.crm_agent.v1.DeletePreviewResponse.header:type_name -> lightcore.shop.crm_agent.v1.ResponseHeader
|
||
|
|
16, // 13: lightcore.shop.crm_agent.v1.DeletePreviewResponse.preview:type_name -> lightcore.shop.crm_agent.v1.DeletePreview
|
||
|
|
1, // 14: lightcore.shop.crm_agent.v1.ProjectDeleteRequest.command:type_name -> lightcore.shop.crm_agent.v1.CommandHeader
|
||
|
|
20, // 15: lightcore.shop.crm_agent.v1.QuotationSpace.categories:type_name -> lightcore.shop.crm_agent.v1.QuotationCategory
|
||
|
|
21, // 16: lightcore.shop.crm_agent.v1.QuotationFloor.spaces:type_name -> lightcore.shop.crm_agent.v1.QuotationSpace
|
||
|
|
19, // 17: lightcore.shop.crm_agent.v1.Quotation.summary:type_name -> lightcore.shop.crm_agent.v1.QuotationSummary
|
||
|
|
22, // 18: lightcore.shop.crm_agent.v1.Quotation.floors:type_name -> lightcore.shop.crm_agent.v1.QuotationFloor
|
||
|
|
23, // 19: lightcore.shop.crm_agent.v1.Quotation.lines:type_name -> lightcore.shop.crm_agent.v1.QuotationLine
|
||
|
|
24, // 20: lightcore.shop.crm_agent.v1.Quotation.fees:type_name -> lightcore.shop.crm_agent.v1.QuotationFee
|
||
|
|
0, // 21: lightcore.shop.crm_agent.v1.QuotationListResponse.header:type_name -> lightcore.shop.crm_agent.v1.ResponseHeader
|
||
|
|
19, // 22: lightcore.shop.crm_agent.v1.QuotationListResponse.quotations:type_name -> lightcore.shop.crm_agent.v1.QuotationSummary
|
||
|
|
3, // 23: lightcore.shop.crm_agent.v1.QuotationListResponse.page:type_name -> lightcore.shop.crm_agent.v1.PageInfo
|
||
|
|
0, // 24: lightcore.shop.crm_agent.v1.QuotationResponse.header:type_name -> lightcore.shop.crm_agent.v1.ResponseHeader
|
||
|
|
25, // 25: lightcore.shop.crm_agent.v1.QuotationResponse.quotation:type_name -> lightcore.shop.crm_agent.v1.Quotation
|
||
|
|
1, // 26: lightcore.shop.crm_agent.v1.QuotationCreateRequest.command:type_name -> lightcore.shop.crm_agent.v1.CommandHeader
|
||
|
|
1, // 27: lightcore.shop.crm_agent.v1.QuotationCopyRequest.command:type_name -> lightcore.shop.crm_agent.v1.CommandHeader
|
||
|
|
1, // 28: lightcore.shop.crm_agent.v1.QuotationTitleRequest.command:type_name -> lightcore.shop.crm_agent.v1.CommandHeader
|
||
|
|
1, // 29: lightcore.shop.crm_agent.v1.QuotationStatusRequest.command:type_name -> lightcore.shop.crm_agent.v1.CommandHeader
|
||
|
|
1, // 30: lightcore.shop.crm_agent.v1.QuotationLockRequest.command:type_name -> lightcore.shop.crm_agent.v1.CommandHeader
|
||
|
|
1, // 31: lightcore.shop.crm_agent.v1.QuotationDeleteRequest.command:type_name -> lightcore.shop.crm_agent.v1.CommandHeader
|
||
|
|
37, // 32: lightcore.shop.crm_agent.v1.CatalogProduct.skus:type_name -> lightcore.shop.crm_agent.v1.CatalogSku
|
||
|
|
0, // 33: lightcore.shop.crm_agent.v1.CatalogSearchResponse.header:type_name -> lightcore.shop.crm_agent.v1.ResponseHeader
|
||
|
|
38, // 34: lightcore.shop.crm_agent.v1.CatalogSearchResponse.products:type_name -> lightcore.shop.crm_agent.v1.CatalogProduct
|
||
|
|
3, // 35: lightcore.shop.crm_agent.v1.CatalogSearchResponse.page:type_name -> lightcore.shop.crm_agent.v1.PageInfo
|
||
|
|
25, // 36: lightcore.shop.crm_agent.v1.EditSession.quotation:type_name -> lightcore.shop.crm_agent.v1.Quotation
|
||
|
|
1, // 37: lightcore.shop.crm_agent.v1.QuotationEditBeginRequest.command:type_name -> lightcore.shop.crm_agent.v1.CommandHeader
|
||
|
|
0, // 38: lightcore.shop.crm_agent.v1.EditSessionResponse.header:type_name -> lightcore.shop.crm_agent.v1.ResponseHeader
|
||
|
|
41, // 39: lightcore.shop.crm_agent.v1.EditSessionResponse.session:type_name -> lightcore.shop.crm_agent.v1.EditSession
|
||
|
|
1, // 40: lightcore.shop.crm_agent.v1.QuotationEditCommandRequest.command:type_name -> lightcore.shop.crm_agent.v1.CommandHeader
|
||
|
|
44, // 41: lightcore.shop.crm_agent.v1.QuotationEditCommandRequest.add_floor:type_name -> lightcore.shop.crm_agent.v1.AddFloor
|
||
|
|
45, // 42: lightcore.shop.crm_agent.v1.QuotationEditCommandRequest.rename_floor:type_name -> lightcore.shop.crm_agent.v1.RenameFloor
|
||
|
|
46, // 43: lightcore.shop.crm_agent.v1.QuotationEditCommandRequest.reorder_floor:type_name -> lightcore.shop.crm_agent.v1.ReorderFloor
|
||
|
|
47, // 44: lightcore.shop.crm_agent.v1.QuotationEditCommandRequest.remove_floor:type_name -> lightcore.shop.crm_agent.v1.RemoveFloor
|
||
|
|
48, // 45: lightcore.shop.crm_agent.v1.QuotationEditCommandRequest.add_space:type_name -> lightcore.shop.crm_agent.v1.AddSpace
|
||
|
|
49, // 46: lightcore.shop.crm_agent.v1.QuotationEditCommandRequest.rename_space:type_name -> lightcore.shop.crm_agent.v1.RenameSpace
|
||
|
|
50, // 47: lightcore.shop.crm_agent.v1.QuotationEditCommandRequest.move_space:type_name -> lightcore.shop.crm_agent.v1.MoveSpace
|
||
|
|
51, // 48: lightcore.shop.crm_agent.v1.QuotationEditCommandRequest.reorder_space:type_name -> lightcore.shop.crm_agent.v1.ReorderSpace
|
||
|
|
52, // 49: lightcore.shop.crm_agent.v1.QuotationEditCommandRequest.remove_space:type_name -> lightcore.shop.crm_agent.v1.RemoveSpace
|
||
|
|
53, // 50: lightcore.shop.crm_agent.v1.QuotationEditCommandRequest.add_category:type_name -> lightcore.shop.crm_agent.v1.AddCategory
|
||
|
|
54, // 51: lightcore.shop.crm_agent.v1.QuotationEditCommandRequest.rename_category:type_name -> lightcore.shop.crm_agent.v1.RenameCategory
|
||
|
|
55, // 52: lightcore.shop.crm_agent.v1.QuotationEditCommandRequest.reorder_category:type_name -> lightcore.shop.crm_agent.v1.ReorderCategory
|
||
|
|
56, // 53: lightcore.shop.crm_agent.v1.QuotationEditCommandRequest.remove_category:type_name -> lightcore.shop.crm_agent.v1.RemoveCategory
|
||
|
|
57, // 54: lightcore.shop.crm_agent.v1.QuotationEditCommandRequest.add_catalog_line:type_name -> lightcore.shop.crm_agent.v1.AddCatalogLine
|
||
|
|
58, // 55: lightcore.shop.crm_agent.v1.QuotationEditCommandRequest.add_custom_line:type_name -> lightcore.shop.crm_agent.v1.AddCustomLine
|
||
|
|
59, // 56: lightcore.shop.crm_agent.v1.QuotationEditCommandRequest.update_line:type_name -> lightcore.shop.crm_agent.v1.UpdateLine
|
||
|
|
60, // 57: lightcore.shop.crm_agent.v1.QuotationEditCommandRequest.move_line:type_name -> lightcore.shop.crm_agent.v1.MoveLine
|
||
|
|
61, // 58: lightcore.shop.crm_agent.v1.QuotationEditCommandRequest.reorder_line:type_name -> lightcore.shop.crm_agent.v1.ReorderLine
|
||
|
|
62, // 59: lightcore.shop.crm_agent.v1.QuotationEditCommandRequest.set_line_active:type_name -> lightcore.shop.crm_agent.v1.SetLineActive
|
||
|
|
63, // 60: lightcore.shop.crm_agent.v1.QuotationEditCommandRequest.remove_line:type_name -> lightcore.shop.crm_agent.v1.RemoveLine
|
||
|
|
64, // 61: lightcore.shop.crm_agent.v1.QuotationEditCommandRequest.add_fee:type_name -> lightcore.shop.crm_agent.v1.AddFee
|
||
|
|
65, // 62: lightcore.shop.crm_agent.v1.QuotationEditCommandRequest.update_fee:type_name -> lightcore.shop.crm_agent.v1.UpdateFee
|
||
|
|
66, // 63: lightcore.shop.crm_agent.v1.QuotationEditCommandRequest.reorder_fee:type_name -> lightcore.shop.crm_agent.v1.ReorderFee
|
||
|
|
67, // 64: lightcore.shop.crm_agent.v1.QuotationEditCommandRequest.remove_fee:type_name -> lightcore.shop.crm_agent.v1.RemoveFee
|
||
|
|
68, // 65: lightcore.shop.crm_agent.v1.QuotationEditCommandRequest.set_pricing:type_name -> lightcore.shop.crm_agent.v1.SetPricing
|
||
|
|
0, // 66: lightcore.shop.crm_agent.v1.QuotationEditCommandResponse.header:type_name -> lightcore.shop.crm_agent.v1.ResponseHeader
|
||
|
|
41, // 67: lightcore.shop.crm_agent.v1.QuotationEditCommandResponse.session:type_name -> lightcore.shop.crm_agent.v1.EditSession
|
||
|
|
0, // 68: lightcore.shop.crm_agent.v1.QuotationEditPreviewResponse.header:type_name -> lightcore.shop.crm_agent.v1.ResponseHeader
|
||
|
|
25, // 69: lightcore.shop.crm_agent.v1.QuotationEditPreviewResponse.quotation:type_name -> lightcore.shop.crm_agent.v1.Quotation
|
||
|
|
1, // 70: lightcore.shop.crm_agent.v1.QuotationEditCommitRequest.command:type_name -> lightcore.shop.crm_agent.v1.CommandHeader
|
||
|
|
1, // 71: lightcore.shop.crm_agent.v1.QuotationEditDiscardRequest.command:type_name -> lightcore.shop.crm_agent.v1.CommandHeader
|
||
|
|
72, // [72:72] is the sub-list for method output_type
|
||
|
|
72, // [72:72] is the sub-list for method input_type
|
||
|
|
72, // [72:72] is the sub-list for extension type_name
|
||
|
|
72, // [72:72] is the sub-list for extension extendee
|
||
|
|
0, // [0:72] is the sub-list for field type_name
|
||
|
|
}
|
||
|
|
|
||
|
|
func init() { file_shop_crm_agent_proto_init() }
|
||
|
|
func file_shop_crm_agent_proto_init() {
|
||
|
|
if File_shop_crm_agent_proto != nil {
|
||
|
|
return
|
||
|
|
}
|
||
|
|
file_shop_crm_agent_proto_msgTypes[13].OneofWrappers = []any{}
|
||
|
|
file_shop_crm_agent_proto_msgTypes[59].OneofWrappers = []any{}
|
||
|
|
file_shop_crm_agent_proto_msgTypes[65].OneofWrappers = []any{}
|
||
|
|
file_shop_crm_agent_proto_msgTypes[68].OneofWrappers = []any{}
|
||
|
|
file_shop_crm_agent_proto_msgTypes[69].OneofWrappers = []any{
|
||
|
|
(*QuotationEditCommandRequest_AddFloor)(nil),
|
||
|
|
(*QuotationEditCommandRequest_RenameFloor)(nil),
|
||
|
|
(*QuotationEditCommandRequest_ReorderFloor)(nil),
|
||
|
|
(*QuotationEditCommandRequest_RemoveFloor)(nil),
|
||
|
|
(*QuotationEditCommandRequest_AddSpace)(nil),
|
||
|
|
(*QuotationEditCommandRequest_RenameSpace)(nil),
|
||
|
|
(*QuotationEditCommandRequest_MoveSpace)(nil),
|
||
|
|
(*QuotationEditCommandRequest_ReorderSpace)(nil),
|
||
|
|
(*QuotationEditCommandRequest_RemoveSpace)(nil),
|
||
|
|
(*QuotationEditCommandRequest_AddCategory)(nil),
|
||
|
|
(*QuotationEditCommandRequest_RenameCategory)(nil),
|
||
|
|
(*QuotationEditCommandRequest_ReorderCategory)(nil),
|
||
|
|
(*QuotationEditCommandRequest_RemoveCategory)(nil),
|
||
|
|
(*QuotationEditCommandRequest_AddCatalogLine)(nil),
|
||
|
|
(*QuotationEditCommandRequest_AddCustomLine)(nil),
|
||
|
|
(*QuotationEditCommandRequest_UpdateLine)(nil),
|
||
|
|
(*QuotationEditCommandRequest_MoveLine)(nil),
|
||
|
|
(*QuotationEditCommandRequest_ReorderLine)(nil),
|
||
|
|
(*QuotationEditCommandRequest_SetLineActive)(nil),
|
||
|
|
(*QuotationEditCommandRequest_RemoveLine)(nil),
|
||
|
|
(*QuotationEditCommandRequest_AddFee)(nil),
|
||
|
|
(*QuotationEditCommandRequest_UpdateFee)(nil),
|
||
|
|
(*QuotationEditCommandRequest_ReorderFee)(nil),
|
||
|
|
(*QuotationEditCommandRequest_RemoveFee)(nil),
|
||
|
|
(*QuotationEditCommandRequest_SetPricing)(nil),
|
||
|
|
}
|
||
|
|
type x struct{}
|
||
|
|
out := protoimpl.TypeBuilder{
|
||
|
|
File: protoimpl.DescBuilder{
|
||
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_shop_crm_agent_proto_rawDesc), len(file_shop_crm_agent_proto_rawDesc)),
|
||
|
|
NumEnums: 0,
|
||
|
|
NumMessages: 75,
|
||
|
|
NumExtensions: 0,
|
||
|
|
NumServices: 0,
|
||
|
|
},
|
||
|
|
GoTypes: file_shop_crm_agent_proto_goTypes,
|
||
|
|
DependencyIndexes: file_shop_crm_agent_proto_depIdxs,
|
||
|
|
MessageInfos: file_shop_crm_agent_proto_msgTypes,
|
||
|
|
}.Build()
|
||
|
|
File_shop_crm_agent_proto = out.File
|
||
|
|
file_shop_crm_agent_proto_goTypes = nil
|
||
|
|
file_shop_crm_agent_proto_depIdxs = nil
|
||
|
|
}
|