@mohasinac/appkit 4.53.1 → 4.54.0-next.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/.build-stamp.json +5 -5
- package/dist/_internal/client/theme/ThemeProvider.js +15 -1
- package/dist/_internal/server/features/auth/capabilities.js +7 -5
- package/dist/_internal/server/features/categories/price-guidance-resolve.d.ts +66 -0
- package/dist/_internal/server/features/categories/price-guidance-resolve.js +138 -0
- package/dist/_internal/server/features/checkout/supplier-identity.js +28 -6
- package/dist/_internal/server/features/price-index/market.d.ts +57 -0
- package/dist/_internal/server/features/price-index/market.js +120 -0
- package/dist/_internal/server/features/products/list-public.d.ts +12 -0
- package/dist/_internal/server/features/products/list-public.js +10 -1
- package/dist/_internal/server/features/products/listing-tab-counts.d.ts +25 -1
- package/dist/_internal/server/features/products/listing-tab-counts.js +184 -10
- package/dist/_internal/server/features/search/index-build/sources.js +43 -2
- package/dist/_internal/server/features/stores/tabs.d.ts +7 -2
- package/dist/_internal/server/features/stores/tabs.js +5 -3
- package/dist/_internal/server/jobs/core/jobRunners.js +0 -10
- package/dist/_internal/server/jobs/core/onOrderCreate.js +10 -104
- package/dist/_internal/shared/actions/action-registry.d.ts +1 -1
- package/dist/_internal/shared/actions/action-registry.js +128 -0
- package/dist/_internal/shared/features/categories/bundle-copy.d.ts +1 -1
- package/dist/_internal/shared/features/site-settings/supplier-of-record.d.ts +56 -0
- package/dist/_internal/shared/features/site-settings/supplier-of-record.js +57 -0
- package/dist/_internal/shared/listing-types/tiers.d.ts +94 -0
- package/dist/_internal/shared/listing-types/tiers.js +150 -0
- package/dist/_internal/shared/search/match.js +28 -2
- package/dist/cli/index.js +0 -2
- package/dist/client.d.ts +21 -2
- package/dist/client.js +23 -4
- package/dist/constants/api-endpoints.d.ts +28 -0
- package/dist/constants/api-endpoints.js +14 -0
- package/dist/features/account/components/UserOrdersView.js +26 -7
- package/dist/features/addresses/utils/postal-autofill.d.ts +39 -0
- package/dist/features/addresses/utils/postal-autofill.js +54 -0
- package/dist/features/admin/components/AdminStoreEditorView.js +73 -34
- package/dist/features/admin/components/OwnerQuickActions.d.ts +29 -0
- package/dist/features/admin/components/OwnerQuickActions.js +142 -0
- package/dist/features/admin/schemas/admin-editor-forms.d.ts +1 -1
- package/dist/features/admin/schemas/admin-editor-forms.js +4 -1
- package/dist/features/auctions/components/AuctionDetailPageView.js +8 -7
- package/dist/features/auctions/components/MarketplaceAuctionCard.d.ts +11 -1
- package/dist/features/auctions/components/MarketplaceAuctionCard.js +9 -2
- package/dist/features/auth/permissions/constants.d.ts +29 -2
- package/dist/features/auth/permissions/constants.js +68 -1
- package/dist/features/blog/components/BlogFeaturedCard.d.ts +11 -1
- package/dist/features/blog/components/BlogFeaturedCard.js +9 -2
- package/dist/features/cart/components/CartDrawer.js +3 -2
- package/dist/features/cart/components/CartGroupLineRow.js +2 -1
- package/dist/features/cart/hooks/useAddToCart.js +10 -5
- package/dist/features/cart/utils/pending-ops.d.ts +11 -1
- package/dist/features/cart/utils/pending-ops.js +14 -2
- package/dist/features/categories/api/[id]/price-guidance/route.js +1 -24
- package/dist/features/categories/components/BrandDetailPageView.js +15 -6
- package/dist/features/categories/components/BrandDetailTabs.d.ts +7 -1
- package/dist/features/categories/components/BrandDetailTabs.js +18 -3
- package/dist/features/categories/components/BundleCollage.js +3 -2
- package/dist/features/categories/components/BundleItemsPicker.js +3 -4
- package/dist/features/categories/components/CategoryDetailPageView.js +19 -8
- package/dist/features/categories/components/CategoryDetailTabs.d.ts +7 -1
- package/dist/features/categories/components/CategoryDetailTabs.js +29 -7
- package/dist/features/categories/components/CategoryGrid.d.ts +11 -1
- package/dist/features/categories/components/CategoryGrid.js +9 -2
- package/dist/features/checkout/actions/checkout-value-otp-actions.d.ts +10 -5
- package/dist/features/checkout/actions/checkout-value-otp-actions.js +2 -88
- package/dist/features/classified/components/ClassifiedDetailPageView.js +10 -1
- package/dist/features/digital-codes/components/DigitalCodeDetailPageView.js +10 -1
- package/dist/features/events/components/EventCard.d.ts +11 -1
- package/dist/features/events/components/EventCard.js +9 -2
- package/dist/features/layout/AppLayoutShell.js +2 -1
- package/dist/features/layout/BottomActions.d.ts +1 -0
- package/dist/features/layout/BottomActions.js +330 -0
- package/dist/features/layout/BottomChrome.d.ts +45 -0
- package/dist/features/layout/BottomChrome.js +5 -17
- package/dist/features/layout/SideActionDock.js +36 -13
- package/dist/features/layout/index.d.ts +2 -7
- package/dist/features/layout/index.js +7 -7
- package/dist/features/layout/useIsDesktop.d.ts +36 -0
- package/dist/features/layout/useIsDesktop.js +48 -0
- package/dist/features/live/components/LiveItemDetailPageView.js +10 -1
- package/dist/features/media/messages/en.json +67 -67
- package/dist/features/orders/components/YourPurchaseStrip.d.ts +24 -0
- package/dist/features/orders/components/YourPurchaseStrip.js +77 -0
- package/dist/features/orders/components/index.d.ts +2 -1
- package/dist/features/orders/components/index.js +1 -1
- package/dist/features/orders/utils/order-announcement-message.d.ts +18 -0
- package/dist/features/orders/utils/order-announcement-message.js +16 -0
- package/dist/features/orders/utils/payment-proof-message.d.ts +20 -0
- package/dist/features/orders/utils/payment-proof-message.js +17 -0
- package/dist/features/parts/schemas/firestore.d.ts +227 -0
- package/dist/features/parts/schemas/firestore.js +6 -6
- package/dist/features/pre-orders/components/MarketplacePreorderCard.d.ts +11 -1
- package/dist/features/pre-orders/components/MarketplacePreorderCard.js +10 -3
- package/dist/features/pre-orders/components/PreOrderDetailPageView.js +8 -7
- package/dist/features/price-index/components/PriceIndexToolView.d.ts +21 -0
- package/dist/features/price-index/components/PriceIndexToolView.js +230 -27
- package/dist/features/price-index/lookup-target.d.ts +48 -0
- package/dist/features/price-index/lookup-target.js +107 -0
- package/dist/features/products/api/[id]/route.js +8 -1
- package/dist/features/products/api/route.js +16 -4
- package/dist/features/products/components/AvailabilityScopeHint.d.ts +22 -0
- package/dist/features/products/components/AvailabilityScopeHint.js +27 -0
- package/dist/features/products/components/CompareOverlay.d.ts +2 -1
- package/dist/features/products/components/CompareOverlay.js +2 -1
- package/dist/features/products/components/GroupSettingsPanel.js +2 -1
- package/dist/features/products/components/InteractiveProductCard.d.ts +7 -1
- package/dist/features/products/components/InteractiveProductCard.js +16 -4
- package/dist/features/products/components/MarketplaceBundleCard.d.ts +11 -1
- package/dist/features/products/components/MarketplaceBundleCard.js +9 -2
- package/dist/features/products/components/MarketplacePrizeDrawCard.d.ts +11 -1
- package/dist/features/products/components/MarketplacePrizeDrawCard.js +9 -2
- package/dist/features/products/components/ProductDetailPageView.js +34 -4
- package/dist/features/products/components/ProductGrid.d.ts +14 -1
- package/dist/features/products/components/ProductGrid.js +22 -5
- package/dist/features/products/components/ProductsIndexListing.js +2 -2
- package/dist/features/products/components/SublistingCarouselSection.js +2 -1
- package/dist/features/products/repository/products.repository.d.ts +1 -0
- package/dist/features/products/repository/products.repository.js +5 -1
- package/dist/features/products/utils/group-member-image.d.ts +9 -2
- package/dist/features/products/utils/group-member-image.js +2 -1
- package/dist/features/reviews/api/[id]/route.js +83 -23
- package/dist/features/reviews/components/PurchaseReviewAffordance.d.ts +6 -0
- package/dist/features/reviews/components/PurchaseReviewAffordance.js +42 -0
- package/dist/features/reviews/components/ReviewFormDrawer.d.ts +34 -0
- package/dist/features/reviews/components/ReviewFormDrawer.js +127 -0
- package/dist/features/reviews/components/index.d.ts +4 -0
- package/dist/features/reviews/components/index.js +2 -0
- package/dist/features/seller/actions/seller-actions.d.ts +1 -1
- package/dist/features/seller/actions/seller-actions.js +49 -3
- package/dist/features/seller/components/SellerPayoutSettingsView.js +30 -2
- package/dist/features/seller/components/SellerProductShell.d.ts +17 -1
- package/dist/features/seller/components/SellerProductsView.js +3 -2
- package/dist/features/seller/hooks/useStoreListingEntitlements.d.ts +8 -0
- package/dist/features/seller/hooks/useStoreListingEntitlements.js +70 -0
- package/dist/features/stores/components/InteractiveStoreCard.d.ts +11 -1
- package/dist/features/stores/components/InteractiveStoreCard.js +9 -2
- package/dist/features/stores/components/StoreAuctionsListing.js +2 -1
- package/dist/features/stores/components/index.d.ts +0 -2
- package/dist/features/stores/components/index.js +0 -1
- package/dist/features/stores/schemas/index.d.ts +1 -1
- package/dist/features/stores/schemas/index.js +10 -1
- package/dist/features/tester/seed-data/authored/content-discovery__authenticity-checker.js +114 -2
- package/dist/features/tester/seed-data/tester-checklist-seed-data.js +415 -0
- package/dist/index.d.ts +8 -27
- package/dist/index.js +14 -35
- package/dist/next/routing/route-map.d.ts +2 -0
- package/dist/next/routing/route-map.js +9 -0
- package/dist/providers/shipping-shiprocket/index.d.ts +98 -0
- package/dist/providers/shipping-shiprocket/index.js +353 -0
- package/dist/schemas/registry.d.ts +2 -2
- package/dist/security/csp.d.ts +16 -1
- package/dist/security/csp.js +5 -3
- package/dist/seed/_helpers/category-forest.js +27 -0
- package/dist/seed/_helpers/category-parts-glossary-map.js +1816 -86
- package/dist/seed/_helpers/category-parts.d.ts +1 -1
- package/dist/seed/_helpers/category-parts.js +13412 -3020
- package/dist/seed/categories-seed-data.js +48 -6
- package/dist/seed/homepage-sections-seed-data.js +41 -28
- package/dist/seed/model-composition-seed-data.js +6 -8
- package/dist/seed/part-glossary/chunk0.d.ts +9 -0
- package/dist/seed/part-glossary/chunk0.js +35044 -0
- package/dist/seed/part-glossary/chunk1.d.ts +9 -0
- package/dist/seed/part-glossary/chunk1.js +39955 -0
- package/dist/seed/part-glossary/chunk2.d.ts +9 -0
- package/dist/seed/part-glossary/chunk2.js +50335 -0
- package/dist/seed/part-glossary/chunk3.d.ts +9 -0
- package/dist/seed/part-glossary/chunk3.js +52386 -0
- package/dist/seed/part-glossary/chunk4.d.ts +9 -0
- package/dist/seed/part-glossary/chunk4.js +50549 -0
- package/dist/seed/part-glossary-seed-data.d.ts +1 -1
- package/dist/seed/part-glossary-seed-data.js +23 -47483
- package/dist/seed/products-beyblade-x-seed-data.js +36 -1
- package/dist/server.d.ts +6 -8
- package/dist/server.js +16 -20
- package/dist/styles.css +516 -358
- package/dist/tailwind-utilities.css +1 -1
- package/dist/tokens/themes/index.d.ts +3 -1
- package/dist/tokens/themes/index.js +11 -1
- package/dist/tokens/themes/technical-dark.d.ts +30 -0
- package/dist/tokens/themes/technical-dark.js +103 -0
- package/dist/tokens/themes/technical-light.d.ts +22 -0
- package/dist/tokens/themes/technical-light.js +89 -0
- package/dist/tokens/tokens.css +155 -0
- package/dist/ui/components/GatedPrice.js +30 -3
- package/dist/ui/components/GatedPrice.style.css +22 -19
- package/dist/ui/components/QuickCreateModal.style.css +78 -78
- package/dist/ui/forms/FormShell.style.css +260 -260
- package/package.json +1 -1
- package/scripts/seed-cli.mjs +133 -27
- package/dist/_internal/server/jobs/core/whatsappCatalogImport.d.ts +0 -27
- package/dist/_internal/server/jobs/core/whatsappCatalogImport.js +0 -172
- package/dist/_internal/server/jobs/core/whatsappNotify.d.ts +0 -35
- package/dist/_internal/server/jobs/core/whatsappNotify.js +0 -140
- package/dist/features/admin/components/AdminWhatsAppGuideView.d.ts +0 -2
- package/dist/features/admin/components/AdminWhatsAppGuideView.js +0 -35
- package/dist/features/orders/components/MarketplaceOrderCard.d.ts +0 -36
- package/dist/features/orders/components/MarketplaceOrderCard.js +0 -57
- package/dist/features/stores/components/StoreWhatsAppGuideView.d.ts +0 -3
- package/dist/features/stores/components/StoreWhatsAppGuideView.js +0 -12
- package/dist/features/whatsapp-bot/api/send-status/route.d.ts +0 -12
- package/dist/features/whatsapp-bot/api/send-status/route.js +0 -38
- package/dist/features/whatsapp-bot/api/webhook/route.d.ts +0 -12
- package/dist/features/whatsapp-bot/api/webhook/route.js +0 -43
- package/dist/features/whatsapp-bot/components/SellerWhatsAppSettingsView.d.ts +0 -6
- package/dist/features/whatsapp-bot/components/SellerWhatsAppSettingsView.js +0 -270
- package/dist/features/whatsapp-bot/components/WhatsAppChatButton.d.ts +0 -9
- package/dist/features/whatsapp-bot/components/WhatsAppChatButton.js +0 -7
- package/dist/features/whatsapp-bot/components/index.d.ts +0 -3
- package/dist/features/whatsapp-bot/components/index.js +0 -2
- package/dist/features/whatsapp-bot/helpers/payment-proof-message.d.ts +0 -14
- package/dist/features/whatsapp-bot/helpers/payment-proof-message.js +0 -17
- package/dist/features/whatsapp-bot/helpers/whatsapp.d.ts +0 -52
- package/dist/features/whatsapp-bot/helpers/whatsapp.js +0 -283
- package/dist/features/whatsapp-bot/index.d.ts +0 -3
- package/dist/features/whatsapp-bot/index.js +0 -3
- package/dist/features/whatsapp-bot/manifest.d.ts +0 -2
- package/dist/features/whatsapp-bot/manifest.js +0 -13
- package/dist/features/whatsapp-bot/messages/en.json +0 -7
- package/dist/features/whatsapp-bot/server.d.ts +0 -7
- package/dist/features/whatsapp-bot/server.js +0 -7
- package/dist/features/whatsapp-bot/types/index.d.ts +0 -126
- package/dist/features/whatsapp-bot/types/index.js +0 -1
|
@@ -51,10 +51,44 @@ import { seedGallery } from "./_helpers/media.js";
|
|
|
51
51
|
import { PRODUCT_FIELDS } from "../constants/field-names.js";
|
|
52
52
|
import { withFinalSale } from "./_helpers/final-sale-fixtures.js";
|
|
53
53
|
import { withDerivedCategoryNames } from "./_helpers/category-names.js";
|
|
54
|
+
import { buildSearchTxt } from "../utils/search-txt.js";
|
|
54
55
|
const STORE_ID = "store-letitrip-official";
|
|
55
56
|
const STORE_NAME = "LetItRip Official";
|
|
56
57
|
const BRAND_SLUG = "brand-takara-tomy";
|
|
57
58
|
const BRAND = "Takara-Tomy";
|
|
59
|
+
/**
|
|
60
|
+
* Build the `searchTxt` prefix index for a row.
|
|
61
|
+
*
|
|
62
|
+
* 🛑 THIS FILE SHIPPED WITHOUT IT AND EVERY LISTING WAS UNSEARCHABLE.
|
|
63
|
+
*
|
|
64
|
+
* `searchTxt` is the ONLY field the public product search queries. A row
|
|
65
|
+
* without it is not ranked lower — it is absent. Measured on production
|
|
66
|
+
* before this fix: 12 of the 14 real listings had no `searchTxt` at all, and
|
|
67
|
+
* the only two that did were the auction and the pre-order, whose own files
|
|
68
|
+
* already applied a tokeniser. So `?q=aero` returned 1 of the 3 AeroPegasus
|
|
69
|
+
* products and `?q=beyblade` returned 2 of 14, while a nonsense control
|
|
70
|
+
* correctly returned 0 — the search was working perfectly against an index
|
|
71
|
+
* that was almost empty.
|
|
72
|
+
*
|
|
73
|
+
* CLAUDE.md documents this exact trap on this exact pipeline: a wrapper
|
|
74
|
+
* missed when a seed file is created, with no error anywhere, because an
|
|
75
|
+
* absent field is indistinguishable from "no match" at every layer above.
|
|
76
|
+
*
|
|
77
|
+
* 🛑 Applied LAST, after `withDerivedCategoryNames`. The category names are
|
|
78
|
+
* derived by that wrapper, so tokenising before it indexes `undefined` and
|
|
79
|
+
* silently loses every category term ("Basic Line", "Beyblade X Tops") from
|
|
80
|
+
* the index.
|
|
81
|
+
*/
|
|
82
|
+
function withSearchTokens(p) {
|
|
83
|
+
return {
|
|
84
|
+
...p,
|
|
85
|
+
searchTxt: buildSearchTxt([
|
|
86
|
+
p.title, p.description, p.brand, p.brandSlug,
|
|
87
|
+
p.categoryNames, p.tags, p.condition,
|
|
88
|
+
p.specifications?.map((s) => `${s.name} ${s.value}`),
|
|
89
|
+
]),
|
|
90
|
+
};
|
|
91
|
+
}
|
|
58
92
|
const _raw = [
|
|
59
93
|
// ===== Standalone tops =====
|
|
60
94
|
{
|
|
@@ -438,4 +472,5 @@ export const productsBeybladeXSeedData = _raw
|
|
|
438
472
|
seedPurpose: "permanent",
|
|
439
473
|
}))
|
|
440
474
|
.map(withFinalSale)
|
|
441
|
-
.map(withDerivedCategoryNames)
|
|
475
|
+
.map(withDerivedCategoryNames)
|
|
476
|
+
.map(withSearchTokens);
|
package/dist/server.d.ts
CHANGED
|
@@ -289,6 +289,8 @@ export { processRefundAction, type ProcessRefundInput, } from "./_internal/serve
|
|
|
289
289
|
export { computeCheckoutFees, computePayoutDeduction, computeCodHandlingFee, computeWhatsAppNotifyFee, computeGiftWrapFee, computeShipmentProtectionFee, computeSaleProtectionFee, } from "./_internal/shared/fees/calculator";
|
|
290
290
|
export { searchPriceIndex, getPriceIndexBandsForIds, PRICE_INDEX_SEARCH_LIMIT, PRICE_INDEX_MIN_QUERY_LENGTH } from "./_internal/server/features/price-index/search";
|
|
291
291
|
export type { PriceIndexSearchResponse, PriceIndexSearchResult, PriceIndexSearchResultBand, } from "./_internal/server/features/price-index/search";
|
|
292
|
+
export { getPriceIndexMarketForIds } from "./_internal/server/features/price-index/market";
|
|
293
|
+
export type { PriceIndexMarketRow } from "./_internal/server/features/price-index/market";
|
|
292
294
|
export { protectionAvailability, computeProtectionFees, adjudicateClaim, badgesFor, showsRiskNotice, showsSafetyBadge, returnDestination, rtoDestination, PROTECTION_KINDS, } from "./_internal/shared/features/shipping/protections";
|
|
293
295
|
export type { ProtectionKind, ProtectionAvailability, ProtectionTierInput, ProtectionUnavailableReason, ClaimFinding, ClaimOutcome, } from "./_internal/shared/features/shipping/protections";
|
|
294
296
|
export type { FeeCommissionRates, CheckoutFees, PayoutDeduction, CodHandlingFeeRates, WhatsAppNotifyFeeRates, GiftWrapFeeRates, ShipmentProtectionFeeRates, SaleProtectionFeeRates, } from "./_internal/shared/fees/calculator";
|
|
@@ -423,14 +425,6 @@ export { storeProductsGET } from "./features/stores/server";
|
|
|
423
425
|
export { storeReviewsGET } from "./features/stores/server";
|
|
424
426
|
export { storeSlugGET } from "./features/stores/server";
|
|
425
427
|
export { updateStoreAddressForSeller } from "./features/stores/server";
|
|
426
|
-
export { buildCheckoutMessageURL } from "./features/whatsapp-bot/server";
|
|
427
|
-
export { buildStatusMessage } from "./features/whatsapp-bot/server";
|
|
428
|
-
export { buildStatusNotificationURL } from "./features/whatsapp-bot/server";
|
|
429
|
-
export { isAdminNumber } from "./features/whatsapp-bot/server";
|
|
430
|
-
export { parseIncomingWebhookPayload } from "./features/whatsapp-bot/server";
|
|
431
|
-
export { sendWhatsAppMessage } from "./features/whatsapp-bot/server";
|
|
432
|
-
export { sendWhatsAppBusinessMessage, syncProductsToCatalog, buildPurchaseAnnouncementMessage, buildGroupShareLink } from "./features/whatsapp-bot/server";
|
|
433
|
-
export type { WaBusinessSendInput, CatalogSyncProduct, CatalogSyncInput, CatalogSyncResult, PurchaseAnnouncementInput } from "./features/whatsapp-bot/server";
|
|
434
428
|
export { addToWishlist } from "./features/wishlist/server";
|
|
435
429
|
export { getWishlistForUser } from "./features/wishlist/server";
|
|
436
430
|
export { removeFromWishlist } from "./features/wishlist/server";
|
|
@@ -627,3 +621,7 @@ export { promoteStickerTraceRun, isRunPromoted, type PromoteRunInput, type Promo
|
|
|
627
621
|
export { createStickerSheet, attachStickerSheetScan, resolveStickerAssetUrl, measureStickerStorage, STICKER_ASSET_KINDS, STICKER_SHEET_MAX_BYTES, type StickerAssetKind, type SheetUsageRow, type StickerStorageUsage, } from "./_internal/server/features/sticker-trace/sheet-actions";
|
|
628
622
|
export { promoteStickerSheetToListings, type PromoteToListingsInput, type PromoteToListingsResult, } from "./_internal/server/features/sticker-trace/promote-to-listings";
|
|
629
623
|
export { toClientStickerSheet, toClientTraceRun, type ClientStickerSheet, type ClientTraceRun, } from "./_internal/server/features/sticker-trace/adapters";
|
|
624
|
+
export { configurePlatformSupplier, getPlatformSupplier, resetPlatformSupplier, } from "./_internal/shared/features/site-settings/supplier-of-record";
|
|
625
|
+
export type { PlatformSupplierIdentity } from "./_internal/shared/features/site-settings/supplier-of-record";
|
|
626
|
+
export { ShiprocketShippingProvider } from "./providers/shipping-shiprocket/index";
|
|
627
|
+
export type { ShiprocketConfig } from "./providers/shipping-shiprocket/index";
|
package/dist/server.js
CHANGED
|
@@ -846,6 +846,14 @@ export { computeCheckoutFees, computePayoutDeduction, computeCodHandlingFee, com
|
|
|
846
846
|
// client.ts (verify-entries would catch firebase-admin, but the import chain
|
|
847
847
|
// is the thing to keep clean — Root Cause #6).
|
|
848
848
|
export { searchPriceIndex, getPriceIndexBandsForIds, PRICE_INDEX_SEARCH_LIMIT, PRICE_INDEX_MIN_QUERY_LENGTH } from "./_internal/server/features/price-index/search.js";
|
|
849
|
+
/*
|
|
850
|
+
* The MARKET half of the same tool, and a separate export because it is a
|
|
851
|
+
* separate AUTHENTICATED endpoint — the competitor-derived band must not ride
|
|
852
|
+
* the public, edge-cached sold response. The full argument is in that module's
|
|
853
|
+
* own header; the short version is that merging them would either poison a
|
|
854
|
+
* public cache with viewer-dependent content or cost the sold half its cache.
|
|
855
|
+
*/
|
|
856
|
+
export { getPriceIndexMarketForIds } from "./_internal/server/features/price-index/market.js";
|
|
849
857
|
export { protectionAvailability, computeProtectionFees, adjudicateClaim, badgesFor, showsRiskNotice, showsSafetyBadge, returnDestination, rtoDestination, PROTECTION_KINDS, } from "./_internal/shared/features/shipping/protections.js";
|
|
850
858
|
// [SERVER-ONLY] Payout refund deduction action
|
|
851
859
|
export { applyRefundDeductionAction, } from "./_internal/server/features/payouts/actions.js";
|
|
@@ -1242,26 +1250,6 @@ export { storeSlugGET } from "./features/stores/server.js";
|
|
|
1242
1250
|
// updateStoreAddressForSeller - Helper for update store address for seller.
|
|
1243
1251
|
export { updateStoreAddressForSeller } from "./features/stores/server.js";
|
|
1244
1252
|
// [SERVER-ONLY]-Server-only — uses Node.js, Next.js server internals, or third-party server SDKs (auth, email, payment, shipping).
|
|
1245
|
-
// buildCheckoutMessageURL - Helper for build checkout message url.
|
|
1246
|
-
export { buildCheckoutMessageURL } from "./features/whatsapp-bot/server.js";
|
|
1247
|
-
// [SERVER-ONLY]-Server-only — uses Node.js, Next.js server internals, or third-party server SDKs (auth, email, payment, shipping).
|
|
1248
|
-
// buildStatusMessage - Helper for build status message.
|
|
1249
|
-
export { buildStatusMessage } from "./features/whatsapp-bot/server.js";
|
|
1250
|
-
// [SERVER-ONLY]-Server-only — uses Node.js, Next.js server internals, or third-party server SDKs (auth, email, payment, shipping).
|
|
1251
|
-
// buildStatusNotificationURL - Helper for build status notification url.
|
|
1252
|
-
export { buildStatusNotificationURL } from "./features/whatsapp-bot/server.js";
|
|
1253
|
-
// [SERVER-ONLY]-Server-only — uses Node.js, Next.js server internals, or third-party server SDKs (auth, email, payment, shipping).
|
|
1254
|
-
// isAdminNumber - Shared export for is admin number.
|
|
1255
|
-
export { isAdminNumber } from "./features/whatsapp-bot/server.js";
|
|
1256
|
-
// [SERVER-ONLY]-Server-only — uses Node.js, Next.js server internals, or third-party server SDKs (auth, email, payment, shipping).
|
|
1257
|
-
// parseIncomingWebhookPayload - Helper for parse incoming webhook payload.
|
|
1258
|
-
export { parseIncomingWebhookPayload } from "./features/whatsapp-bot/server.js";
|
|
1259
|
-
// [SERVER-ONLY]-Server-only — uses Node.js, Next.js server internals, or third-party server SDKs (auth, email, payment, shipping).
|
|
1260
|
-
// sendWhatsAppMessage - Shared export for send whats app message.
|
|
1261
|
-
export { sendWhatsAppMessage } from "./features/whatsapp-bot/server.js";
|
|
1262
|
-
// [SERVER-ONLY]-Server-only — Meta Cloud API helpers (WA3).
|
|
1263
|
-
export { sendWhatsAppBusinessMessage, syncProductsToCatalog, buildPurchaseAnnouncementMessage, buildGroupShareLink } from "./features/whatsapp-bot/server.js";
|
|
1264
|
-
// [SERVER-ONLY]-Server-only — uses Node.js, Next.js server internals, or third-party server SDKs (auth, email, payment, shipping).
|
|
1265
1253
|
// addToWishlist - Helper for add to wishlist.
|
|
1266
1254
|
export { addToWishlist } from "./features/wishlist/server.js";
|
|
1267
1255
|
// [SERVER-ONLY]-Server-only — uses Node.js, Next.js server internals, or third-party server SDKs (auth, email, payment, shipping).
|
|
@@ -1586,3 +1574,11 @@ export { createStickerSheet, attachStickerSheetScan, resolveStickerAssetUrl, mea
|
|
|
1586
1574
|
*/
|
|
1587
1575
|
export { promoteStickerSheetToListings, } from "./_internal/server/features/sticker-trace/promote-to-listings.js";
|
|
1588
1576
|
export { toClientStickerSheet, toClientTraceRun, } from "./_internal/server/features/sticker-trace/adapters.js";
|
|
1577
|
+
// The platform's statutory identity, injected at boot from appkit.config.js's
|
|
1578
|
+
// `business` block via the consumer's providers.config.ts. See the module
|
|
1579
|
+
// header for why the invoice path must not read it from siteSettings.
|
|
1580
|
+
export { configurePlatformSupplier, getPlatformSupplier, resetPlatformSupplier, } from "./_internal/shared/features/site-settings/supplier-of-record.js";
|
|
1581
|
+
// Shiprocket carrier adapter. 🛑 NEVER exercised against the live API — the
|
|
1582
|
+
// credentials are empty — so it parses every response through Zod and refuses
|
|
1583
|
+
// at construction when unconfigured. See the module header.
|
|
1584
|
+
export { ShiprocketShippingProvider } from "./providers/shipping-shiprocket/index.js";
|