@paakd/api 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/buf/validate/validate_pb.ts +5001 -0
- package/dist/gen/buf/validate/validate_pb.d.ts +4634 -0
- package/dist/gen/buf/validate/validate_pb.d.ts.map +1 -0
- package/dist/gen/buf/validate/validate_pb.js +414 -0
- package/dist/gen/src/proto/auth/v1/entities/auth_pb.d.ts +268 -0
- package/dist/gen/src/proto/auth/v1/entities/auth_pb.d.ts.map +1 -0
- package/dist/gen/src/proto/auth/v1/entities/auth_pb.js +120 -0
- package/dist/gen/src/proto/auth/v1/entities/policy_pb.d.ts +235 -0
- package/dist/gen/src/proto/auth/v1/entities/policy_pb.d.ts.map +1 -0
- package/dist/gen/src/proto/auth/v1/entities/policy_pb.js +98 -0
- package/dist/gen/src/proto/auth/v1/service_pb.d.ts +117 -0
- package/dist/gen/src/proto/auth/v1/service_pb.d.ts.map +1 -0
- package/dist/gen/src/proto/auth/v1/service_pb.js +22 -0
- package/dist/gen/src/proto/customers/v1/entities/address_pb.d.ts +371 -0
- package/dist/gen/src/proto/customers/v1/entities/address_pb.d.ts.map +1 -0
- package/dist/gen/src/proto/customers/v1/entities/address_pb.js +84 -0
- package/dist/gen/src/proto/customers/v1/entities/profile_pb.d.ts +189 -0
- package/dist/gen/src/proto/customers/v1/entities/profile_pb.d.ts.map +1 -0
- package/dist/gen/src/proto/customers/v1/entities/profile_pb.js +70 -0
- package/dist/gen/src/proto/customers/v1/service_pb.d.ts +85 -0
- package/dist/gen/src/proto/customers/v1/service_pb.d.ts.map +1 -0
- package/dist/gen/src/proto/customers/v1/service_pb.js +22 -0
- package/dist/gen/src/proto/products/v1/entities/category_pb.d.ts +234 -0
- package/dist/gen/src/proto/products/v1/entities/category_pb.d.ts.map +1 -0
- package/dist/gen/src/proto/products/v1/entities/category_pb.js +84 -0
- package/dist/gen/src/proto/products/v1/entities/collection_pb.d.ts +159 -0
- package/dist/gen/src/proto/products/v1/entities/collection_pb.d.ts.map +1 -0
- package/dist/gen/src/proto/products/v1/entities/collection_pb.js +70 -0
- package/dist/gen/src/proto/products/v1/entities/product/create_pb.d.ts +146 -0
- package/dist/gen/src/proto/products/v1/entities/product/create_pb.d.ts.map +1 -0
- package/dist/gen/src/proto/products/v1/entities/product/create_pb.js +32 -0
- package/dist/gen/src/proto/products/v1/entities/product/option_pb.d.ts +50 -0
- package/dist/gen/src/proto/products/v1/entities/product/option_pb.d.ts.map +1 -0
- package/dist/gen/src/proto/products/v1/entities/product/option_pb.js +32 -0
- package/dist/gen/src/proto/products/v1/entities/product/shared_pb.d.ts +1042 -0
- package/dist/gen/src/proto/products/v1/entities/product/shared_pb.d.ts.map +1 -0
- package/dist/gen/src/proto/products/v1/entities/product/shared_pb.js +258 -0
- package/dist/gen/src/proto/products/v1/entities/product/update_pb.d.ts +236 -0
- package/dist/gen/src/proto/products/v1/entities/product/update_pb.d.ts.map +1 -0
- package/dist/gen/src/proto/products/v1/entities/product/update_pb.js +88 -0
- package/dist/gen/src/proto/products/v1/entities/tag_pb.d.ts +175 -0
- package/dist/gen/src/proto/products/v1/entities/tag_pb.d.ts.map +1 -0
- package/dist/gen/src/proto/products/v1/entities/tag_pb.js +84 -0
- package/dist/gen/src/proto/products/v1/entities/taxonomy_pb.d.ts +477 -0
- package/dist/gen/src/proto/products/v1/entities/taxonomy_pb.d.ts.map +1 -0
- package/dist/gen/src/proto/products/v1/entities/taxonomy_pb.js +235 -0
- package/dist/gen/src/proto/products/v1/entities/type_pb.d.ts +158 -0
- package/dist/gen/src/proto/products/v1/entities/type_pb.d.ts.map +1 -0
- package/dist/gen/src/proto/products/v1/entities/type_pb.js +70 -0
- package/dist/gen/src/proto/products/v1/entities/variant_pb.d.ts +489 -0
- package/dist/gen/src/proto/products/v1/entities/variant_pb.d.ts.map +1 -0
- package/dist/gen/src/proto/products/v1/entities/variant_pb.js +147 -0
- package/dist/gen/src/proto/products/v1/service_pb.d.ts +316 -0
- package/dist/gen/src/proto/products/v1/service_pb.d.ts.map +1 -0
- package/dist/gen/src/proto/products/v1/service_pb.js +36 -0
- package/dist/src/address.d.ts +53 -0
- package/dist/src/address.d.ts.map +1 -0
- package/dist/src/address.js +233 -0
- package/dist/src/address.spec.d.ts +2 -0
- package/dist/src/address.spec.d.ts.map +1 -0
- package/dist/src/address.spec.js +488 -0
- package/dist/src/auth.d.ts +27 -0
- package/dist/src/auth.d.ts.map +1 -0
- package/dist/src/auth.js +155 -0
- package/dist/src/auth.spec.d.ts +2 -0
- package/dist/src/auth.spec.d.ts.map +1 -0
- package/dist/src/auth.spec.js +582 -0
- package/dist/src/compressor/brotli.d.ts +3 -0
- package/dist/src/compressor/brotli.d.ts.map +1 -0
- package/dist/src/compressor/brotli.js +30 -0
- package/dist/src/index.d.ts +6 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/interceptors.d.ts +16 -0
- package/dist/src/interceptors.d.ts.map +1 -0
- package/dist/src/interceptors.js +156 -0
- package/dist/src/interceptors.spec.d.ts +2 -0
- package/dist/src/interceptors.spec.d.ts.map +1 -0
- package/dist/src/interceptors.spec.js +1063 -0
- package/dist/src/policies.d.ts +217 -0
- package/dist/src/policies.d.ts.map +1 -0
- package/dist/src/policies.js +322 -0
- package/dist/src/policies.spec.d.ts +2 -0
- package/dist/src/policies.spec.d.ts.map +1 -0
- package/dist/src/policies.spec.js +463 -0
- package/dist/src/products.d.ts +39 -0
- package/dist/src/products.d.ts.map +1 -0
- package/dist/src/products.js +95 -0
- package/dist/src/products.spec.d.ts +2 -0
- package/dist/src/products.spec.d.ts.map +1 -0
- package/dist/src/products.spec.js +519 -0
- package/dist/src/profile.d.ts +62 -0
- package/dist/src/profile.d.ts.map +1 -0
- package/dist/src/profile.js +151 -0
- package/dist/src/profile.spec.d.ts +2 -0
- package/dist/src/profile.spec.d.ts.map +1 -0
- package/dist/src/profile.spec.js +475 -0
- package/dist/src/registration.d.ts +60 -0
- package/dist/src/registration.d.ts.map +1 -0
- package/dist/src/registration.js +147 -0
- package/dist/src/test-utils.d.ts +87 -0
- package/dist/src/test-utils.d.ts.map +1 -0
- package/dist/src/test-utils.js +132 -0
- package/gen/buf/validate/validate_pb.ts +4799 -0
- package/gen/src/proto/auth/v1/authv1connect/service.connect.go +454 -0
- package/gen/src/proto/auth/v1/entities/auth.pb.go +818 -0
- package/gen/src/proto/auth/v1/entities/auth_pb.ts +348 -0
- package/gen/src/proto/auth/v1/entities/policy.pb.go +727 -0
- package/gen/src/proto/auth/v1/entities/policy_pb.ts +306 -0
- package/gen/src/proto/auth/v1/service-AuthService_connectquery.ts +70 -0
- package/gen/src/proto/auth/v1/service.pb.go +119 -0
- package/gen/src/proto/auth/v1/service_pb.ts +152 -0
- package/gen/src/proto/customers/v1/customersv1connect/service.connect.go +358 -0
- package/gen/src/proto/customers/v1/entities/address.pb.go +1073 -0
- package/gen/src/proto/customers/v1/entities/address_pb.ts +478 -0
- package/gen/src/proto/customers/v1/entities/profile.pb.go +633 -0
- package/gen/src/proto/customers/v1/entities/profile_pb.ts +252 -0
- package/gen/src/proto/customers/v1/service-CustomerService_connectquery.ts +50 -0
- package/gen/src/proto/customers/v1/service.pb.go +110 -0
- package/gen/src/proto/customers/v1/service_pb.ts +121 -0
- package/gen/src/proto/files/v1/entities/file.pb.go +669 -0
- package/gen/src/proto/files/v1/entities/file_pb.ts +265 -0
- package/gen/src/proto/files/v1/filesv1connect/service.connect.go +200 -0
- package/gen/src/proto/files/v1/service-FileService_connectquery.ts +25 -0
- package/gen/src/proto/files/v1/service.pb.go +85 -0
- package/gen/src/proto/files/v1/service_pb.ts +65 -0
- package/gen/src/proto/products/v1/entities/category.pb.go +744 -0
- package/gen/src/proto/products/v1/entities/category_pb.ts +318 -0
- package/gen/src/proto/products/v1/entities/collection.pb.go +528 -0
- package/gen/src/proto/products/v1/entities/collection_pb.ts +214 -0
- package/gen/src/proto/products/v1/entities/product/create.pb.go +453 -0
- package/gen/src/proto/products/v1/entities/product/create_pb.ts +199 -0
- package/gen/src/proto/products/v1/entities/product/option.pb.go +206 -0
- package/gen/src/proto/products/v1/entities/product/option_pb.ts +74 -0
- package/gen/src/proto/products/v1/entities/product/shared.pb.go +2890 -0
- package/gen/src/proto/products/v1/entities/product/shared_pb.ts +1317 -0
- package/gen/src/proto/products/v1/entities/product/update.pb.go +794 -0
- package/gen/src/proto/products/v1/entities/product/update_pb.ts +325 -0
- package/gen/src/proto/products/v1/entities/tag.pb.go +610 -0
- package/gen/src/proto/products/v1/entities/tag_pb.ts +233 -0
- package/gen/src/proto/products/v1/entities/taxonomy.pb.go +1352 -0
- package/gen/src/proto/products/v1/entities/taxonomy_pb.ts +606 -0
- package/gen/src/proto/products/v1/entities/type.pb.go +553 -0
- package/gen/src/proto/products/v1/entities/type_pb.ts +215 -0
- package/gen/src/proto/products/v1/entities/variant.pb.go +1474 -0
- package/gen/src/proto/products/v1/entities/variant_pb.ts +629 -0
- package/gen/src/proto/products/v1/productsv1connect/service.connect.go +1195 -0
- package/gen/src/proto/products/v1/service-ProductsService_connectquery.ts +199 -0
- package/gen/src/proto/products/v1/service.pb.go +250 -0
- package/gen/src/proto/products/v1/service_pb.ts +429 -0
- package/gen/src/proto/promotions/v1/entities/campaign.pb.go +1229 -0
- package/gen/src/proto/promotions/v1/entities/campaign_pb.ts +511 -0
- package/gen/src/proto/promotions/v1/promotionsv1connect/service.connect.go +289 -0
- package/gen/src/proto/promotions/v1/service-CampaignService_connectquery.ts +42 -0
- package/gen/src/proto/promotions/v1/service.pb.go +98 -0
- package/gen/src/proto/promotions/v1/service_pb.ts +95 -0
- package/gen/src/proto/stocknodes/v1/entities/stocknode.pb.go +1499 -0
- package/gen/src/proto/stocknodes/v1/entities/stocknode_pb.ts +655 -0
- package/gen/src/proto/stocknodes/v1/service-StockNodesService_connectquery.ts +41 -0
- package/gen/src/proto/stocknodes/v1/service.pb.go +98 -0
- package/gen/src/proto/stocknodes/v1/service_pb.ts +95 -0
- package/gen/src/proto/stocknodes/v1/stocknodesv1connect/service.connect.go +297 -0
- package/package.json +5 -2
- package/src/address.spec.ts +0 -662
- package/src/address.ts +0 -300
- package/src/auth.spec.ts +0 -771
- package/src/auth.ts +0 -168
- package/src/compressor/brotli.ts +0 -26
- package/src/index.ts +0 -5
- package/src/interceptors.spec.ts +0 -1343
- package/src/interceptors.ts +0 -224
- package/src/policies.spec.ts +0 -595
- package/src/policies.ts +0 -431
- package/src/products.spec.ts +0 -710
- package/src/products.ts +0 -112
- package/src/profile.spec.ts +0 -626
- package/src/profile.ts +0 -169
- package/src/proto/auth/v1/entities/auth.proto +0 -140
- package/src/proto/auth/v1/entities/policy.proto +0 -57
- package/src/proto/auth/v1/service.proto +0 -26
- package/src/proto/customers/v1/entities/address.proto +0 -101
- package/src/proto/customers/v1/entities/profile.proto +0 -118
- package/src/proto/customers/v1/service.proto +0 -36
- package/src/proto/files/v1/entities/file.proto +0 -62
- package/src/proto/files/v1/service.proto +0 -19
- package/src/proto/products/v1/entities/category.proto +0 -98
- package/src/proto/products/v1/entities/collection.proto +0 -72
- package/src/proto/products/v1/entities/product/create.proto +0 -41
- package/src/proto/products/v1/entities/product/option.proto +0 -17
- package/src/proto/products/v1/entities/product/shared.proto +0 -255
- package/src/proto/products/v1/entities/product/update.proto +0 -66
- package/src/proto/products/v1/entities/tag.proto +0 -73
- package/src/proto/products/v1/entities/taxonomy.proto +0 -146
- package/src/proto/products/v1/entities/type.proto +0 -98
- package/src/proto/products/v1/entities/variant.proto +0 -127
- package/src/proto/products/v1/service.proto +0 -78
- package/src/proto/promotions/v1/entities/campaign.proto +0 -145
- package/src/proto/promotions/v1/service.proto +0 -17
- package/src/proto/stocknodes/v1/entities/stocknode.proto +0 -167
- package/src/proto/stocknodes/v1/service.proto +0 -21
- package/src/registration.ts +0 -170
- package/src/test-utils.ts +0 -176
|
@@ -0,0 +1,744 @@
|
|
|
1
|
+
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
2
|
+
// versions:
|
|
3
|
+
// protoc-gen-go v1.36.6
|
|
4
|
+
// protoc (unknown)
|
|
5
|
+
// source: src/proto/products/v1/entities/category.proto
|
|
6
|
+
|
|
7
|
+
package entities
|
|
8
|
+
|
|
9
|
+
import (
|
|
10
|
+
_ "buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go/buf/validate"
|
|
11
|
+
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
12
|
+
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
13
|
+
reflect "reflect"
|
|
14
|
+
sync "sync"
|
|
15
|
+
unsafe "unsafe"
|
|
16
|
+
)
|
|
17
|
+
|
|
18
|
+
const (
|
|
19
|
+
// Verify that this generated code is sufficiently up-to-date.
|
|
20
|
+
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
21
|
+
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
22
|
+
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
23
|
+
)
|
|
24
|
+
|
|
25
|
+
type CreateProductCategoryRequest struct {
|
|
26
|
+
state protoimpl.MessageState `protogen:"open.v1"`
|
|
27
|
+
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
28
|
+
Description *string `protobuf:"bytes,2,opt,name=description,proto3,oneof" json:"description,omitempty"`
|
|
29
|
+
ParentCategoryId *string `protobuf:"bytes,3,opt,name=parent_category_id,json=parentCategoryId,proto3,oneof" json:"parent_category_id,omitempty"`
|
|
30
|
+
CategoryTaxonomyId string `protobuf:"bytes,4,opt,name=category_taxonomy_id,json=categoryTaxonomyId,proto3" json:"category_taxonomy_id,omitempty"`
|
|
31
|
+
Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"`
|
|
32
|
+
IsInternal *bool `protobuf:"varint,6,opt,name=is_internal,json=isInternal,proto3,oneof" json:"is_internal,omitempty"`
|
|
33
|
+
IsActive *bool `protobuf:"varint,7,opt,name=is_active,json=isActive,proto3,oneof" json:"is_active,omitempty"`
|
|
34
|
+
Rank *int32 `protobuf:"varint,8,opt,name=rank,proto3,oneof" json:"rank,omitempty"`
|
|
35
|
+
unknownFields protoimpl.UnknownFields
|
|
36
|
+
sizeCache protoimpl.SizeCache
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
func (x *CreateProductCategoryRequest) Reset() {
|
|
40
|
+
*x = CreateProductCategoryRequest{}
|
|
41
|
+
mi := &file_src_proto_products_v1_entities_category_proto_msgTypes[0]
|
|
42
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
43
|
+
ms.StoreMessageInfo(mi)
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
func (x *CreateProductCategoryRequest) String() string {
|
|
47
|
+
return protoimpl.X.MessageStringOf(x)
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
func (*CreateProductCategoryRequest) ProtoMessage() {}
|
|
51
|
+
|
|
52
|
+
func (x *CreateProductCategoryRequest) ProtoReflect() protoreflect.Message {
|
|
53
|
+
mi := &file_src_proto_products_v1_entities_category_proto_msgTypes[0]
|
|
54
|
+
if x != nil {
|
|
55
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
56
|
+
if ms.LoadMessageInfo() == nil {
|
|
57
|
+
ms.StoreMessageInfo(mi)
|
|
58
|
+
}
|
|
59
|
+
return ms
|
|
60
|
+
}
|
|
61
|
+
return mi.MessageOf(x)
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
// Deprecated: Use CreateProductCategoryRequest.ProtoReflect.Descriptor instead.
|
|
65
|
+
func (*CreateProductCategoryRequest) Descriptor() ([]byte, []int) {
|
|
66
|
+
return file_src_proto_products_v1_entities_category_proto_rawDescGZIP(), []int{0}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
func (x *CreateProductCategoryRequest) GetName() string {
|
|
70
|
+
if x != nil {
|
|
71
|
+
return x.Name
|
|
72
|
+
}
|
|
73
|
+
return ""
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
func (x *CreateProductCategoryRequest) GetDescription() string {
|
|
77
|
+
if x != nil && x.Description != nil {
|
|
78
|
+
return *x.Description
|
|
79
|
+
}
|
|
80
|
+
return ""
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
func (x *CreateProductCategoryRequest) GetParentCategoryId() string {
|
|
84
|
+
if x != nil && x.ParentCategoryId != nil {
|
|
85
|
+
return *x.ParentCategoryId
|
|
86
|
+
}
|
|
87
|
+
return ""
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
func (x *CreateProductCategoryRequest) GetCategoryTaxonomyId() string {
|
|
91
|
+
if x != nil {
|
|
92
|
+
return x.CategoryTaxonomyId
|
|
93
|
+
}
|
|
94
|
+
return ""
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
func (x *CreateProductCategoryRequest) GetTags() []string {
|
|
98
|
+
if x != nil {
|
|
99
|
+
return x.Tags
|
|
100
|
+
}
|
|
101
|
+
return nil
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
func (x *CreateProductCategoryRequest) GetIsInternal() bool {
|
|
105
|
+
if x != nil && x.IsInternal != nil {
|
|
106
|
+
return *x.IsInternal
|
|
107
|
+
}
|
|
108
|
+
return false
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
func (x *CreateProductCategoryRequest) GetIsActive() bool {
|
|
112
|
+
if x != nil && x.IsActive != nil {
|
|
113
|
+
return *x.IsActive
|
|
114
|
+
}
|
|
115
|
+
return false
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
func (x *CreateProductCategoryRequest) GetRank() int32 {
|
|
119
|
+
if x != nil && x.Rank != nil {
|
|
120
|
+
return *x.Rank
|
|
121
|
+
}
|
|
122
|
+
return 0
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
type CreateProductCategoryResponse struct {
|
|
126
|
+
state protoimpl.MessageState `protogen:"open.v1"`
|
|
127
|
+
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
128
|
+
unknownFields protoimpl.UnknownFields
|
|
129
|
+
sizeCache protoimpl.SizeCache
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
func (x *CreateProductCategoryResponse) Reset() {
|
|
133
|
+
*x = CreateProductCategoryResponse{}
|
|
134
|
+
mi := &file_src_proto_products_v1_entities_category_proto_msgTypes[1]
|
|
135
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
136
|
+
ms.StoreMessageInfo(mi)
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
func (x *CreateProductCategoryResponse) String() string {
|
|
140
|
+
return protoimpl.X.MessageStringOf(x)
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
func (*CreateProductCategoryResponse) ProtoMessage() {}
|
|
144
|
+
|
|
145
|
+
func (x *CreateProductCategoryResponse) ProtoReflect() protoreflect.Message {
|
|
146
|
+
mi := &file_src_proto_products_v1_entities_category_proto_msgTypes[1]
|
|
147
|
+
if x != nil {
|
|
148
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
149
|
+
if ms.LoadMessageInfo() == nil {
|
|
150
|
+
ms.StoreMessageInfo(mi)
|
|
151
|
+
}
|
|
152
|
+
return ms
|
|
153
|
+
}
|
|
154
|
+
return mi.MessageOf(x)
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
// Deprecated: Use CreateProductCategoryResponse.ProtoReflect.Descriptor instead.
|
|
158
|
+
func (*CreateProductCategoryResponse) Descriptor() ([]byte, []int) {
|
|
159
|
+
return file_src_proto_products_v1_entities_category_proto_rawDescGZIP(), []int{1}
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
func (x *CreateProductCategoryResponse) GetId() string {
|
|
163
|
+
if x != nil {
|
|
164
|
+
return x.Id
|
|
165
|
+
}
|
|
166
|
+
return ""
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
type UpdateProductCategoryRequest struct {
|
|
170
|
+
state protoimpl.MessageState `protogen:"open.v1"`
|
|
171
|
+
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
172
|
+
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
173
|
+
Description *string `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"`
|
|
174
|
+
Tags []string `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty"`
|
|
175
|
+
IsInternal *bool `protobuf:"varint,5,opt,name=is_internal,json=isInternal,proto3,oneof" json:"is_internal,omitempty"`
|
|
176
|
+
IsActive *bool `protobuf:"varint,6,opt,name=is_active,json=isActive,proto3,oneof" json:"is_active,omitempty"`
|
|
177
|
+
Rank *int32 `protobuf:"varint,7,opt,name=rank,proto3,oneof" json:"rank,omitempty"`
|
|
178
|
+
unknownFields protoimpl.UnknownFields
|
|
179
|
+
sizeCache protoimpl.SizeCache
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
func (x *UpdateProductCategoryRequest) Reset() {
|
|
183
|
+
*x = UpdateProductCategoryRequest{}
|
|
184
|
+
mi := &file_src_proto_products_v1_entities_category_proto_msgTypes[2]
|
|
185
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
186
|
+
ms.StoreMessageInfo(mi)
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
func (x *UpdateProductCategoryRequest) String() string {
|
|
190
|
+
return protoimpl.X.MessageStringOf(x)
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
func (*UpdateProductCategoryRequest) ProtoMessage() {}
|
|
194
|
+
|
|
195
|
+
func (x *UpdateProductCategoryRequest) ProtoReflect() protoreflect.Message {
|
|
196
|
+
mi := &file_src_proto_products_v1_entities_category_proto_msgTypes[2]
|
|
197
|
+
if x != nil {
|
|
198
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
199
|
+
if ms.LoadMessageInfo() == nil {
|
|
200
|
+
ms.StoreMessageInfo(mi)
|
|
201
|
+
}
|
|
202
|
+
return ms
|
|
203
|
+
}
|
|
204
|
+
return mi.MessageOf(x)
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
// Deprecated: Use UpdateProductCategoryRequest.ProtoReflect.Descriptor instead.
|
|
208
|
+
func (*UpdateProductCategoryRequest) Descriptor() ([]byte, []int) {
|
|
209
|
+
return file_src_proto_products_v1_entities_category_proto_rawDescGZIP(), []int{2}
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
func (x *UpdateProductCategoryRequest) GetId() string {
|
|
213
|
+
if x != nil {
|
|
214
|
+
return x.Id
|
|
215
|
+
}
|
|
216
|
+
return ""
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
func (x *UpdateProductCategoryRequest) GetName() string {
|
|
220
|
+
if x != nil {
|
|
221
|
+
return x.Name
|
|
222
|
+
}
|
|
223
|
+
return ""
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
func (x *UpdateProductCategoryRequest) GetDescription() string {
|
|
227
|
+
if x != nil && x.Description != nil {
|
|
228
|
+
return *x.Description
|
|
229
|
+
}
|
|
230
|
+
return ""
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
func (x *UpdateProductCategoryRequest) GetTags() []string {
|
|
234
|
+
if x != nil {
|
|
235
|
+
return x.Tags
|
|
236
|
+
}
|
|
237
|
+
return nil
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
func (x *UpdateProductCategoryRequest) GetIsInternal() bool {
|
|
241
|
+
if x != nil && x.IsInternal != nil {
|
|
242
|
+
return *x.IsInternal
|
|
243
|
+
}
|
|
244
|
+
return false
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
func (x *UpdateProductCategoryRequest) GetIsActive() bool {
|
|
248
|
+
if x != nil && x.IsActive != nil {
|
|
249
|
+
return *x.IsActive
|
|
250
|
+
}
|
|
251
|
+
return false
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
func (x *UpdateProductCategoryRequest) GetRank() int32 {
|
|
255
|
+
if x != nil && x.Rank != nil {
|
|
256
|
+
return *x.Rank
|
|
257
|
+
}
|
|
258
|
+
return 0
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
type UpdateProductCategoryResponse struct {
|
|
262
|
+
state protoimpl.MessageState `protogen:"open.v1"`
|
|
263
|
+
unknownFields protoimpl.UnknownFields
|
|
264
|
+
sizeCache protoimpl.SizeCache
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
func (x *UpdateProductCategoryResponse) Reset() {
|
|
268
|
+
*x = UpdateProductCategoryResponse{}
|
|
269
|
+
mi := &file_src_proto_products_v1_entities_category_proto_msgTypes[3]
|
|
270
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
271
|
+
ms.StoreMessageInfo(mi)
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
func (x *UpdateProductCategoryResponse) String() string {
|
|
275
|
+
return protoimpl.X.MessageStringOf(x)
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
func (*UpdateProductCategoryResponse) ProtoMessage() {}
|
|
279
|
+
|
|
280
|
+
func (x *UpdateProductCategoryResponse) ProtoReflect() protoreflect.Message {
|
|
281
|
+
mi := &file_src_proto_products_v1_entities_category_proto_msgTypes[3]
|
|
282
|
+
if x != nil {
|
|
283
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
284
|
+
if ms.LoadMessageInfo() == nil {
|
|
285
|
+
ms.StoreMessageInfo(mi)
|
|
286
|
+
}
|
|
287
|
+
return ms
|
|
288
|
+
}
|
|
289
|
+
return mi.MessageOf(x)
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
// Deprecated: Use UpdateProductCategoryResponse.ProtoReflect.Descriptor instead.
|
|
293
|
+
func (*UpdateProductCategoryResponse) Descriptor() ([]byte, []int) {
|
|
294
|
+
return file_src_proto_products_v1_entities_category_proto_rawDescGZIP(), []int{3}
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
type DeleteProductCategoryByIDRequest struct {
|
|
298
|
+
state protoimpl.MessageState `protogen:"open.v1"`
|
|
299
|
+
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
300
|
+
unknownFields protoimpl.UnknownFields
|
|
301
|
+
sizeCache protoimpl.SizeCache
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
func (x *DeleteProductCategoryByIDRequest) Reset() {
|
|
305
|
+
*x = DeleteProductCategoryByIDRequest{}
|
|
306
|
+
mi := &file_src_proto_products_v1_entities_category_proto_msgTypes[4]
|
|
307
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
308
|
+
ms.StoreMessageInfo(mi)
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
func (x *DeleteProductCategoryByIDRequest) String() string {
|
|
312
|
+
return protoimpl.X.MessageStringOf(x)
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
func (*DeleteProductCategoryByIDRequest) ProtoMessage() {}
|
|
316
|
+
|
|
317
|
+
func (x *DeleteProductCategoryByIDRequest) ProtoReflect() protoreflect.Message {
|
|
318
|
+
mi := &file_src_proto_products_v1_entities_category_proto_msgTypes[4]
|
|
319
|
+
if x != nil {
|
|
320
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
321
|
+
if ms.LoadMessageInfo() == nil {
|
|
322
|
+
ms.StoreMessageInfo(mi)
|
|
323
|
+
}
|
|
324
|
+
return ms
|
|
325
|
+
}
|
|
326
|
+
return mi.MessageOf(x)
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
// Deprecated: Use DeleteProductCategoryByIDRequest.ProtoReflect.Descriptor instead.
|
|
330
|
+
func (*DeleteProductCategoryByIDRequest) Descriptor() ([]byte, []int) {
|
|
331
|
+
return file_src_proto_products_v1_entities_category_proto_rawDescGZIP(), []int{4}
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
func (x *DeleteProductCategoryByIDRequest) GetId() string {
|
|
335
|
+
if x != nil {
|
|
336
|
+
return x.Id
|
|
337
|
+
}
|
|
338
|
+
return ""
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
type DeleteProductCategoryByIDResponse struct {
|
|
342
|
+
state protoimpl.MessageState `protogen:"open.v1"`
|
|
343
|
+
unknownFields protoimpl.UnknownFields
|
|
344
|
+
sizeCache protoimpl.SizeCache
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
func (x *DeleteProductCategoryByIDResponse) Reset() {
|
|
348
|
+
*x = DeleteProductCategoryByIDResponse{}
|
|
349
|
+
mi := &file_src_proto_products_v1_entities_category_proto_msgTypes[5]
|
|
350
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
351
|
+
ms.StoreMessageInfo(mi)
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
func (x *DeleteProductCategoryByIDResponse) String() string {
|
|
355
|
+
return protoimpl.X.MessageStringOf(x)
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
func (*DeleteProductCategoryByIDResponse) ProtoMessage() {}
|
|
359
|
+
|
|
360
|
+
func (x *DeleteProductCategoryByIDResponse) ProtoReflect() protoreflect.Message {
|
|
361
|
+
mi := &file_src_proto_products_v1_entities_category_proto_msgTypes[5]
|
|
362
|
+
if x != nil {
|
|
363
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
364
|
+
if ms.LoadMessageInfo() == nil {
|
|
365
|
+
ms.StoreMessageInfo(mi)
|
|
366
|
+
}
|
|
367
|
+
return ms
|
|
368
|
+
}
|
|
369
|
+
return mi.MessageOf(x)
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
// Deprecated: Use DeleteProductCategoryByIDResponse.ProtoReflect.Descriptor instead.
|
|
373
|
+
func (*DeleteProductCategoryByIDResponse) Descriptor() ([]byte, []int) {
|
|
374
|
+
return file_src_proto_products_v1_entities_category_proto_rawDescGZIP(), []int{5}
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
type GetProductCategoryByIDRequest struct {
|
|
378
|
+
state protoimpl.MessageState `protogen:"open.v1"`
|
|
379
|
+
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
380
|
+
unknownFields protoimpl.UnknownFields
|
|
381
|
+
sizeCache protoimpl.SizeCache
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
func (x *GetProductCategoryByIDRequest) Reset() {
|
|
385
|
+
*x = GetProductCategoryByIDRequest{}
|
|
386
|
+
mi := &file_src_proto_products_v1_entities_category_proto_msgTypes[6]
|
|
387
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
388
|
+
ms.StoreMessageInfo(mi)
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
func (x *GetProductCategoryByIDRequest) String() string {
|
|
392
|
+
return protoimpl.X.MessageStringOf(x)
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
func (*GetProductCategoryByIDRequest) ProtoMessage() {}
|
|
396
|
+
|
|
397
|
+
func (x *GetProductCategoryByIDRequest) ProtoReflect() protoreflect.Message {
|
|
398
|
+
mi := &file_src_proto_products_v1_entities_category_proto_msgTypes[6]
|
|
399
|
+
if x != nil {
|
|
400
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
401
|
+
if ms.LoadMessageInfo() == nil {
|
|
402
|
+
ms.StoreMessageInfo(mi)
|
|
403
|
+
}
|
|
404
|
+
return ms
|
|
405
|
+
}
|
|
406
|
+
return mi.MessageOf(x)
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
// Deprecated: Use GetProductCategoryByIDRequest.ProtoReflect.Descriptor instead.
|
|
410
|
+
func (*GetProductCategoryByIDRequest) Descriptor() ([]byte, []int) {
|
|
411
|
+
return file_src_proto_products_v1_entities_category_proto_rawDescGZIP(), []int{6}
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
func (x *GetProductCategoryByIDRequest) GetId() string {
|
|
415
|
+
if x != nil {
|
|
416
|
+
return x.Id
|
|
417
|
+
}
|
|
418
|
+
return ""
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
type GetProductCategoryByIDResponse struct {
|
|
422
|
+
state protoimpl.MessageState `protogen:"open.v1"`
|
|
423
|
+
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // ID of the category
|
|
424
|
+
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Name of the category
|
|
425
|
+
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // Description of the category
|
|
426
|
+
Tags []string `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty"` // Tags associated with the category
|
|
427
|
+
CategoryTaxonomyId string `protobuf:"bytes,5,opt,name=category_taxonomy_id,json=categoryTaxonomyId,proto3" json:"category_taxonomy_id,omitempty"` // Name of the category taxonomy
|
|
428
|
+
ParentCategoryId string `protobuf:"bytes,6,opt,name=parent_category_id,json=parentCategoryId,proto3" json:"parent_category_id,omitempty"`
|
|
429
|
+
IsInternal bool `protobuf:"varint,7,opt,name=is_internal,json=isInternal,proto3" json:"is_internal,omitempty"`
|
|
430
|
+
IsActive bool `protobuf:"varint,8,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"`
|
|
431
|
+
Rank int32 `protobuf:"varint,9,opt,name=rank,proto3" json:"rank,omitempty"`
|
|
432
|
+
TaxonomyFullname string `protobuf:"bytes,10,opt,name=taxonomy_fullname,json=taxonomyFullname,proto3" json:"taxonomy_fullname,omitempty"`
|
|
433
|
+
unknownFields protoimpl.UnknownFields
|
|
434
|
+
sizeCache protoimpl.SizeCache
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
func (x *GetProductCategoryByIDResponse) Reset() {
|
|
438
|
+
*x = GetProductCategoryByIDResponse{}
|
|
439
|
+
mi := &file_src_proto_products_v1_entities_category_proto_msgTypes[7]
|
|
440
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
441
|
+
ms.StoreMessageInfo(mi)
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
func (x *GetProductCategoryByIDResponse) String() string {
|
|
445
|
+
return protoimpl.X.MessageStringOf(x)
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
func (*GetProductCategoryByIDResponse) ProtoMessage() {}
|
|
449
|
+
|
|
450
|
+
func (x *GetProductCategoryByIDResponse) ProtoReflect() protoreflect.Message {
|
|
451
|
+
mi := &file_src_proto_products_v1_entities_category_proto_msgTypes[7]
|
|
452
|
+
if x != nil {
|
|
453
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
454
|
+
if ms.LoadMessageInfo() == nil {
|
|
455
|
+
ms.StoreMessageInfo(mi)
|
|
456
|
+
}
|
|
457
|
+
return ms
|
|
458
|
+
}
|
|
459
|
+
return mi.MessageOf(x)
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
// Deprecated: Use GetProductCategoryByIDResponse.ProtoReflect.Descriptor instead.
|
|
463
|
+
func (*GetProductCategoryByIDResponse) Descriptor() ([]byte, []int) {
|
|
464
|
+
return file_src_proto_products_v1_entities_category_proto_rawDescGZIP(), []int{7}
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
func (x *GetProductCategoryByIDResponse) GetId() string {
|
|
468
|
+
if x != nil {
|
|
469
|
+
return x.Id
|
|
470
|
+
}
|
|
471
|
+
return ""
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
func (x *GetProductCategoryByIDResponse) GetName() string {
|
|
475
|
+
if x != nil {
|
|
476
|
+
return x.Name
|
|
477
|
+
}
|
|
478
|
+
return ""
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
func (x *GetProductCategoryByIDResponse) GetDescription() string {
|
|
482
|
+
if x != nil {
|
|
483
|
+
return x.Description
|
|
484
|
+
}
|
|
485
|
+
return ""
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
func (x *GetProductCategoryByIDResponse) GetTags() []string {
|
|
489
|
+
if x != nil {
|
|
490
|
+
return x.Tags
|
|
491
|
+
}
|
|
492
|
+
return nil
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
func (x *GetProductCategoryByIDResponse) GetCategoryTaxonomyId() string {
|
|
496
|
+
if x != nil {
|
|
497
|
+
return x.CategoryTaxonomyId
|
|
498
|
+
}
|
|
499
|
+
return ""
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
func (x *GetProductCategoryByIDResponse) GetParentCategoryId() string {
|
|
503
|
+
if x != nil {
|
|
504
|
+
return x.ParentCategoryId
|
|
505
|
+
}
|
|
506
|
+
return ""
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
func (x *GetProductCategoryByIDResponse) GetIsInternal() bool {
|
|
510
|
+
if x != nil {
|
|
511
|
+
return x.IsInternal
|
|
512
|
+
}
|
|
513
|
+
return false
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
func (x *GetProductCategoryByIDResponse) GetIsActive() bool {
|
|
517
|
+
if x != nil {
|
|
518
|
+
return x.IsActive
|
|
519
|
+
}
|
|
520
|
+
return false
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
func (x *GetProductCategoryByIDResponse) GetRank() int32 {
|
|
524
|
+
if x != nil {
|
|
525
|
+
return x.Rank
|
|
526
|
+
}
|
|
527
|
+
return 0
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
func (x *GetProductCategoryByIDResponse) GetTaxonomyFullname() string {
|
|
531
|
+
if x != nil {
|
|
532
|
+
return x.TaxonomyFullname
|
|
533
|
+
}
|
|
534
|
+
return ""
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
type UpdateProductCategoryTaxonomyRequest struct {
|
|
538
|
+
state protoimpl.MessageState `protogen:"open.v1"`
|
|
539
|
+
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
540
|
+
TaxonomyId string `protobuf:"bytes,2,opt,name=taxonomy_id,json=taxonomyId,proto3" json:"taxonomy_id,omitempty"`
|
|
541
|
+
unknownFields protoimpl.UnknownFields
|
|
542
|
+
sizeCache protoimpl.SizeCache
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
func (x *UpdateProductCategoryTaxonomyRequest) Reset() {
|
|
546
|
+
*x = UpdateProductCategoryTaxonomyRequest{}
|
|
547
|
+
mi := &file_src_proto_products_v1_entities_category_proto_msgTypes[8]
|
|
548
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
549
|
+
ms.StoreMessageInfo(mi)
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
func (x *UpdateProductCategoryTaxonomyRequest) String() string {
|
|
553
|
+
return protoimpl.X.MessageStringOf(x)
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
func (*UpdateProductCategoryTaxonomyRequest) ProtoMessage() {}
|
|
557
|
+
|
|
558
|
+
func (x *UpdateProductCategoryTaxonomyRequest) ProtoReflect() protoreflect.Message {
|
|
559
|
+
mi := &file_src_proto_products_v1_entities_category_proto_msgTypes[8]
|
|
560
|
+
if x != nil {
|
|
561
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
562
|
+
if ms.LoadMessageInfo() == nil {
|
|
563
|
+
ms.StoreMessageInfo(mi)
|
|
564
|
+
}
|
|
565
|
+
return ms
|
|
566
|
+
}
|
|
567
|
+
return mi.MessageOf(x)
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
// Deprecated: Use UpdateProductCategoryTaxonomyRequest.ProtoReflect.Descriptor instead.
|
|
571
|
+
func (*UpdateProductCategoryTaxonomyRequest) Descriptor() ([]byte, []int) {
|
|
572
|
+
return file_src_proto_products_v1_entities_category_proto_rawDescGZIP(), []int{8}
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
func (x *UpdateProductCategoryTaxonomyRequest) GetId() string {
|
|
576
|
+
if x != nil {
|
|
577
|
+
return x.Id
|
|
578
|
+
}
|
|
579
|
+
return ""
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
func (x *UpdateProductCategoryTaxonomyRequest) GetTaxonomyId() string {
|
|
583
|
+
if x != nil {
|
|
584
|
+
return x.TaxonomyId
|
|
585
|
+
}
|
|
586
|
+
return ""
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
type UpdateProductCategoryTaxonomyResponse struct {
|
|
590
|
+
state protoimpl.MessageState `protogen:"open.v1"`
|
|
591
|
+
unknownFields protoimpl.UnknownFields
|
|
592
|
+
sizeCache protoimpl.SizeCache
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
func (x *UpdateProductCategoryTaxonomyResponse) Reset() {
|
|
596
|
+
*x = UpdateProductCategoryTaxonomyResponse{}
|
|
597
|
+
mi := &file_src_proto_products_v1_entities_category_proto_msgTypes[9]
|
|
598
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
599
|
+
ms.StoreMessageInfo(mi)
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
func (x *UpdateProductCategoryTaxonomyResponse) String() string {
|
|
603
|
+
return protoimpl.X.MessageStringOf(x)
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
func (*UpdateProductCategoryTaxonomyResponse) ProtoMessage() {}
|
|
607
|
+
|
|
608
|
+
func (x *UpdateProductCategoryTaxonomyResponse) ProtoReflect() protoreflect.Message {
|
|
609
|
+
mi := &file_src_proto_products_v1_entities_category_proto_msgTypes[9]
|
|
610
|
+
if x != nil {
|
|
611
|
+
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
612
|
+
if ms.LoadMessageInfo() == nil {
|
|
613
|
+
ms.StoreMessageInfo(mi)
|
|
614
|
+
}
|
|
615
|
+
return ms
|
|
616
|
+
}
|
|
617
|
+
return mi.MessageOf(x)
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
// Deprecated: Use UpdateProductCategoryTaxonomyResponse.ProtoReflect.Descriptor instead.
|
|
621
|
+
func (*UpdateProductCategoryTaxonomyResponse) Descriptor() ([]byte, []int) {
|
|
622
|
+
return file_src_proto_products_v1_entities_category_proto_rawDescGZIP(), []int{9}
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
var File_src_proto_products_v1_entities_category_proto protoreflect.FileDescriptor
|
|
626
|
+
|
|
627
|
+
const file_src_proto_products_v1_entities_category_proto_rawDesc = "" +
|
|
628
|
+
"\n" +
|
|
629
|
+
"-src/proto/products/v1/entities/category.proto\x1a\x1bbuf/validate/validate.proto\"\xac\x03\n" +
|
|
630
|
+
"\x1cCreateProductCategoryRequest\x12\x1d\n" +
|
|
631
|
+
"\x04name\x18\x01 \x01(\tB\t\xbaH\x06r\x04\x10\x01\x18dR\x04name\x12/\n" +
|
|
632
|
+
"\vdescription\x18\x02 \x01(\tB\b\xbaH\x05r\x03\x18\xf4\x03H\x00R\vdescription\x88\x01\x01\x12<\n" +
|
|
633
|
+
"\x12parent_category_id\x18\x03 \x01(\tB\t\xbaH\x06r\x04\x10\x01\x18dH\x01R\x10parentCategoryId\x88\x01\x01\x12;\n" +
|
|
634
|
+
"\x14category_taxonomy_id\x18\x04 \x01(\tB\t\xbaH\x06r\x04\x10\x01\x18dR\x12categoryTaxonomyId\x12\x12\n" +
|
|
635
|
+
"\x04tags\x18\x05 \x03(\tR\x04tags\x12$\n" +
|
|
636
|
+
"\vis_internal\x18\x06 \x01(\bH\x02R\n" +
|
|
637
|
+
"isInternal\x88\x01\x01\x12 \n" +
|
|
638
|
+
"\tis_active\x18\a \x01(\bH\x03R\bisActive\x88\x01\x01\x12\x17\n" +
|
|
639
|
+
"\x04rank\x18\b \x01(\x05H\x04R\x04rank\x88\x01\x01B\x0e\n" +
|
|
640
|
+
"\f_descriptionB\x15\n" +
|
|
641
|
+
"\x13_parent_category_idB\x0e\n" +
|
|
642
|
+
"\f_is_internalB\f\n" +
|
|
643
|
+
"\n" +
|
|
644
|
+
"_is_activeB\a\n" +
|
|
645
|
+
"\x05_rank\"/\n" +
|
|
646
|
+
"\x1dCreateProductCategoryResponse\x12\x0e\n" +
|
|
647
|
+
"\x02id\x18\x01 \x01(\tR\x02id\"\xb5\x02\n" +
|
|
648
|
+
"\x1cUpdateProductCategoryRequest\x12\x19\n" +
|
|
649
|
+
"\x02id\x18\x01 \x01(\tB\t\xbaH\x06r\x04\x10\x01\x18dR\x02id\x12\x1d\n" +
|
|
650
|
+
"\x04name\x18\x02 \x01(\tB\t\xbaH\x06r\x04\x10\x01\x18dR\x04name\x12/\n" +
|
|
651
|
+
"\vdescription\x18\x03 \x01(\tB\b\xbaH\x05r\x03\x18\xf4\x03H\x00R\vdescription\x88\x01\x01\x12\x12\n" +
|
|
652
|
+
"\x04tags\x18\x04 \x03(\tR\x04tags\x12$\n" +
|
|
653
|
+
"\vis_internal\x18\x05 \x01(\bH\x01R\n" +
|
|
654
|
+
"isInternal\x88\x01\x01\x12 \n" +
|
|
655
|
+
"\tis_active\x18\x06 \x01(\bH\x02R\bisActive\x88\x01\x01\x12\x17\n" +
|
|
656
|
+
"\x04rank\x18\a \x01(\x05H\x03R\x04rank\x88\x01\x01B\x0e\n" +
|
|
657
|
+
"\f_descriptionB\x0e\n" +
|
|
658
|
+
"\f_is_internalB\f\n" +
|
|
659
|
+
"\n" +
|
|
660
|
+
"_is_activeB\a\n" +
|
|
661
|
+
"\x05_rank\"\x1f\n" +
|
|
662
|
+
"\x1dUpdateProductCategoryResponse\"=\n" +
|
|
663
|
+
" DeleteProductCategoryByIDRequest\x12\x19\n" +
|
|
664
|
+
"\x02id\x18\x01 \x01(\tB\t\xbaH\x06r\x04\x10\x01\x18dR\x02id\"#\n" +
|
|
665
|
+
"!DeleteProductCategoryByIDResponse\":\n" +
|
|
666
|
+
"\x1dGetProductCategoryByIDRequest\x12\x19\n" +
|
|
667
|
+
"\x02id\x18\x01 \x01(\tB\t\xbaH\x06r\x04\x10\x01\x18dR\x02id\"\xd9\x02\n" +
|
|
668
|
+
"\x1eGetProductCategoryByIDResponse\x12\x0e\n" +
|
|
669
|
+
"\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n" +
|
|
670
|
+
"\x04name\x18\x02 \x01(\tR\x04name\x12 \n" +
|
|
671
|
+
"\vdescription\x18\x03 \x01(\tR\vdescription\x12\x12\n" +
|
|
672
|
+
"\x04tags\x18\x04 \x03(\tR\x04tags\x120\n" +
|
|
673
|
+
"\x14category_taxonomy_id\x18\x05 \x01(\tR\x12categoryTaxonomyId\x12,\n" +
|
|
674
|
+
"\x12parent_category_id\x18\x06 \x01(\tR\x10parentCategoryId\x12\x1f\n" +
|
|
675
|
+
"\vis_internal\x18\a \x01(\bR\n" +
|
|
676
|
+
"isInternal\x12\x1b\n" +
|
|
677
|
+
"\tis_active\x18\b \x01(\bR\bisActive\x12\x12\n" +
|
|
678
|
+
"\x04rank\x18\t \x01(\x05R\x04rank\x12+\n" +
|
|
679
|
+
"\x11taxonomy_fullname\x18\n" +
|
|
680
|
+
" \x01(\tR\x10taxonomyFullname\"m\n" +
|
|
681
|
+
"$UpdateProductCategoryTaxonomyRequest\x12\x19\n" +
|
|
682
|
+
"\x02id\x18\x01 \x01(\tB\t\xbaH\x06r\x04\x10\x01\x18dR\x02id\x12*\n" +
|
|
683
|
+
"\vtaxonomy_id\x18\x02 \x01(\tB\t\xbaH\x06r\x04\x10\x01\x18dR\n" +
|
|
684
|
+
"taxonomyId\"'\n" +
|
|
685
|
+
"%UpdateProductCategoryTaxonomyResponseBLB\rCategoryProtoP\x01Z9paakd.com/packages/api/gen/src/proto/products/v1/entitiesb\x06proto3"
|
|
686
|
+
|
|
687
|
+
var (
|
|
688
|
+
file_src_proto_products_v1_entities_category_proto_rawDescOnce sync.Once
|
|
689
|
+
file_src_proto_products_v1_entities_category_proto_rawDescData []byte
|
|
690
|
+
)
|
|
691
|
+
|
|
692
|
+
func file_src_proto_products_v1_entities_category_proto_rawDescGZIP() []byte {
|
|
693
|
+
file_src_proto_products_v1_entities_category_proto_rawDescOnce.Do(func() {
|
|
694
|
+
file_src_proto_products_v1_entities_category_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_src_proto_products_v1_entities_category_proto_rawDesc), len(file_src_proto_products_v1_entities_category_proto_rawDesc)))
|
|
695
|
+
})
|
|
696
|
+
return file_src_proto_products_v1_entities_category_proto_rawDescData
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
var file_src_proto_products_v1_entities_category_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
|
|
700
|
+
var file_src_proto_products_v1_entities_category_proto_goTypes = []any{
|
|
701
|
+
(*CreateProductCategoryRequest)(nil), // 0: CreateProductCategoryRequest
|
|
702
|
+
(*CreateProductCategoryResponse)(nil), // 1: CreateProductCategoryResponse
|
|
703
|
+
(*UpdateProductCategoryRequest)(nil), // 2: UpdateProductCategoryRequest
|
|
704
|
+
(*UpdateProductCategoryResponse)(nil), // 3: UpdateProductCategoryResponse
|
|
705
|
+
(*DeleteProductCategoryByIDRequest)(nil), // 4: DeleteProductCategoryByIDRequest
|
|
706
|
+
(*DeleteProductCategoryByIDResponse)(nil), // 5: DeleteProductCategoryByIDResponse
|
|
707
|
+
(*GetProductCategoryByIDRequest)(nil), // 6: GetProductCategoryByIDRequest
|
|
708
|
+
(*GetProductCategoryByIDResponse)(nil), // 7: GetProductCategoryByIDResponse
|
|
709
|
+
(*UpdateProductCategoryTaxonomyRequest)(nil), // 8: UpdateProductCategoryTaxonomyRequest
|
|
710
|
+
(*UpdateProductCategoryTaxonomyResponse)(nil), // 9: UpdateProductCategoryTaxonomyResponse
|
|
711
|
+
}
|
|
712
|
+
var file_src_proto_products_v1_entities_category_proto_depIdxs = []int32{
|
|
713
|
+
0, // [0:0] is the sub-list for method output_type
|
|
714
|
+
0, // [0:0] is the sub-list for method input_type
|
|
715
|
+
0, // [0:0] is the sub-list for extension type_name
|
|
716
|
+
0, // [0:0] is the sub-list for extension extendee
|
|
717
|
+
0, // [0:0] is the sub-list for field type_name
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
func init() { file_src_proto_products_v1_entities_category_proto_init() }
|
|
721
|
+
func file_src_proto_products_v1_entities_category_proto_init() {
|
|
722
|
+
if File_src_proto_products_v1_entities_category_proto != nil {
|
|
723
|
+
return
|
|
724
|
+
}
|
|
725
|
+
file_src_proto_products_v1_entities_category_proto_msgTypes[0].OneofWrappers = []any{}
|
|
726
|
+
file_src_proto_products_v1_entities_category_proto_msgTypes[2].OneofWrappers = []any{}
|
|
727
|
+
type x struct{}
|
|
728
|
+
out := protoimpl.TypeBuilder{
|
|
729
|
+
File: protoimpl.DescBuilder{
|
|
730
|
+
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
731
|
+
RawDescriptor: unsafe.Slice(unsafe.StringData(file_src_proto_products_v1_entities_category_proto_rawDesc), len(file_src_proto_products_v1_entities_category_proto_rawDesc)),
|
|
732
|
+
NumEnums: 0,
|
|
733
|
+
NumMessages: 10,
|
|
734
|
+
NumExtensions: 0,
|
|
735
|
+
NumServices: 0,
|
|
736
|
+
},
|
|
737
|
+
GoTypes: file_src_proto_products_v1_entities_category_proto_goTypes,
|
|
738
|
+
DependencyIndexes: file_src_proto_products_v1_entities_category_proto_depIdxs,
|
|
739
|
+
MessageInfos: file_src_proto_products_v1_entities_category_proto_msgTypes,
|
|
740
|
+
}.Build()
|
|
741
|
+
File_src_proto_products_v1_entities_category_proto = out.File
|
|
742
|
+
file_src_proto_products_v1_entities_category_proto_goTypes = nil
|
|
743
|
+
file_src_proto_products_v1_entities_category_proto_depIdxs = nil
|
|
744
|
+
}
|