@ecomiq/core 0.1.1 → 0.1.2
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/client.cjs +10 -0
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +4 -2
- package/dist/client.d.ts +4 -2
- package/dist/client.js +10 -0
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +11 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +328 -324
- package/dist/index.d.ts +328 -324
- package/dist/index.js +11 -1
- package/dist/index.js.map +1 -1
- 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 +514 -514
- package/dist/models/settings.d.ts +514 -514
- 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 +400 -400
- package/dist/models/storefront-checkout.d.ts +400 -400
- package/dist/models/storefront-reviews.d.cts +8 -8
- package/dist/models/storefront-reviews.d.ts +8 -8
- package/package.json +7 -8
|
@@ -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;
|
|
24
23
|
id: string;
|
|
25
24
|
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;
|
|
41
40
|
id: string | number;
|
|
42
41
|
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;
|
|
76
75
|
id: string;
|
|
77
76
|
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;
|
|
93
92
|
id: string | number;
|
|
94
93
|
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;
|
|
128
127
|
id: string;
|
|
129
128
|
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;
|
|
145
144
|
id: string | number;
|
|
146
145
|
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
|
-
label: string | null;
|
|
168
167
|
count: number;
|
|
168
|
+
label: string | null;
|
|
169
169
|
selected: boolean;
|
|
170
170
|
}, {
|
|
171
171
|
value: string;
|
|
172
|
-
label: string | null;
|
|
173
172
|
count: number;
|
|
173
|
+
label: string | null;
|
|
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
|
-
label: string | null;
|
|
184
183
|
count: number;
|
|
184
|
+
label: string | null;
|
|
185
185
|
selected: boolean;
|
|
186
186
|
}, {
|
|
187
187
|
value: string;
|
|
188
|
-
label: string | null;
|
|
189
188
|
count: number;
|
|
189
|
+
label: string | null;
|
|
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
|
-
label: string | null;
|
|
204
203
|
count: number;
|
|
204
|
+
label: string | null;
|
|
205
205
|
selected: boolean;
|
|
206
206
|
}, {
|
|
207
207
|
value: string;
|
|
208
|
-
label: string | null;
|
|
209
208
|
count: number;
|
|
209
|
+
label: string | null;
|
|
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";
|
|
217
218
|
values: {
|
|
218
219
|
value: string;
|
|
219
|
-
label: string | null;
|
|
220
220
|
count: number;
|
|
221
|
+
label: string | null;
|
|
221
222
|
selected: boolean;
|
|
222
223
|
}[];
|
|
223
|
-
type: "list" | "price_range";
|
|
224
|
-
min: number | null;
|
|
225
|
-
max: number | null;
|
|
226
224
|
id: string;
|
|
227
225
|
label: string;
|
|
226
|
+
min: number | null;
|
|
227
|
+
max: number | null;
|
|
228
228
|
selectedMin: number | null;
|
|
229
229
|
selectedMax: number | null;
|
|
230
230
|
}, {
|
|
231
|
+
type: "list" | "price_range";
|
|
231
232
|
values: {
|
|
232
233
|
value: string;
|
|
233
|
-
label: string | null;
|
|
234
234
|
count: number;
|
|
235
|
+
label: string | null;
|
|
235
236
|
selected: boolean;
|
|
236
237
|
}[];
|
|
237
|
-
type: "list" | "price_range";
|
|
238
|
-
min: number | null;
|
|
239
|
-
max: number | null;
|
|
240
238
|
id: string;
|
|
241
239
|
label: string;
|
|
240
|
+
min: number | null;
|
|
241
|
+
max: number | null;
|
|
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;
|
|
270
269
|
id: string;
|
|
271
270
|
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;
|
|
287
286
|
id: string | number;
|
|
288
287
|
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
|
-
label: string | null;
|
|
314
313
|
count: number;
|
|
314
|
+
label: string | null;
|
|
315
315
|
selected: boolean;
|
|
316
316
|
}, {
|
|
317
317
|
value: string;
|
|
318
|
-
label: string | null;
|
|
319
318
|
count: number;
|
|
319
|
+
label: string | null;
|
|
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";
|
|
327
328
|
values: {
|
|
328
329
|
value: string;
|
|
329
|
-
label: string | null;
|
|
330
330
|
count: number;
|
|
331
|
+
label: string | null;
|
|
331
332
|
selected: boolean;
|
|
332
333
|
}[];
|
|
333
|
-
type: "list" | "price_range";
|
|
334
|
-
min: number | null;
|
|
335
|
-
max: number | null;
|
|
336
334
|
id: string;
|
|
337
335
|
label: string;
|
|
336
|
+
min: number | null;
|
|
337
|
+
max: number | null;
|
|
338
338
|
selectedMin: number | null;
|
|
339
339
|
selectedMax: number | null;
|
|
340
340
|
}, {
|
|
341
|
+
type: "list" | "price_range";
|
|
341
342
|
values: {
|
|
342
343
|
value: string;
|
|
343
|
-
label: string | null;
|
|
344
344
|
count: number;
|
|
345
|
+
label: string | null;
|
|
345
346
|
selected: boolean;
|
|
346
347
|
}[];
|
|
347
|
-
type: "list" | "price_range";
|
|
348
|
-
min: number | null;
|
|
349
|
-
max: number | null;
|
|
350
348
|
id: string;
|
|
351
349
|
label: string;
|
|
350
|
+
min: number | null;
|
|
351
|
+
max: number | null;
|
|
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;
|
|
363
362
|
id: string;
|
|
364
363
|
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";
|
|
379
380
|
values: {
|
|
380
381
|
value: string;
|
|
381
|
-
label: string | null;
|
|
382
382
|
count: number;
|
|
383
|
+
label: string | null;
|
|
383
384
|
selected: boolean;
|
|
384
385
|
}[];
|
|
385
|
-
type: "list" | "price_range";
|
|
386
|
-
min: number | null;
|
|
387
|
-
max: number | null;
|
|
388
386
|
id: string;
|
|
389
387
|
label: string;
|
|
388
|
+
min: number | null;
|
|
389
|
+
max: number | null;
|
|
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;
|
|
401
400
|
id: string | number;
|
|
402
401
|
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";
|
|
417
418
|
values: {
|
|
418
419
|
value: string;
|
|
419
|
-
label: string | null;
|
|
420
420
|
count: number;
|
|
421
|
+
label: string | null;
|
|
421
422
|
selected: boolean;
|
|
422
423
|
}[];
|
|
423
|
-
type: "list" | "price_range";
|
|
424
|
-
min: number | null;
|
|
425
|
-
max: number | null;
|
|
426
424
|
id: string;
|
|
427
425
|
label: string;
|
|
426
|
+
min: number | null;
|
|
427
|
+
max: number | null;
|
|
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;
|
|
460
459
|
productType?: string | undefined;
|
|
461
460
|
brand?: string | undefined;
|
|
462
461
|
category?: string | undefined;
|
|
463
462
|
collections?: string[] | undefined;
|
|
464
463
|
tags?: string[] | undefined;
|
|
465
464
|
filters?: string[] | undefined;
|
|
465
|
+
sellerId?: string | undefined;
|
|
466
466
|
search?: string | undefined;
|
|
467
467
|
collection?: string | undefined;
|
|
468
468
|
collectionId?: string | undefined;
|
|
@@ -476,7 +476,6 @@ 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;
|
|
480
479
|
productType?: string | undefined;
|
|
481
480
|
brand?: string | undefined;
|
|
482
481
|
category?: string | undefined;
|
|
@@ -485,6 +484,7 @@ declare const ProductsParamsSchema: z.ZodObject<{
|
|
|
485
484
|
pageSize?: number | undefined;
|
|
486
485
|
filters?: string[] | undefined;
|
|
487
486
|
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;
|
|
525
526
|
value: string;
|
|
526
527
|
name: string;
|
|
527
|
-
key: string;
|
|
528
528
|
}, {
|
|
529
|
+
key: string;
|
|
529
530
|
value: string;
|
|
530
531
|
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;
|
|
538
539
|
value: string;
|
|
539
540
|
name: string;
|
|
540
|
-
key: string;
|
|
541
541
|
}, {
|
|
542
|
+
key: string;
|
|
542
543
|
value: string;
|
|
543
544
|
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;
|
|
571
572
|
value: string;
|
|
572
573
|
name: string;
|
|
573
|
-
key: string;
|
|
574
574
|
}, {
|
|
575
|
+
key: string;
|
|
575
576
|
value: string;
|
|
576
577
|
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;
|
|
594
593
|
options: {
|
|
594
|
+
key: string;
|
|
595
595
|
value: string;
|
|
596
596
|
name: string;
|
|
597
|
-
key: string;
|
|
598
597
|
}[];
|
|
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;
|
|
611
610
|
options: {
|
|
611
|
+
key: string;
|
|
612
612
|
value: string;
|
|
613
613
|
name: string;
|
|
614
|
-
key: string;
|
|
615
614
|
}[];
|
|
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;
|
|
639
640
|
value: string;
|
|
640
641
|
name: string;
|
|
641
|
-
key: string;
|
|
642
642
|
}, {
|
|
643
|
+
key: string;
|
|
643
644
|
value: string;
|
|
644
645
|
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;
|
|
662
661
|
options: {
|
|
662
|
+
key: string;
|
|
663
663
|
value: string;
|
|
664
664
|
name: string;
|
|
665
|
-
key: string;
|
|
666
665
|
}[];
|
|
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;
|
|
679
678
|
options: {
|
|
679
|
+
key: string;
|
|
680
680
|
value: string;
|
|
681
681
|
name: string;
|
|
682
|
-
key: string;
|
|
683
682
|
}[];
|
|
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;
|
|
772
773
|
value: number | null;
|
|
773
774
|
name: string;
|
|
775
|
+
description: string | null;
|
|
774
776
|
min: number | null;
|
|
775
777
|
max: number | null;
|
|
776
|
-
description: string | null;
|
|
777
|
-
key: string;
|
|
778
778
|
}, {
|
|
779
|
+
key: string;
|
|
779
780
|
value: number | null;
|
|
780
781
|
name: string;
|
|
782
|
+
description: string | null;
|
|
781
783
|
min: number | null;
|
|
782
784
|
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;
|
|
798
799
|
value: number | null;
|
|
799
800
|
name: string;
|
|
801
|
+
description: string | null;
|
|
800
802
|
min: number | null;
|
|
801
803
|
max: number | null;
|
|
802
|
-
description: string | null;
|
|
803
|
-
key: string;
|
|
804
804
|
}, {
|
|
805
|
+
key: string;
|
|
805
806
|
value: number | null;
|
|
806
807
|
name: string;
|
|
808
|
+
description: string | null;
|
|
807
809
|
min: number | null;
|
|
808
810
|
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;
|
|
817
818
|
value: number | null;
|
|
818
819
|
name: string;
|
|
820
|
+
description: string | null;
|
|
819
821
|
min: number | null;
|
|
820
822
|
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;
|
|
829
830
|
value: number | null;
|
|
830
831
|
name: string;
|
|
832
|
+
description: string | null;
|
|
831
833
|
min: number | null;
|
|
832
834
|
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;
|
|
859
860
|
value: number | null;
|
|
860
861
|
name: string;
|
|
862
|
+
description: string | null;
|
|
861
863
|
min: number | null;
|
|
862
864
|
max: number | null;
|
|
863
|
-
description: string | null;
|
|
864
|
-
key: string;
|
|
865
865
|
}, {
|
|
866
|
+
key: string;
|
|
866
867
|
value: number | null;
|
|
867
868
|
name: string;
|
|
869
|
+
description: string | null;
|
|
868
870
|
min: number | null;
|
|
869
871
|
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;
|
|
878
879
|
value: number | null;
|
|
879
880
|
name: string;
|
|
881
|
+
description: string | null;
|
|
880
882
|
min: number | null;
|
|
881
883
|
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;
|
|
890
891
|
value: number | null;
|
|
891
892
|
name: string;
|
|
893
|
+
description: string | null;
|
|
892
894
|
min: number | null;
|
|
893
895
|
max: number | null;
|
|
894
|
-
description: string | null;
|
|
895
|
-
key: string;
|
|
896
896
|
}[];
|
|
897
897
|
}>, "many">;
|
|
898
898
|
}, "strip", z.ZodTypeAny, {
|
|
899
|
-
name: string;
|
|
900
899
|
id: string;
|
|
901
|
-
description: string | null;
|
|
902
900
|
slug: string;
|
|
901
|
+
name: string;
|
|
902
|
+
description: string | null;
|
|
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;
|
|
913
914
|
value: number | null;
|
|
914
915
|
name: string;
|
|
916
|
+
description: string | null;
|
|
915
917
|
min: number | null;
|
|
916
918
|
max: number | null;
|
|
917
|
-
description: string | null;
|
|
918
|
-
key: string;
|
|
919
919
|
}[];
|
|
920
920
|
}[];
|
|
921
921
|
}, {
|
|
922
|
-
name: string;
|
|
923
922
|
id: string;
|
|
924
|
-
description: string | null;
|
|
925
923
|
slug: string;
|
|
924
|
+
name: string;
|
|
925
|
+
description: string | null;
|
|
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;
|
|
936
937
|
value: number | null;
|
|
937
938
|
name: string;
|
|
939
|
+
description: string | null;
|
|
938
940
|
min: number | null;
|
|
939
941
|
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;
|
|
966
967
|
value: string;
|
|
967
968
|
name: string;
|
|
968
|
-
key: string;
|
|
969
969
|
}, {
|
|
970
|
+
key: string;
|
|
970
971
|
value: string;
|
|
971
972
|
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;
|
|
986
987
|
value: string;
|
|
987
988
|
name: string;
|
|
988
|
-
key: string;
|
|
989
989
|
}, {
|
|
990
|
+
key: string;
|
|
990
991
|
value: string;
|
|
991
992
|
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;
|
|
1009
1008
|
options: {
|
|
1009
|
+
key: string;
|
|
1010
1010
|
value: string;
|
|
1011
1011
|
name: string;
|
|
1012
|
-
key: string;
|
|
1013
1012
|
}[];
|
|
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;
|
|
1026
1025
|
options: {
|
|
1026
|
+
key: string;
|
|
1027
1027
|
value: string;
|
|
1028
1028
|
name: string;
|
|
1029
|
-
key: string;
|
|
1030
1029
|
}[];
|
|
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;
|
|
1114
1115
|
value: number | null;
|
|
1115
1116
|
name: string;
|
|
1117
|
+
description: string | null;
|
|
1116
1118
|
min: number | null;
|
|
1117
1119
|
max: number | null;
|
|
1118
|
-
description: string | null;
|
|
1119
|
-
key: string;
|
|
1120
1120
|
}, {
|
|
1121
|
+
key: string;
|
|
1121
1122
|
value: number | null;
|
|
1122
1123
|
name: string;
|
|
1124
|
+
description: string | null;
|
|
1123
1125
|
min: number | null;
|
|
1124
1126
|
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;
|
|
1133
1134
|
value: number | null;
|
|
1134
1135
|
name: string;
|
|
1136
|
+
description: string | null;
|
|
1135
1137
|
min: number | null;
|
|
1136
1138
|
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;
|
|
1145
1146
|
value: number | null;
|
|
1146
1147
|
name: string;
|
|
1148
|
+
description: string | null;
|
|
1147
1149
|
min: number | null;
|
|
1148
1150
|
max: number | null;
|
|
1149
|
-
description: string | null;
|
|
1150
|
-
key: string;
|
|
1151
1151
|
}[];
|
|
1152
1152
|
}>, "many">;
|
|
1153
1153
|
}, "strip", z.ZodTypeAny, {
|
|
1154
|
-
name: string;
|
|
1155
1154
|
id: string;
|
|
1156
|
-
description: string | null;
|
|
1157
1155
|
slug: string;
|
|
1156
|
+
name: string;
|
|
1157
|
+
description: string | null;
|
|
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;
|
|
1168
1169
|
value: number | null;
|
|
1169
1170
|
name: string;
|
|
1171
|
+
description: string | null;
|
|
1170
1172
|
min: number | null;
|
|
1171
1173
|
max: number | null;
|
|
1172
|
-
description: string | null;
|
|
1173
|
-
key: string;
|
|
1174
1174
|
}[];
|
|
1175
1175
|
}[];
|
|
1176
1176
|
}, {
|
|
1177
|
-
name: string;
|
|
1178
1177
|
id: string;
|
|
1179
|
-
description: string | null;
|
|
1180
1178
|
slug: string;
|
|
1179
|
+
name: string;
|
|
1180
|
+
description: string | null;
|
|
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;
|
|
1191
1192
|
value: number | null;
|
|
1192
1193
|
name: string;
|
|
1194
|
+
description: string | null;
|
|
1193
1195
|
min: number | null;
|
|
1194
1196
|
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
|
-
name: string;
|
|
1221
1220
|
id: string;
|
|
1222
|
-
description: string;
|
|
1223
1221
|
slug: string;
|
|
1222
|
+
name: string;
|
|
1223
|
+
description: 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;
|
|
1240
1241
|
value: string;
|
|
1241
1242
|
name: string;
|
|
1242
|
-
key: string;
|
|
1243
1243
|
}[];
|
|
1244
1244
|
variants: {
|
|
1245
|
-
status: string;
|
|
1246
1245
|
options: {
|
|
1246
|
+
key: string;
|
|
1247
1247
|
value: string;
|
|
1248
1248
|
name: string;
|
|
1249
|
-
key: string;
|
|
1250
1249
|
}[];
|
|
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
|
-
name: string;
|
|
1277
1276
|
id: string;
|
|
1278
|
-
description: string | null;
|
|
1279
1277
|
slug: string;
|
|
1278
|
+
name: string;
|
|
1279
|
+
description: string | null;
|
|
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;
|
|
1290
1291
|
value: number | null;
|
|
1291
1292
|
name: string;
|
|
1293
|
+
description: string | null;
|
|
1292
1294
|
min: number | null;
|
|
1293
1295
|
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
|
-
name: string;
|
|
1310
1309
|
id: string | number;
|
|
1311
|
-
description: string;
|
|
1312
1310
|
slug: string;
|
|
1311
|
+
name: string;
|
|
1312
|
+
description: 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;
|
|
1329
1330
|
value: string;
|
|
1330
1331
|
name: string;
|
|
1331
|
-
key: string;
|
|
1332
1332
|
}[];
|
|
1333
1333
|
variants: {
|
|
1334
|
-
status: string;
|
|
1335
1334
|
options: {
|
|
1335
|
+
key: string;
|
|
1336
1336
|
value: string;
|
|
1337
1337
|
name: string;
|
|
1338
|
-
key: string;
|
|
1339
1338
|
}[];
|
|
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
|
-
name: string;
|
|
1366
1365
|
id: string;
|
|
1367
|
-
description: string | null;
|
|
1368
1366
|
slug: string;
|
|
1367
|
+
name: string;
|
|
1368
|
+
description: string | null;
|
|
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;
|
|
1379
1380
|
value: number | null;
|
|
1380
1381
|
name: string;
|
|
1382
|
+
description: string | null;
|
|
1381
1383
|
min: number | null;
|
|
1382
1384
|
max: number | null;
|
|
1383
|
-
description: string | null;
|
|
1384
|
-
key: string;
|
|
1385
1385
|
}[];
|
|
1386
1386
|
}[];
|
|
1387
1387
|
} | null;
|