@medusajs/product 3.0.0-snapshot-20251208164410 → 3.0.0-snapshot-20251211173847
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/Migration20250910154539.d.ts.map +1 -1
- package/dist/migrations/Migration20250910154539.js +0 -1
- package/dist/migrations/Migration20250910154539.js.map +1 -1
- package/dist/models/index.d.ts +0 -2
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +1 -5
- package/dist/models/index.js.map +1 -1
- package/dist/models/product-category.d.ts +6 -155
- package/dist/models/product-category.d.ts.map +1 -1
- package/dist/models/product-collection.d.ts +6 -155
- package/dist/models/product-collection.d.ts.map +1 -1
- package/dist/models/product-image.d.ts +14 -418
- package/dist/models/product-image.d.ts.map +1 -1
- package/dist/models/product-option-value.d.ts +12 -369
- package/dist/models/product-option-value.d.ts.map +1 -1
- package/dist/models/product-option-value.js +3 -14
- package/dist/models/product-option-value.js.map +1 -1
- package/dist/models/product-option.d.ts +6 -233
- package/dist/models/product-option.d.ts.map +1 -1
- package/dist/models/product-option.js +12 -4
- package/dist/models/product-option.js.map +1 -1
- package/dist/models/product-tag.d.ts +6 -155
- package/dist/models/product-tag.d.ts.map +1 -1
- package/dist/models/product-type.d.ts +6 -155
- package/dist/models/product-type.d.ts.map +1 -1
- package/dist/models/product-variant-product-image.d.ts +26 -780
- package/dist/models/product-variant-product-image.d.ts.map +1 -1
- package/dist/models/product-variant.d.ts +12 -362
- package/dist/models/product-variant.d.ts.map +1 -1
- package/dist/models/product.d.ts +6 -155
- package/dist/models/product.d.ts.map +1 -1
- package/dist/models/product.js +2 -7
- package/dist/models/product.js.map +1 -1
- package/dist/repositories/product-category.d.ts +15 -621
- package/dist/repositories/product-category.d.ts.map +1 -1
- package/dist/repositories/product.d.ts +6 -171
- package/dist/repositories/product.d.ts.map +1 -1
- package/dist/repositories/product.js +5 -50
- package/dist/repositories/product.js.map +1 -1
- package/dist/services/product-module-service.d.ts +2 -35
- package/dist/services/product-module-service.d.ts.map +1 -1
- package/dist/services/product-module-service.js +76 -660
- package/dist/services/product-module-service.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +4 -4
- package/dist/migrations/Migration20251022153442.d.ts +0 -6
- package/dist/migrations/Migration20251022153442.d.ts.map +0 -1
- package/dist/migrations/Migration20251022153442.js +0 -104
- package/dist/migrations/Migration20251022153442.js.map +0 -1
- package/dist/migrations/Migration20251029150809.d.ts +0 -6
- package/dist/migrations/Migration20251029150809.d.ts.map +0 -1
- package/dist/migrations/Migration20251029150809.js +0 -14
- package/dist/migrations/Migration20251029150809.js.map +0 -1
- package/dist/migrations/Migration20251110180907.d.ts +0 -6
- package/dist/migrations/Migration20251110180907.d.ts.map +0 -1
- package/dist/migrations/Migration20251110180907.js +0 -21
- package/dist/migrations/Migration20251110180907.js.map +0 -1
- package/dist/migrations/Migration20251113183352.d.ts +0 -6
- package/dist/migrations/Migration20251113183352.d.ts.map +0 -1
- package/dist/migrations/Migration20251113183352.js +0 -32
- package/dist/migrations/Migration20251113183352.js.map +0 -1
- package/dist/models/product-product-option-value.d.ts +0 -2213
- package/dist/models/product-product-option-value.d.ts.map +0 -1
- package/dist/models/product-product-option-value.js +0 -19
- package/dist/models/product-product-option-value.js.map +0 -1
- package/dist/models/product-product-option.d.ts +0 -1272
- package/dist/models/product-product-option.d.ts.map +0 -1
- package/dist/models/product-product-option.js +0 -24
- package/dist/models/product-product-option.js.map +0 -1
|
@@ -73,42 +73,19 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
|
|
|
73
73
|
options: {
|
|
74
74
|
id: string;
|
|
75
75
|
value: string;
|
|
76
|
-
rank: number | null;
|
|
77
76
|
metadata: Record<string, unknown> | null;
|
|
78
77
|
option: {
|
|
79
78
|
id: string;
|
|
80
79
|
title: string;
|
|
81
|
-
is_exclusive: boolean;
|
|
82
80
|
metadata: Record<string, unknown> | null;
|
|
83
|
-
products: /*elided*/ any[];
|
|
84
|
-
values: /*elided*/ any[];
|
|
85
|
-
created_at: Date;
|
|
86
|
-
updated_at: Date;
|
|
87
|
-
deleted_at: Date | null;
|
|
88
|
-
};
|
|
89
|
-
variants: /*elided*/ any[];
|
|
90
|
-
product_options: {
|
|
91
|
-
id: string;
|
|
92
81
|
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
82
|
values: /*elided*/ any[];
|
|
105
83
|
created_at: Date;
|
|
106
84
|
updated_at: Date;
|
|
107
85
|
deleted_at: Date | null;
|
|
108
86
|
product_id: string;
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
raw_rank: Record<string, unknown> | null;
|
|
87
|
+
};
|
|
88
|
+
variants: /*elided*/ any[];
|
|
112
89
|
created_at: Date;
|
|
113
90
|
updated_at: Date;
|
|
114
91
|
deleted_at: Date | null;
|
|
@@ -145,166 +122,13 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
|
|
|
145
122
|
options: {
|
|
146
123
|
id: string;
|
|
147
124
|
title: string;
|
|
148
|
-
is_exclusive: boolean;
|
|
149
125
|
metadata: Record<string, unknown> | null;
|
|
150
|
-
products: /*elided*/ any[];
|
|
151
|
-
values: {
|
|
152
|
-
id: string;
|
|
153
|
-
value: string;
|
|
154
|
-
rank: number | null;
|
|
155
|
-
metadata: Record<string, unknown> | null;
|
|
156
|
-
option: /*elided*/ any;
|
|
157
|
-
variants: {
|
|
158
|
-
id: string;
|
|
159
|
-
title: string;
|
|
160
|
-
sku: string | null;
|
|
161
|
-
barcode: string | null;
|
|
162
|
-
ean: string | null;
|
|
163
|
-
upc: string | null;
|
|
164
|
-
allow_backorder: boolean;
|
|
165
|
-
manage_inventory: boolean;
|
|
166
|
-
hs_code: string | null;
|
|
167
|
-
origin_country: string | null;
|
|
168
|
-
mid_code: string | null;
|
|
169
|
-
material: string | null;
|
|
170
|
-
weight: number | null;
|
|
171
|
-
length: number | null;
|
|
172
|
-
height: number | null;
|
|
173
|
-
width: number | null;
|
|
174
|
-
metadata: Record<string, unknown> | null;
|
|
175
|
-
variant_rank: number | null;
|
|
176
|
-
thumbnail: string | null;
|
|
177
|
-
product: /*elided*/ any;
|
|
178
|
-
images: {
|
|
179
|
-
id: string;
|
|
180
|
-
url: string;
|
|
181
|
-
metadata: Record<string, unknown> | null;
|
|
182
|
-
rank: number;
|
|
183
|
-
product: /*elided*/ any;
|
|
184
|
-
variants: /*elided*/ any[];
|
|
185
|
-
created_at: Date;
|
|
186
|
-
updated_at: Date;
|
|
187
|
-
deleted_at: Date | null;
|
|
188
|
-
product_id: string;
|
|
189
|
-
}[];
|
|
190
|
-
options: /*elided*/ any[];
|
|
191
|
-
raw_weight: Record<string, unknown> | null;
|
|
192
|
-
raw_length: Record<string, unknown> | null;
|
|
193
|
-
raw_height: Record<string, unknown> | null;
|
|
194
|
-
raw_width: Record<string, unknown> | null;
|
|
195
|
-
raw_variant_rank: Record<string, unknown> | null;
|
|
196
|
-
created_at: Date;
|
|
197
|
-
updated_at: Date;
|
|
198
|
-
deleted_at: Date | null;
|
|
199
|
-
product_id: string | null;
|
|
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
126
|
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
127
|
values: {
|
|
293
128
|
id: string;
|
|
294
129
|
value: string;
|
|
295
|
-
rank: number | null;
|
|
296
130
|
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
|
-
};
|
|
131
|
+
option: /*elided*/ any;
|
|
308
132
|
variants: {
|
|
309
133
|
id: string;
|
|
310
134
|
title: string;
|
|
@@ -349,8 +173,6 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
|
|
|
349
173
|
deleted_at: Date | null;
|
|
350
174
|
product_id: string | null;
|
|
351
175
|
}[];
|
|
352
|
-
product_options: /*elided*/ any[];
|
|
353
|
-
raw_rank: Record<string, unknown> | null;
|
|
354
176
|
created_at: Date;
|
|
355
177
|
updated_at: Date;
|
|
356
178
|
deleted_at: Date | null;
|
|
@@ -360,7 +182,6 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
|
|
|
360
182
|
updated_at: Date;
|
|
361
183
|
deleted_at: Date | null;
|
|
362
184
|
product_id: string;
|
|
363
|
-
product_option_id: string;
|
|
364
185
|
}[];
|
|
365
186
|
images: {
|
|
366
187
|
id: string;
|
|
@@ -393,42 +214,19 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
|
|
|
393
214
|
options: {
|
|
394
215
|
id: string;
|
|
395
216
|
value: string;
|
|
396
|
-
rank: number | null;
|
|
397
217
|
metadata: Record<string, unknown> | null;
|
|
398
218
|
option: {
|
|
399
219
|
id: string;
|
|
400
220
|
title: string;
|
|
401
|
-
is_exclusive: boolean;
|
|
402
221
|
metadata: Record<string, unknown> | null;
|
|
403
|
-
products: /*elided*/ any[];
|
|
404
|
-
values: /*elided*/ any[];
|
|
405
|
-
created_at: Date;
|
|
406
|
-
updated_at: Date;
|
|
407
|
-
deleted_at: Date | null;
|
|
408
|
-
};
|
|
409
|
-
variants: /*elided*/ any[];
|
|
410
|
-
product_options: {
|
|
411
|
-
id: string;
|
|
412
222
|
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
223
|
values: /*elided*/ any[];
|
|
425
224
|
created_at: Date;
|
|
426
225
|
updated_at: Date;
|
|
427
226
|
deleted_at: Date | null;
|
|
428
227
|
product_id: string;
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
raw_rank: Record<string, unknown> | null;
|
|
228
|
+
};
|
|
229
|
+
variants: /*elided*/ any[];
|
|
432
230
|
created_at: Date;
|
|
433
231
|
updated_at: Date;
|
|
434
232
|
deleted_at: Date | null;
|
|
@@ -538,42 +336,19 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
|
|
|
538
336
|
options: {
|
|
539
337
|
id: string;
|
|
540
338
|
value: string;
|
|
541
|
-
rank: number | null;
|
|
542
339
|
metadata: Record<string, unknown> | null;
|
|
543
340
|
option: {
|
|
544
341
|
id: string;
|
|
545
342
|
title: string;
|
|
546
|
-
is_exclusive: boolean;
|
|
547
343
|
metadata: Record<string, unknown> | null;
|
|
548
|
-
products: /*elided*/ any[];
|
|
549
|
-
values: /*elided*/ any[];
|
|
550
|
-
created_at: Date;
|
|
551
|
-
updated_at: Date;
|
|
552
|
-
deleted_at: Date | null;
|
|
553
|
-
};
|
|
554
|
-
variants: /*elided*/ any[];
|
|
555
|
-
product_options: {
|
|
556
|
-
id: string;
|
|
557
344
|
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
345
|
values: /*elided*/ any[];
|
|
570
346
|
created_at: Date;
|
|
571
347
|
updated_at: Date;
|
|
572
348
|
deleted_at: Date | null;
|
|
573
349
|
product_id: string;
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
raw_rank: Record<string, unknown> | null;
|
|
350
|
+
};
|
|
351
|
+
variants: /*elided*/ any[];
|
|
577
352
|
created_at: Date;
|
|
578
353
|
updated_at: Date;
|
|
579
354
|
deleted_at: Date | null;
|
|
@@ -610,166 +385,13 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
|
|
|
610
385
|
options: {
|
|
611
386
|
id: string;
|
|
612
387
|
title: string;
|
|
613
|
-
is_exclusive: boolean;
|
|
614
388
|
metadata: Record<string, unknown> | null;
|
|
615
|
-
products: /*elided*/ any[];
|
|
616
|
-
values: {
|
|
617
|
-
id: string;
|
|
618
|
-
value: string;
|
|
619
|
-
rank: number | null;
|
|
620
|
-
metadata: Record<string, unknown> | null;
|
|
621
|
-
option: /*elided*/ any;
|
|
622
|
-
variants: {
|
|
623
|
-
id: string;
|
|
624
|
-
title: string;
|
|
625
|
-
sku: string | null;
|
|
626
|
-
barcode: string | null;
|
|
627
|
-
ean: string | null;
|
|
628
|
-
upc: string | null;
|
|
629
|
-
allow_backorder: boolean;
|
|
630
|
-
manage_inventory: boolean;
|
|
631
|
-
hs_code: string | null;
|
|
632
|
-
origin_country: string | null;
|
|
633
|
-
mid_code: string | null;
|
|
634
|
-
material: string | null;
|
|
635
|
-
weight: number | null;
|
|
636
|
-
length: number | null;
|
|
637
|
-
height: number | null;
|
|
638
|
-
width: number | null;
|
|
639
|
-
metadata: Record<string, unknown> | null;
|
|
640
|
-
variant_rank: number | null;
|
|
641
|
-
thumbnail: string | null;
|
|
642
|
-
product: /*elided*/ any;
|
|
643
|
-
images: {
|
|
644
|
-
id: string;
|
|
645
|
-
url: string;
|
|
646
|
-
metadata: Record<string, unknown> | null;
|
|
647
|
-
rank: number;
|
|
648
|
-
product: /*elided*/ any;
|
|
649
|
-
variants: /*elided*/ any[];
|
|
650
|
-
created_at: Date;
|
|
651
|
-
updated_at: Date;
|
|
652
|
-
deleted_at: Date | null;
|
|
653
|
-
product_id: string;
|
|
654
|
-
}[];
|
|
655
|
-
options: /*elided*/ any[];
|
|
656
|
-
raw_weight: Record<string, unknown> | null;
|
|
657
|
-
raw_length: Record<string, unknown> | null;
|
|
658
|
-
raw_height: Record<string, unknown> | null;
|
|
659
|
-
raw_width: Record<string, unknown> | null;
|
|
660
|
-
raw_variant_rank: Record<string, unknown> | null;
|
|
661
|
-
created_at: Date;
|
|
662
|
-
updated_at: Date;
|
|
663
|
-
deleted_at: Date | null;
|
|
664
|
-
product_id: string | null;
|
|
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
389
|
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
390
|
values: {
|
|
758
391
|
id: string;
|
|
759
392
|
value: string;
|
|
760
|
-
rank: number | null;
|
|
761
393
|
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
|
-
};
|
|
394
|
+
option: /*elided*/ any;
|
|
773
395
|
variants: {
|
|
774
396
|
id: string;
|
|
775
397
|
title: string;
|
|
@@ -814,8 +436,6 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
|
|
|
814
436
|
deleted_at: Date | null;
|
|
815
437
|
product_id: string | null;
|
|
816
438
|
}[];
|
|
817
|
-
product_options: /*elided*/ any[];
|
|
818
|
-
raw_rank: Record<string, unknown> | null;
|
|
819
439
|
created_at: Date;
|
|
820
440
|
updated_at: Date;
|
|
821
441
|
deleted_at: Date | null;
|
|
@@ -825,7 +445,6 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
|
|
|
825
445
|
updated_at: Date;
|
|
826
446
|
deleted_at: Date | null;
|
|
827
447
|
product_id: string;
|
|
828
|
-
product_option_id: string;
|
|
829
448
|
}[];
|
|
830
449
|
images: {
|
|
831
450
|
id: string;
|
|
@@ -858,42 +477,19 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
|
|
|
858
477
|
options: {
|
|
859
478
|
id: string;
|
|
860
479
|
value: string;
|
|
861
|
-
rank: number | null;
|
|
862
480
|
metadata: Record<string, unknown> | null;
|
|
863
481
|
option: {
|
|
864
482
|
id: string;
|
|
865
483
|
title: string;
|
|
866
|
-
is_exclusive: boolean;
|
|
867
484
|
metadata: Record<string, unknown> | null;
|
|
868
|
-
products: /*elided*/ any[];
|
|
869
|
-
values: /*elided*/ any[];
|
|
870
|
-
created_at: Date;
|
|
871
|
-
updated_at: Date;
|
|
872
|
-
deleted_at: Date | null;
|
|
873
|
-
};
|
|
874
|
-
variants: /*elided*/ any[];
|
|
875
|
-
product_options: {
|
|
876
|
-
id: string;
|
|
877
485
|
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
486
|
values: /*elided*/ any[];
|
|
890
487
|
created_at: Date;
|
|
891
488
|
updated_at: Date;
|
|
892
489
|
deleted_at: Date | null;
|
|
893
490
|
product_id: string;
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
raw_rank: Record<string, unknown> | null;
|
|
491
|
+
};
|
|
492
|
+
variants: /*elided*/ any[];
|
|
897
493
|
created_at: Date;
|
|
898
494
|
updated_at: Date;
|
|
899
495
|
deleted_at: Date | null;
|
|
@@ -1004,42 +600,19 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
|
|
|
1004
600
|
options: {
|
|
1005
601
|
id: string;
|
|
1006
602
|
value: string;
|
|
1007
|
-
rank: number | null;
|
|
1008
603
|
metadata: Record<string, unknown> | null;
|
|
1009
604
|
option: {
|
|
1010
605
|
id: string;
|
|
1011
606
|
title: string;
|
|
1012
|
-
is_exclusive: boolean;
|
|
1013
607
|
metadata: Record<string, unknown> | null;
|
|
1014
|
-
products: /*elided*/ any[];
|
|
1015
|
-
values: /*elided*/ any[];
|
|
1016
|
-
created_at: Date;
|
|
1017
|
-
updated_at: Date;
|
|
1018
|
-
deleted_at: Date | null;
|
|
1019
|
-
};
|
|
1020
|
-
variants: /*elided*/ any[];
|
|
1021
|
-
product_options: {
|
|
1022
|
-
id: string;
|
|
1023
608
|
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
609
|
values: /*elided*/ any[];
|
|
1036
610
|
created_at: Date;
|
|
1037
611
|
updated_at: Date;
|
|
1038
612
|
deleted_at: Date | null;
|
|
1039
613
|
product_id: string;
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
raw_rank: Record<string, unknown> | null;
|
|
614
|
+
};
|
|
615
|
+
variants: /*elided*/ any[];
|
|
1043
616
|
created_at: Date;
|
|
1044
617
|
updated_at: Date;
|
|
1045
618
|
deleted_at: Date | null;
|
|
@@ -1076,166 +649,13 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
|
|
|
1076
649
|
options: {
|
|
1077
650
|
id: string;
|
|
1078
651
|
title: string;
|
|
1079
|
-
is_exclusive: boolean;
|
|
1080
652
|
metadata: Record<string, unknown> | null;
|
|
1081
|
-
products: /*elided*/ any[];
|
|
1082
|
-
values: {
|
|
1083
|
-
id: string;
|
|
1084
|
-
value: string;
|
|
1085
|
-
rank: number | null;
|
|
1086
|
-
metadata: Record<string, unknown> | null;
|
|
1087
|
-
option: /*elided*/ any;
|
|
1088
|
-
variants: {
|
|
1089
|
-
id: string;
|
|
1090
|
-
title: string;
|
|
1091
|
-
sku: string | null;
|
|
1092
|
-
barcode: string | null;
|
|
1093
|
-
ean: string | null;
|
|
1094
|
-
upc: string | null;
|
|
1095
|
-
allow_backorder: boolean;
|
|
1096
|
-
manage_inventory: boolean;
|
|
1097
|
-
hs_code: string | null;
|
|
1098
|
-
origin_country: string | null;
|
|
1099
|
-
mid_code: string | null;
|
|
1100
|
-
material: string | null;
|
|
1101
|
-
weight: number | null;
|
|
1102
|
-
length: number | null;
|
|
1103
|
-
height: number | null;
|
|
1104
|
-
width: number | null;
|
|
1105
|
-
metadata: Record<string, unknown> | null;
|
|
1106
|
-
variant_rank: number | null;
|
|
1107
|
-
thumbnail: string | null;
|
|
1108
|
-
product: /*elided*/ any;
|
|
1109
|
-
images: {
|
|
1110
|
-
id: string;
|
|
1111
|
-
url: string;
|
|
1112
|
-
metadata: Record<string, unknown> | null;
|
|
1113
|
-
rank: number;
|
|
1114
|
-
product: /*elided*/ any;
|
|
1115
|
-
variants: /*elided*/ any[];
|
|
1116
|
-
created_at: Date;
|
|
1117
|
-
updated_at: Date;
|
|
1118
|
-
deleted_at: Date | null;
|
|
1119
|
-
product_id: string;
|
|
1120
|
-
}[];
|
|
1121
|
-
options: /*elided*/ any[];
|
|
1122
|
-
raw_weight: Record<string, unknown> | null;
|
|
1123
|
-
raw_length: Record<string, unknown> | null;
|
|
1124
|
-
raw_height: Record<string, unknown> | null;
|
|
1125
|
-
raw_width: Record<string, unknown> | null;
|
|
1126
|
-
raw_variant_rank: Record<string, unknown> | null;
|
|
1127
|
-
created_at: Date;
|
|
1128
|
-
updated_at: Date;
|
|
1129
|
-
deleted_at: Date | null;
|
|
1130
|
-
product_id: string | null;
|
|
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
653
|
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
654
|
values: {
|
|
1224
655
|
id: string;
|
|
1225
656
|
value: string;
|
|
1226
|
-
rank: number | null;
|
|
1227
657
|
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
|
-
};
|
|
658
|
+
option: /*elided*/ any;
|
|
1239
659
|
variants: {
|
|
1240
660
|
id: string;
|
|
1241
661
|
title: string;
|
|
@@ -1280,8 +700,6 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
|
|
|
1280
700
|
deleted_at: Date | null;
|
|
1281
701
|
product_id: string | null;
|
|
1282
702
|
}[];
|
|
1283
|
-
product_options: /*elided*/ any[];
|
|
1284
|
-
raw_rank: Record<string, unknown> | null;
|
|
1285
703
|
created_at: Date;
|
|
1286
704
|
updated_at: Date;
|
|
1287
705
|
deleted_at: Date | null;
|
|
@@ -1291,7 +709,6 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
|
|
|
1291
709
|
updated_at: Date;
|
|
1292
710
|
deleted_at: Date | null;
|
|
1293
711
|
product_id: string;
|
|
1294
|
-
product_option_id: string;
|
|
1295
712
|
}[];
|
|
1296
713
|
images: {
|
|
1297
714
|
id: string;
|
|
@@ -1324,42 +741,19 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
|
|
|
1324
741
|
options: {
|
|
1325
742
|
id: string;
|
|
1326
743
|
value: string;
|
|
1327
|
-
rank: number | null;
|
|
1328
744
|
metadata: Record<string, unknown> | null;
|
|
1329
745
|
option: {
|
|
1330
746
|
id: string;
|
|
1331
747
|
title: string;
|
|
1332
|
-
is_exclusive: boolean;
|
|
1333
748
|
metadata: Record<string, unknown> | null;
|
|
1334
|
-
products: /*elided*/ any[];
|
|
1335
|
-
values: /*elided*/ any[];
|
|
1336
|
-
created_at: Date;
|
|
1337
|
-
updated_at: Date;
|
|
1338
|
-
deleted_at: Date | null;
|
|
1339
|
-
};
|
|
1340
|
-
variants: /*elided*/ any[];
|
|
1341
|
-
product_options: {
|
|
1342
|
-
id: string;
|
|
1343
749
|
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
750
|
values: /*elided*/ any[];
|
|
1356
751
|
created_at: Date;
|
|
1357
752
|
updated_at: Date;
|
|
1358
753
|
deleted_at: Date | null;
|
|
1359
754
|
product_id: string;
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
raw_rank: Record<string, unknown> | null;
|
|
755
|
+
};
|
|
756
|
+
variants: /*elided*/ any[];
|
|
1363
757
|
created_at: Date;
|
|
1364
758
|
updated_at: Date;
|
|
1365
759
|
deleted_at: Date | null;
|