@paakd/api 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (201) hide show
  1. package/buf/validate/validate_pb.ts +5001 -0
  2. package/dist/gen/buf/validate/validate_pb.d.ts +4634 -0
  3. package/dist/gen/buf/validate/validate_pb.d.ts.map +1 -0
  4. package/dist/gen/buf/validate/validate_pb.js +414 -0
  5. package/dist/gen/src/proto/auth/v1/entities/auth_pb.d.ts +268 -0
  6. package/dist/gen/src/proto/auth/v1/entities/auth_pb.d.ts.map +1 -0
  7. package/dist/gen/src/proto/auth/v1/entities/auth_pb.js +120 -0
  8. package/dist/gen/src/proto/auth/v1/entities/policy_pb.d.ts +235 -0
  9. package/dist/gen/src/proto/auth/v1/entities/policy_pb.d.ts.map +1 -0
  10. package/dist/gen/src/proto/auth/v1/entities/policy_pb.js +98 -0
  11. package/dist/gen/src/proto/auth/v1/service_pb.d.ts +117 -0
  12. package/dist/gen/src/proto/auth/v1/service_pb.d.ts.map +1 -0
  13. package/dist/gen/src/proto/auth/v1/service_pb.js +22 -0
  14. package/dist/gen/src/proto/customers/v1/entities/address_pb.d.ts +371 -0
  15. package/dist/gen/src/proto/customers/v1/entities/address_pb.d.ts.map +1 -0
  16. package/dist/gen/src/proto/customers/v1/entities/address_pb.js +84 -0
  17. package/dist/gen/src/proto/customers/v1/entities/profile_pb.d.ts +189 -0
  18. package/dist/gen/src/proto/customers/v1/entities/profile_pb.d.ts.map +1 -0
  19. package/dist/gen/src/proto/customers/v1/entities/profile_pb.js +70 -0
  20. package/dist/gen/src/proto/customers/v1/service_pb.d.ts +85 -0
  21. package/dist/gen/src/proto/customers/v1/service_pb.d.ts.map +1 -0
  22. package/dist/gen/src/proto/customers/v1/service_pb.js +22 -0
  23. package/dist/gen/src/proto/products/v1/entities/category_pb.d.ts +234 -0
  24. package/dist/gen/src/proto/products/v1/entities/category_pb.d.ts.map +1 -0
  25. package/dist/gen/src/proto/products/v1/entities/category_pb.js +84 -0
  26. package/dist/gen/src/proto/products/v1/entities/collection_pb.d.ts +159 -0
  27. package/dist/gen/src/proto/products/v1/entities/collection_pb.d.ts.map +1 -0
  28. package/dist/gen/src/proto/products/v1/entities/collection_pb.js +70 -0
  29. package/dist/gen/src/proto/products/v1/entities/product/create_pb.d.ts +146 -0
  30. package/dist/gen/src/proto/products/v1/entities/product/create_pb.d.ts.map +1 -0
  31. package/dist/gen/src/proto/products/v1/entities/product/create_pb.js +32 -0
  32. package/dist/gen/src/proto/products/v1/entities/product/option_pb.d.ts +50 -0
  33. package/dist/gen/src/proto/products/v1/entities/product/option_pb.d.ts.map +1 -0
  34. package/dist/gen/src/proto/products/v1/entities/product/option_pb.js +32 -0
  35. package/dist/gen/src/proto/products/v1/entities/product/shared_pb.d.ts +1042 -0
  36. package/dist/gen/src/proto/products/v1/entities/product/shared_pb.d.ts.map +1 -0
  37. package/dist/gen/src/proto/products/v1/entities/product/shared_pb.js +258 -0
  38. package/dist/gen/src/proto/products/v1/entities/product/update_pb.d.ts +236 -0
  39. package/dist/gen/src/proto/products/v1/entities/product/update_pb.d.ts.map +1 -0
  40. package/dist/gen/src/proto/products/v1/entities/product/update_pb.js +88 -0
  41. package/dist/gen/src/proto/products/v1/entities/tag_pb.d.ts +175 -0
  42. package/dist/gen/src/proto/products/v1/entities/tag_pb.d.ts.map +1 -0
  43. package/dist/gen/src/proto/products/v1/entities/tag_pb.js +84 -0
  44. package/dist/gen/src/proto/products/v1/entities/taxonomy_pb.d.ts +477 -0
  45. package/dist/gen/src/proto/products/v1/entities/taxonomy_pb.d.ts.map +1 -0
  46. package/dist/gen/src/proto/products/v1/entities/taxonomy_pb.js +235 -0
  47. package/dist/gen/src/proto/products/v1/entities/type_pb.d.ts +158 -0
  48. package/dist/gen/src/proto/products/v1/entities/type_pb.d.ts.map +1 -0
  49. package/dist/gen/src/proto/products/v1/entities/type_pb.js +70 -0
  50. package/dist/gen/src/proto/products/v1/entities/variant_pb.d.ts +489 -0
  51. package/dist/gen/src/proto/products/v1/entities/variant_pb.d.ts.map +1 -0
  52. package/dist/gen/src/proto/products/v1/entities/variant_pb.js +147 -0
  53. package/dist/gen/src/proto/products/v1/service_pb.d.ts +316 -0
  54. package/dist/gen/src/proto/products/v1/service_pb.d.ts.map +1 -0
  55. package/dist/gen/src/proto/products/v1/service_pb.js +36 -0
  56. package/dist/src/address.d.ts +53 -0
  57. package/dist/src/address.d.ts.map +1 -0
  58. package/dist/src/address.js +233 -0
  59. package/dist/src/address.spec.d.ts +2 -0
  60. package/dist/src/address.spec.d.ts.map +1 -0
  61. package/dist/src/address.spec.js +488 -0
  62. package/dist/src/auth.d.ts +27 -0
  63. package/dist/src/auth.d.ts.map +1 -0
  64. package/dist/src/auth.js +155 -0
  65. package/dist/src/auth.spec.d.ts +2 -0
  66. package/dist/src/auth.spec.d.ts.map +1 -0
  67. package/dist/src/auth.spec.js +582 -0
  68. package/dist/src/compressor/brotli.d.ts +3 -0
  69. package/dist/src/compressor/brotli.d.ts.map +1 -0
  70. package/dist/src/compressor/brotli.js +30 -0
  71. package/dist/src/index.d.ts +6 -0
  72. package/dist/src/index.d.ts.map +1 -0
  73. package/dist/src/interceptors.d.ts +16 -0
  74. package/dist/src/interceptors.d.ts.map +1 -0
  75. package/dist/src/interceptors.js +156 -0
  76. package/dist/src/interceptors.spec.d.ts +2 -0
  77. package/dist/src/interceptors.spec.d.ts.map +1 -0
  78. package/dist/src/interceptors.spec.js +1063 -0
  79. package/dist/src/policies.d.ts +217 -0
  80. package/dist/src/policies.d.ts.map +1 -0
  81. package/dist/src/policies.js +322 -0
  82. package/dist/src/policies.spec.d.ts +2 -0
  83. package/dist/src/policies.spec.d.ts.map +1 -0
  84. package/dist/src/policies.spec.js +463 -0
  85. package/dist/src/products.d.ts +39 -0
  86. package/dist/src/products.d.ts.map +1 -0
  87. package/dist/src/products.js +95 -0
  88. package/dist/src/products.spec.d.ts +2 -0
  89. package/dist/src/products.spec.d.ts.map +1 -0
  90. package/dist/src/products.spec.js +519 -0
  91. package/dist/src/profile.d.ts +62 -0
  92. package/dist/src/profile.d.ts.map +1 -0
  93. package/dist/src/profile.js +151 -0
  94. package/dist/src/profile.spec.d.ts +2 -0
  95. package/dist/src/profile.spec.d.ts.map +1 -0
  96. package/dist/src/profile.spec.js +475 -0
  97. package/dist/src/registration.d.ts +60 -0
  98. package/dist/src/registration.d.ts.map +1 -0
  99. package/dist/src/registration.js +147 -0
  100. package/dist/src/test-utils.d.ts +87 -0
  101. package/dist/src/test-utils.d.ts.map +1 -0
  102. package/dist/src/test-utils.js +132 -0
  103. package/gen/buf/validate/validate_pb.ts +4799 -0
  104. package/gen/src/proto/auth/v1/authv1connect/service.connect.go +454 -0
  105. package/gen/src/proto/auth/v1/entities/auth.pb.go +818 -0
  106. package/gen/src/proto/auth/v1/entities/auth_pb.ts +348 -0
  107. package/gen/src/proto/auth/v1/entities/policy.pb.go +727 -0
  108. package/gen/src/proto/auth/v1/entities/policy_pb.ts +306 -0
  109. package/gen/src/proto/auth/v1/service-AuthService_connectquery.ts +70 -0
  110. package/gen/src/proto/auth/v1/service.pb.go +119 -0
  111. package/gen/src/proto/auth/v1/service_pb.ts +152 -0
  112. package/gen/src/proto/customers/v1/customersv1connect/service.connect.go +358 -0
  113. package/gen/src/proto/customers/v1/entities/address.pb.go +1073 -0
  114. package/gen/src/proto/customers/v1/entities/address_pb.ts +478 -0
  115. package/gen/src/proto/customers/v1/entities/profile.pb.go +633 -0
  116. package/gen/src/proto/customers/v1/entities/profile_pb.ts +252 -0
  117. package/gen/src/proto/customers/v1/service-CustomerService_connectquery.ts +50 -0
  118. package/gen/src/proto/customers/v1/service.pb.go +110 -0
  119. package/gen/src/proto/customers/v1/service_pb.ts +121 -0
  120. package/gen/src/proto/files/v1/entities/file.pb.go +669 -0
  121. package/gen/src/proto/files/v1/entities/file_pb.ts +265 -0
  122. package/gen/src/proto/files/v1/filesv1connect/service.connect.go +200 -0
  123. package/gen/src/proto/files/v1/service-FileService_connectquery.ts +25 -0
  124. package/gen/src/proto/files/v1/service.pb.go +85 -0
  125. package/gen/src/proto/files/v1/service_pb.ts +65 -0
  126. package/gen/src/proto/products/v1/entities/category.pb.go +744 -0
  127. package/gen/src/proto/products/v1/entities/category_pb.ts +318 -0
  128. package/gen/src/proto/products/v1/entities/collection.pb.go +528 -0
  129. package/gen/src/proto/products/v1/entities/collection_pb.ts +214 -0
  130. package/gen/src/proto/products/v1/entities/product/create.pb.go +453 -0
  131. package/gen/src/proto/products/v1/entities/product/create_pb.ts +199 -0
  132. package/gen/src/proto/products/v1/entities/product/option.pb.go +206 -0
  133. package/gen/src/proto/products/v1/entities/product/option_pb.ts +74 -0
  134. package/gen/src/proto/products/v1/entities/product/shared.pb.go +2890 -0
  135. package/gen/src/proto/products/v1/entities/product/shared_pb.ts +1317 -0
  136. package/gen/src/proto/products/v1/entities/product/update.pb.go +794 -0
  137. package/gen/src/proto/products/v1/entities/product/update_pb.ts +325 -0
  138. package/gen/src/proto/products/v1/entities/tag.pb.go +610 -0
  139. package/gen/src/proto/products/v1/entities/tag_pb.ts +233 -0
  140. package/gen/src/proto/products/v1/entities/taxonomy.pb.go +1352 -0
  141. package/gen/src/proto/products/v1/entities/taxonomy_pb.ts +606 -0
  142. package/gen/src/proto/products/v1/entities/type.pb.go +553 -0
  143. package/gen/src/proto/products/v1/entities/type_pb.ts +215 -0
  144. package/gen/src/proto/products/v1/entities/variant.pb.go +1474 -0
  145. package/gen/src/proto/products/v1/entities/variant_pb.ts +629 -0
  146. package/gen/src/proto/products/v1/productsv1connect/service.connect.go +1195 -0
  147. package/gen/src/proto/products/v1/service-ProductsService_connectquery.ts +199 -0
  148. package/gen/src/proto/products/v1/service.pb.go +250 -0
  149. package/gen/src/proto/products/v1/service_pb.ts +429 -0
  150. package/gen/src/proto/promotions/v1/entities/campaign.pb.go +1229 -0
  151. package/gen/src/proto/promotions/v1/entities/campaign_pb.ts +511 -0
  152. package/gen/src/proto/promotions/v1/promotionsv1connect/service.connect.go +289 -0
  153. package/gen/src/proto/promotions/v1/service-CampaignService_connectquery.ts +42 -0
  154. package/gen/src/proto/promotions/v1/service.pb.go +98 -0
  155. package/gen/src/proto/promotions/v1/service_pb.ts +95 -0
  156. package/gen/src/proto/stocknodes/v1/entities/stocknode.pb.go +1499 -0
  157. package/gen/src/proto/stocknodes/v1/entities/stocknode_pb.ts +655 -0
  158. package/gen/src/proto/stocknodes/v1/service-StockNodesService_connectquery.ts +41 -0
  159. package/gen/src/proto/stocknodes/v1/service.pb.go +98 -0
  160. package/gen/src/proto/stocknodes/v1/service_pb.ts +95 -0
  161. package/gen/src/proto/stocknodes/v1/stocknodesv1connect/service.connect.go +297 -0
  162. package/package.json +5 -2
  163. package/src/address.spec.ts +0 -662
  164. package/src/address.ts +0 -300
  165. package/src/auth.spec.ts +0 -771
  166. package/src/auth.ts +0 -168
  167. package/src/compressor/brotli.ts +0 -26
  168. package/src/index.ts +0 -5
  169. package/src/interceptors.spec.ts +0 -1343
  170. package/src/interceptors.ts +0 -224
  171. package/src/policies.spec.ts +0 -595
  172. package/src/policies.ts +0 -431
  173. package/src/products.spec.ts +0 -710
  174. package/src/products.ts +0 -112
  175. package/src/profile.spec.ts +0 -626
  176. package/src/profile.ts +0 -169
  177. package/src/proto/auth/v1/entities/auth.proto +0 -140
  178. package/src/proto/auth/v1/entities/policy.proto +0 -57
  179. package/src/proto/auth/v1/service.proto +0 -26
  180. package/src/proto/customers/v1/entities/address.proto +0 -101
  181. package/src/proto/customers/v1/entities/profile.proto +0 -118
  182. package/src/proto/customers/v1/service.proto +0 -36
  183. package/src/proto/files/v1/entities/file.proto +0 -62
  184. package/src/proto/files/v1/service.proto +0 -19
  185. package/src/proto/products/v1/entities/category.proto +0 -98
  186. package/src/proto/products/v1/entities/collection.proto +0 -72
  187. package/src/proto/products/v1/entities/product/create.proto +0 -41
  188. package/src/proto/products/v1/entities/product/option.proto +0 -17
  189. package/src/proto/products/v1/entities/product/shared.proto +0 -255
  190. package/src/proto/products/v1/entities/product/update.proto +0 -66
  191. package/src/proto/products/v1/entities/tag.proto +0 -73
  192. package/src/proto/products/v1/entities/taxonomy.proto +0 -146
  193. package/src/proto/products/v1/entities/type.proto +0 -98
  194. package/src/proto/products/v1/entities/variant.proto +0 -127
  195. package/src/proto/products/v1/service.proto +0 -78
  196. package/src/proto/promotions/v1/entities/campaign.proto +0 -145
  197. package/src/proto/promotions/v1/service.proto +0 -17
  198. package/src/proto/stocknodes/v1/entities/stocknode.proto +0 -167
  199. package/src/proto/stocknodes/v1/service.proto +0 -21
  200. package/src/registration.ts +0 -170
  201. package/src/test-utils.ts +0 -176
@@ -0,0 +1,1352 @@
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/taxonomy.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 SearchType int32
26
+
27
+ const (
28
+ SearchType_SEARCH_TYPE_UNSPECIFIED SearchType = 0 // Default value, not specified
29
+ SearchType_SEARCH_TYPE_EXACT SearchType = 1 // Exact match search
30
+ SearchType_SEARCH_TYPE_FUZZY SearchType = 2 // Fuzzy match search
31
+ SearchType_SEARCH_TYPE_PREFIX SearchType = 3 // Prefix match search
32
+ SearchType_SEARCH_TYPE_WILDCARD SearchType = 4 // Wildcard match search
33
+ SearchType_SEARCH_TYPE_RANGE SearchType = 5 // Range search
34
+ SearchType_SEARCH_TYPE_TERM SearchType = 6 // Term search
35
+ )
36
+
37
+ // Enum value maps for SearchType.
38
+ var (
39
+ SearchType_name = map[int32]string{
40
+ 0: "SEARCH_TYPE_UNSPECIFIED",
41
+ 1: "SEARCH_TYPE_EXACT",
42
+ 2: "SEARCH_TYPE_FUZZY",
43
+ 3: "SEARCH_TYPE_PREFIX",
44
+ 4: "SEARCH_TYPE_WILDCARD",
45
+ 5: "SEARCH_TYPE_RANGE",
46
+ 6: "SEARCH_TYPE_TERM",
47
+ }
48
+ SearchType_value = map[string]int32{
49
+ "SEARCH_TYPE_UNSPECIFIED": 0,
50
+ "SEARCH_TYPE_EXACT": 1,
51
+ "SEARCH_TYPE_FUZZY": 2,
52
+ "SEARCH_TYPE_PREFIX": 3,
53
+ "SEARCH_TYPE_WILDCARD": 4,
54
+ "SEARCH_TYPE_RANGE": 5,
55
+ "SEARCH_TYPE_TERM": 6,
56
+ }
57
+ )
58
+
59
+ func (x SearchType) Enum() *SearchType {
60
+ p := new(SearchType)
61
+ *p = x
62
+ return p
63
+ }
64
+
65
+ func (x SearchType) String() string {
66
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
67
+ }
68
+
69
+ func (SearchType) Descriptor() protoreflect.EnumDescriptor {
70
+ return file_src_proto_products_v1_entities_taxonomy_proto_enumTypes[0].Descriptor()
71
+ }
72
+
73
+ func (SearchType) Type() protoreflect.EnumType {
74
+ return &file_src_proto_products_v1_entities_taxonomy_proto_enumTypes[0]
75
+ }
76
+
77
+ func (x SearchType) Number() protoreflect.EnumNumber {
78
+ return protoreflect.EnumNumber(x)
79
+ }
80
+
81
+ // Deprecated: Use SearchType.Descriptor instead.
82
+ func (SearchType) EnumDescriptor() ([]byte, []int) {
83
+ return file_src_proto_products_v1_entities_taxonomy_proto_rawDescGZIP(), []int{0}
84
+ }
85
+
86
+ type Locale int32
87
+
88
+ const (
89
+ Locale_LOCALE_UNSPECIFIED Locale = 0 // Default value, not specified
90
+ Locale_LOCALE_EN Locale = 1 // English
91
+ Locale_LOCALE_ES Locale = 2 // Spanish
92
+ Locale_LOCALE_FR Locale = 3 // French
93
+ Locale_LOCALE_DE Locale = 4 // German
94
+ Locale_LOCALE_NL Locale = 5 // Dutch
95
+ )
96
+
97
+ // Enum value maps for Locale.
98
+ var (
99
+ Locale_name = map[int32]string{
100
+ 0: "LOCALE_UNSPECIFIED",
101
+ 1: "LOCALE_EN",
102
+ 2: "LOCALE_ES",
103
+ 3: "LOCALE_FR",
104
+ 4: "LOCALE_DE",
105
+ 5: "LOCALE_NL",
106
+ }
107
+ Locale_value = map[string]int32{
108
+ "LOCALE_UNSPECIFIED": 0,
109
+ "LOCALE_EN": 1,
110
+ "LOCALE_ES": 2,
111
+ "LOCALE_FR": 3,
112
+ "LOCALE_DE": 4,
113
+ "LOCALE_NL": 5,
114
+ }
115
+ )
116
+
117
+ func (x Locale) Enum() *Locale {
118
+ p := new(Locale)
119
+ *p = x
120
+ return p
121
+ }
122
+
123
+ func (x Locale) String() string {
124
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
125
+ }
126
+
127
+ func (Locale) Descriptor() protoreflect.EnumDescriptor {
128
+ return file_src_proto_products_v1_entities_taxonomy_proto_enumTypes[1].Descriptor()
129
+ }
130
+
131
+ func (Locale) Type() protoreflect.EnumType {
132
+ return &file_src_proto_products_v1_entities_taxonomy_proto_enumTypes[1]
133
+ }
134
+
135
+ func (x Locale) Number() protoreflect.EnumNumber {
136
+ return protoreflect.EnumNumber(x)
137
+ }
138
+
139
+ // Deprecated: Use Locale.Descriptor instead.
140
+ func (Locale) EnumDescriptor() ([]byte, []int) {
141
+ return file_src_proto_products_v1_entities_taxonomy_proto_rawDescGZIP(), []int{1}
142
+ }
143
+
144
+ type Vertical struct {
145
+ state protoimpl.MessageState `protogen:"open.v1"`
146
+ Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
147
+ Prefix string `protobuf:"bytes,2,opt,name=prefix,proto3" json:"prefix,omitempty"`
148
+ unknownFields protoimpl.UnknownFields
149
+ sizeCache protoimpl.SizeCache
150
+ }
151
+
152
+ func (x *Vertical) Reset() {
153
+ *x = Vertical{}
154
+ mi := &file_src_proto_products_v1_entities_taxonomy_proto_msgTypes[0]
155
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
156
+ ms.StoreMessageInfo(mi)
157
+ }
158
+
159
+ func (x *Vertical) String() string {
160
+ return protoimpl.X.MessageStringOf(x)
161
+ }
162
+
163
+ func (*Vertical) ProtoMessage() {}
164
+
165
+ func (x *Vertical) ProtoReflect() protoreflect.Message {
166
+ mi := &file_src_proto_products_v1_entities_taxonomy_proto_msgTypes[0]
167
+ if x != nil {
168
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
169
+ if ms.LoadMessageInfo() == nil {
170
+ ms.StoreMessageInfo(mi)
171
+ }
172
+ return ms
173
+ }
174
+ return mi.MessageOf(x)
175
+ }
176
+
177
+ // Deprecated: Use Vertical.ProtoReflect.Descriptor instead.
178
+ func (*Vertical) Descriptor() ([]byte, []int) {
179
+ return file_src_proto_products_v1_entities_taxonomy_proto_rawDescGZIP(), []int{0}
180
+ }
181
+
182
+ func (x *Vertical) GetName() string {
183
+ if x != nil {
184
+ return x.Name
185
+ }
186
+ return ""
187
+ }
188
+
189
+ func (x *Vertical) GetPrefix() string {
190
+ if x != nil {
191
+ return x.Prefix
192
+ }
193
+ return ""
194
+ }
195
+
196
+ type Category struct {
197
+ state protoimpl.MessageState `protogen:"open.v1"`
198
+ Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
199
+ Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
200
+ FullName string `protobuf:"bytes,3,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"`
201
+ ParentId string `protobuf:"bytes,4,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
202
+ Level uint32 `protobuf:"varint,5,opt,name=level,proto3" json:"level,omitempty"`
203
+ VerticalName string `protobuf:"bytes,6,opt,name=vertical_name,json=verticalName,proto3" json:"vertical_name,omitempty"`
204
+ Attributes []string `protobuf:"bytes,7,rep,name=attributes,proto3" json:"attributes,omitempty"`
205
+ Children []string `protobuf:"bytes,8,rep,name=children,proto3" json:"children,omitempty"`
206
+ Ancestors []string `protobuf:"bytes,9,rep,name=ancestors,proto3" json:"ancestors,omitempty"`
207
+ unknownFields protoimpl.UnknownFields
208
+ sizeCache protoimpl.SizeCache
209
+ }
210
+
211
+ func (x *Category) Reset() {
212
+ *x = Category{}
213
+ mi := &file_src_proto_products_v1_entities_taxonomy_proto_msgTypes[1]
214
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
215
+ ms.StoreMessageInfo(mi)
216
+ }
217
+
218
+ func (x *Category) String() string {
219
+ return protoimpl.X.MessageStringOf(x)
220
+ }
221
+
222
+ func (*Category) ProtoMessage() {}
223
+
224
+ func (x *Category) ProtoReflect() protoreflect.Message {
225
+ mi := &file_src_proto_products_v1_entities_taxonomy_proto_msgTypes[1]
226
+ if x != nil {
227
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
228
+ if ms.LoadMessageInfo() == nil {
229
+ ms.StoreMessageInfo(mi)
230
+ }
231
+ return ms
232
+ }
233
+ return mi.MessageOf(x)
234
+ }
235
+
236
+ // Deprecated: Use Category.ProtoReflect.Descriptor instead.
237
+ func (*Category) Descriptor() ([]byte, []int) {
238
+ return file_src_proto_products_v1_entities_taxonomy_proto_rawDescGZIP(), []int{1}
239
+ }
240
+
241
+ func (x *Category) GetId() string {
242
+ if x != nil {
243
+ return x.Id
244
+ }
245
+ return ""
246
+ }
247
+
248
+ func (x *Category) GetName() string {
249
+ if x != nil {
250
+ return x.Name
251
+ }
252
+ return ""
253
+ }
254
+
255
+ func (x *Category) GetFullName() string {
256
+ if x != nil {
257
+ return x.FullName
258
+ }
259
+ return ""
260
+ }
261
+
262
+ func (x *Category) GetParentId() string {
263
+ if x != nil {
264
+ return x.ParentId
265
+ }
266
+ return ""
267
+ }
268
+
269
+ func (x *Category) GetLevel() uint32 {
270
+ if x != nil {
271
+ return x.Level
272
+ }
273
+ return 0
274
+ }
275
+
276
+ func (x *Category) GetVerticalName() string {
277
+ if x != nil {
278
+ return x.VerticalName
279
+ }
280
+ return ""
281
+ }
282
+
283
+ func (x *Category) GetAttributes() []string {
284
+ if x != nil {
285
+ return x.Attributes
286
+ }
287
+ return nil
288
+ }
289
+
290
+ func (x *Category) GetChildren() []string {
291
+ if x != nil {
292
+ return x.Children
293
+ }
294
+ return nil
295
+ }
296
+
297
+ func (x *Category) GetAncestors() []string {
298
+ if x != nil {
299
+ return x.Ancestors
300
+ }
301
+ return nil
302
+ }
303
+
304
+ type AttributeValue struct {
305
+ state protoimpl.MessageState `protogen:"open.v1"`
306
+ Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
307
+ Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
308
+ Handle string `protobuf:"bytes,3,opt,name=handle,proto3" json:"handle,omitempty"`
309
+ unknownFields protoimpl.UnknownFields
310
+ sizeCache protoimpl.SizeCache
311
+ }
312
+
313
+ func (x *AttributeValue) Reset() {
314
+ *x = AttributeValue{}
315
+ mi := &file_src_proto_products_v1_entities_taxonomy_proto_msgTypes[2]
316
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
317
+ ms.StoreMessageInfo(mi)
318
+ }
319
+
320
+ func (x *AttributeValue) String() string {
321
+ return protoimpl.X.MessageStringOf(x)
322
+ }
323
+
324
+ func (*AttributeValue) ProtoMessage() {}
325
+
326
+ func (x *AttributeValue) ProtoReflect() protoreflect.Message {
327
+ mi := &file_src_proto_products_v1_entities_taxonomy_proto_msgTypes[2]
328
+ if x != nil {
329
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
330
+ if ms.LoadMessageInfo() == nil {
331
+ ms.StoreMessageInfo(mi)
332
+ }
333
+ return ms
334
+ }
335
+ return mi.MessageOf(x)
336
+ }
337
+
338
+ // Deprecated: Use AttributeValue.ProtoReflect.Descriptor instead.
339
+ func (*AttributeValue) Descriptor() ([]byte, []int) {
340
+ return file_src_proto_products_v1_entities_taxonomy_proto_rawDescGZIP(), []int{2}
341
+ }
342
+
343
+ func (x *AttributeValue) GetId() string {
344
+ if x != nil {
345
+ return x.Id
346
+ }
347
+ return ""
348
+ }
349
+
350
+ func (x *AttributeValue) GetName() string {
351
+ if x != nil {
352
+ return x.Name
353
+ }
354
+ return ""
355
+ }
356
+
357
+ func (x *AttributeValue) GetHandle() string {
358
+ if x != nil {
359
+ return x.Handle
360
+ }
361
+ return ""
362
+ }
363
+
364
+ type ExtendedAttributeValue struct {
365
+ state protoimpl.MessageState `protogen:"open.v1"`
366
+ Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
367
+ Handle string `protobuf:"bytes,2,opt,name=handle,proto3" json:"handle,omitempty"`
368
+ unknownFields protoimpl.UnknownFields
369
+ sizeCache protoimpl.SizeCache
370
+ }
371
+
372
+ func (x *ExtendedAttributeValue) Reset() {
373
+ *x = ExtendedAttributeValue{}
374
+ mi := &file_src_proto_products_v1_entities_taxonomy_proto_msgTypes[3]
375
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
376
+ ms.StoreMessageInfo(mi)
377
+ }
378
+
379
+ func (x *ExtendedAttributeValue) String() string {
380
+ return protoimpl.X.MessageStringOf(x)
381
+ }
382
+
383
+ func (*ExtendedAttributeValue) ProtoMessage() {}
384
+
385
+ func (x *ExtendedAttributeValue) ProtoReflect() protoreflect.Message {
386
+ mi := &file_src_proto_products_v1_entities_taxonomy_proto_msgTypes[3]
387
+ if x != nil {
388
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
389
+ if ms.LoadMessageInfo() == nil {
390
+ ms.StoreMessageInfo(mi)
391
+ }
392
+ return ms
393
+ }
394
+ return mi.MessageOf(x)
395
+ }
396
+
397
+ // Deprecated: Use ExtendedAttributeValue.ProtoReflect.Descriptor instead.
398
+ func (*ExtendedAttributeValue) Descriptor() ([]byte, []int) {
399
+ return file_src_proto_products_v1_entities_taxonomy_proto_rawDescGZIP(), []int{3}
400
+ }
401
+
402
+ func (x *ExtendedAttributeValue) GetName() string {
403
+ if x != nil {
404
+ return x.Name
405
+ }
406
+ return ""
407
+ }
408
+
409
+ func (x *ExtendedAttributeValue) GetHandle() string {
410
+ if x != nil {
411
+ return x.Handle
412
+ }
413
+ return ""
414
+ }
415
+
416
+ type Attribute struct {
417
+ state protoimpl.MessageState `protogen:"open.v1"`
418
+ Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
419
+ Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
420
+ Handle string `protobuf:"bytes,3,opt,name=handle,proto3" json:"handle,omitempty"`
421
+ Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
422
+ Values []*AttributeValue `protobuf:"bytes,5,rep,name=values,proto3" json:"values,omitempty"`
423
+ ExtendedValues []*ExtendedAttributeValue `protobuf:"bytes,6,rep,name=extended_values,json=extendedValues,proto3" json:"extended_values,omitempty"`
424
+ unknownFields protoimpl.UnknownFields
425
+ sizeCache protoimpl.SizeCache
426
+ }
427
+
428
+ func (x *Attribute) Reset() {
429
+ *x = Attribute{}
430
+ mi := &file_src_proto_products_v1_entities_taxonomy_proto_msgTypes[4]
431
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
432
+ ms.StoreMessageInfo(mi)
433
+ }
434
+
435
+ func (x *Attribute) String() string {
436
+ return protoimpl.X.MessageStringOf(x)
437
+ }
438
+
439
+ func (*Attribute) ProtoMessage() {}
440
+
441
+ func (x *Attribute) ProtoReflect() protoreflect.Message {
442
+ mi := &file_src_proto_products_v1_entities_taxonomy_proto_msgTypes[4]
443
+ if x != nil {
444
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
445
+ if ms.LoadMessageInfo() == nil {
446
+ ms.StoreMessageInfo(mi)
447
+ }
448
+ return ms
449
+ }
450
+ return mi.MessageOf(x)
451
+ }
452
+
453
+ // Deprecated: Use Attribute.ProtoReflect.Descriptor instead.
454
+ func (*Attribute) Descriptor() ([]byte, []int) {
455
+ return file_src_proto_products_v1_entities_taxonomy_proto_rawDescGZIP(), []int{4}
456
+ }
457
+
458
+ func (x *Attribute) GetId() string {
459
+ if x != nil {
460
+ return x.Id
461
+ }
462
+ return ""
463
+ }
464
+
465
+ func (x *Attribute) GetName() string {
466
+ if x != nil {
467
+ return x.Name
468
+ }
469
+ return ""
470
+ }
471
+
472
+ func (x *Attribute) GetHandle() string {
473
+ if x != nil {
474
+ return x.Handle
475
+ }
476
+ return ""
477
+ }
478
+
479
+ func (x *Attribute) GetDescription() string {
480
+ if x != nil {
481
+ return x.Description
482
+ }
483
+ return ""
484
+ }
485
+
486
+ func (x *Attribute) GetValues() []*AttributeValue {
487
+ if x != nil {
488
+ return x.Values
489
+ }
490
+ return nil
491
+ }
492
+
493
+ func (x *Attribute) GetExtendedValues() []*ExtendedAttributeValue {
494
+ if x != nil {
495
+ return x.ExtendedValues
496
+ }
497
+ return nil
498
+ }
499
+
500
+ type SearchVerticalsRequest struct {
501
+ state protoimpl.MessageState `protogen:"open.v1"`
502
+ Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
503
+ SearchType SearchType `protobuf:"varint,2,opt,name=search_type,json=searchType,proto3,enum=SearchType" json:"search_type,omitempty"`
504
+ Size uint32 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"`
505
+ Locale Locale `protobuf:"varint,4,opt,name=locale,proto3,enum=Locale" json:"locale,omitempty"`
506
+ ExtraParams map[string]string `protobuf:"bytes,5,rep,name=extra_params,json=extraParams,proto3" json:"extra_params,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
507
+ unknownFields protoimpl.UnknownFields
508
+ sizeCache protoimpl.SizeCache
509
+ }
510
+
511
+ func (x *SearchVerticalsRequest) Reset() {
512
+ *x = SearchVerticalsRequest{}
513
+ mi := &file_src_proto_products_v1_entities_taxonomy_proto_msgTypes[5]
514
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
515
+ ms.StoreMessageInfo(mi)
516
+ }
517
+
518
+ func (x *SearchVerticalsRequest) String() string {
519
+ return protoimpl.X.MessageStringOf(x)
520
+ }
521
+
522
+ func (*SearchVerticalsRequest) ProtoMessage() {}
523
+
524
+ func (x *SearchVerticalsRequest) ProtoReflect() protoreflect.Message {
525
+ mi := &file_src_proto_products_v1_entities_taxonomy_proto_msgTypes[5]
526
+ if x != nil {
527
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
528
+ if ms.LoadMessageInfo() == nil {
529
+ ms.StoreMessageInfo(mi)
530
+ }
531
+ return ms
532
+ }
533
+ return mi.MessageOf(x)
534
+ }
535
+
536
+ // Deprecated: Use SearchVerticalsRequest.ProtoReflect.Descriptor instead.
537
+ func (*SearchVerticalsRequest) Descriptor() ([]byte, []int) {
538
+ return file_src_proto_products_v1_entities_taxonomy_proto_rawDescGZIP(), []int{5}
539
+ }
540
+
541
+ func (x *SearchVerticalsRequest) GetQuery() string {
542
+ if x != nil {
543
+ return x.Query
544
+ }
545
+ return ""
546
+ }
547
+
548
+ func (x *SearchVerticalsRequest) GetSearchType() SearchType {
549
+ if x != nil {
550
+ return x.SearchType
551
+ }
552
+ return SearchType_SEARCH_TYPE_UNSPECIFIED
553
+ }
554
+
555
+ func (x *SearchVerticalsRequest) GetSize() uint32 {
556
+ if x != nil {
557
+ return x.Size
558
+ }
559
+ return 0
560
+ }
561
+
562
+ func (x *SearchVerticalsRequest) GetLocale() Locale {
563
+ if x != nil {
564
+ return x.Locale
565
+ }
566
+ return Locale_LOCALE_UNSPECIFIED
567
+ }
568
+
569
+ func (x *SearchVerticalsRequest) GetExtraParams() map[string]string {
570
+ if x != nil {
571
+ return x.ExtraParams
572
+ }
573
+ return nil
574
+ }
575
+
576
+ type SearchVerticalsResponse struct {
577
+ state protoimpl.MessageState `protogen:"open.v1"`
578
+ Verticals []*Vertical `protobuf:"bytes,1,rep,name=verticals,proto3" json:"verticals,omitempty"`
579
+ unknownFields protoimpl.UnknownFields
580
+ sizeCache protoimpl.SizeCache
581
+ }
582
+
583
+ func (x *SearchVerticalsResponse) Reset() {
584
+ *x = SearchVerticalsResponse{}
585
+ mi := &file_src_proto_products_v1_entities_taxonomy_proto_msgTypes[6]
586
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
587
+ ms.StoreMessageInfo(mi)
588
+ }
589
+
590
+ func (x *SearchVerticalsResponse) String() string {
591
+ return protoimpl.X.MessageStringOf(x)
592
+ }
593
+
594
+ func (*SearchVerticalsResponse) ProtoMessage() {}
595
+
596
+ func (x *SearchVerticalsResponse) ProtoReflect() protoreflect.Message {
597
+ mi := &file_src_proto_products_v1_entities_taxonomy_proto_msgTypes[6]
598
+ if x != nil {
599
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
600
+ if ms.LoadMessageInfo() == nil {
601
+ ms.StoreMessageInfo(mi)
602
+ }
603
+ return ms
604
+ }
605
+ return mi.MessageOf(x)
606
+ }
607
+
608
+ // Deprecated: Use SearchVerticalsResponse.ProtoReflect.Descriptor instead.
609
+ func (*SearchVerticalsResponse) Descriptor() ([]byte, []int) {
610
+ return file_src_proto_products_v1_entities_taxonomy_proto_rawDescGZIP(), []int{6}
611
+ }
612
+
613
+ func (x *SearchVerticalsResponse) GetVerticals() []*Vertical {
614
+ if x != nil {
615
+ return x.Verticals
616
+ }
617
+ return nil
618
+ }
619
+
620
+ type SearchCategoryRequest struct {
621
+ state protoimpl.MessageState `protogen:"open.v1"`
622
+ VerticalName string `protobuf:"bytes,1,opt,name=vertical_name,json=verticalName,proto3" json:"vertical_name,omitempty"`
623
+ Level uint32 `protobuf:"varint,2,opt,name=level,proto3" json:"level,omitempty"`
624
+ Query string `protobuf:"bytes,3,opt,name=query,proto3" json:"query,omitempty"`
625
+ SearchType SearchType `protobuf:"varint,4,opt,name=search_type,json=searchType,proto3,enum=SearchType" json:"search_type,omitempty"`
626
+ Size uint32 `protobuf:"varint,5,opt,name=size,proto3" json:"size,omitempty"`
627
+ Locale Locale `protobuf:"varint,6,opt,name=locale,proto3,enum=Locale" json:"locale,omitempty"`
628
+ ExtraParams map[string]string `protobuf:"bytes,7,rep,name=extra_params,json=extraParams,proto3" json:"extra_params,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
629
+ unknownFields protoimpl.UnknownFields
630
+ sizeCache protoimpl.SizeCache
631
+ }
632
+
633
+ func (x *SearchCategoryRequest) Reset() {
634
+ *x = SearchCategoryRequest{}
635
+ mi := &file_src_proto_products_v1_entities_taxonomy_proto_msgTypes[7]
636
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
637
+ ms.StoreMessageInfo(mi)
638
+ }
639
+
640
+ func (x *SearchCategoryRequest) String() string {
641
+ return protoimpl.X.MessageStringOf(x)
642
+ }
643
+
644
+ func (*SearchCategoryRequest) ProtoMessage() {}
645
+
646
+ func (x *SearchCategoryRequest) ProtoReflect() protoreflect.Message {
647
+ mi := &file_src_proto_products_v1_entities_taxonomy_proto_msgTypes[7]
648
+ if x != nil {
649
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
650
+ if ms.LoadMessageInfo() == nil {
651
+ ms.StoreMessageInfo(mi)
652
+ }
653
+ return ms
654
+ }
655
+ return mi.MessageOf(x)
656
+ }
657
+
658
+ // Deprecated: Use SearchCategoryRequest.ProtoReflect.Descriptor instead.
659
+ func (*SearchCategoryRequest) Descriptor() ([]byte, []int) {
660
+ return file_src_proto_products_v1_entities_taxonomy_proto_rawDescGZIP(), []int{7}
661
+ }
662
+
663
+ func (x *SearchCategoryRequest) GetVerticalName() string {
664
+ if x != nil {
665
+ return x.VerticalName
666
+ }
667
+ return ""
668
+ }
669
+
670
+ func (x *SearchCategoryRequest) GetLevel() uint32 {
671
+ if x != nil {
672
+ return x.Level
673
+ }
674
+ return 0
675
+ }
676
+
677
+ func (x *SearchCategoryRequest) GetQuery() string {
678
+ if x != nil {
679
+ return x.Query
680
+ }
681
+ return ""
682
+ }
683
+
684
+ func (x *SearchCategoryRequest) GetSearchType() SearchType {
685
+ if x != nil {
686
+ return x.SearchType
687
+ }
688
+ return SearchType_SEARCH_TYPE_UNSPECIFIED
689
+ }
690
+
691
+ func (x *SearchCategoryRequest) GetSize() uint32 {
692
+ if x != nil {
693
+ return x.Size
694
+ }
695
+ return 0
696
+ }
697
+
698
+ func (x *SearchCategoryRequest) GetLocale() Locale {
699
+ if x != nil {
700
+ return x.Locale
701
+ }
702
+ return Locale_LOCALE_UNSPECIFIED
703
+ }
704
+
705
+ func (x *SearchCategoryRequest) GetExtraParams() map[string]string {
706
+ if x != nil {
707
+ return x.ExtraParams
708
+ }
709
+ return nil
710
+ }
711
+
712
+ type SearchCategoryResponse struct {
713
+ state protoimpl.MessageState `protogen:"open.v1"`
714
+ Categories []*Category `protobuf:"bytes,1,rep,name=categories,proto3" json:"categories,omitempty"`
715
+ unknownFields protoimpl.UnknownFields
716
+ sizeCache protoimpl.SizeCache
717
+ }
718
+
719
+ func (x *SearchCategoryResponse) Reset() {
720
+ *x = SearchCategoryResponse{}
721
+ mi := &file_src_proto_products_v1_entities_taxonomy_proto_msgTypes[8]
722
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
723
+ ms.StoreMessageInfo(mi)
724
+ }
725
+
726
+ func (x *SearchCategoryResponse) String() string {
727
+ return protoimpl.X.MessageStringOf(x)
728
+ }
729
+
730
+ func (*SearchCategoryResponse) ProtoMessage() {}
731
+
732
+ func (x *SearchCategoryResponse) ProtoReflect() protoreflect.Message {
733
+ mi := &file_src_proto_products_v1_entities_taxonomy_proto_msgTypes[8]
734
+ if x != nil {
735
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
736
+ if ms.LoadMessageInfo() == nil {
737
+ ms.StoreMessageInfo(mi)
738
+ }
739
+ return ms
740
+ }
741
+ return mi.MessageOf(x)
742
+ }
743
+
744
+ // Deprecated: Use SearchCategoryResponse.ProtoReflect.Descriptor instead.
745
+ func (*SearchCategoryResponse) Descriptor() ([]byte, []int) {
746
+ return file_src_proto_products_v1_entities_taxonomy_proto_rawDescGZIP(), []int{8}
747
+ }
748
+
749
+ func (x *SearchCategoryResponse) GetCategories() []*Category {
750
+ if x != nil {
751
+ return x.Categories
752
+ }
753
+ return nil
754
+ }
755
+
756
+ type GetCategoryRequest struct {
757
+ state protoimpl.MessageState `protogen:"open.v1"`
758
+ CategoryId string `protobuf:"bytes,1,opt,name=category_id,json=categoryId,proto3" json:"category_id,omitempty"`
759
+ Locale Locale `protobuf:"varint,2,opt,name=locale,proto3,enum=Locale" json:"locale,omitempty"`
760
+ unknownFields protoimpl.UnknownFields
761
+ sizeCache protoimpl.SizeCache
762
+ }
763
+
764
+ func (x *GetCategoryRequest) Reset() {
765
+ *x = GetCategoryRequest{}
766
+ mi := &file_src_proto_products_v1_entities_taxonomy_proto_msgTypes[9]
767
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
768
+ ms.StoreMessageInfo(mi)
769
+ }
770
+
771
+ func (x *GetCategoryRequest) String() string {
772
+ return protoimpl.X.MessageStringOf(x)
773
+ }
774
+
775
+ func (*GetCategoryRequest) ProtoMessage() {}
776
+
777
+ func (x *GetCategoryRequest) ProtoReflect() protoreflect.Message {
778
+ mi := &file_src_proto_products_v1_entities_taxonomy_proto_msgTypes[9]
779
+ if x != nil {
780
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
781
+ if ms.LoadMessageInfo() == nil {
782
+ ms.StoreMessageInfo(mi)
783
+ }
784
+ return ms
785
+ }
786
+ return mi.MessageOf(x)
787
+ }
788
+
789
+ // Deprecated: Use GetCategoryRequest.ProtoReflect.Descriptor instead.
790
+ func (*GetCategoryRequest) Descriptor() ([]byte, []int) {
791
+ return file_src_proto_products_v1_entities_taxonomy_proto_rawDescGZIP(), []int{9}
792
+ }
793
+
794
+ func (x *GetCategoryRequest) GetCategoryId() string {
795
+ if x != nil {
796
+ return x.CategoryId
797
+ }
798
+ return ""
799
+ }
800
+
801
+ func (x *GetCategoryRequest) GetLocale() Locale {
802
+ if x != nil {
803
+ return x.Locale
804
+ }
805
+ return Locale_LOCALE_UNSPECIFIED
806
+ }
807
+
808
+ type GetCategoryResponse struct {
809
+ state protoimpl.MessageState `protogen:"open.v1"`
810
+ Category *Category `protobuf:"bytes,1,opt,name=category,proto3" json:"category,omitempty"`
811
+ unknownFields protoimpl.UnknownFields
812
+ sizeCache protoimpl.SizeCache
813
+ }
814
+
815
+ func (x *GetCategoryResponse) Reset() {
816
+ *x = GetCategoryResponse{}
817
+ mi := &file_src_proto_products_v1_entities_taxonomy_proto_msgTypes[10]
818
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
819
+ ms.StoreMessageInfo(mi)
820
+ }
821
+
822
+ func (x *GetCategoryResponse) String() string {
823
+ return protoimpl.X.MessageStringOf(x)
824
+ }
825
+
826
+ func (*GetCategoryResponse) ProtoMessage() {}
827
+
828
+ func (x *GetCategoryResponse) ProtoReflect() protoreflect.Message {
829
+ mi := &file_src_proto_products_v1_entities_taxonomy_proto_msgTypes[10]
830
+ if x != nil {
831
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
832
+ if ms.LoadMessageInfo() == nil {
833
+ ms.StoreMessageInfo(mi)
834
+ }
835
+ return ms
836
+ }
837
+ return mi.MessageOf(x)
838
+ }
839
+
840
+ // Deprecated: Use GetCategoryResponse.ProtoReflect.Descriptor instead.
841
+ func (*GetCategoryResponse) Descriptor() ([]byte, []int) {
842
+ return file_src_proto_products_v1_entities_taxonomy_proto_rawDescGZIP(), []int{10}
843
+ }
844
+
845
+ func (x *GetCategoryResponse) GetCategory() *Category {
846
+ if x != nil {
847
+ return x.Category
848
+ }
849
+ return nil
850
+ }
851
+
852
+ type GetAttributeRequest struct {
853
+ state protoimpl.MessageState `protogen:"open.v1"`
854
+ AttributeId string `protobuf:"bytes,1,opt,name=attribute_id,json=attributeId,proto3" json:"attribute_id,omitempty"`
855
+ Locale Locale `protobuf:"varint,2,opt,name=locale,proto3,enum=Locale" json:"locale,omitempty"`
856
+ IncludeValues bool `protobuf:"varint,3,opt,name=include_values,json=includeValues,proto3" json:"include_values,omitempty"`
857
+ unknownFields protoimpl.UnknownFields
858
+ sizeCache protoimpl.SizeCache
859
+ }
860
+
861
+ func (x *GetAttributeRequest) Reset() {
862
+ *x = GetAttributeRequest{}
863
+ mi := &file_src_proto_products_v1_entities_taxonomy_proto_msgTypes[11]
864
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
865
+ ms.StoreMessageInfo(mi)
866
+ }
867
+
868
+ func (x *GetAttributeRequest) String() string {
869
+ return protoimpl.X.MessageStringOf(x)
870
+ }
871
+
872
+ func (*GetAttributeRequest) ProtoMessage() {}
873
+
874
+ func (x *GetAttributeRequest) ProtoReflect() protoreflect.Message {
875
+ mi := &file_src_proto_products_v1_entities_taxonomy_proto_msgTypes[11]
876
+ if x != nil {
877
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
878
+ if ms.LoadMessageInfo() == nil {
879
+ ms.StoreMessageInfo(mi)
880
+ }
881
+ return ms
882
+ }
883
+ return mi.MessageOf(x)
884
+ }
885
+
886
+ // Deprecated: Use GetAttributeRequest.ProtoReflect.Descriptor instead.
887
+ func (*GetAttributeRequest) Descriptor() ([]byte, []int) {
888
+ return file_src_proto_products_v1_entities_taxonomy_proto_rawDescGZIP(), []int{11}
889
+ }
890
+
891
+ func (x *GetAttributeRequest) GetAttributeId() string {
892
+ if x != nil {
893
+ return x.AttributeId
894
+ }
895
+ return ""
896
+ }
897
+
898
+ func (x *GetAttributeRequest) GetLocale() Locale {
899
+ if x != nil {
900
+ return x.Locale
901
+ }
902
+ return Locale_LOCALE_UNSPECIFIED
903
+ }
904
+
905
+ func (x *GetAttributeRequest) GetIncludeValues() bool {
906
+ if x != nil {
907
+ return x.IncludeValues
908
+ }
909
+ return false
910
+ }
911
+
912
+ type GetAttributeResponse struct {
913
+ state protoimpl.MessageState `protogen:"open.v1"`
914
+ Attribute *Attribute `protobuf:"bytes,1,opt,name=attribute,proto3" json:"attribute,omitempty"`
915
+ unknownFields protoimpl.UnknownFields
916
+ sizeCache protoimpl.SizeCache
917
+ }
918
+
919
+ func (x *GetAttributeResponse) Reset() {
920
+ *x = GetAttributeResponse{}
921
+ mi := &file_src_proto_products_v1_entities_taxonomy_proto_msgTypes[12]
922
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
923
+ ms.StoreMessageInfo(mi)
924
+ }
925
+
926
+ func (x *GetAttributeResponse) String() string {
927
+ return protoimpl.X.MessageStringOf(x)
928
+ }
929
+
930
+ func (*GetAttributeResponse) ProtoMessage() {}
931
+
932
+ func (x *GetAttributeResponse) ProtoReflect() protoreflect.Message {
933
+ mi := &file_src_proto_products_v1_entities_taxonomy_proto_msgTypes[12]
934
+ if x != nil {
935
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
936
+ if ms.LoadMessageInfo() == nil {
937
+ ms.StoreMessageInfo(mi)
938
+ }
939
+ return ms
940
+ }
941
+ return mi.MessageOf(x)
942
+ }
943
+
944
+ // Deprecated: Use GetAttributeResponse.ProtoReflect.Descriptor instead.
945
+ func (*GetAttributeResponse) Descriptor() ([]byte, []int) {
946
+ return file_src_proto_products_v1_entities_taxonomy_proto_rawDescGZIP(), []int{12}
947
+ }
948
+
949
+ func (x *GetAttributeResponse) GetAttribute() *Attribute {
950
+ if x != nil {
951
+ return x.Attribute
952
+ }
953
+ return nil
954
+ }
955
+
956
+ type GetCategoryAttributesRequest struct {
957
+ state protoimpl.MessageState `protogen:"open.v1"`
958
+ CategoryId string `protobuf:"bytes,1,opt,name=category_id,json=categoryId,proto3" json:"category_id,omitempty"`
959
+ Locale Locale `protobuf:"varint,2,opt,name=locale,proto3,enum=Locale" json:"locale,omitempty"`
960
+ unknownFields protoimpl.UnknownFields
961
+ sizeCache protoimpl.SizeCache
962
+ }
963
+
964
+ func (x *GetCategoryAttributesRequest) Reset() {
965
+ *x = GetCategoryAttributesRequest{}
966
+ mi := &file_src_proto_products_v1_entities_taxonomy_proto_msgTypes[13]
967
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
968
+ ms.StoreMessageInfo(mi)
969
+ }
970
+
971
+ func (x *GetCategoryAttributesRequest) String() string {
972
+ return protoimpl.X.MessageStringOf(x)
973
+ }
974
+
975
+ func (*GetCategoryAttributesRequest) ProtoMessage() {}
976
+
977
+ func (x *GetCategoryAttributesRequest) ProtoReflect() protoreflect.Message {
978
+ mi := &file_src_proto_products_v1_entities_taxonomy_proto_msgTypes[13]
979
+ if x != nil {
980
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
981
+ if ms.LoadMessageInfo() == nil {
982
+ ms.StoreMessageInfo(mi)
983
+ }
984
+ return ms
985
+ }
986
+ return mi.MessageOf(x)
987
+ }
988
+
989
+ // Deprecated: Use GetCategoryAttributesRequest.ProtoReflect.Descriptor instead.
990
+ func (*GetCategoryAttributesRequest) Descriptor() ([]byte, []int) {
991
+ return file_src_proto_products_v1_entities_taxonomy_proto_rawDescGZIP(), []int{13}
992
+ }
993
+
994
+ func (x *GetCategoryAttributesRequest) GetCategoryId() string {
995
+ if x != nil {
996
+ return x.CategoryId
997
+ }
998
+ return ""
999
+ }
1000
+
1001
+ func (x *GetCategoryAttributesRequest) GetLocale() Locale {
1002
+ if x != nil {
1003
+ return x.Locale
1004
+ }
1005
+ return Locale_LOCALE_UNSPECIFIED
1006
+ }
1007
+
1008
+ type GetCategoryAttributesResponse struct {
1009
+ state protoimpl.MessageState `protogen:"open.v1"`
1010
+ CategoryId string `protobuf:"bytes,1,opt,name=category_id,json=categoryId,proto3" json:"category_id,omitempty"`
1011
+ Attributes []*Attribute `protobuf:"bytes,2,rep,name=attributes,proto3" json:"attributes,omitempty"`
1012
+ unknownFields protoimpl.UnknownFields
1013
+ sizeCache protoimpl.SizeCache
1014
+ }
1015
+
1016
+ func (x *GetCategoryAttributesResponse) Reset() {
1017
+ *x = GetCategoryAttributesResponse{}
1018
+ mi := &file_src_proto_products_v1_entities_taxonomy_proto_msgTypes[14]
1019
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1020
+ ms.StoreMessageInfo(mi)
1021
+ }
1022
+
1023
+ func (x *GetCategoryAttributesResponse) String() string {
1024
+ return protoimpl.X.MessageStringOf(x)
1025
+ }
1026
+
1027
+ func (*GetCategoryAttributesResponse) ProtoMessage() {}
1028
+
1029
+ func (x *GetCategoryAttributesResponse) ProtoReflect() protoreflect.Message {
1030
+ mi := &file_src_proto_products_v1_entities_taxonomy_proto_msgTypes[14]
1031
+ if x != nil {
1032
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1033
+ if ms.LoadMessageInfo() == nil {
1034
+ ms.StoreMessageInfo(mi)
1035
+ }
1036
+ return ms
1037
+ }
1038
+ return mi.MessageOf(x)
1039
+ }
1040
+
1041
+ // Deprecated: Use GetCategoryAttributesResponse.ProtoReflect.Descriptor instead.
1042
+ func (*GetCategoryAttributesResponse) Descriptor() ([]byte, []int) {
1043
+ return file_src_proto_products_v1_entities_taxonomy_proto_rawDescGZIP(), []int{14}
1044
+ }
1045
+
1046
+ func (x *GetCategoryAttributesResponse) GetCategoryId() string {
1047
+ if x != nil {
1048
+ return x.CategoryId
1049
+ }
1050
+ return ""
1051
+ }
1052
+
1053
+ func (x *GetCategoryAttributesResponse) GetAttributes() []*Attribute {
1054
+ if x != nil {
1055
+ return x.Attributes
1056
+ }
1057
+ return nil
1058
+ }
1059
+
1060
+ type GetVerticalRequest struct {
1061
+ state protoimpl.MessageState `protogen:"open.v1"`
1062
+ VerticalName string `protobuf:"bytes,1,opt,name=vertical_name,json=verticalName,proto3" json:"vertical_name,omitempty"`
1063
+ Locale Locale `protobuf:"varint,2,opt,name=locale,proto3,enum=Locale" json:"locale,omitempty"`
1064
+ unknownFields protoimpl.UnknownFields
1065
+ sizeCache protoimpl.SizeCache
1066
+ }
1067
+
1068
+ func (x *GetVerticalRequest) Reset() {
1069
+ *x = GetVerticalRequest{}
1070
+ mi := &file_src_proto_products_v1_entities_taxonomy_proto_msgTypes[15]
1071
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1072
+ ms.StoreMessageInfo(mi)
1073
+ }
1074
+
1075
+ func (x *GetVerticalRequest) String() string {
1076
+ return protoimpl.X.MessageStringOf(x)
1077
+ }
1078
+
1079
+ func (*GetVerticalRequest) ProtoMessage() {}
1080
+
1081
+ func (x *GetVerticalRequest) ProtoReflect() protoreflect.Message {
1082
+ mi := &file_src_proto_products_v1_entities_taxonomy_proto_msgTypes[15]
1083
+ if x != nil {
1084
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1085
+ if ms.LoadMessageInfo() == nil {
1086
+ ms.StoreMessageInfo(mi)
1087
+ }
1088
+ return ms
1089
+ }
1090
+ return mi.MessageOf(x)
1091
+ }
1092
+
1093
+ // Deprecated: Use GetVerticalRequest.ProtoReflect.Descriptor instead.
1094
+ func (*GetVerticalRequest) Descriptor() ([]byte, []int) {
1095
+ return file_src_proto_products_v1_entities_taxonomy_proto_rawDescGZIP(), []int{15}
1096
+ }
1097
+
1098
+ func (x *GetVerticalRequest) GetVerticalName() string {
1099
+ if x != nil {
1100
+ return x.VerticalName
1101
+ }
1102
+ return ""
1103
+ }
1104
+
1105
+ func (x *GetVerticalRequest) GetLocale() Locale {
1106
+ if x != nil {
1107
+ return x.Locale
1108
+ }
1109
+ return Locale_LOCALE_UNSPECIFIED
1110
+ }
1111
+
1112
+ type GetVerticalResponse struct {
1113
+ state protoimpl.MessageState `protogen:"open.v1"`
1114
+ Vertical *Vertical `protobuf:"bytes,1,opt,name=vertical,proto3" json:"vertical,omitempty"`
1115
+ unknownFields protoimpl.UnknownFields
1116
+ sizeCache protoimpl.SizeCache
1117
+ }
1118
+
1119
+ func (x *GetVerticalResponse) Reset() {
1120
+ *x = GetVerticalResponse{}
1121
+ mi := &file_src_proto_products_v1_entities_taxonomy_proto_msgTypes[16]
1122
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1123
+ ms.StoreMessageInfo(mi)
1124
+ }
1125
+
1126
+ func (x *GetVerticalResponse) String() string {
1127
+ return protoimpl.X.MessageStringOf(x)
1128
+ }
1129
+
1130
+ func (*GetVerticalResponse) ProtoMessage() {}
1131
+
1132
+ func (x *GetVerticalResponse) ProtoReflect() protoreflect.Message {
1133
+ mi := &file_src_proto_products_v1_entities_taxonomy_proto_msgTypes[16]
1134
+ if x != nil {
1135
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1136
+ if ms.LoadMessageInfo() == nil {
1137
+ ms.StoreMessageInfo(mi)
1138
+ }
1139
+ return ms
1140
+ }
1141
+ return mi.MessageOf(x)
1142
+ }
1143
+
1144
+ // Deprecated: Use GetVerticalResponse.ProtoReflect.Descriptor instead.
1145
+ func (*GetVerticalResponse) Descriptor() ([]byte, []int) {
1146
+ return file_src_proto_products_v1_entities_taxonomy_proto_rawDescGZIP(), []int{16}
1147
+ }
1148
+
1149
+ func (x *GetVerticalResponse) GetVertical() *Vertical {
1150
+ if x != nil {
1151
+ return x.Vertical
1152
+ }
1153
+ return nil
1154
+ }
1155
+
1156
+ var File_src_proto_products_v1_entities_taxonomy_proto protoreflect.FileDescriptor
1157
+
1158
+ const file_src_proto_products_v1_entities_taxonomy_proto_rawDesc = "" +
1159
+ "\n" +
1160
+ "-src/proto/products/v1/entities/taxonomy.proto\x1a\x1bbuf/validate/validate.proto\"6\n" +
1161
+ "\bVertical\x12\x12\n" +
1162
+ "\x04name\x18\x01 \x01(\tR\x04name\x12\x16\n" +
1163
+ "\x06prefix\x18\x02 \x01(\tR\x06prefix\"\xfd\x01\n" +
1164
+ "\bCategory\x12\x0e\n" +
1165
+ "\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n" +
1166
+ "\x04name\x18\x02 \x01(\tR\x04name\x12\x1b\n" +
1167
+ "\tfull_name\x18\x03 \x01(\tR\bfullName\x12\x1b\n" +
1168
+ "\tparent_id\x18\x04 \x01(\tR\bparentId\x12\x14\n" +
1169
+ "\x05level\x18\x05 \x01(\rR\x05level\x12#\n" +
1170
+ "\rvertical_name\x18\x06 \x01(\tR\fverticalName\x12\x1e\n" +
1171
+ "\n" +
1172
+ "attributes\x18\a \x03(\tR\n" +
1173
+ "attributes\x12\x1a\n" +
1174
+ "\bchildren\x18\b \x03(\tR\bchildren\x12\x1c\n" +
1175
+ "\tancestors\x18\t \x03(\tR\tancestors\"L\n" +
1176
+ "\x0eAttributeValue\x12\x0e\n" +
1177
+ "\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n" +
1178
+ "\x04name\x18\x02 \x01(\tR\x04name\x12\x16\n" +
1179
+ "\x06handle\x18\x03 \x01(\tR\x06handle\"D\n" +
1180
+ "\x16ExtendedAttributeValue\x12\x12\n" +
1181
+ "\x04name\x18\x01 \x01(\tR\x04name\x12\x16\n" +
1182
+ "\x06handle\x18\x02 \x01(\tR\x06handle\"\xd4\x01\n" +
1183
+ "\tAttribute\x12\x0e\n" +
1184
+ "\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n" +
1185
+ "\x04name\x18\x02 \x01(\tR\x04name\x12\x16\n" +
1186
+ "\x06handle\x18\x03 \x01(\tR\x06handle\x12 \n" +
1187
+ "\vdescription\x18\x04 \x01(\tR\vdescription\x12'\n" +
1188
+ "\x06values\x18\x05 \x03(\v2\x0f.AttributeValueR\x06values\x12@\n" +
1189
+ "\x0fextended_values\x18\x06 \x03(\v2\x17.ExtendedAttributeValueR\x0eextendedValues\"\xc9\x02\n" +
1190
+ "\x16SearchVerticalsRequest\x12\x1f\n" +
1191
+ "\x05query\x18\x01 \x01(\tB\t\xbaH\x06r\x04\x10\x01\x18dR\x05query\x126\n" +
1192
+ "\vsearch_type\x18\x02 \x01(\x0e2\v.SearchTypeB\b\xbaH\x05\x82\x01\x02\x10\x01R\n" +
1193
+ "searchType\x12\x1e\n" +
1194
+ "\x04size\x18\x03 \x01(\rB\n" +
1195
+ "\xbaH\a*\x05\x18\xe8\a(\x01R\x04size\x12)\n" +
1196
+ "\x06locale\x18\x04 \x01(\x0e2\a.LocaleB\b\xbaH\x05\x82\x01\x02\x10\x01R\x06locale\x12K\n" +
1197
+ "\fextra_params\x18\x05 \x03(\v2(.SearchVerticalsRequest.ExtraParamsEntryR\vextraParams\x1a>\n" +
1198
+ "\x10ExtraParamsEntry\x12\x10\n" +
1199
+ "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
1200
+ "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"B\n" +
1201
+ "\x17SearchVerticalsResponse\x12'\n" +
1202
+ "\tverticals\x18\x01 \x03(\v2\t.VerticalR\tverticals\"\x96\x03\n" +
1203
+ "\x15SearchCategoryRequest\x12,\n" +
1204
+ "\rvertical_name\x18\x01 \x01(\tB\a\xbaH\x04r\x02\x10\x01R\fverticalName\x12\x1f\n" +
1205
+ "\x05level\x18\x02 \x01(\rB\t\xbaH\x06*\x04\x18\x05(\x01R\x05level\x12\x1f\n" +
1206
+ "\x05query\x18\x03 \x01(\tB\t\xbaH\x06r\x04\x10\x01\x18dR\x05query\x126\n" +
1207
+ "\vsearch_type\x18\x04 \x01(\x0e2\v.SearchTypeB\b\xbaH\x05\x82\x01\x02\x10\x01R\n" +
1208
+ "searchType\x12\x1e\n" +
1209
+ "\x04size\x18\x05 \x01(\rB\n" +
1210
+ "\xbaH\a*\x05\x18\xe8\a(\x01R\x04size\x12)\n" +
1211
+ "\x06locale\x18\x06 \x01(\x0e2\a.LocaleB\b\xbaH\x05\x82\x01\x02\x10\x01R\x06locale\x12J\n" +
1212
+ "\fextra_params\x18\a \x03(\v2'.SearchCategoryRequest.ExtraParamsEntryR\vextraParams\x1a>\n" +
1213
+ "\x10ExtraParamsEntry\x12\x10\n" +
1214
+ "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
1215
+ "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"C\n" +
1216
+ "\x16SearchCategoryResponse\x12)\n" +
1217
+ "\n" +
1218
+ "categories\x18\x01 \x03(\v2\t.CategoryR\n" +
1219
+ "categories\"i\n" +
1220
+ "\x12GetCategoryRequest\x12(\n" +
1221
+ "\vcategory_id\x18\x01 \x01(\tB\a\xbaH\x04r\x02\x10\x01R\n" +
1222
+ "categoryId\x12)\n" +
1223
+ "\x06locale\x18\x02 \x01(\x0e2\a.LocaleB\b\xbaH\x05\x82\x01\x02\x10\x01R\x06locale\"<\n" +
1224
+ "\x13GetCategoryResponse\x12%\n" +
1225
+ "\bcategory\x18\x01 \x01(\v2\t.CategoryR\bcategory\"\x93\x01\n" +
1226
+ "\x13GetAttributeRequest\x12*\n" +
1227
+ "\fattribute_id\x18\x01 \x01(\tB\a\xbaH\x04r\x02\x10\x01R\vattributeId\x12)\n" +
1228
+ "\x06locale\x18\x02 \x01(\x0e2\a.LocaleB\b\xbaH\x05\x82\x01\x02\x10\x01R\x06locale\x12%\n" +
1229
+ "\x0einclude_values\x18\x03 \x01(\bR\rincludeValues\"@\n" +
1230
+ "\x14GetAttributeResponse\x12(\n" +
1231
+ "\tattribute\x18\x01 \x01(\v2\n" +
1232
+ ".AttributeR\tattribute\"s\n" +
1233
+ "\x1cGetCategoryAttributesRequest\x12(\n" +
1234
+ "\vcategory_id\x18\x01 \x01(\tB\a\xbaH\x04r\x02\x10\x01R\n" +
1235
+ "categoryId\x12)\n" +
1236
+ "\x06locale\x18\x02 \x01(\x0e2\a.LocaleB\b\xbaH\x05\x82\x01\x02\x10\x01R\x06locale\"l\n" +
1237
+ "\x1dGetCategoryAttributesResponse\x12\x1f\n" +
1238
+ "\vcategory_id\x18\x01 \x01(\tR\n" +
1239
+ "categoryId\x12*\n" +
1240
+ "\n" +
1241
+ "attributes\x18\x02 \x03(\v2\n" +
1242
+ ".AttributeR\n" +
1243
+ "attributes\"m\n" +
1244
+ "\x12GetVerticalRequest\x12,\n" +
1245
+ "\rvertical_name\x18\x01 \x01(\tB\a\xbaH\x04r\x02\x10\x01R\fverticalName\x12)\n" +
1246
+ "\x06locale\x18\x02 \x01(\x0e2\a.LocaleB\b\xbaH\x05\x82\x01\x02\x10\x01R\x06locale\"<\n" +
1247
+ "\x13GetVerticalResponse\x12%\n" +
1248
+ "\bvertical\x18\x01 \x01(\v2\t.VerticalR\bvertical*\xb6\x01\n" +
1249
+ "\n" +
1250
+ "SearchType\x12\x1b\n" +
1251
+ "\x17SEARCH_TYPE_UNSPECIFIED\x10\x00\x12\x15\n" +
1252
+ "\x11SEARCH_TYPE_EXACT\x10\x01\x12\x15\n" +
1253
+ "\x11SEARCH_TYPE_FUZZY\x10\x02\x12\x16\n" +
1254
+ "\x12SEARCH_TYPE_PREFIX\x10\x03\x12\x18\n" +
1255
+ "\x14SEARCH_TYPE_WILDCARD\x10\x04\x12\x15\n" +
1256
+ "\x11SEARCH_TYPE_RANGE\x10\x05\x12\x14\n" +
1257
+ "\x10SEARCH_TYPE_TERM\x10\x06*k\n" +
1258
+ "\x06Locale\x12\x16\n" +
1259
+ "\x12LOCALE_UNSPECIFIED\x10\x00\x12\r\n" +
1260
+ "\tLOCALE_EN\x10\x01\x12\r\n" +
1261
+ "\tLOCALE_ES\x10\x02\x12\r\n" +
1262
+ "\tLOCALE_FR\x10\x03\x12\r\n" +
1263
+ "\tLOCALE_DE\x10\x04\x12\r\n" +
1264
+ "\tLOCALE_NL\x10\x05BLB\rTaxonomyProtoP\x01Z9paakd.com/packages/api/gen/src/proto/products/v1/entitiesb\x06proto3"
1265
+
1266
+ var (
1267
+ file_src_proto_products_v1_entities_taxonomy_proto_rawDescOnce sync.Once
1268
+ file_src_proto_products_v1_entities_taxonomy_proto_rawDescData []byte
1269
+ )
1270
+
1271
+ func file_src_proto_products_v1_entities_taxonomy_proto_rawDescGZIP() []byte {
1272
+ file_src_proto_products_v1_entities_taxonomy_proto_rawDescOnce.Do(func() {
1273
+ file_src_proto_products_v1_entities_taxonomy_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_src_proto_products_v1_entities_taxonomy_proto_rawDesc), len(file_src_proto_products_v1_entities_taxonomy_proto_rawDesc)))
1274
+ })
1275
+ return file_src_proto_products_v1_entities_taxonomy_proto_rawDescData
1276
+ }
1277
+
1278
+ var file_src_proto_products_v1_entities_taxonomy_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
1279
+ var file_src_proto_products_v1_entities_taxonomy_proto_msgTypes = make([]protoimpl.MessageInfo, 19)
1280
+ var file_src_proto_products_v1_entities_taxonomy_proto_goTypes = []any{
1281
+ (SearchType)(0), // 0: SearchType
1282
+ (Locale)(0), // 1: Locale
1283
+ (*Vertical)(nil), // 2: Vertical
1284
+ (*Category)(nil), // 3: Category
1285
+ (*AttributeValue)(nil), // 4: AttributeValue
1286
+ (*ExtendedAttributeValue)(nil), // 5: ExtendedAttributeValue
1287
+ (*Attribute)(nil), // 6: Attribute
1288
+ (*SearchVerticalsRequest)(nil), // 7: SearchVerticalsRequest
1289
+ (*SearchVerticalsResponse)(nil), // 8: SearchVerticalsResponse
1290
+ (*SearchCategoryRequest)(nil), // 9: SearchCategoryRequest
1291
+ (*SearchCategoryResponse)(nil), // 10: SearchCategoryResponse
1292
+ (*GetCategoryRequest)(nil), // 11: GetCategoryRequest
1293
+ (*GetCategoryResponse)(nil), // 12: GetCategoryResponse
1294
+ (*GetAttributeRequest)(nil), // 13: GetAttributeRequest
1295
+ (*GetAttributeResponse)(nil), // 14: GetAttributeResponse
1296
+ (*GetCategoryAttributesRequest)(nil), // 15: GetCategoryAttributesRequest
1297
+ (*GetCategoryAttributesResponse)(nil), // 16: GetCategoryAttributesResponse
1298
+ (*GetVerticalRequest)(nil), // 17: GetVerticalRequest
1299
+ (*GetVerticalResponse)(nil), // 18: GetVerticalResponse
1300
+ nil, // 19: SearchVerticalsRequest.ExtraParamsEntry
1301
+ nil, // 20: SearchCategoryRequest.ExtraParamsEntry
1302
+ }
1303
+ var file_src_proto_products_v1_entities_taxonomy_proto_depIdxs = []int32{
1304
+ 4, // 0: Attribute.values:type_name -> AttributeValue
1305
+ 5, // 1: Attribute.extended_values:type_name -> ExtendedAttributeValue
1306
+ 0, // 2: SearchVerticalsRequest.search_type:type_name -> SearchType
1307
+ 1, // 3: SearchVerticalsRequest.locale:type_name -> Locale
1308
+ 19, // 4: SearchVerticalsRequest.extra_params:type_name -> SearchVerticalsRequest.ExtraParamsEntry
1309
+ 2, // 5: SearchVerticalsResponse.verticals:type_name -> Vertical
1310
+ 0, // 6: SearchCategoryRequest.search_type:type_name -> SearchType
1311
+ 1, // 7: SearchCategoryRequest.locale:type_name -> Locale
1312
+ 20, // 8: SearchCategoryRequest.extra_params:type_name -> SearchCategoryRequest.ExtraParamsEntry
1313
+ 3, // 9: SearchCategoryResponse.categories:type_name -> Category
1314
+ 1, // 10: GetCategoryRequest.locale:type_name -> Locale
1315
+ 3, // 11: GetCategoryResponse.category:type_name -> Category
1316
+ 1, // 12: GetAttributeRequest.locale:type_name -> Locale
1317
+ 6, // 13: GetAttributeResponse.attribute:type_name -> Attribute
1318
+ 1, // 14: GetCategoryAttributesRequest.locale:type_name -> Locale
1319
+ 6, // 15: GetCategoryAttributesResponse.attributes:type_name -> Attribute
1320
+ 1, // 16: GetVerticalRequest.locale:type_name -> Locale
1321
+ 2, // 17: GetVerticalResponse.vertical:type_name -> Vertical
1322
+ 18, // [18:18] is the sub-list for method output_type
1323
+ 18, // [18:18] is the sub-list for method input_type
1324
+ 18, // [18:18] is the sub-list for extension type_name
1325
+ 18, // [18:18] is the sub-list for extension extendee
1326
+ 0, // [0:18] is the sub-list for field type_name
1327
+ }
1328
+
1329
+ func init() { file_src_proto_products_v1_entities_taxonomy_proto_init() }
1330
+ func file_src_proto_products_v1_entities_taxonomy_proto_init() {
1331
+ if File_src_proto_products_v1_entities_taxonomy_proto != nil {
1332
+ return
1333
+ }
1334
+ type x struct{}
1335
+ out := protoimpl.TypeBuilder{
1336
+ File: protoimpl.DescBuilder{
1337
+ GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1338
+ RawDescriptor: unsafe.Slice(unsafe.StringData(file_src_proto_products_v1_entities_taxonomy_proto_rawDesc), len(file_src_proto_products_v1_entities_taxonomy_proto_rawDesc)),
1339
+ NumEnums: 2,
1340
+ NumMessages: 19,
1341
+ NumExtensions: 0,
1342
+ NumServices: 0,
1343
+ },
1344
+ GoTypes: file_src_proto_products_v1_entities_taxonomy_proto_goTypes,
1345
+ DependencyIndexes: file_src_proto_products_v1_entities_taxonomy_proto_depIdxs,
1346
+ EnumInfos: file_src_proto_products_v1_entities_taxonomy_proto_enumTypes,
1347
+ MessageInfos: file_src_proto_products_v1_entities_taxonomy_proto_msgTypes,
1348
+ }.Build()
1349
+ File_src_proto_products_v1_entities_taxonomy_proto = out.File
1350
+ file_src_proto_products_v1_entities_taxonomy_proto_goTypes = nil
1351
+ file_src_proto_products_v1_entities_taxonomy_proto_depIdxs = nil
1352
+ }