@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
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
export type { EventRegistrationOptionsRequest, EventRegistrationOptionsResponse, EventRegistrationAvailablePaymentOption, EventRegistrationOptionLine, EventRegistrationPricingOption, EventRegistrationOwnedMembership, EventRegistrationOwnedPass, EventRegistrationPassProduct, EventRegistrationMembershipProduct } from '../../contracts/event-registration';
|
|
2
2
|
import type { SystemBlockDefinition } from '../registry';
|
|
3
3
|
import type { SectionStylesContent } from '../fields/boxStyles';
|
|
4
4
|
import { type PublicEvent } from './events/shared';
|
|
5
5
|
import { eventRegistrationBlockRuntime } from '../runtime/nodes/event-registration.interactive';
|
|
6
6
|
import type { BlockButtonRole } from '../constants/buttonRoles';
|
|
7
|
-
import type { BlockBookingPaymentTerms } from './shared/bookingPaymentTerms';
|
|
8
7
|
/**
|
|
9
8
|
* Event Registration Block
|
|
10
9
|
*
|
|
@@ -118,145 +117,6 @@ export type EventRegistrationContent = {
|
|
|
118
117
|
buttonVariant?: BlockButtonRole | null;
|
|
119
118
|
_sectionStyles?: SectionStylesContent;
|
|
120
119
|
};
|
|
121
|
-
export type EventRegistrationOptionsRequest = Readonly<{
|
|
122
|
-
subject: Readonly<{
|
|
123
|
-
kind: 'occurrence';
|
|
124
|
-
occurrenceId: string;
|
|
125
|
-
attendanceMode?: 'in_person' | 'online';
|
|
126
|
-
}> | Readonly<{
|
|
127
|
-
kind: 'wholeSeries';
|
|
128
|
-
eventSeriesId: string;
|
|
129
|
-
attendanceMode?: 'in_person' | 'online';
|
|
130
|
-
}>;
|
|
131
|
-
selections: readonly Readonly<{
|
|
132
|
-
pricingOptionId: string | null;
|
|
133
|
-
quantity: number;
|
|
134
|
-
}>[];
|
|
135
|
-
selectedSlidingAmount?: number;
|
|
136
|
-
}>;
|
|
137
|
-
export type EventRegistrationOptionsResponse = Readonly<{
|
|
138
|
-
subject: Readonly<{
|
|
139
|
-
kind: 'occurrence';
|
|
140
|
-
occurrenceId: string;
|
|
141
|
-
}> | Readonly<{
|
|
142
|
-
kind: 'wholeSeries';
|
|
143
|
-
eventSeriesId: string;
|
|
144
|
-
}>;
|
|
145
|
-
availability: Readonly<{
|
|
146
|
-
kind: 'available';
|
|
147
|
-
remainingPlaces: number | null;
|
|
148
|
-
waitlistEnabled: boolean;
|
|
149
|
-
}> | Readonly<{
|
|
150
|
-
kind: 'waitlist';
|
|
151
|
-
remainingPlaces: 0;
|
|
152
|
-
waitlistEnabled: true;
|
|
153
|
-
}> | Readonly<{
|
|
154
|
-
kind: 'unavailable';
|
|
155
|
-
reason: 'full' | 'bookingClosed' | 'paymentUnavailable' | 'selectionRequired';
|
|
156
|
-
remainingPlaces: number | null;
|
|
157
|
-
waitlistEnabled: boolean;
|
|
158
|
-
}>;
|
|
159
|
-
registration: Readonly<{
|
|
160
|
-
kind: 'none';
|
|
161
|
-
}> | Readonly<{
|
|
162
|
-
kind: 'booked';
|
|
163
|
-
}> | Readonly<{
|
|
164
|
-
kind: 'pending_payment';
|
|
165
|
-
}> | Readonly<{
|
|
166
|
-
kind: 'waitlisted';
|
|
167
|
-
}>;
|
|
168
|
-
pricing: Readonly<{
|
|
169
|
-
strategy: import('../../../../core/src/index').EventPricingStrategy;
|
|
170
|
-
currency: string;
|
|
171
|
-
subtotalCents: number;
|
|
172
|
-
paymentTerms: BlockBookingPaymentTerms;
|
|
173
|
-
lines: readonly EventRegistrationOptionLine[];
|
|
174
|
-
options: readonly EventRegistrationPricingOption[];
|
|
175
|
-
}>;
|
|
176
|
-
paymentOptions: readonly EventRegistrationAvailablePaymentOption[];
|
|
177
|
-
customer: Readonly<{
|
|
178
|
-
kind: 'anonymous';
|
|
179
|
-
credit: null;
|
|
180
|
-
}> | Readonly<{
|
|
181
|
-
kind: 'authenticated';
|
|
182
|
-
credit: Readonly<{
|
|
183
|
-
availableCents: number;
|
|
184
|
-
currency: string;
|
|
185
|
-
}> | null;
|
|
186
|
-
}>;
|
|
187
|
-
entitlements: Readonly<{
|
|
188
|
-
requiresLoginForMemberships: boolean;
|
|
189
|
-
requiresLoginForPasses: boolean;
|
|
190
|
-
memberships: readonly EventRegistrationOwnedMembership[];
|
|
191
|
-
passes: readonly EventRegistrationOwnedPass[];
|
|
192
|
-
availableForPurchase: Readonly<{
|
|
193
|
-
passes: readonly EventRegistrationPassProduct[];
|
|
194
|
-
memberships: readonly EventRegistrationMembershipProduct[];
|
|
195
|
-
}>;
|
|
196
|
-
}>;
|
|
197
|
-
}>;
|
|
198
|
-
export type EventRegistrationAvailablePaymentOption = Readonly<{
|
|
199
|
-
kind: 'free';
|
|
200
|
-
}> | Readonly<{
|
|
201
|
-
kind: 'payInFull' | 'deferredManual' | 'instalmentPlan' | 'flexibleBalance';
|
|
202
|
-
amountCents: number;
|
|
203
|
-
currency: string;
|
|
204
|
-
}> | Readonly<{
|
|
205
|
-
kind: 'ownedMembership';
|
|
206
|
-
membershipId: string;
|
|
207
|
-
}> | Readonly<{
|
|
208
|
-
kind: 'ownedPass';
|
|
209
|
-
passId: string;
|
|
210
|
-
}> | Readonly<{
|
|
211
|
-
kind: 'buyMembership' | 'buyPass';
|
|
212
|
-
productId: string;
|
|
213
|
-
}>;
|
|
214
|
-
export type EventRegistrationOptionLine = Readonly<{
|
|
215
|
-
pricingOptionId: string | null;
|
|
216
|
-
label: string;
|
|
217
|
-
description: string | null;
|
|
218
|
-
quantity: number;
|
|
219
|
-
unitPriceCents: number;
|
|
220
|
-
subtotalCents: number;
|
|
221
|
-
}>;
|
|
222
|
-
/**
|
|
223
|
-
* A pricing option as the registration-options response reports it.
|
|
224
|
-
*
|
|
225
|
-
* It answers to `pricingOptionId` because that is the name the rest of the
|
|
226
|
-
* registration contract uses for this identity — ticket lines, submissions and
|
|
227
|
-
* order items all refer to a pricing option that way — while `id` stays for the
|
|
228
|
-
* row itself.
|
|
229
|
-
*/
|
|
230
|
-
export type EventRegistrationPricingOption = Omit<PublicEventPricingOption, 'id'> & Readonly<{
|
|
231
|
-
pricingOptionId: string;
|
|
232
|
-
}>;
|
|
233
|
-
export type EventRegistrationOwnedMembership = Readonly<{
|
|
234
|
-
customerMembershipId: string;
|
|
235
|
-
membershipName: string;
|
|
236
|
-
}>;
|
|
237
|
-
export type EventRegistrationOwnedPass = Readonly<{
|
|
238
|
-
customerPassId: string;
|
|
239
|
-
passName: string;
|
|
240
|
-
creditsRemaining: number;
|
|
241
|
-
}>;
|
|
242
|
-
export type EventRegistrationPassProduct = Readonly<{
|
|
243
|
-
id: string;
|
|
244
|
-
name: string;
|
|
245
|
-
description: string | null;
|
|
246
|
-
price: number;
|
|
247
|
-
currency: string;
|
|
248
|
-
creditsTotal: number;
|
|
249
|
-
pricePerCredit: number;
|
|
250
|
-
validDays: number | null;
|
|
251
|
-
}>;
|
|
252
|
-
export type EventRegistrationMembershipProduct = Readonly<{
|
|
253
|
-
id: string;
|
|
254
|
-
name: string;
|
|
255
|
-
description: string | null;
|
|
256
|
-
price: number;
|
|
257
|
-
currency: string;
|
|
258
|
-
interval: 'month' | 'year';
|
|
259
|
-
}>;
|
|
260
120
|
export type { PublicEvent };
|
|
261
121
|
export type { OccurrenceContext } from './event-registration.shared';
|
|
262
122
|
export declare const eventRegistrationBlockDefinition: SystemBlockDefinition<EventRegistrationContent, typeof eventRegistrationBlockRuntime>;
|
|
@@ -25,14 +25,14 @@ export declare const eventSelectionFields: {
|
|
|
25
25
|
max: number;
|
|
26
26
|
} | undefined;
|
|
27
27
|
showSlugPreview?: boolean | undefined;
|
|
28
|
-
variant?: "full" | "inline" | "media" | "
|
|
29
|
-
richTextVariant?: "full" | "inline" | "media" | "
|
|
28
|
+
variant?: "full" | "inline" | "media" | "notes" | "limited" | undefined;
|
|
29
|
+
richTextVariant?: "full" | "inline" | "media" | "notes" | "limited" | undefined;
|
|
30
30
|
cropEditorMode?: "inline" | "dialog" | undefined;
|
|
31
31
|
cropEditorAutoOpen?: boolean | undefined;
|
|
32
32
|
mediaPickerAutoOpen?: boolean | undefined;
|
|
33
33
|
showMediaPreview?: boolean | undefined;
|
|
34
34
|
showMediaOverlayActions?: boolean | undefined;
|
|
35
|
-
mediaPreviewMaxWidth?: "none" | "
|
|
35
|
+
mediaPreviewMaxWidth?: "none" | "sm" | "md" | "xs" | undefined;
|
|
36
36
|
preventMediaPreviewUpscale?: boolean | undefined;
|
|
37
37
|
mediaDelivery?: {
|
|
38
38
|
sizes?: string | undefined;
|
|
@@ -46,14 +46,14 @@ export declare const locationMapManifest: import("..").DefinedBlockManifest<{
|
|
|
46
46
|
max: number;
|
|
47
47
|
} | undefined;
|
|
48
48
|
showSlugPreview?: boolean | undefined;
|
|
49
|
-
variant?: "full" | "inline" | "media" | "
|
|
50
|
-
richTextVariant?: "full" | "inline" | "media" | "
|
|
49
|
+
variant?: "full" | "inline" | "media" | "notes" | "limited" | undefined;
|
|
50
|
+
richTextVariant?: "full" | "inline" | "media" | "notes" | "limited" | undefined;
|
|
51
51
|
cropEditorMode?: "inline" | "dialog" | undefined;
|
|
52
52
|
cropEditorAutoOpen?: boolean | undefined;
|
|
53
53
|
mediaPickerAutoOpen?: boolean | undefined;
|
|
54
54
|
showMediaPreview?: boolean | undefined;
|
|
55
55
|
showMediaOverlayActions?: boolean | undefined;
|
|
56
|
-
mediaPreviewMaxWidth?: "none" | "
|
|
56
|
+
mediaPreviewMaxWidth?: "none" | "sm" | "md" | "xs" | undefined;
|
|
57
57
|
preventMediaPreviewUpscale?: boolean | undefined;
|
|
58
58
|
mediaDelivery?: {
|
|
59
59
|
sizes?: string | undefined;
|