@mohasinac/appkit 4.7.3 → 4.8.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.
Files changed (44) hide show
  1. package/dist/_internal/shared/features/cart/schema.d.ts +6 -6
  2. package/dist/_internal/shared/features/orders/schema.d.ts +2 -2
  3. package/dist/_internal/shared/features/products/schema.d.ts +8 -8
  4. package/dist/features/account/schemas/index.d.ts +12 -12
  5. package/dist/features/admin/components/AdminArtView.js +1 -0
  6. package/dist/features/admin/components/AdminBlogView.js +1 -0
  7. package/dist/features/admin/components/AdminClassifiedView.js +1 -0
  8. package/dist/features/admin/components/AdminDigitalCodesView.js +1 -0
  9. package/dist/features/admin/components/AdminLiveView.js +1 -0
  10. package/dist/features/admin/components/AdminPrizeDrawsView.js +1 -0
  11. package/dist/features/admin/components/AdminProductsView.js +1 -0
  12. package/dist/features/admin/components/AdminStickersView.js +1 -0
  13. package/dist/features/admin/components/AdminStoresView.js +1 -0
  14. package/dist/features/admin/components/AdminUsersView.js +1 -0
  15. package/dist/features/admin/components/AdminViewCards.d.ts +3 -1
  16. package/dist/features/admin/components/AdminViewCards.js +21 -7
  17. package/dist/features/admin/components/DataListingView.d.ts +2 -0
  18. package/dist/features/admin/components/DataListingView.js +4 -2
  19. package/dist/features/admin/components/DataTable.d.ts +3 -1
  20. package/dist/features/admin/components/DataTable.js +36 -21
  21. package/dist/features/collections/schemas/index.d.ts +3 -3
  22. package/dist/features/homepage/schemas/index.d.ts +4 -4
  23. package/dist/features/orders/schemas/index.d.ts +22 -22
  24. package/dist/features/pre-orders/schemas/index.d.ts +2 -2
  25. package/dist/features/products/schemas/index.d.ts +8 -8
  26. package/dist/features/products/schemas/product-features.validators.d.ts +6 -6
  27. package/dist/features/reviews/schemas/index.d.ts +4 -4
  28. package/dist/features/scams/schemas/index.d.ts +4 -4
  29. package/dist/features/seller/components/SellerAuctionsView.js +1 -0
  30. package/dist/features/seller/components/SellerPreOrdersView.js +1 -0
  31. package/dist/features/seller/components/SellerPrizeDrawsView.js +1 -0
  32. package/dist/features/seller/components/SellerProductsView.js +1 -0
  33. package/dist/features/shipments/schemas/validation.d.ts +6 -6
  34. package/dist/features/support/schemas/index.d.ts +2 -2
  35. package/dist/features/wishlist/hooks/useWishlistWithGuest.d.ts +1 -1
  36. package/dist/schemas/registry.d.ts +70 -70
  37. package/dist/schemas/webhooks/razorpay.d.ts +50 -50
  38. package/dist/ui/columns/column-renderers.d.ts +5 -0
  39. package/dist/ui/columns/column-renderers.js +135 -0
  40. package/dist/ui/columns/index.d.ts +2 -2
  41. package/dist/ui/columns/index.js +1 -1
  42. package/dist/ui/index.d.ts +2 -2
  43. package/dist/ui/index.js +1 -1
  44. package/package.json +1 -1
@@ -26,8 +26,8 @@ export declare const collectionItemSchema: z.ZodObject<{
26
26
  }, "strip", z.ZodTypeAny, {
27
27
  title: string;
28
28
  sortOrder: number;
29
- slug: string;
30
29
  active: boolean;
30
+ slug: string;
31
31
  image?: string | undefined;
32
32
  createdAt?: string | undefined;
33
33
  description?: string | undefined;
@@ -43,9 +43,9 @@ export declare const collectionItemSchema: z.ZodObject<{
43
43
  image?: string | undefined;
44
44
  createdAt?: string | undefined;
45
45
  sortOrder?: number | undefined;
46
+ active?: boolean | undefined;
46
47
  description?: string | undefined;
47
48
  brandSlug?: string | undefined;
48
- active?: boolean | undefined;
49
49
  subtitle?: string | undefined;
50
50
  productCount?: number | undefined;
51
51
  bannerImage?: string | undefined;
@@ -61,8 +61,8 @@ export declare const collectionListItemSchema: z.ZodObject<{
61
61
  active: z.ZodDefault<z.ZodBoolean>;
62
62
  }, "strip", z.ZodTypeAny, {
63
63
  title: string;
64
- slug: string;
65
64
  active: boolean;
65
+ slug: string;
66
66
  image?: string | undefined;
67
67
  subtitle?: string | undefined;
68
68
  productCount?: number | undefined;
@@ -23,7 +23,7 @@ export declare const homepageSectionFirestoreSchema: z.ZodObject<{
23
23
  enabled: z.ZodBoolean;
24
24
  config: z.ZodRecord<z.ZodString, z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>>;
25
25
  }, "strip", z.ZodTypeAny, {
26
- type: "banner" | "products" | "features" | "categories" | "reviews" | "events" | "stats" | "welcome" | "trust-indicators" | "auctions" | "whatsapp-community" | "faq" | "blog-articles" | "newsletter" | "stores" | "pre-orders" | "prize-draws" | "brands" | "carousel" | "social-feed" | "custom-cards" | "google-reviews" | "featured-bundles" | "event-raffles" | "collection-cards";
26
+ type: "banner" | "stores" | "products" | "pre-orders" | "prize-draws" | "auctions" | "reviews" | "events" | "categories" | "brands" | "carousel" | "newsletter" | "features" | "stats" | "welcome" | "trust-indicators" | "whatsapp-community" | "faq" | "blog-articles" | "social-feed" | "custom-cards" | "google-reviews" | "featured-bundles" | "event-raffles" | "collection-cards";
27
27
  id: string;
28
28
  createdAt: string | Date | z.objectOutputType<{
29
29
  toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
@@ -35,7 +35,7 @@ export declare const homepageSectionFirestoreSchema: z.ZodObject<{
35
35
  order: number;
36
36
  config: Record<string, JsonValue>;
37
37
  }, {
38
- type: "banner" | "products" | "features" | "categories" | "reviews" | "events" | "stats" | "welcome" | "trust-indicators" | "auctions" | "whatsapp-community" | "faq" | "blog-articles" | "newsletter" | "stores" | "pre-orders" | "prize-draws" | "brands" | "carousel" | "social-feed" | "custom-cards" | "google-reviews" | "featured-bundles" | "event-raffles" | "collection-cards";
38
+ type: "banner" | "stores" | "products" | "pre-orders" | "prize-draws" | "auctions" | "reviews" | "events" | "categories" | "brands" | "carousel" | "newsletter" | "features" | "stats" | "welcome" | "trust-indicators" | "whatsapp-community" | "faq" | "blog-articles" | "social-feed" | "custom-cards" | "google-reviews" | "featured-bundles" | "event-raffles" | "collection-cards";
39
39
  id: string;
40
40
  createdAt: string | Date | z.objectInputType<{
41
41
  toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
@@ -718,6 +718,7 @@ export declare const carouselSlideFirestoreSchema: z.ZodObject<{
718
718
  updatedAt: string | Date | z.objectOutputType<{
719
719
  toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
720
720
  }, z.ZodTypeAny, "passthrough">;
721
+ active: boolean;
721
722
  order: number;
722
723
  cards: {
723
724
  id: string;
@@ -761,7 +762,6 @@ export declare const carouselSlideFirestoreSchema: z.ZodObject<{
761
762
  isButtonOnly?: boolean | undefined;
762
763
  gridCol?: 3 | 1 | 2 | undefined;
763
764
  }[];
764
- active: boolean;
765
765
  createdBy: string;
766
766
  link?: {
767
767
  url: string;
@@ -827,6 +827,7 @@ export declare const carouselSlideFirestoreSchema: z.ZodObject<{
827
827
  updatedAt: string | Date | z.objectInputType<{
828
828
  toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
829
829
  }, z.ZodTypeAny, "passthrough">;
830
+ active: boolean;
830
831
  order: number;
831
832
  cards: {
832
833
  id: string;
@@ -870,7 +871,6 @@ export declare const carouselSlideFirestoreSchema: z.ZodObject<{
870
871
  isButtonOnly?: boolean | undefined;
871
872
  gridCol?: 3 | 1 | 2 | undefined;
872
873
  }[];
873
- active: boolean;
874
874
  createdBy: string;
875
875
  link?: {
876
876
  url: string;
@@ -96,7 +96,7 @@ export declare const orderDocumentItemSchema: z.ZodObject<{
96
96
  quantity: number;
97
97
  unitPrice: number;
98
98
  totalPrice: number;
99
- listingType?: "standard" | "auction" | "pre-order" | "prize-draw" | "classified" | "digital-code" | "live" | undefined;
99
+ listingType?: "classified" | "standard" | "auction" | "pre-order" | "prize-draw" | "digital-code" | "live" | undefined;
100
100
  prizeRevealStatus?: "closed" | "open" | "pending" | "revealed" | undefined;
101
101
  }, {
102
102
  productId: string;
@@ -104,7 +104,7 @@ export declare const orderDocumentItemSchema: z.ZodObject<{
104
104
  quantity: number;
105
105
  unitPrice: number;
106
106
  totalPrice: number;
107
- listingType?: "standard" | "auction" | "pre-order" | "prize-draw" | "classified" | "digital-code" | "live" | undefined;
107
+ listingType?: "classified" | "standard" | "auction" | "pre-order" | "prize-draw" | "digital-code" | "live" | undefined;
108
108
  prizeRevealStatus?: "closed" | "open" | "pending" | "revealed" | undefined;
109
109
  }>;
110
110
  export declare const orderRefundEventSchema: z.ZodObject<{
@@ -255,7 +255,7 @@ export declare const orderFirestoreSchema: z.ZodObject<{
255
255
  quantity: number;
256
256
  unitPrice: number;
257
257
  totalPrice: number;
258
- listingType?: "standard" | "auction" | "pre-order" | "prize-draw" | "classified" | "digital-code" | "live" | undefined;
258
+ listingType?: "classified" | "standard" | "auction" | "pre-order" | "prize-draw" | "digital-code" | "live" | undefined;
259
259
  prizeRevealStatus?: "closed" | "open" | "pending" | "revealed" | undefined;
260
260
  }, {
261
261
  productId: string;
@@ -263,7 +263,7 @@ export declare const orderFirestoreSchema: z.ZodObject<{
263
263
  quantity: number;
264
264
  unitPrice: number;
265
265
  totalPrice: number;
266
- listingType?: "standard" | "auction" | "pre-order" | "prize-draw" | "classified" | "digital-code" | "live" | undefined;
266
+ listingType?: "classified" | "standard" | "auction" | "pre-order" | "prize-draw" | "digital-code" | "live" | undefined;
267
267
  prizeRevealStatus?: "closed" | "open" | "pending" | "revealed" | undefined;
268
268
  }>, "many">>;
269
269
  orderType: z.ZodOptional<z.ZodString>;
@@ -538,7 +538,7 @@ export declare const orderFirestoreSchema: z.ZodObject<{
538
538
  refundPending: z.ZodOptional<z.ZodBoolean>;
539
539
  }, "strip", z.ZodTypeAny, {
540
540
  currency: string;
541
- status: "pending" | "cancelled" | "processing" | "refunded" | "confirmed" | "shipped" | "delivered" | "return_requested" | "returned";
541
+ status: "pending" | "cancelled" | "processing" | "refunded" | "delivered" | "confirmed" | "shipped" | "return_requested" | "returned";
542
542
  id: string;
543
543
  createdAt: string | Date | z.objectOutputType<{
544
544
  toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
@@ -563,7 +563,7 @@ export declare const orderFirestoreSchema: z.ZodObject<{
563
563
  paymentMethod?: string | undefined;
564
564
  notes?: string | undefined;
565
565
  storeName?: string | undefined;
566
- prizeRevealMode?: "instant" | "scheduled" | undefined;
566
+ prizeRevealMode?: "scheduled" | "instant" | undefined;
567
567
  physicalLocation?: {
568
568
  zone: string;
569
569
  shelf: string;
@@ -576,7 +576,7 @@ export declare const orderFirestoreSchema: z.ZodObject<{
576
576
  quantity: number;
577
577
  unitPrice: number;
578
578
  totalPrice: number;
579
- listingType?: "standard" | "auction" | "pre-order" | "prize-draw" | "classified" | "digital-code" | "live" | undefined;
579
+ listingType?: "classified" | "standard" | "auction" | "pre-order" | "prize-draw" | "digital-code" | "live" | undefined;
580
580
  prizeRevealStatus?: "closed" | "open" | "pending" | "revealed" | undefined;
581
581
  }[] | undefined;
582
582
  paymentId?: string | undefined;
@@ -593,7 +593,7 @@ export declare const orderFirestoreSchema: z.ZodObject<{
593
593
  }, z.ZodTypeAny, "passthrough"> | undefined;
594
594
  cancellationReason?: string | undefined;
595
595
  refundAmount?: number | undefined;
596
- refundStatus?: "pending" | "processing" | "rejected" | "completed" | undefined;
596
+ refundStatus?: "pending" | "processing" | "completed" | "rejected" | undefined;
597
597
  depositAmount?: number | undefined;
598
598
  codRemainingAmount?: number | undefined;
599
599
  shippingFee?: number | undefined;
@@ -686,7 +686,7 @@ export declare const orderFirestoreSchema: z.ZodObject<{
686
686
  refundPending?: boolean | undefined;
687
687
  }, {
688
688
  currency: string;
689
- status: "pending" | "cancelled" | "processing" | "refunded" | "confirmed" | "shipped" | "delivered" | "return_requested" | "returned";
689
+ status: "pending" | "cancelled" | "processing" | "refunded" | "delivered" | "confirmed" | "shipped" | "return_requested" | "returned";
690
690
  id: string;
691
691
  createdAt: string | Date | z.objectInputType<{
692
692
  toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
@@ -711,7 +711,7 @@ export declare const orderFirestoreSchema: z.ZodObject<{
711
711
  paymentMethod?: string | undefined;
712
712
  notes?: string | undefined;
713
713
  storeName?: string | undefined;
714
- prizeRevealMode?: "instant" | "scheduled" | undefined;
714
+ prizeRevealMode?: "scheduled" | "instant" | undefined;
715
715
  physicalLocation?: {
716
716
  zone: string;
717
717
  shelf: string;
@@ -724,7 +724,7 @@ export declare const orderFirestoreSchema: z.ZodObject<{
724
724
  quantity: number;
725
725
  unitPrice: number;
726
726
  totalPrice: number;
727
- listingType?: "standard" | "auction" | "pre-order" | "prize-draw" | "classified" | "digital-code" | "live" | undefined;
727
+ listingType?: "classified" | "standard" | "auction" | "pre-order" | "prize-draw" | "digital-code" | "live" | undefined;
728
728
  prizeRevealStatus?: "closed" | "open" | "pending" | "revealed" | undefined;
729
729
  }[] | undefined;
730
730
  paymentId?: string | undefined;
@@ -741,7 +741,7 @@ export declare const orderFirestoreSchema: z.ZodObject<{
741
741
  }, z.ZodTypeAny, "passthrough"> | undefined;
742
742
  cancellationReason?: string | undefined;
743
743
  refundAmount?: number | undefined;
744
- refundStatus?: "pending" | "processing" | "rejected" | "completed" | undefined;
744
+ refundStatus?: "pending" | "processing" | "completed" | "rejected" | undefined;
745
745
  depositAmount?: number | undefined;
746
746
  codRemainingAmount?: number | undefined;
747
747
  shippingFee?: number | undefined;
@@ -869,12 +869,12 @@ export declare const orderTimelineSchema: z.ZodObject<{
869
869
  timestamp: z.ZodString;
870
870
  actor: z.ZodOptional<z.ZodString>;
871
871
  }, "strip", z.ZodTypeAny, {
872
- status: "pending" | "cancelled" | "processing" | "refunded" | "confirmed" | "shipped" | "delivered" | "return_requested" | "returned";
872
+ status: "pending" | "cancelled" | "processing" | "refunded" | "delivered" | "confirmed" | "shipped" | "return_requested" | "returned";
873
873
  timestamp: string;
874
874
  message?: string | undefined;
875
875
  actor?: string | undefined;
876
876
  }, {
877
- status: "pending" | "cancelled" | "processing" | "refunded" | "confirmed" | "shipped" | "delivered" | "return_requested" | "returned";
877
+ status: "pending" | "cancelled" | "processing" | "refunded" | "delivered" | "confirmed" | "shipped" | "return_requested" | "returned";
878
878
  timestamp: string;
879
879
  message?: string | undefined;
880
880
  actor?: string | undefined;
@@ -943,12 +943,12 @@ export declare const orderSchema: z.ZodObject<{
943
943
  timestamp: z.ZodString;
944
944
  actor: z.ZodOptional<z.ZodString>;
945
945
  }, "strip", z.ZodTypeAny, {
946
- status: "pending" | "cancelled" | "processing" | "refunded" | "confirmed" | "shipped" | "delivered" | "return_requested" | "returned";
946
+ status: "pending" | "cancelled" | "processing" | "refunded" | "delivered" | "confirmed" | "shipped" | "return_requested" | "returned";
947
947
  timestamp: string;
948
948
  message?: string | undefined;
949
949
  actor?: string | undefined;
950
950
  }, {
951
- status: "pending" | "cancelled" | "processing" | "refunded" | "confirmed" | "shipped" | "delivered" | "return_requested" | "returned";
951
+ status: "pending" | "cancelled" | "processing" | "refunded" | "delivered" | "confirmed" | "shipped" | "return_requested" | "returned";
952
952
  timestamp: string;
953
953
  message?: string | undefined;
954
954
  actor?: string | undefined;
@@ -975,7 +975,7 @@ export declare const orderSchema: z.ZodObject<{
975
975
  paymentStatus: string;
976
976
  total: number;
977
977
  subtotal: number;
978
- orderStatus: "pending" | "cancelled" | "processing" | "refunded" | "confirmed" | "shipped" | "delivered" | "return_requested" | "returned";
978
+ orderStatus: "pending" | "cancelled" | "processing" | "refunded" | "delivered" | "confirmed" | "shipped" | "return_requested" | "returned";
979
979
  createdAt?: string | undefined;
980
980
  updatedAt?: string | undefined;
981
981
  notes?: string | undefined;
@@ -987,7 +987,7 @@ export declare const orderSchema: z.ZodObject<{
987
987
  paymentGateway?: string | undefined;
988
988
  shippingCost?: number | undefined;
989
989
  timeline?: {
990
- status: "pending" | "cancelled" | "processing" | "refunded" | "confirmed" | "shipped" | "delivered" | "return_requested" | "returned";
990
+ status: "pending" | "cancelled" | "processing" | "refunded" | "delivered" | "confirmed" | "shipped" | "return_requested" | "returned";
991
991
  timestamp: string;
992
992
  message?: string | undefined;
993
993
  actor?: string | undefined;
@@ -1012,7 +1012,7 @@ export declare const orderSchema: z.ZodObject<{
1012
1012
  paymentStatus: string;
1013
1013
  total: number;
1014
1014
  subtotal: number;
1015
- orderStatus: "pending" | "cancelled" | "processing" | "refunded" | "confirmed" | "shipped" | "delivered" | "return_requested" | "returned";
1015
+ orderStatus: "pending" | "cancelled" | "processing" | "refunded" | "delivered" | "confirmed" | "shipped" | "return_requested" | "returned";
1016
1016
  createdAt?: string | undefined;
1017
1017
  updatedAt?: string | undefined;
1018
1018
  notes?: string | undefined;
@@ -1024,7 +1024,7 @@ export declare const orderSchema: z.ZodObject<{
1024
1024
  paymentGateway?: string | undefined;
1025
1025
  shippingCost?: number | undefined;
1026
1026
  timeline?: {
1027
- status: "pending" | "cancelled" | "processing" | "refunded" | "confirmed" | "shipped" | "delivered" | "return_requested" | "returned";
1027
+ status: "pending" | "cancelled" | "processing" | "refunded" | "delivered" | "confirmed" | "shipped" | "return_requested" | "returned";
1028
1028
  timestamp: string;
1029
1029
  message?: string | undefined;
1030
1030
  actor?: string | undefined;
@@ -1044,12 +1044,12 @@ export declare const orderListParamsSchema: z.ZodObject<{
1044
1044
  perPage?: number | undefined;
1045
1045
  userId?: string | undefined;
1046
1046
  paymentStatus?: string | undefined;
1047
- orderStatus?: "pending" | "cancelled" | "processing" | "refunded" | "confirmed" | "shipped" | "delivered" | "return_requested" | "returned" | undefined;
1047
+ orderStatus?: "pending" | "cancelled" | "processing" | "refunded" | "delivered" | "confirmed" | "shipped" | "return_requested" | "returned" | undefined;
1048
1048
  }, {
1049
1049
  sort?: string | undefined;
1050
1050
  page?: number | undefined;
1051
1051
  perPage?: number | undefined;
1052
1052
  userId?: string | undefined;
1053
1053
  paymentStatus?: string | undefined;
1054
- orderStatus?: "pending" | "cancelled" | "processing" | "refunded" | "confirmed" | "shipped" | "delivered" | "return_requested" | "returned" | undefined;
1054
+ orderStatus?: "pending" | "cancelled" | "processing" | "refunded" | "delivered" | "confirmed" | "shipped" | "return_requested" | "returned" | undefined;
1055
1055
  }>;
@@ -47,8 +47,8 @@ export declare const preorderItemSchema: z.ZodObject<{
47
47
  }, "strip", z.ZodTypeAny, {
48
48
  id: string;
49
49
  name: string;
50
- slug: string;
51
50
  active: boolean;
51
+ slug: string;
52
52
  isFeatured: boolean;
53
53
  salePrice: number;
54
54
  regularPrice: number;
@@ -73,6 +73,7 @@ export declare const preorderItemSchema: z.ZodObject<{
73
73
  regularPrice: number;
74
74
  brand?: string | undefined;
75
75
  createdAt?: string | undefined;
76
+ active?: boolean | undefined;
76
77
  images?: string[] | undefined;
77
78
  media?: {
78
79
  type: "video" | "image" | "file";
@@ -82,7 +83,6 @@ export declare const preorderItemSchema: z.ZodObject<{
82
83
  thumbnailUrl?: string | undefined;
83
84
  youtubeId?: string | undefined;
84
85
  }[] | undefined;
85
- active?: boolean | undefined;
86
86
  isFeatured?: boolean | undefined;
87
87
  franchise?: string | undefined;
88
88
  preorderShipDate?: string | undefined;
@@ -335,9 +335,10 @@ export declare const productItemSchema: z.ZodObject<{
335
335
  createdAt?: string | undefined;
336
336
  updatedAt?: string | undefined;
337
337
  storeId?: string | undefined;
338
+ features?: string[] | undefined;
338
339
  category?: string | undefined;
339
340
  featured?: boolean | undefined;
340
- listingType?: "standard" | "auction" | "pre-order" | "prize-draw" | "classified" | "digital-code" | "live" | undefined;
341
+ listingType?: "classified" | "standard" | "auction" | "pre-order" | "prize-draw" | "digital-code" | "live" | undefined;
341
342
  isPromoted?: boolean | undefined;
342
343
  description?: string | undefined;
343
344
  slug?: string | undefined;
@@ -352,7 +353,6 @@ export declare const productItemSchema: z.ZodObject<{
352
353
  name: string;
353
354
  unit?: string | undefined;
354
355
  }[] | undefined;
355
- features?: string[] | undefined;
356
356
  shippingInfo?: string | undefined;
357
357
  returnPolicy?: string | undefined;
358
358
  condition?: "new" | "used" | "refurbished" | "like_new" | "good" | "fair" | "poor" | "broken" | "graded" | undefined;
@@ -437,7 +437,7 @@ export declare const productItemSchema: z.ZodObject<{
437
437
  prizeRevealStatus?: "closed" | "open" | "pending" | undefined;
438
438
  prizeDrawDurationDays?: number | undefined;
439
439
  prizeGithubFileUrl?: string | undefined;
440
- prizeRevealMode?: "instant" | "scheduled" | undefined;
440
+ prizeRevealMode?: "scheduled" | "instant" | undefined;
441
441
  media?: {
442
442
  type: "video" | "image" | "file";
443
443
  url: string;
@@ -473,9 +473,10 @@ export declare const productItemSchema: z.ZodObject<{
473
473
  createdAt?: string | undefined;
474
474
  updatedAt?: string | undefined;
475
475
  storeId?: string | undefined;
476
+ features?: string[] | undefined;
476
477
  category?: string | undefined;
477
478
  featured?: boolean | undefined;
478
- listingType?: "standard" | "auction" | "pre-order" | "prize-draw" | "classified" | "digital-code" | "live" | undefined;
479
+ listingType?: "classified" | "standard" | "auction" | "pre-order" | "prize-draw" | "digital-code" | "live" | undefined;
479
480
  isPromoted?: boolean | undefined;
480
481
  description?: string | undefined;
481
482
  slug?: string | undefined;
@@ -490,7 +491,6 @@ export declare const productItemSchema: z.ZodObject<{
490
491
  name: string;
491
492
  unit?: string | undefined;
492
493
  }[] | undefined;
493
- features?: string[] | undefined;
494
494
  shippingInfo?: string | undefined;
495
495
  returnPolicy?: string | undefined;
496
496
  condition?: "new" | "used" | "refurbished" | "like_new" | "good" | "fair" | "poor" | "broken" | "graded" | undefined;
@@ -575,7 +575,7 @@ export declare const productItemSchema: z.ZodObject<{
575
575
  prizeRevealStatus?: "closed" | "open" | "pending" | undefined;
576
576
  prizeDrawDurationDays?: number | undefined;
577
577
  prizeGithubFileUrl?: string | undefined;
578
- prizeRevealMode?: "instant" | "scheduled" | undefined;
578
+ prizeRevealMode?: "scheduled" | "instant" | undefined;
579
579
  media?: {
580
580
  type: "video" | "image" | "file";
581
581
  url: string;
@@ -622,7 +622,7 @@ export declare const productListParamsSchema: z.ZodObject<{
622
622
  storeId?: string | undefined;
623
623
  category?: string | undefined;
624
624
  featured?: boolean | undefined;
625
- listingType?: "standard" | "auction" | "pre-order" | "prize-draw" | "classified" | "digital-code" | "live" | undefined;
625
+ listingType?: "classified" | "standard" | "auction" | "pre-order" | "prize-draw" | "digital-code" | "live" | undefined;
626
626
  condition?: "new" | "used" | "refurbished" | "like_new" | "good" | "fair" | "poor" | "broken" | "graded" | undefined;
627
627
  minPrice?: number | undefined;
628
628
  maxPrice?: number | undefined;
@@ -636,7 +636,7 @@ export declare const productListParamsSchema: z.ZodObject<{
636
636
  storeId?: string | undefined;
637
637
  category?: string | undefined;
638
638
  featured?: boolean | undefined;
639
- listingType?: "standard" | "auction" | "pre-order" | "prize-draw" | "classified" | "digital-code" | "live" | undefined;
639
+ listingType?: "classified" | "standard" | "auction" | "pre-order" | "prize-draw" | "digital-code" | "live" | undefined;
640
640
  condition?: "new" | "used" | "refurbished" | "like_new" | "good" | "fair" | "poor" | "broken" | "graded" | undefined;
641
641
  minPrice?: number | undefined;
642
642
  maxPrice?: number | undefined;
@@ -28,7 +28,7 @@ export declare const productFeatureAdminCreateSchema: z.ZodObject<{
28
28
  category: "shipping" | "custom" | "seller" | "auction" | "condition" | "platform" | "preorder";
29
29
  isActive: boolean;
30
30
  displayOrder: number;
31
- productTypes: ("all" | "auction" | "prize-draw" | "classified" | "digital-code" | "live" | "product" | "preorder")[];
31
+ productTypes: ("all" | "classified" | "auction" | "prize-draw" | "digital-code" | "live" | "product" | "preorder")[];
32
32
  storeId?: string | undefined;
33
33
  description?: string | undefined;
34
34
  iconColor?: string | undefined;
@@ -39,7 +39,7 @@ export declare const productFeatureAdminCreateSchema: z.ZodObject<{
39
39
  category: "shipping" | "custom" | "seller" | "auction" | "condition" | "platform" | "preorder";
40
40
  isActive: boolean;
41
41
  displayOrder: number;
42
- productTypes: ("all" | "auction" | "prize-draw" | "classified" | "digital-code" | "live" | "product" | "preorder")[];
42
+ productTypes: ("all" | "classified" | "auction" | "prize-draw" | "digital-code" | "live" | "product" | "preorder")[];
43
43
  storeId?: string | undefined;
44
44
  description?: string | undefined;
45
45
  iconColor?: string | undefined;
@@ -60,7 +60,7 @@ export declare const productFeatureStoreCreateSchema: z.ZodObject<{
60
60
  category: "shipping" | "custom" | "seller" | "auction" | "condition" | "platform" | "preorder";
61
61
  isActive: boolean;
62
62
  displayOrder: number;
63
- productTypes: ("all" | "auction" | "prize-draw" | "classified" | "digital-code" | "live" | "product" | "preorder")[];
63
+ productTypes: ("all" | "classified" | "auction" | "prize-draw" | "digital-code" | "live" | "product" | "preorder")[];
64
64
  description?: string | undefined;
65
65
  iconColor?: string | undefined;
66
66
  }, {
@@ -69,7 +69,7 @@ export declare const productFeatureStoreCreateSchema: z.ZodObject<{
69
69
  category: "shipping" | "custom" | "seller" | "auction" | "condition" | "platform" | "preorder";
70
70
  isActive: boolean;
71
71
  displayOrder: number;
72
- productTypes: ("all" | "auction" | "prize-draw" | "classified" | "digital-code" | "live" | "product" | "preorder")[];
72
+ productTypes: ("all" | "classified" | "auction" | "prize-draw" | "digital-code" | "live" | "product" | "preorder")[];
73
73
  description?: string | undefined;
74
74
  iconColor?: string | undefined;
75
75
  }>;
@@ -91,7 +91,7 @@ export declare const productFeatureUpdateSchema: z.ZodObject<{
91
91
  isActive?: boolean | undefined;
92
92
  displayOrder?: number | undefined;
93
93
  iconColor?: string | undefined;
94
- productTypes?: ("all" | "auction" | "prize-draw" | "classified" | "digital-code" | "live" | "product" | "preorder")[] | undefined;
94
+ productTypes?: ("all" | "classified" | "auction" | "prize-draw" | "digital-code" | "live" | "product" | "preorder")[] | undefined;
95
95
  }, {
96
96
  label?: string | undefined;
97
97
  icon?: string | undefined;
@@ -100,7 +100,7 @@ export declare const productFeatureUpdateSchema: z.ZodObject<{
100
100
  isActive?: boolean | undefined;
101
101
  displayOrder?: number | undefined;
102
102
  iconColor?: string | undefined;
103
- productTypes?: ("all" | "auction" | "prize-draw" | "classified" | "digital-code" | "live" | "product" | "preorder")[] | undefined;
103
+ productTypes?: ("all" | "classified" | "auction" | "prize-draw" | "digital-code" | "live" | "product" | "preorder")[] | undefined;
104
104
  }>;
105
105
  export type ProductFeatureAdminCreatePayload = z.infer<typeof productFeatureAdminCreateSchema>;
106
106
  export type ProductFeatureStoreCreatePayload = z.infer<typeof productFeatureStoreCreateSchema>;
@@ -110,8 +110,8 @@ export declare const reviewFirestoreSchema: z.ZodObject<{
110
110
  toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
111
111
  }, z.ZodTypeAny, "passthrough">;
112
112
  userId: string;
113
- rating: number;
114
113
  verified: boolean;
114
+ rating: number;
115
115
  productId: string;
116
116
  productTitle: string;
117
117
  userName: string;
@@ -158,8 +158,8 @@ export declare const reviewFirestoreSchema: z.ZodObject<{
158
158
  toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
159
159
  }, z.ZodTypeAny, "passthrough">;
160
160
  userId: string;
161
- rating: number;
162
161
  verified: boolean;
162
+ rating: number;
163
163
  productId: string;
164
164
  productTitle: string;
165
165
  userName: string;
@@ -306,6 +306,7 @@ export declare const reviewSchema: z.ZodObject<{
306
306
  } | undefined;
307
307
  createdAt?: string | undefined;
308
308
  updatedAt?: string | undefined;
309
+ verified?: boolean | undefined;
309
310
  featured?: boolean | undefined;
310
311
  listingType?: string | undefined;
311
312
  images?: {
@@ -313,7 +314,6 @@ export declare const reviewSchema: z.ZodObject<{
313
314
  thumbnailUrl?: string | undefined;
314
315
  }[] | undefined;
315
316
  storeName?: string | undefined;
316
- verified?: boolean | undefined;
317
317
  productTitle?: string | undefined;
318
318
  userAvatar?: string | undefined;
319
319
  comment?: string | undefined;
@@ -337,6 +337,7 @@ export declare const reviewSchema: z.ZodObject<{
337
337
  } | undefined;
338
338
  createdAt?: string | undefined;
339
339
  updatedAt?: string | undefined;
340
+ verified?: boolean | undefined;
340
341
  featured?: boolean | undefined;
341
342
  listingType?: string | undefined;
342
343
  images?: {
@@ -344,7 +345,6 @@ export declare const reviewSchema: z.ZodObject<{
344
345
  thumbnailUrl?: string | undefined;
345
346
  }[] | undefined;
346
347
  storeName?: string | undefined;
347
- verified?: boolean | undefined;
348
348
  productTitle?: string | undefined;
349
349
  userAvatar?: string | undefined;
350
350
  comment?: string | undefined;
@@ -79,7 +79,7 @@ export declare const scammerFirestoreSchema: z.ZodObject<{
79
79
  contestCount: z.ZodNumber;
80
80
  isContested: z.ZodOptional<z.ZodBoolean>;
81
81
  }, "strip", z.ZodTypeAny, {
82
- status: "rejected" | "removed" | "pending_review" | "verified";
82
+ status: "verified" | "rejected" | "removed" | "pending_review";
83
83
  id: string;
84
84
  createdAt: string | Date | z.objectOutputType<{
85
85
  toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
@@ -119,7 +119,7 @@ export declare const scammerFirestoreSchema: z.ZodObject<{
119
119
  verificationNote?: string | undefined;
120
120
  mergedFromIds?: string[] | undefined;
121
121
  }, {
122
- status: "rejected" | "removed" | "pending_review" | "verified";
122
+ status: "verified" | "rejected" | "removed" | "pending_review";
123
123
  id: string;
124
124
  createdAt: string | Date | z.objectInputType<{
125
125
  toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
@@ -191,7 +191,7 @@ export declare const scammerIncidentFirestoreSchema: z.ZodObject<{
191
191
  toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
192
192
  }, z.ZodTypeAny, "passthrough">>]>;
193
193
  }, "strip", z.ZodTypeAny, {
194
- status: "rejected" | "removed" | "pending_review" | "verified";
194
+ status: "verified" | "rejected" | "removed" | "pending_review";
195
195
  id: string;
196
196
  createdAt: string | Date | z.objectOutputType<{
197
197
  toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
@@ -214,7 +214,7 @@ export declare const scammerIncidentFirestoreSchema: z.ZodObject<{
214
214
  toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
215
215
  }, z.ZodTypeAny, "passthrough"> | undefined;
216
216
  }, {
217
- status: "rejected" | "removed" | "pending_review" | "verified";
217
+ status: "verified" | "rejected" | "removed" | "pending_review";
218
218
  id: string;
219
219
  createdAt: string | Date | z.objectInputType<{
220
220
  toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
@@ -65,6 +65,7 @@ export function SellerAuctionsView({ children, onEditClick, onDelete, onBulkDele
65
65
  ].join(" · "),
66
66
  status: toStringValue(item.status, "Unknown"),
67
67
  updatedAt: toRelativeDate(item.endsAt ?? item.updatedAt ?? item.createdAt),
68
+ image: toStringValue(item.mainImage, "") || undefined,
68
69
  })),
69
70
  getTotal: (response, mappedRows) => typeof response.meta?.total === "number"
70
71
  ? response.meta.total
@@ -104,6 +104,7 @@ export function SellerPreOrdersView({ children, onDelete, ...props }) {
104
104
  : "TBA",
105
105
  updatedAt: toRelativeDate(item.updatedAt ?? item.createdAt),
106
106
  imageUrl: toStringValue(item.mainImage ?? item.images?.[0], undefined),
107
+ image: toStringValue(item.mainImage ?? item.images?.[0], undefined),
107
108
  };
108
109
  }),
109
110
  getTotal: (response, mappedRows) => typeof response.meta?.total === "number" ? response.meta.total : mappedRows.length,
@@ -109,6 +109,7 @@ export function SellerPrizeDrawsView({ children, onDelete, ...props }) {
109
109
  : "TBA",
110
110
  updatedAt: toRelativeDate(item.updatedAt ?? item.createdAt),
111
111
  imageUrl: toStringValue(item.mainImage ?? item.images?.[0], undefined),
112
+ image: toStringValue(item.mainImage ?? item.images?.[0], undefined),
112
113
  };
113
114
  }),
114
115
  getTotal: (response, mappedRows) => typeof response.meta?.total === "number" ? response.meta.total : mappedRows.length,
@@ -220,6 +220,7 @@ export function SellerProductsView({ onDeleteProduct, onCreateClick, children, .
220
220
  status: toStringValue(item.status, "draft"),
221
221
  updatedAt: toRelativeDate(item.updatedAt ?? item.createdAt),
222
222
  imageUrl: toStringValue(item.mainImage ?? item.images?.[0], undefined),
223
+ image: toStringValue(item.mainImage ?? item.images?.[0], undefined),
223
224
  listingKind: kind,
224
225
  price: priceRaw ? `₹${priceRaw.toLocaleString("en-IN")}` : "—",
225
226
  physicalLocation: item.physicalLocation &&
@@ -15,7 +15,7 @@ export declare const createShipmentSchema: z.ZodObject<{
15
15
  laborHoursSpent: z.ZodOptional<z.ZodNumber>;
16
16
  laborRatePerHour: z.ZodOptional<z.ZodNumber>;
17
17
  }, "strip", z.ZodTypeAny, {
18
- status: "received" | "cancelled" | "processing" | "ordered" | "completed" | "planning" | "in_transit" | "customs";
18
+ status: "received" | "cancelled" | "processing" | "completed" | "ordered" | "planning" | "in_transit" | "customs";
19
19
  shipmentNumber: string;
20
20
  supplierName: string;
21
21
  customsTotal: number;
@@ -29,7 +29,7 @@ export declare const createShipmentSchema: z.ZodObject<{
29
29
  laborHoursSpent?: number | undefined;
30
30
  laborRatePerHour?: number | undefined;
31
31
  }, {
32
- status: "received" | "cancelled" | "processing" | "ordered" | "completed" | "planning" | "in_transit" | "customs";
32
+ status: "received" | "cancelled" | "processing" | "completed" | "ordered" | "planning" | "in_transit" | "customs";
33
33
  shipmentNumber: string;
34
34
  supplierName: string;
35
35
  customsTotal: number;
@@ -58,7 +58,7 @@ export declare const updateShipmentSchema: z.ZodObject<{
58
58
  laborHoursSpent: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
59
59
  laborRatePerHour: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
60
60
  }, "strip", z.ZodTypeAny, {
61
- status?: "received" | "cancelled" | "processing" | "ordered" | "completed" | "planning" | "in_transit" | "customs" | undefined;
61
+ status?: "received" | "cancelled" | "processing" | "completed" | "ordered" | "planning" | "in_transit" | "customs" | undefined;
62
62
  notes?: string | undefined;
63
63
  trackingNumber?: string | undefined;
64
64
  shipmentNumber?: string | undefined;
@@ -72,7 +72,7 @@ export declare const updateShipmentSchema: z.ZodObject<{
72
72
  laborHoursSpent?: number | undefined;
73
73
  laborRatePerHour?: number | undefined;
74
74
  }, {
75
- status?: "received" | "cancelled" | "processing" | "ordered" | "completed" | "planning" | "in_transit" | "customs" | undefined;
75
+ status?: "received" | "cancelled" | "processing" | "completed" | "ordered" | "planning" | "in_transit" | "customs" | undefined;
76
76
  notes?: string | undefined;
77
77
  trackingNumber?: string | undefined;
78
78
  shipmentNumber?: string | undefined;
@@ -276,7 +276,7 @@ export declare const updateShipmentItemSchema: z.ZodObject<{
276
276
  isForSelfUse?: boolean | undefined;
277
277
  linkedProductId?: string | null | undefined;
278
278
  linkedProductSlug?: string | null | undefined;
279
- linkedProductListingType?: "standard" | "auction" | "pre-order" | "prize-draw" | "classified" | "digital-code" | "live" | "art" | "stickers" | null | undefined;
279
+ linkedProductListingType?: "art" | "stickers" | "classified" | "standard" | "auction" | "pre-order" | "prize-draw" | "digital-code" | "live" | null | undefined;
280
280
  }, {
281
281
  title?: string | undefined;
282
282
  notes?: string | undefined;
@@ -288,7 +288,7 @@ export declare const updateShipmentItemSchema: z.ZodObject<{
288
288
  isForSelfUse?: boolean | undefined;
289
289
  linkedProductId?: string | null | undefined;
290
290
  linkedProductSlug?: string | null | undefined;
291
- linkedProductListingType?: "standard" | "auction" | "pre-order" | "prize-draw" | "classified" | "digital-code" | "live" | "art" | "stickers" | null | undefined;
291
+ linkedProductListingType?: "art" | "stickers" | "classified" | "standard" | "auction" | "pre-order" | "prize-draw" | "digital-code" | "live" | null | undefined;
292
292
  }>;
293
293
  /**
294
294
  * Bulk paste-import payload — capped at MAX_ITEMS_PER_LOT (500), matching
@@ -149,7 +149,7 @@ export declare const supportTicketFirestoreSchema: z.ZodObject<{
149
149
  toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
150
150
  }, z.ZodTypeAny, "passthrough">>]>>;
151
151
  }, "strip", z.ZodTypeAny, {
152
- status: "closed" | "open" | "in_progress" | "resolved" | "waiting_on_user";
152
+ status: "closed" | "open" | "resolved" | "in_progress" | "waiting_on_user";
153
153
  id: string;
154
154
  createdAt: string | Date | z.objectOutputType<{
155
155
  toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
@@ -192,7 +192,7 @@ export declare const supportTicketFirestoreSchema: z.ZodObject<{
192
192
  assignedToName?: string | undefined;
193
193
  internalNotes?: string | undefined;
194
194
  }, {
195
- status: "closed" | "open" | "in_progress" | "resolved" | "waiting_on_user";
195
+ status: "closed" | "open" | "resolved" | "in_progress" | "waiting_on_user";
196
196
  id: string;
197
197
  createdAt: string | Date | z.objectInputType<{
198
198
  toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
@@ -29,7 +29,7 @@ export declare function useWishlistWithGuest(userId: string | null | undefined,
29
29
  productPrice: number;
30
30
  productSlug: string;
31
31
  addedAt: string | undefined;
32
- type: "auction" | "classified" | "digital-code" | "live" | "category" | "store" | "product" | "preorder";
32
+ type: "classified" | "auction" | "digital-code" | "live" | "category" | "store" | "product" | "preorder";
33
33
  }[];
34
34
  total: number;
35
35
  wishlistedIds: Set<string>;