@riverbankcms/sdk 0.142.0 → 0.143.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.
Files changed (90) hide show
  1. package/dist/{PreviewEditorSidebar-Dk6Dt11f.mjs → PreviewEditorSidebar-DROGfMKi.mjs} +4 -4
  2. package/dist/{PreviewEditorUI-D6EQTsCA.mjs → PreviewEditorUI-BaRjhFu-.mjs} +3 -3
  3. package/dist/{PreviewQueryProvider-CC-EPkyQ.mjs → PreviewQueryProvider-BCYICImX.mjs} +1 -1
  4. package/dist/{SdkPreviewModeRuntime-DH1n4ytY.mjs → SdkPreviewModeRuntime-OIABYLES.mjs} +5 -5
  5. package/dist/{SiteChromeCustomizeContext-DunIzY0K.mjs → SiteChromeCustomizeContext-ohjTvZbc.mjs} +491 -525
  6. package/dist/_dts/api/src/endpoints.d.ts +7 -0
  7. package/dist/_dts/api/src/publicEventEndpointDefinitions.d.ts +7 -0
  8. package/dist/_dts/api/src/publicExperience/eventEndpoints.d.ts +48 -41
  9. package/dist/_dts/blocks/src/system/runtime/api/client.d.ts +2 -1
  10. package/dist/_dts/blocks/src/system/runtime/api/endpoints.d.ts +8 -0
  11. package/dist/_dts/blocks/src/system/runtime/api/types/events.d.ts +95 -35
  12. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/PaymentStatusStep.d.ts +10 -0
  13. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/TicketSelectionStep.d.ts +0 -2
  14. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/event-registration.headless.contract.d.ts +12 -1
  15. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/event-registration.headless.planning.d.ts +2 -2
  16. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/registrationCompletion.d.ts +1 -4
  17. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/registrationDerivations.d.ts +12 -0
  18. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/registrationErrorRecovery.d.ts +1 -1
  19. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/sessionStorage.d.ts +1 -0
  20. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/ticketSelectionLines.d.ts +4 -5
  21. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/types.d.ts +9 -11
  22. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationSubmit.d.ts +56 -2
  23. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationWizard.d.ts +10 -4
  24. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/usePaymentStatusRecovery.d.ts +23 -0
  25. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/utils.d.ts +1 -1
  26. package/dist/_dts/commerce/src/purchase/event-registration-errors.d.ts +4 -4
  27. package/dist/_dts/commerce/src/purchase/eventCheckoutRecoveryWindow.d.ts +8 -0
  28. package/dist/_dts/commerce/src/purchase/index.d.ts +2 -1
  29. package/dist/_dts/commerce/src/purchase/stateTransitions.d.ts +1 -13
  30. package/dist/_dts/db/src/generated/supabase/database.types.d.ts +3113 -3077
  31. package/dist/_dts/sdk/src/version.d.ts +1 -1
  32. package/dist/client/{BookingConsentAgreement-CnJeq3_r.mjs → BookingConsentAgreement-BoCtvzzu.mjs} +2 -2
  33. package/dist/client/{DiscountCodeDisclosure-BINEO6J9.mjs → DiscountCodeDisclosure-B5S30nZk.mjs} +1 -1
  34. package/dist/client/{EventCombined.client-srxNQ6sZ.mjs → EventCombined.client-CeZ2-zSt.mjs} +5 -5
  35. package/dist/client/{EventListing.client-DbyVyGkX.mjs → EventListing.client-DJN3j8B3.mjs} +2 -2
  36. package/dist/client/{LeafletStaticMap-B-wpijzL.mjs → LeafletStaticMap-RjtGzDQT.mjs} +1 -1
  37. package/dist/client/{accordion-B-iUXU7n.mjs → accordion-DOmnDoyg.mjs} +1 -1
  38. package/dist/client/{bookingForm-BXYPke5q.mjs → bookingForm-C0vk7pgS.mjs} +5 -5
  39. package/dist/client/bookings.mjs +449 -525
  40. package/dist/client/{carousel-Cr4aj63H.mjs → carousel-BZJ7pno3.mjs} +1 -1
  41. package/dist/client/{cart-DibP9WWa.mjs → cart-CaeVAHJl.mjs} +3 -3
  42. package/dist/client/{checkout-CrSBVnL8.mjs → checkout-7wmoNDtG.mjs} +3 -3
  43. package/dist/client/client.mjs +518 -540
  44. package/dist/client/{context-Ces-AgdR.mjs → context-BOimxE3U.mjs} +12 -1
  45. package/dist/client/{dates-BXyNeNhB.mjs → dates-BnzVksi4.mjs} +2 -2
  46. package/dist/client/{eventCalendar-HwpPeqrH.mjs → eventCalendar-l-fpaslC.mjs} +7 -7
  47. package/dist/client/{eventCombined-BpFUkuEI.mjs → eventCombined-DGGvssK6.mjs} +3 -3
  48. package/dist/client/{eventDetails-DK_agiWy.mjs → eventDetails-DRiCm_hL.mjs} +4 -4
  49. package/dist/client/{eventListing-DhzHqP1c.mjs → eventListing-dph8loYX.mjs} +3 -3
  50. package/dist/client/{eventRegistration-BdQ_Dn2d.mjs → eventRegistration-ClBohmbY.mjs} +472 -530
  51. package/dist/client/{form-B1frcuzy.mjs → form-BLVVAnd3.mjs} +2 -2
  52. package/dist/client/{headerSection-CT5z460s.mjs → headerSection-DHy4C8Ix.mjs} +2 -2
  53. package/dist/client/hooks.mjs +12 -0
  54. package/dist/client/{locationMap-CIQXB9i2.mjs → locationMap-6HuS28ck.mjs} +2 -2
  55. package/dist/client/{newsletterForm-BYNYZSes.mjs → newsletterForm-xOdcOhZP.mjs} +2 -2
  56. package/dist/client/{pricing-CbTlAsmt.mjs → pricing-ChinRYFt.mjs} +1 -1
  57. package/dist/client/{productDetail-CR7Z3yjS.mjs → productDetail-0chA5gbK.mjs} +3 -3
  58. package/dist/client/{productList-DXj00vzR.mjs → productList-OoINA0h1.mjs} +3 -3
  59. package/dist/client/{propsDecoder-DiLiBdek.mjs → propsDecoder-CIZ-hbIG.mjs} +14 -1
  60. package/dist/client/rendering/client.mjs +506 -539
  61. package/dist/client/rendering/islands.mjs +17 -17
  62. package/dist/client/rendering.mjs +517 -539
  63. package/dist/client/{scrollToBlock-CrcbBf0h.mjs → scrollToBlock-BPZl0gPZ.mjs} +1 -1
  64. package/dist/client/{shop-DgqiB_1b.mjs → shop-CLJFqNIq.mjs} +6 -6
  65. package/dist/client/{shop-commerce-D_J781in.mjs → shop-commerce-PpANg5wB.mjs} +5 -5
  66. package/dist/client/{shop-commerce-store-PGUbDwqe.mjs → shop-commerce-store-TA_Kz2ku.mjs} +1 -1
  67. package/dist/client/{shopShared-C_Bb2zwG.mjs → shopShared-DzcFcA5g.mjs} +3 -3
  68. package/dist/client/{useEventFilters-CM17Xpr1.mjs → useEventFilters-CFU21QZo.mjs} +5 -5
  69. package/dist/preview-next/before-render.mjs +11 -0
  70. package/dist/preview-next/client/runtime.mjs +4 -4
  71. package/dist/preview-next/keepAlive.mjs +11 -0
  72. package/dist/preview-next/middleware.mjs +11 -0
  73. package/dist/{previewAuthStore-oVttoRDO.mjs → previewAuthStore-JA6-I_sL.mjs} +11 -0
  74. package/dist/{sdk-runtime-DhmuRhIX.mjs → sdk-runtime-CDKl0Fr7.mjs} +2 -2
  75. package/dist/{separator-C3hlg9LH.mjs → separator-BTp96X32.mjs} +1 -1
  76. package/dist/server/components.mjs +12 -2
  77. package/dist/server/config-validation.mjs +12 -0
  78. package/dist/server/config.mjs +12 -0
  79. package/dist/server/data.mjs +12 -0
  80. package/dist/server/index.mjs +12 -1
  81. package/dist/server/next.mjs +13 -3
  82. package/dist/server/page-converter.mjs +1 -0
  83. package/dist/server/prebuild.mjs +1 -1
  84. package/dist/server/rendering/server.mjs +12 -0
  85. package/dist/server/rendering.mjs +12 -2
  86. package/dist/server/routing.mjs +12 -0
  87. package/dist/server/server.mjs +13 -1
  88. package/package.json +1 -1
  89. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/checkoutRecovery.d.ts +0 -14
  90. package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useCheckoutRecovery.d.ts +0 -8
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { i as getAutoAppliedDiscountPreview, n as discountAvailabilityAllowsManualEntry, r as discountAvailabilityHasDiscounts } from "./DiscountCodeDisclosure-BINEO6J9.mjs";
2
+ import { i as getAutoAppliedDiscountPreview, n as discountAvailabilityAllowsManualEntry, r as discountAvailabilityHasDiscounts } from "./DiscountCodeDisclosure-B5S30nZk.mjs";
3
3
  import { useEffect, useReducer, useRef } from "react";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  //#region ../blocks/src/system/runtime/shared/components/CheckIcon.tsx
@@ -1,14 +1,14 @@
1
1
  "use client";
2
- import { Pt as assertNever, dt as themeButtonClassName, mn as assertNever$1, o as formatCommercePrice, s as formatInterval, t as defineIslandPropsDecoder } from "./propsDecoder-DiLiBdek.mjs";
3
- import { n as useBlockApi } from "./context-Ces-AgdR.mjs";
4
- import { a as CheckIcon, i as StateIcon, n as useDiscountCodeUi, r as TerminalPanel, t as scrollToBlock } from "./scrollToBlock-CrcbBf0h.mjs";
5
- import { t as DiscountCodeDisclosure } from "./DiscountCodeDisclosure-BINEO6J9.mjs";
2
+ import { Ft as assertNever, ft as themeButtonClassName, hn as assertNever$1, o as formatCommercePrice, s as formatInterval, t as defineIslandPropsDecoder } from "./propsDecoder-CIZ-hbIG.mjs";
3
+ import { n as useBlockApi } from "./context-BOimxE3U.mjs";
4
+ import { a as CheckIcon, i as StateIcon, n as useDiscountCodeUi, r as TerminalPanel, t as scrollToBlock } from "./scrollToBlock-BPZl0gPZ.mjs";
5
+ import { t as DiscountCodeDisclosure } from "./DiscountCodeDisclosure-B5S30nZk.mjs";
6
6
  import { t as FeedbackMessage } from "./FeedbackMessage-CtLvvS_d.mjs";
7
7
  import { t as createBodyThemePortalRoot } from "./themePortalRoot-AGs4cE7t.mjs";
8
8
  import { n as consumeSearchParams } from "./urlParams-D71VXFGx.mjs";
9
9
  import { t as CrossIcon } from "./CrossIcon-Dn1KRKW5.mjs";
10
- import { _ as MembershipCardView, a as getDiscountApplyFeedback, b as PassesMembershipsSectionView, d as planDirectShopCheckoutRequest, i as getAppliedDiscountCode, m as useTransientShopAddFeedback, n as useDiscountApply, o as initialDiscountApplyState, p as ShopAddFeedback, r as discountApplyReducer, s as isDiscountApplyInFlight, t as mountShopBlockIsland, v as PassCardView, y as PassPurchaseUnavailable } from "./shopShared-C_Bb2zwG.mjs";
11
- import { t as addPassToCommerceCart } from "./shop-commerce-store-PGUbDwqe.mjs";
10
+ import { _ as MembershipCardView, a as getDiscountApplyFeedback, b as PassesMembershipsSectionView, d as planDirectShopCheckoutRequest, i as getAppliedDiscountCode, m as useTransientShopAddFeedback, n as useDiscountApply, o as initialDiscountApplyState, p as ShopAddFeedback, r as discountApplyReducer, s as isDiscountApplyInFlight, t as mountShopBlockIsland, v as PassCardView, y as PassPurchaseUnavailable } from "./shopShared-DzcFcA5g.mjs";
11
+ import { t as addPassToCommerceCart } from "./shop-commerce-store-TA_Kz2ku.mjs";
12
12
  import { t as ModalShell } from "./ModalShell-CqkBvBIC.mjs";
13
13
  import React, { useCallback, useEffect, useRef, useState } from "react";
14
14
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
@@ -1,14 +1,14 @@
1
1
  "use client";
2
- import { Ft as clearWorkflowFeedback, Mt as RichTextDocSchema, Pt as assertNever, a as buildProductDetailDisplay, d as deriveCommerceCheckoutState, dt as themeButtonClassName, i as buildProductCardDisplay, n as getShopDisplayForItems, o as formatCommercePrice, p as productItemKey, pt as logger, u as buildProductCartItem, zt as reportWorkflowError } from "./propsDecoder-DiLiBdek.mjs";
3
- import { n as useBlockApi } from "./context-Ces-AgdR.mjs";
4
- import { t as DiscountCodeDisclosure } from "./DiscountCodeDisclosure-BINEO6J9.mjs";
2
+ import { Bt as reportWorkflowError, Ft as assertNever, It as clearWorkflowFeedback, Nt as RichTextDocSchema, a as buildProductDetailDisplay, d as deriveCommerceCheckoutState, ft as themeButtonClassName, i as buildProductCardDisplay, mt as logger, n as getShopDisplayForItems, o as formatCommercePrice, p as productItemKey, u as buildProductCartItem } from "./propsDecoder-CIZ-hbIG.mjs";
3
+ import { n as useBlockApi } from "./context-BOimxE3U.mjs";
4
+ import { t as DiscountCodeDisclosure } from "./DiscountCodeDisclosure-B5S30nZk.mjs";
5
5
  import { t as FeedbackMessage } from "./FeedbackMessage-CtLvvS_d.mjs";
6
6
  import { n as RichText, t as buildCheckoutReturnUrls } from "./checkoutUrls-FL6lRkrt.mjs";
7
7
  import { t as consumeSearchParam } from "./urlParams-D71VXFGx.mjs";
8
8
  import { t as CarouselNodeClient } from "./carousel.client-DQTjCVQT.mjs";
9
9
  import { t as resolveDedicatedCheckoutPath } from "./checkoutRoute-ClwHwYVA.mjs";
10
- import { C as ProductGalleryFrameView, S as ProductDetailView, T as VariantSelectView, a as getDiscountApplyFeedback, c as aggregateCartDiscountUiState, f as planUnifiedCheckoutRequest, g as CheckoutShellView, h as CartShellView, i as getAppliedDiscountCode, l as checkoutFormForDiscountUiState, m as useTransientShopAddFeedback, n as useDiscountApply, o as initialDiscountApplyState, p as ShopAddFeedback, r as discountApplyReducer, s as isDiscountApplyInFlight, u as planCartDiscountAvailabilityRequests, w as ProductListSectionView, x as ProductCardView } from "./shopShared-C_Bb2zwG.mjs";
11
- import { n as useCommerceCart } from "./shop-commerce-store-PGUbDwqe.mjs";
10
+ import { C as ProductGalleryFrameView, S as ProductDetailView, T as VariantSelectView, a as getDiscountApplyFeedback, c as aggregateCartDiscountUiState, f as planUnifiedCheckoutRequest, g as CheckoutShellView, h as CartShellView, i as getAppliedDiscountCode, l as checkoutFormForDiscountUiState, m as useTransientShopAddFeedback, n as useDiscountApply, o as initialDiscountApplyState, p as ShopAddFeedback, r as discountApplyReducer, s as isDiscountApplyInFlight, u as planCartDiscountAvailabilityRequests, w as ProductListSectionView, x as ProductCardView } from "./shopShared-DzcFcA5g.mjs";
11
+ import { n as useCommerceCart } from "./shop-commerce-store-TA_Kz2ku.mjs";
12
12
  import * as React$1 from "react";
13
13
  import { useEffect, useState } from "react";
14
14
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { c as EMPTY_COMMERCE_CART_STATE, f as parseStoredCommerceCartState, l as buildPassCartItem, m as reduceCommerceCart } from "./propsDecoder-DiLiBdek.mjs";
2
+ import { c as EMPTY_COMMERCE_CART_STATE, f as parseStoredCommerceCartState, l as buildPassCartItem, m as reduceCommerceCart } from "./propsDecoder-CIZ-hbIG.mjs";
3
3
  import * as React$1 from "react";
4
4
  //#region ../blocks/src/system/runtime/nodes/shop-commerce-store.ts
5
5
  const EMPTY_STATE = EMPTY_COMMERCE_CART_STATE;
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  import { D as ok, E as err } from "./colorStyles-3013aRAY.mjs";
3
- import { Pt as assertNever } from "./propsDecoder-DiLiBdek.mjs";
4
- import { t as BlockApiProvider } from "./context-Ces-AgdR.mjs";
5
- import { i as getAutoAppliedDiscountPreview, n as discountAvailabilityAllowsManualEntry, r as discountAvailabilityHasDiscounts } from "./DiscountCodeDisclosure-BINEO6J9.mjs";
3
+ import { Ft as assertNever } from "./propsDecoder-CIZ-hbIG.mjs";
4
+ import { t as BlockApiProvider } from "./context-BOimxE3U.mjs";
5
+ import { i as getAutoAppliedDiscountPreview, n as discountAvailabilityAllowsManualEntry, r as discountAvailabilityHasDiscounts } from "./DiscountCodeDisclosure-B5S30nZk.mjs";
6
6
  import { t as FeedbackMessage } from "./FeedbackMessage-CtLvvS_d.mjs";
7
7
  import { t as mountReactIsland } from "./reactMount-SY8AVRof.mjs";
8
8
  import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-UNsfPcYq.mjs";
@@ -1,11 +1,11 @@
1
1
  "use client";
2
2
  import { d as hexToRgb, u as relativeLuminance } from "./colorStyles-3013aRAY.mjs";
3
- import { A as SEMANTIC_SPACING_VALUES, G as normalizeOptionalId, H as getEventRuntimeFiltersKey, M as resolveSpacing, Pt as assertNever, U as normalizeCsvIds, W as normalizeCsvString, ct as isCssColorLiteral, dt as themeButtonClassName, ft as normalizeCardRole, j as isSemanticSpacing, lt as resolveOnColorForThemeToken, st as boxBackgroundSchema, ut as resolveTokenOrCssColorValue } from "./propsDecoder-DiLiBdek.mjs";
3
+ import { Ft as assertNever, G as normalizeCsvString, K as normalizeOptionalId, M as isSemanticSpacing, N as resolveSpacing, U as getEventRuntimeFiltersKey, W as normalizeCsvIds, ct as boxBackgroundSchema, dt as resolveTokenOrCssColorValue, ft as themeButtonClassName, j as SEMANTIC_SPACING_VALUES, lt as isCssColorLiteral, pt as normalizeCardRole, ut as resolveOnColorForThemeToken } from "./propsDecoder-CIZ-hbIG.mjs";
4
4
  import { a as getCurrentResolveImageUrlContext, i as computeMediaTransformStyle, l as resolveMediaNodeResponsiveImage, n as MediaPlaceholder, o as renderAudio, s as renderVideo, t as ImagePresets } from "./media-DHpfFwd3.mjs";
5
- import { o as formatEventRemainingPlaces, t as formatEventPrice } from "./pricing-CbTlAsmt.mjs";
6
- import { a as formatTime, d as resolveEventLinkProps, i as formatEventNextDateFact, n as formatEventCompactDateRail, t as formatDate, u as resolveEventCta } from "./dates-BXyNeNhB.mjs";
7
- import { n as useBlockApi } from "./context-Ces-AgdR.mjs";
8
- import { t as LeafletStaticMap } from "./LeafletStaticMap-B-wpijzL.mjs";
5
+ import { o as formatEventRemainingPlaces, t as formatEventPrice } from "./pricing-ChinRYFt.mjs";
6
+ import { a as formatTime, d as resolveEventLinkProps, i as formatEventNextDateFact, n as formatEventCompactDateRail, t as formatDate, u as resolveEventCta } from "./dates-BnzVksi4.mjs";
7
+ import { n as useBlockApi } from "./context-BOimxE3U.mjs";
8
+ import { t as LeafletStaticMap } from "./LeafletStaticMap-RjtGzDQT.mjs";
9
9
  import { useCallback, useEffect, useId, useMemo, useReducer, useRef, useState } from "react";
10
10
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
11
11
  //#region ../theme-core/src/palette/utils/textColor.ts
@@ -1366,6 +1366,17 @@ function publicReadFreshnessSeconds(endpoint) {
1366
1366
  //#endregion
1367
1367
  //#region ../api/src/publicEventEndpointDefinitions.ts
1368
1368
  const PUBLIC_EVENT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
1369
+ checkPublicEventRegistrationNextStep: {
1370
+ path: "/public/sites/{siteId}/events/registration-next-step",
1371
+ method: "POST",
1372
+ auth: "public",
1373
+ responseKind: "json",
1374
+ errors: [
1375
+ "validation:invalid_input",
1376
+ "auth:forbidden",
1377
+ "server:internal_error"
1378
+ ]
1379
+ },
1369
1380
  listPublicEventCalendarWindow: {
1370
1381
  path: "/public/sites/{siteId}/events/calendar-window",
1371
1382
  method: "GET",
@@ -1,16 +1,16 @@
1
1
  "use client";
2
- import { a as usePreviewLayout, i as useOptionalPreviewLayout, n as createPreviewQueryClient, r as PreviewLayoutProvider, t as PreviewQueryProvider } from "../../PreviewQueryProvider-CC-EPkyQ.mjs";
2
+ import { a as usePreviewLayout, i as useOptionalPreviewLayout, n as createPreviewQueryClient, r as PreviewLayoutProvider, t as PreviewQueryProvider } from "../../PreviewQueryProvider-BCYICImX.mjs";
3
3
  import React from "react";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  //#region src/preview-next/client/runtime.tsx
6
6
  const LazySdkPreviewMode = React.lazy(async () => {
7
- return { default: (await import("../../SdkPreviewModeRuntime-DH1n4ytY.mjs").then((n) => n.n)).SdkPreviewModeRuntime };
7
+ return { default: (await import("../../SdkPreviewModeRuntime-OIABYLES.mjs").then((n) => n.n)).SdkPreviewModeRuntime };
8
8
  });
9
9
  const LazyPreviewShell = React.lazy(async () => {
10
- return { default: (await import("../../sdk-runtime-DhmuRhIX.mjs")).PreviewShell };
10
+ return { default: (await import("../../sdk-runtime-CDKl0Fr7.mjs")).PreviewShell };
11
11
  });
12
12
  const LazyPreviewShellLayout = React.lazy(async () => {
13
- return { default: (await import("../../sdk-runtime-DhmuRhIX.mjs")).PreviewShellLayout };
13
+ return { default: (await import("../../sdk-runtime-CDKl0Fr7.mjs")).PreviewShellLayout };
14
14
  });
15
15
  function SdkPreviewMode(props) {
16
16
  return /* @__PURE__ */ jsx(React.Suspense, {
@@ -1396,6 +1396,17 @@ function publicReadFreshnessSeconds(endpoint) {
1396
1396
  //#endregion
1397
1397
  //#region ../api/src/publicEventEndpointDefinitions.ts
1398
1398
  const PUBLIC_EVENT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
1399
+ checkPublicEventRegistrationNextStep: {
1400
+ path: "/public/sites/{siteId}/events/registration-next-step",
1401
+ method: "POST",
1402
+ auth: "public",
1403
+ responseKind: "json",
1404
+ errors: [
1405
+ "validation:invalid_input",
1406
+ "auth:forbidden",
1407
+ "server:internal_error"
1408
+ ]
1409
+ },
1399
1410
  listPublicEventCalendarWindow: {
1400
1411
  path: "/public/sites/{siteId}/events/calendar-window",
1401
1412
  method: "GET",
@@ -1367,6 +1367,17 @@ function publicReadFreshnessSeconds(endpoint) {
1367
1367
  //#endregion
1368
1368
  //#region ../api/src/publicEventEndpointDefinitions.ts
1369
1369
  const PUBLIC_EVENT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
1370
+ checkPublicEventRegistrationNextStep: {
1371
+ path: "/public/sites/{siteId}/events/registration-next-step",
1372
+ method: "POST",
1373
+ auth: "public",
1374
+ responseKind: "json",
1375
+ errors: [
1376
+ "validation:invalid_input",
1377
+ "auth:forbidden",
1378
+ "server:internal_error"
1379
+ ]
1380
+ },
1370
1381
  listPublicEventCalendarWindow: {
1371
1382
  path: "/public/sites/{siteId}/events/calendar-window",
1372
1383
  method: "GET",
@@ -1338,6 +1338,17 @@ function publicReadFreshnessSeconds(endpoint) {
1338
1338
  //#endregion
1339
1339
  //#region ../api/src/publicEventEndpointDefinitions.ts
1340
1340
  const PUBLIC_EVENT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
1341
+ checkPublicEventRegistrationNextStep: {
1342
+ path: "/public/sites/{siteId}/events/registration-next-step",
1343
+ method: "POST",
1344
+ auth: "public",
1345
+ responseKind: "json",
1346
+ errors: [
1347
+ "validation:invalid_input",
1348
+ "auth:forbidden",
1349
+ "server:internal_error"
1350
+ ]
1351
+ },
1341
1352
  listPublicEventCalendarWindow: {
1342
1353
  path: "/public/sites/{siteId}/events/calendar-window",
1343
1354
  method: "GET",
@@ -1,4 +1,4 @@
1
1
  "use client";
2
- import "./PreviewQueryProvider-CC-EPkyQ.mjs";
3
- import { i as PreviewShellLayout, r as PreviewShell } from "./SdkPreviewModeRuntime-DH1n4ytY.mjs";
2
+ import "./PreviewQueryProvider-BCYICImX.mjs";
3
+ import { i as PreviewShellLayout, r as PreviewShell } from "./SdkPreviewModeRuntime-OIABYLES.mjs";
4
4
  export { PreviewShell, PreviewShellLayout };
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { Ha as cn, za as Primitive } from "./SiteChromeCustomizeContext-DunIzY0K.mjs";
2
+ import { Ha as cn, za as Primitive } from "./SiteChromeCustomizeContext-ohjTvZbc.mjs";
3
3
  import * as React$1 from "react";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  //#region ../../node_modules/.pnpm/@radix-ui+react-separator@1.1.10_@types+react-dom@19.2.3_@types+react@19.2.17__@types+r_adfab47c9055efb8b0c4b77a2b96b053/node_modules/@radix-ui/react-separator/dist/index.mjs
@@ -37894,8 +37894,6 @@ function getWizardStepsForContext(hasPreSelectedContext, needsPaymentStep) {
37894
37894
  if (!needsPaymentStep) return baseSteps;
37895
37895
  return [...baseSteps, "select-payment"];
37896
37896
  }
37897
- //#endregion
37898
- //#region ../blocks/src/system/runtime/nodes/event-registration/registrationDerivations.ts
37899
37897
  function eventMatchesOccurrenceId(event, occurrenceId) {
37900
37898
  return event.registrationSubject.kind === "occurrence" && (event.registrationSubject.occurrenceId === occurrenceId || event.selectionId === occurrenceId);
37901
37899
  }
@@ -38152,6 +38150,7 @@ function shellLabelForRegistrationStep(step, events) {
38152
38150
  case "redirecting":
38153
38151
  case "verifying-payment":
38154
38152
  case "verifying-timeout":
38153
+ case "payment-status":
38155
38154
  case "payment-failed": return "Details";
38156
38155
  }
38157
38156
  }
@@ -76185,6 +76184,17 @@ const NEWSLETTER_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
76185
76184
  //#endregion
76186
76185
  //#region ../api/src/publicEventEndpointDefinitions.ts
76187
76186
  const PUBLIC_EVENT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
76187
+ checkPublicEventRegistrationNextStep: {
76188
+ path: "/public/sites/{siteId}/events/registration-next-step",
76189
+ method: "POST",
76190
+ auth: "public",
76191
+ responseKind: "json",
76192
+ errors: [
76193
+ "validation:invalid_input",
76194
+ "auth:forbidden",
76195
+ "server:internal_error"
76196
+ ]
76197
+ },
76188
76198
  listPublicEventCalendarWindow: {
76189
76199
  path: "/public/sites/{siteId}/events/calendar-window",
76190
76200
  method: "GET",
@@ -2606,6 +2606,17 @@ function resolveSiteVerticalBookingConfig(rawConfig) {
2606
2606
  //#endregion
2607
2607
  //#region ../api/src/publicEventEndpointDefinitions.ts
2608
2608
  const PUBLIC_EVENT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
2609
+ checkPublicEventRegistrationNextStep: {
2610
+ path: "/public/sites/{siteId}/events/registration-next-step",
2611
+ method: "POST",
2612
+ auth: "public",
2613
+ responseKind: "json",
2614
+ errors: [
2615
+ "validation:invalid_input",
2616
+ "auth:forbidden",
2617
+ "server:internal_error"
2618
+ ]
2619
+ },
2609
2620
  listPublicEventCalendarWindow: {
2610
2621
  path: "/public/sites/{siteId}/events/calendar-window",
2611
2622
  method: "GET",
@@ -28616,6 +28627,7 @@ function shellLabelForRegistrationStep(step, events) {
28616
28627
  case "redirecting":
28617
28628
  case "verifying-payment":
28618
28629
  case "verifying-timeout":
28630
+ case "payment-status":
28619
28631
  case "payment-failed": return "Details";
28620
28632
  }
28621
28633
  }
@@ -2683,6 +2683,17 @@ function resolveSiteVerticalBookingConfig(rawConfig) {
2683
2683
  //#endregion
2684
2684
  //#region ../api/src/publicEventEndpointDefinitions.ts
2685
2685
  const PUBLIC_EVENT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
2686
+ checkPublicEventRegistrationNextStep: {
2687
+ path: "/public/sites/{siteId}/events/registration-next-step",
2688
+ method: "POST",
2689
+ auth: "public",
2690
+ responseKind: "json",
2691
+ errors: [
2692
+ "validation:invalid_input",
2693
+ "auth:forbidden",
2694
+ "server:internal_error"
2695
+ ]
2696
+ },
2686
2697
  listPublicEventCalendarWindow: {
2687
2698
  path: "/public/sites/{siteId}/events/calendar-window",
2688
2699
  method: "GET",
@@ -28693,6 +28704,7 @@ function shellLabelForRegistrationStep(step, events) {
28693
28704
  case "redirecting":
28694
28705
  case "verifying-payment":
28695
28706
  case "verifying-timeout":
28707
+ case "payment-status":
28696
28708
  case "payment-failed": return "Details";
28697
28709
  }
28698
28710
  }
@@ -9653,6 +9653,17 @@ const NEWSLETTER_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
9653
9653
  //#endregion
9654
9654
  //#region ../api/src/publicEventEndpointDefinitions.ts
9655
9655
  const PUBLIC_EVENT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
9656
+ checkPublicEventRegistrationNextStep: {
9657
+ path: "/public/sites/{siteId}/events/registration-next-step",
9658
+ method: "POST",
9659
+ auth: "public",
9660
+ responseKind: "json",
9661
+ errors: [
9662
+ "validation:invalid_input",
9663
+ "auth:forbidden",
9664
+ "server:internal_error"
9665
+ ]
9666
+ },
9656
9667
  listPublicEventCalendarWindow: {
9657
9668
  path: "/public/sites/{siteId}/events/calendar-window",
9658
9669
  method: "GET",
@@ -28711,6 +28722,7 @@ function shellLabelForRegistrationStep(step, events) {
28711
28722
  case "redirecting":
28712
28723
  case "verifying-payment":
28713
28724
  case "verifying-timeout":
28725
+ case "payment-status":
28714
28726
  case "payment-failed": return "Details";
28715
28727
  }
28716
28728
  }
@@ -1358,6 +1358,17 @@ function publicReadFreshnessSeconds(endpoint) {
1358
1358
  //#endregion
1359
1359
  //#region ../api/src/publicEventEndpointDefinitions.ts
1360
1360
  const PUBLIC_EVENT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
1361
+ checkPublicEventRegistrationNextStep: {
1362
+ path: "/public/sites/{siteId}/events/registration-next-step",
1363
+ method: "POST",
1364
+ auth: "public",
1365
+ responseKind: "json",
1366
+ errors: [
1367
+ "validation:invalid_input",
1368
+ "auth:forbidden",
1369
+ "server:internal_error"
1370
+ ]
1371
+ },
1361
1372
  listPublicEventCalendarWindow: {
1362
1373
  path: "/public/sites/{siteId}/events/calendar-window",
1363
1374
  method: "GET",
@@ -8243,7 +8254,7 @@ var SimpleCache = class {
8243
8254
  * 1. This constant
8244
8255
  * 2. The "version" field in package.json
8245
8256
  */
8246
- const SDK_VERSION = "0.142.0";
8257
+ const SDK_VERSION = "0.143.0";
8247
8258
  //#endregion
8248
8259
  //#region src/client/error.ts
8249
8260
  let _Symbol$for;
@@ -31125,8 +31125,6 @@ function getWizardStepsForContext(hasPreSelectedContext, needsPaymentStep) {
31125
31125
  if (!needsPaymentStep) return baseSteps;
31126
31126
  return [...baseSteps, "select-payment"];
31127
31127
  }
31128
- //#endregion
31129
- //#region ../blocks/src/system/runtime/nodes/event-registration/registrationDerivations.ts
31130
31128
  function eventMatchesOccurrenceId(event, occurrenceId) {
31131
31129
  return event.registrationSubject.kind === "occurrence" && (event.registrationSubject.occurrenceId === occurrenceId || event.selectionId === occurrenceId);
31132
31130
  }
@@ -31383,6 +31381,7 @@ function shellLabelForRegistrationStep(step, events) {
31383
31381
  case "redirecting":
31384
31382
  case "verifying-payment":
31385
31383
  case "verifying-timeout":
31384
+ case "payment-status":
31386
31385
  case "payment-failed": return "Details";
31387
31386
  }
31388
31387
  }
@@ -34107,6 +34106,17 @@ const NEWSLETTER_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
34107
34106
  //#endregion
34108
34107
  //#region ../api/src/publicEventEndpointDefinitions.ts
34109
34108
  const PUBLIC_EVENT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
34109
+ checkPublicEventRegistrationNextStep: {
34110
+ path: "/public/sites/{siteId}/events/registration-next-step",
34111
+ method: "POST",
34112
+ auth: "public",
34113
+ responseKind: "json",
34114
+ errors: [
34115
+ "validation:invalid_input",
34116
+ "auth:forbidden",
34117
+ "server:internal_error"
34118
+ ]
34119
+ },
34110
34120
  listPublicEventCalendarWindow: {
34111
34121
  path: "/public/sites/{siteId}/events/calendar-window",
34112
34122
  method: "GET",
@@ -89217,7 +89227,7 @@ var CircuitOpenError = class extends Error {
89217
89227
  * 1. This constant
89218
89228
  * 2. The "version" field in package.json
89219
89229
  */
89220
- const SDK_VERSION = "0.142.0";
89230
+ const SDK_VERSION = "0.143.0";
89221
89231
  //#endregion
89222
89232
  //#region src/next/content-load-failure.ts
89223
89233
  const SdkContentLoadError = RiverbankContentLoadError;
@@ -22729,6 +22729,7 @@ function shellLabelForRegistrationStep(step, events) {
22729
22729
  case "redirecting":
22730
22730
  case "verifying-payment":
22731
22731
  case "verifying-timeout":
22732
+ case "payment-status":
22732
22733
  case "payment-failed": return "Details";
22733
22734
  }
22734
22735
  }
@@ -12,7 +12,7 @@ import * as crypto from "crypto";
12
12
  * 1. This constant
13
13
  * 2. The "version" field in package.json
14
14
  */
15
- const SDK_VERSION = "0.142.0";
15
+ const SDK_VERSION = "0.143.0";
16
16
  //#endregion
17
17
  //#region src/constants.ts
18
18
  /**
@@ -37381,6 +37381,7 @@ function shellLabelForRegistrationStep(step, events) {
37381
37381
  case "redirecting":
37382
37382
  case "verifying-payment":
37383
37383
  case "verifying-timeout":
37384
+ case "payment-status":
37384
37385
  case "payment-failed": return "Details";
37385
37386
  }
37386
37387
  }
@@ -74557,6 +74558,17 @@ const NEWSLETTER_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
74557
74558
  //#endregion
74558
74559
  //#region ../api/src/publicEventEndpointDefinitions.ts
74559
74560
  const PUBLIC_EVENT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
74561
+ checkPublicEventRegistrationNextStep: {
74562
+ path: "/public/sites/{siteId}/events/registration-next-step",
74563
+ method: "POST",
74564
+ auth: "public",
74565
+ responseKind: "json",
74566
+ errors: [
74567
+ "validation:invalid_input",
74568
+ "auth:forbidden",
74569
+ "server:internal_error"
74570
+ ]
74571
+ },
74560
74572
  listPublicEventCalendarWindow: {
74561
74573
  path: "/public/sites/{siteId}/events/calendar-window",
74562
74574
  method: "GET",
@@ -38031,8 +38031,6 @@ function getWizardStepsForContext(hasPreSelectedContext, needsPaymentStep) {
38031
38031
  if (!needsPaymentStep) return baseSteps;
38032
38032
  return [...baseSteps, "select-payment"];
38033
38033
  }
38034
- //#endregion
38035
- //#region ../blocks/src/system/runtime/nodes/event-registration/registrationDerivations.ts
38036
38034
  function eventMatchesOccurrenceId(event, occurrenceId) {
38037
38035
  return event.registrationSubject.kind === "occurrence" && (event.registrationSubject.occurrenceId === occurrenceId || event.selectionId === occurrenceId);
38038
38036
  }
@@ -38289,6 +38287,7 @@ function shellLabelForRegistrationStep(step, events) {
38289
38287
  case "redirecting":
38290
38288
  case "verifying-payment":
38291
38289
  case "verifying-timeout":
38290
+ case "payment-status":
38292
38291
  case "payment-failed": return "Details";
38293
38292
  }
38294
38293
  }
@@ -76857,6 +76856,17 @@ const NEWSLETTER_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
76857
76856
  //#endregion
76858
76857
  //#region ../api/src/publicEventEndpointDefinitions.ts
76859
76858
  const PUBLIC_EVENT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
76859
+ checkPublicEventRegistrationNextStep: {
76860
+ path: "/public/sites/{siteId}/events/registration-next-step",
76861
+ method: "POST",
76862
+ auth: "public",
76863
+ responseKind: "json",
76864
+ errors: [
76865
+ "validation:invalid_input",
76866
+ "auth:forbidden",
76867
+ "server:internal_error"
76868
+ ]
76869
+ },
76860
76870
  listPublicEventCalendarWindow: {
76861
76871
  path: "/public/sites/{siteId}/events/calendar-window",
76862
76872
  method: "GET",
@@ -10901,6 +10901,17 @@ var init_publicEventEndpointDefinitions = __esmMin((() => {
10901
10901
  init_src$4();
10902
10902
  init_defineEndpointDefinitions();
10903
10903
  PUBLIC_EVENT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
10904
+ checkPublicEventRegistrationNextStep: {
10905
+ path: "/public/sites/{siteId}/events/registration-next-step",
10906
+ method: "POST",
10907
+ auth: "public",
10908
+ responseKind: "json",
10909
+ errors: [
10910
+ "validation:invalid_input",
10911
+ "auth:forbidden",
10912
+ "server:internal_error"
10913
+ ]
10914
+ },
10904
10915
  listPublicEventCalendarWindow: {
10905
10916
  path: "/public/sites/{siteId}/events/calendar-window",
10906
10917
  method: "GET",
@@ -35375,6 +35386,7 @@ function shellLabelForRegistrationStep(step, events) {
35375
35386
  case "redirecting":
35376
35387
  case "verifying-payment":
35377
35388
  case "verifying-timeout":
35389
+ case "payment-status":
35378
35390
  case "payment-failed": return "Details";
35379
35391
  }
35380
35392
  }
@@ -2643,6 +2643,17 @@ function resolveSiteVerticalBookingConfig(rawConfig) {
2643
2643
  //#endregion
2644
2644
  //#region ../api/src/publicEventEndpointDefinitions.ts
2645
2645
  const PUBLIC_EVENT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
2646
+ checkPublicEventRegistrationNextStep: {
2647
+ path: "/public/sites/{siteId}/events/registration-next-step",
2648
+ method: "POST",
2649
+ auth: "public",
2650
+ responseKind: "json",
2651
+ errors: [
2652
+ "validation:invalid_input",
2653
+ "auth:forbidden",
2654
+ "server:internal_error"
2655
+ ]
2656
+ },
2646
2657
  listPublicEventCalendarWindow: {
2647
2658
  path: "/public/sites/{siteId}/events/calendar-window",
2648
2659
  method: "GET",
@@ -9528,7 +9539,7 @@ var SimpleCache = class {
9528
9539
  * 1. This constant
9529
9540
  * 2. The "version" field in package.json
9530
9541
  */
9531
- const SDK_VERSION = "0.142.0";
9542
+ const SDK_VERSION = "0.143.0";
9532
9543
  //#endregion
9533
9544
  //#region src/client/error.ts
9534
9545
  let _Symbol$for;
@@ -36676,6 +36687,7 @@ function shellLabelForRegistrationStep(step, events) {
36676
36687
  case "redirecting":
36677
36688
  case "verifying-payment":
36678
36689
  case "verifying-timeout":
36690
+ case "payment-status":
36679
36691
  case "payment-failed": return "Details";
36680
36692
  }
36681
36693
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riverbankcms/sdk",
3
- "version": "0.142.0",
3
+ "version": "0.143.0",
4
4
  "description": "Riverbank CMS SDK for headless content consumption",
5
5
  "main": "./dist/server/index.mjs",
6
6
  "module": "./dist/server/index.mjs",
@@ -1,14 +0,0 @@
1
- import type { PublicEventPricingOptionAvailability } from '../../../../../../core/src/index';
2
- import type { EligibilityData, RegistrationEvent } from './types';
3
- /** Recovery may select held places; checkout still owns admission and payment validation. */
4
- export declare function checkoutRecoveryOptionAvailability(availability: PublicEventPricingOptionAvailability): PublicEventPricingOptionAvailability;
5
- /**
6
- * A form-only projection for the explicit existing-checkout path. It permits
7
- * collecting the original selection without claiming a new place is available.
8
- * The public checkout service identifies the customer and remains the admission
9
- * authority; no reservation/customer data is exposed through this projection.
10
- */
11
- export declare function getCheckoutRecoveryFormEligibility(eligibility: EligibilityData | null): EligibilityData | null;
12
- export declare function isSoldOutEventSelectable(event: RegistrationEvent, waitlistAvailable: boolean): boolean;
13
- export declare function canJoinWaitlistOutsideRecovery(event: RegistrationEvent | null, attendanceMode: 'in_person' | 'online' | null, checkoutRecovery: boolean): boolean;
14
- export declare function canRecoverEventCheckout(event: RegistrationEvent | null): boolean;
@@ -1,8 +0,0 @@
1
- import type { EligibilityData, RegistrationEvent, RegistrationStep } from './types';
2
- /** Recovery belongs to the selected booking subject; changing events resets its scope. */
3
- export declare function useCheckoutRecovery(event: RegistrationEvent | null, setStep: (step: RegistrationStep) => void): {
4
- checkoutRecovery: boolean;
5
- startCheckoutRecovery: () => void;
6
- };
7
- /** Authenticated pending bookings enter the same form-only recovery path as guests. */
8
- export declare function useCheckoutRecoveryEligibility(eligibility: EligibilityData | null, step: RegistrationStep, checkoutRecovery: boolean, startCheckoutRecovery: () => void): EligibilityData | null;