@mohasinac/appkit 4.14.0 → 4.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_internal/server/features/auctions/actions.js +2 -2
- package/dist/_internal/server/features/cart/service.d.ts +3 -3
- package/dist/_internal/server/features/checkout/actions.js +19 -0
- package/dist/_internal/server/features/checkout/source-context.d.ts +5 -0
- package/dist/_internal/server/features/checkout/source-context.js +157 -0
- package/dist/_internal/server/features/offers/adapters.d.ts +103 -0
- package/dist/_internal/server/features/offers/adapters.js +88 -0
- package/dist/_internal/server/features/offers/index.d.ts +2 -0
- package/dist/_internal/server/features/offers/index.js +1 -0
- package/dist/_internal/server/features/orders/adapters.js +24 -0
- package/dist/_internal/server/jobs/core/offerExpiry.js +10 -10
- package/dist/_internal/shared/actions/action-registry.d.ts +9 -2
- package/dist/_internal/shared/actions/action-registry.js +458 -7
- package/dist/_internal/shared/features/auctions/schema.d.ts +14 -2
- package/dist/_internal/shared/features/auctions/schema.js +13 -1
- package/dist/_internal/shared/features/blog/schema.d.ts +4 -4
- package/dist/_internal/shared/features/cart/schema.d.ts +25 -20
- package/dist/_internal/shared/features/cart/schema.js +15 -0
- package/dist/_internal/shared/features/categories/bundle-schemas.d.ts +22 -22
- package/dist/_internal/shared/features/orders/schema.d.ts +4 -4
- package/dist/_internal/shared/features/products/schema.d.ts +27 -27
- package/dist/_internal/shared/features/promotions/schema.d.ts +4 -4
- package/dist/_internal/shared/features/reviews/schema.d.ts +2 -2
- package/dist/_internal/shared/history/history.d.ts +22 -0
- package/dist/_internal/shared/history/history.js +41 -1
- package/dist/client.d.ts +13 -2
- package/dist/client.js +20 -2
- package/dist/constants/field-names.d.ts +8 -6
- package/dist/constants/field-names.js +48 -6
- package/dist/contracts/extend.d.ts +29 -0
- package/dist/contracts/extend.js +20 -0
- package/dist/contracts/index.d.ts +2 -1
- package/dist/contracts/index.js +2 -0
- package/dist/features/account/components/UserBidsView.js +12 -4
- package/dist/features/account/components/UserReturnsView.d.ts +3 -0
- package/dist/features/account/components/UserReturnsView.js +17 -1
- package/dist/features/admin/components/AdminAuditLogView.js +1 -0
- package/dist/features/admin/components/AdminBidsView.js +15 -2
- package/dist/features/admin/components/AdminBlogEditorView.js +65 -33
- package/dist/features/admin/components/AdminFeatureEditorView.js +35 -6
- package/dist/features/admin/components/AdminNavEditorView.js +15 -5
- package/dist/features/admin/components/AdminNewsletterView.js +18 -2
- package/dist/features/admin/components/AdminOffersView.js +62 -18
- package/dist/features/admin/components/AdminPaymentMethodsView.js +24 -4
- package/dist/features/admin/components/AdminScammerEditorView.d.ts +2 -1
- package/dist/features/admin/components/AdminScammerEditorView.js +3 -13
- package/dist/features/admin/components/AdminScammersView.js +3 -8
- package/dist/features/admin/components/AdminSectionsView.js +32 -23
- package/dist/features/admin/components/AdminSessionsView.js +17 -2
- package/dist/features/admin/components/AdminViewCards.js +24 -17
- package/dist/features/admin/components/DataListingView.js +15 -1
- package/dist/features/admin/components/DataTable.js +7 -17
- package/dist/features/admin/components/ViewAuditLogEntryModal.js +1 -0
- package/dist/features/admin/components/sections/adminSectionsTypes.d.ts +4 -2
- package/dist/features/admin/components/sections/adminSectionsTypes.js +45 -27
- package/dist/features/admin/constants/filter-tabs.d.ts +3 -0
- package/dist/features/admin/constants/filter-tabs.js +1 -0
- package/dist/features/admin/schemas/homepage-section-form.d.ts +22 -0
- package/dist/features/admin/schemas/homepage-section-form.js +68 -0
- package/dist/features/admin/schemas/nav-item-form.d.ts +74 -0
- package/dist/features/admin/schemas/nav-item-form.js +72 -0
- package/dist/features/auctions/components/AuctionBidsTable.d.ts +10 -1
- package/dist/features/auctions/components/AuctionBidsTable.js +22 -4
- package/dist/features/auctions/components/bid-detail-fields.d.ts +29 -0
- package/dist/features/auctions/components/bid-detail-fields.js +103 -0
- package/dist/features/auctions/schemas/index.d.ts +14 -14
- package/dist/features/audit-log/schemas/firestore.d.ts +14 -0
- package/dist/features/audit-log/schemas/firestore.js +7 -0
- package/dist/features/auth/schemas/index.d.ts +2 -2
- package/dist/features/blog/actions/blog-actions.d.ts +7 -7
- package/dist/features/blog/schemas/blog-form.d.ts +80 -0
- package/dist/features/blog/schemas/blog-form.js +100 -0
- package/dist/features/blog/schemas/index.d.ts +10 -10
- package/dist/features/cart/schemas/index.d.ts +3 -3
- package/dist/features/catalogue/schemas/validation.d.ts +12 -12
- package/dist/features/categories/schemas/index.d.ts +16 -16
- package/dist/features/collections/schemas/index.d.ts +8 -8
- package/dist/features/events/components/AdminEventEditorView.js +32 -54
- package/dist/features/events/components/AdminEventEntriesView.js +22 -3
- package/dist/features/events/schemas/event-form.d.ts +113 -0
- package/dist/features/events/schemas/event-form.js +82 -0
- package/dist/features/events/schemas/index.d.ts +2 -2
- package/dist/features/faq/actions/faq-actions.d.ts +6 -6
- package/dist/features/faq/schemas/index.d.ts +6 -6
- package/dist/features/grouped/schemas/grouped-listing-form.d.ts +101 -0
- package/dist/features/grouped/schemas/grouped-listing-form.js +89 -0
- package/dist/features/grouped/schemas/index.d.ts +4 -4
- package/dist/features/homepage/actions/homepage-section-actions.d.ts +11 -3
- package/dist/features/homepage/actions/homepage-section-actions.js +33 -1
- package/dist/features/homepage/schemas/index.d.ts +71 -40
- package/dist/features/homepage/schemas/index.js +24 -0
- package/dist/features/messages/schemas/index.d.ts +2 -2
- package/dist/features/orders/components/OrderStatusTimeline.d.ts +5 -1
- package/dist/features/orders/components/OrderStatusTimeline.js +39 -20
- package/dist/features/orders/repository/orders.repository.js +5 -0
- package/dist/features/orders/schemas/firestore.d.ts +36 -1
- package/dist/features/orders/schemas/index.d.ts +24 -24
- package/dist/features/orders/types/index.d.ts +35 -7
- package/dist/features/pre-orders/schemas/index.d.ts +4 -4
- package/dist/features/products/components/GroupSettingsPanel.js +5 -1
- package/dist/features/products/schemas/index.d.ts +38 -38
- package/dist/features/products/schemas/product-features.validators.d.ts +75 -2
- package/dist/features/products/schemas/product-features.validators.js +63 -0
- package/dist/features/promotions/schemas/index.d.ts +14 -14
- package/dist/features/reviews/schemas/index.d.ts +14 -14
- package/dist/features/scams/constants/scammer-status-display.d.ts +28 -0
- package/dist/features/scams/constants/scammer-status-display.js +79 -0
- package/dist/features/scams/schemas/index.d.ts +2 -2
- package/dist/features/search/schemas/index.d.ts +2 -2
- package/dist/features/seller/actions/offer-actions.js +32 -2
- package/dist/features/seller/components/OfferPhaseTimeline.d.ts +59 -0
- package/dist/features/seller/components/OfferPhaseTimeline.js +107 -0
- package/dist/features/seller/components/SellerBidsView.js +11 -4
- package/dist/features/seller/components/SellerCouponEditorView.js +17 -17
- package/dist/features/seller/components/SellerOffersView.js +2 -1
- package/dist/features/seller/components/SellerPayoutSettingsView.js +38 -14
- package/dist/features/seller/repository/offer.repository.d.ts +69 -8
- package/dist/features/seller/repository/offer.repository.js +127 -23
- package/dist/features/seller/schemas/coupon-form.d.ts +72 -0
- package/dist/features/seller/schemas/coupon-form.js +116 -0
- package/dist/features/seller/schemas/firestore.d.ts +56 -2
- package/dist/features/seller/schemas/firestore.js +27 -0
- package/dist/features/seller/schemas/index.d.ts +2 -2
- package/dist/features/seller/schemas/offer-forms.d.ts +21 -0
- package/dist/features/seller/schemas/offer-forms.js +21 -0
- package/dist/features/shell/build-sections.d.ts +63 -0
- package/dist/features/shell/build-sections.js +207 -0
- package/dist/features/shell/field-ui-meta.d.ts +115 -0
- package/dist/features/shell/field-ui-meta.js +324 -0
- package/dist/features/shell/index.d.ts +4 -0
- package/dist/features/shell/index.js +2 -0
- package/dist/features/shipments/schemas/validation.d.ts +22 -22
- package/dist/features/status-history/components/StatusTimeline.d.ts +74 -0
- package/dist/features/status-history/components/StatusTimeline.js +46 -0
- package/dist/features/status-history/index.d.ts +11 -0
- package/dist/features/status-history/index.js +10 -0
- package/dist/features/store-extensions/components/ReviewDecisionModal.d.ts +27 -0
- package/dist/features/store-extensions/components/ReviewDecisionModal.js +82 -0
- package/dist/features/store-extensions/index.d.ts +12 -0
- package/dist/features/store-extensions/index.js +12 -0
- package/dist/features/store-extensions/schemas/admin-notification-form.d.ts +36 -0
- package/dist/features/store-extensions/schemas/admin-notification-form.js +114 -0
- package/dist/features/store-extensions/schemas/analytics-forms.d.ts +57 -0
- package/dist/features/store-extensions/schemas/analytics-forms.js +158 -0
- package/dist/features/store-extensions/schemas/custom-role-form.d.ts +85 -0
- package/dist/features/store-extensions/schemas/custom-role-form.js +118 -0
- package/dist/features/store-extensions/schemas/firestore.d.ts +21 -1
- package/dist/features/store-extensions/schemas/firestore.js +60 -0
- package/dist/features/store-extensions/schemas/google-config-form.d.ts +53 -0
- package/dist/features/store-extensions/schemas/google-config-form.js +105 -0
- package/dist/features/store-extensions/schemas/item-request-create-form.d.ts +28 -0
- package/dist/features/store-extensions/schemas/item-request-create-form.js +80 -0
- package/dist/features/store-extensions/schemas/listing-template-form.d.ts +78 -0
- package/dist/features/store-extensions/schemas/listing-template-form.js +87 -0
- package/dist/features/store-extensions/schemas/moderation-review-form.d.ts +49 -0
- package/dist/features/store-extensions/schemas/moderation-review-form.js +101 -0
- package/dist/features/store-extensions/schemas/payout-method-form.d.ts +153 -0
- package/dist/features/store-extensions/schemas/payout-method-form.js +155 -0
- package/dist/features/store-extensions/schemas/report-create-form.d.ts +25 -0
- package/dist/features/store-extensions/schemas/report-create-form.js +79 -0
- package/dist/features/store-extensions/schemas/report-review-form.d.ts +47 -0
- package/dist/features/store-extensions/schemas/report-review-form.js +111 -0
- package/dist/features/store-extensions/schemas/shipping-config-form.d.ts +148 -0
- package/dist/features/store-extensions/schemas/shipping-config-form.js +104 -0
- package/dist/features/store-extensions/schemas/store-category-form.d.ts +54 -0
- package/dist/features/store-extensions/schemas/store-category-form.js +73 -0
- package/dist/features/stores/schemas/index.d.ts +4 -4
- package/dist/features/support/schemas/index.d.ts +4 -4
- package/dist/features/tester/seed-data/tester-checklist-seed-data.js +350 -0
- package/dist/features/wishlist/hooks/useWishlistWithGuest.d.ts +1 -1
- package/dist/index.d.ts +12 -2
- package/dist/index.js +12 -2
- package/dist/next/routing/route-map.d.ts +16 -2
- package/dist/next/routing/route-map.js +9 -2
- package/dist/schemas/firestore-value.d.ts +8 -0
- package/dist/schemas/firestore-value.js +44 -0
- package/dist/schemas/index.d.ts +1 -1
- package/dist/schemas/index.js +1 -1
- package/dist/schemas/registry.d.ts +734 -101
- package/dist/schemas/registry.js +64 -1
- package/dist/seed/bids-seed-data.js +30 -0
- package/dist/seed/offers-seed-data.js +212 -7
- package/dist/seed/orders-seed-data.js +336 -1
- package/dist/seed/products-auctions-seed-data.js +41 -0
- package/dist/server.d.ts +2 -0
- package/dist/server.js +5 -0
- package/dist/styles.css +1 -1
- package/dist/tailwind-utilities.css +1 -1
- package/dist/ui/DataTable.js +4 -2
- package/dist/ui/columns/build-columns.d.ts +6 -1
- package/dist/ui/columns/build-columns.js +53 -0
- package/dist/ui/columns/cell-renderers.d.ts +68 -0
- package/dist/ui/columns/cell-renderers.js +111 -0
- package/dist/ui/columns/column-renderers.d.ts +6 -1
- package/dist/ui/columns/column-renderers.js +6 -1
- package/dist/ui/columns/index.d.ts +2 -1
- package/dist/ui/columns/index.js +5 -1
- package/dist/ui/components/Button.js +27 -2
- package/dist/ui/components/RecordDetailModal.d.ts +10 -1
- package/dist/ui/components/RecordDetailModal.js +2 -2
- package/dist/ui/icons/icon-registry.d.ts +65 -0
- package/dist/ui/icons/icon-registry.js +115 -0
- package/package.json +2 -1
- package/scripts/node-esm-loader.mjs +65 -0
- package/scripts/seed-cli-loader.mjs +6 -49
- package/scripts/seed-cli.mjs +1 -1
|
@@ -196,15 +196,15 @@ export declare const SCHEMAS: {
|
|
|
196
196
|
updatedAt: string | Date | import("zod").objectOutputType<{
|
|
197
197
|
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
198
198
|
}, import("zod").ZodTypeAny, "passthrough">;
|
|
199
|
-
slug: string;
|
|
200
199
|
category: string;
|
|
200
|
+
slug: string;
|
|
201
|
+
views: number;
|
|
201
202
|
tags: string[];
|
|
202
203
|
isFeatured: boolean;
|
|
203
204
|
excerpt: string;
|
|
204
205
|
authorId: string;
|
|
205
206
|
authorName: string;
|
|
206
207
|
readTimeMinutes: number;
|
|
207
|
-
views: number;
|
|
208
208
|
publishedAt?: string | Date | import("zod").objectOutputType<{
|
|
209
209
|
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
210
210
|
}, import("zod").ZodTypeAny, "passthrough"> | undefined;
|
|
@@ -249,15 +249,15 @@ export declare const SCHEMAS: {
|
|
|
249
249
|
updatedAt: string | Date | import("zod").objectInputType<{
|
|
250
250
|
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
251
251
|
}, import("zod").ZodTypeAny, "passthrough">;
|
|
252
|
-
slug: string;
|
|
253
252
|
category: string;
|
|
253
|
+
slug: string;
|
|
254
|
+
views: number;
|
|
254
255
|
tags: string[];
|
|
255
256
|
isFeatured: boolean;
|
|
256
257
|
excerpt: string;
|
|
257
258
|
authorId: string;
|
|
258
259
|
authorName: string;
|
|
259
260
|
readTimeMinutes: number;
|
|
260
|
-
views: number;
|
|
261
261
|
publishedAt?: string | Date | import("zod").objectInputType<{
|
|
262
262
|
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
263
263
|
}, import("zod").ZodTypeAny, "passthrough"> | undefined;
|
|
@@ -669,8 +669,8 @@ export declare const SCHEMAS: {
|
|
|
669
669
|
id?: string | undefined;
|
|
670
670
|
} | undefined;
|
|
671
671
|
enabled?: boolean | undefined;
|
|
672
|
-
opacity?: number | undefined;
|
|
673
672
|
description?: string | undefined;
|
|
673
|
+
opacity?: number | undefined;
|
|
674
674
|
subtitle?: string | undefined;
|
|
675
675
|
}, {
|
|
676
676
|
color?: string | undefined;
|
|
@@ -683,8 +683,8 @@ export declare const SCHEMAS: {
|
|
|
683
683
|
id?: string | undefined;
|
|
684
684
|
} | undefined;
|
|
685
685
|
enabled?: boolean | undefined;
|
|
686
|
-
opacity?: number | undefined;
|
|
687
686
|
description?: string | undefined;
|
|
687
|
+
opacity?: number | undefined;
|
|
688
688
|
subtitle?: string | undefined;
|
|
689
689
|
}>>;
|
|
690
690
|
settings: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
@@ -727,9 +727,8 @@ export declare const SCHEMAS: {
|
|
|
727
727
|
updatedAt: string | Date | import("zod").objectOutputType<{
|
|
728
728
|
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
729
729
|
}, import("zod").ZodTypeAny, "passthrough">;
|
|
730
|
-
active: boolean;
|
|
731
|
-
order: number;
|
|
732
730
|
createdBy: string;
|
|
731
|
+
active: boolean;
|
|
733
732
|
cards: {
|
|
734
733
|
id: string;
|
|
735
734
|
background: {
|
|
@@ -772,10 +771,22 @@ export declare const SCHEMAS: {
|
|
|
772
771
|
isButtonOnly?: boolean | undefined;
|
|
773
772
|
gridCol?: 3 | 1 | 2 | undefined;
|
|
774
773
|
}[];
|
|
774
|
+
order: number;
|
|
775
775
|
link?: {
|
|
776
776
|
url: string;
|
|
777
777
|
openInNewTab: boolean;
|
|
778
778
|
} | undefined;
|
|
779
|
+
media?: {
|
|
780
|
+
type: "video" | "image";
|
|
781
|
+
url: string;
|
|
782
|
+
alt?: string | undefined;
|
|
783
|
+
thumbnail?: string | undefined;
|
|
784
|
+
} | undefined;
|
|
785
|
+
mobileMedia?: {
|
|
786
|
+
type: "video" | "image";
|
|
787
|
+
url: string;
|
|
788
|
+
alt?: string | undefined;
|
|
789
|
+
} | undefined;
|
|
779
790
|
background?: {
|
|
780
791
|
type: "color" | "gradient" | "video" | "image";
|
|
781
792
|
color?: string | undefined;
|
|
@@ -801,32 +812,21 @@ export declare const SCHEMAS: {
|
|
|
801
812
|
id?: string | undefined;
|
|
802
813
|
} | undefined;
|
|
803
814
|
enabled?: boolean | undefined;
|
|
804
|
-
opacity?: number | undefined;
|
|
805
815
|
description?: string | undefined;
|
|
816
|
+
opacity?: number | undefined;
|
|
806
817
|
subtitle?: string | undefined;
|
|
807
818
|
} | undefined;
|
|
808
|
-
media?: {
|
|
809
|
-
type: "video" | "image";
|
|
810
|
-
url: string;
|
|
811
|
-
alt?: string | undefined;
|
|
812
|
-
thumbnail?: string | undefined;
|
|
813
|
-
} | undefined;
|
|
814
|
-
mobileMedia?: {
|
|
815
|
-
type: "video" | "image";
|
|
816
|
-
url: string;
|
|
817
|
-
alt?: string | undefined;
|
|
818
|
-
} | undefined;
|
|
819
|
-
settings?: {
|
|
820
|
-
height?: "medium" | "viewport" | "tall" | undefined;
|
|
821
|
-
autoplayDelayMs?: number | undefined;
|
|
822
|
-
} | undefined;
|
|
823
|
-
carouselId?: string | null | undefined;
|
|
824
819
|
analytics?: {
|
|
825
820
|
views: number;
|
|
826
821
|
lastViewed?: string | Date | import("zod").objectOutputType<{
|
|
827
822
|
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
828
823
|
}, import("zod").ZodTypeAny, "passthrough"> | undefined;
|
|
829
824
|
} | undefined;
|
|
825
|
+
settings?: {
|
|
826
|
+
height?: "medium" | "viewport" | "tall" | undefined;
|
|
827
|
+
autoplayDelayMs?: number | undefined;
|
|
828
|
+
} | undefined;
|
|
829
|
+
carouselId?: string | null | undefined;
|
|
830
830
|
}, {
|
|
831
831
|
id: string;
|
|
832
832
|
title: string;
|
|
@@ -836,9 +836,8 @@ export declare const SCHEMAS: {
|
|
|
836
836
|
updatedAt: string | Date | import("zod").objectInputType<{
|
|
837
837
|
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
838
838
|
}, import("zod").ZodTypeAny, "passthrough">;
|
|
839
|
-
active: boolean;
|
|
840
|
-
order: number;
|
|
841
839
|
createdBy: string;
|
|
840
|
+
active: boolean;
|
|
842
841
|
cards: {
|
|
843
842
|
id: string;
|
|
844
843
|
background: {
|
|
@@ -881,10 +880,22 @@ export declare const SCHEMAS: {
|
|
|
881
880
|
isButtonOnly?: boolean | undefined;
|
|
882
881
|
gridCol?: 3 | 1 | 2 | undefined;
|
|
883
882
|
}[];
|
|
883
|
+
order: number;
|
|
884
884
|
link?: {
|
|
885
885
|
url: string;
|
|
886
886
|
openInNewTab: boolean;
|
|
887
887
|
} | undefined;
|
|
888
|
+
media?: {
|
|
889
|
+
type: "video" | "image";
|
|
890
|
+
url: string;
|
|
891
|
+
alt?: string | undefined;
|
|
892
|
+
thumbnail?: string | undefined;
|
|
893
|
+
} | undefined;
|
|
894
|
+
mobileMedia?: {
|
|
895
|
+
type: "video" | "image";
|
|
896
|
+
url: string;
|
|
897
|
+
alt?: string | undefined;
|
|
898
|
+
} | undefined;
|
|
888
899
|
background?: {
|
|
889
900
|
type: "color" | "gradient" | "video" | "image";
|
|
890
901
|
color?: string | undefined;
|
|
@@ -910,32 +921,21 @@ export declare const SCHEMAS: {
|
|
|
910
921
|
id?: string | undefined;
|
|
911
922
|
} | undefined;
|
|
912
923
|
enabled?: boolean | undefined;
|
|
913
|
-
opacity?: number | undefined;
|
|
914
924
|
description?: string | undefined;
|
|
925
|
+
opacity?: number | undefined;
|
|
915
926
|
subtitle?: string | undefined;
|
|
916
927
|
} | undefined;
|
|
917
|
-
media?: {
|
|
918
|
-
type: "video" | "image";
|
|
919
|
-
url: string;
|
|
920
|
-
alt?: string | undefined;
|
|
921
|
-
thumbnail?: string | undefined;
|
|
922
|
-
} | undefined;
|
|
923
|
-
mobileMedia?: {
|
|
924
|
-
type: "video" | "image";
|
|
925
|
-
url: string;
|
|
926
|
-
alt?: string | undefined;
|
|
927
|
-
} | undefined;
|
|
928
|
-
settings?: {
|
|
929
|
-
height?: "medium" | "viewport" | "tall" | undefined;
|
|
930
|
-
autoplayDelayMs?: number | undefined;
|
|
931
|
-
} | undefined;
|
|
932
|
-
carouselId?: string | null | undefined;
|
|
933
928
|
analytics?: {
|
|
934
929
|
views: number;
|
|
935
930
|
lastViewed?: string | Date | import("zod").objectInputType<{
|
|
936
931
|
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
937
932
|
}, import("zod").ZodTypeAny, "passthrough"> | undefined;
|
|
938
933
|
} | undefined;
|
|
934
|
+
settings?: {
|
|
935
|
+
height?: "medium" | "viewport" | "tall" | undefined;
|
|
936
|
+
autoplayDelayMs?: number | undefined;
|
|
937
|
+
} | undefined;
|
|
938
|
+
carouselId?: string | null | undefined;
|
|
939
939
|
}>;
|
|
940
940
|
readonly categories: import("zod").ZodObject<{
|
|
941
941
|
createdAt: import("zod").ZodUnion<[import("zod").ZodDate, import("zod").ZodString, import("zod").ZodObject<{
|
|
@@ -1042,35 +1042,35 @@ export declare const SCHEMAS: {
|
|
|
1042
1042
|
tags: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
1043
1043
|
listingType: import("zod").ZodOptional<import("zod").ZodEnum<["standard", "pre-order", "prize-draw"]>>;
|
|
1044
1044
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1045
|
+
listingType?: "standard" | "pre-order" | "prize-draw" | undefined;
|
|
1045
1046
|
categorySlug?: string | undefined;
|
|
1046
1047
|
brandSlug?: string | undefined;
|
|
1047
1048
|
tags?: string[] | undefined;
|
|
1048
|
-
listingType?: "standard" | "pre-order" | "prize-draw" | undefined;
|
|
1049
1049
|
}, {
|
|
1050
|
+
listingType?: "standard" | "pre-order" | "prize-draw" | undefined;
|
|
1050
1051
|
categorySlug?: string | undefined;
|
|
1051
1052
|
brandSlug?: string | undefined;
|
|
1052
1053
|
tags?: string[] | undefined;
|
|
1053
|
-
listingType?: "standard" | "pre-order" | "prize-draw" | undefined;
|
|
1054
1054
|
}>;
|
|
1055
1055
|
orderBy: import("zod").ZodOptional<import("zod").ZodEnum<["price-asc", "price-desc", "createdAt-desc"]>>;
|
|
1056
1056
|
limit: import("zod").ZodNumber;
|
|
1057
1057
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1058
1058
|
type: "dynamic";
|
|
1059
1059
|
filter: {
|
|
1060
|
+
listingType?: "standard" | "pre-order" | "prize-draw" | undefined;
|
|
1060
1061
|
categorySlug?: string | undefined;
|
|
1061
1062
|
brandSlug?: string | undefined;
|
|
1062
1063
|
tags?: string[] | undefined;
|
|
1063
|
-
listingType?: "standard" | "pre-order" | "prize-draw" | undefined;
|
|
1064
1064
|
};
|
|
1065
1065
|
limit: number;
|
|
1066
1066
|
orderBy?: "price-asc" | "price-desc" | "createdAt-desc" | undefined;
|
|
1067
1067
|
}, {
|
|
1068
1068
|
type: "dynamic";
|
|
1069
1069
|
filter: {
|
|
1070
|
+
listingType?: "standard" | "pre-order" | "prize-draw" | undefined;
|
|
1070
1071
|
categorySlug?: string | undefined;
|
|
1071
1072
|
brandSlug?: string | undefined;
|
|
1072
1073
|
tags?: string[] | undefined;
|
|
1073
|
-
listingType?: "standard" | "pre-order" | "prize-draw" | undefined;
|
|
1074
1074
|
};
|
|
1075
1075
|
limit: number;
|
|
1076
1076
|
orderBy?: "price-asc" | "price-desc" | "createdAt-desc" | undefined;
|
|
@@ -1176,9 +1176,9 @@ export declare const SCHEMAS: {
|
|
|
1176
1176
|
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
1177
1177
|
}, import("zod").ZodTypeAny, "passthrough">;
|
|
1178
1178
|
slug: string;
|
|
1179
|
+
createdBy: string;
|
|
1179
1180
|
isActive: boolean;
|
|
1180
1181
|
order: number;
|
|
1181
|
-
createdBy: string;
|
|
1182
1182
|
isFeatured: boolean;
|
|
1183
1183
|
rootId: string;
|
|
1184
1184
|
tier: number;
|
|
@@ -1212,12 +1212,12 @@ export declare const SCHEMAS: {
|
|
|
1212
1212
|
name: string;
|
|
1213
1213
|
tier: number;
|
|
1214
1214
|
}[];
|
|
1215
|
+
brandSlug?: string | undefined;
|
|
1215
1216
|
faqs?: {
|
|
1216
1217
|
question: string;
|
|
1217
1218
|
answer: string;
|
|
1218
1219
|
}[] | undefined;
|
|
1219
1220
|
description?: string | undefined;
|
|
1220
|
-
brandSlug?: string | undefined;
|
|
1221
1221
|
showOnHomepage?: boolean | undefined;
|
|
1222
1222
|
categoryType?: "brand" | "category" | "sublisting" | "bundle" | undefined;
|
|
1223
1223
|
bundleKind?: "brand" | "special" | undefined;
|
|
@@ -1234,7 +1234,7 @@ export declare const SCHEMAS: {
|
|
|
1234
1234
|
}, import("zod").ZodTypeAny, "passthrough"> | undefined;
|
|
1235
1235
|
featuredPriority?: number | undefined;
|
|
1236
1236
|
isBrand?: boolean | undefined;
|
|
1237
|
-
createdByType?: "
|
|
1237
|
+
createdByType?: "store" | "admin" | undefined;
|
|
1238
1238
|
createdByStoreId?: string | undefined;
|
|
1239
1239
|
itemCode?: string | undefined;
|
|
1240
1240
|
brandWebsite?: string | undefined;
|
|
@@ -1248,10 +1248,10 @@ export declare const SCHEMAS: {
|
|
|
1248
1248
|
} | {
|
|
1249
1249
|
type: "dynamic";
|
|
1250
1250
|
filter: {
|
|
1251
|
+
listingType?: "standard" | "pre-order" | "prize-draw" | undefined;
|
|
1251
1252
|
categorySlug?: string | undefined;
|
|
1252
1253
|
brandSlug?: string | undefined;
|
|
1253
1254
|
tags?: string[] | undefined;
|
|
1254
|
-
listingType?: "standard" | "pre-order" | "prize-draw" | undefined;
|
|
1255
1255
|
};
|
|
1256
1256
|
limit: number;
|
|
1257
1257
|
orderBy?: "price-asc" | "price-desc" | "createdAt-desc" | undefined;
|
|
@@ -1275,9 +1275,9 @@ export declare const SCHEMAS: {
|
|
|
1275
1275
|
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
1276
1276
|
}, import("zod").ZodTypeAny, "passthrough">;
|
|
1277
1277
|
slug: string;
|
|
1278
|
+
createdBy: string;
|
|
1278
1279
|
isActive: boolean;
|
|
1279
1280
|
order: number;
|
|
1280
|
-
createdBy: string;
|
|
1281
1281
|
isFeatured: boolean;
|
|
1282
1282
|
rootId: string;
|
|
1283
1283
|
tier: number;
|
|
@@ -1311,12 +1311,12 @@ export declare const SCHEMAS: {
|
|
|
1311
1311
|
name: string;
|
|
1312
1312
|
tier: number;
|
|
1313
1313
|
}[];
|
|
1314
|
+
brandSlug?: string | undefined;
|
|
1314
1315
|
faqs?: {
|
|
1315
1316
|
question: string;
|
|
1316
1317
|
answer: string;
|
|
1317
1318
|
}[] | undefined;
|
|
1318
1319
|
description?: string | undefined;
|
|
1319
|
-
brandSlug?: string | undefined;
|
|
1320
1320
|
showOnHomepage?: boolean | undefined;
|
|
1321
1321
|
categoryType?: "brand" | "category" | "sublisting" | "bundle" | undefined;
|
|
1322
1322
|
bundleKind?: "brand" | "special" | undefined;
|
|
@@ -1333,7 +1333,7 @@ export declare const SCHEMAS: {
|
|
|
1333
1333
|
}, import("zod").ZodTypeAny, "passthrough"> | undefined;
|
|
1334
1334
|
featuredPriority?: number | undefined;
|
|
1335
1335
|
isBrand?: boolean | undefined;
|
|
1336
|
-
createdByType?: "
|
|
1336
|
+
createdByType?: "store" | "admin" | undefined;
|
|
1337
1337
|
createdByStoreId?: string | undefined;
|
|
1338
1338
|
itemCode?: string | undefined;
|
|
1339
1339
|
brandWebsite?: string | undefined;
|
|
@@ -1347,10 +1347,10 @@ export declare const SCHEMAS: {
|
|
|
1347
1347
|
} | {
|
|
1348
1348
|
type: "dynamic";
|
|
1349
1349
|
filter: {
|
|
1350
|
+
listingType?: "standard" | "pre-order" | "prize-draw" | undefined;
|
|
1350
1351
|
categorySlug?: string | undefined;
|
|
1351
1352
|
brandSlug?: string | undefined;
|
|
1352
1353
|
tags?: string[] | undefined;
|
|
1353
|
-
listingType?: "standard" | "pre-order" | "prize-draw" | undefined;
|
|
1354
1354
|
};
|
|
1355
1355
|
limit: number;
|
|
1356
1356
|
orderBy?: "price-asc" | "price-desc" | "createdAt-desc" | undefined;
|
|
@@ -1406,7 +1406,7 @@ export declare const SCHEMAS: {
|
|
|
1406
1406
|
}>;
|
|
1407
1407
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1408
1408
|
type: "fixed" | "percentage" | "free_shipping" | "buy_x_get_y";
|
|
1409
|
-
scope: "
|
|
1409
|
+
scope: "admin" | "seller";
|
|
1410
1410
|
name: string;
|
|
1411
1411
|
discount: {
|
|
1412
1412
|
value: number;
|
|
@@ -1425,7 +1425,7 @@ export declare const SCHEMAS: {
|
|
|
1425
1425
|
description?: string | undefined;
|
|
1426
1426
|
}, {
|
|
1427
1427
|
type: "fixed" | "percentage" | "free_shipping" | "buy_x_get_y";
|
|
1428
|
-
scope: "
|
|
1428
|
+
scope: "admin" | "seller";
|
|
1429
1429
|
name: string;
|
|
1430
1430
|
discount: {
|
|
1431
1431
|
value: number;
|
|
@@ -1485,7 +1485,7 @@ export declare const SCHEMAS: {
|
|
|
1485
1485
|
couponId: string;
|
|
1486
1486
|
couponSnapshot: {
|
|
1487
1487
|
type: "fixed" | "percentage" | "free_shipping" | "buy_x_get_y";
|
|
1488
|
-
scope: "
|
|
1488
|
+
scope: "admin" | "seller";
|
|
1489
1489
|
name: string;
|
|
1490
1490
|
discount: {
|
|
1491
1491
|
value: number;
|
|
@@ -1525,7 +1525,7 @@ export declare const SCHEMAS: {
|
|
|
1525
1525
|
couponId: string;
|
|
1526
1526
|
couponSnapshot: {
|
|
1527
1527
|
type: "fixed" | "percentage" | "free_shipping" | "buy_x_get_y";
|
|
1528
|
-
scope: "
|
|
1528
|
+
scope: "admin" | "seller";
|
|
1529
1529
|
name: string;
|
|
1530
1530
|
discount: {
|
|
1531
1531
|
value: number;
|
|
@@ -1633,8 +1633,8 @@ export declare const SCHEMAS: {
|
|
|
1633
1633
|
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
1634
1634
|
}, import("zod").ZodTypeAny, "passthrough">;
|
|
1635
1635
|
storeId: string;
|
|
1636
|
-
buyerId: string;
|
|
1637
1636
|
storeName: string;
|
|
1637
|
+
buyerId: string;
|
|
1638
1638
|
lastMessageAt: string | Date | import("zod").objectOutputType<{
|
|
1639
1639
|
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
1640
1640
|
}, import("zod").ZodTypeAny, "passthrough">;
|
|
@@ -1666,8 +1666,8 @@ export declare const SCHEMAS: {
|
|
|
1666
1666
|
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
1667
1667
|
}, import("zod").ZodTypeAny, "passthrough">;
|
|
1668
1668
|
storeId: string;
|
|
1669
|
-
buyerId: string;
|
|
1670
1669
|
storeName: string;
|
|
1670
|
+
buyerId: string;
|
|
1671
1671
|
lastMessageAt: string | Date | import("zod").objectInputType<{
|
|
1672
1672
|
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
1673
1673
|
}, import("zod").ZodTypeAny, "passthrough">;
|
|
@@ -1838,7 +1838,7 @@ export declare const SCHEMAS: {
|
|
|
1838
1838
|
code: string;
|
|
1839
1839
|
type: "fixed" | "percentage" | "free_shipping" | "buy_x_get_y";
|
|
1840
1840
|
id: string;
|
|
1841
|
-
scope: "
|
|
1841
|
+
scope: "admin" | "seller";
|
|
1842
1842
|
name: string;
|
|
1843
1843
|
createdAt: string | Date | import("zod").objectOutputType<{
|
|
1844
1844
|
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
@@ -1846,8 +1846,8 @@ export declare const SCHEMAS: {
|
|
|
1846
1846
|
updatedAt: string | Date | import("zod").objectOutputType<{
|
|
1847
1847
|
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
1848
1848
|
}, import("zod").ZodTypeAny, "passthrough">;
|
|
1849
|
-
description: string;
|
|
1850
1849
|
createdBy: string;
|
|
1850
|
+
description: string;
|
|
1851
1851
|
stats: {
|
|
1852
1852
|
totalUses: number;
|
|
1853
1853
|
totalRevenue: number;
|
|
@@ -1896,7 +1896,7 @@ export declare const SCHEMAS: {
|
|
|
1896
1896
|
code: string;
|
|
1897
1897
|
type: "fixed" | "percentage" | "free_shipping" | "buy_x_get_y";
|
|
1898
1898
|
id: string;
|
|
1899
|
-
scope: "
|
|
1899
|
+
scope: "admin" | "seller";
|
|
1900
1900
|
name: string;
|
|
1901
1901
|
createdAt: string | Date | import("zod").objectInputType<{
|
|
1902
1902
|
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
@@ -1904,8 +1904,8 @@ export declare const SCHEMAS: {
|
|
|
1904
1904
|
updatedAt: string | Date | import("zod").objectInputType<{
|
|
1905
1905
|
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
1906
1906
|
}, import("zod").ZodTypeAny, "passthrough">;
|
|
1907
|
-
description: string;
|
|
1908
1907
|
createdBy: string;
|
|
1908
|
+
description: string;
|
|
1909
1909
|
stats: {
|
|
1910
1910
|
totalUses: number;
|
|
1911
1911
|
totalRevenue: number;
|
|
@@ -2071,10 +2071,11 @@ export declare const SCHEMAS: {
|
|
|
2071
2071
|
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
2072
2072
|
}, import("zod").ZodTypeAny, "passthrough">;
|
|
2073
2073
|
category: "orders_payment" | "shipping_delivery" | "returns_refunds" | "product_information" | "account_security" | "technical_support" | "general";
|
|
2074
|
+
createdBy: string;
|
|
2075
|
+
priority: number;
|
|
2074
2076
|
tags: string[];
|
|
2075
2077
|
isActive: boolean;
|
|
2076
2078
|
order: number;
|
|
2077
|
-
createdBy: string;
|
|
2078
2079
|
stats: {
|
|
2079
2080
|
views: number;
|
|
2080
2081
|
helpful: number;
|
|
@@ -2084,7 +2085,6 @@ export declare const SCHEMAS: {
|
|
|
2084
2085
|
}, import("zod").ZodTypeAny, "passthrough"> | undefined;
|
|
2085
2086
|
};
|
|
2086
2087
|
showOnHomepage: boolean;
|
|
2087
|
-
priority: number;
|
|
2088
2088
|
question: string;
|
|
2089
2089
|
answer: {
|
|
2090
2090
|
text: string;
|
|
@@ -2110,10 +2110,11 @@ export declare const SCHEMAS: {
|
|
|
2110
2110
|
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
2111
2111
|
}, import("zod").ZodTypeAny, "passthrough">;
|
|
2112
2112
|
category: "orders_payment" | "shipping_delivery" | "returns_refunds" | "product_information" | "account_security" | "technical_support" | "general";
|
|
2113
|
+
createdBy: string;
|
|
2114
|
+
priority: number;
|
|
2113
2115
|
tags: string[];
|
|
2114
2116
|
isActive: boolean;
|
|
2115
2117
|
order: number;
|
|
2116
|
-
createdBy: string;
|
|
2117
2118
|
stats: {
|
|
2118
2119
|
views: number;
|
|
2119
2120
|
helpful: number;
|
|
@@ -2123,7 +2124,6 @@ export declare const SCHEMAS: {
|
|
|
2123
2124
|
}, import("zod").ZodTypeAny, "passthrough"> | undefined;
|
|
2124
2125
|
};
|
|
2125
2126
|
showOnHomepage: boolean;
|
|
2126
|
-
priority: number;
|
|
2127
2127
|
question: string;
|
|
2128
2128
|
answer: {
|
|
2129
2129
|
text: string;
|
|
@@ -2182,8 +2182,8 @@ export declare const SCHEMAS: {
|
|
|
2182
2182
|
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
2183
2183
|
}, import("zod").ZodTypeAny, "passthrough">;
|
|
2184
2184
|
slug: string;
|
|
2185
|
-
isActive: boolean;
|
|
2186
2185
|
createdBy: string;
|
|
2186
|
+
isActive: boolean;
|
|
2187
2187
|
isFeatured: boolean;
|
|
2188
2188
|
productIds: string[];
|
|
2189
2189
|
groupTheme: "set" | "related" | "character" | "lineage" | "generic";
|
|
@@ -2191,9 +2191,9 @@ export declare const SCHEMAS: {
|
|
|
2191
2191
|
minActiveMembers: number;
|
|
2192
2192
|
activeMemberCount: number;
|
|
2193
2193
|
storeId?: string | undefined;
|
|
2194
|
-
description?: string | undefined;
|
|
2195
2194
|
categorySlug?: string | undefined;
|
|
2196
2195
|
brandSlug?: string | undefined;
|
|
2196
|
+
description?: string | undefined;
|
|
2197
2197
|
coverImage?: string | undefined;
|
|
2198
2198
|
}, {
|
|
2199
2199
|
id: string;
|
|
@@ -2205,8 +2205,8 @@ export declare const SCHEMAS: {
|
|
|
2205
2205
|
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
2206
2206
|
}, import("zod").ZodTypeAny, "passthrough">;
|
|
2207
2207
|
slug: string;
|
|
2208
|
-
isActive: boolean;
|
|
2209
2208
|
createdBy: string;
|
|
2209
|
+
isActive: boolean;
|
|
2210
2210
|
isFeatured: boolean;
|
|
2211
2211
|
productIds: string[];
|
|
2212
2212
|
groupTheme: "set" | "related" | "character" | "lineage" | "generic";
|
|
@@ -2214,9 +2214,9 @@ export declare const SCHEMAS: {
|
|
|
2214
2214
|
minActiveMembers: number;
|
|
2215
2215
|
activeMemberCount: number;
|
|
2216
2216
|
storeId?: string | undefined;
|
|
2217
|
-
description?: string | undefined;
|
|
2218
2217
|
categorySlug?: string | undefined;
|
|
2219
2218
|
brandSlug?: string | undefined;
|
|
2219
|
+
description?: string | undefined;
|
|
2220
2220
|
coverImage?: string | undefined;
|
|
2221
2221
|
}>;
|
|
2222
2222
|
readonly homepageSections: import("zod").ZodObject<{
|
|
@@ -2296,17 +2296,17 @@ export declare const SCHEMAS: {
|
|
|
2296
2296
|
listingType: import("zod").ZodOptional<import("zod").ZodEnum<["standard", "auction", "pre-order", "prize-draw", "classified", "digital-code", "live"]>>;
|
|
2297
2297
|
prizeRevealStatus: import("zod").ZodOptional<import("zod").ZodEnum<["pending", "open", "closed", "revealed"]>>;
|
|
2298
2298
|
}, "strip", import("zod").ZodTypeAny, {
|
|
2299
|
+
quantity: number;
|
|
2299
2300
|
productId: string;
|
|
2300
2301
|
productTitle: string;
|
|
2301
|
-
quantity: number;
|
|
2302
2302
|
unitPrice: number;
|
|
2303
2303
|
totalPrice: number;
|
|
2304
2304
|
listingType?: "classified" | "standard" | "auction" | "pre-order" | "prize-draw" | "digital-code" | "live" | undefined;
|
|
2305
2305
|
prizeRevealStatus?: "closed" | "open" | "pending" | "revealed" | undefined;
|
|
2306
2306
|
}, {
|
|
2307
|
+
quantity: number;
|
|
2307
2308
|
productId: string;
|
|
2308
2309
|
productTitle: string;
|
|
2309
|
-
quantity: number;
|
|
2310
2310
|
unitPrice: number;
|
|
2311
2311
|
totalPrice: number;
|
|
2312
2312
|
listingType?: "classified" | "standard" | "auction" | "pre-order" | "prize-draw" | "digital-code" | "live" | undefined;
|
|
@@ -2372,14 +2372,14 @@ export declare const SCHEMAS: {
|
|
|
2372
2372
|
code: string;
|
|
2373
2373
|
type: "auto" | "coupon" | "deal";
|
|
2374
2374
|
discountAmount: number;
|
|
2375
|
-
scope?: "
|
|
2375
|
+
scope?: "admin" | "seller" | undefined;
|
|
2376
2376
|
storeId?: string | undefined;
|
|
2377
2377
|
couponId?: string | undefined;
|
|
2378
2378
|
}, {
|
|
2379
2379
|
code: string;
|
|
2380
2380
|
type: "auto" | "coupon" | "deal";
|
|
2381
2381
|
discountAmount: number;
|
|
2382
|
-
scope?: "
|
|
2382
|
+
scope?: "admin" | "seller" | undefined;
|
|
2383
2383
|
storeId?: string | undefined;
|
|
2384
2384
|
couponId?: string | undefined;
|
|
2385
2385
|
}>, "many">>;
|
|
@@ -2593,11 +2593,11 @@ export declare const SCHEMAS: {
|
|
|
2593
2593
|
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
2594
2594
|
}, import("zod").ZodTypeAny, "passthrough">;
|
|
2595
2595
|
userId: string;
|
|
2596
|
+
quantity: number;
|
|
2596
2597
|
productId: string;
|
|
2597
2598
|
productTitle: string;
|
|
2598
2599
|
userName: string;
|
|
2599
2600
|
userEmail: string;
|
|
2600
|
-
quantity: number;
|
|
2601
2601
|
unitPrice: number;
|
|
2602
2602
|
totalPrice: number;
|
|
2603
2603
|
paymentStatus: "paid" | "failed" | "pending" | "processing" | "refunded" | "partial_refund";
|
|
@@ -2608,6 +2608,7 @@ export declare const SCHEMAS: {
|
|
|
2608
2608
|
platformFee?: number | undefined;
|
|
2609
2609
|
paymentMethod?: string | undefined;
|
|
2610
2610
|
notes?: string | undefined;
|
|
2611
|
+
storeName?: string | undefined;
|
|
2611
2612
|
prizeRevealMode?: "scheduled" | "instant" | undefined;
|
|
2612
2613
|
paymentId?: string | undefined;
|
|
2613
2614
|
shippingAddress?: string | undefined;
|
|
@@ -2633,9 +2634,9 @@ export declare const SCHEMAS: {
|
|
|
2633
2634
|
shippingCarrier?: string | undefined;
|
|
2634
2635
|
trackingUrl?: string | undefined;
|
|
2635
2636
|
items?: {
|
|
2637
|
+
quantity: number;
|
|
2636
2638
|
productId: string;
|
|
2637
2639
|
productTitle: string;
|
|
2638
|
-
quantity: number;
|
|
2639
2640
|
unitPrice: number;
|
|
2640
2641
|
totalPrice: number;
|
|
2641
2642
|
listingType?: "classified" | "standard" | "auction" | "pre-order" | "prize-draw" | "digital-code" | "live" | undefined;
|
|
@@ -2651,7 +2652,6 @@ export declare const SCHEMAS: {
|
|
|
2651
2652
|
}, import("zod").ZodTypeAny, "passthrough">;
|
|
2652
2653
|
} | undefined;
|
|
2653
2654
|
prizeDrawProductId?: string | undefined;
|
|
2654
|
-
storeName?: string | undefined;
|
|
2655
2655
|
couponCode?: string | undefined;
|
|
2656
2656
|
physicalLocation?: {
|
|
2657
2657
|
zone: string;
|
|
@@ -2668,7 +2668,7 @@ export declare const SCHEMAS: {
|
|
|
2668
2668
|
code: string;
|
|
2669
2669
|
type: "auto" | "coupon" | "deal";
|
|
2670
2670
|
discountAmount: number;
|
|
2671
|
-
scope?: "
|
|
2671
|
+
scope?: "admin" | "seller" | undefined;
|
|
2672
2672
|
storeId?: string | undefined;
|
|
2673
2673
|
couponId?: string | undefined;
|
|
2674
2674
|
}[] | undefined;
|
|
@@ -2741,11 +2741,11 @@ export declare const SCHEMAS: {
|
|
|
2741
2741
|
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
2742
2742
|
}, import("zod").ZodTypeAny, "passthrough">;
|
|
2743
2743
|
userId: string;
|
|
2744
|
+
quantity: number;
|
|
2744
2745
|
productId: string;
|
|
2745
2746
|
productTitle: string;
|
|
2746
2747
|
userName: string;
|
|
2747
2748
|
userEmail: string;
|
|
2748
|
-
quantity: number;
|
|
2749
2749
|
unitPrice: number;
|
|
2750
2750
|
totalPrice: number;
|
|
2751
2751
|
paymentStatus: "paid" | "failed" | "pending" | "processing" | "refunded" | "partial_refund";
|
|
@@ -2756,6 +2756,7 @@ export declare const SCHEMAS: {
|
|
|
2756
2756
|
platformFee?: number | undefined;
|
|
2757
2757
|
paymentMethod?: string | undefined;
|
|
2758
2758
|
notes?: string | undefined;
|
|
2759
|
+
storeName?: string | undefined;
|
|
2759
2760
|
prizeRevealMode?: "scheduled" | "instant" | undefined;
|
|
2760
2761
|
paymentId?: string | undefined;
|
|
2761
2762
|
shippingAddress?: string | undefined;
|
|
@@ -2781,9 +2782,9 @@ export declare const SCHEMAS: {
|
|
|
2781
2782
|
shippingCarrier?: string | undefined;
|
|
2782
2783
|
trackingUrl?: string | undefined;
|
|
2783
2784
|
items?: {
|
|
2785
|
+
quantity: number;
|
|
2784
2786
|
productId: string;
|
|
2785
2787
|
productTitle: string;
|
|
2786
|
-
quantity: number;
|
|
2787
2788
|
unitPrice: number;
|
|
2788
2789
|
totalPrice: number;
|
|
2789
2790
|
listingType?: "classified" | "standard" | "auction" | "pre-order" | "prize-draw" | "digital-code" | "live" | undefined;
|
|
@@ -2799,7 +2800,6 @@ export declare const SCHEMAS: {
|
|
|
2799
2800
|
}, import("zod").ZodTypeAny, "passthrough">;
|
|
2800
2801
|
} | undefined;
|
|
2801
2802
|
prizeDrawProductId?: string | undefined;
|
|
2802
|
-
storeName?: string | undefined;
|
|
2803
2803
|
couponCode?: string | undefined;
|
|
2804
2804
|
physicalLocation?: {
|
|
2805
2805
|
zone: string;
|
|
@@ -2816,7 +2816,7 @@ export declare const SCHEMAS: {
|
|
|
2816
2816
|
code: string;
|
|
2817
2817
|
type: "auto" | "coupon" | "deal";
|
|
2818
2818
|
discountAmount: number;
|
|
2819
|
-
scope?: "
|
|
2819
|
+
scope?: "admin" | "seller" | undefined;
|
|
2820
2820
|
storeId?: string | undefined;
|
|
2821
2821
|
couponId?: string | undefined;
|
|
2822
2822
|
}[] | undefined;
|
|
@@ -3169,11 +3169,11 @@ export declare const SCHEMAS: {
|
|
|
3169
3169
|
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
3170
3170
|
}, import("zod").ZodTypeAny, "passthrough">;
|
|
3171
3171
|
userId: string;
|
|
3172
|
+
rating: number;
|
|
3172
3173
|
verified: boolean;
|
|
3173
3174
|
productId: string;
|
|
3174
3175
|
productTitle: string;
|
|
3175
3176
|
userName: string;
|
|
3176
|
-
rating: number;
|
|
3177
3177
|
comment: string;
|
|
3178
3178
|
helpfulCount: number;
|
|
3179
3179
|
reportCount: number;
|
|
@@ -3185,9 +3185,10 @@ export declare const SCHEMAS: {
|
|
|
3185
3185
|
trimStart?: number | undefined;
|
|
3186
3186
|
} | undefined;
|
|
3187
3187
|
storeId?: string | undefined;
|
|
3188
|
+
listingType?: string | undefined;
|
|
3189
|
+
storeName?: string | undefined;
|
|
3188
3190
|
images?: string[] | undefined;
|
|
3189
3191
|
featured?: boolean | undefined;
|
|
3190
|
-
listingType?: string | undefined;
|
|
3191
3192
|
userAvatar?: string | undefined;
|
|
3192
3193
|
moderatorId?: string | undefined;
|
|
3193
3194
|
moderatorNote?: string | undefined;
|
|
@@ -3198,7 +3199,6 @@ export declare const SCHEMAS: {
|
|
|
3198
3199
|
rejectedAt?: string | Date | import("zod").objectOutputType<{
|
|
3199
3200
|
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
3200
3201
|
}, import("zod").ZodTypeAny, "passthrough"> | undefined;
|
|
3201
|
-
storeName?: string | undefined;
|
|
3202
3202
|
userSlug?: string | undefined;
|
|
3203
3203
|
hasImages?: boolean | undefined;
|
|
3204
3204
|
isAnonymous?: boolean | undefined;
|
|
@@ -3217,11 +3217,11 @@ export declare const SCHEMAS: {
|
|
|
3217
3217
|
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
3218
3218
|
}, import("zod").ZodTypeAny, "passthrough">;
|
|
3219
3219
|
userId: string;
|
|
3220
|
+
rating: number;
|
|
3220
3221
|
verified: boolean;
|
|
3221
3222
|
productId: string;
|
|
3222
3223
|
productTitle: string;
|
|
3223
3224
|
userName: string;
|
|
3224
|
-
rating: number;
|
|
3225
3225
|
comment: string;
|
|
3226
3226
|
helpfulCount: number;
|
|
3227
3227
|
reportCount: number;
|
|
@@ -3233,9 +3233,10 @@ export declare const SCHEMAS: {
|
|
|
3233
3233
|
trimStart?: number | undefined;
|
|
3234
3234
|
} | undefined;
|
|
3235
3235
|
storeId?: string | undefined;
|
|
3236
|
+
listingType?: string | undefined;
|
|
3237
|
+
storeName?: string | undefined;
|
|
3236
3238
|
images?: string[] | undefined;
|
|
3237
3239
|
featured?: boolean | undefined;
|
|
3238
|
-
listingType?: string | undefined;
|
|
3239
3240
|
userAvatar?: string | undefined;
|
|
3240
3241
|
moderatorId?: string | undefined;
|
|
3241
3242
|
moderatorNote?: string | undefined;
|
|
@@ -3246,7 +3247,6 @@ export declare const SCHEMAS: {
|
|
|
3246
3247
|
rejectedAt?: string | Date | import("zod").objectInputType<{
|
|
3247
3248
|
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
3248
3249
|
}, import("zod").ZodTypeAny, "passthrough"> | undefined;
|
|
3249
|
-
storeName?: string | undefined;
|
|
3250
3250
|
userSlug?: string | undefined;
|
|
3251
3251
|
hasImages?: boolean | undefined;
|
|
3252
3252
|
isAnonymous?: boolean | undefined;
|
|
@@ -3324,9 +3324,9 @@ export declare const SCHEMAS: {
|
|
|
3324
3324
|
updatedAt: string | Date | import("zod").objectOutputType<{
|
|
3325
3325
|
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
3326
3326
|
}, import("zod").ZodTypeAny, "passthrough">;
|
|
3327
|
+
views: number;
|
|
3327
3328
|
description: string;
|
|
3328
3329
|
tags: string[];
|
|
3329
|
-
views: number;
|
|
3330
3330
|
scamType: string;
|
|
3331
3331
|
reportedBy: string;
|
|
3332
3332
|
reportedByAnon: boolean;
|
|
@@ -3364,9 +3364,9 @@ export declare const SCHEMAS: {
|
|
|
3364
3364
|
updatedAt: string | Date | import("zod").objectInputType<{
|
|
3365
3365
|
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
3366
3366
|
}, import("zod").ZodTypeAny, "passthrough">;
|
|
3367
|
+
views: number;
|
|
3367
3368
|
description: string;
|
|
3368
3369
|
tags: string[];
|
|
3369
|
-
views: number;
|
|
3370
3370
|
scamType: string;
|
|
3371
3371
|
reportedBy: string;
|
|
3372
3372
|
reportedByAnon: boolean;
|
|
@@ -3903,8 +3903,8 @@ export declare const SCHEMAS: {
|
|
|
3903
3903
|
updatedAt: string | Date | import("zod").objectOutputType<{
|
|
3904
3904
|
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
3905
3905
|
}, import("zod").ZodTypeAny, "passthrough">;
|
|
3906
|
-
ownerId: string;
|
|
3907
3906
|
storeName: string;
|
|
3907
|
+
ownerId: string;
|
|
3908
3908
|
storeSlug: string;
|
|
3909
3909
|
isPublic: boolean;
|
|
3910
3910
|
location?: string | undefined;
|
|
@@ -3988,8 +3988,8 @@ export declare const SCHEMAS: {
|
|
|
3988
3988
|
updatedAt: string | Date | import("zod").objectInputType<{
|
|
3989
3989
|
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
3990
3990
|
}, import("zod").ZodTypeAny, "passthrough">;
|
|
3991
|
-
ownerId: string;
|
|
3992
3991
|
storeName: string;
|
|
3992
|
+
ownerId: string;
|
|
3993
3993
|
storeSlug: string;
|
|
3994
3994
|
isPublic: boolean;
|
|
3995
3995
|
location?: string | undefined;
|
|
@@ -4168,12 +4168,12 @@ export declare const SCHEMAS: {
|
|
|
4168
4168
|
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
4169
4169
|
}, import("zod").ZodTypeAny, "passthrough">;
|
|
4170
4170
|
userId: string;
|
|
4171
|
-
description: string;
|
|
4172
4171
|
category: "general" | "account" | "order_issue" | "billing_payment" | "listing_dispute" | "scam_report" | "refund_request" | "auction_dispute" | "store_change_request" | "order_modification_request" | "unban_request";
|
|
4172
|
+
priority: "normal" | "high" | "low" | "urgent";
|
|
4173
|
+
description: string;
|
|
4173
4174
|
userEmail: string;
|
|
4174
4175
|
userDisplayName: string;
|
|
4175
4176
|
subject: string;
|
|
4176
|
-
priority: "normal" | "high" | "low" | "urgent";
|
|
4177
4177
|
messages: {
|
|
4178
4178
|
id: string;
|
|
4179
4179
|
body: string;
|
|
@@ -4211,12 +4211,12 @@ export declare const SCHEMAS: {
|
|
|
4211
4211
|
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
4212
4212
|
}, import("zod").ZodTypeAny, "passthrough">;
|
|
4213
4213
|
userId: string;
|
|
4214
|
-
description: string;
|
|
4215
4214
|
category: "general" | "account" | "order_issue" | "billing_payment" | "listing_dispute" | "scam_report" | "refund_request" | "auction_dispute" | "store_change_request" | "order_modification_request" | "unban_request";
|
|
4215
|
+
priority: "normal" | "high" | "low" | "urgent";
|
|
4216
|
+
description: string;
|
|
4216
4217
|
userEmail: string;
|
|
4217
4218
|
userDisplayName: string;
|
|
4218
4219
|
subject: string;
|
|
4219
|
-
priority: "normal" | "high" | "low" | "urgent";
|
|
4220
4220
|
messages: {
|
|
4221
4221
|
id: string;
|
|
4222
4222
|
body: string;
|
|
@@ -4254,7 +4254,632 @@ export declare const SCHEMAS: {
|
|
|
4254
4254
|
readonly "POST /api/media/finalize": import("./types").ApiRouteSchema<import("zod").ZodTypeAny, import("zod").ZodTypeAny, import("zod").ZodTypeAny, import("zod").ZodTypeAny>;
|
|
4255
4255
|
readonly "GET /api/search/suggestions": import("./types").ApiRouteSchema<import("zod").ZodTypeAny, import("zod").ZodTypeAny, import("zod").ZodTypeAny, import("zod").ZodTypeAny>;
|
|
4256
4256
|
};
|
|
4257
|
-
readonly forms: {
|
|
4257
|
+
readonly forms: {
|
|
4258
|
+
readonly blog: import("zod").ZodObject<{
|
|
4259
|
+
title: import("zod").ZodString;
|
|
4260
|
+
slug: import("zod").ZodString;
|
|
4261
|
+
excerpt: import("zod").ZodString;
|
|
4262
|
+
content: import("zod").ZodString;
|
|
4263
|
+
coverImage: import("zod").ZodString;
|
|
4264
|
+
youtubeId: import("zod").ZodString;
|
|
4265
|
+
category: import("zod").ZodEnum<["news", "tips", "guides", "updates", "community"]>;
|
|
4266
|
+
tags: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
4267
|
+
metaTitle: import("zod").ZodString;
|
|
4268
|
+
metaDescription: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodLiteral<"">]>;
|
|
4269
|
+
status: import("zod").ZodEnum<["draft", "published", "archived"]>;
|
|
4270
|
+
publishedAt: import("zod").ZodString;
|
|
4271
|
+
authorName: import("zod").ZodString;
|
|
4272
|
+
isFeatured: import("zod").ZodBoolean;
|
|
4273
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
4274
|
+
status: "draft" | "published" | "archived";
|
|
4275
|
+
title: string;
|
|
4276
|
+
content: string;
|
|
4277
|
+
category: "news" | "tips" | "guides" | "updates" | "community";
|
|
4278
|
+
publishedAt: string;
|
|
4279
|
+
slug: string;
|
|
4280
|
+
youtubeId: string;
|
|
4281
|
+
tags: string[];
|
|
4282
|
+
isFeatured: boolean;
|
|
4283
|
+
excerpt: string;
|
|
4284
|
+
coverImage: string;
|
|
4285
|
+
authorName: string;
|
|
4286
|
+
metaTitle: string;
|
|
4287
|
+
metaDescription: string;
|
|
4288
|
+
}, {
|
|
4289
|
+
status: "draft" | "published" | "archived";
|
|
4290
|
+
title: string;
|
|
4291
|
+
content: string;
|
|
4292
|
+
category: "news" | "tips" | "guides" | "updates" | "community";
|
|
4293
|
+
publishedAt: string;
|
|
4294
|
+
slug: string;
|
|
4295
|
+
youtubeId: string;
|
|
4296
|
+
tags: string[];
|
|
4297
|
+
isFeatured: boolean;
|
|
4298
|
+
excerpt: string;
|
|
4299
|
+
coverImage: string;
|
|
4300
|
+
authorName: string;
|
|
4301
|
+
metaTitle: string;
|
|
4302
|
+
metaDescription: string;
|
|
4303
|
+
}>;
|
|
4304
|
+
readonly event: import("zod").ZodEffects<import("zod").ZodObject<{
|
|
4305
|
+
type: import("zod").ZodString;
|
|
4306
|
+
title: import("zod").ZodString;
|
|
4307
|
+
startsAt: import("zod").ZodString;
|
|
4308
|
+
endsAt: import("zod").ZodString;
|
|
4309
|
+
couponId: import("zod").ZodString;
|
|
4310
|
+
displayCode: import("zod").ZodString;
|
|
4311
|
+
pollOptions: import("zod").ZodArray<import("zod").ZodObject<{
|
|
4312
|
+
id: import("zod").ZodString;
|
|
4313
|
+
label: import("zod").ZodString;
|
|
4314
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
4315
|
+
id: string;
|
|
4316
|
+
label: string;
|
|
4317
|
+
}, {
|
|
4318
|
+
id: string;
|
|
4319
|
+
label: string;
|
|
4320
|
+
}>, "many">;
|
|
4321
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
4322
|
+
type: import("zod").ZodString;
|
|
4323
|
+
title: import("zod").ZodString;
|
|
4324
|
+
startsAt: import("zod").ZodString;
|
|
4325
|
+
endsAt: import("zod").ZodString;
|
|
4326
|
+
couponId: import("zod").ZodString;
|
|
4327
|
+
displayCode: import("zod").ZodString;
|
|
4328
|
+
pollOptions: import("zod").ZodArray<import("zod").ZodObject<{
|
|
4329
|
+
id: import("zod").ZodString;
|
|
4330
|
+
label: import("zod").ZodString;
|
|
4331
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
4332
|
+
id: string;
|
|
4333
|
+
label: string;
|
|
4334
|
+
}, {
|
|
4335
|
+
id: string;
|
|
4336
|
+
label: string;
|
|
4337
|
+
}>, "many">;
|
|
4338
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
4339
|
+
type: import("zod").ZodString;
|
|
4340
|
+
title: import("zod").ZodString;
|
|
4341
|
+
startsAt: import("zod").ZodString;
|
|
4342
|
+
endsAt: import("zod").ZodString;
|
|
4343
|
+
couponId: import("zod").ZodString;
|
|
4344
|
+
displayCode: import("zod").ZodString;
|
|
4345
|
+
pollOptions: import("zod").ZodArray<import("zod").ZodObject<{
|
|
4346
|
+
id: import("zod").ZodString;
|
|
4347
|
+
label: import("zod").ZodString;
|
|
4348
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
4349
|
+
id: string;
|
|
4350
|
+
label: string;
|
|
4351
|
+
}, {
|
|
4352
|
+
id: string;
|
|
4353
|
+
label: string;
|
|
4354
|
+
}>, "many">;
|
|
4355
|
+
}, import("zod").ZodTypeAny, "passthrough">>, import("zod").objectOutputType<{
|
|
4356
|
+
type: import("zod").ZodString;
|
|
4357
|
+
title: import("zod").ZodString;
|
|
4358
|
+
startsAt: import("zod").ZodString;
|
|
4359
|
+
endsAt: import("zod").ZodString;
|
|
4360
|
+
couponId: import("zod").ZodString;
|
|
4361
|
+
displayCode: import("zod").ZodString;
|
|
4362
|
+
pollOptions: import("zod").ZodArray<import("zod").ZodObject<{
|
|
4363
|
+
id: import("zod").ZodString;
|
|
4364
|
+
label: import("zod").ZodString;
|
|
4365
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
4366
|
+
id: string;
|
|
4367
|
+
label: string;
|
|
4368
|
+
}, {
|
|
4369
|
+
id: string;
|
|
4370
|
+
label: string;
|
|
4371
|
+
}>, "many">;
|
|
4372
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
4373
|
+
type: import("zod").ZodString;
|
|
4374
|
+
title: import("zod").ZodString;
|
|
4375
|
+
startsAt: import("zod").ZodString;
|
|
4376
|
+
endsAt: import("zod").ZodString;
|
|
4377
|
+
couponId: import("zod").ZodString;
|
|
4378
|
+
displayCode: import("zod").ZodString;
|
|
4379
|
+
pollOptions: import("zod").ZodArray<import("zod").ZodObject<{
|
|
4380
|
+
id: import("zod").ZodString;
|
|
4381
|
+
label: import("zod").ZodString;
|
|
4382
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
4383
|
+
id: string;
|
|
4384
|
+
label: string;
|
|
4385
|
+
}, {
|
|
4386
|
+
id: string;
|
|
4387
|
+
label: string;
|
|
4388
|
+
}>, "many">;
|
|
4389
|
+
}, import("zod").ZodTypeAny, "passthrough">>;
|
|
4390
|
+
readonly productFeature: import("zod").ZodEffects<import("zod").ZodObject<{
|
|
4391
|
+
label: import("zod").ZodString;
|
|
4392
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4393
|
+
icon: import("zod").ZodString;
|
|
4394
|
+
iconColor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4395
|
+
category: import("zod").ZodEnum<["shipping", "seller", "condition", "platform", "auction", "preorder", "custom"]>;
|
|
4396
|
+
scope: import("zod").ZodEnum<["platform", "store"]>;
|
|
4397
|
+
productTypes: import("zod").ZodArray<import("zod").ZodEnum<["product", "auction", "preorder", "prize-draw", "classified", "digital-code", "live", "all"]>, "many">;
|
|
4398
|
+
storeId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4399
|
+
isActive: import("zod").ZodBoolean;
|
|
4400
|
+
displayOrder: import("zod").ZodNumber;
|
|
4401
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
4402
|
+
label: string;
|
|
4403
|
+
scope: "store" | "platform";
|
|
4404
|
+
icon: string;
|
|
4405
|
+
category: "shipping" | "custom" | "seller" | "condition" | "auction" | "platform" | "preorder";
|
|
4406
|
+
isActive: boolean;
|
|
4407
|
+
displayOrder: number;
|
|
4408
|
+
productTypes: ("all" | "classified" | "auction" | "prize-draw" | "digital-code" | "live" | "product" | "preorder")[];
|
|
4409
|
+
storeId?: string | undefined;
|
|
4410
|
+
description?: string | undefined;
|
|
4411
|
+
iconColor?: string | undefined;
|
|
4412
|
+
}, {
|
|
4413
|
+
label: string;
|
|
4414
|
+
scope: "store" | "platform";
|
|
4415
|
+
icon: string;
|
|
4416
|
+
category: "shipping" | "custom" | "seller" | "condition" | "auction" | "platform" | "preorder";
|
|
4417
|
+
isActive: boolean;
|
|
4418
|
+
displayOrder: number;
|
|
4419
|
+
productTypes: ("all" | "classified" | "auction" | "prize-draw" | "digital-code" | "live" | "product" | "preorder")[];
|
|
4420
|
+
storeId?: string | undefined;
|
|
4421
|
+
description?: string | undefined;
|
|
4422
|
+
iconColor?: string | undefined;
|
|
4423
|
+
}>, {
|
|
4424
|
+
label: string;
|
|
4425
|
+
scope: "store" | "platform";
|
|
4426
|
+
icon: string;
|
|
4427
|
+
category: "shipping" | "custom" | "seller" | "condition" | "auction" | "platform" | "preorder";
|
|
4428
|
+
isActive: boolean;
|
|
4429
|
+
displayOrder: number;
|
|
4430
|
+
productTypes: ("all" | "classified" | "auction" | "prize-draw" | "digital-code" | "live" | "product" | "preorder")[];
|
|
4431
|
+
storeId?: string | undefined;
|
|
4432
|
+
description?: string | undefined;
|
|
4433
|
+
iconColor?: string | undefined;
|
|
4434
|
+
}, {
|
|
4435
|
+
label: string;
|
|
4436
|
+
scope: "store" | "platform";
|
|
4437
|
+
icon: string;
|
|
4438
|
+
category: "shipping" | "custom" | "seller" | "condition" | "auction" | "platform" | "preorder";
|
|
4439
|
+
isActive: boolean;
|
|
4440
|
+
displayOrder: number;
|
|
4441
|
+
productTypes: ("all" | "classified" | "auction" | "prize-draw" | "digital-code" | "live" | "product" | "preorder")[];
|
|
4442
|
+
storeId?: string | undefined;
|
|
4443
|
+
description?: string | undefined;
|
|
4444
|
+
iconColor?: string | undefined;
|
|
4445
|
+
}>;
|
|
4446
|
+
readonly storeCategory: import("zod").ZodObject<{
|
|
4447
|
+
label: import("zod").ZodString;
|
|
4448
|
+
slug: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4449
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4450
|
+
coverImageUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4451
|
+
displayOrder: import("zod").ZodNumber;
|
|
4452
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
4453
|
+
label: string;
|
|
4454
|
+
displayOrder: number;
|
|
4455
|
+
slug?: string | undefined;
|
|
4456
|
+
description?: string | undefined;
|
|
4457
|
+
coverImageUrl?: string | undefined;
|
|
4458
|
+
}, {
|
|
4459
|
+
label: string;
|
|
4460
|
+
displayOrder: number;
|
|
4461
|
+
slug?: string | undefined;
|
|
4462
|
+
description?: string | undefined;
|
|
4463
|
+
coverImageUrl?: string | undefined;
|
|
4464
|
+
}>;
|
|
4465
|
+
readonly listingTemplate: import("zod").ZodObject<{
|
|
4466
|
+
name: import("zod").ZodString;
|
|
4467
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4468
|
+
listingType: import("zod").ZodEnum<["standard", "auction", "pre-order", "prize-draw", "bundle", "classified", "digital-code", "live", "art", "stickers"]>;
|
|
4469
|
+
defaults: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodType<import("./types").FirestoreValue, import("zod").ZodTypeDef, import("./types").FirestoreValue>>;
|
|
4470
|
+
isShared: import("zod").ZodBoolean;
|
|
4471
|
+
isActive: import("zod").ZodBoolean;
|
|
4472
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
4473
|
+
name: string;
|
|
4474
|
+
listingType: "art" | "stickers" | "classified" | "standard" | "auction" | "pre-order" | "prize-draw" | "digital-code" | "live" | "bundle";
|
|
4475
|
+
isActive: boolean;
|
|
4476
|
+
isShared: boolean;
|
|
4477
|
+
defaults: Record<string, import("./types").FirestoreValue>;
|
|
4478
|
+
description?: string | undefined;
|
|
4479
|
+
}, {
|
|
4480
|
+
name: string;
|
|
4481
|
+
listingType: "art" | "stickers" | "classified" | "standard" | "auction" | "pre-order" | "prize-draw" | "digital-code" | "live" | "bundle";
|
|
4482
|
+
isActive: boolean;
|
|
4483
|
+
isShared: boolean;
|
|
4484
|
+
defaults: Record<string, import("./types").FirestoreValue>;
|
|
4485
|
+
description?: string | undefined;
|
|
4486
|
+
}>;
|
|
4487
|
+
readonly payoutMethod: import("zod").ZodEffects<import("zod").ZodObject<{
|
|
4488
|
+
type: import("zod").ZodEnum<["upi", "bank", "card", "other"]>;
|
|
4489
|
+
label: import("zod").ZodString;
|
|
4490
|
+
upiVpa: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4491
|
+
accountHolderName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4492
|
+
accountNumber: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4493
|
+
ifscCode: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4494
|
+
bankName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4495
|
+
isDefault: import("zod").ZodBoolean;
|
|
4496
|
+
isActive: import("zod").ZodBoolean;
|
|
4497
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
4498
|
+
type: "card" | "other" | "upi" | "bank";
|
|
4499
|
+
label: string;
|
|
4500
|
+
isDefault: boolean;
|
|
4501
|
+
isActive: boolean;
|
|
4502
|
+
accountHolderName?: string | undefined;
|
|
4503
|
+
ifscCode?: string | undefined;
|
|
4504
|
+
bankName?: string | undefined;
|
|
4505
|
+
accountNumber?: string | undefined;
|
|
4506
|
+
upiVpa?: string | undefined;
|
|
4507
|
+
}, {
|
|
4508
|
+
type: "card" | "other" | "upi" | "bank";
|
|
4509
|
+
label: string;
|
|
4510
|
+
isDefault: boolean;
|
|
4511
|
+
isActive: boolean;
|
|
4512
|
+
accountHolderName?: string | undefined;
|
|
4513
|
+
ifscCode?: string | undefined;
|
|
4514
|
+
bankName?: string | undefined;
|
|
4515
|
+
accountNumber?: string | undefined;
|
|
4516
|
+
upiVpa?: string | undefined;
|
|
4517
|
+
}>, {
|
|
4518
|
+
type: "card" | "other" | "upi" | "bank";
|
|
4519
|
+
label: string;
|
|
4520
|
+
isDefault: boolean;
|
|
4521
|
+
isActive: boolean;
|
|
4522
|
+
accountHolderName?: string | undefined;
|
|
4523
|
+
ifscCode?: string | undefined;
|
|
4524
|
+
bankName?: string | undefined;
|
|
4525
|
+
accountNumber?: string | undefined;
|
|
4526
|
+
upiVpa?: string | undefined;
|
|
4527
|
+
}, {
|
|
4528
|
+
type: "card" | "other" | "upi" | "bank";
|
|
4529
|
+
label: string;
|
|
4530
|
+
isDefault: boolean;
|
|
4531
|
+
isActive: boolean;
|
|
4532
|
+
accountHolderName?: string | undefined;
|
|
4533
|
+
ifscCode?: string | undefined;
|
|
4534
|
+
bankName?: string | undefined;
|
|
4535
|
+
accountNumber?: string | undefined;
|
|
4536
|
+
upiVpa?: string | undefined;
|
|
4537
|
+
}>;
|
|
4538
|
+
readonly shippingConfig: import("zod").ZodEffects<import("zod").ZodObject<{
|
|
4539
|
+
label: import("zod").ZodString;
|
|
4540
|
+
method: import("zod").ZodEnum<["free", "flat", "weight", "express", "pickup", "custom"]>;
|
|
4541
|
+
flatRate: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
4542
|
+
pricePerKg: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
4543
|
+
freeAbove: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
4544
|
+
expressSurcharge: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
4545
|
+
estimatedDays: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
4546
|
+
isDefault: import("zod").ZodBoolean;
|
|
4547
|
+
isActive: import("zod").ZodBoolean;
|
|
4548
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
4549
|
+
label: string;
|
|
4550
|
+
isDefault: boolean;
|
|
4551
|
+
isActive: boolean;
|
|
4552
|
+
method: "flat" | "weight" | "custom" | "free" | "express" | "pickup";
|
|
4553
|
+
estimatedDays?: number | undefined;
|
|
4554
|
+
freeAbove?: number | undefined;
|
|
4555
|
+
flatRate?: number | undefined;
|
|
4556
|
+
pricePerKg?: number | undefined;
|
|
4557
|
+
expressSurcharge?: number | undefined;
|
|
4558
|
+
}, {
|
|
4559
|
+
label: string;
|
|
4560
|
+
isDefault: boolean;
|
|
4561
|
+
isActive: boolean;
|
|
4562
|
+
method: "flat" | "weight" | "custom" | "free" | "express" | "pickup";
|
|
4563
|
+
estimatedDays?: number | undefined;
|
|
4564
|
+
freeAbove?: number | undefined;
|
|
4565
|
+
flatRate?: number | undefined;
|
|
4566
|
+
pricePerKg?: number | undefined;
|
|
4567
|
+
expressSurcharge?: number | undefined;
|
|
4568
|
+
}>, {
|
|
4569
|
+
label: string;
|
|
4570
|
+
isDefault: boolean;
|
|
4571
|
+
isActive: boolean;
|
|
4572
|
+
method: "flat" | "weight" | "custom" | "free" | "express" | "pickup";
|
|
4573
|
+
estimatedDays?: number | undefined;
|
|
4574
|
+
freeAbove?: number | undefined;
|
|
4575
|
+
flatRate?: number | undefined;
|
|
4576
|
+
pricePerKg?: number | undefined;
|
|
4577
|
+
expressSurcharge?: number | undefined;
|
|
4578
|
+
}, {
|
|
4579
|
+
label: string;
|
|
4580
|
+
isDefault: boolean;
|
|
4581
|
+
isActive: boolean;
|
|
4582
|
+
method: "flat" | "weight" | "custom" | "free" | "express" | "pickup";
|
|
4583
|
+
estimatedDays?: number | undefined;
|
|
4584
|
+
freeAbove?: number | undefined;
|
|
4585
|
+
flatRate?: number | undefined;
|
|
4586
|
+
pricePerKg?: number | undefined;
|
|
4587
|
+
expressSurcharge?: number | undefined;
|
|
4588
|
+
}>;
|
|
4589
|
+
readonly groupedListing: import("zod").ZodObject<{
|
|
4590
|
+
title: import("zod").ZodString;
|
|
4591
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4592
|
+
groupTheme: import("zod").ZodEnum<["related", "character", "lineage", "set", "generic"]>;
|
|
4593
|
+
productIds: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
4594
|
+
minActiveMembers: import("zod").ZodNumber;
|
|
4595
|
+
coverImage: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4596
|
+
isActive: import("zod").ZodBoolean;
|
|
4597
|
+
isFeatured: import("zod").ZodBoolean;
|
|
4598
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
4599
|
+
title: string;
|
|
4600
|
+
isActive: boolean;
|
|
4601
|
+
isFeatured: boolean;
|
|
4602
|
+
productIds: string[];
|
|
4603
|
+
groupTheme: "set" | "related" | "character" | "lineage" | "generic";
|
|
4604
|
+
minActiveMembers: number;
|
|
4605
|
+
description?: string | undefined;
|
|
4606
|
+
coverImage?: string | undefined;
|
|
4607
|
+
}, {
|
|
4608
|
+
title: string;
|
|
4609
|
+
isActive: boolean;
|
|
4610
|
+
isFeatured: boolean;
|
|
4611
|
+
productIds: string[];
|
|
4612
|
+
groupTheme: "set" | "related" | "character" | "lineage" | "generic";
|
|
4613
|
+
minActiveMembers: number;
|
|
4614
|
+
description?: string | undefined;
|
|
4615
|
+
coverImage?: string | undefined;
|
|
4616
|
+
}>;
|
|
4617
|
+
readonly sellerCoupon: import("zod").ZodEffects<import("zod").ZodObject<{
|
|
4618
|
+
code: import("zod").ZodString;
|
|
4619
|
+
type: import("zod").ZodEnum<["percentage", "fixed", "free_shipping"]>;
|
|
4620
|
+
value: import("zod").ZodEffects<import("zod").ZodString, string, string>;
|
|
4621
|
+
minPurchase: import("zod").ZodEffects<import("zod").ZodString, string, string>;
|
|
4622
|
+
maxDiscount: import("zod").ZodEffects<import("zod").ZodString, string, string>;
|
|
4623
|
+
totalLimit: import("zod").ZodEffects<import("zod").ZodString, string, string>;
|
|
4624
|
+
perUserLimit: import("zod").ZodEffects<import("zod").ZodString, string, string>;
|
|
4625
|
+
startDate: import("zod").ZodString;
|
|
4626
|
+
endDate: import("zod").ZodString;
|
|
4627
|
+
isActive: import("zod").ZodBoolean;
|
|
4628
|
+
applicableProducts: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
4629
|
+
applicableCategories: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
4630
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
4631
|
+
value: string;
|
|
4632
|
+
code: string;
|
|
4633
|
+
type: "fixed" | "percentage" | "free_shipping";
|
|
4634
|
+
isActive: boolean;
|
|
4635
|
+
endDate: string;
|
|
4636
|
+
maxDiscount: string;
|
|
4637
|
+
minPurchase: string;
|
|
4638
|
+
applicableProducts: string[];
|
|
4639
|
+
applicableCategories: string[];
|
|
4640
|
+
totalLimit: string;
|
|
4641
|
+
perUserLimit: string;
|
|
4642
|
+
startDate: string;
|
|
4643
|
+
}, {
|
|
4644
|
+
value: string;
|
|
4645
|
+
code: string;
|
|
4646
|
+
type: "fixed" | "percentage" | "free_shipping";
|
|
4647
|
+
isActive: boolean;
|
|
4648
|
+
endDate: string;
|
|
4649
|
+
maxDiscount: string;
|
|
4650
|
+
minPurchase: string;
|
|
4651
|
+
applicableProducts: string[];
|
|
4652
|
+
applicableCategories: string[];
|
|
4653
|
+
totalLimit: string;
|
|
4654
|
+
perUserLimit: string;
|
|
4655
|
+
startDate: string;
|
|
4656
|
+
}>, {
|
|
4657
|
+
value: string;
|
|
4658
|
+
code: string;
|
|
4659
|
+
type: "fixed" | "percentage" | "free_shipping";
|
|
4660
|
+
isActive: boolean;
|
|
4661
|
+
endDate: string;
|
|
4662
|
+
maxDiscount: string;
|
|
4663
|
+
minPurchase: string;
|
|
4664
|
+
applicableProducts: string[];
|
|
4665
|
+
applicableCategories: string[];
|
|
4666
|
+
totalLimit: string;
|
|
4667
|
+
perUserLimit: string;
|
|
4668
|
+
startDate: string;
|
|
4669
|
+
}, {
|
|
4670
|
+
value: string;
|
|
4671
|
+
code: string;
|
|
4672
|
+
type: "fixed" | "percentage" | "free_shipping";
|
|
4673
|
+
isActive: boolean;
|
|
4674
|
+
endDate: string;
|
|
4675
|
+
maxDiscount: string;
|
|
4676
|
+
minPurchase: string;
|
|
4677
|
+
applicableProducts: string[];
|
|
4678
|
+
applicableCategories: string[];
|
|
4679
|
+
totalLimit: string;
|
|
4680
|
+
perUserLimit: string;
|
|
4681
|
+
startDate: string;
|
|
4682
|
+
}>;
|
|
4683
|
+
readonly customRole: import("zod").ZodObject<{
|
|
4684
|
+
name: import("zod").ZodString;
|
|
4685
|
+
slug: import("zod").ZodString;
|
|
4686
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4687
|
+
scope: import("zod").ZodEnum<["global", "store"]>;
|
|
4688
|
+
permissions: import("zod").ZodArray<import("zod").ZodEffects<import("zod").ZodString, string, string>, "many">;
|
|
4689
|
+
inheritsFrom: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4690
|
+
isActive: import("zod").ZodBoolean;
|
|
4691
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
4692
|
+
scope: "store" | "global";
|
|
4693
|
+
name: string;
|
|
4694
|
+
slug: string;
|
|
4695
|
+
isActive: boolean;
|
|
4696
|
+
permissions: string[];
|
|
4697
|
+
description?: string | undefined;
|
|
4698
|
+
inheritsFrom?: string | undefined;
|
|
4699
|
+
}, {
|
|
4700
|
+
scope: "store" | "global";
|
|
4701
|
+
name: string;
|
|
4702
|
+
slug: string;
|
|
4703
|
+
isActive: boolean;
|
|
4704
|
+
permissions: string[];
|
|
4705
|
+
description?: string | undefined;
|
|
4706
|
+
inheritsFrom?: string | undefined;
|
|
4707
|
+
}>;
|
|
4708
|
+
readonly moderationReview: import("zod").ZodEffects<import("zod").ZodObject<{
|
|
4709
|
+
status: import("zod").ZodEnum<["approved", "rejected"]>;
|
|
4710
|
+
reason: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4711
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
4712
|
+
status: "approved" | "rejected";
|
|
4713
|
+
reason?: string | undefined;
|
|
4714
|
+
}, {
|
|
4715
|
+
status: "approved" | "rejected";
|
|
4716
|
+
reason?: string | undefined;
|
|
4717
|
+
}>, {
|
|
4718
|
+
status: "approved" | "rejected";
|
|
4719
|
+
reason?: string | undefined;
|
|
4720
|
+
}, {
|
|
4721
|
+
status: "approved" | "rejected";
|
|
4722
|
+
reason?: string | undefined;
|
|
4723
|
+
}>;
|
|
4724
|
+
readonly reportReview: import("zod").ZodEffects<import("zod").ZodObject<{
|
|
4725
|
+
status: import("zod").ZodEnum<["under-review", "actioned", "dismissed"]>;
|
|
4726
|
+
resolution: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4727
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
4728
|
+
status: "dismissed" | "under-review" | "actioned";
|
|
4729
|
+
resolution?: string | undefined;
|
|
4730
|
+
}, {
|
|
4731
|
+
status: "dismissed" | "under-review" | "actioned";
|
|
4732
|
+
resolution?: string | undefined;
|
|
4733
|
+
}>, {
|
|
4734
|
+
status: "dismissed" | "under-review" | "actioned";
|
|
4735
|
+
resolution?: string | undefined;
|
|
4736
|
+
}, {
|
|
4737
|
+
status: "dismissed" | "under-review" | "actioned";
|
|
4738
|
+
resolution?: string | undefined;
|
|
4739
|
+
}>;
|
|
4740
|
+
readonly reportCreate: import("zod").ZodObject<{
|
|
4741
|
+
entityType: import("zod").ZodEnum<[import("..").ReportEntityType, ...import("..").ReportEntityType[]]>;
|
|
4742
|
+
entityId: import("zod").ZodString;
|
|
4743
|
+
reason: import("zod").ZodEnum<[import("..").ReportReason, ...import("..").ReportReason[]]>;
|
|
4744
|
+
detail: import("zod").ZodString;
|
|
4745
|
+
evidenceUrls: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
4746
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
4747
|
+
reason: import("..").ReportReason;
|
|
4748
|
+
entityId: string;
|
|
4749
|
+
entityType: import("..").ReportEntityType;
|
|
4750
|
+
detail: string;
|
|
4751
|
+
evidenceUrls?: string[] | undefined;
|
|
4752
|
+
}, {
|
|
4753
|
+
reason: import("..").ReportReason;
|
|
4754
|
+
entityId: string;
|
|
4755
|
+
entityType: import("..").ReportEntityType;
|
|
4756
|
+
detail: string;
|
|
4757
|
+
evidenceUrls?: string[] | undefined;
|
|
4758
|
+
}>;
|
|
4759
|
+
readonly itemRequest: import("zod").ZodObject<{
|
|
4760
|
+
title: import("zod").ZodString;
|
|
4761
|
+
description: import("zod").ZodString;
|
|
4762
|
+
category: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4763
|
+
brand: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4764
|
+
maxBudget: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
4765
|
+
imageUrls: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
4766
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
4767
|
+
title: string;
|
|
4768
|
+
description: string;
|
|
4769
|
+
brand?: string | undefined;
|
|
4770
|
+
category?: string | undefined;
|
|
4771
|
+
imageUrls?: string[] | undefined;
|
|
4772
|
+
maxBudget?: number | undefined;
|
|
4773
|
+
}, {
|
|
4774
|
+
title: string;
|
|
4775
|
+
description: string;
|
|
4776
|
+
brand?: string | undefined;
|
|
4777
|
+
category?: string | undefined;
|
|
4778
|
+
imageUrls?: string[] | undefined;
|
|
4779
|
+
maxBudget?: number | undefined;
|
|
4780
|
+
}>;
|
|
4781
|
+
readonly analyticsAlert: import("zod").ZodObject<{
|
|
4782
|
+
label: import("zod").ZodString;
|
|
4783
|
+
metric: import("zod").ZodString;
|
|
4784
|
+
operator: import("zod").ZodEnum<[import("..").AlertOperator, ...import("..").AlertOperator[]]>;
|
|
4785
|
+
threshold: import("zod").ZodNumber;
|
|
4786
|
+
windowHours: import("zod").ZodNumber;
|
|
4787
|
+
isActive: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
4788
|
+
notifyChannels: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<["in-app", "email", "whatsapp"]>, "many">>;
|
|
4789
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
4790
|
+
label: string;
|
|
4791
|
+
operator: import("..").AlertOperator;
|
|
4792
|
+
threshold: number;
|
|
4793
|
+
metric: string;
|
|
4794
|
+
windowHours: number;
|
|
4795
|
+
isActive?: boolean | undefined;
|
|
4796
|
+
notifyChannels?: ("email" | "whatsapp" | "in-app")[] | undefined;
|
|
4797
|
+
}, {
|
|
4798
|
+
label: string;
|
|
4799
|
+
operator: import("..").AlertOperator;
|
|
4800
|
+
threshold: number;
|
|
4801
|
+
metric: string;
|
|
4802
|
+
windowHours: number;
|
|
4803
|
+
isActive?: boolean | undefined;
|
|
4804
|
+
notifyChannels?: ("email" | "whatsapp" | "in-app")[] | undefined;
|
|
4805
|
+
}>;
|
|
4806
|
+
readonly analyticsCard: import("zod").ZodObject<{
|
|
4807
|
+
title: import("zod").ZodString;
|
|
4808
|
+
type: import("zod").ZodEnum<[import("..").AnalyticsCardType, ...import("..").AnalyticsCardType[]]>;
|
|
4809
|
+
metric: import("zod").ZodString;
|
|
4810
|
+
filters: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodType<import("./types").FirestoreValue, import("zod").ZodTypeDef, import("./types").FirestoreValue>>>;
|
|
4811
|
+
position: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
4812
|
+
isVisible: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
4813
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
4814
|
+
type: import("..").AnalyticsCardType;
|
|
4815
|
+
title: string;
|
|
4816
|
+
metric: string;
|
|
4817
|
+
position?: number | undefined;
|
|
4818
|
+
filters?: Record<string, import("./types").FirestoreValue> | undefined;
|
|
4819
|
+
isVisible?: boolean | undefined;
|
|
4820
|
+
}, {
|
|
4821
|
+
type: import("..").AnalyticsCardType;
|
|
4822
|
+
title: string;
|
|
4823
|
+
metric: string;
|
|
4824
|
+
position?: number | undefined;
|
|
4825
|
+
filters?: Record<string, import("./types").FirestoreValue> | undefined;
|
|
4826
|
+
isVisible?: boolean | undefined;
|
|
4827
|
+
}>;
|
|
4828
|
+
readonly storeGoogleConfig: import("zod").ZodObject<{
|
|
4829
|
+
isConnected: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
4830
|
+
placeId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4831
|
+
businessName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4832
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
4833
|
+
placeId?: string | undefined;
|
|
4834
|
+
isConnected?: boolean | undefined;
|
|
4835
|
+
businessName?: string | undefined;
|
|
4836
|
+
}, {
|
|
4837
|
+
placeId?: string | undefined;
|
|
4838
|
+
isConnected?: boolean | undefined;
|
|
4839
|
+
businessName?: string | undefined;
|
|
4840
|
+
}>;
|
|
4841
|
+
readonly adminNotification: import("zod").ZodObject<{
|
|
4842
|
+
title: import("zod").ZodString;
|
|
4843
|
+
body: import("zod").ZodString;
|
|
4844
|
+
category: import("zod").ZodEnum<[import("..").AdminNotificationCategory, ...import("..").AdminNotificationCategory[]]>;
|
|
4845
|
+
severity: import("zod").ZodEnum<["warning" | "error" | "info", ...("warning" | "error" | "info")[]]>;
|
|
4846
|
+
audienceUserIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
4847
|
+
entityType: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4848
|
+
entityId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4849
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
4850
|
+
title: string;
|
|
4851
|
+
body: string;
|
|
4852
|
+
category: import("..").AdminNotificationCategory;
|
|
4853
|
+
severity: "warning" | "error" | "info";
|
|
4854
|
+
entityId?: string | undefined;
|
|
4855
|
+
entityType?: string | undefined;
|
|
4856
|
+
audienceUserIds?: string[] | undefined;
|
|
4857
|
+
}, {
|
|
4858
|
+
title: string;
|
|
4859
|
+
body: string;
|
|
4860
|
+
category: import("..").AdminNotificationCategory;
|
|
4861
|
+
severity: "warning" | "error" | "info";
|
|
4862
|
+
entityId?: string | undefined;
|
|
4863
|
+
entityType?: string | undefined;
|
|
4864
|
+
audienceUserIds?: string[] | undefined;
|
|
4865
|
+
}>;
|
|
4866
|
+
readonly homepageSection: import("zod").ZodObject<{
|
|
4867
|
+
type: import("zod").ZodEnum<["welcome", "carousel", "stats", "trust-indicators", "categories", "brands", "products", "pre-orders", "auctions", "banner", "features", "reviews", "whatsapp-community", "faq", "blog-articles", "newsletter", "stores", "events", "social-feed", "custom-cards", "google-reviews", "featured-bundles", "prize-draws", "event-raffles", "collection-cards"]>;
|
|
4868
|
+
enabled: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodBoolean>>;
|
|
4869
|
+
order: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
4870
|
+
config: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodType<import("./types").JsonValue, import("zod").ZodTypeDef, import("./types").JsonValue>>;
|
|
4871
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
4872
|
+
type: "banner" | "stores" | "products" | "pre-orders" | "prize-draws" | "auctions" | "reviews" | "events" | "categories" | "brands" | "carousel" | "newsletter" | "features" | "stats" | "welcome" | "trust-indicators" | "whatsapp-community" | "faq" | "blog-articles" | "social-feed" | "custom-cards" | "google-reviews" | "featured-bundles" | "event-raffles" | "collection-cards";
|
|
4873
|
+
enabled: boolean;
|
|
4874
|
+
config: Record<string, import("./types").JsonValue>;
|
|
4875
|
+
order?: number | undefined;
|
|
4876
|
+
}, {
|
|
4877
|
+
type: "banner" | "stores" | "products" | "pre-orders" | "prize-draws" | "auctions" | "reviews" | "events" | "categories" | "brands" | "carousel" | "newsletter" | "features" | "stats" | "welcome" | "trust-indicators" | "whatsapp-community" | "faq" | "blog-articles" | "social-feed" | "custom-cards" | "google-reviews" | "featured-bundles" | "event-raffles" | "collection-cards";
|
|
4878
|
+
config: Record<string, import("./types").JsonValue>;
|
|
4879
|
+
enabled?: boolean | undefined;
|
|
4880
|
+
order?: number | undefined;
|
|
4881
|
+
}>;
|
|
4882
|
+
};
|
|
4258
4883
|
readonly sieve: {};
|
|
4259
4884
|
readonly webhook: {
|
|
4260
4885
|
readonly razorpay: {
|
|
@@ -6812,4 +7437,12 @@ export type RegisteredWebhookProvider = keyof SchemasShape["webhook"];
|
|
|
6812
7437
|
export type RegisteredRtdbChannel = keyof SchemasShape["rtdb"];
|
|
6813
7438
|
export type RegisteredStorageOp = keyof SchemasShape["storage"];
|
|
6814
7439
|
export declare function lookupApiSchema<K extends RegisteredApiRouteKey>(key: K): SchemasShape["api"][K];
|
|
7440
|
+
/**
|
|
7441
|
+
* The form schema for an entity.
|
|
7442
|
+
*
|
|
7443
|
+
* Throws rather than returning undefined: a caller asking for a schema it
|
|
7444
|
+
* expects to exist should fail loudly at the call site, not silently skip
|
|
7445
|
+
* validation and strip every field on the next save.
|
|
7446
|
+
*/
|
|
7447
|
+
export declare function lookupFormSchema<K extends RegisteredFormId>(entity: K): SchemasShape["forms"][K];
|
|
6815
7448
|
export declare function lookupFirestoreSchema<K extends RegisteredFirestoreCollection>(collection: K): SchemasShape["firestore"][K];
|