@riverbankcms/sdk 0.153.0 → 0.154.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/{EventEmbeddedCheckoutStep-veN-QiAE.mjs → EventEmbeddedCheckoutStep-ba9npQtb.mjs} +1 -1
- package/dist/{PreviewEditorSidebar-jI_4DTZY.mjs → PreviewEditorSidebar-C7FiaxlF.mjs} +194 -22
- package/dist/{PreviewEditorUI-ORkVZhfu.mjs → PreviewEditorUI-DFst50q1.mjs} +20 -44
- package/dist/{SdkPreviewModeRuntime-DaNqevI1.mjs → SdkPreviewModeRuntime-BUNV_YHZ.mjs} +49 -32
- package/dist/{SiteChromeCustomizeContext-CgNuBHC0.mjs → SiteChromeCustomizeContext-DEj7qppF.mjs} +3558 -2321
- package/dist/{ThemedButton-X2UxhW6F.mjs → ThemedButton-C8kzu0hY.mjs} +400 -81
- package/dist/_dts/ai/src/contracts/proposals.d.ts +364 -130
- package/dist/_dts/ai/src/contracts/siteStyleProposalSchemas.d.ts +1035 -477
- package/dist/_dts/api/src/billing.d.ts +2 -0
- package/dist/_dts/api/src/billingEndpointDefinitions.d.ts +78 -0
- package/dist/_dts/api/src/bookingAdjustments.d.ts +3 -2
- package/dist/_dts/api/src/bookingOperations.d.ts +7 -2
- package/dist/_dts/api/src/bookingPeople.d.ts +19 -0
- package/dist/_dts/api/src/bookingPeopleEndpointDefinitions.d.ts +8 -0
- package/dist/_dts/api/src/bookingRecords.d.ts +4 -106
- package/dist/_dts/api/src/bookings.d.ts +2 -3
- package/dist/_dts/api/src/contentRuntime.d.ts +1 -0
- package/dist/_dts/api/src/endpoints.d.ts +88 -43
- package/dist/_dts/api/src/index.d.ts +4 -2
- package/dist/_dts/api/src/indexCoreTypes.d.ts +1 -0
- package/dist/_dts/api/src/moneyPayments.d.ts +116 -0
- package/dist/_dts/api/src/onboarding/surfaceData.d.ts +2 -0
- package/dist/_dts/api/src/sdk-event-upsert.d.ts +2 -2
- package/dist/_dts/api/src/sdkThemeWire.d.ts +162 -103
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +18 -0
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +17 -16
- package/dist/_dts/api/src/siteSettings.d.ts +1 -0
- package/dist/_dts/api/src/stripeConnectSetup.d.ts +90 -0
- package/dist/_dts/api/src/types.d.ts +11 -31
- package/dist/_dts/api/src/wholeSeriesRuns.d.ts +2 -4
- package/dist/_dts/blocks/src/client/site-chrome.d.ts +1 -1
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +8 -96
- package/dist/_dts/blocks/src/primitives/content/components/RichText.d.ts +1 -1
- package/dist/_dts/blocks/src/primitives/content/primitives.d.ts +4 -1
- package/dist/_dts/blocks/src/primitives/layout/Section.d.ts +1 -0
- package/dist/_dts/blocks/src/system/blocks/events/event-calendar.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/events/eventSelectionFields.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/events/shared/fields.d.ts +0 -4
- package/dist/_dts/blocks/src/system/blocks/events/shared/index.d.ts +0 -1
- package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +4 -4
- package/dist/_dts/blocks/src/system/blocks/form.d.ts +10 -0
- package/dist/_dts/blocks/src/system/blocks/image-gallery/fields.d.ts +1 -0
- package/dist/_dts/blocks/src/system/blocks/image-gallery.d.ts +6 -1
- package/dist/_dts/blocks/src/system/blocks/location-map.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +47 -45
- package/dist/_dts/blocks/src/system/blocks/newsletter-signup.d.ts +12 -0
- package/dist/_dts/blocks/src/system/blocks/site-footer-runtime-layout.d.ts +23 -0
- package/dist/_dts/blocks/src/system/blocks/site-footer-runtime-profile.d.ts +20 -0
- package/dist/_dts/blocks/src/system/blocks/site-footer-runtime.d.ts +17 -16
- package/dist/_dts/blocks/src/system/blocks/site-footer.d.ts +1 -1
- package/dist/_dts/blocks/src/system/customize/facets.d.ts +75 -9
- package/dist/_dts/blocks/src/system/manifest/schema.d.ts +24 -24
- package/dist/_dts/blocks/src/system/node/fragments/index.d.ts +1 -0
- package/dist/_dts/blocks/src/system/node/fragments/lookSlot.d.ts +1 -1
- package/dist/_dts/blocks/src/system/node/fragments/responsiveTwoColumn.d.ts +3 -1
- package/dist/_dts/blocks/src/system/node/fragments/sectionHead.d.ts +15 -0
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +18 -198
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +9 -99
- package/dist/_dts/blocks/src/system/runtime/lookSurfaces.d.ts +16 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/basic.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details/lookPresentation.d.ts +10 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details/presentation.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/domain/dates.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCollectionContract.d.ts +29 -17
- package/dist/_dts/blocks/src/system/runtime/nodes/form.fields.d.ts +5 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/form.interactive.d.ts +11 -79
- package/dist/_dts/blocks/src/system/runtime/nodes/form.parts.d.ts +7 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/form.server.d.ts +2 -13
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.interactive.d.ts +8 -72
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.parts.d.ts +6 -6
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.types.d.ts +3 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/shared/contract-schemas.d.ts +2 -2
- package/dist/_dts/blocks/src/system/transforms/registry/_utils/surfaceForegroundStyles.d.ts +3 -0
- package/dist/_dts/blocks/src/system/transforms/registry/footerArrangement.d.ts +6 -0
- package/dist/_dts/blocks/src/system/transforms/registry/layout.d.ts +0 -11
- package/dist/_dts/blocks/src/system/transforms/typed.d.ts +1 -10
- package/dist/_dts/commerce/src/purchase/orderConfirmationPlanning.d.ts +1 -0
- package/dist/_dts/content-editor/src/FooterComposerOverview.d.ts +5 -2
- package/dist/_dts/content-editor/src/FooterComposerPanel.d.ts +1 -1
- package/dist/_dts/content-editor/src/FooterNavigationLayoutControl.d.ts +6 -3
- package/dist/_dts/content-editor/src/controller/editorLeaseParticipation.d.ts +1 -1
- package/dist/_dts/content-editor/src/footerComposer.d.ts +2 -1
- package/dist/_dts/content-editor/src/footerComposerPanelTypes.d.ts +3 -1
- package/dist/_dts/content-editor/src/footerNavigationLayoutState.d.ts +56 -0
- package/dist/_dts/content-editor/src/footerPreviewRuntime.d.ts +2 -1
- package/dist/_dts/content-editor/src/useFooterComposerState.d.ts +3 -4
- package/dist/_dts/content-editor/src/useFooterNavigationLayout.d.ts +11 -8
- package/dist/_dts/core/src/booking-refunds.d.ts +2 -0
- package/dist/_dts/core/src/date-display.d.ts +85 -0
- package/dist/_dts/core/src/date-time-formatter.d.ts +2 -0
- package/dist/_dts/core/src/footer-arrangement.d.ts +8 -1
- package/dist/_dts/core/src/footer-composition-types.d.ts +6 -1
- package/dist/_dts/core/src/footer-composition.d.ts +1 -1
- package/dist/_dts/core/src/footer-navigation-layout.d.ts +3 -0
- package/dist/_dts/core/src/index.d.ts +2 -0
- package/dist/_dts/core/src/mailing-list-setup.d.ts +3 -0
- package/dist/_dts/core/src/mailing-list-submission.d.ts +6 -1
- package/dist/_dts/core/src/public-profile.d.ts +3 -1
- package/dist/_dts/core/src/scheduled-date-time.d.ts +69 -0
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +50 -9
- package/dist/_dts/db/src/schemas/forms.d.ts +16 -16
- package/dist/_dts/preview-next/src/client/blocks/ArrangementBlockToolbar.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +1 -0
- package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +1 -0
- package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeContext.d.ts +4 -1
- package/dist/_dts/preview-next/src/client/preview/siteChromeSavePlan.d.ts +27 -5
- package/dist/_dts/preview-next/src/client/preview/siteStylePreviewPlanner.d.ts +2 -0
- package/dist/_dts/preview-next/src/client/preview/useConfirmedPreferenceRecord.d.ts +12 -0
- package/dist/_dts/preview-next/src/client/preview/usePersistedFooterPreferences.d.ts +26 -0
- package/dist/_dts/preview-next/src/client/preview/usePersistedHeaderPreferences.d.ts +40 -2
- package/dist/_dts/sdk/src/config/validation.d.ts +3 -3
- package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +4 -46
- package/dist/_dts/sdk/src/date-time/index.d.ts +2 -68
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +1 -0
- package/dist/_dts/sdk/src/rendering/islands/types.d.ts +1 -1
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/theme-core/src/buttons/buttonColourContract.d.ts +2 -0
- package/dist/_dts/theme-core/src/buttons/resolveButtonColourStates.d.ts +2 -0
- package/dist/_dts/theme-core/src/buttons/styles/recipes/lanternRecipes.d.ts +60 -0
- package/dist/_dts/theme-core/src/buttons/styles/registry.d.ts +57 -0
- package/dist/_dts/theme-core/src/buttons/styles/selection.d.ts +10 -1
- package/dist/_dts/theme-core/src/buttons/types.d.ts +358 -46
- package/dist/_dts/theme-core/src/buttons/typography.d.ts +24 -0
- package/dist/_dts/theme-core/src/cards/types.d.ts +8 -8
- package/dist/_dts/theme-core/src/footer/effectiveNavLinkStyle.d.ts +1 -1
- package/dist/_dts/theme-core/src/footer/generateFooterCss.d.ts +4 -1
- package/dist/_dts/theme-core/src/footer/mode.d.ts +2 -11
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +234 -147
- package/dist/_dts/theme-core/src/navigation/types.d.ts +4 -4
- package/dist/_dts/theme-core/src/schema.d.ts +300 -192
- package/dist/_dts/theme-core/src/site-styles/appearancePresetTypes.d.ts +23 -7
- package/dist/_dts/theme-core/src/site-styles/backgroundAppearance.d.ts +2 -2
- package/dist/_dts/theme-core/src/site-styles/compilationPlan.d.ts +4 -6
- package/dist/_dts/theme-core/src/site-styles/compileFooterAgainstRow.d.ts +121 -0
- package/dist/_dts/theme-core/src/site-styles/curatedSiteStyles.d.ts +25 -0
- package/dist/_dts/theme-core/src/site-styles/footerLookDefaults.d.ts +45 -0
- package/dist/_dts/theme-core/src/site-styles/footerLookRecipe.d.ts +50 -0
- package/dist/_dts/theme-core/src/site-styles/footerLooks.d.ts +9 -35
- package/dist/_dts/theme-core/src/site-styles/footerPreferences.d.ts +29 -0
- package/dist/_dts/theme-core/src/site-styles/headerPreferencesPersistence.d.ts +2 -3
- package/dist/_dts/theme-core/src/site-styles/index.d.ts +4 -0
- package/dist/_dts/theme-core/src/site-styles/lookResolution.d.ts +2 -2
- package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/siteChromeBackgrounds.d.ts +8 -0
- package/dist/_dts/theme-core/src/site-styles/themeParity.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/tokenRecipes.d.ts +1 -1
- package/dist/_dts/ui/src/card.d.ts +1 -1
- package/dist/client/{BookingMailingListNote-DrchYW1m.mjs → BookingMailingListNote-CNoSqFtf.mjs} +2 -2
- package/dist/client/{CardListItem-CC_GVmF6.mjs → CardListItem-BkTkqBkh.mjs} +3 -3
- package/dist/client/{CheckboxChoice-Dq30m3DO.mjs → CheckboxChoice-CHJpsty4.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-ojwbVUmx.mjs → DemoBookingPortalAccess-C7KQKFNt.mjs} +2 -2
- package/dist/client/{EventCombined.client-DyN0v0Xk.mjs → EventCombined.client-BgeYMjHJ.mjs} +5 -5
- package/dist/client/{EventEmbeddedCheckoutStep-CgfpKc3n.mjs → EventEmbeddedCheckoutStep-BTc_lTkM.mjs} +2 -2
- package/dist/client/{EventListing.client-CuOuvYMz.mjs → EventListing.client-ChRs9Hl2.mjs} +2 -2
- package/dist/client/{LeafletStaticMap-B0WhRr3j.mjs → LeafletStaticMap-C_dNQgd0.mjs} +1 -1
- package/dist/client/{RichText-C1fIXBzA.mjs → RichText-BI9bzbjo.mjs} +75 -42
- package/dist/client/{ThemedButton-B7HFqFBg.mjs → ThemedButton-wl3Z3wkH.mjs} +1 -1
- package/dist/client/{accordion-DCDVWSye.mjs → accordion-6Yz8Wd83.mjs} +1 -1
- package/dist/client/{bookingForm-BJ3C4GlM.mjs → bookingForm-i_pKIGiY.mjs} +8 -8
- package/dist/client/bookings.mjs +12565 -11839
- package/dist/client/{carousel-BSCBhfHY.mjs → carousel-DNqd_PjC.mjs} +2 -2
- package/dist/client/{carousel.client-GEtOGsxo.mjs → carousel.client-BUgjPbb6.mjs} +1 -1
- package/dist/client/{cart-Yv-aAtck.mjs → cart-D8OBHuF4.mjs} +3 -3
- package/dist/client/{checkout-B9xDkl30.mjs → checkout-F3-9IGLU.mjs} +3 -3
- package/dist/client/client.mjs +6109 -4778
- package/dist/client/{context-BOGe3rIA.mjs → context-Dg4ZrxDD.mjs} +1 -1
- package/dist/client/{eventCalendar-D6M0T9hs.mjs → eventCalendar-BUc7YIBM.mjs} +8 -8
- package/dist/client/{eventCombined-NM4UFBq8.mjs → eventCombined-BwfShk2a.mjs} +4 -4
- package/dist/client/{eventDetails-f_FhV4O8.mjs → eventDetails-BMOVC3go.mjs} +3 -3
- package/dist/client/{eventListing-WLkfAROh.mjs → eventListing-BwE9PM-t.mjs} +4 -4
- package/dist/client/{eventRegistration-D3ejfLvW.mjs → eventRegistration-CCWPYDc7.mjs} +9 -9
- package/dist/client/{form-D5Or2Jyu.mjs → form-CXFr0Gd5.mjs} +115 -51
- package/dist/client/{headerSection-hWgnv27V.mjs → headerSection-BX8qw8kH.mjs} +3 -3
- package/dist/client/hooks.mjs +2041 -1193
- package/dist/client/{locationMap-Di1K0O2S.mjs → locationMap-B3La71m0.mjs} +3 -3
- package/dist/client/{media-D29-F1u_.mjs → media-B1Cbv721.mjs} +1 -1
- package/dist/client/{newsletterForm-CwxcwTNO.mjs → newsletterForm-DnGyR0x7.mjs} +50 -14
- package/dist/client/{productDetail-BLSnhPdA.mjs → productDetail-BVgTqvkb.mjs} +3 -3
- package/dist/client/{productList-oGytONOX.mjs → productList-CcO7kUQw.mjs} +3 -3
- package/dist/client/{propsDecoder-lf_dTeZS.mjs → propsDecoder-B1OeWavE.mjs} +706 -229
- package/dist/client/rendering/client.mjs +11868 -11098
- package/dist/client/rendering/islands.mjs +17 -17
- package/dist/client/rendering.mjs +6058 -4676
- package/dist/client/{routeIslandApiConfig-Bc_WVPS8.mjs → routeIslandApiConfig-Dl4vglJm.mjs} +1 -1
- package/dist/client/{shop-BQ3bR7fA.mjs → shop-P72nX5Fs.mjs} +7 -7
- package/dist/client/{shop-commerce-DDPll6ZC.mjs → shop-commerce-Bt7uraDx.mjs} +8 -8
- package/dist/client/{shop-commerce-store-DO-e1pTe.mjs → shop-commerce-store-C1-mxSye.mjs} +1 -1
- package/dist/client/{shopShared-BylM9jh1.mjs → shopShared-Db-cRGu3.mjs} +4 -4
- package/dist/client/{useDiscountCodeUi-B1Puub2v.mjs → useDiscountCodeUi-jvAiUoUX.mjs} +1 -1
- package/dist/client/{useEventPagination-BBhkmQaT.mjs → useEventPagination-BdWpCniq.mjs} +6 -6
- package/dist/preview-next/before-render.mjs +133 -51
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/editor-chrome.css +5 -2
- package/dist/preview-next/keepAlive.mjs +133 -51
- package/dist/preview-next/middleware.mjs +133 -51
- package/dist/{sdk-runtime-DWCvhJGu.mjs → sdk-runtime-DLhjF2Nw.mjs} +1 -1
- package/dist/server/components.mjs +11284 -10014
- package/dist/server/config-validation.mjs +2016 -1188
- package/dist/server/config.mjs +2016 -1188
- package/dist/server/data.mjs +2041 -1193
- package/dist/server/date-time.mjs +258 -116
- package/dist/server/index.mjs +134 -52
- package/dist/server/next.mjs +10571 -9350
- package/dist/server/page-converter.mjs +1629 -941
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +11156 -9872
- package/dist/server/rendering.mjs +11284 -10014
- package/dist/server/routing.mjs +2204 -1283
- package/dist/server/server.mjs +2369 -1570
- package/dist/server/theme-bridge.mjs +838 -124
- package/dist/server/theme.mjs +348 -64
- package/dist/{spinner-BYM-Y81w.mjs → spinner-MTooKfck.mjs} +1 -1
- package/dist/styles/index.css +254 -1
- package/package.json +1 -1
- package/dist/_dts/blocks/src/system/blocks/events/shared/layout.d.ts +0 -12
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { vn as createHostedBlockApiConfig } from "./propsDecoder-
|
|
1
|
+
import { vn as createHostedBlockApiConfig } from "./propsDecoder-B1OeWavE.mjs";
|
|
2
2
|
//#region src/rendering/islands/enhancers/routeIslandApiConfig.ts
|
|
3
3
|
function buildRouteIslandApiConfig({ apiBaseUrl, portalToken, previewToken, siteId, stage, readAuthority }) {
|
|
4
4
|
if (readAuthority) return createHostedBlockApiConfig({
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { t as ThemedButton } from "./ThemedButton-
|
|
2
|
+
import { Mi as assertNever$1, Rr as assertNever, Sr as getShopSuccessCopy, o as formatCommercePrice, s as formatInterval, t as defineIslandPropsDecoder } from "./propsDecoder-B1OeWavE.mjs";
|
|
3
|
+
import { t as ThemedButton } from "./ThemedButton-wl3Z3wkH.mjs";
|
|
4
4
|
import { n as scrollToBlock, t as CheckIcon } from "./CheckIcon-CpyXr-Kg.mjs";
|
|
5
5
|
import { t as createBodyThemePortalRoot } from "./themePortalRoot-DS92SRVZ.mjs";
|
|
6
|
-
import { D as consumeSearchParams, _ 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-
|
|
6
|
+
import { D as consumeSearchParams, _ 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-Db-cRGu3.mjs";
|
|
7
7
|
import { t as CrossIcon } from "./CrossIcon-Dn1KRKW5.mjs";
|
|
8
|
-
import { l as readDemoBookingCheckoutReturnEmail, p as DiscountCodeDisclosure, t as BookingConfirmation, u as storeDemoBookingCheckoutReturn } from "./DemoBookingPortalAccess-
|
|
8
|
+
import { l as readDemoBookingCheckoutReturnEmail, p as DiscountCodeDisclosure, t as BookingConfirmation, u as storeDemoBookingCheckoutReturn } from "./DemoBookingPortalAccess-C7KQKFNt.mjs";
|
|
9
9
|
import { t as FeedbackMessage } from "./FeedbackMessage-CtLvvS_d.mjs";
|
|
10
|
-
import { n as TerminalPanel, r as StateIcon, t as useDiscountCodeUi } from "./useDiscountCodeUi-
|
|
11
|
-
import { n as useBlockApi } from "./context-
|
|
12
|
-
import { t as addPassToCommerceCart } from "./shop-commerce-store-
|
|
10
|
+
import { n as TerminalPanel, r as StateIcon, t as useDiscountCodeUi } from "./useDiscountCodeUi-jvAiUoUX.mjs";
|
|
11
|
+
import { n as useBlockApi } from "./context-Dg4ZrxDD.mjs";
|
|
12
|
+
import { t as addPassToCommerceCart } from "./shop-commerce-store-C1-mxSye.mjs";
|
|
13
13
|
import { t as ModalShell } from "./ModalShell-BXzucfR6.mjs";
|
|
14
14
|
import React, { useCallback, useEffect, useRef, useState } from "react";
|
|
15
15
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { n as ThemedButtonLink, t as ThemedButton } from "./ThemedButton-
|
|
2
|
+
import { Ir as RichTextDocSchema, Rr as assertNever, Ur as reportWorkflowError, a as buildProductDetailDisplay, d as deriveCommerceCheckoutState, i as buildProductCardDisplay, mr as logger, n as getShopDisplayForItems, o as formatCommercePrice, p as productItemKey, u as buildProductCartItem, zr as clearWorkflowFeedback } from "./propsDecoder-B1OeWavE.mjs";
|
|
3
|
+
import { n as ThemedButtonLink, t as ThemedButton } from "./ThemedButton-wl3Z3wkH.mjs";
|
|
4
4
|
import { t as buildCheckoutReturnUrls } from "./checkoutUrls-ChxwaNtO.mjs";
|
|
5
|
-
import { C as ProductGalleryFrameView, E as consumeSearchParam, 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-
|
|
6
|
-
import { l as readDemoBookingCheckoutReturnEmail, n as DemoBookingPortalAccess, p as DiscountCodeDisclosure, u as storeDemoBookingCheckoutReturn } from "./DemoBookingPortalAccess-
|
|
5
|
+
import { C as ProductGalleryFrameView, E as consumeSearchParam, 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-Db-cRGu3.mjs";
|
|
6
|
+
import { l as readDemoBookingCheckoutReturnEmail, n as DemoBookingPortalAccess, p as DiscountCodeDisclosure, u as storeDemoBookingCheckoutReturn } from "./DemoBookingPortalAccess-C7KQKFNt.mjs";
|
|
7
7
|
import { t as FeedbackMessage } from "./FeedbackMessage-CtLvvS_d.mjs";
|
|
8
|
-
import { n as useBlockApi } from "./context-
|
|
9
|
-
import { t as RichText } from "./RichText-
|
|
10
|
-
import { t as CarouselNodeClient } from "./carousel.client-
|
|
8
|
+
import { n as useBlockApi } from "./context-Dg4ZrxDD.mjs";
|
|
9
|
+
import { t as RichText } from "./RichText-BI9bzbjo.mjs";
|
|
10
|
+
import { t as CarouselNodeClient } from "./carousel.client-BUgjPbb6.mjs";
|
|
11
11
|
import { t as resolveDedicatedCheckoutPath } from "./checkoutRoute-ClwHwYVA.mjs";
|
|
12
|
-
import { n as useCommerceCart } from "./shop-commerce-store-
|
|
12
|
+
import { n as useCommerceCart } from "./shop-commerce-store-C1-mxSye.mjs";
|
|
13
13
|
import * as React$1 from "react";
|
|
14
14
|
import { useEffect, useState } from "react";
|
|
15
15
|
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-B1OeWavE.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,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { _ as err, v as ok } from "./renderableMediaAssetAdmission-CHkXYDC_.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import { c as getAutoAppliedDiscountPreview, o as discountAvailabilityAllowsManualEntry, s as discountAvailabilityHasDiscounts } from "./DemoBookingPortalAccess-
|
|
3
|
+
import { Rr as assertNever } from "./propsDecoder-B1OeWavE.mjs";
|
|
4
|
+
import { c as getAutoAppliedDiscountPreview, o as discountAvailabilityAllowsManualEntry, s as discountAvailabilityHasDiscounts } from "./DemoBookingPortalAccess-C7KQKFNt.mjs";
|
|
5
5
|
import { t as FeedbackMessage } from "./FeedbackMessage-CtLvvS_d.mjs";
|
|
6
|
-
import { t as BlockApiProvider } from "./context-
|
|
6
|
+
import { t as BlockApiProvider } from "./context-Dg4ZrxDD.mjs";
|
|
7
7
|
import { t as mountReactIsland } from "./reactMount-SY8AVRof.mjs";
|
|
8
|
-
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-
|
|
8
|
+
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-Dl4vglJm.mjs";
|
|
9
9
|
import * as React$1 from "react";
|
|
10
10
|
import { useCallback } from "react";
|
|
11
11
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { c as getAutoAppliedDiscountPreview, o as discountAvailabilityAllowsManualEntry, s as discountAvailabilityHasDiscounts } from "./DemoBookingPortalAccess-
|
|
2
|
+
import { c as getAutoAppliedDiscountPreview, o as discountAvailabilityAllowsManualEntry, s as discountAvailabilityHasDiscounts } from "./DemoBookingPortalAccess-C7KQKFNt.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/StateIcon.tsx
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { $r as
|
|
3
|
-
import { t as ImagePresets } from "./media-
|
|
4
|
-
import { n as ThemedButtonLink, r as ClockIcon, t as ThemedButton } from "./ThemedButton-
|
|
5
|
-
import { a as resolveEventLinkProps, i as resolveEventCta, n as resolveCardListSchedule, r as MediaNodeServer, t as CardListContentPart } from "./CardListItem-
|
|
6
|
-
import { n as useBlockApi } from "./context-
|
|
7
|
-
import { t as LeafletStaticMap } from "./LeafletStaticMap-
|
|
2
|
+
import { $r as resolveTokenOrCssColorValue, An as eventDateOptions, Cn as normalizeCsvString, En as formatEventPrice, Fn as formatEventNextDateFact, In as formatEventTimeRange, Ln as formatTime, Mn as formatDate, Nn as formatEventCompactDateRail, Qr as resolveOnColorForThemeToken, Rr as assertNever, Sn as normalizeCsvIds, Zr as isCssColorLiteral, an as isSemanticSpacing, ar as getEventAvailabilityStatus, dr as listItemPresentation, ei as relativeLuminance, in as SEMANTIC_SPACING_VALUES, jn as eventLocalDateKey, ni as normalizeCardRole, nr as formatEventRemainingPlaces, on as resolveSpacing, pr as listLookSlot, qr as boxBackgroundSchema, sn as asPartialObject, ti as hexToRgb, wn as normalizeOptionalId, xn as getEventRuntimeFiltersKey, yn as getBlockApiReadStage } from "./propsDecoder-B1OeWavE.mjs";
|
|
3
|
+
import { t as ImagePresets } from "./media-B1Cbv721.mjs";
|
|
4
|
+
import { n as ThemedButtonLink, r as ClockIcon, t as ThemedButton } from "./ThemedButton-wl3Z3wkH.mjs";
|
|
5
|
+
import { a as resolveEventLinkProps, i as resolveEventCta, n as resolveCardListSchedule, r as MediaNodeServer, t as CardListContentPart } from "./CardListItem-BkTkqBkh.mjs";
|
|
6
|
+
import { n as useBlockApi } from "./context-Dg4ZrxDD.mjs";
|
|
7
|
+
import { t as LeafletStaticMap } from "./LeafletStaticMap-C_dNQgd0.mjs";
|
|
8
8
|
import { useCallback, useEffect, useId, useMemo, useReducer, useRef, useState } from "react";
|
|
9
9
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
10
10
|
//#region ../theme-core/src/palette/utils/textColor.ts
|
|
@@ -2790,6 +2790,129 @@ const BILLING_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
2790
2790
|
tags: ["billing"],
|
|
2791
2791
|
auth: "user",
|
|
2792
2792
|
responseKind: "json"
|
|
2793
|
+
},
|
|
2794
|
+
stripeConnectSetupStart: {
|
|
2795
|
+
path: "/sites/{siteId}/billing/connect/setup",
|
|
2796
|
+
method: "POST",
|
|
2797
|
+
tags: ["site-{siteId}", "stripe-connect"],
|
|
2798
|
+
auth: "user",
|
|
2799
|
+
responseKind: "json",
|
|
2800
|
+
errors: [
|
|
2801
|
+
"validation:invalid_input",
|
|
2802
|
+
"auth:forbidden",
|
|
2803
|
+
"resource:conflict",
|
|
2804
|
+
"server:internal_error"
|
|
2805
|
+
]
|
|
2806
|
+
},
|
|
2807
|
+
stripeConnectSetupDiscard: {
|
|
2808
|
+
path: "/sites/{siteId}/billing/connect/setup",
|
|
2809
|
+
method: "DELETE",
|
|
2810
|
+
tags: ["site-{siteId}", "stripe-connect"],
|
|
2811
|
+
auth: "user",
|
|
2812
|
+
responseKind: "json",
|
|
2813
|
+
errors: [
|
|
2814
|
+
"validation:invalid_input",
|
|
2815
|
+
"auth:forbidden",
|
|
2816
|
+
"resource:conflict",
|
|
2817
|
+
"server:internal_error"
|
|
2818
|
+
]
|
|
2819
|
+
},
|
|
2820
|
+
stripeConnectSetupSave: {
|
|
2821
|
+
path: "/sites/{siteId}/billing/connect/setup/save",
|
|
2822
|
+
method: "POST",
|
|
2823
|
+
tags: ["site-{siteId}", "stripe-connect"],
|
|
2824
|
+
auth: "user",
|
|
2825
|
+
responseKind: "json",
|
|
2826
|
+
errors: [
|
|
2827
|
+
"validation:invalid_input",
|
|
2828
|
+
"auth:forbidden",
|
|
2829
|
+
"resource:conflict",
|
|
2830
|
+
"server:internal_error"
|
|
2831
|
+
]
|
|
2832
|
+
},
|
|
2833
|
+
stripeConnectAccountSession: {
|
|
2834
|
+
path: "/sites/{siteId}/billing/connect/session",
|
|
2835
|
+
method: "POST",
|
|
2836
|
+
tags: ["site-{siteId}", "stripe-connect"],
|
|
2837
|
+
auth: "user",
|
|
2838
|
+
responseKind: "json",
|
|
2839
|
+
errors: [
|
|
2840
|
+
"validation:invalid_input",
|
|
2841
|
+
"auth:forbidden",
|
|
2842
|
+
"resource:conflict",
|
|
2843
|
+
"server:internal_error"
|
|
2844
|
+
]
|
|
2845
|
+
},
|
|
2846
|
+
stripeConnectStart: {
|
|
2847
|
+
path: "/sites/{siteId}/billing/connect/start",
|
|
2848
|
+
method: "POST",
|
|
2849
|
+
tags: ["site-{siteId}", "stripe-connect"],
|
|
2850
|
+
auth: "user",
|
|
2851
|
+
responseKind: "json",
|
|
2852
|
+
errors: [
|
|
2853
|
+
"validation:invalid_input",
|
|
2854
|
+
"auth:forbidden",
|
|
2855
|
+
"resource:conflict",
|
|
2856
|
+
"server:internal_error"
|
|
2857
|
+
]
|
|
2858
|
+
},
|
|
2859
|
+
stripeConnectStatus: {
|
|
2860
|
+
path: "/sites/{siteId}/billing/connect/status",
|
|
2861
|
+
method: "GET",
|
|
2862
|
+
tags: ["site-{siteId}", "stripe-connect"],
|
|
2863
|
+
auth: "user",
|
|
2864
|
+
responseKind: "json",
|
|
2865
|
+
errors: [
|
|
2866
|
+
"validation:invalid_input",
|
|
2867
|
+
"auth:forbidden",
|
|
2868
|
+
"resource:conflict",
|
|
2869
|
+
"server:internal_error"
|
|
2870
|
+
]
|
|
2871
|
+
},
|
|
2872
|
+
stripeAutomaticTaxUpdate: {
|
|
2873
|
+
path: "/sites/{siteId}/billing/automatic-tax",
|
|
2874
|
+
method: "POST",
|
|
2875
|
+
tags: [
|
|
2876
|
+
"site-{siteId}",
|
|
2877
|
+
"billing",
|
|
2878
|
+
"stripe-tax"
|
|
2879
|
+
],
|
|
2880
|
+
auth: "user",
|
|
2881
|
+
responseKind: "json",
|
|
2882
|
+
errors: [
|
|
2883
|
+
"validation:invalid_input",
|
|
2884
|
+
"auth:forbidden",
|
|
2885
|
+
"resource:not_found",
|
|
2886
|
+
"server:unavailable",
|
|
2887
|
+
"server:internal_error"
|
|
2888
|
+
]
|
|
2889
|
+
},
|
|
2890
|
+
stripeConnectDisconnect: {
|
|
2891
|
+
path: "/sites/{siteId}/billing/connect/disconnect",
|
|
2892
|
+
method: "DELETE",
|
|
2893
|
+
tags: ["site-{siteId}", "stripe-connect"],
|
|
2894
|
+
auth: "user",
|
|
2895
|
+
responseKind: "json",
|
|
2896
|
+
errors: [
|
|
2897
|
+
"validation:invalid_input",
|
|
2898
|
+
"auth:forbidden",
|
|
2899
|
+
"resource:conflict",
|
|
2900
|
+
"server:internal_error"
|
|
2901
|
+
]
|
|
2902
|
+
},
|
|
2903
|
+
billingConnectReturn: {
|
|
2904
|
+
path: "/billing/connect/return",
|
|
2905
|
+
method: "GET",
|
|
2906
|
+
auth: "user",
|
|
2907
|
+
responseKind: "void",
|
|
2908
|
+
errors: []
|
|
2909
|
+
},
|
|
2910
|
+
billingConnectRefresh: {
|
|
2911
|
+
path: "/billing/connect/refresh",
|
|
2912
|
+
method: "GET",
|
|
2913
|
+
auth: "user",
|
|
2914
|
+
responseKind: "void",
|
|
2915
|
+
errors: []
|
|
2793
2916
|
}
|
|
2794
2917
|
});
|
|
2795
2918
|
//#endregion
|
|
@@ -2954,6 +3077,14 @@ const PAGE_SURFACE_EDITOR_ENDPOINT_DEFINITIONS = {
|
|
|
2954
3077
|
* person when nothing is attached to them.
|
|
2955
3078
|
*/
|
|
2956
3079
|
const BOOKING_PEOPLE_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
3080
|
+
getBookingPerson: {
|
|
3081
|
+
path: "/sites/{siteId}/bookings/people/{personId}",
|
|
3082
|
+
method: "GET",
|
|
3083
|
+
tags: ["site-{siteId}", "customers-{siteId}"],
|
|
3084
|
+
auth: "user",
|
|
3085
|
+
responseKind: "json",
|
|
3086
|
+
errors: ["resource:not_found", "server:internal_error"]
|
|
3087
|
+
},
|
|
2957
3088
|
listPeople: {
|
|
2958
3089
|
path: "/sites/{siteId}/bookings/people",
|
|
2959
3090
|
method: "GET",
|
|
@@ -6189,57 +6320,6 @@ const API_ENDPOINTS = {
|
|
|
6189
6320
|
errors: [],
|
|
6190
6321
|
responseKind: "json"
|
|
6191
6322
|
},
|
|
6192
|
-
stripeConnectStart: {
|
|
6193
|
-
path: "/sites/{siteId}/billing/connect/start",
|
|
6194
|
-
method: "POST",
|
|
6195
|
-
tags: ["site-{siteId}", "stripe-connect"],
|
|
6196
|
-
auth: "user",
|
|
6197
|
-
responseKind: "json"
|
|
6198
|
-
},
|
|
6199
|
-
stripeConnectStatus: {
|
|
6200
|
-
path: "/sites/{siteId}/billing/connect/status",
|
|
6201
|
-
method: "GET",
|
|
6202
|
-
tags: ["site-{siteId}", "stripe-connect"],
|
|
6203
|
-
auth: "user",
|
|
6204
|
-
responseKind: "json"
|
|
6205
|
-
},
|
|
6206
|
-
stripeAutomaticTaxUpdate: {
|
|
6207
|
-
path: "/sites/{siteId}/billing/automatic-tax",
|
|
6208
|
-
method: "POST",
|
|
6209
|
-
tags: [
|
|
6210
|
-
"site-{siteId}",
|
|
6211
|
-
"billing",
|
|
6212
|
-
"stripe-tax"
|
|
6213
|
-
],
|
|
6214
|
-
auth: "user",
|
|
6215
|
-
responseKind: "json",
|
|
6216
|
-
errors: [
|
|
6217
|
-
"validation:invalid_input",
|
|
6218
|
-
"auth:forbidden",
|
|
6219
|
-
"resource:not_found",
|
|
6220
|
-
"server:unavailable",
|
|
6221
|
-
"server:internal_error"
|
|
6222
|
-
]
|
|
6223
|
-
},
|
|
6224
|
-
stripeConnectDisconnect: {
|
|
6225
|
-
path: "/sites/{siteId}/billing/connect/disconnect",
|
|
6226
|
-
method: "DELETE",
|
|
6227
|
-
tags: ["site-{siteId}", "stripe-connect"],
|
|
6228
|
-
auth: "user",
|
|
6229
|
-
responseKind: "json"
|
|
6230
|
-
},
|
|
6231
|
-
billingConnectReturn: {
|
|
6232
|
-
path: "/billing/connect/return",
|
|
6233
|
-
method: "GET",
|
|
6234
|
-
auth: "user",
|
|
6235
|
-
responseKind: "void"
|
|
6236
|
-
},
|
|
6237
|
-
billingConnectRefresh: {
|
|
6238
|
-
path: "/billing/connect/refresh",
|
|
6239
|
-
method: "GET",
|
|
6240
|
-
auth: "user",
|
|
6241
|
-
responseKind: "void"
|
|
6242
|
-
},
|
|
6243
6323
|
importSiteBackup: {
|
|
6244
6324
|
path: "/sites/{siteId}/backup/import",
|
|
6245
6325
|
method: "POST",
|
|
@@ -7145,6 +7225,7 @@ const API_ENDPOINTS = {
|
|
|
7145
7225
|
errors: [
|
|
7146
7226
|
"validation:invalid_input",
|
|
7147
7227
|
"resource:not_found",
|
|
7228
|
+
"resource:conflict",
|
|
7148
7229
|
"server:internal_error"
|
|
7149
7230
|
]
|
|
7150
7231
|
},
|
|
@@ -7170,6 +7251,7 @@ const API_ENDPOINTS = {
|
|
|
7170
7251
|
errors: [
|
|
7171
7252
|
"validation:invalid_input",
|
|
7172
7253
|
"resource:not_found",
|
|
7254
|
+
"resource:conflict",
|
|
7173
7255
|
"server:internal_error"
|
|
7174
7256
|
]
|
|
7175
7257
|
},
|
|
@@ -4,13 +4,13 @@ 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-BUNV_YHZ.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-DLhjF2Nw.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-DLhjF2Nw.mjs")).PreviewShellLayout };
|
|
14
14
|
});
|
|
15
15
|
function SdkPreviewMode(props) {
|
|
16
16
|
return /* @__PURE__ */ jsx(React.Suspense, {
|
|
@@ -24,14 +24,17 @@
|
|
|
24
24
|
--radius-xl: 1rem;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
+
/* Editor highlights belong to editor cards and fields, never page-block
|
|
28
|
+
* wrappers: authored outlines, borders and shadows must survive preview focus.
|
|
29
|
+
*/
|
|
27
30
|
/* Editor block highlighting */
|
|
28
|
-
[data-editor-block-highlight="true"] {
|
|
31
|
+
[data-editor-block-highlight="true"]:not(:where([data-block-id])) {
|
|
29
32
|
outline: 1px solid var(--ring);
|
|
30
33
|
outline-offset: -1px;
|
|
31
34
|
}
|
|
32
35
|
|
|
33
36
|
/* Editor field highlighting */
|
|
34
|
-
[data-editor-field-highlight="true"] {
|
|
37
|
+
[data-editor-field-highlight="true"]:not(:where([data-block-id])) {
|
|
35
38
|
outline: 1px solid var(--ring);
|
|
36
39
|
outline-offset: -1px;
|
|
37
40
|
border-radius: 0.5rem;
|
|
@@ -2658,6 +2658,129 @@ const BILLING_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
2658
2658
|
tags: ["billing"],
|
|
2659
2659
|
auth: "user",
|
|
2660
2660
|
responseKind: "json"
|
|
2661
|
+
},
|
|
2662
|
+
stripeConnectSetupStart: {
|
|
2663
|
+
path: "/sites/{siteId}/billing/connect/setup",
|
|
2664
|
+
method: "POST",
|
|
2665
|
+
tags: ["site-{siteId}", "stripe-connect"],
|
|
2666
|
+
auth: "user",
|
|
2667
|
+
responseKind: "json",
|
|
2668
|
+
errors: [
|
|
2669
|
+
"validation:invalid_input",
|
|
2670
|
+
"auth:forbidden",
|
|
2671
|
+
"resource:conflict",
|
|
2672
|
+
"server:internal_error"
|
|
2673
|
+
]
|
|
2674
|
+
},
|
|
2675
|
+
stripeConnectSetupDiscard: {
|
|
2676
|
+
path: "/sites/{siteId}/billing/connect/setup",
|
|
2677
|
+
method: "DELETE",
|
|
2678
|
+
tags: ["site-{siteId}", "stripe-connect"],
|
|
2679
|
+
auth: "user",
|
|
2680
|
+
responseKind: "json",
|
|
2681
|
+
errors: [
|
|
2682
|
+
"validation:invalid_input",
|
|
2683
|
+
"auth:forbidden",
|
|
2684
|
+
"resource:conflict",
|
|
2685
|
+
"server:internal_error"
|
|
2686
|
+
]
|
|
2687
|
+
},
|
|
2688
|
+
stripeConnectSetupSave: {
|
|
2689
|
+
path: "/sites/{siteId}/billing/connect/setup/save",
|
|
2690
|
+
method: "POST",
|
|
2691
|
+
tags: ["site-{siteId}", "stripe-connect"],
|
|
2692
|
+
auth: "user",
|
|
2693
|
+
responseKind: "json",
|
|
2694
|
+
errors: [
|
|
2695
|
+
"validation:invalid_input",
|
|
2696
|
+
"auth:forbidden",
|
|
2697
|
+
"resource:conflict",
|
|
2698
|
+
"server:internal_error"
|
|
2699
|
+
]
|
|
2700
|
+
},
|
|
2701
|
+
stripeConnectAccountSession: {
|
|
2702
|
+
path: "/sites/{siteId}/billing/connect/session",
|
|
2703
|
+
method: "POST",
|
|
2704
|
+
tags: ["site-{siteId}", "stripe-connect"],
|
|
2705
|
+
auth: "user",
|
|
2706
|
+
responseKind: "json",
|
|
2707
|
+
errors: [
|
|
2708
|
+
"validation:invalid_input",
|
|
2709
|
+
"auth:forbidden",
|
|
2710
|
+
"resource:conflict",
|
|
2711
|
+
"server:internal_error"
|
|
2712
|
+
]
|
|
2713
|
+
},
|
|
2714
|
+
stripeConnectStart: {
|
|
2715
|
+
path: "/sites/{siteId}/billing/connect/start",
|
|
2716
|
+
method: "POST",
|
|
2717
|
+
tags: ["site-{siteId}", "stripe-connect"],
|
|
2718
|
+
auth: "user",
|
|
2719
|
+
responseKind: "json",
|
|
2720
|
+
errors: [
|
|
2721
|
+
"validation:invalid_input",
|
|
2722
|
+
"auth:forbidden",
|
|
2723
|
+
"resource:conflict",
|
|
2724
|
+
"server:internal_error"
|
|
2725
|
+
]
|
|
2726
|
+
},
|
|
2727
|
+
stripeConnectStatus: {
|
|
2728
|
+
path: "/sites/{siteId}/billing/connect/status",
|
|
2729
|
+
method: "GET",
|
|
2730
|
+
tags: ["site-{siteId}", "stripe-connect"],
|
|
2731
|
+
auth: "user",
|
|
2732
|
+
responseKind: "json",
|
|
2733
|
+
errors: [
|
|
2734
|
+
"validation:invalid_input",
|
|
2735
|
+
"auth:forbidden",
|
|
2736
|
+
"resource:conflict",
|
|
2737
|
+
"server:internal_error"
|
|
2738
|
+
]
|
|
2739
|
+
},
|
|
2740
|
+
stripeAutomaticTaxUpdate: {
|
|
2741
|
+
path: "/sites/{siteId}/billing/automatic-tax",
|
|
2742
|
+
method: "POST",
|
|
2743
|
+
tags: [
|
|
2744
|
+
"site-{siteId}",
|
|
2745
|
+
"billing",
|
|
2746
|
+
"stripe-tax"
|
|
2747
|
+
],
|
|
2748
|
+
auth: "user",
|
|
2749
|
+
responseKind: "json",
|
|
2750
|
+
errors: [
|
|
2751
|
+
"validation:invalid_input",
|
|
2752
|
+
"auth:forbidden",
|
|
2753
|
+
"resource:not_found",
|
|
2754
|
+
"server:unavailable",
|
|
2755
|
+
"server:internal_error"
|
|
2756
|
+
]
|
|
2757
|
+
},
|
|
2758
|
+
stripeConnectDisconnect: {
|
|
2759
|
+
path: "/sites/{siteId}/billing/connect/disconnect",
|
|
2760
|
+
method: "DELETE",
|
|
2761
|
+
tags: ["site-{siteId}", "stripe-connect"],
|
|
2762
|
+
auth: "user",
|
|
2763
|
+
responseKind: "json",
|
|
2764
|
+
errors: [
|
|
2765
|
+
"validation:invalid_input",
|
|
2766
|
+
"auth:forbidden",
|
|
2767
|
+
"resource:conflict",
|
|
2768
|
+
"server:internal_error"
|
|
2769
|
+
]
|
|
2770
|
+
},
|
|
2771
|
+
billingConnectReturn: {
|
|
2772
|
+
path: "/billing/connect/return",
|
|
2773
|
+
method: "GET",
|
|
2774
|
+
auth: "user",
|
|
2775
|
+
responseKind: "void",
|
|
2776
|
+
errors: []
|
|
2777
|
+
},
|
|
2778
|
+
billingConnectRefresh: {
|
|
2779
|
+
path: "/billing/connect/refresh",
|
|
2780
|
+
method: "GET",
|
|
2781
|
+
auth: "user",
|
|
2782
|
+
responseKind: "void",
|
|
2783
|
+
errors: []
|
|
2661
2784
|
}
|
|
2662
2785
|
});
|
|
2663
2786
|
//#endregion
|
|
@@ -2822,6 +2945,14 @@ const PAGE_SURFACE_EDITOR_ENDPOINT_DEFINITIONS = {
|
|
|
2822
2945
|
* person when nothing is attached to them.
|
|
2823
2946
|
*/
|
|
2824
2947
|
const BOOKING_PEOPLE_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
2948
|
+
getBookingPerson: {
|
|
2949
|
+
path: "/sites/{siteId}/bookings/people/{personId}",
|
|
2950
|
+
method: "GET",
|
|
2951
|
+
tags: ["site-{siteId}", "customers-{siteId}"],
|
|
2952
|
+
auth: "user",
|
|
2953
|
+
responseKind: "json",
|
|
2954
|
+
errors: ["resource:not_found", "server:internal_error"]
|
|
2955
|
+
},
|
|
2825
2956
|
listPeople: {
|
|
2826
2957
|
path: "/sites/{siteId}/bookings/people",
|
|
2827
2958
|
method: "GET",
|
|
@@ -6057,57 +6188,6 @@ const API_ENDPOINTS = {
|
|
|
6057
6188
|
errors: [],
|
|
6058
6189
|
responseKind: "json"
|
|
6059
6190
|
},
|
|
6060
|
-
stripeConnectStart: {
|
|
6061
|
-
path: "/sites/{siteId}/billing/connect/start",
|
|
6062
|
-
method: "POST",
|
|
6063
|
-
tags: ["site-{siteId}", "stripe-connect"],
|
|
6064
|
-
auth: "user",
|
|
6065
|
-
responseKind: "json"
|
|
6066
|
-
},
|
|
6067
|
-
stripeConnectStatus: {
|
|
6068
|
-
path: "/sites/{siteId}/billing/connect/status",
|
|
6069
|
-
method: "GET",
|
|
6070
|
-
tags: ["site-{siteId}", "stripe-connect"],
|
|
6071
|
-
auth: "user",
|
|
6072
|
-
responseKind: "json"
|
|
6073
|
-
},
|
|
6074
|
-
stripeAutomaticTaxUpdate: {
|
|
6075
|
-
path: "/sites/{siteId}/billing/automatic-tax",
|
|
6076
|
-
method: "POST",
|
|
6077
|
-
tags: [
|
|
6078
|
-
"site-{siteId}",
|
|
6079
|
-
"billing",
|
|
6080
|
-
"stripe-tax"
|
|
6081
|
-
],
|
|
6082
|
-
auth: "user",
|
|
6083
|
-
responseKind: "json",
|
|
6084
|
-
errors: [
|
|
6085
|
-
"validation:invalid_input",
|
|
6086
|
-
"auth:forbidden",
|
|
6087
|
-
"resource:not_found",
|
|
6088
|
-
"server:unavailable",
|
|
6089
|
-
"server:internal_error"
|
|
6090
|
-
]
|
|
6091
|
-
},
|
|
6092
|
-
stripeConnectDisconnect: {
|
|
6093
|
-
path: "/sites/{siteId}/billing/connect/disconnect",
|
|
6094
|
-
method: "DELETE",
|
|
6095
|
-
tags: ["site-{siteId}", "stripe-connect"],
|
|
6096
|
-
auth: "user",
|
|
6097
|
-
responseKind: "json"
|
|
6098
|
-
},
|
|
6099
|
-
billingConnectReturn: {
|
|
6100
|
-
path: "/billing/connect/return",
|
|
6101
|
-
method: "GET",
|
|
6102
|
-
auth: "user",
|
|
6103
|
-
responseKind: "void"
|
|
6104
|
-
},
|
|
6105
|
-
billingConnectRefresh: {
|
|
6106
|
-
path: "/billing/connect/refresh",
|
|
6107
|
-
method: "GET",
|
|
6108
|
-
auth: "user",
|
|
6109
|
-
responseKind: "void"
|
|
6110
|
-
},
|
|
6111
6191
|
importSiteBackup: {
|
|
6112
6192
|
path: "/sites/{siteId}/backup/import",
|
|
6113
6193
|
method: "POST",
|
|
@@ -7013,6 +7093,7 @@ const API_ENDPOINTS = {
|
|
|
7013
7093
|
errors: [
|
|
7014
7094
|
"validation:invalid_input",
|
|
7015
7095
|
"resource:not_found",
|
|
7096
|
+
"resource:conflict",
|
|
7016
7097
|
"server:internal_error"
|
|
7017
7098
|
]
|
|
7018
7099
|
},
|
|
@@ -7038,6 +7119,7 @@ const API_ENDPOINTS = {
|
|
|
7038
7119
|
errors: [
|
|
7039
7120
|
"validation:invalid_input",
|
|
7040
7121
|
"resource:not_found",
|
|
7122
|
+
"resource:conflict",
|
|
7041
7123
|
"server:internal_error"
|
|
7042
7124
|
]
|
|
7043
7125
|
},
|