@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.
Files changed (61) hide show
  1. package/package.json +11 -9
  2. package/buf/validate/validate_pb.ts +0 -5001
  3. package/gen/buf/validate/validate_pb.ts +0 -4799
  4. package/gen/src/proto/auth/v1/authv1connect/service.connect.go +0 -454
  5. package/gen/src/proto/auth/v1/entities/auth.pb.go +0 -818
  6. package/gen/src/proto/auth/v1/entities/auth_pb.ts +0 -348
  7. package/gen/src/proto/auth/v1/entities/policy.pb.go +0 -727
  8. package/gen/src/proto/auth/v1/entities/policy_pb.ts +0 -306
  9. package/gen/src/proto/auth/v1/service-AuthService_connectquery.ts +0 -70
  10. package/gen/src/proto/auth/v1/service.pb.go +0 -119
  11. package/gen/src/proto/auth/v1/service_pb.ts +0 -152
  12. package/gen/src/proto/customers/v1/customersv1connect/service.connect.go +0 -358
  13. package/gen/src/proto/customers/v1/entities/address.pb.go +0 -1073
  14. package/gen/src/proto/customers/v1/entities/address_pb.ts +0 -478
  15. package/gen/src/proto/customers/v1/entities/profile.pb.go +0 -633
  16. package/gen/src/proto/customers/v1/entities/profile_pb.ts +0 -252
  17. package/gen/src/proto/customers/v1/service-CustomerService_connectquery.ts +0 -50
  18. package/gen/src/proto/customers/v1/service.pb.go +0 -110
  19. package/gen/src/proto/customers/v1/service_pb.ts +0 -121
  20. package/gen/src/proto/files/v1/entities/file.pb.go +0 -669
  21. package/gen/src/proto/files/v1/entities/file_pb.ts +0 -265
  22. package/gen/src/proto/files/v1/filesv1connect/service.connect.go +0 -200
  23. package/gen/src/proto/files/v1/service-FileService_connectquery.ts +0 -25
  24. package/gen/src/proto/files/v1/service.pb.go +0 -85
  25. package/gen/src/proto/files/v1/service_pb.ts +0 -65
  26. package/gen/src/proto/products/v1/entities/category.pb.go +0 -744
  27. package/gen/src/proto/products/v1/entities/category_pb.ts +0 -318
  28. package/gen/src/proto/products/v1/entities/collection.pb.go +0 -528
  29. package/gen/src/proto/products/v1/entities/collection_pb.ts +0 -214
  30. package/gen/src/proto/products/v1/entities/product/create.pb.go +0 -453
  31. package/gen/src/proto/products/v1/entities/product/create_pb.ts +0 -199
  32. package/gen/src/proto/products/v1/entities/product/option.pb.go +0 -206
  33. package/gen/src/proto/products/v1/entities/product/option_pb.ts +0 -74
  34. package/gen/src/proto/products/v1/entities/product/shared.pb.go +0 -2890
  35. package/gen/src/proto/products/v1/entities/product/shared_pb.ts +0 -1317
  36. package/gen/src/proto/products/v1/entities/product/update.pb.go +0 -794
  37. package/gen/src/proto/products/v1/entities/product/update_pb.ts +0 -325
  38. package/gen/src/proto/products/v1/entities/tag.pb.go +0 -610
  39. package/gen/src/proto/products/v1/entities/tag_pb.ts +0 -233
  40. package/gen/src/proto/products/v1/entities/taxonomy.pb.go +0 -1352
  41. package/gen/src/proto/products/v1/entities/taxonomy_pb.ts +0 -606
  42. package/gen/src/proto/products/v1/entities/type.pb.go +0 -553
  43. package/gen/src/proto/products/v1/entities/type_pb.ts +0 -215
  44. package/gen/src/proto/products/v1/entities/variant.pb.go +0 -1474
  45. package/gen/src/proto/products/v1/entities/variant_pb.ts +0 -629
  46. package/gen/src/proto/products/v1/productsv1connect/service.connect.go +0 -1195
  47. package/gen/src/proto/products/v1/service-ProductsService_connectquery.ts +0 -199
  48. package/gen/src/proto/products/v1/service.pb.go +0 -250
  49. package/gen/src/proto/products/v1/service_pb.ts +0 -429
  50. package/gen/src/proto/promotions/v1/entities/campaign.pb.go +0 -1229
  51. package/gen/src/proto/promotions/v1/entities/campaign_pb.ts +0 -511
  52. package/gen/src/proto/promotions/v1/promotionsv1connect/service.connect.go +0 -289
  53. package/gen/src/proto/promotions/v1/service-CampaignService_connectquery.ts +0 -42
  54. package/gen/src/proto/promotions/v1/service.pb.go +0 -98
  55. package/gen/src/proto/promotions/v1/service_pb.ts +0 -95
  56. package/gen/src/proto/stocknodes/v1/entities/stocknode.pb.go +0 -1499
  57. package/gen/src/proto/stocknodes/v1/entities/stocknode_pb.ts +0 -655
  58. package/gen/src/proto/stocknodes/v1/service-StockNodesService_connectquery.ts +0 -41
  59. package/gen/src/proto/stocknodes/v1/service.pb.go +0 -98
  60. package/gen/src/proto/stocknodes/v1/service_pb.ts +0 -95
  61. package/gen/src/proto/stocknodes/v1/stocknodesv1connect/service.connect.go +0 -297
@@ -1,528 +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/collection.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 CreateCollectionRequest struct {
26
- state protoimpl.MessageState `protogen:"open.v1"`
27
- Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
28
- Description *string `protobuf:"bytes,2,opt,name=description,proto3,oneof" json:"description,omitempty"`
29
- Slug string `protobuf:"bytes,3,opt,name=slug,proto3" json:"slug,omitempty"`
30
- unknownFields protoimpl.UnknownFields
31
- sizeCache protoimpl.SizeCache
32
- }
33
-
34
- func (x *CreateCollectionRequest) Reset() {
35
- *x = CreateCollectionRequest{}
36
- mi := &file_src_proto_products_v1_entities_collection_proto_msgTypes[0]
37
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
38
- ms.StoreMessageInfo(mi)
39
- }
40
-
41
- func (x *CreateCollectionRequest) String() string {
42
- return protoimpl.X.MessageStringOf(x)
43
- }
44
-
45
- func (*CreateCollectionRequest) ProtoMessage() {}
46
-
47
- func (x *CreateCollectionRequest) ProtoReflect() protoreflect.Message {
48
- mi := &file_src_proto_products_v1_entities_collection_proto_msgTypes[0]
49
- if x != nil {
50
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
51
- if ms.LoadMessageInfo() == nil {
52
- ms.StoreMessageInfo(mi)
53
- }
54
- return ms
55
- }
56
- return mi.MessageOf(x)
57
- }
58
-
59
- // Deprecated: Use CreateCollectionRequest.ProtoReflect.Descriptor instead.
60
- func (*CreateCollectionRequest) Descriptor() ([]byte, []int) {
61
- return file_src_proto_products_v1_entities_collection_proto_rawDescGZIP(), []int{0}
62
- }
63
-
64
- func (x *CreateCollectionRequest) GetTitle() string {
65
- if x != nil {
66
- return x.Title
67
- }
68
- return ""
69
- }
70
-
71
- func (x *CreateCollectionRequest) GetDescription() string {
72
- if x != nil && x.Description != nil {
73
- return *x.Description
74
- }
75
- return ""
76
- }
77
-
78
- func (x *CreateCollectionRequest) GetSlug() string {
79
- if x != nil {
80
- return x.Slug
81
- }
82
- return ""
83
- }
84
-
85
- type CreateCollectionResponse struct {
86
- state protoimpl.MessageState `protogen:"open.v1"`
87
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
88
- unknownFields protoimpl.UnknownFields
89
- sizeCache protoimpl.SizeCache
90
- }
91
-
92
- func (x *CreateCollectionResponse) Reset() {
93
- *x = CreateCollectionResponse{}
94
- mi := &file_src_proto_products_v1_entities_collection_proto_msgTypes[1]
95
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
96
- ms.StoreMessageInfo(mi)
97
- }
98
-
99
- func (x *CreateCollectionResponse) String() string {
100
- return protoimpl.X.MessageStringOf(x)
101
- }
102
-
103
- func (*CreateCollectionResponse) ProtoMessage() {}
104
-
105
- func (x *CreateCollectionResponse) ProtoReflect() protoreflect.Message {
106
- mi := &file_src_proto_products_v1_entities_collection_proto_msgTypes[1]
107
- if x != nil {
108
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
109
- if ms.LoadMessageInfo() == nil {
110
- ms.StoreMessageInfo(mi)
111
- }
112
- return ms
113
- }
114
- return mi.MessageOf(x)
115
- }
116
-
117
- // Deprecated: Use CreateCollectionResponse.ProtoReflect.Descriptor instead.
118
- func (*CreateCollectionResponse) Descriptor() ([]byte, []int) {
119
- return file_src_proto_products_v1_entities_collection_proto_rawDescGZIP(), []int{1}
120
- }
121
-
122
- func (x *CreateCollectionResponse) GetId() string {
123
- if x != nil {
124
- return x.Id
125
- }
126
- return ""
127
- }
128
-
129
- type GetCollectionByIDRequest struct {
130
- state protoimpl.MessageState `protogen:"open.v1"`
131
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
132
- unknownFields protoimpl.UnknownFields
133
- sizeCache protoimpl.SizeCache
134
- }
135
-
136
- func (x *GetCollectionByIDRequest) Reset() {
137
- *x = GetCollectionByIDRequest{}
138
- mi := &file_src_proto_products_v1_entities_collection_proto_msgTypes[2]
139
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
140
- ms.StoreMessageInfo(mi)
141
- }
142
-
143
- func (x *GetCollectionByIDRequest) String() string {
144
- return protoimpl.X.MessageStringOf(x)
145
- }
146
-
147
- func (*GetCollectionByIDRequest) ProtoMessage() {}
148
-
149
- func (x *GetCollectionByIDRequest) ProtoReflect() protoreflect.Message {
150
- mi := &file_src_proto_products_v1_entities_collection_proto_msgTypes[2]
151
- if x != nil {
152
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
153
- if ms.LoadMessageInfo() == nil {
154
- ms.StoreMessageInfo(mi)
155
- }
156
- return ms
157
- }
158
- return mi.MessageOf(x)
159
- }
160
-
161
- // Deprecated: Use GetCollectionByIDRequest.ProtoReflect.Descriptor instead.
162
- func (*GetCollectionByIDRequest) Descriptor() ([]byte, []int) {
163
- return file_src_proto_products_v1_entities_collection_proto_rawDescGZIP(), []int{2}
164
- }
165
-
166
- func (x *GetCollectionByIDRequest) GetId() string {
167
- if x != nil {
168
- return x.Id
169
- }
170
- return ""
171
- }
172
-
173
- type GetCollectionByIDResponse struct {
174
- state protoimpl.MessageState `protogen:"open.v1"`
175
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // ID of the collection
176
- Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` // Name of the collection
177
- Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // Description of the collection
178
- Slug string `protobuf:"bytes,4,opt,name=slug,proto3" json:"slug,omitempty"` // URL slug of the collection
179
- Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"` // Tags associated with the collection
180
- unknownFields protoimpl.UnknownFields
181
- sizeCache protoimpl.SizeCache
182
- }
183
-
184
- func (x *GetCollectionByIDResponse) Reset() {
185
- *x = GetCollectionByIDResponse{}
186
- mi := &file_src_proto_products_v1_entities_collection_proto_msgTypes[3]
187
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
188
- ms.StoreMessageInfo(mi)
189
- }
190
-
191
- func (x *GetCollectionByIDResponse) String() string {
192
- return protoimpl.X.MessageStringOf(x)
193
- }
194
-
195
- func (*GetCollectionByIDResponse) ProtoMessage() {}
196
-
197
- func (x *GetCollectionByIDResponse) ProtoReflect() protoreflect.Message {
198
- mi := &file_src_proto_products_v1_entities_collection_proto_msgTypes[3]
199
- if x != nil {
200
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
201
- if ms.LoadMessageInfo() == nil {
202
- ms.StoreMessageInfo(mi)
203
- }
204
- return ms
205
- }
206
- return mi.MessageOf(x)
207
- }
208
-
209
- // Deprecated: Use GetCollectionByIDResponse.ProtoReflect.Descriptor instead.
210
- func (*GetCollectionByIDResponse) Descriptor() ([]byte, []int) {
211
- return file_src_proto_products_v1_entities_collection_proto_rawDescGZIP(), []int{3}
212
- }
213
-
214
- func (x *GetCollectionByIDResponse) GetId() string {
215
- if x != nil {
216
- return x.Id
217
- }
218
- return ""
219
- }
220
-
221
- func (x *GetCollectionByIDResponse) GetTitle() string {
222
- if x != nil {
223
- return x.Title
224
- }
225
- return ""
226
- }
227
-
228
- func (x *GetCollectionByIDResponse) GetDescription() string {
229
- if x != nil {
230
- return x.Description
231
- }
232
- return ""
233
- }
234
-
235
- func (x *GetCollectionByIDResponse) GetSlug() string {
236
- if x != nil {
237
- return x.Slug
238
- }
239
- return ""
240
- }
241
-
242
- func (x *GetCollectionByIDResponse) GetTags() []string {
243
- if x != nil {
244
- return x.Tags
245
- }
246
- return nil
247
- }
248
-
249
- type UpdateCollectionRequest struct {
250
- state protoimpl.MessageState `protogen:"open.v1"`
251
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
252
- Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
253
- Description *string `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"`
254
- Slug string `protobuf:"bytes,4,opt,name=slug,proto3" json:"slug,omitempty"`
255
- Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"`
256
- unknownFields protoimpl.UnknownFields
257
- sizeCache protoimpl.SizeCache
258
- }
259
-
260
- func (x *UpdateCollectionRequest) Reset() {
261
- *x = UpdateCollectionRequest{}
262
- mi := &file_src_proto_products_v1_entities_collection_proto_msgTypes[4]
263
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
264
- ms.StoreMessageInfo(mi)
265
- }
266
-
267
- func (x *UpdateCollectionRequest) String() string {
268
- return protoimpl.X.MessageStringOf(x)
269
- }
270
-
271
- func (*UpdateCollectionRequest) ProtoMessage() {}
272
-
273
- func (x *UpdateCollectionRequest) ProtoReflect() protoreflect.Message {
274
- mi := &file_src_proto_products_v1_entities_collection_proto_msgTypes[4]
275
- if x != nil {
276
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
277
- if ms.LoadMessageInfo() == nil {
278
- ms.StoreMessageInfo(mi)
279
- }
280
- return ms
281
- }
282
- return mi.MessageOf(x)
283
- }
284
-
285
- // Deprecated: Use UpdateCollectionRequest.ProtoReflect.Descriptor instead.
286
- func (*UpdateCollectionRequest) Descriptor() ([]byte, []int) {
287
- return file_src_proto_products_v1_entities_collection_proto_rawDescGZIP(), []int{4}
288
- }
289
-
290
- func (x *UpdateCollectionRequest) GetId() string {
291
- if x != nil {
292
- return x.Id
293
- }
294
- return ""
295
- }
296
-
297
- func (x *UpdateCollectionRequest) GetTitle() string {
298
- if x != nil {
299
- return x.Title
300
- }
301
- return ""
302
- }
303
-
304
- func (x *UpdateCollectionRequest) GetDescription() string {
305
- if x != nil && x.Description != nil {
306
- return *x.Description
307
- }
308
- return ""
309
- }
310
-
311
- func (x *UpdateCollectionRequest) GetSlug() string {
312
- if x != nil {
313
- return x.Slug
314
- }
315
- return ""
316
- }
317
-
318
- func (x *UpdateCollectionRequest) GetTags() []string {
319
- if x != nil {
320
- return x.Tags
321
- }
322
- return nil
323
- }
324
-
325
- type UpdateCollectionResponse struct {
326
- state protoimpl.MessageState `protogen:"open.v1"`
327
- unknownFields protoimpl.UnknownFields
328
- sizeCache protoimpl.SizeCache
329
- }
330
-
331
- func (x *UpdateCollectionResponse) Reset() {
332
- *x = UpdateCollectionResponse{}
333
- mi := &file_src_proto_products_v1_entities_collection_proto_msgTypes[5]
334
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
335
- ms.StoreMessageInfo(mi)
336
- }
337
-
338
- func (x *UpdateCollectionResponse) String() string {
339
- return protoimpl.X.MessageStringOf(x)
340
- }
341
-
342
- func (*UpdateCollectionResponse) ProtoMessage() {}
343
-
344
- func (x *UpdateCollectionResponse) ProtoReflect() protoreflect.Message {
345
- mi := &file_src_proto_products_v1_entities_collection_proto_msgTypes[5]
346
- if x != nil {
347
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
348
- if ms.LoadMessageInfo() == nil {
349
- ms.StoreMessageInfo(mi)
350
- }
351
- return ms
352
- }
353
- return mi.MessageOf(x)
354
- }
355
-
356
- // Deprecated: Use UpdateCollectionResponse.ProtoReflect.Descriptor instead.
357
- func (*UpdateCollectionResponse) Descriptor() ([]byte, []int) {
358
- return file_src_proto_products_v1_entities_collection_proto_rawDescGZIP(), []int{5}
359
- }
360
-
361
- type DeleteCollectionByIDRequest struct {
362
- state protoimpl.MessageState `protogen:"open.v1"`
363
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
364
- unknownFields protoimpl.UnknownFields
365
- sizeCache protoimpl.SizeCache
366
- }
367
-
368
- func (x *DeleteCollectionByIDRequest) Reset() {
369
- *x = DeleteCollectionByIDRequest{}
370
- mi := &file_src_proto_products_v1_entities_collection_proto_msgTypes[6]
371
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
372
- ms.StoreMessageInfo(mi)
373
- }
374
-
375
- func (x *DeleteCollectionByIDRequest) String() string {
376
- return protoimpl.X.MessageStringOf(x)
377
- }
378
-
379
- func (*DeleteCollectionByIDRequest) ProtoMessage() {}
380
-
381
- func (x *DeleteCollectionByIDRequest) ProtoReflect() protoreflect.Message {
382
- mi := &file_src_proto_products_v1_entities_collection_proto_msgTypes[6]
383
- if x != nil {
384
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
385
- if ms.LoadMessageInfo() == nil {
386
- ms.StoreMessageInfo(mi)
387
- }
388
- return ms
389
- }
390
- return mi.MessageOf(x)
391
- }
392
-
393
- // Deprecated: Use DeleteCollectionByIDRequest.ProtoReflect.Descriptor instead.
394
- func (*DeleteCollectionByIDRequest) Descriptor() ([]byte, []int) {
395
- return file_src_proto_products_v1_entities_collection_proto_rawDescGZIP(), []int{6}
396
- }
397
-
398
- func (x *DeleteCollectionByIDRequest) GetId() string {
399
- if x != nil {
400
- return x.Id
401
- }
402
- return ""
403
- }
404
-
405
- type DeleteCollectionByIDResponse struct {
406
- state protoimpl.MessageState `protogen:"open.v1"`
407
- unknownFields protoimpl.UnknownFields
408
- sizeCache protoimpl.SizeCache
409
- }
410
-
411
- func (x *DeleteCollectionByIDResponse) Reset() {
412
- *x = DeleteCollectionByIDResponse{}
413
- mi := &file_src_proto_products_v1_entities_collection_proto_msgTypes[7]
414
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
415
- ms.StoreMessageInfo(mi)
416
- }
417
-
418
- func (x *DeleteCollectionByIDResponse) String() string {
419
- return protoimpl.X.MessageStringOf(x)
420
- }
421
-
422
- func (*DeleteCollectionByIDResponse) ProtoMessage() {}
423
-
424
- func (x *DeleteCollectionByIDResponse) ProtoReflect() protoreflect.Message {
425
- mi := &file_src_proto_products_v1_entities_collection_proto_msgTypes[7]
426
- if x != nil {
427
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
428
- if ms.LoadMessageInfo() == nil {
429
- ms.StoreMessageInfo(mi)
430
- }
431
- return ms
432
- }
433
- return mi.MessageOf(x)
434
- }
435
-
436
- // Deprecated: Use DeleteCollectionByIDResponse.ProtoReflect.Descriptor instead.
437
- func (*DeleteCollectionByIDResponse) Descriptor() ([]byte, []int) {
438
- return file_src_proto_products_v1_entities_collection_proto_rawDescGZIP(), []int{7}
439
- }
440
-
441
- var File_src_proto_products_v1_entities_collection_proto protoreflect.FileDescriptor
442
-
443
- const file_src_proto_products_v1_entities_collection_proto_rawDesc = "" +
444
- "\n" +
445
- "/src/proto/products/v1/entities/collection.proto\x1a\x1bbuf/validate/validate.proto\"\xb6\x01\n" +
446
- "\x17CreateCollectionRequest\x12\x1f\n" +
447
- "\x05title\x18\x01 \x01(\tB\t\xbaH\x06r\x04\x10\x01\x18dR\x05title\x12/\n" +
448
- "\vdescription\x18\x02 \x01(\tB\b\xbaH\x05r\x03\x18\xf4\x03H\x00R\vdescription\x88\x01\x01\x129\n" +
449
- "\x04slug\x18\x03 \x01(\tB%\xbaH\"r \x10\x03\x1822\x1a^[a-z0-9]+(?:-[a-z0-9]+)*$R\x04slugB\x0e\n" +
450
- "\f_description\"*\n" +
451
- "\x18CreateCollectionResponse\x12\x0e\n" +
452
- "\x02id\x18\x01 \x01(\tR\x02id\"5\n" +
453
- "\x18GetCollectionByIDRequest\x12\x19\n" +
454
- "\x02id\x18\x01 \x01(\tB\t\xbaH\x06r\x04\x10\x01\x18dR\x02id\"\x8b\x01\n" +
455
- "\x19GetCollectionByIDResponse\x12\x0e\n" +
456
- "\x02id\x18\x01 \x01(\tR\x02id\x12\x14\n" +
457
- "\x05title\x18\x02 \x01(\tR\x05title\x12 \n" +
458
- "\vdescription\x18\x03 \x01(\tR\vdescription\x12\x12\n" +
459
- "\x04slug\x18\x04 \x01(\tR\x04slug\x12\x12\n" +
460
- "\x04tags\x18\x05 \x03(\tR\x04tags\"\xe5\x01\n" +
461
- "\x17UpdateCollectionRequest\x12\x19\n" +
462
- "\x02id\x18\x01 \x01(\tB\t\xbaH\x06r\x04\x10\x01\x18dR\x02id\x12\x1f\n" +
463
- "\x05title\x18\x02 \x01(\tB\t\xbaH\x06r\x04\x10\x01\x18dR\x05title\x12/\n" +
464
- "\vdescription\x18\x03 \x01(\tB\b\xbaH\x05r\x03\x18\xf4\x03H\x00R\vdescription\x88\x01\x01\x129\n" +
465
- "\x04slug\x18\x04 \x01(\tB%\xbaH\"r \x10\x03\x1822\x1a^[a-z0-9]+(?:-[a-z0-9]+)*$R\x04slug\x12\x12\n" +
466
- "\x04tags\x18\x05 \x03(\tR\x04tagsB\x0e\n" +
467
- "\f_description\"\x1a\n" +
468
- "\x18UpdateCollectionResponse\"8\n" +
469
- "\x1bDeleteCollectionByIDRequest\x12\x19\n" +
470
- "\x02id\x18\x01 \x01(\tB\t\xbaH\x06r\x04\x10\x01\x18dR\x02id\"\x1e\n" +
471
- "\x1cDeleteCollectionByIDResponseBNB\x0fCollectionProtoP\x01Z9paakd.com/packages/api/gen/src/proto/products/v1/entitiesb\x06proto3"
472
-
473
- var (
474
- file_src_proto_products_v1_entities_collection_proto_rawDescOnce sync.Once
475
- file_src_proto_products_v1_entities_collection_proto_rawDescData []byte
476
- )
477
-
478
- func file_src_proto_products_v1_entities_collection_proto_rawDescGZIP() []byte {
479
- file_src_proto_products_v1_entities_collection_proto_rawDescOnce.Do(func() {
480
- file_src_proto_products_v1_entities_collection_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_src_proto_products_v1_entities_collection_proto_rawDesc), len(file_src_proto_products_v1_entities_collection_proto_rawDesc)))
481
- })
482
- return file_src_proto_products_v1_entities_collection_proto_rawDescData
483
- }
484
-
485
- var file_src_proto_products_v1_entities_collection_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
486
- var file_src_proto_products_v1_entities_collection_proto_goTypes = []any{
487
- (*CreateCollectionRequest)(nil), // 0: CreateCollectionRequest
488
- (*CreateCollectionResponse)(nil), // 1: CreateCollectionResponse
489
- (*GetCollectionByIDRequest)(nil), // 2: GetCollectionByIDRequest
490
- (*GetCollectionByIDResponse)(nil), // 3: GetCollectionByIDResponse
491
- (*UpdateCollectionRequest)(nil), // 4: UpdateCollectionRequest
492
- (*UpdateCollectionResponse)(nil), // 5: UpdateCollectionResponse
493
- (*DeleteCollectionByIDRequest)(nil), // 6: DeleteCollectionByIDRequest
494
- (*DeleteCollectionByIDResponse)(nil), // 7: DeleteCollectionByIDResponse
495
- }
496
- var file_src_proto_products_v1_entities_collection_proto_depIdxs = []int32{
497
- 0, // [0:0] is the sub-list for method output_type
498
- 0, // [0:0] is the sub-list for method input_type
499
- 0, // [0:0] is the sub-list for extension type_name
500
- 0, // [0:0] is the sub-list for extension extendee
501
- 0, // [0:0] is the sub-list for field type_name
502
- }
503
-
504
- func init() { file_src_proto_products_v1_entities_collection_proto_init() }
505
- func file_src_proto_products_v1_entities_collection_proto_init() {
506
- if File_src_proto_products_v1_entities_collection_proto != nil {
507
- return
508
- }
509
- file_src_proto_products_v1_entities_collection_proto_msgTypes[0].OneofWrappers = []any{}
510
- file_src_proto_products_v1_entities_collection_proto_msgTypes[4].OneofWrappers = []any{}
511
- type x struct{}
512
- out := protoimpl.TypeBuilder{
513
- File: protoimpl.DescBuilder{
514
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
515
- RawDescriptor: unsafe.Slice(unsafe.StringData(file_src_proto_products_v1_entities_collection_proto_rawDesc), len(file_src_proto_products_v1_entities_collection_proto_rawDesc)),
516
- NumEnums: 0,
517
- NumMessages: 8,
518
- NumExtensions: 0,
519
- NumServices: 0,
520
- },
521
- GoTypes: file_src_proto_products_v1_entities_collection_proto_goTypes,
522
- DependencyIndexes: file_src_proto_products_v1_entities_collection_proto_depIdxs,
523
- MessageInfos: file_src_proto_products_v1_entities_collection_proto_msgTypes,
524
- }.Build()
525
- File_src_proto_products_v1_entities_collection_proto = out.File
526
- file_src_proto_products_v1_entities_collection_proto_goTypes = nil
527
- file_src_proto_products_v1_entities_collection_proto_depIdxs = nil
528
- }