@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.
- 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/field-names.d.ts +4 -0
- package/dist/constants/field-names.js +4 -0
- 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 +20 -20
- 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 +54 -54
- package/package.json +1 -1
|
@@ -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;
|
|
@@ -433,6 +427,7 @@ export declare const storeFirestoreSchema: z.ZodObject<{
|
|
|
433
427
|
storeDescription?: string | undefined;
|
|
434
428
|
storeLogoURL?: string | undefined;
|
|
435
429
|
storeBannerURL?: string | undefined;
|
|
430
|
+
capabilities?: string[] | undefined;
|
|
436
431
|
shippingConfig?: {
|
|
437
432
|
providers: {
|
|
438
433
|
type: "custom" | "self-courier" | "store-pickup";
|
|
@@ -454,11 +449,16 @@ export declare const storeFirestoreSchema: z.ZodObject<{
|
|
|
454
449
|
} | undefined;
|
|
455
450
|
bio?: string | undefined;
|
|
456
451
|
website?: string | undefined;
|
|
452
|
+
socialLinks?: {
|
|
453
|
+
instagram?: string | undefined;
|
|
454
|
+
facebook?: string | undefined;
|
|
455
|
+
twitter?: string | undefined;
|
|
456
|
+
linkedin?: string | undefined;
|
|
457
|
+
} | undefined;
|
|
457
458
|
emiEnabled?: boolean | undefined;
|
|
458
459
|
shippingPolicy?: string | undefined;
|
|
459
460
|
isVacationMode?: boolean | undefined;
|
|
460
461
|
vacationMessage?: string | undefined;
|
|
461
|
-
capabilities?: string[] | undefined;
|
|
462
462
|
vacationReturnDate?: string | Date | z.objectOutputType<{
|
|
463
463
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
464
464
|
}, z.ZodTypeAny, "passthrough"> | 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;
|
|
@@ -518,6 +512,7 @@ export declare const storeFirestoreSchema: z.ZodObject<{
|
|
|
518
512
|
storeDescription?: string | undefined;
|
|
519
513
|
storeLogoURL?: string | undefined;
|
|
520
514
|
storeBannerURL?: string | undefined;
|
|
515
|
+
capabilities?: string[] | undefined;
|
|
521
516
|
shippingConfig?: {
|
|
522
517
|
providers: {
|
|
523
518
|
type: "custom" | "self-courier" | "store-pickup";
|
|
@@ -539,11 +534,16 @@ export declare const storeFirestoreSchema: z.ZodObject<{
|
|
|
539
534
|
} | undefined;
|
|
540
535
|
bio?: string | undefined;
|
|
541
536
|
website?: string | undefined;
|
|
537
|
+
socialLinks?: {
|
|
538
|
+
instagram?: string | undefined;
|
|
539
|
+
facebook?: string | undefined;
|
|
540
|
+
twitter?: string | undefined;
|
|
541
|
+
linkedin?: string | undefined;
|
|
542
|
+
} | undefined;
|
|
542
543
|
emiEnabled?: boolean | undefined;
|
|
543
544
|
shippingPolicy?: string | undefined;
|
|
544
545
|
isVacationMode?: boolean | undefined;
|
|
545
546
|
vacationMessage?: string | undefined;
|
|
546
|
-
capabilities?: string[] | undefined;
|
|
547
547
|
vacationReturnDate?: string | Date | z.objectInputType<{
|
|
548
548
|
toDate: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodDate>;
|
|
549
549
|
}, z.ZodTypeAny, "passthrough"> | 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;
|
|
@@ -3902,6 +3896,7 @@ export declare const SCHEMAS: {
|
|
|
3902
3896
|
storeDescription?: string | undefined;
|
|
3903
3897
|
storeLogoURL?: string | undefined;
|
|
3904
3898
|
storeBannerURL?: string | undefined;
|
|
3899
|
+
capabilities?: string[] | undefined;
|
|
3905
3900
|
shippingConfig?: {
|
|
3906
3901
|
providers: {
|
|
3907
3902
|
type: "custom" | "self-courier" | "store-pickup";
|
|
@@ -3923,11 +3918,16 @@ export declare const SCHEMAS: {
|
|
|
3923
3918
|
} | undefined;
|
|
3924
3919
|
bio?: string | undefined;
|
|
3925
3920
|
website?: string | undefined;
|
|
3921
|
+
socialLinks?: {
|
|
3922
|
+
instagram?: string | undefined;
|
|
3923
|
+
facebook?: string | undefined;
|
|
3924
|
+
twitter?: string | undefined;
|
|
3925
|
+
linkedin?: string | undefined;
|
|
3926
|
+
} | undefined;
|
|
3926
3927
|
emiEnabled?: boolean | undefined;
|
|
3927
3928
|
shippingPolicy?: string | undefined;
|
|
3928
3929
|
isVacationMode?: boolean | undefined;
|
|
3929
3930
|
vacationMessage?: string | undefined;
|
|
3930
|
-
capabilities?: string[] | undefined;
|
|
3931
3931
|
vacationReturnDate?: string | Date | import("zod").objectOutputType<{
|
|
3932
3932
|
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
3933
3933
|
}, import("zod").ZodTypeAny, "passthrough"> | 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;
|
|
@@ -3987,6 +3981,7 @@ export declare const SCHEMAS: {
|
|
|
3987
3981
|
storeDescription?: string | undefined;
|
|
3988
3982
|
storeLogoURL?: string | undefined;
|
|
3989
3983
|
storeBannerURL?: string | undefined;
|
|
3984
|
+
capabilities?: string[] | undefined;
|
|
3990
3985
|
shippingConfig?: {
|
|
3991
3986
|
providers: {
|
|
3992
3987
|
type: "custom" | "self-courier" | "store-pickup";
|
|
@@ -4008,11 +4003,16 @@ export declare const SCHEMAS: {
|
|
|
4008
4003
|
} | undefined;
|
|
4009
4004
|
bio?: string | undefined;
|
|
4010
4005
|
website?: string | undefined;
|
|
4006
|
+
socialLinks?: {
|
|
4007
|
+
instagram?: string | undefined;
|
|
4008
|
+
facebook?: string | undefined;
|
|
4009
|
+
twitter?: string | undefined;
|
|
4010
|
+
linkedin?: string | undefined;
|
|
4011
|
+
} | undefined;
|
|
4011
4012
|
emiEnabled?: boolean | undefined;
|
|
4012
4013
|
shippingPolicy?: string | undefined;
|
|
4013
4014
|
isVacationMode?: boolean | undefined;
|
|
4014
4015
|
vacationMessage?: string | undefined;
|
|
4015
|
-
capabilities?: string[] | undefined;
|
|
4016
4016
|
vacationReturnDate?: string | Date | import("zod").objectInputType<{
|
|
4017
4017
|
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
4018
4018
|
}, import("zod").ZodTypeAny, "passthrough"> | 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<{
|