@riverbankcms/sdk 0.139.0 → 0.140.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/{PreviewEditorSidebar-BDeenhi3.mjs → PreviewEditorSidebar-CUyTzd5z.mjs} +4 -4
- package/dist/{PreviewEditorUI-DSRhgjF5.mjs → PreviewEditorUI-Agkw4v5i.mjs} +3 -3
- package/dist/{PreviewQueryProvider-D2K8GLUG.mjs → PreviewQueryProvider-CN0ewic5.mjs} +1 -1
- package/dist/{SdkPreviewModeRuntime-CL7wSnYu.mjs → SdkPreviewModeRuntime-DdbeAdS8.mjs} +22 -8
- package/dist/{SiteChromeCustomizeContext-BhDn-5ir.mjs → SiteChromeCustomizeContext-CqGOz-Kv.mjs} +2053 -1110
- package/dist/_dts/ai/src/contracts/proposals.d.ts +165 -165
- package/dist/_dts/ai/src/contracts/siteStyleProposalSchemas.d.ts +212 -212
- package/dist/_dts/api/src/accessAdmin.d.ts +74 -104
- package/dist/_dts/api/src/aiEndpoints.d.ts +5 -1
- package/dist/_dts/api/src/authSubmission.d.ts +46 -0
- package/dist/_dts/api/src/billing.d.ts +8 -4
- package/dist/_dts/api/src/billingEndpointDefinitions.d.ts +23 -0
- package/dist/_dts/api/src/billingEndpointTypes.d.ts +26 -0
- package/dist/_dts/api/src/blocks.d.ts +2 -0
- package/dist/_dts/api/src/bookingRecords.d.ts +1 -2
- package/dist/_dts/api/src/commercePortalEndpoints.d.ts +8 -1
- package/dist/_dts/api/src/communications.d.ts +0 -1
- package/dist/_dts/api/src/contentRuntime.d.ts +8 -3
- package/dist/_dts/api/src/endpoints.d.ts +93 -64
- package/dist/_dts/api/src/event-destination-policy.d.ts +2 -1
- package/dist/_dts/api/src/footerSettings.d.ts +9 -6
- package/dist/_dts/api/src/index.d.ts +5 -6
- package/dist/_dts/api/src/indexCoreTypes.d.ts +1 -1
- package/dist/_dts/api/src/indexExtendedTypes.d.ts +1 -1
- package/dist/_dts/api/src/mailingListIntegration.d.ts +8 -2
- package/dist/_dts/api/src/navigation/dashboardSettingsNav.d.ts +1 -1
- package/dist/_dts/api/src/navigation/types.d.ts +1 -1
- package/dist/_dts/api/src/onboarding/confirmationResend.d.ts +25 -0
- package/dist/_dts/api/src/onboarding/surfaceData.d.ts +32 -32
- package/dist/_dts/api/src/publicBookingAvailabilityEndpointDefinitions.d.ts +8 -0
- package/dist/_dts/api/src/publicExperience/commerceEndpoints.d.ts +1 -0
- package/dist/_dts/api/src/publicExperience/eventEndpoints.d.ts +11 -3
- package/dist/_dts/api/src/publicExperience/sharedTypes.d.ts +3 -29
- package/dist/_dts/api/src/publicOnboardingAttemptEndpointDefinitions.d.ts +65 -0
- package/dist/_dts/api/src/saveOutcome.d.ts +20 -0
- package/dist/_dts/api/src/sdkContracts.d.ts +3 -22
- package/dist/_dts/api/src/sdkPushContracts.d.ts +18 -0
- package/dist/_dts/api/src/sdkThemeWire.d.ts +44 -44
- package/dist/_dts/api/src/settings/permissions.d.ts +12 -0
- package/dist/_dts/api/src/siteManagementEndpoints.d.ts +9 -5
- package/dist/_dts/api/src/siteOnboarding.d.ts +2 -9
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +2 -4
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +3 -1
- package/dist/_dts/api/src/siteSettings.d.ts +20 -7
- package/dist/_dts/api/src/types.d.ts +77 -77
- package/dist/_dts/api/src/wholeSeriesRuns.d.ts +2 -37
- package/dist/_dts/billing/src/membership/index.d.ts +3 -0
- package/dist/_dts/billing/src/plans/types.d.ts +3 -0
- package/dist/_dts/billing/src/site-arrangements.d.ts +14 -3
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +16 -4
- package/dist/_dts/blocks/src/pageRenderAdmission.d.ts +2 -0
- package/dist/_dts/blocks/src/pageRendererContracts.d.ts +5 -0
- package/dist/_dts/blocks/src/portal/types.d.ts +2 -4
- package/dist/_dts/blocks/src/portal/waitlist-types.d.ts +35 -0
- package/dist/_dts/blocks/src/system/blocks/event-registration.d.ts +2 -0
- package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +42 -0
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +4 -0
- package/dist/_dts/blocks/src/system/data/index.d.ts +2 -2
- package/dist/_dts/blocks/src/system/data/prefetchBlockData.d.ts +2 -1
- package/dist/_dts/blocks/src/system/data/types.d.ts +9 -0
- package/dist/_dts/blocks/src/system/registry.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/api/client.d.ts +0 -28
- package/dist/_dts/blocks/src/system/runtime/api/index.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/api/types/events.d.ts +7 -3
- package/dist/_dts/blocks/src/system/runtime/api/types/portal.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/api/types/waitlist-claims.d.ts +7 -2
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +30 -6
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +15 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/appointment-services.d.ts +43 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationSurface.d.ts +1 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/TicketSelectionStep.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/checkoutRecovery.d.ts +14 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/eventSourceRecovery.d.ts +56 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/types.d.ts +6 -8
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useCheckoutRecovery.d.ts +8 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationSubmit.d.ts +8 -7
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationWizard.d.ts +10 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventSourceRecovery.d.ts +18 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.client.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.interactive.d.ts +24 -6
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.server.d.ts +4 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.interactive.d.ts +6 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.types.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/resolver.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/shared/components/index.d.ts +2 -6
- package/dist/_dts/blocks/src/system/runtime/shared/index.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/shared/useWaitlistClaim.d.ts +2 -0
- package/dist/_dts/commerce/src/purchase/event-registration-errors.d.ts +4 -0
- package/dist/_dts/commerce/src/purchase/orderItemMetadata.d.ts +27 -4
- package/dist/_dts/content-editor/src/controller/EntryControllerProvider.d.ts +2 -1
- package/dist/_dts/content-editor/src/hooks/useBlockAutosave.d.ts +3 -1
- package/dist/_dts/content-editor/src/useFooterComposerState.d.ts +3 -0
- package/dist/_dts/core/src/branded.d.ts +0 -8
- package/dist/_dts/core/src/index.d.ts +1 -0
- package/dist/_dts/core/src/mailing-list-setup-parser.d.ts +1 -1
- package/dist/_dts/core/src/mailing-list-setup.d.ts +14 -1
- package/dist/_dts/core/src/mailing-list-submission.d.ts +7 -27
- package/dist/_dts/core/src/participants.d.ts +2 -29
- package/dist/_dts/core/src/public-experience.d.ts +4 -0
- package/dist/_dts/core/src/public-profile.d.ts +27 -1
- package/dist/_dts/core/src/site-route-target.d.ts +9 -2
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +293 -606
- package/dist/_dts/editor-blocks/src/widgets/mailing-list-targeting/MailingListGlobalSettingsSummary.d.ts +10 -0
- package/dist/_dts/editor-blocks/src/widgets/mailing-list-targeting/MailingListTargetingField.d.ts +3 -2
- package/dist/_dts/editor-blocks/src/widgets/mailing-list-targeting/context.d.ts +3 -2
- package/dist/_dts/editor-blocks/src/widgets/mailing-list-targeting/loaders.d.ts +3 -2
- package/dist/_dts/editor-blocks/src/widgets/mailing-list-targeting/targetingState.d.ts +19 -0
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +14 -20
- package/dist/_dts/sdk/src/rendering/blocks-page-renderer.d.ts +2 -0
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +2 -0
- package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +7 -1
- package/dist/_dts/sdk/src/rendering/helpers/templateContent.d.ts +1 -0
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/theme-core/src/accordions/types.d.ts +3 -3
- package/dist/_dts/theme-core/src/cards/types.d.ts +21 -21
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/header/interactionPalette.d.ts +8 -2
- package/dist/_dts/theme-core/src/header/legacyHeaderVariant.d.ts +2 -2
- package/dist/_dts/theme-core/src/inputs/types.d.ts +2 -2
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +54 -54
- package/dist/_dts/theme-core/src/runtime/buildThemeRuntimeFromBridge.d.ts +1 -4
- package/dist/_dts/theme-core/src/schema.d.ts +84 -84
- package/dist/_dts/theme-core/src/shared/componentStyles.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/backgroundAppearance.d.ts +2 -2
- package/dist/_dts/theme-core/src/surfaces/foregroundInteraction.d.ts +77 -0
- package/dist/_dts/theme-core/src/surfaces/index.d.ts +1 -0
- package/dist/_dts/theme-core/src/typography/generateTypographyCss.d.ts +2 -2
- package/dist/_dts/ui/src/lib/use-delayed-flag.d.ts +9 -0
- package/dist/_dts/ui/src/pending-button.d.ts +10 -0
- package/dist/client/{BookingConsentAgreement-CZvTDtsK.mjs → BookingConsentAgreement-CuKa82V4.mjs} +4 -4
- package/dist/client/{DiscountCodeDisclosure-D-DsLCMU.mjs → DiscountCodeDisclosure-BbYieKWB.mjs} +1 -1
- package/dist/client/{EventCombined.client-dWqgd5ZO.mjs → EventCombined.client-LTfR1Aby.mjs} +6 -6
- package/dist/client/{EventListing.client-BMRa9IYp.mjs → EventListing.client-DUHpYSuo.mjs} +2 -2
- package/dist/client/{LeafletStaticMap-D21W9kBZ.mjs → LeafletStaticMap-CHRupL6m.mjs} +1 -1
- package/dist/client/{accordion-FxF_ta47.mjs → accordion-6HiIFxNL.mjs} +1 -1
- package/dist/client/{bookingForm-YnwW4TGw.mjs → bookingForm-Dlmid43H.mjs} +7 -7
- package/dist/client/bookings.mjs +325 -140
- package/dist/client/{carousel-vng7fFT5.mjs → carousel-DmkZRRq_.mjs} +2 -2
- package/dist/client/{carousel.client-59G_WMr4.mjs → carousel.client-DQTjCVQT.mjs} +1 -1
- package/dist/client/{cart-DEPDsjNk.mjs → cart-CIC24330.mjs} +3 -3
- package/dist/client/{checkout-CZRWu9rW.mjs → checkout-D1Zw9imo.mjs} +3 -3
- package/dist/client/{checkoutUrls-BuseL0dw.mjs → checkoutUrls-FL6lRkrt.mjs} +1 -1
- package/dist/client/client.mjs +1717 -882
- package/dist/client/{colorStyles-CrxJrPjJ.mjs → colorStyles-3013aRAY.mjs} +3 -1
- package/dist/client/{context-DvU_WUmd.mjs → context-Cy1OayHx.mjs} +6 -19
- package/dist/client/{dates-wnPMiRl5.mjs → dates-aDcfoLHr.mjs} +2 -2
- package/dist/client/{eventCalendar-BA3Q5L15.mjs → eventCalendar-FQxMPAjf.mjs} +8 -8
- package/dist/client/{eventCombined-51wgR-1R.mjs → eventCombined-Dr3ac6Hb.mjs} +3 -3
- package/dist/client/{eventDetails-modaetpm.mjs → eventDetails-D-AzUHFQ.mjs} +4 -4
- package/dist/client/{eventListing-D8t2J3Kv.mjs → eventListing-B3XxBf3i.mjs} +3 -3
- package/dist/client/{eventRegistration-CYqtkCE_.mjs → eventRegistration-I6EaokFD.mjs} +500 -152
- package/dist/client/{form-CBKXN5In.mjs → form-BbWckVWY.mjs} +3 -3
- package/dist/client/{headerSection-DylDqNrs.mjs → headerSection-C9qU4Y7x.mjs} +2 -2
- package/dist/client/hooks.mjs +445 -180
- package/dist/client/{locationMap-CvWrG0vZ.mjs → locationMap-CLCShvlG.mjs} +3 -3
- package/dist/client/{media-BOHuueS5.mjs → media-DHpfFwd3.mjs} +1 -1
- package/dist/client/{newsletterForm-Btwk70zw.mjs → newsletterForm-Briukxzi.mjs} +130 -87
- package/dist/client/{pricing-Uzw-GQ6Y.mjs → pricing-Copadu-2.mjs} +1 -1
- package/dist/client/{productDetail-JLcUYKnd.mjs → productDetail-oujlRd-r.mjs} +3 -3
- package/dist/client/{productList-FM0cbUzj.mjs → productList-BRiIRUcd.mjs} +3 -3
- package/dist/client/{propsDecoder-DYzafZb2.mjs → propsDecoder-CB2KS_ko.mjs} +130 -24
- package/dist/client/rendering/client.mjs +911 -400
- package/dist/client/rendering/islands.mjs +19 -19
- package/dist/client/rendering.mjs +1696 -818
- package/dist/client/{scrollToBlock-CvXszexS.mjs → scrollToBlock-B1IS1_ua.mjs} +1 -1
- package/dist/client/{shop-BIcjvy5a.mjs → shop-Vn6yNFED.mjs} +6 -6
- package/dist/client/{shop-commerce-BZQsy7xw.mjs → shop-commerce-BVTqipYp.mjs} +7 -7
- package/dist/client/{shop-commerce-store-D5V7XAb5.mjs → shop-commerce-store-BVnJVy7v.mjs} +1 -1
- package/dist/client/{shopShared-DowkXevB.mjs → shopShared-COIeK77T.mjs} +4 -4
- package/dist/client/{useEventFilters-oMoTw_JE.mjs → useEventFilters-DzIUcS9n.mjs} +7 -7
- package/dist/preview-next/before-render.mjs +119 -64
- package/dist/preview-next/client/runtime.mjs +4 -4
- package/dist/preview-next/keepAlive.mjs +119 -64
- package/dist/preview-next/middleware.mjs +119 -64
- package/dist/{previewAuthStore-COUyAKaX.mjs → previewAuthStore-Gjb6r6vz.mjs} +119 -64
- package/dist/{sdk-runtime-D4k2LSGF.mjs → sdk-runtime-CnCLvZRv.mjs} +2 -2
- package/dist/{separator-UGtpag4Z.mjs → separator-DKDRJ1oH.mjs} +1 -1
- package/dist/server/components.mjs +787 -323
- package/dist/server/config-validation.mjs +328 -79
- package/dist/server/config.mjs +332 -83
- package/dist/server/data.mjs +441 -180
- package/dist/server/index.mjs +126 -66
- package/dist/server/next.mjs +1031 -595
- package/dist/server/page-converter.mjs +183 -74
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +1068 -592
- package/dist/server/rendering.mjs +802 -324
- package/dist/server/routing.mjs +506 -214
- package/dist/server/server.mjs +468 -244
- package/dist/server/theme-bridge.mjs +433 -100
- package/dist/server/theme.mjs +8 -2
- package/dist/styles/index.css +237 -43
- package/package.json +1 -1
- package/dist/_dts/blocks/src/system/runtime/shared/components/BookingOptionCompactRow.d.ts +0 -29
- package/dist/_dts/blocks/src/system/runtime/shared/components/BookingOptionList.d.ts +0 -13
|
@@ -1,88 +1,88 @@
|
|
|
1
|
-
import type { CamelizeKeys, DbDatabase, DbRow } from
|
|
2
|
-
export type { AccessPolicyContract, AccessPolicyTag, AmbientBackgroundRole, CreateMediaAssetBody, EntitledCustomerAccessScopeContract, FileKindContract, FileKindTag, FileUseContract, FileUseTag, ImageFileFormat, MediaAssetResponse, MediaAssetFileFilterContract, MediaBulkDeleteAssetFailure, MediaBulkDeleteResponse, MediaDeleteResponse, MediaDeleteWarning, MediaClassifyJobResponse, MediaJobSummaryResponse, MediaLabelSummary, MediaSettingsResponse, RenderableFileKindTag, SiteBackgroundAssetUse, StorageClass, UploadIntentContract, UploadIntentTag, } from
|
|
3
|
-
export type { AnalyticsPreset, AnalyticsReferrer, AnalyticsReportFilters, AnalyticsReportQuery, AnalyticsReportResponse, AnalyticsSeriesPoint, AnalyticsTopPage, AnalyticsTotals, } from
|
|
4
|
-
export type { AIChatMessage, AiBriefTurn, JsonPrimitive, JsonValue, MediaUsageCheckItem, MediaUsageCheckResponse, MediaUsageLocation, } from
|
|
5
|
-
export type * from
|
|
6
|
-
export { STAFF_OPERATIONAL_CAPABILITIES, getDefaultStaffCapabilities, } from
|
|
7
|
-
export type * from
|
|
8
|
-
export { appointmentResourceIdFromStaffMemberId, canAccessOwnAppointmentResource, deriveLinkedAppointmentIdentity, deriveOpsLandingDestination, deriveSiteListingNavigationPlan, deriveStaffScope, deriveStaffSiteHomeDestination, getIdentityAppointmentResourceId, getIdentityAppointmentResourceIdValue, getIdentityStaffMemberId, getIdentityStaffMemberIdValue, getLinkedStaffMemberId, getOwnAppointmentResourceId, hasAppointmentStaffAccess, hasEventOpsAccess, isEventOpsOnlyUser, isLinkedAppointmentResource, isStaffScoped, isTeamMemberScope, roleAtLeast, roleAtLeastOrNone, shouldRedirectStaffScopeToOps, } from
|
|
9
|
-
export type * from
|
|
10
|
-
export type * from
|
|
11
|
-
export type * from
|
|
12
|
-
export type * from
|
|
13
|
-
export type * from
|
|
14
|
-
export type * from
|
|
15
|
-
export type * from
|
|
16
|
-
export { APPOINTMENT_HISTORY_STATUS_VALUES } from
|
|
17
|
-
export type * from
|
|
18
|
-
export type * from
|
|
19
|
-
export type * from
|
|
20
|
-
export type * from
|
|
21
|
-
export type * from
|
|
1
|
+
import type { CamelizeKeys, DbDatabase, DbRow } from '../../db/src/index';
|
|
2
|
+
export type { AccessPolicyContract, AccessPolicyTag, AmbientBackgroundRole, CreateMediaAssetBody, EntitledCustomerAccessScopeContract, FileKindContract, FileKindTag, FileUseContract, FileUseTag, ImageFileFormat, MediaAssetResponse, MediaAssetFileFilterContract, MediaBulkDeleteAssetFailure, MediaBulkDeleteResponse, MediaDeleteResponse, MediaDeleteWarning, MediaClassifyJobResponse, MediaJobSummaryResponse, MediaLabelSummary, MediaSettingsResponse, RenderableFileKindTag, SiteBackgroundAssetUse, StorageClass, UploadIntentContract, UploadIntentTag, } from './media';
|
|
3
|
+
export type { AnalyticsPreset, AnalyticsReferrer, AnalyticsReportFilters, AnalyticsReportQuery, AnalyticsReportResponse, AnalyticsSeriesPoint, AnalyticsTopPage, AnalyticsTotals, } from './analytics';
|
|
4
|
+
export type { AIChatMessage, AiBriefTurn, JsonPrimitive, JsonValue, MediaUsageCheckItem, MediaUsageCheckResponse, MediaUsageLocation, } from './shared-contracts';
|
|
5
|
+
export type * from './accessAdmin';
|
|
6
|
+
export { STAFF_OPERATIONAL_CAPABILITIES, getDefaultStaffCapabilities, } from './accessAdmin';
|
|
7
|
+
export type * from './staffAccess';
|
|
8
|
+
export { appointmentResourceIdFromStaffMemberId, canAccessOwnAppointmentResource, deriveLinkedAppointmentIdentity, deriveOpsLandingDestination, deriveSiteListingNavigationPlan, deriveStaffScope, deriveStaffSiteHomeDestination, getIdentityAppointmentResourceId, getIdentityAppointmentResourceIdValue, getIdentityStaffMemberId, getIdentityStaffMemberIdValue, getLinkedStaffMemberId, getOwnAppointmentResourceId, hasAppointmentStaffAccess, hasEventOpsAccess, isEventOpsOnlyUser, isLinkedAppointmentResource, isStaffScoped, isTeamMemberScope, roleAtLeast, roleAtLeastOrNone, shouldRedirectStaffScopeToOps, } from './staffAccess';
|
|
9
|
+
export type * from './aiEndpoints';
|
|
10
|
+
export type * from './apiEndpointTypes';
|
|
11
|
+
export type * from './bookingAdjustments';
|
|
12
|
+
export type * from './bookingConfig';
|
|
13
|
+
export type * from './event-listing-destination';
|
|
14
|
+
export type * from './bookingManagementEndpoints';
|
|
15
|
+
export type * from './bookingOperations';
|
|
16
|
+
export { APPOINTMENT_HISTORY_STATUS_VALUES } from './bookingOperations';
|
|
17
|
+
export type * from './bookingRecords';
|
|
18
|
+
export type * from './commercePortalEndpoints';
|
|
19
|
+
export type * from './communications';
|
|
20
|
+
export type * from './contentRuntime';
|
|
21
|
+
export type * from './contentVersionHistory';
|
|
22
22
|
export type * from './wholeSeriesRuns';
|
|
23
|
-
export type * from
|
|
24
|
-
export type * from
|
|
25
|
-
export type * from
|
|
26
|
-
export type * from
|
|
27
|
-
export type * from
|
|
28
|
-
export type * from
|
|
29
|
-
export type * from
|
|
30
|
-
export type * from
|
|
31
|
-
export type * from
|
|
32
|
-
export type * from
|
|
33
|
-
export type * from
|
|
34
|
-
export type * from
|
|
35
|
-
export type * from
|
|
36
|
-
export { FLEXIBLE_BALANCE_ADMIN_ACTION_SOURCES } from
|
|
37
|
-
export type { AppointmentBlackout, AvailabilityScheduleSettings, CreateBlackoutResponse, CreateBlackoutRequest, DeleteBlackoutResponse, GetAvailableSlotsQuery, GetAvailableSlotsResponse, ListAvailabilityRulesResponse, ListBlackoutsResponse, SetWeeklyAvailabilityIssue, SetWeeklyAvailabilityRequest, SetWeeklyAvailabilityResponse, TimeSlot, ServiceSpecificAvailabilityScheduleSettings, WeeklyAvailabilityWindowInput, } from
|
|
38
|
-
export type { CalendarConnectionStatus, CalendarInfo, CalendarPreferences, CalendarStatusResponse, DisconnectCalendarResponse, UpdateCalendarPreferencesRequest, UpdateCalendarPreferencesResponse, } from
|
|
39
|
-
export type { AppointmentRecord, AppointmentStatus, BookingQuestionFormSummary, BookingQuestionRequirementScope, BookingQuestionsRequirementConfig, BookingCustomerRecord, BookingRequirementConfigRequest, BookingRequirementConfigResponse, BookingRequirementTargetType, BookingRequirementValidityPolicy, ConsentRequirementConfig, CreateAppointmentRequest, CreateAppointmentResponse, } from
|
|
40
|
-
export { APPOINTMENT_STATUS_VALUES } from
|
|
41
|
-
export type { AiPatchApplyResponse, AiPatchBlockSetOp, AiPatchDryRunResponse, AiPatchOp, AiPatchPageMetaOp, AiPatchRequest, } from
|
|
42
|
-
export type { AffectedOccurrence, AiDesignerThemePatchOp, AllowedField, ApplyAiDesignerPageOpsRequest, ApplyAiDesignerPageOpsResponse, ApplyAiDesignerThemePatchRequest, ApplyAiDesignerThemePatchResponse, AiPlaygroundApplyRequest, AiPlaygroundApplyResponse, BlockContext, DebugArtifact, DebugArtifacts, ModifiedOccurrence, MultiPagePatchEnvelope, MultiPageUpdateResponse, PageBlock, PageContext, PageConversionAttempt, PageConversionFailure, PageConversionResult, PageConversionSuccess, PageConvertJob, PageConvertJobEvent, PageConvertJobEventsResponse, PageConvertJobEventType, PageConvertJobGetResponse, PageConvertJobRunResponse, PageConvertJobsCreateRequest, PageConvertJobsCreateResponse, PageConvertJobsListResponse, PageConvertJobStatus, PageConverterOutput, PageConvertResponse, PlaygroundProposeRequest, RegenerationSummary, Rfc6902PatchOp, SchedulePreviewRequest, SchedulePreviewResponse, StreamEvent, } from
|
|
43
|
-
export type { ApplySeoChangesRequest, ApplySeoChangesResponse, PerformanceOverviewQuery, PerformanceOverviewResponse, PerformanceRangePreset, SeoOverviewQuery, SeoOverviewResponse, SeoOverviewTimePoint, SeoRangePreset, SeoSearchPagesQuery, SeoSearchPagesResponse, SeoSearchQueriesQuery, SeoSearchQueriesResponse, SeoSearchSummary, } from
|
|
44
|
-
export type { CheckRedirectQuery, CheckRedirectResponse, CreateRedirectRuleRequest, CreateRedirectRuleResponse, DeleteRedirectRuleResponse, ListRedirectRulesResponse, RedirectRuleRecord, } from
|
|
45
|
-
export type { ApplyContentTemplateAddonRequest, ContentTemplateAddonSummary, ContentAddonDefinition, ContentTemplateBlockSummary, ContentTemplateDetailsResponse, ContentTemplateSummary, ContentTypeTemplateSummary, ContentTypeRoutingInfo, ContentTypeRoutingSubroute, ContentTypeRecord, CreateTemplateBlockRequest, ContentTypeSummary, CreateContentTypeRequest, CreateContentTypeResponse, DeleteContentTypeResponse, DuplicateContentTypeResponse, GetTransformsResponse, ListContentTypesResponse, PublicContentTypeFieldMeta, PublicContentTypeMeta, ReorderTemplateBlocksRequest, SerializedContentTypeSummary, TransformMetadata, UpdateContentTemplateBlockBindingsRequest, UpdateContentTemplateBlockRequest, UpdateContentTypeRequest, UpdateContentTypeResponse, } from
|
|
46
|
-
export type { CartLinkLabelConfig, CartLinkPayload, EntryLinkPayload, EntryRoutableContentItem, InternalLinkRoutablePayload, LinkPayload, NavigationLinkInput, PageLinkPayload, PageRoutableContentItem, PageSurfaceRoutableContentItem, PortalLinkPayload, RoutableContentItem, SitemapRouteItem, } from
|
|
47
|
-
export type { SiteBannerAnnouncementRole, SiteBannerCta, SiteBannerScope, SiteBannerSettingsPayload, SiteBannerSettingsResponse, SiteBannerTone, } from
|
|
48
|
-
export type { SitePageBlock, SitePagePayload } from
|
|
49
|
-
export type { SiteAnalyticsCookieBannerCopyOverrides, SiteAnalyticsSettingsPayload, SiteAnalyticsSettingsResponse, } from
|
|
50
|
-
export type { SiteLegalJurisdiction, SiteLegalProfilePayload, SensitiveClientRecordsConfirmationKey, SensitiveClientRecordsMode, SensitiveClientRecordsRetentionProfile, SensitiveClientRecordsSettings, SensitiveClientRecordsUpdatePayload, SitePrivacyPolicyCapabilities, SitePrivacyPolicyDocument, SitePrivacySettings, SitePrivacySettingsPayload, SitePrivacySettingsResponse, SiteRuntimePrivacyPolicy, SitePrivacyPolicySection, } from
|
|
51
|
-
export type { MaintenanceSettingsPayload, MaintenanceSettingsResponse, SiteBusinessAddressPayload, SiteBusinessAddressResponse, SiteDeploymentMode, SiteFooterBlocksEditorBlock, SiteFooterBlocksEditorResponse, SiteGeneralSettingsPayload, SiteGeneralSettingsResponse, SiteLayoutResolvedPayload, SiteLayoutSettingsPayload, SiteLayoutSettingsResponse, SiteRuntimeBusinessDetails, UpdateSiteDeploymentModePayload, UpdateSiteDeploymentModeResponse, UpdateSiteFooterBlocksPayload, UpdateSiteFooterBlocksResponse, } from
|
|
52
|
-
export type { BillingCheckoutRequest, BillingCheckoutResponse, BillingStatusResponse, BillingSummaryComponent, BillingSummaryComponentKind, BillingSummaryComponentSource, BillingSummaryBasePlanComponent, BillingSummarySiteComponent, BillingSummaryAddOnComponent, BillingSummaryResponse, SiteBillingCheckoutResponse, SiteBillingCostResponse, StripeAutomaticTaxIssue, StripeAutomaticTaxReadiness, StripeAutomaticTaxStatus, StripeConnectDisconnectResponse, StripeConnectRestrictions, StripeConnectStartResponse, StripeConnectStatusResponse, UpdateStripeAutomaticTaxRequest, } from
|
|
53
|
-
export type { AiGenerateSiteEntityType, AiGenerateSitePrimaryCta, AiGenerateSiteRequest, AiGenerateSiteResponse, } from
|
|
54
|
-
export { SITE_ROLE_DISPLAY_ORDER, SITE_ROLE_PERMISSION_LEVEL } from
|
|
55
|
-
export type { SiteRole } from
|
|
56
|
-
import type { HTTPMethod, ApiResponseKind, ApiAuthRequirement } from
|
|
23
|
+
export type * from './mailchimpIntegration';
|
|
24
|
+
export type * from './participantMessaging';
|
|
25
|
+
export type * from './publicExperienceEndpoints';
|
|
26
|
+
export type * from './sdkContracts';
|
|
27
|
+
export type * from './sdk-event-payment-terms';
|
|
28
|
+
export type * from './siteInfrastructure';
|
|
29
|
+
export type * from './siteGeneration';
|
|
30
|
+
export type * from './siteManagementEndpoints';
|
|
31
|
+
export type * from './siteOnboarding';
|
|
32
|
+
export type * from './siteOperations';
|
|
33
|
+
export type * from './siteAssets';
|
|
34
|
+
export type * from './sitePlatformEndpoints';
|
|
35
|
+
export type * from './siteRuntimeEndpoints';
|
|
36
|
+
export { FLEXIBLE_BALANCE_ADMIN_ACTION_SOURCES } from './siteOperations';
|
|
37
|
+
export type { AppointmentBlackout, AvailabilityScheduleSettings, CreateBlackoutResponse, CreateBlackoutRequest, DeleteBlackoutResponse, GetAvailableSlotsQuery, GetAvailableSlotsResponse, ListAvailabilityRulesResponse, ListBlackoutsResponse, SetWeeklyAvailabilityIssue, SetWeeklyAvailabilityRequest, SetWeeklyAvailabilityResponse, TimeSlot, ServiceSpecificAvailabilityScheduleSettings, WeeklyAvailabilityWindowInput, } from './availability';
|
|
38
|
+
export type { CalendarConnectionStatus, CalendarInfo, CalendarPreferences, CalendarStatusResponse, DisconnectCalendarResponse, UpdateCalendarPreferencesRequest, UpdateCalendarPreferencesResponse, } from './calendar';
|
|
39
|
+
export type { AppointmentRecord, AppointmentStatus, BookingQuestionFormSummary, BookingQuestionRequirementScope, BookingQuestionsRequirementConfig, BookingCustomerRecord, BookingRequirementConfigRequest, BookingRequirementConfigResponse, BookingRequirementTargetType, BookingRequirementValidityPolicy, ConsentRequirementConfig, CreateAppointmentRequest, CreateAppointmentResponse, } from './bookings';
|
|
40
|
+
export { APPOINTMENT_STATUS_VALUES } from './bookings';
|
|
41
|
+
export type { AiPatchApplyResponse, AiPatchBlockSetOp, AiPatchDryRunResponse, AiPatchOp, AiPatchPageMetaOp, AiPatchRequest, } from './aiPatch';
|
|
42
|
+
export type { AffectedOccurrence, AiDesignerThemePatchOp, AllowedField, ApplyAiDesignerPageOpsRequest, ApplyAiDesignerPageOpsResponse, ApplyAiDesignerThemePatchRequest, ApplyAiDesignerThemePatchResponse, AiPlaygroundApplyRequest, AiPlaygroundApplyResponse, BlockContext, DebugArtifact, DebugArtifacts, ModifiedOccurrence, MultiPagePatchEnvelope, MultiPageUpdateResponse, PageBlock, PageContext, PageConversionAttempt, PageConversionFailure, PageConversionResult, PageConversionSuccess, PageConvertJob, PageConvertJobEvent, PageConvertJobEventsResponse, PageConvertJobEventType, PageConvertJobGetResponse, PageConvertJobRunResponse, PageConvertJobsCreateRequest, PageConvertJobsCreateResponse, PageConvertJobsListResponse, PageConvertJobStatus, PageConverterOutput, PageConvertResponse, PlaygroundProposeRequest, RegenerationSummary, Rfc6902PatchOp, SchedulePreviewRequest, SchedulePreviewResponse, StreamEvent, } from './aiPlayground';
|
|
43
|
+
export type { ApplySeoChangesRequest, ApplySeoChangesResponse, PerformanceOverviewQuery, PerformanceOverviewResponse, PerformanceRangePreset, SeoOverviewQuery, SeoOverviewResponse, SeoOverviewTimePoint, SeoRangePreset, SeoSearchPagesQuery, SeoSearchPagesResponse, SeoSearchQueriesQuery, SeoSearchQueriesResponse, SeoSearchSummary, } from './seo';
|
|
44
|
+
export type { CheckRedirectQuery, CheckRedirectResponse, CreateRedirectRuleRequest, CreateRedirectRuleResponse, DeleteRedirectRuleResponse, ListRedirectRulesResponse, RedirectRuleRecord, } from './redirects';
|
|
45
|
+
export type { ApplyContentTemplateAddonRequest, ContentTemplateAddonSummary, ContentAddonDefinition, ContentTemplateBlockSummary, ContentTemplateDetailsResponse, ContentTemplateSummary, ContentTypeTemplateSummary, ContentTypeRoutingInfo, ContentTypeRoutingSubroute, ContentTypeRecord, CreateTemplateBlockRequest, ContentTypeSummary, CreateContentTypeRequest, CreateContentTypeResponse, DeleteContentTypeResponse, DuplicateContentTypeResponse, GetTransformsResponse, ListContentTypesResponse, PublicContentTypeFieldMeta, PublicContentTypeMeta, ReorderTemplateBlocksRequest, SerializedContentTypeSummary, TransformMetadata, UpdateContentTemplateBlockBindingsRequest, UpdateContentTemplateBlockRequest, UpdateContentTypeRequest, UpdateContentTypeResponse, } from './contentTypes';
|
|
46
|
+
export type { CartLinkLabelConfig, CartLinkPayload, EntryLinkPayload, EntryRoutableContentItem, InternalLinkRoutablePayload, LinkPayload, NavigationLinkInput, PageLinkPayload, PageRoutableContentItem, PageSurfaceRoutableContentItem, PortalLinkPayload, RoutableContentItem, SitemapRouteItem, } from './navigation/types';
|
|
47
|
+
export type { SiteBannerAnnouncementRole, SiteBannerCta, SiteBannerScope, SiteBannerSettingsPayload, SiteBannerSettingsResponse, SiteBannerTone, } from './siteBanner';
|
|
48
|
+
export type { SitePageBlock, SitePagePayload } from './sitePages';
|
|
49
|
+
export type { SiteAnalyticsCookieBannerCopyOverrides, SiteAnalyticsSettingsPayload, SiteAnalyticsSettingsResponse, } from './siteAnalytics';
|
|
50
|
+
export type { SiteLegalJurisdiction, SiteLegalProfilePayload, SensitiveClientRecordsConfirmationKey, SensitiveClientRecordsMode, SensitiveClientRecordsRetentionProfile, SensitiveClientRecordsSettings, SensitiveClientRecordsUpdatePayload, SitePrivacyPolicyCapabilities, SitePrivacyPolicyDocument, SitePrivacySettings, SitePrivacySettingsPayload, SitePrivacySettingsResponse, SiteRuntimePrivacyPolicy, SitePrivacyPolicySection, } from './privacyPolicy';
|
|
51
|
+
export type { MaintenanceSettingsPayload, MaintenanceSettingsResponse, SiteBusinessAddressPayload, SiteBusinessAddressResponse, SiteDeploymentMode, SiteFooterBlocksEditorBlock, SiteFooterBlocksEditorResponse, SiteGeneralSettingsPayload, SiteGeneralSettingsResponse, SiteLayoutResolvedPayload, SiteLayoutSettingsPayload, SiteLayoutSettingsResponse, SiteRuntimeBusinessDetails, SiteRuntimeBookingAttribution, UpdateSiteDeploymentModePayload, UpdateSiteDeploymentModeResponse, UpdateSiteFooterBlocksPayload, UpdateSiteFooterBlocksResponse, } from './siteSettings';
|
|
52
|
+
export type { BillingCheckoutRequest, BillingCheckoutResponse, BillingStatusResponse, BillingSummaryComponent, BillingSummaryComponentKind, BillingSummaryComponentSource, BillingSummaryBasePlanComponent, BillingSummarySiteComponent, BillingSummaryAddOnComponent, BillingSummaryResponse, SiteBillingCheckoutResponse, SiteBillingCostResponse, StripeAutomaticTaxIssue, StripeAutomaticTaxReadiness, StripeAutomaticTaxStatus, StripeConnectDisconnectResponse, StripeConnectRestrictions, StripeConnectStartResponse, StripeConnectStatusResponse, UpdateStripeAutomaticTaxRequest, } from './billing';
|
|
53
|
+
export type { AiGenerateSiteEntityType, AiGenerateSitePrimaryCta, AiGenerateSiteRequest, AiGenerateSiteResponse, } from './siteGeneration';
|
|
54
|
+
export { SITE_ROLE_DISPLAY_ORDER, SITE_ROLE_PERMISSION_LEVEL, } from './siteMembers';
|
|
55
|
+
export type { SiteRole } from './siteMembers';
|
|
56
|
+
import type { HTTPMethod, ApiResponseKind, ApiAuthRequirement } from './common/types';
|
|
57
57
|
export type { HTTPMethod, ApiResponseKind, ApiAuthRequirement };
|
|
58
|
-
export type { AdminProfileRole, AdminRoleMutationResponse, RevokeAdminRoleRequest, StartImpersonationRequest, StartImpersonationResponse, StopImpersonationRequest, StopImpersonationResponse, UpsertAdminRoleRequest, } from
|
|
58
|
+
export type { AdminProfileRole, AdminRoleMutationResponse, RevokeAdminRoleRequest, StartImpersonationRequest, StartImpersonationResponse, StopImpersonationRequest, StopImpersonationResponse, UpsertAdminRoleRequest, } from './admin/types';
|
|
59
59
|
import type { AccountAPIEndpoints } from './accountEndpoints';
|
|
60
60
|
export type * from './accountEndpoints';
|
|
61
|
-
import type { AiAndLaunchReadinessAPIEndpointDefinitions, AiAPIEndpointName, AiAPIEndpoints, LaunchReadinessAPIEndpointName, LaunchReadinessAPIEndpoints } from
|
|
62
|
-
import type { BookingManagementAPIEndpoints } from
|
|
63
|
-
import type { CommercePortalAPIEndpoints } from
|
|
64
|
-
import type { MailchimpIntegrationAPIEndpoints } from
|
|
65
|
-
import type { MailingListIntegrationAPIEndpoints } from
|
|
66
|
-
import type { PublicExperienceAPIEndpoints } from
|
|
67
|
-
import type { SeoEndpointDefinitions } from
|
|
68
|
-
import type { SiteManagementAPIEndpoints } from
|
|
69
|
-
import type { SitePlatformAPIEndpoints } from
|
|
70
|
-
import type { SiteRuntimeAPIEndpoints } from
|
|
71
|
-
type TableName = keyof DbDatabase[
|
|
61
|
+
import type { AiAndLaunchReadinessAPIEndpointDefinitions, AiAPIEndpointName, AiAPIEndpoints, LaunchReadinessAPIEndpointName, LaunchReadinessAPIEndpoints } from './aiEndpoints';
|
|
62
|
+
import type { BookingManagementAPIEndpoints } from './bookingManagementEndpoints';
|
|
63
|
+
import type { CommercePortalAPIEndpoints } from './commercePortalEndpoints';
|
|
64
|
+
import type { MailchimpIntegrationAPIEndpoints } from './mailchimpIntegration';
|
|
65
|
+
import type { MailingListIntegrationAPIEndpoints } from './mailingListIntegration';
|
|
66
|
+
import type { PublicExperienceAPIEndpoints } from './publicExperienceEndpoints';
|
|
67
|
+
import type { SeoEndpointDefinitions } from './seoEndpoints';
|
|
68
|
+
import type { SiteManagementAPIEndpoints } from './siteManagementEndpoints';
|
|
69
|
+
import type { SitePlatformAPIEndpoints } from './sitePlatformEndpoints';
|
|
70
|
+
import type { SiteRuntimeAPIEndpoints } from './siteRuntimeEndpoints';
|
|
71
|
+
type TableName = keyof DbDatabase['public']['Tables'];
|
|
72
72
|
export type DTOType<K extends TableName> = Partial<CamelizeKeys<DbRow<K>>>;
|
|
73
73
|
type APIEndpointsMonolith = AiAndLaunchReadinessAPIEndpointDefinitions & AccountAPIEndpoints & SeoEndpointDefinitions & SiteManagementAPIEndpoints & PublicExperienceAPIEndpoints & SiteRuntimeAPIEndpoints & SitePlatformAPIEndpoints & BookingManagementAPIEndpoints & CommercePortalAPIEndpoints & MailchimpIntegrationAPIEndpoints & MailingListIntegrationAPIEndpoints;
|
|
74
74
|
type ComposeEndpointMaps<Maps extends readonly object[], Acc extends object = {}> = Maps extends readonly [
|
|
75
75
|
infer Head extends object,
|
|
76
76
|
...infer Tail extends readonly object[]
|
|
77
77
|
] ? [Extract<keyof Acc, keyof Head>] extends [never] ? ComposeEndpointMaps<Tail, Acc & Head> : never : Acc;
|
|
78
|
-
type SiteMembersAPIEndpointName =
|
|
79
|
-
type SeoAPIEndpointName =
|
|
80
|
-
type RedirectsAPIEndpointName =
|
|
81
|
-
type AvailabilityAPIEndpointName =
|
|
82
|
-
type CalendarAPIEndpointName =
|
|
83
|
-
type ContentTypesAPIEndpointName =
|
|
84
|
-
type MediaAPIEndpointName =
|
|
85
|
-
type ComposedDomainEndpointNames =
|
|
78
|
+
type SiteMembersAPIEndpointName = 'listSiteMembers' | 'inviteSiteMember' | 'updateSiteMemberRole' | 'linkCurrentUserPractitioner' | 'unlinkCurrentUserPractitioner' | 'removeSiteMember' | 'revokeSiteInvitation' | 'resendSiteInvitation' | 'transferSiteOwnership' | 'acceptSiteInvitation';
|
|
79
|
+
type SeoAPIEndpointName = 'getSeoOverview' | 'getSeoPages' | 'exportSeoPagesCsv' | 'getSeoQueries' | 'exportSeoQueriesCsv' | 'getPerformanceOverview' | 'applySeoChanges';
|
|
80
|
+
type RedirectsAPIEndpointName = 'checkRedirect' | 'listRedirectRules' | 'createRedirectRule' | 'deleteRedirectRule';
|
|
81
|
+
type AvailabilityAPIEndpointName = 'listAvailabilityRules' | 'setWeeklyAvailability' | 'setServiceSpecificAvailability' | 'deleteServiceSpecificAvailability' | 'listBlackouts' | 'createBlackout' | 'deleteBlackout' | 'getAvailableSlots';
|
|
82
|
+
type CalendarAPIEndpointName = 'getCalendarStatus' | 'updateCalendarPreferences' | 'disconnectCalendar';
|
|
83
|
+
type ContentTypesAPIEndpointName = 'listContentTypes' | 'createContentType' | 'updateContentType' | 'deleteContentType' | 'duplicateContentType';
|
|
84
|
+
type MediaAPIEndpointName = 'createMediaAsset' | 'mediaList' | 'mediaProductFileList' | 'mediaGet' | 'mediaUpdate' | 'mediaCanonicalCrop' | 'mediaDelete' | 'mediaBulkDelete' | 'mediaUsageCheck' | 'mediaGetSignedUrl' | 'createMediaUploadUrl' | 'mediaUpload' | 'getMediaLabels' | 'getMediaSettings' | 'updateMediaSettings' | 'mediaSearch' | 'classifyMediaAsset' | 'classifyMediaBatch' | 'enqueueMediaClassifyJob' | 'runMediaClassifyJob' | 'runAllMediaClassifyJobs' | 'mediaJobsStatus';
|
|
85
|
+
type ComposedDomainEndpointNames = 'accountGetIdentity' | 'accountListSites' | 'accountCreateSite' | 'accountProvisionProjectCredentials' | AiAPIEndpointName | LaunchReadinessAPIEndpointName | SiteMembersAPIEndpointName | SeoAPIEndpointName | RedirectsAPIEndpointName | AvailabilityAPIEndpointName | CalendarAPIEndpointName | ContentTypesAPIEndpointName | MediaAPIEndpointName | 'listMailchimpAudiences';
|
|
86
86
|
export type SiteMembersAPIEndpoints = Pick<APIEndpointsMonolith, SiteMembersAPIEndpointName>;
|
|
87
87
|
export type SeoAPIEndpoints = Pick<APIEndpointsMonolith, SeoAPIEndpointName>;
|
|
88
88
|
export type RedirectsAPIEndpoints = Pick<APIEndpointsMonolith, RedirectsAPIEndpointName>;
|
|
@@ -103,8 +103,8 @@ type DomainAPIEndpointMaps = [
|
|
|
103
103
|
CalendarAPIEndpoints,
|
|
104
104
|
ContentTypesAPIEndpoints,
|
|
105
105
|
MediaAPIEndpoints,
|
|
106
|
-
Pick<APIEndpointsMonolith,
|
|
106
|
+
Pick<APIEndpointsMonolith, 'listMailchimpAudiences'>
|
|
107
107
|
];
|
|
108
108
|
type ComposedAPIEndpointMaps = [...DomainAPIEndpointMaps, RemainingAPIEndpoints];
|
|
109
109
|
export type APIEndpoints = ComposeEndpointMaps<ComposedAPIEndpointMaps>;
|
|
110
|
-
export type * from
|
|
110
|
+
export type * from './apiCallParams';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { EventLifecycleStatus } from './eventManagementContracts';
|
|
2
2
|
export type { WholeSeriesRunCancellationSettlement } from './eventManagementContracts';
|
|
3
3
|
/**
|
|
4
4
|
* Whole-series Event contracts
|
|
@@ -9,43 +9,8 @@ export type { WholeSeriesRunCancellationSettlement } from './eventManagementCont
|
|
|
9
9
|
* Note: Do NOT use these API types as validation schemas. They document wire
|
|
10
10
|
* contracts while the owning services validate and normalize inputs.
|
|
11
11
|
*/
|
|
12
|
-
export type WholeSeriesRunStatus =
|
|
12
|
+
export type WholeSeriesRunStatus = EventLifecycleStatus;
|
|
13
13
|
export type WholeSeriesRunMutableStatus = Exclude<WholeSeriesRunStatus, 'completed'>;
|
|
14
|
-
export type WholeSeriesRunSeriesRecord = {
|
|
15
|
-
id: string;
|
|
16
|
-
title: string;
|
|
17
|
-
slug: string;
|
|
18
|
-
/** Denormalized presentation projection from the linked content entry (e.g. summary). */
|
|
19
|
-
presentationJson: unknown;
|
|
20
|
-
venueId: string | null;
|
|
21
|
-
capacity: number | null;
|
|
22
|
-
eventCategoryId: string | null;
|
|
23
|
-
staffMemberIds?: string[];
|
|
24
|
-
mainHostStaffMemberId?: string | null;
|
|
25
|
-
status: string;
|
|
26
|
-
};
|
|
27
|
-
export type WholeSeriesRunRecord = {
|
|
28
|
-
id: string;
|
|
29
|
-
siteId: string;
|
|
30
|
-
seriesId: string;
|
|
31
|
-
eventOfferingId: string;
|
|
32
|
-
enrollmentCapacity: number | null;
|
|
33
|
-
acceptsMemberships: boolean;
|
|
34
|
-
waitlistMode: WaitlistOverride;
|
|
35
|
-
bookingOffer: BookingPricing;
|
|
36
|
-
status: WholeSeriesRunStatus;
|
|
37
|
-
createdAt: string;
|
|
38
|
-
updatedAt: string;
|
|
39
|
-
series: WholeSeriesRunSeriesRecord;
|
|
40
|
-
sessionsCount: number;
|
|
41
|
-
/** Total registrations for this run (all statuses, including cancelled/waitlist). */
|
|
42
|
-
enrollmentsCount: number;
|
|
43
|
-
/** Seat-holding enrollments (enrolled, pending_payment, completed). */
|
|
44
|
-
enrolledCount: number;
|
|
45
|
-
};
|
|
46
|
-
export type UpdateWholeSeriesRunResponse = {
|
|
47
|
-
run: WholeSeriesRunRecord;
|
|
48
|
-
};
|
|
49
14
|
export type DeleteWholeSeriesRunResponse = {
|
|
50
15
|
message: string;
|
|
51
16
|
};
|
|
@@ -3,6 +3,7 @@ import { type SubscriptionRepository, type SubscriptionRecord } from '../subscri
|
|
|
3
3
|
import { type PlanStanding } from '../plans/standing';
|
|
4
4
|
export interface MembershipState {
|
|
5
5
|
userId: string;
|
|
6
|
+
planStanding: 'paid' | 'payment_recovery' | 'free';
|
|
6
7
|
planId: BillingPlanId;
|
|
7
8
|
interval: BillingInterval;
|
|
8
9
|
status: SubscriptionRecord['status'];
|
|
@@ -13,6 +14,8 @@ export interface MembershipState {
|
|
|
13
14
|
}
|
|
14
15
|
export interface MembershipSummary {
|
|
15
16
|
userId: string;
|
|
17
|
+
/** Canonical effective standing; consumers must not reconstruct it from provider status. */
|
|
18
|
+
planStanding: 'paid' | 'payment_recovery' | 'free';
|
|
16
19
|
/** Effective entitlement plan. Provider subscription identity remains in the repository. */
|
|
17
20
|
planId: BillingPlanId;
|
|
18
21
|
interval: BillingInterval;
|
|
@@ -38,6 +38,8 @@ export declare const BRANDING_TIERS: readonly ["macadamia_visible", "light_custo
|
|
|
38
38
|
export type BrandingTier = (typeof BRANDING_TIERS)[number];
|
|
39
39
|
export declare const TEAM_TIERS: readonly ["owner_only", "multi_practitioner"];
|
|
40
40
|
export type TeamTier = (typeof TEAM_TIERS)[number];
|
|
41
|
+
export declare const WEBSITE_TIERS: readonly ["hosted_booking", "full"];
|
|
42
|
+
export type WebsiteTier = (typeof WEBSITE_TIERS)[number];
|
|
41
43
|
export declare const WEBSITE_COLLABORATOR_ROLES: readonly ["editor", "administrator"];
|
|
42
44
|
export type WebsiteCollaboratorRole = (typeof WEBSITE_COLLABORATOR_ROLES)[number];
|
|
43
45
|
export declare const WEBSITE_COLLABORATION_VISITOR_ROLES: readonly ["owner", "administrator", "editor", "team_member"];
|
|
@@ -97,6 +99,7 @@ export interface PlanEntitlements {
|
|
|
97
99
|
newsletter: NewsletterTier;
|
|
98
100
|
branding: BrandingTier;
|
|
99
101
|
team: TeamTier;
|
|
102
|
+
website: WebsiteTier;
|
|
100
103
|
}
|
|
101
104
|
export interface PlanDefinition {
|
|
102
105
|
id: BillingPlanId;
|
|
@@ -58,8 +58,8 @@ export type SiteBillingSubscriptionSnapshot = Readonly<{
|
|
|
58
58
|
origin: BillingSubscriptionOrigin | null;
|
|
59
59
|
status: string;
|
|
60
60
|
}> | null;
|
|
61
|
-
export type SiteBillingManualReviewReason = 'ambiguous_subscription_origin' | 'active_site_linked_add_on' | 'admin_requested_manual_review' | 'missing_admin_subscription_choice' | 'subscription_action_failed';
|
|
62
|
-
export declare const SITE_BILLING_MANUAL_REVIEW_REASONS: readonly ["ambiguous_subscription_origin", "active_site_linked_add_on", "admin_requested_manual_review", "missing_admin_subscription_choice", "subscription_action_failed"];
|
|
61
|
+
export type SiteBillingManualReviewReason = 'ambiguous_subscription_origin' | 'active_site_linked_add_on' | 'admin_requested_manual_review' | 'missing_admin_subscription_choice' | 'practitioner_limit_exceeded' | 'live_site_allowance_exceeded' | 'subscription_action_failed';
|
|
62
|
+
export declare const SITE_BILLING_MANUAL_REVIEW_REASONS: readonly ["ambiguous_subscription_origin", "active_site_linked_add_on", "admin_requested_manual_review", "missing_admin_subscription_choice", "practitioner_limit_exceeded", "live_site_allowance_exceeded", "subscription_action_failed"];
|
|
63
63
|
export type SiteBillingManualReviewStatus = 'open' | 'resolved';
|
|
64
64
|
export declare const SITE_BILLING_MANUAL_REVIEW_STATUSES: readonly ["open", "resolved"];
|
|
65
65
|
export type SiteBillingManualReviewResolutionAction = 'external_action_completed' | 'no_action_needed' | 'duplicate' | 'superseded_by_arrangement_change' | 'accepted_risk';
|
|
@@ -78,6 +78,17 @@ export type SiteBillingManualReviewDetailsByReason = Readonly<{
|
|
|
78
78
|
missing_admin_subscription_choice: Readonly<{
|
|
79
79
|
subscriptionId: string | null;
|
|
80
80
|
}>;
|
|
81
|
+
practitioner_limit_exceeded: Readonly<{
|
|
82
|
+
previousPlanId: string;
|
|
83
|
+
resultingPlanId: string;
|
|
84
|
+
practitionerCount: number;
|
|
85
|
+
}>;
|
|
86
|
+
live_site_allowance_exceeded: Readonly<{
|
|
87
|
+
previousPlanId: string;
|
|
88
|
+
resultingPlanId: string;
|
|
89
|
+
liveSiteCount: number;
|
|
90
|
+
includedLiveSiteCount: number;
|
|
91
|
+
}>;
|
|
81
92
|
subscription_action_failed: Readonly<{
|
|
82
93
|
action: SiteBillingManualReviewFailureAction;
|
|
83
94
|
error: string;
|
|
@@ -92,7 +103,7 @@ export type SiteBillingManualReviewPayload = {
|
|
|
92
103
|
details: SiteBillingManualReviewDetailsByReason[TReason];
|
|
93
104
|
}>;
|
|
94
105
|
}[SiteBillingManualReviewReason];
|
|
95
|
-
export type SiteBillingArrangementPlanManualReviewReason = Exclude<SiteBillingManualReviewReason, 'subscription_action_failed'>;
|
|
106
|
+
export type SiteBillingArrangementPlanManualReviewReason = Exclude<SiteBillingManualReviewReason, 'subscription_action_failed' | 'practitioner_limit_exceeded' | 'live_site_allowance_exceeded'>;
|
|
96
107
|
export type SiteBillingArrangementSubscriptionAction = 'not_applicable' | 'sync_attempted' | 'cancelled_immediately' | 'scheduled_cancel_at_period_end' | 'manual_review_required' | 'failed';
|
|
97
108
|
export declare const SITE_BILLING_ARRANGEMENT_SUBSCRIPTION_ACTIONS: readonly ["not_applicable", "sync_attempted", "cancelled_immediately", "scheduled_cancel_at_period_end", "manual_review_required", "failed"];
|
|
98
109
|
export declare const SITE_BILLING_ARRANGEMENT_CHANGE_ORIGINS: readonly ["native_arrangement_change", "imported_legacy_cost_history"];
|
|
@@ -188,7 +188,9 @@ export declare const proofBlockIslandCodecs: {
|
|
|
188
188
|
mode: "event-registration";
|
|
189
189
|
} & Readonly<{
|
|
190
190
|
display: EventRegistrationDisplay;
|
|
191
|
-
hydration: Readonly<Omit<import("../system/runtime/nodes/event-registration").EventRegistrationClientProps, "siteId" | "stage" | "className" | "buttonText"
|
|
191
|
+
hydration: Readonly<Omit<import("../system/runtime/nodes/event-registration").EventRegistrationClientProps, "siteId" | "stage" | "className" | "events" | "buttonText"> & {
|
|
192
|
+
eventSource: import("../system/runtime/nodes/event-registration/eventSourceRecovery").EventRegistrationEventSource;
|
|
193
|
+
}>;
|
|
192
194
|
}>>;
|
|
193
195
|
}>) => unknown;
|
|
194
196
|
decode: (input: unknown) => import("./runtime").DecodeResult<Readonly<Readonly<{
|
|
@@ -203,7 +205,9 @@ export declare const proofBlockIslandCodecs: {
|
|
|
203
205
|
mode: "event-registration";
|
|
204
206
|
} & Readonly<{
|
|
205
207
|
display: EventRegistrationDisplay;
|
|
206
|
-
hydration: Readonly<Omit<import("../system/runtime/nodes/event-registration").EventRegistrationClientProps, "siteId" | "stage" | "className" | "buttonText"
|
|
208
|
+
hydration: Readonly<Omit<import("../system/runtime/nodes/event-registration").EventRegistrationClientProps, "siteId" | "stage" | "className" | "events" | "buttonText"> & {
|
|
209
|
+
eventSource: import("../system/runtime/nodes/event-registration/eventSourceRecovery").EventRegistrationEventSource;
|
|
210
|
+
}>;
|
|
207
211
|
}>>;
|
|
208
212
|
}>>;
|
|
209
213
|
}>;
|
|
@@ -421,6 +425,7 @@ export declare const proofBlockIslandCodecs: {
|
|
|
421
425
|
availability: "ready" | "unavailable";
|
|
422
426
|
className: string | null;
|
|
423
427
|
buttonLabel: string;
|
|
428
|
+
successMessage: string;
|
|
424
429
|
buttonVariant: import("../system/runtime/nodes/newsletter-form.types").NewsletterButtonVariant;
|
|
425
430
|
privacyNote: string | null;
|
|
426
431
|
fields: readonly import("../system/runtime/nodes/newsletter-form.types").NewsletterFieldDef[];
|
|
@@ -451,6 +456,7 @@ export declare const proofBlockIslandCodecs: {
|
|
|
451
456
|
availability: "ready" | "unavailable";
|
|
452
457
|
className: string | null;
|
|
453
458
|
buttonLabel: string;
|
|
459
|
+
successMessage: string;
|
|
454
460
|
buttonVariant: import("../system/runtime/nodes/newsletter-form.types").NewsletterButtonVariant;
|
|
455
461
|
privacyNote: string | null;
|
|
456
462
|
fields: readonly import("../system/runtime/nodes/newsletter-form.types").NewsletterFieldDef[];
|
|
@@ -1118,7 +1124,9 @@ export declare const runtimeIslandCodecs: {
|
|
|
1118
1124
|
mode: "event-registration";
|
|
1119
1125
|
} & Readonly<{
|
|
1120
1126
|
display: EventRegistrationDisplay;
|
|
1121
|
-
hydration: Readonly<Omit<import("../system/runtime/nodes/event-registration").EventRegistrationClientProps, "siteId" | "stage" | "className" | "buttonText"
|
|
1127
|
+
hydration: Readonly<Omit<import("../system/runtime/nodes/event-registration").EventRegistrationClientProps, "siteId" | "stage" | "className" | "events" | "buttonText"> & {
|
|
1128
|
+
eventSource: import("../system/runtime/nodes/event-registration/eventSourceRecovery").EventRegistrationEventSource;
|
|
1129
|
+
}>;
|
|
1122
1130
|
}>>;
|
|
1123
1131
|
}>) => unknown;
|
|
1124
1132
|
decode: (input: unknown) => import("./runtime").DecodeResult<Readonly<Readonly<{
|
|
@@ -1133,7 +1141,9 @@ export declare const runtimeIslandCodecs: {
|
|
|
1133
1141
|
mode: "event-registration";
|
|
1134
1142
|
} & Readonly<{
|
|
1135
1143
|
display: EventRegistrationDisplay;
|
|
1136
|
-
hydration: Readonly<Omit<import("../system/runtime/nodes/event-registration").EventRegistrationClientProps, "siteId" | "stage" | "className" | "buttonText"
|
|
1144
|
+
hydration: Readonly<Omit<import("../system/runtime/nodes/event-registration").EventRegistrationClientProps, "siteId" | "stage" | "className" | "events" | "buttonText"> & {
|
|
1145
|
+
eventSource: import("../system/runtime/nodes/event-registration/eventSourceRecovery").EventRegistrationEventSource;
|
|
1146
|
+
}>;
|
|
1137
1147
|
}>>;
|
|
1138
1148
|
}>>;
|
|
1139
1149
|
}>;
|
|
@@ -1351,6 +1361,7 @@ export declare const runtimeIslandCodecs: {
|
|
|
1351
1361
|
availability: "ready" | "unavailable";
|
|
1352
1362
|
className: string | null;
|
|
1353
1363
|
buttonLabel: string;
|
|
1364
|
+
successMessage: string;
|
|
1354
1365
|
buttonVariant: import("../system/runtime/nodes/newsletter-form.types").NewsletterButtonVariant;
|
|
1355
1366
|
privacyNote: string | null;
|
|
1356
1367
|
fields: readonly import("../system/runtime/nodes/newsletter-form.types").NewsletterFieldDef[];
|
|
@@ -1381,6 +1392,7 @@ export declare const runtimeIslandCodecs: {
|
|
|
1381
1392
|
availability: "ready" | "unavailable";
|
|
1382
1393
|
className: string | null;
|
|
1383
1394
|
buttonLabel: string;
|
|
1395
|
+
successMessage: string;
|
|
1384
1396
|
buttonVariant: import("../system/runtime/nodes/newsletter-form.types").NewsletterButtonVariant;
|
|
1385
1397
|
privacyNote: string | null;
|
|
1386
1398
|
fields: readonly import("../system/runtime/nodes/newsletter-form.types").NewsletterFieldDef[];
|
|
@@ -11,6 +11,7 @@ export type RenderablePageBlock = Readonly<{
|
|
|
11
11
|
kind: Block['kind'];
|
|
12
12
|
purpose: Block['purpose'];
|
|
13
13
|
bindings?: Block['bindings'];
|
|
14
|
+
contentVersionId?: string | null;
|
|
14
15
|
admission: Readonly<{
|
|
15
16
|
kind: 'renderable';
|
|
16
17
|
content: RenderableManifestContent;
|
|
@@ -32,6 +33,7 @@ export type PresentationAdmission = Readonly<{
|
|
|
32
33
|
}>;
|
|
33
34
|
export type PresentationBlock = Block & Readonly<{
|
|
34
35
|
presentationAdmission: PresentationAdmission;
|
|
36
|
+
contentVersionId?: string | null;
|
|
35
37
|
}>;
|
|
36
38
|
export type PresentationPageOutline = Omit<PageOutline, 'blocks'> & Readonly<{
|
|
37
39
|
blocks: readonly PresentationBlock[];
|
|
@@ -5,6 +5,7 @@ import type { SdkCustomBlock } from './system/manifest/schema';
|
|
|
5
5
|
import type { MediaAssetIndexItem, ResolveImageUrlContext, ResolveImageUrlContextInput } from './system/runtime/nodes/media';
|
|
6
6
|
import type { RouteMap } from './system/transforms';
|
|
7
7
|
import type { BookingOfferingPresetSummary } from './system/blocks/offerings-preview/model';
|
|
8
|
+
import type { BlockLoaderFailures } from './system/data/types';
|
|
8
9
|
/**
|
|
9
10
|
* Occurrence context for event pages.
|
|
10
11
|
* Passed through to blocks that need occurrence information (e.g., event-registration).
|
|
@@ -71,6 +72,8 @@ export type BlockOverrideProps<TContent = Record<string, unknown>> = {
|
|
|
71
72
|
imageResolveContext?: ResolveImageUrlContext;
|
|
72
73
|
/** Block instance ID (null for unsaved blocks) */
|
|
73
74
|
blockId: string | null;
|
|
75
|
+
/** Exact content snapshot rendered for this block. */
|
|
76
|
+
contentVersionId?: string | null;
|
|
74
77
|
/** Block kind identifier (e.g., "block.hero" or "custom.my-block") */
|
|
75
78
|
blockKind: string;
|
|
76
79
|
};
|
|
@@ -134,6 +137,8 @@ export type PageRendererDataContext = {
|
|
|
134
137
|
/** Canonical request pathname used by blocks when resolving same-site destinations. */
|
|
135
138
|
pathname?: string;
|
|
136
139
|
resolvedData?: Record<string, Record<string, unknown>>;
|
|
140
|
+
/** Failed server loader requests, kept separate from successful data. */
|
|
141
|
+
loaderFailures?: BlockLoaderFailures;
|
|
137
142
|
previewStage?: 'published' | 'preview';
|
|
138
143
|
previewToken?: string | null;
|
|
139
144
|
routes?: RouteMap;
|
|
@@ -111,10 +111,8 @@ export interface CustomerEventRegistration {
|
|
|
111
111
|
ticketingEnabled: boolean;
|
|
112
112
|
ticketUrl?: string;
|
|
113
113
|
}
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
*/
|
|
117
|
-
export interface EventGuest {
|
|
114
|
+
export type { CustomerPortalWaitlistEntry, CustomerPortalWaitlistSubject } from './waitlist-types';
|
|
115
|
+
/** Guest details for event registration. */ export interface EventGuest {
|
|
118
116
|
id: string;
|
|
119
117
|
name: string;
|
|
120
118
|
phone: string | null;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export type CustomerPortalWaitlistSubject = {
|
|
2
|
+
kind: 'occurrence';
|
|
3
|
+
occurrenceId: string;
|
|
4
|
+
eventSeriesId: string;
|
|
5
|
+
startsAt: string;
|
|
6
|
+
endsAt: string;
|
|
7
|
+
timeZone: string;
|
|
8
|
+
} | {
|
|
9
|
+
kind: 'wholeSeries';
|
|
10
|
+
eventSeriesId: string;
|
|
11
|
+
scheduleSummary: string | null;
|
|
12
|
+
};
|
|
13
|
+
type CustomerPortalWaitlistEntryBase = {
|
|
14
|
+
id: string;
|
|
15
|
+
subject: CustomerPortalWaitlistSubject;
|
|
16
|
+
eventTitle: string;
|
|
17
|
+
eventPath: string | null;
|
|
18
|
+
requestedPlaces: number;
|
|
19
|
+
joinedAt: string;
|
|
20
|
+
};
|
|
21
|
+
export type CustomerPortalWaitlistEntry = (CustomerPortalWaitlistEntryBase & {
|
|
22
|
+
status: 'waiting';
|
|
23
|
+
queuePosition: number | null;
|
|
24
|
+
canLeave: true;
|
|
25
|
+
}) | (CustomerPortalWaitlistEntryBase & {
|
|
26
|
+
status: 'placeAvailable';
|
|
27
|
+
claimExpiresAt: string;
|
|
28
|
+
claimPath: string | null;
|
|
29
|
+
canLeave: true;
|
|
30
|
+
}) | (CustomerPortalWaitlistEntryBase & {
|
|
31
|
+
status: 'offerExpired';
|
|
32
|
+
claimExpiredAt: string;
|
|
33
|
+
canLeave: false;
|
|
34
|
+
});
|
|
35
|
+
export {};
|
|
@@ -1,5 +1,47 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import type { PublicEventPricing, PublicEventPricingOption } from '../../../../../../core/src/index';
|
|
3
|
+
export declare const publicEventLoaderQuerySchemaShape: {
|
|
4
|
+
readonly limit: z.ZodOptional<z.ZodString>;
|
|
5
|
+
readonly from: z.ZodOptional<z.ZodString>;
|
|
6
|
+
readonly to: z.ZodOptional<z.ZodString>;
|
|
7
|
+
readonly afterStartsAt: z.ZodOptional<z.ZodString>;
|
|
8
|
+
readonly afterId: z.ZodOptional<z.ZodString>;
|
|
9
|
+
readonly categoryIds: z.ZodOptional<z.ZodString>;
|
|
10
|
+
readonly venueId: z.ZodOptional<z.ZodString>;
|
|
11
|
+
readonly staffMemberId: z.ZodOptional<z.ZodString>;
|
|
12
|
+
readonly eventSurface: z.ZodOptional<z.ZodString>;
|
|
13
|
+
readonly eventPresets: z.ZodOptional<z.ZodString>;
|
|
14
|
+
readonly scheduleScope: z.ZodOptional<z.ZodString>;
|
|
15
|
+
readonly seriesId: z.ZodOptional<z.ZodString>;
|
|
16
|
+
readonly seriesIds: z.ZodOptional<z.ZodString>;
|
|
17
|
+
readonly runSeriesId: z.ZodOptional<z.ZodString>;
|
|
18
|
+
readonly seriesSlug: z.ZodOptional<z.ZodString>;
|
|
19
|
+
readonly includeOccurrenceId: z.ZodOptional<z.ZodString>;
|
|
20
|
+
readonly readIntent: z.ZodOptional<z.ZodString>;
|
|
21
|
+
readonly detailLevel: z.ZodOptional<z.ZodString>;
|
|
22
|
+
readonly readProfile: z.ZodOptional<z.ZodString>;
|
|
23
|
+
};
|
|
24
|
+
export declare const publicEventLoaderQuerySchema: z.ZodObject<{
|
|
25
|
+
limit: z.ZodOptional<z.ZodString>;
|
|
26
|
+
from: z.ZodOptional<z.ZodString>;
|
|
27
|
+
to: z.ZodOptional<z.ZodString>;
|
|
28
|
+
afterStartsAt: z.ZodOptional<z.ZodString>;
|
|
29
|
+
afterId: z.ZodOptional<z.ZodString>;
|
|
30
|
+
categoryIds: z.ZodOptional<z.ZodString>;
|
|
31
|
+
venueId: z.ZodOptional<z.ZodString>;
|
|
32
|
+
staffMemberId: z.ZodOptional<z.ZodString>;
|
|
33
|
+
eventSurface: z.ZodOptional<z.ZodString>;
|
|
34
|
+
eventPresets: z.ZodOptional<z.ZodString>;
|
|
35
|
+
scheduleScope: z.ZodOptional<z.ZodString>;
|
|
36
|
+
seriesId: z.ZodOptional<z.ZodString>;
|
|
37
|
+
seriesIds: z.ZodOptional<z.ZodString>;
|
|
38
|
+
runSeriesId: z.ZodOptional<z.ZodString>;
|
|
39
|
+
seriesSlug: z.ZodOptional<z.ZodString>;
|
|
40
|
+
includeOccurrenceId: z.ZodOptional<z.ZodString>;
|
|
41
|
+
readIntent: z.ZodOptional<z.ZodString>;
|
|
42
|
+
detailLevel: z.ZodOptional<z.ZodString>;
|
|
43
|
+
readProfile: z.ZodOptional<z.ZodString>;
|
|
44
|
+
}, z.core.$strip>;
|
|
3
45
|
export declare const eventPresetSchema: z.ZodEnum<{
|
|
4
46
|
course: "course";
|
|
5
47
|
event: "event";
|
|
@@ -10,6 +10,10 @@ import type { PublicTeamMemberSummary } from '../../shared/teamMembers';
|
|
|
10
10
|
import type { eventCalendarDefaultViewValues, eventCalendarDisplayModeValues, eventCalendarListLayoutValues } from '../../../constants/events';
|
|
11
11
|
import type { EventScheduleScope, EventSurfacePreset, EventSurfaceScope } from './filtering';
|
|
12
12
|
import type { BlockButtonRole } from '../../../constants/buttonRoles';
|
|
13
|
+
import type { z } from 'zod';
|
|
14
|
+
import type { publicEventLoaderQuerySchema } from './schemas';
|
|
15
|
+
/** Raw string query vocabulary shared by public Event loader transports. */
|
|
16
|
+
export type PublicEventLoaderParams = Readonly<z.infer<typeof publicEventLoaderQuerySchema>>;
|
|
13
17
|
/**
|
|
14
18
|
* Geographic coordinates for venue location
|
|
15
19
|
*/
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Block data loading system.
|
|
3
3
|
* Framework-agnostic core logic for prefetching block data loaders.
|
|
4
4
|
*/
|
|
5
|
-
export { prefetchBlockData } from './prefetchBlockData';
|
|
5
|
+
export { prefetchBlockData, prefetchBlockDataWithFailures, } from './prefetchBlockData';
|
|
6
6
|
export type { PrefetchBlockDataOptions } from './prefetchBlockData';
|
|
7
7
|
export { LINKED_CONTENT_ENTRY_META_KEY, buildLinkedContentEditTarget, coerceLinkedContentEntriesPayload, describeLinkedContentEditSupport, getLinkedContentEntryMeta, resolveLinkedEntryInlineFieldEligibility, } from './linkedContentEntries';
|
|
8
8
|
export type { LinkedEntryFieldSource, LinkedEntryInlineFieldEligibility, LinkedEntryInlineFieldReadOnlyReason, LinkedContentEditSupport, LinkedContentEditTarget, LinkedContentEntryMeta, LinkedContentEntryRecord, PreviewLinkedEntryFieldBinding, PreviewLinkedEntryInlineFieldType, PreviewLinkedEntryWriteBinding, PublicContentTypeFieldMeta, PublicContentTypeMeta, } from './linkedContentEntries';
|
|
@@ -15,4 +15,4 @@ export type { PublicLoaderCachePolicy, PublicLoaderCacheTagKind, PublicLoaderTra
|
|
|
15
15
|
export { createMicrobatcher, stableSerialize, type BatchItemResult, type Microbatcher, } from './batching';
|
|
16
16
|
export { normalizeLoaderParams, normalizePublicApiLoaderParams, } from './normalizeLoaderParams';
|
|
17
17
|
export { normalizeDataLoaders, normalizeContent, normalizeParams, coerceToString, coercePayload, } from './utils';
|
|
18
|
-
export type { PrefetchContext, ResolvedBlockData, ApiClient, DataLoaderEntry, } from './types';
|
|
18
|
+
export type { PrefetchContext, ResolvedBlockData, BlockLoaderFailure, BlockLoaderFailures, PrefetchedBlockData, ApiClient, DataLoaderEntry, } from './types';
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
import { getBlockDefinition as getSystemBlockDefinition, type BlockDataLoader } from '../registry';
|
|
12
12
|
import { resolveParamsBindings as resolveRuntimeParamsBindings } from '../runtime/bindings';
|
|
13
13
|
import type { PageOutline } from '../../structure/schema';
|
|
14
|
-
import type { ApiClient, PrefetchContext, ResolvedBlockData } from './types';
|
|
14
|
+
import type { ApiClient, PrefetchContext, PrefetchedBlockData, ResolvedBlockData } from './types';
|
|
15
15
|
export type PrefetchBlockDataOptions = {
|
|
16
16
|
/**
|
|
17
17
|
* API client function that makes the actual requests.
|
|
@@ -65,3 +65,4 @@ export type PrefetchBlockDataOptions = {
|
|
|
65
65
|
* ```
|
|
66
66
|
*/
|
|
67
67
|
export declare function prefetchBlockData(page: PageOutline, context: PrefetchContext, options: PrefetchBlockDataOptions): Promise<ResolvedBlockData>;
|
|
68
|
+
export declare function prefetchBlockDataWithFailures(page: PageOutline, context: PrefetchContext, options: PrefetchBlockDataOptions): Promise<PrefetchedBlockData>;
|