@medusajs/product 2.22.3 → 2.22.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.
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/joiner-config.d.ts +1 -1
- package/dist/migrations/InitialSetup20240401153642.d.ts.map +1 -1
- package/dist/migrations/InitialSetup20240401153642.js.map +1 -1
- package/dist/migrations/Migration20240601111544.d.ts.map +1 -1
- package/dist/migrations/Migration20240601111544.js.map +1 -1
- package/dist/migrations/Migration202408271511.d.ts.map +1 -1
- package/dist/migrations/Migration202408271511.js.map +1 -1
- package/dist/migrations/Migration20241122120331.d.ts.map +1 -1
- package/dist/migrations/Migration20241122120331.js.map +1 -1
- package/dist/migrations/Migration20241125090957.d.ts.map +1 -1
- package/dist/migrations/Migration20241125090957.js.map +1 -1
- package/dist/migrations/Migration20250411073236.d.ts.map +1 -1
- package/dist/migrations/Migration20250411073236.js.map +1 -1
- package/dist/migrations/Migration20250516081326.d.ts.map +1 -1
- package/dist/migrations/Migration20250516081326.js.map +1 -1
- package/dist/migrations/Migration20250910154539.d.ts.map +1 -1
- package/dist/migrations/Migration20250910154539.js.map +1 -1
- package/dist/migrations/Migration20250911092221.d.ts.map +1 -1
- package/dist/migrations/Migration20250911092221.js.map +1 -1
- package/dist/migrations/Migration20250929204438.d.ts.map +1 -1
- package/dist/migrations/Migration20250929204438.js.map +1 -1
- package/dist/migrations/Migration20251008132218.d.ts.map +1 -1
- package/dist/migrations/Migration20251008132218.js.map +1 -1
- package/dist/migrations/Migration20251011090511.d.ts.map +1 -1
- package/dist/migrations/Migration20251011090511.js.map +1 -1
- package/dist/migrations/Migration20251022153442.d.ts.map +1 -1
- package/dist/migrations/Migration20251022153442.js.map +1 -1
- package/dist/migrations/Migration20251029150809.d.ts.map +1 -1
- package/dist/migrations/Migration20251029150809.js.map +1 -1
- package/dist/migrations/Migration20251110180907.d.ts.map +1 -1
- package/dist/migrations/Migration20251110180907.js.map +1 -1
- package/dist/migrations/Migration20251113183352.d.ts.map +1 -1
- package/dist/migrations/Migration20251113183352.js.map +1 -1
- package/dist/migrations/Migration20260224120000.d.ts.map +1 -1
- package/dist/migrations/Migration20260224120000.js.map +1 -1
- package/dist/migrations/Migration20260301002050.d.ts.map +1 -1
- package/dist/migrations/Migration20260301002050.js.map +1 -1
- package/dist/migrations/Migration20260306120000.d.ts.map +1 -1
- package/dist/migrations/Migration20260306120000.js.map +1 -1
- package/dist/migrations/Migration20260623180000.d.ts.map +1 -1
- package/dist/migrations/Migration20260623180000.js.map +1 -1
- package/dist/migrations/Migration20260730104846.d.ts.map +1 -1
- package/dist/migrations/Migration20260730104846.js.map +1 -1
- package/dist/models/product-category.d.ts +16 -218
- package/dist/models/product-category.d.ts.map +1 -1
- package/dist/models/product-category.js.map +1 -1
- package/dist/models/product-collection.d.ts +16 -218
- package/dist/models/product-collection.d.ts.map +1 -1
- package/dist/models/product-collection.js.map +1 -1
- package/dist/models/product-image.d.ts +25 -767
- package/dist/models/product-image.d.ts.map +1 -1
- package/dist/models/product-image.js.map +1 -1
- package/dist/models/product-option-value.d.ts +32 -701
- package/dist/models/product-option-value.d.ts.map +1 -1
- package/dist/models/product-option-value.js.map +1 -1
- package/dist/models/product-option.d.ts +15 -543
- package/dist/models/product-option.d.ts.map +1 -1
- package/dist/models/product-option.js.map +1 -1
- package/dist/models/product-product-option-value.d.ts +24 -2127
- package/dist/models/product-product-option-value.d.ts.map +1 -1
- package/dist/models/product-product-option-value.js.map +1 -1
- package/dist/models/product-product-option.d.ts +18 -1164
- package/dist/models/product-product-option.d.ts.map +1 -1
- package/dist/models/product-product-option.js.map +1 -1
- package/dist/models/product-tag.d.ts +16 -218
- package/dist/models/product-tag.d.ts.map +1 -1
- package/dist/models/product-tag.js.map +1 -1
- package/dist/models/product-type.d.ts +16 -218
- package/dist/models/product-type.d.ts.map +1 -1
- package/dist/models/product-type.js.map +1 -1
- package/dist/models/product-variant-product-image.d.ts +36 -1599
- package/dist/models/product-variant-product-image.d.ts.map +1 -1
- package/dist/models/product-variant-product-image.js.map +1 -1
- package/dist/models/product-variant.d.ts +34 -636
- package/dist/models/product-variant.d.ts.map +1 -1
- package/dist/models/product-variant.js.map +1 -1
- package/dist/models/product.d.ts +16 -218
- package/dist/models/product.d.ts.map +1 -1
- package/dist/models/product.js.map +1 -1
- package/dist/repositories/product-category.d.ts +207 -996
- package/dist/repositories/product-category.d.ts.map +1 -1
- package/dist/repositories/product-category.js.map +1 -1
- package/dist/repositories/product.d.ts +16 -218
- package/dist/repositories/product.d.ts.map +1 -1
- package/dist/repositories/product.js.map +1 -1
- package/dist/schema/index.d.ts +1 -1
- package/dist/schema/index.d.ts.map +1 -1
- package/dist/schema/index.js.map +1 -1
- package/dist/services/product-category.d.ts.map +1 -1
- package/dist/services/product-category.js.map +1 -1
- package/dist/services/product-module-service.d.ts.map +1 -1
- package/dist/services/product-module-service.js.map +1 -1
- package/dist/utils/build-option-value-filter-query.js.map +1 -1
- package/dist/utils/compute-option-link-changes.js.map +1 -1
- package/dist/utils/compute-set-difference.js.map +1 -1
- package/dist/utils/events.d.ts.map +1 -1
- package/dist/utils/published-products-context.d.ts.map +1 -1
- package/dist/utils/published-products-context.js.map +1 -1
- package/dist/utils/resolve-allowed-option-values.js.map +1 -1
- package/package.json +4 -4
- package/dist/tsconfig.tsbuildinfo +0 -1
|
@@ -6,6 +6,9 @@ import { UpdateCategoryInput } from "../types/index.js";
|
|
|
6
6
|
export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTreeRepository<typeof ProductCategory> {
|
|
7
7
|
buildFindOptions(findOptions?: DAL.FindOptions<typeof ProductCategory>, familyOptions?: ProductCategoryTransformOptions): {
|
|
8
8
|
where: import("@medusajs/types/dist/dal/utils").FilterQueryProperties<{
|
|
9
|
+
created_at: Date;
|
|
10
|
+
updated_at: Date;
|
|
11
|
+
deleted_at: Date | null;
|
|
9
12
|
id: string;
|
|
10
13
|
name: string;
|
|
11
14
|
description: string;
|
|
@@ -19,6 +22,9 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
|
|
|
19
22
|
parent_category: /*elided*/ any;
|
|
20
23
|
category_children: /*elided*/ any[];
|
|
21
24
|
products: {
|
|
25
|
+
created_at: Date;
|
|
26
|
+
updated_at: Date;
|
|
27
|
+
deleted_at: Date | null;
|
|
22
28
|
id: string;
|
|
23
29
|
title: string;
|
|
24
30
|
handle: string;
|
|
@@ -39,6 +45,9 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
|
|
|
39
45
|
external_id: string | null;
|
|
40
46
|
metadata: NoInfer<Record<string, unknown>> | null;
|
|
41
47
|
variants: {
|
|
48
|
+
created_at: Date;
|
|
49
|
+
updated_at: Date;
|
|
50
|
+
deleted_at: Date | null;
|
|
42
51
|
id: string;
|
|
43
52
|
title: string;
|
|
44
53
|
sku: string | null;
|
|
@@ -60,425 +69,156 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
|
|
|
60
69
|
thumbnail: string | null;
|
|
61
70
|
product: /*elided*/ any;
|
|
62
71
|
images: {
|
|
72
|
+
created_at: Date;
|
|
73
|
+
updated_at: Date;
|
|
74
|
+
deleted_at: Date | null;
|
|
63
75
|
id: string;
|
|
64
76
|
url: string;
|
|
65
77
|
metadata: NoInfer<Record<string, unknown>> | null;
|
|
66
78
|
rank: number;
|
|
67
79
|
product: /*elided*/ any;
|
|
68
80
|
variants: /*elided*/ any[];
|
|
69
|
-
created_at: Date;
|
|
70
|
-
updated_at: Date;
|
|
71
|
-
deleted_at: Date | null;
|
|
72
81
|
product_id: string;
|
|
73
82
|
}[];
|
|
74
83
|
options: {
|
|
84
|
+
created_at: Date;
|
|
85
|
+
updated_at: Date;
|
|
86
|
+
deleted_at: Date | null;
|
|
75
87
|
id: string;
|
|
76
88
|
value: string;
|
|
77
89
|
rank: number | null;
|
|
78
90
|
metadata: NoInfer<Record<string, unknown>> | null;
|
|
79
91
|
option: {
|
|
92
|
+
created_at: Date;
|
|
93
|
+
updated_at: Date;
|
|
94
|
+
deleted_at: Date | null;
|
|
80
95
|
id: string;
|
|
81
96
|
title: string;
|
|
82
97
|
is_exclusive: boolean;
|
|
83
98
|
metadata: NoInfer<Record<string, unknown>> | null;
|
|
84
99
|
products: /*elided*/ any[];
|
|
85
100
|
values: /*elided*/ any[];
|
|
101
|
+
};
|
|
102
|
+
variants: any[];
|
|
103
|
+
product_options: {
|
|
86
104
|
created_at: Date;
|
|
87
105
|
updated_at: Date;
|
|
88
106
|
deleted_at: Date | null;
|
|
89
|
-
};
|
|
90
|
-
variants: /*elided*/ any[];
|
|
91
|
-
product_options: {
|
|
92
107
|
id: string;
|
|
93
108
|
product: /*elided*/ any;
|
|
94
109
|
product_option: {
|
|
110
|
+
created_at: Date;
|
|
111
|
+
updated_at: Date;
|
|
112
|
+
deleted_at: Date | null;
|
|
95
113
|
id: string;
|
|
96
114
|
title: string;
|
|
97
115
|
is_exclusive: boolean;
|
|
98
116
|
metadata: NoInfer<Record<string, unknown>> | null;
|
|
99
|
-
products:
|
|
100
|
-
values:
|
|
101
|
-
created_at: Date;
|
|
102
|
-
updated_at: Date;
|
|
103
|
-
deleted_at: Date | null;
|
|
117
|
+
products: any[];
|
|
118
|
+
values: any[];
|
|
104
119
|
};
|
|
105
|
-
values:
|
|
106
|
-
created_at: Date;
|
|
107
|
-
updated_at: Date;
|
|
108
|
-
deleted_at: Date | null;
|
|
120
|
+
values: any[];
|
|
109
121
|
product_id: string;
|
|
110
122
|
product_option_id: string;
|
|
111
123
|
}[];
|
|
112
|
-
raw_rank: Record<string, unknown> | null;
|
|
113
|
-
created_at: Date;
|
|
114
|
-
updated_at: Date;
|
|
115
|
-
deleted_at: Date | null;
|
|
116
124
|
option_id: string | null;
|
|
125
|
+
raw_rank: Record<string, unknown> | null;
|
|
117
126
|
}[];
|
|
118
|
-
|
|
119
|
-
raw_length: Record<string, unknown> | null;
|
|
127
|
+
product_id: string | null;
|
|
120
128
|
raw_height: Record<string, unknown> | null;
|
|
121
|
-
|
|
129
|
+
raw_length: Record<string, unknown> | null;
|
|
122
130
|
raw_variant_rank: Record<string, unknown> | null;
|
|
131
|
+
raw_weight: Record<string, unknown> | null;
|
|
132
|
+
raw_width: Record<string, unknown> | null;
|
|
133
|
+
}[];
|
|
134
|
+
type: {
|
|
123
135
|
created_at: Date;
|
|
124
136
|
updated_at: Date;
|
|
125
137
|
deleted_at: Date | null;
|
|
126
|
-
product_id: string | null;
|
|
127
|
-
}[];
|
|
128
|
-
type: {
|
|
129
138
|
id: string;
|
|
130
139
|
value: string;
|
|
131
140
|
external_id: string | null;
|
|
132
141
|
metadata: NoInfer<Record<string, unknown>> | null;
|
|
133
|
-
products:
|
|
142
|
+
products: any[];
|
|
143
|
+
};
|
|
144
|
+
tags: {
|
|
134
145
|
created_at: Date;
|
|
135
146
|
updated_at: Date;
|
|
136
147
|
deleted_at: Date | null;
|
|
137
|
-
};
|
|
138
|
-
tags: {
|
|
139
148
|
id: string;
|
|
140
149
|
value: string;
|
|
141
150
|
external_id: string | null;
|
|
142
151
|
metadata: NoInfer<Record<string, unknown>> | null;
|
|
143
|
-
products:
|
|
152
|
+
products: any[];
|
|
153
|
+
}[];
|
|
154
|
+
options: {
|
|
144
155
|
created_at: Date;
|
|
145
156
|
updated_at: Date;
|
|
146
157
|
deleted_at: Date | null;
|
|
147
|
-
}[];
|
|
148
|
-
options: {
|
|
149
158
|
id: string;
|
|
150
159
|
title: string;
|
|
151
160
|
is_exclusive: boolean;
|
|
152
161
|
metadata: NoInfer<Record<string, unknown>> | null;
|
|
153
|
-
products:
|
|
154
|
-
values:
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
rank: number | null;
|
|
158
|
-
metadata: NoInfer<Record<string, unknown>> | null;
|
|
159
|
-
option: /*elided*/ any;
|
|
160
|
-
variants: {
|
|
161
|
-
id: string;
|
|
162
|
-
title: string;
|
|
163
|
-
sku: string | null;
|
|
164
|
-
barcode: string | null;
|
|
165
|
-
ean: string | null;
|
|
166
|
-
upc: string | null;
|
|
167
|
-
allow_backorder: boolean;
|
|
168
|
-
manage_inventory: boolean;
|
|
169
|
-
hs_code: string | null;
|
|
170
|
-
origin_country: string | null;
|
|
171
|
-
mid_code: string | null;
|
|
172
|
-
material: string | null;
|
|
173
|
-
weight: number | null;
|
|
174
|
-
length: number | null;
|
|
175
|
-
height: number | null;
|
|
176
|
-
width: number | null;
|
|
177
|
-
metadata: NoInfer<Record<string, unknown>> | null;
|
|
178
|
-
variant_rank: number | null;
|
|
179
|
-
thumbnail: string | null;
|
|
180
|
-
product: /*elided*/ any;
|
|
181
|
-
images: {
|
|
182
|
-
id: string;
|
|
183
|
-
url: string;
|
|
184
|
-
metadata: NoInfer<Record<string, unknown>> | null;
|
|
185
|
-
rank: number;
|
|
186
|
-
product: /*elided*/ any;
|
|
187
|
-
variants: /*elided*/ any[];
|
|
188
|
-
created_at: Date;
|
|
189
|
-
updated_at: Date;
|
|
190
|
-
deleted_at: Date | null;
|
|
191
|
-
product_id: string;
|
|
192
|
-
}[];
|
|
193
|
-
options: /*elided*/ any[];
|
|
194
|
-
raw_weight: Record<string, unknown> | null;
|
|
195
|
-
raw_length: Record<string, unknown> | null;
|
|
196
|
-
raw_height: Record<string, unknown> | null;
|
|
197
|
-
raw_width: Record<string, unknown> | null;
|
|
198
|
-
raw_variant_rank: Record<string, unknown> | null;
|
|
199
|
-
created_at: Date;
|
|
200
|
-
updated_at: Date;
|
|
201
|
-
deleted_at: Date | null;
|
|
202
|
-
product_id: string | null;
|
|
203
|
-
}[];
|
|
204
|
-
product_options: {
|
|
205
|
-
id: string;
|
|
206
|
-
product: /*elided*/ any;
|
|
207
|
-
product_option: /*elided*/ any;
|
|
208
|
-
values: /*elided*/ any[];
|
|
209
|
-
created_at: Date;
|
|
210
|
-
updated_at: Date;
|
|
211
|
-
deleted_at: Date | null;
|
|
212
|
-
product_id: string;
|
|
213
|
-
product_option_id: string;
|
|
214
|
-
}[];
|
|
215
|
-
raw_rank: Record<string, unknown> | null;
|
|
216
|
-
created_at: Date;
|
|
217
|
-
updated_at: Date;
|
|
218
|
-
deleted_at: Date | null;
|
|
219
|
-
option_id: string | null;
|
|
220
|
-
}[];
|
|
162
|
+
products: any[];
|
|
163
|
+
values: any[];
|
|
164
|
+
}[];
|
|
165
|
+
product_options: {
|
|
221
166
|
created_at: Date;
|
|
222
167
|
updated_at: Date;
|
|
223
168
|
deleted_at: Date | null;
|
|
224
|
-
}[];
|
|
225
|
-
product_options: {
|
|
226
169
|
id: string;
|
|
227
|
-
product:
|
|
170
|
+
product: any;
|
|
228
171
|
product_option: {
|
|
229
|
-
id: string;
|
|
230
|
-
title: string;
|
|
231
|
-
is_exclusive: boolean;
|
|
232
|
-
metadata: NoInfer<Record<string, unknown>> | null;
|
|
233
|
-
products: /*elided*/ any[];
|
|
234
|
-
values: {
|
|
235
|
-
id: string;
|
|
236
|
-
value: string;
|
|
237
|
-
rank: number | null;
|
|
238
|
-
metadata: NoInfer<Record<string, unknown>> | null;
|
|
239
|
-
option: /*elided*/ any;
|
|
240
|
-
variants: {
|
|
241
|
-
id: string;
|
|
242
|
-
title: string;
|
|
243
|
-
sku: string | null;
|
|
244
|
-
barcode: string | null;
|
|
245
|
-
ean: string | null;
|
|
246
|
-
upc: string | null;
|
|
247
|
-
allow_backorder: boolean;
|
|
248
|
-
manage_inventory: boolean;
|
|
249
|
-
hs_code: string | null;
|
|
250
|
-
origin_country: string | null;
|
|
251
|
-
mid_code: string | null;
|
|
252
|
-
material: string | null;
|
|
253
|
-
weight: number | null;
|
|
254
|
-
length: number | null;
|
|
255
|
-
height: number | null;
|
|
256
|
-
width: number | null;
|
|
257
|
-
metadata: NoInfer<Record<string, unknown>> | null;
|
|
258
|
-
variant_rank: number | null;
|
|
259
|
-
thumbnail: string | null;
|
|
260
|
-
product: /*elided*/ any;
|
|
261
|
-
images: {
|
|
262
|
-
id: string;
|
|
263
|
-
url: string;
|
|
264
|
-
metadata: NoInfer<Record<string, unknown>> | null;
|
|
265
|
-
rank: number;
|
|
266
|
-
product: /*elided*/ any;
|
|
267
|
-
variants: /*elided*/ any[];
|
|
268
|
-
created_at: Date;
|
|
269
|
-
updated_at: Date;
|
|
270
|
-
deleted_at: Date | null;
|
|
271
|
-
product_id: string;
|
|
272
|
-
}[];
|
|
273
|
-
options: /*elided*/ any[];
|
|
274
|
-
raw_weight: Record<string, unknown> | null;
|
|
275
|
-
raw_length: Record<string, unknown> | null;
|
|
276
|
-
raw_height: Record<string, unknown> | null;
|
|
277
|
-
raw_width: Record<string, unknown> | null;
|
|
278
|
-
raw_variant_rank: Record<string, unknown> | null;
|
|
279
|
-
created_at: Date;
|
|
280
|
-
updated_at: Date;
|
|
281
|
-
deleted_at: Date | null;
|
|
282
|
-
product_id: string | null;
|
|
283
|
-
}[];
|
|
284
|
-
product_options: /*elided*/ any[];
|
|
285
|
-
raw_rank: Record<string, unknown> | null;
|
|
286
|
-
created_at: Date;
|
|
287
|
-
updated_at: Date;
|
|
288
|
-
deleted_at: Date | null;
|
|
289
|
-
option_id: string | null;
|
|
290
|
-
}[];
|
|
291
172
|
created_at: Date;
|
|
292
173
|
updated_at: Date;
|
|
293
174
|
deleted_at: Date | null;
|
|
294
|
-
};
|
|
295
|
-
values: {
|
|
296
175
|
id: string;
|
|
297
|
-
|
|
298
|
-
|
|
176
|
+
title: string;
|
|
177
|
+
is_exclusive: boolean;
|
|
299
178
|
metadata: NoInfer<Record<string, unknown>> | null;
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
metadata: NoInfer<Record<string, unknown>> | null;
|
|
305
|
-
products: /*elided*/ any[];
|
|
306
|
-
values: /*elided*/ any[];
|
|
307
|
-
created_at: Date;
|
|
308
|
-
updated_at: Date;
|
|
309
|
-
deleted_at: Date | null;
|
|
310
|
-
};
|
|
311
|
-
variants: {
|
|
312
|
-
id: string;
|
|
313
|
-
title: string;
|
|
314
|
-
sku: string | null;
|
|
315
|
-
barcode: string | null;
|
|
316
|
-
ean: string | null;
|
|
317
|
-
upc: string | null;
|
|
318
|
-
allow_backorder: boolean;
|
|
319
|
-
manage_inventory: boolean;
|
|
320
|
-
hs_code: string | null;
|
|
321
|
-
origin_country: string | null;
|
|
322
|
-
mid_code: string | null;
|
|
323
|
-
material: string | null;
|
|
324
|
-
weight: number | null;
|
|
325
|
-
length: number | null;
|
|
326
|
-
height: number | null;
|
|
327
|
-
width: number | null;
|
|
328
|
-
metadata: NoInfer<Record<string, unknown>> | null;
|
|
329
|
-
variant_rank: number | null;
|
|
330
|
-
thumbnail: string | null;
|
|
331
|
-
product: /*elided*/ any;
|
|
332
|
-
images: {
|
|
333
|
-
id: string;
|
|
334
|
-
url: string;
|
|
335
|
-
metadata: NoInfer<Record<string, unknown>> | null;
|
|
336
|
-
rank: number;
|
|
337
|
-
product: /*elided*/ any;
|
|
338
|
-
variants: /*elided*/ any[];
|
|
339
|
-
created_at: Date;
|
|
340
|
-
updated_at: Date;
|
|
341
|
-
deleted_at: Date | null;
|
|
342
|
-
product_id: string;
|
|
343
|
-
}[];
|
|
344
|
-
options: /*elided*/ any[];
|
|
345
|
-
raw_weight: Record<string, unknown> | null;
|
|
346
|
-
raw_length: Record<string, unknown> | null;
|
|
347
|
-
raw_height: Record<string, unknown> | null;
|
|
348
|
-
raw_width: Record<string, unknown> | null;
|
|
349
|
-
raw_variant_rank: Record<string, unknown> | null;
|
|
350
|
-
created_at: Date;
|
|
351
|
-
updated_at: Date;
|
|
352
|
-
deleted_at: Date | null;
|
|
353
|
-
product_id: string | null;
|
|
354
|
-
}[];
|
|
355
|
-
product_options: /*elided*/ any[];
|
|
356
|
-
raw_rank: Record<string, unknown> | null;
|
|
357
|
-
created_at: Date;
|
|
358
|
-
updated_at: Date;
|
|
359
|
-
deleted_at: Date | null;
|
|
360
|
-
option_id: string | null;
|
|
361
|
-
}[];
|
|
362
|
-
created_at: Date;
|
|
363
|
-
updated_at: Date;
|
|
364
|
-
deleted_at: Date | null;
|
|
179
|
+
products: any[];
|
|
180
|
+
values: any[];
|
|
181
|
+
};
|
|
182
|
+
values: any[];
|
|
365
183
|
product_id: string;
|
|
366
184
|
product_option_id: string;
|
|
367
185
|
}[];
|
|
368
186
|
images: {
|
|
187
|
+
created_at: Date;
|
|
188
|
+
updated_at: Date;
|
|
189
|
+
deleted_at: Date | null;
|
|
369
190
|
id: string;
|
|
370
191
|
url: string;
|
|
371
192
|
metadata: NoInfer<Record<string, unknown>> | null;
|
|
372
193
|
rank: number;
|
|
373
|
-
product:
|
|
374
|
-
variants:
|
|
375
|
-
id: string;
|
|
376
|
-
title: string;
|
|
377
|
-
sku: string | null;
|
|
378
|
-
barcode: string | null;
|
|
379
|
-
ean: string | null;
|
|
380
|
-
upc: string | null;
|
|
381
|
-
allow_backorder: boolean;
|
|
382
|
-
manage_inventory: boolean;
|
|
383
|
-
hs_code: string | null;
|
|
384
|
-
origin_country: string | null;
|
|
385
|
-
mid_code: string | null;
|
|
386
|
-
material: string | null;
|
|
387
|
-
weight: number | null;
|
|
388
|
-
length: number | null;
|
|
389
|
-
height: number | null;
|
|
390
|
-
width: number | null;
|
|
391
|
-
metadata: NoInfer<Record<string, unknown>> | null;
|
|
392
|
-
variant_rank: number | null;
|
|
393
|
-
thumbnail: string | null;
|
|
394
|
-
product: /*elided*/ any;
|
|
395
|
-
images: /*elided*/ any[];
|
|
396
|
-
options: {
|
|
397
|
-
id: string;
|
|
398
|
-
value: string;
|
|
399
|
-
rank: number | null;
|
|
400
|
-
metadata: NoInfer<Record<string, unknown>> | null;
|
|
401
|
-
option: {
|
|
402
|
-
id: string;
|
|
403
|
-
title: string;
|
|
404
|
-
is_exclusive: boolean;
|
|
405
|
-
metadata: NoInfer<Record<string, unknown>> | null;
|
|
406
|
-
products: /*elided*/ any[];
|
|
407
|
-
values: /*elided*/ any[];
|
|
408
|
-
created_at: Date;
|
|
409
|
-
updated_at: Date;
|
|
410
|
-
deleted_at: Date | null;
|
|
411
|
-
};
|
|
412
|
-
variants: /*elided*/ any[];
|
|
413
|
-
product_options: {
|
|
414
|
-
id: string;
|
|
415
|
-
product: /*elided*/ any;
|
|
416
|
-
product_option: {
|
|
417
|
-
id: string;
|
|
418
|
-
title: string;
|
|
419
|
-
is_exclusive: boolean;
|
|
420
|
-
metadata: NoInfer<Record<string, unknown>> | null;
|
|
421
|
-
products: /*elided*/ any[];
|
|
422
|
-
values: /*elided*/ any[];
|
|
423
|
-
created_at: Date;
|
|
424
|
-
updated_at: Date;
|
|
425
|
-
deleted_at: Date | null;
|
|
426
|
-
};
|
|
427
|
-
values: /*elided*/ any[];
|
|
428
|
-
created_at: Date;
|
|
429
|
-
updated_at: Date;
|
|
430
|
-
deleted_at: Date | null;
|
|
431
|
-
product_id: string;
|
|
432
|
-
product_option_id: string;
|
|
433
|
-
}[];
|
|
434
|
-
raw_rank: Record<string, unknown> | null;
|
|
435
|
-
created_at: Date;
|
|
436
|
-
updated_at: Date;
|
|
437
|
-
deleted_at: Date | null;
|
|
438
|
-
option_id: string | null;
|
|
439
|
-
}[];
|
|
440
|
-
raw_weight: Record<string, unknown> | null;
|
|
441
|
-
raw_length: Record<string, unknown> | null;
|
|
442
|
-
raw_height: Record<string, unknown> | null;
|
|
443
|
-
raw_width: Record<string, unknown> | null;
|
|
444
|
-
raw_variant_rank: Record<string, unknown> | null;
|
|
445
|
-
created_at: Date;
|
|
446
|
-
updated_at: Date;
|
|
447
|
-
deleted_at: Date | null;
|
|
448
|
-
product_id: string | null;
|
|
449
|
-
}[];
|
|
450
|
-
created_at: Date;
|
|
451
|
-
updated_at: Date;
|
|
452
|
-
deleted_at: Date | null;
|
|
194
|
+
product: any;
|
|
195
|
+
variants: any[];
|
|
453
196
|
product_id: string;
|
|
454
197
|
}[];
|
|
455
198
|
collection: {
|
|
199
|
+
created_at: Date;
|
|
200
|
+
updated_at: Date;
|
|
201
|
+
deleted_at: Date | null;
|
|
456
202
|
id: string;
|
|
457
203
|
title: string;
|
|
458
204
|
handle: string;
|
|
459
205
|
external_id: string | null;
|
|
460
206
|
metadata: NoInfer<Record<string, unknown>> | null;
|
|
461
|
-
products:
|
|
462
|
-
created_at: Date;
|
|
463
|
-
updated_at: Date;
|
|
464
|
-
deleted_at: Date | null;
|
|
207
|
+
products: any[];
|
|
465
208
|
};
|
|
466
|
-
categories:
|
|
467
|
-
|
|
468
|
-
raw_length: Record<string, unknown> | null;
|
|
209
|
+
categories: any[];
|
|
210
|
+
collection_id: string | null;
|
|
469
211
|
raw_height: Record<string, unknown> | null;
|
|
212
|
+
raw_length: Record<string, unknown> | null;
|
|
213
|
+
raw_weight: Record<string, unknown> | null;
|
|
470
214
|
raw_width: Record<string, unknown> | null;
|
|
471
|
-
created_at: Date;
|
|
472
|
-
updated_at: Date;
|
|
473
|
-
deleted_at: Date | null;
|
|
474
215
|
type_id: string | null;
|
|
475
|
-
collection_id: string | null;
|
|
476
216
|
}[];
|
|
217
|
+
parent_category_id: string | null;
|
|
218
|
+
}, 3> & DAL.BaseFilterable<import("@medusajs/types/dist/dal/utils").FilterQueryProperties<{
|
|
477
219
|
created_at: Date;
|
|
478
220
|
updated_at: Date;
|
|
479
221
|
deleted_at: Date | null;
|
|
480
|
-
parent_category_id: string | null;
|
|
481
|
-
}, 3> & DAL.BaseFilterable<import("@medusajs/types/dist/dal/utils").FilterQueryProperties<{
|
|
482
222
|
id: string;
|
|
483
223
|
name: string;
|
|
484
224
|
description: string;
|
|
@@ -489,9 +229,12 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
|
|
|
489
229
|
rank: number;
|
|
490
230
|
external_id: string | null;
|
|
491
231
|
metadata: NoInfer<Record<string, unknown>> | null;
|
|
492
|
-
parent_category:
|
|
493
|
-
category_children:
|
|
232
|
+
parent_category: any;
|
|
233
|
+
category_children: any[];
|
|
494
234
|
products: {
|
|
235
|
+
created_at: Date;
|
|
236
|
+
updated_at: Date;
|
|
237
|
+
deleted_at: Date | null;
|
|
495
238
|
id: string;
|
|
496
239
|
title: string;
|
|
497
240
|
handle: string;
|
|
@@ -512,6 +255,9 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
|
|
|
512
255
|
external_id: string | null;
|
|
513
256
|
metadata: NoInfer<Record<string, unknown>> | null;
|
|
514
257
|
variants: {
|
|
258
|
+
created_at: Date;
|
|
259
|
+
updated_at: Date;
|
|
260
|
+
deleted_at: Date | null;
|
|
515
261
|
id: string;
|
|
516
262
|
title: string;
|
|
517
263
|
sku: string | null;
|
|
@@ -531,428 +277,159 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
|
|
|
531
277
|
metadata: NoInfer<Record<string, unknown>> | null;
|
|
532
278
|
variant_rank: number | null;
|
|
533
279
|
thumbnail: string | null;
|
|
534
|
-
product:
|
|
280
|
+
product: any;
|
|
535
281
|
images: {
|
|
282
|
+
created_at: Date;
|
|
283
|
+
updated_at: Date;
|
|
284
|
+
deleted_at: Date | null;
|
|
536
285
|
id: string;
|
|
537
286
|
url: string;
|
|
538
287
|
metadata: NoInfer<Record<string, unknown>> | null;
|
|
539
288
|
rank: number;
|
|
540
|
-
product:
|
|
541
|
-
variants:
|
|
542
|
-
created_at: Date;
|
|
543
|
-
updated_at: Date;
|
|
544
|
-
deleted_at: Date | null;
|
|
289
|
+
product: any;
|
|
290
|
+
variants: any[];
|
|
545
291
|
product_id: string;
|
|
546
292
|
}[];
|
|
547
293
|
options: {
|
|
294
|
+
created_at: Date;
|
|
295
|
+
updated_at: Date;
|
|
296
|
+
deleted_at: Date | null;
|
|
548
297
|
id: string;
|
|
549
298
|
value: string;
|
|
550
299
|
rank: number | null;
|
|
551
300
|
metadata: NoInfer<Record<string, unknown>> | null;
|
|
552
301
|
option: {
|
|
302
|
+
created_at: Date;
|
|
303
|
+
updated_at: Date;
|
|
304
|
+
deleted_at: Date | null;
|
|
553
305
|
id: string;
|
|
554
306
|
title: string;
|
|
555
307
|
is_exclusive: boolean;
|
|
556
308
|
metadata: NoInfer<Record<string, unknown>> | null;
|
|
557
|
-
products:
|
|
558
|
-
values:
|
|
309
|
+
products: any[];
|
|
310
|
+
values: any[];
|
|
311
|
+
};
|
|
312
|
+
variants: any[];
|
|
313
|
+
product_options: {
|
|
559
314
|
created_at: Date;
|
|
560
315
|
updated_at: Date;
|
|
561
316
|
deleted_at: Date | null;
|
|
562
|
-
};
|
|
563
|
-
variants: /*elided*/ any[];
|
|
564
|
-
product_options: {
|
|
565
317
|
id: string;
|
|
566
|
-
product:
|
|
318
|
+
product: any;
|
|
567
319
|
product_option: {
|
|
320
|
+
created_at: Date;
|
|
321
|
+
updated_at: Date;
|
|
322
|
+
deleted_at: Date | null;
|
|
568
323
|
id: string;
|
|
569
324
|
title: string;
|
|
570
325
|
is_exclusive: boolean;
|
|
571
326
|
metadata: NoInfer<Record<string, unknown>> | null;
|
|
572
|
-
products:
|
|
573
|
-
values:
|
|
574
|
-
created_at: Date;
|
|
575
|
-
updated_at: Date;
|
|
576
|
-
deleted_at: Date | null;
|
|
327
|
+
products: any[];
|
|
328
|
+
values: any[];
|
|
577
329
|
};
|
|
578
|
-
values:
|
|
579
|
-
created_at: Date;
|
|
580
|
-
updated_at: Date;
|
|
581
|
-
deleted_at: Date | null;
|
|
330
|
+
values: any[];
|
|
582
331
|
product_id: string;
|
|
583
332
|
product_option_id: string;
|
|
584
333
|
}[];
|
|
585
|
-
raw_rank: Record<string, unknown> | null;
|
|
586
|
-
created_at: Date;
|
|
587
|
-
updated_at: Date;
|
|
588
|
-
deleted_at: Date | null;
|
|
589
334
|
option_id: string | null;
|
|
335
|
+
raw_rank: Record<string, unknown> | null;
|
|
590
336
|
}[];
|
|
591
|
-
|
|
592
|
-
raw_length: Record<string, unknown> | null;
|
|
337
|
+
product_id: string | null;
|
|
593
338
|
raw_height: Record<string, unknown> | null;
|
|
594
|
-
|
|
339
|
+
raw_length: Record<string, unknown> | null;
|
|
595
340
|
raw_variant_rank: Record<string, unknown> | null;
|
|
341
|
+
raw_weight: Record<string, unknown> | null;
|
|
342
|
+
raw_width: Record<string, unknown> | null;
|
|
343
|
+
}[];
|
|
344
|
+
type: {
|
|
596
345
|
created_at: Date;
|
|
597
346
|
updated_at: Date;
|
|
598
347
|
deleted_at: Date | null;
|
|
599
|
-
product_id: string | null;
|
|
600
|
-
}[];
|
|
601
|
-
type: {
|
|
602
348
|
id: string;
|
|
603
349
|
value: string;
|
|
604
350
|
external_id: string | null;
|
|
605
351
|
metadata: NoInfer<Record<string, unknown>> | null;
|
|
606
|
-
products:
|
|
352
|
+
products: any[];
|
|
353
|
+
};
|
|
354
|
+
tags: {
|
|
607
355
|
created_at: Date;
|
|
608
356
|
updated_at: Date;
|
|
609
357
|
deleted_at: Date | null;
|
|
610
|
-
};
|
|
611
|
-
tags: {
|
|
612
358
|
id: string;
|
|
613
359
|
value: string;
|
|
614
360
|
external_id: string | null;
|
|
615
361
|
metadata: NoInfer<Record<string, unknown>> | null;
|
|
616
|
-
products:
|
|
362
|
+
products: any[];
|
|
363
|
+
}[];
|
|
364
|
+
options: {
|
|
617
365
|
created_at: Date;
|
|
618
366
|
updated_at: Date;
|
|
619
367
|
deleted_at: Date | null;
|
|
620
|
-
}[];
|
|
621
|
-
options: {
|
|
622
368
|
id: string;
|
|
623
369
|
title: string;
|
|
624
370
|
is_exclusive: boolean;
|
|
625
371
|
metadata: NoInfer<Record<string, unknown>> | null;
|
|
626
|
-
products:
|
|
627
|
-
values:
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
rank: number | null;
|
|
631
|
-
metadata: NoInfer<Record<string, unknown>> | null;
|
|
632
|
-
option: /*elided*/ any;
|
|
633
|
-
variants: {
|
|
634
|
-
id: string;
|
|
635
|
-
title: string;
|
|
636
|
-
sku: string | null;
|
|
637
|
-
barcode: string | null;
|
|
638
|
-
ean: string | null;
|
|
639
|
-
upc: string | null;
|
|
640
|
-
allow_backorder: boolean;
|
|
641
|
-
manage_inventory: boolean;
|
|
642
|
-
hs_code: string | null;
|
|
643
|
-
origin_country: string | null;
|
|
644
|
-
mid_code: string | null;
|
|
645
|
-
material: string | null;
|
|
646
|
-
weight: number | null;
|
|
647
|
-
length: number | null;
|
|
648
|
-
height: number | null;
|
|
649
|
-
width: number | null;
|
|
650
|
-
metadata: NoInfer<Record<string, unknown>> | null;
|
|
651
|
-
variant_rank: number | null;
|
|
652
|
-
thumbnail: string | null;
|
|
653
|
-
product: /*elided*/ any;
|
|
654
|
-
images: {
|
|
655
|
-
id: string;
|
|
656
|
-
url: string;
|
|
657
|
-
metadata: NoInfer<Record<string, unknown>> | null;
|
|
658
|
-
rank: number;
|
|
659
|
-
product: /*elided*/ any;
|
|
660
|
-
variants: /*elided*/ any[];
|
|
661
|
-
created_at: Date;
|
|
662
|
-
updated_at: Date;
|
|
663
|
-
deleted_at: Date | null;
|
|
664
|
-
product_id: string;
|
|
665
|
-
}[];
|
|
666
|
-
options: /*elided*/ any[];
|
|
667
|
-
raw_weight: Record<string, unknown> | null;
|
|
668
|
-
raw_length: Record<string, unknown> | null;
|
|
669
|
-
raw_height: Record<string, unknown> | null;
|
|
670
|
-
raw_width: Record<string, unknown> | null;
|
|
671
|
-
raw_variant_rank: Record<string, unknown> | null;
|
|
672
|
-
created_at: Date;
|
|
673
|
-
updated_at: Date;
|
|
674
|
-
deleted_at: Date | null;
|
|
675
|
-
product_id: string | null;
|
|
676
|
-
}[];
|
|
677
|
-
product_options: {
|
|
678
|
-
id: string;
|
|
679
|
-
product: /*elided*/ any;
|
|
680
|
-
product_option: /*elided*/ any;
|
|
681
|
-
values: /*elided*/ any[];
|
|
682
|
-
created_at: Date;
|
|
683
|
-
updated_at: Date;
|
|
684
|
-
deleted_at: Date | null;
|
|
685
|
-
product_id: string;
|
|
686
|
-
product_option_id: string;
|
|
687
|
-
}[];
|
|
688
|
-
raw_rank: Record<string, unknown> | null;
|
|
689
|
-
created_at: Date;
|
|
690
|
-
updated_at: Date;
|
|
691
|
-
deleted_at: Date | null;
|
|
692
|
-
option_id: string | null;
|
|
693
|
-
}[];
|
|
372
|
+
products: any[];
|
|
373
|
+
values: any[];
|
|
374
|
+
}[];
|
|
375
|
+
product_options: {
|
|
694
376
|
created_at: Date;
|
|
695
377
|
updated_at: Date;
|
|
696
378
|
deleted_at: Date | null;
|
|
697
|
-
}[];
|
|
698
|
-
product_options: {
|
|
699
379
|
id: string;
|
|
700
|
-
product:
|
|
380
|
+
product: any;
|
|
701
381
|
product_option: {
|
|
702
|
-
id: string;
|
|
703
|
-
title: string;
|
|
704
|
-
is_exclusive: boolean;
|
|
705
|
-
metadata: NoInfer<Record<string, unknown>> | null;
|
|
706
|
-
products: /*elided*/ any[];
|
|
707
|
-
values: {
|
|
708
|
-
id: string;
|
|
709
|
-
value: string;
|
|
710
|
-
rank: number | null;
|
|
711
|
-
metadata: NoInfer<Record<string, unknown>> | null;
|
|
712
|
-
option: /*elided*/ any;
|
|
713
|
-
variants: {
|
|
714
|
-
id: string;
|
|
715
|
-
title: string;
|
|
716
|
-
sku: string | null;
|
|
717
|
-
barcode: string | null;
|
|
718
|
-
ean: string | null;
|
|
719
|
-
upc: string | null;
|
|
720
|
-
allow_backorder: boolean;
|
|
721
|
-
manage_inventory: boolean;
|
|
722
|
-
hs_code: string | null;
|
|
723
|
-
origin_country: string | null;
|
|
724
|
-
mid_code: string | null;
|
|
725
|
-
material: string | null;
|
|
726
|
-
weight: number | null;
|
|
727
|
-
length: number | null;
|
|
728
|
-
height: number | null;
|
|
729
|
-
width: number | null;
|
|
730
|
-
metadata: NoInfer<Record<string, unknown>> | null;
|
|
731
|
-
variant_rank: number | null;
|
|
732
|
-
thumbnail: string | null;
|
|
733
|
-
product: /*elided*/ any;
|
|
734
|
-
images: {
|
|
735
|
-
id: string;
|
|
736
|
-
url: string;
|
|
737
|
-
metadata: NoInfer<Record<string, unknown>> | null;
|
|
738
|
-
rank: number;
|
|
739
|
-
product: /*elided*/ any;
|
|
740
|
-
variants: /*elided*/ any[];
|
|
741
|
-
created_at: Date;
|
|
742
|
-
updated_at: Date;
|
|
743
|
-
deleted_at: Date | null;
|
|
744
|
-
product_id: string;
|
|
745
|
-
}[];
|
|
746
|
-
options: /*elided*/ any[];
|
|
747
|
-
raw_weight: Record<string, unknown> | null;
|
|
748
|
-
raw_length: Record<string, unknown> | null;
|
|
749
|
-
raw_height: Record<string, unknown> | null;
|
|
750
|
-
raw_width: Record<string, unknown> | null;
|
|
751
|
-
raw_variant_rank: Record<string, unknown> | null;
|
|
752
|
-
created_at: Date;
|
|
753
|
-
updated_at: Date;
|
|
754
|
-
deleted_at: Date | null;
|
|
755
|
-
product_id: string | null;
|
|
756
|
-
}[];
|
|
757
|
-
product_options: /*elided*/ any[];
|
|
758
|
-
raw_rank: Record<string, unknown> | null;
|
|
759
|
-
created_at: Date;
|
|
760
|
-
updated_at: Date;
|
|
761
|
-
deleted_at: Date | null;
|
|
762
|
-
option_id: string | null;
|
|
763
|
-
}[];
|
|
764
382
|
created_at: Date;
|
|
765
383
|
updated_at: Date;
|
|
766
384
|
deleted_at: Date | null;
|
|
767
|
-
};
|
|
768
|
-
values: {
|
|
769
385
|
id: string;
|
|
770
|
-
|
|
771
|
-
|
|
386
|
+
title: string;
|
|
387
|
+
is_exclusive: boolean;
|
|
772
388
|
metadata: NoInfer<Record<string, unknown>> | null;
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
metadata: NoInfer<Record<string, unknown>> | null;
|
|
778
|
-
products: /*elided*/ any[];
|
|
779
|
-
values: /*elided*/ any[];
|
|
780
|
-
created_at: Date;
|
|
781
|
-
updated_at: Date;
|
|
782
|
-
deleted_at: Date | null;
|
|
783
|
-
};
|
|
784
|
-
variants: {
|
|
785
|
-
id: string;
|
|
786
|
-
title: string;
|
|
787
|
-
sku: string | null;
|
|
788
|
-
barcode: string | null;
|
|
789
|
-
ean: string | null;
|
|
790
|
-
upc: string | null;
|
|
791
|
-
allow_backorder: boolean;
|
|
792
|
-
manage_inventory: boolean;
|
|
793
|
-
hs_code: string | null;
|
|
794
|
-
origin_country: string | null;
|
|
795
|
-
mid_code: string | null;
|
|
796
|
-
material: string | null;
|
|
797
|
-
weight: number | null;
|
|
798
|
-
length: number | null;
|
|
799
|
-
height: number | null;
|
|
800
|
-
width: number | null;
|
|
801
|
-
metadata: NoInfer<Record<string, unknown>> | null;
|
|
802
|
-
variant_rank: number | null;
|
|
803
|
-
thumbnail: string | null;
|
|
804
|
-
product: /*elided*/ any;
|
|
805
|
-
images: {
|
|
806
|
-
id: string;
|
|
807
|
-
url: string;
|
|
808
|
-
metadata: NoInfer<Record<string, unknown>> | null;
|
|
809
|
-
rank: number;
|
|
810
|
-
product: /*elided*/ any;
|
|
811
|
-
variants: /*elided*/ any[];
|
|
812
|
-
created_at: Date;
|
|
813
|
-
updated_at: Date;
|
|
814
|
-
deleted_at: Date | null;
|
|
815
|
-
product_id: string;
|
|
816
|
-
}[];
|
|
817
|
-
options: /*elided*/ any[];
|
|
818
|
-
raw_weight: Record<string, unknown> | null;
|
|
819
|
-
raw_length: Record<string, unknown> | null;
|
|
820
|
-
raw_height: Record<string, unknown> | null;
|
|
821
|
-
raw_width: Record<string, unknown> | null;
|
|
822
|
-
raw_variant_rank: Record<string, unknown> | null;
|
|
823
|
-
created_at: Date;
|
|
824
|
-
updated_at: Date;
|
|
825
|
-
deleted_at: Date | null;
|
|
826
|
-
product_id: string | null;
|
|
827
|
-
}[];
|
|
828
|
-
product_options: /*elided*/ any[];
|
|
829
|
-
raw_rank: Record<string, unknown> | null;
|
|
830
|
-
created_at: Date;
|
|
831
|
-
updated_at: Date;
|
|
832
|
-
deleted_at: Date | null;
|
|
833
|
-
option_id: string | null;
|
|
834
|
-
}[];
|
|
835
|
-
created_at: Date;
|
|
836
|
-
updated_at: Date;
|
|
837
|
-
deleted_at: Date | null;
|
|
389
|
+
products: any[];
|
|
390
|
+
values: any[];
|
|
391
|
+
};
|
|
392
|
+
values: any[];
|
|
838
393
|
product_id: string;
|
|
839
394
|
product_option_id: string;
|
|
840
395
|
}[];
|
|
841
396
|
images: {
|
|
397
|
+
created_at: Date;
|
|
398
|
+
updated_at: Date;
|
|
399
|
+
deleted_at: Date | null;
|
|
842
400
|
id: string;
|
|
843
401
|
url: string;
|
|
844
402
|
metadata: NoInfer<Record<string, unknown>> | null;
|
|
845
403
|
rank: number;
|
|
846
|
-
product:
|
|
847
|
-
variants:
|
|
848
|
-
id: string;
|
|
849
|
-
title: string;
|
|
850
|
-
sku: string | null;
|
|
851
|
-
barcode: string | null;
|
|
852
|
-
ean: string | null;
|
|
853
|
-
upc: string | null;
|
|
854
|
-
allow_backorder: boolean;
|
|
855
|
-
manage_inventory: boolean;
|
|
856
|
-
hs_code: string | null;
|
|
857
|
-
origin_country: string | null;
|
|
858
|
-
mid_code: string | null;
|
|
859
|
-
material: string | null;
|
|
860
|
-
weight: number | null;
|
|
861
|
-
length: number | null;
|
|
862
|
-
height: number | null;
|
|
863
|
-
width: number | null;
|
|
864
|
-
metadata: NoInfer<Record<string, unknown>> | null;
|
|
865
|
-
variant_rank: number | null;
|
|
866
|
-
thumbnail: string | null;
|
|
867
|
-
product: /*elided*/ any;
|
|
868
|
-
images: /*elided*/ any[];
|
|
869
|
-
options: {
|
|
870
|
-
id: string;
|
|
871
|
-
value: string;
|
|
872
|
-
rank: number | null;
|
|
873
|
-
metadata: NoInfer<Record<string, unknown>> | null;
|
|
874
|
-
option: {
|
|
875
|
-
id: string;
|
|
876
|
-
title: string;
|
|
877
|
-
is_exclusive: boolean;
|
|
878
|
-
metadata: NoInfer<Record<string, unknown>> | null;
|
|
879
|
-
products: /*elided*/ any[];
|
|
880
|
-
values: /*elided*/ any[];
|
|
881
|
-
created_at: Date;
|
|
882
|
-
updated_at: Date;
|
|
883
|
-
deleted_at: Date | null;
|
|
884
|
-
};
|
|
885
|
-
variants: /*elided*/ any[];
|
|
886
|
-
product_options: {
|
|
887
|
-
id: string;
|
|
888
|
-
product: /*elided*/ any;
|
|
889
|
-
product_option: {
|
|
890
|
-
id: string;
|
|
891
|
-
title: string;
|
|
892
|
-
is_exclusive: boolean;
|
|
893
|
-
metadata: NoInfer<Record<string, unknown>> | null;
|
|
894
|
-
products: /*elided*/ any[];
|
|
895
|
-
values: /*elided*/ any[];
|
|
896
|
-
created_at: Date;
|
|
897
|
-
updated_at: Date;
|
|
898
|
-
deleted_at: Date | null;
|
|
899
|
-
};
|
|
900
|
-
values: /*elided*/ any[];
|
|
901
|
-
created_at: Date;
|
|
902
|
-
updated_at: Date;
|
|
903
|
-
deleted_at: Date | null;
|
|
904
|
-
product_id: string;
|
|
905
|
-
product_option_id: string;
|
|
906
|
-
}[];
|
|
907
|
-
raw_rank: Record<string, unknown> | null;
|
|
908
|
-
created_at: Date;
|
|
909
|
-
updated_at: Date;
|
|
910
|
-
deleted_at: Date | null;
|
|
911
|
-
option_id: string | null;
|
|
912
|
-
}[];
|
|
913
|
-
raw_weight: Record<string, unknown> | null;
|
|
914
|
-
raw_length: Record<string, unknown> | null;
|
|
915
|
-
raw_height: Record<string, unknown> | null;
|
|
916
|
-
raw_width: Record<string, unknown> | null;
|
|
917
|
-
raw_variant_rank: Record<string, unknown> | null;
|
|
918
|
-
created_at: Date;
|
|
919
|
-
updated_at: Date;
|
|
920
|
-
deleted_at: Date | null;
|
|
921
|
-
product_id: string | null;
|
|
922
|
-
}[];
|
|
923
|
-
created_at: Date;
|
|
924
|
-
updated_at: Date;
|
|
925
|
-
deleted_at: Date | null;
|
|
404
|
+
product: any;
|
|
405
|
+
variants: any[];
|
|
926
406
|
product_id: string;
|
|
927
407
|
}[];
|
|
928
408
|
collection: {
|
|
409
|
+
created_at: Date;
|
|
410
|
+
updated_at: Date;
|
|
411
|
+
deleted_at: Date | null;
|
|
929
412
|
id: string;
|
|
930
413
|
title: string;
|
|
931
414
|
handle: string;
|
|
932
415
|
external_id: string | null;
|
|
933
416
|
metadata: NoInfer<Record<string, unknown>> | null;
|
|
934
|
-
products:
|
|
935
|
-
created_at: Date;
|
|
936
|
-
updated_at: Date;
|
|
937
|
-
deleted_at: Date | null;
|
|
417
|
+
products: any[];
|
|
938
418
|
};
|
|
939
|
-
categories:
|
|
940
|
-
|
|
941
|
-
raw_length: Record<string, unknown> | null;
|
|
419
|
+
categories: any[];
|
|
420
|
+
collection_id: string | null;
|
|
942
421
|
raw_height: Record<string, unknown> | null;
|
|
422
|
+
raw_length: Record<string, unknown> | null;
|
|
423
|
+
raw_weight: Record<string, unknown> | null;
|
|
943
424
|
raw_width: Record<string, unknown> | null;
|
|
944
|
-
created_at: Date;
|
|
945
|
-
updated_at: Date;
|
|
946
|
-
deleted_at: Date | null;
|
|
947
425
|
type_id: string | null;
|
|
948
|
-
collection_id: string | null;
|
|
949
426
|
}[];
|
|
950
|
-
created_at: Date;
|
|
951
|
-
updated_at: Date;
|
|
952
|
-
deleted_at: Date | null;
|
|
953
427
|
parent_category_id: string | null;
|
|
954
428
|
}, 3>>;
|
|
955
429
|
options?: DAL.OptionsQuery<{
|
|
430
|
+
created_at: Date;
|
|
431
|
+
updated_at: Date;
|
|
432
|
+
deleted_at: Date | null;
|
|
956
433
|
id: string;
|
|
957
434
|
name: string;
|
|
958
435
|
description: string;
|
|
@@ -963,9 +440,12 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
|
|
|
963
440
|
rank: number;
|
|
964
441
|
external_id: string | null;
|
|
965
442
|
metadata: NoInfer<Record<string, unknown>> | null;
|
|
966
|
-
parent_category:
|
|
967
|
-
category_children:
|
|
443
|
+
parent_category: any;
|
|
444
|
+
category_children: any[];
|
|
968
445
|
products: {
|
|
446
|
+
created_at: Date;
|
|
447
|
+
updated_at: Date;
|
|
448
|
+
deleted_at: Date | null;
|
|
969
449
|
id: string;
|
|
970
450
|
title: string;
|
|
971
451
|
handle: string;
|
|
@@ -986,6 +466,9 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
|
|
|
986
466
|
external_id: string | null;
|
|
987
467
|
metadata: NoInfer<Record<string, unknown>> | null;
|
|
988
468
|
variants: {
|
|
469
|
+
created_at: Date;
|
|
470
|
+
updated_at: Date;
|
|
471
|
+
deleted_at: Date | null;
|
|
989
472
|
id: string;
|
|
990
473
|
title: string;
|
|
991
474
|
sku: string | null;
|
|
@@ -1005,425 +488,153 @@ export declare class ProductCategoryRepository extends DALUtils.MikroOrmBaseTree
|
|
|
1005
488
|
metadata: NoInfer<Record<string, unknown>> | null;
|
|
1006
489
|
variant_rank: number | null;
|
|
1007
490
|
thumbnail: string | null;
|
|
1008
|
-
product:
|
|
491
|
+
product: any;
|
|
1009
492
|
images: {
|
|
493
|
+
created_at: Date;
|
|
494
|
+
updated_at: Date;
|
|
495
|
+
deleted_at: Date | null;
|
|
1010
496
|
id: string;
|
|
1011
497
|
url: string;
|
|
1012
498
|
metadata: NoInfer<Record<string, unknown>> | null;
|
|
1013
499
|
rank: number;
|
|
1014
|
-
product:
|
|
1015
|
-
variants:
|
|
1016
|
-
created_at: Date;
|
|
1017
|
-
updated_at: Date;
|
|
1018
|
-
deleted_at: Date | null;
|
|
500
|
+
product: any;
|
|
501
|
+
variants: any[];
|
|
1019
502
|
product_id: string;
|
|
1020
503
|
}[];
|
|
1021
504
|
options: {
|
|
505
|
+
created_at: Date;
|
|
506
|
+
updated_at: Date;
|
|
507
|
+
deleted_at: Date | null;
|
|
1022
508
|
id: string;
|
|
1023
509
|
value: string;
|
|
1024
510
|
rank: number | null;
|
|
1025
511
|
metadata: NoInfer<Record<string, unknown>> | null;
|
|
1026
512
|
option: {
|
|
513
|
+
created_at: Date;
|
|
514
|
+
updated_at: Date;
|
|
515
|
+
deleted_at: Date | null;
|
|
1027
516
|
id: string;
|
|
1028
517
|
title: string;
|
|
1029
518
|
is_exclusive: boolean;
|
|
1030
519
|
metadata: NoInfer<Record<string, unknown>> | null;
|
|
1031
|
-
products:
|
|
1032
|
-
values:
|
|
520
|
+
products: any[];
|
|
521
|
+
values: any[];
|
|
522
|
+
};
|
|
523
|
+
variants: any[];
|
|
524
|
+
product_options: {
|
|
1033
525
|
created_at: Date;
|
|
1034
526
|
updated_at: Date;
|
|
1035
527
|
deleted_at: Date | null;
|
|
1036
|
-
};
|
|
1037
|
-
variants: /*elided*/ any[];
|
|
1038
|
-
product_options: {
|
|
1039
528
|
id: string;
|
|
1040
|
-
product:
|
|
529
|
+
product: any;
|
|
1041
530
|
product_option: {
|
|
531
|
+
created_at: Date;
|
|
532
|
+
updated_at: Date;
|
|
533
|
+
deleted_at: Date | null;
|
|
1042
534
|
id: string;
|
|
1043
535
|
title: string;
|
|
1044
536
|
is_exclusive: boolean;
|
|
1045
537
|
metadata: NoInfer<Record<string, unknown>> | null;
|
|
1046
|
-
products:
|
|
1047
|
-
values:
|
|
1048
|
-
created_at: Date;
|
|
1049
|
-
updated_at: Date;
|
|
1050
|
-
deleted_at: Date | null;
|
|
538
|
+
products: any[];
|
|
539
|
+
values: any[];
|
|
1051
540
|
};
|
|
1052
|
-
values:
|
|
1053
|
-
created_at: Date;
|
|
1054
|
-
updated_at: Date;
|
|
1055
|
-
deleted_at: Date | null;
|
|
541
|
+
values: any[];
|
|
1056
542
|
product_id: string;
|
|
1057
543
|
product_option_id: string;
|
|
1058
544
|
}[];
|
|
1059
|
-
raw_rank: Record<string, unknown> | null;
|
|
1060
|
-
created_at: Date;
|
|
1061
|
-
updated_at: Date;
|
|
1062
|
-
deleted_at: Date | null;
|
|
1063
545
|
option_id: string | null;
|
|
546
|
+
raw_rank: Record<string, unknown> | null;
|
|
1064
547
|
}[];
|
|
1065
|
-
|
|
1066
|
-
raw_length: Record<string, unknown> | null;
|
|
548
|
+
product_id: string | null;
|
|
1067
549
|
raw_height: Record<string, unknown> | null;
|
|
1068
|
-
|
|
550
|
+
raw_length: Record<string, unknown> | null;
|
|
1069
551
|
raw_variant_rank: Record<string, unknown> | null;
|
|
552
|
+
raw_weight: Record<string, unknown> | null;
|
|
553
|
+
raw_width: Record<string, unknown> | null;
|
|
554
|
+
}[];
|
|
555
|
+
type: {
|
|
1070
556
|
created_at: Date;
|
|
1071
557
|
updated_at: Date;
|
|
1072
558
|
deleted_at: Date | null;
|
|
1073
|
-
product_id: string | null;
|
|
1074
|
-
}[];
|
|
1075
|
-
type: {
|
|
1076
559
|
id: string;
|
|
1077
560
|
value: string;
|
|
1078
561
|
external_id: string | null;
|
|
1079
562
|
metadata: NoInfer<Record<string, unknown>> | null;
|
|
1080
|
-
products:
|
|
563
|
+
products: any[];
|
|
564
|
+
};
|
|
565
|
+
tags: {
|
|
1081
566
|
created_at: Date;
|
|
1082
567
|
updated_at: Date;
|
|
1083
568
|
deleted_at: Date | null;
|
|
1084
|
-
};
|
|
1085
|
-
tags: {
|
|
1086
569
|
id: string;
|
|
1087
570
|
value: string;
|
|
1088
571
|
external_id: string | null;
|
|
1089
572
|
metadata: NoInfer<Record<string, unknown>> | null;
|
|
1090
|
-
products:
|
|
573
|
+
products: any[];
|
|
574
|
+
}[];
|
|
575
|
+
options: {
|
|
1091
576
|
created_at: Date;
|
|
1092
577
|
updated_at: Date;
|
|
1093
578
|
deleted_at: Date | null;
|
|
1094
|
-
}[];
|
|
1095
|
-
options: {
|
|
1096
579
|
id: string;
|
|
1097
580
|
title: string;
|
|
1098
581
|
is_exclusive: boolean;
|
|
1099
582
|
metadata: NoInfer<Record<string, unknown>> | null;
|
|
1100
|
-
products:
|
|
1101
|
-
values:
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
rank: number | null;
|
|
1105
|
-
metadata: NoInfer<Record<string, unknown>> | null;
|
|
1106
|
-
option: /*elided*/ any;
|
|
1107
|
-
variants: {
|
|
1108
|
-
id: string;
|
|
1109
|
-
title: string;
|
|
1110
|
-
sku: string | null;
|
|
1111
|
-
barcode: string | null;
|
|
1112
|
-
ean: string | null;
|
|
1113
|
-
upc: string | null;
|
|
1114
|
-
allow_backorder: boolean;
|
|
1115
|
-
manage_inventory: boolean;
|
|
1116
|
-
hs_code: string | null;
|
|
1117
|
-
origin_country: string | null;
|
|
1118
|
-
mid_code: string | null;
|
|
1119
|
-
material: string | null;
|
|
1120
|
-
weight: number | null;
|
|
1121
|
-
length: number | null;
|
|
1122
|
-
height: number | null;
|
|
1123
|
-
width: number | null;
|
|
1124
|
-
metadata: NoInfer<Record<string, unknown>> | null;
|
|
1125
|
-
variant_rank: number | null;
|
|
1126
|
-
thumbnail: string | null;
|
|
1127
|
-
product: /*elided*/ any;
|
|
1128
|
-
images: {
|
|
1129
|
-
id: string;
|
|
1130
|
-
url: string;
|
|
1131
|
-
metadata: NoInfer<Record<string, unknown>> | null;
|
|
1132
|
-
rank: number;
|
|
1133
|
-
product: /*elided*/ any;
|
|
1134
|
-
variants: /*elided*/ any[];
|
|
1135
|
-
created_at: Date;
|
|
1136
|
-
updated_at: Date;
|
|
1137
|
-
deleted_at: Date | null;
|
|
1138
|
-
product_id: string;
|
|
1139
|
-
}[];
|
|
1140
|
-
options: /*elided*/ any[];
|
|
1141
|
-
raw_weight: Record<string, unknown> | null;
|
|
1142
|
-
raw_length: Record<string, unknown> | null;
|
|
1143
|
-
raw_height: Record<string, unknown> | null;
|
|
1144
|
-
raw_width: Record<string, unknown> | null;
|
|
1145
|
-
raw_variant_rank: Record<string, unknown> | null;
|
|
1146
|
-
created_at: Date;
|
|
1147
|
-
updated_at: Date;
|
|
1148
|
-
deleted_at: Date | null;
|
|
1149
|
-
product_id: string | null;
|
|
1150
|
-
}[];
|
|
1151
|
-
product_options: {
|
|
1152
|
-
id: string;
|
|
1153
|
-
product: /*elided*/ any;
|
|
1154
|
-
product_option: /*elided*/ any;
|
|
1155
|
-
values: /*elided*/ any[];
|
|
1156
|
-
created_at: Date;
|
|
1157
|
-
updated_at: Date;
|
|
1158
|
-
deleted_at: Date | null;
|
|
1159
|
-
product_id: string;
|
|
1160
|
-
product_option_id: string;
|
|
1161
|
-
}[];
|
|
1162
|
-
raw_rank: Record<string, unknown> | null;
|
|
1163
|
-
created_at: Date;
|
|
1164
|
-
updated_at: Date;
|
|
1165
|
-
deleted_at: Date | null;
|
|
1166
|
-
option_id: string | null;
|
|
1167
|
-
}[];
|
|
583
|
+
products: any[];
|
|
584
|
+
values: any[];
|
|
585
|
+
}[];
|
|
586
|
+
product_options: {
|
|
1168
587
|
created_at: Date;
|
|
1169
588
|
updated_at: Date;
|
|
1170
589
|
deleted_at: Date | null;
|
|
1171
|
-
}[];
|
|
1172
|
-
product_options: {
|
|
1173
590
|
id: string;
|
|
1174
|
-
product:
|
|
591
|
+
product: any;
|
|
1175
592
|
product_option: {
|
|
1176
|
-
id: string;
|
|
1177
|
-
title: string;
|
|
1178
|
-
is_exclusive: boolean;
|
|
1179
|
-
metadata: NoInfer<Record<string, unknown>> | null;
|
|
1180
|
-
products: /*elided*/ any[];
|
|
1181
|
-
values: {
|
|
1182
|
-
id: string;
|
|
1183
|
-
value: string;
|
|
1184
|
-
rank: number | null;
|
|
1185
|
-
metadata: NoInfer<Record<string, unknown>> | null;
|
|
1186
|
-
option: /*elided*/ any;
|
|
1187
|
-
variants: {
|
|
1188
|
-
id: string;
|
|
1189
|
-
title: string;
|
|
1190
|
-
sku: string | null;
|
|
1191
|
-
barcode: string | null;
|
|
1192
|
-
ean: string | null;
|
|
1193
|
-
upc: string | null;
|
|
1194
|
-
allow_backorder: boolean;
|
|
1195
|
-
manage_inventory: boolean;
|
|
1196
|
-
hs_code: string | null;
|
|
1197
|
-
origin_country: string | null;
|
|
1198
|
-
mid_code: string | null;
|
|
1199
|
-
material: string | null;
|
|
1200
|
-
weight: number | null;
|
|
1201
|
-
length: number | null;
|
|
1202
|
-
height: number | null;
|
|
1203
|
-
width: number | null;
|
|
1204
|
-
metadata: NoInfer<Record<string, unknown>> | null;
|
|
1205
|
-
variant_rank: number | null;
|
|
1206
|
-
thumbnail: string | null;
|
|
1207
|
-
product: /*elided*/ any;
|
|
1208
|
-
images: {
|
|
1209
|
-
id: string;
|
|
1210
|
-
url: string;
|
|
1211
|
-
metadata: NoInfer<Record<string, unknown>> | null;
|
|
1212
|
-
rank: number;
|
|
1213
|
-
product: /*elided*/ any;
|
|
1214
|
-
variants: /*elided*/ any[];
|
|
1215
|
-
created_at: Date;
|
|
1216
|
-
updated_at: Date;
|
|
1217
|
-
deleted_at: Date | null;
|
|
1218
|
-
product_id: string;
|
|
1219
|
-
}[];
|
|
1220
|
-
options: /*elided*/ any[];
|
|
1221
|
-
raw_weight: Record<string, unknown> | null;
|
|
1222
|
-
raw_length: Record<string, unknown> | null;
|
|
1223
|
-
raw_height: Record<string, unknown> | null;
|
|
1224
|
-
raw_width: Record<string, unknown> | null;
|
|
1225
|
-
raw_variant_rank: Record<string, unknown> | null;
|
|
1226
|
-
created_at: Date;
|
|
1227
|
-
updated_at: Date;
|
|
1228
|
-
deleted_at: Date | null;
|
|
1229
|
-
product_id: string | null;
|
|
1230
|
-
}[];
|
|
1231
|
-
product_options: /*elided*/ any[];
|
|
1232
|
-
raw_rank: Record<string, unknown> | null;
|
|
1233
|
-
created_at: Date;
|
|
1234
|
-
updated_at: Date;
|
|
1235
|
-
deleted_at: Date | null;
|
|
1236
|
-
option_id: string | null;
|
|
1237
|
-
}[];
|
|
1238
593
|
created_at: Date;
|
|
1239
594
|
updated_at: Date;
|
|
1240
595
|
deleted_at: Date | null;
|
|
1241
|
-
};
|
|
1242
|
-
values: {
|
|
1243
596
|
id: string;
|
|
1244
|
-
|
|
1245
|
-
|
|
597
|
+
title: string;
|
|
598
|
+
is_exclusive: boolean;
|
|
1246
599
|
metadata: NoInfer<Record<string, unknown>> | null;
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
metadata: NoInfer<Record<string, unknown>> | null;
|
|
1252
|
-
products: /*elided*/ any[];
|
|
1253
|
-
values: /*elided*/ any[];
|
|
1254
|
-
created_at: Date;
|
|
1255
|
-
updated_at: Date;
|
|
1256
|
-
deleted_at: Date | null;
|
|
1257
|
-
};
|
|
1258
|
-
variants: {
|
|
1259
|
-
id: string;
|
|
1260
|
-
title: string;
|
|
1261
|
-
sku: string | null;
|
|
1262
|
-
barcode: string | null;
|
|
1263
|
-
ean: string | null;
|
|
1264
|
-
upc: string | null;
|
|
1265
|
-
allow_backorder: boolean;
|
|
1266
|
-
manage_inventory: boolean;
|
|
1267
|
-
hs_code: string | null;
|
|
1268
|
-
origin_country: string | null;
|
|
1269
|
-
mid_code: string | null;
|
|
1270
|
-
material: string | null;
|
|
1271
|
-
weight: number | null;
|
|
1272
|
-
length: number | null;
|
|
1273
|
-
height: number | null;
|
|
1274
|
-
width: number | null;
|
|
1275
|
-
metadata: NoInfer<Record<string, unknown>> | null;
|
|
1276
|
-
variant_rank: number | null;
|
|
1277
|
-
thumbnail: string | null;
|
|
1278
|
-
product: /*elided*/ any;
|
|
1279
|
-
images: {
|
|
1280
|
-
id: string;
|
|
1281
|
-
url: string;
|
|
1282
|
-
metadata: NoInfer<Record<string, unknown>> | null;
|
|
1283
|
-
rank: number;
|
|
1284
|
-
product: /*elided*/ any;
|
|
1285
|
-
variants: /*elided*/ any[];
|
|
1286
|
-
created_at: Date;
|
|
1287
|
-
updated_at: Date;
|
|
1288
|
-
deleted_at: Date | null;
|
|
1289
|
-
product_id: string;
|
|
1290
|
-
}[];
|
|
1291
|
-
options: /*elided*/ any[];
|
|
1292
|
-
raw_weight: Record<string, unknown> | null;
|
|
1293
|
-
raw_length: Record<string, unknown> | null;
|
|
1294
|
-
raw_height: Record<string, unknown> | null;
|
|
1295
|
-
raw_width: Record<string, unknown> | null;
|
|
1296
|
-
raw_variant_rank: Record<string, unknown> | null;
|
|
1297
|
-
created_at: Date;
|
|
1298
|
-
updated_at: Date;
|
|
1299
|
-
deleted_at: Date | null;
|
|
1300
|
-
product_id: string | null;
|
|
1301
|
-
}[];
|
|
1302
|
-
product_options: /*elided*/ any[];
|
|
1303
|
-
raw_rank: Record<string, unknown> | null;
|
|
1304
|
-
created_at: Date;
|
|
1305
|
-
updated_at: Date;
|
|
1306
|
-
deleted_at: Date | null;
|
|
1307
|
-
option_id: string | null;
|
|
1308
|
-
}[];
|
|
1309
|
-
created_at: Date;
|
|
1310
|
-
updated_at: Date;
|
|
1311
|
-
deleted_at: Date | null;
|
|
600
|
+
products: any[];
|
|
601
|
+
values: any[];
|
|
602
|
+
};
|
|
603
|
+
values: any[];
|
|
1312
604
|
product_id: string;
|
|
1313
605
|
product_option_id: string;
|
|
1314
606
|
}[];
|
|
1315
607
|
images: {
|
|
608
|
+
created_at: Date;
|
|
609
|
+
updated_at: Date;
|
|
610
|
+
deleted_at: Date | null;
|
|
1316
611
|
id: string;
|
|
1317
612
|
url: string;
|
|
1318
613
|
metadata: NoInfer<Record<string, unknown>> | null;
|
|
1319
614
|
rank: number;
|
|
1320
|
-
product:
|
|
1321
|
-
variants:
|
|
1322
|
-
id: string;
|
|
1323
|
-
title: string;
|
|
1324
|
-
sku: string | null;
|
|
1325
|
-
barcode: string | null;
|
|
1326
|
-
ean: string | null;
|
|
1327
|
-
upc: string | null;
|
|
1328
|
-
allow_backorder: boolean;
|
|
1329
|
-
manage_inventory: boolean;
|
|
1330
|
-
hs_code: string | null;
|
|
1331
|
-
origin_country: string | null;
|
|
1332
|
-
mid_code: string | null;
|
|
1333
|
-
material: string | null;
|
|
1334
|
-
weight: number | null;
|
|
1335
|
-
length: number | null;
|
|
1336
|
-
height: number | null;
|
|
1337
|
-
width: number | null;
|
|
1338
|
-
metadata: NoInfer<Record<string, unknown>> | null;
|
|
1339
|
-
variant_rank: number | null;
|
|
1340
|
-
thumbnail: string | null;
|
|
1341
|
-
product: /*elided*/ any;
|
|
1342
|
-
images: /*elided*/ any[];
|
|
1343
|
-
options: {
|
|
1344
|
-
id: string;
|
|
1345
|
-
value: string;
|
|
1346
|
-
rank: number | null;
|
|
1347
|
-
metadata: NoInfer<Record<string, unknown>> | null;
|
|
1348
|
-
option: {
|
|
1349
|
-
id: string;
|
|
1350
|
-
title: string;
|
|
1351
|
-
is_exclusive: boolean;
|
|
1352
|
-
metadata: NoInfer<Record<string, unknown>> | null;
|
|
1353
|
-
products: /*elided*/ any[];
|
|
1354
|
-
values: /*elided*/ any[];
|
|
1355
|
-
created_at: Date;
|
|
1356
|
-
updated_at: Date;
|
|
1357
|
-
deleted_at: Date | null;
|
|
1358
|
-
};
|
|
1359
|
-
variants: /*elided*/ any[];
|
|
1360
|
-
product_options: {
|
|
1361
|
-
id: string;
|
|
1362
|
-
product: /*elided*/ any;
|
|
1363
|
-
product_option: {
|
|
1364
|
-
id: string;
|
|
1365
|
-
title: string;
|
|
1366
|
-
is_exclusive: boolean;
|
|
1367
|
-
metadata: NoInfer<Record<string, unknown>> | null;
|
|
1368
|
-
products: /*elided*/ any[];
|
|
1369
|
-
values: /*elided*/ any[];
|
|
1370
|
-
created_at: Date;
|
|
1371
|
-
updated_at: Date;
|
|
1372
|
-
deleted_at: Date | null;
|
|
1373
|
-
};
|
|
1374
|
-
values: /*elided*/ any[];
|
|
1375
|
-
created_at: Date;
|
|
1376
|
-
updated_at: Date;
|
|
1377
|
-
deleted_at: Date | null;
|
|
1378
|
-
product_id: string;
|
|
1379
|
-
product_option_id: string;
|
|
1380
|
-
}[];
|
|
1381
|
-
raw_rank: Record<string, unknown> | null;
|
|
1382
|
-
created_at: Date;
|
|
1383
|
-
updated_at: Date;
|
|
1384
|
-
deleted_at: Date | null;
|
|
1385
|
-
option_id: string | null;
|
|
1386
|
-
}[];
|
|
1387
|
-
raw_weight: Record<string, unknown> | null;
|
|
1388
|
-
raw_length: Record<string, unknown> | null;
|
|
1389
|
-
raw_height: Record<string, unknown> | null;
|
|
1390
|
-
raw_width: Record<string, unknown> | null;
|
|
1391
|
-
raw_variant_rank: Record<string, unknown> | null;
|
|
1392
|
-
created_at: Date;
|
|
1393
|
-
updated_at: Date;
|
|
1394
|
-
deleted_at: Date | null;
|
|
1395
|
-
product_id: string | null;
|
|
1396
|
-
}[];
|
|
1397
|
-
created_at: Date;
|
|
1398
|
-
updated_at: Date;
|
|
1399
|
-
deleted_at: Date | null;
|
|
615
|
+
product: any;
|
|
616
|
+
variants: any[];
|
|
1400
617
|
product_id: string;
|
|
1401
618
|
}[];
|
|
1402
619
|
collection: {
|
|
620
|
+
created_at: Date;
|
|
621
|
+
updated_at: Date;
|
|
622
|
+
deleted_at: Date | null;
|
|
1403
623
|
id: string;
|
|
1404
624
|
title: string;
|
|
1405
625
|
handle: string;
|
|
1406
626
|
external_id: string | null;
|
|
1407
627
|
metadata: NoInfer<Record<string, unknown>> | null;
|
|
1408
|
-
products:
|
|
1409
|
-
created_at: Date;
|
|
1410
|
-
updated_at: Date;
|
|
1411
|
-
deleted_at: Date | null;
|
|
628
|
+
products: any[];
|
|
1412
629
|
};
|
|
1413
|
-
categories:
|
|
1414
|
-
|
|
1415
|
-
raw_length: Record<string, unknown> | null;
|
|
630
|
+
categories: any[];
|
|
631
|
+
collection_id: string | null;
|
|
1416
632
|
raw_height: Record<string, unknown> | null;
|
|
633
|
+
raw_length: Record<string, unknown> | null;
|
|
634
|
+
raw_weight: Record<string, unknown> | null;
|
|
1417
635
|
raw_width: Record<string, unknown> | null;
|
|
1418
|
-
created_at: Date;
|
|
1419
|
-
updated_at: Date;
|
|
1420
|
-
deleted_at: Date | null;
|
|
1421
636
|
type_id: string | null;
|
|
1422
|
-
collection_id: string | null;
|
|
1423
637
|
}[];
|
|
1424
|
-
created_at: Date;
|
|
1425
|
-
updated_at: Date;
|
|
1426
|
-
deleted_at: Date | null;
|
|
1427
638
|
parent_category_id: string | null;
|
|
1428
639
|
}> | undefined;
|
|
1429
640
|
};
|