@paakd/api 0.0.3 → 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 +7 -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,553 +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/type.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 CreateProductTypeRequest 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
- TaxRateId *string `protobuf:"bytes,3,opt,name=tax_rate_id,json=taxRateId,proto3,oneof" json:"tax_rate_id,omitempty"`
30
- VerticalName string `protobuf:"bytes,4,opt,name=vertical_name,json=verticalName,proto3" json:"vertical_name,omitempty"`
31
- unknownFields protoimpl.UnknownFields
32
- sizeCache protoimpl.SizeCache
33
- }
34
-
35
- func (x *CreateProductTypeRequest) Reset() {
36
- *x = CreateProductTypeRequest{}
37
- mi := &file_src_proto_products_v1_entities_type_proto_msgTypes[0]
38
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
39
- ms.StoreMessageInfo(mi)
40
- }
41
-
42
- func (x *CreateProductTypeRequest) String() string {
43
- return protoimpl.X.MessageStringOf(x)
44
- }
45
-
46
- func (*CreateProductTypeRequest) ProtoMessage() {}
47
-
48
- func (x *CreateProductTypeRequest) ProtoReflect() protoreflect.Message {
49
- mi := &file_src_proto_products_v1_entities_type_proto_msgTypes[0]
50
- if x != nil {
51
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
52
- if ms.LoadMessageInfo() == nil {
53
- ms.StoreMessageInfo(mi)
54
- }
55
- return ms
56
- }
57
- return mi.MessageOf(x)
58
- }
59
-
60
- // Deprecated: Use CreateProductTypeRequest.ProtoReflect.Descriptor instead.
61
- func (*CreateProductTypeRequest) Descriptor() ([]byte, []int) {
62
- return file_src_proto_products_v1_entities_type_proto_rawDescGZIP(), []int{0}
63
- }
64
-
65
- func (x *CreateProductTypeRequest) GetName() string {
66
- if x != nil {
67
- return x.Name
68
- }
69
- return ""
70
- }
71
-
72
- func (x *CreateProductTypeRequest) GetDescription() string {
73
- if x != nil && x.Description != nil {
74
- return *x.Description
75
- }
76
- return ""
77
- }
78
-
79
- func (x *CreateProductTypeRequest) GetTaxRateId() string {
80
- if x != nil && x.TaxRateId != nil {
81
- return *x.TaxRateId
82
- }
83
- return ""
84
- }
85
-
86
- func (x *CreateProductTypeRequest) GetVerticalName() string {
87
- if x != nil {
88
- return x.VerticalName
89
- }
90
- return ""
91
- }
92
-
93
- type CreateProductTypeResponse struct {
94
- state protoimpl.MessageState `protogen:"open.v1"`
95
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
96
- unknownFields protoimpl.UnknownFields
97
- sizeCache protoimpl.SizeCache
98
- }
99
-
100
- func (x *CreateProductTypeResponse) Reset() {
101
- *x = CreateProductTypeResponse{}
102
- mi := &file_src_proto_products_v1_entities_type_proto_msgTypes[1]
103
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
104
- ms.StoreMessageInfo(mi)
105
- }
106
-
107
- func (x *CreateProductTypeResponse) String() string {
108
- return protoimpl.X.MessageStringOf(x)
109
- }
110
-
111
- func (*CreateProductTypeResponse) ProtoMessage() {}
112
-
113
- func (x *CreateProductTypeResponse) ProtoReflect() protoreflect.Message {
114
- mi := &file_src_proto_products_v1_entities_type_proto_msgTypes[1]
115
- if x != nil {
116
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
117
- if ms.LoadMessageInfo() == nil {
118
- ms.StoreMessageInfo(mi)
119
- }
120
- return ms
121
- }
122
- return mi.MessageOf(x)
123
- }
124
-
125
- // Deprecated: Use CreateProductTypeResponse.ProtoReflect.Descriptor instead.
126
- func (*CreateProductTypeResponse) Descriptor() ([]byte, []int) {
127
- return file_src_proto_products_v1_entities_type_proto_rawDescGZIP(), []int{1}
128
- }
129
-
130
- func (x *CreateProductTypeResponse) GetId() string {
131
- if x != nil {
132
- return x.Id
133
- }
134
- return ""
135
- }
136
-
137
- type UpdateProductTypeRequest struct {
138
- state protoimpl.MessageState `protogen:"open.v1"`
139
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
140
- Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
141
- Description *string `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"`
142
- TaxRateId *string `protobuf:"bytes,4,opt,name=tax_rate_id,json=taxRateId,proto3,oneof" json:"tax_rate_id,omitempty"`
143
- VerticalName string `protobuf:"bytes,5,opt,name=vertical_name,json=verticalName,proto3" json:"vertical_name,omitempty"`
144
- unknownFields protoimpl.UnknownFields
145
- sizeCache protoimpl.SizeCache
146
- }
147
-
148
- func (x *UpdateProductTypeRequest) Reset() {
149
- *x = UpdateProductTypeRequest{}
150
- mi := &file_src_proto_products_v1_entities_type_proto_msgTypes[2]
151
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
152
- ms.StoreMessageInfo(mi)
153
- }
154
-
155
- func (x *UpdateProductTypeRequest) String() string {
156
- return protoimpl.X.MessageStringOf(x)
157
- }
158
-
159
- func (*UpdateProductTypeRequest) ProtoMessage() {}
160
-
161
- func (x *UpdateProductTypeRequest) ProtoReflect() protoreflect.Message {
162
- mi := &file_src_proto_products_v1_entities_type_proto_msgTypes[2]
163
- if x != nil {
164
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
165
- if ms.LoadMessageInfo() == nil {
166
- ms.StoreMessageInfo(mi)
167
- }
168
- return ms
169
- }
170
- return mi.MessageOf(x)
171
- }
172
-
173
- // Deprecated: Use UpdateProductTypeRequest.ProtoReflect.Descriptor instead.
174
- func (*UpdateProductTypeRequest) Descriptor() ([]byte, []int) {
175
- return file_src_proto_products_v1_entities_type_proto_rawDescGZIP(), []int{2}
176
- }
177
-
178
- func (x *UpdateProductTypeRequest) GetId() string {
179
- if x != nil {
180
- return x.Id
181
- }
182
- return ""
183
- }
184
-
185
- func (x *UpdateProductTypeRequest) GetName() string {
186
- if x != nil {
187
- return x.Name
188
- }
189
- return ""
190
- }
191
-
192
- func (x *UpdateProductTypeRequest) GetDescription() string {
193
- if x != nil && x.Description != nil {
194
- return *x.Description
195
- }
196
- return ""
197
- }
198
-
199
- func (x *UpdateProductTypeRequest) GetTaxRateId() string {
200
- if x != nil && x.TaxRateId != nil {
201
- return *x.TaxRateId
202
- }
203
- return ""
204
- }
205
-
206
- func (x *UpdateProductTypeRequest) GetVerticalName() string {
207
- if x != nil {
208
- return x.VerticalName
209
- }
210
- return ""
211
- }
212
-
213
- type UpdateProductTypeResponse struct {
214
- state protoimpl.MessageState `protogen:"open.v1"`
215
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
216
- unknownFields protoimpl.UnknownFields
217
- sizeCache protoimpl.SizeCache
218
- }
219
-
220
- func (x *UpdateProductTypeResponse) Reset() {
221
- *x = UpdateProductTypeResponse{}
222
- mi := &file_src_proto_products_v1_entities_type_proto_msgTypes[3]
223
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
224
- ms.StoreMessageInfo(mi)
225
- }
226
-
227
- func (x *UpdateProductTypeResponse) String() string {
228
- return protoimpl.X.MessageStringOf(x)
229
- }
230
-
231
- func (*UpdateProductTypeResponse) ProtoMessage() {}
232
-
233
- func (x *UpdateProductTypeResponse) ProtoReflect() protoreflect.Message {
234
- mi := &file_src_proto_products_v1_entities_type_proto_msgTypes[3]
235
- if x != nil {
236
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
237
- if ms.LoadMessageInfo() == nil {
238
- ms.StoreMessageInfo(mi)
239
- }
240
- return ms
241
- }
242
- return mi.MessageOf(x)
243
- }
244
-
245
- // Deprecated: Use UpdateProductTypeResponse.ProtoReflect.Descriptor instead.
246
- func (*UpdateProductTypeResponse) Descriptor() ([]byte, []int) {
247
- return file_src_proto_products_v1_entities_type_proto_rawDescGZIP(), []int{3}
248
- }
249
-
250
- func (x *UpdateProductTypeResponse) GetId() string {
251
- if x != nil {
252
- return x.Id
253
- }
254
- return ""
255
- }
256
-
257
- type DeleteProductTypeByIDRequest struct {
258
- state protoimpl.MessageState `protogen:"open.v1"`
259
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
260
- unknownFields protoimpl.UnknownFields
261
- sizeCache protoimpl.SizeCache
262
- }
263
-
264
- func (x *DeleteProductTypeByIDRequest) Reset() {
265
- *x = DeleteProductTypeByIDRequest{}
266
- mi := &file_src_proto_products_v1_entities_type_proto_msgTypes[4]
267
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
268
- ms.StoreMessageInfo(mi)
269
- }
270
-
271
- func (x *DeleteProductTypeByIDRequest) String() string {
272
- return protoimpl.X.MessageStringOf(x)
273
- }
274
-
275
- func (*DeleteProductTypeByIDRequest) ProtoMessage() {}
276
-
277
- func (x *DeleteProductTypeByIDRequest) ProtoReflect() protoreflect.Message {
278
- mi := &file_src_proto_products_v1_entities_type_proto_msgTypes[4]
279
- if x != nil {
280
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
281
- if ms.LoadMessageInfo() == nil {
282
- ms.StoreMessageInfo(mi)
283
- }
284
- return ms
285
- }
286
- return mi.MessageOf(x)
287
- }
288
-
289
- // Deprecated: Use DeleteProductTypeByIDRequest.ProtoReflect.Descriptor instead.
290
- func (*DeleteProductTypeByIDRequest) Descriptor() ([]byte, []int) {
291
- return file_src_proto_products_v1_entities_type_proto_rawDescGZIP(), []int{4}
292
- }
293
-
294
- func (x *DeleteProductTypeByIDRequest) GetId() string {
295
- if x != nil {
296
- return x.Id
297
- }
298
- return ""
299
- }
300
-
301
- type DeleteProductTypeByIDResponse struct {
302
- state protoimpl.MessageState `protogen:"open.v1"`
303
- unknownFields protoimpl.UnknownFields
304
- sizeCache protoimpl.SizeCache
305
- }
306
-
307
- func (x *DeleteProductTypeByIDResponse) Reset() {
308
- *x = DeleteProductTypeByIDResponse{}
309
- mi := &file_src_proto_products_v1_entities_type_proto_msgTypes[5]
310
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
311
- ms.StoreMessageInfo(mi)
312
- }
313
-
314
- func (x *DeleteProductTypeByIDResponse) String() string {
315
- return protoimpl.X.MessageStringOf(x)
316
- }
317
-
318
- func (*DeleteProductTypeByIDResponse) ProtoMessage() {}
319
-
320
- func (x *DeleteProductTypeByIDResponse) ProtoReflect() protoreflect.Message {
321
- mi := &file_src_proto_products_v1_entities_type_proto_msgTypes[5]
322
- if x != nil {
323
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
324
- if ms.LoadMessageInfo() == nil {
325
- ms.StoreMessageInfo(mi)
326
- }
327
- return ms
328
- }
329
- return mi.MessageOf(x)
330
- }
331
-
332
- // Deprecated: Use DeleteProductTypeByIDResponse.ProtoReflect.Descriptor instead.
333
- func (*DeleteProductTypeByIDResponse) Descriptor() ([]byte, []int) {
334
- return file_src_proto_products_v1_entities_type_proto_rawDescGZIP(), []int{5}
335
- }
336
-
337
- type GetProductTypeByIDRequest struct {
338
- state protoimpl.MessageState `protogen:"open.v1"`
339
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
340
- unknownFields protoimpl.UnknownFields
341
- sizeCache protoimpl.SizeCache
342
- }
343
-
344
- func (x *GetProductTypeByIDRequest) Reset() {
345
- *x = GetProductTypeByIDRequest{}
346
- mi := &file_src_proto_products_v1_entities_type_proto_msgTypes[6]
347
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
348
- ms.StoreMessageInfo(mi)
349
- }
350
-
351
- func (x *GetProductTypeByIDRequest) String() string {
352
- return protoimpl.X.MessageStringOf(x)
353
- }
354
-
355
- func (*GetProductTypeByIDRequest) ProtoMessage() {}
356
-
357
- func (x *GetProductTypeByIDRequest) ProtoReflect() protoreflect.Message {
358
- mi := &file_src_proto_products_v1_entities_type_proto_msgTypes[6]
359
- if x != nil {
360
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
361
- if ms.LoadMessageInfo() == nil {
362
- ms.StoreMessageInfo(mi)
363
- }
364
- return ms
365
- }
366
- return mi.MessageOf(x)
367
- }
368
-
369
- // Deprecated: Use GetProductTypeByIDRequest.ProtoReflect.Descriptor instead.
370
- func (*GetProductTypeByIDRequest) Descriptor() ([]byte, []int) {
371
- return file_src_proto_products_v1_entities_type_proto_rawDescGZIP(), []int{6}
372
- }
373
-
374
- func (x *GetProductTypeByIDRequest) GetId() string {
375
- if x != nil {
376
- return x.Id
377
- }
378
- return ""
379
- }
380
-
381
- type GetProductTypeByIDResponse struct {
382
- state protoimpl.MessageState `protogen:"open.v1"`
383
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
384
- Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
385
- Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
386
- TaxRateId *string `protobuf:"bytes,4,opt,name=tax_rate_id,json=taxRateId,proto3,oneof" json:"tax_rate_id,omitempty"`
387
- VerticalName string `protobuf:"bytes,5,opt,name=vertical_name,json=verticalName,proto3" json:"vertical_name,omitempty"`
388
- unknownFields protoimpl.UnknownFields
389
- sizeCache protoimpl.SizeCache
390
- }
391
-
392
- func (x *GetProductTypeByIDResponse) Reset() {
393
- *x = GetProductTypeByIDResponse{}
394
- mi := &file_src_proto_products_v1_entities_type_proto_msgTypes[7]
395
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
396
- ms.StoreMessageInfo(mi)
397
- }
398
-
399
- func (x *GetProductTypeByIDResponse) String() string {
400
- return protoimpl.X.MessageStringOf(x)
401
- }
402
-
403
- func (*GetProductTypeByIDResponse) ProtoMessage() {}
404
-
405
- func (x *GetProductTypeByIDResponse) ProtoReflect() protoreflect.Message {
406
- mi := &file_src_proto_products_v1_entities_type_proto_msgTypes[7]
407
- if x != nil {
408
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
409
- if ms.LoadMessageInfo() == nil {
410
- ms.StoreMessageInfo(mi)
411
- }
412
- return ms
413
- }
414
- return mi.MessageOf(x)
415
- }
416
-
417
- // Deprecated: Use GetProductTypeByIDResponse.ProtoReflect.Descriptor instead.
418
- func (*GetProductTypeByIDResponse) Descriptor() ([]byte, []int) {
419
- return file_src_proto_products_v1_entities_type_proto_rawDescGZIP(), []int{7}
420
- }
421
-
422
- func (x *GetProductTypeByIDResponse) GetId() string {
423
- if x != nil {
424
- return x.Id
425
- }
426
- return ""
427
- }
428
-
429
- func (x *GetProductTypeByIDResponse) GetName() string {
430
- if x != nil {
431
- return x.Name
432
- }
433
- return ""
434
- }
435
-
436
- func (x *GetProductTypeByIDResponse) GetDescription() string {
437
- if x != nil {
438
- return x.Description
439
- }
440
- return ""
441
- }
442
-
443
- func (x *GetProductTypeByIDResponse) GetTaxRateId() string {
444
- if x != nil && x.TaxRateId != nil {
445
- return *x.TaxRateId
446
- }
447
- return ""
448
- }
449
-
450
- func (x *GetProductTypeByIDResponse) GetVerticalName() string {
451
- if x != nil {
452
- return x.VerticalName
453
- }
454
- return ""
455
- }
456
-
457
- var File_src_proto_products_v1_entities_type_proto protoreflect.FileDescriptor
458
-
459
- const file_src_proto_products_v1_entities_type_proto_rawDesc = "" +
460
- "\n" +
461
- ")src/proto/products/v1/entities/type.proto\x1a\x1bbuf/validate/validate.proto\"\xec\x01\n" +
462
- "\x18CreateProductTypeRequest\x12\x1d\n" +
463
- "\x04name\x18\x01 \x01(\tB\t\xbaH\x06r\x04\x10\x01\x18dR\x04name\x121\n" +
464
- "\vdescription\x18\x02 \x01(\tB\n" +
465
- "\xbaH\ar\x05\x10\x01\x18\xe8\aH\x00R\vdescription\x88\x01\x01\x12.\n" +
466
- "\vtax_rate_id\x18\x03 \x01(\tB\t\xbaH\x06r\x04\x10\x01\x18dH\x01R\ttaxRateId\x88\x01\x01\x12.\n" +
467
- "\rvertical_name\x18\x04 \x01(\tB\t\xbaH\x06r\x04\x10\x01\x18dR\fverticalNameB\x0e\n" +
468
- "\f_descriptionB\x0e\n" +
469
- "\f_tax_rate_id\"+\n" +
470
- "\x19CreateProductTypeResponse\x12\x0e\n" +
471
- "\x02id\x18\x01 \x01(\tR\x02id\"\x87\x02\n" +
472
- "\x18UpdateProductTypeRequest\x12\x19\n" +
473
- "\x02id\x18\x01 \x01(\tB\t\xbaH\x06r\x04\x10\x01\x18dR\x02id\x12\x1d\n" +
474
- "\x04name\x18\x02 \x01(\tB\t\xbaH\x06r\x04\x10\x01\x18dR\x04name\x121\n" +
475
- "\vdescription\x18\x03 \x01(\tB\n" +
476
- "\xbaH\ar\x05\x10\x01\x18\xe8\aH\x00R\vdescription\x88\x01\x01\x12.\n" +
477
- "\vtax_rate_id\x18\x04 \x01(\tB\t\xbaH\x06r\x04\x10\x01\x18dH\x01R\ttaxRateId\x88\x01\x01\x12.\n" +
478
- "\rvertical_name\x18\x05 \x01(\tB\t\xbaH\x06r\x04\x10\x01\x18dR\fverticalNameB\x0e\n" +
479
- "\f_descriptionB\x0e\n" +
480
- "\f_tax_rate_id\"+\n" +
481
- "\x19UpdateProductTypeResponse\x12\x0e\n" +
482
- "\x02id\x18\x01 \x01(\tR\x02id\"9\n" +
483
- "\x1cDeleteProductTypeByIDRequest\x12\x19\n" +
484
- "\x02id\x18\x01 \x01(\tB\t\xbaH\x06r\x04\x10\x01\x18dR\x02id\"\x1f\n" +
485
- "\x1dDeleteProductTypeByIDResponse\"6\n" +
486
- "\x19GetProductTypeByIDRequest\x12\x19\n" +
487
- "\x02id\x18\x01 \x01(\tB\t\xbaH\x06r\x04\x10\x01\x18dR\x02id\"\xe9\x01\n" +
488
- "\x1aGetProductTypeByIDResponse\x12\x0e\n" +
489
- "\x02id\x18\x01 \x01(\tR\x02id\x12\x1d\n" +
490
- "\x04name\x18\x02 \x01(\tB\t\xbaH\x06r\x04\x10\x01\x18dR\x04name\x12,\n" +
491
- "\vdescription\x18\x03 \x01(\tB\n" +
492
- "\xbaH\ar\x05\x10\x01\x18\xe8\aR\vdescription\x12.\n" +
493
- "\vtax_rate_id\x18\x04 \x01(\tB\t\xbaH\x06r\x04\x10\x01\x18dH\x00R\ttaxRateId\x88\x01\x01\x12.\n" +
494
- "\rvertical_name\x18\x05 \x01(\tB\t\xbaH\x06r\x04\x10\x01\x18dR\fverticalNameB\x0e\n" +
495
- "\f_tax_rate_idBHB\tTypeProtoP\x01Z9paakd.com/packages/api/gen/src/proto/products/v1/entitiesb\x06proto3"
496
-
497
- var (
498
- file_src_proto_products_v1_entities_type_proto_rawDescOnce sync.Once
499
- file_src_proto_products_v1_entities_type_proto_rawDescData []byte
500
- )
501
-
502
- func file_src_proto_products_v1_entities_type_proto_rawDescGZIP() []byte {
503
- file_src_proto_products_v1_entities_type_proto_rawDescOnce.Do(func() {
504
- file_src_proto_products_v1_entities_type_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_src_proto_products_v1_entities_type_proto_rawDesc), len(file_src_proto_products_v1_entities_type_proto_rawDesc)))
505
- })
506
- return file_src_proto_products_v1_entities_type_proto_rawDescData
507
- }
508
-
509
- var file_src_proto_products_v1_entities_type_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
510
- var file_src_proto_products_v1_entities_type_proto_goTypes = []any{
511
- (*CreateProductTypeRequest)(nil), // 0: CreateProductTypeRequest
512
- (*CreateProductTypeResponse)(nil), // 1: CreateProductTypeResponse
513
- (*UpdateProductTypeRequest)(nil), // 2: UpdateProductTypeRequest
514
- (*UpdateProductTypeResponse)(nil), // 3: UpdateProductTypeResponse
515
- (*DeleteProductTypeByIDRequest)(nil), // 4: DeleteProductTypeByIDRequest
516
- (*DeleteProductTypeByIDResponse)(nil), // 5: DeleteProductTypeByIDResponse
517
- (*GetProductTypeByIDRequest)(nil), // 6: GetProductTypeByIDRequest
518
- (*GetProductTypeByIDResponse)(nil), // 7: GetProductTypeByIDResponse
519
- }
520
- var file_src_proto_products_v1_entities_type_proto_depIdxs = []int32{
521
- 0, // [0:0] is the sub-list for method output_type
522
- 0, // [0:0] is the sub-list for method input_type
523
- 0, // [0:0] is the sub-list for extension type_name
524
- 0, // [0:0] is the sub-list for extension extendee
525
- 0, // [0:0] is the sub-list for field type_name
526
- }
527
-
528
- func init() { file_src_proto_products_v1_entities_type_proto_init() }
529
- func file_src_proto_products_v1_entities_type_proto_init() {
530
- if File_src_proto_products_v1_entities_type_proto != nil {
531
- return
532
- }
533
- file_src_proto_products_v1_entities_type_proto_msgTypes[0].OneofWrappers = []any{}
534
- file_src_proto_products_v1_entities_type_proto_msgTypes[2].OneofWrappers = []any{}
535
- file_src_proto_products_v1_entities_type_proto_msgTypes[7].OneofWrappers = []any{}
536
- type x struct{}
537
- out := protoimpl.TypeBuilder{
538
- File: protoimpl.DescBuilder{
539
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
540
- RawDescriptor: unsafe.Slice(unsafe.StringData(file_src_proto_products_v1_entities_type_proto_rawDesc), len(file_src_proto_products_v1_entities_type_proto_rawDesc)),
541
- NumEnums: 0,
542
- NumMessages: 8,
543
- NumExtensions: 0,
544
- NumServices: 0,
545
- },
546
- GoTypes: file_src_proto_products_v1_entities_type_proto_goTypes,
547
- DependencyIndexes: file_src_proto_products_v1_entities_type_proto_depIdxs,
548
- MessageInfos: file_src_proto_products_v1_entities_type_proto_msgTypes,
549
- }.Build()
550
- File_src_proto_products_v1_entities_type_proto = out.File
551
- file_src_proto_products_v1_entities_type_proto_goTypes = nil
552
- file_src_proto_products_v1_entities_type_proto_depIdxs = nil
553
- }