@paakd/api 0.0.2 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. package/package.json +11 -9
  2. package/buf/validate/validate_pb.ts +0 -5001
  3. package/gen/buf/validate/validate_pb.ts +0 -4799
  4. package/gen/src/proto/auth/v1/authv1connect/service.connect.go +0 -454
  5. package/gen/src/proto/auth/v1/entities/auth.pb.go +0 -818
  6. package/gen/src/proto/auth/v1/entities/auth_pb.ts +0 -348
  7. package/gen/src/proto/auth/v1/entities/policy.pb.go +0 -727
  8. package/gen/src/proto/auth/v1/entities/policy_pb.ts +0 -306
  9. package/gen/src/proto/auth/v1/service-AuthService_connectquery.ts +0 -70
  10. package/gen/src/proto/auth/v1/service.pb.go +0 -119
  11. package/gen/src/proto/auth/v1/service_pb.ts +0 -152
  12. package/gen/src/proto/customers/v1/customersv1connect/service.connect.go +0 -358
  13. package/gen/src/proto/customers/v1/entities/address.pb.go +0 -1073
  14. package/gen/src/proto/customers/v1/entities/address_pb.ts +0 -478
  15. package/gen/src/proto/customers/v1/entities/profile.pb.go +0 -633
  16. package/gen/src/proto/customers/v1/entities/profile_pb.ts +0 -252
  17. package/gen/src/proto/customers/v1/service-CustomerService_connectquery.ts +0 -50
  18. package/gen/src/proto/customers/v1/service.pb.go +0 -110
  19. package/gen/src/proto/customers/v1/service_pb.ts +0 -121
  20. package/gen/src/proto/files/v1/entities/file.pb.go +0 -669
  21. package/gen/src/proto/files/v1/entities/file_pb.ts +0 -265
  22. package/gen/src/proto/files/v1/filesv1connect/service.connect.go +0 -200
  23. package/gen/src/proto/files/v1/service-FileService_connectquery.ts +0 -25
  24. package/gen/src/proto/files/v1/service.pb.go +0 -85
  25. package/gen/src/proto/files/v1/service_pb.ts +0 -65
  26. package/gen/src/proto/products/v1/entities/category.pb.go +0 -744
  27. package/gen/src/proto/products/v1/entities/category_pb.ts +0 -318
  28. package/gen/src/proto/products/v1/entities/collection.pb.go +0 -528
  29. package/gen/src/proto/products/v1/entities/collection_pb.ts +0 -214
  30. package/gen/src/proto/products/v1/entities/product/create.pb.go +0 -453
  31. package/gen/src/proto/products/v1/entities/product/create_pb.ts +0 -199
  32. package/gen/src/proto/products/v1/entities/product/option.pb.go +0 -206
  33. package/gen/src/proto/products/v1/entities/product/option_pb.ts +0 -74
  34. package/gen/src/proto/products/v1/entities/product/shared.pb.go +0 -2890
  35. package/gen/src/proto/products/v1/entities/product/shared_pb.ts +0 -1317
  36. package/gen/src/proto/products/v1/entities/product/update.pb.go +0 -794
  37. package/gen/src/proto/products/v1/entities/product/update_pb.ts +0 -325
  38. package/gen/src/proto/products/v1/entities/tag.pb.go +0 -610
  39. package/gen/src/proto/products/v1/entities/tag_pb.ts +0 -233
  40. package/gen/src/proto/products/v1/entities/taxonomy.pb.go +0 -1352
  41. package/gen/src/proto/products/v1/entities/taxonomy_pb.ts +0 -606
  42. package/gen/src/proto/products/v1/entities/type.pb.go +0 -553
  43. package/gen/src/proto/products/v1/entities/type_pb.ts +0 -215
  44. package/gen/src/proto/products/v1/entities/variant.pb.go +0 -1474
  45. package/gen/src/proto/products/v1/entities/variant_pb.ts +0 -629
  46. package/gen/src/proto/products/v1/productsv1connect/service.connect.go +0 -1195
  47. package/gen/src/proto/products/v1/service-ProductsService_connectquery.ts +0 -199
  48. package/gen/src/proto/products/v1/service.pb.go +0 -250
  49. package/gen/src/proto/products/v1/service_pb.ts +0 -429
  50. package/gen/src/proto/promotions/v1/entities/campaign.pb.go +0 -1229
  51. package/gen/src/proto/promotions/v1/entities/campaign_pb.ts +0 -511
  52. package/gen/src/proto/promotions/v1/promotionsv1connect/service.connect.go +0 -289
  53. package/gen/src/proto/promotions/v1/service-CampaignService_connectquery.ts +0 -42
  54. package/gen/src/proto/promotions/v1/service.pb.go +0 -98
  55. package/gen/src/proto/promotions/v1/service_pb.ts +0 -95
  56. package/gen/src/proto/stocknodes/v1/entities/stocknode.pb.go +0 -1499
  57. package/gen/src/proto/stocknodes/v1/entities/stocknode_pb.ts +0 -655
  58. package/gen/src/proto/stocknodes/v1/service-StockNodesService_connectquery.ts +0 -41
  59. package/gen/src/proto/stocknodes/v1/service.pb.go +0 -98
  60. package/gen/src/proto/stocknodes/v1/service_pb.ts +0 -95
  61. package/gen/src/proto/stocknodes/v1/stocknodesv1connect/service.connect.go +0 -297
@@ -1,318 +0,0 @@
1
- // @generated by protoc-gen-es v2.10.1 with parameter "target=ts"
2
- // @generated from file src/proto/products/v1/entities/category.proto (syntax proto3)
3
- /* eslint-disable */
4
-
5
- import type { GenFile, GenMessage } from '@bufbuild/protobuf/codegenv2'
6
- import { 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/category.proto.
12
- */
13
- export const file_src_proto_products_v1_entities_category: GenFile =
14
- /*@__PURE__*/
15
- fileDesc(
16
- 'Ci1zcmMvcHJvdG8vcHJvZHVjdHMvdjEvZW50aXRpZXMvY2F0ZWdvcnkucHJvdG8i0QIKHENyZWF0ZVByb2R1Y3RDYXRlZ29yeVJlcXVlc3QSFwoEbmFtZRgBIAEoCUIJukgGcgQQARhkEiIKC2Rlc2NyaXB0aW9uGAIgASgJQgi6SAVyAxj0A0gAiAEBEioKEnBhcmVudF9jYXRlZ29yeV9pZBgDIAEoCUIJukgGcgQQARhkSAGIAQESJwoUY2F0ZWdvcnlfdGF4b25vbXlfaWQYBCABKAlCCbpIBnIEEAEYZBIMCgR0YWdzGAUgAygJEhgKC2lzX2ludGVybmFsGAYgASgISAKIAQESFgoJaXNfYWN0aXZlGAcgASgISAOIAQESEQoEcmFuaxgIIAEoBUgEiAEBQg4KDF9kZXNjcmlwdGlvbkIVChNfcGFyZW50X2NhdGVnb3J5X2lkQg4KDF9pc19pbnRlcm5hbEIMCgpfaXNfYWN0aXZlQgcKBV9yY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ub215X2lkGAIgASgJQgm6SAZyBBABGGQiJwolVXBkYXRlUHJvZHVjdENhdGVnb3J5VGF4b25vbXlSZXNwb25zZUJMQg1DYXRlZ29yeVByb3RvUAFaOXBhYWtkLmNvbS9wYWNrYWdlcy9hcGkvZ2VuL3NyYy9wcm90by9wcm9kdWN0cy92MS9lbnRpdGllc2IGcHJvdG8z',
17
- [file_buf_validate_validate]
18
- )
19
-
20
- /**
21
- * @generated from message CreateProductCategoryRequest
22
- */
23
- export type CreateProductCategoryRequest =
24
- Message<'CreateProductCategoryRequest'> & {
25
- /**
26
- * @generated from field: string name = 1;
27
- */
28
- name: string
29
-
30
- /**
31
- * @generated from field: optional string description = 2;
32
- */
33
- description?: string
34
-
35
- /**
36
- * @generated from field: optional string parent_category_id = 3;
37
- */
38
- parentCategoryId?: string
39
-
40
- /**
41
- * @generated from field: string category_taxonomy_id = 4;
42
- */
43
- categoryTaxonomyId: string
44
-
45
- /**
46
- * @generated from field: repeated string tags = 5;
47
- */
48
- tags: string[]
49
-
50
- /**
51
- * @generated from field: optional bool is_internal = 6;
52
- */
53
- isInternal?: boolean
54
-
55
- /**
56
- * @generated from field: optional bool is_active = 7;
57
- */
58
- isActive?: boolean
59
-
60
- /**
61
- * @generated from field: optional int32 rank = 8;
62
- */
63
- rank?: number
64
- }
65
-
66
- /**
67
- * Describes the message CreateProductCategoryRequest.
68
- * Use `create(CreateProductCategoryRequestSchema)` to create a new message.
69
- */
70
- export const CreateProductCategoryRequestSchema: GenMessage<CreateProductCategoryRequest> =
71
- /*@__PURE__*/
72
- messageDesc(file_src_proto_products_v1_entities_category, 0)
73
-
74
- /**
75
- * @generated from message CreateProductCategoryResponse
76
- */
77
- export type CreateProductCategoryResponse =
78
- Message<'CreateProductCategoryResponse'> & {
79
- /**
80
- * @generated from field: string id = 1;
81
- */
82
- id: string
83
- }
84
-
85
- /**
86
- * Describes the message CreateProductCategoryResponse.
87
- * Use `create(CreateProductCategoryResponseSchema)` to create a new message.
88
- */
89
- export const CreateProductCategoryResponseSchema: GenMessage<CreateProductCategoryResponse> =
90
- /*@__PURE__*/
91
- messageDesc(file_src_proto_products_v1_entities_category, 1)
92
-
93
- /**
94
- * @generated from message UpdateProductCategoryRequest
95
- */
96
- export type UpdateProductCategoryRequest =
97
- Message<'UpdateProductCategoryRequest'> & {
98
- /**
99
- * @generated from field: string id = 1;
100
- */
101
- id: string
102
-
103
- /**
104
- * @generated from field: string name = 2;
105
- */
106
- name: string
107
-
108
- /**
109
- * @generated from field: optional string description = 3;
110
- */
111
- description?: string
112
-
113
- /**
114
- * @generated from field: repeated string tags = 4;
115
- */
116
- tags: string[]
117
-
118
- /**
119
- * @generated from field: optional bool is_internal = 5;
120
- */
121
- isInternal?: boolean
122
-
123
- /**
124
- * @generated from field: optional bool is_active = 6;
125
- */
126
- isActive?: boolean
127
-
128
- /**
129
- * @generated from field: optional int32 rank = 7;
130
- */
131
- rank?: number
132
- }
133
-
134
- /**
135
- * Describes the message UpdateProductCategoryRequest.
136
- * Use `create(UpdateProductCategoryRequestSchema)` to create a new message.
137
- */
138
- export const UpdateProductCategoryRequestSchema: GenMessage<UpdateProductCategoryRequest> =
139
- /*@__PURE__*/
140
- messageDesc(file_src_proto_products_v1_entities_category, 2)
141
-
142
- /**
143
- * @generated from message UpdateProductCategoryResponse
144
- */
145
- export type UpdateProductCategoryResponse =
146
- Message<'UpdateProductCategoryResponse'> & {}
147
-
148
- /**
149
- * Describes the message UpdateProductCategoryResponse.
150
- * Use `create(UpdateProductCategoryResponseSchema)` to create a new message.
151
- */
152
- export const UpdateProductCategoryResponseSchema: GenMessage<UpdateProductCategoryResponse> =
153
- /*@__PURE__*/
154
- messageDesc(file_src_proto_products_v1_entities_category, 3)
155
-
156
- /**
157
- * @generated from message DeleteProductCategoryByIDRequest
158
- */
159
- export type DeleteProductCategoryByIDRequest =
160
- Message<'DeleteProductCategoryByIDRequest'> & {
161
- /**
162
- * @generated from field: string id = 1;
163
- */
164
- id: string
165
- }
166
-
167
- /**
168
- * Describes the message DeleteProductCategoryByIDRequest.
169
- * Use `create(DeleteProductCategoryByIDRequestSchema)` to create a new message.
170
- */
171
- export const DeleteProductCategoryByIDRequestSchema: GenMessage<DeleteProductCategoryByIDRequest> =
172
- /*@__PURE__*/
173
- messageDesc(file_src_proto_products_v1_entities_category, 4)
174
-
175
- /**
176
- * @generated from message DeleteProductCategoryByIDResponse
177
- */
178
- export type DeleteProductCategoryByIDResponse =
179
- Message<'DeleteProductCategoryByIDResponse'> & {}
180
-
181
- /**
182
- * Describes the message DeleteProductCategoryByIDResponse.
183
- * Use `create(DeleteProductCategoryByIDResponseSchema)` to create a new message.
184
- */
185
- export const DeleteProductCategoryByIDResponseSchema: GenMessage<DeleteProductCategoryByIDResponse> =
186
- /*@__PURE__*/
187
- messageDesc(file_src_proto_products_v1_entities_category, 5)
188
-
189
- /**
190
- * @generated from message GetProductCategoryByIDRequest
191
- */
192
- export type GetProductCategoryByIDRequest =
193
- Message<'GetProductCategoryByIDRequest'> & {
194
- /**
195
- * @generated from field: string id = 1;
196
- */
197
- id: string
198
- }
199
-
200
- /**
201
- * Describes the message GetProductCategoryByIDRequest.
202
- * Use `create(GetProductCategoryByIDRequestSchema)` to create a new message.
203
- */
204
- export const GetProductCategoryByIDRequestSchema: GenMessage<GetProductCategoryByIDRequest> =
205
- /*@__PURE__*/
206
- messageDesc(file_src_proto_products_v1_entities_category, 6)
207
-
208
- /**
209
- * @generated from message GetProductCategoryByIDResponse
210
- */
211
- export type GetProductCategoryByIDResponse =
212
- Message<'GetProductCategoryByIDResponse'> & {
213
- /**
214
- * ID of the category
215
- *
216
- * @generated from field: string id = 1;
217
- */
218
- id: string
219
-
220
- /**
221
- * Name of the category
222
- *
223
- * @generated from field: string name = 2;
224
- */
225
- name: string
226
-
227
- /**
228
- * Description of the category
229
- *
230
- * @generated from field: string description = 3;
231
- */
232
- description: string
233
-
234
- /**
235
- * Tags associated with the category
236
- *
237
- * @generated from field: repeated string tags = 4;
238
- */
239
- tags: string[]
240
-
241
- /**
242
- * Name of the category taxonomy
243
- *
244
- * @generated from field: string category_taxonomy_id = 5;
245
- */
246
- categoryTaxonomyId: string
247
-
248
- /**
249
- * @generated from field: string parent_category_id = 6;
250
- */
251
- parentCategoryId: string
252
-
253
- /**
254
- * @generated from field: bool is_internal = 7;
255
- */
256
- isInternal: boolean
257
-
258
- /**
259
- * @generated from field: bool is_active = 8;
260
- */
261
- isActive: boolean
262
-
263
- /**
264
- * @generated from field: int32 rank = 9;
265
- */
266
- rank: number
267
-
268
- /**
269
- * @generated from field: string taxonomy_fullname = 10;
270
- */
271
- taxonomyFullname: string
272
- }
273
-
274
- /**
275
- * Describes the message GetProductCategoryByIDResponse.
276
- * Use `create(GetProductCategoryByIDResponseSchema)` to create a new message.
277
- */
278
- export const GetProductCategoryByIDResponseSchema: GenMessage<GetProductCategoryByIDResponse> =
279
- /*@__PURE__*/
280
- messageDesc(file_src_proto_products_v1_entities_category, 7)
281
-
282
- /**
283
- * @generated from message UpdateProductCategoryTaxonomyRequest
284
- */
285
- export type UpdateProductCategoryTaxonomyRequest =
286
- Message<'UpdateProductCategoryTaxonomyRequest'> & {
287
- /**
288
- * @generated from field: string id = 1;
289
- */
290
- id: string
291
-
292
- /**
293
- * @generated from field: string taxonomy_id = 2;
294
- */
295
- taxonomyId: string
296
- }
297
-
298
- /**
299
- * Describes the message UpdateProductCategoryTaxonomyRequest.
300
- * Use `create(UpdateProductCategoryTaxonomyRequestSchema)` to create a new message.
301
- */
302
- export const UpdateProductCategoryTaxonomyRequestSchema: GenMessage<UpdateProductCategoryTaxonomyRequest> =
303
- /*@__PURE__*/
304
- messageDesc(file_src_proto_products_v1_entities_category, 8)
305
-
306
- /**
307
- * @generated from message UpdateProductCategoryTaxonomyResponse
308
- */
309
- export type UpdateProductCategoryTaxonomyResponse =
310
- Message<'UpdateProductCategoryTaxonomyResponse'> & {}
311
-
312
- /**
313
- * Describes the message UpdateProductCategoryTaxonomyResponse.
314
- * Use `create(UpdateProductCategoryTaxonomyResponseSchema)` to create a new message.
315
- */
316
- export const UpdateProductCategoryTaxonomyResponseSchema: GenMessage<UpdateProductCategoryTaxonomyResponse> =
317
- /*@__PURE__*/
318
- messageDesc(file_src_proto_products_v1_entities_category, 9)