@riverbankcms/sdk 0.155.0 → 0.156.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{PreviewEditorSidebar-CbSbqmz3.mjs → PreviewEditorSidebar-B4ESNPzL.mjs} +3 -3
- package/dist/{PreviewEditorUI-CKKnAw11.mjs → PreviewEditorUI-BdUVaGOh.mjs} +3 -3
- package/dist/{SdkPreviewModeRuntime-wLkXrWy9.mjs → SdkPreviewModeRuntime-C4V3BvxK.mjs} +1122 -1079
- package/dist/{SiteChromeCustomizeContext-BQ8vvKb-.mjs → SiteChromeCustomizeContext-3gmd26Mn.mjs} +1019 -517
- package/dist/_dts/ai/src/contracts/proposals.d.ts +624 -624
- package/dist/_dts/ai/src/contracts/siteStyleProposalSchemas.d.ts +856 -856
- package/dist/_dts/api/src/accountApi.d.ts +5 -5
- package/dist/_dts/api/src/aiPlayground.d.ts +2 -2
- package/dist/_dts/api/src/bookingRecords.d.ts +2 -22
- package/dist/_dts/api/src/commercePortalEndpoints.d.ts +1 -1
- package/dist/_dts/api/src/contentRuntime.d.ts +5 -2
- package/dist/_dts/api/src/footerCompositionContracts.d.ts +1 -1
- package/dist/_dts/api/src/navigation/linkValue.d.ts +1 -1
- package/dist/_dts/api/src/navigation/types.d.ts +1 -1
- package/dist/_dts/api/src/public/types.d.ts +2 -1
- package/dist/_dts/api/src/publicExperience/commerceEndpoints.d.ts +1 -1
- package/dist/_dts/api/src/publicExperience/eventEndpoints.d.ts +3 -3
- package/dist/_dts/api/src/publicExperience/siteEndpoints.d.ts +1 -1
- package/dist/_dts/api/src/sdkBlockContentAdmission.d.ts +1 -1
- package/dist/_dts/api/src/sdkConfig/contracts.d.ts +2 -1
- package/dist/_dts/api/src/sdkContracts.d.ts +2 -1
- package/dist/_dts/api/src/sdkPageDesign.d.ts +9 -9
- package/dist/_dts/api/src/sdkThemeWire.d.ts +182 -182
- package/dist/_dts/api/src/siteOnboarding.d.ts +1 -1
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +3 -1
- package/dist/_dts/api/src/siteSettings.d.ts +2 -2
- package/dist/_dts/api/src/teamMembers.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/RepeaterField/hooks/useLayoutGridMoveAnimation.d.ts +13 -0
- package/dist/_dts/blocks/src/client/portal.d.ts +5 -0
- package/dist/_dts/blocks/src/contracts/event-registration.d.ts +141 -0
- package/dist/_dts/blocks/src/contracts/events.d.ts +21 -0
- package/dist/_dts/blocks/src/contracts/footer.d.ts +130 -0
- package/dist/_dts/blocks/src/contracts/non-block-islands.d.ts +1 -1
- package/dist/_dts/blocks/src/contracts/site-chrome.d.ts +10 -0
- package/dist/_dts/blocks/src/customer-portal/client.d.ts +62 -0
- package/dist/_dts/blocks/src/customer-portal/components/PortalLoginForm.d.ts +16 -0
- package/dist/_dts/blocks/src/customer-portal/components/badge.d.ts +6 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/AppointmentBeforeYouComeTask.d.ts +29 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/BookingsSection.d.ts +22 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/BookingsTable.d.ts +9 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/EventRow.d.ts +9 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/EventSeriesRegistrationRow.d.ts +8 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/EventSeriesRegistrationTableRow.d.ts +22 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/PortalAppointmentRescheduleFlow.d.ts +7 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/ScalarQuestionInput.d.ts +11 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/WaitlistCard.d.ts +8 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/WaitlistsSection.d.ts +19 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/bookingsTypes.d.ts +11 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/eventGuestDrafts.d.ts +6 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/eventSeriesRegistrationPresentation.d.ts +8 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/usePortalCancelFlow.d.ts +36 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/usePortalCancelFlow.state.d.ts +43 -0
- package/dist/_dts/blocks/src/customer-portal/components/orders/OrdersSection.d.ts +8 -0
- package/dist/_dts/blocks/src/customer-portal/components/orders/orderInteraction.d.ts +63 -0
- package/dist/_dts/blocks/src/customer-portal/components/portal-modal.d.ts +8 -0
- package/dist/_dts/blocks/src/customer-portal/components/portalDeepLink.d.ts +19 -0
- package/dist/_dts/blocks/src/customer-portal/components/useMembershipCancelFlow.d.ts +13 -0
- package/dist/_dts/blocks/src/customer-portal/components/useMembershipCancelFlow.state.d.ts +32 -0
- package/dist/_dts/blocks/src/customer-portal/pages/AccessState.d.ts +11 -0
- package/dist/_dts/blocks/src/customer-portal/pages/DigitalProductView.d.ts +4 -0
- package/dist/_dts/blocks/src/customer-portal/pages/PageChrome.d.ts +9 -0
- package/dist/_dts/blocks/src/customer-portal/pages/PrintButton.d.ts +1 -0
- package/dist/_dts/blocks/src/customer-portal/pages/TicketCode.d.ts +3 -0
- package/dist/_dts/blocks/src/customer-portal/pages/TicketView.d.ts +4 -0
- package/dist/_dts/blocks/src/customer-portal/route-client.d.ts +9 -0
- package/dist/_dts/blocks/src/customer-portal/shared/bookingRoute.d.ts +9 -0
- package/dist/_dts/blocks/src/customer-portal/shared/checkoutUrls.d.ts +4 -0
- package/dist/_dts/blocks/src/customer-portal/shared/signedUrlUpload.d.ts +1 -0
- package/dist/_dts/blocks/src/customer-portal/shared/urlParams.d.ts +30 -0
- package/dist/_dts/blocks/src/customer-portal/state.d.ts +196 -0
- package/dist/_dts/blocks/src/customer-portal/tabs.d.ts +17 -0
- package/dist/_dts/blocks/src/portal/dateFormatting.d.ts +13 -0
- package/dist/_dts/blocks/src/portal/types.d.ts +7 -14
- package/dist/_dts/blocks/src/system/blocks/event-details.d.ts +1 -25
- package/dist/_dts/blocks/src/system/blocks/event-registration.d.ts +1 -141
- package/dist/_dts/blocks/src/system/blocks/events/eventSelectionFields.d.ts +3 -3
- package/dist/_dts/blocks/src/system/blocks/location-map.d.ts +3 -3
- package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +135 -135
- package/dist/_dts/blocks/src/system/blocks/site-footer-runtime.d.ts +3 -129
- package/dist/_dts/blocks/src/system/blocks/site-footer.d.ts +2 -5
- package/dist/_dts/blocks/src/system/blocks/site-header.d.ts +2 -5
- package/dist/_dts/blocks/src/system/constants/events.d.ts +1 -1
- package/dist/_dts/blocks/src/system/customize/facets.d.ts +2 -2
- package/dist/_dts/blocks/src/system/manifest/schema.d.ts +82 -82
- package/dist/_dts/blocks/src/system/node/fragments/lookSlot.d.ts +2 -2
- package/dist/_dts/blocks/src/system/node/schema.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/api/client.d.ts +21 -2
- package/dist/_dts/blocks/src/system/runtime/api/endpoints.d.ts +87 -3
- package/dist/_dts/blocks/src/system/runtime/api/index.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/api/schemas/events.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/api/types/events.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/api/types/portal.d.ts +16 -27
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +6 -6
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +4 -4
- package/dist/_dts/blocks/src/system/runtime/hooks/useAvailableDates.d.ts +2 -5
- package/dist/_dts/blocks/src/system/runtime/hooks/useAvailableSlots.d.ts +2 -5
- package/dist/_dts/blocks/src/system/runtime/lookSurfaces.d.ts +9 -9
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details/lookPresentation.d.ts +9 -9
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details/presentation.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationWizard.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCollectionContract.d.ts +18 -18
- package/dist/_dts/blocks/src/system/runtime/nodes/form.interactive.d.ts +2 -10
- package/dist/_dts/blocks/src/system/runtime/nodes/form.types.d.ts +10 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/shared/contract-schemas.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/shared/AppointmentRescheduleSlotOptions.d.ts +11 -0
- package/dist/_dts/blocks/src/system/runtime/shared/useAppointmentRescheduleFlow.d.ts +73 -0
- package/dist/_dts/blocks/src/system/runtime/shared/useAppointmentRescheduleFlow.state.d.ts +62 -0
- package/dist/_dts/blocks/src/system/runtime/shared/utils/demoPortalMagicLink.d.ts +1 -4
- package/dist/_dts/commerce/src/moneyDateUtils.d.ts +7 -0
- package/dist/_dts/core/src/booking-date-time.d.ts +5 -1
- package/dist/_dts/core/src/date-display.d.ts +4 -0
- package/dist/_dts/core/src/navigation-portal-labels.d.ts +1 -1
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +13 -0
- package/dist/_dts/db/src/schemas/forms.d.ts +4 -4
- package/dist/_dts/preview-next/src/client/preview/PreviewEditingModeProvider.d.ts +7 -0
- package/dist/_dts/sdk/src/bookings/types.d.ts +0 -1
- package/dist/_dts/sdk/src/next/index.d.ts +1 -0
- package/dist/_dts/sdk/src/next/portal.d.ts +41 -0
- package/dist/_dts/sdk/src/next/resolveTheme.d.ts +4 -9
- package/dist/_dts/sdk/src/next/types.d.ts +8 -3
- package/dist/_dts/sdk/src/portal/client.d.ts +1 -0
- package/dist/_dts/sdk/src/portal/index.d.ts +4 -36
- package/dist/_dts/sdk/src/portal/token.d.ts +4 -20
- package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +4 -1
- package/dist/_dts/sdk/src/rendering/islands/types.d.ts +1 -28
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/theme-core/src/accordions/types.d.ts +4 -4
- package/dist/_dts/theme-core/src/buttons/types.d.ts +41 -41
- package/dist/_dts/theme-core/src/buttons/typography.d.ts +2 -2
- package/dist/_dts/theme-core/src/cards/types.d.ts +34 -34
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/header/containerSchema.d.ts +2 -2
- package/dist/_dts/theme-core/src/hosted-booking-appearance.d.ts +1 -1
- package/dist/_dts/theme-core/src/inputs/types.d.ts +4 -4
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +255 -255
- package/dist/_dts/theme-core/src/navigation/types.d.ts +6 -6
- package/dist/_dts/theme-core/src/palette/colors.d.ts +1 -1
- package/dist/_dts/theme-core/src/palette/curated/types.d.ts +2 -2
- package/dist/_dts/theme-core/src/schema.d.ts +294 -294
- package/dist/_dts/theme-core/src/shared/componentStyles.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/backgroundAppearance.d.ts +2 -2
- package/dist/_dts/theme-core/src/site-styles/compileFooterAgainstRow.d.ts +7 -7
- package/dist/_dts/theme-core/src/site-styles/headerPreferencesPersistence.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/pageDesignIntent.d.ts +12 -12
- package/dist/_dts/theme-core/src/tokens/themeColorTokens.d.ts +2 -2
- package/dist/_dts/theme-core/src/typography/schema.d.ts +27 -27
- package/dist/_dts/ui/src/button.d.ts +1 -1
- package/dist/_dts/ui/src/surface.d.ts +2 -2
- package/dist/_dts/ui/src/toggle.d.ts +2 -2
- package/dist/client/{BookingMailingListNote-CiW1dsz7.mjs → BookingMailingListNote-B9mP3Io9.mjs} +2 -2
- package/dist/client/{CardListItem-DVYTlYpS.mjs → CardListItem-D5rL2wPv.mjs} +3 -3
- package/dist/client/{CheckboxChoice-CUnPrBlC.mjs → CheckboxChoice-Bz6wLaBl.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-DEsn5F2C.mjs → DemoBookingPortalAccess-7BPVzfLU.mjs} +6 -10
- package/dist/client/{EventCombined.client-BdctbwnV.mjs → EventCombined.client-DZH5qHJl.mjs} +5 -5
- package/dist/client/{EventEmbeddedCheckoutStep-DAhQs6Jb.mjs → EventEmbeddedCheckoutStep-CV31Qvn2.mjs} +2 -2
- package/dist/client/{EventListing.client-BviZXfAE.mjs → EventListing.client-C19sjRGF.mjs} +2 -2
- package/dist/client/{LeafletStaticMap-BLTECfjU.mjs → LeafletStaticMap-DjUjYdzQ.mjs} +1 -1
- package/dist/client/{RichText-D3oE1_pw.mjs → RichText-DkKcVZwr.mjs} +2 -2
- package/dist/client/{ThemedButton-Ckj0Rfr_.mjs → ThemedButton-CTgpAXfL.mjs} +1 -1
- package/dist/client/{accordion-yBx6d4O2.mjs → accordion-R2-q5wo-.mjs} +1 -1
- package/dist/client/{bookingForm-CPDEsQci.mjs → bookingForm-VSU8nIdO.mjs} +12 -16
- package/dist/client/bookings.mjs +352 -64
- package/dist/client/{carousel-DCqjwd2s.mjs → carousel-BjPlY4ee.mjs} +2 -2
- package/dist/client/{carousel.client-Bx7XMF8-.mjs → carousel.client-Tnwvm0l1.mjs} +1 -1
- package/dist/client/{cart-DWJXrQxs.mjs → cart-DAPYTOP7.mjs} +3 -3
- package/dist/client/{checkout-CH4ypSLS.mjs → checkout-DGJTx4vB.mjs} +3 -3
- package/dist/client/client.mjs +61275 -61217
- package/dist/client/{context-BOs0m_iw.mjs → context-ByZBoKdq.mjs} +92 -209
- package/dist/client/{eventCalendar-CRylMllc.mjs → eventCalendar-CP5Z7iME.mjs} +8 -8
- package/dist/client/{eventCombined-DohTS3kp.mjs → eventCombined-D8nbUyxu.mjs} +4 -4
- package/dist/client/{eventDetails-qf-u9zcF.mjs → eventDetails-Bknq8k7E.mjs} +46 -44
- package/dist/client/{eventListing-Cg__X2vy.mjs → eventListing-BwMnPteX.mjs} +4 -4
- package/dist/client/{eventRegistration-CybWxswy.mjs → eventRegistration-COFk1mjw.mjs} +11 -11
- package/dist/client/{form-C-SGk6nq.mjs → form-BiWLd_me.mjs} +5 -5
- package/dist/client/{headerSection-BdzPaHqo.mjs → headerSection-BptDP4xF.mjs} +3 -3
- package/dist/client/hooks.mjs +22850 -22861
- package/dist/client/{locationMap-CEwIKmMb.mjs → locationMap-B-kPoqcK.mjs} +3 -3
- package/dist/client/{media-V_ShXXru.mjs → media-FjqQK4qS.mjs} +68 -1
- package/dist/client/{newsletterForm-CmwTltoS.mjs → newsletterForm-s_B8fCtT.mjs} +4 -4
- package/dist/client/portal/client.mjs +17419 -0
- package/dist/client/{productDetail-DjIzUwg3.mjs → productDetail-CS3GZMPi.mjs} +3 -3
- package/dist/client/{productList-D6JGFnMF.mjs → productList-Csc3WJDs.mjs} +3 -3
- package/dist/client/{propsDecoder-BRKz13eg.mjs → propsDecoder-Dn68GoQZ.mjs} +502 -2705
- package/dist/client/rendering/client.mjs +3303 -3612
- package/dist/client/rendering/islands.mjs +17 -17
- package/dist/client/rendering.mjs +46273 -46220
- package/dist/client/{routeIslandApiConfig-slAAILQ5.mjs → routeIslandApiConfig-DeBuevOO.mjs} +1 -1
- package/dist/client/{shop-C45K96_0.mjs → shop-B5EQbeUX.mjs} +7 -7
- package/dist/client/{shop-commerce-oGBiKT5d.mjs → shop-commerce-DYs7PdNL.mjs} +8 -8
- package/dist/client/{shop-commerce-store-H_HFPFZ8.mjs → shop-commerce-store-B2-DIPbg.mjs} +1 -1
- package/dist/client/{shopShared-D54T_LAV.mjs → shopShared-CE302Pfy.mjs} +4 -4
- package/dist/client/{useDiscountCodeUi-Dm2EUa03.mjs → useDiscountCodeUi-BZ02FBrV.mjs} +1 -1
- package/dist/client/{useEventPagination-0l_A8CxG.mjs → useEventPagination-VudQWKtG.mjs} +116 -6
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/{sdk-runtime-CjTM32Ah.mjs → sdk-runtime-C8Qh6r51.mjs} +1 -1
- package/dist/server/components.mjs +927 -262
- package/dist/server/config-template-validation.mjs +5 -3
- package/dist/server/config-validation.mjs +35200 -35211
- package/dist/server/config.mjs +35200 -35211
- package/dist/server/data.mjs +32783 -32794
- package/dist/server/date-time.mjs +14 -7
- package/dist/server/index.mjs +1 -1
- package/dist/server/navigation.mjs +1 -1
- package/dist/server/next.mjs +71470 -70677
- package/dist/server/page-converter.mjs +202 -213
- package/dist/server/portal.mjs +5 -51
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +1180 -722
- package/dist/server/rendering.mjs +922 -262
- package/dist/server/routing.mjs +39382 -41704
- package/dist/server/server.mjs +203 -214
- package/dist/server/theme-bridge.mjs +262 -2
- package/dist/{spinner-KVVZh8jd.mjs → spinner-Bi68Z_0o.mjs} +1 -1
- package/dist/styles/index.css +258 -2
- package/package.json +9 -1
- package/dist/_dts/sdk/src/portal/config.d.ts +0 -67
|
@@ -8,7 +8,7 @@ export declare const lookSlot: (name: ArrangementSlotName, source?: "look" | "sk
|
|
|
8
8
|
readonly transforms: readonly [{
|
|
9
9
|
readonly id: "look.skinSlot";
|
|
10
10
|
readonly options: {
|
|
11
|
-
readonly slot: "day" | "availability" | "month" | "weekday" | "date" | "time" | "layout" | "group" | "contact" | "stack" | "inline" | "heading" | "intro" | "section" | "navigation" | "head" | "social" | "panel" | "base" | "row" | "media" | "caption" | "items" | "item" | "places" | "
|
|
11
|
+
readonly slot: "day" | "availability" | "month" | "weekday" | "date" | "time" | "layout" | "group" | "contact" | "stack" | "inline" | "heading" | "intro" | "section" | "navigation" | "head" | "social" | "panel" | "base" | "row" | "media" | "caption" | "items" | "item" | "places" | "list" | "grid" | "background" | "mark" | "eyebrow" | "icon" | "controls" | "copy" | "facts" | "chips" | "numeral" | "schedule" | "dates" | "action" | "photo" | "outcome" | "sticker" | "frame" | "schedule-section" | "shop-section" | "headline" | "lede" | "actions" | "gallery" | "fact-label" | "fact-value" | "chip" | "figure" | "figure-value" | "figure-label" | "date-places" | "lead" | "item-media" | "item-body" | "item-title" | "item-text" | "item-actions" | "row-continued" | "group-label" | "group-day" | "group-date" | "date-label" | "price" | "time-start" | "time-length" | "what" | "item-meta" | "places-low" | "places-full" | "panel-heading" | "more" | "quote" | "attribution" | "control" | "counter";
|
|
12
12
|
};
|
|
13
13
|
}];
|
|
14
14
|
};
|
|
@@ -16,7 +16,7 @@ export declare const lookSlot: (name: ArrangementSlotName, source?: "look" | "sk
|
|
|
16
16
|
} | {
|
|
17
17
|
readonly 'data-slot': {
|
|
18
18
|
readonly $bind: {
|
|
19
|
-
readonly from: "content._lookSlots.day" | "content._lookSlots.availability" | "content._lookSlots.month" | "content._lookSlots.weekday" | "content._lookSlots.date" | "content._lookSlots.time" | "content._lookSlots.layout" | "content._lookSlots.group" | "content._lookSlots.contact" | "content._lookSlots.stack" | "content._lookSlots.inline" | "content._lookSlots.heading" | "content._lookSlots.intro" | "content._lookSlots.section" | "content._lookSlots.navigation" | "content._lookSlots.head" | "content._lookSlots.social" | "content._lookSlots.panel" | "content._lookSlots.base" | "content._lookSlots.row" | "content._lookSlots.media" | "content._lookSlots.caption" | "content._lookSlots.items" | "content._lookSlots.item" | "content._lookSlots.places" | "content._lookSlots.
|
|
19
|
+
readonly from: "content._lookSlots.day" | "content._lookSlots.availability" | "content._lookSlots.month" | "content._lookSlots.weekday" | "content._lookSlots.date" | "content._lookSlots.time" | "content._lookSlots.layout" | "content._lookSlots.group" | "content._lookSlots.contact" | "content._lookSlots.stack" | "content._lookSlots.inline" | "content._lookSlots.heading" | "content._lookSlots.intro" | "content._lookSlots.section" | "content._lookSlots.navigation" | "content._lookSlots.head" | "content._lookSlots.social" | "content._lookSlots.panel" | "content._lookSlots.base" | "content._lookSlots.row" | "content._lookSlots.media" | "content._lookSlots.caption" | "content._lookSlots.items" | "content._lookSlots.item" | "content._lookSlots.places" | "content._lookSlots.list" | "content._lookSlots.grid" | "content._lookSlots.background" | "content._lookSlots.mark" | "content._lookSlots.eyebrow" | "content._lookSlots.icon" | "content._lookSlots.controls" | "content._lookSlots.copy" | "content._lookSlots.facts" | "content._lookSlots.chips" | "content._lookSlots.numeral" | "content._lookSlots.schedule" | "content._lookSlots.dates" | "content._lookSlots.action" | "content._lookSlots.photo" | "content._lookSlots.outcome" | "content._lookSlots.sticker" | "content._lookSlots.frame" | "content._lookSlots.schedule-section" | "content._lookSlots.shop-section" | "content._lookSlots.headline" | "content._lookSlots.lede" | "content._lookSlots.actions" | "content._lookSlots.gallery" | "content._lookSlots.fact-label" | "content._lookSlots.fact-value" | "content._lookSlots.chip" | "content._lookSlots.figure" | "content._lookSlots.figure-value" | "content._lookSlots.figure-label" | "content._lookSlots.date-places" | "content._lookSlots.lead" | "content._lookSlots.item-media" | "content._lookSlots.item-body" | "content._lookSlots.item-title" | "content._lookSlots.item-text" | "content._lookSlots.item-actions" | "content._lookSlots.row-continued" | "content._lookSlots.group-label" | "content._lookSlots.group-day" | "content._lookSlots.group-date" | "content._lookSlots.date-label" | "content._lookSlots.price" | "content._lookSlots.time-start" | "content._lookSlots.time-length" | "content._lookSlots.what" | "content._lookSlots.item-meta" | "content._lookSlots.places-low" | "content._lookSlots.places-full" | "content._lookSlots.panel-heading" | "content._lookSlots.more" | "content._lookSlots.quote" | "content._lookSlots.attribution" | "content._lookSlots.control" | "content._lookSlots.counter";
|
|
20
20
|
readonly transforms?: undefined;
|
|
21
21
|
};
|
|
22
22
|
};
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { type BlockSiteTerms } from '../../blocks/shared/siteTerms';
|
|
2
|
+
import type { PortalEventsResponse, PortalBookingQuestionsUploadUrlRequest, PortalBookingQuestionsFinalizeUploadRequest, PortalWaitlistCancellationResult } from './types/portal';
|
|
3
|
+
import type { BookingQuestionsDocumentAnswerValue } from '../../../portal/types';
|
|
2
4
|
import { type CalendarWindowPage, type CalendarWindowRequest } from '../../blocks/events/shared/calendarWindow';
|
|
3
|
-
import type { BlockApiConfig, ApiFieldError, FormSubmitRequest, FormSubmitResponse, FormConfigResponse, BookingSubmitRequest, BookingPackageSubmitRequest, BookingSubmitResponse, EligibleAppointmentPackagesResponse, AppointmentBookingStatusRequest, AppointmentBookingStatusResponse, AvailableSlotsRequest, AvailableSlotsResponse, WeeklySlotAvailabilityRequest, WeeklySlotAvailabilityResponse, AvailableDatesRequest, AvailableDatesResponse, BookingServicesResponse, BookingServiceResponse, BookingResourcesResponse, PublicEventsRequest, PublicEvent, EventFiltersResponse, EventRegisterRequest, EventRegisterResponse, EventCheckoutRequest, EventCheckoutResponse, RegistrationOptionsRequest, EventRegistrationNextStepRequest, EventRegistrationNextStepResponse, RegistrationOptionsResponse, EventRegistrationStatusRequest, EventRegistrationStatusResponse, EventCheckoutReturnRequest, EventCheckoutReturnResponse, ResolveWaitlistClaimRequest, ResolveWaitlistClaimResponse, DiscountsAvailableRequest, DiscountsAvailableResponse, DiscountApplyRequest, DiscountApplyResponse, PublicProductsResponse, ShopCheckoutRequest, ShopCheckoutResponse, UnifiedCheckoutRequest, UnifiedCheckoutResponse, PublicGiftingOffersResponse, CreateGiftingCheckoutRequest, CreateGiftingCheckoutResponse, ClaimGiftCardRequest, ClaimGiftCardResponse, PortalMeResponse, CustomerProfile, CustomerOrder, PortalMeUpdateRequest, CustomerPass, CustomerMembership,
|
|
5
|
+
import type { BlockApiConfig, ApiFieldError, FormSubmitRequest, FormSubmitResponse, FormConfigResponse, BookingSubmitRequest, BookingPackageSubmitRequest, BookingSubmitResponse, EligibleAppointmentPackagesResponse, AppointmentBookingStatusRequest, AppointmentBookingStatusResponse, AvailableSlotsRequest, AvailableSlotsResponse, WeeklySlotAvailabilityRequest, WeeklySlotAvailabilityResponse, AvailableDatesRequest, AvailableDatesResponse, BookingServicesResponse, BookingServiceResponse, BookingResourcesResponse, PublicEventsRequest, PublicEvent, EventFiltersResponse, EventRegisterRequest, EventRegisterResponse, EventCheckoutRequest, EventCheckoutResponse, RegistrationOptionsRequest, EventRegistrationNextStepRequest, EventRegistrationNextStepResponse, RegistrationOptionsResponse, EventRegistrationStatusRequest, EventRegistrationStatusResponse, EventCheckoutReturnRequest, EventCheckoutReturnResponse, ResolveWaitlistClaimRequest, ResolveWaitlistClaimResponse, DiscountsAvailableRequest, DiscountsAvailableResponse, DiscountApplyRequest, DiscountApplyResponse, PublicProductsResponse, ShopCheckoutRequest, ShopCheckoutResponse, UnifiedCheckoutRequest, UnifiedCheckoutResponse, PublicGiftingOffersResponse, CreateGiftingCheckoutRequest, CreateGiftingCheckoutResponse, ClaimGiftCardRequest, ClaimGiftCardResponse, PortalMeResponse, CustomerProfile, CustomerOrder, PortalMeUpdateRequest, CustomerPass, CustomerMembership, PortalEventTicket, CustomerAppointment, BookingQuestionsTaskDetail, CustomerEventSeriesRegistration, PortalCredit, PortalOrderCheckoutRequest, PortalOrderCheckoutResponse, PortalDigitalProductAccessResponse, PortalDigitalProductDownloadUrlResponse, PortalDigitalProductsResponse, PortalCancelWholeSeriesRegistrationRequest, PortalCancelWholeSeriesRegistrationResult, PortalCancelAppointmentRequest, PortalCancelAppointmentResult, PortalUpdateAppointmentBookingQuestionsRequest, PortalUpdateWholeSeriesBookingQuestionsRequest, PortalUpdateEventBookingQuestionsRequest, PortalCancelEventRegistrationRequest, PortalCancelEventRegistrationResult, PortalTransferEventRegistrationRequest, PortalTransferEventRegistrationResult, PortalRescheduleAppointmentRequest, PortalRescheduleAppointmentResponse, PortalCancelMembershipAtPeriodEndResult, MagicLinkRequest, MagicLinkResponse, EventGuest, UpdateEventGuestsRequest, NewsletterSubscribeRequest, NewsletterSubscribeResponse } from './types';
|
|
4
6
|
type WithoutSiteId<T> = T extends unknown ? Omit<T, 'siteId'> : never;
|
|
5
7
|
type PublicProductCategorySelector = Readonly<{
|
|
6
8
|
kind: 'category';
|
|
@@ -69,6 +71,21 @@ export interface BlockApiClient {
|
|
|
69
71
|
createGiftingCheckout(data: Omit<CreateGiftingCheckoutRequest, 'siteId'>): Promise<CreateGiftingCheckoutResponse>;
|
|
70
72
|
claimGiftCard(data: Omit<ClaimGiftCardRequest, 'siteId'>): Promise<ClaimGiftCardResponse>;
|
|
71
73
|
subscribeNewsletter(data: Omit<NewsletterSubscribeRequest, 'siteId'>): Promise<NewsletterSubscribeResponse>;
|
|
74
|
+
createPortalAppointmentBookingQuestionsUploadUrl(appointmentId: string, data: PortalBookingQuestionsUploadUrlRequest): Promise<{
|
|
75
|
+
uploadId: string;
|
|
76
|
+
signedUrl: string;
|
|
77
|
+
}>;
|
|
78
|
+
finalizePortalAppointmentBookingQuestionsUpload(appointmentId: string, data: PortalBookingQuestionsFinalizeUploadRequest): Promise<BookingQuestionsDocumentAnswerValue>;
|
|
79
|
+
createPortalEventBookingQuestionsUploadUrl(registrationId: string, data: PortalBookingQuestionsUploadUrlRequest): Promise<{
|
|
80
|
+
uploadId: string;
|
|
81
|
+
signedUrl: string;
|
|
82
|
+
}>;
|
|
83
|
+
finalizePortalEventBookingQuestionsUpload(registrationId: string, data: PortalBookingQuestionsFinalizeUploadRequest): Promise<BookingQuestionsDocumentAnswerValue>;
|
|
84
|
+
createPortalWholeSeriesBookingQuestionsUploadUrl(registrationId: string, data: PortalBookingQuestionsUploadUrlRequest): Promise<{
|
|
85
|
+
uploadId: string;
|
|
86
|
+
signedUrl: string;
|
|
87
|
+
}>;
|
|
88
|
+
finalizePortalWholeSeriesBookingQuestionsUpload(registrationId: string, data: PortalBookingQuestionsFinalizeUploadRequest): Promise<BookingQuestionsDocumentAnswerValue>;
|
|
72
89
|
getPortalProfile(): Promise<PortalMeResponse>;
|
|
73
90
|
getPortalCredit(): Promise<PortalCredit | null>;
|
|
74
91
|
getPortalOrders(): Promise<CustomerOrder[]>;
|
|
@@ -82,7 +99,9 @@ export interface BlockApiClient {
|
|
|
82
99
|
getPortalMemberships(): Promise<CustomerMembership[]>;
|
|
83
100
|
getPortalEvents(params?: {
|
|
84
101
|
occurrenceId?: string;
|
|
85
|
-
|
|
102
|
+
waitlistEntryId?: string;
|
|
103
|
+
}): Promise<PortalEventsResponse>;
|
|
104
|
+
cancelPortalWaitlist(entryId: string): Promise<PortalWaitlistCancellationResult>;
|
|
86
105
|
getPortalEventTicket(registrationId: string): Promise<PortalEventTicket>;
|
|
87
106
|
getPortalAppointments(): Promise<CustomerAppointment[]>;
|
|
88
107
|
getPortalAppointmentBookingQuestions(appointmentId: string): Promise<BookingQuestionsTaskDetail>;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Centralized endpoint path definitions for all block client-side API calls.
|
|
5
5
|
*/
|
|
6
6
|
export type HttpMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
|
|
7
|
-
export type EndpointAuthScope = 'default' | 'portal';
|
|
7
|
+
export type EndpointAuthScope = 'default' | 'portal' | 'public';
|
|
8
8
|
export interface EndpointDefinition {
|
|
9
9
|
path: string;
|
|
10
10
|
method: HttpMethod;
|
|
@@ -172,6 +172,48 @@ export declare const NEWSLETTER: {
|
|
|
172
172
|
};
|
|
173
173
|
};
|
|
174
174
|
export declare const PORTAL: {
|
|
175
|
+
createAppointmentBookingQuestionsUploadUrl: {
|
|
176
|
+
path: string;
|
|
177
|
+
method: "POST";
|
|
178
|
+
authScope: "portal";
|
|
179
|
+
skipPreviewStage: true;
|
|
180
|
+
};
|
|
181
|
+
finalizeAppointmentBookingQuestionsUpload: {
|
|
182
|
+
path: string;
|
|
183
|
+
method: "POST";
|
|
184
|
+
authScope: "portal";
|
|
185
|
+
skipPreviewStage: true;
|
|
186
|
+
};
|
|
187
|
+
createEventBookingQuestionsUploadUrl: {
|
|
188
|
+
path: string;
|
|
189
|
+
method: "POST";
|
|
190
|
+
authScope: "portal";
|
|
191
|
+
skipPreviewStage: true;
|
|
192
|
+
};
|
|
193
|
+
finalizeEventBookingQuestionsUpload: {
|
|
194
|
+
path: string;
|
|
195
|
+
method: "POST";
|
|
196
|
+
authScope: "portal";
|
|
197
|
+
skipPreviewStage: true;
|
|
198
|
+
};
|
|
199
|
+
createWholeSeriesBookingQuestionsUploadUrl: {
|
|
200
|
+
path: string;
|
|
201
|
+
method: "POST";
|
|
202
|
+
authScope: "portal";
|
|
203
|
+
skipPreviewStage: true;
|
|
204
|
+
};
|
|
205
|
+
finalizeWholeSeriesBookingQuestionsUpload: {
|
|
206
|
+
path: string;
|
|
207
|
+
method: "POST";
|
|
208
|
+
authScope: "portal";
|
|
209
|
+
skipPreviewStage: true;
|
|
210
|
+
};
|
|
211
|
+
cancelWaitlist: {
|
|
212
|
+
path: string;
|
|
213
|
+
method: "POST";
|
|
214
|
+
authScope: "portal";
|
|
215
|
+
skipPreviewStage: true;
|
|
216
|
+
};
|
|
175
217
|
getProfile: {
|
|
176
218
|
path: string;
|
|
177
219
|
method: "GET";
|
|
@@ -349,7 +391,7 @@ export declare const PORTAL: {
|
|
|
349
391
|
sendMagicLink: {
|
|
350
392
|
path: string;
|
|
351
393
|
method: "POST";
|
|
352
|
-
authScope: "
|
|
394
|
+
authScope: "public";
|
|
353
395
|
skipPreviewStage: true;
|
|
354
396
|
};
|
|
355
397
|
logout: {
|
|
@@ -497,6 +539,48 @@ export declare const ENDPOINTS: {
|
|
|
497
539
|
};
|
|
498
540
|
};
|
|
499
541
|
readonly portal: {
|
|
542
|
+
createAppointmentBookingQuestionsUploadUrl: {
|
|
543
|
+
path: string;
|
|
544
|
+
method: "POST";
|
|
545
|
+
authScope: "portal";
|
|
546
|
+
skipPreviewStage: true;
|
|
547
|
+
};
|
|
548
|
+
finalizeAppointmentBookingQuestionsUpload: {
|
|
549
|
+
path: string;
|
|
550
|
+
method: "POST";
|
|
551
|
+
authScope: "portal";
|
|
552
|
+
skipPreviewStage: true;
|
|
553
|
+
};
|
|
554
|
+
createEventBookingQuestionsUploadUrl: {
|
|
555
|
+
path: string;
|
|
556
|
+
method: "POST";
|
|
557
|
+
authScope: "portal";
|
|
558
|
+
skipPreviewStage: true;
|
|
559
|
+
};
|
|
560
|
+
finalizeEventBookingQuestionsUpload: {
|
|
561
|
+
path: string;
|
|
562
|
+
method: "POST";
|
|
563
|
+
authScope: "portal";
|
|
564
|
+
skipPreviewStage: true;
|
|
565
|
+
};
|
|
566
|
+
createWholeSeriesBookingQuestionsUploadUrl: {
|
|
567
|
+
path: string;
|
|
568
|
+
method: "POST";
|
|
569
|
+
authScope: "portal";
|
|
570
|
+
skipPreviewStage: true;
|
|
571
|
+
};
|
|
572
|
+
finalizeWholeSeriesBookingQuestionsUpload: {
|
|
573
|
+
path: string;
|
|
574
|
+
method: "POST";
|
|
575
|
+
authScope: "portal";
|
|
576
|
+
skipPreviewStage: true;
|
|
577
|
+
};
|
|
578
|
+
cancelWaitlist: {
|
|
579
|
+
path: string;
|
|
580
|
+
method: "POST";
|
|
581
|
+
authScope: "portal";
|
|
582
|
+
skipPreviewStage: true;
|
|
583
|
+
};
|
|
500
584
|
getProfile: {
|
|
501
585
|
path: string;
|
|
502
586
|
method: "GET";
|
|
@@ -674,7 +758,7 @@ export declare const ENDPOINTS: {
|
|
|
674
758
|
sendMagicLink: {
|
|
675
759
|
path: string;
|
|
676
760
|
method: "POST";
|
|
677
|
-
authScope: "
|
|
761
|
+
authScope: "public";
|
|
678
762
|
skipPreviewStage: true;
|
|
679
763
|
};
|
|
680
764
|
logout: {
|
|
@@ -44,7 +44,7 @@ export type { BlockApiClient, BoundBlockApiClient } from './client';
|
|
|
44
44
|
export { createHostedBlockApiConfig, getBlockApiReadStage } from './readAuthority';
|
|
45
45
|
export { BlockApiProvider, useBlockApi, useBlockApiOptional } from './context';
|
|
46
46
|
export type { BlockApiProviderProps } from './context';
|
|
47
|
-
export type { BlockApiConfig, BlockApiAuth, BrowserReadAuthority, ApiKeyAuth, BearerAuth, NoAuth, ApiResponse, ApiSuccessResponse, ApiErrorResponse, ApiFieldError, FormSubmitRequest, FormSubmitResponse, FormConfigResponse, FormField, BookingSubmitRequest, BookingSubmitResponse, AppointmentBookingStatusRequest, AppointmentBookingStatusResponse, AvailableSlotsRequest, AvailableSlotsResponse, TimeSlot, AvailableDatesRequest, AvailableDatesResponse, BookingService, BookingServicesRequest, BookingServicesResponse, BookingServiceResponse, BookingResource, BookingResourcesRequest, BookingResourcesResponse, PublicEvent, PublicEventsRequest, PublicEventsResponse, EventVenue, AccessRestriction, EventFilterCategory, EventFilterStaffMember, EventFilterVenue, EventFiltersResponse, EventRegisterRequest, EventRegisterResponse, EventCheckoutRequest, EventCheckoutResponse, EventCheckoutReturnRequest, EventCheckoutReturnResponse, EventCheckoutStatusOutcome, PaymentMethod, EligiblePass, EligibleMembership, AvailablePass, AvailableMembership, DiscountContext, DiscountsAvailableRequest, DiscountsAvailableResponse, DiscountApplyLine, DiscountApplyRequest, DiscountApplyRejectedReason, DiscountApplyResponse, ShopCheckoutRequest, ShopCheckoutResponse, ShopDuplicateMembershipWarning, CustomerProfile, CustomerOrder, CustomerOrderFilter, CustomerOrderItem, CustomerOrderInstalmentPlan, CustomerOrderInstalmentPlanStatus, CustomerOrderInstalmentRow, CustomerOrderInstalmentStatus, CustomerOrderPaymentState, CustomerOrderRefund, EnabledModules, PortalMeResponse, PortalMeUpdateRequest, CustomerPass, CustomerPassCreditHistoryEntry, CustomerMembership, EventTicketBreakdownLine, CustomerEventRegistration, CustomerPortalWaitlistEntry, CustomerPortalWaitlistSubject, PortalEventTicket, CustomerAppointment, AppointmentBookingQuestionsTaskDetail, BookingQuestionsTaskDetail, BookingQuestionsAnswerValue, BookingQuestionsField, BookingQuestionsFieldOption, BookingQuestionsSection, BeforeYouComeTaskSummary, CustomerEventSeriesRegistration, EventGuest, PortalCredit, PortalCreditSummary, PortalCreditTransaction, PortalCreditResponse, PortalOrderCheckoutRequest, PortalOrderCheckoutResponse, PortalDigitalProduct, PortalDigitalProductFile, PortalDigitalProductsResponse, PortalDigitalProductAccessResponse, PortalDigitalProductDownloadUrlResponse, PortalAppointmentBookingQuestionsResponse,
|
|
47
|
+
export type { BlockApiConfig, BlockApiAuth, BrowserReadAuthority, ApiKeyAuth, BearerAuth, NoAuth, ApiResponse, ApiSuccessResponse, ApiErrorResponse, ApiFieldError, FormSubmitRequest, FormSubmitResponse, FormConfigResponse, FormField, BookingSubmitRequest, BookingSubmitResponse, AppointmentBookingStatusRequest, AppointmentBookingStatusResponse, AvailableSlotsRequest, AvailableSlotsResponse, TimeSlot, AvailableDatesRequest, AvailableDatesResponse, BookingService, BookingServicesRequest, BookingServicesResponse, BookingServiceResponse, BookingResource, BookingResourcesRequest, BookingResourcesResponse, PublicEvent, PublicEventsRequest, PublicEventsResponse, EventVenue, AccessRestriction, EventFilterCategory, EventFilterStaffMember, EventFilterVenue, EventFiltersResponse, EventRegisterRequest, EventRegisterResponse, EventCheckoutRequest, EventCheckoutResponse, EventCheckoutReturnRequest, EventCheckoutReturnResponse, EventCheckoutStatusOutcome, PaymentMethod, EligiblePass, EligibleMembership, AvailablePass, AvailableMembership, DiscountContext, DiscountsAvailableRequest, DiscountsAvailableResponse, DiscountApplyLine, DiscountApplyRequest, DiscountApplyRejectedReason, DiscountApplyResponse, ShopCheckoutRequest, ShopCheckoutResponse, ShopDuplicateMembershipWarning, CustomerProfile, CustomerOrder, CustomerOrderFilter, CustomerOrderItem, CustomerOrderInstalmentPlan, CustomerOrderInstalmentPlanStatus, CustomerOrderInstalmentRow, CustomerOrderInstalmentStatus, CustomerOrderPaymentState, CustomerOrderRefund, EnabledModules, PortalMeResponse, PortalMeUpdateRequest, PortalBookingQuestionsUploadUrlRequest, PortalBookingQuestionsFinalizeUploadRequest, CustomerPass, CustomerPassCreditHistoryEntry, CustomerMembership, EventTicketBreakdownLine, CustomerEventRegistration, CustomerPortalWaitlistEntry, CustomerPortalWaitlistSubject, PortalEventTicket, CustomerAppointment, AppointmentBookingQuestionsTaskDetail, BookingQuestionsTaskDetail, BookingQuestionsAnswerValue, BookingQuestionsField, BookingQuestionsFieldOption, BookingQuestionsSection, BeforeYouComeTaskSummary, CustomerEventSeriesRegistration, EventGuest, PortalCredit, PortalCreditSummary, PortalCreditTransaction, PortalCreditResponse, PortalOrderCheckoutRequest, PortalOrderCheckoutResponse, PortalDigitalProduct, PortalDigitalProductFile, PortalDigitalProductsResponse, PortalDigitalProductAccessResponse, PortalDigitalProductDownloadUrlResponse, PortalAppointmentBookingQuestionsResponse, PortalCreateAppointmentBookingQuestionsUploadUrlResponse, PortalFinalizeAppointmentBookingQuestionsUploadResponse, PortalUpdateAppointmentBookingQuestionsRequest, PortalUpdateAppointmentBookingQuestionsResponse, PortalEventBookingQuestionsResponse, PortalCreateEventBookingQuestionsUploadUrlResponse, PortalFinalizeEventBookingQuestionsUploadResponse, PortalUpdateEventBookingQuestionsRequest, PortalUpdateEventBookingQuestionsResponse, PortalWholeSeriesBookingQuestionsResponse, PortalCreateWholeSeriesBookingQuestionsUploadUrlResponse, PortalFinalizeWholeSeriesBookingQuestionsUploadResponse, PortalUpdateWholeSeriesBookingQuestionsRequest, PortalUpdateWholeSeriesBookingQuestionsResponse, UpdateEventGuestsRequest, EventGuestsResponse, PortalCancelWholeSeriesRegistrationRequest, PortalCancelWholeSeriesRegistrationResult, PortalCancelAppointmentRequest, PortalCancelAppointmentResult, PortalCancelEventRegistrationRequest, PortalRefundInfo, PortalCancelEventRegistrationResult, PortalTransferEventRegistrationRequest, PortalTransferEventRegistrationResult, PortalRescheduleAppointmentRequest, PortalRescheduleAppointmentResponse, PortalCancelMembershipAtPeriodEndResult, MagicLinkRequest, MagicLinkResponse, } from './types';
|
|
48
48
|
export { discountAvailabilityAllowsManualEntry, discountAvailabilityHasDiscounts, getAutoAppliedDiscountPreview, } from './types';
|
|
49
49
|
export type { BookingQuestionsDocumentAnswerValue } from '../../../portal/types';
|
|
50
50
|
export { deriveCreditProductLabels, getCreditProductCreditUnit, getCreditProductTypeLabel, getPortalCreditProductCreditNoun, } from './creditProducts';
|
|
@@ -342,8 +342,8 @@ export declare const eventRegisterResponseSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
342
342
|
attendeeId: z.ZodString;
|
|
343
343
|
}, z.core.$strict>, z.ZodObject<{
|
|
344
344
|
scope: z.ZodEnum<{
|
|
345
|
-
wholeSeries: "wholeSeries";
|
|
346
345
|
occurrence: "occurrence";
|
|
346
|
+
wholeSeries: "wholeSeries";
|
|
347
347
|
}>;
|
|
348
348
|
waitlistEntryId: z.ZodString;
|
|
349
349
|
}, z.core.$strict>]>;
|
|
@@ -6,7 +6,7 @@ import type { CheckoutSessionHandle, EmbeddedCheckoutBrowserContext } from '../.
|
|
|
6
6
|
*
|
|
7
7
|
* Part of the block API client type surface; re-exported from `../types`.
|
|
8
8
|
*/
|
|
9
|
-
import type { EventRegistrationOptionsRequest, EventRegistrationOptionsResponse } from '
|
|
9
|
+
import type { EventRegistrationOptionsRequest, EventRegistrationOptionsResponse } from '../../../../contracts/event-registration';
|
|
10
10
|
import type { DirectCheckoutCollectionOptionKind } from './core';
|
|
11
11
|
import type { EventScheduleScope, EventSurfaceScope } from '../../../blocks/events/shared/filtering';
|
|
12
12
|
import type { AccessRestriction as _AccessRestriction, EventVenue as _EventVenue, PublicEvent as _PublicEvent, PublicEventPricingOption as _PublicEventPricingOption, PublicEventPricingOptionAvailability as _PublicEventPricingOptionAvailability, PublicEventLoaderParams } from '../../../blocks/events/shared/types';
|
|
@@ -83,19 +83,10 @@ export interface PortalUpdateAppointmentBookingQuestionsRequest {
|
|
|
83
83
|
export interface PortalUpdateAppointmentBookingQuestionsResponse {
|
|
84
84
|
task: import("../../../../portal/types").BookingQuestionsTaskDetail;
|
|
85
85
|
}
|
|
86
|
-
export interface PortalCreateAppointmentBookingQuestionsUploadUrlRequest {
|
|
87
|
-
fieldId: string;
|
|
88
|
-
filename: string;
|
|
89
|
-
bytes: number;
|
|
90
|
-
}
|
|
91
86
|
export interface PortalCreateAppointmentBookingQuestionsUploadUrlResponse {
|
|
92
87
|
uploadId: string;
|
|
93
88
|
signedUrl: string;
|
|
94
89
|
}
|
|
95
|
-
export interface PortalFinalizeAppointmentBookingQuestionsUploadRequest {
|
|
96
|
-
fieldId: string;
|
|
97
|
-
uploadId: string;
|
|
98
|
-
}
|
|
99
90
|
export interface PortalFinalizeAppointmentBookingQuestionsUploadResponse {
|
|
100
91
|
answer: import("../../../../portal/types").BookingQuestionsDocumentAnswerValue;
|
|
101
92
|
}
|
|
@@ -108,19 +99,10 @@ export interface PortalUpdateEventBookingQuestionsRequest {
|
|
|
108
99
|
export interface PortalUpdateEventBookingQuestionsResponse {
|
|
109
100
|
task: import("../../../../portal/types").BookingQuestionsTaskDetail;
|
|
110
101
|
}
|
|
111
|
-
export interface PortalCreateEventBookingQuestionsUploadUrlRequest {
|
|
112
|
-
fieldId: string;
|
|
113
|
-
filename: string;
|
|
114
|
-
bytes: number;
|
|
115
|
-
}
|
|
116
102
|
export interface PortalCreateEventBookingQuestionsUploadUrlResponse {
|
|
117
103
|
uploadId: string;
|
|
118
104
|
signedUrl: string;
|
|
119
105
|
}
|
|
120
|
-
export interface PortalFinalizeEventBookingQuestionsUploadRequest {
|
|
121
|
-
fieldId: string;
|
|
122
|
-
uploadId: string;
|
|
123
|
-
}
|
|
124
106
|
export interface PortalFinalizeEventBookingQuestionsUploadResponse {
|
|
125
107
|
answer: import("../../../../portal/types").BookingQuestionsDocumentAnswerValue;
|
|
126
108
|
}
|
|
@@ -133,19 +115,10 @@ export interface PortalUpdateWholeSeriesBookingQuestionsRequest {
|
|
|
133
115
|
export interface PortalUpdateWholeSeriesBookingQuestionsResponse {
|
|
134
116
|
task: import("../../../../portal/types").BookingQuestionsTaskDetail;
|
|
135
117
|
}
|
|
136
|
-
export interface PortalCreateWholeSeriesBookingQuestionsUploadUrlRequest {
|
|
137
|
-
fieldId: string;
|
|
138
|
-
filename: string;
|
|
139
|
-
bytes: number;
|
|
140
|
-
}
|
|
141
118
|
export interface PortalCreateWholeSeriesBookingQuestionsUploadUrlResponse {
|
|
142
119
|
uploadId: string;
|
|
143
120
|
signedUrl: string;
|
|
144
121
|
}
|
|
145
|
-
export interface PortalFinalizeWholeSeriesBookingQuestionsUploadRequest {
|
|
146
|
-
fieldId: string;
|
|
147
|
-
uploadId: string;
|
|
148
|
-
}
|
|
149
122
|
export interface PortalFinalizeWholeSeriesBookingQuestionsUploadResponse {
|
|
150
123
|
answer: import("../../../../portal/types").BookingQuestionsDocumentAnswerValue;
|
|
151
124
|
}
|
|
@@ -225,3 +198,19 @@ export interface PortalCancelMembershipAtPeriodEndResult {
|
|
|
225
198
|
cancelled: boolean;
|
|
226
199
|
message: string;
|
|
227
200
|
}
|
|
201
|
+
export type PortalEventsResponse = Readonly<{
|
|
202
|
+
registrations: import('../../../../portal/types').CustomerEventRegistration[];
|
|
203
|
+
waitlists: import('../../../../portal/types').CustomerPortalWaitlistEntry[];
|
|
204
|
+
}>;
|
|
205
|
+
export type PortalBookingQuestionsUploadUrlRequest = Readonly<{
|
|
206
|
+
fieldId: string;
|
|
207
|
+
filename: string;
|
|
208
|
+
bytes: number;
|
|
209
|
+
}>;
|
|
210
|
+
export type PortalBookingQuestionsFinalizeUploadRequest = Readonly<{
|
|
211
|
+
fieldId: string;
|
|
212
|
+
uploadId: string;
|
|
213
|
+
}>;
|
|
214
|
+
export type PortalWaitlistCancellationResult = Readonly<{
|
|
215
|
+
outcome: 'cancelled' | 'alreadyClosed' | 'notFound';
|
|
216
|
+
}>;
|
|
@@ -41,7 +41,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
41
41
|
readonly form: Readonly<{
|
|
42
42
|
definition: import("../..").SystemBlockDefinition<unknown, Readonly<{
|
|
43
43
|
kind: "progressive";
|
|
44
|
-
buildRender: (source: import("../nodes/form.
|
|
44
|
+
buildRender: (source: import("../nodes/form.types").FormSourceProps) => Readonly<{
|
|
45
45
|
display: import("../nodes/form.interactive").FormDisplay;
|
|
46
46
|
hydration: Readonly<{
|
|
47
47
|
spamProtectionEnabled?: boolean;
|
|
@@ -49,8 +49,8 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
49
49
|
}>;
|
|
50
50
|
contracts: Readonly<{
|
|
51
51
|
source: Readonly<{
|
|
52
|
-
encode: (value: import("../nodes/form.
|
|
53
|
-
decode: (input: unknown) => import("../../../contracts").DecodeResult<import("../nodes/form.
|
|
52
|
+
encode: (value: import("../nodes/form.types").FormSourceProps) => unknown;
|
|
53
|
+
decode: (input: unknown) => import("../../../contracts").DecodeResult<import("../nodes/form.types").FormSourceProps>;
|
|
54
54
|
}>;
|
|
55
55
|
render: Readonly<{
|
|
56
56
|
encode: (value: Readonly<{
|
|
@@ -73,7 +73,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
73
73
|
}>;
|
|
74
74
|
runtime: Readonly<{
|
|
75
75
|
kind: "progressive";
|
|
76
|
-
buildRender: (source: import("../nodes/form.
|
|
76
|
+
buildRender: (source: import("../nodes/form.types").FormSourceProps) => Readonly<{
|
|
77
77
|
display: import("../nodes/form.interactive").FormDisplay;
|
|
78
78
|
hydration: Readonly<{
|
|
79
79
|
spamProtectionEnabled?: boolean;
|
|
@@ -81,8 +81,8 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
81
81
|
}>;
|
|
82
82
|
contracts: Readonly<{
|
|
83
83
|
source: Readonly<{
|
|
84
|
-
encode: (value: import("../nodes/form.
|
|
85
|
-
decode: (input: unknown) => import("../../../contracts").DecodeResult<import("../nodes/form.
|
|
84
|
+
encode: (value: import("../nodes/form.types").FormSourceProps) => unknown;
|
|
85
|
+
decode: (input: unknown) => import("../../../contracts").DecodeResult<import("../nodes/form.types").FormSourceProps>;
|
|
86
86
|
}>;
|
|
87
87
|
render: Readonly<{
|
|
88
88
|
encode: (value: Readonly<{
|
|
@@ -24,7 +24,7 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
24
24
|
readonly form: Readonly<{
|
|
25
25
|
definition: RuntimeBackedBlockDefinition<Readonly<{
|
|
26
26
|
kind: "progressive";
|
|
27
|
-
buildRender: (source: import("../nodes/form.
|
|
27
|
+
buildRender: (source: import("../nodes/form.types").FormSourceProps) => Readonly<{
|
|
28
28
|
display: import("../nodes/form.interactive").FormDisplay;
|
|
29
29
|
hydration: Readonly<{
|
|
30
30
|
spamProtectionEnabled?: boolean;
|
|
@@ -32,8 +32,8 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
32
32
|
}>;
|
|
33
33
|
contracts: Readonly<{
|
|
34
34
|
source: Readonly<{
|
|
35
|
-
encode: (value: import("../nodes/form.
|
|
36
|
-
decode: (input: unknown) => import("../../../contracts").DecodeResult<import("../nodes/form.
|
|
35
|
+
encode: (value: import("../nodes/form.types").FormSourceProps) => unknown;
|
|
36
|
+
decode: (input: unknown) => import("../../../contracts").DecodeResult<import("../nodes/form.types").FormSourceProps>;
|
|
37
37
|
}>;
|
|
38
38
|
render: Readonly<{
|
|
39
39
|
encode: (value: Readonly<{
|
|
@@ -973,7 +973,7 @@ export declare const runtimeBackedBlockModes: {
|
|
|
973
973
|
readonly shop: "passes-memberships";
|
|
974
974
|
};
|
|
975
975
|
export type RuntimeBackedBlockMode<TKind extends RuntimeBackedBlockKind> = typeof runtimeBackedBlockModes[TKind];
|
|
976
|
-
export declare const runtimeBackedBlockKinds: readonly ("form" | "event-calendar" | "event-registration" | "event-listing" | "shop" | "product-list" | "product-detail" | "cart" | "
|
|
976
|
+
export declare const runtimeBackedBlockKinds: readonly ("form" | "event-calendar" | "checkout" | "event-registration" | "event-listing" | "shop" | "product-list" | "product-detail" | "cart" | "gifting" | "newsletter-form")[];
|
|
977
977
|
export declare const runtimeBackedBlockServerRegistry: Readonly<{
|
|
978
978
|
readonly form: React.ElementType<any, keyof React.JSX.IntrinsicElements>;
|
|
979
979
|
readonly 'event-listing': React.ElementType<any, keyof React.JSX.IntrinsicElements>;
|
|
@@ -8,7 +8,6 @@
|
|
|
8
8
|
* Returns a Set for O(1) lookup when filtering DatePicker options.
|
|
9
9
|
*/
|
|
10
10
|
export type UseAvailableDatesOptions = {
|
|
11
|
-
siteId: string;
|
|
12
11
|
serviceId: string | undefined;
|
|
13
12
|
resourceId?: string;
|
|
14
13
|
timezone: string;
|
|
@@ -35,9 +34,8 @@ export type UseAvailableDatesResult = {
|
|
|
35
34
|
*
|
|
36
35
|
* @example
|
|
37
36
|
* ```tsx
|
|
38
|
-
* function DatePicker({
|
|
37
|
+
* function DatePicker({ serviceId }) {
|
|
39
38
|
* const { availableDates, hasMore, loadMore, isLoading } = useAvailableDates({
|
|
40
|
-
* siteId,
|
|
41
39
|
* serviceId,
|
|
42
40
|
* timezone: 'America/New_York',
|
|
43
41
|
* initialDays: 30,
|
|
@@ -48,5 +46,4 @@ export type UseAvailableDatesResult = {
|
|
|
48
46
|
* }
|
|
49
47
|
* ```
|
|
50
48
|
*/
|
|
51
|
-
export declare function useAvailableDates({
|
|
52
|
-
serviceId, resourceId, timezone, initialDays, }: UseAvailableDatesOptions): UseAvailableDatesResult;
|
|
49
|
+
export declare function useAvailableDates({ serviceId, resourceId, timezone, initialDays, }: UseAvailableDatesOptions): UseAvailableDatesResult;
|
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
import { type TimeSlot } from "../api";
|
|
8
8
|
export type { TimeSlot };
|
|
9
9
|
export type UseAvailableSlotsOptions = {
|
|
10
|
-
siteId: string;
|
|
11
10
|
serviceId: string | undefined;
|
|
12
11
|
resourceId: string | undefined;
|
|
13
12
|
selectedDate: string;
|
|
@@ -28,9 +27,8 @@ export type UseAvailableSlotsResult = {
|
|
|
28
27
|
*
|
|
29
28
|
* @example
|
|
30
29
|
* ```tsx
|
|
31
|
-
* function SlotSelector({
|
|
30
|
+
* function SlotSelector({ serviceId }) {
|
|
32
31
|
* const { slots, isLoading, error } = useAvailableSlots({
|
|
33
|
-
* siteId,
|
|
34
32
|
* serviceId,
|
|
35
33
|
* resourceId: selectedResource,
|
|
36
34
|
* selectedDate: '2024-01-15',
|
|
@@ -39,5 +37,4 @@ export type UseAvailableSlotsResult = {
|
|
|
39
37
|
* }
|
|
40
38
|
* ```
|
|
41
39
|
*/
|
|
42
|
-
export declare function useAvailableSlots({
|
|
43
|
-
serviceId, resourceId, selectedDate, timezone, }: UseAvailableSlotsOptions): UseAvailableSlotsResult;
|
|
40
|
+
export declare function useAvailableSlots({ serviceId, resourceId, selectedDate, timezone, }: UseAvailableSlotsOptions): UseAvailableSlotsResult;
|
|
@@ -21,9 +21,9 @@ export declare const lookListPresentationSchemaShape: {
|
|
|
21
21
|
href: z.ZodString;
|
|
22
22
|
}, z.core.$strip>>;
|
|
23
23
|
actionSize: z.ZodOptional<z.ZodEnum<{
|
|
24
|
+
sm: "sm";
|
|
24
25
|
md: "md";
|
|
25
26
|
lg: "lg";
|
|
26
|
-
sm: "sm";
|
|
27
27
|
}>>;
|
|
28
28
|
itemActionStyle: z.ZodOptional<z.ZodEnum<{
|
|
29
29
|
link: "link";
|
|
@@ -84,13 +84,14 @@ export declare const lookListPresentationSchemaShape: {
|
|
|
84
84
|
items: "items";
|
|
85
85
|
item: "item";
|
|
86
86
|
places: "places";
|
|
87
|
+
list: "list";
|
|
88
|
+
grid: "grid";
|
|
87
89
|
background: "background";
|
|
88
|
-
eyebrow: "eyebrow";
|
|
89
90
|
mark: "mark";
|
|
90
|
-
|
|
91
|
+
eyebrow: "eyebrow";
|
|
91
92
|
icon: "icon";
|
|
93
|
+
controls: "controls";
|
|
92
94
|
copy: "copy";
|
|
93
|
-
grid: "grid";
|
|
94
95
|
facts: "facts";
|
|
95
96
|
chips: "chips";
|
|
96
97
|
numeral: "numeral";
|
|
@@ -100,7 +101,6 @@ export declare const lookListPresentationSchemaShape: {
|
|
|
100
101
|
photo: "photo";
|
|
101
102
|
outcome: "outcome";
|
|
102
103
|
sticker: "sticker";
|
|
103
|
-
list: "list";
|
|
104
104
|
frame: "frame";
|
|
105
105
|
"schedule-section": "schedule-section";
|
|
106
106
|
"shop-section": "shop-section";
|
|
@@ -165,13 +165,14 @@ export declare const lookListPresentationSchemaShape: {
|
|
|
165
165
|
items: "items";
|
|
166
166
|
item: "item";
|
|
167
167
|
places: "places";
|
|
168
|
+
list: "list";
|
|
169
|
+
grid: "grid";
|
|
168
170
|
background: "background";
|
|
169
|
-
eyebrow: "eyebrow";
|
|
170
171
|
mark: "mark";
|
|
171
|
-
|
|
172
|
+
eyebrow: "eyebrow";
|
|
172
173
|
icon: "icon";
|
|
174
|
+
controls: "controls";
|
|
173
175
|
copy: "copy";
|
|
174
|
-
grid: "grid";
|
|
175
176
|
facts: "facts";
|
|
176
177
|
chips: "chips";
|
|
177
178
|
numeral: "numeral";
|
|
@@ -181,7 +182,6 @@ export declare const lookListPresentationSchemaShape: {
|
|
|
181
182
|
photo: "photo";
|
|
182
183
|
outcome: "outcome";
|
|
183
184
|
sticker: "sticker";
|
|
184
|
-
list: "list";
|
|
185
185
|
frame: "frame";
|
|
186
186
|
"schedule-section": "schedule-section";
|
|
187
187
|
"shop-section": "shop-section";
|
|
@@ -37,13 +37,14 @@ export declare const eventDetailsLookSchemaShape: {
|
|
|
37
37
|
items: "items";
|
|
38
38
|
item: "item";
|
|
39
39
|
places: "places";
|
|
40
|
+
list: "list";
|
|
41
|
+
grid: "grid";
|
|
40
42
|
background: "background";
|
|
41
|
-
eyebrow: "eyebrow";
|
|
42
43
|
mark: "mark";
|
|
43
|
-
|
|
44
|
+
eyebrow: "eyebrow";
|
|
44
45
|
icon: "icon";
|
|
46
|
+
controls: "controls";
|
|
45
47
|
copy: "copy";
|
|
46
|
-
grid: "grid";
|
|
47
48
|
facts: "facts";
|
|
48
49
|
chips: "chips";
|
|
49
50
|
numeral: "numeral";
|
|
@@ -53,7 +54,6 @@ export declare const eventDetailsLookSchemaShape: {
|
|
|
53
54
|
photo: "photo";
|
|
54
55
|
outcome: "outcome";
|
|
55
56
|
sticker: "sticker";
|
|
56
|
-
list: "list";
|
|
57
57
|
frame: "frame";
|
|
58
58
|
"schedule-section": "schedule-section";
|
|
59
59
|
"shop-section": "shop-section";
|
|
@@ -118,13 +118,14 @@ export declare const eventDetailsLookSchemaShape: {
|
|
|
118
118
|
items: "items";
|
|
119
119
|
item: "item";
|
|
120
120
|
places: "places";
|
|
121
|
+
list: "list";
|
|
122
|
+
grid: "grid";
|
|
121
123
|
background: "background";
|
|
122
|
-
eyebrow: "eyebrow";
|
|
123
124
|
mark: "mark";
|
|
124
|
-
|
|
125
|
+
eyebrow: "eyebrow";
|
|
125
126
|
icon: "icon";
|
|
127
|
+
controls: "controls";
|
|
126
128
|
copy: "copy";
|
|
127
|
-
grid: "grid";
|
|
128
129
|
facts: "facts";
|
|
129
130
|
chips: "chips";
|
|
130
131
|
numeral: "numeral";
|
|
@@ -134,7 +135,6 @@ export declare const eventDetailsLookSchemaShape: {
|
|
|
134
135
|
photo: "photo";
|
|
135
136
|
outcome: "outcome";
|
|
136
137
|
sticker: "sticker";
|
|
137
|
-
list: "list";
|
|
138
138
|
frame: "frame";
|
|
139
139
|
"schedule-section": "schedule-section";
|
|
140
140
|
"shop-section": "shop-section";
|
|
@@ -176,9 +176,9 @@ export declare const eventDetailsLookSchemaShape: {
|
|
|
176
176
|
}>>>;
|
|
177
177
|
itemSurfaces: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodCustom<import("../../../../../../theme-core/src/site-styles/index").ResolvedSurface, import("../../../../../../theme-core/src/site-styles/index").ResolvedSurface>>>;
|
|
178
178
|
actionSize: z.ZodOptional<z.ZodEnum<{
|
|
179
|
+
sm: "sm";
|
|
179
180
|
md: "md";
|
|
180
181
|
lg: "lg";
|
|
181
|
-
sm: "sm";
|
|
182
182
|
}>>;
|
|
183
183
|
panelHeading: z.ZodOptional<z.ZodString>;
|
|
184
184
|
};
|
|
@@ -87,8 +87,8 @@ export declare function resolveEventDetailsPresentation(input: EventDetailsPrese
|
|
|
87
87
|
selection: import("./logic").EventDetailsSelection;
|
|
88
88
|
arrangement: "event-header" | "details-panel" | undefined;
|
|
89
89
|
entryTitle: string | null | undefined;
|
|
90
|
-
actionSize: "
|
|
91
|
-
lookSlots: Readonly<Partial<Record<"day" | "availability" | "month" | "weekday" | "date" | "time" | "layout" | "group" | "contact" | "stack" | "inline" | "heading" | "intro" | "section" | "navigation" | "head" | "social" | "panel" | "base" | "row" | "media" | "caption" | "items" | "item" | "places" | "
|
|
90
|
+
actionSize: "sm" | "md" | "lg" | undefined;
|
|
91
|
+
lookSlots: Readonly<Partial<Record<"day" | "availability" | "month" | "weekday" | "date" | "time" | "layout" | "group" | "contact" | "stack" | "inline" | "heading" | "intro" | "section" | "navigation" | "head" | "social" | "panel" | "base" | "row" | "media" | "caption" | "items" | "item" | "places" | "list" | "grid" | "background" | "mark" | "eyebrow" | "icon" | "controls" | "copy" | "facts" | "chips" | "numeral" | "schedule" | "dates" | "action" | "photo" | "outcome" | "sticker" | "frame" | "schedule-section" | "shop-section" | "headline" | "lede" | "actions" | "gallery" | "fact-label" | "fact-value" | "chip" | "figure" | "figure-value" | "figure-label" | "date-places" | "lead" | "item-media" | "item-body" | "item-title" | "item-text" | "item-actions" | "row-continued" | "group-label" | "group-day" | "group-date" | "date-label" | "price" | "time-start" | "time-length" | "what" | "item-meta" | "places-low" | "places-full" | "panel-heading" | "more" | "quote" | "attribution" | "control" | "counter", string>>> | undefined;
|
|
92
92
|
itemSurfaces: Readonly<Record<string, import("../../../../../../theme-core/src/site-styles/index").ResolvedSurface>> | undefined;
|
|
93
93
|
panelHeading: string | undefined;
|
|
94
94
|
};
|
package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationWizard.d.ts
CHANGED
|
@@ -523,7 +523,7 @@ export declare function useEventRegistrationWizard(options: UseEventRegistration
|
|
|
523
523
|
handleEventChoose: (value: Parameters<(event: RegistrationEvent) => void>[0]) => void;
|
|
524
524
|
handleRetry: () => void;
|
|
525
525
|
} | {
|
|
526
|
-
step: "error" | "
|
|
526
|
+
step: "error" | "payment" | "submitting" | "select-event" | "select-tickets" | "enter-details" | "select-payment" | "verifying-payment" | "verifying-timeout" | "payment-status" | "payment-failed";
|
|
527
527
|
registrationResult: null;
|
|
528
528
|
api: import("../../api").BoundBlockApiClient;
|
|
529
529
|
nowIso: string;
|
|
@@ -1486,7 +1486,7 @@ export declare function useEventRegistrationWizardWithDeps(options: UseEventRegi
|
|
|
1486
1486
|
handleEventChoose: (value: Parameters<(event: RegistrationEvent) => void>[0]) => void;
|
|
1487
1487
|
handleRetry: () => void;
|
|
1488
1488
|
} | {
|
|
1489
|
-
step: "error" | "
|
|
1489
|
+
step: "error" | "payment" | "submitting" | "select-event" | "select-tickets" | "enter-details" | "select-payment" | "verifying-payment" | "verifying-timeout" | "payment-status" | "payment-failed";
|
|
1490
1490
|
registrationResult: null;
|
|
1491
1491
|
api: import("../../api").BoundBlockApiClient;
|
|
1492
1492
|
nowIso: string;
|