@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
|
@@ -1463,6 +1463,14 @@ const PUBLIC_BOOKING_AVAILABILITY_ENDPOINT_DEFINITIONS = defineEndpointDefinitio
|
|
|
1463
1463
|
auth: "public",
|
|
1464
1464
|
responseKind: "json"
|
|
1465
1465
|
},
|
|
1466
|
+
getPublicBookingServiceBySlug: {
|
|
1467
|
+
path: "/public/bookings/services/by-slug/{slug}",
|
|
1468
|
+
method: "GET",
|
|
1469
|
+
revalidate: publicReadFreshnessSeconds("getPublicBookingService"),
|
|
1470
|
+
tags: [TAG_TEMPLATES.publicBookingServices],
|
|
1471
|
+
auth: "public",
|
|
1472
|
+
responseKind: "json"
|
|
1473
|
+
},
|
|
1466
1474
|
getPublicBookingResourcesReference: {
|
|
1467
1475
|
path: "/public/bookings/resources/reference",
|
|
1468
1476
|
method: "GET",
|
|
@@ -2015,11 +2023,105 @@ const PUBLIC_READ_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
2015
2023
|
responseKind: "json"
|
|
2016
2024
|
}
|
|
2017
2025
|
});
|
|
2026
|
+
//#endregion
|
|
2027
|
+
//#region ../api/src/publicOnboardingAttemptEndpointDefinitions.ts
|
|
2028
|
+
/**
|
|
2029
|
+
* The anonymous onboarding attempt, addressed by its opaque resume token.
|
|
2030
|
+
*
|
|
2031
|
+
* Every route here is reached before there is an account, so none of them can
|
|
2032
|
+
* be scoped to a site or a user: the token is the whole credential. They are
|
|
2033
|
+
* kept together so that stays obvious.
|
|
2034
|
+
*/
|
|
2035
|
+
const PUBLIC_ONBOARDING_ATTEMPT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
2036
|
+
createPublicOnboardingAttempt: {
|
|
2037
|
+
path: "/public/onboarding/attempts",
|
|
2038
|
+
method: "POST",
|
|
2039
|
+
auth: "public",
|
|
2040
|
+
errors: [],
|
|
2041
|
+
responseKind: "json"
|
|
2042
|
+
},
|
|
2043
|
+
createPublicOnboardingLogoUploadUrl: {
|
|
2044
|
+
path: "/public/onboarding/attempts/{attemptToken}/logo-upload-url",
|
|
2045
|
+
method: "POST",
|
|
2046
|
+
auth: "public",
|
|
2047
|
+
errors: [],
|
|
2048
|
+
responseKind: "json"
|
|
2049
|
+
},
|
|
2050
|
+
uploadPublicOnboardingLogo: {
|
|
2051
|
+
path: "/public/onboarding/attempts/{attemptToken}/logo",
|
|
2052
|
+
method: "POST",
|
|
2053
|
+
auth: "public",
|
|
2054
|
+
errors: [],
|
|
2055
|
+
responseKind: "json"
|
|
2056
|
+
},
|
|
2057
|
+
getPublicOnboardingAttempt: {
|
|
2058
|
+
path: "/public/onboarding/attempts/{attemptToken}",
|
|
2059
|
+
method: "GET",
|
|
2060
|
+
auth: "public",
|
|
2061
|
+
errors: [],
|
|
2062
|
+
responseKind: "json"
|
|
2063
|
+
},
|
|
2064
|
+
getPublicOnboardingAttemptProgress: {
|
|
2065
|
+
path: "/public/onboarding/attempts/{attemptToken}/status",
|
|
2066
|
+
method: "GET",
|
|
2067
|
+
auth: "public",
|
|
2068
|
+
errors: [],
|
|
2069
|
+
responseKind: "json"
|
|
2070
|
+
},
|
|
2071
|
+
updatePublicOnboardingAttempt: {
|
|
2072
|
+
path: "/public/onboarding/attempts/{attemptToken}",
|
|
2073
|
+
method: "PATCH",
|
|
2074
|
+
auth: "public",
|
|
2075
|
+
errors: [],
|
|
2076
|
+
responseKind: "json"
|
|
2077
|
+
},
|
|
2078
|
+
runPublicOnboardingAttempt: {
|
|
2079
|
+
path: "/public/onboarding/attempts/{attemptToken}/run",
|
|
2080
|
+
method: "POST",
|
|
2081
|
+
auth: "public",
|
|
2082
|
+
errors: [],
|
|
2083
|
+
responseKind: "json"
|
|
2084
|
+
},
|
|
2085
|
+
resendPublicOnboardingAttemptConfirmation: {
|
|
2086
|
+
path: "/public/onboarding/attempts/{attemptToken}/resend-confirmation",
|
|
2087
|
+
method: "POST",
|
|
2088
|
+
auth: "public",
|
|
2089
|
+
errors: [],
|
|
2090
|
+
responseKind: "json"
|
|
2091
|
+
}
|
|
2092
|
+
});
|
|
2093
|
+
//#endregion
|
|
2094
|
+
//#region ../api/src/billingEndpointDefinitions.ts
|
|
2095
|
+
const BILLING_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
2096
|
+
adminChangePlan: {
|
|
2097
|
+
path: "/admin/billing/plan",
|
|
2098
|
+
method: "POST",
|
|
2099
|
+
tags: ["admin", "billing"],
|
|
2100
|
+
auth: "admin",
|
|
2101
|
+
responseKind: "json"
|
|
2102
|
+
},
|
|
2103
|
+
changePlan: {
|
|
2104
|
+
path: "/billing/plan/change",
|
|
2105
|
+
method: "POST",
|
|
2106
|
+
tags: ["billing"],
|
|
2107
|
+
auth: "user",
|
|
2108
|
+
responseKind: "json"
|
|
2109
|
+
},
|
|
2110
|
+
createBillingPortalSession: {
|
|
2111
|
+
path: "/billing/portal/session",
|
|
2112
|
+
method: "POST",
|
|
2113
|
+
tags: ["billing"],
|
|
2114
|
+
auth: "user",
|
|
2115
|
+
responseKind: "json"
|
|
2116
|
+
}
|
|
2117
|
+
});
|
|
2018
2118
|
const API_ENDPOINTS = {
|
|
2019
2119
|
...ACCOUNT_ENDPOINT_DEFINITIONS,
|
|
2120
|
+
...PUBLIC_ONBOARDING_ATTEMPT_ENDPOINT_DEFINITIONS,
|
|
2020
2121
|
...PUBLIC_EVENT_ENDPOINT_DEFINITIONS,
|
|
2021
2122
|
...GIFTING_ENDPOINT_DEFINITIONS,
|
|
2022
2123
|
...PUBLIC_READ_ENDPOINT_DEFINITIONS,
|
|
2124
|
+
...BILLING_ENDPOINT_DEFINITIONS,
|
|
2023
2125
|
aiContentUpdateChat: {
|
|
2024
2126
|
path: "/ai/content-update-chat",
|
|
2025
2127
|
method: "POST",
|
|
@@ -2173,55 +2275,6 @@ const API_ENDPOINTS = {
|
|
|
2173
2275
|
errors: [],
|
|
2174
2276
|
responseKind: "json"
|
|
2175
2277
|
},
|
|
2176
|
-
createPublicOnboardingAttempt: {
|
|
2177
|
-
path: "/public/onboarding/attempts",
|
|
2178
|
-
method: "POST",
|
|
2179
|
-
auth: "public",
|
|
2180
|
-
errors: [],
|
|
2181
|
-
responseKind: "json"
|
|
2182
|
-
},
|
|
2183
|
-
createPublicOnboardingLogoUploadUrl: {
|
|
2184
|
-
path: "/public/onboarding/attempts/{attemptToken}/logo-upload-url",
|
|
2185
|
-
method: "POST",
|
|
2186
|
-
auth: "public",
|
|
2187
|
-
errors: [],
|
|
2188
|
-
responseKind: "json"
|
|
2189
|
-
},
|
|
2190
|
-
uploadPublicOnboardingLogo: {
|
|
2191
|
-
path: "/public/onboarding/attempts/{attemptToken}/logo",
|
|
2192
|
-
method: "POST",
|
|
2193
|
-
auth: "public",
|
|
2194
|
-
errors: [],
|
|
2195
|
-
responseKind: "json"
|
|
2196
|
-
},
|
|
2197
|
-
getPublicOnboardingAttempt: {
|
|
2198
|
-
path: "/public/onboarding/attempts/{attemptToken}",
|
|
2199
|
-
method: "GET",
|
|
2200
|
-
auth: "public",
|
|
2201
|
-
errors: [],
|
|
2202
|
-
responseKind: "json"
|
|
2203
|
-
},
|
|
2204
|
-
getPublicOnboardingAttemptProgress: {
|
|
2205
|
-
path: "/public/onboarding/attempts/{attemptToken}/status",
|
|
2206
|
-
method: "GET",
|
|
2207
|
-
auth: "public",
|
|
2208
|
-
errors: [],
|
|
2209
|
-
responseKind: "json"
|
|
2210
|
-
},
|
|
2211
|
-
updatePublicOnboardingAttempt: {
|
|
2212
|
-
path: "/public/onboarding/attempts/{attemptToken}",
|
|
2213
|
-
method: "PATCH",
|
|
2214
|
-
auth: "public",
|
|
2215
|
-
errors: [],
|
|
2216
|
-
responseKind: "json"
|
|
2217
|
-
},
|
|
2218
|
-
runPublicOnboardingAttempt: {
|
|
2219
|
-
path: "/public/onboarding/attempts/{attemptToken}/run",
|
|
2220
|
-
method: "POST",
|
|
2221
|
-
auth: "public",
|
|
2222
|
-
errors: [],
|
|
2223
|
-
responseKind: "json"
|
|
2224
|
-
},
|
|
2225
2278
|
aiSiteWizardSuggestGoals: {
|
|
2226
2279
|
path: "/sites/{siteId}/ai/site-wizard/goals",
|
|
2227
2280
|
method: "POST",
|
|
@@ -3737,20 +3790,6 @@ const API_ENDPOINTS = {
|
|
|
3737
3790
|
auth: "admin",
|
|
3738
3791
|
responseKind: "json"
|
|
3739
3792
|
},
|
|
3740
|
-
adminChangePlan: {
|
|
3741
|
-
path: "/admin/billing/plan",
|
|
3742
|
-
method: "POST",
|
|
3743
|
-
tags: ["admin", "billing"],
|
|
3744
|
-
auth: "admin",
|
|
3745
|
-
responseKind: "json"
|
|
3746
|
-
},
|
|
3747
|
-
changePlan: {
|
|
3748
|
-
path: "/billing/plan/change",
|
|
3749
|
-
method: "POST",
|
|
3750
|
-
tags: ["billing"],
|
|
3751
|
-
auth: "user",
|
|
3752
|
-
responseKind: "json"
|
|
3753
|
-
},
|
|
3754
3793
|
mfaTotpEnroll: {
|
|
3755
3794
|
path: "/auth/mfa/totp/enroll",
|
|
3756
3795
|
method: "POST",
|
|
@@ -4099,7 +4138,12 @@ const API_ENDPOINTS = {
|
|
|
4099
4138
|
path: "/public/sites/{siteId}/sitemap",
|
|
4100
4139
|
method: "GET",
|
|
4101
4140
|
revalidate: 60,
|
|
4102
|
-
tags: [
|
|
4141
|
+
tags: [
|
|
4142
|
+
TAG_TEMPLATES.siteRoutableContent,
|
|
4143
|
+
TAG_TEMPLATES.siteSettings,
|
|
4144
|
+
TAG_TEMPLATES.publicEvents,
|
|
4145
|
+
TAG_TEMPLATES.publicBookingServices
|
|
4146
|
+
],
|
|
4103
4147
|
auth: "public",
|
|
4104
4148
|
responseKind: "json"
|
|
4105
4149
|
},
|
|
@@ -7418,6 +7462,17 @@ const API_ENDPOINTS = {
|
|
|
7418
7462
|
auth: "public",
|
|
7419
7463
|
responseKind: "json"
|
|
7420
7464
|
},
|
|
7465
|
+
portalCancelWaitlistEntry: {
|
|
7466
|
+
path: "/portal/waitlists/{entryId}/cancel",
|
|
7467
|
+
method: "POST",
|
|
7468
|
+
auth: "public",
|
|
7469
|
+
responseKind: "json",
|
|
7470
|
+
errors: [
|
|
7471
|
+
"resource:not_found",
|
|
7472
|
+
"resource:conflict",
|
|
7473
|
+
"server:internal_error"
|
|
7474
|
+
]
|
|
7475
|
+
},
|
|
7421
7476
|
portalGetEventGuests: {
|
|
7422
7477
|
path: "/portal/events/{registrationId}/guests",
|
|
7423
7478
|
method: "GET",
|
|
@@ -1434,6 +1434,14 @@ const PUBLIC_BOOKING_AVAILABILITY_ENDPOINT_DEFINITIONS = defineEndpointDefinitio
|
|
|
1434
1434
|
auth: "public",
|
|
1435
1435
|
responseKind: "json"
|
|
1436
1436
|
},
|
|
1437
|
+
getPublicBookingServiceBySlug: {
|
|
1438
|
+
path: "/public/bookings/services/by-slug/{slug}",
|
|
1439
|
+
method: "GET",
|
|
1440
|
+
revalidate: publicReadFreshnessSeconds("getPublicBookingService"),
|
|
1441
|
+
tags: [TAG_TEMPLATES.publicBookingServices],
|
|
1442
|
+
auth: "public",
|
|
1443
|
+
responseKind: "json"
|
|
1444
|
+
},
|
|
1437
1445
|
getPublicBookingResourcesReference: {
|
|
1438
1446
|
path: "/public/bookings/resources/reference",
|
|
1439
1447
|
method: "GET",
|
|
@@ -1986,11 +1994,105 @@ const PUBLIC_READ_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
1986
1994
|
responseKind: "json"
|
|
1987
1995
|
}
|
|
1988
1996
|
});
|
|
1997
|
+
//#endregion
|
|
1998
|
+
//#region ../api/src/publicOnboardingAttemptEndpointDefinitions.ts
|
|
1999
|
+
/**
|
|
2000
|
+
* The anonymous onboarding attempt, addressed by its opaque resume token.
|
|
2001
|
+
*
|
|
2002
|
+
* Every route here is reached before there is an account, so none of them can
|
|
2003
|
+
* be scoped to a site or a user: the token is the whole credential. They are
|
|
2004
|
+
* kept together so that stays obvious.
|
|
2005
|
+
*/
|
|
2006
|
+
const PUBLIC_ONBOARDING_ATTEMPT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
2007
|
+
createPublicOnboardingAttempt: {
|
|
2008
|
+
path: "/public/onboarding/attempts",
|
|
2009
|
+
method: "POST",
|
|
2010
|
+
auth: "public",
|
|
2011
|
+
errors: [],
|
|
2012
|
+
responseKind: "json"
|
|
2013
|
+
},
|
|
2014
|
+
createPublicOnboardingLogoUploadUrl: {
|
|
2015
|
+
path: "/public/onboarding/attempts/{attemptToken}/logo-upload-url",
|
|
2016
|
+
method: "POST",
|
|
2017
|
+
auth: "public",
|
|
2018
|
+
errors: [],
|
|
2019
|
+
responseKind: "json"
|
|
2020
|
+
},
|
|
2021
|
+
uploadPublicOnboardingLogo: {
|
|
2022
|
+
path: "/public/onboarding/attempts/{attemptToken}/logo",
|
|
2023
|
+
method: "POST",
|
|
2024
|
+
auth: "public",
|
|
2025
|
+
errors: [],
|
|
2026
|
+
responseKind: "json"
|
|
2027
|
+
},
|
|
2028
|
+
getPublicOnboardingAttempt: {
|
|
2029
|
+
path: "/public/onboarding/attempts/{attemptToken}",
|
|
2030
|
+
method: "GET",
|
|
2031
|
+
auth: "public",
|
|
2032
|
+
errors: [],
|
|
2033
|
+
responseKind: "json"
|
|
2034
|
+
},
|
|
2035
|
+
getPublicOnboardingAttemptProgress: {
|
|
2036
|
+
path: "/public/onboarding/attempts/{attemptToken}/status",
|
|
2037
|
+
method: "GET",
|
|
2038
|
+
auth: "public",
|
|
2039
|
+
errors: [],
|
|
2040
|
+
responseKind: "json"
|
|
2041
|
+
},
|
|
2042
|
+
updatePublicOnboardingAttempt: {
|
|
2043
|
+
path: "/public/onboarding/attempts/{attemptToken}",
|
|
2044
|
+
method: "PATCH",
|
|
2045
|
+
auth: "public",
|
|
2046
|
+
errors: [],
|
|
2047
|
+
responseKind: "json"
|
|
2048
|
+
},
|
|
2049
|
+
runPublicOnboardingAttempt: {
|
|
2050
|
+
path: "/public/onboarding/attempts/{attemptToken}/run",
|
|
2051
|
+
method: "POST",
|
|
2052
|
+
auth: "public",
|
|
2053
|
+
errors: [],
|
|
2054
|
+
responseKind: "json"
|
|
2055
|
+
},
|
|
2056
|
+
resendPublicOnboardingAttemptConfirmation: {
|
|
2057
|
+
path: "/public/onboarding/attempts/{attemptToken}/resend-confirmation",
|
|
2058
|
+
method: "POST",
|
|
2059
|
+
auth: "public",
|
|
2060
|
+
errors: [],
|
|
2061
|
+
responseKind: "json"
|
|
2062
|
+
}
|
|
2063
|
+
});
|
|
2064
|
+
//#endregion
|
|
2065
|
+
//#region ../api/src/billingEndpointDefinitions.ts
|
|
2066
|
+
const BILLING_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
2067
|
+
adminChangePlan: {
|
|
2068
|
+
path: "/admin/billing/plan",
|
|
2069
|
+
method: "POST",
|
|
2070
|
+
tags: ["admin", "billing"],
|
|
2071
|
+
auth: "admin",
|
|
2072
|
+
responseKind: "json"
|
|
2073
|
+
},
|
|
2074
|
+
changePlan: {
|
|
2075
|
+
path: "/billing/plan/change",
|
|
2076
|
+
method: "POST",
|
|
2077
|
+
tags: ["billing"],
|
|
2078
|
+
auth: "user",
|
|
2079
|
+
responseKind: "json"
|
|
2080
|
+
},
|
|
2081
|
+
createBillingPortalSession: {
|
|
2082
|
+
path: "/billing/portal/session",
|
|
2083
|
+
method: "POST",
|
|
2084
|
+
tags: ["billing"],
|
|
2085
|
+
auth: "user",
|
|
2086
|
+
responseKind: "json"
|
|
2087
|
+
}
|
|
2088
|
+
});
|
|
1989
2089
|
const API_ENDPOINTS = {
|
|
1990
2090
|
...ACCOUNT_ENDPOINT_DEFINITIONS,
|
|
2091
|
+
...PUBLIC_ONBOARDING_ATTEMPT_ENDPOINT_DEFINITIONS,
|
|
1991
2092
|
...PUBLIC_EVENT_ENDPOINT_DEFINITIONS,
|
|
1992
2093
|
...GIFTING_ENDPOINT_DEFINITIONS,
|
|
1993
2094
|
...PUBLIC_READ_ENDPOINT_DEFINITIONS,
|
|
2095
|
+
...BILLING_ENDPOINT_DEFINITIONS,
|
|
1994
2096
|
aiContentUpdateChat: {
|
|
1995
2097
|
path: "/ai/content-update-chat",
|
|
1996
2098
|
method: "POST",
|
|
@@ -2144,55 +2246,6 @@ const API_ENDPOINTS = {
|
|
|
2144
2246
|
errors: [],
|
|
2145
2247
|
responseKind: "json"
|
|
2146
2248
|
},
|
|
2147
|
-
createPublicOnboardingAttempt: {
|
|
2148
|
-
path: "/public/onboarding/attempts",
|
|
2149
|
-
method: "POST",
|
|
2150
|
-
auth: "public",
|
|
2151
|
-
errors: [],
|
|
2152
|
-
responseKind: "json"
|
|
2153
|
-
},
|
|
2154
|
-
createPublicOnboardingLogoUploadUrl: {
|
|
2155
|
-
path: "/public/onboarding/attempts/{attemptToken}/logo-upload-url",
|
|
2156
|
-
method: "POST",
|
|
2157
|
-
auth: "public",
|
|
2158
|
-
errors: [],
|
|
2159
|
-
responseKind: "json"
|
|
2160
|
-
},
|
|
2161
|
-
uploadPublicOnboardingLogo: {
|
|
2162
|
-
path: "/public/onboarding/attempts/{attemptToken}/logo",
|
|
2163
|
-
method: "POST",
|
|
2164
|
-
auth: "public",
|
|
2165
|
-
errors: [],
|
|
2166
|
-
responseKind: "json"
|
|
2167
|
-
},
|
|
2168
|
-
getPublicOnboardingAttempt: {
|
|
2169
|
-
path: "/public/onboarding/attempts/{attemptToken}",
|
|
2170
|
-
method: "GET",
|
|
2171
|
-
auth: "public",
|
|
2172
|
-
errors: [],
|
|
2173
|
-
responseKind: "json"
|
|
2174
|
-
},
|
|
2175
|
-
getPublicOnboardingAttemptProgress: {
|
|
2176
|
-
path: "/public/onboarding/attempts/{attemptToken}/status",
|
|
2177
|
-
method: "GET",
|
|
2178
|
-
auth: "public",
|
|
2179
|
-
errors: [],
|
|
2180
|
-
responseKind: "json"
|
|
2181
|
-
},
|
|
2182
|
-
updatePublicOnboardingAttempt: {
|
|
2183
|
-
path: "/public/onboarding/attempts/{attemptToken}",
|
|
2184
|
-
method: "PATCH",
|
|
2185
|
-
auth: "public",
|
|
2186
|
-
errors: [],
|
|
2187
|
-
responseKind: "json"
|
|
2188
|
-
},
|
|
2189
|
-
runPublicOnboardingAttempt: {
|
|
2190
|
-
path: "/public/onboarding/attempts/{attemptToken}/run",
|
|
2191
|
-
method: "POST",
|
|
2192
|
-
auth: "public",
|
|
2193
|
-
errors: [],
|
|
2194
|
-
responseKind: "json"
|
|
2195
|
-
},
|
|
2196
2249
|
aiSiteWizardSuggestGoals: {
|
|
2197
2250
|
path: "/sites/{siteId}/ai/site-wizard/goals",
|
|
2198
2251
|
method: "POST",
|
|
@@ -3708,20 +3761,6 @@ const API_ENDPOINTS = {
|
|
|
3708
3761
|
auth: "admin",
|
|
3709
3762
|
responseKind: "json"
|
|
3710
3763
|
},
|
|
3711
|
-
adminChangePlan: {
|
|
3712
|
-
path: "/admin/billing/plan",
|
|
3713
|
-
method: "POST",
|
|
3714
|
-
tags: ["admin", "billing"],
|
|
3715
|
-
auth: "admin",
|
|
3716
|
-
responseKind: "json"
|
|
3717
|
-
},
|
|
3718
|
-
changePlan: {
|
|
3719
|
-
path: "/billing/plan/change",
|
|
3720
|
-
method: "POST",
|
|
3721
|
-
tags: ["billing"],
|
|
3722
|
-
auth: "user",
|
|
3723
|
-
responseKind: "json"
|
|
3724
|
-
},
|
|
3725
3764
|
mfaTotpEnroll: {
|
|
3726
3765
|
path: "/auth/mfa/totp/enroll",
|
|
3727
3766
|
method: "POST",
|
|
@@ -4070,7 +4109,12 @@ const API_ENDPOINTS = {
|
|
|
4070
4109
|
path: "/public/sites/{siteId}/sitemap",
|
|
4071
4110
|
method: "GET",
|
|
4072
4111
|
revalidate: 60,
|
|
4073
|
-
tags: [
|
|
4112
|
+
tags: [
|
|
4113
|
+
TAG_TEMPLATES.siteRoutableContent,
|
|
4114
|
+
TAG_TEMPLATES.siteSettings,
|
|
4115
|
+
TAG_TEMPLATES.publicEvents,
|
|
4116
|
+
TAG_TEMPLATES.publicBookingServices
|
|
4117
|
+
],
|
|
4074
4118
|
auth: "public",
|
|
4075
4119
|
responseKind: "json"
|
|
4076
4120
|
},
|
|
@@ -7389,6 +7433,17 @@ const API_ENDPOINTS = {
|
|
|
7389
7433
|
auth: "public",
|
|
7390
7434
|
responseKind: "json"
|
|
7391
7435
|
},
|
|
7436
|
+
portalCancelWaitlistEntry: {
|
|
7437
|
+
path: "/portal/waitlists/{entryId}/cancel",
|
|
7438
|
+
method: "POST",
|
|
7439
|
+
auth: "public",
|
|
7440
|
+
responseKind: "json",
|
|
7441
|
+
errors: [
|
|
7442
|
+
"resource:not_found",
|
|
7443
|
+
"resource:conflict",
|
|
7444
|
+
"server:internal_error"
|
|
7445
|
+
]
|
|
7446
|
+
},
|
|
7392
7447
|
portalGetEventGuests: {
|
|
7393
7448
|
path: "/portal/events/{registrationId}/guests",
|
|
7394
7449
|
method: "GET",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import "./PreviewQueryProvider-
|
|
3
|
-
import { i as PreviewShellLayout, r as PreviewShell } from "./SdkPreviewModeRuntime-
|
|
2
|
+
import "./PreviewQueryProvider-CN0ewic5.mjs";
|
|
3
|
+
import { i as PreviewShellLayout, r as PreviewShell } from "./SdkPreviewModeRuntime-DdbeAdS8.mjs";
|
|
4
4
|
export { PreviewShell, PreviewShellLayout };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { Ia as Primitive, za as cn } from "./SiteChromeCustomizeContext-
|
|
2
|
+
import { Ia as Primitive, za as cn } from "./SiteChromeCustomizeContext-CqGOz-Kv.mjs";
|
|
3
3
|
import * as React$1 from "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region ../../node_modules/.pnpm/@radix-ui+react-separator@1.1.10_@types+react-dom@19.2.3_@types+react@19.2.17__@types+r_adfab47c9055efb8b0c4b77a2b96b053/node_modules/@radix-ui/react-separator/dist/index.mjs
|