@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,325 +0,0 @@
1
- // @generated by protoc-gen-es v2.10.1 with parameter "target=ts"
2
- // @generated from file src/proto/products/v1/entities/product/update.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 {
9
- ProductOption,
10
- ProductResponse,
11
- ProductStatus,
12
- Variant,
13
- } from './shared_pb'
14
- import { file_src_proto_products_v1_entities_product_shared } from './shared_pb'
15
- import type { Message } from '@bufbuild/protobuf'
16
-
17
- /**
18
- * Describes the file src/proto/products/v1/entities/product/update.proto.
19
- */
20
- export const file_src_proto_products_v1_entities_product_update: GenFile =
21
- /*@__PURE__*/
22
- fileDesc(
23
- 'CjNzcmMvcHJvdG8vcHJvZHVjdHMvdjEvZW50aXRpZXMvcHJvZHVjdC91cGRhdGUucHJvdG8ipQYKFFVwZGF0ZVByb2R1Y3RSZXF1ZXN0EgoKAmlkGAEgASgJEhIKBXRpdGxlGAIgASgJSACIAQESFQoIc3VidGl0bGUYAyABKAlIAYgBARIYCgtkZXNjcmlwdGlvbhgEIAEoCUgCiAEBEhgKC2lzX2dpZnRjYXJkGAUgASgISAOIAQESHAoPaXNfZGlzY291bnRhYmxlGAYgASgISASIAQESFgoJdGh1bWJuYWlsGAcgASgJSAWIAQESEQoEc2x1ZxgIIAEoCUgGiAEBEiMKBnN0YXR1cxgJIAEoDjIOLlByb2R1Y3RTdGF0dXNIB4gBARITCgZ3ZWlnaHQYCi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YASABKAkSEgoKcHJvZHVjdF9pZBgCIAEoCSIWChREZWxldGVPcHRpb25SZXNwb25zZSJfChpSZW1vdmVJbnZlbnRvcnlJdGVtUmVxdWVzdBIZChFpbnZlbnRvcnlfaXRlbV9pZBgBIAEoCRISCgpwcm9kdWN0X2lkGAIgASgJEhIKCnZhcmlhbnRfaWQYAyABKAkiHQobUmVtb3ZlSW52ZW50b3J5SXRlbVJlc3BvbnNlQlJCC1VwZGF0ZVByb3RvUAFaQXBhYWtkLmNvbS9wYWNrYWdlcy9hcGkvZ2VuL3NyYy9wcm90by9wcm9kdWN0cy92MS9lbnRpdGllcy9wcm9kdWN0YgZwcm90bzM',
24
- [
25
- file_buf_validate_validate,
26
- file_src_proto_products_v1_entities_product_shared,
27
- ]
28
- )
29
-
30
- /**
31
- * @generated from message UpdateProductRequest
32
- */
33
- export type UpdateProductRequest = Message<'UpdateProductRequest'> & {
34
- /**
35
- * @generated from field: string id = 1;
36
- */
37
- id: string
38
-
39
- /**
40
- * @generated from field: optional string title = 2;
41
- */
42
- title?: string
43
-
44
- /**
45
- * @generated from field: optional string subtitle = 3;
46
- */
47
- subtitle?: string
48
-
49
- /**
50
- * @generated from field: optional string description = 4;
51
- */
52
- description?: string
53
-
54
- /**
55
- * @generated from field: optional bool is_giftcard = 5;
56
- */
57
- isGiftcard?: boolean
58
-
59
- /**
60
- * @generated from field: optional bool is_discountable = 6;
61
- */
62
- isDiscountable?: boolean
63
-
64
- /**
65
- * @generated from field: optional string thumbnail = 7;
66
- */
67
- thumbnail?: string
68
-
69
- /**
70
- * @generated from field: optional string slug = 8;
71
- */
72
- slug?: string
73
-
74
- /**
75
- * @generated from field: optional ProductStatus status = 9;
76
- */
77
- status?: ProductStatus
78
-
79
- /**
80
- * @generated from field: optional float weight = 10;
81
- */
82
- weight?: number
83
-
84
- /**
85
- * @generated from field: optional float height = 11;
86
- */
87
- height?: number
88
-
89
- /**
90
- * @generated from field: optional float width = 12;
91
- */
92
- width?: number
93
-
94
- /**
95
- * @generated from field: optional float length = 13;
96
- */
97
- length?: number
98
-
99
- /**
100
- * @generated from field: optional string hs_code = 14;
101
- */
102
- hsCode?: string
103
-
104
- /**
105
- * @generated from field: optional string mid_code = 15;
106
- */
107
- midCode?: string
108
-
109
- /**
110
- * @generated from field: optional string origin_country = 16;
111
- */
112
- originCountry?: string
113
-
114
- /**
115
- * @generated from field: optional string material = 17;
116
- */
117
- material?: string
118
-
119
- /**
120
- * @generated from field: optional string external_id = 18;
121
- */
122
- externalId?: string
123
-
124
- /**
125
- * @generated from field: repeated string images = 19;
126
- */
127
- images: string[]
128
-
129
- /**
130
- * @generated from field: repeated string tags = 20;
131
- */
132
- tags: string[]
133
-
134
- /**
135
- * @generated from field: repeated string categories = 21;
136
- */
137
- categories: string[]
138
-
139
- /**
140
- * @generated from field: repeated string sales_channels = 22;
141
- */
142
- salesChannels: string[]
143
-
144
- /**
145
- * @generated from field: repeated ProductOption options = 23;
146
- */
147
- options: ProductOption[]
148
-
149
- /**
150
- * @generated from field: repeated Variant variants = 24;
151
- */
152
- variants: Variant[]
153
- }
154
-
155
- /**
156
- * Describes the message UpdateProductRequest.
157
- * Use `create(UpdateProductRequestSchema)` to create a new message.
158
- */
159
- export const UpdateProductRequestSchema: GenMessage<UpdateProductRequest> =
160
- /*@__PURE__*/
161
- messageDesc(file_src_proto_products_v1_entities_product_update, 0)
162
-
163
- /**
164
- * @generated from message UpdateProductResponse
165
- */
166
- export type UpdateProductResponse = Message<'UpdateProductResponse'> & {
167
- /**
168
- * @generated from field: ProductResponse product = 1;
169
- */
170
- product?: ProductResponse
171
- }
172
-
173
- /**
174
- * Describes the message UpdateProductResponse.
175
- * Use `create(UpdateProductResponseSchema)` to create a new message.
176
- */
177
- export const UpdateProductResponseSchema: GenMessage<UpdateProductResponse> =
178
- /*@__PURE__*/
179
- messageDesc(file_src_proto_products_v1_entities_product_update, 1)
180
-
181
- /**
182
- * @generated from message DeleteProductRequest
183
- */
184
- export type DeleteProductRequest = Message<'DeleteProductRequest'> & {
185
- /**
186
- * @generated from field: string product_id = 1;
187
- */
188
- productId: string
189
- }
190
-
191
- /**
192
- * Describes the message DeleteProductRequest.
193
- * Use `create(DeleteProductRequestSchema)` to create a new message.
194
- */
195
- export const DeleteProductRequestSchema: GenMessage<DeleteProductRequest> =
196
- /*@__PURE__*/
197
- messageDesc(file_src_proto_products_v1_entities_product_update, 2)
198
-
199
- /**
200
- * @generated from message DeleteProductResponse
201
- */
202
- export type DeleteProductResponse = Message<'DeleteProductResponse'> & {}
203
-
204
- /**
205
- * Describes the message DeleteProductResponse.
206
- * Use `create(DeleteProductResponseSchema)` to create a new message.
207
- */
208
- export const DeleteProductResponseSchema: GenMessage<DeleteProductResponse> =
209
- /*@__PURE__*/
210
- messageDesc(file_src_proto_products_v1_entities_product_update, 3)
211
-
212
- /**
213
- * @generated from message DeleteVariantRequest
214
- */
215
- export type DeleteVariantRequest = Message<'DeleteVariantRequest'> & {
216
- /**
217
- * @generated from field: string variant_id = 1;
218
- */
219
- variantId: string
220
-
221
- /**
222
- * @generated from field: string product_id = 2;
223
- */
224
- productId: string
225
- }
226
-
227
- /**
228
- * Describes the message DeleteVariantRequest.
229
- * Use `create(DeleteVariantRequestSchema)` to create a new message.
230
- */
231
- export const DeleteVariantRequestSchema: GenMessage<DeleteVariantRequest> =
232
- /*@__PURE__*/
233
- messageDesc(file_src_proto_products_v1_entities_product_update, 4)
234
-
235
- /**
236
- * @generated from message DeleteVariantResponse
237
- */
238
- export type DeleteVariantResponse = Message<'DeleteVariantResponse'> & {}
239
-
240
- /**
241
- * Describes the message DeleteVariantResponse.
242
- * Use `create(DeleteVariantResponseSchema)` to create a new message.
243
- */
244
- export const DeleteVariantResponseSchema: GenMessage<DeleteVariantResponse> =
245
- /*@__PURE__*/
246
- messageDesc(file_src_proto_products_v1_entities_product_update, 5)
247
-
248
- /**
249
- * @generated from message DeleteOptionRequest
250
- */
251
- export type DeleteOptionRequest = Message<'DeleteOptionRequest'> & {
252
- /**
253
- * @generated from field: string option_id = 1;
254
- */
255
- optionId: string
256
-
257
- /**
258
- * @generated from field: string product_id = 2;
259
- */
260
- productId: string
261
- }
262
-
263
- /**
264
- * Describes the message DeleteOptionRequest.
265
- * Use `create(DeleteOptionRequestSchema)` to create a new message.
266
- */
267
- export const DeleteOptionRequestSchema: GenMessage<DeleteOptionRequest> =
268
- /*@__PURE__*/
269
- messageDesc(file_src_proto_products_v1_entities_product_update, 6)
270
-
271
- /**
272
- * @generated from message DeleteOptionResponse
273
- */
274
- export type DeleteOptionResponse = Message<'DeleteOptionResponse'> & {}
275
-
276
- /**
277
- * Describes the message DeleteOptionResponse.
278
- * Use `create(DeleteOptionResponseSchema)` to create a new message.
279
- */
280
- export const DeleteOptionResponseSchema: GenMessage<DeleteOptionResponse> =
281
- /*@__PURE__*/
282
- messageDesc(file_src_proto_products_v1_entities_product_update, 7)
283
-
284
- /**
285
- * @generated from message RemoveInventoryItemRequest
286
- */
287
- export type RemoveInventoryItemRequest =
288
- Message<'RemoveInventoryItemRequest'> & {
289
- /**
290
- * @generated from field: string inventory_item_id = 1;
291
- */
292
- inventoryItemId: string
293
-
294
- /**
295
- * @generated from field: string product_id = 2;
296
- */
297
- productId: string
298
-
299
- /**
300
- * @generated from field: string variant_id = 3;
301
- */
302
- variantId: string
303
- }
304
-
305
- /**
306
- * Describes the message RemoveInventoryItemRequest.
307
- * Use `create(RemoveInventoryItemRequestSchema)` to create a new message.
308
- */
309
- export const RemoveInventoryItemRequestSchema: GenMessage<RemoveInventoryItemRequest> =
310
- /*@__PURE__*/
311
- messageDesc(file_src_proto_products_v1_entities_product_update, 8)
312
-
313
- /**
314
- * @generated from message RemoveInventoryItemResponse
315
- */
316
- export type RemoveInventoryItemResponse =
317
- Message<'RemoveInventoryItemResponse'> & {}
318
-
319
- /**
320
- * Describes the message RemoveInventoryItemResponse.
321
- * Use `create(RemoveInventoryItemResponseSchema)` to create a new message.
322
- */
323
- export const RemoveInventoryItemResponseSchema: GenMessage<RemoveInventoryItemResponse> =
324
- /*@__PURE__*/
325
- messageDesc(file_src_proto_products_v1_entities_product_update, 9)