@riverbankcms/sdk 0.143.0 → 0.145.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{PreviewEditorSidebar-DROGfMKi.mjs → PreviewEditorSidebar-O-V6Pl5a.mjs} +20 -26
- package/dist/{PreviewEditorUI-BaRjhFu-.mjs → PreviewEditorUI-1UlX_9cw.mjs} +3 -3
- package/dist/{PreviewQueryProvider-BCYICImX.mjs → PreviewQueryProvider-BxGwdOCV.mjs} +1 -1
- package/dist/{SdkPreviewModeRuntime-OIABYLES.mjs → SdkPreviewModeRuntime-DYbA_4iv.mjs} +431 -351
- package/dist/{SiteChromeCustomizeContext-ohjTvZbc.mjs → SiteChromeCustomizeContext-CNTKQ9nx.mjs} +3989 -2769
- package/dist/_dts/ai/src/contracts/proposals.d.ts +4719 -66
- package/dist/_dts/ai/src/contracts/siteStyleProposalSchemas.d.ts +429 -6
- package/dist/_dts/api/src/appointmentEndpointDefinitions.d.ts +49 -0
- package/dist/_dts/api/src/appointmentServiceCategoryEndpoints.d.ts +75 -0
- package/dist/_dts/api/src/appointmentServiceContracts.d.ts +80 -0
- package/dist/_dts/api/src/appointmentSetup.d.ts +8 -1
- package/dist/_dts/api/src/billing.d.ts +1 -1
- package/dist/_dts/api/src/billingEndpointTypes.d.ts +8 -2
- package/dist/_dts/api/src/bookingConfig.d.ts +3 -1
- package/dist/_dts/api/src/bookingManagementEndpoints.d.ts +2 -12
- package/dist/_dts/api/src/communications.d.ts +14 -22
- package/dist/_dts/api/src/contentRuntime.d.ts +2 -0
- package/dist/_dts/api/src/endpoints.d.ts +105 -58
- package/dist/_dts/api/src/index.d.ts +1 -1
- package/dist/_dts/api/src/indexExtendedTypes.d.ts +1 -1
- package/dist/_dts/api/src/launchReadiness.d.ts +2 -0
- package/dist/_dts/api/src/navigation/dashboardBookingsNav.d.ts +4 -4
- package/dist/_dts/api/src/newsletterEndpointDefinitions.d.ts +0 -23
- package/dist/_dts/api/src/onboarding/confirmationResend.d.ts +3 -0
- package/dist/_dts/api/src/publicBookingService.d.ts +35 -1
- package/dist/_dts/api/src/publicExperience/eventEndpoints.d.ts +1 -0
- package/dist/_dts/api/src/publicExperience/newsletterEndpoints.d.ts +13 -0
- package/dist/_dts/api/src/publicNewsletterEndpointDefinitions.d.ts +58 -0
- package/dist/_dts/api/src/schemas/admin-observability-logs.d.ts +3 -3
- package/dist/_dts/api/src/sdkContracts.d.ts +1 -1
- package/dist/_dts/api/src/sdkSettingsContracts.d.ts +8 -0
- package/dist/_dts/api/src/siteManagementEndpoints.d.ts +2 -6
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +2 -8
- package/dist/_dts/api/src/siteSettings.d.ts +17 -7
- package/dist/_dts/api/src/types.d.ts +2 -1
- package/dist/_dts/billing/src/membership/index.d.ts +3 -0
- package/dist/_dts/block-form/src/backend/types.d.ts +14 -0
- package/dist/_dts/block-form/src/client/index.d.ts +1 -0
- package/dist/_dts/block-form/src/context/RepeaterHostActionsContext.d.ts +30 -0
- package/dist/_dts/block-form/src/context/index.d.ts +1 -0
- package/dist/_dts/block-form/src/index.d.ts +1 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/components/RepeaterList.d.ts +4 -1
- package/dist/_dts/block-form/src/widgets/RepeaterField/components/RepeaterRow.d.ts +5 -2
- package/dist/_dts/block-form/src/widgets/RepeaterField/components/RepeaterRowActions.d.ts +11 -1
- package/dist/_dts/block-form/src/widgets/RepeaterField/hooks/index.d.ts +1 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/hooks/useEmptyStateFocusAfterRemoval.d.ts +8 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/utils/buildSummary.d.ts +15 -1
- package/dist/_dts/block-form/src/widgets/RepeaterField/utils/repeaterRowActionsDomain.d.ts +5 -2
- package/dist/_dts/blocks/src/PageRenderer.d.ts +4 -4
- package/dist/_dts/blocks/src/bindings/index.d.ts +2 -2
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +58 -10
- package/dist/_dts/blocks/src/index.d.ts +1 -1
- package/dist/_dts/blocks/src/pageRenderJoins.d.ts +68 -0
- package/dist/_dts/blocks/src/pageRenderPlan.d.ts +8 -27
- package/dist/_dts/blocks/src/pageRenderPreparation.d.ts +7 -4
- package/dist/_dts/blocks/src/pageRendererBoundaries.d.ts +40 -23
- package/dist/_dts/blocks/src/pageRendererContracts.d.ts +3 -0
- package/dist/_dts/blocks/src/server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/appointment-services.d.ts +2 -0
- package/dist/_dts/blocks/src/system/blocks/events/eventSelectionFields.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/events/shared/calendarWindow.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/location-map.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +47 -47
- package/dist/_dts/blocks/src/system/constants/events.d.ts +10 -0
- package/dist/_dts/blocks/src/system/manifest/schema.d.ts +29 -3
- package/dist/_dts/blocks/src/system/runtime/api/client.d.ts +5 -0
- package/dist/_dts/blocks/src/system/runtime/api/context.d.ts +3 -3
- package/dist/_dts/blocks/src/system/runtime/api/endpoints.d.ts +10 -0
- package/dist/_dts/blocks/src/system/runtime/api/index.d.ts +3 -2
- package/dist/_dts/blocks/src/system/runtime/api/readAuthority.d.ts +11 -0
- package/dist/_dts/blocks/src/system/runtime/api/types/core.d.ts +9 -0
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +7 -13
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +3 -6
- package/dist/_dts/blocks/src/system/runtime/hooks/useCalendarEvents.d.ts +9 -4
- package/dist/_dts/blocks/src/system/runtime/hooks/useCalendarEvents.state.d.ts +0 -1
- package/dist/_dts/blocks/src/system/runtime/hooks/useEventPagination.d.ts +1 -3
- package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessBookingFlow.d.ts +8 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/appointment-services.d.ts +22 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/basic.d.ts +7 -24
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.headless.state.d.ts +3 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.interactive.d.ts +57 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.service-categories.d.ts +29 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.service-choices.d.ts +13 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.state.d.ts +3 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-runtime-sources.d.ts +13 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/cart.server.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/checkout.server.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationBookingLayer.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationSurface.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationWizardActions.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/event-registration.headless.contract.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/event-registration.headless.override.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/eventSourceRecovery.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationWizard.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.interactive.d.ts +8 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCalendar.interactive.d.ts +4 -5
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCombined.client.d.ts +7 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCombined.interactive.d.ts +7 -5
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventListing.interactive.d.ts +5 -6
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCollectionContract.d.ts +6 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/header-control.d.ts +10 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/layout.d.ts +6 -21
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.submission.d.ts +20 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/product-detail.server.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/product-list.server.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/shop.interactive.d.ts +13 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/shop.server.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/shared/components/ThemedButton.d.ts +58 -0
- package/dist/_dts/blocks/src/system/runtime/shared/components/index.d.ts +2 -0
- package/dist/_dts/blocks/src/system/transforms/registry/chromeLogo.d.ts +23 -0
- package/dist/_dts/blocks/src/system/transforms/registry/index.d.ts +2 -1
- package/dist/_dts/blocks/src/system/transforms/registry/layout.d.ts +3 -1
- package/dist/_dts/blocks/src/system/transforms/typed.d.ts +4 -1
- package/dist/_dts/content-editor/src/ui/editorSnapshot.d.ts +2 -0
- package/dist/_dts/content-model/src/content-types/schema.d.ts +1 -1
- package/dist/_dts/core/src/appointment-service-categories.d.ts +108 -0
- package/dist/_dts/core/src/editor-state.d.ts +6 -0
- package/dist/_dts/core/src/event-catalogue.d.ts +27 -0
- package/dist/_dts/core/src/event-preset-vocabulary.d.ts +7 -0
- package/dist/_dts/core/src/index.d.ts +3 -0
- package/dist/_dts/core/src/public-profile.d.ts +9 -0
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +676 -241
- package/dist/_dts/db/src/schemas/forms.d.ts +286 -2
- package/dist/_dts/editor-blocks/src/block-editor/{BlockCardHeader.d.ts → BlockCardFrame.d.ts} +11 -3
- package/dist/_dts/editor-blocks/src/block-editor/types.d.ts +6 -0
- package/dist/_dts/editor-blocks/src/widgets/site-option-picker/loaders.d.ts +16 -1
- package/dist/_dts/editor-blocks/src/widgets/site-option-picker/types.d.ts +13 -0
- package/dist/_dts/editor-blocks/src/widgets/site-option-picker/utils.d.ts +29 -0
- package/dist/_dts/logger/src/console.d.ts +3 -0
- package/dist/_dts/preview-next/src/client/blocks/BoundaryControl.d.ts +7 -2
- package/dist/_dts/preview-next/src/client/blocks/composer/mergeDrafts.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/blocks/composer/types.d.ts +1 -0
- package/dist/_dts/preview-next/src/client/blocks/previewProjection/applyPreviewProjections.d.ts +1 -3
- package/dist/_dts/preview-next/src/client/blocks/previewProjection/runtimeContentDecoration.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/blocks/previewProjection/types.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/preview/PreviewEntryControllerProvider.d.ts +1 -0
- package/dist/_dts/sdk/src/client/publicEventReadOperations.d.ts +1 -0
- package/dist/_dts/sdk/src/client/runtimeCacheKeys.d.ts +8 -0
- package/dist/_dts/sdk/src/client/types.d.ts +4 -1
- package/dist/_dts/sdk/src/contracts/index.d.ts +1 -1
- package/dist/_dts/sdk/src/contracts/page.d.ts +7 -2
- package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +5 -0
- package/dist/_dts/sdk/src/manifest/passes/pass1-fields.d.ts +2 -2
- package/dist/_dts/sdk/src/navigation/index.d.ts +27 -0
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +21 -15
- package/dist/_dts/sdk/src/rendering/blocks-page-renderer.d.ts +3 -2
- package/dist/_dts/sdk/src/rendering/client.d.ts +1 -0
- package/dist/_dts/sdk/src/rendering/components/Block.shared.d.ts +1 -0
- package/dist/_dts/sdk/src/rendering/components/Layout.d.ts +7 -1
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +4 -2
- package/dist/_dts/sdk/src/rendering/helpers/loadContent.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/hooks/useContent.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/islands/enhancers/routeIslandApiConfig.d.ts +3 -2
- package/dist/_dts/sdk/src/rendering/islands/enhancers/shopShared.d.ts +2 -0
- package/dist/_dts/sdk/src/rendering/overrides.d.ts +1 -0
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/surfaces/src/index.d.ts +1 -0
- package/dist/_dts/theme-core/src/buttons/affordanceSuppression.d.ts +1 -1
- package/dist/_dts/theme-core/src/buttons/classNames.d.ts +3 -13
- package/dist/_dts/theme-core/src/customCss/index.d.ts +1 -1
- package/dist/_dts/theme-core/src/customCss/patch.d.ts +0 -5
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/layout/boundaryCss.d.ts +3 -0
- package/dist/_dts/theme-core/src/site-styles/compositionBudget.d.ts +8 -0
- package/dist/_dts/theme-core/src/site-styles/contentTemplateRuntimeCompiler.d.ts +3 -2
- package/dist/_dts/theme-core/src/site-styles/designState.d.ts +1 -3
- package/dist/_dts/theme-core/src/site-styles/generatedDesignPipeline.d.ts +3 -0
- package/dist/_dts/theme-core/src/site-styles/index.d.ts +3 -0
- package/dist/_dts/theme-core/src/site-styles/joinTreatment.d.ts +132 -0
- package/dist/_dts/theme-core/src/site-styles/pageDesignEditorBoundaries.d.ts +31 -0
- package/dist/_dts/theme-core/src/site-styles/pageDesignEditorModel.d.ts +33 -29
- package/dist/_dts/theme-core/src/site-styles/pageDesignIntent.d.ts +4 -4
- package/dist/_dts/theme-core/src/site-styles/pageFlowPresets.d.ts +36 -0
- package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +4 -10
- package/dist/_dts/theme-core/src/site-styles/rawStyleFields.d.ts +17 -4
- package/dist/_dts/theme-core/src/site-styles/runtimeCompiler.d.ts +20 -74
- package/dist/_dts/theme-core/src/site-styles/sectionBoundaryComposition.d.ts +95 -0
- package/dist/_dts/theme-core/src/site-styles/sectionTransitions.d.ts +80 -518
- package/dist/_dts/theme-core/src/site-styles/siteStyleBlockPolicies.d.ts +9 -4
- package/dist/_dts/theme-core/src/site-styles/transitionCatalogue.d.ts +320 -0
- package/dist/_dts/theme-core/src/site-styles/types.d.ts +3 -18
- package/dist/_dts/theme-core/src/surfaces/index.d.ts +1 -0
- package/dist/_dts/theme-core/src/surfaces/logoVariant.d.ts +26 -0
- package/dist/_dts/theme-core/src/utils/colorStyles.d.ts +10 -0
- package/dist/_dts/ui/src/editor-item-card.d.ts +116 -0
- package/dist/_dts/ui/src/index.d.ts +1 -0
- package/dist/client/{BookingConsentAgreement-BoCtvzzu.mjs → BookingConsentAgreement-DlVOmpW4.mjs} +4 -55
- package/dist/client/{DiscountCodeDisclosure-B5S30nZk.mjs → DiscountCodeDisclosure-T9q623PQ.mjs} +27 -17
- package/dist/client/{EventCombined.client-CeZ2-zSt.mjs → EventCombined.client-DnsUeONl.mjs} +54 -46
- package/dist/client/{EventListing.client-DJN3j8B3.mjs → EventListing.client-CNBFqJS4.mjs} +3 -4
- package/dist/client/{LeafletStaticMap-RjtGzDQT.mjs → LeafletStaticMap-C7higg52.mjs} +1 -1
- package/dist/client/ThemedButton-LAJTNrS8.mjs +412 -0
- package/dist/client/{accordion-DOmnDoyg.mjs → accordion-BcNF9TjX.mjs} +1 -1
- package/dist/client/{bookingForm-C0vk7pgS.mjs → bookingForm-BUaQ3S03.mjs} +161 -75
- package/dist/client/bookings.mjs +392 -182
- package/dist/client/{carousel-BZJ7pno3.mjs → carousel-CTdF6e0V.mjs} +2 -2
- package/dist/client/{carousel.client-DQTjCVQT.mjs → carousel.client-jahpU9Vz.mjs} +1 -1
- package/dist/client/{cart-CaeVAHJl.mjs → cart-pGtyf_XU.mjs} +3 -3
- package/dist/client/{checkout-7wmoNDtG.mjs → checkout-Da9WSn7Y.mjs} +3 -3
- package/dist/client/{checkoutUrls-FL6lRkrt.mjs → checkoutUrls-CW3-78uu.mjs} +1 -1
- package/dist/client/client.mjs +3819 -2717
- package/dist/client/{colorStyles-3013aRAY.mjs → colorStyles-CuJBiS-1.mjs} +16 -4
- package/dist/client/{context-BOimxE3U.mjs → context-BFeY_Wbm.mjs} +24 -8
- package/dist/client/{dates-BnzVksi4.mjs → dates-BhwVSxDg.mjs} +2 -2
- package/dist/client/{eventCalendar-l-fpaslC.mjs → eventCalendar-BAtdnR4s.mjs} +39 -50
- package/dist/client/{eventCombined-DGGvssK6.mjs → eventCombined-RksA3tRC.mjs} +5 -4
- package/dist/client/{eventDetails-DRiCm_hL.mjs → eventDetails-BB9hB4wR.mjs} +4 -4
- package/dist/client/{eventListing-dph8loYX.mjs → eventListing-BpJBkviM.mjs} +5 -4
- package/dist/client/{eventRegistration-ClBohmbY.mjs → eventRegistration-B18jFq_o.mjs} +83 -68
- package/dist/client/{form-BLVVAnd3.mjs → form-Dodt8Y8t.mjs} +9 -10
- package/dist/client/{headerSection-DHy4C8Ix.mjs → headerSection-B0qj9ttg.mjs} +23 -30
- package/dist/client/hooks.mjs +807 -162
- package/dist/client/{locationMap-6HuS28ck.mjs → locationMap-gn-iMk7a.mjs} +9 -10
- package/dist/client/{media-DHpfFwd3.mjs → media-BtJ37tzS.mjs} +1 -1
- package/dist/client/{newsletterForm-xOdcOhZP.mjs → newsletterForm-oByLdFkr.mjs} +31 -11
- package/dist/client/{pricing-ChinRYFt.mjs → pricing-BOU0_Hai.mjs} +1 -1
- package/dist/client/{productDetail-0chA5gbK.mjs → productDetail-D9v1zH2j.mjs} +3 -3
- package/dist/client/{productList-OoINA0h1.mjs → productList-D-mItx1n.mjs} +3 -3
- package/dist/client/{propsDecoder-CIZ-hbIG.mjs → propsDecoder-C3TP_z4x.mjs} +158 -61
- package/dist/client/rendering/client.mjs +2785 -2000
- package/dist/client/rendering/islands.mjs +19 -19
- package/dist/client/rendering.mjs +3855 -2694
- package/dist/client/{routeIslandApiConfig-UNsfPcYq.mjs → routeIslandApiConfig-DzN1W0sq.mjs} +8 -1
- package/dist/client/{scrollToBlock-BPZl0gPZ.mjs → scrollToBlock-CWs8EIdo.mjs} +1 -1
- package/dist/client/{shop-CLJFqNIq.mjs → shop-Dufw7N7o.mjs} +45 -58
- package/dist/client/{shop-commerce-PpANg5wB.mjs → shop-commerce-gklw_hLF.mjs} +42 -55
- package/dist/client/{shop-commerce-store-TA_Kz2ku.mjs → shop-commerce-store-Sf1eyTaZ.mjs} +1 -1
- package/dist/client/{shopShared-DzcFcA5g.mjs → shopShared-B5nyA41S.mjs} +6 -5
- package/dist/client/{useEventFilters-CFU21QZo.mjs → useEventFilters-CLL829vy.mjs} +66 -355
- package/dist/preview-next/before-render.mjs +147 -77
- package/dist/preview-next/client/runtime.mjs +4 -4
- package/dist/preview-next/editor-chrome.css +8 -0
- package/dist/preview-next/keepAlive.mjs +147 -77
- package/dist/preview-next/middleware.mjs +147 -77
- package/dist/{previewAuthStore-JA6-I_sL.mjs → previewAuthStore-BxAFlu-j.mjs} +147 -77
- package/dist/{sdk-runtime-CDKl0Fr7.mjs → sdk-runtime-D0uZFev7.mjs} +2 -2
- package/dist/{separator-BTp96X32.mjs → separator-EvdCAn4V.mjs} +1 -1
- package/dist/server/components.mjs +2548 -1607
- package/dist/server/config-validation.mjs +794 -160
- package/dist/server/config.mjs +794 -160
- package/dist/server/data.mjs +806 -161
- package/dist/server/index.mjs +167 -85
- package/dist/server/navigation.mjs +28 -1
- package/dist/server/next.mjs +14930 -14036
- package/dist/server/page-converter.mjs +494 -113
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +2537 -1590
- package/dist/server/rendering.mjs +2571 -1618
- package/dist/server/routing.mjs +918 -200
- package/dist/server/server.mjs +819 -205
- package/dist/server/theme-bridge.mjs +1232 -28
- package/dist/server/theme.mjs +6 -4
- package/dist/styles/index.css +6 -0
- package/package.json +2 -1
|
@@ -29,6 +29,75 @@ function resolvePreviewRuntimeSession(input) {
|
|
|
29
29
|
};
|
|
30
30
|
}
|
|
31
31
|
//#endregion
|
|
32
|
+
//#region ../api/src/defineEndpointDefinitions.ts
|
|
33
|
+
/**
|
|
34
|
+
* Validates extracted endpoint descriptors while preserving each literal path,
|
|
35
|
+
* method, and parameter contract for the typed URL builders.
|
|
36
|
+
*/
|
|
37
|
+
function defineEndpointDefinitions(definitions) {
|
|
38
|
+
return definitions;
|
|
39
|
+
}
|
|
40
|
+
//#endregion
|
|
41
|
+
//#region ../api/src/publicNewsletterEndpointDefinitions.ts
|
|
42
|
+
const PUBLIC_NEWSLETTER_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
43
|
+
subscribeNewsletter: {
|
|
44
|
+
path: "/public/sites/{siteId}/newsletter/subscribe",
|
|
45
|
+
method: "POST",
|
|
46
|
+
tags: ["public-newsletter-{siteId}"],
|
|
47
|
+
auth: "public",
|
|
48
|
+
responseKind: "json"
|
|
49
|
+
},
|
|
50
|
+
confirmNewsletter: {
|
|
51
|
+
path: "/public/sites/{siteId}/newsletter/confirm/{token}",
|
|
52
|
+
method: "GET",
|
|
53
|
+
tags: ["public-newsletter-{siteId}"],
|
|
54
|
+
auth: "public",
|
|
55
|
+
responseKind: "text"
|
|
56
|
+
},
|
|
57
|
+
unsubscribeNewsletter: {
|
|
58
|
+
path: "/public/sites/{siteId}/newsletter/unsubscribe/{token}",
|
|
59
|
+
method: "GET",
|
|
60
|
+
tags: ["public-newsletter-{siteId}"],
|
|
61
|
+
auth: "public",
|
|
62
|
+
responseKind: "text"
|
|
63
|
+
},
|
|
64
|
+
unsubscribeNewsletterPost: {
|
|
65
|
+
path: "/public/sites/{siteId}/newsletter/unsubscribe/{token}",
|
|
66
|
+
method: "POST",
|
|
67
|
+
tags: ["public-newsletter-{siteId}"],
|
|
68
|
+
auth: "public",
|
|
69
|
+
responseKind: "text"
|
|
70
|
+
},
|
|
71
|
+
confirmNewsletterPost: {
|
|
72
|
+
path: "/public/sites/{siteId}/newsletter/confirm/{token}",
|
|
73
|
+
method: "POST",
|
|
74
|
+
tags: ["public-newsletter-{siteId}"],
|
|
75
|
+
auth: "public",
|
|
76
|
+
responseKind: "text"
|
|
77
|
+
},
|
|
78
|
+
getNewsletterPreferences: {
|
|
79
|
+
path: "/public/sites/{siteId}/newsletter/preferences/{token}",
|
|
80
|
+
method: "GET",
|
|
81
|
+
tags: ["public-newsletter-{siteId}"],
|
|
82
|
+
auth: "public",
|
|
83
|
+
responseKind: "text"
|
|
84
|
+
},
|
|
85
|
+
saveNewsletterPreferences: {
|
|
86
|
+
path: "/public/sites/{siteId}/newsletter/preferences/{token}",
|
|
87
|
+
method: "POST",
|
|
88
|
+
tags: ["public-newsletter-{siteId}"],
|
|
89
|
+
auth: "public",
|
|
90
|
+
responseKind: "text"
|
|
91
|
+
},
|
|
92
|
+
getNewsletterArchive: {
|
|
93
|
+
path: "/public/sites/{siteId}/newsletter/archive/{token}",
|
|
94
|
+
method: "GET",
|
|
95
|
+
tags: ["public-newsletter-{siteId}"],
|
|
96
|
+
auth: "public",
|
|
97
|
+
responseKind: "text"
|
|
98
|
+
}
|
|
99
|
+
});
|
|
100
|
+
//#endregion
|
|
32
101
|
//#region ../api/src/apiEndpointTypes.ts
|
|
33
102
|
function allowedDemoMutationPolicy() {
|
|
34
103
|
return {
|
|
@@ -120,17 +189,85 @@ const SDK_ENTRY_READ_ENDPOINTS = {
|
|
|
120
189
|
}
|
|
121
190
|
};
|
|
122
191
|
//#endregion
|
|
123
|
-
//#region ../api/src/defineEndpointDefinitions.ts
|
|
124
|
-
/**
|
|
125
|
-
* Validates extracted endpoint descriptors while preserving each literal path,
|
|
126
|
-
* method, and parameter contract for the typed URL builders.
|
|
127
|
-
*/
|
|
128
|
-
function defineEndpointDefinitions(definitions) {
|
|
129
|
-
return definitions;
|
|
130
|
-
}
|
|
131
|
-
//#endregion
|
|
132
192
|
//#region ../api/src/appointmentEndpointDefinitions.ts
|
|
133
193
|
const APPOINTMENT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
194
|
+
...defineEndpointDefinitions({
|
|
195
|
+
listGroupedAppointmentServices: {
|
|
196
|
+
path: "/sites/{siteId}/bookings/services/grouped",
|
|
197
|
+
method: "GET",
|
|
198
|
+
auth: "user",
|
|
199
|
+
responseKind: "json",
|
|
200
|
+
errors: ["server:internal_error"]
|
|
201
|
+
},
|
|
202
|
+
reorderAppointmentServices: {
|
|
203
|
+
path: "/sites/{siteId}/bookings/services/order",
|
|
204
|
+
method: "PUT",
|
|
205
|
+
auth: "user",
|
|
206
|
+
responseKind: "json",
|
|
207
|
+
errors: [
|
|
208
|
+
"validation:invalid_input",
|
|
209
|
+
"auth:forbidden",
|
|
210
|
+
"resource:not_found",
|
|
211
|
+
"resource:conflict",
|
|
212
|
+
"server:internal_error"
|
|
213
|
+
]
|
|
214
|
+
},
|
|
215
|
+
listAppointmentServiceCategories: {
|
|
216
|
+
path: "/sites/{siteId}/bookings/service-categories",
|
|
217
|
+
method: "GET",
|
|
218
|
+
auth: "user",
|
|
219
|
+
responseKind: "json",
|
|
220
|
+
errors: ["server:internal_error"]
|
|
221
|
+
},
|
|
222
|
+
createAppointmentServiceCategory: {
|
|
223
|
+
path: "/sites/{siteId}/bookings/service-categories",
|
|
224
|
+
method: "POST",
|
|
225
|
+
auth: "user",
|
|
226
|
+
responseKind: "json",
|
|
227
|
+
errors: [
|
|
228
|
+
"validation:invalid_input",
|
|
229
|
+
"auth:forbidden",
|
|
230
|
+
"resource:conflict",
|
|
231
|
+
"server:internal_error"
|
|
232
|
+
]
|
|
233
|
+
},
|
|
234
|
+
updateAppointmentServiceCategory: {
|
|
235
|
+
path: "/sites/{siteId}/bookings/service-categories/{categoryId}",
|
|
236
|
+
method: "PUT",
|
|
237
|
+
auth: "user",
|
|
238
|
+
responseKind: "json",
|
|
239
|
+
errors: [
|
|
240
|
+
"validation:invalid_input",
|
|
241
|
+
"auth:forbidden",
|
|
242
|
+
"resource:not_found",
|
|
243
|
+
"resource:conflict",
|
|
244
|
+
"server:internal_error"
|
|
245
|
+
]
|
|
246
|
+
},
|
|
247
|
+
deleteAppointmentServiceCategory: {
|
|
248
|
+
path: "/sites/{siteId}/bookings/service-categories/{categoryId}",
|
|
249
|
+
method: "DELETE",
|
|
250
|
+
auth: "user",
|
|
251
|
+
responseKind: "json",
|
|
252
|
+
errors: [
|
|
253
|
+
"auth:forbidden",
|
|
254
|
+
"resource:not_found",
|
|
255
|
+
"server:internal_error"
|
|
256
|
+
]
|
|
257
|
+
},
|
|
258
|
+
reorderAppointmentServiceCategories: {
|
|
259
|
+
path: "/sites/{siteId}/bookings/service-categories/order",
|
|
260
|
+
method: "PUT",
|
|
261
|
+
auth: "user",
|
|
262
|
+
responseKind: "json",
|
|
263
|
+
errors: [
|
|
264
|
+
"validation:invalid_input",
|
|
265
|
+
"auth:forbidden",
|
|
266
|
+
"resource:conflict",
|
|
267
|
+
"server:internal_error"
|
|
268
|
+
]
|
|
269
|
+
}
|
|
270
|
+
}),
|
|
134
271
|
listAppointmentResources: {
|
|
135
272
|
path: "/sites/{siteId}/bookings/resources",
|
|
136
273
|
method: "GET",
|
|
@@ -1278,39 +1415,6 @@ const NEWSLETTER_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
1278
1415
|
auth: "user",
|
|
1279
1416
|
responseKind: "json",
|
|
1280
1417
|
demoMutation: DEMO_MUTATION_BLOCKED_HIDDEN
|
|
1281
|
-
},
|
|
1282
|
-
listNewsletterSendJobs: {
|
|
1283
|
-
path: "/sites/{siteId}/newsletter/jobs",
|
|
1284
|
-
method: "GET",
|
|
1285
|
-
tags: [TAG_TEMPLATES.site, TAG_TEMPLATES.siteNewsletter],
|
|
1286
|
-
auth: "user",
|
|
1287
|
-
responseKind: "json"
|
|
1288
|
-
},
|
|
1289
|
-
retryNewsletterSendJob: {
|
|
1290
|
-
path: "/sites/{siteId}/newsletter/jobs/{jobId}/retry",
|
|
1291
|
-
method: "POST",
|
|
1292
|
-
errors: [
|
|
1293
|
-
"validation:invalid_input",
|
|
1294
|
-
"resource:not_found",
|
|
1295
|
-
"auth:forbidden",
|
|
1296
|
-
"server:internal_error"
|
|
1297
|
-
],
|
|
1298
|
-
tags: [TAG_TEMPLATES.site, TAG_TEMPLATES.siteNewsletter],
|
|
1299
|
-
auth: "user",
|
|
1300
|
-
responseKind: "json"
|
|
1301
|
-
},
|
|
1302
|
-
cancelNewsletterSendJob: {
|
|
1303
|
-
path: "/sites/{siteId}/newsletter/jobs/{jobId}/cancel",
|
|
1304
|
-
method: "POST",
|
|
1305
|
-
errors: [
|
|
1306
|
-
"validation:invalid_input",
|
|
1307
|
-
"resource:not_found",
|
|
1308
|
-
"auth:forbidden",
|
|
1309
|
-
"server:internal_error"
|
|
1310
|
-
],
|
|
1311
|
-
tags: [TAG_TEMPLATES.site, TAG_TEMPLATES.siteNewsletter],
|
|
1312
|
-
auth: "user",
|
|
1313
|
-
responseKind: "json"
|
|
1314
1418
|
}
|
|
1315
1419
|
});
|
|
1316
1420
|
const PUBLIC_CONTENT_FRESHNESS_SECONDS = 3600;
|
|
@@ -2126,6 +2230,7 @@ const BILLING_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
2126
2230
|
}
|
|
2127
2231
|
});
|
|
2128
2232
|
const API_ENDPOINTS = {
|
|
2233
|
+
...PUBLIC_NEWSLETTER_ENDPOINT_DEFINITIONS,
|
|
2129
2234
|
...ACCOUNT_ENDPOINT_DEFINITIONS,
|
|
2130
2235
|
...PUBLIC_ONBOARDING_ATTEMPT_ENDPOINT_DEFINITIONS,
|
|
2131
2236
|
...PUBLIC_EVENT_ENDPOINT_DEFINITIONS,
|
|
@@ -5260,41 +5365,6 @@ const API_ENDPOINTS = {
|
|
|
5260
5365
|
"server:internal_error"
|
|
5261
5366
|
]
|
|
5262
5367
|
},
|
|
5263
|
-
subscribeNewsletter: {
|
|
5264
|
-
path: "/public/sites/{siteId}/newsletter/subscribe",
|
|
5265
|
-
method: "POST",
|
|
5266
|
-
tags: ["public-newsletter-{siteId}"],
|
|
5267
|
-
auth: "public",
|
|
5268
|
-
responseKind: "json"
|
|
5269
|
-
},
|
|
5270
|
-
confirmNewsletter: {
|
|
5271
|
-
path: "/public/sites/{siteId}/newsletter/confirm/{token}",
|
|
5272
|
-
method: "GET",
|
|
5273
|
-
tags: ["public-newsletter-{siteId}"],
|
|
5274
|
-
auth: "public",
|
|
5275
|
-
responseKind: "text"
|
|
5276
|
-
},
|
|
5277
|
-
unsubscribeNewsletter: {
|
|
5278
|
-
path: "/public/sites/{siteId}/newsletter/unsubscribe/{token}",
|
|
5279
|
-
method: "GET",
|
|
5280
|
-
tags: ["public-newsletter-{siteId}"],
|
|
5281
|
-
auth: "public",
|
|
5282
|
-
responseKind: "text"
|
|
5283
|
-
},
|
|
5284
|
-
unsubscribeNewsletterPost: {
|
|
5285
|
-
path: "/public/sites/{siteId}/newsletter/unsubscribe/{token}",
|
|
5286
|
-
method: "POST",
|
|
5287
|
-
tags: ["public-newsletter-{siteId}"],
|
|
5288
|
-
auth: "public",
|
|
5289
|
-
responseKind: "text"
|
|
5290
|
-
},
|
|
5291
|
-
getNewsletterArchive: {
|
|
5292
|
-
path: "/public/sites/{siteId}/newsletter/archive/{token}",
|
|
5293
|
-
method: "GET",
|
|
5294
|
-
tags: ["public-newsletter-{siteId}"],
|
|
5295
|
-
auth: "public",
|
|
5296
|
-
responseKind: "text"
|
|
5297
|
-
},
|
|
5298
5368
|
listSiteContentTypes: {
|
|
5299
5369
|
path: "/sites/{siteId}/content-types",
|
|
5300
5370
|
method: "GET",
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { a as usePreviewLayout, i as useOptionalPreviewLayout, n as createPreviewQueryClient, r as PreviewLayoutProvider, t as PreviewQueryProvider } from "../../PreviewQueryProvider-
|
|
2
|
+
import { a as usePreviewLayout, i as useOptionalPreviewLayout, n as createPreviewQueryClient, r as PreviewLayoutProvider, t as PreviewQueryProvider } from "../../PreviewQueryProvider-BxGwdOCV.mjs";
|
|
3
3
|
import React from "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region src/preview-next/client/runtime.tsx
|
|
6
6
|
const LazySdkPreviewMode = React.lazy(async () => {
|
|
7
|
-
return { default: (await import("../../SdkPreviewModeRuntime-
|
|
7
|
+
return { default: (await import("../../SdkPreviewModeRuntime-DYbA_4iv.mjs").then((n) => n.n)).SdkPreviewModeRuntime };
|
|
8
8
|
});
|
|
9
9
|
const LazyPreviewShell = React.lazy(async () => {
|
|
10
|
-
return { default: (await import("../../sdk-runtime-
|
|
10
|
+
return { default: (await import("../../sdk-runtime-D0uZFev7.mjs")).PreviewShell };
|
|
11
11
|
});
|
|
12
12
|
const LazyPreviewShellLayout = React.lazy(async () => {
|
|
13
|
-
return { default: (await import("../../sdk-runtime-
|
|
13
|
+
return { default: (await import("../../sdk-runtime-D0uZFev7.mjs")).PreviewShellLayout };
|
|
14
14
|
});
|
|
15
15
|
function SdkPreviewMode(props) {
|
|
16
16
|
return /* @__PURE__ */ jsx(React.Suspense, {
|
|
@@ -139,6 +139,14 @@
|
|
|
139
139
|
margin: var(--rt-space-y, 0.75rem) 0;
|
|
140
140
|
}
|
|
141
141
|
|
|
142
|
+
:where(.builder-editor-content) :where(li > p:first-child) {
|
|
143
|
+
margin-top: 0;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
:where(.builder-editor-content) :where(li > p:last-child) {
|
|
147
|
+
margin-bottom: 0;
|
|
148
|
+
}
|
|
149
|
+
|
|
142
150
|
:where(.builder-editor-content > :first-child),
|
|
143
151
|
:where(.builder-editor-content .ProseMirror > :first-child) {
|
|
144
152
|
margin-top: 0;
|
|
@@ -59,6 +59,75 @@ function decodeJwtPayload(token) {
|
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
//#endregion
|
|
62
|
+
//#region ../api/src/defineEndpointDefinitions.ts
|
|
63
|
+
/**
|
|
64
|
+
* Validates extracted endpoint descriptors while preserving each literal path,
|
|
65
|
+
* method, and parameter contract for the typed URL builders.
|
|
66
|
+
*/
|
|
67
|
+
function defineEndpointDefinitions(definitions) {
|
|
68
|
+
return definitions;
|
|
69
|
+
}
|
|
70
|
+
//#endregion
|
|
71
|
+
//#region ../api/src/publicNewsletterEndpointDefinitions.ts
|
|
72
|
+
const PUBLIC_NEWSLETTER_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
73
|
+
subscribeNewsletter: {
|
|
74
|
+
path: "/public/sites/{siteId}/newsletter/subscribe",
|
|
75
|
+
method: "POST",
|
|
76
|
+
tags: ["public-newsletter-{siteId}"],
|
|
77
|
+
auth: "public",
|
|
78
|
+
responseKind: "json"
|
|
79
|
+
},
|
|
80
|
+
confirmNewsletter: {
|
|
81
|
+
path: "/public/sites/{siteId}/newsletter/confirm/{token}",
|
|
82
|
+
method: "GET",
|
|
83
|
+
tags: ["public-newsletter-{siteId}"],
|
|
84
|
+
auth: "public",
|
|
85
|
+
responseKind: "text"
|
|
86
|
+
},
|
|
87
|
+
unsubscribeNewsletter: {
|
|
88
|
+
path: "/public/sites/{siteId}/newsletter/unsubscribe/{token}",
|
|
89
|
+
method: "GET",
|
|
90
|
+
tags: ["public-newsletter-{siteId}"],
|
|
91
|
+
auth: "public",
|
|
92
|
+
responseKind: "text"
|
|
93
|
+
},
|
|
94
|
+
unsubscribeNewsletterPost: {
|
|
95
|
+
path: "/public/sites/{siteId}/newsletter/unsubscribe/{token}",
|
|
96
|
+
method: "POST",
|
|
97
|
+
tags: ["public-newsletter-{siteId}"],
|
|
98
|
+
auth: "public",
|
|
99
|
+
responseKind: "text"
|
|
100
|
+
},
|
|
101
|
+
confirmNewsletterPost: {
|
|
102
|
+
path: "/public/sites/{siteId}/newsletter/confirm/{token}",
|
|
103
|
+
method: "POST",
|
|
104
|
+
tags: ["public-newsletter-{siteId}"],
|
|
105
|
+
auth: "public",
|
|
106
|
+
responseKind: "text"
|
|
107
|
+
},
|
|
108
|
+
getNewsletterPreferences: {
|
|
109
|
+
path: "/public/sites/{siteId}/newsletter/preferences/{token}",
|
|
110
|
+
method: "GET",
|
|
111
|
+
tags: ["public-newsletter-{siteId}"],
|
|
112
|
+
auth: "public",
|
|
113
|
+
responseKind: "text"
|
|
114
|
+
},
|
|
115
|
+
saveNewsletterPreferences: {
|
|
116
|
+
path: "/public/sites/{siteId}/newsletter/preferences/{token}",
|
|
117
|
+
method: "POST",
|
|
118
|
+
tags: ["public-newsletter-{siteId}"],
|
|
119
|
+
auth: "public",
|
|
120
|
+
responseKind: "text"
|
|
121
|
+
},
|
|
122
|
+
getNewsletterArchive: {
|
|
123
|
+
path: "/public/sites/{siteId}/newsletter/archive/{token}",
|
|
124
|
+
method: "GET",
|
|
125
|
+
tags: ["public-newsletter-{siteId}"],
|
|
126
|
+
auth: "public",
|
|
127
|
+
responseKind: "text"
|
|
128
|
+
}
|
|
129
|
+
});
|
|
130
|
+
//#endregion
|
|
62
131
|
//#region ../api/src/apiEndpointTypes.ts
|
|
63
132
|
function allowedDemoMutationPolicy() {
|
|
64
133
|
return {
|
|
@@ -150,17 +219,85 @@ const SDK_ENTRY_READ_ENDPOINTS = {
|
|
|
150
219
|
}
|
|
151
220
|
};
|
|
152
221
|
//#endregion
|
|
153
|
-
//#region ../api/src/defineEndpointDefinitions.ts
|
|
154
|
-
/**
|
|
155
|
-
* Validates extracted endpoint descriptors while preserving each literal path,
|
|
156
|
-
* method, and parameter contract for the typed URL builders.
|
|
157
|
-
*/
|
|
158
|
-
function defineEndpointDefinitions(definitions) {
|
|
159
|
-
return definitions;
|
|
160
|
-
}
|
|
161
|
-
//#endregion
|
|
162
222
|
//#region ../api/src/appointmentEndpointDefinitions.ts
|
|
163
223
|
const APPOINTMENT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
224
|
+
...defineEndpointDefinitions({
|
|
225
|
+
listGroupedAppointmentServices: {
|
|
226
|
+
path: "/sites/{siteId}/bookings/services/grouped",
|
|
227
|
+
method: "GET",
|
|
228
|
+
auth: "user",
|
|
229
|
+
responseKind: "json",
|
|
230
|
+
errors: ["server:internal_error"]
|
|
231
|
+
},
|
|
232
|
+
reorderAppointmentServices: {
|
|
233
|
+
path: "/sites/{siteId}/bookings/services/order",
|
|
234
|
+
method: "PUT",
|
|
235
|
+
auth: "user",
|
|
236
|
+
responseKind: "json",
|
|
237
|
+
errors: [
|
|
238
|
+
"validation:invalid_input",
|
|
239
|
+
"auth:forbidden",
|
|
240
|
+
"resource:not_found",
|
|
241
|
+
"resource:conflict",
|
|
242
|
+
"server:internal_error"
|
|
243
|
+
]
|
|
244
|
+
},
|
|
245
|
+
listAppointmentServiceCategories: {
|
|
246
|
+
path: "/sites/{siteId}/bookings/service-categories",
|
|
247
|
+
method: "GET",
|
|
248
|
+
auth: "user",
|
|
249
|
+
responseKind: "json",
|
|
250
|
+
errors: ["server:internal_error"]
|
|
251
|
+
},
|
|
252
|
+
createAppointmentServiceCategory: {
|
|
253
|
+
path: "/sites/{siteId}/bookings/service-categories",
|
|
254
|
+
method: "POST",
|
|
255
|
+
auth: "user",
|
|
256
|
+
responseKind: "json",
|
|
257
|
+
errors: [
|
|
258
|
+
"validation:invalid_input",
|
|
259
|
+
"auth:forbidden",
|
|
260
|
+
"resource:conflict",
|
|
261
|
+
"server:internal_error"
|
|
262
|
+
]
|
|
263
|
+
},
|
|
264
|
+
updateAppointmentServiceCategory: {
|
|
265
|
+
path: "/sites/{siteId}/bookings/service-categories/{categoryId}",
|
|
266
|
+
method: "PUT",
|
|
267
|
+
auth: "user",
|
|
268
|
+
responseKind: "json",
|
|
269
|
+
errors: [
|
|
270
|
+
"validation:invalid_input",
|
|
271
|
+
"auth:forbidden",
|
|
272
|
+
"resource:not_found",
|
|
273
|
+
"resource:conflict",
|
|
274
|
+
"server:internal_error"
|
|
275
|
+
]
|
|
276
|
+
},
|
|
277
|
+
deleteAppointmentServiceCategory: {
|
|
278
|
+
path: "/sites/{siteId}/bookings/service-categories/{categoryId}",
|
|
279
|
+
method: "DELETE",
|
|
280
|
+
auth: "user",
|
|
281
|
+
responseKind: "json",
|
|
282
|
+
errors: [
|
|
283
|
+
"auth:forbidden",
|
|
284
|
+
"resource:not_found",
|
|
285
|
+
"server:internal_error"
|
|
286
|
+
]
|
|
287
|
+
},
|
|
288
|
+
reorderAppointmentServiceCategories: {
|
|
289
|
+
path: "/sites/{siteId}/bookings/service-categories/order",
|
|
290
|
+
method: "PUT",
|
|
291
|
+
auth: "user",
|
|
292
|
+
responseKind: "json",
|
|
293
|
+
errors: [
|
|
294
|
+
"validation:invalid_input",
|
|
295
|
+
"auth:forbidden",
|
|
296
|
+
"resource:conflict",
|
|
297
|
+
"server:internal_error"
|
|
298
|
+
]
|
|
299
|
+
}
|
|
300
|
+
}),
|
|
164
301
|
listAppointmentResources: {
|
|
165
302
|
path: "/sites/{siteId}/bookings/resources",
|
|
166
303
|
method: "GET",
|
|
@@ -1308,39 +1445,6 @@ const NEWSLETTER_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
1308
1445
|
auth: "user",
|
|
1309
1446
|
responseKind: "json",
|
|
1310
1447
|
demoMutation: DEMO_MUTATION_BLOCKED_HIDDEN
|
|
1311
|
-
},
|
|
1312
|
-
listNewsletterSendJobs: {
|
|
1313
|
-
path: "/sites/{siteId}/newsletter/jobs",
|
|
1314
|
-
method: "GET",
|
|
1315
|
-
tags: [TAG_TEMPLATES.site, TAG_TEMPLATES.siteNewsletter],
|
|
1316
|
-
auth: "user",
|
|
1317
|
-
responseKind: "json"
|
|
1318
|
-
},
|
|
1319
|
-
retryNewsletterSendJob: {
|
|
1320
|
-
path: "/sites/{siteId}/newsletter/jobs/{jobId}/retry",
|
|
1321
|
-
method: "POST",
|
|
1322
|
-
errors: [
|
|
1323
|
-
"validation:invalid_input",
|
|
1324
|
-
"resource:not_found",
|
|
1325
|
-
"auth:forbidden",
|
|
1326
|
-
"server:internal_error"
|
|
1327
|
-
],
|
|
1328
|
-
tags: [TAG_TEMPLATES.site, TAG_TEMPLATES.siteNewsletter],
|
|
1329
|
-
auth: "user",
|
|
1330
|
-
responseKind: "json"
|
|
1331
|
-
},
|
|
1332
|
-
cancelNewsletterSendJob: {
|
|
1333
|
-
path: "/sites/{siteId}/newsletter/jobs/{jobId}/cancel",
|
|
1334
|
-
method: "POST",
|
|
1335
|
-
errors: [
|
|
1336
|
-
"validation:invalid_input",
|
|
1337
|
-
"resource:not_found",
|
|
1338
|
-
"auth:forbidden",
|
|
1339
|
-
"server:internal_error"
|
|
1340
|
-
],
|
|
1341
|
-
tags: [TAG_TEMPLATES.site, TAG_TEMPLATES.siteNewsletter],
|
|
1342
|
-
auth: "user",
|
|
1343
|
-
responseKind: "json"
|
|
1344
1448
|
}
|
|
1345
1449
|
});
|
|
1346
1450
|
const PUBLIC_CONTENT_FRESHNESS_SECONDS = 3600;
|
|
@@ -2156,6 +2260,7 @@ const BILLING_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
2156
2260
|
}
|
|
2157
2261
|
});
|
|
2158
2262
|
const API_ENDPOINTS = {
|
|
2263
|
+
...PUBLIC_NEWSLETTER_ENDPOINT_DEFINITIONS,
|
|
2159
2264
|
...ACCOUNT_ENDPOINT_DEFINITIONS,
|
|
2160
2265
|
...PUBLIC_ONBOARDING_ATTEMPT_ENDPOINT_DEFINITIONS,
|
|
2161
2266
|
...PUBLIC_EVENT_ENDPOINT_DEFINITIONS,
|
|
@@ -5290,41 +5395,6 @@ const API_ENDPOINTS = {
|
|
|
5290
5395
|
"server:internal_error"
|
|
5291
5396
|
]
|
|
5292
5397
|
},
|
|
5293
|
-
subscribeNewsletter: {
|
|
5294
|
-
path: "/public/sites/{siteId}/newsletter/subscribe",
|
|
5295
|
-
method: "POST",
|
|
5296
|
-
tags: ["public-newsletter-{siteId}"],
|
|
5297
|
-
auth: "public",
|
|
5298
|
-
responseKind: "json"
|
|
5299
|
-
},
|
|
5300
|
-
confirmNewsletter: {
|
|
5301
|
-
path: "/public/sites/{siteId}/newsletter/confirm/{token}",
|
|
5302
|
-
method: "GET",
|
|
5303
|
-
tags: ["public-newsletter-{siteId}"],
|
|
5304
|
-
auth: "public",
|
|
5305
|
-
responseKind: "text"
|
|
5306
|
-
},
|
|
5307
|
-
unsubscribeNewsletter: {
|
|
5308
|
-
path: "/public/sites/{siteId}/newsletter/unsubscribe/{token}",
|
|
5309
|
-
method: "GET",
|
|
5310
|
-
tags: ["public-newsletter-{siteId}"],
|
|
5311
|
-
auth: "public",
|
|
5312
|
-
responseKind: "text"
|
|
5313
|
-
},
|
|
5314
|
-
unsubscribeNewsletterPost: {
|
|
5315
|
-
path: "/public/sites/{siteId}/newsletter/unsubscribe/{token}",
|
|
5316
|
-
method: "POST",
|
|
5317
|
-
tags: ["public-newsletter-{siteId}"],
|
|
5318
|
-
auth: "public",
|
|
5319
|
-
responseKind: "text"
|
|
5320
|
-
},
|
|
5321
|
-
getNewsletterArchive: {
|
|
5322
|
-
path: "/public/sites/{siteId}/newsletter/archive/{token}",
|
|
5323
|
-
method: "GET",
|
|
5324
|
-
tags: ["public-newsletter-{siteId}"],
|
|
5325
|
-
auth: "public",
|
|
5326
|
-
responseKind: "text"
|
|
5327
|
-
},
|
|
5328
5398
|
listSiteContentTypes: {
|
|
5329
5399
|
path: "/sites/{siteId}/content-types",
|
|
5330
5400
|
method: "GET",
|