@medusajs/product 3.0.0-snapshot-20251106143524 → 3.0.0-snapshot-20251114155958

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 (60) hide show
  1. package/dist/migrations/Migration20251022153442.d.ts +1 -1
  2. package/dist/migrations/Migration20251022153442.js +3 -3
  3. package/dist/migrations/Migration20251110180907.d.ts +6 -0
  4. package/dist/migrations/Migration20251110180907.d.ts.map +1 -0
  5. package/dist/migrations/Migration20251110180907.js +21 -0
  6. package/dist/migrations/Migration20251110180907.js.map +1 -0
  7. package/dist/migrations/Migration20251113183352.d.ts +6 -0
  8. package/dist/migrations/Migration20251113183352.d.ts.map +1 -0
  9. package/dist/migrations/Migration20251113183352.js +32 -0
  10. package/dist/migrations/Migration20251113183352.js.map +1 -0
  11. package/dist/models/index.d.ts +1 -0
  12. package/dist/models/index.d.ts.map +1 -1
  13. package/dist/models/index.js +3 -1
  14. package/dist/models/index.js.map +1 -1
  15. package/dist/models/product-category.d.ts +141 -0
  16. package/dist/models/product-category.d.ts.map +1 -1
  17. package/dist/models/product-collection.d.ts +141 -0
  18. package/dist/models/product-collection.d.ts.map +1 -1
  19. package/dist/models/product-image.d.ts +392 -0
  20. package/dist/models/product-image.d.ts.map +1 -1
  21. package/dist/models/product-option-value.d.ts +351 -0
  22. package/dist/models/product-option-value.d.ts.map +1 -1
  23. package/dist/models/product-option-value.js +13 -3
  24. package/dist/models/product-option-value.js.map +1 -1
  25. package/dist/models/product-option.d.ts +223 -0
  26. package/dist/models/product-option.d.ts.map +1 -1
  27. package/dist/models/product-product-option-value.d.ts +2213 -0
  28. package/dist/models/product-product-option-value.d.ts.map +1 -0
  29. package/dist/models/product-product-option-value.js +19 -0
  30. package/dist/models/product-product-option-value.js.map +1 -0
  31. package/dist/models/product-product-option.d.ts +604 -0
  32. package/dist/models/product-product-option.d.ts.map +1 -1
  33. package/dist/models/product-product-option.js +5 -0
  34. package/dist/models/product-product-option.js.map +1 -1
  35. package/dist/models/product-tag.d.ts +141 -0
  36. package/dist/models/product-tag.d.ts.map +1 -1
  37. package/dist/models/product-type.d.ts +141 -0
  38. package/dist/models/product-type.d.ts.map +1 -1
  39. package/dist/models/product-variant-product-image.d.ts +733 -0
  40. package/dist/models/product-variant-product-image.d.ts.map +1 -1
  41. package/dist/models/product-variant.d.ts +341 -0
  42. package/dist/models/product-variant.d.ts.map +1 -1
  43. package/dist/models/product.d.ts +141 -0
  44. package/dist/models/product.d.ts.map +1 -1
  45. package/dist/models/product.js +4 -1
  46. package/dist/models/product.js.map +1 -1
  47. package/dist/repositories/product-category.d.ts +588 -0
  48. package/dist/repositories/product-category.d.ts.map +1 -1
  49. package/dist/repositories/product.d.ts +141 -0
  50. package/dist/repositories/product.d.ts.map +1 -1
  51. package/dist/schema/index.d.ts +1 -1
  52. package/dist/schema/index.d.ts.map +1 -1
  53. package/dist/schema/index.js +1 -0
  54. package/dist/schema/index.js.map +1 -1
  55. package/dist/services/product-module-service.d.ts +6 -2
  56. package/dist/services/product-module-service.d.ts.map +1 -1
  57. package/dist/services/product-module-service.js +120 -12
  58. package/dist/services/product-module-service.js.map +1 -1
  59. package/dist/tsconfig.tsbuildinfo +1 -1
  60. package/package.json +4 -4
@@ -87,6 +87,27 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
87
87
  deleted_at: Date | null;
88
88
  };
89
89
  variants: /*elided*/ any[];
90
+ product_options: {
91
+ id: string;
92
+ product: /*elided*/ any;
93
+ product_option: {
94
+ id: string;
95
+ title: string;
96
+ is_exclusive: boolean;
97
+ metadata: Record<string, unknown> | null;
98
+ products: /*elided*/ any[];
99
+ values: /*elided*/ any[];
100
+ created_at: Date;
101
+ updated_at: Date;
102
+ deleted_at: Date | null;
103
+ };
104
+ values: /*elided*/ any[];
105
+ created_at: Date;
106
+ updated_at: Date;
107
+ deleted_at: Date | null;
108
+ product_id: string;
109
+ product_option_id: string;
110
+ }[];
90
111
  raw_rank: Record<string, unknown> | null;
91
112
  created_at: Date;
92
113
  updated_at: Date;
@@ -177,6 +198,158 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
177
198
  deleted_at: Date | null;
178
199
  product_id: string | null;
179
200
  }[];
201
+ product_options: {
202
+ id: string;
203
+ product: /*elided*/ any;
204
+ product_option: /*elided*/ any;
205
+ values: /*elided*/ any[];
206
+ created_at: Date;
207
+ updated_at: Date;
208
+ deleted_at: Date | null;
209
+ product_id: string;
210
+ product_option_id: string;
211
+ }[];
212
+ raw_rank: Record<string, unknown> | null;
213
+ created_at: Date;
214
+ updated_at: Date;
215
+ deleted_at: Date | null;
216
+ option_id: string | null;
217
+ }[];
218
+ created_at: Date;
219
+ updated_at: Date;
220
+ deleted_at: Date | null;
221
+ }[];
222
+ product_options: {
223
+ id: string;
224
+ product: /*elided*/ any;
225
+ product_option: {
226
+ id: string;
227
+ title: string;
228
+ is_exclusive: boolean;
229
+ metadata: Record<string, unknown> | null;
230
+ products: /*elided*/ any[];
231
+ values: {
232
+ id: string;
233
+ value: string;
234
+ rank: number | null;
235
+ metadata: Record<string, unknown> | null;
236
+ option: /*elided*/ any;
237
+ variants: {
238
+ id: string;
239
+ title: string;
240
+ sku: string | null;
241
+ barcode: string | null;
242
+ ean: string | null;
243
+ upc: string | null;
244
+ allow_backorder: boolean;
245
+ manage_inventory: boolean;
246
+ hs_code: string | null;
247
+ origin_country: string | null;
248
+ mid_code: string | null;
249
+ material: string | null;
250
+ weight: number | null;
251
+ length: number | null;
252
+ height: number | null;
253
+ width: number | null;
254
+ metadata: Record<string, unknown> | null;
255
+ variant_rank: number | null;
256
+ thumbnail: string | null;
257
+ product: /*elided*/ any;
258
+ images: {
259
+ id: string;
260
+ url: string;
261
+ metadata: Record<string, unknown> | null;
262
+ rank: number;
263
+ product: /*elided*/ any;
264
+ variants: /*elided*/ any[];
265
+ created_at: Date;
266
+ updated_at: Date;
267
+ deleted_at: Date | null;
268
+ product_id: string;
269
+ }[];
270
+ options: /*elided*/ any[];
271
+ raw_weight: Record<string, unknown> | null;
272
+ raw_length: Record<string, unknown> | null;
273
+ raw_height: Record<string, unknown> | null;
274
+ raw_width: Record<string, unknown> | null;
275
+ raw_variant_rank: Record<string, unknown> | null;
276
+ created_at: Date;
277
+ updated_at: Date;
278
+ deleted_at: Date | null;
279
+ product_id: string | null;
280
+ }[];
281
+ product_options: /*elided*/ any[];
282
+ raw_rank: Record<string, unknown> | null;
283
+ created_at: Date;
284
+ updated_at: Date;
285
+ deleted_at: Date | null;
286
+ option_id: string | null;
287
+ }[];
288
+ created_at: Date;
289
+ updated_at: Date;
290
+ deleted_at: Date | null;
291
+ };
292
+ values: {
293
+ id: string;
294
+ value: string;
295
+ rank: number | null;
296
+ metadata: Record<string, unknown> | null;
297
+ option: {
298
+ id: string;
299
+ title: string;
300
+ is_exclusive: boolean;
301
+ metadata: Record<string, unknown> | null;
302
+ products: /*elided*/ any[];
303
+ values: /*elided*/ any[];
304
+ created_at: Date;
305
+ updated_at: Date;
306
+ deleted_at: Date | null;
307
+ };
308
+ variants: {
309
+ id: string;
310
+ title: string;
311
+ sku: string | null;
312
+ barcode: string | null;
313
+ ean: string | null;
314
+ upc: string | null;
315
+ allow_backorder: boolean;
316
+ manage_inventory: boolean;
317
+ hs_code: string | null;
318
+ origin_country: string | null;
319
+ mid_code: string | null;
320
+ material: string | null;
321
+ weight: number | null;
322
+ length: number | null;
323
+ height: number | null;
324
+ width: number | null;
325
+ metadata: Record<string, unknown> | null;
326
+ variant_rank: number | null;
327
+ thumbnail: string | null;
328
+ product: /*elided*/ any;
329
+ images: {
330
+ id: string;
331
+ url: string;
332
+ metadata: Record<string, unknown> | null;
333
+ rank: number;
334
+ product: /*elided*/ any;
335
+ variants: /*elided*/ any[];
336
+ created_at: Date;
337
+ updated_at: Date;
338
+ deleted_at: Date | null;
339
+ product_id: string;
340
+ }[];
341
+ options: /*elided*/ any[];
342
+ raw_weight: Record<string, unknown> | null;
343
+ raw_length: Record<string, unknown> | null;
344
+ raw_height: Record<string, unknown> | null;
345
+ raw_width: Record<string, unknown> | null;
346
+ raw_variant_rank: Record<string, unknown> | null;
347
+ created_at: Date;
348
+ updated_at: Date;
349
+ deleted_at: Date | null;
350
+ product_id: string | null;
351
+ }[];
352
+ product_options: /*elided*/ any[];
180
353
  raw_rank: Record<string, unknown> | null;
181
354
  created_at: Date;
182
355
  updated_at: Date;
@@ -186,6 +359,8 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
186
359
  created_at: Date;
187
360
  updated_at: Date;
188
361
  deleted_at: Date | null;
362
+ product_id: string;
363
+ product_option_id: string;
189
364
  }[];
190
365
  images: {
191
366
  id: string;
@@ -232,6 +407,27 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
232
407
  deleted_at: Date | null;
233
408
  };
234
409
  variants: /*elided*/ any[];
410
+ product_options: {
411
+ id: string;
412
+ product: /*elided*/ any;
413
+ product_option: {
414
+ id: string;
415
+ title: string;
416
+ is_exclusive: boolean;
417
+ metadata: Record<string, unknown> | null;
418
+ products: /*elided*/ any[];
419
+ values: /*elided*/ any[];
420
+ created_at: Date;
421
+ updated_at: Date;
422
+ deleted_at: Date | null;
423
+ };
424
+ values: /*elided*/ any[];
425
+ created_at: Date;
426
+ updated_at: Date;
427
+ deleted_at: Date | null;
428
+ product_id: string;
429
+ product_option_id: string;
430
+ }[];
235
431
  raw_rank: Record<string, unknown> | null;
236
432
  created_at: Date;
237
433
  updated_at: Date;
@@ -356,6 +552,27 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
356
552
  deleted_at: Date | null;
357
553
  };
358
554
  variants: /*elided*/ any[];
555
+ product_options: {
556
+ id: string;
557
+ product: /*elided*/ any;
558
+ product_option: {
559
+ id: string;
560
+ title: string;
561
+ is_exclusive: boolean;
562
+ metadata: Record<string, unknown> | null;
563
+ products: /*elided*/ any[];
564
+ values: /*elided*/ any[];
565
+ created_at: Date;
566
+ updated_at: Date;
567
+ deleted_at: Date | null;
568
+ };
569
+ values: /*elided*/ any[];
570
+ created_at: Date;
571
+ updated_at: Date;
572
+ deleted_at: Date | null;
573
+ product_id: string;
574
+ product_option_id: string;
575
+ }[];
359
576
  raw_rank: Record<string, unknown> | null;
360
577
  created_at: Date;
361
578
  updated_at: Date;
@@ -446,6 +663,17 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
446
663
  deleted_at: Date | null;
447
664
  product_id: string | null;
448
665
  }[];
666
+ product_options: {
667
+ id: string;
668
+ product: /*elided*/ any;
669
+ product_option: /*elided*/ any;
670
+ values: /*elided*/ any[];
671
+ created_at: Date;
672
+ updated_at: Date;
673
+ deleted_at: Date | null;
674
+ product_id: string;
675
+ product_option_id: string;
676
+ }[];
449
677
  raw_rank: Record<string, unknown> | null;
450
678
  created_at: Date;
451
679
  updated_at: Date;
@@ -456,6 +684,149 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
456
684
  updated_at: Date;
457
685
  deleted_at: Date | null;
458
686
  }[];
687
+ product_options: {
688
+ id: string;
689
+ product: /*elided*/ any;
690
+ product_option: {
691
+ id: string;
692
+ title: string;
693
+ is_exclusive: boolean;
694
+ metadata: Record<string, unknown> | null;
695
+ products: /*elided*/ any[];
696
+ values: {
697
+ id: string;
698
+ value: string;
699
+ rank: number | null;
700
+ metadata: Record<string, unknown> | null;
701
+ option: /*elided*/ any;
702
+ variants: {
703
+ id: string;
704
+ title: string;
705
+ sku: string | null;
706
+ barcode: string | null;
707
+ ean: string | null;
708
+ upc: string | null;
709
+ allow_backorder: boolean;
710
+ manage_inventory: boolean;
711
+ hs_code: string | null;
712
+ origin_country: string | null;
713
+ mid_code: string | null;
714
+ material: string | null;
715
+ weight: number | null;
716
+ length: number | null;
717
+ height: number | null;
718
+ width: number | null;
719
+ metadata: Record<string, unknown> | null;
720
+ variant_rank: number | null;
721
+ thumbnail: string | null;
722
+ product: /*elided*/ any;
723
+ images: {
724
+ id: string;
725
+ url: string;
726
+ metadata: Record<string, unknown> | null;
727
+ rank: number;
728
+ product: /*elided*/ any;
729
+ variants: /*elided*/ any[];
730
+ created_at: Date;
731
+ updated_at: Date;
732
+ deleted_at: Date | null;
733
+ product_id: string;
734
+ }[];
735
+ options: /*elided*/ any[];
736
+ raw_weight: Record<string, unknown> | null;
737
+ raw_length: Record<string, unknown> | null;
738
+ raw_height: Record<string, unknown> | null;
739
+ raw_width: Record<string, unknown> | null;
740
+ raw_variant_rank: Record<string, unknown> | null;
741
+ created_at: Date;
742
+ updated_at: Date;
743
+ deleted_at: Date | null;
744
+ product_id: string | null;
745
+ }[];
746
+ product_options: /*elided*/ any[];
747
+ raw_rank: Record<string, unknown> | null;
748
+ created_at: Date;
749
+ updated_at: Date;
750
+ deleted_at: Date | null;
751
+ option_id: string | null;
752
+ }[];
753
+ created_at: Date;
754
+ updated_at: Date;
755
+ deleted_at: Date | null;
756
+ };
757
+ values: {
758
+ id: string;
759
+ value: string;
760
+ rank: number | null;
761
+ metadata: Record<string, unknown> | null;
762
+ option: {
763
+ id: string;
764
+ title: string;
765
+ is_exclusive: boolean;
766
+ metadata: Record<string, unknown> | null;
767
+ products: /*elided*/ any[];
768
+ values: /*elided*/ any[];
769
+ created_at: Date;
770
+ updated_at: Date;
771
+ deleted_at: Date | null;
772
+ };
773
+ variants: {
774
+ id: string;
775
+ title: string;
776
+ sku: string | null;
777
+ barcode: string | null;
778
+ ean: string | null;
779
+ upc: string | null;
780
+ allow_backorder: boolean;
781
+ manage_inventory: boolean;
782
+ hs_code: string | null;
783
+ origin_country: string | null;
784
+ mid_code: string | null;
785
+ material: string | null;
786
+ weight: number | null;
787
+ length: number | null;
788
+ height: number | null;
789
+ width: number | null;
790
+ metadata: Record<string, unknown> | null;
791
+ variant_rank: number | null;
792
+ thumbnail: string | null;
793
+ product: /*elided*/ any;
794
+ images: {
795
+ id: string;
796
+ url: string;
797
+ metadata: Record<string, unknown> | null;
798
+ rank: number;
799
+ product: /*elided*/ any;
800
+ variants: /*elided*/ any[];
801
+ created_at: Date;
802
+ updated_at: Date;
803
+ deleted_at: Date | null;
804
+ product_id: string;
805
+ }[];
806
+ options: /*elided*/ any[];
807
+ raw_weight: Record<string, unknown> | null;
808
+ raw_length: Record<string, unknown> | null;
809
+ raw_height: Record<string, unknown> | null;
810
+ raw_width: Record<string, unknown> | null;
811
+ raw_variant_rank: Record<string, unknown> | null;
812
+ created_at: Date;
813
+ updated_at: Date;
814
+ deleted_at: Date | null;
815
+ product_id: string | null;
816
+ }[];
817
+ product_options: /*elided*/ any[];
818
+ raw_rank: Record<string, unknown> | null;
819
+ created_at: Date;
820
+ updated_at: Date;
821
+ deleted_at: Date | null;
822
+ option_id: string | null;
823
+ }[];
824
+ created_at: Date;
825
+ updated_at: Date;
826
+ deleted_at: Date | null;
827
+ product_id: string;
828
+ product_option_id: string;
829
+ }[];
459
830
  images: {
460
831
  id: string;
461
832
  url: string;
@@ -501,6 +872,27 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
501
872
  deleted_at: Date | null;
502
873
  };
503
874
  variants: /*elided*/ any[];
875
+ product_options: {
876
+ id: string;
877
+ product: /*elided*/ any;
878
+ product_option: {
879
+ id: string;
880
+ title: string;
881
+ is_exclusive: boolean;
882
+ metadata: Record<string, unknown> | null;
883
+ products: /*elided*/ any[];
884
+ values: /*elided*/ any[];
885
+ created_at: Date;
886
+ updated_at: Date;
887
+ deleted_at: Date | null;
888
+ };
889
+ values: /*elided*/ any[];
890
+ created_at: Date;
891
+ updated_at: Date;
892
+ deleted_at: Date | null;
893
+ product_id: string;
894
+ product_option_id: string;
895
+ }[];
504
896
  raw_rank: Record<string, unknown> | null;
505
897
  created_at: Date;
506
898
  updated_at: Date;
@@ -626,6 +1018,27 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
626
1018
  deleted_at: Date | null;
627
1019
  };
628
1020
  variants: /*elided*/ any[];
1021
+ product_options: {
1022
+ id: string;
1023
+ product: /*elided*/ any;
1024
+ product_option: {
1025
+ id: string;
1026
+ title: string;
1027
+ is_exclusive: boolean;
1028
+ metadata: Record<string, unknown> | null;
1029
+ products: /*elided*/ any[];
1030
+ values: /*elided*/ any[];
1031
+ created_at: Date;
1032
+ updated_at: Date;
1033
+ deleted_at: Date | null;
1034
+ };
1035
+ values: /*elided*/ any[];
1036
+ created_at: Date;
1037
+ updated_at: Date;
1038
+ deleted_at: Date | null;
1039
+ product_id: string;
1040
+ product_option_id: string;
1041
+ }[];
629
1042
  raw_rank: Record<string, unknown> | null;
630
1043
  created_at: Date;
631
1044
  updated_at: Date;
@@ -716,6 +1129,17 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
716
1129
  deleted_at: Date | null;
717
1130
  product_id: string | null;
718
1131
  }[];
1132
+ product_options: {
1133
+ id: string;
1134
+ product: /*elided*/ any;
1135
+ product_option: /*elided*/ any;
1136
+ values: /*elided*/ any[];
1137
+ created_at: Date;
1138
+ updated_at: Date;
1139
+ deleted_at: Date | null;
1140
+ product_id: string;
1141
+ product_option_id: string;
1142
+ }[];
719
1143
  raw_rank: Record<string, unknown> | null;
720
1144
  created_at: Date;
721
1145
  updated_at: Date;
@@ -726,6 +1150,149 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
726
1150
  updated_at: Date;
727
1151
  deleted_at: Date | null;
728
1152
  }[];
1153
+ product_options: {
1154
+ id: string;
1155
+ product: /*elided*/ any;
1156
+ product_option: {
1157
+ id: string;
1158
+ title: string;
1159
+ is_exclusive: boolean;
1160
+ metadata: Record<string, unknown> | null;
1161
+ products: /*elided*/ any[];
1162
+ values: {
1163
+ id: string;
1164
+ value: string;
1165
+ rank: number | null;
1166
+ metadata: Record<string, unknown> | null;
1167
+ option: /*elided*/ any;
1168
+ variants: {
1169
+ id: string;
1170
+ title: string;
1171
+ sku: string | null;
1172
+ barcode: string | null;
1173
+ ean: string | null;
1174
+ upc: string | null;
1175
+ allow_backorder: boolean;
1176
+ manage_inventory: boolean;
1177
+ hs_code: string | null;
1178
+ origin_country: string | null;
1179
+ mid_code: string | null;
1180
+ material: string | null;
1181
+ weight: number | null;
1182
+ length: number | null;
1183
+ height: number | null;
1184
+ width: number | null;
1185
+ metadata: Record<string, unknown> | null;
1186
+ variant_rank: number | null;
1187
+ thumbnail: string | null;
1188
+ product: /*elided*/ any;
1189
+ images: {
1190
+ id: string;
1191
+ url: string;
1192
+ metadata: Record<string, unknown> | null;
1193
+ rank: number;
1194
+ product: /*elided*/ any;
1195
+ variants: /*elided*/ any[];
1196
+ created_at: Date;
1197
+ updated_at: Date;
1198
+ deleted_at: Date | null;
1199
+ product_id: string;
1200
+ }[];
1201
+ options: /*elided*/ any[];
1202
+ raw_weight: Record<string, unknown> | null;
1203
+ raw_length: Record<string, unknown> | null;
1204
+ raw_height: Record<string, unknown> | null;
1205
+ raw_width: Record<string, unknown> | null;
1206
+ raw_variant_rank: Record<string, unknown> | null;
1207
+ created_at: Date;
1208
+ updated_at: Date;
1209
+ deleted_at: Date | null;
1210
+ product_id: string | null;
1211
+ }[];
1212
+ product_options: /*elided*/ any[];
1213
+ raw_rank: Record<string, unknown> | null;
1214
+ created_at: Date;
1215
+ updated_at: Date;
1216
+ deleted_at: Date | null;
1217
+ option_id: string | null;
1218
+ }[];
1219
+ created_at: Date;
1220
+ updated_at: Date;
1221
+ deleted_at: Date | null;
1222
+ };
1223
+ values: {
1224
+ id: string;
1225
+ value: string;
1226
+ rank: number | null;
1227
+ metadata: Record<string, unknown> | null;
1228
+ option: {
1229
+ id: string;
1230
+ title: string;
1231
+ is_exclusive: boolean;
1232
+ metadata: Record<string, unknown> | null;
1233
+ products: /*elided*/ any[];
1234
+ values: /*elided*/ any[];
1235
+ created_at: Date;
1236
+ updated_at: Date;
1237
+ deleted_at: Date | null;
1238
+ };
1239
+ variants: {
1240
+ id: string;
1241
+ title: string;
1242
+ sku: string | null;
1243
+ barcode: string | null;
1244
+ ean: string | null;
1245
+ upc: string | null;
1246
+ allow_backorder: boolean;
1247
+ manage_inventory: boolean;
1248
+ hs_code: string | null;
1249
+ origin_country: string | null;
1250
+ mid_code: string | null;
1251
+ material: string | null;
1252
+ weight: number | null;
1253
+ length: number | null;
1254
+ height: number | null;
1255
+ width: number | null;
1256
+ metadata: Record<string, unknown> | null;
1257
+ variant_rank: number | null;
1258
+ thumbnail: string | null;
1259
+ product: /*elided*/ any;
1260
+ images: {
1261
+ id: string;
1262
+ url: string;
1263
+ metadata: Record<string, unknown> | null;
1264
+ rank: number;
1265
+ product: /*elided*/ any;
1266
+ variants: /*elided*/ any[];
1267
+ created_at: Date;
1268
+ updated_at: Date;
1269
+ deleted_at: Date | null;
1270
+ product_id: string;
1271
+ }[];
1272
+ options: /*elided*/ any[];
1273
+ raw_weight: Record<string, unknown> | null;
1274
+ raw_length: Record<string, unknown> | null;
1275
+ raw_height: Record<string, unknown> | null;
1276
+ raw_width: Record<string, unknown> | null;
1277
+ raw_variant_rank: Record<string, unknown> | null;
1278
+ created_at: Date;
1279
+ updated_at: Date;
1280
+ deleted_at: Date | null;
1281
+ product_id: string | null;
1282
+ }[];
1283
+ product_options: /*elided*/ any[];
1284
+ raw_rank: Record<string, unknown> | null;
1285
+ created_at: Date;
1286
+ updated_at: Date;
1287
+ deleted_at: Date | null;
1288
+ option_id: string | null;
1289
+ }[];
1290
+ created_at: Date;
1291
+ updated_at: Date;
1292
+ deleted_at: Date | null;
1293
+ product_id: string;
1294
+ product_option_id: string;
1295
+ }[];
729
1296
  images: {
730
1297
  id: string;
731
1298
  url: string;
@@ -771,6 +1338,27 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
771
1338
  deleted_at: Date | null;
772
1339
  };
773
1340
  variants: /*elided*/ any[];
1341
+ product_options: {
1342
+ id: string;
1343
+ product: /*elided*/ any;
1344
+ product_option: {
1345
+ id: string;
1346
+ title: string;
1347
+ is_exclusive: boolean;
1348
+ metadata: Record<string, unknown> | null;
1349
+ products: /*elided*/ any[];
1350
+ values: /*elided*/ any[];
1351
+ created_at: Date;
1352
+ updated_at: Date;
1353
+ deleted_at: Date | null;
1354
+ };
1355
+ values: /*elided*/ any[];
1356
+ created_at: Date;
1357
+ updated_at: Date;
1358
+ deleted_at: Date | null;
1359
+ product_id: string;
1360
+ product_option_id: string;
1361
+ }[];
774
1362
  raw_rank: Record<string, unknown> | null;
775
1363
  created_at: Date;
776
1364
  updated_at: Date;