@mohasinac/appkit 4.42.18 → 4.44.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/client/features/lottery/LotteryDetailView.js +22 -1
- package/dist/_internal/server/features/categories/adapters.d.ts +47 -0
- package/dist/_internal/server/features/categories/adapters.js +235 -0
- package/dist/_internal/server/features/checkout/actions.js +161 -22
- package/dist/_internal/server/features/checkout/expand-order-items.js +34 -0
- package/dist/_internal/server/features/orders/adapters.js +21 -0
- package/dist/_internal/server/features/products/list-public.d.ts +24 -0
- package/dist/_internal/server/features/products/list-public.js +10 -2
- package/dist/_internal/server/features/refunds/actions.js +1 -1
- package/dist/_internal/server/features/seo/sitemap.js +54 -15
- package/dist/_internal/server/features/stores/adapters.d.ts +1 -1
- package/dist/_internal/server/features/stores/adapters.js +6 -0
- package/dist/_internal/server/functions/scheduled.d.ts +4 -2
- package/dist/_internal/server/functions/scheduled.js +64 -6
- package/dist/_internal/server/jobs/core/adminAnalytics.d.ts +0 -1
- package/dist/_internal/server/jobs/core/adminAnalytics.js +9 -1
- package/dist/_internal/server/jobs/core/analyticsAlertEvaluate.d.ts +47 -0
- package/dist/_internal/server/jobs/core/analyticsAlertEvaluate.js +468 -0
- package/dist/_internal/server/jobs/core/autoPayoutEligibility.js +14 -1
- package/dist/_internal/server/jobs/core/countersReconcile.js +24 -8
- package/dist/_internal/server/jobs/core/onCategoryWrite.js +59 -0
- package/dist/_internal/server/jobs/core/onProductWrite.js +31 -0
- package/dist/_internal/server/jobs/core/onReviewWrite.js +8 -0
- package/dist/_internal/server/jobs/core/onStoreWrite.d.ts +1 -1
- package/dist/_internal/server/jobs/core/onStoreWrite.js +8 -2
- package/dist/_internal/server/jobs/core/priceIndexRollup.d.ts +47 -0
- package/dist/_internal/server/jobs/core/priceIndexRollup.js +234 -0
- package/dist/_internal/server/jobs/core/revalidateNotify.d.ts +28 -0
- package/dist/_internal/server/jobs/core/revalidateNotify.js +125 -0
- package/dist/_internal/server/jobs/core/{testerSandboxCleanup.d.ts → testDataCleanup.d.ts} +3 -3
- package/dist/_internal/server/jobs/core/{testerSandboxCleanup.js → testDataCleanup.js} +3 -3
- package/dist/_internal/server/jobs/core/weeklyPayoutEligibility.js +5 -1
- package/dist/_internal/server/jobs/handlers/analyticsAlertEvaluate.d.ts +2 -0
- package/dist/_internal/server/jobs/handlers/analyticsAlertEvaluate.js +2 -0
- package/dist/_internal/server/jobs/handlers/index.d.ts +3 -1
- package/dist/_internal/server/jobs/handlers/index.js +3 -1
- package/dist/_internal/server/jobs/handlers/messages.d.ts +5 -2
- package/dist/_internal/server/jobs/handlers/messages.js +5 -2
- package/dist/_internal/server/jobs/handlers/priceIndexRollup.d.ts +2 -0
- package/dist/_internal/server/jobs/handlers/priceIndexRollup.js +2 -0
- package/dist/_internal/server/jobs/handlers/testDataCleanup.d.ts +2 -0
- package/dist/_internal/server/jobs/handlers/testDataCleanup.js +2 -0
- package/dist/_internal/shared/actions/action-registry.js +34 -0
- package/dist/_internal/shared/cache/revalidate-targets.d.ts +49 -0
- package/dist/_internal/shared/cache/revalidate-targets.js +157 -0
- package/dist/_internal/shared/checkout/order-math.d.ts +113 -3
- package/dist/_internal/shared/checkout/order-math.js +194 -7
- package/dist/_internal/shared/features/categories/price-guidance.d.ts +110 -0
- package/dist/_internal/shared/features/categories/price-guidance.js +136 -0
- package/dist/_internal/shared/features/site-settings/gst-registration.d.ts +90 -0
- package/dist/_internal/shared/features/site-settings/gst-registration.js +126 -0
- package/dist/_internal/shared/fees/calculator.d.ts +105 -0
- package/dist/_internal/shared/fees/calculator.js +143 -0
- package/dist/_internal/shared/listing-types/art/config.d.ts +0 -6
- package/dist/_internal/shared/listing-types/classified/config.d.ts +0 -6
- package/dist/_internal/shared/listing-types/digital-code/config.d.ts +0 -6
- package/dist/_internal/shared/listing-types/live/config.d.ts +0 -6
- package/dist/_internal/shared/listing-types/standard/config.d.ts +0 -6
- package/dist/_internal/shared/listing-types/stickers/config.d.ts +0 -6
- package/dist/_internal/shared/templating/placeholders.d.ts +70 -0
- package/dist/_internal/shared/templating/placeholders.js +73 -0
- package/dist/client.d.ts +2 -0
- package/dist/client.js +1 -0
- package/dist/constants/api-endpoints.d.ts +42 -0
- package/dist/constants/api-endpoints.js +14 -0
- package/dist/features/admin/actions/admin-actions.d.ts +1 -1
- package/dist/features/admin/actions/admin-actions.js +1 -1
- package/dist/features/admin/components/AdminCategoryEditorView.js +269 -3
- package/dist/features/admin/components/AdminProductEditorView.js +8 -1
- package/dist/features/admin/components/AdminProductsView.js +78 -7
- package/dist/features/admin/components/AdminSiteSettingsView.js +20 -1
- package/dist/features/admin/components/AdminTaxCodeEditorView.d.ts +10 -0
- package/dist/features/admin/components/AdminTaxCodeEditorView.js +160 -0
- package/dist/features/admin/components/AdminTaxCodesView.d.ts +13 -0
- package/dist/features/admin/components/AdminTaxCodesView.js +86 -0
- package/dist/features/admin/components/AdminTesterChecklistView.js +1 -1
- package/dist/features/admin/components/analytics/AdminTopProductsTable.js +1 -1
- package/dist/features/auctions/components/AuctionBottomActions.js +10 -1
- package/dist/features/auctions/components/AuctionDetailPageView.js +2 -1
- package/dist/features/auctions/components/AuctionLiveStatusBadge.d.ts +20 -0
- package/dist/features/auctions/components/AuctionLiveStatusBadge.js +21 -0
- package/dist/features/auctions/components/PlaceBidFormClient.d.ts +1 -1
- package/dist/features/auctions/components/PlaceBidFormClient.js +20 -2
- package/dist/features/auctions/hooks/useIsAuctionEnded.d.ts +41 -0
- package/dist/features/auctions/hooks/useIsAuctionEnded.js +76 -0
- package/dist/features/auth/schemas/firestore.d.ts +0 -1
- package/dist/features/blog/api/route.js +16 -1
- package/dist/features/blog/schemas/firestore.d.ts +2 -2
- package/dist/features/catalogue/components/CatalogueItemEditorView.js +14 -3
- package/dist/features/categories/actions/category-actions.d.ts +2 -2
- package/dist/features/categories/actions/category-actions.js +22 -10
- package/dist/features/categories/api/[id]/description-template/route.d.ts +45 -0
- package/dist/features/categories/api/[id]/description-template/route.js +252 -0
- package/dist/features/categories/api/route.js +156 -11
- package/dist/features/categories/components/CategoriesIndexListing.d.ts +1 -3
- package/dist/features/categories/components/CategoriesIndexListing.js +1 -1
- package/dist/features/categories/components/CategoriesIndexPageView.d.ts +27 -1
- package/dist/features/categories/components/CategoriesIndexPageView.js +24 -33
- package/dist/features/categories/components/CategoryDetailPageView.js +43 -10
- package/dist/features/categories/components/CategoryTemplatePicker.d.ts +65 -0
- package/dist/features/categories/components/CategoryTemplatePicker.js +170 -0
- package/dist/features/categories/constants/listing-categories.d.ts +17 -0
- package/dist/features/categories/constants/listing-categories.js +53 -0
- package/dist/features/categories/hooks/useCategoryTree.js +28 -2
- package/dist/features/categories/repository/categories.repository.d.ts +73 -12
- package/dist/features/categories/repository/categories.repository.js +203 -42
- package/dist/features/categories/repository/price-index.repository.d.ts +115 -0
- package/dist/features/categories/repository/price-index.repository.js +85 -0
- package/dist/features/categories/schemas/category-content.d.ts +206 -0
- package/dist/features/categories/schemas/category-content.js +28 -0
- package/dist/features/categories/schemas/firestore.d.ts +74 -5
- package/dist/features/categories/schemas/firestore.js +74 -3
- package/dist/features/categories/schemas/index.d.ts +1047 -0
- package/dist/features/categories/schemas/index.js +96 -0
- package/dist/features/categories/server.d.ts +1 -0
- package/dist/features/categories/server.js +7 -0
- package/dist/features/categories/types/index.d.ts +9 -0
- package/dist/features/events/schemas/firestore.d.ts +2 -2
- package/dist/features/faq/schemas/firestore.d.ts +2 -1
- package/dist/features/faq/schemas/firestore.js +20 -8
- package/dist/features/faq/utils/getHomepageFaqsCached.d.ts +20 -0
- package/dist/features/faq/utils/getHomepageFaqsCached.js +22 -0
- package/dist/features/homepage/components/MarketplaceHomepageView.js +13 -3
- package/dist/features/homepage/lib/live-stats.js +18 -8
- package/dist/features/media/MediaImage.js +19 -2
- package/dist/features/orders/schemas/firestore.d.ts +70 -0
- package/dist/features/orders/types/index.d.ts +55 -0
- package/dist/features/products/actions/product-actions.d.ts +0 -9
- package/dist/features/products/actions/product-actions.js +25 -0
- package/dist/features/products/columns/index.d.ts +0 -1
- package/dist/features/products/columns/index.js +5 -1
- package/dist/features/products/components/ArtStickersListView.js +7 -1
- package/dist/features/products/components/PrizeDrawsSection.js +5 -0
- package/dist/features/products/components/ProductFilters.d.ts +0 -9
- package/dist/features/products/components/ProductForm.d.ts +27 -1
- package/dist/features/products/components/ProductForm.js +26 -12
- package/dist/features/products/components/ProductsIndexPageView.js +1 -1
- package/dist/features/products/constants/sieve.d.ts +0 -6
- package/dist/features/products/constants/sieve.js +35 -2
- package/dist/features/products/repository/products.repository.d.ts +115 -1
- package/dist/features/products/repository/products.repository.js +491 -39
- package/dist/features/products/schemas/firestore.d.ts +65 -5
- package/dist/features/products/schemas/firestore.js +9 -0
- package/dist/features/products/schemas/product-features.d.ts +140 -2
- package/dist/features/products/schemas/product-features.js +62 -1
- package/dist/features/promotions/repository/coupons.repository.js +6 -1
- package/dist/features/promotions/schemas/firestore.d.ts +44 -1
- package/dist/features/promotions/schemas/firestore.js +76 -2
- package/dist/features/reviews/repository/reviews.repository.d.ts +22 -0
- package/dist/features/reviews/repository/reviews.repository.js +35 -0
- package/dist/features/seller/actions/seller-actions.js +17 -2
- package/dist/features/seller/components/PrintCenterView.d.ts +3 -2
- package/dist/features/seller/components/PrintCenterView.js +3 -2
- package/dist/features/seller/components/SellerAnalyticsAlertsView.js +21 -11
- package/dist/features/seller/components/SellerOrdersView.js +6 -1
- package/dist/features/seller/components/SellerPayoutSettingsView.js +19 -3
- package/dist/features/seller/components/SellerProductShell.d.ts +50 -2
- package/dist/features/seller/components/SellerProductShell.js +101 -9
- package/dist/features/seller/components/SellerProductsFilterDrawer.d.ts +13 -1
- package/dist/features/seller/components/SellerProductsFilterDrawer.js +2 -2
- package/dist/features/seller/components/SellerProductsView.js +108 -3
- package/dist/features/seller/types/index.d.ts +17 -0
- package/dist/features/seller/utils/product-draft-mapping.d.ts +13 -0
- package/dist/features/seller/utils/product-draft-mapping.js +17 -0
- package/dist/features/store-extensions/constants/alert-metrics.d.ts +86 -0
- package/dist/features/store-extensions/constants/alert-metrics.js +142 -0
- package/dist/features/store-extensions/schemas/firestore.d.ts +19 -1
- package/dist/features/stores/schemas/firestore.d.ts +31 -2
- package/dist/features/tax-codes/repository/tax-codes.repository.d.ts +55 -0
- package/dist/features/tax-codes/repository/tax-codes.repository.js +131 -0
- package/dist/features/tax-codes/schemas/firestore.d.ts +125 -0
- package/dist/features/tax-codes/schemas/firestore.js +82 -0
- package/dist/features/tax-codes/schemas/tax-code-form.d.ts +63 -0
- package/dist/features/tax-codes/schemas/tax-code-form.js +152 -0
- package/dist/features/tax-codes/schemas/tax-codes.validators.d.ts +107 -0
- package/dist/features/tax-codes/schemas/tax-codes.validators.js +85 -0
- package/dist/features/tester/actions/index.d.ts +0 -1
- package/dist/features/tester/actions/index.js +0 -1
- package/dist/features/tester/components/AdminTesterFeedbackIssuesView.js +1 -1
- package/dist/features/tester/components/AdminTesterFeedbackListView.js +1 -1
- package/dist/features/tester/components/index.d.ts +0 -4
- package/dist/features/tester/components/index.js +0 -2
- package/dist/features/tester/repository/tester-checklist-item.repository.d.ts +1 -20
- package/dist/features/tester/repository/tester-checklist-item.repository.js +0 -52
- package/dist/features/tester/schemas/firestore.d.ts +0 -6
- package/dist/features/tester/seed-data/authored/admin__admin-detail-round-trips.js +3 -3
- package/dist/features/tester/seed-data/authored/admin__site-system.js +4 -5
- package/dist/features/tester/seed-data/authored/content-discovery__category-counts-and-rollup.js +2 -2
- package/dist/features/tester/seed-data/authored/index.js +0 -2
- package/dist/features/tester/seed-data/authored/page-wiring__reachability.js +0 -19
- package/dist/features/tester/seed-data/tester-checklist-seed-data.js +10 -29
- package/dist/index.d.ts +21 -7
- package/dist/index.js +53 -7
- package/dist/next/routing/route-map.d.ts +2 -4
- package/dist/next/routing/route-map.js +1 -2
- package/dist/repositories/index.d.ts +1 -0
- package/dist/repositories/index.js +1 -0
- package/dist/schemas/registry.d.ts +506 -0
- package/dist/seed/_helpers/brand-rows.d.ts +35 -0
- package/dist/seed/_helpers/brand-rows.js +576 -0
- package/dist/seed/_helpers/category-content.d.ts +39 -0
- package/dist/seed/_helpers/category-content.js +634 -0
- package/dist/seed/_helpers/category-forest.d.ts +2 -0
- package/dist/seed/_helpers/category-forest.js +585 -243
- package/dist/seed/_helpers/category-models.d.ts +5 -0
- package/dist/seed/_helpers/category-models.js +1364 -0
- package/dist/seed/_helpers/category-tree.js +17 -1
- package/dist/seed/_helpers/character-features.d.ts +10 -0
- package/dist/seed/_helpers/character-features.js +118 -0
- package/dist/seed/_helpers/media.d.ts +1 -1
- package/dist/seed/_helpers/media.js +44 -8
- package/dist/seed/_helpers/search-txt-wrappers.d.ts +10 -0
- package/dist/seed/_helpers/search-txt-wrappers.js +12 -1
- package/dist/seed/categories-seed-data.js +147 -169
- package/dist/seed/index.d.ts +1 -0
- package/dist/seed/index.js +1 -0
- package/dist/seed/manifest.d.ts +1 -1
- package/dist/seed/manifest.js +5 -0
- package/dist/seed/orders-seed-data.js +5 -3
- package/dist/seed/product-features-seed-data.d.ts +1 -8
- package/dist/seed/product-features-seed-data.js +358 -154
- package/dist/seed/products-art-seed-data.js +16 -4
- package/dist/seed/products-auctions-seed-data.js +6 -6
- package/dist/seed/products-classifieds-seed-data.js +17 -7
- package/dist/seed/products-digital-codes-seed-data.js +12 -12
- package/dist/seed/products-preorders-seed-data.js +8 -8
- package/dist/seed/products-prize-draws-seed-data.js +25 -8
- package/dist/seed/products-standard-seed-data.js +10 -60
- package/dist/seed/products-stickers-seed-data.js +6 -6
- package/dist/seed/site-settings-seed-data.js +24 -0
- package/dist/seed/store-extensions-seed-data.js +10 -4
- package/dist/seed/tax-codes-seed-data.d.ts +34 -0
- package/dist/seed/tax-codes-seed-data.js +100 -0
- package/dist/seed/test-data-ttl.d.ts +29 -0
- package/dist/seed/test-data-ttl.js +31 -0
- package/dist/server-entry.d.ts +1 -1
- package/dist/server-entry.js +6 -1
- package/dist/server.d.ts +4 -1
- package/dist/server.js +11 -2
- package/dist/styles.css +40 -0
- package/dist/ui/components/PaginatedSelect.d.ts +14 -0
- package/dist/ui/components/PaginatedSelect.js +0 -0
- package/dist/ui/components/PaginatedSelect.style.css +40 -0
- package/dist/utils/media-url.d.ts +26 -0
- package/dist/utils/media-url.js +144 -0
- package/dist/utils/physical-location.d.ts +23 -0
- package/dist/utils/physical-location.js +52 -0
- package/dist/utils/search-txt-builders.d.ts +20 -0
- package/dist/utils/search-txt-builders.js +36 -0
- package/package.json +1 -1
- package/scripts/seed-cli.mjs +4 -1
- package/dist/_internal/server/jobs/handlers/testerSandboxCleanup.d.ts +0 -2
- package/dist/_internal/server/jobs/handlers/testerSandboxCleanup.js +0 -2
- package/dist/features/tester/actions/leaderboard-actions.d.ts +0 -3
- package/dist/features/tester/actions/leaderboard-actions.js +0 -5
- package/dist/features/tester/components/BugHunterLeaderboardView.d.ts +0 -23
- package/dist/features/tester/components/BugHunterLeaderboardView.js +0 -18
- package/dist/features/tester/components/TesterHubView.d.ts +0 -5
- package/dist/features/tester/components/TesterHubView.js +0 -110
- package/dist/features/tester/seed-data/authored/public-pages__bug-hunters.d.ts +0 -2
- package/dist/features/tester/seed-data/authored/public-pages__bug-hunters.js +0 -78
- package/dist/features/tester/seed-data/tester-ttl.d.ts +0 -4
- package/dist/features/tester/seed-data/tester-ttl.js +0 -6
|
@@ -1022,6 +1022,368 @@ export declare const SCHEMAS: {
|
|
|
1022
1022
|
question: string;
|
|
1023
1023
|
answer: string;
|
|
1024
1024
|
}>, "many">>;
|
|
1025
|
+
aliases: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
1026
|
+
contentBody: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1027
|
+
descriptionTemplates: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
1028
|
+
id: import("zod").ZodString;
|
|
1029
|
+
label: import("zod").ZodString;
|
|
1030
|
+
variant: import("zod").ZodEnum<["default", "new_in_box", "new_in_packet", "pre_owned", "replica"]>;
|
|
1031
|
+
body: import("zod").ZodString;
|
|
1032
|
+
placeholders: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
1033
|
+
isTested: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1034
|
+
version: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1035
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1036
|
+
id: string;
|
|
1037
|
+
variant: "default" | "new_in_box" | "new_in_packet" | "pre_owned" | "replica";
|
|
1038
|
+
body: string;
|
|
1039
|
+
label: string;
|
|
1040
|
+
version?: number | undefined;
|
|
1041
|
+
placeholders?: string[] | undefined;
|
|
1042
|
+
isTested?: boolean | undefined;
|
|
1043
|
+
}, {
|
|
1044
|
+
id: string;
|
|
1045
|
+
variant: "default" | "new_in_box" | "new_in_packet" | "pre_owned" | "replica";
|
|
1046
|
+
body: string;
|
|
1047
|
+
label: string;
|
|
1048
|
+
version?: number | undefined;
|
|
1049
|
+
placeholders?: string[] | undefined;
|
|
1050
|
+
isTested?: boolean | undefined;
|
|
1051
|
+
}>, "many">>;
|
|
1052
|
+
productDefaults: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1053
|
+
taxCodeId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1054
|
+
specifications: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
1055
|
+
name: import("zod").ZodString;
|
|
1056
|
+
value: import("zod").ZodString;
|
|
1057
|
+
unit: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1058
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1059
|
+
value: string;
|
|
1060
|
+
name: string;
|
|
1061
|
+
unit?: string | undefined;
|
|
1062
|
+
}, {
|
|
1063
|
+
value: string;
|
|
1064
|
+
name: string;
|
|
1065
|
+
unit?: string | undefined;
|
|
1066
|
+
}>, "many">>;
|
|
1067
|
+
defaultFeatures: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
1068
|
+
defaultCondition: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1069
|
+
defaultAuthenticity: import("zod").ZodOptional<import("zod").ZodEnum<["original", "reproduction", "unverified"]>>;
|
|
1070
|
+
inTheBox: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
1071
|
+
priceGuidance: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1072
|
+
currency: import("zod").ZodLiteral<"INR">;
|
|
1073
|
+
market: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1074
|
+
median: import("zod").ZodEffects<import("zod").ZodNumber, number, number>;
|
|
1075
|
+
p25: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodNumber, number, number>>;
|
|
1076
|
+
p75: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodNumber, number, number>>;
|
|
1077
|
+
sampleSize: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1078
|
+
asOf: import("zod").ZodUnion<[import("zod").ZodDate, import("zod").ZodString, import("zod").ZodObject<{
|
|
1079
|
+
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
1080
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
1081
|
+
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
1082
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
1083
|
+
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
1084
|
+
}, import("zod").ZodTypeAny, "passthrough">>]>;
|
|
1085
|
+
soldOutShare: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1086
|
+
source: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1087
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1088
|
+
median: number;
|
|
1089
|
+
asOf: string | Date | import("zod").objectOutputType<{
|
|
1090
|
+
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
1091
|
+
}, import("zod").ZodTypeAny, "passthrough">;
|
|
1092
|
+
source?: string | undefined;
|
|
1093
|
+
p25?: number | undefined;
|
|
1094
|
+
p75?: number | undefined;
|
|
1095
|
+
sampleSize?: number | undefined;
|
|
1096
|
+
soldOutShare?: number | undefined;
|
|
1097
|
+
}, {
|
|
1098
|
+
median: number;
|
|
1099
|
+
asOf: string | Date | import("zod").objectInputType<{
|
|
1100
|
+
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
1101
|
+
}, import("zod").ZodTypeAny, "passthrough">;
|
|
1102
|
+
source?: string | undefined;
|
|
1103
|
+
p25?: number | undefined;
|
|
1104
|
+
p75?: number | undefined;
|
|
1105
|
+
sampleSize?: number | undefined;
|
|
1106
|
+
soldOutShare?: number | undefined;
|
|
1107
|
+
}>>;
|
|
1108
|
+
sold: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1109
|
+
min: import("zod").ZodEffects<import("zod").ZodNumber, number, number>;
|
|
1110
|
+
median: import("zod").ZodEffects<import("zod").ZodNumber, number, number>;
|
|
1111
|
+
max: import("zod").ZodEffects<import("zod").ZodNumber, number, number>;
|
|
1112
|
+
sampleSize: import("zod").ZodNumber;
|
|
1113
|
+
windowDays: import("zod").ZodNumber;
|
|
1114
|
+
byPath: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1115
|
+
standard: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1116
|
+
auction: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1117
|
+
offer: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1118
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1119
|
+
standard?: number | undefined;
|
|
1120
|
+
auction?: number | undefined;
|
|
1121
|
+
offer?: number | undefined;
|
|
1122
|
+
}, {
|
|
1123
|
+
standard?: number | undefined;
|
|
1124
|
+
auction?: number | undefined;
|
|
1125
|
+
offer?: number | undefined;
|
|
1126
|
+
}>>;
|
|
1127
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1128
|
+
max: number;
|
|
1129
|
+
min: number;
|
|
1130
|
+
windowDays: number;
|
|
1131
|
+
median: number;
|
|
1132
|
+
sampleSize: number;
|
|
1133
|
+
byPath?: {
|
|
1134
|
+
standard?: number | undefined;
|
|
1135
|
+
auction?: number | undefined;
|
|
1136
|
+
offer?: number | undefined;
|
|
1137
|
+
} | undefined;
|
|
1138
|
+
}, {
|
|
1139
|
+
max: number;
|
|
1140
|
+
min: number;
|
|
1141
|
+
windowDays: number;
|
|
1142
|
+
median: number;
|
|
1143
|
+
sampleSize: number;
|
|
1144
|
+
byPath?: {
|
|
1145
|
+
standard?: number | undefined;
|
|
1146
|
+
auction?: number | undefined;
|
|
1147
|
+
offer?: number | undefined;
|
|
1148
|
+
} | undefined;
|
|
1149
|
+
}>>;
|
|
1150
|
+
lastSold: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1151
|
+
amount: import("zod").ZodEffects<import("zod").ZodNumber, number, number>;
|
|
1152
|
+
at: import("zod").ZodUnion<[import("zod").ZodDate, import("zod").ZodString, import("zod").ZodObject<{
|
|
1153
|
+
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
1154
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
1155
|
+
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
1156
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
1157
|
+
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
1158
|
+
}, import("zod").ZodTypeAny, "passthrough">>]>;
|
|
1159
|
+
via: import("zod").ZodOptional<import("zod").ZodEnum<["standard", "auction", "offer"]>>;
|
|
1160
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1161
|
+
at: string | Date | import("zod").objectOutputType<{
|
|
1162
|
+
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
1163
|
+
}, import("zod").ZodTypeAny, "passthrough">;
|
|
1164
|
+
amount: number;
|
|
1165
|
+
via?: "standard" | "auction" | "offer" | undefined;
|
|
1166
|
+
}, {
|
|
1167
|
+
at: string | Date | import("zod").objectInputType<{
|
|
1168
|
+
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
1169
|
+
}, import("zod").ZodTypeAny, "passthrough">;
|
|
1170
|
+
amount: number;
|
|
1171
|
+
via?: "standard" | "auction" | "offer" | undefined;
|
|
1172
|
+
}>>;
|
|
1173
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1174
|
+
currency: "INR";
|
|
1175
|
+
sold?: {
|
|
1176
|
+
max: number;
|
|
1177
|
+
min: number;
|
|
1178
|
+
windowDays: number;
|
|
1179
|
+
median: number;
|
|
1180
|
+
sampleSize: number;
|
|
1181
|
+
byPath?: {
|
|
1182
|
+
standard?: number | undefined;
|
|
1183
|
+
auction?: number | undefined;
|
|
1184
|
+
offer?: number | undefined;
|
|
1185
|
+
} | undefined;
|
|
1186
|
+
} | undefined;
|
|
1187
|
+
market?: {
|
|
1188
|
+
median: number;
|
|
1189
|
+
asOf: string | Date | import("zod").objectOutputType<{
|
|
1190
|
+
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
1191
|
+
}, import("zod").ZodTypeAny, "passthrough">;
|
|
1192
|
+
source?: string | undefined;
|
|
1193
|
+
p25?: number | undefined;
|
|
1194
|
+
p75?: number | undefined;
|
|
1195
|
+
sampleSize?: number | undefined;
|
|
1196
|
+
soldOutShare?: number | undefined;
|
|
1197
|
+
} | undefined;
|
|
1198
|
+
lastSold?: {
|
|
1199
|
+
at: string | Date | import("zod").objectOutputType<{
|
|
1200
|
+
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
1201
|
+
}, import("zod").ZodTypeAny, "passthrough">;
|
|
1202
|
+
amount: number;
|
|
1203
|
+
via?: "standard" | "auction" | "offer" | undefined;
|
|
1204
|
+
} | undefined;
|
|
1205
|
+
}, {
|
|
1206
|
+
currency: "INR";
|
|
1207
|
+
sold?: {
|
|
1208
|
+
max: number;
|
|
1209
|
+
min: number;
|
|
1210
|
+
windowDays: number;
|
|
1211
|
+
median: number;
|
|
1212
|
+
sampleSize: number;
|
|
1213
|
+
byPath?: {
|
|
1214
|
+
standard?: number | undefined;
|
|
1215
|
+
auction?: number | undefined;
|
|
1216
|
+
offer?: number | undefined;
|
|
1217
|
+
} | undefined;
|
|
1218
|
+
} | undefined;
|
|
1219
|
+
market?: {
|
|
1220
|
+
median: number;
|
|
1221
|
+
asOf: string | Date | import("zod").objectInputType<{
|
|
1222
|
+
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
1223
|
+
}, import("zod").ZodTypeAny, "passthrough">;
|
|
1224
|
+
source?: string | undefined;
|
|
1225
|
+
p25?: number | undefined;
|
|
1226
|
+
p75?: number | undefined;
|
|
1227
|
+
sampleSize?: number | undefined;
|
|
1228
|
+
soldOutShare?: number | undefined;
|
|
1229
|
+
} | undefined;
|
|
1230
|
+
lastSold?: {
|
|
1231
|
+
at: string | Date | import("zod").objectInputType<{
|
|
1232
|
+
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
1233
|
+
}, import("zod").ZodTypeAny, "passthrough">;
|
|
1234
|
+
amount: number;
|
|
1235
|
+
via?: "standard" | "auction" | "offer" | undefined;
|
|
1236
|
+
} | undefined;
|
|
1237
|
+
}>>;
|
|
1238
|
+
seoTitleTemplate: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1239
|
+
seoDescriptionTemplate: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1240
|
+
seoKeywords: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
1241
|
+
weightG: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1242
|
+
dimensionsCm: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1243
|
+
l: import("zod").ZodNumber;
|
|
1244
|
+
w: import("zod").ZodNumber;
|
|
1245
|
+
h: import("zod").ZodNumber;
|
|
1246
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1247
|
+
h: number;
|
|
1248
|
+
l: number;
|
|
1249
|
+
w: number;
|
|
1250
|
+
}, {
|
|
1251
|
+
h: number;
|
|
1252
|
+
l: number;
|
|
1253
|
+
w: number;
|
|
1254
|
+
}>>;
|
|
1255
|
+
shippingPaidBy: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1256
|
+
fragile: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1257
|
+
faqTemplates: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
1258
|
+
question: import("zod").ZodString;
|
|
1259
|
+
answer: import("zod").ZodString;
|
|
1260
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1261
|
+
question: string;
|
|
1262
|
+
answer: string;
|
|
1263
|
+
}, {
|
|
1264
|
+
question: string;
|
|
1265
|
+
answer: string;
|
|
1266
|
+
}>, "many">>;
|
|
1267
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1268
|
+
specifications?: {
|
|
1269
|
+
value: string;
|
|
1270
|
+
name: string;
|
|
1271
|
+
unit?: string | undefined;
|
|
1272
|
+
}[] | undefined;
|
|
1273
|
+
shippingPaidBy?: string | undefined;
|
|
1274
|
+
seoKeywords?: string[] | undefined;
|
|
1275
|
+
taxCodeId?: string | undefined;
|
|
1276
|
+
defaultFeatures?: string[] | undefined;
|
|
1277
|
+
defaultCondition?: string | undefined;
|
|
1278
|
+
defaultAuthenticity?: "original" | "reproduction" | "unverified" | undefined;
|
|
1279
|
+
inTheBox?: string[] | undefined;
|
|
1280
|
+
priceGuidance?: {
|
|
1281
|
+
currency: "INR";
|
|
1282
|
+
sold?: {
|
|
1283
|
+
max: number;
|
|
1284
|
+
min: number;
|
|
1285
|
+
windowDays: number;
|
|
1286
|
+
median: number;
|
|
1287
|
+
sampleSize: number;
|
|
1288
|
+
byPath?: {
|
|
1289
|
+
standard?: number | undefined;
|
|
1290
|
+
auction?: number | undefined;
|
|
1291
|
+
offer?: number | undefined;
|
|
1292
|
+
} | undefined;
|
|
1293
|
+
} | undefined;
|
|
1294
|
+
market?: {
|
|
1295
|
+
median: number;
|
|
1296
|
+
asOf: string | Date | import("zod").objectOutputType<{
|
|
1297
|
+
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
1298
|
+
}, import("zod").ZodTypeAny, "passthrough">;
|
|
1299
|
+
source?: string | undefined;
|
|
1300
|
+
p25?: number | undefined;
|
|
1301
|
+
p75?: number | undefined;
|
|
1302
|
+
sampleSize?: number | undefined;
|
|
1303
|
+
soldOutShare?: number | undefined;
|
|
1304
|
+
} | undefined;
|
|
1305
|
+
lastSold?: {
|
|
1306
|
+
at: string | Date | import("zod").objectOutputType<{
|
|
1307
|
+
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
1308
|
+
}, import("zod").ZodTypeAny, "passthrough">;
|
|
1309
|
+
amount: number;
|
|
1310
|
+
via?: "standard" | "auction" | "offer" | undefined;
|
|
1311
|
+
} | undefined;
|
|
1312
|
+
} | undefined;
|
|
1313
|
+
seoTitleTemplate?: string | undefined;
|
|
1314
|
+
seoDescriptionTemplate?: string | undefined;
|
|
1315
|
+
weightG?: number | undefined;
|
|
1316
|
+
dimensionsCm?: {
|
|
1317
|
+
h: number;
|
|
1318
|
+
l: number;
|
|
1319
|
+
w: number;
|
|
1320
|
+
} | undefined;
|
|
1321
|
+
fragile?: boolean | undefined;
|
|
1322
|
+
faqTemplates?: {
|
|
1323
|
+
question: string;
|
|
1324
|
+
answer: string;
|
|
1325
|
+
}[] | undefined;
|
|
1326
|
+
}, {
|
|
1327
|
+
specifications?: {
|
|
1328
|
+
value: string;
|
|
1329
|
+
name: string;
|
|
1330
|
+
unit?: string | undefined;
|
|
1331
|
+
}[] | undefined;
|
|
1332
|
+
shippingPaidBy?: string | undefined;
|
|
1333
|
+
seoKeywords?: string[] | undefined;
|
|
1334
|
+
taxCodeId?: string | undefined;
|
|
1335
|
+
defaultFeatures?: string[] | undefined;
|
|
1336
|
+
defaultCondition?: string | undefined;
|
|
1337
|
+
defaultAuthenticity?: "original" | "reproduction" | "unverified" | undefined;
|
|
1338
|
+
inTheBox?: string[] | undefined;
|
|
1339
|
+
priceGuidance?: {
|
|
1340
|
+
currency: "INR";
|
|
1341
|
+
sold?: {
|
|
1342
|
+
max: number;
|
|
1343
|
+
min: number;
|
|
1344
|
+
windowDays: number;
|
|
1345
|
+
median: number;
|
|
1346
|
+
sampleSize: number;
|
|
1347
|
+
byPath?: {
|
|
1348
|
+
standard?: number | undefined;
|
|
1349
|
+
auction?: number | undefined;
|
|
1350
|
+
offer?: number | undefined;
|
|
1351
|
+
} | undefined;
|
|
1352
|
+
} | undefined;
|
|
1353
|
+
market?: {
|
|
1354
|
+
median: number;
|
|
1355
|
+
asOf: string | Date | import("zod").objectInputType<{
|
|
1356
|
+
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
1357
|
+
}, import("zod").ZodTypeAny, "passthrough">;
|
|
1358
|
+
source?: string | undefined;
|
|
1359
|
+
p25?: number | undefined;
|
|
1360
|
+
p75?: number | undefined;
|
|
1361
|
+
sampleSize?: number | undefined;
|
|
1362
|
+
soldOutShare?: number | undefined;
|
|
1363
|
+
} | undefined;
|
|
1364
|
+
lastSold?: {
|
|
1365
|
+
at: string | Date | import("zod").objectInputType<{
|
|
1366
|
+
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
1367
|
+
}, import("zod").ZodTypeAny, "passthrough">;
|
|
1368
|
+
amount: number;
|
|
1369
|
+
via?: "standard" | "auction" | "offer" | undefined;
|
|
1370
|
+
} | undefined;
|
|
1371
|
+
} | undefined;
|
|
1372
|
+
seoTitleTemplate?: string | undefined;
|
|
1373
|
+
seoDescriptionTemplate?: string | undefined;
|
|
1374
|
+
weightG?: number | undefined;
|
|
1375
|
+
dimensionsCm?: {
|
|
1376
|
+
h: number;
|
|
1377
|
+
l: number;
|
|
1378
|
+
w: number;
|
|
1379
|
+
} | undefined;
|
|
1380
|
+
fragile?: boolean | undefined;
|
|
1381
|
+
faqTemplates?: {
|
|
1382
|
+
question: string;
|
|
1383
|
+
answer: string;
|
|
1384
|
+
}[] | undefined;
|
|
1385
|
+
}>>;
|
|
1386
|
+
searchTxt: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
|
1025
1387
|
bundleKind: import("zod").ZodOptional<import("zod").ZodEnum<["special", "brand"]>>;
|
|
1026
1388
|
brandSlug: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1027
1389
|
bundlePrice: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodNumber, number, number>>;
|
|
@@ -1218,6 +1580,7 @@ export declare const SCHEMAS: {
|
|
|
1218
1580
|
answer: string;
|
|
1219
1581
|
}[] | undefined;
|
|
1220
1582
|
description?: string | undefined;
|
|
1583
|
+
searchTxt?: string[] | undefined;
|
|
1221
1584
|
showOnHomepage?: boolean | undefined;
|
|
1222
1585
|
categoryType?: "brand" | "category" | "sublisting" | "bundle" | undefined;
|
|
1223
1586
|
bundleKind?: "brand" | "special" | undefined;
|
|
@@ -1232,6 +1595,7 @@ export declare const SCHEMAS: {
|
|
|
1232
1595
|
bundleQueryResolvedAt?: string | Date | import("zod").objectOutputType<{
|
|
1233
1596
|
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
1234
1597
|
}, import("zod").ZodTypeAny, "passthrough"> | undefined;
|
|
1598
|
+
aliases?: string[] | undefined;
|
|
1235
1599
|
featuredPriority?: number | undefined;
|
|
1236
1600
|
isBrand?: boolean | undefined;
|
|
1237
1601
|
createdByType?: "store" | "admin" | undefined;
|
|
@@ -1241,6 +1605,76 @@ export declare const SCHEMAS: {
|
|
|
1241
1605
|
brandCountry?: string | undefined;
|
|
1242
1606
|
brandFounded?: number | undefined;
|
|
1243
1607
|
highlights?: string[] | undefined;
|
|
1608
|
+
contentBody?: string | undefined;
|
|
1609
|
+
descriptionTemplates?: {
|
|
1610
|
+
id: string;
|
|
1611
|
+
variant: "default" | "new_in_box" | "new_in_packet" | "pre_owned" | "replica";
|
|
1612
|
+
body: string;
|
|
1613
|
+
label: string;
|
|
1614
|
+
version?: number | undefined;
|
|
1615
|
+
placeholders?: string[] | undefined;
|
|
1616
|
+
isTested?: boolean | undefined;
|
|
1617
|
+
}[] | undefined;
|
|
1618
|
+
productDefaults?: {
|
|
1619
|
+
specifications?: {
|
|
1620
|
+
value: string;
|
|
1621
|
+
name: string;
|
|
1622
|
+
unit?: string | undefined;
|
|
1623
|
+
}[] | undefined;
|
|
1624
|
+
shippingPaidBy?: string | undefined;
|
|
1625
|
+
seoKeywords?: string[] | undefined;
|
|
1626
|
+
taxCodeId?: string | undefined;
|
|
1627
|
+
defaultFeatures?: string[] | undefined;
|
|
1628
|
+
defaultCondition?: string | undefined;
|
|
1629
|
+
defaultAuthenticity?: "original" | "reproduction" | "unverified" | undefined;
|
|
1630
|
+
inTheBox?: string[] | undefined;
|
|
1631
|
+
priceGuidance?: {
|
|
1632
|
+
currency: "INR";
|
|
1633
|
+
sold?: {
|
|
1634
|
+
max: number;
|
|
1635
|
+
min: number;
|
|
1636
|
+
windowDays: number;
|
|
1637
|
+
median: number;
|
|
1638
|
+
sampleSize: number;
|
|
1639
|
+
byPath?: {
|
|
1640
|
+
standard?: number | undefined;
|
|
1641
|
+
auction?: number | undefined;
|
|
1642
|
+
offer?: number | undefined;
|
|
1643
|
+
} | undefined;
|
|
1644
|
+
} | undefined;
|
|
1645
|
+
market?: {
|
|
1646
|
+
median: number;
|
|
1647
|
+
asOf: string | Date | import("zod").objectOutputType<{
|
|
1648
|
+
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
1649
|
+
}, import("zod").ZodTypeAny, "passthrough">;
|
|
1650
|
+
source?: string | undefined;
|
|
1651
|
+
p25?: number | undefined;
|
|
1652
|
+
p75?: number | undefined;
|
|
1653
|
+
sampleSize?: number | undefined;
|
|
1654
|
+
soldOutShare?: number | undefined;
|
|
1655
|
+
} | undefined;
|
|
1656
|
+
lastSold?: {
|
|
1657
|
+
at: string | Date | import("zod").objectOutputType<{
|
|
1658
|
+
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
1659
|
+
}, import("zod").ZodTypeAny, "passthrough">;
|
|
1660
|
+
amount: number;
|
|
1661
|
+
via?: "standard" | "auction" | "offer" | undefined;
|
|
1662
|
+
} | undefined;
|
|
1663
|
+
} | undefined;
|
|
1664
|
+
seoTitleTemplate?: string | undefined;
|
|
1665
|
+
seoDescriptionTemplate?: string | undefined;
|
|
1666
|
+
weightG?: number | undefined;
|
|
1667
|
+
dimensionsCm?: {
|
|
1668
|
+
h: number;
|
|
1669
|
+
l: number;
|
|
1670
|
+
w: number;
|
|
1671
|
+
} | undefined;
|
|
1672
|
+
fragile?: boolean | undefined;
|
|
1673
|
+
faqTemplates?: {
|
|
1674
|
+
question: string;
|
|
1675
|
+
answer: string;
|
|
1676
|
+
}[] | undefined;
|
|
1677
|
+
} | undefined;
|
|
1244
1678
|
bundlePrice?: number | undefined;
|
|
1245
1679
|
bundleQueryRule?: {
|
|
1246
1680
|
type: "static";
|
|
@@ -1317,6 +1751,7 @@ export declare const SCHEMAS: {
|
|
|
1317
1751
|
answer: string;
|
|
1318
1752
|
}[] | undefined;
|
|
1319
1753
|
description?: string | undefined;
|
|
1754
|
+
searchTxt?: string[] | undefined;
|
|
1320
1755
|
showOnHomepage?: boolean | undefined;
|
|
1321
1756
|
categoryType?: "brand" | "category" | "sublisting" | "bundle" | undefined;
|
|
1322
1757
|
bundleKind?: "brand" | "special" | undefined;
|
|
@@ -1331,6 +1766,7 @@ export declare const SCHEMAS: {
|
|
|
1331
1766
|
bundleQueryResolvedAt?: string | Date | import("zod").objectInputType<{
|
|
1332
1767
|
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
1333
1768
|
}, import("zod").ZodTypeAny, "passthrough"> | undefined;
|
|
1769
|
+
aliases?: string[] | undefined;
|
|
1334
1770
|
featuredPriority?: number | undefined;
|
|
1335
1771
|
isBrand?: boolean | undefined;
|
|
1336
1772
|
createdByType?: "store" | "admin" | undefined;
|
|
@@ -1340,6 +1776,76 @@ export declare const SCHEMAS: {
|
|
|
1340
1776
|
brandCountry?: string | undefined;
|
|
1341
1777
|
brandFounded?: number | undefined;
|
|
1342
1778
|
highlights?: string[] | undefined;
|
|
1779
|
+
contentBody?: string | undefined;
|
|
1780
|
+
descriptionTemplates?: {
|
|
1781
|
+
id: string;
|
|
1782
|
+
variant: "default" | "new_in_box" | "new_in_packet" | "pre_owned" | "replica";
|
|
1783
|
+
body: string;
|
|
1784
|
+
label: string;
|
|
1785
|
+
version?: number | undefined;
|
|
1786
|
+
placeholders?: string[] | undefined;
|
|
1787
|
+
isTested?: boolean | undefined;
|
|
1788
|
+
}[] | undefined;
|
|
1789
|
+
productDefaults?: {
|
|
1790
|
+
specifications?: {
|
|
1791
|
+
value: string;
|
|
1792
|
+
name: string;
|
|
1793
|
+
unit?: string | undefined;
|
|
1794
|
+
}[] | undefined;
|
|
1795
|
+
shippingPaidBy?: string | undefined;
|
|
1796
|
+
seoKeywords?: string[] | undefined;
|
|
1797
|
+
taxCodeId?: string | undefined;
|
|
1798
|
+
defaultFeatures?: string[] | undefined;
|
|
1799
|
+
defaultCondition?: string | undefined;
|
|
1800
|
+
defaultAuthenticity?: "original" | "reproduction" | "unverified" | undefined;
|
|
1801
|
+
inTheBox?: string[] | undefined;
|
|
1802
|
+
priceGuidance?: {
|
|
1803
|
+
currency: "INR";
|
|
1804
|
+
sold?: {
|
|
1805
|
+
max: number;
|
|
1806
|
+
min: number;
|
|
1807
|
+
windowDays: number;
|
|
1808
|
+
median: number;
|
|
1809
|
+
sampleSize: number;
|
|
1810
|
+
byPath?: {
|
|
1811
|
+
standard?: number | undefined;
|
|
1812
|
+
auction?: number | undefined;
|
|
1813
|
+
offer?: number | undefined;
|
|
1814
|
+
} | undefined;
|
|
1815
|
+
} | undefined;
|
|
1816
|
+
market?: {
|
|
1817
|
+
median: number;
|
|
1818
|
+
asOf: string | Date | import("zod").objectInputType<{
|
|
1819
|
+
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
1820
|
+
}, import("zod").ZodTypeAny, "passthrough">;
|
|
1821
|
+
source?: string | undefined;
|
|
1822
|
+
p25?: number | undefined;
|
|
1823
|
+
p75?: number | undefined;
|
|
1824
|
+
sampleSize?: number | undefined;
|
|
1825
|
+
soldOutShare?: number | undefined;
|
|
1826
|
+
} | undefined;
|
|
1827
|
+
lastSold?: {
|
|
1828
|
+
at: string | Date | import("zod").objectInputType<{
|
|
1829
|
+
toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
|
|
1830
|
+
}, import("zod").ZodTypeAny, "passthrough">;
|
|
1831
|
+
amount: number;
|
|
1832
|
+
via?: "standard" | "auction" | "offer" | undefined;
|
|
1833
|
+
} | undefined;
|
|
1834
|
+
} | undefined;
|
|
1835
|
+
seoTitleTemplate?: string | undefined;
|
|
1836
|
+
seoDescriptionTemplate?: string | undefined;
|
|
1837
|
+
weightG?: number | undefined;
|
|
1838
|
+
dimensionsCm?: {
|
|
1839
|
+
h: number;
|
|
1840
|
+
l: number;
|
|
1841
|
+
w: number;
|
|
1842
|
+
} | undefined;
|
|
1843
|
+
fragile?: boolean | undefined;
|
|
1844
|
+
faqTemplates?: {
|
|
1845
|
+
question: string;
|
|
1846
|
+
answer: string;
|
|
1847
|
+
}[] | undefined;
|
|
1848
|
+
} | undefined;
|
|
1343
1849
|
bundlePrice?: number | undefined;
|
|
1344
1850
|
bundleQueryRule?: {
|
|
1345
1851
|
type: "static";
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { CategoryDocument } from "../../features/categories/schemas";
|
|
2
|
+
export interface BrandSeedInput {
|
|
3
|
+
/** Without the `brand-` prefix. */
|
|
4
|
+
slug: string;
|
|
5
|
+
/** 🛑 The display name products match on. Changing it orphans the catalogue. */
|
|
6
|
+
name: string;
|
|
7
|
+
description: string;
|
|
8
|
+
country: string;
|
|
9
|
+
founded?: number;
|
|
10
|
+
website?: string;
|
|
11
|
+
highlights: string[];
|
|
12
|
+
faqs?: {
|
|
13
|
+
question: string;
|
|
14
|
+
answer: string;
|
|
15
|
+
}[];
|
|
16
|
+
/** Shows in the footer brand list. Reserved for the few with real breadth. */
|
|
17
|
+
footer?: boolean;
|
|
18
|
+
featured?: boolean;
|
|
19
|
+
keywords: string[];
|
|
20
|
+
seoDescription: string;
|
|
21
|
+
}
|
|
22
|
+
export declare function brandRow(input: BrandSeedInput, order: number, stamps: {
|
|
23
|
+
createdBy: string;
|
|
24
|
+
createdAt: Date;
|
|
25
|
+
updatedAt: Date;
|
|
26
|
+
}): Partial<CategoryDocument>;
|
|
27
|
+
/** Declaration order is display order; `order` is assigned from it. */
|
|
28
|
+
export declare const BRAND_SEED_INPUTS: BrandSeedInput[];
|
|
29
|
+
export declare function buildBrandRows(stamps: {
|
|
30
|
+
createdBy: string;
|
|
31
|
+
createdAt: Date;
|
|
32
|
+
updatedAt: Date;
|
|
33
|
+
}): Partial<CategoryDocument>[];
|
|
34
|
+
/** Asserted by the seed so a silently dropped row is loud. */
|
|
35
|
+
export declare const BRAND_ROW_COUNT: number;
|