@aveliya/contracts 1.0.0

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.
@@ -0,0 +1,1221 @@
1
+ import { z } from 'zod';
2
+ export declare const adminVariantSchema: z.ZodObject<{
3
+ id: z.ZodString;
4
+ sku: z.ZodString;
5
+ colorId: z.ZodString;
6
+ sizeId: z.ZodString;
7
+ quantity: z.ZodNumber;
8
+ imageUrl: z.ZodOptional<z.ZodString>;
9
+ mediaId: z.ZodOptional<z.ZodString>;
10
+ active: z.ZodOptional<z.ZodBoolean>;
11
+ }, "strict", z.ZodTypeAny, {
12
+ id: string;
13
+ sku: string;
14
+ colorId: string;
15
+ sizeId: string;
16
+ quantity: number;
17
+ imageUrl?: string | undefined;
18
+ mediaId?: string | undefined;
19
+ active?: boolean | undefined;
20
+ }, {
21
+ id: string;
22
+ sku: string;
23
+ colorId: string;
24
+ sizeId: string;
25
+ quantity: number;
26
+ imageUrl?: string | undefined;
27
+ mediaId?: string | undefined;
28
+ active?: boolean | undefined;
29
+ }>;
30
+ export declare const adminProductSchema: z.ZodObject<{
31
+ primaryCategoryId: z.ZodOptional<z.ZodString>;
32
+ id: z.ZodString;
33
+ slug: z.ZodString;
34
+ name: z.ZodString;
35
+ sku: z.ZodString;
36
+ description: z.ZodString;
37
+ shortDescription: z.ZodString;
38
+ category: z.ZodString;
39
+ subcategory: z.ZodString;
40
+ collection: z.ZodString;
41
+ audience: z.ZodString;
42
+ collections: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
43
+ seoTitle: z.ZodOptional<z.ZodString>;
44
+ seoDescription: z.ZodOptional<z.ZodString>;
45
+ createdAt: z.ZodOptional<z.ZodString>;
46
+ updatedAt: z.ZodOptional<z.ZodString>;
47
+ basePrice: z.ZodNumber;
48
+ salePrice: z.ZodOptional<z.ZodNumber>;
49
+ images: z.ZodArray<z.ZodObject<{
50
+ id: z.ZodOptional<z.ZodString>;
51
+ primary: z.ZodOptional<z.ZodBoolean>;
52
+ order: z.ZodOptional<z.ZodNumber>;
53
+ colorId: z.ZodOptional<z.ZodString>;
54
+ variantId: z.ZodOptional<z.ZodString>;
55
+ type: z.ZodOptional<z.ZodLiteral<"image">>;
56
+ url: z.ZodString;
57
+ alt: z.ZodString;
58
+ width: z.ZodNumber;
59
+ height: z.ZodNumber;
60
+ }, "strict", z.ZodTypeAny, {
61
+ url: string;
62
+ alt: string;
63
+ width: number;
64
+ height: number;
65
+ id?: string | undefined;
66
+ colorId?: string | undefined;
67
+ type?: "image" | undefined;
68
+ primary?: boolean | undefined;
69
+ order?: number | undefined;
70
+ variantId?: string | undefined;
71
+ }, {
72
+ url: string;
73
+ alt: string;
74
+ width: number;
75
+ height: number;
76
+ id?: string | undefined;
77
+ colorId?: string | undefined;
78
+ type?: "image" | undefined;
79
+ primary?: boolean | undefined;
80
+ order?: number | undefined;
81
+ variantId?: string | undefined;
82
+ }>, "many">;
83
+ videos: z.ZodArray<z.ZodString, "many">;
84
+ colors: z.ZodArray<z.ZodObject<{
85
+ id: z.ZodString;
86
+ name: z.ZodString;
87
+ hex: z.ZodString;
88
+ }, "strict", z.ZodTypeAny, {
89
+ id: string;
90
+ name: string;
91
+ hex: string;
92
+ }, {
93
+ id: string;
94
+ name: string;
95
+ hex: string;
96
+ }>, "many">;
97
+ sizes: z.ZodArray<z.ZodObject<{
98
+ id: z.ZodString;
99
+ label: z.ZodString;
100
+ }, "strict", z.ZodTypeAny, {
101
+ id: string;
102
+ label: string;
103
+ }, {
104
+ id: string;
105
+ label: string;
106
+ }>, "many">;
107
+ variants: z.ZodArray<z.ZodObject<{
108
+ id: z.ZodString;
109
+ sku: z.ZodString;
110
+ colorId: z.ZodString;
111
+ sizeId: z.ZodString;
112
+ quantity: z.ZodNumber;
113
+ imageUrl: z.ZodOptional<z.ZodString>;
114
+ mediaId: z.ZodOptional<z.ZodString>;
115
+ active: z.ZodOptional<z.ZodBoolean>;
116
+ }, "strict", z.ZodTypeAny, {
117
+ id: string;
118
+ sku: string;
119
+ colorId: string;
120
+ sizeId: string;
121
+ quantity: number;
122
+ imageUrl?: string | undefined;
123
+ mediaId?: string | undefined;
124
+ active?: boolean | undefined;
125
+ }, {
126
+ id: string;
127
+ sku: string;
128
+ colorId: string;
129
+ sizeId: string;
130
+ quantity: number;
131
+ imageUrl?: string | undefined;
132
+ mediaId?: string | undefined;
133
+ active?: boolean | undefined;
134
+ }>, "many">;
135
+ material: z.ZodString;
136
+ careInstructions: z.ZodArray<z.ZodString, "many">;
137
+ sizeAndFit: z.ZodArray<z.ZodString, "many">;
138
+ tags: z.ZodArray<z.ZodString, "many">;
139
+ badges: z.ZodArray<z.ZodEnum<["new", "bestseller", "limited", "sale"]>, "many">;
140
+ isFeatured: z.ZodBoolean;
141
+ isNew: z.ZodBoolean;
142
+ isBestseller: z.ZodBoolean;
143
+ active: z.ZodBoolean;
144
+ }, "strict", z.ZodTypeAny, {
145
+ id: string;
146
+ sku: string;
147
+ active: boolean;
148
+ slug: string;
149
+ name: string;
150
+ description: string;
151
+ shortDescription: string;
152
+ category: string;
153
+ subcategory: string;
154
+ collection: string;
155
+ audience: string;
156
+ basePrice: number;
157
+ images: {
158
+ url: string;
159
+ alt: string;
160
+ width: number;
161
+ height: number;
162
+ id?: string | undefined;
163
+ colorId?: string | undefined;
164
+ type?: "image" | undefined;
165
+ primary?: boolean | undefined;
166
+ order?: number | undefined;
167
+ variantId?: string | undefined;
168
+ }[];
169
+ videos: string[];
170
+ colors: {
171
+ id: string;
172
+ name: string;
173
+ hex: string;
174
+ }[];
175
+ sizes: {
176
+ id: string;
177
+ label: string;
178
+ }[];
179
+ variants: {
180
+ id: string;
181
+ sku: string;
182
+ colorId: string;
183
+ sizeId: string;
184
+ quantity: number;
185
+ imageUrl?: string | undefined;
186
+ mediaId?: string | undefined;
187
+ active?: boolean | undefined;
188
+ }[];
189
+ material: string;
190
+ careInstructions: string[];
191
+ sizeAndFit: string[];
192
+ tags: string[];
193
+ badges: ("new" | "bestseller" | "limited" | "sale")[];
194
+ isFeatured: boolean;
195
+ isNew: boolean;
196
+ isBestseller: boolean;
197
+ primaryCategoryId?: string | undefined;
198
+ collections?: string[] | undefined;
199
+ seoTitle?: string | undefined;
200
+ seoDescription?: string | undefined;
201
+ createdAt?: string | undefined;
202
+ updatedAt?: string | undefined;
203
+ salePrice?: number | undefined;
204
+ }, {
205
+ id: string;
206
+ sku: string;
207
+ active: boolean;
208
+ slug: string;
209
+ name: string;
210
+ description: string;
211
+ shortDescription: string;
212
+ category: string;
213
+ subcategory: string;
214
+ collection: string;
215
+ audience: string;
216
+ basePrice: number;
217
+ images: {
218
+ url: string;
219
+ alt: string;
220
+ width: number;
221
+ height: number;
222
+ id?: string | undefined;
223
+ colorId?: string | undefined;
224
+ type?: "image" | undefined;
225
+ primary?: boolean | undefined;
226
+ order?: number | undefined;
227
+ variantId?: string | undefined;
228
+ }[];
229
+ videos: string[];
230
+ colors: {
231
+ id: string;
232
+ name: string;
233
+ hex: string;
234
+ }[];
235
+ sizes: {
236
+ id: string;
237
+ label: string;
238
+ }[];
239
+ variants: {
240
+ id: string;
241
+ sku: string;
242
+ colorId: string;
243
+ sizeId: string;
244
+ quantity: number;
245
+ imageUrl?: string | undefined;
246
+ mediaId?: string | undefined;
247
+ active?: boolean | undefined;
248
+ }[];
249
+ material: string;
250
+ careInstructions: string[];
251
+ sizeAndFit: string[];
252
+ tags: string[];
253
+ badges: ("new" | "bestseller" | "limited" | "sale")[];
254
+ isFeatured: boolean;
255
+ isNew: boolean;
256
+ isBestseller: boolean;
257
+ primaryCategoryId?: string | undefined;
258
+ collections?: string[] | undefined;
259
+ seoTitle?: string | undefined;
260
+ seoDescription?: string | undefined;
261
+ createdAt?: string | undefined;
262
+ updatedAt?: string | undefined;
263
+ salePrice?: number | undefined;
264
+ }>;
265
+ export declare const adminProductsResponseSchema: z.ZodObject<{
266
+ items: z.ZodArray<z.ZodObject<{
267
+ primaryCategoryId: z.ZodOptional<z.ZodString>;
268
+ id: z.ZodString;
269
+ slug: z.ZodString;
270
+ name: z.ZodString;
271
+ sku: z.ZodString;
272
+ description: z.ZodString;
273
+ shortDescription: z.ZodString;
274
+ category: z.ZodString;
275
+ subcategory: z.ZodString;
276
+ collection: z.ZodString;
277
+ audience: z.ZodString;
278
+ collections: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
279
+ seoTitle: z.ZodOptional<z.ZodString>;
280
+ seoDescription: z.ZodOptional<z.ZodString>;
281
+ createdAt: z.ZodOptional<z.ZodString>;
282
+ updatedAt: z.ZodOptional<z.ZodString>;
283
+ basePrice: z.ZodNumber;
284
+ salePrice: z.ZodOptional<z.ZodNumber>;
285
+ images: z.ZodArray<z.ZodObject<{
286
+ id: z.ZodOptional<z.ZodString>;
287
+ primary: z.ZodOptional<z.ZodBoolean>;
288
+ order: z.ZodOptional<z.ZodNumber>;
289
+ colorId: z.ZodOptional<z.ZodString>;
290
+ variantId: z.ZodOptional<z.ZodString>;
291
+ type: z.ZodOptional<z.ZodLiteral<"image">>;
292
+ url: z.ZodString;
293
+ alt: z.ZodString;
294
+ width: z.ZodNumber;
295
+ height: z.ZodNumber;
296
+ }, "strict", z.ZodTypeAny, {
297
+ url: string;
298
+ alt: string;
299
+ width: number;
300
+ height: number;
301
+ id?: string | undefined;
302
+ colorId?: string | undefined;
303
+ type?: "image" | undefined;
304
+ primary?: boolean | undefined;
305
+ order?: number | undefined;
306
+ variantId?: string | undefined;
307
+ }, {
308
+ url: string;
309
+ alt: string;
310
+ width: number;
311
+ height: number;
312
+ id?: string | undefined;
313
+ colorId?: string | undefined;
314
+ type?: "image" | undefined;
315
+ primary?: boolean | undefined;
316
+ order?: number | undefined;
317
+ variantId?: string | undefined;
318
+ }>, "many">;
319
+ videos: z.ZodArray<z.ZodString, "many">;
320
+ colors: z.ZodArray<z.ZodObject<{
321
+ id: z.ZodString;
322
+ name: z.ZodString;
323
+ hex: z.ZodString;
324
+ }, "strict", z.ZodTypeAny, {
325
+ id: string;
326
+ name: string;
327
+ hex: string;
328
+ }, {
329
+ id: string;
330
+ name: string;
331
+ hex: string;
332
+ }>, "many">;
333
+ sizes: z.ZodArray<z.ZodObject<{
334
+ id: z.ZodString;
335
+ label: z.ZodString;
336
+ }, "strict", z.ZodTypeAny, {
337
+ id: string;
338
+ label: string;
339
+ }, {
340
+ id: string;
341
+ label: string;
342
+ }>, "many">;
343
+ variants: z.ZodArray<z.ZodObject<{
344
+ id: z.ZodString;
345
+ sku: z.ZodString;
346
+ colorId: z.ZodString;
347
+ sizeId: z.ZodString;
348
+ quantity: z.ZodNumber;
349
+ imageUrl: z.ZodOptional<z.ZodString>;
350
+ mediaId: z.ZodOptional<z.ZodString>;
351
+ active: z.ZodOptional<z.ZodBoolean>;
352
+ }, "strict", z.ZodTypeAny, {
353
+ id: string;
354
+ sku: string;
355
+ colorId: string;
356
+ sizeId: string;
357
+ quantity: number;
358
+ imageUrl?: string | undefined;
359
+ mediaId?: string | undefined;
360
+ active?: boolean | undefined;
361
+ }, {
362
+ id: string;
363
+ sku: string;
364
+ colorId: string;
365
+ sizeId: string;
366
+ quantity: number;
367
+ imageUrl?: string | undefined;
368
+ mediaId?: string | undefined;
369
+ active?: boolean | undefined;
370
+ }>, "many">;
371
+ material: z.ZodString;
372
+ careInstructions: z.ZodArray<z.ZodString, "many">;
373
+ sizeAndFit: z.ZodArray<z.ZodString, "many">;
374
+ tags: z.ZodArray<z.ZodString, "many">;
375
+ badges: z.ZodArray<z.ZodEnum<["new", "bestseller", "limited", "sale"]>, "many">;
376
+ isFeatured: z.ZodBoolean;
377
+ isNew: z.ZodBoolean;
378
+ isBestseller: z.ZodBoolean;
379
+ active: z.ZodBoolean;
380
+ }, "strict", z.ZodTypeAny, {
381
+ id: string;
382
+ sku: string;
383
+ active: boolean;
384
+ slug: string;
385
+ name: string;
386
+ description: string;
387
+ shortDescription: string;
388
+ category: string;
389
+ subcategory: string;
390
+ collection: string;
391
+ audience: string;
392
+ basePrice: number;
393
+ images: {
394
+ url: string;
395
+ alt: string;
396
+ width: number;
397
+ height: number;
398
+ id?: string | undefined;
399
+ colorId?: string | undefined;
400
+ type?: "image" | undefined;
401
+ primary?: boolean | undefined;
402
+ order?: number | undefined;
403
+ variantId?: string | undefined;
404
+ }[];
405
+ videos: string[];
406
+ colors: {
407
+ id: string;
408
+ name: string;
409
+ hex: string;
410
+ }[];
411
+ sizes: {
412
+ id: string;
413
+ label: string;
414
+ }[];
415
+ variants: {
416
+ id: string;
417
+ sku: string;
418
+ colorId: string;
419
+ sizeId: string;
420
+ quantity: number;
421
+ imageUrl?: string | undefined;
422
+ mediaId?: string | undefined;
423
+ active?: boolean | undefined;
424
+ }[];
425
+ material: string;
426
+ careInstructions: string[];
427
+ sizeAndFit: string[];
428
+ tags: string[];
429
+ badges: ("new" | "bestseller" | "limited" | "sale")[];
430
+ isFeatured: boolean;
431
+ isNew: boolean;
432
+ isBestseller: boolean;
433
+ primaryCategoryId?: string | undefined;
434
+ collections?: string[] | undefined;
435
+ seoTitle?: string | undefined;
436
+ seoDescription?: string | undefined;
437
+ createdAt?: string | undefined;
438
+ updatedAt?: string | undefined;
439
+ salePrice?: number | undefined;
440
+ }, {
441
+ id: string;
442
+ sku: string;
443
+ active: boolean;
444
+ slug: string;
445
+ name: string;
446
+ description: string;
447
+ shortDescription: string;
448
+ category: string;
449
+ subcategory: string;
450
+ collection: string;
451
+ audience: string;
452
+ basePrice: number;
453
+ images: {
454
+ url: string;
455
+ alt: string;
456
+ width: number;
457
+ height: number;
458
+ id?: string | undefined;
459
+ colorId?: string | undefined;
460
+ type?: "image" | undefined;
461
+ primary?: boolean | undefined;
462
+ order?: number | undefined;
463
+ variantId?: string | undefined;
464
+ }[];
465
+ videos: string[];
466
+ colors: {
467
+ id: string;
468
+ name: string;
469
+ hex: string;
470
+ }[];
471
+ sizes: {
472
+ id: string;
473
+ label: string;
474
+ }[];
475
+ variants: {
476
+ id: string;
477
+ sku: string;
478
+ colorId: string;
479
+ sizeId: string;
480
+ quantity: number;
481
+ imageUrl?: string | undefined;
482
+ mediaId?: string | undefined;
483
+ active?: boolean | undefined;
484
+ }[];
485
+ material: string;
486
+ careInstructions: string[];
487
+ sizeAndFit: string[];
488
+ tags: string[];
489
+ badges: ("new" | "bestseller" | "limited" | "sale")[];
490
+ isFeatured: boolean;
491
+ isNew: boolean;
492
+ isBestseller: boolean;
493
+ primaryCategoryId?: string | undefined;
494
+ collections?: string[] | undefined;
495
+ seoTitle?: string | undefined;
496
+ seoDescription?: string | undefined;
497
+ createdAt?: string | undefined;
498
+ updatedAt?: string | undefined;
499
+ salePrice?: number | undefined;
500
+ }>, "many">;
501
+ total: z.ZodNumber;
502
+ page: z.ZodNumber;
503
+ pageSize: z.ZodNumber;
504
+ }, "strict", z.ZodTypeAny, {
505
+ items: {
506
+ id: string;
507
+ sku: string;
508
+ active: boolean;
509
+ slug: string;
510
+ name: string;
511
+ description: string;
512
+ shortDescription: string;
513
+ category: string;
514
+ subcategory: string;
515
+ collection: string;
516
+ audience: string;
517
+ basePrice: number;
518
+ images: {
519
+ url: string;
520
+ alt: string;
521
+ width: number;
522
+ height: number;
523
+ id?: string | undefined;
524
+ colorId?: string | undefined;
525
+ type?: "image" | undefined;
526
+ primary?: boolean | undefined;
527
+ order?: number | undefined;
528
+ variantId?: string | undefined;
529
+ }[];
530
+ videos: string[];
531
+ colors: {
532
+ id: string;
533
+ name: string;
534
+ hex: string;
535
+ }[];
536
+ sizes: {
537
+ id: string;
538
+ label: string;
539
+ }[];
540
+ variants: {
541
+ id: string;
542
+ sku: string;
543
+ colorId: string;
544
+ sizeId: string;
545
+ quantity: number;
546
+ imageUrl?: string | undefined;
547
+ mediaId?: string | undefined;
548
+ active?: boolean | undefined;
549
+ }[];
550
+ material: string;
551
+ careInstructions: string[];
552
+ sizeAndFit: string[];
553
+ tags: string[];
554
+ badges: ("new" | "bestseller" | "limited" | "sale")[];
555
+ isFeatured: boolean;
556
+ isNew: boolean;
557
+ isBestseller: boolean;
558
+ primaryCategoryId?: string | undefined;
559
+ collections?: string[] | undefined;
560
+ seoTitle?: string | undefined;
561
+ seoDescription?: string | undefined;
562
+ createdAt?: string | undefined;
563
+ updatedAt?: string | undefined;
564
+ salePrice?: number | undefined;
565
+ }[];
566
+ total: number;
567
+ page: number;
568
+ pageSize: number;
569
+ }, {
570
+ items: {
571
+ id: string;
572
+ sku: string;
573
+ active: boolean;
574
+ slug: string;
575
+ name: string;
576
+ description: string;
577
+ shortDescription: string;
578
+ category: string;
579
+ subcategory: string;
580
+ collection: string;
581
+ audience: string;
582
+ basePrice: number;
583
+ images: {
584
+ url: string;
585
+ alt: string;
586
+ width: number;
587
+ height: number;
588
+ id?: string | undefined;
589
+ colorId?: string | undefined;
590
+ type?: "image" | undefined;
591
+ primary?: boolean | undefined;
592
+ order?: number | undefined;
593
+ variantId?: string | undefined;
594
+ }[];
595
+ videos: string[];
596
+ colors: {
597
+ id: string;
598
+ name: string;
599
+ hex: string;
600
+ }[];
601
+ sizes: {
602
+ id: string;
603
+ label: string;
604
+ }[];
605
+ variants: {
606
+ id: string;
607
+ sku: string;
608
+ colorId: string;
609
+ sizeId: string;
610
+ quantity: number;
611
+ imageUrl?: string | undefined;
612
+ mediaId?: string | undefined;
613
+ active?: boolean | undefined;
614
+ }[];
615
+ material: string;
616
+ careInstructions: string[];
617
+ sizeAndFit: string[];
618
+ tags: string[];
619
+ badges: ("new" | "bestseller" | "limited" | "sale")[];
620
+ isFeatured: boolean;
621
+ isNew: boolean;
622
+ isBestseller: boolean;
623
+ primaryCategoryId?: string | undefined;
624
+ collections?: string[] | undefined;
625
+ seoTitle?: string | undefined;
626
+ seoDescription?: string | undefined;
627
+ createdAt?: string | undefined;
628
+ updatedAt?: string | undefined;
629
+ salePrice?: number | undefined;
630
+ }[];
631
+ total: number;
632
+ page: number;
633
+ pageSize: number;
634
+ }>;
635
+ export type AdminProduct = z.infer<typeof adminProductSchema>;
636
+ export type AdminVariant = z.infer<typeof adminVariantSchema>;
637
+ export type AdminProductsResponse = z.infer<typeof adminProductsResponseSchema>;
638
+ export declare const publicProductSchema: z.ZodObject<{
639
+ id: z.ZodString;
640
+ sku: z.ZodString;
641
+ primaryCategoryId: z.ZodOptional<z.ZodString>;
642
+ slug: z.ZodString;
643
+ name: z.ZodString;
644
+ description: z.ZodString;
645
+ shortDescription: z.ZodString;
646
+ category: z.ZodString;
647
+ subcategory: z.ZodString;
648
+ collection: z.ZodString;
649
+ audience: z.ZodString;
650
+ collections: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
651
+ seoTitle: z.ZodOptional<z.ZodString>;
652
+ seoDescription: z.ZodOptional<z.ZodString>;
653
+ basePrice: z.ZodNumber;
654
+ salePrice: z.ZodOptional<z.ZodNumber>;
655
+ images: z.ZodArray<z.ZodObject<{
656
+ id: z.ZodOptional<z.ZodString>;
657
+ primary: z.ZodOptional<z.ZodBoolean>;
658
+ order: z.ZodOptional<z.ZodNumber>;
659
+ colorId: z.ZodOptional<z.ZodString>;
660
+ variantId: z.ZodOptional<z.ZodString>;
661
+ type: z.ZodOptional<z.ZodLiteral<"image">>;
662
+ url: z.ZodString;
663
+ alt: z.ZodString;
664
+ width: z.ZodNumber;
665
+ height: z.ZodNumber;
666
+ }, "strict", z.ZodTypeAny, {
667
+ url: string;
668
+ alt: string;
669
+ width: number;
670
+ height: number;
671
+ id?: string | undefined;
672
+ colorId?: string | undefined;
673
+ type?: "image" | undefined;
674
+ primary?: boolean | undefined;
675
+ order?: number | undefined;
676
+ variantId?: string | undefined;
677
+ }, {
678
+ url: string;
679
+ alt: string;
680
+ width: number;
681
+ height: number;
682
+ id?: string | undefined;
683
+ colorId?: string | undefined;
684
+ type?: "image" | undefined;
685
+ primary?: boolean | undefined;
686
+ order?: number | undefined;
687
+ variantId?: string | undefined;
688
+ }>, "many">;
689
+ videos: z.ZodArray<z.ZodString, "many">;
690
+ colors: z.ZodArray<z.ZodObject<{
691
+ id: z.ZodString;
692
+ name: z.ZodString;
693
+ hex: z.ZodString;
694
+ }, "strict", z.ZodTypeAny, {
695
+ id: string;
696
+ name: string;
697
+ hex: string;
698
+ }, {
699
+ id: string;
700
+ name: string;
701
+ hex: string;
702
+ }>, "many">;
703
+ sizes: z.ZodArray<z.ZodObject<{
704
+ id: z.ZodString;
705
+ label: z.ZodString;
706
+ }, "strict", z.ZodTypeAny, {
707
+ id: string;
708
+ label: string;
709
+ }, {
710
+ id: string;
711
+ label: string;
712
+ }>, "many">;
713
+ material: z.ZodString;
714
+ careInstructions: z.ZodArray<z.ZodString, "many">;
715
+ sizeAndFit: z.ZodArray<z.ZodString, "many">;
716
+ tags: z.ZodArray<z.ZodString, "many">;
717
+ badges: z.ZodArray<z.ZodEnum<["new", "bestseller", "limited", "sale"]>, "many">;
718
+ isFeatured: z.ZodBoolean;
719
+ isNew: z.ZodBoolean;
720
+ isBestseller: z.ZodBoolean;
721
+ } & {
722
+ variants: z.ZodArray<z.ZodObject<{
723
+ id: z.ZodString;
724
+ sku: z.ZodString;
725
+ colorId: z.ZodString;
726
+ sizeId: z.ZodString;
727
+ quantity: z.ZodNumber;
728
+ imageUrl: z.ZodOptional<z.ZodString>;
729
+ mediaId: z.ZodOptional<z.ZodString>;
730
+ active: z.ZodOptional<z.ZodBoolean>;
731
+ }, "strict", z.ZodTypeAny, {
732
+ id: string;
733
+ sku: string;
734
+ colorId: string;
735
+ sizeId: string;
736
+ quantity: number;
737
+ imageUrl?: string | undefined;
738
+ mediaId?: string | undefined;
739
+ active?: boolean | undefined;
740
+ }, {
741
+ id: string;
742
+ sku: string;
743
+ colorId: string;
744
+ sizeId: string;
745
+ quantity: number;
746
+ imageUrl?: string | undefined;
747
+ mediaId?: string | undefined;
748
+ active?: boolean | undefined;
749
+ }>, "many">;
750
+ }, "strict", z.ZodTypeAny, {
751
+ id: string;
752
+ sku: string;
753
+ slug: string;
754
+ name: string;
755
+ description: string;
756
+ shortDescription: string;
757
+ category: string;
758
+ subcategory: string;
759
+ collection: string;
760
+ audience: string;
761
+ basePrice: number;
762
+ images: {
763
+ url: string;
764
+ alt: string;
765
+ width: number;
766
+ height: number;
767
+ id?: string | undefined;
768
+ colorId?: string | undefined;
769
+ type?: "image" | undefined;
770
+ primary?: boolean | undefined;
771
+ order?: number | undefined;
772
+ variantId?: string | undefined;
773
+ }[];
774
+ videos: string[];
775
+ colors: {
776
+ id: string;
777
+ name: string;
778
+ hex: string;
779
+ }[];
780
+ sizes: {
781
+ id: string;
782
+ label: string;
783
+ }[];
784
+ variants: {
785
+ id: string;
786
+ sku: string;
787
+ colorId: string;
788
+ sizeId: string;
789
+ quantity: number;
790
+ imageUrl?: string | undefined;
791
+ mediaId?: string | undefined;
792
+ active?: boolean | undefined;
793
+ }[];
794
+ material: string;
795
+ careInstructions: string[];
796
+ sizeAndFit: string[];
797
+ tags: string[];
798
+ badges: ("new" | "bestseller" | "limited" | "sale")[];
799
+ isFeatured: boolean;
800
+ isNew: boolean;
801
+ isBestseller: boolean;
802
+ primaryCategoryId?: string | undefined;
803
+ collections?: string[] | undefined;
804
+ seoTitle?: string | undefined;
805
+ seoDescription?: string | undefined;
806
+ salePrice?: number | undefined;
807
+ }, {
808
+ id: string;
809
+ sku: string;
810
+ slug: string;
811
+ name: string;
812
+ description: string;
813
+ shortDescription: string;
814
+ category: string;
815
+ subcategory: string;
816
+ collection: string;
817
+ audience: string;
818
+ basePrice: number;
819
+ images: {
820
+ url: string;
821
+ alt: string;
822
+ width: number;
823
+ height: number;
824
+ id?: string | undefined;
825
+ colorId?: string | undefined;
826
+ type?: "image" | undefined;
827
+ primary?: boolean | undefined;
828
+ order?: number | undefined;
829
+ variantId?: string | undefined;
830
+ }[];
831
+ videos: string[];
832
+ colors: {
833
+ id: string;
834
+ name: string;
835
+ hex: string;
836
+ }[];
837
+ sizes: {
838
+ id: string;
839
+ label: string;
840
+ }[];
841
+ variants: {
842
+ id: string;
843
+ sku: string;
844
+ colorId: string;
845
+ sizeId: string;
846
+ quantity: number;
847
+ imageUrl?: string | undefined;
848
+ mediaId?: string | undefined;
849
+ active?: boolean | undefined;
850
+ }[];
851
+ material: string;
852
+ careInstructions: string[];
853
+ sizeAndFit: string[];
854
+ tags: string[];
855
+ badges: ("new" | "bestseller" | "limited" | "sale")[];
856
+ isFeatured: boolean;
857
+ isNew: boolean;
858
+ isBestseller: boolean;
859
+ primaryCategoryId?: string | undefined;
860
+ collections?: string[] | undefined;
861
+ seoTitle?: string | undefined;
862
+ seoDescription?: string | undefined;
863
+ salePrice?: number | undefined;
864
+ }>;
865
+ export declare const catalogProductsResponseSchema: z.ZodObject<{
866
+ total: z.ZodNumber;
867
+ page: z.ZodNumber;
868
+ pageSize: z.ZodNumber;
869
+ } & {
870
+ items: z.ZodArray<z.ZodObject<{
871
+ id: z.ZodString;
872
+ sku: z.ZodString;
873
+ primaryCategoryId: z.ZodOptional<z.ZodString>;
874
+ slug: z.ZodString;
875
+ name: z.ZodString;
876
+ description: z.ZodString;
877
+ shortDescription: z.ZodString;
878
+ category: z.ZodString;
879
+ subcategory: z.ZodString;
880
+ collection: z.ZodString;
881
+ audience: z.ZodString;
882
+ collections: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
883
+ seoTitle: z.ZodOptional<z.ZodString>;
884
+ seoDescription: z.ZodOptional<z.ZodString>;
885
+ basePrice: z.ZodNumber;
886
+ salePrice: z.ZodOptional<z.ZodNumber>;
887
+ images: z.ZodArray<z.ZodObject<{
888
+ id: z.ZodOptional<z.ZodString>;
889
+ primary: z.ZodOptional<z.ZodBoolean>;
890
+ order: z.ZodOptional<z.ZodNumber>;
891
+ colorId: z.ZodOptional<z.ZodString>;
892
+ variantId: z.ZodOptional<z.ZodString>;
893
+ type: z.ZodOptional<z.ZodLiteral<"image">>;
894
+ url: z.ZodString;
895
+ alt: z.ZodString;
896
+ width: z.ZodNumber;
897
+ height: z.ZodNumber;
898
+ }, "strict", z.ZodTypeAny, {
899
+ url: string;
900
+ alt: string;
901
+ width: number;
902
+ height: number;
903
+ id?: string | undefined;
904
+ colorId?: string | undefined;
905
+ type?: "image" | undefined;
906
+ primary?: boolean | undefined;
907
+ order?: number | undefined;
908
+ variantId?: string | undefined;
909
+ }, {
910
+ url: string;
911
+ alt: string;
912
+ width: number;
913
+ height: number;
914
+ id?: string | undefined;
915
+ colorId?: string | undefined;
916
+ type?: "image" | undefined;
917
+ primary?: boolean | undefined;
918
+ order?: number | undefined;
919
+ variantId?: string | undefined;
920
+ }>, "many">;
921
+ videos: z.ZodArray<z.ZodString, "many">;
922
+ colors: z.ZodArray<z.ZodObject<{
923
+ id: z.ZodString;
924
+ name: z.ZodString;
925
+ hex: z.ZodString;
926
+ }, "strict", z.ZodTypeAny, {
927
+ id: string;
928
+ name: string;
929
+ hex: string;
930
+ }, {
931
+ id: string;
932
+ name: string;
933
+ hex: string;
934
+ }>, "many">;
935
+ sizes: z.ZodArray<z.ZodObject<{
936
+ id: z.ZodString;
937
+ label: z.ZodString;
938
+ }, "strict", z.ZodTypeAny, {
939
+ id: string;
940
+ label: string;
941
+ }, {
942
+ id: string;
943
+ label: string;
944
+ }>, "many">;
945
+ material: z.ZodString;
946
+ careInstructions: z.ZodArray<z.ZodString, "many">;
947
+ sizeAndFit: z.ZodArray<z.ZodString, "many">;
948
+ tags: z.ZodArray<z.ZodString, "many">;
949
+ badges: z.ZodArray<z.ZodEnum<["new", "bestseller", "limited", "sale"]>, "many">;
950
+ isFeatured: z.ZodBoolean;
951
+ isNew: z.ZodBoolean;
952
+ isBestseller: z.ZodBoolean;
953
+ } & {
954
+ variants: z.ZodArray<z.ZodObject<{
955
+ id: z.ZodString;
956
+ sku: z.ZodString;
957
+ colorId: z.ZodString;
958
+ sizeId: z.ZodString;
959
+ quantity: z.ZodNumber;
960
+ imageUrl: z.ZodOptional<z.ZodString>;
961
+ mediaId: z.ZodOptional<z.ZodString>;
962
+ active: z.ZodOptional<z.ZodBoolean>;
963
+ }, "strict", z.ZodTypeAny, {
964
+ id: string;
965
+ sku: string;
966
+ colorId: string;
967
+ sizeId: string;
968
+ quantity: number;
969
+ imageUrl?: string | undefined;
970
+ mediaId?: string | undefined;
971
+ active?: boolean | undefined;
972
+ }, {
973
+ id: string;
974
+ sku: string;
975
+ colorId: string;
976
+ sizeId: string;
977
+ quantity: number;
978
+ imageUrl?: string | undefined;
979
+ mediaId?: string | undefined;
980
+ active?: boolean | undefined;
981
+ }>, "many">;
982
+ }, "strict", z.ZodTypeAny, {
983
+ id: string;
984
+ sku: string;
985
+ slug: string;
986
+ name: string;
987
+ description: string;
988
+ shortDescription: string;
989
+ category: string;
990
+ subcategory: string;
991
+ collection: string;
992
+ audience: string;
993
+ basePrice: number;
994
+ images: {
995
+ url: string;
996
+ alt: string;
997
+ width: number;
998
+ height: number;
999
+ id?: string | undefined;
1000
+ colorId?: string | undefined;
1001
+ type?: "image" | undefined;
1002
+ primary?: boolean | undefined;
1003
+ order?: number | undefined;
1004
+ variantId?: string | undefined;
1005
+ }[];
1006
+ videos: string[];
1007
+ colors: {
1008
+ id: string;
1009
+ name: string;
1010
+ hex: string;
1011
+ }[];
1012
+ sizes: {
1013
+ id: string;
1014
+ label: string;
1015
+ }[];
1016
+ variants: {
1017
+ id: string;
1018
+ sku: string;
1019
+ colorId: string;
1020
+ sizeId: string;
1021
+ quantity: number;
1022
+ imageUrl?: string | undefined;
1023
+ mediaId?: string | undefined;
1024
+ active?: boolean | undefined;
1025
+ }[];
1026
+ material: string;
1027
+ careInstructions: string[];
1028
+ sizeAndFit: string[];
1029
+ tags: string[];
1030
+ badges: ("new" | "bestseller" | "limited" | "sale")[];
1031
+ isFeatured: boolean;
1032
+ isNew: boolean;
1033
+ isBestseller: boolean;
1034
+ primaryCategoryId?: string | undefined;
1035
+ collections?: string[] | undefined;
1036
+ seoTitle?: string | undefined;
1037
+ seoDescription?: string | undefined;
1038
+ salePrice?: number | undefined;
1039
+ }, {
1040
+ id: string;
1041
+ sku: string;
1042
+ slug: string;
1043
+ name: string;
1044
+ description: string;
1045
+ shortDescription: string;
1046
+ category: string;
1047
+ subcategory: string;
1048
+ collection: string;
1049
+ audience: string;
1050
+ basePrice: number;
1051
+ images: {
1052
+ url: string;
1053
+ alt: string;
1054
+ width: number;
1055
+ height: number;
1056
+ id?: string | undefined;
1057
+ colorId?: string | undefined;
1058
+ type?: "image" | undefined;
1059
+ primary?: boolean | undefined;
1060
+ order?: number | undefined;
1061
+ variantId?: string | undefined;
1062
+ }[];
1063
+ videos: string[];
1064
+ colors: {
1065
+ id: string;
1066
+ name: string;
1067
+ hex: string;
1068
+ }[];
1069
+ sizes: {
1070
+ id: string;
1071
+ label: string;
1072
+ }[];
1073
+ variants: {
1074
+ id: string;
1075
+ sku: string;
1076
+ colorId: string;
1077
+ sizeId: string;
1078
+ quantity: number;
1079
+ imageUrl?: string | undefined;
1080
+ mediaId?: string | undefined;
1081
+ active?: boolean | undefined;
1082
+ }[];
1083
+ material: string;
1084
+ careInstructions: string[];
1085
+ sizeAndFit: string[];
1086
+ tags: string[];
1087
+ badges: ("new" | "bestseller" | "limited" | "sale")[];
1088
+ isFeatured: boolean;
1089
+ isNew: boolean;
1090
+ isBestseller: boolean;
1091
+ primaryCategoryId?: string | undefined;
1092
+ collections?: string[] | undefined;
1093
+ seoTitle?: string | undefined;
1094
+ seoDescription?: string | undefined;
1095
+ salePrice?: number | undefined;
1096
+ }>, "many">;
1097
+ }, "strict", z.ZodTypeAny, {
1098
+ items: {
1099
+ id: string;
1100
+ sku: string;
1101
+ slug: string;
1102
+ name: string;
1103
+ description: string;
1104
+ shortDescription: string;
1105
+ category: string;
1106
+ subcategory: string;
1107
+ collection: string;
1108
+ audience: string;
1109
+ basePrice: number;
1110
+ images: {
1111
+ url: string;
1112
+ alt: string;
1113
+ width: number;
1114
+ height: number;
1115
+ id?: string | undefined;
1116
+ colorId?: string | undefined;
1117
+ type?: "image" | undefined;
1118
+ primary?: boolean | undefined;
1119
+ order?: number | undefined;
1120
+ variantId?: string | undefined;
1121
+ }[];
1122
+ videos: string[];
1123
+ colors: {
1124
+ id: string;
1125
+ name: string;
1126
+ hex: string;
1127
+ }[];
1128
+ sizes: {
1129
+ id: string;
1130
+ label: string;
1131
+ }[];
1132
+ variants: {
1133
+ id: string;
1134
+ sku: string;
1135
+ colorId: string;
1136
+ sizeId: string;
1137
+ quantity: number;
1138
+ imageUrl?: string | undefined;
1139
+ mediaId?: string | undefined;
1140
+ active?: boolean | undefined;
1141
+ }[];
1142
+ material: string;
1143
+ careInstructions: string[];
1144
+ sizeAndFit: string[];
1145
+ tags: string[];
1146
+ badges: ("new" | "bestseller" | "limited" | "sale")[];
1147
+ isFeatured: boolean;
1148
+ isNew: boolean;
1149
+ isBestseller: boolean;
1150
+ primaryCategoryId?: string | undefined;
1151
+ collections?: string[] | undefined;
1152
+ seoTitle?: string | undefined;
1153
+ seoDescription?: string | undefined;
1154
+ salePrice?: number | undefined;
1155
+ }[];
1156
+ total: number;
1157
+ page: number;
1158
+ pageSize: number;
1159
+ }, {
1160
+ items: {
1161
+ id: string;
1162
+ sku: string;
1163
+ slug: string;
1164
+ name: string;
1165
+ description: string;
1166
+ shortDescription: string;
1167
+ category: string;
1168
+ subcategory: string;
1169
+ collection: string;
1170
+ audience: string;
1171
+ basePrice: number;
1172
+ images: {
1173
+ url: string;
1174
+ alt: string;
1175
+ width: number;
1176
+ height: number;
1177
+ id?: string | undefined;
1178
+ colorId?: string | undefined;
1179
+ type?: "image" | undefined;
1180
+ primary?: boolean | undefined;
1181
+ order?: number | undefined;
1182
+ variantId?: string | undefined;
1183
+ }[];
1184
+ videos: string[];
1185
+ colors: {
1186
+ id: string;
1187
+ name: string;
1188
+ hex: string;
1189
+ }[];
1190
+ sizes: {
1191
+ id: string;
1192
+ label: string;
1193
+ }[];
1194
+ variants: {
1195
+ id: string;
1196
+ sku: string;
1197
+ colorId: string;
1198
+ sizeId: string;
1199
+ quantity: number;
1200
+ imageUrl?: string | undefined;
1201
+ mediaId?: string | undefined;
1202
+ active?: boolean | undefined;
1203
+ }[];
1204
+ material: string;
1205
+ careInstructions: string[];
1206
+ sizeAndFit: string[];
1207
+ tags: string[];
1208
+ badges: ("new" | "bestseller" | "limited" | "sale")[];
1209
+ isFeatured: boolean;
1210
+ isNew: boolean;
1211
+ isBestseller: boolean;
1212
+ primaryCategoryId?: string | undefined;
1213
+ collections?: string[] | undefined;
1214
+ seoTitle?: string | undefined;
1215
+ seoDescription?: string | undefined;
1216
+ salePrice?: number | undefined;
1217
+ }[];
1218
+ total: number;
1219
+ page: number;
1220
+ pageSize: number;
1221
+ }>;