@riverbankcms/sdk 0.123.0 → 0.124.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -9
- package/dist/{PreviewEditorSidebar-DvJFmC29.mjs → PreviewEditorSidebar-DBmAJJkQ.mjs} +22 -39
- package/dist/{PreviewEditorUI-DVHP4bCo.mjs → PreviewEditorUI-CfGaz9cY.mjs} +3 -3
- package/dist/{PreviewQueryProvider-07EE4uWL.mjs → PreviewQueryProvider-BH-3-jSj.mjs} +1 -1
- package/dist/{SdkPreviewModeRuntime-BE5eFayo.mjs → SdkPreviewModeRuntime-BW9Z8j8T.mjs} +1020 -1234
- package/dist/{SiteChromeCustomizeContext-4hn4A0HX.mjs → SiteChromeCustomizeContext-2z8moxYf.mjs} +1900 -1959
- package/dist/_dts/ai/src/contracts/proposals.d.ts +1236 -4152
- package/dist/_dts/api/src/appointmentEndpointDefinitions.d.ts +435 -0
- package/dist/_dts/api/src/bookingClosures.d.ts +3 -3
- package/dist/_dts/api/src/bookingConfig.d.ts +72 -73
- package/dist/_dts/api/src/bookingManagementEndpoints.d.ts +26 -35
- package/dist/_dts/api/src/bookingRecords.d.ts +4 -15
- package/dist/_dts/api/src/bookingVerticalCatalog.d.ts +746 -0
- package/dist/_dts/api/src/bookingVerticalPreset.d.ts +38 -0
- package/dist/_dts/api/src/bookingVerticals.d.ts +11 -652
- package/dist/_dts/api/src/bookings.d.ts +11 -9
- package/dist/_dts/api/src/cache-tags.d.ts +2 -2
- package/dist/_dts/api/src/commercePortalEndpoints.d.ts +10 -10
- package/dist/_dts/api/src/common/envelope.d.ts +2 -0
- package/dist/_dts/api/src/contentRuntime.d.ts +0 -17
- package/dist/_dts/api/src/courseEndpointDefinitions.d.ts +99 -0
- package/dist/_dts/api/src/courses.d.ts +22 -33
- package/dist/_dts/api/src/defineEndpointDefinitions.d.ts +14 -0
- package/dist/_dts/api/src/demoMutationPolicies.d.ts +4 -0
- package/dist/_dts/api/src/endpoints.d.ts +3740 -3733
- package/dist/_dts/api/src/event-destination-policy.d.ts +1 -1
- package/dist/_dts/api/src/event-presentation.d.ts +4 -9
- package/dist/_dts/api/src/index.d.ts +9 -11
- package/dist/_dts/api/src/newsletterEndpointDefinitions.d.ts +376 -0
- package/dist/_dts/api/src/participantMessaging.d.ts +2 -2
- package/dist/_dts/api/src/public/endpoints.d.ts +1 -1
- package/dist/_dts/api/src/publicExperience/commerceEndpoints.d.ts +272 -0
- package/dist/_dts/api/src/publicExperience/eventEndpoints.d.ts +274 -0
- package/dist/_dts/api/src/publicExperience/newsletterEndpoints.d.ts +31 -0
- package/dist/_dts/api/src/publicExperience/sharedTypes.d.ts +152 -0
- package/dist/_dts/api/src/publicExperience/siteEndpoints.d.ts +95 -0
- package/dist/_dts/api/src/publicExperience/wholeSeriesEndpoints.d.ts +154 -0
- package/dist/_dts/api/src/publicExperienceEndpoints.d.ts +10 -962
- package/dist/_dts/api/src/publicWholeSeriesEndpointDefinitions.d.ts +52 -0
- package/dist/_dts/api/src/sdkContracts.d.ts +0 -51
- package/dist/_dts/api/src/sdkEntryReadEndpoints.d.ts +23 -0
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +1 -38
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +3 -4
- package/dist/_dts/blocks/src/PageRenderer.d.ts +4 -15
- package/dist/_dts/blocks/src/contracts/index.d.ts +1 -1
- package/dist/_dts/blocks/src/contracts/non-block-islands.d.ts +0 -16
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +6 -222
- package/dist/_dts/blocks/src/portal/types.d.ts +3 -3
- package/dist/_dts/blocks/src/subroutes/fold.d.ts +1 -14
- package/dist/_dts/blocks/src/subroutes/index.d.ts +1 -1
- package/dist/_dts/blocks/src/subroutes/kinds.d.ts +3 -3
- package/dist/_dts/blocks/src/system/blocks/course-details.d.ts +0 -11
- package/dist/_dts/blocks/src/system/blocks/course-registration.d.ts +3 -4
- package/dist/_dts/blocks/src/system/blocks/courses/shared/pricing.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/courses/shared/schemas.d.ts +401 -12
- package/dist/_dts/blocks/src/system/blocks/courses/shared/types.d.ts +9 -10
- package/dist/_dts/blocks/src/system/blocks/events/event-calendar.d.ts +14 -13
- package/dist/_dts/blocks/src/system/blocks/events/event-listing.d.ts +1 -2
- package/dist/_dts/blocks/src/system/blocks/events/shared/filtering.d.ts +1 -4
- package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +19 -18
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +9 -11
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/model.d.ts +2 -2
- package/dist/_dts/blocks/src/system/data/loaderEndpoints.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/api/client.d.ts +10 -10
- package/dist/_dts/blocks/src/system/runtime/api/endpoints.d.ts +10 -10
- package/dist/_dts/blocks/src/system/runtime/api/index.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/api/types/appointments.d.ts +162 -0
- package/dist/_dts/blocks/src/system/runtime/api/types/core.d.ts +59 -0
- package/dist/_dts/blocks/src/system/runtime/api/types/courses.d.ts +134 -0
- package/dist/_dts/blocks/src/system/runtime/api/types/discounts.d.ts +85 -0
- package/dist/_dts/blocks/src/system/runtime/api/types/events.d.ts +241 -0
- package/dist/_dts/blocks/src/system/runtime/api/types/forms.d.ts +53 -0
- package/dist/_dts/blocks/src/system/runtime/api/types/newsletter.d.ts +32 -0
- package/dist/_dts/blocks/src/system/runtime/api/types/portal.d.ts +220 -0
- package/dist/_dts/blocks/src/system/runtime/api/types/shop.d.ts +176 -0
- package/dist/_dts/blocks/src/system/runtime/api/types.d.ts +12 -1121
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +19 -583
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +9 -276
- package/dist/_dts/blocks/src/system/runtime/hooks/useEventFilters.d.ts +1 -12
- package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessEventRegistrationFlow.d.ts +0 -1
- package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessWholeSeriesRegistrationFlow.d.ts +0 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-runtime-sources.d.ts +2 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/course-details/logic.d.ts +1 -18
- package/dist/_dts/blocks/src/system/runtime/nodes/course-details/runs.d.ts +0 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/course-details.server.d.ts +1 -5
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/courseRegistrationViewState.d.ts +21 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/index.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/pricing.d.ts +14 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/types.d.ts +0 -25
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/useCourseEligibility.d.ts +24 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/useCoursePaymentVerification.d.ts +9 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/useCourseRegistrationActions.d.ts +35 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/useCourseRegistrationPortal.d.ts +7 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/useCourseRegistrationSelection.d.ts +31 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/useCourseRegistrationWizard.d.ts +80 -55
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/useCourseWaitlistSelection.d.ts +14 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/whole-series-registration.headless.contract.d.ts +4 -5
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration.interactive.d.ts +0 -38
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details.client.d.ts +1 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details.server.d.ts +0 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationWizardActions.d.ts +12 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/event-registration.headless.contract.d.ts +0 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/eventScope.d.ts +0 -9
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/types.d.ts +0 -5
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationWizard.d.ts +0 -11
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/utils.d.ts +13 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.interactive.d.ts +0 -21
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCalendar.interactive.d.ts +24 -433
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCombined.client.d.ts +1 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCombined.interactive.d.ts +52 -266
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventListing.interactive.d.ts +5 -15
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventFilters.d.ts +0 -8
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCollectionContract.d.ts +1573 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/listOptions.d.ts +1 -3
- package/dist/_dts/content-editor/src/ui/editorSnapshot.d.ts +2 -3
- package/dist/_dts/content-editor/src/ui/editorUiStore.d.ts +2 -2
- package/dist/_dts/content-model/src/content-types/builtin-schemas.d.ts +0 -5
- package/dist/_dts/content-model/src/content-types/builtins.d.ts +0 -5
- package/dist/_dts/content-model/src/templates/defaults.d.ts +6 -3
- package/dist/_dts/core/src/editor-state.d.ts +1 -13
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +1580 -120
- package/dist/_dts/preview-next/src/client/preview/siteChromeBrandPreferences.d.ts +6 -6
- package/dist/_dts/preview-next/src/client/preview/siteChromeSavePlan.d.ts +6 -1
- package/dist/_dts/preview-next/src/client/preview/siteStylePreviewPlanner.d.ts +27 -4
- package/dist/_dts/sdk/src/cli/commands/audit.d.ts +1 -2
- package/dist/_dts/sdk/src/cli/commands/pull-dated-offering-scope.d.ts +1 -1
- package/dist/_dts/sdk/src/cli/commands/pull-dry-run.d.ts +4 -6
- package/dist/_dts/sdk/src/cli/commands/push/consts.d.ts +1 -1
- package/dist/_dts/sdk/src/cli/commands/push/options.d.ts +1 -1
- package/dist/_dts/sdk/src/cli/commands/push/pushAllExtras.d.ts +0 -1
- package/dist/_dts/sdk/src/cli/commands/push/verification.d.ts +1 -1
- package/dist/_dts/sdk/src/cli/content/collectionWriters.d.ts +23 -0
- package/dist/_dts/sdk/src/cli/content/metadataAfterPush.d.ts +25 -0
- package/dist/_dts/sdk/src/cli/content/reader.d.ts +0 -52
- package/dist/_dts/sdk/src/cli/content/writer.d.ts +3 -81
- package/dist/_dts/sdk/src/cli/site-commands/datedOfferingCommands.d.ts +6 -9
- package/dist/_dts/sdk/src/client/contentReadOperations.d.ts +40 -0
- package/dist/_dts/sdk/src/client/management/index.d.ts +1 -3
- package/dist/_dts/sdk/src/client/management/types.d.ts +3 -91
- package/dist/_dts/sdk/src/client/runtimeCacheKeys.d.ts +72 -0
- package/dist/_dts/sdk/src/client/runtimeCachePolicy.d.ts +10 -75
- package/dist/_dts/sdk/src/client/types.d.ts +7 -33
- package/dist/_dts/sdk/src/components.d.ts +1 -1
- package/dist/_dts/sdk/src/config/types.d.ts +1 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +3 -6
- package/dist/_dts/sdk/src/contracts/index.d.ts +1 -1
- package/dist/_dts/sdk/src/contracts/page.d.ts +0 -8
- package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +1 -34
- package/dist/_dts/sdk/src/data/prefetchBlockData.d.ts +4 -3
- package/dist/_dts/sdk/src/next/catch-all-utils.d.ts +0 -11
- package/dist/_dts/sdk/src/next/catch-all.d.ts +1 -76
- package/dist/_dts/sdk/src/next/types.d.ts +0 -19
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +7 -207
- package/dist/_dts/sdk/src/public-api/runtime.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/blocks-page-renderer.d.ts +2 -1
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/helpers/loadContent.d.ts +0 -7
- package/dist/_dts/sdk/src/rendering/helpers/templateContent.d.ts +81 -0
- package/dist/_dts/sdk/src/rendering/index.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/islands/types.d.ts +1 -51
- package/dist/_dts/sdk/src/rendering/overrides.d.ts +2 -1
- package/dist/_dts/sdk/src/routing/entrySubroutes.d.ts +6 -6
- package/dist/_dts/sdk/src/routing/index.d.ts +0 -2
- package/dist/_dts/sdk/src/routing/resolveOccurrence.d.ts +3 -3
- package/dist/_dts/sdk/src/routing/resolvePageContent.d.ts +10 -39
- package/dist/_dts/sdk/src/types/block-kinds.d.ts +1 -1
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/site-commands/src/adapter.d.ts +1 -1
- package/dist/_dts/site-commands/src/appointmentCommandSchemas.d.ts +100 -0
- package/dist/_dts/site-commands/src/capabilityGaps.d.ts +2 -2
- package/dist/_dts/site-commands/src/commandContract.d.ts +1242 -0
- package/dist/_dts/site-commands/src/commandDomain.d.ts +20 -0
- package/dist/_dts/site-commands/src/commandIdentifiers.d.ts +7 -0
- package/dist/_dts/site-commands/src/commandValidation.d.ts +10 -0
- package/dist/_dts/site-commands/src/commands.d.ts +729 -2659
- package/dist/_dts/site-commands/src/domain.d.ts +1 -1
- package/dist/_dts/site-commands/src/eventCommandContent.d.ts +11 -0
- package/dist/_dts/site-commands/src/exposure.d.ts +1 -1
- package/dist/_dts/site-commands/src/index.d.ts +6 -0
- package/dist/_dts/site-commands/src/metadata.d.ts +1 -27
- package/dist/_dts/site-commands/src/planner.d.ts +1 -1
- package/dist/_dts/site-commands/src/refContributions.d.ts +1 -1
- package/dist/_dts/site-commands/src/refs.d.ts +1 -4
- package/dist/_dts/site-commands/src/siteStyleCommandSchema.d.ts +378 -0
- package/dist/_dts/site-commands/src/siteStyleSelectionSchemaBuilder.d.ts +46 -0
- package/dist/_dts/site-commands/src/staticExecutionGaps.d.ts +2 -2
- package/dist/_dts/site-commands/src/venueCommandMapping.d.ts +21 -0
- package/dist/_dts/theme-core/src/site-styles/compilationPlan.d.ts +58 -0
- package/dist/_dts/theme-core/src/site-styles/headerLooks.d.ts +1 -0
- package/dist/_dts/theme-core/src/site-styles/index.d.ts +1 -0
- package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +47 -24
- package/dist/cli/index.mjs +7250 -8478
- package/dist/cli/init-docs/content/cli-reference.md +5 -21
- package/dist/cli/init-docs/content/content-management.md +4 -5
- package/dist/client/{DiscountCodeDisclosure-DIWj-P9v.mjs → DiscountCodeDisclosure-DxvjKvck.mjs} +2 -2
- package/dist/client/{EventCombined.client-De8YWBSr.mjs → EventCombined.client-BydMGc4c.mjs} +5 -16
- package/dist/client/{EventListing.client-seHTjimY.mjs → EventListing.client-vpzhhysN.mjs} +3 -10
- package/dist/client/{LeafletStaticMap-BmQxFcJW.mjs → LeafletStaticMap-CB07rpf8.mjs} +1 -1
- package/dist/client/{MagicLinkForm-OoJAIUIj.mjs → MagicLinkForm-BzyRJ8VF.mjs} +2 -2
- package/dist/client/{StepIndicator-CiZ8kdPk.mjs → StepIndicator-CTcGf8Be.mjs} +2 -2
- package/dist/client/{accordion-6lnN__XJ.mjs → accordion-B-DUDLRD.mjs} +1 -1
- package/dist/client/{bookingForm-5uyqhONU.mjs → bookingForm-DSbClLcZ.mjs} +6 -6
- package/dist/client/bookings.mjs +753 -818
- package/dist/client/{carousel-Dtnifil_.mjs → carousel-B6Ccdx8M.mjs} +1 -1
- package/dist/client/{cart-5Tc5S7NV.mjs → cart-BZh8G8wM.mjs} +3 -3
- package/dist/client/{checkout-CYKKN5Hr.mjs → checkout-o6zaC-kM.mjs} +3 -3
- package/dist/client/client.mjs +6859 -7149
- package/dist/client/{context-BGZNlGXB.mjs → context-CJz1Vlsz.mjs} +40 -43
- package/dist/client/{courseRegistration-CxCBybB4.mjs → courseRegistration-Cf11pNDs.mjs} +606 -621
- package/dist/client/{eventCalendar-Xj2jZS9X.mjs → eventCalendar-BeXrdsSE.mjs} +5 -13
- package/dist/client/{eventCombined-CgcMoOgM.mjs → eventCombined-DA76PZgG.mjs} +3 -3
- package/dist/client/{eventDetails-CEAH8Edc.mjs → eventDetails-BLxg0rok.mjs} +140 -116
- package/dist/client/{eventListing-qyPVQ0wP.mjs → eventListing-tO9LheBX.mjs} +3 -3
- package/dist/client/{eventRegistration-DDu79CtL.mjs → eventRegistration-Cnene9D9.mjs} +165 -68
- package/dist/client/{form-Bc7JKI7I.mjs → form-DZf72CHB.mjs} +2 -2
- package/dist/client/{headerSection-vTku_LEl.mjs → headerSection-Hioja5Cr.mjs} +2 -2
- package/dist/client/hooks.mjs +3452 -2365
- package/dist/client/{locationMap-Bg7X4Jna.mjs → locationMap-DwhUXEix.mjs} +2 -2
- package/dist/client/{newsletterForm-lpylVdp5.mjs → newsletterForm-C350bEQf.mjs} +2 -2
- package/dist/client/{pricing-DE8fjJiT.mjs → pricing-BYWN_ATa.mjs} +3 -19
- package/dist/client/{productDetail-D7Bo2RMH.mjs → productDetail-CCqCyXgU.mjs} +3 -3
- package/dist/client/{productList-VjnZqiqN.mjs → productList-BAiNJrOU.mjs} +3 -3
- package/dist/client/{propsDecoder-DreFXjNP.mjs → propsDecoder-DeunRj6m.mjs} +210 -378
- package/dist/client/rendering/client.mjs +2541 -2813
- package/dist/client/rendering/islands.mjs +18 -18
- package/dist/client/rendering.mjs +5622 -4734
- package/dist/client/{shop-IRsHHbf7.mjs → shop-DUmCdBtw.mjs} +6 -6
- package/dist/client/{shop-commerce-gnI8PieZ.mjs → shop-commerce-CY27mEUr.mjs} +5 -5
- package/dist/client/{shop-commerce-store-BTbrhObn.mjs → shop-commerce-store-ChXPbWfa.mjs} +1 -1
- package/dist/client/{shopShared-D6KS2_qk.mjs → shopShared-q0kin1cv.mjs} +3 -3
- package/dist/client/{useDiscountCodeUi-DCccGCxV.mjs → useDiscountCodeUi-I-92-x2V.mjs} +2 -2
- package/dist/client/{useEventFilters-eGs3rPZQ.mjs → useEventFilters-DlcVluZh.mjs} +59 -124
- package/dist/client/{usePolling-CvSU2sur.mjs → usePolling-Bz7GFV_a.mjs} +2 -2
- package/dist/preview-next/before-render.mjs +1115 -1044
- package/dist/preview-next/client/runtime.mjs +4 -4
- package/dist/preview-next/middleware.mjs +1118 -1047
- package/dist/{previewAuthStore-ShY26RNz.mjs → previewAuthStore-CJX21dGi.mjs} +1121 -1047
- package/dist/{sdk-runtime-CJxkFq2B.mjs → sdk-runtime-OnPM8Z69.mjs} +2 -2
- package/dist/{separator-CoFmo8uA.mjs → separator-CPtfzHqA.mjs} +1 -1
- package/dist/server/components.mjs +4560 -3672
- package/dist/server/config-validation.mjs +3454 -2356
- package/dist/server/config.mjs +3454 -2356
- package/dist/server/data.mjs +3452 -2367
- package/dist/server/index.mjs +1501 -1491
- package/dist/server/next.mjs +7524 -8067
- package/dist/server/page-converter.mjs +1898 -2040
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +4258 -3373
- package/dist/server/rendering.mjs +6228 -5393
- package/dist/server/routing.mjs +3614 -2509
- package/dist/server/server.mjs +3298 -3479
- package/package.json +1 -1
- package/dist/_dts/api/src/previewContentContract.d.ts +0 -4
- package/dist/_dts/sdk/src/cli/commands/course.d.ts +0 -6
- package/dist/_dts/sdk/src/cli/commands/push/scopes/courses.d.ts +0 -4
- package/dist/_dts/sdk/src/client/management/courses.d.ts +0 -10
- package/dist/_dts/sdk/src/routing/resolveEntrySubroute.d.ts +0 -36
|
@@ -0,0 +1,1573 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import type { ButtonVariant, CalendarTabViews, CalendarView, ColumnOption, EventLayout, EventScheduleScope, EventSurfaceScope, FilterAutoShow, PublicEvent, WeekStart } from "../../../../blocks/events/shared/types";
|
|
3
|
+
import { type EventListPaginationAction, type EventListPaginationMode, type EventPageSize } from "./listOptions";
|
|
4
|
+
import type { EventListingDisplay } from "../EventListing.interactive";
|
|
5
|
+
export type EventCollectionSourceProps = Readonly<{
|
|
6
|
+
events?: PublicEvent[] | null;
|
|
7
|
+
siteId: string;
|
|
8
|
+
apiBaseUrl?: string;
|
|
9
|
+
stage?: "preview" | "published";
|
|
10
|
+
listLayout?: EventLayout;
|
|
11
|
+
listColumns?: ColumnOption;
|
|
12
|
+
eventsPerPage?: string;
|
|
13
|
+
paginationMode?: EventListPaginationMode;
|
|
14
|
+
seeAllUrl?: string;
|
|
15
|
+
loadMoreText?: string;
|
|
16
|
+
startOfWeek?: WeekStart;
|
|
17
|
+
calendarTabViews?: CalendarTabViews;
|
|
18
|
+
defaultCalendarView?: CalendarView;
|
|
19
|
+
showFilters?: boolean | null;
|
|
20
|
+
showCategoryFilter?: FilterAutoShow;
|
|
21
|
+
showVenueFilter?: boolean | null;
|
|
22
|
+
showStaffFilter?: boolean | null;
|
|
23
|
+
eventSurface?: EventSurfaceScope | null;
|
|
24
|
+
filterEventPresets?: readonly string[] | string | null;
|
|
25
|
+
scheduleScope?: EventScheduleScope | null;
|
|
26
|
+
filterCategoryIds?: readonly string[] | string | null;
|
|
27
|
+
filterStaffMemberId?: string | null;
|
|
28
|
+
filterVenueId?: string | null;
|
|
29
|
+
showVenue?: boolean | null;
|
|
30
|
+
showMap?: boolean | null;
|
|
31
|
+
showCapacity?: boolean | null;
|
|
32
|
+
buttonVariant?: ButtonVariant;
|
|
33
|
+
buttonText?: string;
|
|
34
|
+
emptyMessage?: string;
|
|
35
|
+
className?: string;
|
|
36
|
+
}>;
|
|
37
|
+
export type EventCollectionDisplay = Readonly<{
|
|
38
|
+
events: readonly PublicEvent[];
|
|
39
|
+
listLayout: EventLayout;
|
|
40
|
+
listColumns: ColumnOption;
|
|
41
|
+
eventsPerPage: EventPageSize;
|
|
42
|
+
paginationAction: EventListPaginationAction;
|
|
43
|
+
startOfWeek: WeekStart;
|
|
44
|
+
calendarTabViews: CalendarTabViews;
|
|
45
|
+
defaultCalendarView: CalendarView;
|
|
46
|
+
showFilters: boolean;
|
|
47
|
+
showCategoryFilter: FilterAutoShow;
|
|
48
|
+
showVenueFilter: boolean;
|
|
49
|
+
showStaffFilter: boolean;
|
|
50
|
+
eventSurface: EventSurfaceScope;
|
|
51
|
+
filterEventPresets: string | null;
|
|
52
|
+
scheduleScope: EventScheduleScope;
|
|
53
|
+
filterCategoryIds: string | null;
|
|
54
|
+
filterStaffMemberId: string | null;
|
|
55
|
+
filterVenueId: string | null;
|
|
56
|
+
showVenue: boolean;
|
|
57
|
+
showMap: boolean;
|
|
58
|
+
showCapacity: boolean;
|
|
59
|
+
buttonVariant: ButtonVariant;
|
|
60
|
+
buttonText: string;
|
|
61
|
+
emptyMessage: string;
|
|
62
|
+
}>;
|
|
63
|
+
export type EventCollectionHydration = Readonly<{
|
|
64
|
+
siteId: string;
|
|
65
|
+
stage?: "preview" | "published";
|
|
66
|
+
prefetchedEvents: boolean;
|
|
67
|
+
eventSurface: EventSurfaceScope;
|
|
68
|
+
filterEventPresets: string | null;
|
|
69
|
+
scheduleScope: EventScheduleScope;
|
|
70
|
+
}>;
|
|
71
|
+
export declare const eventCollectionFilterSourceSchemaShape: {
|
|
72
|
+
readonly showFilters: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
73
|
+
readonly showCategoryFilter: z.ZodOptional<z.ZodEnum<{
|
|
74
|
+
auto: "auto";
|
|
75
|
+
never: "never";
|
|
76
|
+
always: "always";
|
|
77
|
+
}>>;
|
|
78
|
+
readonly showVenueFilter: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
79
|
+
readonly showStaffFilter: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
80
|
+
readonly eventSurface: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
81
|
+
custom: "custom";
|
|
82
|
+
all: "all";
|
|
83
|
+
regularClassSchedule: "regularClassSchedule";
|
|
84
|
+
specialDatedEvents: "specialDatedEvents";
|
|
85
|
+
}>>>;
|
|
86
|
+
readonly filterEventPresets: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>>;
|
|
87
|
+
readonly scheduleScope: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
88
|
+
any: "any";
|
|
89
|
+
recurring: "recurring";
|
|
90
|
+
oneOff: "oneOff";
|
|
91
|
+
}>>>;
|
|
92
|
+
readonly filterCategoryIds: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>>;
|
|
93
|
+
readonly filterStaffMemberId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
94
|
+
readonly filterVenueId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
95
|
+
};
|
|
96
|
+
export declare const eventCollectionSourceSchemaShape: {
|
|
97
|
+
readonly showVenue: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
98
|
+
readonly showMap: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
99
|
+
readonly showCapacity: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
100
|
+
readonly buttonVariant: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodEnum<{
|
|
101
|
+
outline: "outline";
|
|
102
|
+
accent: "accent";
|
|
103
|
+
primary: "primary";
|
|
104
|
+
secondary: "secondary";
|
|
105
|
+
ghost: "ghost";
|
|
106
|
+
}>>>;
|
|
107
|
+
readonly buttonText: z.ZodOptional<z.ZodString>;
|
|
108
|
+
readonly emptyMessage: z.ZodOptional<z.ZodString>;
|
|
109
|
+
readonly className: z.ZodOptional<z.ZodString>;
|
|
110
|
+
readonly showFilters: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
111
|
+
readonly showCategoryFilter: z.ZodOptional<z.ZodEnum<{
|
|
112
|
+
auto: "auto";
|
|
113
|
+
never: "never";
|
|
114
|
+
always: "always";
|
|
115
|
+
}>>;
|
|
116
|
+
readonly showVenueFilter: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
117
|
+
readonly showStaffFilter: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
118
|
+
readonly eventSurface: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
119
|
+
custom: "custom";
|
|
120
|
+
all: "all";
|
|
121
|
+
regularClassSchedule: "regularClassSchedule";
|
|
122
|
+
specialDatedEvents: "specialDatedEvents";
|
|
123
|
+
}>>>;
|
|
124
|
+
readonly filterEventPresets: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>>;
|
|
125
|
+
readonly scheduleScope: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
126
|
+
any: "any";
|
|
127
|
+
recurring: "recurring";
|
|
128
|
+
oneOff: "oneOff";
|
|
129
|
+
}>>>;
|
|
130
|
+
readonly filterCategoryIds: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>>;
|
|
131
|
+
readonly filterStaffMemberId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
132
|
+
readonly filterVenueId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
133
|
+
readonly events: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
134
|
+
bookingScope: z.ZodEnum<{
|
|
135
|
+
single_occurrence: "single_occurrence";
|
|
136
|
+
whole_series: "whole_series";
|
|
137
|
+
}>;
|
|
138
|
+
eventPreset: z.ZodOptional<z.ZodEnum<{
|
|
139
|
+
course: "course";
|
|
140
|
+
event: "event";
|
|
141
|
+
performance: "performance";
|
|
142
|
+
class: "class";
|
|
143
|
+
workshop: "workshop";
|
|
144
|
+
retreat: "retreat";
|
|
145
|
+
}>>;
|
|
146
|
+
eventDestinationMode: z.ZodOptional<z.ZodEnum<{
|
|
147
|
+
"cms-managed": "cms-managed";
|
|
148
|
+
"system-managed": "system-managed";
|
|
149
|
+
}>>;
|
|
150
|
+
scheduleScope: z.ZodOptional<z.ZodEnum<{
|
|
151
|
+
recurring: "recurring";
|
|
152
|
+
oneOff: "oneOff";
|
|
153
|
+
}>>;
|
|
154
|
+
recurrence: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodReadonly<z.ZodObject<{
|
|
155
|
+
kind: z.ZodLiteral<"weekly">;
|
|
156
|
+
interval: z.ZodNumber;
|
|
157
|
+
weekdays: z.ZodArray<z.ZodEnum<{
|
|
158
|
+
MO: "MO";
|
|
159
|
+
TU: "TU";
|
|
160
|
+
WE: "WE";
|
|
161
|
+
TH: "TH";
|
|
162
|
+
FR: "FR";
|
|
163
|
+
SA: "SA";
|
|
164
|
+
SU: "SU";
|
|
165
|
+
}>>;
|
|
166
|
+
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
167
|
+
kind: z.ZodLiteral<"other">;
|
|
168
|
+
}, z.core.$strip>>], "kind">>;
|
|
169
|
+
id: z.ZodString;
|
|
170
|
+
occurrenceId: z.ZodString;
|
|
171
|
+
seriesId: z.ZodString;
|
|
172
|
+
title: z.ZodString;
|
|
173
|
+
description: z.ZodNullable<z.ZodString>;
|
|
174
|
+
content: z.ZodOptional<z.ZodObject<{
|
|
175
|
+
body: z.ZodOptional<z.ZodNullable<z.ZodType<import("../../../../../../../core/src/index").RichTextDoc, unknown, z.core.$ZodTypeInternals<import("../../../../../../../core/src/index").RichTextDoc, unknown>>>>;
|
|
176
|
+
}, z.core.$strip>>;
|
|
177
|
+
presentation: z.ZodOptional<z.ZodObject<{
|
|
178
|
+
cardTitleOverride: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
179
|
+
summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
180
|
+
image: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
181
|
+
purpose: z.ZodOptional<z.ZodString>;
|
|
182
|
+
placeholder: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
183
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
184
|
+
identifier: z.ZodOptional<z.ZodString>;
|
|
185
|
+
src: z.ZodOptional<z.ZodString>;
|
|
186
|
+
alt: z.ZodOptional<z.ZodString>;
|
|
187
|
+
filename: z.ZodOptional<z.ZodString>;
|
|
188
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
189
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
190
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
191
|
+
storageBucket: z.ZodOptional<z.ZodString>;
|
|
192
|
+
storagePath: z.ZodOptional<z.ZodString>;
|
|
193
|
+
poster: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
194
|
+
tag: z.ZodLiteral<"storage">;
|
|
195
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
196
|
+
storageBucket: z.ZodString;
|
|
197
|
+
storagePath: z.ZodString;
|
|
198
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
199
|
+
tag: z.ZodLiteral<"external-src">;
|
|
200
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
201
|
+
src: z.ZodString;
|
|
202
|
+
}, z.core.$strip>], "tag">>;
|
|
203
|
+
transform: z.ZodOptional<z.ZodObject<{
|
|
204
|
+
aspectCrops: z.ZodOptional<z.ZodPipe<z.ZodTransform<object | undefined, unknown>, z.ZodRecord<z.ZodString, z.ZodCatch<z.ZodObject<{
|
|
205
|
+
aspect: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
206
|
+
rect: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>>;
|
|
207
|
+
hotspot: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodObject<{
|
|
208
|
+
x: z.ZodNumber;
|
|
209
|
+
y: z.ZodNumber;
|
|
210
|
+
radius: z.ZodOptional<z.ZodNumber>;
|
|
211
|
+
}, z.core.$strip>>>;
|
|
212
|
+
rotation: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<90>, z.ZodLiteral<180>, z.ZodLiteral<270>]>>>;
|
|
213
|
+
}, z.core.$strip>>>>>;
|
|
214
|
+
rect: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
|
|
215
|
+
hotspot: z.ZodOptional<z.ZodObject<{
|
|
216
|
+
x: z.ZodNumber;
|
|
217
|
+
y: z.ZodNumber;
|
|
218
|
+
radius: z.ZodOptional<z.ZodNumber>;
|
|
219
|
+
}, z.core.$strip>>;
|
|
220
|
+
rotation: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<90>, z.ZodLiteral<180>, z.ZodLiteral<270>]>>;
|
|
221
|
+
}, z.core.$strip>>;
|
|
222
|
+
type: z.ZodLiteral<"image">;
|
|
223
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
224
|
+
purpose: z.ZodOptional<z.ZodString>;
|
|
225
|
+
placeholder: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
226
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
227
|
+
identifier: z.ZodOptional<z.ZodString>;
|
|
228
|
+
src: z.ZodOptional<z.ZodString>;
|
|
229
|
+
alt: z.ZodOptional<z.ZodString>;
|
|
230
|
+
filename: z.ZodOptional<z.ZodString>;
|
|
231
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
232
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
233
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
234
|
+
storageBucket: z.ZodOptional<z.ZodString>;
|
|
235
|
+
storagePath: z.ZodOptional<z.ZodString>;
|
|
236
|
+
poster: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
237
|
+
tag: z.ZodLiteral<"storage">;
|
|
238
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
239
|
+
storageBucket: z.ZodString;
|
|
240
|
+
storagePath: z.ZodString;
|
|
241
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
242
|
+
tag: z.ZodLiteral<"external-src">;
|
|
243
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
244
|
+
src: z.ZodString;
|
|
245
|
+
}, z.core.$strip>], "tag">>;
|
|
246
|
+
transform: z.ZodOptional<z.ZodObject<{
|
|
247
|
+
aspectCrops: z.ZodOptional<z.ZodPipe<z.ZodTransform<object | undefined, unknown>, z.ZodRecord<z.ZodString, z.ZodCatch<z.ZodObject<{
|
|
248
|
+
aspect: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
249
|
+
rect: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>>;
|
|
250
|
+
hotspot: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodObject<{
|
|
251
|
+
x: z.ZodNumber;
|
|
252
|
+
y: z.ZodNumber;
|
|
253
|
+
radius: z.ZodOptional<z.ZodNumber>;
|
|
254
|
+
}, z.core.$strip>>>;
|
|
255
|
+
rotation: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<90>, z.ZodLiteral<180>, z.ZodLiteral<270>]>>>;
|
|
256
|
+
}, z.core.$strip>>>>>;
|
|
257
|
+
rect: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
|
|
258
|
+
hotspot: z.ZodOptional<z.ZodObject<{
|
|
259
|
+
x: z.ZodNumber;
|
|
260
|
+
y: z.ZodNumber;
|
|
261
|
+
radius: z.ZodOptional<z.ZodNumber>;
|
|
262
|
+
}, z.core.$strip>>;
|
|
263
|
+
rotation: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<90>, z.ZodLiteral<180>, z.ZodLiteral<270>]>>;
|
|
264
|
+
}, z.core.$strip>>;
|
|
265
|
+
type: z.ZodLiteral<"video">;
|
|
266
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
267
|
+
purpose: z.ZodOptional<z.ZodString>;
|
|
268
|
+
placeholder: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
269
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
270
|
+
identifier: z.ZodOptional<z.ZodString>;
|
|
271
|
+
src: z.ZodOptional<z.ZodString>;
|
|
272
|
+
alt: z.ZodOptional<z.ZodString>;
|
|
273
|
+
filename: z.ZodOptional<z.ZodString>;
|
|
274
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
275
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
276
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
277
|
+
storageBucket: z.ZodOptional<z.ZodString>;
|
|
278
|
+
storagePath: z.ZodOptional<z.ZodString>;
|
|
279
|
+
poster: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
280
|
+
tag: z.ZodLiteral<"storage">;
|
|
281
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
282
|
+
storageBucket: z.ZodString;
|
|
283
|
+
storagePath: z.ZodString;
|
|
284
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
285
|
+
tag: z.ZodLiteral<"external-src">;
|
|
286
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
287
|
+
src: z.ZodString;
|
|
288
|
+
}, z.core.$strip>], "tag">>;
|
|
289
|
+
transform: z.ZodOptional<z.ZodObject<{
|
|
290
|
+
aspectCrops: z.ZodOptional<z.ZodPipe<z.ZodTransform<object | undefined, unknown>, z.ZodRecord<z.ZodString, z.ZodCatch<z.ZodObject<{
|
|
291
|
+
aspect: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
292
|
+
rect: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>>;
|
|
293
|
+
hotspot: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodObject<{
|
|
294
|
+
x: z.ZodNumber;
|
|
295
|
+
y: z.ZodNumber;
|
|
296
|
+
radius: z.ZodOptional<z.ZodNumber>;
|
|
297
|
+
}, z.core.$strip>>>;
|
|
298
|
+
rotation: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<90>, z.ZodLiteral<180>, z.ZodLiteral<270>]>>>;
|
|
299
|
+
}, z.core.$strip>>>>>;
|
|
300
|
+
rect: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
|
|
301
|
+
hotspot: z.ZodOptional<z.ZodObject<{
|
|
302
|
+
x: z.ZodNumber;
|
|
303
|
+
y: z.ZodNumber;
|
|
304
|
+
radius: z.ZodOptional<z.ZodNumber>;
|
|
305
|
+
}, z.core.$strip>>;
|
|
306
|
+
rotation: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<90>, z.ZodLiteral<180>, z.ZodLiteral<270>]>>;
|
|
307
|
+
}, z.core.$strip>>;
|
|
308
|
+
type: z.ZodLiteral<"audio">;
|
|
309
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
310
|
+
purpose: z.ZodOptional<z.ZodString>;
|
|
311
|
+
placeholder: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
312
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
313
|
+
identifier: z.ZodOptional<z.ZodString>;
|
|
314
|
+
src: z.ZodOptional<z.ZodString>;
|
|
315
|
+
alt: z.ZodOptional<z.ZodString>;
|
|
316
|
+
filename: z.ZodOptional<z.ZodString>;
|
|
317
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
318
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
319
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
320
|
+
storageBucket: z.ZodOptional<z.ZodString>;
|
|
321
|
+
storagePath: z.ZodOptional<z.ZodString>;
|
|
322
|
+
poster: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
323
|
+
tag: z.ZodLiteral<"storage">;
|
|
324
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
325
|
+
storageBucket: z.ZodString;
|
|
326
|
+
storagePath: z.ZodString;
|
|
327
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
328
|
+
tag: z.ZodLiteral<"external-src">;
|
|
329
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
330
|
+
src: z.ZodString;
|
|
331
|
+
}, z.core.$strip>], "tag">>;
|
|
332
|
+
transform: z.ZodOptional<z.ZodObject<{
|
|
333
|
+
aspectCrops: z.ZodOptional<z.ZodPipe<z.ZodTransform<object | undefined, unknown>, z.ZodRecord<z.ZodString, z.ZodCatch<z.ZodObject<{
|
|
334
|
+
aspect: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
335
|
+
rect: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>>;
|
|
336
|
+
hotspot: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodObject<{
|
|
337
|
+
x: z.ZodNumber;
|
|
338
|
+
y: z.ZodNumber;
|
|
339
|
+
radius: z.ZodOptional<z.ZodNumber>;
|
|
340
|
+
}, z.core.$strip>>>;
|
|
341
|
+
rotation: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<90>, z.ZodLiteral<180>, z.ZodLiteral<270>]>>>;
|
|
342
|
+
}, z.core.$strip>>>>>;
|
|
343
|
+
rect: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
|
|
344
|
+
hotspot: z.ZodOptional<z.ZodObject<{
|
|
345
|
+
x: z.ZodNumber;
|
|
346
|
+
y: z.ZodNumber;
|
|
347
|
+
radius: z.ZodOptional<z.ZodNumber>;
|
|
348
|
+
}, z.core.$strip>>;
|
|
349
|
+
rotation: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<90>, z.ZodLiteral<180>, z.ZodLiteral<270>]>>;
|
|
350
|
+
}, z.core.$strip>>;
|
|
351
|
+
type: z.ZodLiteral<"document">;
|
|
352
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
353
|
+
purpose: z.ZodOptional<z.ZodString>;
|
|
354
|
+
placeholder: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
355
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
356
|
+
identifier: z.ZodOptional<z.ZodString>;
|
|
357
|
+
src: z.ZodOptional<z.ZodString>;
|
|
358
|
+
alt: z.ZodOptional<z.ZodString>;
|
|
359
|
+
filename: z.ZodOptional<z.ZodString>;
|
|
360
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
361
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
362
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
363
|
+
storageBucket: z.ZodOptional<z.ZodString>;
|
|
364
|
+
storagePath: z.ZodOptional<z.ZodString>;
|
|
365
|
+
poster: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
366
|
+
tag: z.ZodLiteral<"storage">;
|
|
367
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
368
|
+
storageBucket: z.ZodString;
|
|
369
|
+
storagePath: z.ZodString;
|
|
370
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
371
|
+
tag: z.ZodLiteral<"external-src">;
|
|
372
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
373
|
+
src: z.ZodString;
|
|
374
|
+
}, z.core.$strip>], "tag">>;
|
|
375
|
+
transform: z.ZodOptional<z.ZodObject<{
|
|
376
|
+
aspectCrops: z.ZodOptional<z.ZodPipe<z.ZodTransform<object | undefined, unknown>, z.ZodRecord<z.ZodString, z.ZodCatch<z.ZodObject<{
|
|
377
|
+
aspect: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
378
|
+
rect: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>>;
|
|
379
|
+
hotspot: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodObject<{
|
|
380
|
+
x: z.ZodNumber;
|
|
381
|
+
y: z.ZodNumber;
|
|
382
|
+
radius: z.ZodOptional<z.ZodNumber>;
|
|
383
|
+
}, z.core.$strip>>>;
|
|
384
|
+
rotation: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<90>, z.ZodLiteral<180>, z.ZodLiteral<270>]>>>;
|
|
385
|
+
}, z.core.$strip>>>>>;
|
|
386
|
+
rect: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
|
|
387
|
+
hotspot: z.ZodOptional<z.ZodObject<{
|
|
388
|
+
x: z.ZodNumber;
|
|
389
|
+
y: z.ZodNumber;
|
|
390
|
+
radius: z.ZodOptional<z.ZodNumber>;
|
|
391
|
+
}, z.core.$strip>>;
|
|
392
|
+
rotation: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<90>, z.ZodLiteral<180>, z.ZodLiteral<270>]>>;
|
|
393
|
+
}, z.core.$strip>>;
|
|
394
|
+
type: z.ZodLiteral<"spreadsheet">;
|
|
395
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
396
|
+
purpose: z.ZodOptional<z.ZodString>;
|
|
397
|
+
placeholder: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
398
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
399
|
+
identifier: z.ZodOptional<z.ZodString>;
|
|
400
|
+
src: z.ZodOptional<z.ZodString>;
|
|
401
|
+
alt: z.ZodOptional<z.ZodString>;
|
|
402
|
+
filename: z.ZodOptional<z.ZodString>;
|
|
403
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
404
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
405
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
406
|
+
storageBucket: z.ZodOptional<z.ZodString>;
|
|
407
|
+
storagePath: z.ZodOptional<z.ZodString>;
|
|
408
|
+
poster: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
409
|
+
tag: z.ZodLiteral<"storage">;
|
|
410
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
411
|
+
storageBucket: z.ZodString;
|
|
412
|
+
storagePath: z.ZodString;
|
|
413
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
414
|
+
tag: z.ZodLiteral<"external-src">;
|
|
415
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
416
|
+
src: z.ZodString;
|
|
417
|
+
}, z.core.$strip>], "tag">>;
|
|
418
|
+
transform: z.ZodOptional<z.ZodObject<{
|
|
419
|
+
aspectCrops: z.ZodOptional<z.ZodPipe<z.ZodTransform<object | undefined, unknown>, z.ZodRecord<z.ZodString, z.ZodCatch<z.ZodObject<{
|
|
420
|
+
aspect: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
421
|
+
rect: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>>;
|
|
422
|
+
hotspot: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodObject<{
|
|
423
|
+
x: z.ZodNumber;
|
|
424
|
+
y: z.ZodNumber;
|
|
425
|
+
radius: z.ZodOptional<z.ZodNumber>;
|
|
426
|
+
}, z.core.$strip>>>;
|
|
427
|
+
rotation: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<90>, z.ZodLiteral<180>, z.ZodLiteral<270>]>>>;
|
|
428
|
+
}, z.core.$strip>>>>>;
|
|
429
|
+
rect: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
|
|
430
|
+
hotspot: z.ZodOptional<z.ZodObject<{
|
|
431
|
+
x: z.ZodNumber;
|
|
432
|
+
y: z.ZodNumber;
|
|
433
|
+
radius: z.ZodOptional<z.ZodNumber>;
|
|
434
|
+
}, z.core.$strip>>;
|
|
435
|
+
rotation: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<90>, z.ZodLiteral<180>, z.ZodLiteral<270>]>>;
|
|
436
|
+
}, z.core.$strip>>;
|
|
437
|
+
type: z.ZodLiteral<"archive">;
|
|
438
|
+
}, z.core.$strip>], "type">>>;
|
|
439
|
+
}, z.core.$strip>>;
|
|
440
|
+
slug: z.ZodString;
|
|
441
|
+
path: z.ZodNullable<z.ZodString>;
|
|
442
|
+
destination: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
443
|
+
kind: z.ZodLiteral<"native">;
|
|
444
|
+
mode: z.ZodEnum<{
|
|
445
|
+
"cms-managed": "cms-managed";
|
|
446
|
+
"system-managed": "system-managed";
|
|
447
|
+
}>;
|
|
448
|
+
path: z.ZodString;
|
|
449
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
450
|
+
kind: z.ZodLiteral<"external">;
|
|
451
|
+
url: z.ZodString;
|
|
452
|
+
label: z.ZodString;
|
|
453
|
+
}, z.core.$strip>], "kind">;
|
|
454
|
+
requiresRegistration: z.ZodBoolean;
|
|
455
|
+
deliveryMode: z.ZodEnum<{
|
|
456
|
+
in_person: "in_person";
|
|
457
|
+
hybrid: "hybrid";
|
|
458
|
+
online: "online";
|
|
459
|
+
}>;
|
|
460
|
+
attendanceModes: z.ZodArray<z.ZodObject<{
|
|
461
|
+
mode: z.ZodEnum<{
|
|
462
|
+
in_person: "in_person";
|
|
463
|
+
online: "online";
|
|
464
|
+
}>;
|
|
465
|
+
capacity: z.ZodNullable<z.ZodNumber>;
|
|
466
|
+
registeredCount: z.ZodNumber;
|
|
467
|
+
availableSpots: z.ZodNullable<z.ZodNumber>;
|
|
468
|
+
waitlistEnabled: z.ZodBoolean;
|
|
469
|
+
}, z.core.$strip>>;
|
|
470
|
+
startsAt: z.ZodString;
|
|
471
|
+
endsAt: z.ZodString;
|
|
472
|
+
capacity: z.ZodNullable<z.ZodNumber>;
|
|
473
|
+
registeredCount: z.ZodNumber;
|
|
474
|
+
availableSpots: z.ZodNullable<z.ZodNumber>;
|
|
475
|
+
waitlistEnabled: z.ZodBoolean;
|
|
476
|
+
venue: z.ZodNullable<z.ZodObject<{
|
|
477
|
+
id: z.ZodString;
|
|
478
|
+
name: z.ZodString;
|
|
479
|
+
address: z.ZodNullable<z.ZodString>;
|
|
480
|
+
location: z.ZodNullable<z.ZodObject<{
|
|
481
|
+
lat: z.ZodNumber;
|
|
482
|
+
lng: z.ZodNumber;
|
|
483
|
+
}, z.core.$strip>>;
|
|
484
|
+
}, z.core.$strip>>;
|
|
485
|
+
eventCategory: z.ZodNullable<z.ZodObject<{
|
|
486
|
+
id: z.ZodString;
|
|
487
|
+
name: z.ZodString;
|
|
488
|
+
color: z.ZodNullable<z.ZodString>;
|
|
489
|
+
}, z.core.$strip>>;
|
|
490
|
+
teamMembers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
491
|
+
id: z.ZodString;
|
|
492
|
+
name: z.ZodString;
|
|
493
|
+
roleLabel: z.ZodNullable<z.ZodString>;
|
|
494
|
+
summary: z.ZodNullable<z.ZodString>;
|
|
495
|
+
profilePath: z.ZodNullable<z.ZodString>;
|
|
496
|
+
}, z.core.$strip>>>;
|
|
497
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
498
|
+
active: "active";
|
|
499
|
+
draft: "draft";
|
|
500
|
+
archived: "archived";
|
|
501
|
+
}>>;
|
|
502
|
+
timeZone: z.ZodString;
|
|
503
|
+
pricing: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
504
|
+
kind: z.ZodLiteral<"drop_in">;
|
|
505
|
+
currency: z.ZodString;
|
|
506
|
+
display: z.ZodObject<{
|
|
507
|
+
kind: z.ZodLiteral<"free">;
|
|
508
|
+
currency: z.ZodString;
|
|
509
|
+
}, z.core.$strip>;
|
|
510
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
511
|
+
kind: z.ZodLiteral<"free_registration">;
|
|
512
|
+
currency: z.ZodString;
|
|
513
|
+
display: z.ZodObject<{
|
|
514
|
+
kind: z.ZodLiteral<"free">;
|
|
515
|
+
currency: z.ZodString;
|
|
516
|
+
}, z.core.$strip>;
|
|
517
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
518
|
+
kind: z.ZodLiteral<"single_paid">;
|
|
519
|
+
amount: z.ZodNumber;
|
|
520
|
+
currency: z.ZodString;
|
|
521
|
+
display: z.ZodObject<{
|
|
522
|
+
kind: z.ZodLiteral<"exact">;
|
|
523
|
+
amount: z.ZodNumber;
|
|
524
|
+
currency: z.ZodString;
|
|
525
|
+
}, z.core.$strip>;
|
|
526
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
527
|
+
kind: z.ZodLiteral<"ticket_types">;
|
|
528
|
+
currency: z.ZodString;
|
|
529
|
+
ticketTypes: z.ZodArray<z.ZodObject<{
|
|
530
|
+
id: z.ZodString;
|
|
531
|
+
siteId: z.ZodString;
|
|
532
|
+
eventSeriesId: z.ZodString;
|
|
533
|
+
name: z.ZodString;
|
|
534
|
+
description: z.ZodNullable<z.ZodString>;
|
|
535
|
+
priceAmount: z.ZodNumber;
|
|
536
|
+
isActive: z.ZodBoolean;
|
|
537
|
+
sortOrder: z.ZodNumber;
|
|
538
|
+
capacityMode: z.ZodEnum<{
|
|
539
|
+
limited: "limited";
|
|
540
|
+
unlimited: "unlimited";
|
|
541
|
+
}>;
|
|
542
|
+
capacityLimit: z.ZodNullable<z.ZodNumber>;
|
|
543
|
+
attendanceScope: z.ZodOptional<z.ZodEnum<{
|
|
544
|
+
in_person: "in_person";
|
|
545
|
+
both: "both";
|
|
546
|
+
online: "online";
|
|
547
|
+
}>>;
|
|
548
|
+
saleStartsAt: z.ZodNullable<z.ZodString>;
|
|
549
|
+
saleEndsAt: z.ZodNullable<z.ZodString>;
|
|
550
|
+
availability: z.ZodUnion<readonly [z.ZodObject<{
|
|
551
|
+
kind: z.ZodLiteral<"available">;
|
|
552
|
+
remainingCapacity: z.ZodNullable<z.ZodNumber>;
|
|
553
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
554
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
555
|
+
reason: z.ZodEnum<{
|
|
556
|
+
inactive: "inactive";
|
|
557
|
+
not_on_sale_yet: "not_on_sale_yet";
|
|
558
|
+
sale_ended: "sale_ended";
|
|
559
|
+
sold_out: "sold_out";
|
|
560
|
+
event_sold_out: "event_sold_out";
|
|
561
|
+
}>;
|
|
562
|
+
remainingCapacity: z.ZodNullable<z.ZodNumber>;
|
|
563
|
+
}, z.core.$strip>]>;
|
|
564
|
+
createdAt: z.ZodString;
|
|
565
|
+
updatedAt: z.ZodString;
|
|
566
|
+
}, z.core.$strip>>;
|
|
567
|
+
display: z.ZodUnion<readonly [z.ZodObject<{
|
|
568
|
+
kind: z.ZodLiteral<"free">;
|
|
569
|
+
currency: z.ZodString;
|
|
570
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
571
|
+
kind: z.ZodLiteral<"exact">;
|
|
572
|
+
amount: z.ZodNumber;
|
|
573
|
+
currency: z.ZodString;
|
|
574
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
575
|
+
kind: z.ZodLiteral<"from">;
|
|
576
|
+
amount: z.ZodNumber;
|
|
577
|
+
currency: z.ZodString;
|
|
578
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
579
|
+
kind: z.ZodLiteral<"range">;
|
|
580
|
+
minAmount: z.ZodNumber;
|
|
581
|
+
maxAmount: z.ZodNumber;
|
|
582
|
+
currency: z.ZodString;
|
|
583
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
584
|
+
kind: z.ZodLiteral<"mixed">;
|
|
585
|
+
paidFromAmount: z.ZodNumber;
|
|
586
|
+
paidToAmount: z.ZodNumber;
|
|
587
|
+
currency: z.ZodString;
|
|
588
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
589
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
590
|
+
currency: z.ZodString;
|
|
591
|
+
}, z.core.$strip>]>;
|
|
592
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
593
|
+
kind: z.ZodLiteral<"sliding_scale">;
|
|
594
|
+
minAmount: z.ZodNumber;
|
|
595
|
+
maxAmount: z.ZodNumber;
|
|
596
|
+
suggestedAmount: z.ZodNullable<z.ZodNumber>;
|
|
597
|
+
currency: z.ZodString;
|
|
598
|
+
display: z.ZodObject<{
|
|
599
|
+
kind: z.ZodLiteral<"range">;
|
|
600
|
+
minAmount: z.ZodNumber;
|
|
601
|
+
maxAmount: z.ZodNumber;
|
|
602
|
+
currency: z.ZodString;
|
|
603
|
+
}, z.core.$strip>;
|
|
604
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
605
|
+
kind: z.ZodLiteral<"course">;
|
|
606
|
+
display: z.ZodObject<{
|
|
607
|
+
kind: z.ZodLiteral<"course">;
|
|
608
|
+
display: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
609
|
+
kind: z.ZodLiteral<"free">;
|
|
610
|
+
currency: z.ZodString;
|
|
611
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
612
|
+
kind: z.ZodLiteral<"exact">;
|
|
613
|
+
amount: z.ZodNumber;
|
|
614
|
+
currency: z.ZodString;
|
|
615
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
616
|
+
kind: z.ZodLiteral<"from">;
|
|
617
|
+
amount: z.ZodNumber;
|
|
618
|
+
currency: z.ZodString;
|
|
619
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
620
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
621
|
+
currency: z.ZodString;
|
|
622
|
+
}, z.core.$strip>], "kind">;
|
|
623
|
+
}, z.core.$strip>;
|
|
624
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
625
|
+
kind: z.ZodLiteral<"external">;
|
|
626
|
+
display: z.ZodObject<{
|
|
627
|
+
kind: z.ZodLiteral<"external">;
|
|
628
|
+
label: z.ZodString;
|
|
629
|
+
}, z.core.$strip>;
|
|
630
|
+
}, z.core.$strip>], "kind">;
|
|
631
|
+
paymentTerms: z.ZodObject<{
|
|
632
|
+
allowedOptions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
633
|
+
kind: z.ZodLiteral<"upfront">;
|
|
634
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
635
|
+
kind: z.ZodLiteral<"deferred_manual">;
|
|
636
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
637
|
+
kind: z.ZodLiteral<"instalment_plan">;
|
|
638
|
+
plan: z.ZodUnion<readonly [z.ZodObject<{
|
|
639
|
+
kind: z.ZodLiteral<"deposit_plus_one_remainder">;
|
|
640
|
+
depositAmountCents: z.ZodNumber;
|
|
641
|
+
depositRefundability: z.ZodEnum<{
|
|
642
|
+
refundable: "refundable";
|
|
643
|
+
non_refundable: "non_refundable";
|
|
644
|
+
}>;
|
|
645
|
+
remainderDueCount: z.ZodNumber;
|
|
646
|
+
intervalUnit: z.ZodEnum<{
|
|
647
|
+
day: "day";
|
|
648
|
+
week: "week";
|
|
649
|
+
month: "month";
|
|
650
|
+
}>;
|
|
651
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
652
|
+
kind: z.ZodLiteral<"deposit_plus_scheduled_instalments">;
|
|
653
|
+
depositAmountCents: z.ZodNumber;
|
|
654
|
+
depositRefundability: z.ZodEnum<{
|
|
655
|
+
refundable: "refundable";
|
|
656
|
+
non_refundable: "non_refundable";
|
|
657
|
+
}>;
|
|
658
|
+
instalmentCount: z.ZodNumber;
|
|
659
|
+
intervalCount: z.ZodNumber;
|
|
660
|
+
intervalUnit: z.ZodEnum<{
|
|
661
|
+
day: "day";
|
|
662
|
+
week: "week";
|
|
663
|
+
month: "month";
|
|
664
|
+
}>;
|
|
665
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
666
|
+
kind: z.ZodLiteral<"equal_scheduled_instalments">;
|
|
667
|
+
instalmentCount: z.ZodNumber;
|
|
668
|
+
intervalCount: z.ZodNumber;
|
|
669
|
+
intervalUnit: z.ZodEnum<{
|
|
670
|
+
day: "day";
|
|
671
|
+
week: "week";
|
|
672
|
+
month: "month";
|
|
673
|
+
}>;
|
|
674
|
+
}, z.core.$strip>]>;
|
|
675
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
676
|
+
kind: z.ZodLiteral<"flexible_balance">;
|
|
677
|
+
config: z.ZodObject<{
|
|
678
|
+
upfrontAmountCents: z.ZodNumber;
|
|
679
|
+
dueDateRule: z.ZodUnion<readonly [z.ZodObject<{
|
|
680
|
+
kind: z.ZodLiteral<"relative_to_start_date">;
|
|
681
|
+
daysBeforeStart: z.ZodNumber;
|
|
682
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
683
|
+
kind: z.ZodLiteral<"fixed_calendar_date">;
|
|
684
|
+
dueAt: z.ZodString;
|
|
685
|
+
}, z.core.$strip>]>;
|
|
686
|
+
depositRefundability: z.ZodEnum<{
|
|
687
|
+
refundable: "refundable";
|
|
688
|
+
non_refundable: "non_refundable";
|
|
689
|
+
}>;
|
|
690
|
+
}, z.core.$strip>;
|
|
691
|
+
}, z.core.$strip>]>>;
|
|
692
|
+
}, z.core.$strip>;
|
|
693
|
+
accessRestriction: z.ZodEnum<{
|
|
694
|
+
none: "none";
|
|
695
|
+
category: "category";
|
|
696
|
+
}>;
|
|
697
|
+
allowedCategoryIds: z.ZodArray<z.ZodString>;
|
|
698
|
+
requireGuestDetails: z.ZodOptional<z.ZodBoolean>;
|
|
699
|
+
acceptsPasses: z.ZodOptional<z.ZodBoolean>;
|
|
700
|
+
acceptsMemberships: z.ZodOptional<z.ZodBoolean>;
|
|
701
|
+
wholeSeries: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
702
|
+
eventSeriesId: z.ZodString;
|
|
703
|
+
pricing: z.ZodObject<{
|
|
704
|
+
bookingRequirement: z.ZodEnum<{
|
|
705
|
+
required: "required";
|
|
706
|
+
none: "none";
|
|
707
|
+
}>;
|
|
708
|
+
pricingStrategy: z.ZodEnum<{
|
|
709
|
+
single: "single";
|
|
710
|
+
sliding_scale: "sliding_scale";
|
|
711
|
+
free: "free";
|
|
712
|
+
tiered: "tiered";
|
|
713
|
+
}>;
|
|
714
|
+
currency: z.ZodString;
|
|
715
|
+
singlePriceAmount: z.ZodNullable<z.ZodNumber>;
|
|
716
|
+
slidingMinAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
717
|
+
slidingMaxAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
718
|
+
slidingSuggestedAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
719
|
+
paymentTerms: z.ZodObject<{
|
|
720
|
+
allowedOptions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
721
|
+
kind: z.ZodLiteral<"upfront">;
|
|
722
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
723
|
+
kind: z.ZodLiteral<"deferred_manual">;
|
|
724
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
725
|
+
kind: z.ZodLiteral<"instalment_plan">;
|
|
726
|
+
plan: z.ZodUnion<readonly [z.ZodObject<{
|
|
727
|
+
kind: z.ZodLiteral<"deposit_plus_one_remainder">;
|
|
728
|
+
depositAmountCents: z.ZodNumber;
|
|
729
|
+
depositRefundability: z.ZodEnum<{
|
|
730
|
+
refundable: "refundable";
|
|
731
|
+
non_refundable: "non_refundable";
|
|
732
|
+
}>;
|
|
733
|
+
remainderDueCount: z.ZodNumber;
|
|
734
|
+
intervalUnit: z.ZodEnum<{
|
|
735
|
+
day: "day";
|
|
736
|
+
week: "week";
|
|
737
|
+
month: "month";
|
|
738
|
+
}>;
|
|
739
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
740
|
+
kind: z.ZodLiteral<"deposit_plus_scheduled_instalments">;
|
|
741
|
+
depositAmountCents: z.ZodNumber;
|
|
742
|
+
depositRefundability: z.ZodEnum<{
|
|
743
|
+
refundable: "refundable";
|
|
744
|
+
non_refundable: "non_refundable";
|
|
745
|
+
}>;
|
|
746
|
+
instalmentCount: z.ZodNumber;
|
|
747
|
+
intervalCount: z.ZodNumber;
|
|
748
|
+
intervalUnit: z.ZodEnum<{
|
|
749
|
+
day: "day";
|
|
750
|
+
week: "week";
|
|
751
|
+
month: "month";
|
|
752
|
+
}>;
|
|
753
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
754
|
+
kind: z.ZodLiteral<"equal_scheduled_instalments">;
|
|
755
|
+
instalmentCount: z.ZodNumber;
|
|
756
|
+
intervalCount: z.ZodNumber;
|
|
757
|
+
intervalUnit: z.ZodEnum<{
|
|
758
|
+
day: "day";
|
|
759
|
+
week: "week";
|
|
760
|
+
month: "month";
|
|
761
|
+
}>;
|
|
762
|
+
}, z.core.$strip>]>;
|
|
763
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
764
|
+
kind: z.ZodLiteral<"flexible_balance">;
|
|
765
|
+
config: z.ZodObject<{
|
|
766
|
+
upfrontAmountCents: z.ZodNumber;
|
|
767
|
+
dueDateRule: z.ZodUnion<readonly [z.ZodObject<{
|
|
768
|
+
kind: z.ZodLiteral<"relative_to_start_date">;
|
|
769
|
+
daysBeforeStart: z.ZodNumber;
|
|
770
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
771
|
+
kind: z.ZodLiteral<"fixed_calendar_date">;
|
|
772
|
+
dueAt: z.ZodString;
|
|
773
|
+
}, z.core.$strip>]>;
|
|
774
|
+
depositRefundability: z.ZodEnum<{
|
|
775
|
+
refundable: "refundable";
|
|
776
|
+
non_refundable: "non_refundable";
|
|
777
|
+
}>;
|
|
778
|
+
}, z.core.$strip>;
|
|
779
|
+
}, z.core.$strip>]>>;
|
|
780
|
+
}, z.core.$strip>;
|
|
781
|
+
options: z.ZodArray<z.ZodObject<{
|
|
782
|
+
id: z.ZodString;
|
|
783
|
+
name: z.ZodString;
|
|
784
|
+
description: z.ZodNullable<z.ZodString>;
|
|
785
|
+
priceAmount: z.ZodNumber;
|
|
786
|
+
isActive: z.ZodBoolean;
|
|
787
|
+
sortOrder: z.ZodNumber;
|
|
788
|
+
capacityLimit: z.ZodNullable<z.ZodNumber>;
|
|
789
|
+
saleStartsAt: z.ZodNullable<z.ZodString>;
|
|
790
|
+
saleEndsAt: z.ZodNullable<z.ZodString>;
|
|
791
|
+
attendanceScope: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
792
|
+
in_person: "in_person";
|
|
793
|
+
both: "both";
|
|
794
|
+
online: "online";
|
|
795
|
+
}>>>;
|
|
796
|
+
}, z.core.$strip>>;
|
|
797
|
+
}, z.core.$strip>;
|
|
798
|
+
currency: z.ZodString;
|
|
799
|
+
enrollmentOpen: z.ZodBoolean;
|
|
800
|
+
}, z.core.$strip>>>;
|
|
801
|
+
}, z.core.$strip>>>>;
|
|
802
|
+
readonly siteId: z.ZodString;
|
|
803
|
+
readonly apiBaseUrl: z.ZodOptional<z.ZodString>;
|
|
804
|
+
readonly stage: z.ZodOptional<z.ZodEnum<{
|
|
805
|
+
published: "published";
|
|
806
|
+
preview: "preview";
|
|
807
|
+
}>>;
|
|
808
|
+
readonly listLayout: z.ZodOptional<z.ZodEnum<{
|
|
809
|
+
stack: "stack";
|
|
810
|
+
grid: "grid";
|
|
811
|
+
compact: "compact";
|
|
812
|
+
}>>;
|
|
813
|
+
readonly listColumns: z.ZodOptional<z.ZodEnum<{
|
|
814
|
+
2: "2";
|
|
815
|
+
3: "3";
|
|
816
|
+
4: "4";
|
|
817
|
+
}>>;
|
|
818
|
+
readonly eventsPerPage: z.ZodOptional<z.ZodString>;
|
|
819
|
+
readonly paginationMode: z.ZodOptional<z.ZodEnum<{
|
|
820
|
+
loadMore: "loadMore";
|
|
821
|
+
seeAllLink: "seeAllLink";
|
|
822
|
+
}>>;
|
|
823
|
+
readonly seeAllUrl: z.ZodOptional<z.ZodString>;
|
|
824
|
+
readonly loadMoreText: z.ZodOptional<z.ZodString>;
|
|
825
|
+
readonly startOfWeek: z.ZodOptional<z.ZodEnum<{
|
|
826
|
+
monday: "monday";
|
|
827
|
+
sunday: "sunday";
|
|
828
|
+
}>>;
|
|
829
|
+
readonly calendarTabViews: z.ZodOptional<z.ZodEnum<{
|
|
830
|
+
week: "week";
|
|
831
|
+
month: "month";
|
|
832
|
+
both: "both";
|
|
833
|
+
}>>;
|
|
834
|
+
readonly defaultCalendarView: z.ZodOptional<z.ZodEnum<{
|
|
835
|
+
week: "week";
|
|
836
|
+
month: "month";
|
|
837
|
+
}>>;
|
|
838
|
+
};
|
|
839
|
+
export declare const eventCollectionDisplaySchemaShape: {
|
|
840
|
+
readonly events: z.ZodArray<z.ZodObject<{
|
|
841
|
+
bookingScope: z.ZodEnum<{
|
|
842
|
+
single_occurrence: "single_occurrence";
|
|
843
|
+
whole_series: "whole_series";
|
|
844
|
+
}>;
|
|
845
|
+
eventPreset: z.ZodOptional<z.ZodEnum<{
|
|
846
|
+
course: "course";
|
|
847
|
+
event: "event";
|
|
848
|
+
performance: "performance";
|
|
849
|
+
class: "class";
|
|
850
|
+
workshop: "workshop";
|
|
851
|
+
retreat: "retreat";
|
|
852
|
+
}>>;
|
|
853
|
+
eventDestinationMode: z.ZodOptional<z.ZodEnum<{
|
|
854
|
+
"cms-managed": "cms-managed";
|
|
855
|
+
"system-managed": "system-managed";
|
|
856
|
+
}>>;
|
|
857
|
+
scheduleScope: z.ZodOptional<z.ZodEnum<{
|
|
858
|
+
recurring: "recurring";
|
|
859
|
+
oneOff: "oneOff";
|
|
860
|
+
}>>;
|
|
861
|
+
recurrence: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodReadonly<z.ZodObject<{
|
|
862
|
+
kind: z.ZodLiteral<"weekly">;
|
|
863
|
+
interval: z.ZodNumber;
|
|
864
|
+
weekdays: z.ZodArray<z.ZodEnum<{
|
|
865
|
+
MO: "MO";
|
|
866
|
+
TU: "TU";
|
|
867
|
+
WE: "WE";
|
|
868
|
+
TH: "TH";
|
|
869
|
+
FR: "FR";
|
|
870
|
+
SA: "SA";
|
|
871
|
+
SU: "SU";
|
|
872
|
+
}>>;
|
|
873
|
+
}, z.core.$strip>>, z.ZodReadonly<z.ZodObject<{
|
|
874
|
+
kind: z.ZodLiteral<"other">;
|
|
875
|
+
}, z.core.$strip>>], "kind">>;
|
|
876
|
+
id: z.ZodString;
|
|
877
|
+
occurrenceId: z.ZodString;
|
|
878
|
+
seriesId: z.ZodString;
|
|
879
|
+
title: z.ZodString;
|
|
880
|
+
description: z.ZodNullable<z.ZodString>;
|
|
881
|
+
content: z.ZodOptional<z.ZodObject<{
|
|
882
|
+
body: z.ZodOptional<z.ZodNullable<z.ZodType<import("../../../../../../../core/src/index").RichTextDoc, unknown, z.core.$ZodTypeInternals<import("../../../../../../../core/src/index").RichTextDoc, unknown>>>>;
|
|
883
|
+
}, z.core.$strip>>;
|
|
884
|
+
presentation: z.ZodOptional<z.ZodObject<{
|
|
885
|
+
cardTitleOverride: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
886
|
+
summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
887
|
+
image: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
888
|
+
purpose: z.ZodOptional<z.ZodString>;
|
|
889
|
+
placeholder: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
890
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
891
|
+
identifier: z.ZodOptional<z.ZodString>;
|
|
892
|
+
src: z.ZodOptional<z.ZodString>;
|
|
893
|
+
alt: z.ZodOptional<z.ZodString>;
|
|
894
|
+
filename: z.ZodOptional<z.ZodString>;
|
|
895
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
896
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
897
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
898
|
+
storageBucket: z.ZodOptional<z.ZodString>;
|
|
899
|
+
storagePath: z.ZodOptional<z.ZodString>;
|
|
900
|
+
poster: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
901
|
+
tag: z.ZodLiteral<"storage">;
|
|
902
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
903
|
+
storageBucket: z.ZodString;
|
|
904
|
+
storagePath: z.ZodString;
|
|
905
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
906
|
+
tag: z.ZodLiteral<"external-src">;
|
|
907
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
908
|
+
src: z.ZodString;
|
|
909
|
+
}, z.core.$strip>], "tag">>;
|
|
910
|
+
transform: z.ZodOptional<z.ZodObject<{
|
|
911
|
+
aspectCrops: z.ZodOptional<z.ZodPipe<z.ZodTransform<object | undefined, unknown>, z.ZodRecord<z.ZodString, z.ZodCatch<z.ZodObject<{
|
|
912
|
+
aspect: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
913
|
+
rect: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>>;
|
|
914
|
+
hotspot: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodObject<{
|
|
915
|
+
x: z.ZodNumber;
|
|
916
|
+
y: z.ZodNumber;
|
|
917
|
+
radius: z.ZodOptional<z.ZodNumber>;
|
|
918
|
+
}, z.core.$strip>>>;
|
|
919
|
+
rotation: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<90>, z.ZodLiteral<180>, z.ZodLiteral<270>]>>>;
|
|
920
|
+
}, z.core.$strip>>>>>;
|
|
921
|
+
rect: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
|
|
922
|
+
hotspot: z.ZodOptional<z.ZodObject<{
|
|
923
|
+
x: z.ZodNumber;
|
|
924
|
+
y: z.ZodNumber;
|
|
925
|
+
radius: z.ZodOptional<z.ZodNumber>;
|
|
926
|
+
}, z.core.$strip>>;
|
|
927
|
+
rotation: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<90>, z.ZodLiteral<180>, z.ZodLiteral<270>]>>;
|
|
928
|
+
}, z.core.$strip>>;
|
|
929
|
+
type: z.ZodLiteral<"image">;
|
|
930
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
931
|
+
purpose: z.ZodOptional<z.ZodString>;
|
|
932
|
+
placeholder: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
933
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
934
|
+
identifier: z.ZodOptional<z.ZodString>;
|
|
935
|
+
src: z.ZodOptional<z.ZodString>;
|
|
936
|
+
alt: z.ZodOptional<z.ZodString>;
|
|
937
|
+
filename: z.ZodOptional<z.ZodString>;
|
|
938
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
939
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
940
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
941
|
+
storageBucket: z.ZodOptional<z.ZodString>;
|
|
942
|
+
storagePath: z.ZodOptional<z.ZodString>;
|
|
943
|
+
poster: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
944
|
+
tag: z.ZodLiteral<"storage">;
|
|
945
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
946
|
+
storageBucket: z.ZodString;
|
|
947
|
+
storagePath: z.ZodString;
|
|
948
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
949
|
+
tag: z.ZodLiteral<"external-src">;
|
|
950
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
951
|
+
src: z.ZodString;
|
|
952
|
+
}, z.core.$strip>], "tag">>;
|
|
953
|
+
transform: z.ZodOptional<z.ZodObject<{
|
|
954
|
+
aspectCrops: z.ZodOptional<z.ZodPipe<z.ZodTransform<object | undefined, unknown>, z.ZodRecord<z.ZodString, z.ZodCatch<z.ZodObject<{
|
|
955
|
+
aspect: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
956
|
+
rect: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>>;
|
|
957
|
+
hotspot: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodObject<{
|
|
958
|
+
x: z.ZodNumber;
|
|
959
|
+
y: z.ZodNumber;
|
|
960
|
+
radius: z.ZodOptional<z.ZodNumber>;
|
|
961
|
+
}, z.core.$strip>>>;
|
|
962
|
+
rotation: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<90>, z.ZodLiteral<180>, z.ZodLiteral<270>]>>>;
|
|
963
|
+
}, z.core.$strip>>>>>;
|
|
964
|
+
rect: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
|
|
965
|
+
hotspot: z.ZodOptional<z.ZodObject<{
|
|
966
|
+
x: z.ZodNumber;
|
|
967
|
+
y: z.ZodNumber;
|
|
968
|
+
radius: z.ZodOptional<z.ZodNumber>;
|
|
969
|
+
}, z.core.$strip>>;
|
|
970
|
+
rotation: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<90>, z.ZodLiteral<180>, z.ZodLiteral<270>]>>;
|
|
971
|
+
}, z.core.$strip>>;
|
|
972
|
+
type: z.ZodLiteral<"video">;
|
|
973
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
974
|
+
purpose: z.ZodOptional<z.ZodString>;
|
|
975
|
+
placeholder: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
976
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
977
|
+
identifier: z.ZodOptional<z.ZodString>;
|
|
978
|
+
src: z.ZodOptional<z.ZodString>;
|
|
979
|
+
alt: z.ZodOptional<z.ZodString>;
|
|
980
|
+
filename: z.ZodOptional<z.ZodString>;
|
|
981
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
982
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
983
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
984
|
+
storageBucket: z.ZodOptional<z.ZodString>;
|
|
985
|
+
storagePath: z.ZodOptional<z.ZodString>;
|
|
986
|
+
poster: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
987
|
+
tag: z.ZodLiteral<"storage">;
|
|
988
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
989
|
+
storageBucket: z.ZodString;
|
|
990
|
+
storagePath: z.ZodString;
|
|
991
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
992
|
+
tag: z.ZodLiteral<"external-src">;
|
|
993
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
994
|
+
src: z.ZodString;
|
|
995
|
+
}, z.core.$strip>], "tag">>;
|
|
996
|
+
transform: z.ZodOptional<z.ZodObject<{
|
|
997
|
+
aspectCrops: z.ZodOptional<z.ZodPipe<z.ZodTransform<object | undefined, unknown>, z.ZodRecord<z.ZodString, z.ZodCatch<z.ZodObject<{
|
|
998
|
+
aspect: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
999
|
+
rect: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>>;
|
|
1000
|
+
hotspot: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodObject<{
|
|
1001
|
+
x: z.ZodNumber;
|
|
1002
|
+
y: z.ZodNumber;
|
|
1003
|
+
radius: z.ZodOptional<z.ZodNumber>;
|
|
1004
|
+
}, z.core.$strip>>>;
|
|
1005
|
+
rotation: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<90>, z.ZodLiteral<180>, z.ZodLiteral<270>]>>>;
|
|
1006
|
+
}, z.core.$strip>>>>>;
|
|
1007
|
+
rect: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
|
|
1008
|
+
hotspot: z.ZodOptional<z.ZodObject<{
|
|
1009
|
+
x: z.ZodNumber;
|
|
1010
|
+
y: z.ZodNumber;
|
|
1011
|
+
radius: z.ZodOptional<z.ZodNumber>;
|
|
1012
|
+
}, z.core.$strip>>;
|
|
1013
|
+
rotation: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<90>, z.ZodLiteral<180>, z.ZodLiteral<270>]>>;
|
|
1014
|
+
}, z.core.$strip>>;
|
|
1015
|
+
type: z.ZodLiteral<"audio">;
|
|
1016
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1017
|
+
purpose: z.ZodOptional<z.ZodString>;
|
|
1018
|
+
placeholder: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1019
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
1020
|
+
identifier: z.ZodOptional<z.ZodString>;
|
|
1021
|
+
src: z.ZodOptional<z.ZodString>;
|
|
1022
|
+
alt: z.ZodOptional<z.ZodString>;
|
|
1023
|
+
filename: z.ZodOptional<z.ZodString>;
|
|
1024
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
1025
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
1026
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
1027
|
+
storageBucket: z.ZodOptional<z.ZodString>;
|
|
1028
|
+
storagePath: z.ZodOptional<z.ZodString>;
|
|
1029
|
+
poster: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1030
|
+
tag: z.ZodLiteral<"storage">;
|
|
1031
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
1032
|
+
storageBucket: z.ZodString;
|
|
1033
|
+
storagePath: z.ZodString;
|
|
1034
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1035
|
+
tag: z.ZodLiteral<"external-src">;
|
|
1036
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
1037
|
+
src: z.ZodString;
|
|
1038
|
+
}, z.core.$strip>], "tag">>;
|
|
1039
|
+
transform: z.ZodOptional<z.ZodObject<{
|
|
1040
|
+
aspectCrops: z.ZodOptional<z.ZodPipe<z.ZodTransform<object | undefined, unknown>, z.ZodRecord<z.ZodString, z.ZodCatch<z.ZodObject<{
|
|
1041
|
+
aspect: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
1042
|
+
rect: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>>;
|
|
1043
|
+
hotspot: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodObject<{
|
|
1044
|
+
x: z.ZodNumber;
|
|
1045
|
+
y: z.ZodNumber;
|
|
1046
|
+
radius: z.ZodOptional<z.ZodNumber>;
|
|
1047
|
+
}, z.core.$strip>>>;
|
|
1048
|
+
rotation: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<90>, z.ZodLiteral<180>, z.ZodLiteral<270>]>>>;
|
|
1049
|
+
}, z.core.$strip>>>>>;
|
|
1050
|
+
rect: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
|
|
1051
|
+
hotspot: z.ZodOptional<z.ZodObject<{
|
|
1052
|
+
x: z.ZodNumber;
|
|
1053
|
+
y: z.ZodNumber;
|
|
1054
|
+
radius: z.ZodOptional<z.ZodNumber>;
|
|
1055
|
+
}, z.core.$strip>>;
|
|
1056
|
+
rotation: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<90>, z.ZodLiteral<180>, z.ZodLiteral<270>]>>;
|
|
1057
|
+
}, z.core.$strip>>;
|
|
1058
|
+
type: z.ZodLiteral<"document">;
|
|
1059
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1060
|
+
purpose: z.ZodOptional<z.ZodString>;
|
|
1061
|
+
placeholder: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1062
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
1063
|
+
identifier: z.ZodOptional<z.ZodString>;
|
|
1064
|
+
src: z.ZodOptional<z.ZodString>;
|
|
1065
|
+
alt: z.ZodOptional<z.ZodString>;
|
|
1066
|
+
filename: z.ZodOptional<z.ZodString>;
|
|
1067
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
1068
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
1069
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
1070
|
+
storageBucket: z.ZodOptional<z.ZodString>;
|
|
1071
|
+
storagePath: z.ZodOptional<z.ZodString>;
|
|
1072
|
+
poster: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1073
|
+
tag: z.ZodLiteral<"storage">;
|
|
1074
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
1075
|
+
storageBucket: z.ZodString;
|
|
1076
|
+
storagePath: z.ZodString;
|
|
1077
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1078
|
+
tag: z.ZodLiteral<"external-src">;
|
|
1079
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
1080
|
+
src: z.ZodString;
|
|
1081
|
+
}, z.core.$strip>], "tag">>;
|
|
1082
|
+
transform: z.ZodOptional<z.ZodObject<{
|
|
1083
|
+
aspectCrops: z.ZodOptional<z.ZodPipe<z.ZodTransform<object | undefined, unknown>, z.ZodRecord<z.ZodString, z.ZodCatch<z.ZodObject<{
|
|
1084
|
+
aspect: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
1085
|
+
rect: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>>;
|
|
1086
|
+
hotspot: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodObject<{
|
|
1087
|
+
x: z.ZodNumber;
|
|
1088
|
+
y: z.ZodNumber;
|
|
1089
|
+
radius: z.ZodOptional<z.ZodNumber>;
|
|
1090
|
+
}, z.core.$strip>>>;
|
|
1091
|
+
rotation: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<90>, z.ZodLiteral<180>, z.ZodLiteral<270>]>>>;
|
|
1092
|
+
}, z.core.$strip>>>>>;
|
|
1093
|
+
rect: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
|
|
1094
|
+
hotspot: z.ZodOptional<z.ZodObject<{
|
|
1095
|
+
x: z.ZodNumber;
|
|
1096
|
+
y: z.ZodNumber;
|
|
1097
|
+
radius: z.ZodOptional<z.ZodNumber>;
|
|
1098
|
+
}, z.core.$strip>>;
|
|
1099
|
+
rotation: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<90>, z.ZodLiteral<180>, z.ZodLiteral<270>]>>;
|
|
1100
|
+
}, z.core.$strip>>;
|
|
1101
|
+
type: z.ZodLiteral<"spreadsheet">;
|
|
1102
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1103
|
+
purpose: z.ZodOptional<z.ZodString>;
|
|
1104
|
+
placeholder: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1105
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
1106
|
+
identifier: z.ZodOptional<z.ZodString>;
|
|
1107
|
+
src: z.ZodOptional<z.ZodString>;
|
|
1108
|
+
alt: z.ZodOptional<z.ZodString>;
|
|
1109
|
+
filename: z.ZodOptional<z.ZodString>;
|
|
1110
|
+
mimeType: z.ZodOptional<z.ZodString>;
|
|
1111
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
1112
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
1113
|
+
storageBucket: z.ZodOptional<z.ZodString>;
|
|
1114
|
+
storagePath: z.ZodOptional<z.ZodString>;
|
|
1115
|
+
poster: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1116
|
+
tag: z.ZodLiteral<"storage">;
|
|
1117
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
1118
|
+
storageBucket: z.ZodString;
|
|
1119
|
+
storagePath: z.ZodString;
|
|
1120
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1121
|
+
tag: z.ZodLiteral<"external-src">;
|
|
1122
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
1123
|
+
src: z.ZodString;
|
|
1124
|
+
}, z.core.$strip>], "tag">>;
|
|
1125
|
+
transform: z.ZodOptional<z.ZodObject<{
|
|
1126
|
+
aspectCrops: z.ZodOptional<z.ZodPipe<z.ZodTransform<object | undefined, unknown>, z.ZodRecord<z.ZodString, z.ZodCatch<z.ZodObject<{
|
|
1127
|
+
aspect: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
1128
|
+
rect: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>>;
|
|
1129
|
+
hotspot: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodObject<{
|
|
1130
|
+
x: z.ZodNumber;
|
|
1131
|
+
y: z.ZodNumber;
|
|
1132
|
+
radius: z.ZodOptional<z.ZodNumber>;
|
|
1133
|
+
}, z.core.$strip>>>;
|
|
1134
|
+
rotation: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<90>, z.ZodLiteral<180>, z.ZodLiteral<270>]>>>;
|
|
1135
|
+
}, z.core.$strip>>>>>;
|
|
1136
|
+
rect: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
|
|
1137
|
+
hotspot: z.ZodOptional<z.ZodObject<{
|
|
1138
|
+
x: z.ZodNumber;
|
|
1139
|
+
y: z.ZodNumber;
|
|
1140
|
+
radius: z.ZodOptional<z.ZodNumber>;
|
|
1141
|
+
}, z.core.$strip>>;
|
|
1142
|
+
rotation: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<90>, z.ZodLiteral<180>, z.ZodLiteral<270>]>>;
|
|
1143
|
+
}, z.core.$strip>>;
|
|
1144
|
+
type: z.ZodLiteral<"archive">;
|
|
1145
|
+
}, z.core.$strip>], "type">>>;
|
|
1146
|
+
}, z.core.$strip>>;
|
|
1147
|
+
slug: z.ZodString;
|
|
1148
|
+
path: z.ZodNullable<z.ZodString>;
|
|
1149
|
+
destination: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1150
|
+
kind: z.ZodLiteral<"native">;
|
|
1151
|
+
mode: z.ZodEnum<{
|
|
1152
|
+
"cms-managed": "cms-managed";
|
|
1153
|
+
"system-managed": "system-managed";
|
|
1154
|
+
}>;
|
|
1155
|
+
path: z.ZodString;
|
|
1156
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1157
|
+
kind: z.ZodLiteral<"external">;
|
|
1158
|
+
url: z.ZodString;
|
|
1159
|
+
label: z.ZodString;
|
|
1160
|
+
}, z.core.$strip>], "kind">;
|
|
1161
|
+
requiresRegistration: z.ZodBoolean;
|
|
1162
|
+
deliveryMode: z.ZodEnum<{
|
|
1163
|
+
in_person: "in_person";
|
|
1164
|
+
hybrid: "hybrid";
|
|
1165
|
+
online: "online";
|
|
1166
|
+
}>;
|
|
1167
|
+
attendanceModes: z.ZodArray<z.ZodObject<{
|
|
1168
|
+
mode: z.ZodEnum<{
|
|
1169
|
+
in_person: "in_person";
|
|
1170
|
+
online: "online";
|
|
1171
|
+
}>;
|
|
1172
|
+
capacity: z.ZodNullable<z.ZodNumber>;
|
|
1173
|
+
registeredCount: z.ZodNumber;
|
|
1174
|
+
availableSpots: z.ZodNullable<z.ZodNumber>;
|
|
1175
|
+
waitlistEnabled: z.ZodBoolean;
|
|
1176
|
+
}, z.core.$strip>>;
|
|
1177
|
+
startsAt: z.ZodString;
|
|
1178
|
+
endsAt: z.ZodString;
|
|
1179
|
+
capacity: z.ZodNullable<z.ZodNumber>;
|
|
1180
|
+
registeredCount: z.ZodNumber;
|
|
1181
|
+
availableSpots: z.ZodNullable<z.ZodNumber>;
|
|
1182
|
+
waitlistEnabled: z.ZodBoolean;
|
|
1183
|
+
venue: z.ZodNullable<z.ZodObject<{
|
|
1184
|
+
id: z.ZodString;
|
|
1185
|
+
name: z.ZodString;
|
|
1186
|
+
address: z.ZodNullable<z.ZodString>;
|
|
1187
|
+
location: z.ZodNullable<z.ZodObject<{
|
|
1188
|
+
lat: z.ZodNumber;
|
|
1189
|
+
lng: z.ZodNumber;
|
|
1190
|
+
}, z.core.$strip>>;
|
|
1191
|
+
}, z.core.$strip>>;
|
|
1192
|
+
eventCategory: z.ZodNullable<z.ZodObject<{
|
|
1193
|
+
id: z.ZodString;
|
|
1194
|
+
name: z.ZodString;
|
|
1195
|
+
color: z.ZodNullable<z.ZodString>;
|
|
1196
|
+
}, z.core.$strip>>;
|
|
1197
|
+
teamMembers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1198
|
+
id: z.ZodString;
|
|
1199
|
+
name: z.ZodString;
|
|
1200
|
+
roleLabel: z.ZodNullable<z.ZodString>;
|
|
1201
|
+
summary: z.ZodNullable<z.ZodString>;
|
|
1202
|
+
profilePath: z.ZodNullable<z.ZodString>;
|
|
1203
|
+
}, z.core.$strip>>>;
|
|
1204
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
1205
|
+
active: "active";
|
|
1206
|
+
draft: "draft";
|
|
1207
|
+
archived: "archived";
|
|
1208
|
+
}>>;
|
|
1209
|
+
timeZone: z.ZodString;
|
|
1210
|
+
pricing: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1211
|
+
kind: z.ZodLiteral<"drop_in">;
|
|
1212
|
+
currency: z.ZodString;
|
|
1213
|
+
display: z.ZodObject<{
|
|
1214
|
+
kind: z.ZodLiteral<"free">;
|
|
1215
|
+
currency: z.ZodString;
|
|
1216
|
+
}, z.core.$strip>;
|
|
1217
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1218
|
+
kind: z.ZodLiteral<"free_registration">;
|
|
1219
|
+
currency: z.ZodString;
|
|
1220
|
+
display: z.ZodObject<{
|
|
1221
|
+
kind: z.ZodLiteral<"free">;
|
|
1222
|
+
currency: z.ZodString;
|
|
1223
|
+
}, z.core.$strip>;
|
|
1224
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1225
|
+
kind: z.ZodLiteral<"single_paid">;
|
|
1226
|
+
amount: z.ZodNumber;
|
|
1227
|
+
currency: z.ZodString;
|
|
1228
|
+
display: z.ZodObject<{
|
|
1229
|
+
kind: z.ZodLiteral<"exact">;
|
|
1230
|
+
amount: z.ZodNumber;
|
|
1231
|
+
currency: z.ZodString;
|
|
1232
|
+
}, z.core.$strip>;
|
|
1233
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1234
|
+
kind: z.ZodLiteral<"ticket_types">;
|
|
1235
|
+
currency: z.ZodString;
|
|
1236
|
+
ticketTypes: z.ZodArray<z.ZodObject<{
|
|
1237
|
+
id: z.ZodString;
|
|
1238
|
+
siteId: z.ZodString;
|
|
1239
|
+
eventSeriesId: z.ZodString;
|
|
1240
|
+
name: z.ZodString;
|
|
1241
|
+
description: z.ZodNullable<z.ZodString>;
|
|
1242
|
+
priceAmount: z.ZodNumber;
|
|
1243
|
+
isActive: z.ZodBoolean;
|
|
1244
|
+
sortOrder: z.ZodNumber;
|
|
1245
|
+
capacityMode: z.ZodEnum<{
|
|
1246
|
+
limited: "limited";
|
|
1247
|
+
unlimited: "unlimited";
|
|
1248
|
+
}>;
|
|
1249
|
+
capacityLimit: z.ZodNullable<z.ZodNumber>;
|
|
1250
|
+
attendanceScope: z.ZodOptional<z.ZodEnum<{
|
|
1251
|
+
in_person: "in_person";
|
|
1252
|
+
both: "both";
|
|
1253
|
+
online: "online";
|
|
1254
|
+
}>>;
|
|
1255
|
+
saleStartsAt: z.ZodNullable<z.ZodString>;
|
|
1256
|
+
saleEndsAt: z.ZodNullable<z.ZodString>;
|
|
1257
|
+
availability: z.ZodUnion<readonly [z.ZodObject<{
|
|
1258
|
+
kind: z.ZodLiteral<"available">;
|
|
1259
|
+
remainingCapacity: z.ZodNullable<z.ZodNumber>;
|
|
1260
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1261
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
1262
|
+
reason: z.ZodEnum<{
|
|
1263
|
+
inactive: "inactive";
|
|
1264
|
+
not_on_sale_yet: "not_on_sale_yet";
|
|
1265
|
+
sale_ended: "sale_ended";
|
|
1266
|
+
sold_out: "sold_out";
|
|
1267
|
+
event_sold_out: "event_sold_out";
|
|
1268
|
+
}>;
|
|
1269
|
+
remainingCapacity: z.ZodNullable<z.ZodNumber>;
|
|
1270
|
+
}, z.core.$strip>]>;
|
|
1271
|
+
createdAt: z.ZodString;
|
|
1272
|
+
updatedAt: z.ZodString;
|
|
1273
|
+
}, z.core.$strip>>;
|
|
1274
|
+
display: z.ZodUnion<readonly [z.ZodObject<{
|
|
1275
|
+
kind: z.ZodLiteral<"free">;
|
|
1276
|
+
currency: z.ZodString;
|
|
1277
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1278
|
+
kind: z.ZodLiteral<"exact">;
|
|
1279
|
+
amount: z.ZodNumber;
|
|
1280
|
+
currency: z.ZodString;
|
|
1281
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1282
|
+
kind: z.ZodLiteral<"from">;
|
|
1283
|
+
amount: z.ZodNumber;
|
|
1284
|
+
currency: z.ZodString;
|
|
1285
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1286
|
+
kind: z.ZodLiteral<"range">;
|
|
1287
|
+
minAmount: z.ZodNumber;
|
|
1288
|
+
maxAmount: z.ZodNumber;
|
|
1289
|
+
currency: z.ZodString;
|
|
1290
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1291
|
+
kind: z.ZodLiteral<"mixed">;
|
|
1292
|
+
paidFromAmount: z.ZodNumber;
|
|
1293
|
+
paidToAmount: z.ZodNumber;
|
|
1294
|
+
currency: z.ZodString;
|
|
1295
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1296
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
1297
|
+
currency: z.ZodString;
|
|
1298
|
+
}, z.core.$strip>]>;
|
|
1299
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1300
|
+
kind: z.ZodLiteral<"sliding_scale">;
|
|
1301
|
+
minAmount: z.ZodNumber;
|
|
1302
|
+
maxAmount: z.ZodNumber;
|
|
1303
|
+
suggestedAmount: z.ZodNullable<z.ZodNumber>;
|
|
1304
|
+
currency: z.ZodString;
|
|
1305
|
+
display: z.ZodObject<{
|
|
1306
|
+
kind: z.ZodLiteral<"range">;
|
|
1307
|
+
minAmount: z.ZodNumber;
|
|
1308
|
+
maxAmount: z.ZodNumber;
|
|
1309
|
+
currency: z.ZodString;
|
|
1310
|
+
}, z.core.$strip>;
|
|
1311
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1312
|
+
kind: z.ZodLiteral<"course">;
|
|
1313
|
+
display: z.ZodObject<{
|
|
1314
|
+
kind: z.ZodLiteral<"course">;
|
|
1315
|
+
display: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1316
|
+
kind: z.ZodLiteral<"free">;
|
|
1317
|
+
currency: z.ZodString;
|
|
1318
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1319
|
+
kind: z.ZodLiteral<"exact">;
|
|
1320
|
+
amount: z.ZodNumber;
|
|
1321
|
+
currency: z.ZodString;
|
|
1322
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1323
|
+
kind: z.ZodLiteral<"from">;
|
|
1324
|
+
amount: z.ZodNumber;
|
|
1325
|
+
currency: z.ZodString;
|
|
1326
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1327
|
+
kind: z.ZodLiteral<"unavailable">;
|
|
1328
|
+
currency: z.ZodString;
|
|
1329
|
+
}, z.core.$strip>], "kind">;
|
|
1330
|
+
}, z.core.$strip>;
|
|
1331
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1332
|
+
kind: z.ZodLiteral<"external">;
|
|
1333
|
+
display: z.ZodObject<{
|
|
1334
|
+
kind: z.ZodLiteral<"external">;
|
|
1335
|
+
label: z.ZodString;
|
|
1336
|
+
}, z.core.$strip>;
|
|
1337
|
+
}, z.core.$strip>], "kind">;
|
|
1338
|
+
paymentTerms: z.ZodObject<{
|
|
1339
|
+
allowedOptions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
1340
|
+
kind: z.ZodLiteral<"upfront">;
|
|
1341
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1342
|
+
kind: z.ZodLiteral<"deferred_manual">;
|
|
1343
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1344
|
+
kind: z.ZodLiteral<"instalment_plan">;
|
|
1345
|
+
plan: z.ZodUnion<readonly [z.ZodObject<{
|
|
1346
|
+
kind: z.ZodLiteral<"deposit_plus_one_remainder">;
|
|
1347
|
+
depositAmountCents: z.ZodNumber;
|
|
1348
|
+
depositRefundability: z.ZodEnum<{
|
|
1349
|
+
refundable: "refundable";
|
|
1350
|
+
non_refundable: "non_refundable";
|
|
1351
|
+
}>;
|
|
1352
|
+
remainderDueCount: z.ZodNumber;
|
|
1353
|
+
intervalUnit: z.ZodEnum<{
|
|
1354
|
+
day: "day";
|
|
1355
|
+
week: "week";
|
|
1356
|
+
month: "month";
|
|
1357
|
+
}>;
|
|
1358
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1359
|
+
kind: z.ZodLiteral<"deposit_plus_scheduled_instalments">;
|
|
1360
|
+
depositAmountCents: z.ZodNumber;
|
|
1361
|
+
depositRefundability: z.ZodEnum<{
|
|
1362
|
+
refundable: "refundable";
|
|
1363
|
+
non_refundable: "non_refundable";
|
|
1364
|
+
}>;
|
|
1365
|
+
instalmentCount: z.ZodNumber;
|
|
1366
|
+
intervalCount: z.ZodNumber;
|
|
1367
|
+
intervalUnit: z.ZodEnum<{
|
|
1368
|
+
day: "day";
|
|
1369
|
+
week: "week";
|
|
1370
|
+
month: "month";
|
|
1371
|
+
}>;
|
|
1372
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1373
|
+
kind: z.ZodLiteral<"equal_scheduled_instalments">;
|
|
1374
|
+
instalmentCount: z.ZodNumber;
|
|
1375
|
+
intervalCount: z.ZodNumber;
|
|
1376
|
+
intervalUnit: z.ZodEnum<{
|
|
1377
|
+
day: "day";
|
|
1378
|
+
week: "week";
|
|
1379
|
+
month: "month";
|
|
1380
|
+
}>;
|
|
1381
|
+
}, z.core.$strip>]>;
|
|
1382
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1383
|
+
kind: z.ZodLiteral<"flexible_balance">;
|
|
1384
|
+
config: z.ZodObject<{
|
|
1385
|
+
upfrontAmountCents: z.ZodNumber;
|
|
1386
|
+
dueDateRule: z.ZodUnion<readonly [z.ZodObject<{
|
|
1387
|
+
kind: z.ZodLiteral<"relative_to_start_date">;
|
|
1388
|
+
daysBeforeStart: z.ZodNumber;
|
|
1389
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1390
|
+
kind: z.ZodLiteral<"fixed_calendar_date">;
|
|
1391
|
+
dueAt: z.ZodString;
|
|
1392
|
+
}, z.core.$strip>]>;
|
|
1393
|
+
depositRefundability: z.ZodEnum<{
|
|
1394
|
+
refundable: "refundable";
|
|
1395
|
+
non_refundable: "non_refundable";
|
|
1396
|
+
}>;
|
|
1397
|
+
}, z.core.$strip>;
|
|
1398
|
+
}, z.core.$strip>]>>;
|
|
1399
|
+
}, z.core.$strip>;
|
|
1400
|
+
accessRestriction: z.ZodEnum<{
|
|
1401
|
+
none: "none";
|
|
1402
|
+
category: "category";
|
|
1403
|
+
}>;
|
|
1404
|
+
allowedCategoryIds: z.ZodArray<z.ZodString>;
|
|
1405
|
+
requireGuestDetails: z.ZodOptional<z.ZodBoolean>;
|
|
1406
|
+
acceptsPasses: z.ZodOptional<z.ZodBoolean>;
|
|
1407
|
+
acceptsMemberships: z.ZodOptional<z.ZodBoolean>;
|
|
1408
|
+
wholeSeries: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1409
|
+
eventSeriesId: z.ZodString;
|
|
1410
|
+
pricing: z.ZodObject<{
|
|
1411
|
+
bookingRequirement: z.ZodEnum<{
|
|
1412
|
+
required: "required";
|
|
1413
|
+
none: "none";
|
|
1414
|
+
}>;
|
|
1415
|
+
pricingStrategy: z.ZodEnum<{
|
|
1416
|
+
single: "single";
|
|
1417
|
+
sliding_scale: "sliding_scale";
|
|
1418
|
+
free: "free";
|
|
1419
|
+
tiered: "tiered";
|
|
1420
|
+
}>;
|
|
1421
|
+
currency: z.ZodString;
|
|
1422
|
+
singlePriceAmount: z.ZodNullable<z.ZodNumber>;
|
|
1423
|
+
slidingMinAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1424
|
+
slidingMaxAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1425
|
+
slidingSuggestedAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1426
|
+
paymentTerms: z.ZodObject<{
|
|
1427
|
+
allowedOptions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
1428
|
+
kind: z.ZodLiteral<"upfront">;
|
|
1429
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1430
|
+
kind: z.ZodLiteral<"deferred_manual">;
|
|
1431
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1432
|
+
kind: z.ZodLiteral<"instalment_plan">;
|
|
1433
|
+
plan: z.ZodUnion<readonly [z.ZodObject<{
|
|
1434
|
+
kind: z.ZodLiteral<"deposit_plus_one_remainder">;
|
|
1435
|
+
depositAmountCents: z.ZodNumber;
|
|
1436
|
+
depositRefundability: z.ZodEnum<{
|
|
1437
|
+
refundable: "refundable";
|
|
1438
|
+
non_refundable: "non_refundable";
|
|
1439
|
+
}>;
|
|
1440
|
+
remainderDueCount: z.ZodNumber;
|
|
1441
|
+
intervalUnit: z.ZodEnum<{
|
|
1442
|
+
day: "day";
|
|
1443
|
+
week: "week";
|
|
1444
|
+
month: "month";
|
|
1445
|
+
}>;
|
|
1446
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1447
|
+
kind: z.ZodLiteral<"deposit_plus_scheduled_instalments">;
|
|
1448
|
+
depositAmountCents: z.ZodNumber;
|
|
1449
|
+
depositRefundability: z.ZodEnum<{
|
|
1450
|
+
refundable: "refundable";
|
|
1451
|
+
non_refundable: "non_refundable";
|
|
1452
|
+
}>;
|
|
1453
|
+
instalmentCount: z.ZodNumber;
|
|
1454
|
+
intervalCount: z.ZodNumber;
|
|
1455
|
+
intervalUnit: z.ZodEnum<{
|
|
1456
|
+
day: "day";
|
|
1457
|
+
week: "week";
|
|
1458
|
+
month: "month";
|
|
1459
|
+
}>;
|
|
1460
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1461
|
+
kind: z.ZodLiteral<"equal_scheduled_instalments">;
|
|
1462
|
+
instalmentCount: z.ZodNumber;
|
|
1463
|
+
intervalCount: z.ZodNumber;
|
|
1464
|
+
intervalUnit: z.ZodEnum<{
|
|
1465
|
+
day: "day";
|
|
1466
|
+
week: "week";
|
|
1467
|
+
month: "month";
|
|
1468
|
+
}>;
|
|
1469
|
+
}, z.core.$strip>]>;
|
|
1470
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1471
|
+
kind: z.ZodLiteral<"flexible_balance">;
|
|
1472
|
+
config: z.ZodObject<{
|
|
1473
|
+
upfrontAmountCents: z.ZodNumber;
|
|
1474
|
+
dueDateRule: z.ZodUnion<readonly [z.ZodObject<{
|
|
1475
|
+
kind: z.ZodLiteral<"relative_to_start_date">;
|
|
1476
|
+
daysBeforeStart: z.ZodNumber;
|
|
1477
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1478
|
+
kind: z.ZodLiteral<"fixed_calendar_date">;
|
|
1479
|
+
dueAt: z.ZodString;
|
|
1480
|
+
}, z.core.$strip>]>;
|
|
1481
|
+
depositRefundability: z.ZodEnum<{
|
|
1482
|
+
refundable: "refundable";
|
|
1483
|
+
non_refundable: "non_refundable";
|
|
1484
|
+
}>;
|
|
1485
|
+
}, z.core.$strip>;
|
|
1486
|
+
}, z.core.$strip>]>>;
|
|
1487
|
+
}, z.core.$strip>;
|
|
1488
|
+
options: z.ZodArray<z.ZodObject<{
|
|
1489
|
+
id: z.ZodString;
|
|
1490
|
+
name: z.ZodString;
|
|
1491
|
+
description: z.ZodNullable<z.ZodString>;
|
|
1492
|
+
priceAmount: z.ZodNumber;
|
|
1493
|
+
isActive: z.ZodBoolean;
|
|
1494
|
+
sortOrder: z.ZodNumber;
|
|
1495
|
+
capacityLimit: z.ZodNullable<z.ZodNumber>;
|
|
1496
|
+
saleStartsAt: z.ZodNullable<z.ZodString>;
|
|
1497
|
+
saleEndsAt: z.ZodNullable<z.ZodString>;
|
|
1498
|
+
attendanceScope: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1499
|
+
in_person: "in_person";
|
|
1500
|
+
both: "both";
|
|
1501
|
+
online: "online";
|
|
1502
|
+
}>>>;
|
|
1503
|
+
}, z.core.$strip>>;
|
|
1504
|
+
}, z.core.$strip>;
|
|
1505
|
+
currency: z.ZodString;
|
|
1506
|
+
enrollmentOpen: z.ZodBoolean;
|
|
1507
|
+
}, z.core.$strip>>>;
|
|
1508
|
+
}, z.core.$strip>>;
|
|
1509
|
+
readonly listLayout: z.ZodEnum<{
|
|
1510
|
+
stack: "stack";
|
|
1511
|
+
grid: "grid";
|
|
1512
|
+
compact: "compact";
|
|
1513
|
+
}>;
|
|
1514
|
+
readonly listColumns: z.ZodEnum<{
|
|
1515
|
+
2: "2";
|
|
1516
|
+
3: "3";
|
|
1517
|
+
4: "4";
|
|
1518
|
+
}>;
|
|
1519
|
+
readonly eventsPerPage: z.ZodType<24 | 3 | 6 | 12 | 10 | 30 | 20, unknown, z.core.$ZodTypeInternals<24 | 3 | 6 | 12 | 10 | 30 | 20, unknown>>;
|
|
1520
|
+
readonly paginationAction: z.ZodType<EventListPaginationAction, unknown, z.core.$ZodTypeInternals<EventListPaginationAction, unknown>>;
|
|
1521
|
+
readonly startOfWeek: z.ZodEnum<{
|
|
1522
|
+
monday: "monday";
|
|
1523
|
+
sunday: "sunday";
|
|
1524
|
+
}>;
|
|
1525
|
+
readonly calendarTabViews: z.ZodEnum<{
|
|
1526
|
+
week: "week";
|
|
1527
|
+
month: "month";
|
|
1528
|
+
both: "both";
|
|
1529
|
+
}>;
|
|
1530
|
+
readonly defaultCalendarView: z.ZodEnum<{
|
|
1531
|
+
week: "week";
|
|
1532
|
+
month: "month";
|
|
1533
|
+
}>;
|
|
1534
|
+
readonly showFilters: z.ZodBoolean;
|
|
1535
|
+
readonly showCategoryFilter: z.ZodEnum<{
|
|
1536
|
+
auto: "auto";
|
|
1537
|
+
never: "never";
|
|
1538
|
+
always: "always";
|
|
1539
|
+
}>;
|
|
1540
|
+
readonly showVenueFilter: z.ZodBoolean;
|
|
1541
|
+
readonly showStaffFilter: z.ZodBoolean;
|
|
1542
|
+
readonly eventSurface: z.ZodEnum<{
|
|
1543
|
+
custom: "custom";
|
|
1544
|
+
all: "all";
|
|
1545
|
+
regularClassSchedule: "regularClassSchedule";
|
|
1546
|
+
specialDatedEvents: "specialDatedEvents";
|
|
1547
|
+
}>;
|
|
1548
|
+
readonly filterEventPresets: z.ZodNullable<z.ZodString>;
|
|
1549
|
+
readonly scheduleScope: z.ZodEnum<{
|
|
1550
|
+
any: "any";
|
|
1551
|
+
recurring: "recurring";
|
|
1552
|
+
oneOff: "oneOff";
|
|
1553
|
+
}>;
|
|
1554
|
+
readonly filterCategoryIds: z.ZodNullable<z.ZodString>;
|
|
1555
|
+
readonly filterStaffMemberId: z.ZodNullable<z.ZodString>;
|
|
1556
|
+
readonly filterVenueId: z.ZodNullable<z.ZodString>;
|
|
1557
|
+
readonly showVenue: z.ZodBoolean;
|
|
1558
|
+
readonly showMap: z.ZodBoolean;
|
|
1559
|
+
readonly showCapacity: z.ZodBoolean;
|
|
1560
|
+
readonly buttonVariant: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodEnum<{
|
|
1561
|
+
outline: "outline";
|
|
1562
|
+
accent: "accent";
|
|
1563
|
+
primary: "primary";
|
|
1564
|
+
secondary: "secondary";
|
|
1565
|
+
ghost: "ghost";
|
|
1566
|
+
}>>;
|
|
1567
|
+
readonly buttonText: z.ZodString;
|
|
1568
|
+
readonly emptyMessage: z.ZodString;
|
|
1569
|
+
};
|
|
1570
|
+
export declare const eventCollectionHydrationSchema: z.ZodType<EventCollectionHydration>;
|
|
1571
|
+
export declare function buildEventCollectionDisplay(source: EventCollectionSourceProps): EventCollectionDisplay;
|
|
1572
|
+
export declare function buildEventCollectionHydration(source: EventCollectionSourceProps): EventCollectionHydration;
|
|
1573
|
+
export declare function buildEventCollectionListingDisplay(display: EventCollectionDisplay, prefetchedEvents: boolean, className: string | null): EventListingDisplay;
|