@medusajs/product 3.0.0-snapshot-20251202221811 → 3.0.0-snapshot-20251208164410
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.
- package/dist/migrations/Migration20251022153442.d.ts +6 -0
- package/dist/migrations/Migration20251022153442.d.ts.map +1 -0
- package/dist/migrations/Migration20251022153442.js +104 -0
- package/dist/migrations/Migration20251022153442.js.map +1 -0
- package/dist/migrations/Migration20251029150809.d.ts +6 -0
- package/dist/migrations/Migration20251029150809.d.ts.map +1 -0
- package/dist/migrations/Migration20251029150809.js +14 -0
- package/dist/migrations/Migration20251029150809.js.map +1 -0
- package/dist/migrations/Migration20251110180907.d.ts +6 -0
- package/dist/migrations/Migration20251110180907.d.ts.map +1 -0
- package/dist/migrations/Migration20251110180907.js +21 -0
- package/dist/migrations/Migration20251110180907.js.map +1 -0
- package/dist/migrations/Migration20251113183352.d.ts +6 -0
- package/dist/migrations/Migration20251113183352.d.ts.map +1 -0
- package/dist/migrations/Migration20251113183352.js +32 -0
- package/dist/migrations/Migration20251113183352.js.map +1 -0
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +5 -1
- package/dist/models/index.js.map +1 -1
- package/dist/models/product-category.d.ts +155 -6
- package/dist/models/product-category.d.ts.map +1 -1
- package/dist/models/product-collection.d.ts +155 -6
- package/dist/models/product-collection.d.ts.map +1 -1
- package/dist/models/product-image.d.ts +418 -14
- package/dist/models/product-image.d.ts.map +1 -1
- package/dist/models/product-option-value.d.ts +369 -12
- package/dist/models/product-option-value.d.ts.map +1 -1
- package/dist/models/product-option-value.js +14 -3
- package/dist/models/product-option-value.js.map +1 -1
- package/dist/models/product-option.d.ts +233 -6
- package/dist/models/product-option.d.ts.map +1 -1
- package/dist/models/product-option.js +4 -12
- package/dist/models/product-option.js.map +1 -1
- package/dist/models/product-product-option-value.d.ts +2213 -0
- package/dist/models/product-product-option-value.d.ts.map +1 -0
- package/dist/models/product-product-option-value.js +19 -0
- package/dist/models/product-product-option-value.js.map +1 -0
- package/dist/models/product-product-option.d.ts +1272 -0
- package/dist/models/product-product-option.d.ts.map +1 -0
- package/dist/models/product-product-option.js +24 -0
- package/dist/models/product-product-option.js.map +1 -0
- package/dist/models/product-tag.d.ts +155 -6
- package/dist/models/product-tag.d.ts.map +1 -1
- package/dist/models/product-type.d.ts +155 -6
- package/dist/models/product-type.d.ts.map +1 -1
- package/dist/models/product-variant-product-image.d.ts +780 -26
- package/dist/models/product-variant-product-image.d.ts.map +1 -1
- package/dist/models/product-variant.d.ts +362 -12
- package/dist/models/product-variant.d.ts.map +1 -1
- package/dist/models/product.d.ts +155 -6
- package/dist/models/product.d.ts.map +1 -1
- package/dist/models/product.js +7 -2
- package/dist/models/product.js.map +1 -1
- package/dist/repositories/product-category.d.ts +621 -15
- package/dist/repositories/product-category.d.ts.map +1 -1
- package/dist/repositories/product.d.ts +171 -6
- package/dist/repositories/product.d.ts.map +1 -1
- package/dist/repositories/product.js +50 -5
- package/dist/repositories/product.js.map +1 -1
- package/dist/services/product-module-service.d.ts +35 -2
- package/dist/services/product-module-service.d.ts.map +1 -1
- package/dist/services/product-module-service.js +660 -76
- package/dist/services/product-module-service.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +4 -4
|
@@ -73,19 +73,42 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
|
|
|
73
73
|
options: {
|
|
74
74
|
id: string;
|
|
75
75
|
value: string;
|
|
76
|
+
rank: number | null;
|
|
76
77
|
metadata: Record<string, unknown> | null;
|
|
77
78
|
option: {
|
|
78
79
|
id: string;
|
|
79
80
|
title: string;
|
|
81
|
+
is_exclusive: boolean;
|
|
80
82
|
metadata: Record<string, unknown> | null;
|
|
81
|
-
|
|
83
|
+
products: /*elided*/ any[];
|
|
82
84
|
values: /*elided*/ any[];
|
|
83
85
|
created_at: Date;
|
|
84
86
|
updated_at: Date;
|
|
85
87
|
deleted_at: Date | null;
|
|
86
|
-
product_id: string;
|
|
87
88
|
};
|
|
88
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
|
+
}[];
|
|
111
|
+
raw_rank: Record<string, unknown> | null;
|
|
89
112
|
created_at: Date;
|
|
90
113
|
updated_at: Date;
|
|
91
114
|
deleted_at: Date | null;
|
|
@@ -122,11 +145,13 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
|
|
|
122
145
|
options: {
|
|
123
146
|
id: string;
|
|
124
147
|
title: string;
|
|
148
|
+
is_exclusive: boolean;
|
|
125
149
|
metadata: Record<string, unknown> | null;
|
|
126
|
-
|
|
150
|
+
products: /*elided*/ any[];
|
|
127
151
|
values: {
|
|
128
152
|
id: string;
|
|
129
153
|
value: string;
|
|
154
|
+
rank: number | null;
|
|
130
155
|
metadata: Record<string, unknown> | null;
|
|
131
156
|
option: /*elided*/ any;
|
|
132
157
|
variants: {
|
|
@@ -173,6 +198,159 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
|
|
|
173
198
|
deleted_at: Date | null;
|
|
174
199
|
product_id: string | null;
|
|
175
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[];
|
|
353
|
+
raw_rank: Record<string, unknown> | null;
|
|
176
354
|
created_at: Date;
|
|
177
355
|
updated_at: Date;
|
|
178
356
|
deleted_at: Date | null;
|
|
@@ -182,6 +360,7 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
|
|
|
182
360
|
updated_at: Date;
|
|
183
361
|
deleted_at: Date | null;
|
|
184
362
|
product_id: string;
|
|
363
|
+
product_option_id: string;
|
|
185
364
|
}[];
|
|
186
365
|
images: {
|
|
187
366
|
id: string;
|
|
@@ -214,19 +393,42 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
|
|
|
214
393
|
options: {
|
|
215
394
|
id: string;
|
|
216
395
|
value: string;
|
|
396
|
+
rank: number | null;
|
|
217
397
|
metadata: Record<string, unknown> | null;
|
|
218
398
|
option: {
|
|
219
399
|
id: string;
|
|
220
400
|
title: string;
|
|
401
|
+
is_exclusive: boolean;
|
|
221
402
|
metadata: Record<string, unknown> | null;
|
|
222
|
-
|
|
403
|
+
products: /*elided*/ any[];
|
|
223
404
|
values: /*elided*/ any[];
|
|
224
405
|
created_at: Date;
|
|
225
406
|
updated_at: Date;
|
|
226
407
|
deleted_at: Date | null;
|
|
227
|
-
product_id: string;
|
|
228
408
|
};
|
|
229
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
|
+
}[];
|
|
431
|
+
raw_rank: Record<string, unknown> | null;
|
|
230
432
|
created_at: Date;
|
|
231
433
|
updated_at: Date;
|
|
232
434
|
deleted_at: Date | null;
|
|
@@ -336,19 +538,42 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
|
|
|
336
538
|
options: {
|
|
337
539
|
id: string;
|
|
338
540
|
value: string;
|
|
541
|
+
rank: number | null;
|
|
339
542
|
metadata: Record<string, unknown> | null;
|
|
340
543
|
option: {
|
|
341
544
|
id: string;
|
|
342
545
|
title: string;
|
|
546
|
+
is_exclusive: boolean;
|
|
343
547
|
metadata: Record<string, unknown> | null;
|
|
344
|
-
|
|
548
|
+
products: /*elided*/ any[];
|
|
345
549
|
values: /*elided*/ any[];
|
|
346
550
|
created_at: Date;
|
|
347
551
|
updated_at: Date;
|
|
348
552
|
deleted_at: Date | null;
|
|
349
|
-
product_id: string;
|
|
350
553
|
};
|
|
351
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
|
+
}[];
|
|
576
|
+
raw_rank: Record<string, unknown> | null;
|
|
352
577
|
created_at: Date;
|
|
353
578
|
updated_at: Date;
|
|
354
579
|
deleted_at: Date | null;
|
|
@@ -385,11 +610,13 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
|
|
|
385
610
|
options: {
|
|
386
611
|
id: string;
|
|
387
612
|
title: string;
|
|
613
|
+
is_exclusive: boolean;
|
|
388
614
|
metadata: Record<string, unknown> | null;
|
|
389
|
-
|
|
615
|
+
products: /*elided*/ any[];
|
|
390
616
|
values: {
|
|
391
617
|
id: string;
|
|
392
618
|
value: string;
|
|
619
|
+
rank: number | null;
|
|
393
620
|
metadata: Record<string, unknown> | null;
|
|
394
621
|
option: /*elided*/ any;
|
|
395
622
|
variants: {
|
|
@@ -436,6 +663,159 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
|
|
|
436
663
|
deleted_at: Date | null;
|
|
437
664
|
product_id: string | null;
|
|
438
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
|
+
}[];
|
|
677
|
+
raw_rank: Record<string, unknown> | null;
|
|
678
|
+
created_at: Date;
|
|
679
|
+
updated_at: Date;
|
|
680
|
+
deleted_at: Date | null;
|
|
681
|
+
option_id: string | null;
|
|
682
|
+
}[];
|
|
683
|
+
created_at: Date;
|
|
684
|
+
updated_at: Date;
|
|
685
|
+
deleted_at: Date | null;
|
|
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;
|
|
439
819
|
created_at: Date;
|
|
440
820
|
updated_at: Date;
|
|
441
821
|
deleted_at: Date | null;
|
|
@@ -445,6 +825,7 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
|
|
|
445
825
|
updated_at: Date;
|
|
446
826
|
deleted_at: Date | null;
|
|
447
827
|
product_id: string;
|
|
828
|
+
product_option_id: string;
|
|
448
829
|
}[];
|
|
449
830
|
images: {
|
|
450
831
|
id: string;
|
|
@@ -477,19 +858,42 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
|
|
|
477
858
|
options: {
|
|
478
859
|
id: string;
|
|
479
860
|
value: string;
|
|
861
|
+
rank: number | null;
|
|
480
862
|
metadata: Record<string, unknown> | null;
|
|
481
863
|
option: {
|
|
482
864
|
id: string;
|
|
483
865
|
title: string;
|
|
866
|
+
is_exclusive: boolean;
|
|
484
867
|
metadata: Record<string, unknown> | null;
|
|
485
|
-
|
|
868
|
+
products: /*elided*/ any[];
|
|
486
869
|
values: /*elided*/ any[];
|
|
487
870
|
created_at: Date;
|
|
488
871
|
updated_at: Date;
|
|
489
872
|
deleted_at: Date | null;
|
|
490
|
-
product_id: string;
|
|
491
873
|
};
|
|
492
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
|
+
}[];
|
|
896
|
+
raw_rank: Record<string, unknown> | null;
|
|
493
897
|
created_at: Date;
|
|
494
898
|
updated_at: Date;
|
|
495
899
|
deleted_at: Date | null;
|
|
@@ -600,19 +1004,42 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
|
|
|
600
1004
|
options: {
|
|
601
1005
|
id: string;
|
|
602
1006
|
value: string;
|
|
1007
|
+
rank: number | null;
|
|
603
1008
|
metadata: Record<string, unknown> | null;
|
|
604
1009
|
option: {
|
|
605
1010
|
id: string;
|
|
606
1011
|
title: string;
|
|
1012
|
+
is_exclusive: boolean;
|
|
607
1013
|
metadata: Record<string, unknown> | null;
|
|
608
|
-
|
|
1014
|
+
products: /*elided*/ any[];
|
|
609
1015
|
values: /*elided*/ any[];
|
|
610
1016
|
created_at: Date;
|
|
611
1017
|
updated_at: Date;
|
|
612
1018
|
deleted_at: Date | null;
|
|
613
|
-
product_id: string;
|
|
614
1019
|
};
|
|
615
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
|
+
}[];
|
|
1042
|
+
raw_rank: Record<string, unknown> | null;
|
|
616
1043
|
created_at: Date;
|
|
617
1044
|
updated_at: Date;
|
|
618
1045
|
deleted_at: Date | null;
|
|
@@ -649,11 +1076,13 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
|
|
|
649
1076
|
options: {
|
|
650
1077
|
id: string;
|
|
651
1078
|
title: string;
|
|
1079
|
+
is_exclusive: boolean;
|
|
652
1080
|
metadata: Record<string, unknown> | null;
|
|
653
|
-
|
|
1081
|
+
products: /*elided*/ any[];
|
|
654
1082
|
values: {
|
|
655
1083
|
id: string;
|
|
656
1084
|
value: string;
|
|
1085
|
+
rank: number | null;
|
|
657
1086
|
metadata: Record<string, unknown> | null;
|
|
658
1087
|
option: /*elided*/ any;
|
|
659
1088
|
variants: {
|
|
@@ -700,6 +1129,159 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
|
|
|
700
1129
|
deleted_at: Date | null;
|
|
701
1130
|
product_id: string | null;
|
|
702
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
|
+
}[];
|
|
1143
|
+
raw_rank: Record<string, unknown> | null;
|
|
1144
|
+
created_at: Date;
|
|
1145
|
+
updated_at: Date;
|
|
1146
|
+
deleted_at: Date | null;
|
|
1147
|
+
option_id: string | null;
|
|
1148
|
+
}[];
|
|
1149
|
+
created_at: Date;
|
|
1150
|
+
updated_at: Date;
|
|
1151
|
+
deleted_at: Date | null;
|
|
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;
|
|
703
1285
|
created_at: Date;
|
|
704
1286
|
updated_at: Date;
|
|
705
1287
|
deleted_at: Date | null;
|
|
@@ -709,6 +1291,7 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
|
|
|
709
1291
|
updated_at: Date;
|
|
710
1292
|
deleted_at: Date | null;
|
|
711
1293
|
product_id: string;
|
|
1294
|
+
product_option_id: string;
|
|
712
1295
|
}[];
|
|
713
1296
|
images: {
|
|
714
1297
|
id: string;
|
|
@@ -741,19 +1324,42 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
|
|
|
741
1324
|
options: {
|
|
742
1325
|
id: string;
|
|
743
1326
|
value: string;
|
|
1327
|
+
rank: number | null;
|
|
744
1328
|
metadata: Record<string, unknown> | null;
|
|
745
1329
|
option: {
|
|
746
1330
|
id: string;
|
|
747
1331
|
title: string;
|
|
1332
|
+
is_exclusive: boolean;
|
|
748
1333
|
metadata: Record<string, unknown> | null;
|
|
749
|
-
|
|
1334
|
+
products: /*elided*/ any[];
|
|
750
1335
|
values: /*elided*/ any[];
|
|
751
1336
|
created_at: Date;
|
|
752
1337
|
updated_at: Date;
|
|
753
1338
|
deleted_at: Date | null;
|
|
754
|
-
product_id: string;
|
|
755
1339
|
};
|
|
756
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
|
+
}[];
|
|
1362
|
+
raw_rank: Record<string, unknown> | null;
|
|
757
1363
|
created_at: Date;
|
|
758
1364
|
updated_at: Date;
|
|
759
1365
|
deleted_at: Date | null;
|