@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,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
- 'Ci1zcmMvcHJvdG8vcHJvZHVjdHMvdjEvZW50aXRpZXMvY2F0ZWdvcnkucHJvdG8i0QIKHENyZWF0ZVByb2R1Y3RDYXRlZ29yeVJlcXVlc3QSFwoEbmFtZRgBIAEoCUIJukgGcgQQARhkEiIKC2Rlc2NyaXB0aW9uGAIgASgJQgi6SAVyAxj0A0gAiAEBEioKEnBhcmVudF9jYXRlZ29yeV9pZBgDIAEoCUIJukgGcgQQARhkSAGIAQESJwoUY2F0ZWdvcnlfdGF4b25vbXlfaWQYBCABKAlCCbpIBnIEEAEYZBIMCgR0YWdzGAUgAygJEhgKC2lzX2ludGVybmFsGAYgASgISAKIAQESFgoJaXNfYWN0aXZlGAcgASgISAOIAQESEQoEcmFuaxgIIAEoBUgEiAEBQg4KDF9kZXNjcmlwdGlvbkIVChNfcGFyZW50X2NhdGVnb3J5X2lkQg4KDF9pc19pbnRlcm5hbEIMCgpfaXNfYWN0aXZlQgcKBV9yYW5rIisKHUNyZWF0ZVByb2R1Y3RDYXRlZ29yeVJlc3BvbnNlEgoKAmlkGAEgASgJIvwBChxVcGRhdGVQcm9kdWN0Q2F0ZWdvcnlSZXF1ZXN0EhUKAmlkGAEgASgJQgm6SAZyBBABGGQSFwoEbmFtZRgCIAEoCUIJukgGcgQQARhkEiIKC2Rlc2NyaXB0aW9uGAMgASgJQgi6SAVyAxj0A0gAiAEBEgwKBHRhZ3MYBCADKAkSGAoLaXNfaW50ZXJuYWwYBSABKAhIAYgBARIWCglpc19hY3RpdmUYBiABKAhIAogBARIRCgRyYW5rGAcgASgFSAOIAQFCDgoMX2Rlc2NyaXB0aW9uQg4KDF9pc19pbnRlcm5hbEIMCgpfaXNfYWN0aXZlQgcKBV9yYW5rIh8KHVVwZGF0ZVByb2R1Y3RDYXRlZ29yeVJlc3BvbnNlIjkKIERlbGV0ZVByb2R1Y3RDYXRlZ29yeUJ5SURSZXF1ZXN0EhUKAmlkGAEgASgJQgm6SAZyBBABGGQiIwohRGVsZXRlUHJvZHVjdENhdGVnb3J5QnlJRFJlc3BvbnNlIjYKHUdldFByb2R1Y3RDYXRlZ29yeUJ5SURSZXF1ZXN0EhUKAmlkGAEgASgJQgm6SAZyBBABGGQi6AEKHkdldFByb2R1Y3RDYXRlZ29yeUJ5SURSZXNwb25zZRIKCgJpZBgBIAEoCRIMCgRuYW1lGAIgASgJEhMKC2Rlc2NyaXB0aW9uGAMgASgJEgwKBHRhZ3MYBCADKAkSHAoUY2F0ZWdvcnlfdGF4b25vbXlfaWQYBSABKAkSGgoScGFyZW50X2NhdGVnb3J5X2lkGAYgASgJEhMKC2lzX2ludGVybmFsGAcgASgIEhEKCWlzX2FjdGl2ZRgIIAEoCBIMCgRyYW5rGAkgASgFEhkKEXRheG9ub215X2Z1bGxuYW1lGAogASgJIl0KJFVwZGF0ZVByb2R1Y3RDYXRlZ29yeVRheG9ub215UmVxdWVzdBIVCgJpZBgBIAEoCUIJukgGcgQQARhkEh4KC3RheG9ub215X2lkGAIgASgJQgm6SAZyBBABGGQiJwolVXBkYXRlUHJvZHVjdENhdGVnb3J5VGF4b25vbXlSZXNwb25zZUJMQg1DYXRlZ29yeVByb3RvUAFaOXBhYWtkLmNvbS9wYWNrYWdlcy9hcGkvZ2VuL3NyYy9wcm90by9wcm9kdWN0cy92MS9lbnRpdGllc2IGcHJvdG8z',
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)