@riverbankcms/sdk 0.160.0 → 0.162.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/_dts/{BlocksIslandsHydrator-CoqeotCL.d.ts → BlocksIslandsHydrator-PZUoA872.d.ts} +1 -1
- package/dist/_dts/{Page-C0ENVLCF.d.ts → Page-CdQS6C7i.d.ts} +211 -9
- package/dist/_dts/{SdkPreviewMode-jZK0A49V.d.ts → SdkPreviewMode-CNGO-5f1.d.ts} +59 -92
- package/dist/_dts/{auth-contract-FPg0-2MC.d.ts → auth-contract-CgJ5nMaH.d.ts} +2 -0
- package/dist/_dts/{client-uMMuPq9V.d.ts → client-DGa53rjL.d.ts} +11 -3
- package/dist/_dts/{content-types-D6nXGqdQ.d.ts → content-types-K9R7P-KF.d.ts} +2 -2
- package/dist/_dts/{contracts-Bnmj1nxu.d.ts → contracts-CyBaPaIq.d.ts} +17 -5
- package/dist/_dts/{footerPageOutline-CeLjFX8b.d.ts → footerPageOutline-B6jmKmon.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-nyU8q02J.d.ts → generatePageMetadata-iemoR3AN.d.ts} +2 -2
- package/dist/_dts/{index-BaaGBY1v.d.ts → index-8CN0Nd-Z.d.ts} +2 -2
- package/dist/_dts/{index-nVoi_74l.d.ts → index-BtnsA14K.d.ts} +10 -20
- package/dist/_dts/{index-lkpjIg5i.d.ts → index-C39F9KaB.d.ts} +13 -2
- package/dist/_dts/{index-C5xslEBn.d.ts → index-DEu85xBt.d.ts} +1 -1
- package/dist/_dts/{schema-D0bNcPWK.d.ts → index-DI2yaSPY.d.ts} +22873 -19918
- package/dist/_dts/{types-D8czmbQF.d.ts → index-Dbd0Sn0G.d.ts} +4356 -1827
- package/dist/_dts/{index-CEaKil7G.d.ts → index-Du1IRglc.d.ts} +2 -2
- package/dist/_dts/{index-DahMwisK.d.ts → index-Jlcq6w69.d.ts} +3 -3
- package/dist/_dts/{index-Bg64CkV-.d.ts → index-Wm62sXf2.d.ts} +4 -4
- package/dist/_dts/{loadContent-CYLmzvLq.d.ts → loadContent-BPfAAZDW.d.ts} +13 -10
- package/dist/_dts/{resolvePageContent-DqnxChOs.d.ts → resolvePageContent-DWbrtKf8.d.ts} +2 -2
- package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
- package/dist/_dts/sdk/src/client/types.d.ts +2 -2
- package/dist/_dts/sdk/src/client.d.ts +7 -7
- package/dist/_dts/sdk/src/config/index.d.ts +6 -6
- package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
- package/dist/_dts/sdk/src/index.d.ts +8 -8
- package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
- package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
- package/dist/_dts/sdk/src/navigation/index.d.ts +2 -2
- package/dist/_dts/sdk/src/next/index.d.ts +7 -7
- package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
- package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
- package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
- package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/keep-alive.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/session.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
- package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
- package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
- package/dist/_dts/sdk/src/server.d.ts +5 -5
- package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
- package/dist/_dts/{session-Ba2CsnK5.d.ts → session-C_gtSFyZ.d.ts} +2 -1
- package/dist/_dts/{types-DSgmJ15W.d.ts → types-CVv2H4AT.d.ts} +7 -7
- package/dist/_dts/{types-CFrYuXYP.d.ts → types-CfNG5koF.d.ts} +4 -2
- package/dist/_dts/{types-Dm-KW7nj.d.ts → types-ClZ-BQL_.d.ts} +3 -3
- package/dist/_dts/{validation-Bmb4WnHg.d.ts → validation-BJ6Lf_Dr.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-DZRKi6tT.mjs → BlocksIslandsHydrator-COqlgWYU.mjs} +23 -21
- package/dist/client/{BookingMailingListNote-C00sLLdL.mjs → BookingMailingListNote-CFYPDEHH.mjs} +1 -1
- package/dist/client/{CalendarNavigationChevron-CHSi9b3E.mjs → CalendarNavigationChevron-COBVxgHb.mjs} +6 -6
- package/dist/client/{CheckboxChoice-Bhm6RAUL.mjs → CheckboxChoice-C7X9dJ8A.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-CaN-7ui7.mjs → DemoBookingPortalAccess-CvT0E9AR.mjs} +26 -10
- package/dist/client/{DemoPortalSignInLink-ClxN5_xZ.mjs → DemoPortalSignInLink-EBOBN5dT.mjs} +1 -1
- package/dist/client/{EventCalendar.client-BncvSa1n.mjs → EventCalendar.client-U6pKcntV.mjs} +16 -17
- package/dist/client/{EventCombined.client-DluBxVVu.mjs → EventCombined.client-CNzwEHws.mjs} +8 -8
- package/dist/client/{EventEmbeddedCheckoutStep-BiJrMtfp.mjs → EventEmbeddedCheckoutStep-B9yAWV_k.mjs} +1 -1
- package/dist/client/{EventItem-CXhnT9pF.mjs → EventItem-M5rpaHxi.mjs} +4 -4
- package/dist/client/{EventListWeekNavigation-V-dtoDlD.mjs → EventListWeekNavigation-D4ieBLDY.mjs} +1 -1
- package/dist/client/{EventListing.client-DPO6SZbx.mjs → EventListing.client-B8F40Rmn.mjs} +3 -3
- package/dist/client/{EventListing.view-B-Yi5JZS.mjs → EventListing.view-k4lhuCn5.mjs} +15 -6
- package/dist/client/{EventRegistrationPayment-Dc3Fnlnw.mjs → EventRegistrationPayment-C3g8_Hqb.mjs} +25 -13
- package/dist/client/LocationMapActions-CAjt7qVo.mjs +62 -0
- package/dist/client/MapDrawingSvg-_aIK2ojv.mjs +200 -0
- package/dist/client/{Page-7PkzO04N.mjs → Page-DJBIQBOw.mjs} +2555 -536
- package/dist/client/{StepIndicator-DiD6euZ8.mjs → StepIndicator-CFacB1z6.mjs} +2 -2
- package/dist/client/{TabBarFragment-BHd8GN8y.mjs → TabBarFragment-BLsfQskO.mjs} +1 -1
- package/dist/client/ThemedButton-BWsDgjMC.mjs +2243 -0
- package/dist/client/{accordion-2m27DsIk.mjs → accordion-CtO2XF7M.mjs} +1 -1
- package/dist/client/{booking-form.client-BddWV5w1.mjs → booking-form.client-RICCQ0h2.mjs} +137 -60
- package/dist/client/{bookingForm-bcdXQjmw.mjs → bookingForm-SvjLPx8i.mjs} +4 -4
- package/dist/client/bookings.mjs +5 -5
- package/dist/client/{carousel-D7nj9I0y.mjs → carousel-BR-zCD3O.mjs} +2 -2
- package/dist/client/{carousel.client-AffDJo_s.mjs → carousel.client-CEWtoZd3.mjs} +1 -1
- package/dist/client/{cart-PN6yCw1H.mjs → cart-C6YpKbZZ.mjs} +3 -3
- package/dist/client/{cart.client-D4t1f0cJ.mjs → cart.client-dC938WrX.mjs} +1 -1
- package/dist/client/{checkout-CsTwXVSb.mjs → checkout-Dy9RlREI.mjs} +3 -3
- package/dist/client/{checkout.client-BhQE3zY7.mjs → checkout.client-CefG0d2F.mjs} +1 -1
- package/dist/client/client.mjs +37 -71
- package/dist/client/{context-BLAvalAa.mjs → context-BFwxgZpB.mjs} +28 -1
- package/dist/client/{cta-CUXhX_D7.mjs → cta-DtA42Xio.mjs} +1 -1
- package/dist/client/{dateFormatting-BHIHxNuo.mjs → dateFormatting-yP1B7F0O.mjs} +39 -2
- package/dist/client/{demoPortalMagicLink-R-awbk_0.mjs → demoPortalMagicLink-WOiT5Ryi.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-9Q93uvTo.mjs → enhanceHeaderSection-Dh8c_Lq-.mjs} +3 -3
- package/dist/client/{event-details.client-BS1WtG-a.mjs → event-details.client-BFgsLqTj.mjs} +3 -17
- package/dist/client/{event-registration.client-BXndwsET.mjs → event-registration.client-BaXZ1-Ky.mjs} +16 -16
- package/dist/client/{eventCalendar-HyoOt1Qz.mjs → eventCalendar-COLwF80U.mjs} +4 -4
- package/dist/client/{eventCombined-sdG5oEaH.mjs → eventCombined-D3Ltwu03.mjs} +4 -4
- package/dist/client/{eventDetails-FFAknE4w.mjs → eventDetails-CBrkimXu.mjs} +2 -2
- package/dist/client/{eventListing-CGK6urk3.mjs → eventListing-CedKVA1S.mjs} +4 -4
- package/dist/client/{eventRegistration-VhrvCs4l.mjs → eventRegistration-DkQQfR1b.mjs} +4 -4
- package/dist/client/{form-C-B5O_ko.mjs → form-XFy9uXSJ.mjs} +3 -3
- package/dist/client/{form.client-DoZVcl8d.mjs → form.client-B0iancFK.mjs} +4 -4
- package/dist/client/{form.parts-mttKpgif.mjs → form.parts-DMbolu9Y.mjs} +3 -3
- package/dist/client/{formatDate-xUSCknEO.mjs → formatDate-Jm5MQOCA.mjs} +1 -1
- package/dist/client/gifting/client.mjs +3 -3
- package/dist/client/{headerSection-BHUEXsaI.mjs → headerSection-WjlECjtV.mjs} +2 -2
- package/dist/client/{mediaAssets-BOj-Co0B.mjs → mediaAssets-BkoW_PEn.mjs} +1 -1
- package/dist/client/{mediaContext-DThoeEBU.mjs → mediaContext-CNzWmoA4.mjs} +1 -1
- package/dist/client/{newsletter-form.client-D_n0rftg.mjs → newsletter-form.client-D-XwJTjN.mjs} +5 -5
- package/dist/client/{newsletter-form.parts-DKHye4IE.mjs → newsletter-form.parts-H92f30y0.mjs} +2 -2
- package/dist/client/{newsletterForm-tEaYelzx.mjs → newsletterForm-DMuxzu6I.mjs} +3 -3
- package/dist/client/{noop-B610YKEx.mjs → noop-B3RNPVrt.mjs} +313 -3
- package/dist/client/portal/client.mjs +1116 -85
- package/dist/client/{product-detail.client-DUf5x5Jt.mjs → product-detail.client-B3HuuykE.mjs} +1 -1
- package/dist/client/{product-list.client-Cqp1BPTV.mjs → product-list.client-CzsDrHQO.mjs} +1 -1
- package/dist/client/{productDetail-B8bBiogP.mjs → productDetail-CbBUVWgd.mjs} +3 -3
- package/dist/client/{productList-BKN4D-1z.mjs → productList-vqOKH2mh.mjs} +3 -3
- package/dist/client/{propsDecoder-2nNZh2Oe.mjs → propsDecoder-CkSUep5a.mjs} +4 -28
- package/dist/client/{registry.server-BAm4RPNJ.mjs → registry.server-cZ24QwtW.mjs} +607 -210
- package/dist/client/rendering/client.mjs +28 -28
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +18 -9
- package/dist/client/{richText-coerce-Cv-qomNB.mjs → richText-coerce-DDcCKvBJ.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-C5u8MbAA.mjs → routeIslandApiConfig-DYBioANh.mjs} +1 -1
- package/dist/client/{ThemedButton-C22C9cCF.mjs → schema-DNHLlze-.mjs} +7307 -8363
- package/dist/client/{shop-DZNC0VKk.mjs → shop-CF0dhnfH.mjs} +3 -3
- package/dist/client/{shop-commerce-DdX4LSa3.mjs → shop-commerce-DQznNBEo.mjs} +11 -11
- package/dist/client/{shop-commerce-store-BJtrZov9.mjs → shop-commerce-store-Ba8zPlIg.mjs} +1 -1
- package/dist/client/{shop.client-DmDd-igg.mjs → shop.client-DqfYoqWH.mjs} +12 -12
- package/dist/client/{shop.interactive-5SnnDHz3.mjs → shop.interactive-CreQ0I7i.mjs} +38 -183
- package/dist/client/{shopShared-CPqUlAh9.mjs → shopShared-D-yh-P7g.mjs} +2 -2
- package/dist/client/site-styles-B9HgmY07.mjs +11619 -0
- package/dist/client/{timetableModel-C19rcHEw.mjs → timetableModel-DCdVErTJ.mjs} +149 -8
- package/dist/client/{useAvailableSlots-BjbJXotk.mjs → useAvailableSlots-Cvgdp2DH.mjs} +8 -11
- package/dist/client/{useBookingNowIso-CMgfL7YJ.mjs → useBookingNowIso-DrTnGNzD.mjs} +1 -1
- package/dist/client/{useDiscountApply-KG8jB7WC.mjs → useDiscountApply-CULjnXGl.mjs} +2 -2
- package/dist/client/{useDiscountCodeUi-DK2w_i0a.mjs → useDiscountCodeUi-Gn_m7e0o.mjs} +1 -1
- package/dist/client/{useEventPagination-DW6MCirb.mjs → useEventPagination-CsysCF22.mjs} +8 -21
- package/dist/client/{view-CseyBW07.mjs → view-BpBjo9Te.mjs} +71 -59
- package/dist/client/{view-CkUn3Y0Y.mjs → view-DMyTchi7.mjs} +4 -4
- package/dist/client/wizardSteps-BO2OmMO9.mjs +6604 -0
- package/dist/preview-next/before-render.mjs +7 -6
- package/dist/preview-next/chrome.css +2 -0
- package/dist/preview-next/client/{EventEmbeddedCheckoutStep-lUHBrzHv.mjs → EventEmbeddedCheckoutStep-DLsSmZbO.mjs} +2 -1
- package/dist/preview-next/client/LocationPickerEnvironment-QtSG2Bl-.mjs +138 -0
- package/dist/preview-next/client/MapLibreEditMap-B-rohNcG.mjs +488 -0
- package/dist/preview-next/client/{PreviewEditorSidebar-DWyUGCAG.mjs → PreviewEditorSidebar-ChrW9VEo.mjs} +269 -1100
- package/dist/preview-next/client/{PreviewEditorUI-Wq0b3Daw.mjs → PreviewEditorUI-VaHvYtrA.mjs} +10 -190
- package/dist/preview-next/client/{SdkPreviewModeRuntime-BtZPcwYV.mjs → SdkPreviewModeRuntime-Bz7jR6nl.mjs} +1 -1
- package/dist/preview-next/client/{SdkPreviewModeRuntime-wSI_R361.mjs → SdkPreviewModeRuntime-DWwktlWs.mjs} +639 -536
- package/dist/preview-next/client/{ThemedButton-DzeycIlD.mjs → ThemedButton-CHKOWXxl.mjs} +1706 -692
- package/dist/preview-next/client/lucide-react-CA9cpo0P.mjs +51984 -0
- package/dist/preview-next/client/maplibre-gl-DykfOYYn.mjs +34208 -0
- package/dist/preview-next/client/{SiteChromeCustomizeContext-Hc4pYnNe.mjs → previewAuthStore-C0VUwEHz.mjs} +81363 -136296
- package/dist/preview-next/client/{previewChromeSurface-Corq4AG7.mjs → previewChromeSurface-Dhyx2YrS.mjs} +1 -1
- package/dist/preview-next/client/result-BjJUoxUF.mjs +16 -0
- package/dist/preview-next/client/rolldown-runtime-CE6sIgz8.mjs +34 -0
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-CWymRWhK.mjs → sdk-runtime-C2GWOCyj.mjs} +1 -1
- package/dist/preview-next/client/siteStyleAccess-DHyzUpv4.mjs +12833 -0
- package/dist/preview-next/client/{spinner-C4If5Y-O.mjs → spinner-BeR2S8oG.mjs} +2 -1
- package/dist/preview-next/{constants-D8Ya7bO4.mjs → constants-Bf-vqdKH.mjs} +2 -1
- package/dist/preview-next/editor-base.css +2 -2
- package/dist/preview-next/keepAlive.mjs +3 -3
- package/dist/preview-next/middleware.mjs +7 -3
- package/dist/preview-next/{refresh-contract-CvmNqZ1Q.mjs → refresh-contract-uQ6BXgLJ.mjs} +5 -0
- package/dist/preview-next/{route-contract-8csADeIT.mjs → route-contract-CkrFDMrl.mjs} +434 -203
- package/dist/preview-next/{session-BgkrPqu0.mjs → session-P1R_ajT7.mjs} +12 -2
- package/dist/preview-next/session.mjs +1 -1
- package/dist/server/{Block.shared-D1_gonwM.mjs → Block.shared-DxvNGDig.mjs} +4 -4
- package/dist/server/{bindings-CFmJg5lm.mjs → bindings-BuhKvYkE.mjs} +2 -1
- package/dist/server/{client-DPsi0Dai.mjs → client-BobW6DOz.mjs} +39 -72
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/{siteChromeOverlayClearance-DALIAMwo.mjs → effectiveNavLinkStyle-B-MKSt0p.mjs} +2060 -1680
- package/dist/server/index.mjs +3 -3
- package/dist/server/{loadContent-RMCcuVU_.mjs → loadContent-CCG_3mbY.mjs} +14 -5
- package/dist/server/loadPage-Bk9HDh9K.mjs +2 -0
- package/dist/server/{loadPage-DhDGzj7t.mjs → loadPage-jntGoMrf.mjs} +3 -2
- package/dist/server/next.mjs +9 -9
- package/dist/server/{overrideResolution-OxY5FMuy.mjs → overrideResolution-BBOlgn4Z.mjs} +1 -1
- package/dist/server/{overrides-Bz_A6sB9.mjs → overrides-DByQwIyW.mjs} +803 -412
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{prebuild-B_1vrSru.mjs → prebuild-DrwcTk2t.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-B7ukYXXR.mjs → prefetchBlockData-LfgxSJYE.mjs} +156 -89
- package/dist/server/{publicProducts-Djbpc81A.mjs → publicProducts-8A3T5v4M.mjs} +685 -166
- package/dist/server/{registry-eFjKtEhF.mjs → registry-Digv02oV.mjs} +780 -1052
- package/dist/server/rendering/server.mjs +4 -4
- package/dist/server/rendering.mjs +8 -8
- package/dist/server/{resolveBlockData-DYvEa9c5.mjs → resolveBlockData-C23t8-77.mjs} +1 -1
- package/dist/server/routing.mjs +1 -1
- package/dist/server/{schema-C3dJ5UkL.mjs → schema-BiqpDRwB.mjs} +4805 -3561
- package/dist/server/server.mjs +3 -3
- package/dist/server/site-styles-DrkprQPL.mjs +755 -0
- package/dist/server/siteChromeOverlayClearance-BmKKkkbh.mjs +750 -0
- package/dist/server/{src-C5Mu-z0F.mjs → src-08GY1njw.mjs} +1060 -44
- package/dist/server/theme-bridge.mjs +1 -1
- package/dist/server/theme.mjs +1 -1
- package/dist/server/{themeAdmission-ruoyXb_0.mjs → themeAdmission-CSd_Vusz.mjs} +151 -53
- package/dist/server/{validation-B-Xar8QS.mjs → validation-DdUTkBOZ.mjs} +2 -2
- package/dist/server/{version-Bg7VHK3i.mjs → version-DdIOqIDe.mjs} +1 -1
- package/dist/styles/index.css +1029 -41
- package/package.json +1 -1
- package/dist/_dts/index-Blwl7yl6.d.ts +0 -13
- package/dist/client/LeafletStaticMap-ClZCCzAm.mjs +0 -135
- package/dist/client/location-map.client-Cylb_MHw.mjs +0 -28
- package/dist/client/location-map.view-Cx4Bl7ij.mjs +0 -345
- package/dist/client/locationMap-QnKJi-nZ.mjs +0 -15
- package/dist/client/renderableMediaAssetAdmission-DGjBr_e-.mjs +0 -152
- package/dist/client/wizardSteps-zgq10lN1.mjs +0 -17181
- package/dist/preview-next/client/siteStyleAccess-QZkJRHl5.mjs +0 -1359
- package/dist/server/loadPage-DUPP51C-.mjs +0 -2
- package/dist/server/media-CcHwZkdJ.mjs +0 -243
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as PREVIEW_REFRESH_COOKIE_NAME, n as PREVIEW_COOKIE_MAX_AGE, r as PREVIEW_COOKIE_NAME } from "./constants-
|
|
1
|
+
import { a as PREVIEW_TILES_KEY_COOKIE_NAME, i as PREVIEW_REFRESH_COOKIE_NAME, n as PREVIEW_COOKIE_MAX_AGE, r as PREVIEW_COOKIE_NAME } from "./constants-Bf-vqdKH.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
//#region ../preview-next/src/cookies.ts
|
|
4
4
|
function getPreviewCookieOptions(options = {}) {
|
|
@@ -24,6 +24,11 @@ function setPreviewAuthCookies(res, { accessToken, refreshToken }, options) {
|
|
|
24
24
|
if (refreshToken) setPreviewRefreshCookie(res, refreshToken, options);
|
|
25
25
|
return res;
|
|
26
26
|
}
|
|
27
|
+
function setPreviewTilesKeyCookie(res, tilesKey, options) {
|
|
28
|
+
if (tilesKey) res.cookies.set(PREVIEW_TILES_KEY_COOKIE_NAME, tilesKey, getPreviewCookieOptions(options));
|
|
29
|
+
else res.cookies.delete(PREVIEW_TILES_KEY_COOKIE_NAME);
|
|
30
|
+
return res;
|
|
31
|
+
}
|
|
27
32
|
//#endregion
|
|
28
33
|
//#region ../api/src/pageJournalEndpoints.ts
|
|
29
34
|
const PAGE_JOURNAL_ENDPOINT_DEFINITIONS = {
|
|
@@ -32,6 +37,7 @@ const PAGE_JOURNAL_ENDPOINT_DEFINITIONS = {
|
|
|
32
37
|
method: "POST",
|
|
33
38
|
auth: "user",
|
|
34
39
|
responseKind: "json",
|
|
40
|
+
editLease: "unleased-editor",
|
|
35
41
|
errors: [
|
|
36
42
|
"validation:invalid_input",
|
|
37
43
|
"auth:forbidden",
|
|
@@ -259,6 +265,56 @@ const PUBLIC_NEWSLETTER_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
259
265
|
responseKind: "text"
|
|
260
266
|
}
|
|
261
267
|
});
|
|
268
|
+
const PUBLIC_CONTENT_FRESHNESS_SECONDS = 3600;
|
|
269
|
+
function availability(transport) {
|
|
270
|
+
return {
|
|
271
|
+
kind: "live",
|
|
272
|
+
reason: "booking_correctness",
|
|
273
|
+
freshness: "availability",
|
|
274
|
+
transport
|
|
275
|
+
};
|
|
276
|
+
}
|
|
277
|
+
function content(tags, transport = "direct") {
|
|
278
|
+
return {
|
|
279
|
+
kind: "tagged",
|
|
280
|
+
tags,
|
|
281
|
+
freshness: "content",
|
|
282
|
+
transport
|
|
283
|
+
};
|
|
284
|
+
}
|
|
285
|
+
/** The single classification authority for cacheable public reads. */
|
|
286
|
+
const PUBLIC_READ_CACHE_POLICIES = {
|
|
287
|
+
listPublishedEntries: content(["published_content"]),
|
|
288
|
+
getPublishedEntryPreview: content(["published_content"]),
|
|
289
|
+
listPublicEvents: availability("direct"),
|
|
290
|
+
listPublicEventCalendarWindow: availability("direct"),
|
|
291
|
+
listPublicRecurringSchedule: availability("batch_only"),
|
|
292
|
+
getPublicEventDetails: availability("batch_only"),
|
|
293
|
+
resolveEventSubroute: availability("direct"),
|
|
294
|
+
listPublicRouteCandidates: content(["published_content"], "batch_only"),
|
|
295
|
+
listPublicTeamMembers: content(["public_team_members"]),
|
|
296
|
+
listPublicProducts: availability("direct"),
|
|
297
|
+
listPublicPasses: availability("direct"),
|
|
298
|
+
listPublicMemberships: availability("direct"),
|
|
299
|
+
getPublicFormById: content(["site_forms"]),
|
|
300
|
+
getPublicBookingServices: availability("direct"),
|
|
301
|
+
getPublicBookingService: availability("direct"),
|
|
302
|
+
getPublicBookingResourcesReference: availability("direct"),
|
|
303
|
+
getPublicBookingAvailableDates: availability("direct"),
|
|
304
|
+
getPublicBookingAvailableSlots: availability("direct"),
|
|
305
|
+
getPublicWeeklySlotAvailability: availability("direct"),
|
|
306
|
+
listPublicForms: content(["site_forms"]),
|
|
307
|
+
checkRedirect: content([]),
|
|
308
|
+
getPublicRoutableContent: content(["published_content"]),
|
|
309
|
+
getPublicSitemapRoutes: content(["published_content"])
|
|
310
|
+
};
|
|
311
|
+
new Set(Object.keys(PUBLIC_READ_CACHE_POLICIES));
|
|
312
|
+
function getPublicReadCachePolicy(endpoint) {
|
|
313
|
+
return PUBLIC_READ_CACHE_POLICIES[endpoint];
|
|
314
|
+
}
|
|
315
|
+
function publicReadFreshnessSeconds(endpoint) {
|
|
316
|
+
return getPublicReadCachePolicy(endpoint).freshness === "availability" ? 60 : PUBLIC_CONTENT_FRESHNESS_SECONDS;
|
|
317
|
+
}
|
|
262
318
|
//#endregion
|
|
263
319
|
//#region ../api/src/cache-tags.ts
|
|
264
320
|
/**
|
|
@@ -349,18 +405,6 @@ const GUARDED_CONTENT_REPLAY_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
349
405
|
"resource:conflict"
|
|
350
406
|
]
|
|
351
407
|
},
|
|
352
|
-
restoreLiveTemplate: {
|
|
353
|
-
path: "/sites/{siteId}/content/types/{type}/template/restore",
|
|
354
|
-
method: "POST",
|
|
355
|
-
tags: ["site-{siteId}", "content-template-{siteId}-{type}"],
|
|
356
|
-
auth: "user",
|
|
357
|
-
responseKind: "json",
|
|
358
|
-
errors: [
|
|
359
|
-
"validation:invalid_input",
|
|
360
|
-
"resource:not_found",
|
|
361
|
-
"resource:conflict"
|
|
362
|
-
]
|
|
363
|
-
},
|
|
364
408
|
restoreEntrySlotStructure: {
|
|
365
409
|
editLease: "managed",
|
|
366
410
|
path: "/sites/{siteId}/content/{type}/{entryId}/slots/{slotKey}/blocks/restore",
|
|
@@ -733,6 +777,18 @@ const APPOINTMENT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
733
777
|
"server:internal_error"
|
|
734
778
|
]
|
|
735
779
|
},
|
|
780
|
+
draftTeamMemberProfileBio: {
|
|
781
|
+
path: "/sites/{siteId}/bookings/resources/{resourceId}/profile/bio-draft",
|
|
782
|
+
method: "POST",
|
|
783
|
+
auth: "user",
|
|
784
|
+
responseKind: "json",
|
|
785
|
+
errors: [
|
|
786
|
+
"auth:forbidden",
|
|
787
|
+
"resource:not_found",
|
|
788
|
+
"server:internal_error"
|
|
789
|
+
],
|
|
790
|
+
demoMutation: DEMO_MUTATION_BLOCKED_HIDDEN
|
|
791
|
+
},
|
|
736
792
|
scheduleTeamMemberProfile: {
|
|
737
793
|
path: "/sites/{siteId}/bookings/resources/{resourceId}/profile/{entryId}/schedule",
|
|
738
794
|
method: "POST",
|
|
@@ -771,7 +827,7 @@ const APPOINTMENT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
771
827
|
path: "/sites/{siteId}/bookings/resources/{resourceId}/profile/routes/{routeId}/metadata",
|
|
772
828
|
method: "PATCH",
|
|
773
829
|
tags: [
|
|
774
|
-
TAG_TEMPLATES.
|
|
830
|
+
TAG_TEMPLATES.site,
|
|
775
831
|
TAG_TEMPLATES.siteRoutableContent,
|
|
776
832
|
TAG_TEMPLATES.routeById
|
|
777
833
|
],
|
|
@@ -1164,6 +1220,43 @@ const ACCOUNT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
1164
1220
|
//#endregion
|
|
1165
1221
|
//#region ../api/src/eventSeriesRegistrationEndpointDefinitions.ts
|
|
1166
1222
|
const EVENT_SERIES_REGISTRATION_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
1223
|
+
getBookingDetail: {
|
|
1224
|
+
path: "/sites/{siteId}/bookings/booking/{kind}/{bookingId}",
|
|
1225
|
+
method: "GET",
|
|
1226
|
+
auth: "user",
|
|
1227
|
+
responseKind: "json",
|
|
1228
|
+
errors: [
|
|
1229
|
+
"auth:forbidden",
|
|
1230
|
+
"resource:not_found",
|
|
1231
|
+
"server:internal_error"
|
|
1232
|
+
]
|
|
1233
|
+
},
|
|
1234
|
+
saveEventAttendeeAnswers: {
|
|
1235
|
+
path: "/sites/{siteId}/bookings/attendees/{attendeeId}/answers",
|
|
1236
|
+
method: "PUT",
|
|
1237
|
+
auth: "user",
|
|
1238
|
+
responseKind: "json",
|
|
1239
|
+
errors: [
|
|
1240
|
+
"validation:invalid_input",
|
|
1241
|
+
"auth:forbidden",
|
|
1242
|
+
"resource:not_found",
|
|
1243
|
+
"resource:conflict",
|
|
1244
|
+
"server:internal_error"
|
|
1245
|
+
]
|
|
1246
|
+
},
|
|
1247
|
+
correctBookingCheckIn: {
|
|
1248
|
+
path: "/sites/{siteId}/bookings/attendees/{attendeeId}/check-in",
|
|
1249
|
+
method: "PATCH",
|
|
1250
|
+
auth: "user",
|
|
1251
|
+
responseKind: "json",
|
|
1252
|
+
errors: [
|
|
1253
|
+
"validation:invalid_input",
|
|
1254
|
+
"auth:forbidden",
|
|
1255
|
+
"resource:not_found",
|
|
1256
|
+
"resource:conflict",
|
|
1257
|
+
"server:internal_error"
|
|
1258
|
+
]
|
|
1259
|
+
},
|
|
1167
1260
|
deleteEventOffering: {
|
|
1168
1261
|
path: "/sites/{siteId}/bookings/event-offerings/{eventOfferingId}",
|
|
1169
1262
|
method: "DELETE",
|
|
@@ -1910,56 +2003,6 @@ const SDK_PAGE_DESIGN_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
1910
2003
|
]
|
|
1911
2004
|
}
|
|
1912
2005
|
});
|
|
1913
|
-
const PUBLIC_CONTENT_FRESHNESS_SECONDS = 3600;
|
|
1914
|
-
function availability(transport) {
|
|
1915
|
-
return {
|
|
1916
|
-
kind: "live",
|
|
1917
|
-
reason: "booking_correctness",
|
|
1918
|
-
freshness: "availability",
|
|
1919
|
-
transport
|
|
1920
|
-
};
|
|
1921
|
-
}
|
|
1922
|
-
function content(tags, transport = "direct") {
|
|
1923
|
-
return {
|
|
1924
|
-
kind: "tagged",
|
|
1925
|
-
tags,
|
|
1926
|
-
freshness: "content",
|
|
1927
|
-
transport
|
|
1928
|
-
};
|
|
1929
|
-
}
|
|
1930
|
-
/** The single classification authority for cacheable public reads. */
|
|
1931
|
-
const PUBLIC_READ_CACHE_POLICIES = {
|
|
1932
|
-
listPublishedEntries: content(["published_content"]),
|
|
1933
|
-
getPublishedEntryPreview: content(["published_content"]),
|
|
1934
|
-
listPublicEvents: availability("direct"),
|
|
1935
|
-
listPublicEventCalendarWindow: availability("direct"),
|
|
1936
|
-
listPublicRecurringSchedule: availability("batch_only"),
|
|
1937
|
-
getPublicEventDetails: availability("batch_only"),
|
|
1938
|
-
resolveEventSubroute: availability("direct"),
|
|
1939
|
-
listPublicRouteCandidates: content(["published_content"], "batch_only"),
|
|
1940
|
-
listPublicTeamMembers: content(["public_team_members"]),
|
|
1941
|
-
listPublicProducts: availability("direct"),
|
|
1942
|
-
listPublicPasses: availability("direct"),
|
|
1943
|
-
listPublicMemberships: availability("direct"),
|
|
1944
|
-
getPublicFormById: content(["site_forms"]),
|
|
1945
|
-
getPublicBookingServices: availability("direct"),
|
|
1946
|
-
getPublicBookingService: availability("direct"),
|
|
1947
|
-
getPublicBookingResourcesReference: availability("direct"),
|
|
1948
|
-
getPublicBookingAvailableDates: availability("direct"),
|
|
1949
|
-
getPublicBookingAvailableSlots: availability("direct"),
|
|
1950
|
-
getPublicWeeklySlotAvailability: availability("direct"),
|
|
1951
|
-
listPublicForms: content(["site_forms"]),
|
|
1952
|
-
checkRedirect: content([]),
|
|
1953
|
-
getPublicRoutableContent: content(["published_content"]),
|
|
1954
|
-
getPublicSitemapRoutes: content(["published_content"])
|
|
1955
|
-
};
|
|
1956
|
-
new Set(Object.keys(PUBLIC_READ_CACHE_POLICIES));
|
|
1957
|
-
function getPublicReadCachePolicy(endpoint) {
|
|
1958
|
-
return PUBLIC_READ_CACHE_POLICIES[endpoint];
|
|
1959
|
-
}
|
|
1960
|
-
function publicReadFreshnessSeconds(endpoint) {
|
|
1961
|
-
return getPublicReadCachePolicy(endpoint).freshness === "availability" ? 60 : PUBLIC_CONTENT_FRESHNESS_SECONDS;
|
|
1962
|
-
}
|
|
1963
2006
|
//#endregion
|
|
1964
2007
|
//#region ../api/src/publicEventEndpointDefinitions.ts
|
|
1965
2008
|
const PUBLIC_EVENT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
@@ -2296,6 +2339,7 @@ const EVENT_MANAGEMENT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
2296
2339
|
* event itself, so its address is written here rather than through a run.
|
|
2297
2340
|
*/
|
|
2298
2341
|
updateEventAddress: {
|
|
2342
|
+
editLease: "managed",
|
|
2299
2343
|
path: "/sites/{siteId}/bookings/events/{eventId}/address",
|
|
2300
2344
|
method: "PATCH",
|
|
2301
2345
|
tags: [
|
|
@@ -2663,6 +2707,64 @@ const SDK_MEDIA_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
2663
2707
|
* derive freshness reviewable beside its route and tags.
|
|
2664
2708
|
*/
|
|
2665
2709
|
const PUBLIC_READ_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
2710
|
+
checkRedirect: {
|
|
2711
|
+
path: "/public/content/redirect",
|
|
2712
|
+
method: "GET",
|
|
2713
|
+
revalidate: 86400,
|
|
2714
|
+
tags: [
|
|
2715
|
+
TAG_TEMPLATES.siteById,
|
|
2716
|
+
TAG_TEMPLATES.siteBySlug,
|
|
2717
|
+
TAG_TEMPLATES.siteRedirects
|
|
2718
|
+
],
|
|
2719
|
+
errors: [],
|
|
2720
|
+
auth: "public",
|
|
2721
|
+
responseKind: "json"
|
|
2722
|
+
},
|
|
2723
|
+
getSite: {
|
|
2724
|
+
path: "/sites",
|
|
2725
|
+
method: "GET",
|
|
2726
|
+
errors: [],
|
|
2727
|
+
revalidate: 900,
|
|
2728
|
+
tags: [
|
|
2729
|
+
TAG_TEMPLATES.siteById,
|
|
2730
|
+
TAG_TEMPLATES.siteBySlug,
|
|
2731
|
+
TAG_TEMPLATES.siteByDomain
|
|
2732
|
+
],
|
|
2733
|
+
auth: "public",
|
|
2734
|
+
responseKind: "json"
|
|
2735
|
+
},
|
|
2736
|
+
getRoutableContent: {
|
|
2737
|
+
path: "/sites/{siteId}/routable-content",
|
|
2738
|
+
method: "GET",
|
|
2739
|
+
revalidate: 60,
|
|
2740
|
+
errors: [],
|
|
2741
|
+
tags: [TAG_TEMPLATES.siteRoutableContent],
|
|
2742
|
+
auth: "user",
|
|
2743
|
+
responseKind: "json"
|
|
2744
|
+
},
|
|
2745
|
+
getPublicRoutableContent: {
|
|
2746
|
+
path: "/public/sites/{siteId}/routable-content",
|
|
2747
|
+
method: "GET",
|
|
2748
|
+
revalidate: 60,
|
|
2749
|
+
errors: [],
|
|
2750
|
+
tags: [TAG_TEMPLATES.siteRoutableContent],
|
|
2751
|
+
auth: "public",
|
|
2752
|
+
responseKind: "json"
|
|
2753
|
+
},
|
|
2754
|
+
getPublicSitemapRoutes: {
|
|
2755
|
+
path: "/public/sites/{siteId}/sitemap",
|
|
2756
|
+
method: "GET",
|
|
2757
|
+
revalidate: 60,
|
|
2758
|
+
errors: [],
|
|
2759
|
+
tags: [
|
|
2760
|
+
TAG_TEMPLATES.siteRoutableContent,
|
|
2761
|
+
TAG_TEMPLATES.siteSettings,
|
|
2762
|
+
TAG_TEMPLATES.publicEvents,
|
|
2763
|
+
TAG_TEMPLATES.publicBookingServices
|
|
2764
|
+
],
|
|
2765
|
+
auth: "public",
|
|
2766
|
+
responseKind: "json"
|
|
2767
|
+
},
|
|
2666
2768
|
getPublishedEntryPreview: {
|
|
2667
2769
|
path: "/public/content/{siteId}/{type}/{slug}/preview",
|
|
2668
2770
|
method: "GET",
|
|
@@ -2740,6 +2842,27 @@ const PUBLIC_READ_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
2740
2842
|
* kept together so that stays obvious.
|
|
2741
2843
|
*/
|
|
2742
2844
|
const PUBLIC_ONBOARDING_ATTEMPT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
2845
|
+
mintOnboardingPagePreviewToken: {
|
|
2846
|
+
path: "/public/onboarding/attempts/{attemptToken}/page-preview-token",
|
|
2847
|
+
method: "POST",
|
|
2848
|
+
auth: "public",
|
|
2849
|
+
errors: [],
|
|
2850
|
+
responseKind: "json"
|
|
2851
|
+
},
|
|
2852
|
+
suggestPublicOnboardingLooks: {
|
|
2853
|
+
path: "/public/onboarding/attempts/{attemptToken}/look-suggestion",
|
|
2854
|
+
method: "POST",
|
|
2855
|
+
auth: "public",
|
|
2856
|
+
errors: [],
|
|
2857
|
+
responseKind: "json"
|
|
2858
|
+
},
|
|
2859
|
+
getOnboardingPagePreview: {
|
|
2860
|
+
path: "/public/onboarding/page-preview/{attemptId}",
|
|
2861
|
+
method: "GET",
|
|
2862
|
+
auth: "public",
|
|
2863
|
+
errors: [],
|
|
2864
|
+
responseKind: "json"
|
|
2865
|
+
},
|
|
2743
2866
|
createPublicOnboardingAttempt: {
|
|
2744
2867
|
path: "/public/onboarding/attempts",
|
|
2745
2868
|
method: "POST",
|
|
@@ -2823,12 +2946,72 @@ const BILLING_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
|
|
|
2823
2946
|
errors: [],
|
|
2824
2947
|
responseKind: "json"
|
|
2825
2948
|
},
|
|
2826
|
-
|
|
2827
|
-
path: "/billing/
|
|
2949
|
+
getAccountInvoiceRecovery: {
|
|
2950
|
+
path: "/billing/recovery",
|
|
2951
|
+
method: "GET",
|
|
2952
|
+
tags: ["billing"],
|
|
2953
|
+
auth: "user",
|
|
2954
|
+
responseKind: "json",
|
|
2955
|
+
errors: [
|
|
2956
|
+
"validation:invalid_input",
|
|
2957
|
+
"auth:unauthenticated",
|
|
2958
|
+
"external:service_error",
|
|
2959
|
+
"server:internal_error"
|
|
2960
|
+
]
|
|
2961
|
+
},
|
|
2962
|
+
getAccountBillingDetails: {
|
|
2963
|
+
path: "/billing/details",
|
|
2964
|
+
method: "GET",
|
|
2965
|
+
tags: ["billing"],
|
|
2966
|
+
auth: "user",
|
|
2967
|
+
responseKind: "json",
|
|
2968
|
+
errors: [
|
|
2969
|
+
"auth:unauthenticated",
|
|
2970
|
+
"external:service_error",
|
|
2971
|
+
"server:internal_error"
|
|
2972
|
+
]
|
|
2973
|
+
},
|
|
2974
|
+
getAccountBillingInvoices: {
|
|
2975
|
+
path: "/billing/invoices",
|
|
2976
|
+
method: "GET",
|
|
2977
|
+
tags: ["billing"],
|
|
2978
|
+
auth: "user",
|
|
2979
|
+
responseKind: "json",
|
|
2980
|
+
errors: [
|
|
2981
|
+
"validation:invalid_input",
|
|
2982
|
+
"auth:unauthenticated",
|
|
2983
|
+
"resource:conflict",
|
|
2984
|
+
"external:service_error",
|
|
2985
|
+
"server:internal_error"
|
|
2986
|
+
]
|
|
2987
|
+
},
|
|
2988
|
+
startAccountPaymentMethodSetup: {
|
|
2989
|
+
path: "/billing/payment-method/setup",
|
|
2828
2990
|
method: "POST",
|
|
2829
2991
|
tags: ["billing"],
|
|
2830
2992
|
auth: "user",
|
|
2831
|
-
responseKind: "json"
|
|
2993
|
+
responseKind: "json",
|
|
2994
|
+
errors: [
|
|
2995
|
+
"validation:invalid_input",
|
|
2996
|
+
"auth:unauthenticated",
|
|
2997
|
+
"resource:conflict",
|
|
2998
|
+
"external:service_error",
|
|
2999
|
+
"server:internal_error"
|
|
3000
|
+
]
|
|
3001
|
+
},
|
|
3002
|
+
finishAccountPaymentMethodSetup: {
|
|
3003
|
+
path: "/billing/payment-method/finish",
|
|
3004
|
+
method: "POST",
|
|
3005
|
+
tags: ["billing"],
|
|
3006
|
+
auth: "user",
|
|
3007
|
+
responseKind: "json",
|
|
3008
|
+
errors: [
|
|
3009
|
+
"validation:invalid_input",
|
|
3010
|
+
"auth:unauthenticated",
|
|
3011
|
+
"resource:conflict",
|
|
3012
|
+
"external:service_error",
|
|
3013
|
+
"server:internal_error"
|
|
3014
|
+
]
|
|
2832
3015
|
},
|
|
2833
3016
|
stripeConnectSetupStart: {
|
|
2834
3017
|
path: "/sites/{siteId}/billing/connect/setup",
|
|
@@ -2984,7 +3167,7 @@ const EDIT_LEASE_ENDPOINT_DEFINITIONS = {
|
|
|
2984
3167
|
acquireEditLease: {
|
|
2985
3168
|
path,
|
|
2986
3169
|
method: "POST",
|
|
2987
|
-
editLease: "
|
|
3170
|
+
editLease: "unleased-editor",
|
|
2988
3171
|
errors: lifecycleErrors,
|
|
2989
3172
|
auth: "user",
|
|
2990
3173
|
responseKind: "json"
|
|
@@ -2992,7 +3175,7 @@ const EDIT_LEASE_ENDPOINT_DEFINITIONS = {
|
|
|
2992
3175
|
takeOverEditLease: {
|
|
2993
3176
|
path,
|
|
2994
3177
|
method: "PUT",
|
|
2995
|
-
editLease: "
|
|
3178
|
+
editLease: "unleased-editor",
|
|
2996
3179
|
errors: lifecycleErrors,
|
|
2997
3180
|
auth: "user",
|
|
2998
3181
|
responseKind: "json"
|
|
@@ -3000,7 +3183,7 @@ const EDIT_LEASE_ENDPOINT_DEFINITIONS = {
|
|
|
3000
3183
|
heartbeatEditLease: {
|
|
3001
3184
|
path,
|
|
3002
3185
|
method: "PATCH",
|
|
3003
|
-
editLease: "
|
|
3186
|
+
editLease: "unleased-editor",
|
|
3004
3187
|
errors: [...lifecycleErrors, "auth:lease_lost"],
|
|
3005
3188
|
auth: "user",
|
|
3006
3189
|
responseKind: "json"
|
|
@@ -3016,7 +3199,7 @@ const EDIT_LEASE_ENDPOINT_DEFINITIONS = {
|
|
|
3016
3199
|
};
|
|
3017
3200
|
//#endregion
|
|
3018
3201
|
//#region ../api/src/pageSurfaceEditorEndpoints.ts
|
|
3019
|
-
const surfaceTags = [TAG_TEMPLATES.
|
|
3202
|
+
const surfaceTags = [TAG_TEMPLATES.site, TAG_TEMPLATES.pageSurfaceById];
|
|
3020
3203
|
const PAGE_SURFACE_EDITOR_ENDPOINT_DEFINITIONS = {
|
|
3021
3204
|
getPageSurfaceEditorDocument: {
|
|
3022
3205
|
path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/content",
|
|
@@ -3071,7 +3254,7 @@ const PAGE_SURFACE_EDITOR_ENDPOINT_DEFINITIONS = {
|
|
|
3071
3254
|
"server:internal_error"
|
|
3072
3255
|
],
|
|
3073
3256
|
tags: [
|
|
3074
|
-
TAG_TEMPLATES.
|
|
3257
|
+
TAG_TEMPLATES.site,
|
|
3075
3258
|
TAG_TEMPLATES.siteRoutableContent,
|
|
3076
3259
|
TAG_TEMPLATES.pageSurfaceById
|
|
3077
3260
|
],
|
|
@@ -3090,7 +3273,7 @@ const PAGE_SURFACE_EDITOR_ENDPOINT_DEFINITIONS = {
|
|
|
3090
3273
|
"server:internal_error"
|
|
3091
3274
|
],
|
|
3092
3275
|
tags: [
|
|
3093
|
-
TAG_TEMPLATES.
|
|
3276
|
+
TAG_TEMPLATES.site,
|
|
3094
3277
|
TAG_TEMPLATES.siteRoutableContent,
|
|
3095
3278
|
TAG_TEMPLATES.pageSurfaceById
|
|
3096
3279
|
],
|
|
@@ -3109,7 +3292,7 @@ const PAGE_SURFACE_EDITOR_ENDPOINT_DEFINITIONS = {
|
|
|
3109
3292
|
"server:internal_error"
|
|
3110
3293
|
],
|
|
3111
3294
|
tags: [
|
|
3112
|
-
TAG_TEMPLATES.
|
|
3295
|
+
TAG_TEMPLATES.site,
|
|
3113
3296
|
TAG_TEMPLATES.siteRoutableContent,
|
|
3114
3297
|
TAG_TEMPLATES.pageSurfaceById
|
|
3115
3298
|
],
|
|
@@ -3235,6 +3418,7 @@ const API_ENDPOINTS = {
|
|
|
3235
3418
|
...PAGE_SURFACE_EDITOR_ENDPOINT_DEFINITIONS,
|
|
3236
3419
|
...SITE_MANAGEMENT_ENDPOINT_DEFINITIONS,
|
|
3237
3420
|
applySeoChanges: {
|
|
3421
|
+
editLease: "unleased-editor",
|
|
3238
3422
|
path: "/seo/apply",
|
|
3239
3423
|
method: "POST",
|
|
3240
3424
|
auth: "user",
|
|
@@ -3266,6 +3450,13 @@ const API_ENDPOINTS = {
|
|
|
3266
3450
|
responseKind: "json",
|
|
3267
3451
|
errors: []
|
|
3268
3452
|
},
|
|
3453
|
+
replyToSupportTicket: {
|
|
3454
|
+
path: "/assistant/support/reply",
|
|
3455
|
+
method: "POST",
|
|
3456
|
+
auth: "user",
|
|
3457
|
+
responseKind: "json",
|
|
3458
|
+
errors: []
|
|
3459
|
+
},
|
|
3269
3460
|
assistantTurn: {
|
|
3270
3461
|
path: "/assistant/turn",
|
|
3271
3462
|
method: "POST",
|
|
@@ -3345,6 +3536,14 @@ const API_ENDPOINTS = {
|
|
|
3345
3536
|
errors: [],
|
|
3346
3537
|
responseKind: "json"
|
|
3347
3538
|
},
|
|
3539
|
+
markBookingHomeSeen: {
|
|
3540
|
+
path: "/sites/{siteId}/home/seen",
|
|
3541
|
+
method: "POST",
|
|
3542
|
+
auth: "user",
|
|
3543
|
+
errors: [],
|
|
3544
|
+
responseKind: "json",
|
|
3545
|
+
demoMutation: DEMO_MUTATION_ALLOWED
|
|
3546
|
+
},
|
|
3348
3547
|
resendOnboardingPreviewConfirmation: {
|
|
3349
3548
|
path: "/public/sites/{siteId}/onboarding/resend-confirmation",
|
|
3350
3549
|
method: "POST",
|
|
@@ -3388,15 +3587,6 @@ const API_ENDPOINTS = {
|
|
|
3388
3587
|
errors: [],
|
|
3389
3588
|
responseKind: "text"
|
|
3390
3589
|
},
|
|
3391
|
-
checkRedirect: {
|
|
3392
|
-
path: "/public/content/redirect",
|
|
3393
|
-
method: "GET",
|
|
3394
|
-
revalidate: 86400,
|
|
3395
|
-
tags: ["redirect"],
|
|
3396
|
-
errors: [],
|
|
3397
|
-
auth: "public",
|
|
3398
|
-
responseKind: "json"
|
|
3399
|
-
},
|
|
3400
3590
|
listRedirectRules: {
|
|
3401
3591
|
path: "/sites/{siteId}/redirects",
|
|
3402
3592
|
method: "GET",
|
|
@@ -3639,6 +3829,19 @@ const API_ENDPOINTS = {
|
|
|
3639
3829
|
auth: "user",
|
|
3640
3830
|
responseKind: "json"
|
|
3641
3831
|
},
|
|
3832
|
+
updateEmailSendSetting: {
|
|
3833
|
+
path: "/sites/{siteId}/settings/emails/{emailKey}/send-setting",
|
|
3834
|
+
method: "PUT",
|
|
3835
|
+
tags: [TAG_TEMPLATES.site, TAG_TEMPLATES.siteBookingSettings],
|
|
3836
|
+
auth: "user",
|
|
3837
|
+
responseKind: "json",
|
|
3838
|
+
errors: [
|
|
3839
|
+
"validation:invalid_input",
|
|
3840
|
+
"auth:forbidden",
|
|
3841
|
+
"resource:conflict",
|
|
3842
|
+
"server:internal_error"
|
|
3843
|
+
]
|
|
3844
|
+
},
|
|
3642
3845
|
sendTestEmail: {
|
|
3643
3846
|
path: "/sites/{siteId}/settings/emails/test",
|
|
3644
3847
|
method: "POST",
|
|
@@ -3657,37 +3860,12 @@ const API_ENDPOINTS = {
|
|
|
3657
3860
|
...NEWSLETTER_ENDPOINT_DEFINITIONS,
|
|
3658
3861
|
...APPOINTMENT_ENDPOINT_DEFINITIONS,
|
|
3659
3862
|
...EVENT_SERIES_REGISTRATION_ENDPOINT_DEFINITIONS,
|
|
3660
|
-
|
|
3661
|
-
path: "/sites",
|
|
3662
|
-
method: "GET",
|
|
3663
|
-
revalidate: 900,
|
|
3664
|
-
tags: [
|
|
3665
|
-
TAG_TEMPLATES.siteCollection,
|
|
3666
|
-
TAG_TEMPLATES.siteById,
|
|
3667
|
-
TAG_TEMPLATES.siteBySlug,
|
|
3668
|
-
TAG_TEMPLATES.siteByDomain
|
|
3669
|
-
],
|
|
3670
|
-
auth: "public",
|
|
3671
|
-
responseKind: "json"
|
|
3672
|
-
},
|
|
3673
|
-
getSiteIdOnly: {
|
|
3674
|
-
path: "/sites",
|
|
3675
|
-
method: "GET",
|
|
3676
|
-
revalidate: 900,
|
|
3677
|
-
tags: [
|
|
3678
|
-
TAG_TEMPLATES.siteCollection,
|
|
3679
|
-
TAG_TEMPLATES.siteById,
|
|
3680
|
-
TAG_TEMPLATES.siteBySlug,
|
|
3681
|
-
TAG_TEMPLATES.siteByDomain
|
|
3682
|
-
],
|
|
3683
|
-
auth: "public",
|
|
3684
|
-
responseKind: "json"
|
|
3685
|
-
},
|
|
3863
|
+
getSiteIdOnly: PUBLIC_READ_ENDPOINT_DEFINITIONS.getSite,
|
|
3686
3864
|
getSiteBySlug: {
|
|
3687
3865
|
path: "/sites/by-slug/{slug}",
|
|
3688
3866
|
method: "GET",
|
|
3689
3867
|
revalidate: 900,
|
|
3690
|
-
tags: [
|
|
3868
|
+
tags: [TAG_TEMPLATES.siteBySlug],
|
|
3691
3869
|
auth: "user",
|
|
3692
3870
|
responseKind: "json"
|
|
3693
3871
|
},
|
|
@@ -3695,7 +3873,7 @@ const API_ENDPOINTS = {
|
|
|
3695
3873
|
path: "/sites/by-domain/{domain}",
|
|
3696
3874
|
method: "GET",
|
|
3697
3875
|
revalidate: 900,
|
|
3698
|
-
tags: [
|
|
3876
|
+
tags: [TAG_TEMPLATES.siteByDomain],
|
|
3699
3877
|
auth: "user",
|
|
3700
3878
|
responseKind: "json"
|
|
3701
3879
|
},
|
|
@@ -3903,6 +4081,7 @@ const API_ENDPOINTS = {
|
|
|
3903
4081
|
responseKind: "json"
|
|
3904
4082
|
},
|
|
3905
4083
|
updateContentTemplateBlock: {
|
|
4084
|
+
editLease: "unleased-editor",
|
|
3906
4085
|
path: "/sites/{siteId}/content/types/{type}/template/blocks/{blockId}",
|
|
3907
4086
|
method: "PATCH",
|
|
3908
4087
|
tags: [
|
|
@@ -3914,6 +4093,7 @@ const API_ENDPOINTS = {
|
|
|
3914
4093
|
responseKind: "json"
|
|
3915
4094
|
},
|
|
3916
4095
|
applyContentTemplateAddon: {
|
|
4096
|
+
editLease: "unleased-editor",
|
|
3917
4097
|
path: "/sites/{siteId}/content/types/{type}/template/addons",
|
|
3918
4098
|
method: "POST",
|
|
3919
4099
|
tags: ["site-{siteId}", "content-template-{siteId}-{type}"],
|
|
@@ -3921,6 +4101,7 @@ const API_ENDPOINTS = {
|
|
|
3921
4101
|
responseKind: "json"
|
|
3922
4102
|
},
|
|
3923
4103
|
updateContentTemplateBlockBindings: {
|
|
4104
|
+
editLease: "unleased-editor",
|
|
3924
4105
|
path: "/sites/{siteId}/content/types/{type}/template/blocks/{blockId}/bindings",
|
|
3925
4106
|
method: "PATCH",
|
|
3926
4107
|
tags: [
|
|
@@ -3932,6 +4113,7 @@ const API_ENDPOINTS = {
|
|
|
3932
4113
|
responseKind: "json"
|
|
3933
4114
|
},
|
|
3934
4115
|
createTemplateBlock: {
|
|
4116
|
+
editLease: "unleased-editor",
|
|
3935
4117
|
path: "/sites/{siteId}/content/types/{type}/template/blocks",
|
|
3936
4118
|
method: "POST",
|
|
3937
4119
|
tags: ["site-{siteId}", "content-template-{siteId}-{type}"],
|
|
@@ -3939,6 +4121,7 @@ const API_ENDPOINTS = {
|
|
|
3939
4121
|
responseKind: "json"
|
|
3940
4122
|
},
|
|
3941
4123
|
deleteTemplateBlock: {
|
|
4124
|
+
editLease: "unleased-editor",
|
|
3942
4125
|
path: "/sites/{siteId}/content/types/{type}/template/blocks/{blockId}",
|
|
3943
4126
|
method: "DELETE",
|
|
3944
4127
|
tags: [
|
|
@@ -3950,6 +4133,7 @@ const API_ENDPOINTS = {
|
|
|
3950
4133
|
responseKind: "json"
|
|
3951
4134
|
},
|
|
3952
4135
|
reorderTemplateBlocks: {
|
|
4136
|
+
editLease: "unleased-editor",
|
|
3953
4137
|
path: "/sites/{siteId}/content/types/{type}/template/blocks/reorder",
|
|
3954
4138
|
method: "POST",
|
|
3955
4139
|
tags: ["site-{siteId}", "content-template-{siteId}-{type}"],
|
|
@@ -4102,7 +4286,7 @@ const API_ENDPOINTS = {
|
|
|
4102
4286
|
path: "/sites/{siteId}/routes/{routeId}/metadata",
|
|
4103
4287
|
method: "PATCH",
|
|
4104
4288
|
tags: [
|
|
4105
|
-
TAG_TEMPLATES.
|
|
4289
|
+
TAG_TEMPLATES.site,
|
|
4106
4290
|
TAG_TEMPLATES.siteRoutableContent,
|
|
4107
4291
|
TAG_TEMPLATES.routeById
|
|
4108
4292
|
],
|
|
@@ -4253,6 +4437,7 @@ const API_ENDPOINTS = {
|
|
|
4253
4437
|
path: "/sites/{siteId}/content/{type}/bulk-publish",
|
|
4254
4438
|
method: "POST",
|
|
4255
4439
|
tags: ["site-{siteId}", "content-{siteId}-{type}"],
|
|
4440
|
+
editLease: "unleased-editor",
|
|
4256
4441
|
auth: "user",
|
|
4257
4442
|
responseKind: "json"
|
|
4258
4443
|
},
|
|
@@ -4260,6 +4445,7 @@ const API_ENDPOINTS = {
|
|
|
4260
4445
|
path: "/sites/{siteId}/content/{type}/bulk-unpublish",
|
|
4261
4446
|
method: "POST",
|
|
4262
4447
|
tags: ["site-{siteId}", "content-{siteId}-{type}"],
|
|
4448
|
+
editLease: "unleased-editor",
|
|
4263
4449
|
auth: "user",
|
|
4264
4450
|
responseKind: "json"
|
|
4265
4451
|
},
|
|
@@ -4267,6 +4453,7 @@ const API_ENDPOINTS = {
|
|
|
4267
4453
|
path: "/sites/{siteId}/content/{type}/bulk-delete",
|
|
4268
4454
|
method: "POST",
|
|
4269
4455
|
tags: ["site-{siteId}", "content-{siteId}-{type}"],
|
|
4456
|
+
editLease: "unleased-editor",
|
|
4270
4457
|
auth: "user",
|
|
4271
4458
|
responseKind: "json",
|
|
4272
4459
|
errors: [
|
|
@@ -4287,11 +4474,7 @@ const API_ENDPOINTS = {
|
|
|
4287
4474
|
getSiteFooterBlocks: {
|
|
4288
4475
|
path: "/sites/{siteId}/content/footer-blocks",
|
|
4289
4476
|
method: "GET",
|
|
4290
|
-
tags: [
|
|
4291
|
-
TAG_TEMPLATES.siteCollection,
|
|
4292
|
-
TAG_TEMPLATES.site,
|
|
4293
|
-
TAG_TEMPLATES.siteSettings
|
|
4294
|
-
],
|
|
4477
|
+
tags: [TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings],
|
|
4295
4478
|
auth: "user",
|
|
4296
4479
|
responseKind: "json",
|
|
4297
4480
|
errors: [
|
|
@@ -4301,13 +4484,10 @@ const API_ENDPOINTS = {
|
|
|
4301
4484
|
]
|
|
4302
4485
|
},
|
|
4303
4486
|
updateSiteFooterBlocks: {
|
|
4487
|
+
editLease: "unleased-editor",
|
|
4304
4488
|
path: "/sites/{siteId}/content/footer-blocks",
|
|
4305
4489
|
method: "PUT",
|
|
4306
|
-
tags: [
|
|
4307
|
-
TAG_TEMPLATES.siteCollection,
|
|
4308
|
-
TAG_TEMPLATES.site,
|
|
4309
|
-
TAG_TEMPLATES.siteSettings
|
|
4310
|
-
],
|
|
4490
|
+
tags: [TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings],
|
|
4311
4491
|
auth: "user",
|
|
4312
4492
|
responseKind: "json",
|
|
4313
4493
|
errors: [
|
|
@@ -4320,7 +4500,7 @@ const API_ENDPOINTS = {
|
|
|
4320
4500
|
updateSiteDeploymentMode: {
|
|
4321
4501
|
path: "/sites/{siteId}/settings/deployment-mode",
|
|
4322
4502
|
method: "POST",
|
|
4323
|
-
tags: [TAG_TEMPLATES.
|
|
4503
|
+
tags: [TAG_TEMPLATES.site, TAG_TEMPLATES.site],
|
|
4324
4504
|
auth: "user",
|
|
4325
4505
|
responseKind: "json"
|
|
4326
4506
|
},
|
|
@@ -4485,6 +4665,7 @@ const API_ENDPOINTS = {
|
|
|
4485
4665
|
responseKind: "json"
|
|
4486
4666
|
},
|
|
4487
4667
|
updateFooterComposition: {
|
|
4668
|
+
editLease: "unleased-editor",
|
|
4488
4669
|
path: "/sites/{siteId}/settings/footer-composition",
|
|
4489
4670
|
method: "POST",
|
|
4490
4671
|
tags: [TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings],
|
|
@@ -4507,6 +4688,7 @@ const API_ENDPOINTS = {
|
|
|
4507
4688
|
responseKind: "json"
|
|
4508
4689
|
},
|
|
4509
4690
|
updatePublicProfile: {
|
|
4691
|
+
editLease: "unleased-editor",
|
|
4510
4692
|
path: "/sites/{siteId}/settings/public-profile",
|
|
4511
4693
|
method: "POST",
|
|
4512
4694
|
tags: [TAG_TEMPLATES.site, TAG_TEMPLATES.siteSettings],
|
|
@@ -4543,6 +4725,7 @@ const API_ENDPOINTS = {
|
|
|
4543
4725
|
responseKind: "json"
|
|
4544
4726
|
},
|
|
4545
4727
|
setHomepage: {
|
|
4728
|
+
editLease: "unleased-editor",
|
|
4546
4729
|
path: "/sites/{siteId}/settings/homepage",
|
|
4547
4730
|
method: "POST",
|
|
4548
4731
|
tags: ["site-{siteId}", "site-homepage"],
|
|
@@ -4752,6 +4935,22 @@ const API_ENDPOINTS = {
|
|
|
4752
4935
|
auth: "admin",
|
|
4753
4936
|
responseKind: "json"
|
|
4754
4937
|
},
|
|
4938
|
+
adminReplyToSupportTicket: {
|
|
4939
|
+
path: "/admin/support/tickets/reply",
|
|
4940
|
+
method: "POST",
|
|
4941
|
+
tags: ["admin", "support"],
|
|
4942
|
+
auth: "admin",
|
|
4943
|
+
responseKind: "json",
|
|
4944
|
+
errors: []
|
|
4945
|
+
},
|
|
4946
|
+
adminSetSupportTicketStatus: {
|
|
4947
|
+
path: "/admin/support/tickets/status",
|
|
4948
|
+
method: "POST",
|
|
4949
|
+
tags: ["admin", "support"],
|
|
4950
|
+
auth: "admin",
|
|
4951
|
+
responseKind: "json",
|
|
4952
|
+
errors: []
|
|
4953
|
+
},
|
|
4755
4954
|
mfaTotpEnroll: {
|
|
4756
4955
|
path: "/auth/mfa/totp/enroll",
|
|
4757
4956
|
method: "POST",
|
|
@@ -5019,7 +5218,7 @@ const API_ENDPOINTS = {
|
|
|
5019
5218
|
getNavigationMenus: {
|
|
5020
5219
|
path: "/sites/{siteId}/navigation/menus",
|
|
5021
5220
|
method: "GET",
|
|
5022
|
-
tags: [TAG_TEMPLATES.
|
|
5221
|
+
tags: [TAG_TEMPLATES.site, TAG_TEMPLATES.siteNavigation],
|
|
5023
5222
|
auth: "user",
|
|
5024
5223
|
responseKind: "json"
|
|
5025
5224
|
},
|
|
@@ -5027,7 +5226,7 @@ const API_ENDPOINTS = {
|
|
|
5027
5226
|
path: "/sites/{siteId}/navigation/menus/{menuId}",
|
|
5028
5227
|
method: "GET",
|
|
5029
5228
|
tags: [
|
|
5030
|
-
TAG_TEMPLATES.
|
|
5229
|
+
TAG_TEMPLATES.site,
|
|
5031
5230
|
TAG_TEMPLATES.siteNavigation,
|
|
5032
5231
|
TAG_TEMPLATES.navigationMenuById
|
|
5033
5232
|
],
|
|
@@ -5038,7 +5237,7 @@ const API_ENDPOINTS = {
|
|
|
5038
5237
|
path: "/sites/{siteId}/navigation/menus/{menuId}/items",
|
|
5039
5238
|
method: "POST",
|
|
5040
5239
|
tags: [
|
|
5041
|
-
TAG_TEMPLATES.
|
|
5240
|
+
TAG_TEMPLATES.site,
|
|
5042
5241
|
TAG_TEMPLATES.siteNavigation,
|
|
5043
5242
|
TAG_TEMPLATES.navigationMenuById
|
|
5044
5243
|
],
|
|
@@ -5049,7 +5248,7 @@ const API_ENDPOINTS = {
|
|
|
5049
5248
|
path: "/sites/{siteId}/navigation/menus/{menuId}/items/{itemId}",
|
|
5050
5249
|
method: "PATCH",
|
|
5051
5250
|
tags: [
|
|
5052
|
-
TAG_TEMPLATES.
|
|
5251
|
+
TAG_TEMPLATES.site,
|
|
5053
5252
|
TAG_TEMPLATES.siteNavigation,
|
|
5054
5253
|
TAG_TEMPLATES.navigationMenuById,
|
|
5055
5254
|
TAG_TEMPLATES.navigationItemById
|
|
@@ -5061,7 +5260,7 @@ const API_ENDPOINTS = {
|
|
|
5061
5260
|
path: "/sites/{siteId}/navigation/menus/{menuId}/items/{itemId}",
|
|
5062
5261
|
method: "DELETE",
|
|
5063
5262
|
tags: [
|
|
5064
|
-
TAG_TEMPLATES.
|
|
5263
|
+
TAG_TEMPLATES.site,
|
|
5065
5264
|
TAG_TEMPLATES.siteNavigation,
|
|
5066
5265
|
TAG_TEMPLATES.navigationMenuById,
|
|
5067
5266
|
TAG_TEMPLATES.navigationItemById
|
|
@@ -5073,42 +5272,13 @@ const API_ENDPOINTS = {
|
|
|
5073
5272
|
path: "/sites/{siteId}/navigation/menus/{menuId}/items/reorder",
|
|
5074
5273
|
method: "POST",
|
|
5075
5274
|
tags: [
|
|
5076
|
-
TAG_TEMPLATES.
|
|
5275
|
+
TAG_TEMPLATES.site,
|
|
5077
5276
|
TAG_TEMPLATES.siteNavigation,
|
|
5078
5277
|
TAG_TEMPLATES.navigationMenuById
|
|
5079
5278
|
],
|
|
5080
5279
|
auth: "user",
|
|
5081
5280
|
responseKind: "json"
|
|
5082
5281
|
},
|
|
5083
|
-
getRoutableContent: {
|
|
5084
|
-
path: "/sites/{siteId}/routable-content",
|
|
5085
|
-
method: "GET",
|
|
5086
|
-
revalidate: 60,
|
|
5087
|
-
tags: [TAG_TEMPLATES.siteRoutableContent],
|
|
5088
|
-
auth: "user",
|
|
5089
|
-
responseKind: "json"
|
|
5090
|
-
},
|
|
5091
|
-
getPublicRoutableContent: {
|
|
5092
|
-
path: "/public/sites/{siteId}/routable-content",
|
|
5093
|
-
method: "GET",
|
|
5094
|
-
revalidate: 60,
|
|
5095
|
-
tags: [TAG_TEMPLATES.siteRoutableContent],
|
|
5096
|
-
auth: "public",
|
|
5097
|
-
responseKind: "json"
|
|
5098
|
-
},
|
|
5099
|
-
getPublicSitemapRoutes: {
|
|
5100
|
-
path: "/public/sites/{siteId}/sitemap",
|
|
5101
|
-
method: "GET",
|
|
5102
|
-
revalidate: 60,
|
|
5103
|
-
tags: [
|
|
5104
|
-
TAG_TEMPLATES.siteRoutableContent,
|
|
5105
|
-
TAG_TEMPLATES.siteSettings,
|
|
5106
|
-
TAG_TEMPLATES.publicEvents,
|
|
5107
|
-
TAG_TEMPLATES.publicBookingServices
|
|
5108
|
-
],
|
|
5109
|
-
auth: "public",
|
|
5110
|
-
responseKind: "json"
|
|
5111
|
-
},
|
|
5112
5282
|
getPublishedPostPreview: {
|
|
5113
5283
|
path: "/public/posts/{siteId}/{slug}/preview",
|
|
5114
5284
|
method: "GET",
|
|
@@ -5125,16 +5295,30 @@ const API_ENDPOINTS = {
|
|
|
5125
5295
|
responseKind: "json"
|
|
5126
5296
|
},
|
|
5127
5297
|
saveSiteTheme: {
|
|
5298
|
+
editLease: "unleased-editor",
|
|
5128
5299
|
path: "/sites/{siteId}/theme/save",
|
|
5129
5300
|
method: "POST",
|
|
5130
|
-
tags: [TAG_TEMPLATES.
|
|
5301
|
+
tags: [TAG_TEMPLATES.site, TAG_TEMPLATES.siteTheme],
|
|
5131
5302
|
auth: "user",
|
|
5132
5303
|
responseKind: "json"
|
|
5133
5304
|
},
|
|
5305
|
+
previewSiteStyleSelection: {
|
|
5306
|
+
path: "/public/sites/{siteId}/theme/style-selection/preview",
|
|
5307
|
+
method: "POST",
|
|
5308
|
+
auth: "public",
|
|
5309
|
+
errors: [
|
|
5310
|
+
"validation:invalid_input",
|
|
5311
|
+
"auth:forbidden",
|
|
5312
|
+
"resource:not_found",
|
|
5313
|
+
"server:internal_error"
|
|
5314
|
+
],
|
|
5315
|
+
responseKind: "json"
|
|
5316
|
+
},
|
|
5134
5317
|
applySiteStyleSelection: {
|
|
5318
|
+
editLease: "unleased-editor",
|
|
5135
5319
|
path: "/sites/{siteId}/theme/style-selection/apply",
|
|
5136
5320
|
method: "POST",
|
|
5137
|
-
tags: [TAG_TEMPLATES.
|
|
5321
|
+
tags: [TAG_TEMPLATES.site, TAG_TEMPLATES.siteTheme],
|
|
5138
5322
|
auth: "user",
|
|
5139
5323
|
errors: [
|
|
5140
5324
|
"validation:invalid_input",
|
|
@@ -5146,9 +5330,10 @@ const API_ENDPOINTS = {
|
|
|
5146
5330
|
responseKind: "json"
|
|
5147
5331
|
},
|
|
5148
5332
|
saveSiteChromeSelection: {
|
|
5333
|
+
editLease: "unleased-editor",
|
|
5149
5334
|
path: "/sites/{siteId}/theme/site-chrome-selection",
|
|
5150
5335
|
method: "POST",
|
|
5151
|
-
tags: [TAG_TEMPLATES.
|
|
5336
|
+
tags: [TAG_TEMPLATES.site, TAG_TEMPLATES.siteTheme],
|
|
5152
5337
|
auth: "user",
|
|
5153
5338
|
errors: [],
|
|
5154
5339
|
responseKind: "json"
|
|
@@ -5518,7 +5703,7 @@ const API_ENDPOINTS = {
|
|
|
5518
5703
|
path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/slots",
|
|
5519
5704
|
method: "GET",
|
|
5520
5705
|
tags: [
|
|
5521
|
-
TAG_TEMPLATES.
|
|
5706
|
+
TAG_TEMPLATES.site,
|
|
5522
5707
|
TAG_TEMPLATES.pageSurfaceById,
|
|
5523
5708
|
"surface-slots",
|
|
5524
5709
|
"blocks"
|
|
@@ -5536,7 +5721,7 @@ const API_ENDPOINTS = {
|
|
|
5536
5721
|
path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/slots/{slotKey}/blocks",
|
|
5537
5722
|
method: "POST",
|
|
5538
5723
|
tags: [
|
|
5539
|
-
TAG_TEMPLATES.
|
|
5724
|
+
TAG_TEMPLATES.site,
|
|
5540
5725
|
TAG_TEMPLATES.pageSurfaceById,
|
|
5541
5726
|
"surface-slot-{slotKey}",
|
|
5542
5727
|
"blocks"
|
|
@@ -5555,7 +5740,7 @@ const API_ENDPOINTS = {
|
|
|
5555
5740
|
path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/slots/{slotKey}/blocks/reorder",
|
|
5556
5741
|
method: "POST",
|
|
5557
5742
|
tags: [
|
|
5558
|
-
TAG_TEMPLATES.
|
|
5743
|
+
TAG_TEMPLATES.site,
|
|
5559
5744
|
TAG_TEMPLATES.pageSurfaceById,
|
|
5560
5745
|
"surface-slot-{slotKey}",
|
|
5561
5746
|
"blocks"
|
|
@@ -5574,7 +5759,7 @@ const API_ENDPOINTS = {
|
|
|
5574
5759
|
path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/slots/{slotKey}/blocks/{blockId}",
|
|
5575
5760
|
method: "DELETE",
|
|
5576
5761
|
tags: [
|
|
5577
|
-
TAG_TEMPLATES.
|
|
5762
|
+
TAG_TEMPLATES.site,
|
|
5578
5763
|
TAG_TEMPLATES.pageSurfaceById,
|
|
5579
5764
|
"surface-slot-{slotKey}",
|
|
5580
5765
|
"blocks"
|
|
@@ -6306,20 +6491,6 @@ const API_ENDPOINTS = {
|
|
|
6306
6491
|
errors: [],
|
|
6307
6492
|
responseKind: "json"
|
|
6308
6493
|
},
|
|
6309
|
-
importSiteBackup: {
|
|
6310
|
-
path: "/sites/{siteId}/backup/import",
|
|
6311
|
-
method: "POST",
|
|
6312
|
-
tags: ["site-{siteId}", "backup"],
|
|
6313
|
-
auth: "user",
|
|
6314
|
-
responseKind: "json",
|
|
6315
|
-
errors: [
|
|
6316
|
-
"validation:invalid_input",
|
|
6317
|
-
"validation:payload_too_large",
|
|
6318
|
-
"auth:forbidden",
|
|
6319
|
-
"resource:not_found",
|
|
6320
|
-
"server:internal_error"
|
|
6321
|
-
]
|
|
6322
|
-
},
|
|
6323
6494
|
createBackupUploadUrl: {
|
|
6324
6495
|
path: "/backup/upload-url",
|
|
6325
6496
|
method: "POST",
|
|
@@ -6651,32 +6822,59 @@ const API_ENDPOINTS = {
|
|
|
6651
6822
|
responseKind: "json",
|
|
6652
6823
|
errors: []
|
|
6653
6824
|
},
|
|
6654
|
-
|
|
6655
|
-
|
|
6825
|
+
listEventBookingMoveClasses: {
|
|
6826
|
+
errors: [],
|
|
6827
|
+
path: "/sites/{siteId}/bookings/event-attendees/{attendeeId}/move-classes",
|
|
6828
|
+
method: "GET",
|
|
6829
|
+
auth: "user",
|
|
6830
|
+
responseKind: "json"
|
|
6831
|
+
},
|
|
6832
|
+
listEventBookingMoveTargets: {
|
|
6833
|
+
errors: [],
|
|
6834
|
+
path: "/sites/{siteId}/bookings/event-attendees/{attendeeId}/move-targets",
|
|
6835
|
+
method: "GET",
|
|
6836
|
+
auth: "user",
|
|
6837
|
+
responseKind: "json"
|
|
6838
|
+
},
|
|
6839
|
+
moveEventBooking: {
|
|
6840
|
+
errors: [],
|
|
6841
|
+
path: "/sites/{siteId}/bookings/event-attendees/{attendeeId}/move",
|
|
6656
6842
|
method: "POST",
|
|
6843
|
+
auth: "user",
|
|
6844
|
+
responseKind: "json",
|
|
6657
6845
|
tags: [
|
|
6658
6846
|
"site-{siteId}",
|
|
6659
6847
|
"event-attendee-{attendeeId}",
|
|
6660
6848
|
"bookings"
|
|
6661
|
-
]
|
|
6849
|
+
]
|
|
6850
|
+
},
|
|
6851
|
+
restoreEventBooking: {
|
|
6852
|
+
errors: [],
|
|
6853
|
+
path: "/sites/{siteId}/bookings/event-attendees/{attendeeId}/restore",
|
|
6854
|
+
method: "POST",
|
|
6662
6855
|
auth: "user",
|
|
6663
6856
|
responseKind: "json",
|
|
6664
|
-
|
|
6665
|
-
"
|
|
6666
|
-
"
|
|
6667
|
-
"
|
|
6857
|
+
tags: [
|
|
6858
|
+
"site-{siteId}",
|
|
6859
|
+
"event-attendee-{attendeeId}",
|
|
6860
|
+
"bookings"
|
|
6668
6861
|
]
|
|
6669
6862
|
},
|
|
6670
|
-
|
|
6671
|
-
path: "/sites/{siteId}/bookings/event-attendees/{attendeeId}/
|
|
6672
|
-
method: "
|
|
6863
|
+
transferEventAttendee: {
|
|
6864
|
+
path: "/sites/{siteId}/bookings/event-attendees/{attendeeId}/transfer",
|
|
6865
|
+
method: "POST",
|
|
6673
6866
|
tags: [
|
|
6674
6867
|
"site-{siteId}",
|
|
6675
6868
|
"event-attendee-{attendeeId}",
|
|
6676
6869
|
"bookings"
|
|
6677
6870
|
],
|
|
6678
6871
|
auth: "user",
|
|
6679
|
-
responseKind: "json"
|
|
6872
|
+
responseKind: "json",
|
|
6873
|
+
errors: [
|
|
6874
|
+
"validation:invalid_input",
|
|
6875
|
+
"resource:not_found",
|
|
6876
|
+
"server:internal_error"
|
|
6877
|
+
]
|
|
6680
6878
|
},
|
|
6681
6879
|
listEventSeriesOccurrences: {
|
|
6682
6880
|
path: "/sites/{siteId}/bookings/event-series/{seriesId}/occurrences",
|
|
@@ -6820,13 +7018,28 @@ const API_ENDPOINTS = {
|
|
|
6820
7018
|
responseKind: "json",
|
|
6821
7019
|
errors: ["resource:conflict", "resource:not_found"]
|
|
6822
7020
|
},
|
|
6823
|
-
|
|
6824
|
-
|
|
7021
|
+
previewLocationDrawing: {
|
|
7022
|
+
errors: ["resource:not_found"],
|
|
7023
|
+
path: "/sites/{siteId}/location/drawing-preview",
|
|
6825
7024
|
method: "POST",
|
|
6826
|
-
tags: [
|
|
7025
|
+
tags: [],
|
|
6827
7026
|
auth: "user",
|
|
6828
7027
|
responseKind: "json"
|
|
6829
7028
|
},
|
|
7029
|
+
geocodeLocation: {
|
|
7030
|
+
path: "/sites/{siteId}/location/geocode",
|
|
7031
|
+
method: "POST",
|
|
7032
|
+
tags: ["site-{siteId}"],
|
|
7033
|
+
auth: "user",
|
|
7034
|
+
responseKind: "json",
|
|
7035
|
+
errors: [
|
|
7036
|
+
"validation:invalid_input",
|
|
7037
|
+
"resource:not_found",
|
|
7038
|
+
"rate_limit:exceeded",
|
|
7039
|
+
"external:service_error",
|
|
7040
|
+
"server:internal_error"
|
|
7041
|
+
]
|
|
7042
|
+
},
|
|
6830
7043
|
listBookingPasses: {
|
|
6831
7044
|
path: "/sites/{siteId}/bookings/passes",
|
|
6832
7045
|
method: "GET",
|
|
@@ -7401,11 +7614,20 @@ const API_ENDPOINTS = {
|
|
|
7401
7614
|
auth: "user",
|
|
7402
7615
|
responseKind: "json"
|
|
7403
7616
|
},
|
|
7404
|
-
|
|
7405
|
-
path: "/sites/{siteId}/logs/emails/{emailId}
|
|
7617
|
+
getSentEmail: {
|
|
7618
|
+
path: "/sites/{siteId}/logs/emails/{emailId}",
|
|
7406
7619
|
method: "GET",
|
|
7407
7620
|
auth: "user",
|
|
7408
|
-
responseKind: "json"
|
|
7621
|
+
responseKind: "json",
|
|
7622
|
+
errors: []
|
|
7623
|
+
},
|
|
7624
|
+
resendSentEmail: {
|
|
7625
|
+
path: "/sites/{siteId}/logs/emails/{emailId}/resend",
|
|
7626
|
+
method: "POST",
|
|
7627
|
+
auth: "user",
|
|
7628
|
+
responseKind: "json",
|
|
7629
|
+
errors: [],
|
|
7630
|
+
demoMutation: DEMO_MUTATION_BLOCKED_HIDDEN
|
|
7409
7631
|
},
|
|
7410
7632
|
listSitePublicErrorLogs: {
|
|
7411
7633
|
path: "/sites/{siteId}/logs/errors",
|
|
@@ -7414,6 +7636,7 @@ const API_ENDPOINTS = {
|
|
|
7414
7636
|
responseKind: "json"
|
|
7415
7637
|
},
|
|
7416
7638
|
aiPlaygroundApply: {
|
|
7639
|
+
editLease: "unleased-editor",
|
|
7417
7640
|
path: "/sites/{siteId}/ai/playground/apply",
|
|
7418
7641
|
method: "POST",
|
|
7419
7642
|
tags: ["site-{siteId}"],
|
|
@@ -7668,12 +7891,6 @@ const API_ENDPOINTS = {
|
|
|
7668
7891
|
responseKind: "json"
|
|
7669
7892
|
},
|
|
7670
7893
|
...SDK_MEDIA_ENDPOINT_DEFINITIONS,
|
|
7671
|
-
sdkIdentifiersBackfill: {
|
|
7672
|
-
path: "/sdk/{siteId}/identifiers/backfill",
|
|
7673
|
-
method: "POST",
|
|
7674
|
-
auth: "service",
|
|
7675
|
-
responseKind: "json"
|
|
7676
|
-
},
|
|
7677
7894
|
sdkUpdateWorkflowRunStatus: {
|
|
7678
7895
|
path: "/sdk/{siteId}/workflows/runs/{runId}/status",
|
|
7679
7896
|
method: "POST",
|
|
@@ -8246,6 +8463,20 @@ const API_ENDPOINTS = {
|
|
|
8246
8463
|
auth: "public",
|
|
8247
8464
|
responseKind: "json"
|
|
8248
8465
|
},
|
|
8466
|
+
portalListEventRescheduleDates: {
|
|
8467
|
+
errors: [],
|
|
8468
|
+
path: "/portal/events/{registrationId}/reschedule-dates",
|
|
8469
|
+
method: "GET",
|
|
8470
|
+
auth: "public",
|
|
8471
|
+
responseKind: "json"
|
|
8472
|
+
},
|
|
8473
|
+
portalRescheduleEventRegistration: {
|
|
8474
|
+
errors: [],
|
|
8475
|
+
path: "/portal/events/{registrationId}/reschedule",
|
|
8476
|
+
method: "POST",
|
|
8477
|
+
auth: "public",
|
|
8478
|
+
responseKind: "json"
|
|
8479
|
+
},
|
|
8249
8480
|
portalTransferEventRegistration: {
|
|
8250
8481
|
path: "/portal/events/{registrationId}/transfer",
|
|
8251
8482
|
method: "POST",
|
|
@@ -8447,4 +8678,4 @@ function buildPreviewAuthRefreshUrl(input) {
|
|
|
8447
8678
|
return buildDashboardUrl(input.dashboardBaseUrl, previewDashboardApiEndpoints.previewAuthRefresh.path).toString();
|
|
8448
8679
|
}
|
|
8449
8680
|
//#endregion
|
|
8450
|
-
export { buildPreviewAuthRefreshUrl as n, setPreviewAuthCookies as r, buildPreviewAuthExchangeUrl as t };
|
|
8681
|
+
export { setPreviewTilesKeyCookie as i, buildPreviewAuthRefreshUrl as n, setPreviewAuthCookies as r, buildPreviewAuthExchangeUrl as t };
|