@paakd/api 0.0.3 → 0.0.5

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 (124) hide show
  1. package/dist/gen/src/proto/files/v1/entities/file_pb.d.ts +199 -0
  2. package/dist/gen/src/proto/files/v1/entities/file_pb.d.ts.map +1 -0
  3. package/dist/gen/src/proto/files/v1/entities/file_pb.js +77 -0
  4. package/dist/gen/src/proto/files/v1/service_pb.d.ts +44 -0
  5. package/dist/gen/src/proto/files/v1/service_pb.d.ts.map +1 -0
  6. package/dist/gen/src/proto/files/v1/service_pb.js +18 -0
  7. package/dist/gen/src/proto/promotions/v1/entities/campaign_pb.d.ts +391 -0
  8. package/dist/gen/src/proto/promotions/v1/entities/campaign_pb.d.ts.map +1 -0
  9. package/dist/gen/src/proto/promotions/v1/entities/campaign_pb.js +140 -0
  10. package/dist/gen/src/proto/promotions/v1/service_pb.d.ts +68 -0
  11. package/dist/gen/src/proto/promotions/v1/service_pb.d.ts.map +1 -0
  12. package/dist/gen/src/proto/promotions/v1/service_pb.js +18 -0
  13. package/dist/gen/src/proto/stocknodes/v1/entities/stocknode_pb.d.ts +508 -0
  14. package/dist/gen/src/proto/stocknodes/v1/entities/stocknode_pb.d.ts.map +1 -0
  15. package/dist/gen/src/proto/stocknodes/v1/entities/stocknode_pb.js +150 -0
  16. package/dist/gen/src/proto/stocknodes/v1/service_pb.d.ts +68 -0
  17. package/dist/gen/src/proto/stocknodes/v1/service_pb.d.ts.map +1 -0
  18. package/dist/gen/src/proto/stocknodes/v1/service_pb.js +18 -0
  19. package/dist/src/index.d.ts +828 -5
  20. package/dist/src/index.d.ts.map +1 -1
  21. package/dist/src/index.js +48 -5
  22. package/dist/src/interceptors.d.ts +1 -1
  23. package/dist/src/interceptors.d.ts.map +1 -1
  24. package/dist/src/interceptors.js +2 -2
  25. package/package.json +8 -10
  26. package/buf/validate/validate_pb.ts +0 -5001
  27. package/dist/src/address.d.ts +0 -53
  28. package/dist/src/address.d.ts.map +0 -1
  29. package/dist/src/address.js +0 -233
  30. package/dist/src/address.spec.d.ts +0 -2
  31. package/dist/src/address.spec.d.ts.map +0 -1
  32. package/dist/src/address.spec.js +0 -488
  33. package/dist/src/auth.d.ts +0 -27
  34. package/dist/src/auth.d.ts.map +0 -1
  35. package/dist/src/auth.js +0 -155
  36. package/dist/src/auth.spec.d.ts +0 -2
  37. package/dist/src/auth.spec.d.ts.map +0 -1
  38. package/dist/src/auth.spec.js +0 -582
  39. package/dist/src/compressor/brotli.d.ts +0 -3
  40. package/dist/src/compressor/brotli.d.ts.map +0 -1
  41. package/dist/src/compressor/brotli.js +0 -30
  42. package/dist/src/policies.d.ts +0 -217
  43. package/dist/src/policies.d.ts.map +0 -1
  44. package/dist/src/policies.js +0 -322
  45. package/dist/src/policies.spec.d.ts +0 -2
  46. package/dist/src/policies.spec.d.ts.map +0 -1
  47. package/dist/src/policies.spec.js +0 -463
  48. package/dist/src/products.d.ts +0 -39
  49. package/dist/src/products.d.ts.map +0 -1
  50. package/dist/src/products.js +0 -95
  51. package/dist/src/products.spec.d.ts +0 -2
  52. package/dist/src/products.spec.d.ts.map +0 -1
  53. package/dist/src/products.spec.js +0 -519
  54. package/dist/src/profile.d.ts +0 -62
  55. package/dist/src/profile.d.ts.map +0 -1
  56. package/dist/src/profile.js +0 -151
  57. package/dist/src/profile.spec.d.ts +0 -2
  58. package/dist/src/profile.spec.d.ts.map +0 -1
  59. package/dist/src/profile.spec.js +0 -475
  60. package/dist/src/registration.d.ts +0 -60
  61. package/dist/src/registration.d.ts.map +0 -1
  62. package/dist/src/registration.js +0 -147
  63. package/dist/src/test-utils.d.ts +0 -87
  64. package/dist/src/test-utils.d.ts.map +0 -1
  65. package/dist/src/test-utils.js +0 -132
  66. package/gen/buf/validate/validate_pb.ts +0 -4799
  67. package/gen/src/proto/auth/v1/authv1connect/service.connect.go +0 -454
  68. package/gen/src/proto/auth/v1/entities/auth.pb.go +0 -818
  69. package/gen/src/proto/auth/v1/entities/auth_pb.ts +0 -348
  70. package/gen/src/proto/auth/v1/entities/policy.pb.go +0 -727
  71. package/gen/src/proto/auth/v1/entities/policy_pb.ts +0 -306
  72. package/gen/src/proto/auth/v1/service-AuthService_connectquery.ts +0 -70
  73. package/gen/src/proto/auth/v1/service.pb.go +0 -119
  74. package/gen/src/proto/auth/v1/service_pb.ts +0 -152
  75. package/gen/src/proto/customers/v1/customersv1connect/service.connect.go +0 -358
  76. package/gen/src/proto/customers/v1/entities/address.pb.go +0 -1073
  77. package/gen/src/proto/customers/v1/entities/address_pb.ts +0 -478
  78. package/gen/src/proto/customers/v1/entities/profile.pb.go +0 -633
  79. package/gen/src/proto/customers/v1/entities/profile_pb.ts +0 -252
  80. package/gen/src/proto/customers/v1/service-CustomerService_connectquery.ts +0 -50
  81. package/gen/src/proto/customers/v1/service.pb.go +0 -110
  82. package/gen/src/proto/customers/v1/service_pb.ts +0 -121
  83. package/gen/src/proto/files/v1/entities/file.pb.go +0 -669
  84. package/gen/src/proto/files/v1/entities/file_pb.ts +0 -265
  85. package/gen/src/proto/files/v1/filesv1connect/service.connect.go +0 -200
  86. package/gen/src/proto/files/v1/service-FileService_connectquery.ts +0 -25
  87. package/gen/src/proto/files/v1/service.pb.go +0 -85
  88. package/gen/src/proto/files/v1/service_pb.ts +0 -65
  89. package/gen/src/proto/products/v1/entities/category.pb.go +0 -744
  90. package/gen/src/proto/products/v1/entities/category_pb.ts +0 -318
  91. package/gen/src/proto/products/v1/entities/collection.pb.go +0 -528
  92. package/gen/src/proto/products/v1/entities/collection_pb.ts +0 -214
  93. package/gen/src/proto/products/v1/entities/product/create.pb.go +0 -453
  94. package/gen/src/proto/products/v1/entities/product/create_pb.ts +0 -199
  95. package/gen/src/proto/products/v1/entities/product/option.pb.go +0 -206
  96. package/gen/src/proto/products/v1/entities/product/option_pb.ts +0 -74
  97. package/gen/src/proto/products/v1/entities/product/shared.pb.go +0 -2890
  98. package/gen/src/proto/products/v1/entities/product/shared_pb.ts +0 -1317
  99. package/gen/src/proto/products/v1/entities/product/update.pb.go +0 -794
  100. package/gen/src/proto/products/v1/entities/product/update_pb.ts +0 -325
  101. package/gen/src/proto/products/v1/entities/tag.pb.go +0 -610
  102. package/gen/src/proto/products/v1/entities/tag_pb.ts +0 -233
  103. package/gen/src/proto/products/v1/entities/taxonomy.pb.go +0 -1352
  104. package/gen/src/proto/products/v1/entities/taxonomy_pb.ts +0 -606
  105. package/gen/src/proto/products/v1/entities/type.pb.go +0 -553
  106. package/gen/src/proto/products/v1/entities/type_pb.ts +0 -215
  107. package/gen/src/proto/products/v1/entities/variant.pb.go +0 -1474
  108. package/gen/src/proto/products/v1/entities/variant_pb.ts +0 -629
  109. package/gen/src/proto/products/v1/productsv1connect/service.connect.go +0 -1195
  110. package/gen/src/proto/products/v1/service-ProductsService_connectquery.ts +0 -199
  111. package/gen/src/proto/products/v1/service.pb.go +0 -250
  112. package/gen/src/proto/products/v1/service_pb.ts +0 -429
  113. package/gen/src/proto/promotions/v1/entities/campaign.pb.go +0 -1229
  114. package/gen/src/proto/promotions/v1/entities/campaign_pb.ts +0 -511
  115. package/gen/src/proto/promotions/v1/promotionsv1connect/service.connect.go +0 -289
  116. package/gen/src/proto/promotions/v1/service-CampaignService_connectquery.ts +0 -42
  117. package/gen/src/proto/promotions/v1/service.pb.go +0 -98
  118. package/gen/src/proto/promotions/v1/service_pb.ts +0 -95
  119. package/gen/src/proto/stocknodes/v1/entities/stocknode.pb.go +0 -1499
  120. package/gen/src/proto/stocknodes/v1/entities/stocknode_pb.ts +0 -655
  121. package/gen/src/proto/stocknodes/v1/service-StockNodesService_connectquery.ts +0 -41
  122. package/gen/src/proto/stocknodes/v1/service.pb.go +0 -98
  123. package/gen/src/proto/stocknodes/v1/service_pb.ts +0 -95
  124. package/gen/src/proto/stocknodes/v1/stocknodesv1connect/service.connect.go +0 -297
@@ -1,606 +0,0 @@
1
- // @generated by protoc-gen-es v2.10.1 with parameter "target=ts"
2
- // @generated from file src/proto/products/v1/entities/taxonomy.proto (syntax proto3)
3
- /* eslint-disable */
4
-
5
- import type { GenEnum, GenFile, GenMessage } from '@bufbuild/protobuf/codegenv2'
6
- import { enumDesc, fileDesc, messageDesc } from '@bufbuild/protobuf/codegenv2'
7
- import { file_buf_validate_validate } from '../../../../../buf/validate/validate_pb'
8
- import type { Message } from '@bufbuild/protobuf'
9
-
10
- /**
11
- * Describes the file src/proto/products/v1/entities/taxonomy.proto.
12
- */
13
- export const file_src_proto_products_v1_entities_taxonomy: GenFile =
14
- /*@__PURE__*/
15
- fileDesc(
16
- 'Ci1zcmMvcHJvdG8vcHJvZHVjdHMvdjEvZW50aXRpZXMvdGF4b25vbXkucHJvdG8iKAoIVmVydGljYWwSDAoEbmFtZRgBIAEoCRIOCgZwcmVmaXgYAiABKAkiqQEKCENhdGVnb3J5EgoKAmlkGAEgASgJEgwKBG5hbWUYAiABKAkSEQoJZnVsbF9uYW1lGAMgASgJEhEKCXBhcmVudF9pZBgEIAEoCRINCgVsZXZlbBgFIAEoDRIVCg12ZXJ0aWNhbF9uYW1lGAYgASgJEhIKCmF0dHJpYnV0ZXMYByADKAkSEAoIY2hpbGRyZW4YCCADKAkSEQoJYW5jZXN0b3JzGAkgAygJIjoKDkF0dHJpYnV0ZVZhbHVlEgoKAmlkGAEgASgJEgwKBG5hbWUYAiABKAkSDgoGaGFuZGxlGAMgASgJIjYKFkV4dGVuZGVkQXR0cmlidXRlVmFsdWUSDAoEbmFtZRgBIAEoCRIOCgZoYW5kbGUYAiABKAkinQEKCUF0dHJpYnV0ZRIKCgJpZBgBIAEoCRIMCgRuYW1lGAIgASgJEg4KBmhhbmRsZRgDIAEoCRITCgtkZXNjcmlwdGlvbhgEIAEoCRIfCgZ2YWx1ZXMYBSADKAsyDy5BdHRyaWJ1dGVWYWx1ZRIwCg9leHRlbmRlZF92YWx1ZXMYBiADKAsyFy5FeHRlbmRlZEF0dHJpYnV0ZVZhbHVlIo8CChZTZWFyY2hWZXJ0aW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DQUxFX0ZSEAMSDQoJTE9DQUxFX0RFEAQSDQoJTE9DQUxFX05MEAVCTEINVGF4b25vbXlQcm90b1ABWjlwYWFrZC5jb20vcGFja2FnZXMvYXBpL2dlbi9zcmMvcHJvdG8vcHJvZHVjdHMvdjEvZW50aXRpZXNiBnByb3RvMw',
17
- [file_buf_validate_validate]
18
- )
19
-
20
- /**
21
- * @generated from message Vertical
22
- */
23
- export type Vertical = Message<'Vertical'> & {
24
- /**
25
- * @generated from field: string name = 1;
26
- */
27
- name: string
28
-
29
- /**
30
- * @generated from field: string prefix = 2;
31
- */
32
- prefix: string
33
- }
34
-
35
- /**
36
- * Describes the message Vertical.
37
- * Use `create(VerticalSchema)` to create a new message.
38
- */
39
- export const VerticalSchema: GenMessage<Vertical> =
40
- /*@__PURE__*/
41
- messageDesc(file_src_proto_products_v1_entities_taxonomy, 0)
42
-
43
- /**
44
- * @generated from message Category
45
- */
46
- export type Category = Message<'Category'> & {
47
- /**
48
- * @generated from field: string id = 1;
49
- */
50
- id: string
51
-
52
- /**
53
- * @generated from field: string name = 2;
54
- */
55
- name: string
56
-
57
- /**
58
- * @generated from field: string full_name = 3;
59
- */
60
- fullName: string
61
-
62
- /**
63
- * @generated from field: string parent_id = 4;
64
- */
65
- parentId: string
66
-
67
- /**
68
- * @generated from field: uint32 level = 5;
69
- */
70
- level: number
71
-
72
- /**
73
- * @generated from field: string vertical_name = 6;
74
- */
75
- verticalName: string
76
-
77
- /**
78
- * @generated from field: repeated string attributes = 7;
79
- */
80
- attributes: string[]
81
-
82
- /**
83
- * @generated from field: repeated string children = 8;
84
- */
85
- children: string[]
86
-
87
- /**
88
- * @generated from field: repeated string ancestors = 9;
89
- */
90
- ancestors: string[]
91
- }
92
-
93
- /**
94
- * Describes the message Category.
95
- * Use `create(CategorySchema)` to create a new message.
96
- */
97
- export const CategorySchema: GenMessage<Category> =
98
- /*@__PURE__*/
99
- messageDesc(file_src_proto_products_v1_entities_taxonomy, 1)
100
-
101
- /**
102
- * @generated from message AttributeValue
103
- */
104
- export type AttributeValue = Message<'AttributeValue'> & {
105
- /**
106
- * @generated from field: string id = 1;
107
- */
108
- id: string
109
-
110
- /**
111
- * @generated from field: string name = 2;
112
- */
113
- name: string
114
-
115
- /**
116
- * @generated from field: string handle = 3;
117
- */
118
- handle: string
119
- }
120
-
121
- /**
122
- * Describes the message AttributeValue.
123
- * Use `create(AttributeValueSchema)` to create a new message.
124
- */
125
- export const AttributeValueSchema: GenMessage<AttributeValue> =
126
- /*@__PURE__*/
127
- messageDesc(file_src_proto_products_v1_entities_taxonomy, 2)
128
-
129
- /**
130
- * @generated from message ExtendedAttributeValue
131
- */
132
- export type ExtendedAttributeValue = Message<'ExtendedAttributeValue'> & {
133
- /**
134
- * @generated from field: string name = 1;
135
- */
136
- name: string
137
-
138
- /**
139
- * @generated from field: string handle = 2;
140
- */
141
- handle: string
142
- }
143
-
144
- /**
145
- * Describes the message ExtendedAttributeValue.
146
- * Use `create(ExtendedAttributeValueSchema)` to create a new message.
147
- */
148
- export const ExtendedAttributeValueSchema: GenMessage<ExtendedAttributeValue> =
149
- /*@__PURE__*/
150
- messageDesc(file_src_proto_products_v1_entities_taxonomy, 3)
151
-
152
- /**
153
- * @generated from message Attribute
154
- */
155
- export type Attribute = Message<'Attribute'> & {
156
- /**
157
- * @generated from field: string id = 1;
158
- */
159
- id: string
160
-
161
- /**
162
- * @generated from field: string name = 2;
163
- */
164
- name: string
165
-
166
- /**
167
- * @generated from field: string handle = 3;
168
- */
169
- handle: string
170
-
171
- /**
172
- * @generated from field: string description = 4;
173
- */
174
- description: string
175
-
176
- /**
177
- * @generated from field: repeated AttributeValue values = 5;
178
- */
179
- values: AttributeValue[]
180
-
181
- /**
182
- * @generated from field: repeated ExtendedAttributeValue extended_values = 6;
183
- */
184
- extendedValues: ExtendedAttributeValue[]
185
- }
186
-
187
- /**
188
- * Describes the message Attribute.
189
- * Use `create(AttributeSchema)` to create a new message.
190
- */
191
- export const AttributeSchema: GenMessage<Attribute> =
192
- /*@__PURE__*/
193
- messageDesc(file_src_proto_products_v1_entities_taxonomy, 4)
194
-
195
- /**
196
- * @generated from message SearchVerticalsRequest
197
- */
198
- export type SearchVerticalsRequest = Message<'SearchVerticalsRequest'> & {
199
- /**
200
- * @generated from field: string query = 1;
201
- */
202
- query: string
203
-
204
- /**
205
- * @generated from field: SearchType search_type = 2;
206
- */
207
- searchType: SearchType
208
-
209
- /**
210
- * @generated from field: uint32 size = 3;
211
- */
212
- size: number
213
-
214
- /**
215
- * @generated from field: Locale locale = 4;
216
- */
217
- locale: Locale
218
-
219
- /**
220
- * @generated from field: map<string, string> extra_params = 5;
221
- */
222
- extraParams: { [key: string]: string }
223
- }
224
-
225
- /**
226
- * Describes the message SearchVerticalsRequest.
227
- * Use `create(SearchVerticalsRequestSchema)` to create a new message.
228
- */
229
- export const SearchVerticalsRequestSchema: GenMessage<SearchVerticalsRequest> =
230
- /*@__PURE__*/
231
- messageDesc(file_src_proto_products_v1_entities_taxonomy, 5)
232
-
233
- /**
234
- * @generated from message SearchVerticalsResponse
235
- */
236
- export type SearchVerticalsResponse = Message<'SearchVerticalsResponse'> & {
237
- /**
238
- * @generated from field: repeated Vertical verticals = 1;
239
- */
240
- verticals: Vertical[]
241
- }
242
-
243
- /**
244
- * Describes the message SearchVerticalsResponse.
245
- * Use `create(SearchVerticalsResponseSchema)` to create a new message.
246
- */
247
- export const SearchVerticalsResponseSchema: GenMessage<SearchVerticalsResponse> =
248
- /*@__PURE__*/
249
- messageDesc(file_src_proto_products_v1_entities_taxonomy, 6)
250
-
251
- /**
252
- * @generated from message SearchCategoryRequest
253
- */
254
- export type SearchCategoryRequest = Message<'SearchCategoryRequest'> & {
255
- /**
256
- * @generated from field: string vertical_name = 1;
257
- */
258
- verticalName: string
259
-
260
- /**
261
- * @generated from field: uint32 level = 2;
262
- */
263
- level: number
264
-
265
- /**
266
- * @generated from field: string query = 3;
267
- */
268
- query: string
269
-
270
- /**
271
- * @generated from field: SearchType search_type = 4;
272
- */
273
- searchType: SearchType
274
-
275
- /**
276
- * @generated from field: uint32 size = 5;
277
- */
278
- size: number
279
-
280
- /**
281
- * @generated from field: Locale locale = 6;
282
- */
283
- locale: Locale
284
-
285
- /**
286
- * @generated from field: map<string, string> extra_params = 7;
287
- */
288
- extraParams: { [key: string]: string }
289
- }
290
-
291
- /**
292
- * Describes the message SearchCategoryRequest.
293
- * Use `create(SearchCategoryRequestSchema)` to create a new message.
294
- */
295
- export const SearchCategoryRequestSchema: GenMessage<SearchCategoryRequest> =
296
- /*@__PURE__*/
297
- messageDesc(file_src_proto_products_v1_entities_taxonomy, 7)
298
-
299
- /**
300
- * @generated from message SearchCategoryResponse
301
- */
302
- export type SearchCategoryResponse = Message<'SearchCategoryResponse'> & {
303
- /**
304
- * @generated from field: repeated Category categories = 1;
305
- */
306
- categories: Category[]
307
- }
308
-
309
- /**
310
- * Describes the message SearchCategoryResponse.
311
- * Use `create(SearchCategoryResponseSchema)` to create a new message.
312
- */
313
- export const SearchCategoryResponseSchema: GenMessage<SearchCategoryResponse> =
314
- /*@__PURE__*/
315
- messageDesc(file_src_proto_products_v1_entities_taxonomy, 8)
316
-
317
- /**
318
- * @generated from message GetCategoryRequest
319
- */
320
- export type GetCategoryRequest = Message<'GetCategoryRequest'> & {
321
- /**
322
- * @generated from field: string category_id = 1;
323
- */
324
- categoryId: string
325
-
326
- /**
327
- * @generated from field: Locale locale = 2;
328
- */
329
- locale: Locale
330
- }
331
-
332
- /**
333
- * Describes the message GetCategoryRequest.
334
- * Use `create(GetCategoryRequestSchema)` to create a new message.
335
- */
336
- export const GetCategoryRequestSchema: GenMessage<GetCategoryRequest> =
337
- /*@__PURE__*/
338
- messageDesc(file_src_proto_products_v1_entities_taxonomy, 9)
339
-
340
- /**
341
- * @generated from message GetCategoryResponse
342
- */
343
- export type GetCategoryResponse = Message<'GetCategoryResponse'> & {
344
- /**
345
- * @generated from field: Category category = 1;
346
- */
347
- category?: Category
348
- }
349
-
350
- /**
351
- * Describes the message GetCategoryResponse.
352
- * Use `create(GetCategoryResponseSchema)` to create a new message.
353
- */
354
- export const GetCategoryResponseSchema: GenMessage<GetCategoryResponse> =
355
- /*@__PURE__*/
356
- messageDesc(file_src_proto_products_v1_entities_taxonomy, 10)
357
-
358
- /**
359
- * @generated from message GetAttributeRequest
360
- */
361
- export type GetAttributeRequest = Message<'GetAttributeRequest'> & {
362
- /**
363
- * @generated from field: string attribute_id = 1;
364
- */
365
- attributeId: string
366
-
367
- /**
368
- * @generated from field: Locale locale = 2;
369
- */
370
- locale: Locale
371
-
372
- /**
373
- * @generated from field: bool include_values = 3;
374
- */
375
- includeValues: boolean
376
- }
377
-
378
- /**
379
- * Describes the message GetAttributeRequest.
380
- * Use `create(GetAttributeRequestSchema)` to create a new message.
381
- */
382
- export const GetAttributeRequestSchema: GenMessage<GetAttributeRequest> =
383
- /*@__PURE__*/
384
- messageDesc(file_src_proto_products_v1_entities_taxonomy, 11)
385
-
386
- /**
387
- * @generated from message GetAttributeResponse
388
- */
389
- export type GetAttributeResponse = Message<'GetAttributeResponse'> & {
390
- /**
391
- * @generated from field: Attribute attribute = 1;
392
- */
393
- attribute?: Attribute
394
- }
395
-
396
- /**
397
- * Describes the message GetAttributeResponse.
398
- * Use `create(GetAttributeResponseSchema)` to create a new message.
399
- */
400
- export const GetAttributeResponseSchema: GenMessage<GetAttributeResponse> =
401
- /*@__PURE__*/
402
- messageDesc(file_src_proto_products_v1_entities_taxonomy, 12)
403
-
404
- /**
405
- * @generated from message GetCategoryAttributesRequest
406
- */
407
- export type GetCategoryAttributesRequest =
408
- Message<'GetCategoryAttributesRequest'> & {
409
- /**
410
- * @generated from field: string category_id = 1;
411
- */
412
- categoryId: string
413
-
414
- /**
415
- * @generated from field: Locale locale = 2;
416
- */
417
- locale: Locale
418
- }
419
-
420
- /**
421
- * Describes the message GetCategoryAttributesRequest.
422
- * Use `create(GetCategoryAttributesRequestSchema)` to create a new message.
423
- */
424
- export const GetCategoryAttributesRequestSchema: GenMessage<GetCategoryAttributesRequest> =
425
- /*@__PURE__*/
426
- messageDesc(file_src_proto_products_v1_entities_taxonomy, 13)
427
-
428
- /**
429
- * @generated from message GetCategoryAttributesResponse
430
- */
431
- export type GetCategoryAttributesResponse =
432
- Message<'GetCategoryAttributesResponse'> & {
433
- /**
434
- * @generated from field: string category_id = 1;
435
- */
436
- categoryId: string
437
-
438
- /**
439
- * @generated from field: repeated Attribute attributes = 2;
440
- */
441
- attributes: Attribute[]
442
- }
443
-
444
- /**
445
- * Describes the message GetCategoryAttributesResponse.
446
- * Use `create(GetCategoryAttributesResponseSchema)` to create a new message.
447
- */
448
- export const GetCategoryAttributesResponseSchema: GenMessage<GetCategoryAttributesResponse> =
449
- /*@__PURE__*/
450
- messageDesc(file_src_proto_products_v1_entities_taxonomy, 14)
451
-
452
- /**
453
- * @generated from message GetVerticalRequest
454
- */
455
- export type GetVerticalRequest = Message<'GetVerticalRequest'> & {
456
- /**
457
- * @generated from field: string vertical_name = 1;
458
- */
459
- verticalName: string
460
-
461
- /**
462
- * @generated from field: Locale locale = 2;
463
- */
464
- locale: Locale
465
- }
466
-
467
- /**
468
- * Describes the message GetVerticalRequest.
469
- * Use `create(GetVerticalRequestSchema)` to create a new message.
470
- */
471
- export const GetVerticalRequestSchema: GenMessage<GetVerticalRequest> =
472
- /*@__PURE__*/
473
- messageDesc(file_src_proto_products_v1_entities_taxonomy, 15)
474
-
475
- /**
476
- * @generated from message GetVerticalResponse
477
- */
478
- export type GetVerticalResponse = Message<'GetVerticalResponse'> & {
479
- /**
480
- * @generated from field: Vertical vertical = 1;
481
- */
482
- vertical?: Vertical
483
- }
484
-
485
- /**
486
- * Describes the message GetVerticalResponse.
487
- * Use `create(GetVerticalResponseSchema)` to create a new message.
488
- */
489
- export const GetVerticalResponseSchema: GenMessage<GetVerticalResponse> =
490
- /*@__PURE__*/
491
- messageDesc(file_src_proto_products_v1_entities_taxonomy, 16)
492
-
493
- /**
494
- * @generated from enum SearchType
495
- */
496
- export enum SearchType {
497
- /**
498
- * Default value, not specified
499
- *
500
- * @generated from enum value: SEARCH_TYPE_UNSPECIFIED = 0;
501
- */
502
- UNSPECIFIED = 0,
503
-
504
- /**
505
- * Exact match search
506
- *
507
- * @generated from enum value: SEARCH_TYPE_EXACT = 1;
508
- */
509
- EXACT = 1,
510
-
511
- /**
512
- * Fuzzy match search
513
- *
514
- * @generated from enum value: SEARCH_TYPE_FUZZY = 2;
515
- */
516
- FUZZY = 2,
517
-
518
- /**
519
- * Prefix match search
520
- *
521
- * @generated from enum value: SEARCH_TYPE_PREFIX = 3;
522
- */
523
- PREFIX = 3,
524
-
525
- /**
526
- * Wildcard match search
527
- *
528
- * @generated from enum value: SEARCH_TYPE_WILDCARD = 4;
529
- */
530
- WILDCARD = 4,
531
-
532
- /**
533
- * Range search
534
- *
535
- * @generated from enum value: SEARCH_TYPE_RANGE = 5;
536
- */
537
- RANGE = 5,
538
-
539
- /**
540
- * Term search
541
- *
542
- * @generated from enum value: SEARCH_TYPE_TERM = 6;
543
- */
544
- TERM = 6,
545
- }
546
-
547
- /**
548
- * Describes the enum SearchType.
549
- */
550
- export const SearchTypeSchema: GenEnum<SearchType> =
551
- /*@__PURE__*/
552
- enumDesc(file_src_proto_products_v1_entities_taxonomy, 0)
553
-
554
- /**
555
- * @generated from enum Locale
556
- */
557
- export enum Locale {
558
- /**
559
- * Default value, not specified
560
- *
561
- * @generated from enum value: LOCALE_UNSPECIFIED = 0;
562
- */
563
- UNSPECIFIED = 0,
564
-
565
- /**
566
- * English
567
- *
568
- * @generated from enum value: LOCALE_EN = 1;
569
- */
570
- EN = 1,
571
-
572
- /**
573
- * Spanish
574
- *
575
- * @generated from enum value: LOCALE_ES = 2;
576
- */
577
- ES = 2,
578
-
579
- /**
580
- * French
581
- *
582
- * @generated from enum value: LOCALE_FR = 3;
583
- */
584
- FR = 3,
585
-
586
- /**
587
- * German
588
- *
589
- * @generated from enum value: LOCALE_DE = 4;
590
- */
591
- DE = 4,
592
-
593
- /**
594
- * Dutch
595
- *
596
- * @generated from enum value: LOCALE_NL = 5;
597
- */
598
- NL = 5,
599
- }
600
-
601
- /**
602
- * Describes the enum Locale.
603
- */
604
- export const LocaleSchema: GenEnum<Locale> =
605
- /*@__PURE__*/
606
- enumDesc(file_src_proto_products_v1_entities_taxonomy, 1)