@ecomiq/core 0.1.0 → 0.1.1
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.cts +319 -319
- package/dist/index.d.ts +319 -319
- package/dist/models/collections.d.cts +4 -4
- package/dist/models/collections.d.ts +4 -4
- package/dist/models/geo.d.cts +14 -14
- package/dist/models/geo.d.ts +14 -14
- package/dist/models/products.d.cts +130 -130
- package/dist/models/products.d.ts +130 -130
- package/dist/models/search.d.cts +4 -4
- package/dist/models/search.d.ts +4 -4
- package/dist/models/settings.d.cts +512 -512
- package/dist/models/settings.d.ts +512 -512
- package/dist/models/storefront-cart.d.cts +80 -80
- package/dist/models/storefront-cart.d.ts +80 -80
- package/dist/models/storefront-checkout.d.cts +384 -384
- package/dist/models/storefront-checkout.d.ts +384 -384
- package/dist/models/storefront-reviews.d.cts +8 -8
- package/dist/models/storefront-reviews.d.ts +8 -8
- package/package.json +3 -3
|
@@ -20,9 +20,9 @@ declare const ProductSummarySchema: z.ZodObject<{
|
|
|
20
20
|
tags: z.ZodArray<z.ZodString, "many">;
|
|
21
21
|
}, "strip", z.ZodTypeAny, {
|
|
22
22
|
status: string;
|
|
23
|
+
name: string;
|
|
23
24
|
id: string;
|
|
24
25
|
slug: string;
|
|
25
|
-
name: string;
|
|
26
26
|
imageUrl: string;
|
|
27
27
|
productType: string;
|
|
28
28
|
price: number;
|
|
@@ -37,9 +37,9 @@ declare const ProductSummarySchema: z.ZodObject<{
|
|
|
37
37
|
tags: string[];
|
|
38
38
|
}, {
|
|
39
39
|
status: string;
|
|
40
|
+
name: string;
|
|
40
41
|
id: string | number;
|
|
41
42
|
slug: string;
|
|
42
|
-
name: string;
|
|
43
43
|
imageUrl: string;
|
|
44
44
|
productType: string;
|
|
45
45
|
price: number;
|
|
@@ -72,9 +72,9 @@ declare const ProductSummariesSchema: z.ZodArray<z.ZodObject<{
|
|
|
72
72
|
tags: z.ZodArray<z.ZodString, "many">;
|
|
73
73
|
}, "strip", z.ZodTypeAny, {
|
|
74
74
|
status: string;
|
|
75
|
+
name: string;
|
|
75
76
|
id: string;
|
|
76
77
|
slug: string;
|
|
77
|
-
name: string;
|
|
78
78
|
imageUrl: string;
|
|
79
79
|
productType: string;
|
|
80
80
|
price: number;
|
|
@@ -89,9 +89,9 @@ declare const ProductSummariesSchema: z.ZodArray<z.ZodObject<{
|
|
|
89
89
|
tags: string[];
|
|
90
90
|
}, {
|
|
91
91
|
status: string;
|
|
92
|
+
name: string;
|
|
92
93
|
id: string | number;
|
|
93
94
|
slug: string;
|
|
94
|
-
name: string;
|
|
95
95
|
imageUrl: string;
|
|
96
96
|
productType: string;
|
|
97
97
|
price: number;
|
|
@@ -124,9 +124,9 @@ declare const ProductSchema: z.ZodObject<{
|
|
|
124
124
|
tags: z.ZodArray<z.ZodString, "many">;
|
|
125
125
|
}, "strip", z.ZodTypeAny, {
|
|
126
126
|
status: string;
|
|
127
|
+
name: string;
|
|
127
128
|
id: string;
|
|
128
129
|
slug: string;
|
|
129
|
-
name: string;
|
|
130
130
|
imageUrl: string;
|
|
131
131
|
productType: string;
|
|
132
132
|
price: number;
|
|
@@ -141,9 +141,9 @@ declare const ProductSchema: z.ZodObject<{
|
|
|
141
141
|
tags: string[];
|
|
142
142
|
}, {
|
|
143
143
|
status: string;
|
|
144
|
+
name: string;
|
|
144
145
|
id: string | number;
|
|
145
146
|
slug: string;
|
|
146
|
-
name: string;
|
|
147
147
|
imageUrl: string;
|
|
148
148
|
productType: string;
|
|
149
149
|
price: number;
|
|
@@ -164,13 +164,13 @@ declare const FacetItemSchema: z.ZodObject<{
|
|
|
164
164
|
selected: z.ZodBoolean;
|
|
165
165
|
}, "strip", z.ZodTypeAny, {
|
|
166
166
|
value: string;
|
|
167
|
-
count: number;
|
|
168
167
|
label: string | null;
|
|
168
|
+
count: number;
|
|
169
169
|
selected: boolean;
|
|
170
170
|
}, {
|
|
171
171
|
value: string;
|
|
172
|
-
count: number;
|
|
173
172
|
label: string | null;
|
|
173
|
+
count: number;
|
|
174
174
|
selected: boolean;
|
|
175
175
|
}>;
|
|
176
176
|
declare const FacetSchema: z.ZodObject<{
|
|
@@ -180,13 +180,13 @@ declare const FacetSchema: z.ZodObject<{
|
|
|
180
180
|
selected: z.ZodBoolean;
|
|
181
181
|
}, "strip", z.ZodTypeAny, {
|
|
182
182
|
value: string;
|
|
183
|
-
count: number;
|
|
184
183
|
label: string | null;
|
|
184
|
+
count: number;
|
|
185
185
|
selected: boolean;
|
|
186
186
|
}, {
|
|
187
187
|
value: string;
|
|
188
|
-
count: number;
|
|
189
188
|
label: string | null;
|
|
189
|
+
count: number;
|
|
190
190
|
selected: boolean;
|
|
191
191
|
}>;
|
|
192
192
|
declare const SearchFilterSchema: z.ZodObject<{
|
|
@@ -200,13 +200,13 @@ declare const SearchFilterSchema: z.ZodObject<{
|
|
|
200
200
|
selected: z.ZodBoolean;
|
|
201
201
|
}, "strip", z.ZodTypeAny, {
|
|
202
202
|
value: string;
|
|
203
|
-
count: number;
|
|
204
203
|
label: string | null;
|
|
204
|
+
count: number;
|
|
205
205
|
selected: boolean;
|
|
206
206
|
}, {
|
|
207
207
|
value: string;
|
|
208
|
-
count: number;
|
|
209
208
|
label: string | null;
|
|
209
|
+
count: number;
|
|
210
210
|
selected: boolean;
|
|
211
211
|
}>, "many">;
|
|
212
212
|
min: z.ZodNullable<z.ZodNumber>;
|
|
@@ -214,31 +214,31 @@ declare const SearchFilterSchema: z.ZodObject<{
|
|
|
214
214
|
selectedMin: z.ZodNullable<z.ZodNumber>;
|
|
215
215
|
selectedMax: z.ZodNullable<z.ZodNumber>;
|
|
216
216
|
}, "strip", z.ZodTypeAny, {
|
|
217
|
-
type: "list" | "price_range";
|
|
218
217
|
values: {
|
|
219
218
|
value: string;
|
|
220
|
-
count: number;
|
|
221
219
|
label: string | null;
|
|
220
|
+
count: number;
|
|
222
221
|
selected: boolean;
|
|
223
222
|
}[];
|
|
224
|
-
|
|
225
|
-
label: string;
|
|
223
|
+
type: "list" | "price_range";
|
|
226
224
|
min: number | null;
|
|
227
225
|
max: number | null;
|
|
226
|
+
id: string;
|
|
227
|
+
label: string;
|
|
228
228
|
selectedMin: number | null;
|
|
229
229
|
selectedMax: number | null;
|
|
230
230
|
}, {
|
|
231
|
-
type: "list" | "price_range";
|
|
232
231
|
values: {
|
|
233
232
|
value: string;
|
|
234
|
-
count: number;
|
|
235
233
|
label: string | null;
|
|
234
|
+
count: number;
|
|
236
235
|
selected: boolean;
|
|
237
236
|
}[];
|
|
238
|
-
|
|
239
|
-
label: string;
|
|
237
|
+
type: "list" | "price_range";
|
|
240
238
|
min: number | null;
|
|
241
239
|
max: number | null;
|
|
240
|
+
id: string;
|
|
241
|
+
label: string;
|
|
242
242
|
selectedMin: number | null;
|
|
243
243
|
selectedMax: number | null;
|
|
244
244
|
}>;
|
|
@@ -266,9 +266,9 @@ declare const ProductsResponseSchema: z.ZodObject<{
|
|
|
266
266
|
tags: z.ZodArray<z.ZodString, "many">;
|
|
267
267
|
}, "strip", z.ZodTypeAny, {
|
|
268
268
|
status: string;
|
|
269
|
+
name: string;
|
|
269
270
|
id: string;
|
|
270
271
|
slug: string;
|
|
271
|
-
name: string;
|
|
272
272
|
imageUrl: string;
|
|
273
273
|
productType: string;
|
|
274
274
|
price: number;
|
|
@@ -283,9 +283,9 @@ declare const ProductsResponseSchema: z.ZodObject<{
|
|
|
283
283
|
tags: string[];
|
|
284
284
|
}, {
|
|
285
285
|
status: string;
|
|
286
|
+
name: string;
|
|
286
287
|
id: string | number;
|
|
287
288
|
slug: string;
|
|
288
|
-
name: string;
|
|
289
289
|
imageUrl: string;
|
|
290
290
|
productType: string;
|
|
291
291
|
price: number;
|
|
@@ -310,13 +310,13 @@ declare const ProductsResponseSchema: z.ZodObject<{
|
|
|
310
310
|
selected: z.ZodBoolean;
|
|
311
311
|
}, "strip", z.ZodTypeAny, {
|
|
312
312
|
value: string;
|
|
313
|
-
count: number;
|
|
314
313
|
label: string | null;
|
|
314
|
+
count: number;
|
|
315
315
|
selected: boolean;
|
|
316
316
|
}, {
|
|
317
317
|
value: string;
|
|
318
|
-
count: number;
|
|
319
318
|
label: string | null;
|
|
319
|
+
count: number;
|
|
320
320
|
selected: boolean;
|
|
321
321
|
}>, "many">;
|
|
322
322
|
min: z.ZodNullable<z.ZodNumber>;
|
|
@@ -324,31 +324,31 @@ declare const ProductsResponseSchema: z.ZodObject<{
|
|
|
324
324
|
selectedMin: z.ZodNullable<z.ZodNumber>;
|
|
325
325
|
selectedMax: z.ZodNullable<z.ZodNumber>;
|
|
326
326
|
}, "strip", z.ZodTypeAny, {
|
|
327
|
-
type: "list" | "price_range";
|
|
328
327
|
values: {
|
|
329
328
|
value: string;
|
|
330
|
-
count: number;
|
|
331
329
|
label: string | null;
|
|
330
|
+
count: number;
|
|
332
331
|
selected: boolean;
|
|
333
332
|
}[];
|
|
334
|
-
|
|
335
|
-
label: string;
|
|
333
|
+
type: "list" | "price_range";
|
|
336
334
|
min: number | null;
|
|
337
335
|
max: number | null;
|
|
336
|
+
id: string;
|
|
337
|
+
label: string;
|
|
338
338
|
selectedMin: number | null;
|
|
339
339
|
selectedMax: number | null;
|
|
340
340
|
}, {
|
|
341
|
-
type: "list" | "price_range";
|
|
342
341
|
values: {
|
|
343
342
|
value: string;
|
|
344
|
-
count: number;
|
|
345
343
|
label: string | null;
|
|
344
|
+
count: number;
|
|
346
345
|
selected: boolean;
|
|
347
346
|
}[];
|
|
348
|
-
|
|
349
|
-
label: string;
|
|
347
|
+
type: "list" | "price_range";
|
|
350
348
|
min: number | null;
|
|
351
349
|
max: number | null;
|
|
350
|
+
id: string;
|
|
351
|
+
label: string;
|
|
352
352
|
selectedMin: number | null;
|
|
353
353
|
selectedMax: number | null;
|
|
354
354
|
}>, "many">;
|
|
@@ -359,9 +359,9 @@ declare const ProductsResponseSchema: z.ZodObject<{
|
|
|
359
359
|
totalPages: number;
|
|
360
360
|
products: {
|
|
361
361
|
status: string;
|
|
362
|
+
name: string;
|
|
362
363
|
id: string;
|
|
363
364
|
slug: string;
|
|
364
|
-
name: string;
|
|
365
365
|
imageUrl: string;
|
|
366
366
|
productType: string;
|
|
367
367
|
price: number;
|
|
@@ -376,17 +376,17 @@ declare const ProductsResponseSchema: z.ZodObject<{
|
|
|
376
376
|
tags: string[];
|
|
377
377
|
}[];
|
|
378
378
|
filters: {
|
|
379
|
-
type: "list" | "price_range";
|
|
380
379
|
values: {
|
|
381
380
|
value: string;
|
|
382
|
-
count: number;
|
|
383
381
|
label: string | null;
|
|
382
|
+
count: number;
|
|
384
383
|
selected: boolean;
|
|
385
384
|
}[];
|
|
386
|
-
|
|
387
|
-
label: string;
|
|
385
|
+
type: "list" | "price_range";
|
|
388
386
|
min: number | null;
|
|
389
387
|
max: number | null;
|
|
388
|
+
id: string;
|
|
389
|
+
label: string;
|
|
390
390
|
selectedMin: number | null;
|
|
391
391
|
selectedMax: number | null;
|
|
392
392
|
}[];
|
|
@@ -397,9 +397,9 @@ declare const ProductsResponseSchema: z.ZodObject<{
|
|
|
397
397
|
totalPages: number;
|
|
398
398
|
products: {
|
|
399
399
|
status: string;
|
|
400
|
+
name: string;
|
|
400
401
|
id: string | number;
|
|
401
402
|
slug: string;
|
|
402
|
-
name: string;
|
|
403
403
|
imageUrl: string;
|
|
404
404
|
productType: string;
|
|
405
405
|
price: number;
|
|
@@ -414,17 +414,17 @@ declare const ProductsResponseSchema: z.ZodObject<{
|
|
|
414
414
|
tags: string[];
|
|
415
415
|
}[];
|
|
416
416
|
filters: {
|
|
417
|
-
type: "list" | "price_range";
|
|
418
417
|
values: {
|
|
419
418
|
value: string;
|
|
420
|
-
count: number;
|
|
421
419
|
label: string | null;
|
|
420
|
+
count: number;
|
|
422
421
|
selected: boolean;
|
|
423
422
|
}[];
|
|
424
|
-
|
|
425
|
-
label: string;
|
|
423
|
+
type: "list" | "price_range";
|
|
426
424
|
min: number | null;
|
|
427
425
|
max: number | null;
|
|
426
|
+
id: string;
|
|
427
|
+
label: string;
|
|
428
428
|
selectedMin: number | null;
|
|
429
429
|
selectedMax: number | null;
|
|
430
430
|
}[];
|
|
@@ -456,13 +456,13 @@ declare const ProductsParamsSchema: z.ZodObject<{
|
|
|
456
456
|
pageSize: number;
|
|
457
457
|
page: number;
|
|
458
458
|
sort?: "price_asc" | "price_desc" | "name_asc" | "name_desc" | "newest" | undefined;
|
|
459
|
+
sellerId?: string | undefined;
|
|
459
460
|
productType?: string | undefined;
|
|
460
461
|
brand?: string | undefined;
|
|
461
462
|
category?: string | undefined;
|
|
462
463
|
collections?: string[] | undefined;
|
|
463
464
|
tags?: string[] | undefined;
|
|
464
465
|
filters?: string[] | undefined;
|
|
465
|
-
sellerId?: string | undefined;
|
|
466
466
|
search?: string | undefined;
|
|
467
467
|
collection?: string | undefined;
|
|
468
468
|
collectionId?: string | undefined;
|
|
@@ -476,6 +476,7 @@ declare const ProductsParamsSchema: z.ZodObject<{
|
|
|
476
476
|
maxPrice?: number | undefined;
|
|
477
477
|
}, {
|
|
478
478
|
sort?: "price_asc" | "price_desc" | "name_asc" | "name_desc" | "newest" | undefined;
|
|
479
|
+
sellerId?: string | undefined;
|
|
479
480
|
productType?: string | undefined;
|
|
480
481
|
brand?: string | undefined;
|
|
481
482
|
category?: string | undefined;
|
|
@@ -484,7 +485,6 @@ declare const ProductsParamsSchema: z.ZodObject<{
|
|
|
484
485
|
pageSize?: number | undefined;
|
|
485
486
|
filters?: string[] | undefined;
|
|
486
487
|
page?: number | undefined;
|
|
487
|
-
sellerId?: string | undefined;
|
|
488
488
|
search?: string | undefined;
|
|
489
489
|
collection?: string | undefined;
|
|
490
490
|
collectionId?: string | number | undefined;
|
|
@@ -522,26 +522,26 @@ declare const SpecItemSchema: z.ZodObject<{
|
|
|
522
522
|
name: z.ZodString;
|
|
523
523
|
value: z.ZodString;
|
|
524
524
|
}, "strip", z.ZodTypeAny, {
|
|
525
|
-
key: string;
|
|
526
525
|
value: string;
|
|
527
526
|
name: string;
|
|
528
|
-
}, {
|
|
529
527
|
key: string;
|
|
528
|
+
}, {
|
|
530
529
|
value: string;
|
|
531
530
|
name: string;
|
|
531
|
+
key: string;
|
|
532
532
|
}>;
|
|
533
533
|
declare const VariantOptionSchema: z.ZodObject<{
|
|
534
534
|
key: z.ZodString;
|
|
535
535
|
name: z.ZodString;
|
|
536
536
|
value: z.ZodString;
|
|
537
537
|
}, "strip", z.ZodTypeAny, {
|
|
538
|
-
key: string;
|
|
539
538
|
value: string;
|
|
540
539
|
name: string;
|
|
541
|
-
}, {
|
|
542
540
|
key: string;
|
|
541
|
+
}, {
|
|
543
542
|
value: string;
|
|
544
543
|
name: string;
|
|
544
|
+
key: string;
|
|
545
545
|
}>;
|
|
546
546
|
declare const ProductImageSchema: z.ZodObject<{
|
|
547
547
|
url: z.ZodString;
|
|
@@ -568,13 +568,13 @@ declare const VariantItemSchema: z.ZodObject<{
|
|
|
568
568
|
name: z.ZodString;
|
|
569
569
|
value: z.ZodString;
|
|
570
570
|
}, "strip", z.ZodTypeAny, {
|
|
571
|
-
key: string;
|
|
572
571
|
value: string;
|
|
573
572
|
name: string;
|
|
574
|
-
}, {
|
|
575
573
|
key: string;
|
|
574
|
+
}, {
|
|
576
575
|
value: string;
|
|
577
576
|
name: string;
|
|
577
|
+
key: string;
|
|
578
578
|
}>, "many">;
|
|
579
579
|
images: z.ZodArray<z.ZodObject<{
|
|
580
580
|
url: z.ZodString;
|
|
@@ -590,12 +590,12 @@ declare const VariantItemSchema: z.ZodObject<{
|
|
|
590
590
|
order: number;
|
|
591
591
|
}>, "many">;
|
|
592
592
|
}, "strip", z.ZodTypeAny, {
|
|
593
|
+
status: string;
|
|
593
594
|
options: {
|
|
594
|
-
key: string;
|
|
595
595
|
value: string;
|
|
596
596
|
name: string;
|
|
597
|
+
key: string;
|
|
597
598
|
}[];
|
|
598
|
-
status: string;
|
|
599
599
|
id: string | null;
|
|
600
600
|
price: number;
|
|
601
601
|
compareAtPrice: number | null;
|
|
@@ -607,12 +607,12 @@ declare const VariantItemSchema: z.ZodObject<{
|
|
|
607
607
|
order: number;
|
|
608
608
|
}[];
|
|
609
609
|
}, {
|
|
610
|
+
status: string;
|
|
610
611
|
options: {
|
|
611
|
-
key: string;
|
|
612
612
|
value: string;
|
|
613
613
|
name: string;
|
|
614
|
+
key: string;
|
|
614
615
|
}[];
|
|
615
|
-
status: string;
|
|
616
616
|
id: string | null;
|
|
617
617
|
price: number;
|
|
618
618
|
compareAtPrice: number | null;
|
|
@@ -636,13 +636,13 @@ declare const VariantSchema: z.ZodObject<{
|
|
|
636
636
|
name: z.ZodString;
|
|
637
637
|
value: z.ZodString;
|
|
638
638
|
}, "strip", z.ZodTypeAny, {
|
|
639
|
-
key: string;
|
|
640
639
|
value: string;
|
|
641
640
|
name: string;
|
|
642
|
-
}, {
|
|
643
641
|
key: string;
|
|
642
|
+
}, {
|
|
644
643
|
value: string;
|
|
645
644
|
name: string;
|
|
645
|
+
key: string;
|
|
646
646
|
}>, "many">;
|
|
647
647
|
images: z.ZodArray<z.ZodObject<{
|
|
648
648
|
url: z.ZodString;
|
|
@@ -658,12 +658,12 @@ declare const VariantSchema: z.ZodObject<{
|
|
|
658
658
|
order: number;
|
|
659
659
|
}>, "many">;
|
|
660
660
|
}, "strip", z.ZodTypeAny, {
|
|
661
|
+
status: string;
|
|
661
662
|
options: {
|
|
662
|
-
key: string;
|
|
663
663
|
value: string;
|
|
664
664
|
name: string;
|
|
665
|
+
key: string;
|
|
665
666
|
}[];
|
|
666
|
-
status: string;
|
|
667
667
|
id: string | null;
|
|
668
668
|
price: number;
|
|
669
669
|
compareAtPrice: number | null;
|
|
@@ -675,12 +675,12 @@ declare const VariantSchema: z.ZodObject<{
|
|
|
675
675
|
order: number;
|
|
676
676
|
}[];
|
|
677
677
|
}, {
|
|
678
|
+
status: string;
|
|
678
679
|
options: {
|
|
679
|
-
key: string;
|
|
680
680
|
value: string;
|
|
681
681
|
name: string;
|
|
682
|
+
key: string;
|
|
682
683
|
}[];
|
|
683
|
-
status: string;
|
|
684
684
|
id: string | null;
|
|
685
685
|
price: number;
|
|
686
686
|
compareAtPrice: number | null;
|
|
@@ -769,19 +769,19 @@ declare const SizeGuideMeasurementSchema: z.ZodObject<{
|
|
|
769
769
|
value: z.ZodNullable<z.ZodNumber>;
|
|
770
770
|
description: z.ZodNullable<z.ZodString>;
|
|
771
771
|
}, "strip", z.ZodTypeAny, {
|
|
772
|
-
key: string;
|
|
773
772
|
value: number | null;
|
|
774
773
|
name: string;
|
|
775
|
-
description: string | null;
|
|
776
774
|
min: number | null;
|
|
777
775
|
max: number | null;
|
|
778
|
-
|
|
776
|
+
description: string | null;
|
|
779
777
|
key: string;
|
|
778
|
+
}, {
|
|
780
779
|
value: number | null;
|
|
781
780
|
name: string;
|
|
782
|
-
description: string | null;
|
|
783
781
|
min: number | null;
|
|
784
782
|
max: number | null;
|
|
783
|
+
description: string | null;
|
|
784
|
+
key: string;
|
|
785
785
|
}>;
|
|
786
786
|
declare const SizeGuideRowSchema: z.ZodObject<{
|
|
787
787
|
label: z.ZodString;
|
|
@@ -795,43 +795,43 @@ declare const SizeGuideRowSchema: z.ZodObject<{
|
|
|
795
795
|
value: z.ZodNullable<z.ZodNumber>;
|
|
796
796
|
description: z.ZodNullable<z.ZodString>;
|
|
797
797
|
}, "strip", z.ZodTypeAny, {
|
|
798
|
-
key: string;
|
|
799
798
|
value: number | null;
|
|
800
799
|
name: string;
|
|
801
|
-
description: string | null;
|
|
802
800
|
min: number | null;
|
|
803
801
|
max: number | null;
|
|
804
|
-
|
|
802
|
+
description: string | null;
|
|
805
803
|
key: string;
|
|
804
|
+
}, {
|
|
806
805
|
value: number | null;
|
|
807
806
|
name: string;
|
|
808
|
-
description: string | null;
|
|
809
807
|
min: number | null;
|
|
810
808
|
max: number | null;
|
|
809
|
+
description: string | null;
|
|
810
|
+
key: string;
|
|
811
811
|
}>, "many">;
|
|
812
812
|
}, "strip", z.ZodTypeAny, {
|
|
813
813
|
label: string;
|
|
814
814
|
order: number;
|
|
815
815
|
sizeKey: string;
|
|
816
816
|
measurements: {
|
|
817
|
-
key: string;
|
|
818
817
|
value: number | null;
|
|
819
818
|
name: string;
|
|
820
|
-
description: string | null;
|
|
821
819
|
min: number | null;
|
|
822
820
|
max: number | null;
|
|
821
|
+
description: string | null;
|
|
822
|
+
key: string;
|
|
823
823
|
}[];
|
|
824
824
|
}, {
|
|
825
825
|
label: string;
|
|
826
826
|
order: number;
|
|
827
827
|
sizeKey: string;
|
|
828
828
|
measurements: {
|
|
829
|
-
key: string;
|
|
830
829
|
value: number | null;
|
|
831
830
|
name: string;
|
|
832
|
-
description: string | null;
|
|
833
831
|
min: number | null;
|
|
834
832
|
max: number | null;
|
|
833
|
+
description: string | null;
|
|
834
|
+
key: string;
|
|
835
835
|
}[];
|
|
836
836
|
}>;
|
|
837
837
|
declare const SizeGuideSchema: z.ZodObject<{
|
|
@@ -856,50 +856,50 @@ declare const SizeGuideSchema: z.ZodObject<{
|
|
|
856
856
|
value: z.ZodNullable<z.ZodNumber>;
|
|
857
857
|
description: z.ZodNullable<z.ZodString>;
|
|
858
858
|
}, "strip", z.ZodTypeAny, {
|
|
859
|
-
key: string;
|
|
860
859
|
value: number | null;
|
|
861
860
|
name: string;
|
|
862
|
-
description: string | null;
|
|
863
861
|
min: number | null;
|
|
864
862
|
max: number | null;
|
|
865
|
-
|
|
863
|
+
description: string | null;
|
|
866
864
|
key: string;
|
|
865
|
+
}, {
|
|
867
866
|
value: number | null;
|
|
868
867
|
name: string;
|
|
869
|
-
description: string | null;
|
|
870
868
|
min: number | null;
|
|
871
869
|
max: number | null;
|
|
870
|
+
description: string | null;
|
|
871
|
+
key: string;
|
|
872
872
|
}>, "many">;
|
|
873
873
|
}, "strip", z.ZodTypeAny, {
|
|
874
874
|
label: string;
|
|
875
875
|
order: number;
|
|
876
876
|
sizeKey: string;
|
|
877
877
|
measurements: {
|
|
878
|
-
key: string;
|
|
879
878
|
value: number | null;
|
|
880
879
|
name: string;
|
|
881
|
-
description: string | null;
|
|
882
880
|
min: number | null;
|
|
883
881
|
max: number | null;
|
|
882
|
+
description: string | null;
|
|
883
|
+
key: string;
|
|
884
884
|
}[];
|
|
885
885
|
}, {
|
|
886
886
|
label: string;
|
|
887
887
|
order: number;
|
|
888
888
|
sizeKey: string;
|
|
889
889
|
measurements: {
|
|
890
|
-
key: string;
|
|
891
890
|
value: number | null;
|
|
892
891
|
name: string;
|
|
893
|
-
description: string | null;
|
|
894
892
|
min: number | null;
|
|
895
893
|
max: number | null;
|
|
894
|
+
description: string | null;
|
|
895
|
+
key: string;
|
|
896
896
|
}[];
|
|
897
897
|
}>, "many">;
|
|
898
898
|
}, "strip", z.ZodTypeAny, {
|
|
899
|
-
id: string;
|
|
900
|
-
slug: string;
|
|
901
899
|
name: string;
|
|
900
|
+
id: string;
|
|
902
901
|
description: string | null;
|
|
902
|
+
slug: string;
|
|
903
903
|
imageUrl: string | null;
|
|
904
904
|
gender: string;
|
|
905
905
|
measurementType: string;
|
|
@@ -910,19 +910,19 @@ declare const SizeGuideSchema: z.ZodObject<{
|
|
|
910
910
|
order: number;
|
|
911
911
|
sizeKey: string;
|
|
912
912
|
measurements: {
|
|
913
|
-
key: string;
|
|
914
913
|
value: number | null;
|
|
915
914
|
name: string;
|
|
916
|
-
description: string | null;
|
|
917
915
|
min: number | null;
|
|
918
916
|
max: number | null;
|
|
917
|
+
description: string | null;
|
|
918
|
+
key: string;
|
|
919
919
|
}[];
|
|
920
920
|
}[];
|
|
921
921
|
}, {
|
|
922
|
-
id: string;
|
|
923
|
-
slug: string;
|
|
924
922
|
name: string;
|
|
923
|
+
id: string;
|
|
925
924
|
description: string | null;
|
|
925
|
+
slug: string;
|
|
926
926
|
imageUrl: string | null;
|
|
927
927
|
gender: string;
|
|
928
928
|
measurementType: string;
|
|
@@ -933,12 +933,12 @@ declare const SizeGuideSchema: z.ZodObject<{
|
|
|
933
933
|
order: number;
|
|
934
934
|
sizeKey: string;
|
|
935
935
|
measurements: {
|
|
936
|
-
key: string;
|
|
937
936
|
value: number | null;
|
|
938
937
|
name: string;
|
|
939
|
-
description: string | null;
|
|
940
938
|
min: number | null;
|
|
941
939
|
max: number | null;
|
|
940
|
+
description: string | null;
|
|
941
|
+
key: string;
|
|
942
942
|
}[];
|
|
943
943
|
}[];
|
|
944
944
|
}>;
|
|
@@ -963,13 +963,13 @@ declare const ProductDetailSchema: z.ZodObject<{
|
|
|
963
963
|
name: z.ZodString;
|
|
964
964
|
value: z.ZodString;
|
|
965
965
|
}, "strip", z.ZodTypeAny, {
|
|
966
|
-
key: string;
|
|
967
966
|
value: string;
|
|
968
967
|
name: string;
|
|
969
|
-
}, {
|
|
970
968
|
key: string;
|
|
969
|
+
}, {
|
|
971
970
|
value: string;
|
|
972
971
|
name: string;
|
|
972
|
+
key: string;
|
|
973
973
|
}>, "many">;
|
|
974
974
|
variants: z.ZodArray<z.ZodObject<{
|
|
975
975
|
id: z.ZodNullable<z.ZodString>;
|
|
@@ -983,13 +983,13 @@ declare const ProductDetailSchema: z.ZodObject<{
|
|
|
983
983
|
name: z.ZodString;
|
|
984
984
|
value: z.ZodString;
|
|
985
985
|
}, "strip", z.ZodTypeAny, {
|
|
986
|
-
key: string;
|
|
987
986
|
value: string;
|
|
988
987
|
name: string;
|
|
989
|
-
}, {
|
|
990
988
|
key: string;
|
|
989
|
+
}, {
|
|
991
990
|
value: string;
|
|
992
991
|
name: string;
|
|
992
|
+
key: string;
|
|
993
993
|
}>, "many">;
|
|
994
994
|
images: z.ZodArray<z.ZodObject<{
|
|
995
995
|
url: z.ZodString;
|
|
@@ -1005,12 +1005,12 @@ declare const ProductDetailSchema: z.ZodObject<{
|
|
|
1005
1005
|
order: number;
|
|
1006
1006
|
}>, "many">;
|
|
1007
1007
|
}, "strip", z.ZodTypeAny, {
|
|
1008
|
+
status: string;
|
|
1008
1009
|
options: {
|
|
1009
|
-
key: string;
|
|
1010
1010
|
value: string;
|
|
1011
1011
|
name: string;
|
|
1012
|
+
key: string;
|
|
1012
1013
|
}[];
|
|
1013
|
-
status: string;
|
|
1014
1014
|
id: string | null;
|
|
1015
1015
|
price: number;
|
|
1016
1016
|
compareAtPrice: number | null;
|
|
@@ -1022,12 +1022,12 @@ declare const ProductDetailSchema: z.ZodObject<{
|
|
|
1022
1022
|
order: number;
|
|
1023
1023
|
}[];
|
|
1024
1024
|
}, {
|
|
1025
|
+
status: string;
|
|
1025
1026
|
options: {
|
|
1026
|
-
key: string;
|
|
1027
1027
|
value: string;
|
|
1028
1028
|
name: string;
|
|
1029
|
+
key: string;
|
|
1029
1030
|
}[];
|
|
1030
|
-
status: string;
|
|
1031
1031
|
id: string | null;
|
|
1032
1032
|
price: number;
|
|
1033
1033
|
compareAtPrice: number | null;
|
|
@@ -1111,50 +1111,50 @@ declare const ProductDetailSchema: z.ZodObject<{
|
|
|
1111
1111
|
value: z.ZodNullable<z.ZodNumber>;
|
|
1112
1112
|
description: z.ZodNullable<z.ZodString>;
|
|
1113
1113
|
}, "strip", z.ZodTypeAny, {
|
|
1114
|
-
key: string;
|
|
1115
1114
|
value: number | null;
|
|
1116
1115
|
name: string;
|
|
1117
|
-
description: string | null;
|
|
1118
1116
|
min: number | null;
|
|
1119
1117
|
max: number | null;
|
|
1120
|
-
|
|
1118
|
+
description: string | null;
|
|
1121
1119
|
key: string;
|
|
1120
|
+
}, {
|
|
1122
1121
|
value: number | null;
|
|
1123
1122
|
name: string;
|
|
1124
|
-
description: string | null;
|
|
1125
1123
|
min: number | null;
|
|
1126
1124
|
max: number | null;
|
|
1125
|
+
description: string | null;
|
|
1126
|
+
key: string;
|
|
1127
1127
|
}>, "many">;
|
|
1128
1128
|
}, "strip", z.ZodTypeAny, {
|
|
1129
1129
|
label: string;
|
|
1130
1130
|
order: number;
|
|
1131
1131
|
sizeKey: string;
|
|
1132
1132
|
measurements: {
|
|
1133
|
-
key: string;
|
|
1134
1133
|
value: number | null;
|
|
1135
1134
|
name: string;
|
|
1136
|
-
description: string | null;
|
|
1137
1135
|
min: number | null;
|
|
1138
1136
|
max: number | null;
|
|
1137
|
+
description: string | null;
|
|
1138
|
+
key: string;
|
|
1139
1139
|
}[];
|
|
1140
1140
|
}, {
|
|
1141
1141
|
label: string;
|
|
1142
1142
|
order: number;
|
|
1143
1143
|
sizeKey: string;
|
|
1144
1144
|
measurements: {
|
|
1145
|
-
key: string;
|
|
1146
1145
|
value: number | null;
|
|
1147
1146
|
name: string;
|
|
1148
|
-
description: string | null;
|
|
1149
1147
|
min: number | null;
|
|
1150
1148
|
max: number | null;
|
|
1149
|
+
description: string | null;
|
|
1150
|
+
key: string;
|
|
1151
1151
|
}[];
|
|
1152
1152
|
}>, "many">;
|
|
1153
1153
|
}, "strip", z.ZodTypeAny, {
|
|
1154
|
-
id: string;
|
|
1155
|
-
slug: string;
|
|
1156
1154
|
name: string;
|
|
1155
|
+
id: string;
|
|
1157
1156
|
description: string | null;
|
|
1157
|
+
slug: string;
|
|
1158
1158
|
imageUrl: string | null;
|
|
1159
1159
|
gender: string;
|
|
1160
1160
|
measurementType: string;
|
|
@@ -1165,19 +1165,19 @@ declare const ProductDetailSchema: z.ZodObject<{
|
|
|
1165
1165
|
order: number;
|
|
1166
1166
|
sizeKey: string;
|
|
1167
1167
|
measurements: {
|
|
1168
|
-
key: string;
|
|
1169
1168
|
value: number | null;
|
|
1170
1169
|
name: string;
|
|
1171
|
-
description: string | null;
|
|
1172
1170
|
min: number | null;
|
|
1173
1171
|
max: number | null;
|
|
1172
|
+
description: string | null;
|
|
1173
|
+
key: string;
|
|
1174
1174
|
}[];
|
|
1175
1175
|
}[];
|
|
1176
1176
|
}, {
|
|
1177
|
-
id: string;
|
|
1178
|
-
slug: string;
|
|
1179
1177
|
name: string;
|
|
1178
|
+
id: string;
|
|
1180
1179
|
description: string | null;
|
|
1180
|
+
slug: string;
|
|
1181
1181
|
imageUrl: string | null;
|
|
1182
1182
|
gender: string;
|
|
1183
1183
|
measurementType: string;
|
|
@@ -1188,12 +1188,12 @@ declare const ProductDetailSchema: z.ZodObject<{
|
|
|
1188
1188
|
order: number;
|
|
1189
1189
|
sizeKey: string;
|
|
1190
1190
|
measurements: {
|
|
1191
|
-
key: string;
|
|
1192
1191
|
value: number | null;
|
|
1193
1192
|
name: string;
|
|
1194
|
-
description: string | null;
|
|
1195
1193
|
min: number | null;
|
|
1196
1194
|
max: number | null;
|
|
1195
|
+
description: string | null;
|
|
1196
|
+
key: string;
|
|
1197
1197
|
}[];
|
|
1198
1198
|
}[];
|
|
1199
1199
|
}>>;
|
|
@@ -1217,10 +1217,10 @@ declare const ProductDetailSchema: z.ZodObject<{
|
|
|
1217
1217
|
updatedAt: z.ZodNullable<z.ZodString>;
|
|
1218
1218
|
}, "strip", z.ZodTypeAny, {
|
|
1219
1219
|
status: string;
|
|
1220
|
-
id: string;
|
|
1221
|
-
slug: string;
|
|
1222
1220
|
name: string;
|
|
1221
|
+
id: string;
|
|
1223
1222
|
description: string;
|
|
1223
|
+
slug: string;
|
|
1224
1224
|
imageUrl: string;
|
|
1225
1225
|
productType: string;
|
|
1226
1226
|
price: number;
|
|
@@ -1237,17 +1237,17 @@ declare const ProductDetailSchema: z.ZodObject<{
|
|
|
1237
1237
|
}[];
|
|
1238
1238
|
categoryId: string | null;
|
|
1239
1239
|
specifications: {
|
|
1240
|
-
key: string;
|
|
1241
1240
|
value: string;
|
|
1242
1241
|
name: string;
|
|
1242
|
+
key: string;
|
|
1243
1243
|
}[];
|
|
1244
1244
|
variants: {
|
|
1245
|
+
status: string;
|
|
1245
1246
|
options: {
|
|
1246
|
-
key: string;
|
|
1247
1247
|
value: string;
|
|
1248
1248
|
name: string;
|
|
1249
|
+
key: string;
|
|
1249
1250
|
}[];
|
|
1250
|
-
status: string;
|
|
1251
1251
|
id: string | null;
|
|
1252
1252
|
price: number;
|
|
1253
1253
|
compareAtPrice: number | null;
|
|
@@ -1273,10 +1273,10 @@ declare const ProductDetailSchema: z.ZodObject<{
|
|
|
1273
1273
|
requiresShipping: boolean;
|
|
1274
1274
|
}[];
|
|
1275
1275
|
sizeGuide: {
|
|
1276
|
-
id: string;
|
|
1277
|
-
slug: string;
|
|
1278
1276
|
name: string;
|
|
1277
|
+
id: string;
|
|
1279
1278
|
description: string | null;
|
|
1279
|
+
slug: string;
|
|
1280
1280
|
imageUrl: string | null;
|
|
1281
1281
|
gender: string;
|
|
1282
1282
|
measurementType: string;
|
|
@@ -1287,12 +1287,12 @@ declare const ProductDetailSchema: z.ZodObject<{
|
|
|
1287
1287
|
order: number;
|
|
1288
1288
|
sizeKey: string;
|
|
1289
1289
|
measurements: {
|
|
1290
|
-
key: string;
|
|
1291
1290
|
value: number | null;
|
|
1292
1291
|
name: string;
|
|
1293
|
-
description: string | null;
|
|
1294
1292
|
min: number | null;
|
|
1295
1293
|
max: number | null;
|
|
1294
|
+
description: string | null;
|
|
1295
|
+
key: string;
|
|
1296
1296
|
}[];
|
|
1297
1297
|
}[];
|
|
1298
1298
|
} | null;
|
|
@@ -1306,10 +1306,10 @@ declare const ProductDetailSchema: z.ZodObject<{
|
|
|
1306
1306
|
updatedAt: string | null;
|
|
1307
1307
|
}, {
|
|
1308
1308
|
status: string;
|
|
1309
|
-
id: string | number;
|
|
1310
|
-
slug: string;
|
|
1311
1309
|
name: string;
|
|
1310
|
+
id: string | number;
|
|
1312
1311
|
description: string;
|
|
1312
|
+
slug: string;
|
|
1313
1313
|
imageUrl: string;
|
|
1314
1314
|
productType: string;
|
|
1315
1315
|
price: number;
|
|
@@ -1326,17 +1326,17 @@ declare const ProductDetailSchema: z.ZodObject<{
|
|
|
1326
1326
|
}[];
|
|
1327
1327
|
categoryId: string | number | null;
|
|
1328
1328
|
specifications: {
|
|
1329
|
-
key: string;
|
|
1330
1329
|
value: string;
|
|
1331
1330
|
name: string;
|
|
1331
|
+
key: string;
|
|
1332
1332
|
}[];
|
|
1333
1333
|
variants: {
|
|
1334
|
+
status: string;
|
|
1334
1335
|
options: {
|
|
1335
|
-
key: string;
|
|
1336
1336
|
value: string;
|
|
1337
1337
|
name: string;
|
|
1338
|
+
key: string;
|
|
1338
1339
|
}[];
|
|
1339
|
-
status: string;
|
|
1340
1340
|
id: string | null;
|
|
1341
1341
|
price: number;
|
|
1342
1342
|
compareAtPrice: number | null;
|
|
@@ -1362,10 +1362,10 @@ declare const ProductDetailSchema: z.ZodObject<{
|
|
|
1362
1362
|
requiresShipping: boolean;
|
|
1363
1363
|
}[];
|
|
1364
1364
|
sizeGuide: {
|
|
1365
|
-
id: string;
|
|
1366
|
-
slug: string;
|
|
1367
1365
|
name: string;
|
|
1366
|
+
id: string;
|
|
1368
1367
|
description: string | null;
|
|
1368
|
+
slug: string;
|
|
1369
1369
|
imageUrl: string | null;
|
|
1370
1370
|
gender: string;
|
|
1371
1371
|
measurementType: string;
|
|
@@ -1376,12 +1376,12 @@ declare const ProductDetailSchema: z.ZodObject<{
|
|
|
1376
1376
|
order: number;
|
|
1377
1377
|
sizeKey: string;
|
|
1378
1378
|
measurements: {
|
|
1379
|
-
key: string;
|
|
1380
1379
|
value: number | null;
|
|
1381
1380
|
name: string;
|
|
1382
|
-
description: string | null;
|
|
1383
1381
|
min: number | null;
|
|
1384
1382
|
max: number | null;
|
|
1383
|
+
description: string | null;
|
|
1384
|
+
key: string;
|
|
1385
1385
|
}[];
|
|
1386
1386
|
}[];
|
|
1387
1387
|
} | null;
|