@riverbankcms/sdk 0.148.0 → 0.150.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/EventEmbeddedCheckoutStep-D00Kc8Zj.mjs +285 -0
- package/dist/{PreviewEditorSidebar-DvEPG3Z2.mjs → PreviewEditorSidebar-7ZhmmnBB.mjs} +103 -66
- package/dist/{PreviewEditorUI-D6eb6fkx.mjs → PreviewEditorUI-BIJucTRd.mjs} +3 -6
- package/dist/{PreviewQueryProvider-5znTyJuz.mjs → PreviewQueryProvider-C0mndwHB.mjs} +3 -3
- package/dist/{SdkPreviewModeRuntime-DJ6utQ_R.mjs → SdkPreviewModeRuntime-tj45gmCX.mjs} +96 -67
- package/dist/{SiteChromeCustomizeContext-CFJYh6vo.mjs → SiteChromeCustomizeContext-BFOt0ss-.mjs} +4804 -4161
- package/dist/_dts/ai/src/contracts/proposals.d.ts +660 -0
- package/dist/_dts/ai/src/contracts/siteStyleProposalSchemas.d.ts +510 -0
- package/dist/_dts/api/src/billing.d.ts +2 -2
- package/dist/_dts/api/src/bookingConfig.d.ts +33 -48
- package/dist/_dts/api/src/bookingManagementEndpoints.d.ts +2 -6
- package/dist/_dts/api/src/bookingOperations.d.ts +5 -7
- package/dist/_dts/api/src/bookingRecords.d.ts +15 -11
- package/dist/_dts/api/src/bookingRefundOutcomes.d.ts +5 -5
- package/dist/_dts/api/src/clientErrorReporting.d.ts +11 -0
- package/dist/_dts/api/src/commercePortalEndpoints.d.ts +0 -2
- package/dist/_dts/api/src/common/cancellation.d.ts +23 -0
- package/dist/_dts/api/src/contentRuntime.d.ts +5 -1
- package/dist/_dts/api/src/customerMembershipOutcomes.d.ts +1 -1
- package/dist/_dts/api/src/endpoints.d.ts +2 -10
- package/dist/_dts/api/src/eventManagementContracts.d.ts +4 -7
- package/dist/_dts/api/src/footerCompositionContracts.d.ts +9 -0
- package/dist/_dts/api/src/footerSettings.d.ts +3 -3
- package/dist/_dts/api/src/index.d.ts +4 -4
- package/dist/_dts/api/src/navigation/bookingPortalLink.d.ts +13 -0
- package/dist/_dts/api/src/navigation.d.ts +1 -0
- package/dist/_dts/api/src/publicAppointmentBookingContracts.d.ts +2 -2
- package/dist/_dts/api/src/publicExperience/commerceEndpoints.d.ts +2 -29
- package/dist/_dts/api/src/publicExperience/eventEndpoints.d.ts +9 -173
- package/dist/_dts/api/src/request.d.ts +1 -1
- package/dist/_dts/api/src/sdk-event-upsert.d.ts +1 -1
- package/dist/_dts/api/src/sdkPullEventContracts.d.ts +1 -1
- package/dist/_dts/api/src/sdkThemeWire.d.ts +12 -0
- package/dist/_dts/api/src/siteManagementEndpoints.d.ts +3 -3
- package/dist/_dts/api/src/siteOperations.d.ts +6 -2
- package/dist/_dts/api/src/siteSettings.d.ts +2 -0
- package/dist/_dts/blocks/src/client/site-chrome.d.ts +1 -1
- package/dist/_dts/blocks/src/client.d.ts +2 -1
- package/dist/_dts/blocks/src/contracts/index.d.ts +1 -1
- package/dist/_dts/blocks/src/contracts/non-block-islands.d.ts +2 -2
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +38 -10
- package/dist/_dts/blocks/src/portal/types.d.ts +9 -6
- package/dist/_dts/blocks/src/rendering/server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +24 -24
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/shared/bookingPaymentTerms.d.ts +84 -160
- package/dist/_dts/blocks/src/system/blocks/shop.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/shop.shared.d.ts +31 -4
- package/dist/_dts/blocks/src/system/blocks/site-footer-runtime.d.ts +30 -3
- package/dist/_dts/blocks/src/system/designCapabilities.d.ts +10 -1
- package/dist/_dts/blocks/src/system/runtime/api/index.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/api/types/appointments.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/api/types/core.d.ts +3 -1
- package/dist/_dts/blocks/src/system/runtime/api/types/events.d.ts +38 -18
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +48 -6
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +24 -3
- package/dist/_dts/blocks/src/system/runtime/hooks/useBookingNowIso.d.ts +8 -0
- package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessEventRegistrationFlow.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.server.d.ts +6 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.state.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/commerce/shared/display.d.ts +9 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details/presentation.d.ts +14 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventEmbeddedCheckoutStep.d.ts +13 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationPayment.d.ts +15 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationWizardActions.d.ts +0 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/FullyBookedStep.d.ts +6 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/PaymentBlockingPanel.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/PaymentSelectionStep.d.ts +4 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/event-registration.headless.contract.d.ts +15 -5
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/event-registration.headless.planning.d.ts +4 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/eventPaymentOptions.d.ts +3 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/paymentLocation.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/paymentResponse.d.ts +72 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/registrationCompletion.d.ts +66 -5
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/registrationErrorRecovery.d.ts +1 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/registrationStateMachine.d.ts +13 -5
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/sessionStorage.d.ts +11 -52
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/types.d.ts +19 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationStripeReturn.d.ts +7 -42
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationSubmit.d.ts +7 -8
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationWizard.d.ts +94 -24
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useGuestRegistrationRecovery.d.ts +30 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/usePaymentStatusRecovery.d.ts +24 -12
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useRegistrationAdmission.d.ts +18 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/wizardSteps.d.ts +6 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.interactive.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCollectionContract.d.ts +24 -24
- package/dist/_dts/blocks/src/system/runtime/nodes/shop.interactive.d.ts +41 -6
- package/dist/_dts/blocks/src/system/runtime/shared/bookingPaymentOptions.d.ts +7 -2
- package/dist/_dts/blocks/src/system/runtime/shared/stripe/browserStripe.d.ts +8 -0
- package/dist/_dts/blocks/src/system/transforms/registry/eventCalendar.d.ts +8 -0
- package/dist/_dts/commerce/src/purchase/bookingPaymentSelection.d.ts +54 -0
- package/dist/_dts/commerce/src/purchase/checkoutCommitPlan.d.ts +58 -13
- package/dist/_dts/commerce/src/purchase/checkoutCopy.d.ts +10 -0
- package/dist/_dts/commerce/src/purchase/checkoutErrorCodes.d.ts +1 -1
- package/dist/_dts/commerce/src/purchase/checkoutPaymentPlanPlanning.d.ts +16 -21
- package/dist/_dts/commerce/src/purchase/checkoutPaymentTerms.d.ts +23 -40
- package/dist/_dts/commerce/src/purchase/checkoutPresentation.d.ts +49 -0
- package/dist/_dts/commerce/src/purchase/checkoutSessionMetadata.d.ts +6 -6
- package/dist/_dts/commerce/src/purchase/checkoutStripeFinalizationPlanning.d.ts +5 -1
- package/dist/_dts/commerce/src/purchase/checkoutStripeSessionPlanning.d.ts +5 -4
- package/dist/_dts/commerce/src/purchase/event-registration-errors.d.ts +9 -0
- package/dist/_dts/commerce/src/purchase/index.d.ts +3 -3
- package/dist/_dts/commerce/src/purchase/membershipOrderItemMetadata.d.ts +4 -0
- package/dist/_dts/commerce/src/purchase/oneTimeCheckoutPlanning.d.ts +9 -4
- package/dist/_dts/commerce/src/purchase/orderInstalmentClosure.d.ts +13 -1
- package/dist/_dts/commerce/src/purchase/orderInstalmentLifecycle.d.ts +5 -0
- package/dist/_dts/commerce/src/purchase/orderItemMetadata.d.ts +4 -1
- package/dist/_dts/commerce/src/purchase/orderTypes.d.ts +7 -1
- package/dist/_dts/commerce/src/purchase/refundRailSplit.d.ts +1 -1
- package/dist/_dts/commerce/src/purchase/stateTransitions.d.ts +2 -2
- package/dist/_dts/commerce/src/purchase/stripeCheckoutReturnUrl.d.ts +9 -2
- package/dist/_dts/commerce/src/purchase/stripeMinimumCharge.d.ts +6 -0
- package/dist/_dts/commerce/src/purchase/types.d.ts +7 -7
- package/dist/_dts/content-editor/src/FooterComposerOverview.d.ts +3 -2
- package/dist/_dts/content-editor/src/controller/editLeaseHandover.d.ts +30 -0
- package/dist/_dts/content-editor/src/footerPreviewRuntime.d.ts +6 -1
- package/dist/_dts/content-editor/src/lib/browserStorage.d.ts +5 -0
- package/dist/_dts/content-editor/src/useFooterComposerState.d.ts +7 -0
- package/dist/_dts/core/src/booking-flexible-balance.d.ts +2 -2
- package/dist/_dts/core/src/booking-instalment-deposit.d.ts +20 -0
- package/dist/_dts/core/src/booking-live-payment-terms.d.ts +72 -0
- package/dist/_dts/core/src/booking-payment-options.d.ts +24 -0
- package/dist/_dts/core/src/booking-payment-schemas.d.ts +522 -0
- package/dist/_dts/core/src/branded.d.ts +3 -0
- package/dist/_dts/core/src/edit-lease.d.ts +5 -0
- package/dist/_dts/core/src/index.d.ts +4 -0
- package/dist/_dts/core/src/patch/index.d.ts +30 -0
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +326 -36
- package/dist/_dts/media-editor/src/MediaPickerDialog.d.ts +3 -1
- package/dist/_dts/media-editor/src/MediaPickerMiniDialog.d.ts +10 -0
- package/dist/_dts/media-editor/src/index.d.ts +2 -0
- package/dist/_dts/preview-next/src/client/preview/PreviewEntryControllerProvider.d.ts +0 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/previewAuthStore.d.ts +7 -0
- package/dist/_dts/preview-next/src/constants.d.ts +4 -0
- package/dist/_dts/preview-next/src/keepAlive.d.ts +1 -0
- package/dist/_dts/sdk/src/bookings/index.d.ts +2 -1
- package/dist/_dts/sdk/src/bookings/types.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/islands/types.d.ts +2 -12
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/theme-core/src/blocks/index.d.ts +1 -0
- package/dist/_dts/theme-core/src/blocks/opaquePanels.d.ts +147 -0
- package/dist/_dts/theme-core/src/boxBackgroundSchema.d.ts +22 -0
- package/dist/_dts/theme-core/src/buttons/buttonSurfaceContext.d.ts +22 -0
- package/dist/_dts/theme-core/src/cards/roles.d.ts +12 -0
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +198 -0
- package/dist/_dts/theme-core/src/palette/utils/index.d.ts +2 -0
- package/dist/_dts/theme-core/src/palette/utils/scrimContrast.d.ts +22 -0
- package/dist/_dts/theme-core/src/runtime/bridgeColourTokens.d.ts +10 -0
- package/dist/_dts/theme-core/src/schema.d.ts +330 -0
- package/dist/_dts/theme-core/src/site-styles/appearancePresetCatalog.d.ts +0 -51
- package/dist/_dts/theme-core/src/site-styles/blockAppearancePresets.d.ts +0 -51
- package/dist/_dts/theme-core/src/site-styles/lookResolution.d.ts +11 -0
- package/dist/_dts/theme-core/src/site-styles/pageDesignEditorCapabilities.d.ts +7 -1
- package/dist/_dts/theme-core/src/site-styles/pageDesignEditorModel.d.ts +7 -1
- package/dist/_dts/theme-core/src/site-styles/pageDesignIntent.d.ts +0 -5
- package/dist/_dts/theme-core/src/site-styles/previewRuntimeCapabilities.d.ts +12 -6
- package/dist/_dts/theme-core/src/site-styles/runtimeCompiler.d.ts +7 -4
- package/dist/_dts/theme-core/src/site-styles/sectionSurfaceBackgrounds.d.ts +65 -0
- package/dist/_dts/theme-core/src/site-styles/types.d.ts +17 -0
- package/dist/_dts/theme-core/src/surfaces/opaqueSurface.d.ts +43 -0
- package/dist/_dts/ui/src/color-picker.d.ts +1 -1
- package/dist/_dts/ui/src/palette/useHexDraft.d.ts +7 -0
- package/dist/client/{BookingMailingListNote-CzRt2dF_.mjs → BookingMailingListNote-CYHOufsI.mjs} +33 -124
- package/dist/client/{CheckboxChoice-B33MqoUo.mjs → CheckboxChoice-M-3HycLw.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-mxqwap3f.mjs → DemoBookingPortalAccess-Cvr9O_ca.mjs} +2 -2
- package/dist/client/{EventCombined.client-CDb11igO.mjs → EventCombined.client-m5UZIobP.mjs} +7 -7
- package/dist/client/EventEmbeddedCheckoutStep-DL6zFAkA.mjs +289 -0
- package/dist/client/{EventListing.client-EgYhzKPa.mjs → EventListing.client-DeMfCM04.mjs} +2 -2
- package/dist/client/{LeafletStaticMap-gtmtaA2b.mjs → LeafletStaticMap-CvZ3gOdD.mjs} +1 -1
- package/dist/client/{checkoutUrls-CXhko2Rv.mjs → RichText-BtfNvQV6.mjs} +2 -29
- package/dist/client/{TerminalPanel-DvNUP5ot.mjs → TerminalPanel-CUCNEwlH.mjs} +2 -18
- package/dist/client/{ThemedButton-C7CeUJjW.mjs → ThemedButton-C7WhXuRl.mjs} +2 -2
- package/dist/client/{accordion-kjvt49rA.mjs → accordion-cQm5mjqs.mjs} +1 -1
- package/dist/client/{bookingForm-pbRZordh.mjs → bookingForm-BVPJE5RQ.mjs} +15 -11
- package/dist/client/bookings.mjs +2860 -1222
- package/dist/client/{carousel-f4Zbmicv.mjs → carousel-3vgnY7LC.mjs} +2 -2
- package/dist/client/{carousel.client-A2lG-9od.mjs → carousel.client-CISsdZvg.mjs} +1 -1
- package/dist/client/{cart-DO20An50.mjs → cart-BGK4oOjm.mjs} +3 -3
- package/dist/client/{checkout-Du5amDR_.mjs → checkout-GsBLUNJD.mjs} +3 -3
- package/dist/client/checkoutUrls-ChxwaNtO.mjs +28 -0
- package/dist/client/client.mjs +3324 -2053
- package/dist/client/{colorStyles-j5U9v5JA.mjs → colorStyles-D-32xHZh.mjs} +2 -30
- package/dist/client/{context-eW97E945.mjs → context-D_8s12Fp.mjs} +1 -1
- package/dist/client/{dates-jPCirRea.mjs → dates-DeJQbQ9T.mjs} +2 -2
- package/dist/client/{eventCalendar-C2M-iE4j.mjs → eventCalendar-cmucD4NR.mjs} +10 -10
- package/dist/client/{eventCombined-W6ns3LHg.mjs → eventCombined-ku3E9FTl.mjs} +4 -4
- package/dist/client/{eventDetails-CR-GT0f0.mjs → eventDetails-CyKZ61sF.mjs} +5 -5
- package/dist/client/{eventListing-BK8AfYZz.mjs → eventListing-B7yxGIhX.mjs} +4 -4
- package/dist/client/{eventRegistration-BJSd4KUu.mjs → eventRegistration-BoXfSFgZ.mjs} +1455 -1184
- package/dist/client/{form-BvpfbQaT.mjs → form-CNQOWhJo.mjs} +5 -5
- package/dist/client/{headerSection-I5sUQ8x-.mjs → headerSection-DahaBJGQ.mjs} +3 -3
- package/dist/client/hooks.mjs +283 -193
- package/dist/client/{locationMap-BLvwf9_f.mjs → locationMap-BoDjqYlW.mjs} +4 -4
- package/dist/client/{media-Cl38iOMI.mjs → media-BFY0y2rb.mjs} +2 -1
- package/dist/client/{newsletterForm-DrQ2weE8.mjs → newsletterForm-DtzXDklw.mjs} +4 -4
- package/dist/client/{pricing-BES87mrR.mjs → pricing-DXEh2Lhh.mjs} +1 -1
- package/dist/client/{productDetail-Url9jcc5.mjs → productDetail-D7cPa-00.mjs} +3 -3
- package/dist/client/{productList-DE7ngEZJ.mjs → productList-D1XMap66.mjs} +3 -3
- package/dist/client/{propsDecoder-D1OtGXDV.mjs → propsDecoder-DiIeBopB.mjs} +913 -322
- package/dist/client/rendering/client.mjs +3913 -2260
- package/dist/client/rendering/islands.mjs +19 -19
- package/dist/client/rendering.mjs +3302 -2013
- package/dist/client/result-DRW7JWXz.mjs +30 -0
- package/dist/client/{routeIslandApiConfig-BG9Y-SHg.mjs → routeIslandApiConfig-wzR4lKAY.mjs} +1 -1
- package/dist/client/scrollToBlock-C86BYkyV.mjs +17 -0
- package/dist/client/{shop-CJkuySJ3.mjs → shop-CYT5P-S5.mjs} +13 -14
- package/dist/client/{shop-commerce-store-Bxm75Pg6.mjs → shop-commerce-store-wKhsJQxI.mjs} +1 -1
- package/dist/client/{shop-commerce-4rKj5n9h.mjs → shop-commerce-ypBu_dx4.mjs} +9 -9
- package/dist/client/{shopShared-DpoQDWfz.mjs → shopShared-DFGhYrf2.mjs} +52 -6
- package/dist/client/{useEventFilters-D8HliSqR.mjs → useEventFilters-blSbN5o7.mjs} +8 -8
- package/dist/preview-next/before-render.mjs +15 -22
- package/dist/preview-next/client/runtime.mjs +4 -4
- package/dist/preview-next/constants.mjs +5 -1
- package/dist/preview-next/index.mjs +5 -1
- package/dist/preview-next/keepAlive.mjs +149 -82
- package/dist/preview-next/middleware.mjs +15 -22
- package/dist/{previewAuthStore-BXXF3hhW.mjs → previewAuthStore-BBmV7UsW.mjs} +49 -29
- package/dist/{sdk-runtime-C2a05WjL.mjs → sdk-runtime-2p8uQk1V.mjs} +2 -2
- package/dist/{separator-CuNhBAhS.mjs → separator-Cvvzk0Oo.mjs} +1 -1
- package/dist/server/components.mjs +4041 -3704
- package/dist/server/config-validation.mjs +345 -255
- package/dist/server/config.mjs +345 -255
- package/dist/server/data.mjs +283 -193
- package/dist/server/index.mjs +20 -27
- package/dist/server/next.mjs +788 -469
- package/dist/server/page-converter.mjs +245 -121
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +4018 -3690
- package/dist/server/rendering.mjs +4044 -3707
- package/dist/server/routing.mjs +314 -190
- package/dist/server/server.mjs +290 -218
- package/dist/server/theme-bridge.mjs +1122 -310
- package/dist/server/theme.mjs +126 -116
- package/dist/spinner-CDo6AkDz.mjs +658 -0
- package/dist/styles/index.css +75 -212
- package/package.json +1 -1
- package/dist/_dts/api/src/bookingPaymentTermSchemas.d.ts +0 -123
- package/dist/_dts/billing/src/checkout/platform.d.ts +0 -77
- package/dist/_dts/billing/src/config/env.d.ts +0 -29
- package/dist/_dts/billing/src/stripe/client.d.ts +0 -29
- package/dist/_dts/blocks/src/system/runtime/hooks/usePaymentVerification.d.ts +0 -63
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventCheckoutHandoffRestore.d.ts +0 -9
- package/dist/_dts/commerce/src/purchase/checkoutPaymentTermPlanning.d.ts +0 -10
- package/dist/_dts/commerce/src/purchase/checkoutValidatedItemPlanning.d.ts +0 -55
- package/dist/_dts/commerce/src/purchase/orderInstalmentPayoff.d.ts +0 -24
- package/dist/client/urlParams-D71VXFGx.mjs +0 -47
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { APIEndpoints, NavigationMenuWithItems } from './types';
|
|
2
2
|
import type { ApiClient } from './request';
|
|
3
3
|
export { collectCartLinkStats, collectPortalLinkStats, type CartLinkValidationItem, type CartLinkValidationStats, type NavigationMenuValidationItem, type PortalLinkValidationItem, type PortalLinkValidationStats, } from './navigationMenuValidation';
|
|
4
|
+
export { YOUR_BOOKINGS_LABEL, YOUR_BOOKINGS_PORTAL_LINK, } from './navigation/bookingPortalLink';
|
|
4
5
|
export { isInternalLink, isPageLink, isEntryLink, resolveNavigationLinkInput, } from './navigation/linkResolver';
|
|
5
6
|
export { isNavigationDropdownSentinel, normalizeNavigationAuthoringLinkForCommand, normalizeNavigationConfigItemForCommand, navigationApiItemToSdkLocalItem, navigationCommandItemToManagementInput, } from './navigation/boundaries';
|
|
6
7
|
export type { NavigationAuthoringItemInput, NavigationAuthoringLinkInput, NavigationBoundaryPortalLinkPayload, NavigationCommandBoundaryItemInput, NavigationConfigItemInput, NavigationDropdownSentinel, NavigationLocalItemInput, NavigationReadItemInput, } from './navigation/boundaries';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { BookingMailingListNote as BookingSignupNote } from '../../core/src/index';
|
|
1
|
+
import type { BookingMailingListNote as BookingSignupNote, BookingPaymentCollectionOptionKind } from '../../core/src/index';
|
|
2
2
|
export type PublicCreateBookingAppointmentRequest = {
|
|
3
3
|
formId: string;
|
|
4
4
|
serviceId: string;
|
|
@@ -10,7 +10,7 @@ export type PublicCreateBookingAppointmentRequest = {
|
|
|
10
10
|
timezone?: string;
|
|
11
11
|
discountCode?: string;
|
|
12
12
|
selectedSlidingAmount?: number;
|
|
13
|
-
selectedCollectionOptionKind?:
|
|
13
|
+
selectedCollectionOptionKind?: BookingPaymentCollectionOptionKind;
|
|
14
14
|
altchaSolution?: string | null;
|
|
15
15
|
successUrl?: string;
|
|
16
16
|
cancelUrl?: string;
|
|
@@ -4,26 +4,9 @@
|
|
|
4
4
|
* Merged into `PublicExperienceAPIEndpoints` by `../publicExperienceEndpoints`.
|
|
5
5
|
*/
|
|
6
6
|
import type { APIEndpoint } from '../apiEndpointTypes';
|
|
7
|
+
import type { PublicMembershipProduct, PublicPassProduct } from '../../../blocks/src/contracts/index';
|
|
7
8
|
import type { PublicProduct } from '../../../blocks/src/system/blocks/products/shared';
|
|
8
9
|
import type { DiscountsAvailableResponse, PublicDiscountContext } from './sharedTypes';
|
|
9
|
-
type PublicPassProduct = {
|
|
10
|
-
id: string;
|
|
11
|
-
productUseCase: 'event_pass' | 'appointment_package';
|
|
12
|
-
name: string;
|
|
13
|
-
description: string | null;
|
|
14
|
-
price: number;
|
|
15
|
-
currency: string;
|
|
16
|
-
creditsTotal: number;
|
|
17
|
-
pricePerCredit: number;
|
|
18
|
-
validDays: number | null;
|
|
19
|
-
eligibleCategoryIds: string[];
|
|
20
|
-
eligibleCategoryNames: string[];
|
|
21
|
-
} & ({
|
|
22
|
-
purchaseAvailability: 'purchasable';
|
|
23
|
-
} | {
|
|
24
|
-
purchaseAvailability: 'display_only';
|
|
25
|
-
unavailabilityReason: 'online_payments_unavailable';
|
|
26
|
-
});
|
|
27
10
|
export type PublicCommerceAPIEndpoints = {
|
|
28
11
|
listPublicPasses: APIEndpoint<never, {
|
|
29
12
|
siteId: string;
|
|
@@ -35,16 +18,7 @@ export type PublicCommerceAPIEndpoints = {
|
|
|
35
18
|
siteId: string;
|
|
36
19
|
categories?: string;
|
|
37
20
|
}, {
|
|
38
|
-
memberships:
|
|
39
|
-
id: string;
|
|
40
|
-
name: string;
|
|
41
|
-
description: string | null;
|
|
42
|
-
price: number;
|
|
43
|
-
currency: string;
|
|
44
|
-
billingInterval: 'month' | 'year';
|
|
45
|
-
eligibleCategoryIds: string[];
|
|
46
|
-
eligibleCategoryNames: string[];
|
|
47
|
-
}>;
|
|
21
|
+
memberships: PublicMembershipProduct[];
|
|
48
22
|
}>;
|
|
49
23
|
listPublicProducts: APIEndpoint<never, {
|
|
50
24
|
siteId: string;
|
|
@@ -254,4 +228,3 @@ export type PublicCommerceAPIEndpoints = {
|
|
|
254
228
|
message: string;
|
|
255
229
|
}>;
|
|
256
230
|
};
|
|
257
|
-
export {};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { BookingMailingListNote as BookingSignupNote } from '../../../core/src/index';
|
|
2
1
|
/**
|
|
3
2
|
* Storefront event discovery, registration, checkout and eligibility endpoints.
|
|
4
3
|
*
|
|
@@ -7,9 +6,8 @@ import type { BookingMailingListNote as BookingSignupNote } from '../../../core/
|
|
|
7
6
|
import type { EventRegistrationOptionsRequest, EventRegistrationOptionsResponse } from '../../../blocks/src/system/blocks/event-registration';
|
|
8
7
|
import type { PublicWaitlistClaimResponse } from '../../../commerce/src/index';
|
|
9
8
|
import type { APIEndpoint } from '../apiEndpointTypes';
|
|
10
|
-
import type {
|
|
11
|
-
import type {
|
|
12
|
-
import type { EventRegisterResponse as EventRegistrationOutcome, EventRegistrationPaymentSubject, EventRegistrationNextStepRequest, EventRegistrationNextStepResponse } from '../../../blocks/src/system/runtime/api/types';
|
|
9
|
+
import type { PublicEventLoaderParams } from './sharedTypes';
|
|
10
|
+
import type { EventRegisterResponse as EventRegistrationOutcome, EventRegisterRequest, EventCheckoutRequest, EventCheckoutResponse, EventCheckoutReturnRequest, EventCheckoutReturnResponse, EventRegistrationNextStepRequest, EventRegistrationNextStepResponse } from '../../../blocks/src/system/runtime/api/types';
|
|
13
11
|
/**
|
|
14
12
|
* The canonical public Event record.
|
|
15
13
|
*
|
|
@@ -89,133 +87,14 @@ export type PublicEventAPIEndpoints = {
|
|
|
89
87
|
};
|
|
90
88
|
} | null;
|
|
91
89
|
}>;
|
|
92
|
-
registerForEvent: APIEndpoint<{
|
|
93
|
-
/**
|
|
94
|
-
* Client-generated command identity for this submission (UUID).
|
|
95
|
-
*
|
|
96
|
-
* Generated once when the customer submits and retained across transport
|
|
97
|
-
* retries, so a lost response can be replayed rather than double-booked.
|
|
98
|
-
* The single-occurrence commit is keyed on it; see #1273.
|
|
99
|
-
*/
|
|
100
|
-
registrationCommandId: string;
|
|
101
|
-
checkout?: {
|
|
102
|
-
successUrl: string;
|
|
103
|
-
cancelUrl: string;
|
|
104
|
-
discountCode?: string;
|
|
105
|
-
collectionOptionKind?: DirectCheckoutCollectionOptionKind;
|
|
106
|
-
};
|
|
107
|
-
subject: {
|
|
108
|
-
kind: 'occurrence';
|
|
109
|
-
occurrenceId: string;
|
|
110
|
-
attendanceMode?: EventAttendanceMode;
|
|
111
|
-
} | {
|
|
112
|
-
kind: 'wholeSeries';
|
|
113
|
-
eventSeriesId: string;
|
|
114
|
-
attendanceMode?: EventAttendanceMode;
|
|
115
|
-
};
|
|
116
|
-
selectedSlidingAmount?: number;
|
|
117
|
-
email: string;
|
|
118
|
-
name: string;
|
|
119
|
-
ticketSelections: EventTicketSelectionRequest[];
|
|
120
|
-
phone?: string;
|
|
121
|
-
notes?: string;
|
|
122
|
-
formData?: Record<string, unknown>;
|
|
123
|
-
consentAccepted?: boolean;
|
|
124
|
-
mailingListOptIn?: boolean;
|
|
125
|
-
altchaSolution?: string | null;
|
|
126
|
-
paymentMethod?: 'free' | 'pass' | 'membership' | 'stripe' | 'pass_bundle' | 'membership_bundle';
|
|
127
|
-
customerPassId?: string;
|
|
128
|
-
customerMembershipId?: string;
|
|
129
|
-
bundleProductId?: string;
|
|
130
|
-
claimToken?: string;
|
|
131
|
-
waitlistEntryId?: string;
|
|
132
|
-
guests?: Array<{
|
|
133
|
-
name: string;
|
|
134
|
-
email?: string | null;
|
|
135
|
-
phone?: string | null;
|
|
136
|
-
}>;
|
|
137
|
-
}, {
|
|
90
|
+
registerForEvent: APIEndpoint<Omit<EventRegisterRequest, 'siteId'>, {
|
|
138
91
|
siteId: string;
|
|
139
92
|
}, EventRegistrationOutcome>;
|
|
140
|
-
createPublicEventCheckout: APIEndpoint<{
|
|
141
|
-
subject: {
|
|
142
|
-
kind: 'occurrence';
|
|
143
|
-
attendeeId: string;
|
|
144
|
-
};
|
|
145
|
-
registrationCommandId: string;
|
|
146
|
-
checkoutType?: 'event' | 'pass_bundle' | 'membership_bundle';
|
|
147
|
-
productId?: string;
|
|
148
|
-
discountCode?: string;
|
|
149
|
-
collectionOptionKind?: DirectCheckoutCollectionOptionKind;
|
|
150
|
-
successUrl: string;
|
|
151
|
-
cancelUrl: string;
|
|
152
|
-
} | {
|
|
153
|
-
subject: {
|
|
154
|
-
kind: 'wholeSeries';
|
|
155
|
-
eventSeriesId: string;
|
|
156
|
-
attendanceMode?: EventAttendanceMode;
|
|
157
|
-
};
|
|
158
|
-
ticketSelections: EventTicketSelectionRequest[];
|
|
159
|
-
selectedSlidingAmount?: number;
|
|
160
|
-
email: string;
|
|
161
|
-
name: string;
|
|
162
|
-
phone?: string;
|
|
163
|
-
formData?: Record<string, unknown>;
|
|
164
|
-
consentAccepted?: boolean;
|
|
165
|
-
mailingListOptIn?: boolean;
|
|
166
|
-
altchaSolution?: string | null;
|
|
167
|
-
guests?: Array<{
|
|
168
|
-
name: string;
|
|
169
|
-
email?: string | null;
|
|
170
|
-
phone?: string | null;
|
|
171
|
-
}>;
|
|
172
|
-
claimToken?: string;
|
|
173
|
-
waitlistEntryId?: string;
|
|
174
|
-
discountCode?: string;
|
|
175
|
-
collectionOptionKind: DirectCheckoutCollectionOptionKind;
|
|
176
|
-
checkoutAttemptId: string;
|
|
177
|
-
successUrl: string;
|
|
178
|
-
cancelUrl: string;
|
|
179
|
-
}, {
|
|
93
|
+
createPublicEventCheckout: APIEndpoint<EventCheckoutRequest extends infer T ? T extends {
|
|
180
94
|
siteId: string;
|
|
181
|
-
}, {
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
checkoutUrl: string | null;
|
|
185
|
-
sessionId: string | null;
|
|
186
|
-
bypassed: boolean;
|
|
187
|
-
deferredBalance?: {
|
|
188
|
-
amountCents: number;
|
|
189
|
-
currency: string;
|
|
190
|
-
};
|
|
191
|
-
mailingListSignupNote?: BookingSignupNote;
|
|
192
|
-
} | {
|
|
193
|
-
scope: 'wholeSeries';
|
|
194
|
-
registrationId: string;
|
|
195
|
-
checkoutAttemptId: string;
|
|
196
|
-
recoverableUntil?: string;
|
|
197
|
-
checkoutUrl: string | null;
|
|
198
|
-
sessionId: string | null;
|
|
199
|
-
bypassed: boolean;
|
|
200
|
-
deferredBalance?: {
|
|
201
|
-
amountCents: number;
|
|
202
|
-
currency: string;
|
|
203
|
-
};
|
|
204
|
-
mailingListSignupNote?: BookingSignupNote;
|
|
205
|
-
} | {
|
|
206
|
-
scope: 'wholeSeries';
|
|
207
|
-
status: 'paymentStatusRequired';
|
|
208
|
-
checkoutAttemptId: string;
|
|
209
|
-
recoverableUntil?: string;
|
|
210
|
-
mailingListSignupNote?: BookingSignupNote;
|
|
211
|
-
} | {
|
|
212
|
-
scope: 'wholeSeries';
|
|
213
|
-
status: 'waitlist';
|
|
214
|
-
waitlistEntryId: string;
|
|
215
|
-
waitlistPosition: number | null;
|
|
216
|
-
alreadyRegistered?: boolean;
|
|
217
|
-
mailingListSignupNote?: BookingSignupNote;
|
|
218
|
-
}>;
|
|
95
|
+
} ? Omit<T, 'siteId'> : never : never, {
|
|
96
|
+
siteId: string;
|
|
97
|
+
}, EventCheckoutResponse>;
|
|
219
98
|
getPublicEventRegistrationOptions: APIEndpoint<PublicEventRegistrationOptionsRequest, {
|
|
220
99
|
siteId: string;
|
|
221
100
|
}, PublicEventRegistrationOptionsResponse>;
|
|
@@ -236,52 +115,9 @@ export type PublicEventAPIEndpoints = {
|
|
|
236
115
|
attendeeStatus: 'pending' | 'confirmed' | 'waitlist' | 'cancelled';
|
|
237
116
|
waitlistPosition: number | null;
|
|
238
117
|
}>;
|
|
239
|
-
resolvePublicEventCheckoutReturn: APIEndpoint<{
|
|
240
|
-
kind: 'resolveSuccess';
|
|
241
|
-
checkoutAttemptId: string;
|
|
242
|
-
sessionId: string;
|
|
243
|
-
} | {
|
|
244
|
-
kind: 'abandon';
|
|
245
|
-
checkoutAttemptId: string;
|
|
246
|
-
} | {
|
|
247
|
-
kind: 'checkStatus';
|
|
248
|
-
subject: EventRegistrationPaymentSubject;
|
|
249
|
-
}, {
|
|
118
|
+
resolvePublicEventCheckoutReturn: APIEndpoint<EventCheckoutReturnRequest, {
|
|
250
119
|
siteId: string;
|
|
251
|
-
},
|
|
252
|
-
kind: 'resolved';
|
|
253
|
-
deferredBalance?: {
|
|
254
|
-
amountCents: number;
|
|
255
|
-
currency: string;
|
|
256
|
-
};
|
|
257
|
-
reference: {
|
|
258
|
-
scope: 'occurrence';
|
|
259
|
-
attendeeId: string;
|
|
260
|
-
} | {
|
|
261
|
-
scope: 'wholeSeries';
|
|
262
|
-
registrationId: string;
|
|
263
|
-
};
|
|
264
|
-
} | {
|
|
265
|
-
kind: 'abandoned';
|
|
266
|
-
} | {
|
|
267
|
-
kind: 'notFound';
|
|
268
|
-
} | {
|
|
269
|
-
kind: 'reconciliationRequired';
|
|
270
|
-
} | {
|
|
271
|
-
kind: 'paymentProcessing';
|
|
272
|
-
recoverableUntil?: string;
|
|
273
|
-
} | {
|
|
274
|
-
kind: 'paymentAvailable';
|
|
275
|
-
checkoutUrl: string;
|
|
276
|
-
recoverableUntil?: string;
|
|
277
|
-
} | {
|
|
278
|
-
kind: 'paymentRetryAvailable';
|
|
279
|
-
} | {
|
|
280
|
-
kind: 'paymentCheckUnavailable';
|
|
281
|
-
recoverableUntil?: string;
|
|
282
|
-
} | {
|
|
283
|
-
kind: 'paymentAssistanceRequired';
|
|
284
|
-
}>;
|
|
120
|
+
}, EventCheckoutReturnResponse>;
|
|
285
121
|
getPublicEventTicketQrSvg: APIEndpoint<never, {
|
|
286
122
|
siteId: string;
|
|
287
123
|
token: string;
|
|
@@ -100,4 +100,4 @@ export declare function buildApiRequestPlan(input: Readonly<{
|
|
|
100
100
|
export declare function createCMSClient(headers?: AuthHeaders | {}, baseUrl?: string): ApiClient;
|
|
101
101
|
export declare const createServerAPIClient: (apiKey: string, baseUrl?: string) => ApiClient;
|
|
102
102
|
export declare function createInternalAPIClient(baseUrl?: string): ApiClient;
|
|
103
|
-
export declare function createBearerAPIClient(token: string, baseUrl?: string): ApiClient;
|
|
103
|
+
export declare function createBearerAPIClient(token: string | (() => string), baseUrl?: string): ApiClient;
|
|
@@ -129,7 +129,6 @@ type SdkEventRunUpsertCommon = Readonly<{
|
|
|
129
129
|
capacity?: number | null;
|
|
130
130
|
bookingOffer?: SdkEventBookingOffer;
|
|
131
131
|
venueRef?: string | null;
|
|
132
|
-
categoryRef?: string | null;
|
|
133
132
|
formRef?: string | null;
|
|
134
133
|
settings?: Record<string, unknown>;
|
|
135
134
|
tags?: string[];
|
|
@@ -155,6 +154,7 @@ export type SdkEventUpsertBody = Readonly<{
|
|
|
155
154
|
courseBooking?: SdkCourseBookingSettings;
|
|
156
155
|
administrativeStatus?: SdkPullEvent['administrativeStatus'];
|
|
157
156
|
title: string;
|
|
157
|
+
categoryRef?: string | null;
|
|
158
158
|
slug: string;
|
|
159
159
|
path?: string | null;
|
|
160
160
|
preset: SdkPullEvent['preset'];
|
|
@@ -10,6 +10,7 @@ export interface SdkPullEvent extends SdkPulledCourseBooking {
|
|
|
10
10
|
slug: string;
|
|
11
11
|
path: string | null;
|
|
12
12
|
preset: EventPreset;
|
|
13
|
+
categoryRef: string | null;
|
|
13
14
|
runRefs: readonly [string, ...string[]];
|
|
14
15
|
content: {
|
|
15
16
|
summary?: string;
|
|
@@ -36,7 +37,6 @@ export interface SdkPullEventRun {
|
|
|
36
37
|
capacity: number | null;
|
|
37
38
|
bookingOffer: SdkEventBookingOffer;
|
|
38
39
|
venueRef: string | null;
|
|
39
|
-
categoryRef: string | null;
|
|
40
40
|
formRef: string | null;
|
|
41
41
|
settings: Record<string, unknown>;
|
|
42
42
|
/**
|
|
@@ -1647,6 +1647,7 @@ export declare const sdkThemeWireSchema: z.ZodType<{
|
|
|
1647
1647
|
linkColor?: string | null | undefined;
|
|
1648
1648
|
supportingColor?: string | null | undefined;
|
|
1649
1649
|
color?: string | null | undefined;
|
|
1650
|
+
mediaScrim?: unknown;
|
|
1650
1651
|
} | {
|
|
1651
1652
|
type: "gradient";
|
|
1652
1653
|
contentOwner?: "page-design-editor" | undefined;
|
|
@@ -1656,6 +1657,7 @@ export declare const sdkThemeWireSchema: z.ZodType<{
|
|
|
1656
1657
|
supportingColor?: string | null | undefined;
|
|
1657
1658
|
gradient?: string | null | undefined;
|
|
1658
1659
|
gradientPresetId?: string | null | undefined;
|
|
1660
|
+
mediaScrim?: unknown;
|
|
1659
1661
|
} | {
|
|
1660
1662
|
type: "image";
|
|
1661
1663
|
contentOwner?: "page-design-editor" | undefined;
|
|
@@ -1784,6 +1786,7 @@ export declare const sdkThemeWireSchema: z.ZodType<{
|
|
|
1784
1786
|
linkColor?: string | null | undefined;
|
|
1785
1787
|
supportingColor?: string | null | undefined;
|
|
1786
1788
|
color?: string | null | undefined;
|
|
1789
|
+
mediaScrim?: unknown;
|
|
1787
1790
|
} | {
|
|
1788
1791
|
type: "gradient";
|
|
1789
1792
|
contentOwner?: "page-design-editor" | undefined;
|
|
@@ -1793,6 +1796,7 @@ export declare const sdkThemeWireSchema: z.ZodType<{
|
|
|
1793
1796
|
supportingColor?: string | null | undefined;
|
|
1794
1797
|
gradient?: string | null | undefined;
|
|
1795
1798
|
gradientPresetId?: string | null | undefined;
|
|
1799
|
+
mediaScrim?: unknown;
|
|
1796
1800
|
} | {
|
|
1797
1801
|
type: "image";
|
|
1798
1802
|
contentOwner?: "page-design-editor" | undefined;
|
|
@@ -1907,6 +1911,7 @@ export declare const sdkThemeWireSchema: z.ZodType<{
|
|
|
1907
1911
|
linkColor?: string | null | undefined;
|
|
1908
1912
|
supportingColor?: string | null | undefined;
|
|
1909
1913
|
color?: string | null | undefined;
|
|
1914
|
+
mediaScrim?: unknown;
|
|
1910
1915
|
} | {
|
|
1911
1916
|
type: "gradient";
|
|
1912
1917
|
contentOwner?: "page-design-editor" | undefined;
|
|
@@ -1916,6 +1921,7 @@ export declare const sdkThemeWireSchema: z.ZodType<{
|
|
|
1916
1921
|
supportingColor?: string | null | undefined;
|
|
1917
1922
|
gradient?: string | null | undefined;
|
|
1918
1923
|
gradientPresetId?: string | null | undefined;
|
|
1924
|
+
mediaScrim?: unknown;
|
|
1919
1925
|
} | {
|
|
1920
1926
|
type: "image";
|
|
1921
1927
|
contentOwner?: "page-design-editor" | undefined;
|
|
@@ -3707,6 +3713,7 @@ export declare const sdkThemeWireSchema: z.ZodType<{
|
|
|
3707
3713
|
linkColor?: string | null | undefined;
|
|
3708
3714
|
supportingColor?: string | null | undefined;
|
|
3709
3715
|
color?: string | null | undefined;
|
|
3716
|
+
mediaScrim?: unknown;
|
|
3710
3717
|
} | {
|
|
3711
3718
|
type: "gradient";
|
|
3712
3719
|
contentOwner?: "page-design-editor" | undefined;
|
|
@@ -3716,6 +3723,7 @@ export declare const sdkThemeWireSchema: z.ZodType<{
|
|
|
3716
3723
|
supportingColor?: string | null | undefined;
|
|
3717
3724
|
gradient?: string | null | undefined;
|
|
3718
3725
|
gradientPresetId?: string | null | undefined;
|
|
3726
|
+
mediaScrim?: unknown;
|
|
3719
3727
|
} | {
|
|
3720
3728
|
type: "image";
|
|
3721
3729
|
contentOwner?: "page-design-editor" | undefined;
|
|
@@ -3844,6 +3852,7 @@ export declare const sdkThemeWireSchema: z.ZodType<{
|
|
|
3844
3852
|
linkColor?: string | null | undefined;
|
|
3845
3853
|
supportingColor?: string | null | undefined;
|
|
3846
3854
|
color?: string | null | undefined;
|
|
3855
|
+
mediaScrim?: unknown;
|
|
3847
3856
|
} | {
|
|
3848
3857
|
type: "gradient";
|
|
3849
3858
|
contentOwner?: "page-design-editor" | undefined;
|
|
@@ -3853,6 +3862,7 @@ export declare const sdkThemeWireSchema: z.ZodType<{
|
|
|
3853
3862
|
supportingColor?: string | null | undefined;
|
|
3854
3863
|
gradient?: string | null | undefined;
|
|
3855
3864
|
gradientPresetId?: string | null | undefined;
|
|
3865
|
+
mediaScrim?: unknown;
|
|
3856
3866
|
} | {
|
|
3857
3867
|
type: "image";
|
|
3858
3868
|
contentOwner?: "page-design-editor" | undefined;
|
|
@@ -3967,6 +3977,7 @@ export declare const sdkThemeWireSchema: z.ZodType<{
|
|
|
3967
3977
|
linkColor?: string | null | undefined;
|
|
3968
3978
|
supportingColor?: string | null | undefined;
|
|
3969
3979
|
color?: string | null | undefined;
|
|
3980
|
+
mediaScrim?: unknown;
|
|
3970
3981
|
} | {
|
|
3971
3982
|
type: "gradient";
|
|
3972
3983
|
contentOwner?: "page-design-editor" | undefined;
|
|
@@ -3976,6 +3987,7 @@ export declare const sdkThemeWireSchema: z.ZodType<{
|
|
|
3976
3987
|
supportingColor?: string | null | undefined;
|
|
3977
3988
|
gradient?: string | null | undefined;
|
|
3978
3989
|
gradientPresetId?: string | null | undefined;
|
|
3990
|
+
mediaScrim?: unknown;
|
|
3979
3991
|
} | {
|
|
3980
3992
|
type: "image";
|
|
3981
3993
|
contentOwner?: "page-design-editor" | undefined;
|
|
@@ -23,8 +23,8 @@ import type { GeneratedIconSetGenerateRequest, GeneratedIconSetGenerateResponse,
|
|
|
23
23
|
import type { AiBrandGuidelinesGenerateRequest, AiBrandGuidelinesGenerateResponse, AiBrandGuidelinesGenerationContextResponse, SiteAiBrandGuidelinesPayload, SiteAiBrandGuidelinesResponse, SiteAiProfilePayload, SiteAiProfileResponse, SiteGenerationIntakePayload, SiteGenerationIntakeResponse } from './siteOnboarding';
|
|
24
24
|
import type { SitePrivacySettingsPayload, SitePrivacySettingsResponse } from './privacyPolicy';
|
|
25
25
|
import type { MaintenanceSettingsPayload, MaintenanceSettingsResponse, SiteBusinessAddressPayload, SiteBusinessAddressResponse, SiteFooterBlocksEditorResponse, SiteGeneralSettingsPayload, SiteGeneralSettingsResponse, SiteLayoutSettingsPayload, SiteLayoutSettingsResponse, UpdateSiteDeploymentModePayload, UpdateSiteDeploymentModeResponse, UpdateSiteFooterBlocksPayload, UpdateSiteFooterBlocksResponse } from './siteSettings';
|
|
26
|
-
import type {
|
|
27
|
-
export type { FooterCompositionSnapshot, FooterCompositionUpdateRequest, FooterCompositionUpdateResponse, } from './footerCompositionContracts';
|
|
26
|
+
import type { FooterCompositionRead, FooterCompositionUpdateRequest, FooterCompositionUpdateResponse } from './footerCompositionContracts';
|
|
27
|
+
export type { FooterCompositionRead, FooterCompositionSnapshot, FooterCompositionUpdateRequest, FooterCompositionUpdateResponse, } from './footerCompositionContracts';
|
|
28
28
|
/**
|
|
29
29
|
* Site-management endpoints collect dashboard/admin/auth/content-management API shapes
|
|
30
30
|
* that still belong to the aggregate contract layer but no longer need to live inline in
|
|
@@ -557,7 +557,7 @@ export type SiteManagementAPIEndpoints = BillingAPIEndpoints & EditLeaseAPIEndpo
|
|
|
557
557
|
}, SiteLayoutSettingsResponse>;
|
|
558
558
|
getFooterComposition: APIEndpoint<never, {
|
|
559
559
|
siteId: string;
|
|
560
|
-
},
|
|
560
|
+
}, FooterCompositionRead>;
|
|
561
561
|
updateFooterComposition: APIEndpoint<FooterCompositionUpdateRequest, {
|
|
562
562
|
siteId: string;
|
|
563
563
|
}, FooterCompositionUpdateResponse>;
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import type { AppointmentBookingQuestionsTask } from "./bookingOperations";
|
|
2
2
|
import type { SiteRole } from "./siteMembers";
|
|
3
3
|
import type { AdminManagedSubscriptionActionChoice, ManagedManualBillingReason, SiteBillingArrangement, SiteBillingArrangementChangeOrigin, SiteBillingArrangementKind, SiteBillingArrangementSubscriptionAction, SiteBillingManualReviewPayload, SiteBillingManualReviewResolutionAction, SiteBillingManualReviewStatus } from "../../billing/src/site-arrangements";
|
|
4
|
+
/** Questions apply to the booking but its task can't be shown right now. */
|
|
5
|
+
type AppointmentBookingQuestionsTaskState = AppointmentBookingQuestionsTask | {
|
|
6
|
+
kind: 'unavailable';
|
|
7
|
+
};
|
|
4
8
|
/**
|
|
5
9
|
* Site Operations Contracts
|
|
6
10
|
*
|
|
@@ -40,7 +44,7 @@ export type PortalAppointmentWithDetails = {
|
|
|
40
44
|
status: string;
|
|
41
45
|
notes?: string | null;
|
|
42
46
|
createdAt: string;
|
|
43
|
-
beforeYouCome:
|
|
47
|
+
beforeYouCome: AppointmentBookingQuestionsTaskState | null;
|
|
44
48
|
cancellation: {
|
|
45
49
|
canCancel: boolean;
|
|
46
50
|
canAutoRefundOnCancel: boolean;
|
|
@@ -547,7 +551,7 @@ export type ReopenFlexibleBalanceBookingAfterNonPaymentCancellationRequest = {
|
|
|
547
551
|
export type FlexibleBalanceAdminActionResponse = {
|
|
548
552
|
action: "cancelled" | "reopened";
|
|
549
553
|
flexibleBalanceStatus: "cancelled_due_to_non_payment" | "overdue";
|
|
550
|
-
|
|
554
|
+
orderId: string;
|
|
551
555
|
};
|
|
552
556
|
export type CreateShopOrderPaymentLinkResponse = {
|
|
553
557
|
paymentLink: string;
|
|
@@ -2,7 +2,7 @@ import type { ReactNode } from 'react';
|
|
|
2
2
|
import { buildThemeRuntime as buildThemeRuntimeImpl } from '../../../theme-core/src/runtime/buildThemeRuntime';
|
|
3
3
|
import type { Theme } from '../../../theme-core/src/schema';
|
|
4
4
|
import { renderBlock as renderBlockImpl } from '../system/componentFactory';
|
|
5
|
-
export { buildFooterRuntimeViewModel, type FooterResolvedEngagement, type FooterRuntimeEngagement, type FooterRuntimeModule, type FooterRuntimeViewModel, } from '../system/blocks/site-footer-runtime';
|
|
5
|
+
export { buildFooterRuntimeViewModel, withFooterAttribution, type FooterAttribution, type FooterResolvedEngagement, type FooterRuntimeEngagement, type FooterRuntimeModule, type FooterRuntimeViewModel, } from '../system/blocks/site-footer-runtime';
|
|
6
6
|
export type SiteChromeThemeConfigOverride = Readonly<{
|
|
7
7
|
header?: Partial<NonNullable<Theme['header']>>;
|
|
8
8
|
footer?: Partial<NonNullable<Theme['footer']>>;
|
|
@@ -34,7 +34,7 @@ export { BOOKING_FORM_DATA_RESERVED_KEY_VALUES } from './system/runtime/nodes/bo
|
|
|
34
34
|
export type { BookingFormData, BookingFormField, BookingSelectedCollectionOptionKind, } from './system/runtime/nodes/booking-form.state';
|
|
35
35
|
export type { BookingAvailabilityModel, BookingAppointmentPackagesModel, BookingDiscountModel, BookingFieldsModel, BookingFlowActions, BookingPaymentModel, BookingResourcesModel, BookingServicesModel, BookingSpamProtectionModel, HeadlessBookingFlow, HeadlessBookingFlowOptions, HeadlessBookingProviderProps, } from './system/runtime/hooks/useHeadlessBookingFlow';
|
|
36
36
|
export type { AppointmentBookingOverrideData, AppointmentBookingOverrideInput, AppointmentBookingOverrideInputResult, AppointmentBookingOverridePropsLike, BookingAvailabilityQuery, BookingAppointmentPackagesUnavailableReason, BookingFieldValue, BookingFieldView, BookingFlowActionResult, BookingFlowFeedback, BookingFlowStatus, BookingFlowView, BookingResourceView, BookingFlowStep, BookingFlowStepId, BookingSlotView, BookingSubmitActionResult, BookingSubmitOptions, BookingValidationErrors, DerivedBookingFlowSteps, DeriveBookingFlowStepsInput, LoadState, } from './system/runtime/hooks/useHeadlessBookingFlow.state';
|
|
37
|
-
export type { EventRegistrationAttendeeModel, EventRegistrationDiscountModel, EventRegistrationEventsModel, EventRegistrationFlowActionResult, EventRegistrationFlowActions, EventRegistrationFlowStatus, EventRegistrationFlowStep, EventRegistrationFlowStepId, EventRegistrationFlowView, EventRegistrationGuestsModel, EventRegistrationLoadState, EventRegistrationOverrideData, EventRegistrationOverrideInput, EventRegistrationOverrideInputResult, EventRegistrationOverridePropsLike, EventRegistrationPaymentModel, EventRegistrationPaymentSelection, EventRegistrationPortalAuthModel, EventRegistrationSpamProtectionModel,
|
|
37
|
+
export type { EventRegistrationAttendeeModel, EventRegistrationDiscountModel, EventRegistrationEventsModel, EventRegistrationFlowActionResult, EventRegistrationFlowActions, EventRegistrationFlowStatus, EventRegistrationFlowStep, EventRegistrationFlowStepId, EventRegistrationFlowView, EventRegistrationGuestsModel, EventRegistrationLoadState, EventRegistrationOverrideData, EventRegistrationOverrideInput, EventRegistrationOverrideInputResult, EventRegistrationOverridePropsLike, EventRegistrationPaymentModel, EventRegistrationPaymentSelection, EventRegistrationPortalAuthModel, EventRegistrationSpamProtectionModel, EventRegistrationSubmitResult, EventRegistrationTerminalModel, EventRegistrationTicketsModel, HeadlessEventRegistrationFlow, HeadlessEventRegistrationFlowOptions, HeadlessEventRegistrationProviderProps, } from './system/runtime/hooks/useHeadlessEventRegistrationFlow';
|
|
38
38
|
export { getEventRegistrationOverrideInput } from './system/runtime/nodes/event-registration/event-registration.headless.state';
|
|
39
39
|
export { buildBookingAvailabilityQuery, buildBookingStepPlan, buildBookingSubmitPlan, createEmptyBookingValidationErrors, createFieldBookingValidationErrors, createFormBookingValidationError, describeUnknownError, deriveBookingFlowSteps, deriveBookingFieldViews, getAppointmentBookingOverrideInput, hasBookingValidationErrors, resolveAppointmentPackagesModel, resolveHeadlessBookingStatus, resolveHeadlessBookingView, toBookingFormData, toBookingSlotView, toBookingSlotViews, validateBookingField, validateBookingFields, validateBookingStep, } from './system/runtime/hooks/useHeadlessBookingFlow.state';
|
|
40
40
|
export type { EventDetailsClientProps, EventDetailsIslandClientProps, } from './system/runtime/nodes/event-details.client';
|
|
@@ -55,3 +55,4 @@ export { NewsletterFormClient } from './system/runtime/nodes/newsletter-form.cli
|
|
|
55
55
|
export type { NewsletterFormProps } from './system/runtime/nodes/newsletter-form.types';
|
|
56
56
|
export { useBookingFormConfig } from './system/runtime/hooks/useBookingFormConfig';
|
|
57
57
|
export type { Service, BookingFormConfig as BookingFormConfigHook, } from './system/runtime/hooks/useBookingFormConfig';
|
|
58
|
+
export { EventRegistrationPayment } from './system/runtime/nodes/event-registration/EventRegistrationPayment';
|
|
@@ -6,7 +6,7 @@ export type { CalendarWindowQuery, CalendarWindowRequest, CalendarWindowPage, Ca
|
|
|
6
6
|
export type { AccordionIslandProps, CarouselIslandProps, EventDetailsIslandProps, EventDetailsOccurrenceContext, HeaderSectionIslandProps, LocationMapIslandProps, } from './non-block-islands';
|
|
7
7
|
export type { HeaderChromeRuntimeContract, HeaderScrollRuntime, } from '../system/runtime/header/runtimeContract';
|
|
8
8
|
export type { BookingFormConfig, BookingFormDisplay, BookingFormHydration, BookingFormInteractiveIslandProps, BookingFormService, CartDisplay, CartHydration, CartInteractiveIslandProps, CartLineDisplay, CheckoutDisplay, CheckoutHydration, CheckoutInteractiveIslandProps, EventCalendarDisplay, EventCalendarHydration, EventCalendarInteractiveIslandProps, EventCombinedDisplay, EventCombinedHydration, EventCombinedInteractiveIslandProps, EventRegistrationDisplay, EventRegistrationHydration, EventRegistrationInteractiveIslandProps, EventListingDisplay, EventListingHydration, EventListingInteractiveIslandProps, FormDisplay, FormHydration, FormInteractiveIslandProps, MembershipCardDisplay, NewsletterFormDisplay, NewsletterFormHydration, NewsletterFormInteractiveIslandProps, PassCardDisplay, PassesMembershipsDisplay, PassesMembershipsHydration, ProductCardDisplay, ProductDetailDisplay, ProductDetailInteractiveIslandProps, ProductDetailHydration, ProductListDisplay, ProductListInteractiveIslandProps, ProductListHydration, ProductVariantOptionDisplay, ShopInteractiveIslandProps, } from './proof-block-islands';
|
|
9
|
-
export type { PublicPassProduct, PurchasablePublicPassProduct, } from '../system/blocks/shop.shared';
|
|
9
|
+
export type { PublicMembershipProduct, PublicPassProduct, PurchasablePublicMembershipProduct, PurchasablePublicPassProduct, } from '../system/blocks/shop.shared';
|
|
10
10
|
export { accordionIslandPropsCodec, carouselIslandPropsCodec, eventDetailsIslandPropsCodec, headerSectionIslandPropsCodec, locationMapIslandPropsCodec, } from './non-block-islands';
|
|
11
11
|
export { createZodCodec, decodeFailure, decodeSuccess, defineClientOwnedBlockRuntime, defineProgressiveBlockRuntime, defineStaticBlockRuntime, isDecodeSuccess, } from './runtime';
|
|
12
12
|
export { buildInteractiveIslandProps, createInteractiveIslandCodec, defineInteractiveIslandMetaKeys } from './islands';
|
|
@@ -107,7 +107,7 @@ export declare const eventDetailsIslandPropsCodec: Readonly<{
|
|
|
107
107
|
passes: readonly import(".").PublicPassProduct[];
|
|
108
108
|
}> | null;
|
|
109
109
|
siteMemberships?: Readonly<{
|
|
110
|
-
memberships: readonly import("
|
|
110
|
+
memberships: readonly import(".").PublicMembershipProduct[];
|
|
111
111
|
}> | null;
|
|
112
112
|
autoApplyDiscount?: EventAutoApplyDiscountPreview | null;
|
|
113
113
|
className?: string | null;
|
|
@@ -131,7 +131,7 @@ export declare const eventDetailsIslandPropsCodec: Readonly<{
|
|
|
131
131
|
passes: readonly import(".").PublicPassProduct[];
|
|
132
132
|
}> | null;
|
|
133
133
|
siteMemberships?: Readonly<{
|
|
134
|
-
memberships: readonly import("
|
|
134
|
+
memberships: readonly import(".").PublicMembershipProduct[];
|
|
135
135
|
}> | null;
|
|
136
136
|
autoApplyDiscount?: EventAutoApplyDiscountPreview | null;
|
|
137
137
|
className?: string | null;
|
|
@@ -854,11 +854,18 @@ export declare const proofBlockIslandCodecs: {
|
|
|
854
854
|
description: string | null;
|
|
855
855
|
priceLabel: string;
|
|
856
856
|
intervalLabel: string;
|
|
857
|
-
|
|
857
|
+
action: Readonly<{
|
|
858
|
+
kind: "purchase";
|
|
859
|
+
label: string;
|
|
860
|
+
product: import(".").PurchasablePublicMembershipProduct;
|
|
861
|
+
}> | Readonly<{
|
|
862
|
+
kind: "unavailable";
|
|
863
|
+
label: string;
|
|
864
|
+
}>;
|
|
858
865
|
}>[];
|
|
859
866
|
}>;
|
|
860
867
|
hydration: Readonly<{
|
|
861
|
-
memberships: readonly import("
|
|
868
|
+
memberships: readonly import(".").PublicMembershipProduct[];
|
|
862
869
|
passPurchaseMode: "add_to_cart" | "buy_now";
|
|
863
870
|
buttonVariant: import("..").BlockButtonRole;
|
|
864
871
|
demoEmailSuppressed?: boolean;
|
|
@@ -907,11 +914,18 @@ export declare const proofBlockIslandCodecs: {
|
|
|
907
914
|
description: string | null;
|
|
908
915
|
priceLabel: string;
|
|
909
916
|
intervalLabel: string;
|
|
910
|
-
|
|
917
|
+
action: Readonly<{
|
|
918
|
+
kind: "purchase";
|
|
919
|
+
label: string;
|
|
920
|
+
product: import(".").PurchasablePublicMembershipProduct;
|
|
921
|
+
}> | Readonly<{
|
|
922
|
+
kind: "unavailable";
|
|
923
|
+
label: string;
|
|
924
|
+
}>;
|
|
911
925
|
}>[];
|
|
912
926
|
}>;
|
|
913
927
|
hydration: Readonly<{
|
|
914
|
-
memberships: readonly import("
|
|
928
|
+
memberships: readonly import(".").PublicMembershipProduct[];
|
|
915
929
|
passPurchaseMode: "add_to_cart" | "buy_now";
|
|
916
930
|
buttonVariant: import("..").BlockButtonRole;
|
|
917
931
|
demoEmailSuppressed?: boolean;
|
|
@@ -1826,11 +1840,18 @@ export declare const runtimeIslandCodecs: {
|
|
|
1826
1840
|
description: string | null;
|
|
1827
1841
|
priceLabel: string;
|
|
1828
1842
|
intervalLabel: string;
|
|
1829
|
-
|
|
1843
|
+
action: Readonly<{
|
|
1844
|
+
kind: "purchase";
|
|
1845
|
+
label: string;
|
|
1846
|
+
product: import(".").PurchasablePublicMembershipProduct;
|
|
1847
|
+
}> | Readonly<{
|
|
1848
|
+
kind: "unavailable";
|
|
1849
|
+
label: string;
|
|
1850
|
+
}>;
|
|
1830
1851
|
}>[];
|
|
1831
1852
|
}>;
|
|
1832
1853
|
hydration: Readonly<{
|
|
1833
|
-
memberships: readonly import("
|
|
1854
|
+
memberships: readonly import(".").PublicMembershipProduct[];
|
|
1834
1855
|
passPurchaseMode: "add_to_cart" | "buy_now";
|
|
1835
1856
|
buttonVariant: import("..").BlockButtonRole;
|
|
1836
1857
|
demoEmailSuppressed?: boolean;
|
|
@@ -1879,11 +1900,18 @@ export declare const runtimeIslandCodecs: {
|
|
|
1879
1900
|
description: string | null;
|
|
1880
1901
|
priceLabel: string;
|
|
1881
1902
|
intervalLabel: string;
|
|
1882
|
-
|
|
1903
|
+
action: Readonly<{
|
|
1904
|
+
kind: "purchase";
|
|
1905
|
+
label: string;
|
|
1906
|
+
product: import(".").PurchasablePublicMembershipProduct;
|
|
1907
|
+
}> | Readonly<{
|
|
1908
|
+
kind: "unavailable";
|
|
1909
|
+
label: string;
|
|
1910
|
+
}>;
|
|
1883
1911
|
}>[];
|
|
1884
1912
|
}>;
|
|
1885
1913
|
hydration: Readonly<{
|
|
1886
|
-
memberships: readonly import("
|
|
1914
|
+
memberships: readonly import(".").PublicMembershipProduct[];
|
|
1887
1915
|
passPurchaseMode: "add_to_cart" | "buy_now";
|
|
1888
1916
|
buttonVariant: import("..").BlockButtonRole;
|
|
1889
1917
|
demoEmailSuppressed?: boolean;
|
|
@@ -1952,7 +1980,7 @@ export declare const runtimeIslandCodecs: {
|
|
|
1952
1980
|
passes: readonly import(".").PublicPassProduct[];
|
|
1953
1981
|
}> | null;
|
|
1954
1982
|
siteMemberships?: Readonly<{
|
|
1955
|
-
memberships: readonly import("
|
|
1983
|
+
memberships: readonly import(".").PublicMembershipProduct[];
|
|
1956
1984
|
}> | null;
|
|
1957
1985
|
autoApplyDiscount?: import("..").EventAutoApplyDiscountPreview | null;
|
|
1958
1986
|
className?: string | null;
|
|
@@ -1976,7 +2004,7 @@ export declare const runtimeIslandCodecs: {
|
|
|
1976
2004
|
passes: readonly import(".").PublicPassProduct[];
|
|
1977
2005
|
}> | null;
|
|
1978
2006
|
siteMemberships?: Readonly<{
|
|
1979
|
-
memberships: readonly import("
|
|
2007
|
+
memberships: readonly import(".").PublicMembershipProduct[];
|
|
1980
2008
|
}> | null;
|
|
1981
2009
|
autoApplyDiscount?: import("..").EventAutoApplyDiscountPreview | null;
|
|
1982
2010
|
className?: string | null;
|