@mohasinac/appkit 4.15.0 → 4.16.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.
Files changed (64) hide show
  1. package/dist/_internal/shared/actions/action-registry.d.ts +9 -2
  2. package/dist/_internal/shared/actions/action-registry.js +455 -6
  3. package/dist/_internal/shared/features/blog/schema.d.ts +4 -4
  4. package/dist/_internal/shared/features/cart/schema.d.ts +11 -11
  5. package/dist/_internal/shared/features/categories/bundle-schemas.d.ts +22 -22
  6. package/dist/_internal/shared/features/orders/schema.d.ts +4 -4
  7. package/dist/_internal/shared/features/products/schema.d.ts +25 -25
  8. package/dist/_internal/shared/features/promotions/schema.d.ts +4 -4
  9. package/dist/_internal/shared/features/reviews/schema.d.ts +2 -2
  10. package/dist/contracts/extend.d.ts +29 -0
  11. package/dist/contracts/extend.js +20 -0
  12. package/dist/contracts/index.d.ts +2 -1
  13. package/dist/contracts/index.js +2 -0
  14. package/dist/features/admin/components/AdminViewCards.js +24 -17
  15. package/dist/features/admin/components/DataListingView.js +15 -1
  16. package/dist/features/admin/components/DataTable.js +7 -17
  17. package/dist/features/auctions/schemas/index.d.ts +14 -14
  18. package/dist/features/auth/schemas/index.d.ts +2 -2
  19. package/dist/features/blog/actions/blog-actions.d.ts +7 -7
  20. package/dist/features/blog/schemas/blog-form.d.ts +6 -6
  21. package/dist/features/blog/schemas/index.d.ts +10 -10
  22. package/dist/features/cart/schemas/index.d.ts +3 -3
  23. package/dist/features/catalogue/schemas/validation.d.ts +12 -12
  24. package/dist/features/categories/schemas/index.d.ts +16 -16
  25. package/dist/features/collections/schemas/index.d.ts +8 -8
  26. package/dist/features/events/schemas/index.d.ts +2 -2
  27. package/dist/features/faq/actions/faq-actions.d.ts +6 -6
  28. package/dist/features/faq/schemas/index.d.ts +6 -6
  29. package/dist/features/grouped/schemas/grouped-listing-form.d.ts +2 -2
  30. package/dist/features/grouped/schemas/index.d.ts +4 -4
  31. package/dist/features/homepage/schemas/index.d.ts +40 -40
  32. package/dist/features/messages/schemas/index.d.ts +2 -2
  33. package/dist/features/orders/schemas/index.d.ts +24 -24
  34. package/dist/features/pre-orders/schemas/index.d.ts +4 -4
  35. package/dist/features/products/schemas/index.d.ts +36 -36
  36. package/dist/features/products/schemas/product-features.validators.d.ts +2 -2
  37. package/dist/features/promotions/schemas/index.d.ts +14 -14
  38. package/dist/features/reviews/schemas/index.d.ts +14 -14
  39. package/dist/features/scams/schemas/index.d.ts +2 -2
  40. package/dist/features/search/schemas/index.d.ts +2 -2
  41. package/dist/features/seller/schemas/index.d.ts +2 -2
  42. package/dist/features/shipments/schemas/validation.d.ts +22 -22
  43. package/dist/features/store-extensions/schemas/listing-template-form.d.ts +3 -3
  44. package/dist/features/store-extensions/schemas/store-category-form.d.ts +2 -2
  45. package/dist/features/stores/schemas/index.d.ts +4 -4
  46. package/dist/features/support/schemas/index.d.ts +4 -4
  47. package/dist/features/tester/seed-data/tester-checklist-seed-data.js +24 -0
  48. package/dist/features/wishlist/hooks/useWishlistWithGuest.d.ts +1 -1
  49. package/dist/schemas/registry.d.ts +108 -108
  50. package/dist/styles.css +1 -1
  51. package/dist/tailwind-utilities.css +1 -1
  52. package/dist/ui/DataTable.js +4 -2
  53. package/dist/ui/columns/build-columns.d.ts +6 -1
  54. package/dist/ui/columns/build-columns.js +53 -0
  55. package/dist/ui/columns/cell-renderers.d.ts +68 -0
  56. package/dist/ui/columns/cell-renderers.js +111 -0
  57. package/dist/ui/columns/column-renderers.d.ts +6 -1
  58. package/dist/ui/columns/column-renderers.js +6 -1
  59. package/dist/ui/columns/index.d.ts +2 -1
  60. package/dist/ui/columns/index.js +5 -1
  61. package/dist/ui/components/Button.js +27 -2
  62. package/dist/ui/icons/icon-registry.d.ts +65 -0
  63. package/dist/ui/icons/icon-registry.js +115 -0
  64. package/package.json +1 -1
@@ -196,15 +196,15 @@ export declare const SCHEMAS: {
196
196
  updatedAt: string | Date | import("zod").objectOutputType<{
197
197
  toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
198
198
  }, import("zod").ZodTypeAny, "passthrough">;
199
- slug: string;
200
199
  category: string;
200
+ slug: string;
201
+ views: number;
201
202
  tags: string[];
202
203
  isFeatured: boolean;
203
204
  excerpt: string;
204
205
  authorId: string;
205
206
  authorName: string;
206
207
  readTimeMinutes: number;
207
- views: number;
208
208
  publishedAt?: string | Date | import("zod").objectOutputType<{
209
209
  toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
210
210
  }, import("zod").ZodTypeAny, "passthrough"> | undefined;
@@ -249,15 +249,15 @@ export declare const SCHEMAS: {
249
249
  updatedAt: string | Date | import("zod").objectInputType<{
250
250
  toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
251
251
  }, import("zod").ZodTypeAny, "passthrough">;
252
- slug: string;
253
252
  category: string;
253
+ slug: string;
254
+ views: number;
254
255
  tags: string[];
255
256
  isFeatured: boolean;
256
257
  excerpt: string;
257
258
  authorId: string;
258
259
  authorName: string;
259
260
  readTimeMinutes: number;
260
- views: number;
261
261
  publishedAt?: string | Date | import("zod").objectInputType<{
262
262
  toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
263
263
  }, import("zod").ZodTypeAny, "passthrough"> | undefined;
@@ -669,8 +669,8 @@ export declare const SCHEMAS: {
669
669
  id?: string | undefined;
670
670
  } | undefined;
671
671
  enabled?: boolean | undefined;
672
- opacity?: number | undefined;
673
672
  description?: string | undefined;
673
+ opacity?: number | undefined;
674
674
  subtitle?: string | undefined;
675
675
  }, {
676
676
  color?: string | undefined;
@@ -683,8 +683,8 @@ export declare const SCHEMAS: {
683
683
  id?: string | undefined;
684
684
  } | undefined;
685
685
  enabled?: boolean | undefined;
686
- opacity?: number | undefined;
687
686
  description?: string | undefined;
687
+ opacity?: number | undefined;
688
688
  subtitle?: string | undefined;
689
689
  }>>;
690
690
  settings: import("zod").ZodOptional<import("zod").ZodObject<{
@@ -727,9 +727,8 @@ export declare const SCHEMAS: {
727
727
  updatedAt: string | Date | import("zod").objectOutputType<{
728
728
  toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
729
729
  }, import("zod").ZodTypeAny, "passthrough">;
730
- active: boolean;
731
- order: number;
732
730
  createdBy: string;
731
+ active: boolean;
733
732
  cards: {
734
733
  id: string;
735
734
  background: {
@@ -772,10 +771,22 @@ export declare const SCHEMAS: {
772
771
  isButtonOnly?: boolean | undefined;
773
772
  gridCol?: 3 | 1 | 2 | undefined;
774
773
  }[];
774
+ order: number;
775
775
  link?: {
776
776
  url: string;
777
777
  openInNewTab: boolean;
778
778
  } | undefined;
779
+ media?: {
780
+ type: "video" | "image";
781
+ url: string;
782
+ alt?: string | undefined;
783
+ thumbnail?: string | undefined;
784
+ } | undefined;
785
+ mobileMedia?: {
786
+ type: "video" | "image";
787
+ url: string;
788
+ alt?: string | undefined;
789
+ } | undefined;
779
790
  background?: {
780
791
  type: "color" | "gradient" | "video" | "image";
781
792
  color?: string | undefined;
@@ -801,32 +812,21 @@ export declare const SCHEMAS: {
801
812
  id?: string | undefined;
802
813
  } | undefined;
803
814
  enabled?: boolean | undefined;
804
- opacity?: number | undefined;
805
815
  description?: string | undefined;
816
+ opacity?: number | undefined;
806
817
  subtitle?: string | undefined;
807
818
  } | undefined;
808
- media?: {
809
- type: "video" | "image";
810
- url: string;
811
- alt?: string | undefined;
812
- thumbnail?: string | undefined;
813
- } | undefined;
814
- mobileMedia?: {
815
- type: "video" | "image";
816
- url: string;
817
- alt?: string | undefined;
818
- } | undefined;
819
- settings?: {
820
- height?: "medium" | "viewport" | "tall" | undefined;
821
- autoplayDelayMs?: number | undefined;
822
- } | undefined;
823
- carouselId?: string | null | undefined;
824
819
  analytics?: {
825
820
  views: number;
826
821
  lastViewed?: string | Date | import("zod").objectOutputType<{
827
822
  toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
828
823
  }, import("zod").ZodTypeAny, "passthrough"> | undefined;
829
824
  } | undefined;
825
+ settings?: {
826
+ height?: "medium" | "viewport" | "tall" | undefined;
827
+ autoplayDelayMs?: number | undefined;
828
+ } | undefined;
829
+ carouselId?: string | null | undefined;
830
830
  }, {
831
831
  id: string;
832
832
  title: string;
@@ -836,9 +836,8 @@ export declare const SCHEMAS: {
836
836
  updatedAt: string | Date | import("zod").objectInputType<{
837
837
  toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
838
838
  }, import("zod").ZodTypeAny, "passthrough">;
839
- active: boolean;
840
- order: number;
841
839
  createdBy: string;
840
+ active: boolean;
842
841
  cards: {
843
842
  id: string;
844
843
  background: {
@@ -881,10 +880,22 @@ export declare const SCHEMAS: {
881
880
  isButtonOnly?: boolean | undefined;
882
881
  gridCol?: 3 | 1 | 2 | undefined;
883
882
  }[];
883
+ order: number;
884
884
  link?: {
885
885
  url: string;
886
886
  openInNewTab: boolean;
887
887
  } | undefined;
888
+ media?: {
889
+ type: "video" | "image";
890
+ url: string;
891
+ alt?: string | undefined;
892
+ thumbnail?: string | undefined;
893
+ } | undefined;
894
+ mobileMedia?: {
895
+ type: "video" | "image";
896
+ url: string;
897
+ alt?: string | undefined;
898
+ } | undefined;
888
899
  background?: {
889
900
  type: "color" | "gradient" | "video" | "image";
890
901
  color?: string | undefined;
@@ -910,32 +921,21 @@ export declare const SCHEMAS: {
910
921
  id?: string | undefined;
911
922
  } | undefined;
912
923
  enabled?: boolean | undefined;
913
- opacity?: number | undefined;
914
924
  description?: string | undefined;
925
+ opacity?: number | undefined;
915
926
  subtitle?: string | undefined;
916
927
  } | undefined;
917
- media?: {
918
- type: "video" | "image";
919
- url: string;
920
- alt?: string | undefined;
921
- thumbnail?: string | undefined;
922
- } | undefined;
923
- mobileMedia?: {
924
- type: "video" | "image";
925
- url: string;
926
- alt?: string | undefined;
927
- } | undefined;
928
- settings?: {
929
- height?: "medium" | "viewport" | "tall" | undefined;
930
- autoplayDelayMs?: number | undefined;
931
- } | undefined;
932
- carouselId?: string | null | undefined;
933
928
  analytics?: {
934
929
  views: number;
935
930
  lastViewed?: string | Date | import("zod").objectInputType<{
936
931
  toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
937
932
  }, import("zod").ZodTypeAny, "passthrough"> | undefined;
938
933
  } | undefined;
934
+ settings?: {
935
+ height?: "medium" | "viewport" | "tall" | undefined;
936
+ autoplayDelayMs?: number | undefined;
937
+ } | undefined;
938
+ carouselId?: string | null | undefined;
939
939
  }>;
940
940
  readonly categories: import("zod").ZodObject<{
941
941
  createdAt: import("zod").ZodUnion<[import("zod").ZodDate, import("zod").ZodString, import("zod").ZodObject<{
@@ -1042,35 +1042,35 @@ export declare const SCHEMAS: {
1042
1042
  tags: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
1043
1043
  listingType: import("zod").ZodOptional<import("zod").ZodEnum<["standard", "pre-order", "prize-draw"]>>;
1044
1044
  }, "strip", import("zod").ZodTypeAny, {
1045
+ listingType?: "standard" | "pre-order" | "prize-draw" | undefined;
1045
1046
  categorySlug?: string | undefined;
1046
1047
  brandSlug?: string | undefined;
1047
1048
  tags?: string[] | undefined;
1048
- listingType?: "standard" | "pre-order" | "prize-draw" | undefined;
1049
1049
  }, {
1050
+ listingType?: "standard" | "pre-order" | "prize-draw" | undefined;
1050
1051
  categorySlug?: string | undefined;
1051
1052
  brandSlug?: string | undefined;
1052
1053
  tags?: string[] | undefined;
1053
- listingType?: "standard" | "pre-order" | "prize-draw" | undefined;
1054
1054
  }>;
1055
1055
  orderBy: import("zod").ZodOptional<import("zod").ZodEnum<["price-asc", "price-desc", "createdAt-desc"]>>;
1056
1056
  limit: import("zod").ZodNumber;
1057
1057
  }, "strip", import("zod").ZodTypeAny, {
1058
1058
  type: "dynamic";
1059
1059
  filter: {
1060
+ listingType?: "standard" | "pre-order" | "prize-draw" | undefined;
1060
1061
  categorySlug?: string | undefined;
1061
1062
  brandSlug?: string | undefined;
1062
1063
  tags?: string[] | undefined;
1063
- listingType?: "standard" | "pre-order" | "prize-draw" | undefined;
1064
1064
  };
1065
1065
  limit: number;
1066
1066
  orderBy?: "price-asc" | "price-desc" | "createdAt-desc" | undefined;
1067
1067
  }, {
1068
1068
  type: "dynamic";
1069
1069
  filter: {
1070
+ listingType?: "standard" | "pre-order" | "prize-draw" | undefined;
1070
1071
  categorySlug?: string | undefined;
1071
1072
  brandSlug?: string | undefined;
1072
1073
  tags?: string[] | undefined;
1073
- listingType?: "standard" | "pre-order" | "prize-draw" | undefined;
1074
1074
  };
1075
1075
  limit: number;
1076
1076
  orderBy?: "price-asc" | "price-desc" | "createdAt-desc" | undefined;
@@ -1176,9 +1176,9 @@ export declare const SCHEMAS: {
1176
1176
  toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
1177
1177
  }, import("zod").ZodTypeAny, "passthrough">;
1178
1178
  slug: string;
1179
+ createdBy: string;
1179
1180
  isActive: boolean;
1180
1181
  order: number;
1181
- createdBy: string;
1182
1182
  isFeatured: boolean;
1183
1183
  rootId: string;
1184
1184
  tier: number;
@@ -1212,12 +1212,12 @@ export declare const SCHEMAS: {
1212
1212
  name: string;
1213
1213
  tier: number;
1214
1214
  }[];
1215
+ brandSlug?: string | undefined;
1215
1216
  faqs?: {
1216
1217
  question: string;
1217
1218
  answer: string;
1218
1219
  }[] | undefined;
1219
1220
  description?: string | undefined;
1220
- brandSlug?: string | undefined;
1221
1221
  showOnHomepage?: boolean | undefined;
1222
1222
  categoryType?: "brand" | "category" | "sublisting" | "bundle" | undefined;
1223
1223
  bundleKind?: "brand" | "special" | undefined;
@@ -1234,7 +1234,7 @@ export declare const SCHEMAS: {
1234
1234
  }, import("zod").ZodTypeAny, "passthrough"> | undefined;
1235
1235
  featuredPriority?: number | undefined;
1236
1236
  isBrand?: boolean | undefined;
1237
- createdByType?: "admin" | "store" | undefined;
1237
+ createdByType?: "store" | "admin" | undefined;
1238
1238
  createdByStoreId?: string | undefined;
1239
1239
  itemCode?: string | undefined;
1240
1240
  brandWebsite?: string | undefined;
@@ -1248,10 +1248,10 @@ export declare const SCHEMAS: {
1248
1248
  } | {
1249
1249
  type: "dynamic";
1250
1250
  filter: {
1251
+ listingType?: "standard" | "pre-order" | "prize-draw" | undefined;
1251
1252
  categorySlug?: string | undefined;
1252
1253
  brandSlug?: string | undefined;
1253
1254
  tags?: string[] | undefined;
1254
- listingType?: "standard" | "pre-order" | "prize-draw" | undefined;
1255
1255
  };
1256
1256
  limit: number;
1257
1257
  orderBy?: "price-asc" | "price-desc" | "createdAt-desc" | undefined;
@@ -1275,9 +1275,9 @@ export declare const SCHEMAS: {
1275
1275
  toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
1276
1276
  }, import("zod").ZodTypeAny, "passthrough">;
1277
1277
  slug: string;
1278
+ createdBy: string;
1278
1279
  isActive: boolean;
1279
1280
  order: number;
1280
- createdBy: string;
1281
1281
  isFeatured: boolean;
1282
1282
  rootId: string;
1283
1283
  tier: number;
@@ -1311,12 +1311,12 @@ export declare const SCHEMAS: {
1311
1311
  name: string;
1312
1312
  tier: number;
1313
1313
  }[];
1314
+ brandSlug?: string | undefined;
1314
1315
  faqs?: {
1315
1316
  question: string;
1316
1317
  answer: string;
1317
1318
  }[] | undefined;
1318
1319
  description?: string | undefined;
1319
- brandSlug?: string | undefined;
1320
1320
  showOnHomepage?: boolean | undefined;
1321
1321
  categoryType?: "brand" | "category" | "sublisting" | "bundle" | undefined;
1322
1322
  bundleKind?: "brand" | "special" | undefined;
@@ -1333,7 +1333,7 @@ export declare const SCHEMAS: {
1333
1333
  }, import("zod").ZodTypeAny, "passthrough"> | undefined;
1334
1334
  featuredPriority?: number | undefined;
1335
1335
  isBrand?: boolean | undefined;
1336
- createdByType?: "admin" | "store" | undefined;
1336
+ createdByType?: "store" | "admin" | undefined;
1337
1337
  createdByStoreId?: string | undefined;
1338
1338
  itemCode?: string | undefined;
1339
1339
  brandWebsite?: string | undefined;
@@ -1347,10 +1347,10 @@ export declare const SCHEMAS: {
1347
1347
  } | {
1348
1348
  type: "dynamic";
1349
1349
  filter: {
1350
+ listingType?: "standard" | "pre-order" | "prize-draw" | undefined;
1350
1351
  categorySlug?: string | undefined;
1351
1352
  brandSlug?: string | undefined;
1352
1353
  tags?: string[] | undefined;
1353
- listingType?: "standard" | "pre-order" | "prize-draw" | undefined;
1354
1354
  };
1355
1355
  limit: number;
1356
1356
  orderBy?: "price-asc" | "price-desc" | "createdAt-desc" | undefined;
@@ -1406,7 +1406,7 @@ export declare const SCHEMAS: {
1406
1406
  }>;
1407
1407
  }, "strip", import("zod").ZodTypeAny, {
1408
1408
  type: "fixed" | "percentage" | "free_shipping" | "buy_x_get_y";
1409
- scope: "seller" | "admin";
1409
+ scope: "admin" | "seller";
1410
1410
  name: string;
1411
1411
  discount: {
1412
1412
  value: number;
@@ -1425,7 +1425,7 @@ export declare const SCHEMAS: {
1425
1425
  description?: string | undefined;
1426
1426
  }, {
1427
1427
  type: "fixed" | "percentage" | "free_shipping" | "buy_x_get_y";
1428
- scope: "seller" | "admin";
1428
+ scope: "admin" | "seller";
1429
1429
  name: string;
1430
1430
  discount: {
1431
1431
  value: number;
@@ -1485,7 +1485,7 @@ export declare const SCHEMAS: {
1485
1485
  couponId: string;
1486
1486
  couponSnapshot: {
1487
1487
  type: "fixed" | "percentage" | "free_shipping" | "buy_x_get_y";
1488
- scope: "seller" | "admin";
1488
+ scope: "admin" | "seller";
1489
1489
  name: string;
1490
1490
  discount: {
1491
1491
  value: number;
@@ -1525,7 +1525,7 @@ export declare const SCHEMAS: {
1525
1525
  couponId: string;
1526
1526
  couponSnapshot: {
1527
1527
  type: "fixed" | "percentage" | "free_shipping" | "buy_x_get_y";
1528
- scope: "seller" | "admin";
1528
+ scope: "admin" | "seller";
1529
1529
  name: string;
1530
1530
  discount: {
1531
1531
  value: number;
@@ -1633,8 +1633,8 @@ export declare const SCHEMAS: {
1633
1633
  toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
1634
1634
  }, import("zod").ZodTypeAny, "passthrough">;
1635
1635
  storeId: string;
1636
- buyerId: string;
1637
1636
  storeName: string;
1637
+ buyerId: string;
1638
1638
  lastMessageAt: string | Date | import("zod").objectOutputType<{
1639
1639
  toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
1640
1640
  }, import("zod").ZodTypeAny, "passthrough">;
@@ -1666,8 +1666,8 @@ export declare const SCHEMAS: {
1666
1666
  toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
1667
1667
  }, import("zod").ZodTypeAny, "passthrough">;
1668
1668
  storeId: string;
1669
- buyerId: string;
1670
1669
  storeName: string;
1670
+ buyerId: string;
1671
1671
  lastMessageAt: string | Date | import("zod").objectInputType<{
1672
1672
  toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
1673
1673
  }, import("zod").ZodTypeAny, "passthrough">;
@@ -1838,7 +1838,7 @@ export declare const SCHEMAS: {
1838
1838
  code: string;
1839
1839
  type: "fixed" | "percentage" | "free_shipping" | "buy_x_get_y";
1840
1840
  id: string;
1841
- scope: "seller" | "admin";
1841
+ scope: "admin" | "seller";
1842
1842
  name: string;
1843
1843
  createdAt: string | Date | import("zod").objectOutputType<{
1844
1844
  toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
@@ -1846,8 +1846,8 @@ export declare const SCHEMAS: {
1846
1846
  updatedAt: string | Date | import("zod").objectOutputType<{
1847
1847
  toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
1848
1848
  }, import("zod").ZodTypeAny, "passthrough">;
1849
- description: string;
1850
1849
  createdBy: string;
1850
+ description: string;
1851
1851
  stats: {
1852
1852
  totalUses: number;
1853
1853
  totalRevenue: number;
@@ -1896,7 +1896,7 @@ export declare const SCHEMAS: {
1896
1896
  code: string;
1897
1897
  type: "fixed" | "percentage" | "free_shipping" | "buy_x_get_y";
1898
1898
  id: string;
1899
- scope: "seller" | "admin";
1899
+ scope: "admin" | "seller";
1900
1900
  name: string;
1901
1901
  createdAt: string | Date | import("zod").objectInputType<{
1902
1902
  toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
@@ -1904,8 +1904,8 @@ export declare const SCHEMAS: {
1904
1904
  updatedAt: string | Date | import("zod").objectInputType<{
1905
1905
  toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
1906
1906
  }, import("zod").ZodTypeAny, "passthrough">;
1907
- description: string;
1908
1907
  createdBy: string;
1908
+ description: string;
1909
1909
  stats: {
1910
1910
  totalUses: number;
1911
1911
  totalRevenue: number;
@@ -2071,10 +2071,11 @@ export declare const SCHEMAS: {
2071
2071
  toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
2072
2072
  }, import("zod").ZodTypeAny, "passthrough">;
2073
2073
  category: "orders_payment" | "shipping_delivery" | "returns_refunds" | "product_information" | "account_security" | "technical_support" | "general";
2074
+ createdBy: string;
2075
+ priority: number;
2074
2076
  tags: string[];
2075
2077
  isActive: boolean;
2076
2078
  order: number;
2077
- createdBy: string;
2078
2079
  stats: {
2079
2080
  views: number;
2080
2081
  helpful: number;
@@ -2084,7 +2085,6 @@ export declare const SCHEMAS: {
2084
2085
  }, import("zod").ZodTypeAny, "passthrough"> | undefined;
2085
2086
  };
2086
2087
  showOnHomepage: boolean;
2087
- priority: number;
2088
2088
  question: string;
2089
2089
  answer: {
2090
2090
  text: string;
@@ -2110,10 +2110,11 @@ export declare const SCHEMAS: {
2110
2110
  toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
2111
2111
  }, import("zod").ZodTypeAny, "passthrough">;
2112
2112
  category: "orders_payment" | "shipping_delivery" | "returns_refunds" | "product_information" | "account_security" | "technical_support" | "general";
2113
+ createdBy: string;
2114
+ priority: number;
2113
2115
  tags: string[];
2114
2116
  isActive: boolean;
2115
2117
  order: number;
2116
- createdBy: string;
2117
2118
  stats: {
2118
2119
  views: number;
2119
2120
  helpful: number;
@@ -2123,7 +2124,6 @@ export declare const SCHEMAS: {
2123
2124
  }, import("zod").ZodTypeAny, "passthrough"> | undefined;
2124
2125
  };
2125
2126
  showOnHomepage: boolean;
2126
- priority: number;
2127
2127
  question: string;
2128
2128
  answer: {
2129
2129
  text: string;
@@ -2182,8 +2182,8 @@ export declare const SCHEMAS: {
2182
2182
  toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
2183
2183
  }, import("zod").ZodTypeAny, "passthrough">;
2184
2184
  slug: string;
2185
- isActive: boolean;
2186
2185
  createdBy: string;
2186
+ isActive: boolean;
2187
2187
  isFeatured: boolean;
2188
2188
  productIds: string[];
2189
2189
  groupTheme: "set" | "related" | "character" | "lineage" | "generic";
@@ -2191,9 +2191,9 @@ export declare const SCHEMAS: {
2191
2191
  minActiveMembers: number;
2192
2192
  activeMemberCount: number;
2193
2193
  storeId?: string | undefined;
2194
- description?: string | undefined;
2195
2194
  categorySlug?: string | undefined;
2196
2195
  brandSlug?: string | undefined;
2196
+ description?: string | undefined;
2197
2197
  coverImage?: string | undefined;
2198
2198
  }, {
2199
2199
  id: string;
@@ -2205,8 +2205,8 @@ export declare const SCHEMAS: {
2205
2205
  toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
2206
2206
  }, import("zod").ZodTypeAny, "passthrough">;
2207
2207
  slug: string;
2208
- isActive: boolean;
2209
2208
  createdBy: string;
2209
+ isActive: boolean;
2210
2210
  isFeatured: boolean;
2211
2211
  productIds: string[];
2212
2212
  groupTheme: "set" | "related" | "character" | "lineage" | "generic";
@@ -2214,9 +2214,9 @@ export declare const SCHEMAS: {
2214
2214
  minActiveMembers: number;
2215
2215
  activeMemberCount: number;
2216
2216
  storeId?: string | undefined;
2217
- description?: string | undefined;
2218
2217
  categorySlug?: string | undefined;
2219
2218
  brandSlug?: string | undefined;
2219
+ description?: string | undefined;
2220
2220
  coverImage?: string | undefined;
2221
2221
  }>;
2222
2222
  readonly homepageSections: import("zod").ZodObject<{
@@ -2296,17 +2296,17 @@ export declare const SCHEMAS: {
2296
2296
  listingType: import("zod").ZodOptional<import("zod").ZodEnum<["standard", "auction", "pre-order", "prize-draw", "classified", "digital-code", "live"]>>;
2297
2297
  prizeRevealStatus: import("zod").ZodOptional<import("zod").ZodEnum<["pending", "open", "closed", "revealed"]>>;
2298
2298
  }, "strip", import("zod").ZodTypeAny, {
2299
+ quantity: number;
2299
2300
  productId: string;
2300
2301
  productTitle: string;
2301
- quantity: number;
2302
2302
  unitPrice: number;
2303
2303
  totalPrice: number;
2304
2304
  listingType?: "classified" | "standard" | "auction" | "pre-order" | "prize-draw" | "digital-code" | "live" | undefined;
2305
2305
  prizeRevealStatus?: "closed" | "open" | "pending" | "revealed" | undefined;
2306
2306
  }, {
2307
+ quantity: number;
2307
2308
  productId: string;
2308
2309
  productTitle: string;
2309
- quantity: number;
2310
2310
  unitPrice: number;
2311
2311
  totalPrice: number;
2312
2312
  listingType?: "classified" | "standard" | "auction" | "pre-order" | "prize-draw" | "digital-code" | "live" | undefined;
@@ -2372,14 +2372,14 @@ export declare const SCHEMAS: {
2372
2372
  code: string;
2373
2373
  type: "auto" | "coupon" | "deal";
2374
2374
  discountAmount: number;
2375
- scope?: "seller" | "admin" | undefined;
2375
+ scope?: "admin" | "seller" | undefined;
2376
2376
  storeId?: string | undefined;
2377
2377
  couponId?: string | undefined;
2378
2378
  }, {
2379
2379
  code: string;
2380
2380
  type: "auto" | "coupon" | "deal";
2381
2381
  discountAmount: number;
2382
- scope?: "seller" | "admin" | undefined;
2382
+ scope?: "admin" | "seller" | undefined;
2383
2383
  storeId?: string | undefined;
2384
2384
  couponId?: string | undefined;
2385
2385
  }>, "many">>;
@@ -2593,11 +2593,11 @@ export declare const SCHEMAS: {
2593
2593
  toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
2594
2594
  }, import("zod").ZodTypeAny, "passthrough">;
2595
2595
  userId: string;
2596
+ quantity: number;
2596
2597
  productId: string;
2597
2598
  productTitle: string;
2598
2599
  userName: string;
2599
2600
  userEmail: string;
2600
- quantity: number;
2601
2601
  unitPrice: number;
2602
2602
  totalPrice: number;
2603
2603
  paymentStatus: "paid" | "failed" | "pending" | "processing" | "refunded" | "partial_refund";
@@ -2608,6 +2608,7 @@ export declare const SCHEMAS: {
2608
2608
  platformFee?: number | undefined;
2609
2609
  paymentMethod?: string | undefined;
2610
2610
  notes?: string | undefined;
2611
+ storeName?: string | undefined;
2611
2612
  prizeRevealMode?: "scheduled" | "instant" | undefined;
2612
2613
  paymentId?: string | undefined;
2613
2614
  shippingAddress?: string | undefined;
@@ -2633,9 +2634,9 @@ export declare const SCHEMAS: {
2633
2634
  shippingCarrier?: string | undefined;
2634
2635
  trackingUrl?: string | undefined;
2635
2636
  items?: {
2637
+ quantity: number;
2636
2638
  productId: string;
2637
2639
  productTitle: string;
2638
- quantity: number;
2639
2640
  unitPrice: number;
2640
2641
  totalPrice: number;
2641
2642
  listingType?: "classified" | "standard" | "auction" | "pre-order" | "prize-draw" | "digital-code" | "live" | undefined;
@@ -2651,7 +2652,6 @@ export declare const SCHEMAS: {
2651
2652
  }, import("zod").ZodTypeAny, "passthrough">;
2652
2653
  } | undefined;
2653
2654
  prizeDrawProductId?: string | undefined;
2654
- storeName?: string | undefined;
2655
2655
  couponCode?: string | undefined;
2656
2656
  physicalLocation?: {
2657
2657
  zone: string;
@@ -2668,7 +2668,7 @@ export declare const SCHEMAS: {
2668
2668
  code: string;
2669
2669
  type: "auto" | "coupon" | "deal";
2670
2670
  discountAmount: number;
2671
- scope?: "seller" | "admin" | undefined;
2671
+ scope?: "admin" | "seller" | undefined;
2672
2672
  storeId?: string | undefined;
2673
2673
  couponId?: string | undefined;
2674
2674
  }[] | undefined;
@@ -2741,11 +2741,11 @@ export declare const SCHEMAS: {
2741
2741
  toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
2742
2742
  }, import("zod").ZodTypeAny, "passthrough">;
2743
2743
  userId: string;
2744
+ quantity: number;
2744
2745
  productId: string;
2745
2746
  productTitle: string;
2746
2747
  userName: string;
2747
2748
  userEmail: string;
2748
- quantity: number;
2749
2749
  unitPrice: number;
2750
2750
  totalPrice: number;
2751
2751
  paymentStatus: "paid" | "failed" | "pending" | "processing" | "refunded" | "partial_refund";
@@ -2756,6 +2756,7 @@ export declare const SCHEMAS: {
2756
2756
  platformFee?: number | undefined;
2757
2757
  paymentMethod?: string | undefined;
2758
2758
  notes?: string | undefined;
2759
+ storeName?: string | undefined;
2759
2760
  prizeRevealMode?: "scheduled" | "instant" | undefined;
2760
2761
  paymentId?: string | undefined;
2761
2762
  shippingAddress?: string | undefined;
@@ -2781,9 +2782,9 @@ export declare const SCHEMAS: {
2781
2782
  shippingCarrier?: string | undefined;
2782
2783
  trackingUrl?: string | undefined;
2783
2784
  items?: {
2785
+ quantity: number;
2784
2786
  productId: string;
2785
2787
  productTitle: string;
2786
- quantity: number;
2787
2788
  unitPrice: number;
2788
2789
  totalPrice: number;
2789
2790
  listingType?: "classified" | "standard" | "auction" | "pre-order" | "prize-draw" | "digital-code" | "live" | undefined;
@@ -2799,7 +2800,6 @@ export declare const SCHEMAS: {
2799
2800
  }, import("zod").ZodTypeAny, "passthrough">;
2800
2801
  } | undefined;
2801
2802
  prizeDrawProductId?: string | undefined;
2802
- storeName?: string | undefined;
2803
2803
  couponCode?: string | undefined;
2804
2804
  physicalLocation?: {
2805
2805
  zone: string;
@@ -2816,7 +2816,7 @@ export declare const SCHEMAS: {
2816
2816
  code: string;
2817
2817
  type: "auto" | "coupon" | "deal";
2818
2818
  discountAmount: number;
2819
- scope?: "seller" | "admin" | undefined;
2819
+ scope?: "admin" | "seller" | undefined;
2820
2820
  storeId?: string | undefined;
2821
2821
  couponId?: string | undefined;
2822
2822
  }[] | undefined;
@@ -3169,11 +3169,11 @@ export declare const SCHEMAS: {
3169
3169
  toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
3170
3170
  }, import("zod").ZodTypeAny, "passthrough">;
3171
3171
  userId: string;
3172
+ rating: number;
3172
3173
  verified: boolean;
3173
3174
  productId: string;
3174
3175
  productTitle: string;
3175
3176
  userName: string;
3176
- rating: number;
3177
3177
  comment: string;
3178
3178
  helpfulCount: number;
3179
3179
  reportCount: number;
@@ -3185,9 +3185,10 @@ export declare const SCHEMAS: {
3185
3185
  trimStart?: number | undefined;
3186
3186
  } | undefined;
3187
3187
  storeId?: string | undefined;
3188
+ listingType?: string | undefined;
3189
+ storeName?: string | undefined;
3188
3190
  images?: string[] | undefined;
3189
3191
  featured?: boolean | undefined;
3190
- listingType?: string | undefined;
3191
3192
  userAvatar?: string | undefined;
3192
3193
  moderatorId?: string | undefined;
3193
3194
  moderatorNote?: string | undefined;
@@ -3198,7 +3199,6 @@ export declare const SCHEMAS: {
3198
3199
  rejectedAt?: string | Date | import("zod").objectOutputType<{
3199
3200
  toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
3200
3201
  }, import("zod").ZodTypeAny, "passthrough"> | undefined;
3201
- storeName?: string | undefined;
3202
3202
  userSlug?: string | undefined;
3203
3203
  hasImages?: boolean | undefined;
3204
3204
  isAnonymous?: boolean | undefined;
@@ -3217,11 +3217,11 @@ export declare const SCHEMAS: {
3217
3217
  toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
3218
3218
  }, import("zod").ZodTypeAny, "passthrough">;
3219
3219
  userId: string;
3220
+ rating: number;
3220
3221
  verified: boolean;
3221
3222
  productId: string;
3222
3223
  productTitle: string;
3223
3224
  userName: string;
3224
- rating: number;
3225
3225
  comment: string;
3226
3226
  helpfulCount: number;
3227
3227
  reportCount: number;
@@ -3233,9 +3233,10 @@ export declare const SCHEMAS: {
3233
3233
  trimStart?: number | undefined;
3234
3234
  } | undefined;
3235
3235
  storeId?: string | undefined;
3236
+ listingType?: string | undefined;
3237
+ storeName?: string | undefined;
3236
3238
  images?: string[] | undefined;
3237
3239
  featured?: boolean | undefined;
3238
- listingType?: string | undefined;
3239
3240
  userAvatar?: string | undefined;
3240
3241
  moderatorId?: string | undefined;
3241
3242
  moderatorNote?: string | undefined;
@@ -3246,7 +3247,6 @@ export declare const SCHEMAS: {
3246
3247
  rejectedAt?: string | Date | import("zod").objectInputType<{
3247
3248
  toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
3248
3249
  }, import("zod").ZodTypeAny, "passthrough"> | undefined;
3249
- storeName?: string | undefined;
3250
3250
  userSlug?: string | undefined;
3251
3251
  hasImages?: boolean | undefined;
3252
3252
  isAnonymous?: boolean | undefined;
@@ -3324,9 +3324,9 @@ export declare const SCHEMAS: {
3324
3324
  updatedAt: string | Date | import("zod").objectOutputType<{
3325
3325
  toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
3326
3326
  }, import("zod").ZodTypeAny, "passthrough">;
3327
+ views: number;
3327
3328
  description: string;
3328
3329
  tags: string[];
3329
- views: number;
3330
3330
  scamType: string;
3331
3331
  reportedBy: string;
3332
3332
  reportedByAnon: boolean;
@@ -3364,9 +3364,9 @@ export declare const SCHEMAS: {
3364
3364
  updatedAt: string | Date | import("zod").objectInputType<{
3365
3365
  toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
3366
3366
  }, import("zod").ZodTypeAny, "passthrough">;
3367
+ views: number;
3367
3368
  description: string;
3368
3369
  tags: string[];
3369
- views: number;
3370
3370
  scamType: string;
3371
3371
  reportedBy: string;
3372
3372
  reportedByAnon: boolean;
@@ -3903,8 +3903,8 @@ export declare const SCHEMAS: {
3903
3903
  updatedAt: string | Date | import("zod").objectOutputType<{
3904
3904
  toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
3905
3905
  }, import("zod").ZodTypeAny, "passthrough">;
3906
- ownerId: string;
3907
3906
  storeName: string;
3907
+ ownerId: string;
3908
3908
  storeSlug: string;
3909
3909
  isPublic: boolean;
3910
3910
  location?: string | undefined;
@@ -3988,8 +3988,8 @@ export declare const SCHEMAS: {
3988
3988
  updatedAt: string | Date | import("zod").objectInputType<{
3989
3989
  toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
3990
3990
  }, import("zod").ZodTypeAny, "passthrough">;
3991
- ownerId: string;
3992
3991
  storeName: string;
3992
+ ownerId: string;
3993
3993
  storeSlug: string;
3994
3994
  isPublic: boolean;
3995
3995
  location?: string | undefined;
@@ -4168,12 +4168,12 @@ export declare const SCHEMAS: {
4168
4168
  toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
4169
4169
  }, import("zod").ZodTypeAny, "passthrough">;
4170
4170
  userId: string;
4171
- description: string;
4172
4171
  category: "general" | "account" | "order_issue" | "billing_payment" | "listing_dispute" | "scam_report" | "refund_request" | "auction_dispute" | "store_change_request" | "order_modification_request" | "unban_request";
4172
+ priority: "normal" | "high" | "low" | "urgent";
4173
+ description: string;
4173
4174
  userEmail: string;
4174
4175
  userDisplayName: string;
4175
4176
  subject: string;
4176
- priority: "normal" | "high" | "low" | "urgent";
4177
4177
  messages: {
4178
4178
  id: string;
4179
4179
  body: string;
@@ -4211,12 +4211,12 @@ export declare const SCHEMAS: {
4211
4211
  toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
4212
4212
  }, import("zod").ZodTypeAny, "passthrough">;
4213
4213
  userId: string;
4214
- description: string;
4215
4214
  category: "general" | "account" | "order_issue" | "billing_payment" | "listing_dispute" | "scam_report" | "refund_request" | "auction_dispute" | "store_change_request" | "order_modification_request" | "unban_request";
4215
+ priority: "normal" | "high" | "low" | "urgent";
4216
+ description: string;
4216
4217
  userEmail: string;
4217
4218
  userDisplayName: string;
4218
4219
  subject: string;
4219
- priority: "normal" | "high" | "low" | "urgent";
4220
4220
  messages: {
4221
4221
  id: string;
4222
4222
  body: string;
@@ -4274,11 +4274,11 @@ export declare const SCHEMAS: {
4274
4274
  status: "draft" | "published" | "archived";
4275
4275
  title: string;
4276
4276
  content: string;
4277
- youtubeId: string;
4278
- slug: string;
4279
4277
  category: "news" | "tips" | "guides" | "updates" | "community";
4280
- tags: string[];
4281
4278
  publishedAt: string;
4279
+ slug: string;
4280
+ youtubeId: string;
4281
+ tags: string[];
4282
4282
  isFeatured: boolean;
4283
4283
  excerpt: string;
4284
4284
  coverImage: string;
@@ -4289,11 +4289,11 @@ export declare const SCHEMAS: {
4289
4289
  status: "draft" | "published" | "archived";
4290
4290
  title: string;
4291
4291
  content: string;
4292
- youtubeId: string;
4293
- slug: string;
4294
4292
  category: "news" | "tips" | "guides" | "updates" | "community";
4295
- tags: string[];
4296
4293
  publishedAt: string;
4294
+ slug: string;
4295
+ youtubeId: string;
4296
+ tags: string[];
4297
4297
  isFeatured: boolean;
4298
4298
  excerpt: string;
4299
4299
  coverImage: string;
@@ -4452,14 +4452,14 @@ export declare const SCHEMAS: {
4452
4452
  }, "strip", import("zod").ZodTypeAny, {
4453
4453
  label: string;
4454
4454
  displayOrder: number;
4455
- description?: string | undefined;
4456
4455
  slug?: string | undefined;
4456
+ description?: string | undefined;
4457
4457
  coverImageUrl?: string | undefined;
4458
4458
  }, {
4459
4459
  label: string;
4460
4460
  displayOrder: number;
4461
- description?: string | undefined;
4462
4461
  slug?: string | undefined;
4462
+ description?: string | undefined;
4463
4463
  coverImageUrl?: string | undefined;
4464
4464
  }>;
4465
4465
  readonly listingTemplate: import("zod").ZodObject<{