@paakd/api 0.0.2 → 0.0.4
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/package.json +11 -9
- package/buf/validate/validate_pb.ts +0 -5001
- package/gen/buf/validate/validate_pb.ts +0 -4799
- package/gen/src/proto/auth/v1/authv1connect/service.connect.go +0 -454
- package/gen/src/proto/auth/v1/entities/auth.pb.go +0 -818
- package/gen/src/proto/auth/v1/entities/auth_pb.ts +0 -348
- package/gen/src/proto/auth/v1/entities/policy.pb.go +0 -727
- package/gen/src/proto/auth/v1/entities/policy_pb.ts +0 -306
- package/gen/src/proto/auth/v1/service-AuthService_connectquery.ts +0 -70
- package/gen/src/proto/auth/v1/service.pb.go +0 -119
- package/gen/src/proto/auth/v1/service_pb.ts +0 -152
- package/gen/src/proto/customers/v1/customersv1connect/service.connect.go +0 -358
- package/gen/src/proto/customers/v1/entities/address.pb.go +0 -1073
- package/gen/src/proto/customers/v1/entities/address_pb.ts +0 -478
- package/gen/src/proto/customers/v1/entities/profile.pb.go +0 -633
- package/gen/src/proto/customers/v1/entities/profile_pb.ts +0 -252
- package/gen/src/proto/customers/v1/service-CustomerService_connectquery.ts +0 -50
- package/gen/src/proto/customers/v1/service.pb.go +0 -110
- package/gen/src/proto/customers/v1/service_pb.ts +0 -121
- package/gen/src/proto/files/v1/entities/file.pb.go +0 -669
- package/gen/src/proto/files/v1/entities/file_pb.ts +0 -265
- package/gen/src/proto/files/v1/filesv1connect/service.connect.go +0 -200
- package/gen/src/proto/files/v1/service-FileService_connectquery.ts +0 -25
- package/gen/src/proto/files/v1/service.pb.go +0 -85
- package/gen/src/proto/files/v1/service_pb.ts +0 -65
- package/gen/src/proto/products/v1/entities/category.pb.go +0 -744
- package/gen/src/proto/products/v1/entities/category_pb.ts +0 -318
- package/gen/src/proto/products/v1/entities/collection.pb.go +0 -528
- package/gen/src/proto/products/v1/entities/collection_pb.ts +0 -214
- package/gen/src/proto/products/v1/entities/product/create.pb.go +0 -453
- package/gen/src/proto/products/v1/entities/product/create_pb.ts +0 -199
- package/gen/src/proto/products/v1/entities/product/option.pb.go +0 -206
- package/gen/src/proto/products/v1/entities/product/option_pb.ts +0 -74
- package/gen/src/proto/products/v1/entities/product/shared.pb.go +0 -2890
- package/gen/src/proto/products/v1/entities/product/shared_pb.ts +0 -1317
- package/gen/src/proto/products/v1/entities/product/update.pb.go +0 -794
- package/gen/src/proto/products/v1/entities/product/update_pb.ts +0 -325
- package/gen/src/proto/products/v1/entities/tag.pb.go +0 -610
- package/gen/src/proto/products/v1/entities/tag_pb.ts +0 -233
- package/gen/src/proto/products/v1/entities/taxonomy.pb.go +0 -1352
- package/gen/src/proto/products/v1/entities/taxonomy_pb.ts +0 -606
- package/gen/src/proto/products/v1/entities/type.pb.go +0 -553
- package/gen/src/proto/products/v1/entities/type_pb.ts +0 -215
- package/gen/src/proto/products/v1/entities/variant.pb.go +0 -1474
- package/gen/src/proto/products/v1/entities/variant_pb.ts +0 -629
- package/gen/src/proto/products/v1/productsv1connect/service.connect.go +0 -1195
- package/gen/src/proto/products/v1/service-ProductsService_connectquery.ts +0 -199
- package/gen/src/proto/products/v1/service.pb.go +0 -250
- package/gen/src/proto/products/v1/service_pb.ts +0 -429
- package/gen/src/proto/promotions/v1/entities/campaign.pb.go +0 -1229
- package/gen/src/proto/promotions/v1/entities/campaign_pb.ts +0 -511
- package/gen/src/proto/promotions/v1/promotionsv1connect/service.connect.go +0 -289
- package/gen/src/proto/promotions/v1/service-CampaignService_connectquery.ts +0 -42
- package/gen/src/proto/promotions/v1/service.pb.go +0 -98
- package/gen/src/proto/promotions/v1/service_pb.ts +0 -95
- package/gen/src/proto/stocknodes/v1/entities/stocknode.pb.go +0 -1499
- package/gen/src/proto/stocknodes/v1/entities/stocknode_pb.ts +0 -655
- package/gen/src/proto/stocknodes/v1/service-StockNodesService_connectquery.ts +0 -41
- package/gen/src/proto/stocknodes/v1/service.pb.go +0 -98
- package/gen/src/proto/stocknodes/v1/service_pb.ts +0 -95
- package/gen/src/proto/stocknodes/v1/stocknodesv1connect/service.connect.go +0 -297
|
@@ -1,744 +0,0 @@
|
|
|
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
|
-
}
|