@riverbankcms/sdk 0.139.0 → 0.140.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/README.md +1 -1
- package/dist/{PreviewEditorSidebar-BDeenhi3.mjs → PreviewEditorSidebar-CUyTzd5z.mjs} +4 -4
- package/dist/{PreviewEditorUI-DSRhgjF5.mjs → PreviewEditorUI-Agkw4v5i.mjs} +3 -3
- package/dist/{PreviewQueryProvider-D2K8GLUG.mjs → PreviewQueryProvider-CN0ewic5.mjs} +1 -1
- package/dist/{SdkPreviewModeRuntime-CL7wSnYu.mjs → SdkPreviewModeRuntime-DdbeAdS8.mjs} +22 -8
- package/dist/{SiteChromeCustomizeContext-BhDn-5ir.mjs → SiteChromeCustomizeContext-CqGOz-Kv.mjs} +2053 -1110
- package/dist/_dts/ai/src/contracts/proposals.d.ts +165 -165
- package/dist/_dts/ai/src/contracts/siteStyleProposalSchemas.d.ts +212 -212
- package/dist/_dts/api/src/accessAdmin.d.ts +74 -104
- package/dist/_dts/api/src/aiEndpoints.d.ts +5 -1
- package/dist/_dts/api/src/authSubmission.d.ts +46 -0
- package/dist/_dts/api/src/billing.d.ts +8 -4
- package/dist/_dts/api/src/billingEndpointDefinitions.d.ts +23 -0
- package/dist/_dts/api/src/billingEndpointTypes.d.ts +26 -0
- package/dist/_dts/api/src/blocks.d.ts +2 -0
- package/dist/_dts/api/src/bookingRecords.d.ts +1 -2
- package/dist/_dts/api/src/commercePortalEndpoints.d.ts +8 -1
- package/dist/_dts/api/src/communications.d.ts +0 -1
- package/dist/_dts/api/src/contentRuntime.d.ts +8 -3
- package/dist/_dts/api/src/endpoints.d.ts +93 -64
- package/dist/_dts/api/src/event-destination-policy.d.ts +2 -1
- package/dist/_dts/api/src/footerSettings.d.ts +9 -6
- package/dist/_dts/api/src/index.d.ts +5 -6
- package/dist/_dts/api/src/indexCoreTypes.d.ts +1 -1
- package/dist/_dts/api/src/indexExtendedTypes.d.ts +1 -1
- package/dist/_dts/api/src/mailingListIntegration.d.ts +8 -2
- package/dist/_dts/api/src/navigation/dashboardSettingsNav.d.ts +1 -1
- package/dist/_dts/api/src/navigation/types.d.ts +1 -1
- package/dist/_dts/api/src/onboarding/confirmationResend.d.ts +25 -0
- package/dist/_dts/api/src/onboarding/surfaceData.d.ts +32 -32
- package/dist/_dts/api/src/publicBookingAvailabilityEndpointDefinitions.d.ts +8 -0
- package/dist/_dts/api/src/publicExperience/commerceEndpoints.d.ts +1 -0
- package/dist/_dts/api/src/publicExperience/eventEndpoints.d.ts +11 -3
- package/dist/_dts/api/src/publicExperience/sharedTypes.d.ts +3 -29
- package/dist/_dts/api/src/publicOnboardingAttemptEndpointDefinitions.d.ts +65 -0
- package/dist/_dts/api/src/saveOutcome.d.ts +20 -0
- package/dist/_dts/api/src/sdkContracts.d.ts +3 -22
- package/dist/_dts/api/src/sdkPushContracts.d.ts +18 -0
- package/dist/_dts/api/src/sdkThemeWire.d.ts +44 -44
- package/dist/_dts/api/src/settings/permissions.d.ts +12 -0
- package/dist/_dts/api/src/siteManagementEndpoints.d.ts +9 -5
- package/dist/_dts/api/src/siteOnboarding.d.ts +2 -9
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +2 -4
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +3 -1
- package/dist/_dts/api/src/siteSettings.d.ts +20 -7
- package/dist/_dts/api/src/types.d.ts +77 -77
- package/dist/_dts/api/src/wholeSeriesRuns.d.ts +2 -37
- package/dist/_dts/billing/src/membership/index.d.ts +3 -0
- package/dist/_dts/billing/src/plans/types.d.ts +3 -0
- package/dist/_dts/billing/src/site-arrangements.d.ts +14 -3
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +16 -4
- package/dist/_dts/blocks/src/pageRenderAdmission.d.ts +2 -0
- package/dist/_dts/blocks/src/pageRendererContracts.d.ts +5 -0
- package/dist/_dts/blocks/src/portal/types.d.ts +2 -4
- package/dist/_dts/blocks/src/portal/waitlist-types.d.ts +35 -0
- package/dist/_dts/blocks/src/system/blocks/event-registration.d.ts +2 -0
- package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +42 -0
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +4 -0
- package/dist/_dts/blocks/src/system/data/index.d.ts +2 -2
- package/dist/_dts/blocks/src/system/data/prefetchBlockData.d.ts +2 -1
- package/dist/_dts/blocks/src/system/data/types.d.ts +9 -0
- package/dist/_dts/blocks/src/system/registry.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/api/client.d.ts +0 -28
- package/dist/_dts/blocks/src/system/runtime/api/index.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/api/types/events.d.ts +7 -3
- package/dist/_dts/blocks/src/system/runtime/api/types/portal.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/api/types/waitlist-claims.d.ts +7 -2
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +30 -6
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +15 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/appointment-services.d.ts +43 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationSurface.d.ts +1 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/TicketSelectionStep.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/checkoutRecovery.d.ts +14 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/eventSourceRecovery.d.ts +56 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/types.d.ts +6 -8
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useCheckoutRecovery.d.ts +8 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationSubmit.d.ts +8 -7
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationWizard.d.ts +10 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventSourceRecovery.d.ts +18 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.client.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.interactive.d.ts +24 -6
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.server.d.ts +4 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.interactive.d.ts +6 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.types.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/resolver.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/shared/components/index.d.ts +2 -6
- package/dist/_dts/blocks/src/system/runtime/shared/index.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/shared/useWaitlistClaim.d.ts +2 -0
- package/dist/_dts/commerce/src/purchase/event-registration-errors.d.ts +4 -0
- package/dist/_dts/commerce/src/purchase/orderItemMetadata.d.ts +27 -4
- package/dist/_dts/content-editor/src/controller/EntryControllerProvider.d.ts +2 -1
- package/dist/_dts/content-editor/src/hooks/useBlockAutosave.d.ts +3 -1
- package/dist/_dts/content-editor/src/useFooterComposerState.d.ts +3 -0
- package/dist/_dts/core/src/branded.d.ts +0 -8
- package/dist/_dts/core/src/index.d.ts +1 -0
- package/dist/_dts/core/src/mailing-list-setup-parser.d.ts +1 -1
- package/dist/_dts/core/src/mailing-list-setup.d.ts +14 -1
- package/dist/_dts/core/src/mailing-list-submission.d.ts +7 -27
- package/dist/_dts/core/src/participants.d.ts +2 -29
- package/dist/_dts/core/src/public-experience.d.ts +4 -0
- package/dist/_dts/core/src/public-profile.d.ts +27 -1
- package/dist/_dts/core/src/site-route-target.d.ts +9 -2
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +293 -606
- package/dist/_dts/editor-blocks/src/widgets/mailing-list-targeting/MailingListGlobalSettingsSummary.d.ts +10 -0
- package/dist/_dts/editor-blocks/src/widgets/mailing-list-targeting/MailingListTargetingField.d.ts +3 -2
- package/dist/_dts/editor-blocks/src/widgets/mailing-list-targeting/context.d.ts +3 -2
- package/dist/_dts/editor-blocks/src/widgets/mailing-list-targeting/loaders.d.ts +3 -2
- package/dist/_dts/editor-blocks/src/widgets/mailing-list-targeting/targetingState.d.ts +19 -0
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +14 -20
- package/dist/_dts/sdk/src/rendering/blocks-page-renderer.d.ts +2 -0
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +2 -0
- package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +7 -1
- package/dist/_dts/sdk/src/rendering/helpers/templateContent.d.ts +1 -0
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/theme-core/src/accordions/types.d.ts +3 -3
- package/dist/_dts/theme-core/src/cards/types.d.ts +21 -21
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/header/interactionPalette.d.ts +8 -2
- package/dist/_dts/theme-core/src/header/legacyHeaderVariant.d.ts +2 -2
- package/dist/_dts/theme-core/src/inputs/types.d.ts +2 -2
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +54 -54
- package/dist/_dts/theme-core/src/runtime/buildThemeRuntimeFromBridge.d.ts +1 -4
- package/dist/_dts/theme-core/src/schema.d.ts +84 -84
- package/dist/_dts/theme-core/src/shared/componentStyles.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/backgroundAppearance.d.ts +2 -2
- package/dist/_dts/theme-core/src/surfaces/foregroundInteraction.d.ts +77 -0
- package/dist/_dts/theme-core/src/surfaces/index.d.ts +1 -0
- package/dist/_dts/theme-core/src/typography/generateTypographyCss.d.ts +2 -2
- package/dist/_dts/ui/src/lib/use-delayed-flag.d.ts +9 -0
- package/dist/_dts/ui/src/pending-button.d.ts +10 -0
- package/dist/client/{BookingConsentAgreement-CZvTDtsK.mjs → BookingConsentAgreement-CuKa82V4.mjs} +4 -4
- package/dist/client/{DiscountCodeDisclosure-D-DsLCMU.mjs → DiscountCodeDisclosure-BbYieKWB.mjs} +1 -1
- package/dist/client/{EventCombined.client-dWqgd5ZO.mjs → EventCombined.client-LTfR1Aby.mjs} +6 -6
- package/dist/client/{EventListing.client-BMRa9IYp.mjs → EventListing.client-DUHpYSuo.mjs} +2 -2
- package/dist/client/{LeafletStaticMap-D21W9kBZ.mjs → LeafletStaticMap-CHRupL6m.mjs} +1 -1
- package/dist/client/{accordion-FxF_ta47.mjs → accordion-6HiIFxNL.mjs} +1 -1
- package/dist/client/{bookingForm-YnwW4TGw.mjs → bookingForm-Dlmid43H.mjs} +7 -7
- package/dist/client/bookings.mjs +325 -140
- package/dist/client/{carousel-vng7fFT5.mjs → carousel-DmkZRRq_.mjs} +2 -2
- package/dist/client/{carousel.client-59G_WMr4.mjs → carousel.client-DQTjCVQT.mjs} +1 -1
- package/dist/client/{cart-DEPDsjNk.mjs → cart-CIC24330.mjs} +3 -3
- package/dist/client/{checkout-CZRWu9rW.mjs → checkout-D1Zw9imo.mjs} +3 -3
- package/dist/client/{checkoutUrls-BuseL0dw.mjs → checkoutUrls-FL6lRkrt.mjs} +1 -1
- package/dist/client/client.mjs +1717 -882
- package/dist/client/{colorStyles-CrxJrPjJ.mjs → colorStyles-3013aRAY.mjs} +3 -1
- package/dist/client/{context-DvU_WUmd.mjs → context-Cy1OayHx.mjs} +6 -19
- package/dist/client/{dates-wnPMiRl5.mjs → dates-aDcfoLHr.mjs} +2 -2
- package/dist/client/{eventCalendar-BA3Q5L15.mjs → eventCalendar-FQxMPAjf.mjs} +8 -8
- package/dist/client/{eventCombined-51wgR-1R.mjs → eventCombined-Dr3ac6Hb.mjs} +3 -3
- package/dist/client/{eventDetails-modaetpm.mjs → eventDetails-D-AzUHFQ.mjs} +4 -4
- package/dist/client/{eventListing-D8t2J3Kv.mjs → eventListing-B3XxBf3i.mjs} +3 -3
- package/dist/client/{eventRegistration-CYqtkCE_.mjs → eventRegistration-I6EaokFD.mjs} +500 -152
- package/dist/client/{form-CBKXN5In.mjs → form-BbWckVWY.mjs} +3 -3
- package/dist/client/{headerSection-DylDqNrs.mjs → headerSection-C9qU4Y7x.mjs} +2 -2
- package/dist/client/hooks.mjs +445 -180
- package/dist/client/{locationMap-CvWrG0vZ.mjs → locationMap-CLCShvlG.mjs} +3 -3
- package/dist/client/{media-BOHuueS5.mjs → media-DHpfFwd3.mjs} +1 -1
- package/dist/client/{newsletterForm-Btwk70zw.mjs → newsletterForm-Briukxzi.mjs} +130 -87
- package/dist/client/{pricing-Uzw-GQ6Y.mjs → pricing-Copadu-2.mjs} +1 -1
- package/dist/client/{productDetail-JLcUYKnd.mjs → productDetail-oujlRd-r.mjs} +3 -3
- package/dist/client/{productList-FM0cbUzj.mjs → productList-BRiIRUcd.mjs} +3 -3
- package/dist/client/{propsDecoder-DYzafZb2.mjs → propsDecoder-CB2KS_ko.mjs} +130 -24
- package/dist/client/rendering/client.mjs +911 -400
- package/dist/client/rendering/islands.mjs +19 -19
- package/dist/client/rendering.mjs +1696 -818
- package/dist/client/{scrollToBlock-CvXszexS.mjs → scrollToBlock-B1IS1_ua.mjs} +1 -1
- package/dist/client/{shop-BIcjvy5a.mjs → shop-Vn6yNFED.mjs} +6 -6
- package/dist/client/{shop-commerce-BZQsy7xw.mjs → shop-commerce-BVTqipYp.mjs} +7 -7
- package/dist/client/{shop-commerce-store-D5V7XAb5.mjs → shop-commerce-store-BVnJVy7v.mjs} +1 -1
- package/dist/client/{shopShared-DowkXevB.mjs → shopShared-COIeK77T.mjs} +4 -4
- package/dist/client/{useEventFilters-oMoTw_JE.mjs → useEventFilters-DzIUcS9n.mjs} +7 -7
- package/dist/preview-next/before-render.mjs +119 -64
- package/dist/preview-next/client/runtime.mjs +4 -4
- package/dist/preview-next/keepAlive.mjs +119 -64
- package/dist/preview-next/middleware.mjs +119 -64
- package/dist/{previewAuthStore-COUyAKaX.mjs → previewAuthStore-Gjb6r6vz.mjs} +119 -64
- package/dist/{sdk-runtime-D4k2LSGF.mjs → sdk-runtime-CnCLvZRv.mjs} +2 -2
- package/dist/{separator-UGtpag4Z.mjs → separator-DKDRJ1oH.mjs} +1 -1
- package/dist/server/components.mjs +787 -323
- package/dist/server/config-validation.mjs +328 -79
- package/dist/server/config.mjs +332 -83
- package/dist/server/data.mjs +441 -180
- package/dist/server/index.mjs +126 -66
- package/dist/server/next.mjs +1031 -595
- package/dist/server/page-converter.mjs +183 -74
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +1068 -592
- package/dist/server/rendering.mjs +802 -324
- package/dist/server/routing.mjs +506 -214
- package/dist/server/server.mjs +468 -244
- package/dist/server/theme-bridge.mjs +433 -100
- package/dist/server/theme.mjs +8 -2
- package/dist/styles/index.css +237 -43
- package/package.json +1 -1
- package/dist/_dts/blocks/src/system/runtime/shared/components/BookingOptionCompactRow.d.ts +0 -29
- package/dist/_dts/blocks/src/system/runtime/shared/components/BookingOptionList.d.ts +0 -13
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { i as getAutoAppliedDiscountPreview, n as discountAvailabilityAllowsManualEntry, r as discountAvailabilityHasDiscounts } from "./DiscountCodeDisclosure-
|
|
2
|
+
import { i as getAutoAppliedDiscountPreview, n as discountAvailabilityAllowsManualEntry, r as discountAvailabilityHasDiscounts } from "./DiscountCodeDisclosure-BbYieKWB.mjs";
|
|
3
3
|
import { useEffect, useReducer, useRef } from "react";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/shared/components/CheckIcon.tsx
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { n as useBlockApi } from "./context-
|
|
4
|
-
import { a as CheckIcon, i as StateIcon, n as useDiscountCodeUi, r as TerminalPanel, t as scrollToBlock } from "./scrollToBlock-
|
|
5
|
-
import { t as DiscountCodeDisclosure } from "./DiscountCodeDisclosure-
|
|
2
|
+
import { Pt as assertNever, dt as themeButtonClassName, mn as assertNever$1, o as formatCommercePrice, s as formatInterval, t as defineIslandPropsDecoder } from "./propsDecoder-CB2KS_ko.mjs";
|
|
3
|
+
import { n as useBlockApi } from "./context-Cy1OayHx.mjs";
|
|
4
|
+
import { a as CheckIcon, i as StateIcon, n as useDiscountCodeUi, r as TerminalPanel, t as scrollToBlock } from "./scrollToBlock-B1IS1_ua.mjs";
|
|
5
|
+
import { t as DiscountCodeDisclosure } from "./DiscountCodeDisclosure-BbYieKWB.mjs";
|
|
6
6
|
import { t as FeedbackMessage } from "./FeedbackMessage-CtLvvS_d.mjs";
|
|
7
7
|
import { t as createBodyThemePortalRoot } from "./themePortalRoot-AGs4cE7t.mjs";
|
|
8
8
|
import { n as consumeSearchParams } from "./urlParams-D71VXFGx.mjs";
|
|
9
9
|
import { t as CrossIcon } from "./CrossIcon-Dn1KRKW5.mjs";
|
|
10
|
-
import { _ as MembershipCardView, a as getDiscountApplyFeedback, b as PassesMembershipsSectionView, d as planDirectShopCheckoutRequest, i as getAppliedDiscountCode, m as useTransientShopAddFeedback, n as useDiscountApply, o as initialDiscountApplyState, p as ShopAddFeedback, r as discountApplyReducer, s as isDiscountApplyInFlight, t as mountShopBlockIsland, v as PassCardView, y as PassPurchaseUnavailable } from "./shopShared-
|
|
11
|
-
import { t as addPassToCommerceCart } from "./shop-commerce-store-
|
|
10
|
+
import { _ as MembershipCardView, a as getDiscountApplyFeedback, b as PassesMembershipsSectionView, d as planDirectShopCheckoutRequest, i as getAppliedDiscountCode, m as useTransientShopAddFeedback, n as useDiscountApply, o as initialDiscountApplyState, p as ShopAddFeedback, r as discountApplyReducer, s as isDiscountApplyInFlight, t as mountShopBlockIsland, v as PassCardView, y as PassPurchaseUnavailable } from "./shopShared-COIeK77T.mjs";
|
|
11
|
+
import { t as addPassToCommerceCart } from "./shop-commerce-store-BVnJVy7v.mjs";
|
|
12
12
|
import { t as ModalShell } from "./ModalShell-CqkBvBIC.mjs";
|
|
13
13
|
import React, { useCallback, useEffect, useRef, useState } from "react";
|
|
14
14
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { n as useBlockApi } from "./context-
|
|
4
|
-
import { t as DiscountCodeDisclosure } from "./DiscountCodeDisclosure-
|
|
2
|
+
import { Ft as clearWorkflowFeedback, Mt as RichTextDocSchema, Pt as assertNever, a as buildProductDetailDisplay, d as deriveCommerceCheckoutState, dt as themeButtonClassName, i as buildProductCardDisplay, n as getShopDisplayForItems, o as formatCommercePrice, p as productItemKey, pt as logger, u as buildProductCartItem, zt as reportWorkflowError } from "./propsDecoder-CB2KS_ko.mjs";
|
|
3
|
+
import { n as useBlockApi } from "./context-Cy1OayHx.mjs";
|
|
4
|
+
import { t as DiscountCodeDisclosure } from "./DiscountCodeDisclosure-BbYieKWB.mjs";
|
|
5
5
|
import { t as FeedbackMessage } from "./FeedbackMessage-CtLvvS_d.mjs";
|
|
6
|
-
import { n as RichText, t as buildCheckoutReturnUrls } from "./checkoutUrls-
|
|
6
|
+
import { n as RichText, t as buildCheckoutReturnUrls } from "./checkoutUrls-FL6lRkrt.mjs";
|
|
7
7
|
import { t as consumeSearchParam } from "./urlParams-D71VXFGx.mjs";
|
|
8
|
-
import { t as CarouselNodeClient } from "./carousel.client-
|
|
8
|
+
import { t as CarouselNodeClient } from "./carousel.client-DQTjCVQT.mjs";
|
|
9
9
|
import { t as resolveDedicatedCheckoutPath } from "./checkoutRoute-ClwHwYVA.mjs";
|
|
10
|
-
import { C as ProductGalleryFrameView, S as ProductDetailView, T as VariantSelectView, a as getDiscountApplyFeedback, c as aggregateCartDiscountUiState, f as planUnifiedCheckoutRequest, g as CheckoutShellView, h as CartShellView, i as getAppliedDiscountCode, l as checkoutFormForDiscountUiState, m as useTransientShopAddFeedback, n as useDiscountApply, o as initialDiscountApplyState, p as ShopAddFeedback, r as discountApplyReducer, s as isDiscountApplyInFlight, u as planCartDiscountAvailabilityRequests, w as ProductListSectionView, x as ProductCardView } from "./shopShared-
|
|
11
|
-
import { n as useCommerceCart } from "./shop-commerce-store-
|
|
10
|
+
import { C as ProductGalleryFrameView, S as ProductDetailView, T as VariantSelectView, a as getDiscountApplyFeedback, c as aggregateCartDiscountUiState, f as planUnifiedCheckoutRequest, g as CheckoutShellView, h as CartShellView, i as getAppliedDiscountCode, l as checkoutFormForDiscountUiState, m as useTransientShopAddFeedback, n as useDiscountApply, o as initialDiscountApplyState, p as ShopAddFeedback, r as discountApplyReducer, s as isDiscountApplyInFlight, u as planCartDiscountAvailabilityRequests, w as ProductListSectionView, x as ProductCardView } from "./shopShared-COIeK77T.mjs";
|
|
11
|
+
import { n as useCommerceCart } from "./shop-commerce-store-BVnJVy7v.mjs";
|
|
12
12
|
import * as React$1 from "react";
|
|
13
13
|
import { useEffect, useState } from "react";
|
|
14
14
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { c as EMPTY_COMMERCE_CART_STATE, f as parseStoredCommerceCartState, l as buildPassCartItem, m as reduceCommerceCart } from "./propsDecoder-
|
|
2
|
+
import { c as EMPTY_COMMERCE_CART_STATE, f as parseStoredCommerceCartState, l as buildPassCartItem, m as reduceCommerceCart } from "./propsDecoder-CB2KS_ko.mjs";
|
|
3
3
|
import * as React$1 from "react";
|
|
4
4
|
//#region ../blocks/src/system/runtime/nodes/shop-commerce-store.ts
|
|
5
5
|
const EMPTY_STATE = EMPTY_COMMERCE_CART_STATE;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { t as BlockApiProvider } from "./context-
|
|
5
|
-
import { i as getAutoAppliedDiscountPreview, n as discountAvailabilityAllowsManualEntry, r as discountAvailabilityHasDiscounts } from "./DiscountCodeDisclosure-
|
|
2
|
+
import { D as ok, E as err } from "./colorStyles-3013aRAY.mjs";
|
|
3
|
+
import { Pt as assertNever } from "./propsDecoder-CB2KS_ko.mjs";
|
|
4
|
+
import { t as BlockApiProvider } from "./context-Cy1OayHx.mjs";
|
|
5
|
+
import { i as getAutoAppliedDiscountPreview, n as discountAvailabilityAllowsManualEntry, r as discountAvailabilityHasDiscounts } from "./DiscountCodeDisclosure-BbYieKWB.mjs";
|
|
6
6
|
import { t as FeedbackMessage } from "./FeedbackMessage-CtLvvS_d.mjs";
|
|
7
7
|
import { t as mountReactIsland } from "./reactMount-SY8AVRof.mjs";
|
|
8
8
|
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-UNsfPcYq.mjs";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { d as hexToRgb, u as relativeLuminance } from "./colorStyles-
|
|
3
|
-
import { A as
|
|
4
|
-
import { a as getCurrentResolveImageUrlContext, i as computeMediaTransformStyle, l as resolveMediaNodeResponsiveImage, n as MediaPlaceholder, o as renderAudio, s as renderVideo, t as ImagePresets } from "./media-
|
|
5
|
-
import { o as formatEventRemainingPlaces, t as formatEventPrice } from "./pricing-
|
|
6
|
-
import { a as formatTime, d as resolveEventLinkProps, i as formatEventNextDateFact, n as formatEventCompactDateRail, t as formatDate, u as resolveEventCta } from "./dates-
|
|
7
|
-
import { n as useBlockApi } from "./context-
|
|
8
|
-
import { t as LeafletStaticMap } from "./LeafletStaticMap-
|
|
2
|
+
import { d as hexToRgb, u as relativeLuminance } from "./colorStyles-3013aRAY.mjs";
|
|
3
|
+
import { A as SEMANTIC_SPACING_VALUES, G as normalizeOptionalId, H as getEventRuntimeFiltersKey, M as resolveSpacing, Pt as assertNever, U as normalizeCsvIds, W as normalizeCsvString, ct as isCssColorLiteral, dt as themeButtonClassName, ft as normalizeCardRole, j as isSemanticSpacing, lt as resolveOnColorForThemeToken, st as boxBackgroundSchema, ut as resolveTokenOrCssColorValue } from "./propsDecoder-CB2KS_ko.mjs";
|
|
4
|
+
import { a as getCurrentResolveImageUrlContext, i as computeMediaTransformStyle, l as resolveMediaNodeResponsiveImage, n as MediaPlaceholder, o as renderAudio, s as renderVideo, t as ImagePresets } from "./media-DHpfFwd3.mjs";
|
|
5
|
+
import { o as formatEventRemainingPlaces, t as formatEventPrice } from "./pricing-Copadu-2.mjs";
|
|
6
|
+
import { a as formatTime, d as resolveEventLinkProps, i as formatEventNextDateFact, n as formatEventCompactDateRail, t as formatDate, u as resolveEventCta } from "./dates-aDcfoLHr.mjs";
|
|
7
|
+
import { n as useBlockApi } from "./context-Cy1OayHx.mjs";
|
|
8
|
+
import { t as LeafletStaticMap } from "./LeafletStaticMap-CHRupL6m.mjs";
|
|
9
9
|
import { useCallback, useEffect, useId, useMemo, useReducer, useRef, useState } from "react";
|
|
10
10
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
11
11
|
//#region ../theme-core/src/palette/utils/textColor.ts
|
|
@@ -1462,6 +1462,14 @@ const PUBLIC_BOOKING_AVAILABILITY_ENDPOINT_DEFINITIONS = defineEndpointDefinitio
|
|
|
1462
1462
|
auth: "public",
|
|
1463
1463
|
responseKind: "json"
|
|
1464
1464
|
},
|
|
1465
|
+
getPublicBookingServiceBySlug: {
|
|
1466
|
+
path: "/public/bookings/services/by-slug/{slug}",
|
|
1467
|
+
method: "GET",
|
|
1468
|
+
revalidate: publicReadFreshnessSeconds("getPublicBookingService"),
|
|
1469
|
+
tags: [TAG_TEMPLATES.publicBookingServices],
|
|
1470
|
+
auth: "public",
|
|
1471
|
+
responseKind: "json"
|
|
1472
|
+
},
|
|
1465
1473
|
getPublicBookingResourcesReference: {
|
|
1466
1474
|
path: "/public/bookings/resources/reference",
|
|
1467
1475
|
method: "GET",
|
|
@@ -2014,11 +2022,105 @@ const PUBLIC_READ_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
2014
2022
|
responseKind: "json"
|
|
2015
2023
|
}
|
|
2016
2024
|
});
|
|
2025
|
+
//#endregion
|
|
2026
|
+
//#region ../api/src/publicOnboardingAttemptEndpointDefinitions.ts
|
|
2027
|
+
/**
|
|
2028
|
+
* The anonymous onboarding attempt, addressed by its opaque resume token.
|
|
2029
|
+
*
|
|
2030
|
+
* Every route here is reached before there is an account, so none of them can
|
|
2031
|
+
* be scoped to a site or a user: the token is the whole credential. They are
|
|
2032
|
+
* kept together so that stays obvious.
|
|
2033
|
+
*/
|
|
2034
|
+
const PUBLIC_ONBOARDING_ATTEMPT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
2035
|
+
createPublicOnboardingAttempt: {
|
|
2036
|
+
path: "/public/onboarding/attempts",
|
|
2037
|
+
method: "POST",
|
|
2038
|
+
auth: "public",
|
|
2039
|
+
errors: [],
|
|
2040
|
+
responseKind: "json"
|
|
2041
|
+
},
|
|
2042
|
+
createPublicOnboardingLogoUploadUrl: {
|
|
2043
|
+
path: "/public/onboarding/attempts/{attemptToken}/logo-upload-url",
|
|
2044
|
+
method: "POST",
|
|
2045
|
+
auth: "public",
|
|
2046
|
+
errors: [],
|
|
2047
|
+
responseKind: "json"
|
|
2048
|
+
},
|
|
2049
|
+
uploadPublicOnboardingLogo: {
|
|
2050
|
+
path: "/public/onboarding/attempts/{attemptToken}/logo",
|
|
2051
|
+
method: "POST",
|
|
2052
|
+
auth: "public",
|
|
2053
|
+
errors: [],
|
|
2054
|
+
responseKind: "json"
|
|
2055
|
+
},
|
|
2056
|
+
getPublicOnboardingAttempt: {
|
|
2057
|
+
path: "/public/onboarding/attempts/{attemptToken}",
|
|
2058
|
+
method: "GET",
|
|
2059
|
+
auth: "public",
|
|
2060
|
+
errors: [],
|
|
2061
|
+
responseKind: "json"
|
|
2062
|
+
},
|
|
2063
|
+
getPublicOnboardingAttemptProgress: {
|
|
2064
|
+
path: "/public/onboarding/attempts/{attemptToken}/status",
|
|
2065
|
+
method: "GET",
|
|
2066
|
+
auth: "public",
|
|
2067
|
+
errors: [],
|
|
2068
|
+
responseKind: "json"
|
|
2069
|
+
},
|
|
2070
|
+
updatePublicOnboardingAttempt: {
|
|
2071
|
+
path: "/public/onboarding/attempts/{attemptToken}",
|
|
2072
|
+
method: "PATCH",
|
|
2073
|
+
auth: "public",
|
|
2074
|
+
errors: [],
|
|
2075
|
+
responseKind: "json"
|
|
2076
|
+
},
|
|
2077
|
+
runPublicOnboardingAttempt: {
|
|
2078
|
+
path: "/public/onboarding/attempts/{attemptToken}/run",
|
|
2079
|
+
method: "POST",
|
|
2080
|
+
auth: "public",
|
|
2081
|
+
errors: [],
|
|
2082
|
+
responseKind: "json"
|
|
2083
|
+
},
|
|
2084
|
+
resendPublicOnboardingAttemptConfirmation: {
|
|
2085
|
+
path: "/public/onboarding/attempts/{attemptToken}/resend-confirmation",
|
|
2086
|
+
method: "POST",
|
|
2087
|
+
auth: "public",
|
|
2088
|
+
errors: [],
|
|
2089
|
+
responseKind: "json"
|
|
2090
|
+
}
|
|
2091
|
+
});
|
|
2092
|
+
//#endregion
|
|
2093
|
+
//#region ../api/src/billingEndpointDefinitions.ts
|
|
2094
|
+
const BILLING_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
2095
|
+
adminChangePlan: {
|
|
2096
|
+
path: "/admin/billing/plan",
|
|
2097
|
+
method: "POST",
|
|
2098
|
+
tags: ["admin", "billing"],
|
|
2099
|
+
auth: "admin",
|
|
2100
|
+
responseKind: "json"
|
|
2101
|
+
},
|
|
2102
|
+
changePlan: {
|
|
2103
|
+
path: "/billing/plan/change",
|
|
2104
|
+
method: "POST",
|
|
2105
|
+
tags: ["billing"],
|
|
2106
|
+
auth: "user",
|
|
2107
|
+
responseKind: "json"
|
|
2108
|
+
},
|
|
2109
|
+
createBillingPortalSession: {
|
|
2110
|
+
path: "/billing/portal/session",
|
|
2111
|
+
method: "POST",
|
|
2112
|
+
tags: ["billing"],
|
|
2113
|
+
auth: "user",
|
|
2114
|
+
responseKind: "json"
|
|
2115
|
+
}
|
|
2116
|
+
});
|
|
2017
2117
|
const API_ENDPOINTS = {
|
|
2018
2118
|
...ACCOUNT_ENDPOINT_DEFINITIONS,
|
|
2119
|
+
...PUBLIC_ONBOARDING_ATTEMPT_ENDPOINT_DEFINITIONS,
|
|
2019
2120
|
...PUBLIC_EVENT_ENDPOINT_DEFINITIONS,
|
|
2020
2121
|
...GIFTING_ENDPOINT_DEFINITIONS,
|
|
2021
2122
|
...PUBLIC_READ_ENDPOINT_DEFINITIONS,
|
|
2123
|
+
...BILLING_ENDPOINT_DEFINITIONS,
|
|
2022
2124
|
aiContentUpdateChat: {
|
|
2023
2125
|
path: "/ai/content-update-chat",
|
|
2024
2126
|
method: "POST",
|
|
@@ -2172,55 +2274,6 @@ const API_ENDPOINTS = {
|
|
|
2172
2274
|
errors: [],
|
|
2173
2275
|
responseKind: "json"
|
|
2174
2276
|
},
|
|
2175
|
-
createPublicOnboardingAttempt: {
|
|
2176
|
-
path: "/public/onboarding/attempts",
|
|
2177
|
-
method: "POST",
|
|
2178
|
-
auth: "public",
|
|
2179
|
-
errors: [],
|
|
2180
|
-
responseKind: "json"
|
|
2181
|
-
},
|
|
2182
|
-
createPublicOnboardingLogoUploadUrl: {
|
|
2183
|
-
path: "/public/onboarding/attempts/{attemptToken}/logo-upload-url",
|
|
2184
|
-
method: "POST",
|
|
2185
|
-
auth: "public",
|
|
2186
|
-
errors: [],
|
|
2187
|
-
responseKind: "json"
|
|
2188
|
-
},
|
|
2189
|
-
uploadPublicOnboardingLogo: {
|
|
2190
|
-
path: "/public/onboarding/attempts/{attemptToken}/logo",
|
|
2191
|
-
method: "POST",
|
|
2192
|
-
auth: "public",
|
|
2193
|
-
errors: [],
|
|
2194
|
-
responseKind: "json"
|
|
2195
|
-
},
|
|
2196
|
-
getPublicOnboardingAttempt: {
|
|
2197
|
-
path: "/public/onboarding/attempts/{attemptToken}",
|
|
2198
|
-
method: "GET",
|
|
2199
|
-
auth: "public",
|
|
2200
|
-
errors: [],
|
|
2201
|
-
responseKind: "json"
|
|
2202
|
-
},
|
|
2203
|
-
getPublicOnboardingAttemptProgress: {
|
|
2204
|
-
path: "/public/onboarding/attempts/{attemptToken}/status",
|
|
2205
|
-
method: "GET",
|
|
2206
|
-
auth: "public",
|
|
2207
|
-
errors: [],
|
|
2208
|
-
responseKind: "json"
|
|
2209
|
-
},
|
|
2210
|
-
updatePublicOnboardingAttempt: {
|
|
2211
|
-
path: "/public/onboarding/attempts/{attemptToken}",
|
|
2212
|
-
method: "PATCH",
|
|
2213
|
-
auth: "public",
|
|
2214
|
-
errors: [],
|
|
2215
|
-
responseKind: "json"
|
|
2216
|
-
},
|
|
2217
|
-
runPublicOnboardingAttempt: {
|
|
2218
|
-
path: "/public/onboarding/attempts/{attemptToken}/run",
|
|
2219
|
-
method: "POST",
|
|
2220
|
-
auth: "public",
|
|
2221
|
-
errors: [],
|
|
2222
|
-
responseKind: "json"
|
|
2223
|
-
},
|
|
2224
2277
|
aiSiteWizardSuggestGoals: {
|
|
2225
2278
|
path: "/sites/{siteId}/ai/site-wizard/goals",
|
|
2226
2279
|
method: "POST",
|
|
@@ -3736,20 +3789,6 @@ const API_ENDPOINTS = {
|
|
|
3736
3789
|
auth: "admin",
|
|
3737
3790
|
responseKind: "json"
|
|
3738
3791
|
},
|
|
3739
|
-
adminChangePlan: {
|
|
3740
|
-
path: "/admin/billing/plan",
|
|
3741
|
-
method: "POST",
|
|
3742
|
-
tags: ["admin", "billing"],
|
|
3743
|
-
auth: "admin",
|
|
3744
|
-
responseKind: "json"
|
|
3745
|
-
},
|
|
3746
|
-
changePlan: {
|
|
3747
|
-
path: "/billing/plan/change",
|
|
3748
|
-
method: "POST",
|
|
3749
|
-
tags: ["billing"],
|
|
3750
|
-
auth: "user",
|
|
3751
|
-
responseKind: "json"
|
|
3752
|
-
},
|
|
3753
3792
|
mfaTotpEnroll: {
|
|
3754
3793
|
path: "/auth/mfa/totp/enroll",
|
|
3755
3794
|
method: "POST",
|
|
@@ -4098,7 +4137,12 @@ const API_ENDPOINTS = {
|
|
|
4098
4137
|
path: "/public/sites/{siteId}/sitemap",
|
|
4099
4138
|
method: "GET",
|
|
4100
4139
|
revalidate: 60,
|
|
4101
|
-
tags: [
|
|
4140
|
+
tags: [
|
|
4141
|
+
TAG_TEMPLATES.siteRoutableContent,
|
|
4142
|
+
TAG_TEMPLATES.siteSettings,
|
|
4143
|
+
TAG_TEMPLATES.publicEvents,
|
|
4144
|
+
TAG_TEMPLATES.publicBookingServices
|
|
4145
|
+
],
|
|
4102
4146
|
auth: "public",
|
|
4103
4147
|
responseKind: "json"
|
|
4104
4148
|
},
|
|
@@ -7417,6 +7461,17 @@ const API_ENDPOINTS = {
|
|
|
7417
7461
|
auth: "public",
|
|
7418
7462
|
responseKind: "json"
|
|
7419
7463
|
},
|
|
7464
|
+
portalCancelWaitlistEntry: {
|
|
7465
|
+
path: "/portal/waitlists/{entryId}/cancel",
|
|
7466
|
+
method: "POST",
|
|
7467
|
+
auth: "public",
|
|
7468
|
+
responseKind: "json",
|
|
7469
|
+
errors: [
|
|
7470
|
+
"resource:not_found",
|
|
7471
|
+
"resource:conflict",
|
|
7472
|
+
"server:internal_error"
|
|
7473
|
+
]
|
|
7474
|
+
},
|
|
7420
7475
|
portalGetEventGuests: {
|
|
7421
7476
|
path: "/portal/events/{registrationId}/guests",
|
|
7422
7477
|
method: "GET",
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { a as usePreviewLayout, i as useOptionalPreviewLayout, n as createPreviewQueryClient, r as PreviewLayoutProvider, t as PreviewQueryProvider } from "../../PreviewQueryProvider-
|
|
2
|
+
import { a as usePreviewLayout, i as useOptionalPreviewLayout, n as createPreviewQueryClient, r as PreviewLayoutProvider, t as PreviewQueryProvider } from "../../PreviewQueryProvider-CN0ewic5.mjs";
|
|
3
3
|
import React from "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region src/preview-next/client/runtime.tsx
|
|
6
6
|
const LazySdkPreviewMode = React.lazy(async () => {
|
|
7
|
-
return { default: (await import("../../SdkPreviewModeRuntime-
|
|
7
|
+
return { default: (await import("../../SdkPreviewModeRuntime-DdbeAdS8.mjs").then((n) => n.n)).SdkPreviewModeRuntime };
|
|
8
8
|
});
|
|
9
9
|
const LazyPreviewShell = React.lazy(async () => {
|
|
10
|
-
return { default: (await import("../../sdk-runtime-
|
|
10
|
+
return { default: (await import("../../sdk-runtime-CnCLvZRv.mjs")).PreviewShell };
|
|
11
11
|
});
|
|
12
12
|
const LazyPreviewShellLayout = React.lazy(async () => {
|
|
13
|
-
return { default: (await import("../../sdk-runtime-
|
|
13
|
+
return { default: (await import("../../sdk-runtime-CnCLvZRv.mjs")).PreviewShellLayout };
|
|
14
14
|
});
|
|
15
15
|
function SdkPreviewMode(props) {
|
|
16
16
|
return /* @__PURE__ */ jsx(React.Suspense, {
|
|
@@ -1492,6 +1492,14 @@ const PUBLIC_BOOKING_AVAILABILITY_ENDPOINT_DEFINITIONS = defineEndpointDefinitio
|
|
|
1492
1492
|
auth: "public",
|
|
1493
1493
|
responseKind: "json"
|
|
1494
1494
|
},
|
|
1495
|
+
getPublicBookingServiceBySlug: {
|
|
1496
|
+
path: "/public/bookings/services/by-slug/{slug}",
|
|
1497
|
+
method: "GET",
|
|
1498
|
+
revalidate: publicReadFreshnessSeconds("getPublicBookingService"),
|
|
1499
|
+
tags: [TAG_TEMPLATES.publicBookingServices],
|
|
1500
|
+
auth: "public",
|
|
1501
|
+
responseKind: "json"
|
|
1502
|
+
},
|
|
1495
1503
|
getPublicBookingResourcesReference: {
|
|
1496
1504
|
path: "/public/bookings/resources/reference",
|
|
1497
1505
|
method: "GET",
|
|
@@ -2044,11 +2052,105 @@ const PUBLIC_READ_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
2044
2052
|
responseKind: "json"
|
|
2045
2053
|
}
|
|
2046
2054
|
});
|
|
2055
|
+
//#endregion
|
|
2056
|
+
//#region ../api/src/publicOnboardingAttemptEndpointDefinitions.ts
|
|
2057
|
+
/**
|
|
2058
|
+
* The anonymous onboarding attempt, addressed by its opaque resume token.
|
|
2059
|
+
*
|
|
2060
|
+
* Every route here is reached before there is an account, so none of them can
|
|
2061
|
+
* be scoped to a site or a user: the token is the whole credential. They are
|
|
2062
|
+
* kept together so that stays obvious.
|
|
2063
|
+
*/
|
|
2064
|
+
const PUBLIC_ONBOARDING_ATTEMPT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
2065
|
+
createPublicOnboardingAttempt: {
|
|
2066
|
+
path: "/public/onboarding/attempts",
|
|
2067
|
+
method: "POST",
|
|
2068
|
+
auth: "public",
|
|
2069
|
+
errors: [],
|
|
2070
|
+
responseKind: "json"
|
|
2071
|
+
},
|
|
2072
|
+
createPublicOnboardingLogoUploadUrl: {
|
|
2073
|
+
path: "/public/onboarding/attempts/{attemptToken}/logo-upload-url",
|
|
2074
|
+
method: "POST",
|
|
2075
|
+
auth: "public",
|
|
2076
|
+
errors: [],
|
|
2077
|
+
responseKind: "json"
|
|
2078
|
+
},
|
|
2079
|
+
uploadPublicOnboardingLogo: {
|
|
2080
|
+
path: "/public/onboarding/attempts/{attemptToken}/logo",
|
|
2081
|
+
method: "POST",
|
|
2082
|
+
auth: "public",
|
|
2083
|
+
errors: [],
|
|
2084
|
+
responseKind: "json"
|
|
2085
|
+
},
|
|
2086
|
+
getPublicOnboardingAttempt: {
|
|
2087
|
+
path: "/public/onboarding/attempts/{attemptToken}",
|
|
2088
|
+
method: "GET",
|
|
2089
|
+
auth: "public",
|
|
2090
|
+
errors: [],
|
|
2091
|
+
responseKind: "json"
|
|
2092
|
+
},
|
|
2093
|
+
getPublicOnboardingAttemptProgress: {
|
|
2094
|
+
path: "/public/onboarding/attempts/{attemptToken}/status",
|
|
2095
|
+
method: "GET",
|
|
2096
|
+
auth: "public",
|
|
2097
|
+
errors: [],
|
|
2098
|
+
responseKind: "json"
|
|
2099
|
+
},
|
|
2100
|
+
updatePublicOnboardingAttempt: {
|
|
2101
|
+
path: "/public/onboarding/attempts/{attemptToken}",
|
|
2102
|
+
method: "PATCH",
|
|
2103
|
+
auth: "public",
|
|
2104
|
+
errors: [],
|
|
2105
|
+
responseKind: "json"
|
|
2106
|
+
},
|
|
2107
|
+
runPublicOnboardingAttempt: {
|
|
2108
|
+
path: "/public/onboarding/attempts/{attemptToken}/run",
|
|
2109
|
+
method: "POST",
|
|
2110
|
+
auth: "public",
|
|
2111
|
+
errors: [],
|
|
2112
|
+
responseKind: "json"
|
|
2113
|
+
},
|
|
2114
|
+
resendPublicOnboardingAttemptConfirmation: {
|
|
2115
|
+
path: "/public/onboarding/attempts/{attemptToken}/resend-confirmation",
|
|
2116
|
+
method: "POST",
|
|
2117
|
+
auth: "public",
|
|
2118
|
+
errors: [],
|
|
2119
|
+
responseKind: "json"
|
|
2120
|
+
}
|
|
2121
|
+
});
|
|
2122
|
+
//#endregion
|
|
2123
|
+
//#region ../api/src/billingEndpointDefinitions.ts
|
|
2124
|
+
const BILLING_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
2125
|
+
adminChangePlan: {
|
|
2126
|
+
path: "/admin/billing/plan",
|
|
2127
|
+
method: "POST",
|
|
2128
|
+
tags: ["admin", "billing"],
|
|
2129
|
+
auth: "admin",
|
|
2130
|
+
responseKind: "json"
|
|
2131
|
+
},
|
|
2132
|
+
changePlan: {
|
|
2133
|
+
path: "/billing/plan/change",
|
|
2134
|
+
method: "POST",
|
|
2135
|
+
tags: ["billing"],
|
|
2136
|
+
auth: "user",
|
|
2137
|
+
responseKind: "json"
|
|
2138
|
+
},
|
|
2139
|
+
createBillingPortalSession: {
|
|
2140
|
+
path: "/billing/portal/session",
|
|
2141
|
+
method: "POST",
|
|
2142
|
+
tags: ["billing"],
|
|
2143
|
+
auth: "user",
|
|
2144
|
+
responseKind: "json"
|
|
2145
|
+
}
|
|
2146
|
+
});
|
|
2047
2147
|
const API_ENDPOINTS = {
|
|
2048
2148
|
...ACCOUNT_ENDPOINT_DEFINITIONS,
|
|
2149
|
+
...PUBLIC_ONBOARDING_ATTEMPT_ENDPOINT_DEFINITIONS,
|
|
2049
2150
|
...PUBLIC_EVENT_ENDPOINT_DEFINITIONS,
|
|
2050
2151
|
...GIFTING_ENDPOINT_DEFINITIONS,
|
|
2051
2152
|
...PUBLIC_READ_ENDPOINT_DEFINITIONS,
|
|
2153
|
+
...BILLING_ENDPOINT_DEFINITIONS,
|
|
2052
2154
|
aiContentUpdateChat: {
|
|
2053
2155
|
path: "/ai/content-update-chat",
|
|
2054
2156
|
method: "POST",
|
|
@@ -2202,55 +2304,6 @@ const API_ENDPOINTS = {
|
|
|
2202
2304
|
errors: [],
|
|
2203
2305
|
responseKind: "json"
|
|
2204
2306
|
},
|
|
2205
|
-
createPublicOnboardingAttempt: {
|
|
2206
|
-
path: "/public/onboarding/attempts",
|
|
2207
|
-
method: "POST",
|
|
2208
|
-
auth: "public",
|
|
2209
|
-
errors: [],
|
|
2210
|
-
responseKind: "json"
|
|
2211
|
-
},
|
|
2212
|
-
createPublicOnboardingLogoUploadUrl: {
|
|
2213
|
-
path: "/public/onboarding/attempts/{attemptToken}/logo-upload-url",
|
|
2214
|
-
method: "POST",
|
|
2215
|
-
auth: "public",
|
|
2216
|
-
errors: [],
|
|
2217
|
-
responseKind: "json"
|
|
2218
|
-
},
|
|
2219
|
-
uploadPublicOnboardingLogo: {
|
|
2220
|
-
path: "/public/onboarding/attempts/{attemptToken}/logo",
|
|
2221
|
-
method: "POST",
|
|
2222
|
-
auth: "public",
|
|
2223
|
-
errors: [],
|
|
2224
|
-
responseKind: "json"
|
|
2225
|
-
},
|
|
2226
|
-
getPublicOnboardingAttempt: {
|
|
2227
|
-
path: "/public/onboarding/attempts/{attemptToken}",
|
|
2228
|
-
method: "GET",
|
|
2229
|
-
auth: "public",
|
|
2230
|
-
errors: [],
|
|
2231
|
-
responseKind: "json"
|
|
2232
|
-
},
|
|
2233
|
-
getPublicOnboardingAttemptProgress: {
|
|
2234
|
-
path: "/public/onboarding/attempts/{attemptToken}/status",
|
|
2235
|
-
method: "GET",
|
|
2236
|
-
auth: "public",
|
|
2237
|
-
errors: [],
|
|
2238
|
-
responseKind: "json"
|
|
2239
|
-
},
|
|
2240
|
-
updatePublicOnboardingAttempt: {
|
|
2241
|
-
path: "/public/onboarding/attempts/{attemptToken}",
|
|
2242
|
-
method: "PATCH",
|
|
2243
|
-
auth: "public",
|
|
2244
|
-
errors: [],
|
|
2245
|
-
responseKind: "json"
|
|
2246
|
-
},
|
|
2247
|
-
runPublicOnboardingAttempt: {
|
|
2248
|
-
path: "/public/onboarding/attempts/{attemptToken}/run",
|
|
2249
|
-
method: "POST",
|
|
2250
|
-
auth: "public",
|
|
2251
|
-
errors: [],
|
|
2252
|
-
responseKind: "json"
|
|
2253
|
-
},
|
|
2254
2307
|
aiSiteWizardSuggestGoals: {
|
|
2255
2308
|
path: "/sites/{siteId}/ai/site-wizard/goals",
|
|
2256
2309
|
method: "POST",
|
|
@@ -3766,20 +3819,6 @@ const API_ENDPOINTS = {
|
|
|
3766
3819
|
auth: "admin",
|
|
3767
3820
|
responseKind: "json"
|
|
3768
3821
|
},
|
|
3769
|
-
adminChangePlan: {
|
|
3770
|
-
path: "/admin/billing/plan",
|
|
3771
|
-
method: "POST",
|
|
3772
|
-
tags: ["admin", "billing"],
|
|
3773
|
-
auth: "admin",
|
|
3774
|
-
responseKind: "json"
|
|
3775
|
-
},
|
|
3776
|
-
changePlan: {
|
|
3777
|
-
path: "/billing/plan/change",
|
|
3778
|
-
method: "POST",
|
|
3779
|
-
tags: ["billing"],
|
|
3780
|
-
auth: "user",
|
|
3781
|
-
responseKind: "json"
|
|
3782
|
-
},
|
|
3783
3822
|
mfaTotpEnroll: {
|
|
3784
3823
|
path: "/auth/mfa/totp/enroll",
|
|
3785
3824
|
method: "POST",
|
|
@@ -4128,7 +4167,12 @@ const API_ENDPOINTS = {
|
|
|
4128
4167
|
path: "/public/sites/{siteId}/sitemap",
|
|
4129
4168
|
method: "GET",
|
|
4130
4169
|
revalidate: 60,
|
|
4131
|
-
tags: [
|
|
4170
|
+
tags: [
|
|
4171
|
+
TAG_TEMPLATES.siteRoutableContent,
|
|
4172
|
+
TAG_TEMPLATES.siteSettings,
|
|
4173
|
+
TAG_TEMPLATES.publicEvents,
|
|
4174
|
+
TAG_TEMPLATES.publicBookingServices
|
|
4175
|
+
],
|
|
4132
4176
|
auth: "public",
|
|
4133
4177
|
responseKind: "json"
|
|
4134
4178
|
},
|
|
@@ -7447,6 +7491,17 @@ const API_ENDPOINTS = {
|
|
|
7447
7491
|
auth: "public",
|
|
7448
7492
|
responseKind: "json"
|
|
7449
7493
|
},
|
|
7494
|
+
portalCancelWaitlistEntry: {
|
|
7495
|
+
path: "/portal/waitlists/{entryId}/cancel",
|
|
7496
|
+
method: "POST",
|
|
7497
|
+
auth: "public",
|
|
7498
|
+
responseKind: "json",
|
|
7499
|
+
errors: [
|
|
7500
|
+
"resource:not_found",
|
|
7501
|
+
"resource:conflict",
|
|
7502
|
+
"server:internal_error"
|
|
7503
|
+
]
|
|
7504
|
+
},
|
|
7450
7505
|
portalGetEventGuests: {
|
|
7451
7506
|
path: "/portal/events/{registrationId}/guests",
|
|
7452
7507
|
method: "GET",
|