@mohasinac/appkit 4.4.1 → 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.
- package/dist/_internal/shared/features/cart/schema.d.ts +3 -3
- package/dist/_internal/shared/features/events/schema.d.ts +2 -2
- package/dist/_internal/shared/features/orders/schema.d.ts +4 -4
- package/dist/constants/index.d.ts +3 -0
- package/dist/constants/index.js +9 -0
- package/dist/features/account/schemas/index.d.ts +4 -4
- package/dist/features/addresses/schemas/index.d.ts +2 -2
- package/dist/features/events/schemas/index.d.ts +8 -8
- package/dist/features/faq/actions/faq-actions.d.ts +6 -6
- package/dist/features/faq/schemas/index.d.ts +2 -2
- package/dist/features/homepage/schemas/index.d.ts +10 -10
- package/dist/features/messages/schemas/index.d.ts +10 -10
- package/dist/features/orders/schemas/index.d.ts +10 -10
- package/dist/features/products/schemas/product-features.validators.d.ts +6 -6
- package/dist/features/promotions/schemas/index.d.ts +4 -4
- package/dist/features/seller/schemas/index.d.ts +14 -14
- package/dist/features/stores/schemas/index.d.ts +18 -18
- package/dist/features/support/schemas/index.d.ts +6 -6
- package/dist/features/wishlist/hooks/useWishlistWithGuest.d.ts +1 -1
- package/dist/schemas/registry.d.ts +52 -52
- package/package.json +1 -1
|
@@ -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;
|
|
@@ -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";
|
package/dist/constants/index.js
CHANGED
|
@@ -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" | "
|
|
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" | "
|
|
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" | "
|
|
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" | "
|
|
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" | "
|
|
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" | "
|
|
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" | "
|
|
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" | "
|
|
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" | "
|
|
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" | "
|
|
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;
|
|
@@ -284,12 +284,12 @@ export declare const couponFirestoreSchema: z.ZodObject<{
|
|
|
284
284
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
285
285
|
}, z.ZodTypeAny, "passthrough">;
|
|
286
286
|
description: string;
|
|
287
|
+
createdBy: string;
|
|
287
288
|
stats: {
|
|
288
289
|
totalUses: number;
|
|
289
290
|
totalRevenue: number;
|
|
290
291
|
totalDiscount: number;
|
|
291
292
|
};
|
|
292
|
-
createdBy: string;
|
|
293
293
|
discount: {
|
|
294
294
|
value: number;
|
|
295
295
|
maxDiscount?: number | undefined;
|
|
@@ -343,12 +343,12 @@ export declare const couponFirestoreSchema: z.ZodObject<{
|
|
|
343
343
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
344
344
|
}, z.ZodTypeAny, "passthrough">;
|
|
345
345
|
description: string;
|
|
346
|
+
createdBy: string;
|
|
346
347
|
stats: {
|
|
347
348
|
totalUses: number;
|
|
348
349
|
totalRevenue: number;
|
|
349
350
|
totalDiscount: number;
|
|
350
351
|
};
|
|
351
|
-
createdBy: string;
|
|
352
352
|
discount: {
|
|
353
353
|
value: number;
|
|
354
354
|
maxDiscount?: number | undefined;
|
|
@@ -763,8 +763,8 @@ export declare const couponItemSchema: z.ZodObject<{
|
|
|
763
763
|
createdAt: string;
|
|
764
764
|
updatedAt: string;
|
|
765
765
|
description: string;
|
|
766
|
-
isPublic: boolean;
|
|
767
766
|
isActive: boolean;
|
|
767
|
+
isPublic: boolean;
|
|
768
768
|
usageCount: number;
|
|
769
769
|
discountValue: number;
|
|
770
770
|
storeId?: string | undefined;
|
|
@@ -787,8 +787,8 @@ export declare const couponItemSchema: z.ZodObject<{
|
|
|
787
787
|
createdAt: string;
|
|
788
788
|
updatedAt: string;
|
|
789
789
|
description: string;
|
|
790
|
-
isPublic: boolean;
|
|
791
790
|
isActive: boolean;
|
|
791
|
+
isPublic: boolean;
|
|
792
792
|
usageCount: number;
|
|
793
793
|
discountValue: number;
|
|
794
794
|
storeId?: string | undefined;
|
|
@@ -90,17 +90,11 @@ export declare const sellerStoreSchema: z.ZodObject<{
|
|
|
90
90
|
createdAt: string;
|
|
91
91
|
updatedAt: string;
|
|
92
92
|
storeName: string;
|
|
93
|
-
isPublic: boolean;
|
|
94
93
|
ownerId: string;
|
|
95
94
|
storeSlug: string;
|
|
95
|
+
isPublic: boolean;
|
|
96
96
|
location?: string | undefined;
|
|
97
97
|
returnPolicy?: string | undefined;
|
|
98
|
-
socialLinks?: {
|
|
99
|
-
instagram?: string | undefined;
|
|
100
|
-
facebook?: string | undefined;
|
|
101
|
-
twitter?: string | undefined;
|
|
102
|
-
linkedin?: string | undefined;
|
|
103
|
-
} | undefined;
|
|
104
98
|
stats?: {
|
|
105
99
|
itemsSold: number;
|
|
106
100
|
totalProducts: number;
|
|
@@ -113,6 +107,12 @@ export declare const sellerStoreSchema: z.ZodObject<{
|
|
|
113
107
|
storeBannerURL?: string | undefined;
|
|
114
108
|
bio?: string | undefined;
|
|
115
109
|
website?: string | undefined;
|
|
110
|
+
socialLinks?: {
|
|
111
|
+
instagram?: string | undefined;
|
|
112
|
+
facebook?: string | undefined;
|
|
113
|
+
twitter?: string | undefined;
|
|
114
|
+
linkedin?: string | undefined;
|
|
115
|
+
} | undefined;
|
|
116
116
|
shippingPolicy?: string | undefined;
|
|
117
117
|
isVacationMode?: boolean | undefined;
|
|
118
118
|
vacationMessage?: string | undefined;
|
|
@@ -122,17 +122,11 @@ export declare const sellerStoreSchema: z.ZodObject<{
|
|
|
122
122
|
createdAt: string;
|
|
123
123
|
updatedAt: string;
|
|
124
124
|
storeName: string;
|
|
125
|
-
isPublic: boolean;
|
|
126
125
|
ownerId: string;
|
|
127
126
|
storeSlug: string;
|
|
127
|
+
isPublic: boolean;
|
|
128
128
|
location?: string | undefined;
|
|
129
129
|
returnPolicy?: string | undefined;
|
|
130
|
-
socialLinks?: {
|
|
131
|
-
instagram?: string | undefined;
|
|
132
|
-
facebook?: string | undefined;
|
|
133
|
-
twitter?: string | undefined;
|
|
134
|
-
linkedin?: string | undefined;
|
|
135
|
-
} | undefined;
|
|
136
130
|
stats?: {
|
|
137
131
|
itemsSold: number;
|
|
138
132
|
totalProducts: number;
|
|
@@ -145,6 +139,12 @@ export declare const sellerStoreSchema: z.ZodObject<{
|
|
|
145
139
|
storeBannerURL?: string | undefined;
|
|
146
140
|
bio?: string | undefined;
|
|
147
141
|
website?: string | undefined;
|
|
142
|
+
socialLinks?: {
|
|
143
|
+
instagram?: string | undefined;
|
|
144
|
+
facebook?: string | undefined;
|
|
145
|
+
twitter?: string | undefined;
|
|
146
|
+
linkedin?: string | undefined;
|
|
147
|
+
} | undefined;
|
|
148
148
|
shippingPolicy?: string | undefined;
|
|
149
149
|
isVacationMode?: boolean | undefined;
|
|
150
150
|
vacationMessage?: string | undefined;
|
|
@@ -411,18 +411,12 @@ export declare const storeFirestoreSchema: z.ZodObject<{
|
|
|
411
411
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
412
412
|
}, z.ZodTypeAny, "passthrough">;
|
|
413
413
|
storeName: string;
|
|
414
|
-
isPublic: boolean;
|
|
415
414
|
ownerId: string;
|
|
416
415
|
storeSlug: string;
|
|
416
|
+
isPublic: boolean;
|
|
417
417
|
location?: string | undefined;
|
|
418
418
|
returnPolicy?: string | undefined;
|
|
419
419
|
isFeatured?: boolean | undefined;
|
|
420
|
-
socialLinks?: {
|
|
421
|
-
instagram?: string | undefined;
|
|
422
|
-
facebook?: string | undefined;
|
|
423
|
-
twitter?: string | undefined;
|
|
424
|
-
linkedin?: string | undefined;
|
|
425
|
-
} | undefined;
|
|
426
420
|
stats?: {
|
|
427
421
|
itemsSold: number;
|
|
428
422
|
totalProducts: number;
|
|
@@ -455,6 +449,12 @@ export declare const storeFirestoreSchema: z.ZodObject<{
|
|
|
455
449
|
} | undefined;
|
|
456
450
|
bio?: string | undefined;
|
|
457
451
|
website?: string | undefined;
|
|
452
|
+
socialLinks?: {
|
|
453
|
+
instagram?: string | undefined;
|
|
454
|
+
facebook?: string | undefined;
|
|
455
|
+
twitter?: string | undefined;
|
|
456
|
+
linkedin?: string | undefined;
|
|
457
|
+
} | undefined;
|
|
458
458
|
emiEnabled?: boolean | undefined;
|
|
459
459
|
shippingPolicy?: string | undefined;
|
|
460
460
|
isVacationMode?: boolean | undefined;
|
|
@@ -496,18 +496,12 @@ export declare const storeFirestoreSchema: z.ZodObject<{
|
|
|
496
496
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
497
497
|
}, z.ZodTypeAny, "passthrough">;
|
|
498
498
|
storeName: string;
|
|
499
|
-
isPublic: boolean;
|
|
500
499
|
ownerId: string;
|
|
501
500
|
storeSlug: string;
|
|
501
|
+
isPublic: boolean;
|
|
502
502
|
location?: string | undefined;
|
|
503
503
|
returnPolicy?: string | undefined;
|
|
504
504
|
isFeatured?: boolean | undefined;
|
|
505
|
-
socialLinks?: {
|
|
506
|
-
instagram?: string | undefined;
|
|
507
|
-
facebook?: string | undefined;
|
|
508
|
-
twitter?: string | undefined;
|
|
509
|
-
linkedin?: string | undefined;
|
|
510
|
-
} | undefined;
|
|
511
505
|
stats?: {
|
|
512
506
|
itemsSold: number;
|
|
513
507
|
totalProducts: number;
|
|
@@ -540,6 +534,12 @@ export declare const storeFirestoreSchema: z.ZodObject<{
|
|
|
540
534
|
} | undefined;
|
|
541
535
|
bio?: string | undefined;
|
|
542
536
|
website?: string | undefined;
|
|
537
|
+
socialLinks?: {
|
|
538
|
+
instagram?: string | undefined;
|
|
539
|
+
facebook?: string | undefined;
|
|
540
|
+
twitter?: string | undefined;
|
|
541
|
+
linkedin?: string | undefined;
|
|
542
|
+
} | undefined;
|
|
543
543
|
emiEnabled?: boolean | undefined;
|
|
544
544
|
shippingPolicy?: string | undefined;
|
|
545
545
|
isVacationMode?: boolean | undefined;
|
|
@@ -608,15 +608,15 @@ export declare const storeListItemSchema: z.ZodObject<{
|
|
|
608
608
|
status: string;
|
|
609
609
|
id: string;
|
|
610
610
|
storeName: string;
|
|
611
|
-
isPublic: boolean;
|
|
612
611
|
ownerId: string;
|
|
613
612
|
storeSlug: string;
|
|
613
|
+
isPublic: boolean;
|
|
614
614
|
createdAt?: string | undefined;
|
|
615
|
-
itemsSold?: number | undefined;
|
|
616
615
|
storeCategory?: string | undefined;
|
|
617
616
|
storeDescription?: string | undefined;
|
|
618
617
|
storeLogoURL?: string | undefined;
|
|
619
618
|
storeBannerURL?: string | undefined;
|
|
619
|
+
itemsSold?: number | undefined;
|
|
620
620
|
totalProducts?: number | undefined;
|
|
621
621
|
totalReviews?: number | undefined;
|
|
622
622
|
averageRating?: number | undefined;
|
|
@@ -624,15 +624,15 @@ export declare const storeListItemSchema: z.ZodObject<{
|
|
|
624
624
|
status: string;
|
|
625
625
|
id: string;
|
|
626
626
|
storeName: string;
|
|
627
|
-
isPublic: boolean;
|
|
628
627
|
ownerId: string;
|
|
629
628
|
storeSlug: string;
|
|
629
|
+
isPublic: boolean;
|
|
630
630
|
createdAt?: string | undefined;
|
|
631
|
-
itemsSold?: number | undefined;
|
|
632
631
|
storeCategory?: string | undefined;
|
|
633
632
|
storeDescription?: string | undefined;
|
|
634
633
|
storeLogoURL?: string | undefined;
|
|
635
634
|
storeBannerURL?: string | undefined;
|
|
635
|
+
itemsSold?: number | undefined;
|
|
636
636
|
totalProducts?: number | undefined;
|
|
637
637
|
totalReviews?: number | undefined;
|
|
638
638
|
averageRating?: number | undefined;
|
|
@@ -161,6 +161,9 @@ export declare const supportTicketFirestoreSchema: z.ZodObject<{
|
|
|
161
161
|
category: "general" | "account" | "order_issue" | "billing_payment" | "listing_dispute" | "scam_report" | "refund_request" | "auction_dispute" | "store_change_request" | "order_modification_request" | "unban_request";
|
|
162
162
|
description: string;
|
|
163
163
|
priority: "normal" | "high" | "low" | "urgent";
|
|
164
|
+
userEmail: string;
|
|
165
|
+
userDisplayName: string;
|
|
166
|
+
subject: string;
|
|
164
167
|
messages: {
|
|
165
168
|
id: string;
|
|
166
169
|
body: string;
|
|
@@ -171,9 +174,6 @@ export declare const supportTicketFirestoreSchema: z.ZodObject<{
|
|
|
171
174
|
authorRole: "user" | "admin" | "support";
|
|
172
175
|
attachments?: string[] | undefined;
|
|
173
176
|
}[];
|
|
174
|
-
userEmail: string;
|
|
175
|
-
userDisplayName: string;
|
|
176
|
-
subject: string;
|
|
177
177
|
orderId?: string | undefined;
|
|
178
178
|
assignedTo?: string | undefined;
|
|
179
179
|
resolvedAt?: string | Date | z.objectOutputType<{
|
|
@@ -204,6 +204,9 @@ export declare const supportTicketFirestoreSchema: z.ZodObject<{
|
|
|
204
204
|
category: "general" | "account" | "order_issue" | "billing_payment" | "listing_dispute" | "scam_report" | "refund_request" | "auction_dispute" | "store_change_request" | "order_modification_request" | "unban_request";
|
|
205
205
|
description: string;
|
|
206
206
|
priority: "normal" | "high" | "low" | "urgent";
|
|
207
|
+
userEmail: string;
|
|
208
|
+
userDisplayName: string;
|
|
209
|
+
subject: string;
|
|
207
210
|
messages: {
|
|
208
211
|
id: string;
|
|
209
212
|
body: string;
|
|
@@ -214,9 +217,6 @@ export declare const supportTicketFirestoreSchema: z.ZodObject<{
|
|
|
214
217
|
authorRole: "user" | "admin" | "support";
|
|
215
218
|
attachments?: string[] | undefined;
|
|
216
219
|
}[];
|
|
217
|
-
userEmail: string;
|
|
218
|
-
userDisplayName: string;
|
|
219
|
-
subject: string;
|
|
220
220
|
orderId?: string | undefined;
|
|
221
221
|
assignedTo?: string | undefined;
|
|
222
222
|
resolvedAt?: string | Date | z.objectInputType<{
|
|
@@ -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" | "
|
|
32
|
+
type: "auction" | "classified" | "digital-code" | "live" | "category" | "store" | "product" | "preorder";
|
|
33
33
|
}[];
|
|
34
34
|
total: number;
|
|
35
35
|
wishlistedIds: Set<string>;
|
|
@@ -42,11 +42,11 @@ export declare const SCHEMAS: {
|
|
|
42
42
|
isDefault: boolean;
|
|
43
43
|
phone: string;
|
|
44
44
|
city: string;
|
|
45
|
-
state: string;
|
|
46
45
|
ownerId: string;
|
|
47
46
|
ownerType: "user" | "store";
|
|
48
47
|
fullName: string;
|
|
49
48
|
addressLine1: string;
|
|
49
|
+
state: string;
|
|
50
50
|
postalCode: string;
|
|
51
51
|
addressLine2?: string | undefined;
|
|
52
52
|
landmark?: string | undefined;
|
|
@@ -63,11 +63,11 @@ export declare const SCHEMAS: {
|
|
|
63
63
|
isDefault: boolean;
|
|
64
64
|
phone: string;
|
|
65
65
|
city: string;
|
|
66
|
-
state: string;
|
|
67
66
|
ownerId: string;
|
|
68
67
|
ownerType: "user" | "store";
|
|
69
68
|
fullName: string;
|
|
70
69
|
addressLine1: string;
|
|
70
|
+
state: string;
|
|
71
71
|
postalCode: string;
|
|
72
72
|
addressLine2?: string | undefined;
|
|
73
73
|
landmark?: string | undefined;
|
|
@@ -796,15 +796,15 @@ export declare const SCHEMAS: {
|
|
|
796
796
|
alt?: string | undefined;
|
|
797
797
|
thumbnail?: string | undefined;
|
|
798
798
|
} | undefined;
|
|
799
|
-
settings?: {
|
|
800
|
-
height?: "medium" | "viewport" | "tall" | undefined;
|
|
801
|
-
autoplayDelayMs?: number | undefined;
|
|
802
|
-
} | undefined;
|
|
803
799
|
mobileMedia?: {
|
|
804
800
|
type: "video" | "image";
|
|
805
801
|
url: string;
|
|
806
802
|
alt?: string | undefined;
|
|
807
803
|
} | undefined;
|
|
804
|
+
settings?: {
|
|
805
|
+
height?: "medium" | "viewport" | "tall" | undefined;
|
|
806
|
+
autoplayDelayMs?: number | undefined;
|
|
807
|
+
} | undefined;
|
|
808
808
|
carouselId?: string | null | undefined;
|
|
809
809
|
analytics?: {
|
|
810
810
|
views: number;
|
|
@@ -905,15 +905,15 @@ export declare const SCHEMAS: {
|
|
|
905
905
|
alt?: string | undefined;
|
|
906
906
|
thumbnail?: string | undefined;
|
|
907
907
|
} | undefined;
|
|
908
|
-
settings?: {
|
|
909
|
-
height?: "medium" | "viewport" | "tall" | undefined;
|
|
910
|
-
autoplayDelayMs?: number | undefined;
|
|
911
|
-
} | undefined;
|
|
912
908
|
mobileMedia?: {
|
|
913
909
|
type: "video" | "image";
|
|
914
910
|
url: string;
|
|
915
911
|
alt?: string | undefined;
|
|
916
912
|
} | undefined;
|
|
913
|
+
settings?: {
|
|
914
|
+
height?: "medium" | "viewport" | "tall" | undefined;
|
|
915
|
+
autoplayDelayMs?: number | undefined;
|
|
916
|
+
} | undefined;
|
|
917
917
|
carouselId?: string | null | undefined;
|
|
918
918
|
analytics?: {
|
|
919
919
|
views: number;
|
|
@@ -1605,6 +1605,11 @@ export declare const SCHEMAS: {
|
|
|
1605
1605
|
}, import("zod").ZodTypeAny, "passthrough">;
|
|
1606
1606
|
storeId: string;
|
|
1607
1607
|
storeName: string;
|
|
1608
|
+
buyerId: string;
|
|
1609
|
+
lastMessageAt: string | Date | import("zod").objectOutputType<{
|
|
1610
|
+
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
1611
|
+
}, import("zod").ZodTypeAny, "passthrough">;
|
|
1612
|
+
lastMessage: string;
|
|
1608
1613
|
messages: {
|
|
1609
1614
|
id: string;
|
|
1610
1615
|
body: string;
|
|
@@ -1616,11 +1621,6 @@ export declare const SCHEMAS: {
|
|
|
1616
1621
|
}, import("zod").ZodTypeAny, "passthrough">;
|
|
1617
1622
|
attachments?: string[] | undefined;
|
|
1618
1623
|
}[];
|
|
1619
|
-
buyerId: string;
|
|
1620
|
-
lastMessageAt: string | Date | import("zod").objectOutputType<{
|
|
1621
|
-
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
1622
|
-
}, import("zod").ZodTypeAny, "passthrough">;
|
|
1623
|
-
lastMessage: string;
|
|
1624
1624
|
buyerDisplayName: string;
|
|
1625
1625
|
sellerDisplayName: string;
|
|
1626
1626
|
unreadBuyer: number;
|
|
@@ -1638,6 +1638,11 @@ export declare const SCHEMAS: {
|
|
|
1638
1638
|
}, import("zod").ZodTypeAny, "passthrough">;
|
|
1639
1639
|
storeId: string;
|
|
1640
1640
|
storeName: string;
|
|
1641
|
+
buyerId: string;
|
|
1642
|
+
lastMessageAt: string | Date | import("zod").objectInputType<{
|
|
1643
|
+
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
1644
|
+
}, import("zod").ZodTypeAny, "passthrough">;
|
|
1645
|
+
lastMessage: string;
|
|
1641
1646
|
messages: {
|
|
1642
1647
|
id: string;
|
|
1643
1648
|
body: string;
|
|
@@ -1649,11 +1654,6 @@ export declare const SCHEMAS: {
|
|
|
1649
1654
|
}, import("zod").ZodTypeAny, "passthrough">;
|
|
1650
1655
|
attachments?: string[] | undefined;
|
|
1651
1656
|
}[];
|
|
1652
|
-
buyerId: string;
|
|
1653
|
-
lastMessageAt: string | Date | import("zod").objectInputType<{
|
|
1654
|
-
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
1655
|
-
}, import("zod").ZodTypeAny, "passthrough">;
|
|
1656
|
-
lastMessage: string;
|
|
1657
1657
|
buyerDisplayName: string;
|
|
1658
1658
|
sellerDisplayName: string;
|
|
1659
1659
|
unreadBuyer: number;
|
|
@@ -1821,12 +1821,12 @@ export declare const SCHEMAS: {
|
|
|
1821
1821
|
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
1822
1822
|
}, import("zod").ZodTypeAny, "passthrough">;
|
|
1823
1823
|
description: string;
|
|
1824
|
+
createdBy: string;
|
|
1824
1825
|
stats: {
|
|
1825
1826
|
totalUses: number;
|
|
1826
1827
|
totalRevenue: number;
|
|
1827
1828
|
totalDiscount: number;
|
|
1828
1829
|
};
|
|
1829
|
-
createdBy: string;
|
|
1830
1830
|
discount: {
|
|
1831
1831
|
value: number;
|
|
1832
1832
|
maxDiscount?: number | undefined;
|
|
@@ -1880,12 +1880,12 @@ export declare const SCHEMAS: {
|
|
|
1880
1880
|
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
1881
1881
|
}, import("zod").ZodTypeAny, "passthrough">;
|
|
1882
1882
|
description: string;
|
|
1883
|
+
createdBy: string;
|
|
1883
1884
|
stats: {
|
|
1884
1885
|
totalUses: number;
|
|
1885
1886
|
totalRevenue: number;
|
|
1886
1887
|
totalDiscount: number;
|
|
1887
1888
|
};
|
|
1888
|
-
createdBy: string;
|
|
1889
1889
|
discount: {
|
|
1890
1890
|
value: number;
|
|
1891
1891
|
maxDiscount?: number | undefined;
|
|
@@ -2051,6 +2051,7 @@ export declare const SCHEMAS: {
|
|
|
2051
2051
|
priority: number;
|
|
2052
2052
|
order: number;
|
|
2053
2053
|
isActive: boolean;
|
|
2054
|
+
createdBy: string;
|
|
2054
2055
|
stats: {
|
|
2055
2056
|
views: number;
|
|
2056
2057
|
helpful: number;
|
|
@@ -2059,7 +2060,6 @@ export declare const SCHEMAS: {
|
|
|
2059
2060
|
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
2060
2061
|
}, import("zod").ZodTypeAny, "passthrough"> | undefined;
|
|
2061
2062
|
};
|
|
2062
|
-
createdBy: string;
|
|
2063
2063
|
showOnHomepage: boolean;
|
|
2064
2064
|
question: string;
|
|
2065
2065
|
answer: {
|
|
@@ -2090,6 +2090,7 @@ export declare const SCHEMAS: {
|
|
|
2090
2090
|
priority: number;
|
|
2091
2091
|
order: number;
|
|
2092
2092
|
isActive: boolean;
|
|
2093
|
+
createdBy: string;
|
|
2093
2094
|
stats: {
|
|
2094
2095
|
views: number;
|
|
2095
2096
|
helpful: number;
|
|
@@ -2098,7 +2099,6 @@ export declare const SCHEMAS: {
|
|
|
2098
2099
|
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
2099
2100
|
}, import("zod").ZodTypeAny, "passthrough"> | undefined;
|
|
2100
2101
|
};
|
|
2101
|
-
createdBy: string;
|
|
2102
2102
|
showOnHomepage: boolean;
|
|
2103
2103
|
question: string;
|
|
2104
2104
|
answer: {
|
|
@@ -2216,7 +2216,7 @@ export declare const SCHEMAS: {
|
|
|
2216
2216
|
enabled: import("zod").ZodBoolean;
|
|
2217
2217
|
config: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodType<import("./types").JsonValue, import("zod").ZodTypeDef, import("./types").JsonValue>>;
|
|
2218
2218
|
}, "strip", import("zod").ZodTypeAny, {
|
|
2219
|
-
type: "banner" | "products" | "features" | "categories" | "reviews" | "events" | "
|
|
2219
|
+
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";
|
|
2220
2220
|
id: string;
|
|
2221
2221
|
createdAt: string | Date | import("zod").objectOutputType<{
|
|
2222
2222
|
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
@@ -2228,7 +2228,7 @@ export declare const SCHEMAS: {
|
|
|
2228
2228
|
order: number;
|
|
2229
2229
|
config: Record<string, import("./types").JsonValue>;
|
|
2230
2230
|
}, {
|
|
2231
|
-
type: "banner" | "products" | "features" | "categories" | "reviews" | "events" | "
|
|
2231
|
+
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";
|
|
2232
2232
|
id: string;
|
|
2233
2233
|
createdAt: string | Date | import("zod").objectInputType<{
|
|
2234
2234
|
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
@@ -2273,16 +2273,16 @@ export declare const SCHEMAS: {
|
|
|
2273
2273
|
prizeRevealStatus: import("zod").ZodOptional<import("zod").ZodEnum<["pending", "open", "closed", "revealed"]>>;
|
|
2274
2274
|
}, "strip", import("zod").ZodTypeAny, {
|
|
2275
2275
|
productId: string;
|
|
2276
|
-
quantity: number;
|
|
2277
2276
|
productTitle: string;
|
|
2277
|
+
quantity: number;
|
|
2278
2278
|
unitPrice: number;
|
|
2279
2279
|
totalPrice: number;
|
|
2280
2280
|
listingType?: "standard" | "auction" | "pre-order" | "prize-draw" | "classified" | "digital-code" | "live" | undefined;
|
|
2281
2281
|
prizeRevealStatus?: "closed" | "open" | "pending" | "revealed" | undefined;
|
|
2282
2282
|
}, {
|
|
2283
2283
|
productId: string;
|
|
2284
|
-
quantity: number;
|
|
2285
2284
|
productTitle: string;
|
|
2285
|
+
quantity: number;
|
|
2286
2286
|
unitPrice: number;
|
|
2287
2287
|
totalPrice: number;
|
|
2288
2288
|
listingType?: "standard" | "auction" | "pre-order" | "prize-draw" | "classified" | "digital-code" | "live" | undefined;
|
|
@@ -2570,10 +2570,10 @@ export declare const SCHEMAS: {
|
|
|
2570
2570
|
}, import("zod").ZodTypeAny, "passthrough">;
|
|
2571
2571
|
userId: string;
|
|
2572
2572
|
productId: string;
|
|
2573
|
-
quantity: number;
|
|
2574
2573
|
productTitle: string;
|
|
2575
2574
|
userName: string;
|
|
2576
2575
|
userEmail: string;
|
|
2576
|
+
quantity: number;
|
|
2577
2577
|
unitPrice: number;
|
|
2578
2578
|
totalPrice: number;
|
|
2579
2579
|
paymentStatus: "paid" | "failed" | "pending" | "processing" | "refunded" | "partial_refund";
|
|
@@ -2594,8 +2594,8 @@ export declare const SCHEMAS: {
|
|
|
2594
2594
|
payoutStatus?: "paid" | "eligible" | "requested" | undefined;
|
|
2595
2595
|
items?: {
|
|
2596
2596
|
productId: string;
|
|
2597
|
-
quantity: number;
|
|
2598
2597
|
productTitle: string;
|
|
2598
|
+
quantity: number;
|
|
2599
2599
|
unitPrice: number;
|
|
2600
2600
|
totalPrice: number;
|
|
2601
2601
|
listingType?: "standard" | "auction" | "pre-order" | "prize-draw" | "classified" | "digital-code" | "live" | undefined;
|
|
@@ -2718,10 +2718,10 @@ export declare const SCHEMAS: {
|
|
|
2718
2718
|
}, import("zod").ZodTypeAny, "passthrough">;
|
|
2719
2719
|
userId: string;
|
|
2720
2720
|
productId: string;
|
|
2721
|
-
quantity: number;
|
|
2722
2721
|
productTitle: string;
|
|
2723
2722
|
userName: string;
|
|
2724
2723
|
userEmail: string;
|
|
2724
|
+
quantity: number;
|
|
2725
2725
|
unitPrice: number;
|
|
2726
2726
|
totalPrice: number;
|
|
2727
2727
|
paymentStatus: "paid" | "failed" | "pending" | "processing" | "refunded" | "partial_refund";
|
|
@@ -2742,8 +2742,8 @@ export declare const SCHEMAS: {
|
|
|
2742
2742
|
payoutStatus?: "paid" | "eligible" | "requested" | undefined;
|
|
2743
2743
|
items?: {
|
|
2744
2744
|
productId: string;
|
|
2745
|
-
quantity: number;
|
|
2746
2745
|
productTitle: string;
|
|
2746
|
+
quantity: number;
|
|
2747
2747
|
unitPrice: number;
|
|
2748
2748
|
totalPrice: number;
|
|
2749
2749
|
listingType?: "standard" | "auction" | "pre-order" | "prize-draw" | "classified" | "digital-code" | "live" | undefined;
|
|
@@ -3880,18 +3880,12 @@ export declare const SCHEMAS: {
|
|
|
3880
3880
|
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
3881
3881
|
}, import("zod").ZodTypeAny, "passthrough">;
|
|
3882
3882
|
storeName: string;
|
|
3883
|
-
isPublic: boolean;
|
|
3884
3883
|
ownerId: string;
|
|
3885
3884
|
storeSlug: string;
|
|
3885
|
+
isPublic: boolean;
|
|
3886
3886
|
location?: string | undefined;
|
|
3887
3887
|
returnPolicy?: string | undefined;
|
|
3888
3888
|
isFeatured?: boolean | undefined;
|
|
3889
|
-
socialLinks?: {
|
|
3890
|
-
instagram?: string | undefined;
|
|
3891
|
-
facebook?: string | undefined;
|
|
3892
|
-
twitter?: string | undefined;
|
|
3893
|
-
linkedin?: string | undefined;
|
|
3894
|
-
} | undefined;
|
|
3895
3889
|
stats?: {
|
|
3896
3890
|
itemsSold: number;
|
|
3897
3891
|
totalProducts: number;
|
|
@@ -3924,6 +3918,12 @@ export declare const SCHEMAS: {
|
|
|
3924
3918
|
} | undefined;
|
|
3925
3919
|
bio?: string | undefined;
|
|
3926
3920
|
website?: string | undefined;
|
|
3921
|
+
socialLinks?: {
|
|
3922
|
+
instagram?: string | undefined;
|
|
3923
|
+
facebook?: string | undefined;
|
|
3924
|
+
twitter?: string | undefined;
|
|
3925
|
+
linkedin?: string | undefined;
|
|
3926
|
+
} | undefined;
|
|
3927
3927
|
emiEnabled?: boolean | undefined;
|
|
3928
3928
|
shippingPolicy?: string | undefined;
|
|
3929
3929
|
isVacationMode?: boolean | undefined;
|
|
@@ -3965,18 +3965,12 @@ export declare const SCHEMAS: {
|
|
|
3965
3965
|
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
3966
3966
|
}, import("zod").ZodTypeAny, "passthrough">;
|
|
3967
3967
|
storeName: string;
|
|
3968
|
-
isPublic: boolean;
|
|
3969
3968
|
ownerId: string;
|
|
3970
3969
|
storeSlug: string;
|
|
3970
|
+
isPublic: boolean;
|
|
3971
3971
|
location?: string | undefined;
|
|
3972
3972
|
returnPolicy?: string | undefined;
|
|
3973
3973
|
isFeatured?: boolean | undefined;
|
|
3974
|
-
socialLinks?: {
|
|
3975
|
-
instagram?: string | undefined;
|
|
3976
|
-
facebook?: string | undefined;
|
|
3977
|
-
twitter?: string | undefined;
|
|
3978
|
-
linkedin?: string | undefined;
|
|
3979
|
-
} | undefined;
|
|
3980
3974
|
stats?: {
|
|
3981
3975
|
itemsSold: number;
|
|
3982
3976
|
totalProducts: number;
|
|
@@ -4009,6 +4003,12 @@ export declare const SCHEMAS: {
|
|
|
4009
4003
|
} | undefined;
|
|
4010
4004
|
bio?: string | undefined;
|
|
4011
4005
|
website?: string | undefined;
|
|
4006
|
+
socialLinks?: {
|
|
4007
|
+
instagram?: string | undefined;
|
|
4008
|
+
facebook?: string | undefined;
|
|
4009
|
+
twitter?: string | undefined;
|
|
4010
|
+
linkedin?: string | undefined;
|
|
4011
|
+
} | undefined;
|
|
4012
4012
|
emiEnabled?: boolean | undefined;
|
|
4013
4013
|
shippingPolicy?: string | undefined;
|
|
4014
4014
|
isVacationMode?: boolean | undefined;
|
|
@@ -4147,6 +4147,9 @@ export declare const SCHEMAS: {
|
|
|
4147
4147
|
category: "general" | "account" | "order_issue" | "billing_payment" | "listing_dispute" | "scam_report" | "refund_request" | "auction_dispute" | "store_change_request" | "order_modification_request" | "unban_request";
|
|
4148
4148
|
description: string;
|
|
4149
4149
|
priority: "normal" | "high" | "low" | "urgent";
|
|
4150
|
+
userEmail: string;
|
|
4151
|
+
userDisplayName: string;
|
|
4152
|
+
subject: string;
|
|
4150
4153
|
messages: {
|
|
4151
4154
|
id: string;
|
|
4152
4155
|
body: string;
|
|
@@ -4157,9 +4160,6 @@ export declare const SCHEMAS: {
|
|
|
4157
4160
|
authorRole: "user" | "admin" | "support";
|
|
4158
4161
|
attachments?: string[] | undefined;
|
|
4159
4162
|
}[];
|
|
4160
|
-
userEmail: string;
|
|
4161
|
-
userDisplayName: string;
|
|
4162
|
-
subject: string;
|
|
4163
4163
|
orderId?: string | undefined;
|
|
4164
4164
|
assignedTo?: string | undefined;
|
|
4165
4165
|
resolvedAt?: string | Date | import("zod").objectOutputType<{
|
|
@@ -4190,6 +4190,9 @@ export declare const SCHEMAS: {
|
|
|
4190
4190
|
category: "general" | "account" | "order_issue" | "billing_payment" | "listing_dispute" | "scam_report" | "refund_request" | "auction_dispute" | "store_change_request" | "order_modification_request" | "unban_request";
|
|
4191
4191
|
description: string;
|
|
4192
4192
|
priority: "normal" | "high" | "low" | "urgent";
|
|
4193
|
+
userEmail: string;
|
|
4194
|
+
userDisplayName: string;
|
|
4195
|
+
subject: string;
|
|
4193
4196
|
messages: {
|
|
4194
4197
|
id: string;
|
|
4195
4198
|
body: string;
|
|
@@ -4200,9 +4203,6 @@ export declare const SCHEMAS: {
|
|
|
4200
4203
|
authorRole: "user" | "admin" | "support";
|
|
4201
4204
|
attachments?: string[] | undefined;
|
|
4202
4205
|
}[];
|
|
4203
|
-
userEmail: string;
|
|
4204
|
-
userDisplayName: string;
|
|
4205
|
-
subject: string;
|
|
4206
4206
|
orderId?: string | undefined;
|
|
4207
4207
|
assignedTo?: string | undefined;
|
|
4208
4208
|
resolvedAt?: string | Date | import("zod").objectInputType<{
|