@mohasinac/appkit 4.4.0 → 4.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -19,8 +19,8 @@ export declare const addToCartSchema: z.ZodObject<{
19
19
  price: number;
20
20
  storeName: string;
21
21
  productId: string;
22
- quantity: number;
23
22
  productTitle: string;
23
+ quantity: number;
24
24
  productImage: string;
25
25
  offerId?: string | undefined;
26
26
  lockedPrice?: number | undefined;
@@ -77,8 +77,8 @@ export declare const mergeGuestCartSchema: z.ZodObject<{
77
77
  price: number;
78
78
  storeName: string;
79
79
  productId: string;
80
- quantity: number;
81
80
  productTitle: string;
81
+ quantity: number;
82
82
  productImage: string;
83
83
  offerId?: string | undefined;
84
84
  lockedPrice?: number | undefined;
@@ -105,8 +105,8 @@ export declare const mergeGuestCartSchema: z.ZodObject<{
105
105
  price: number;
106
106
  storeName: string;
107
107
  productId: string;
108
- quantity: number;
109
108
  productTitle: string;
109
+ quantity: number;
110
110
  productImage: string;
111
111
  offerId?: string | undefined;
112
112
  lockedPrice?: number | undefined;
@@ -59,9 +59,9 @@ export declare const eventUpdateSchema: z.ZodObject<Omit<{
59
59
  description?: string | undefined;
60
60
  tags?: string[] | undefined;
61
61
  maxEntries?: number | undefined;
62
- imageUrl?: string | undefined;
63
62
  startsAt?: string | undefined;
64
63
  endsAt?: string | undefined;
64
+ imageUrl?: string | undefined;
65
65
  entryFee?: number | undefined;
66
66
  isOnline?: boolean | undefined;
67
67
  }, {
@@ -71,9 +71,9 @@ export declare const eventUpdateSchema: z.ZodObject<Omit<{
71
71
  description?: string | undefined;
72
72
  tags?: string[] | undefined;
73
73
  maxEntries?: number | undefined;
74
- imageUrl?: string | undefined;
75
74
  startsAt?: string | undefined;
76
75
  endsAt?: string | undefined;
76
+ imageUrl?: string | undefined;
77
77
  entryFee?: number | undefined;
78
78
  isOnline?: boolean | undefined;
79
79
  }>;
@@ -26,17 +26,17 @@ export declare const createOrderSchema: z.ZodObject<{
26
26
  country: string;
27
27
  phone: string;
28
28
  city: string;
29
- state: string;
30
29
  fullName: string;
31
30
  addressLine1: string;
31
+ state: string;
32
32
  pincode: string;
33
33
  addressLine2?: string | undefined;
34
34
  }, {
35
35
  phone: string;
36
36
  city: string;
37
- state: string;
38
37
  fullName: string;
39
38
  addressLine1: string;
39
+ state: string;
40
40
  pincode: string;
41
41
  country?: string | undefined;
42
42
  addressLine2?: string | undefined;
@@ -54,9 +54,9 @@ export declare const createOrderSchema: z.ZodObject<{
54
54
  country: string;
55
55
  phone: string;
56
56
  city: string;
57
- state: string;
58
57
  fullName: string;
59
58
  addressLine1: string;
59
+ state: string;
60
60
  pincode: string;
61
61
  addressLine2?: string | undefined;
62
62
  };
@@ -71,9 +71,9 @@ export declare const createOrderSchema: z.ZodObject<{
71
71
  shippingAddress: {
72
72
  phone: string;
73
73
  city: string;
74
- state: string;
75
74
  fullName: string;
76
75
  addressLine1: string;
76
+ state: string;
77
77
  pincode: string;
78
78
  country?: string | undefined;
79
79
  addressLine2?: string | undefined;
@@ -400,7 +400,11 @@ export declare const STORE_FIELDS: {
400
400
  readonly BANNER_URL: "storeBannerURL";
401
401
  readonly STATUS: "status";
402
402
  readonly IS_VERIFIED: "isVerified";
403
+ readonly IS_FEATURED: "isFeatured";
403
404
  readonly IS_PUBLIC: "isPublic";
405
+ readonly ADMIN_NOTES: "adminNotes";
406
+ readonly SUSPENSION_REASON: "suspensionReason";
407
+ readonly CAPABILITIES: "capabilities";
404
408
  readonly SHIPPING_CONFIG: "shippingConfig";
405
409
  readonly PAYOUT_DETAILS: "payoutDetails";
406
410
  readonly STATS: "stats";
@@ -437,7 +437,11 @@ export const STORE_FIELDS = {
437
437
  BANNER_URL: "storeBannerURL",
438
438
  STATUS: "status",
439
439
  IS_VERIFIED: "isVerified",
440
+ IS_FEATURED: "isFeatured",
440
441
  IS_PUBLIC: "isPublic",
442
+ ADMIN_NOTES: "adminNotes",
443
+ SUSPENSION_REASON: "suspensionReason",
444
+ CAPABILITIES: "capabilities",
441
445
  SHIPPING_CONFIG: "shippingConfig",
442
446
  PAYOUT_DETAILS: "payoutDetails",
443
447
  STATS: "stats",
@@ -18,3 +18,6 @@ export type { NotificationType } from "./notification-types";
18
18
  export { resolveEndpoint, resolveEndpointFn } from "./api-endpoint-resolver";
19
19
  export { ROUTES, PUBLIC_ROUTES, PROTECTED_ROUTES, AUTH_ROUTES } from "../next/routing/route-map";
20
20
  export { WISHLIST_MAX, HISTORY_MAX, CART_MAX_ITEMS, WISHLIST_DOC_ID, HISTORY_DOC_ID, WISHLIST_COLLECTION, HISTORY_COLLECTION, } from "./limits";
21
+ export { PRODUCT_FIELDS, PRODUCT_STATUS_TRANSITIONS, ORDER_FIELDS, REVIEW_FIELDS, BID_FIELDS, AD_FIELDS, EVENT_FIELDS, EVENT_ENTRY_FIELDS, PAYOUT_FIELDS, STORE_FIELDS, CATEGORY_FIELDS, BLOG_FIELDS, USER_FIELDS, ADDRESS_FIELDS, BRAND_FIELDS, CART_FIELDS, WISHLIST_FIELDS, HISTORY_FIELDS, NOTIFICATION_FIELDS, SESSION_FIELDS, COUPON_USAGE_FIELDS, CONVERSATION_FIELDS, SCAMMER_FIELDS, SUPPORT_TICKET_FIELDS, CAROUSEL_FIELDS, COUPON_FIELDS, FAQ_FIELDS, HOMEPAGE_SECTION_FIELDS, SITE_SETTINGS_FIELDS, COMMON_FIELDS, OAUTH_STATE_VALUES, SCHEMA_DEFAULTS, } from "./field-names";
22
+ export { SELLER_LISTING_TABS, type SellerListingTabId, } from "../features/products/constants/listing-tabs";
23
+ export { ALL_TAB, EMPTY_TAB, ADMIN_PRODUCT_STATUS_TABS, ADMIN_PRODUCT_LISTING_TYPE_TABS, ADMIN_BLOG_STATUS_TABS, ADMIN_USER_STATUS_TABS, ADMIN_USER_ROLE_TABS, ADMIN_STORE_STATUS_TABS, ADMIN_PAYOUT_STATUS_TABS, ADMIN_ORDER_STATUS_TABS, ADMIN_REVIEW_STATUS_TABS, ADMIN_REVIEW_RATING_TABS, ADMIN_BID_STATUS_TABS, ADMIN_CONTACT_STATUS_TABS, ADMIN_NEWSLETTER_STATUS_TABS, ADMIN_EVENT_ENTRY_STATUS_TABS, ADMIN_EVENT_STATUS_TABS, ADMIN_CART_OWNERSHIP_TABS, ADMIN_COUPON_TYPE_TABS, SELLER_PRODUCT_STATUS_TABS, SELLER_AUCTION_STATUS_TABS, SELLER_ORDER_STATUS_TABS, SELLER_OFFER_STATUS_TABS, SELLER_BID_STATUS_TABS, } from "../features/admin/constants/filter-tabs";
@@ -16,3 +16,12 @@ export { NOTIFICATION_TYPES, NOTIFICATION_TYPE_TABS, } from "./notification-type
16
16
  export { resolveEndpoint, resolveEndpointFn } from "./api-endpoint-resolver";
17
17
  export { ROUTES, PUBLIC_ROUTES, PROTECTED_ROUTES, AUTH_ROUTES } from "../next/routing/route-map";
18
18
  export { WISHLIST_MAX, HISTORY_MAX, CART_MAX_ITEMS, WISHLIST_DOC_ID, HISTORY_DOC_ID, WISHLIST_COLLECTION, HISTORY_COLLECTION, } from "./limits";
19
+ // Firestore field-name maps — pure constants, no imports. Exposed here (not
20
+ // just via "@mohasinac/appkit/client") because several consumers build
21
+ // derived objects (e.g. Object.values(...) for a Zod enum) at module-eval
22
+ // time, which needs a small, synchronously-resolvable subpath rather than
23
+ // the much larger client.ts barrel.
24
+ export { PRODUCT_FIELDS, PRODUCT_STATUS_TRANSITIONS, ORDER_FIELDS, REVIEW_FIELDS, BID_FIELDS, AD_FIELDS, EVENT_FIELDS, EVENT_ENTRY_FIELDS, PAYOUT_FIELDS, STORE_FIELDS, CATEGORY_FIELDS, BLOG_FIELDS, USER_FIELDS, ADDRESS_FIELDS, BRAND_FIELDS, CART_FIELDS, WISHLIST_FIELDS, HISTORY_FIELDS, NOTIFICATION_FIELDS, SESSION_FIELDS, COUPON_USAGE_FIELDS, CONVERSATION_FIELDS, SCAMMER_FIELDS, SUPPORT_TICKET_FIELDS, CAROUSEL_FIELDS, COUPON_FIELDS, FAQ_FIELDS, HOMEPAGE_SECTION_FIELDS, SITE_SETTINGS_FIELDS, COMMON_FIELDS, OAUTH_STATE_VALUES, SCHEMA_DEFAULTS, } from "./field-names";
25
+ // Dashboard filter-tab sets — same rationale as the field-name maps above.
26
+ export { SELLER_LISTING_TABS, } from "../features/products/constants/listing-tabs";
27
+ export { ALL_TAB, EMPTY_TAB, ADMIN_PRODUCT_STATUS_TABS, ADMIN_PRODUCT_LISTING_TYPE_TABS, ADMIN_BLOG_STATUS_TABS, ADMIN_USER_STATUS_TABS, ADMIN_USER_ROLE_TABS, ADMIN_STORE_STATUS_TABS, ADMIN_PAYOUT_STATUS_TABS, ADMIN_ORDER_STATUS_TABS, ADMIN_REVIEW_STATUS_TABS, ADMIN_REVIEW_RATING_TABS, ADMIN_BID_STATUS_TABS, ADMIN_CONTACT_STATUS_TABS, ADMIN_NEWSLETTER_STATUS_TABS, ADMIN_EVENT_ENTRY_STATUS_TABS, ADMIN_EVENT_STATUS_TABS, ADMIN_CART_OWNERSHIP_TABS, ADMIN_COUPON_TYPE_TABS, SELLER_PRODUCT_STATUS_TABS, SELLER_AUCTION_STATUS_TABS, SELLER_ORDER_STATUS_TABS, SELLER_OFFER_STATUS_TABS, SELLER_BID_STATUS_TABS, } from "../features/admin/constants/filter-tabs";
@@ -133,6 +133,8 @@ export declare const userProfileSchema: z.ZodObject<{
133
133
  createdAt?: string | undefined;
134
134
  updatedAt?: string | undefined;
135
135
  phone?: string | undefined;
136
+ photoURL?: string | undefined;
137
+ bio?: string | undefined;
136
138
  addresses?: {
137
139
  country: string;
138
140
  id: string;
@@ -145,8 +147,6 @@ export declare const userProfileSchema: z.ZodObject<{
145
147
  phone?: string | undefined;
146
148
  line2?: string | undefined;
147
149
  }[] | undefined;
148
- photoURL?: string | undefined;
149
- bio?: string | undefined;
150
150
  notificationPreferences?: {
151
151
  push?: boolean | undefined;
152
152
  promotions?: boolean | undefined;
@@ -161,6 +161,8 @@ export declare const userProfileSchema: z.ZodObject<{
161
161
  createdAt?: string | undefined;
162
162
  updatedAt?: string | undefined;
163
163
  phone?: string | undefined;
164
+ photoURL?: string | undefined;
165
+ bio?: string | undefined;
164
166
  addresses?: {
165
167
  country: string;
166
168
  id: string;
@@ -173,8 +175,6 @@ export declare const userProfileSchema: z.ZodObject<{
173
175
  phone?: string | undefined;
174
176
  line2?: string | undefined;
175
177
  }[] | undefined;
176
- photoURL?: string | undefined;
177
- bio?: string | undefined;
178
178
  notificationPreferences?: {
179
179
  push?: boolean | undefined;
180
180
  promotions?: boolean | undefined;
@@ -43,11 +43,11 @@ export declare const addressFirestoreSchema: z.ZodObject<{
43
43
  isDefault: boolean;
44
44
  phone: string;
45
45
  city: string;
46
- state: string;
47
46
  ownerId: string;
48
47
  ownerType: "user" | "store";
49
48
  fullName: string;
50
49
  addressLine1: string;
50
+ state: string;
51
51
  postalCode: string;
52
52
  addressLine2?: string | undefined;
53
53
  landmark?: string | undefined;
@@ -64,11 +64,11 @@ export declare const addressFirestoreSchema: z.ZodObject<{
64
64
  isDefault: boolean;
65
65
  phone: string;
66
66
  city: string;
67
- state: string;
68
67
  ownerId: string;
69
68
  ownerType: "user" | "store";
70
69
  fullName: string;
71
70
  addressLine1: string;
71
+ state: string;
72
72
  postalCode: string;
73
73
  addressLine2?: string | undefined;
74
74
  landmark?: string | undefined;
@@ -930,14 +930,14 @@ export declare const eventItemSchema: z.ZodObject<{
930
930
  createdAt: string;
931
931
  updatedAt: string;
932
932
  description: string;
933
+ startsAt: string;
934
+ endsAt: string;
935
+ createdBy: string;
933
936
  stats: {
934
937
  totalEntries: number;
935
938
  approvedEntries: number;
936
939
  flaggedEntries: number;
937
940
  };
938
- startsAt: string;
939
- endsAt: string;
940
- createdBy: string;
941
941
  coverImage: {
942
942
  type: "video" | "image" | "file";
943
943
  url: string;
@@ -989,7 +989,7 @@ export declare const eventItemSchema: z.ZodObject<{
989
989
  maxPullsPerUser: number;
990
990
  } | undefined;
991
991
  hasRaffle?: boolean | undefined;
992
- raffleType?: "spin_wheel" | "top_n_scorers" | "top_n_participants" | "open_raffle" | undefined;
992
+ raffleType?: "spin_wheel" | "open_raffle" | "top_n_scorers" | "top_n_participants" | undefined;
993
993
  raffleTopN?: number | undefined;
994
994
  rafflePrize?: string | undefined;
995
995
  rafflePrizeCouponId?: string | undefined;
@@ -1081,14 +1081,14 @@ export declare const eventItemSchema: z.ZodObject<{
1081
1081
  createdAt: string;
1082
1082
  updatedAt: string;
1083
1083
  description: string;
1084
+ startsAt: string;
1085
+ endsAt: string;
1086
+ createdBy: string;
1084
1087
  stats: {
1085
1088
  totalEntries: number;
1086
1089
  approvedEntries: number;
1087
1090
  flaggedEntries: number;
1088
1091
  };
1089
- startsAt: string;
1090
- endsAt: string;
1091
- createdBy: string;
1092
1092
  slug?: string | undefined;
1093
1093
  lotteryConfig?: {
1094
1094
  slots: {
@@ -1105,7 +1105,7 @@ export declare const eventItemSchema: z.ZodObject<{
1105
1105
  maxPullsPerUser: number;
1106
1106
  } | undefined;
1107
1107
  hasRaffle?: boolean | undefined;
1108
- raffleType?: "spin_wheel" | "top_n_scorers" | "top_n_participants" | "open_raffle" | undefined;
1108
+ raffleType?: "spin_wheel" | "open_raffle" | "top_n_scorers" | "top_n_participants" | undefined;
1109
1109
  raffleTopN?: number | undefined;
1110
1110
  rafflePrize?: string | undefined;
1111
1111
  rafflePrizeCouponId?: string | undefined;
@@ -41,8 +41,8 @@ export declare const faqCreateSchema: z.ZodEffects<z.ZodObject<{
41
41
  useSiteSettings: boolean;
42
42
  template?: string | undefined;
43
43
  tags?: string[] | undefined;
44
- variables?: Record<string, string> | undefined;
45
44
  relatedFAQs?: string[] | undefined;
45
+ variables?: Record<string, string> | undefined;
46
46
  }, {
47
47
  category: string;
48
48
  question: string;
@@ -54,13 +54,13 @@ export declare const faqCreateSchema: z.ZodEffects<z.ZodObject<{
54
54
  tags?: string[] | undefined;
55
55
  priority?: number | undefined;
56
56
  order?: number | undefined;
57
- variables?: Record<string, string> | undefined;
58
57
  isActive?: boolean | undefined;
59
58
  showOnHomepage?: boolean | undefined;
60
59
  showInFooter?: boolean | undefined;
61
60
  isPinned?: boolean | undefined;
62
61
  relatedFAQs?: string[] | undefined;
63
62
  useSiteSettings?: boolean | undefined;
63
+ variables?: Record<string, string> | undefined;
64
64
  }>, {
65
65
  category: string;
66
66
  priority: number;
@@ -77,8 +77,8 @@ export declare const faqCreateSchema: z.ZodEffects<z.ZodObject<{
77
77
  useSiteSettings: boolean;
78
78
  template?: string | undefined;
79
79
  tags?: string[] | undefined;
80
- variables?: Record<string, string> | undefined;
81
80
  relatedFAQs?: string[] | undefined;
81
+ variables?: Record<string, string> | undefined;
82
82
  }, {
83
83
  category: string;
84
84
  question: string;
@@ -90,13 +90,13 @@ export declare const faqCreateSchema: z.ZodEffects<z.ZodObject<{
90
90
  tags?: string[] | undefined;
91
91
  priority?: number | undefined;
92
92
  order?: number | undefined;
93
- variables?: Record<string, string> | undefined;
94
93
  isActive?: boolean | undefined;
95
94
  showOnHomepage?: boolean | undefined;
96
95
  showInFooter?: boolean | undefined;
97
96
  isPinned?: boolean | undefined;
98
97
  relatedFAQs?: string[] | undefined;
99
98
  useSiteSettings?: boolean | undefined;
99
+ variables?: Record<string, string> | undefined;
100
100
  }>;
101
101
  export declare const faqUpdateSchema: z.ZodObject<{
102
102
  question: z.ZodOptional<z.ZodString>;
@@ -128,7 +128,6 @@ export declare const faqUpdateSchema: z.ZodObject<{
128
128
  tags?: string[] | undefined;
129
129
  priority?: number | undefined;
130
130
  order?: number | undefined;
131
- variables?: Record<string, string> | undefined;
132
131
  isActive?: boolean | undefined;
133
132
  showOnHomepage?: boolean | undefined;
134
133
  question?: string | undefined;
@@ -140,13 +139,13 @@ export declare const faqUpdateSchema: z.ZodObject<{
140
139
  isPinned?: boolean | undefined;
141
140
  relatedFAQs?: string[] | undefined;
142
141
  useSiteSettings?: boolean | undefined;
142
+ variables?: Record<string, string> | undefined;
143
143
  }, {
144
144
  template?: string | undefined;
145
145
  category?: string | undefined;
146
146
  tags?: string[] | undefined;
147
147
  priority?: number | undefined;
148
148
  order?: number | undefined;
149
- variables?: Record<string, string> | undefined;
150
149
  isActive?: boolean | undefined;
151
150
  showOnHomepage?: boolean | undefined;
152
151
  question?: string | undefined;
@@ -158,6 +157,7 @@ export declare const faqUpdateSchema: z.ZodObject<{
158
157
  isPinned?: boolean | undefined;
159
158
  relatedFAQs?: string[] | undefined;
160
159
  useSiteSettings?: boolean | undefined;
160
+ variables?: Record<string, string> | undefined;
161
161
  }>;
162
162
  export type FaqCreateInput = z.infer<typeof faqCreateSchema>;
163
163
  export type FaqUpdateInput = z.infer<typeof faqUpdateSchema>;
@@ -286,6 +286,7 @@ export declare const faqFirestoreSchema: z.ZodObject<{
286
286
  priority: number;
287
287
  order: number;
288
288
  isActive: boolean;
289
+ createdBy: string;
289
290
  stats: {
290
291
  views: number;
291
292
  helpful: number;
@@ -294,7 +295,6 @@ export declare const faqFirestoreSchema: z.ZodObject<{
294
295
  toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
295
296
  }, z.ZodTypeAny, "passthrough"> | undefined;
296
297
  };
297
- createdBy: string;
298
298
  showOnHomepage: boolean;
299
299
  question: string;
300
300
  answer: {
@@ -325,6 +325,7 @@ export declare const faqFirestoreSchema: z.ZodObject<{
325
325
  priority: number;
326
326
  order: number;
327
327
  isActive: boolean;
328
+ createdBy: string;
328
329
  stats: {
329
330
  views: number;
330
331
  helpful: number;
@@ -333,7 +334,6 @@ export declare const faqFirestoreSchema: z.ZodObject<{
333
334
  toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
334
335
  }, z.ZodTypeAny, "passthrough"> | undefined;
335
336
  };
336
- createdBy: string;
337
337
  showOnHomepage: boolean;
338
338
  question: string;
339
339
  answer: {
@@ -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" | "auctions" | "stores" | "brands" | "carousel" | "newsletter" | "stats" | "welcome" | "trust-indicators" | "whatsapp-community" | "faq" | "blog-articles" | "pre-orders" | "social-feed" | "custom-cards" | "google-reviews" | "featured-bundles" | "prize-draws" | "event-raffles" | "collection-cards";
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";
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" | "auctions" | "stores" | "brands" | "carousel" | "newsletter" | "stats" | "welcome" | "trust-indicators" | "whatsapp-community" | "faq" | "blog-articles" | "pre-orders" | "social-feed" | "custom-cards" | "google-reviews" | "featured-bundles" | "prize-draws" | "event-raffles" | "collection-cards";
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";
39
39
  id: string;
40
40
  createdAt: string | Date | z.objectInputType<{
41
41
  toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
@@ -802,15 +802,15 @@ export declare const carouselSlideFirestoreSchema: z.ZodObject<{
802
802
  alt?: string | undefined;
803
803
  thumbnail?: string | undefined;
804
804
  } | undefined;
805
- settings?: {
806
- height?: "medium" | "viewport" | "tall" | undefined;
807
- autoplayDelayMs?: number | undefined;
808
- } | undefined;
809
805
  mobileMedia?: {
810
806
  type: "video" | "image";
811
807
  url: string;
812
808
  alt?: string | undefined;
813
809
  } | undefined;
810
+ settings?: {
811
+ height?: "medium" | "viewport" | "tall" | undefined;
812
+ autoplayDelayMs?: number | undefined;
813
+ } | undefined;
814
814
  carouselId?: string | null | undefined;
815
815
  analytics?: {
816
816
  views: number;
@@ -911,15 +911,15 @@ export declare const carouselSlideFirestoreSchema: z.ZodObject<{
911
911
  alt?: string | undefined;
912
912
  thumbnail?: string | undefined;
913
913
  } | undefined;
914
- settings?: {
915
- height?: "medium" | "viewport" | "tall" | undefined;
916
- autoplayDelayMs?: number | undefined;
917
- } | undefined;
918
914
  mobileMedia?: {
919
915
  type: "video" | "image";
920
916
  url: string;
921
917
  alt?: string | undefined;
922
918
  } | undefined;
919
+ settings?: {
920
+ height?: "medium" | "viewport" | "tall" | undefined;
921
+ autoplayDelayMs?: number | undefined;
922
+ } | undefined;
923
923
  carouselId?: string | null | undefined;
924
924
  analytics?: {
925
925
  views: number;
@@ -117,6 +117,11 @@ export declare const conversationFirestoreSchema: z.ZodObject<{
117
117
  }, z.ZodTypeAny, "passthrough">;
118
118
  storeId: string;
119
119
  storeName: string;
120
+ buyerId: string;
121
+ lastMessageAt: string | Date | z.objectOutputType<{
122
+ toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
123
+ }, z.ZodTypeAny, "passthrough">;
124
+ lastMessage: string;
120
125
  messages: {
121
126
  id: string;
122
127
  body: string;
@@ -128,11 +133,6 @@ export declare const conversationFirestoreSchema: z.ZodObject<{
128
133
  }, z.ZodTypeAny, "passthrough">;
129
134
  attachments?: string[] | undefined;
130
135
  }[];
131
- buyerId: string;
132
- lastMessageAt: string | Date | z.objectOutputType<{
133
- toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
134
- }, z.ZodTypeAny, "passthrough">;
135
- lastMessage: string;
136
136
  buyerDisplayName: string;
137
137
  sellerDisplayName: string;
138
138
  unreadBuyer: number;
@@ -150,6 +150,11 @@ export declare const conversationFirestoreSchema: z.ZodObject<{
150
150
  }, z.ZodTypeAny, "passthrough">;
151
151
  storeId: string;
152
152
  storeName: string;
153
+ buyerId: string;
154
+ lastMessageAt: string | Date | z.objectInputType<{
155
+ toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
156
+ }, z.ZodTypeAny, "passthrough">;
157
+ lastMessage: string;
153
158
  messages: {
154
159
  id: string;
155
160
  body: string;
@@ -161,11 +166,6 @@ export declare const conversationFirestoreSchema: z.ZodObject<{
161
166
  }, z.ZodTypeAny, "passthrough">;
162
167
  attachments?: string[] | undefined;
163
168
  }[];
164
- buyerId: string;
165
- lastMessageAt: string | Date | z.objectInputType<{
166
- toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
167
- }, z.ZodTypeAny, "passthrough">;
168
- lastMessage: string;
169
169
  buyerDisplayName: string;
170
170
  sellerDisplayName: string;
171
171
  unreadBuyer: number;
@@ -92,16 +92,16 @@ export declare const orderDocumentItemSchema: z.ZodObject<{
92
92
  prizeRevealStatus: z.ZodOptional<z.ZodEnum<["pending", "open", "closed", "revealed"]>>;
93
93
  }, "strip", z.ZodTypeAny, {
94
94
  productId: string;
95
- quantity: number;
96
95
  productTitle: string;
96
+ quantity: number;
97
97
  unitPrice: number;
98
98
  totalPrice: number;
99
99
  listingType?: "standard" | "auction" | "pre-order" | "prize-draw" | "classified" | "digital-code" | "live" | undefined;
100
100
  prizeRevealStatus?: "closed" | "open" | "pending" | "revealed" | undefined;
101
101
  }, {
102
102
  productId: string;
103
- quantity: number;
104
103
  productTitle: string;
104
+ quantity: number;
105
105
  unitPrice: number;
106
106
  totalPrice: number;
107
107
  listingType?: "standard" | "auction" | "pre-order" | "prize-draw" | "classified" | "digital-code" | "live" | undefined;
@@ -251,16 +251,16 @@ export declare const orderFirestoreSchema: z.ZodObject<{
251
251
  prizeRevealStatus: z.ZodOptional<z.ZodEnum<["pending", "open", "closed", "revealed"]>>;
252
252
  }, "strip", z.ZodTypeAny, {
253
253
  productId: string;
254
- quantity: number;
255
254
  productTitle: string;
255
+ quantity: number;
256
256
  unitPrice: number;
257
257
  totalPrice: number;
258
258
  listingType?: "standard" | "auction" | "pre-order" | "prize-draw" | "classified" | "digital-code" | "live" | undefined;
259
259
  prizeRevealStatus?: "closed" | "open" | "pending" | "revealed" | undefined;
260
260
  }, {
261
261
  productId: string;
262
- quantity: number;
263
262
  productTitle: string;
263
+ quantity: number;
264
264
  unitPrice: number;
265
265
  totalPrice: number;
266
266
  listingType?: "standard" | "auction" | "pre-order" | "prize-draw" | "classified" | "digital-code" | "live" | undefined;
@@ -548,10 +548,10 @@ export declare const orderFirestoreSchema: z.ZodObject<{
548
548
  }, z.ZodTypeAny, "passthrough">;
549
549
  userId: string;
550
550
  productId: string;
551
- quantity: number;
552
551
  productTitle: string;
553
552
  userName: string;
554
553
  userEmail: string;
554
+ quantity: number;
555
555
  unitPrice: number;
556
556
  totalPrice: number;
557
557
  paymentStatus: "paid" | "failed" | "pending" | "processing" | "refunded" | "partial_refund";
@@ -572,8 +572,8 @@ export declare const orderFirestoreSchema: z.ZodObject<{
572
572
  payoutStatus?: "paid" | "eligible" | "requested" | undefined;
573
573
  items?: {
574
574
  productId: string;
575
- quantity: number;
576
575
  productTitle: string;
576
+ quantity: number;
577
577
  unitPrice: number;
578
578
  totalPrice: number;
579
579
  listingType?: "standard" | "auction" | "pre-order" | "prize-draw" | "classified" | "digital-code" | "live" | undefined;
@@ -696,10 +696,10 @@ export declare const orderFirestoreSchema: z.ZodObject<{
696
696
  }, z.ZodTypeAny, "passthrough">;
697
697
  userId: string;
698
698
  productId: string;
699
- quantity: number;
700
699
  productTitle: string;
701
700
  userName: string;
702
701
  userEmail: string;
702
+ quantity: number;
703
703
  unitPrice: number;
704
704
  totalPrice: number;
705
705
  paymentStatus: "paid" | "failed" | "pending" | "processing" | "refunded" | "partial_refund";
@@ -720,8 +720,8 @@ export declare const orderFirestoreSchema: z.ZodObject<{
720
720
  payoutStatus?: "paid" | "eligible" | "requested" | undefined;
721
721
  items?: {
722
722
  productId: string;
723
- quantity: number;
724
723
  productTitle: string;
724
+ quantity: number;
725
725
  unitPrice: number;
726
726
  totalPrice: number;
727
727
  listingType?: "standard" | "auction" | "pre-order" | "prize-draw" | "classified" | "digital-code" | "live" | undefined;
@@ -972,8 +972,8 @@ export declare const orderSchema: z.ZodObject<{
972
972
  storeId?: string | undefined;
973
973
  attributes?: Record<string, string> | undefined;
974
974
  }[];
975
- total: number;
976
975
  paymentStatus: string;
976
+ total: number;
977
977
  subtotal: number;
978
978
  orderStatus: "pending" | "cancelled" | "processing" | "refunded" | "confirmed" | "shipped" | "delivered" | "return_requested" | "returned";
979
979
  createdAt?: string | undefined;
@@ -1009,8 +1009,8 @@ export declare const orderSchema: z.ZodObject<{
1009
1009
  storeId?: string | undefined;
1010
1010
  attributes?: Record<string, string> | undefined;
1011
1011
  }[];
1012
- total: number;
1013
1012
  paymentStatus: string;
1013
+ total: number;
1014
1014
  subtotal: number;
1015
1015
  orderStatus: "pending" | "cancelled" | "processing" | "refunded" | "confirmed" | "shipped" | "delivered" | "return_requested" | "returned";
1016
1016
  createdAt?: string | undefined;
@@ -25,7 +25,7 @@ export declare const productFeatureAdminCreateSchema: z.ZodObject<{
25
25
  label: string;
26
26
  scope: "store" | "platform";
27
27
  icon: string;
28
- category: "shipping" | "custom" | "seller" | "auction" | "condition" | "preorder" | "platform";
28
+ category: "shipping" | "custom" | "seller" | "auction" | "condition" | "platform" | "preorder";
29
29
  isActive: boolean;
30
30
  displayOrder: number;
31
31
  productTypes: ("all" | "auction" | "prize-draw" | "classified" | "digital-code" | "live" | "product" | "preorder")[];
@@ -36,7 +36,7 @@ export declare const productFeatureAdminCreateSchema: z.ZodObject<{
36
36
  label: string;
37
37
  scope: "store" | "platform";
38
38
  icon: string;
39
- category: "shipping" | "custom" | "seller" | "auction" | "condition" | "preorder" | "platform";
39
+ category: "shipping" | "custom" | "seller" | "auction" | "condition" | "platform" | "preorder";
40
40
  isActive: boolean;
41
41
  displayOrder: number;
42
42
  productTypes: ("all" | "auction" | "prize-draw" | "classified" | "digital-code" | "live" | "product" | "preorder")[];
@@ -57,7 +57,7 @@ export declare const productFeatureStoreCreateSchema: z.ZodObject<{
57
57
  }, "strip", z.ZodTypeAny, {
58
58
  label: string;
59
59
  icon: string;
60
- category: "shipping" | "custom" | "seller" | "auction" | "condition" | "preorder" | "platform";
60
+ category: "shipping" | "custom" | "seller" | "auction" | "condition" | "platform" | "preorder";
61
61
  isActive: boolean;
62
62
  displayOrder: number;
63
63
  productTypes: ("all" | "auction" | "prize-draw" | "classified" | "digital-code" | "live" | "product" | "preorder")[];
@@ -66,7 +66,7 @@ export declare const productFeatureStoreCreateSchema: z.ZodObject<{
66
66
  }, {
67
67
  label: string;
68
68
  icon: string;
69
- category: "shipping" | "custom" | "seller" | "auction" | "condition" | "preorder" | "platform";
69
+ category: "shipping" | "custom" | "seller" | "auction" | "condition" | "platform" | "preorder";
70
70
  isActive: boolean;
71
71
  displayOrder: number;
72
72
  productTypes: ("all" | "auction" | "prize-draw" | "classified" | "digital-code" | "live" | "product" | "preorder")[];
@@ -86,7 +86,7 @@ export declare const productFeatureUpdateSchema: z.ZodObject<{
86
86
  }, "strip", z.ZodTypeAny, {
87
87
  label?: string | undefined;
88
88
  icon?: string | undefined;
89
- category?: "shipping" | "custom" | "seller" | "auction" | "condition" | "preorder" | "platform" | undefined;
89
+ category?: "shipping" | "custom" | "seller" | "auction" | "condition" | "platform" | "preorder" | undefined;
90
90
  description?: string | undefined;
91
91
  isActive?: boolean | undefined;
92
92
  displayOrder?: number | undefined;
@@ -95,7 +95,7 @@ export declare const productFeatureUpdateSchema: z.ZodObject<{
95
95
  }, {
96
96
  label?: string | undefined;
97
97
  icon?: string | undefined;
98
- category?: "shipping" | "custom" | "seller" | "auction" | "condition" | "preorder" | "platform" | undefined;
98
+ category?: "shipping" | "custom" | "seller" | "auction" | "condition" | "platform" | "preorder" | undefined;
99
99
  description?: string | undefined;
100
100
  isActive?: boolean | undefined;
101
101
  displayOrder?: number | undefined;