@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,610 +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/tag.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 CreateTagRequest struct {
|
|
26
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
27
|
-
Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
|
|
28
|
-
unknownFields protoimpl.UnknownFields
|
|
29
|
-
sizeCache protoimpl.SizeCache
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
func (x *CreateTagRequest) Reset() {
|
|
33
|
-
*x = CreateTagRequest{}
|
|
34
|
-
mi := &file_src_proto_products_v1_entities_tag_proto_msgTypes[0]
|
|
35
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
36
|
-
ms.StoreMessageInfo(mi)
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
func (x *CreateTagRequest) String() string {
|
|
40
|
-
return protoimpl.X.MessageStringOf(x)
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
func (*CreateTagRequest) ProtoMessage() {}
|
|
44
|
-
|
|
45
|
-
func (x *CreateTagRequest) ProtoReflect() protoreflect.Message {
|
|
46
|
-
mi := &file_src_proto_products_v1_entities_tag_proto_msgTypes[0]
|
|
47
|
-
if x != nil {
|
|
48
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
49
|
-
if ms.LoadMessageInfo() == nil {
|
|
50
|
-
ms.StoreMessageInfo(mi)
|
|
51
|
-
}
|
|
52
|
-
return ms
|
|
53
|
-
}
|
|
54
|
-
return mi.MessageOf(x)
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
// Deprecated: Use CreateTagRequest.ProtoReflect.Descriptor instead.
|
|
58
|
-
func (*CreateTagRequest) Descriptor() ([]byte, []int) {
|
|
59
|
-
return file_src_proto_products_v1_entities_tag_proto_rawDescGZIP(), []int{0}
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
func (x *CreateTagRequest) GetValue() string {
|
|
63
|
-
if x != nil {
|
|
64
|
-
return x.Value
|
|
65
|
-
}
|
|
66
|
-
return ""
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
type CreateTagResponse struct {
|
|
70
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
71
|
-
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
72
|
-
unknownFields protoimpl.UnknownFields
|
|
73
|
-
sizeCache protoimpl.SizeCache
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
func (x *CreateTagResponse) Reset() {
|
|
77
|
-
*x = CreateTagResponse{}
|
|
78
|
-
mi := &file_src_proto_products_v1_entities_tag_proto_msgTypes[1]
|
|
79
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
80
|
-
ms.StoreMessageInfo(mi)
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
func (x *CreateTagResponse) String() string {
|
|
84
|
-
return protoimpl.X.MessageStringOf(x)
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
func (*CreateTagResponse) ProtoMessage() {}
|
|
88
|
-
|
|
89
|
-
func (x *CreateTagResponse) ProtoReflect() protoreflect.Message {
|
|
90
|
-
mi := &file_src_proto_products_v1_entities_tag_proto_msgTypes[1]
|
|
91
|
-
if x != nil {
|
|
92
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
93
|
-
if ms.LoadMessageInfo() == nil {
|
|
94
|
-
ms.StoreMessageInfo(mi)
|
|
95
|
-
}
|
|
96
|
-
return ms
|
|
97
|
-
}
|
|
98
|
-
return mi.MessageOf(x)
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
// Deprecated: Use CreateTagResponse.ProtoReflect.Descriptor instead.
|
|
102
|
-
func (*CreateTagResponse) Descriptor() ([]byte, []int) {
|
|
103
|
-
return file_src_proto_products_v1_entities_tag_proto_rawDescGZIP(), []int{1}
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
func (x *CreateTagResponse) GetId() string {
|
|
107
|
-
if x != nil {
|
|
108
|
-
return x.Id
|
|
109
|
-
}
|
|
110
|
-
return ""
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
type GetTagByIDRequest struct {
|
|
114
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
115
|
-
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
116
|
-
unknownFields protoimpl.UnknownFields
|
|
117
|
-
sizeCache protoimpl.SizeCache
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
func (x *GetTagByIDRequest) Reset() {
|
|
121
|
-
*x = GetTagByIDRequest{}
|
|
122
|
-
mi := &file_src_proto_products_v1_entities_tag_proto_msgTypes[2]
|
|
123
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
124
|
-
ms.StoreMessageInfo(mi)
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
func (x *GetTagByIDRequest) String() string {
|
|
128
|
-
return protoimpl.X.MessageStringOf(x)
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
func (*GetTagByIDRequest) ProtoMessage() {}
|
|
132
|
-
|
|
133
|
-
func (x *GetTagByIDRequest) ProtoReflect() protoreflect.Message {
|
|
134
|
-
mi := &file_src_proto_products_v1_entities_tag_proto_msgTypes[2]
|
|
135
|
-
if x != nil {
|
|
136
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
137
|
-
if ms.LoadMessageInfo() == nil {
|
|
138
|
-
ms.StoreMessageInfo(mi)
|
|
139
|
-
}
|
|
140
|
-
return ms
|
|
141
|
-
}
|
|
142
|
-
return mi.MessageOf(x)
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
// Deprecated: Use GetTagByIDRequest.ProtoReflect.Descriptor instead.
|
|
146
|
-
func (*GetTagByIDRequest) Descriptor() ([]byte, []int) {
|
|
147
|
-
return file_src_proto_products_v1_entities_tag_proto_rawDescGZIP(), []int{2}
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
func (x *GetTagByIDRequest) GetId() string {
|
|
151
|
-
if x != nil {
|
|
152
|
-
return x.Id
|
|
153
|
-
}
|
|
154
|
-
return ""
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
type GetTagByIDResponse struct {
|
|
158
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
159
|
-
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
160
|
-
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
|
|
161
|
-
unknownFields protoimpl.UnknownFields
|
|
162
|
-
sizeCache protoimpl.SizeCache
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
func (x *GetTagByIDResponse) Reset() {
|
|
166
|
-
*x = GetTagByIDResponse{}
|
|
167
|
-
mi := &file_src_proto_products_v1_entities_tag_proto_msgTypes[3]
|
|
168
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
169
|
-
ms.StoreMessageInfo(mi)
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
func (x *GetTagByIDResponse) String() string {
|
|
173
|
-
return protoimpl.X.MessageStringOf(x)
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
func (*GetTagByIDResponse) ProtoMessage() {}
|
|
177
|
-
|
|
178
|
-
func (x *GetTagByIDResponse) ProtoReflect() protoreflect.Message {
|
|
179
|
-
mi := &file_src_proto_products_v1_entities_tag_proto_msgTypes[3]
|
|
180
|
-
if x != nil {
|
|
181
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
182
|
-
if ms.LoadMessageInfo() == nil {
|
|
183
|
-
ms.StoreMessageInfo(mi)
|
|
184
|
-
}
|
|
185
|
-
return ms
|
|
186
|
-
}
|
|
187
|
-
return mi.MessageOf(x)
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
// Deprecated: Use GetTagByIDResponse.ProtoReflect.Descriptor instead.
|
|
191
|
-
func (*GetTagByIDResponse) Descriptor() ([]byte, []int) {
|
|
192
|
-
return file_src_proto_products_v1_entities_tag_proto_rawDescGZIP(), []int{3}
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
func (x *GetTagByIDResponse) GetId() string {
|
|
196
|
-
if x != nil {
|
|
197
|
-
return x.Id
|
|
198
|
-
}
|
|
199
|
-
return ""
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
func (x *GetTagByIDResponse) GetValue() string {
|
|
203
|
-
if x != nil {
|
|
204
|
-
return x.Value
|
|
205
|
-
}
|
|
206
|
-
return ""
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
type ListTagsRequest struct {
|
|
210
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
211
|
-
Offset int32 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"`
|
|
212
|
-
Limit uint32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
|
|
213
|
-
OrderBy string `protobuf:"bytes,3,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
|
|
214
|
-
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
|
|
215
|
-
Ascending bool `protobuf:"varint,5,opt,name=ascending,proto3" json:"ascending,omitempty"`
|
|
216
|
-
RequestPath string `protobuf:"bytes,6,opt,name=request_path,json=requestPath,proto3" json:"request_path,omitempty"`
|
|
217
|
-
unknownFields protoimpl.UnknownFields
|
|
218
|
-
sizeCache protoimpl.SizeCache
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
func (x *ListTagsRequest) Reset() {
|
|
222
|
-
*x = ListTagsRequest{}
|
|
223
|
-
mi := &file_src_proto_products_v1_entities_tag_proto_msgTypes[4]
|
|
224
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
225
|
-
ms.StoreMessageInfo(mi)
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
func (x *ListTagsRequest) String() string {
|
|
229
|
-
return protoimpl.X.MessageStringOf(x)
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
func (*ListTagsRequest) ProtoMessage() {}
|
|
233
|
-
|
|
234
|
-
func (x *ListTagsRequest) ProtoReflect() protoreflect.Message {
|
|
235
|
-
mi := &file_src_proto_products_v1_entities_tag_proto_msgTypes[4]
|
|
236
|
-
if x != nil {
|
|
237
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
238
|
-
if ms.LoadMessageInfo() == nil {
|
|
239
|
-
ms.StoreMessageInfo(mi)
|
|
240
|
-
}
|
|
241
|
-
return ms
|
|
242
|
-
}
|
|
243
|
-
return mi.MessageOf(x)
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
// Deprecated: Use ListTagsRequest.ProtoReflect.Descriptor instead.
|
|
247
|
-
func (*ListTagsRequest) Descriptor() ([]byte, []int) {
|
|
248
|
-
return file_src_proto_products_v1_entities_tag_proto_rawDescGZIP(), []int{4}
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
func (x *ListTagsRequest) GetOffset() int32 {
|
|
252
|
-
if x != nil {
|
|
253
|
-
return x.Offset
|
|
254
|
-
}
|
|
255
|
-
return 0
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
func (x *ListTagsRequest) GetLimit() uint32 {
|
|
259
|
-
if x != nil {
|
|
260
|
-
return x.Limit
|
|
261
|
-
}
|
|
262
|
-
return 0
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
func (x *ListTagsRequest) GetOrderBy() string {
|
|
266
|
-
if x != nil {
|
|
267
|
-
return x.OrderBy
|
|
268
|
-
}
|
|
269
|
-
return ""
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
func (x *ListTagsRequest) GetFilter() string {
|
|
273
|
-
if x != nil {
|
|
274
|
-
return x.Filter
|
|
275
|
-
}
|
|
276
|
-
return ""
|
|
277
|
-
}
|
|
278
|
-
|
|
279
|
-
func (x *ListTagsRequest) GetAscending() bool {
|
|
280
|
-
if x != nil {
|
|
281
|
-
return x.Ascending
|
|
282
|
-
}
|
|
283
|
-
return false
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
func (x *ListTagsRequest) GetRequestPath() string {
|
|
287
|
-
if x != nil {
|
|
288
|
-
return x.RequestPath
|
|
289
|
-
}
|
|
290
|
-
return ""
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
type ListTagsResponse struct {
|
|
294
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
295
|
-
Tags []*GetTagByIDResponse `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"`
|
|
296
|
-
unknownFields protoimpl.UnknownFields
|
|
297
|
-
sizeCache protoimpl.SizeCache
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
func (x *ListTagsResponse) Reset() {
|
|
301
|
-
*x = ListTagsResponse{}
|
|
302
|
-
mi := &file_src_proto_products_v1_entities_tag_proto_msgTypes[5]
|
|
303
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
304
|
-
ms.StoreMessageInfo(mi)
|
|
305
|
-
}
|
|
306
|
-
|
|
307
|
-
func (x *ListTagsResponse) String() string {
|
|
308
|
-
return protoimpl.X.MessageStringOf(x)
|
|
309
|
-
}
|
|
310
|
-
|
|
311
|
-
func (*ListTagsResponse) ProtoMessage() {}
|
|
312
|
-
|
|
313
|
-
func (x *ListTagsResponse) ProtoReflect() protoreflect.Message {
|
|
314
|
-
mi := &file_src_proto_products_v1_entities_tag_proto_msgTypes[5]
|
|
315
|
-
if x != nil {
|
|
316
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
317
|
-
if ms.LoadMessageInfo() == nil {
|
|
318
|
-
ms.StoreMessageInfo(mi)
|
|
319
|
-
}
|
|
320
|
-
return ms
|
|
321
|
-
}
|
|
322
|
-
return mi.MessageOf(x)
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
// Deprecated: Use ListTagsResponse.ProtoReflect.Descriptor instead.
|
|
326
|
-
func (*ListTagsResponse) Descriptor() ([]byte, []int) {
|
|
327
|
-
return file_src_proto_products_v1_entities_tag_proto_rawDescGZIP(), []int{5}
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
func (x *ListTagsResponse) GetTags() []*GetTagByIDResponse {
|
|
331
|
-
if x != nil {
|
|
332
|
-
return x.Tags
|
|
333
|
-
}
|
|
334
|
-
return nil
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
type UpdateTagRequest struct {
|
|
338
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
339
|
-
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
340
|
-
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
|
|
341
|
-
unknownFields protoimpl.UnknownFields
|
|
342
|
-
sizeCache protoimpl.SizeCache
|
|
343
|
-
}
|
|
344
|
-
|
|
345
|
-
func (x *UpdateTagRequest) Reset() {
|
|
346
|
-
*x = UpdateTagRequest{}
|
|
347
|
-
mi := &file_src_proto_products_v1_entities_tag_proto_msgTypes[6]
|
|
348
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
349
|
-
ms.StoreMessageInfo(mi)
|
|
350
|
-
}
|
|
351
|
-
|
|
352
|
-
func (x *UpdateTagRequest) String() string {
|
|
353
|
-
return protoimpl.X.MessageStringOf(x)
|
|
354
|
-
}
|
|
355
|
-
|
|
356
|
-
func (*UpdateTagRequest) ProtoMessage() {}
|
|
357
|
-
|
|
358
|
-
func (x *UpdateTagRequest) ProtoReflect() protoreflect.Message {
|
|
359
|
-
mi := &file_src_proto_products_v1_entities_tag_proto_msgTypes[6]
|
|
360
|
-
if x != nil {
|
|
361
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
362
|
-
if ms.LoadMessageInfo() == nil {
|
|
363
|
-
ms.StoreMessageInfo(mi)
|
|
364
|
-
}
|
|
365
|
-
return ms
|
|
366
|
-
}
|
|
367
|
-
return mi.MessageOf(x)
|
|
368
|
-
}
|
|
369
|
-
|
|
370
|
-
// Deprecated: Use UpdateTagRequest.ProtoReflect.Descriptor instead.
|
|
371
|
-
func (*UpdateTagRequest) Descriptor() ([]byte, []int) {
|
|
372
|
-
return file_src_proto_products_v1_entities_tag_proto_rawDescGZIP(), []int{6}
|
|
373
|
-
}
|
|
374
|
-
|
|
375
|
-
func (x *UpdateTagRequest) GetId() string {
|
|
376
|
-
if x != nil {
|
|
377
|
-
return x.Id
|
|
378
|
-
}
|
|
379
|
-
return ""
|
|
380
|
-
}
|
|
381
|
-
|
|
382
|
-
func (x *UpdateTagRequest) GetValue() string {
|
|
383
|
-
if x != nil {
|
|
384
|
-
return x.Value
|
|
385
|
-
}
|
|
386
|
-
return ""
|
|
387
|
-
}
|
|
388
|
-
|
|
389
|
-
type UpdateTagResponse struct {
|
|
390
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
391
|
-
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
392
|
-
unknownFields protoimpl.UnknownFields
|
|
393
|
-
sizeCache protoimpl.SizeCache
|
|
394
|
-
}
|
|
395
|
-
|
|
396
|
-
func (x *UpdateTagResponse) Reset() {
|
|
397
|
-
*x = UpdateTagResponse{}
|
|
398
|
-
mi := &file_src_proto_products_v1_entities_tag_proto_msgTypes[7]
|
|
399
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
400
|
-
ms.StoreMessageInfo(mi)
|
|
401
|
-
}
|
|
402
|
-
|
|
403
|
-
func (x *UpdateTagResponse) String() string {
|
|
404
|
-
return protoimpl.X.MessageStringOf(x)
|
|
405
|
-
}
|
|
406
|
-
|
|
407
|
-
func (*UpdateTagResponse) ProtoMessage() {}
|
|
408
|
-
|
|
409
|
-
func (x *UpdateTagResponse) ProtoReflect() protoreflect.Message {
|
|
410
|
-
mi := &file_src_proto_products_v1_entities_tag_proto_msgTypes[7]
|
|
411
|
-
if x != nil {
|
|
412
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
413
|
-
if ms.LoadMessageInfo() == nil {
|
|
414
|
-
ms.StoreMessageInfo(mi)
|
|
415
|
-
}
|
|
416
|
-
return ms
|
|
417
|
-
}
|
|
418
|
-
return mi.MessageOf(x)
|
|
419
|
-
}
|
|
420
|
-
|
|
421
|
-
// Deprecated: Use UpdateTagResponse.ProtoReflect.Descriptor instead.
|
|
422
|
-
func (*UpdateTagResponse) Descriptor() ([]byte, []int) {
|
|
423
|
-
return file_src_proto_products_v1_entities_tag_proto_rawDescGZIP(), []int{7}
|
|
424
|
-
}
|
|
425
|
-
|
|
426
|
-
func (x *UpdateTagResponse) GetId() string {
|
|
427
|
-
if x != nil {
|
|
428
|
-
return x.Id
|
|
429
|
-
}
|
|
430
|
-
return ""
|
|
431
|
-
}
|
|
432
|
-
|
|
433
|
-
type DeleteTagByIDRequest struct {
|
|
434
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
435
|
-
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
436
|
-
unknownFields protoimpl.UnknownFields
|
|
437
|
-
sizeCache protoimpl.SizeCache
|
|
438
|
-
}
|
|
439
|
-
|
|
440
|
-
func (x *DeleteTagByIDRequest) Reset() {
|
|
441
|
-
*x = DeleteTagByIDRequest{}
|
|
442
|
-
mi := &file_src_proto_products_v1_entities_tag_proto_msgTypes[8]
|
|
443
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
444
|
-
ms.StoreMessageInfo(mi)
|
|
445
|
-
}
|
|
446
|
-
|
|
447
|
-
func (x *DeleteTagByIDRequest) String() string {
|
|
448
|
-
return protoimpl.X.MessageStringOf(x)
|
|
449
|
-
}
|
|
450
|
-
|
|
451
|
-
func (*DeleteTagByIDRequest) ProtoMessage() {}
|
|
452
|
-
|
|
453
|
-
func (x *DeleteTagByIDRequest) ProtoReflect() protoreflect.Message {
|
|
454
|
-
mi := &file_src_proto_products_v1_entities_tag_proto_msgTypes[8]
|
|
455
|
-
if x != nil {
|
|
456
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
457
|
-
if ms.LoadMessageInfo() == nil {
|
|
458
|
-
ms.StoreMessageInfo(mi)
|
|
459
|
-
}
|
|
460
|
-
return ms
|
|
461
|
-
}
|
|
462
|
-
return mi.MessageOf(x)
|
|
463
|
-
}
|
|
464
|
-
|
|
465
|
-
// Deprecated: Use DeleteTagByIDRequest.ProtoReflect.Descriptor instead.
|
|
466
|
-
func (*DeleteTagByIDRequest) Descriptor() ([]byte, []int) {
|
|
467
|
-
return file_src_proto_products_v1_entities_tag_proto_rawDescGZIP(), []int{8}
|
|
468
|
-
}
|
|
469
|
-
|
|
470
|
-
func (x *DeleteTagByIDRequest) GetId() string {
|
|
471
|
-
if x != nil {
|
|
472
|
-
return x.Id
|
|
473
|
-
}
|
|
474
|
-
return ""
|
|
475
|
-
}
|
|
476
|
-
|
|
477
|
-
type DeleteTagByIDResponse struct {
|
|
478
|
-
state protoimpl.MessageState `protogen:"open.v1"`
|
|
479
|
-
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
480
|
-
unknownFields protoimpl.UnknownFields
|
|
481
|
-
sizeCache protoimpl.SizeCache
|
|
482
|
-
}
|
|
483
|
-
|
|
484
|
-
func (x *DeleteTagByIDResponse) Reset() {
|
|
485
|
-
*x = DeleteTagByIDResponse{}
|
|
486
|
-
mi := &file_src_proto_products_v1_entities_tag_proto_msgTypes[9]
|
|
487
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
488
|
-
ms.StoreMessageInfo(mi)
|
|
489
|
-
}
|
|
490
|
-
|
|
491
|
-
func (x *DeleteTagByIDResponse) String() string {
|
|
492
|
-
return protoimpl.X.MessageStringOf(x)
|
|
493
|
-
}
|
|
494
|
-
|
|
495
|
-
func (*DeleteTagByIDResponse) ProtoMessage() {}
|
|
496
|
-
|
|
497
|
-
func (x *DeleteTagByIDResponse) ProtoReflect() protoreflect.Message {
|
|
498
|
-
mi := &file_src_proto_products_v1_entities_tag_proto_msgTypes[9]
|
|
499
|
-
if x != nil {
|
|
500
|
-
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
501
|
-
if ms.LoadMessageInfo() == nil {
|
|
502
|
-
ms.StoreMessageInfo(mi)
|
|
503
|
-
}
|
|
504
|
-
return ms
|
|
505
|
-
}
|
|
506
|
-
return mi.MessageOf(x)
|
|
507
|
-
}
|
|
508
|
-
|
|
509
|
-
// Deprecated: Use DeleteTagByIDResponse.ProtoReflect.Descriptor instead.
|
|
510
|
-
func (*DeleteTagByIDResponse) Descriptor() ([]byte, []int) {
|
|
511
|
-
return file_src_proto_products_v1_entities_tag_proto_rawDescGZIP(), []int{9}
|
|
512
|
-
}
|
|
513
|
-
|
|
514
|
-
func (x *DeleteTagByIDResponse) GetId() string {
|
|
515
|
-
if x != nil {
|
|
516
|
-
return x.Id
|
|
517
|
-
}
|
|
518
|
-
return ""
|
|
519
|
-
}
|
|
520
|
-
|
|
521
|
-
var File_src_proto_products_v1_entities_tag_proto protoreflect.FileDescriptor
|
|
522
|
-
|
|
523
|
-
const file_src_proto_products_v1_entities_tag_proto_rawDesc = "" +
|
|
524
|
-
"\n" +
|
|
525
|
-
"(src/proto/products/v1/entities/tag.proto\x1a\x1bbuf/validate/validate.proto\"3\n" +
|
|
526
|
-
"\x10CreateTagRequest\x12\x1f\n" +
|
|
527
|
-
"\x05value\x18\x01 \x01(\tB\t\xbaH\x06r\x04\x10\x01\x18dR\x05value\"#\n" +
|
|
528
|
-
"\x11CreateTagResponse\x12\x0e\n" +
|
|
529
|
-
"\x02id\x18\x01 \x01(\tR\x02id\".\n" +
|
|
530
|
-
"\x11GetTagByIDRequest\x12\x19\n" +
|
|
531
|
-
"\x02id\x18\x01 \x01(\tB\t\xbaH\x06r\x04\x10\x01\x18dR\x02id\":\n" +
|
|
532
|
-
"\x12GetTagByIDResponse\x12\x0e\n" +
|
|
533
|
-
"\x02id\x18\x01 \x01(\tR\x02id\x12\x14\n" +
|
|
534
|
-
"\x05value\x18\x02 \x01(\tR\x05value\"\xc7\x01\n" +
|
|
535
|
-
"\x0fListTagsRequest\x12\x1f\n" +
|
|
536
|
-
"\x06offset\x18\x01 \x01(\x05B\a\xbaH\x04\x1a\x02(\x01R\x06offset\x12\x1f\n" +
|
|
537
|
-
"\x05limit\x18\x02 \x01(\rB\t\xbaH\x06\x1a\x04\x18d(\x01R\x05limit\x12\x19\n" +
|
|
538
|
-
"\border_by\x18\x03 \x01(\tR\aorderBy\x12\x16\n" +
|
|
539
|
-
"\x06filter\x18\x04 \x01(\tR\x06filter\x12\x1c\n" +
|
|
540
|
-
"\tascending\x18\x05 \x01(\bR\tascending\x12!\n" +
|
|
541
|
-
"\frequest_path\x18\x06 \x01(\tR\vrequestPath\";\n" +
|
|
542
|
-
"\x10ListTagsResponse\x12'\n" +
|
|
543
|
-
"\x04tags\x18\x01 \x03(\v2\x13.GetTagByIDResponseR\x04tags\"N\n" +
|
|
544
|
-
"\x10UpdateTagRequest\x12\x19\n" +
|
|
545
|
-
"\x02id\x18\x01 \x01(\tB\t\xbaH\x06r\x04\x10\x01\x18dR\x02id\x12\x1f\n" +
|
|
546
|
-
"\x05value\x18\x02 \x01(\tB\t\xbaH\x06r\x04\x10\x01\x18dR\x05value\"#\n" +
|
|
547
|
-
"\x11UpdateTagResponse\x12\x0e\n" +
|
|
548
|
-
"\x02id\x18\x01 \x01(\tR\x02id\"1\n" +
|
|
549
|
-
"\x14DeleteTagByIDRequest\x12\x19\n" +
|
|
550
|
-
"\x02id\x18\x01 \x01(\tB\t\xbaH\x06r\x04\x10\x01\x18dR\x02id\"'\n" +
|
|
551
|
-
"\x15DeleteTagByIDResponse\x12\x0e\n" +
|
|
552
|
-
"\x02id\x18\x01 \x01(\tR\x02idBGB\bTagProtoP\x01Z9paakd.com/packages/api/gen/src/proto/products/v1/entitiesb\x06proto3"
|
|
553
|
-
|
|
554
|
-
var (
|
|
555
|
-
file_src_proto_products_v1_entities_tag_proto_rawDescOnce sync.Once
|
|
556
|
-
file_src_proto_products_v1_entities_tag_proto_rawDescData []byte
|
|
557
|
-
)
|
|
558
|
-
|
|
559
|
-
func file_src_proto_products_v1_entities_tag_proto_rawDescGZIP() []byte {
|
|
560
|
-
file_src_proto_products_v1_entities_tag_proto_rawDescOnce.Do(func() {
|
|
561
|
-
file_src_proto_products_v1_entities_tag_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_src_proto_products_v1_entities_tag_proto_rawDesc), len(file_src_proto_products_v1_entities_tag_proto_rawDesc)))
|
|
562
|
-
})
|
|
563
|
-
return file_src_proto_products_v1_entities_tag_proto_rawDescData
|
|
564
|
-
}
|
|
565
|
-
|
|
566
|
-
var file_src_proto_products_v1_entities_tag_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
|
|
567
|
-
var file_src_proto_products_v1_entities_tag_proto_goTypes = []any{
|
|
568
|
-
(*CreateTagRequest)(nil), // 0: CreateTagRequest
|
|
569
|
-
(*CreateTagResponse)(nil), // 1: CreateTagResponse
|
|
570
|
-
(*GetTagByIDRequest)(nil), // 2: GetTagByIDRequest
|
|
571
|
-
(*GetTagByIDResponse)(nil), // 3: GetTagByIDResponse
|
|
572
|
-
(*ListTagsRequest)(nil), // 4: ListTagsRequest
|
|
573
|
-
(*ListTagsResponse)(nil), // 5: ListTagsResponse
|
|
574
|
-
(*UpdateTagRequest)(nil), // 6: UpdateTagRequest
|
|
575
|
-
(*UpdateTagResponse)(nil), // 7: UpdateTagResponse
|
|
576
|
-
(*DeleteTagByIDRequest)(nil), // 8: DeleteTagByIDRequest
|
|
577
|
-
(*DeleteTagByIDResponse)(nil), // 9: DeleteTagByIDResponse
|
|
578
|
-
}
|
|
579
|
-
var file_src_proto_products_v1_entities_tag_proto_depIdxs = []int32{
|
|
580
|
-
3, // 0: ListTagsResponse.tags:type_name -> GetTagByIDResponse
|
|
581
|
-
1, // [1:1] is the sub-list for method output_type
|
|
582
|
-
1, // [1:1] is the sub-list for method input_type
|
|
583
|
-
1, // [1:1] is the sub-list for extension type_name
|
|
584
|
-
1, // [1:1] is the sub-list for extension extendee
|
|
585
|
-
0, // [0:1] is the sub-list for field type_name
|
|
586
|
-
}
|
|
587
|
-
|
|
588
|
-
func init() { file_src_proto_products_v1_entities_tag_proto_init() }
|
|
589
|
-
func file_src_proto_products_v1_entities_tag_proto_init() {
|
|
590
|
-
if File_src_proto_products_v1_entities_tag_proto != nil {
|
|
591
|
-
return
|
|
592
|
-
}
|
|
593
|
-
type x struct{}
|
|
594
|
-
out := protoimpl.TypeBuilder{
|
|
595
|
-
File: protoimpl.DescBuilder{
|
|
596
|
-
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
597
|
-
RawDescriptor: unsafe.Slice(unsafe.StringData(file_src_proto_products_v1_entities_tag_proto_rawDesc), len(file_src_proto_products_v1_entities_tag_proto_rawDesc)),
|
|
598
|
-
NumEnums: 0,
|
|
599
|
-
NumMessages: 10,
|
|
600
|
-
NumExtensions: 0,
|
|
601
|
-
NumServices: 0,
|
|
602
|
-
},
|
|
603
|
-
GoTypes: file_src_proto_products_v1_entities_tag_proto_goTypes,
|
|
604
|
-
DependencyIndexes: file_src_proto_products_v1_entities_tag_proto_depIdxs,
|
|
605
|
-
MessageInfos: file_src_proto_products_v1_entities_tag_proto_msgTypes,
|
|
606
|
-
}.Build()
|
|
607
|
-
File_src_proto_products_v1_entities_tag_proto = out.File
|
|
608
|
-
file_src_proto_products_v1_entities_tag_proto_goTypes = nil
|
|
609
|
-
file_src_proto_products_v1_entities_tag_proto_depIdxs = nil
|
|
610
|
-
}
|