@riverbankcms/sdk 0.177.0 → 0.178.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-sYraeqm9.d.ts → BlocksIslandsHydrator-CrKsXtpD.d.ts} +1 -1
- package/dist/_dts/{Page-Bp7hTDTy.d.ts → Page-C9i27wZA.d.ts} +7 -7
- package/dist/_dts/{SdkPreviewMode-CxkCCyKw.d.ts → SdkPreviewMode-DzGSR3jh.d.ts} +2 -2
- package/dist/_dts/{client-K6UhbL3t.d.ts → client-BnYN6XsH.d.ts} +31 -7
- package/dist/_dts/{content-types-BLAdIMyr.d.ts → content-types-CXj6lp3d.d.ts} +2 -2
- package/dist/_dts/{contracts-BG7yTZ6t.d.ts → contracts-BZLwkTwL.d.ts} +3 -3
- package/dist/_dts/{footerPageOutline-DwMHeYmQ.d.ts → footerPageOutline-D_XbQW_o.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-X_WpGzZZ.d.ts → generatePageMetadata-ByEWwe9j.d.ts} +2 -2
- package/dist/_dts/{index-BpAW9AKB.d.ts → index-0HFgCnGz.d.ts} +1 -1
- package/dist/_dts/{index-CX9bp60k.d.ts → index-BE9dWIsr.d.ts} +3 -3
- package/dist/_dts/{index-Bygd2RCg.d.ts → index-CKDRr54L.d.ts} +4 -4
- package/dist/_dts/{index-BMGif2r3.d.ts → index-D9-N1d9v.d.ts} +1 -1
- package/dist/_dts/{index--n-wV8Xd.d.ts → index-DCa-8TEY.d.ts} +1 -1
- package/dist/_dts/{index-BLseXObg.d.ts → index-cTpvQg_Q.d.ts} +2 -2
- package/dist/_dts/{index-CBRbZJ6u.d.ts → index-nnEdgc3Z.d.ts} +2 -2
- package/dist/_dts/{loadContent-uhUThWaq.d.ts → loadContent-DYkVV6w4.d.ts} +7 -7
- package/dist/_dts/{request-Bf9YImJw.d.ts → request-B20VRWHH.d.ts} +491 -43
- package/dist/_dts/{resolveBlockData-D6M5NMZB.d.ts → resolveBlockData-C_aK5GIS.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-DkzWvFbG.d.ts → resolvePageContent-YT6ndha1.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/data/dataLoaderContext.d.ts +2 -2
- package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
- package/dist/_dts/sdk/src/data/types.d.ts +2 -2
- package/dist/_dts/sdk/src/gifting/client.d.ts +1 -2
- 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 +3 -3
- package/dist/_dts/sdk/src/next/index.d.ts +24 -12
- 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 +56 -4
- package/dist/_dts/sdk/src/portal/index.d.ts +95 -13
- 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/rendering/client.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
- 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/rendering/themeAdmission.d.ts +1 -1
- 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/spam-protection/index.d.ts +2 -2
- package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
- package/dist/_dts/{types-BdZ5pJSk.d.ts → types-CMZ5mkpv.d.ts} +2 -2
- package/dist/_dts/{types-DgV8P2mz.d.ts → types-CYcd15BQ.d.ts} +7 -7
- package/dist/_dts/{types-C1l2Sm2h.d.ts → types-rm2M4LGx.d.ts} +3 -3
- package/dist/_dts/{validation-BtbZIT5f.d.ts → validation-BSxnRhyy.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-CeYQQQs7.mjs → BlocksIslandsHydrator-D1n09bu-.mjs} +17 -17
- package/dist/client/{BookingMailingListNote-CDDWrY_W.mjs → BookingMailingListNote-DSD4gS96.mjs} +6 -6
- package/dist/client/{BookingPanelArrangement-BShQSial.mjs → BookingPanelArrangement--EkA1ZQd.mjs} +1 -1
- package/dist/client/{BookingQuestionFields-MbvIo2jS.mjs → BookingQuestionFields-B57oGPcj.mjs} +2 -2
- package/dist/client/{CalendarNavigationChevron-C6CSVfEB.mjs → CalendarNavigationChevron-qXvsFYOg.mjs} +7 -7
- package/dist/client/{DemoBookingPortalAccess-C9Ggcfx3.mjs → DemoBookingPortalAccess-Olvrwi3Z.mjs} +3 -3
- package/dist/client/{EventCalendar.client-BSMuSqg0.mjs → EventCalendar.client-DwFNFb-0.mjs} +10 -10
- package/dist/client/{EventCombined.client-BTrmSyUB.mjs → EventCombined.client-Ffu-aVOb.mjs} +9 -9
- package/dist/client/{EventItem-B0WjGXsH.mjs → EventItem-b8tVkNHA.mjs} +4 -4
- package/dist/client/{EventListWeekNavigation-8Ij7vuxY.mjs → EventListWeekNavigation-BxnJW_Gf.mjs} +1 -1
- package/dist/client/{EventListing.client-CWk2NEwd.mjs → EventListing.client-ViCnrNg4.mjs} +3 -3
- package/dist/client/{EventListing.view-BEH4UbSL.mjs → EventListing.view-CdjiepMf.mjs} +7 -7
- package/dist/client/{EventRegistrationPayment-B2EikR3f.mjs → EventRegistrationPayment-BVd70XkH.mjs} +262 -24
- package/dist/client/{LocationMapActions-myIQIvQL.mjs → LocationMapActions-CiMtl1Ha.mjs} +1 -1
- package/dist/client/{MapDrawingSvg-BfsVyPvB.mjs → MapDrawingSvg-BCZa3dpf.mjs} +1 -1
- package/dist/client/{Page-C03rc6jw.mjs → Page-DqETUt-U.mjs} +12 -12
- package/dist/client/{SiteTermsAgreementField-BYACYP0T.mjs → SiteTermsAgreementField-DkFnbzf_.mjs} +2 -2
- package/dist/client/{StepIndicator-Bb7rPtSq.mjs → StepIndicator-JO2PS03n.mjs} +79 -32
- package/dist/client/{accordion-BfsOiweL.mjs → accordion-XgNxl0Wg.mjs} +1 -1
- package/dist/client/{booking-form.client-B8ohIj13.mjs → booking-form.client-ljJoDwuI.mjs} +13 -13
- package/dist/client/{bookingForm-CXsck2oH.mjs → bookingForm-DtEHwY4W.mjs} +4 -4
- package/dist/client/bookings.mjs +5 -5
- package/dist/client/{boxStyleClassNames-B_hcuT06.mjs → boxStyleClassNames-BHoMAcun.mjs} +2 -2
- package/dist/client/{carousel-Cz5Ddbsx.mjs → carousel-B3UhbFu7.mjs} +1 -1
- package/dist/client/{cart-CTC2oS3p.mjs → cart-DzOJfYOR.mjs} +3 -3
- package/dist/client/{cart.client-c1YkTC-Q.mjs → cart.client-DBG77v-5.mjs} +1 -1
- package/dist/client/{checkout-BeW1ufaH.mjs → checkout-LmePoEgM.mjs} +3 -3
- package/dist/client/{checkout.client-BeU32khQ.mjs → checkout.client-DmgZuLBT.mjs} +1 -1
- package/dist/client/{checkoutUrls-DVfSUSKp.mjs → checkoutUrls-CMZI8o_V.mjs} +1 -1
- package/dist/client/client.mjs +59 -5
- package/dist/client/{context-R9p5c8IH.mjs → context-CJIz4FdL.mjs} +1 -1
- package/dist/client/{course-CUFVJEAc.mjs → course-DBEU9IA9.mjs} +11 -4
- package/dist/client/{dateFormatting-CF6FWCoo.mjs → dateFormatting-UoXqBh10.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-tZxIm3RL.mjs → demoPortalMagicLink-6CgFZNvu.mjs} +5 -4
- package/dist/client/{display-4HYOb-AK.mjs → display-D1oVR5Eh.mjs} +180 -15
- package/dist/client/{enhanceHeaderSection-DEYDI54E.mjs → enhanceHeaderSection-DaMo6len.mjs} +3 -3
- package/dist/client/{event-details.client-BwjBJP-f.mjs → event-details.client-BwASwKIq.mjs} +1 -1
- package/dist/client/{event-registration.client-DWvSODTI.mjs → event-registration.client-b6APrFQe.mjs} +118 -180
- package/dist/client/{eventCalendar-C9Pn9eeZ.mjs → eventCalendar-DJYz7yZf.mjs} +4 -4
- package/dist/client/{eventCombined-Bdhk0fp0.mjs → eventCombined-j9VCVgMW.mjs} +4 -4
- package/dist/client/{eventDetails-C2LfNW_o.mjs → eventDetails-BzGOVDI-.mjs} +2 -2
- package/dist/client/{eventListing-B-bJOQUk.mjs → eventListing-DWgpGuFM.mjs} +4 -4
- package/dist/client/{eventRegistration-CbdmUiDT.mjs → eventRegistration-DCinRot3.mjs} +4 -4
- package/dist/client/{form-BbUUt784.mjs → form-BBBtRwvy.mjs} +3 -3
- package/dist/client/{form.client-BVlz-9_t.mjs → form.client-CZeRQLGF.mjs} +4 -4
- package/dist/client/{form.parts-TB4UIrML.mjs → form.parts-DhGGv4_L.mjs} +1 -1
- package/dist/client/{formatDate-TDHhFjFN.mjs → formatDate-DVFVDcDW.mjs} +1 -1
- package/dist/client/gifting/client.mjs +6 -5
- package/dist/client/{gifting-CbNSrp7C.mjs → gifting-Di9-SpwW.mjs} +4 -4
- package/dist/client/{gifting.client-B__bGhFc.mjs → gifting.client-CjT5PrAZ.mjs} +4 -4
- package/dist/client/{gifting.parts-CTA1sDW6.mjs → gifting.parts-ffP6mjMd.mjs} +2 -2
- package/dist/client/{headerSection-5Wn9nUW_.mjs → headerSection-jjAvtSZk.mjs} +2 -2
- package/dist/client/{lookSurfaces-BwiNdgMU.mjs → lookSurfaces-C2VzJfyG.mjs} +1 -1
- package/dist/client/{newsletter-form.client-B17WYHxZ.mjs → newsletter-form.client-D45frHoa.mjs} +5 -5
- package/dist/client/{newsletter-form.parts-DN9wD1ZG.mjs → newsletter-form.parts-CHdg82ct.mjs} +1 -1
- package/dist/client/{newsletterForm-DLMlxInp.mjs → newsletterForm-tS465_vl.mjs} +3 -3
- package/dist/client/{noop-CaQxI-Js.mjs → noop-D11X-B6n.mjs} +123 -91
- package/dist/client/portal/client.mjs +344 -19
- package/dist/client/{product-detail.client-Di_anRGR.mjs → product-detail.client-DIWSeW7P.mjs} +1 -1
- package/dist/client/{product-list.client-Duhl6rtL.mjs → product-list.client-BRf14h_e.mjs} +1 -1
- package/dist/client/{productDetail-BgKmCwA8.mjs → productDetail-gxF5whea.mjs} +3 -3
- package/dist/client/{productList-C_wMKsYS.mjs → productList-B9t0XJrN.mjs} +3 -3
- package/dist/client/{propsDecoder-y3LvxaiG.mjs → propsDecoder-Db8wAmgr.mjs} +4 -4
- package/dist/client/{registry.server-CIWYKz1V.mjs → registry.server-Bn0gE0uP.mjs} +27 -27
- package/dist/client/rendering/client.mjs +23 -23
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +7 -7
- package/dist/client/{richText-coerce-DkPBFb_a.mjs → richText-coerce-COnKrLO7.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-BgO0rZce.mjs → routeIslandApiConfig-Bok1Oy50.mjs} +1 -1
- package/dist/client/{shop-CFbWlv_W.mjs → shop-D1oTPDxm.mjs} +3 -3
- package/dist/client/{shop-commerce-C-I29eaA.mjs → shop-commerce-DyMZLC0a.mjs} +12 -12
- package/dist/client/{shop-commerce-store-DGcc7twO.mjs → shop-commerce-store-FODNS63D.mjs} +1 -1
- package/dist/client/{shop-discount-apply.state-DOm7vx0X.mjs → shop-discount-apply.state-C4xcmFzZ.mjs} +2 -2
- package/dist/client/{shop.client-GHTWUKD6.mjs → shop.client-CRgRulfI.mjs} +12 -12
- package/dist/client/{shop.interactive-CxDJ8P2r.mjs → shop.interactive-D7wky1GL.mjs} +6 -33
- package/dist/client/{shopShared-Be9QJJpT.mjs → shopShared-Bd_hy9ZO.mjs} +2 -2
- package/dist/client/src-DqMbCjI1.mjs +3 -0
- package/dist/client/{src-xrjaKaCj.mjs → src-uwCpbHXG.mjs} +2 -1
- package/dist/client/{timetableModel--R0zVzZO.mjs → timetableModel-UlWfP1gh.mjs} +9 -9
- package/dist/client/{useAvailableSlots-BGu_2F50.mjs → useAvailableSlots-D-qoooLy.mjs} +2 -2
- package/dist/client/{useDiscountCodeUi-I_mXI9Yd.mjs → useDiscountCodeUi-B9DODAkj.mjs} +1 -1
- package/dist/client/{useEventPagination-DxIJ--JZ.mjs → useEventPagination-CQH2e9sQ.mjs} +7 -7
- package/dist/client/{view-BbzH5MQb.mjs → view-DNX59QwM.mjs} +10 -9
- package/dist/client/{view-3foOzGWR.mjs → view-bGU1ws-m.mjs} +3 -3
- package/dist/preview-next/client/{PageSectionToolbar-D6-jojqh.mjs → PageSectionToolbar-D-Le7O3o.mjs} +3 -3
- package/dist/preview-next/client/{PreviewEditorSidebar-BUVFKZ4k.mjs → PreviewEditorSidebar-DNy5j_ce.mjs} +15 -13
- package/dist/preview-next/client/{PreviewEditorUI-292pOiSt.mjs → PreviewEditorUI-CzJvgbqt.mjs} +4 -4
- package/dist/preview-next/client/{PreviewShell-CW0Yzj3h.mjs → PreviewShell-xhJ6ca1i.mjs} +5 -5
- package/dist/preview-next/client/{SdkPreviewModeRuntime-Dba7zoZK.mjs → SdkPreviewModeRuntime-BmYO1TdT.mjs} +5 -5
- package/dist/preview-next/client/{previewAssistantSlot-B-utyhbS.mjs → previewAssistantSlot-BN93X9o1.mjs} +1141 -596
- package/dist/preview-next/client/{previewChromeRoot-CCoGydUD.mjs → previewChromeRoot-C51RQseo.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-DCpXVcA0.mjs → sdk-runtime-oeGquJM-.mjs} +2 -2
- package/dist/preview-next/client/{siteStyleAccess-sjOvRAHY.mjs → siteStyleAccess-BGTAcPud.mjs} +1 -1
- package/dist/preview-next/client/src-EO5QoRlU.mjs +3 -0
- package/dist/preview-next/client/{src-DzXUmsyK.mjs → src-lX6heoDA.mjs} +2 -1
- package/dist/preview-next/client/{useAutosaveStatus-R1rZ9-IZ.mjs → useAutosaveStatus-BMGXjGZq.mjs} +1 -1
- package/dist/preview-next/client/{useOpenBlockForSetup-BS7CANPv.mjs → useOpenBlockForSetup-CTDoR_gQ.mjs} +1 -1
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-BSSbtz6A.mjs → route-contract-BtdzkSUg.mjs} +55 -1
- package/dist/server/{Block.shared-Dc3DX7Cf.mjs → Block.shared-Bp3OlOjj.mjs} +5 -5
- package/dist/server/{bindings-VGgS6UvF.mjs → bindings-DrbJuftt.mjs} +3 -3
- package/dist/server/{client-BPLLL22F.mjs → client-Bf06n9oj.mjs} +56 -2
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/constants-Cj7hfbrA.mjs +41 -0
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/index.mjs +2 -2
- package/dist/server/{loadContent-CxASA3PE.mjs → loadContent-eaTY7RPg.mjs} +4 -4
- package/dist/server/{loadPage-CQgde5DN.mjs → loadPage-5iZefzDd.mjs} +2 -2
- package/dist/server/{navigation-iC_hXjJI.mjs → navigation-BcNfYYuu.mjs} +1 -1
- package/dist/server/navigation.mjs +1 -1
- package/dist/server/next.mjs +56 -13
- package/dist/server/{overrideResolution-CkpwAHvW.mjs → overrideResolution-CUHtm7tW.mjs} +1 -1
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{pageRenderPlan-CfSnAkCO.mjs → pageRenderPlan-GmPXForc.mjs} +13 -6
- package/dist/server/{pageRuntimeSupport-uz4gzBOo.mjs → pageRuntimeSupport-Dd8LFzfa.mjs} +1 -1
- package/dist/server/{pageShared-6z6JBU41.mjs → pageShared-tz-GVWft.mjs} +85 -37
- package/dist/server/portal-B4JVkdjc.mjs +783 -0
- package/dist/server/portal.mjs +3 -3
- package/dist/server/{prebuild-B4_Llisx.mjs → prebuild-JmsuYCIH.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-CCiYV8_s.mjs → prefetchBlockData-Ce9DDwON.mjs} +2 -2
- package/dist/server/{registry-CXRXsFSx.mjs → registry-D12XF_h1.mjs} +466 -311
- package/dist/server/rendering/components/pageShared.mjs +1 -1
- package/dist/server/rendering/helpers/loadPage.mjs +1 -1
- package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
- package/dist/server/rendering/server.mjs +3 -3
- package/dist/server/rendering.mjs +7 -7
- package/dist/server/{resolveBlockData-yfe8WLEA.mjs → resolveBlockData-D9yZIN3V.mjs} +1 -1
- package/dist/server/server.mjs +3 -3
- package/dist/server/{validation-BvHio6QI.mjs → validation-CLq5cw6M.mjs} +3 -3
- package/dist/server/{version-SuFlio6n.mjs → version-oPbhAx8E.mjs} +1 -1
- package/dist/styles/index.css +19 -0
- package/package.json +1 -1
- package/dist/client/src-BozhJ43Z.mjs +0 -3
- package/dist/preview-next/client/src-LUhVXBEQ.mjs +0 -3
- package/dist/server/constants-hl17xz6x.mjs +0 -22
- package/dist/server/portal-BjVHMAUC.mjs +0 -371
|
@@ -807,6 +807,7 @@ type Database = {
|
|
|
807
807
|
appointment_calendar_connections: {
|
|
808
808
|
Row: {
|
|
809
809
|
access_token_encrypted: string | null;
|
|
810
|
+
busy_read_problems: Json;
|
|
810
811
|
connected_by: string | null;
|
|
811
812
|
created_at: string;
|
|
812
813
|
external_id: string | null;
|
|
@@ -823,6 +824,7 @@ type Database = {
|
|
|
823
824
|
};
|
|
824
825
|
Insert: {
|
|
825
826
|
access_token_encrypted?: string | null;
|
|
827
|
+
busy_read_problems?: Json;
|
|
826
828
|
connected_by?: string | null;
|
|
827
829
|
created_at?: string;
|
|
828
830
|
external_id?: string | null;
|
|
@@ -839,6 +841,7 @@ type Database = {
|
|
|
839
841
|
};
|
|
840
842
|
Update: {
|
|
841
843
|
access_token_encrypted?: string | null;
|
|
844
|
+
busy_read_problems?: Json;
|
|
842
845
|
connected_by?: string | null;
|
|
843
846
|
created_at?: string;
|
|
844
847
|
external_id?: string | null;
|
|
@@ -867,6 +870,69 @@ type Database = {
|
|
|
867
870
|
referencedColumns: ["id"];
|
|
868
871
|
}];
|
|
869
872
|
};
|
|
873
|
+
appointment_calendar_events: {
|
|
874
|
+
Row: {
|
|
875
|
+
appointment_id: string;
|
|
876
|
+
calendar_id: string;
|
|
877
|
+
confirmed_at: string | null;
|
|
878
|
+
connection_id: string | null;
|
|
879
|
+
created_at: string;
|
|
880
|
+
event_id: string;
|
|
881
|
+
id: string;
|
|
882
|
+
site_id: string;
|
|
883
|
+
};
|
|
884
|
+
Insert: {
|
|
885
|
+
appointment_id: string;
|
|
886
|
+
calendar_id: string;
|
|
887
|
+
confirmed_at?: string | null;
|
|
888
|
+
connection_id?: string | null;
|
|
889
|
+
created_at?: string;
|
|
890
|
+
event_id: string;
|
|
891
|
+
id?: string;
|
|
892
|
+
site_id: string;
|
|
893
|
+
};
|
|
894
|
+
Update: {
|
|
895
|
+
appointment_id?: string;
|
|
896
|
+
calendar_id?: string;
|
|
897
|
+
confirmed_at?: string | null;
|
|
898
|
+
connection_id?: string | null;
|
|
899
|
+
created_at?: string;
|
|
900
|
+
event_id?: string;
|
|
901
|
+
id?: string;
|
|
902
|
+
site_id?: string;
|
|
903
|
+
};
|
|
904
|
+
Relationships: [{
|
|
905
|
+
foreignKeyName: "appointment_calendar_events_appointment_id_fkey";
|
|
906
|
+
columns: ["appointment_id"];
|
|
907
|
+
isOneToOne: false;
|
|
908
|
+
referencedRelation: "appointment_booking_activity_v1";
|
|
909
|
+
referencedColumns: ["id"];
|
|
910
|
+
}, {
|
|
911
|
+
foreignKeyName: "appointment_calendar_events_appointment_id_fkey";
|
|
912
|
+
columns: ["appointment_id"];
|
|
913
|
+
isOneToOne: false;
|
|
914
|
+
referencedRelation: "appointment_move_activity_v1";
|
|
915
|
+
referencedColumns: ["appointment_id"];
|
|
916
|
+
}, {
|
|
917
|
+
foreignKeyName: "appointment_calendar_events_appointment_id_fkey";
|
|
918
|
+
columns: ["appointment_id"];
|
|
919
|
+
isOneToOne: false;
|
|
920
|
+
referencedRelation: "appointments";
|
|
921
|
+
referencedColumns: ["id"];
|
|
922
|
+
}, {
|
|
923
|
+
foreignKeyName: "appointment_calendar_events_connection_id_fkey";
|
|
924
|
+
columns: ["connection_id"];
|
|
925
|
+
isOneToOne: false;
|
|
926
|
+
referencedRelation: "appointment_calendar_connections";
|
|
927
|
+
referencedColumns: ["id"];
|
|
928
|
+
}, {
|
|
929
|
+
foreignKeyName: "appointment_calendar_events_site_id_fkey";
|
|
930
|
+
columns: ["site_id"];
|
|
931
|
+
isOneToOne: false;
|
|
932
|
+
referencedRelation: "sites";
|
|
933
|
+
referencedColumns: ["id"];
|
|
934
|
+
}];
|
|
935
|
+
};
|
|
870
936
|
appointment_follow_up_email_sends: {
|
|
871
937
|
Row: {
|
|
872
938
|
appointment_id: string;
|
|
@@ -1233,6 +1299,105 @@ type Database = {
|
|
|
1233
1299
|
referencedColumns: ["id"];
|
|
1234
1300
|
}];
|
|
1235
1301
|
};
|
|
1302
|
+
appointment_service_online_details: {
|
|
1303
|
+
Row: {
|
|
1304
|
+
access_code: string | null;
|
|
1305
|
+
created_at: string;
|
|
1306
|
+
id: string;
|
|
1307
|
+
join_url: string;
|
|
1308
|
+
notes: string | null;
|
|
1309
|
+
service_id: string;
|
|
1310
|
+
site_id: string;
|
|
1311
|
+
updated_at: string;
|
|
1312
|
+
};
|
|
1313
|
+
Insert: {
|
|
1314
|
+
access_code?: string | null;
|
|
1315
|
+
created_at?: string;
|
|
1316
|
+
id?: string;
|
|
1317
|
+
join_url: string;
|
|
1318
|
+
notes?: string | null;
|
|
1319
|
+
service_id: string;
|
|
1320
|
+
site_id: string;
|
|
1321
|
+
updated_at?: string;
|
|
1322
|
+
};
|
|
1323
|
+
Update: {
|
|
1324
|
+
access_code?: string | null;
|
|
1325
|
+
created_at?: string;
|
|
1326
|
+
id?: string;
|
|
1327
|
+
join_url?: string;
|
|
1328
|
+
notes?: string | null;
|
|
1329
|
+
service_id?: string;
|
|
1330
|
+
site_id?: string;
|
|
1331
|
+
updated_at?: string;
|
|
1332
|
+
};
|
|
1333
|
+
Relationships: [{
|
|
1334
|
+
foreignKeyName: "appointment_service_online_details_service_fkey";
|
|
1335
|
+
columns: ["service_id", "site_id"];
|
|
1336
|
+
isOneToOne: false;
|
|
1337
|
+
referencedRelation: "appointment_services";
|
|
1338
|
+
referencedColumns: ["id", "site_id"];
|
|
1339
|
+
}, {
|
|
1340
|
+
foreignKeyName: "appointment_service_online_details_site_id_fkey";
|
|
1341
|
+
columns: ["site_id"];
|
|
1342
|
+
isOneToOne: false;
|
|
1343
|
+
referencedRelation: "sites";
|
|
1344
|
+
referencedColumns: ["id"];
|
|
1345
|
+
}];
|
|
1346
|
+
};
|
|
1347
|
+
appointment_service_staff_online_details: {
|
|
1348
|
+
Row: {
|
|
1349
|
+
access_code: string | null;
|
|
1350
|
+
created_at: string;
|
|
1351
|
+
id: string;
|
|
1352
|
+
join_url: string;
|
|
1353
|
+
notes: string | null;
|
|
1354
|
+
service_id: string;
|
|
1355
|
+
site_id: string;
|
|
1356
|
+
staff_member_id: string;
|
|
1357
|
+
updated_at: string;
|
|
1358
|
+
};
|
|
1359
|
+
Insert: {
|
|
1360
|
+
access_code?: string | null;
|
|
1361
|
+
created_at?: string;
|
|
1362
|
+
id?: string;
|
|
1363
|
+
join_url: string;
|
|
1364
|
+
notes?: string | null;
|
|
1365
|
+
service_id: string;
|
|
1366
|
+
site_id: string;
|
|
1367
|
+
staff_member_id: string;
|
|
1368
|
+
updated_at?: string;
|
|
1369
|
+
};
|
|
1370
|
+
Update: {
|
|
1371
|
+
access_code?: string | null;
|
|
1372
|
+
created_at?: string;
|
|
1373
|
+
id?: string;
|
|
1374
|
+
join_url?: string;
|
|
1375
|
+
notes?: string | null;
|
|
1376
|
+
service_id?: string;
|
|
1377
|
+
site_id?: string;
|
|
1378
|
+
staff_member_id?: string;
|
|
1379
|
+
updated_at?: string;
|
|
1380
|
+
};
|
|
1381
|
+
Relationships: [{
|
|
1382
|
+
foreignKeyName: "appointment_service_staff_online_details_service_fkey";
|
|
1383
|
+
columns: ["service_id", "site_id"];
|
|
1384
|
+
isOneToOne: false;
|
|
1385
|
+
referencedRelation: "appointment_services";
|
|
1386
|
+
referencedColumns: ["id", "site_id"];
|
|
1387
|
+
}, {
|
|
1388
|
+
foreignKeyName: "appointment_service_staff_online_details_site_id_fkey";
|
|
1389
|
+
columns: ["site_id"];
|
|
1390
|
+
isOneToOne: false;
|
|
1391
|
+
referencedRelation: "sites";
|
|
1392
|
+
referencedColumns: ["id"];
|
|
1393
|
+
}, {
|
|
1394
|
+
foreignKeyName: "appointment_service_staff_online_details_staff_fkey";
|
|
1395
|
+
columns: ["staff_member_id", "site_id"];
|
|
1396
|
+
isOneToOne: false;
|
|
1397
|
+
referencedRelation: "staff_members";
|
|
1398
|
+
referencedColumns: ["id", "site_id"];
|
|
1399
|
+
}];
|
|
1400
|
+
};
|
|
1236
1401
|
appointment_services: {
|
|
1237
1402
|
Row: {
|
|
1238
1403
|
assignment_mode: string;
|
|
@@ -9049,6 +9214,8 @@ type Database = {
|
|
|
9049
9214
|
form_submission_json: Json;
|
|
9050
9215
|
id: string;
|
|
9051
9216
|
metadata: Json;
|
|
9217
|
+
no_show_at: string | null;
|
|
9218
|
+
no_show_by: string | null;
|
|
9052
9219
|
occurrence_id: string | null;
|
|
9053
9220
|
payment_id: string | null;
|
|
9054
9221
|
payment_method: string | null;
|
|
@@ -9079,6 +9246,8 @@ type Database = {
|
|
|
9079
9246
|
form_submission_json?: Json;
|
|
9080
9247
|
id?: string;
|
|
9081
9248
|
metadata?: Json;
|
|
9249
|
+
no_show_at?: string | null;
|
|
9250
|
+
no_show_by?: string | null;
|
|
9082
9251
|
occurrence_id?: string | null;
|
|
9083
9252
|
payment_id?: string | null;
|
|
9084
9253
|
payment_method?: string | null;
|
|
@@ -9109,6 +9278,8 @@ type Database = {
|
|
|
9109
9278
|
form_submission_json?: Json;
|
|
9110
9279
|
id?: string;
|
|
9111
9280
|
metadata?: Json;
|
|
9281
|
+
no_show_at?: string | null;
|
|
9282
|
+
no_show_by?: string | null;
|
|
9112
9283
|
occurrence_id?: string | null;
|
|
9113
9284
|
payment_id?: string | null;
|
|
9114
9285
|
payment_method?: string | null;
|
|
@@ -10081,6 +10252,7 @@ type Database = {
|
|
|
10081
10252
|
Row: {
|
|
10082
10253
|
accepts_memberships: boolean | null;
|
|
10083
10254
|
accepts_passes: boolean | null;
|
|
10255
|
+
booking_cut_off_hours: number | null;
|
|
10084
10256
|
booking_scope: string;
|
|
10085
10257
|
capacity: number | null;
|
|
10086
10258
|
created_at: string;
|
|
@@ -10111,6 +10283,7 @@ type Database = {
|
|
|
10111
10283
|
Insert: {
|
|
10112
10284
|
accepts_memberships?: boolean | null;
|
|
10113
10285
|
accepts_passes?: boolean | null;
|
|
10286
|
+
booking_cut_off_hours?: number | null;
|
|
10114
10287
|
booking_scope?: string;
|
|
10115
10288
|
capacity?: number | null;
|
|
10116
10289
|
created_at?: string;
|
|
@@ -10141,6 +10314,7 @@ type Database = {
|
|
|
10141
10314
|
Update: {
|
|
10142
10315
|
accepts_memberships?: boolean | null;
|
|
10143
10316
|
accepts_passes?: boolean | null;
|
|
10317
|
+
booking_cut_off_hours?: number | null;
|
|
10144
10318
|
booking_scope?: string;
|
|
10145
10319
|
capacity?: number | null;
|
|
10146
10320
|
created_at?: string;
|
|
@@ -15287,6 +15461,7 @@ type Database = {
|
|
|
15287
15461
|
};
|
|
15288
15462
|
portal_sign_in_tokens: {
|
|
15289
15463
|
Row: {
|
|
15464
|
+
consumed_at: string | null;
|
|
15290
15465
|
created_at: string;
|
|
15291
15466
|
customer_id: string;
|
|
15292
15467
|
expires_at: string;
|
|
@@ -15295,6 +15470,7 @@ type Database = {
|
|
|
15295
15470
|
token_hash: string;
|
|
15296
15471
|
};
|
|
15297
15472
|
Insert: {
|
|
15473
|
+
consumed_at?: string | null;
|
|
15298
15474
|
created_at?: string;
|
|
15299
15475
|
customer_id: string;
|
|
15300
15476
|
expires_at: string;
|
|
@@ -15303,6 +15479,7 @@ type Database = {
|
|
|
15303
15479
|
token_hash: string;
|
|
15304
15480
|
};
|
|
15305
15481
|
Update: {
|
|
15482
|
+
consumed_at?: string | null;
|
|
15306
15483
|
created_at?: string;
|
|
15307
15484
|
customer_id?: string;
|
|
15308
15485
|
expires_at?: string;
|
|
@@ -18810,6 +18987,7 @@ type Database = {
|
|
|
18810
18987
|
max_attempts: number;
|
|
18811
18988
|
payload_json: Json;
|
|
18812
18989
|
payload_redacted_at: string | null;
|
|
18990
|
+
portal_sign_in: string | null;
|
|
18813
18991
|
provider_ambiguity_started_at: string | null;
|
|
18814
18992
|
provider_attempt_state: string;
|
|
18815
18993
|
provider_message_id: string | null;
|
|
@@ -18843,6 +19021,7 @@ type Database = {
|
|
|
18843
19021
|
max_attempts?: number;
|
|
18844
19022
|
payload_json?: Json;
|
|
18845
19023
|
payload_redacted_at?: string | null;
|
|
19024
|
+
portal_sign_in?: string | null;
|
|
18846
19025
|
provider_ambiguity_started_at?: string | null;
|
|
18847
19026
|
provider_attempt_state?: string;
|
|
18848
19027
|
provider_message_id?: string | null;
|
|
@@ -18876,6 +19055,7 @@ type Database = {
|
|
|
18876
19055
|
max_attempts?: number;
|
|
18877
19056
|
payload_json?: Json;
|
|
18878
19057
|
payload_redacted_at?: string | null;
|
|
19058
|
+
portal_sign_in?: string | null;
|
|
18879
19059
|
provider_ambiguity_started_at?: string | null;
|
|
18880
19060
|
provider_attempt_state?: string;
|
|
18881
19061
|
provider_message_id?: string | null;
|
|
@@ -21688,6 +21868,12 @@ type Database = {
|
|
|
21688
21868
|
};
|
|
21689
21869
|
Returns: Json;
|
|
21690
21870
|
};
|
|
21871
|
+
booking_attention_calendars_v2: {
|
|
21872
|
+
Args: {
|
|
21873
|
+
p_site_id: string;
|
|
21874
|
+
};
|
|
21875
|
+
Returns: Json;
|
|
21876
|
+
};
|
|
21691
21877
|
booking_attention_emails_v1: {
|
|
21692
21878
|
Args: {
|
|
21693
21879
|
p_now: string;
|
|
@@ -22030,6 +22216,8 @@ type Database = {
|
|
|
22030
22216
|
form_submission_json: Json;
|
|
22031
22217
|
id: string;
|
|
22032
22218
|
metadata: Json;
|
|
22219
|
+
no_show_at: string | null;
|
|
22220
|
+
no_show_by: string | null;
|
|
22033
22221
|
occurrence_id: string | null;
|
|
22034
22222
|
payment_id: string | null;
|
|
22035
22223
|
payment_method: string | null;
|
|
@@ -23834,6 +24022,13 @@ type Database = {
|
|
|
23834
24022
|
};
|
|
23835
24023
|
Returns: Json;
|
|
23836
24024
|
};
|
|
24025
|
+
event_booking_closes_at_v1: {
|
|
24026
|
+
Args: {
|
|
24027
|
+
p_cut_off_hours: number;
|
|
24028
|
+
p_starts_at: string;
|
|
24029
|
+
};
|
|
24030
|
+
Returns: string;
|
|
24031
|
+
};
|
|
23837
24032
|
event_booking_offer_option_references_v1: {
|
|
23838
24033
|
Args: {
|
|
23839
24034
|
p_series_id: string;
|
|
@@ -23980,6 +24175,20 @@ type Database = {
|
|
|
23980
24175
|
occupied_seats: number;
|
|
23981
24176
|
}[];
|
|
23982
24177
|
};
|
|
24178
|
+
event_series_booking_cut_off_hours_v1: {
|
|
24179
|
+
Args: {
|
|
24180
|
+
p_series_hours: number;
|
|
24181
|
+
p_site_id: string;
|
|
24182
|
+
};
|
|
24183
|
+
Returns: number;
|
|
24184
|
+
};
|
|
24185
|
+
event_series_first_live_session_starts_at_v1: {
|
|
24186
|
+
Args: {
|
|
24187
|
+
p_event_series_id: string;
|
|
24188
|
+
p_site_id: string;
|
|
24189
|
+
};
|
|
24190
|
+
Returns: string;
|
|
24191
|
+
};
|
|
23983
24192
|
event_series_hard_delete_block_v1: {
|
|
23984
24193
|
Args: {
|
|
23985
24194
|
p_event_series_ids: string[];
|
|
@@ -24465,6 +24674,19 @@ type Database = {
|
|
|
24465
24674
|
};
|
|
24466
24675
|
Returns: boolean;
|
|
24467
24676
|
};
|
|
24677
|
+
issue_portal_sign_in_token: {
|
|
24678
|
+
Args: {
|
|
24679
|
+
p_email: string;
|
|
24680
|
+
p_expires_at: string;
|
|
24681
|
+
p_job_id?: string;
|
|
24682
|
+
p_site_id: string;
|
|
24683
|
+
p_token_hash: string;
|
|
24684
|
+
};
|
|
24685
|
+
Returns: {
|
|
24686
|
+
decision: string;
|
|
24687
|
+
token_id: string;
|
|
24688
|
+
}[];
|
|
24689
|
+
};
|
|
24468
24690
|
issue_purchased_gifting_instrument_atomic_v1: {
|
|
24469
24691
|
Args: {
|
|
24470
24692
|
p_instrument: Json;
|
|
@@ -26159,6 +26381,17 @@ type Database = {
|
|
|
26159
26381
|
};
|
|
26160
26382
|
Returns: undefined;
|
|
26161
26383
|
};
|
|
26384
|
+
record_appointment_calendar_event: {
|
|
26385
|
+
Args: {
|
|
26386
|
+
p_appointment_id: string;
|
|
26387
|
+
p_calendar_id: string;
|
|
26388
|
+
p_connection_id: string;
|
|
26389
|
+
};
|
|
26390
|
+
Returns: {
|
|
26391
|
+
event_id: string;
|
|
26392
|
+
id: string;
|
|
26393
|
+
}[];
|
|
26394
|
+
};
|
|
26162
26395
|
record_checkout_attempt_session: {
|
|
26163
26396
|
Args: {
|
|
26164
26397
|
p_attempt_id: string;
|
|
@@ -26405,6 +26638,20 @@ type Database = {
|
|
|
26405
26638
|
};
|
|
26406
26639
|
Returns: Json;
|
|
26407
26640
|
};
|
|
26641
|
+
redeem_portal_sign_in_token: {
|
|
26642
|
+
Args: {
|
|
26643
|
+
p_session_expires_at: string;
|
|
26644
|
+
p_session_token_hash: string;
|
|
26645
|
+
p_site_id: string;
|
|
26646
|
+
p_token_hash: string;
|
|
26647
|
+
};
|
|
26648
|
+
Returns: {
|
|
26649
|
+
out_customer_id: string;
|
|
26650
|
+
out_expires_at: string;
|
|
26651
|
+
out_session_id: string;
|
|
26652
|
+
outcome: string;
|
|
26653
|
+
}[];
|
|
26654
|
+
};
|
|
26408
26655
|
refresh_order_status_projection: {
|
|
26409
26656
|
Args: {
|
|
26410
26657
|
p_order_id: string;
|
|
@@ -27707,6 +27954,7 @@ type Database = {
|
|
|
27707
27954
|
max_attempts: number;
|
|
27708
27955
|
payload_json: Json;
|
|
27709
27956
|
payload_redacted_at: string | null;
|
|
27957
|
+
portal_sign_in: string | null;
|
|
27710
27958
|
provider_ambiguity_started_at: string | null;
|
|
27711
27959
|
provider_attempt_state: string;
|
|
27712
27960
|
provider_message_id: string | null;
|
|
@@ -27753,6 +28001,7 @@ type Database = {
|
|
|
27753
28001
|
max_attempts: number;
|
|
27754
28002
|
payload_json: Json;
|
|
27755
28003
|
payload_redacted_at: string | null;
|
|
28004
|
+
portal_sign_in: string | null;
|
|
27756
28005
|
provider_ambiguity_started_at: string | null;
|
|
27757
28006
|
provider_attempt_state: string;
|
|
27758
28007
|
provider_message_id: string | null;
|
|
@@ -27799,6 +28048,7 @@ type Database = {
|
|
|
27799
28048
|
max_attempts: number;
|
|
27800
28049
|
payload_json: Json;
|
|
27801
28050
|
payload_redacted_at: string | null;
|
|
28051
|
+
portal_sign_in: string | null;
|
|
27802
28052
|
provider_ambiguity_started_at: string | null;
|
|
27803
28053
|
provider_attempt_state: string;
|
|
27804
28054
|
provider_message_id: string | null;
|
|
@@ -27845,6 +28095,7 @@ type Database = {
|
|
|
27845
28095
|
max_attempts: number;
|
|
27846
28096
|
payload_json: Json;
|
|
27847
28097
|
payload_redacted_at: string | null;
|
|
28098
|
+
portal_sign_in: string | null;
|
|
27848
28099
|
provider_ambiguity_started_at: string | null;
|
|
27849
28100
|
provider_attempt_state: string;
|
|
27850
28101
|
provider_message_id: string | null;
|
|
@@ -28709,6 +28960,7 @@ type Database = {
|
|
|
28709
28960
|
};
|
|
28710
28961
|
waitlist_occurrence_is_eligible_v1: {
|
|
28711
28962
|
Args: {
|
|
28963
|
+
p_cut_off_hours: number;
|
|
28712
28964
|
p_now: string;
|
|
28713
28965
|
p_starts_at: string;
|
|
28714
28966
|
p_status: string;
|
|
@@ -33223,10 +33475,30 @@ type BookingNoticePolicy = Readonly<{
|
|
|
33223
33475
|
minLeadMinutes: number;
|
|
33224
33476
|
maxBookingNoticeMinutes: number | null;
|
|
33225
33477
|
}>;
|
|
33478
|
+
/**
|
|
33479
|
+
* Where the owner chose the time. Only the dashboard's time picker has the
|
|
33480
|
+
* "Book this time anyway" tick, so only it can confirm a time outside the
|
|
33481
|
+
* usual rules; the assistant is told to send the owner there instead.
|
|
33482
|
+
*/
|
|
33226
33483
|
type AppointmentTimeWindow = Readonly<{
|
|
33227
33484
|
startAt: string;
|
|
33228
33485
|
endAt: string;
|
|
33229
33486
|
}>;
|
|
33487
|
+
/** Why the practitioner's Google Calendar couldn't be checked for the owner's chosen time. */
|
|
33488
|
+
type OwnerGoogleCalendarWarning = 'read_failed' | 'needs_reconnecting';
|
|
33489
|
+
/**
|
|
33490
|
+
* What the practitioner's Google Calendar said. `not_used` covers no connection
|
|
33491
|
+
* and regular dates, which deliberately stay out of Google checks.
|
|
33492
|
+
*/
|
|
33493
|
+
type OwnerGoogleCalendarCheck = Readonly<{
|
|
33494
|
+
kind: 'checked';
|
|
33495
|
+
busy: readonly AppointmentTimeWindow[];
|
|
33496
|
+
}> | Readonly<{
|
|
33497
|
+
kind: 'unchecked';
|
|
33498
|
+
warning: OwnerGoogleCalendarWarning;
|
|
33499
|
+
}> | Readonly<{
|
|
33500
|
+
kind: 'not_used';
|
|
33501
|
+
}>;
|
|
33230
33502
|
/** Serializable rules for the selected day. Contains no customer or calendar event details. */
|
|
33231
33503
|
type OwnerAppointmentTimeRules = Readonly<{
|
|
33232
33504
|
service: AppointmentSlotService;
|
|
@@ -33237,8 +33509,7 @@ type OwnerAppointmentTimeRules = Readonly<{
|
|
|
33237
33509
|
reservations: readonly AppointmentTimeWindow[];
|
|
33238
33510
|
occupiedWindows: readonly AppointmentTimeWindow[];
|
|
33239
33511
|
closures: readonly AppointmentTimeWindow[];
|
|
33240
|
-
|
|
33241
|
-
googleBusy: readonly AppointmentTimeWindow[];
|
|
33512
|
+
googleCalendar: OwnerGoogleCalendarCheck;
|
|
33242
33513
|
}>;
|
|
33243
33514
|
/** Why a regular session can't use a time, so the owner reads the real reason. */
|
|
33244
33515
|
type RegularAppointmentTimeRefusal = 'outside_hours' | 'too_close' | 'closure' | 'held' | 'booked' | 'past' | 'other';
|
|
@@ -38473,6 +38744,17 @@ type EventRegistrationOptionsRequest = Readonly<{
|
|
|
38473
38744
|
quantity: number;
|
|
38474
38745
|
}>[];
|
|
38475
38746
|
selectedSlidingAmount?: number;
|
|
38747
|
+
/**
|
|
38748
|
+
* The waiting-list offer the visitor arrived with. The server checks it's
|
|
38749
|
+
* theirs, and then quotes past the booking cut-off. Older sites don't send it.
|
|
38750
|
+
*/
|
|
38751
|
+
waitlistClaim?: Readonly<{
|
|
38752
|
+
kind: 'emailedToken';
|
|
38753
|
+
token: string;
|
|
38754
|
+
}> | Readonly<{
|
|
38755
|
+
kind: 'portalOwnedEntry';
|
|
38756
|
+
entryId: string;
|
|
38757
|
+
}>;
|
|
38476
38758
|
}>;
|
|
38477
38759
|
type EventRegistrationOptionsResponse = Readonly<{
|
|
38478
38760
|
subject: Readonly<{
|
|
@@ -39753,7 +40035,8 @@ type PublicWholeSeriesRun = Readonly<{
|
|
|
39753
40035
|
}>; /** Canonical event-series identity backing this concrete bookable run. */
|
|
39754
40036
|
eventSeriesId: string; /** Offering identity owning the public Event page and its available runs. */
|
|
39755
40037
|
eventOfferingId: string; /** True while the whole-series registration window remains open. */
|
|
39756
|
-
enrollmentOpen: boolean;
|
|
40038
|
+
enrollmentOpen: boolean; /** Present when bookings stop before the first session starts. */
|
|
40039
|
+
bookingClosesAt?: string;
|
|
39757
40040
|
/**
|
|
39758
40041
|
* Whether the run is advertised, or reachable only by direct link.
|
|
39759
40042
|
*
|
|
@@ -39825,7 +40108,12 @@ type PublicEventBase = {
|
|
|
39825
40108
|
* event or a run with its own page speaks for itself, while a run that uses
|
|
39826
40109
|
* the course page is only spoken for when no run of that course is live.
|
|
39827
40110
|
*/
|
|
39828
|
-
bookingClosedDetail?: PublicEventBookingClosedDetail;
|
|
40111
|
+
bookingClosedDetail?: PublicEventBookingClosedDetail;
|
|
40112
|
+
/**
|
|
40113
|
+
* Present when bookings stop before this date starts. It's what says "closed
|
|
40114
|
+
* early": the closed reasons stay as they are, so older sites keep working.
|
|
40115
|
+
*/
|
|
40116
|
+
bookingClosesAt?: string; /** How people can attend this event. */
|
|
39829
40117
|
deliveryMode: 'in_person' | 'online' | 'hybrid'; /** No venue on this date, and the owner has said the address follows the booking. */
|
|
39830
40118
|
addressAfterBooking?: true; /** Per-mode availability used by registration flows. */
|
|
39831
40119
|
attendanceModes: PublicEventAttendanceModeAvailability[];
|
|
@@ -42305,6 +42593,12 @@ interface EventTicketBreakdownLine {
|
|
|
42305
42593
|
* Customer event registration data from /api/portal/events
|
|
42306
42594
|
* Note: status uses British spelling 'cancelled'
|
|
42307
42595
|
*/
|
|
42596
|
+
/** How to join an upcoming online booking, for the client who holds it. */
|
|
42597
|
+
interface PortalJoiningDetails {
|
|
42598
|
+
joinUrl: string;
|
|
42599
|
+
accessCode: string | null;
|
|
42600
|
+
notes: string | null;
|
|
42601
|
+
}
|
|
42308
42602
|
interface CustomerEventRegistration {
|
|
42309
42603
|
id: string;
|
|
42310
42604
|
instanceId: string;
|
|
@@ -42345,6 +42639,7 @@ interface CustomerEventRegistration {
|
|
|
42345
42639
|
};
|
|
42346
42640
|
ticketingEnabled: boolean;
|
|
42347
42641
|
ticketUrl?: string;
|
|
42642
|
+
joiningDetails?: PortalJoiningDetails | null;
|
|
42348
42643
|
}
|
|
42349
42644
|
/** Guest details for event registration. */
|
|
42350
42645
|
interface EventGuest {
|
|
@@ -42355,6 +42650,7 @@ interface EventGuest {
|
|
|
42355
42650
|
}
|
|
42356
42651
|
interface CustomerEventSeriesRegistration {
|
|
42357
42652
|
isOnline: boolean | null;
|
|
42653
|
+
joiningDetails?: PortalJoiningDetails | null;
|
|
42358
42654
|
id: string;
|
|
42359
42655
|
eventSeriesId: string | null;
|
|
42360
42656
|
eventTitle: string;
|
|
@@ -60598,6 +60894,7 @@ type BlockSiteTerms = Readonly<{
|
|
|
60598
60894
|
* Note: status uses British spelling 'cancelled'
|
|
60599
60895
|
*/
|
|
60600
60896
|
interface CustomerAppointment {
|
|
60897
|
+
joiningDetails?: PortalJoiningDetails | null;
|
|
60601
60898
|
timeZone: string;
|
|
60602
60899
|
isOnline: boolean;
|
|
60603
60900
|
id: string;
|
|
@@ -62733,6 +63030,20 @@ declare const API_ENDPOINTS: {
|
|
|
62733
63030
|
auth: "user";
|
|
62734
63031
|
responseKind: "json";
|
|
62735
63032
|
};
|
|
63033
|
+
readonly listStaffServiceOnlineDetails: {
|
|
63034
|
+
path: "/sites/{siteId}/bookings/resources/{resourceId}/services/online-details";
|
|
63035
|
+
method: "GET";
|
|
63036
|
+
auth: "user";
|
|
63037
|
+
responseKind: "json";
|
|
63038
|
+
errors: never[];
|
|
63039
|
+
};
|
|
63040
|
+
readonly setStaffServiceOnlineDetails: {
|
|
63041
|
+
path: "/sites/{siteId}/bookings/resources/{resourceId}/services/online-details";
|
|
63042
|
+
method: "PUT";
|
|
63043
|
+
auth: "user";
|
|
63044
|
+
responseKind: "json";
|
|
63045
|
+
errors: never[];
|
|
63046
|
+
};
|
|
62736
63047
|
readonly getServiceResources: {
|
|
62737
63048
|
path: "/sites/{siteId}/bookings/services/{serviceId}/resources";
|
|
62738
63049
|
method: "GET";
|
|
@@ -63013,6 +63324,13 @@ declare const API_ENDPOINTS: {
|
|
|
63013
63324
|
responseKind: "json";
|
|
63014
63325
|
errors: ("auth:forbidden" | "resource:conflict" | "resource:not_found" | "server:internal_error" | "validation:invalid_input")[];
|
|
63015
63326
|
};
|
|
63327
|
+
readonly setEventAttendeesNoShow: {
|
|
63328
|
+
path: "/sites/{siteId}/bookings/attendees/no-show";
|
|
63329
|
+
method: "POST";
|
|
63330
|
+
auth: "user";
|
|
63331
|
+
responseKind: "json";
|
|
63332
|
+
errors: ("auth:forbidden" | "resource:conflict" | "server:internal_error" | "validation:invalid_input")[];
|
|
63333
|
+
};
|
|
63016
63334
|
readonly listEventOfferingCombinationPrices: {
|
|
63017
63335
|
path: "/sites/{siteId}/bookings/event-offerings/{eventOfferingId}/combination-prices";
|
|
63018
63336
|
method: "GET";
|
|
@@ -69080,6 +69398,27 @@ declare const API_ENDPOINTS: {
|
|
|
69080
69398
|
readonly responseKind: 'json';
|
|
69081
69399
|
readonly errors: readonly [];
|
|
69082
69400
|
};
|
|
69401
|
+
readonly portalEntryPreview: {
|
|
69402
|
+
readonly path: '/portal/auth/entry/preview';
|
|
69403
|
+
readonly method: 'POST';
|
|
69404
|
+
readonly auth: 'public';
|
|
69405
|
+
readonly responseKind: 'json';
|
|
69406
|
+
readonly errors: readonly [];
|
|
69407
|
+
};
|
|
69408
|
+
readonly portalEntryRedeem: {
|
|
69409
|
+
readonly path: '/portal/auth/entry/redeem';
|
|
69410
|
+
readonly method: 'POST';
|
|
69411
|
+
readonly auth: 'public';
|
|
69412
|
+
readonly responseKind: 'json';
|
|
69413
|
+
readonly errors: readonly [];
|
|
69414
|
+
};
|
|
69415
|
+
readonly portalEntryResend: {
|
|
69416
|
+
readonly path: '/portal/auth/entry/resend';
|
|
69417
|
+
readonly method: 'POST';
|
|
69418
|
+
readonly auth: 'public';
|
|
69419
|
+
readonly responseKind: 'json';
|
|
69420
|
+
readonly errors: readonly [];
|
|
69421
|
+
};
|
|
69083
69422
|
readonly portalLogout: {
|
|
69084
69423
|
readonly path: '/portal/auth/logout';
|
|
69085
69424
|
readonly method: 'POST';
|
|
@@ -71542,6 +71881,7 @@ declare const courseBookingSettingsSchema: z$1.ZodObject<{
|
|
|
71542
71881
|
inherit: "inherit";
|
|
71543
71882
|
}>>;
|
|
71544
71883
|
collectAllAttendeeDetails: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodBoolean>>;
|
|
71884
|
+
bookingCutOffHours: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodNumber>>;
|
|
71545
71885
|
cancellationPolicy: z$1.ZodObject<{
|
|
71546
71886
|
refunds: z$1.ZodObject<{
|
|
71547
71887
|
mode: z$1.ZodEnum<{
|
|
@@ -73213,6 +73553,11 @@ type CourseBookingSettingsRequest = Readonly<{
|
|
|
73213
73553
|
*/
|
|
73214
73554
|
collectAllAttendeeDetails?: boolean | null | undefined; /** Whether site terms are asked for. Absent leaves every run's value alone. */
|
|
73215
73555
|
siteTermsMode?: SiteTermsMode | undefined;
|
|
73556
|
+
/**
|
|
73557
|
+
* Hours before the first session that bookings close; `null` follows the site.
|
|
73558
|
+
* Absent leaves every run's value alone.
|
|
73559
|
+
*/
|
|
73560
|
+
bookingCutOffHours?: number | null | undefined;
|
|
73216
73561
|
/**
|
|
73217
73562
|
* Whether people can book more than one run at once. The course itself
|
|
73218
73563
|
* owns this, not its runs. Absent leaves the course's current value alone.
|
|
@@ -73231,7 +73576,8 @@ type WholeSeriesRunDetailsInput = Readonly<{
|
|
|
73231
73576
|
enrollmentCapacity?: number | null;
|
|
73232
73577
|
acceptsPasses?: boolean;
|
|
73233
73578
|
acceptsMemberships?: boolean;
|
|
73234
|
-
waitlistMode?: WaitlistOverride;
|
|
73579
|
+
waitlistMode?: WaitlistOverride; /** Hours before the start that online bookings stop. Null follows the site. */
|
|
73580
|
+
bookingCutOffHours?: number | null;
|
|
73235
73581
|
bookingOffer: Extract<BookingPricingRequest, {
|
|
73236
73582
|
bookingRequirement: 'required';
|
|
73237
73583
|
}>;
|
|
@@ -73341,7 +73687,8 @@ type CreateEventRequest = {
|
|
|
73341
73687
|
tags?: string[];
|
|
73342
73688
|
acceptsPasses?: boolean;
|
|
73343
73689
|
acceptsMemberships?: boolean;
|
|
73344
|
-
waitlistMode?: WaitlistOverride;
|
|
73690
|
+
waitlistMode?: WaitlistOverride; /** Hours before the start that online bookings stop. Null follows the site. */
|
|
73691
|
+
bookingCutOffHours?: number | null;
|
|
73345
73692
|
staffMemberIds?: string[];
|
|
73346
73693
|
mainHostStaffMemberId?: string | null;
|
|
73347
73694
|
onlineDetails?: EventOnlineDetailsInput | null;
|
|
@@ -73765,16 +74112,8 @@ type AppointmentService = {
|
|
|
73765
74112
|
createdAt: string;
|
|
73766
74113
|
updatedAt: string;
|
|
73767
74114
|
};
|
|
73768
|
-
type AppointmentServiceOnlineDetails =
|
|
73769
|
-
|
|
73770
|
-
accessCode: string | null;
|
|
73771
|
-
notes: string | null;
|
|
73772
|
-
};
|
|
73773
|
-
type AppointmentServiceOnlineDetailsInput = {
|
|
73774
|
-
joinUrl: string;
|
|
73775
|
-
accessCode?: string | null;
|
|
73776
|
-
notes?: string | null;
|
|
73777
|
-
};
|
|
74115
|
+
type AppointmentServiceOnlineDetails = OnlineJoiningDetails;
|
|
74116
|
+
type AppointmentServiceOnlineDetailsInput = OnlineJoiningDetailsInput;
|
|
73778
74117
|
type CreateAppointmentServiceRequest = {
|
|
73779
74118
|
requiresApproval?: boolean;
|
|
73780
74119
|
onlinePaymentMode?: AppointmentOnlinePaymentMode; /** Initial mode fences selected services until their chosen members are saved. */
|
|
@@ -73949,7 +74288,7 @@ type ListBookingActivityResponse = {
|
|
|
73949
74288
|
nextCursor: string | null;
|
|
73950
74289
|
};
|
|
73951
74290
|
};
|
|
73952
|
-
type BookingHistoryEntryKind = 'requested' | 'booked' | 'moved' | 'transferred' | 'cancelled' | 'restored' | 'payment_recorded' | 'payment_waived' | 'refund_recorded' | 'refunded' | 'checked_in';
|
|
74291
|
+
type BookingHistoryEntryKind = 'requested' | 'booked' | 'moved' | 'transferred' | 'cancelled' | 'restored' | 'payment_recorded' | 'payment_waived' | 'refund_recorded' | 'refunded' | 'checked_in' | 'no_show';
|
|
73953
74292
|
/** One line of a booking's history, already worded for the dashboard. */
|
|
73954
74293
|
type BookingHistoryEntry = {
|
|
73955
74294
|
/** Structured channel for the drawer's assistant mark; line has no channel suffix. */via: 'assistant' | null;
|
|
@@ -74043,7 +74382,11 @@ type BookingDetailCheckIn = {
|
|
|
74043
74382
|
checkedInCount: number;
|
|
74044
74383
|
lastChangedAt: string | null;
|
|
74045
74384
|
lastChangedByName: string | null;
|
|
74046
|
-
correction: BookingActionAvailability;
|
|
74385
|
+
correction: BookingActionAvailability; /** Set while an owner has marked this booking, or this course session, as a no-show. */
|
|
74386
|
+
noShow: Readonly<{
|
|
74387
|
+
markedAt: string;
|
|
74388
|
+
markedByName: string | null;
|
|
74389
|
+
}> | null;
|
|
74047
74390
|
};
|
|
74048
74391
|
type BookingDetailSession = {
|
|
74049
74392
|
occurrenceId: string;
|
|
@@ -74345,9 +74688,11 @@ declare const arrangementEndRequestSchema: z$1.ZodObject<{
|
|
|
74345
74688
|
emailClient: z$1.ZodDefault<z$1.ZodBoolean>;
|
|
74346
74689
|
lastDate: z$1.ZodISODate;
|
|
74347
74690
|
}, z$1.core.$strict>;
|
|
74691
|
+
/** `expectedUpdatedAt` is the version the dialog was showing, so a save can't overwrite a newer change. */
|
|
74348
74692
|
declare const arrangementEditSchema: z$1.ZodObject<{
|
|
74349
74693
|
operationId: z$1.ZodString;
|
|
74350
74694
|
emailClient: z$1.ZodDefault<z$1.ZodBoolean>;
|
|
74695
|
+
expectedUpdatedAt: z$1.ZodString;
|
|
74351
74696
|
serviceId: z$1.ZodString;
|
|
74352
74697
|
holdsTime: z$1.ZodBoolean;
|
|
74353
74698
|
payment: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
@@ -74464,6 +74809,25 @@ declare const previewClientArrangementSchema: z$1.ZodDiscriminatedUnion<[z$1.Zod
|
|
|
74464
74809
|
emailClient: z$1.ZodDefault<z$1.ZodBoolean>;
|
|
74465
74810
|
lastDate: z$1.ZodISODate;
|
|
74466
74811
|
}, z$1.core.$strict>;
|
|
74812
|
+
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
74813
|
+
kind: z$1.ZodLiteral<"edit">;
|
|
74814
|
+
arrangementId: z$1.ZodString;
|
|
74815
|
+
request: z$1.ZodObject<{
|
|
74816
|
+
operationId: z$1.ZodString;
|
|
74817
|
+
emailClient: z$1.ZodDefault<z$1.ZodBoolean>;
|
|
74818
|
+
expectedUpdatedAt: z$1.ZodString;
|
|
74819
|
+
serviceId: z$1.ZodString;
|
|
74820
|
+
holdsTime: z$1.ZodBoolean;
|
|
74821
|
+
payment: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
74822
|
+
kind: z$1.ZodLiteral<"package">;
|
|
74823
|
+
customerPassId: z$1.ZodString;
|
|
74824
|
+
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
74825
|
+
kind: z$1.ZodLiteral<"owed">;
|
|
74826
|
+
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
74827
|
+
kind: z$1.ZodLiteral<"payment_link">;
|
|
74828
|
+
sendOffsetMinutes: z$1.ZodNumber;
|
|
74829
|
+
}, z$1.core.$strict>], "kind">;
|
|
74830
|
+
}, z$1.core.$strict>;
|
|
74467
74831
|
}, z$1.core.$strict>], "kind">;
|
|
74468
74832
|
declare const arrangementTimeOffSchema: z$1.ZodObject<{
|
|
74469
74833
|
operationId: z$1.ZodString;
|
|
@@ -75041,6 +75405,18 @@ type DeleteBookingClosureResponse = {
|
|
|
75041
75405
|
};
|
|
75042
75406
|
};
|
|
75043
75407
|
//#endregion
|
|
75408
|
+
//#region .cache/declarations/api/src/eventNoShowTypes.d.ts
|
|
75409
|
+
/** Why one booking in a no-show request was left as it was. */
|
|
75410
|
+
type EventNoShowRefusalReason = 'not_found' | 'not_confirmed' | 'date_cancelled' | 'checked_in' | 'not_finished' | 'already_marked' | 'not_marked' | 'changed';
|
|
75411
|
+
/** Bookings the decision refuses stay as they were, and the rest still change. */
|
|
75412
|
+
type SetEventAttendeesNoShowResponse = {
|
|
75413
|
+
changedAttendeeIds: string[];
|
|
75414
|
+
refused: Array<{
|
|
75415
|
+
attendeeId: string;
|
|
75416
|
+
reason: EventNoShowRefusalReason;
|
|
75417
|
+
}>;
|
|
75418
|
+
};
|
|
75419
|
+
//#endregion
|
|
75044
75420
|
//#region .cache/declarations/api/src/customerMembershipOutcomes.d.ts
|
|
75045
75421
|
declare const CUSTOMER_MEMBERSHIP_PAYMENT_REFUND_FAILED_CODES: readonly ["not_found", "stripe_not_connected", "credit_refunds_disabled", "already_refunded", "idempotency_amount_mismatch", "idempotency_method_mismatch", "idempotency_receipt_mismatch", "idempotency_scope_mismatch", "refund_in_progress", "invalid_amount", "amount_exceeds_remaining", "pass_revoke_requires_full_refund", "refund_failed", "payment_intent_not_found", "stripe_error", "stale_pending_missing_context"];
|
|
75046
75422
|
type CustomerMembershipPaymentRefundFailedCode = (typeof CUSTOMER_MEMBERSHIP_PAYMENT_REFUND_FAILED_CODES)[number];
|
|
@@ -75827,7 +76203,8 @@ type CreateAppointmentResponse = {
|
|
|
75827
76203
|
orderId?: string;
|
|
75828
76204
|
receiptId?: string;
|
|
75829
76205
|
appointment: AppointmentRecord;
|
|
75830
|
-
customer: BookingCustomerRecord;
|
|
76206
|
+
customer: BookingCustomerRecord; /** The owner's Google calendar couldn't be read when the time was chosen, so it may clash with something there. */
|
|
76207
|
+
googleCalendarWarning: OwnerGoogleCalendarWarning | null;
|
|
75831
76208
|
};
|
|
75832
76209
|
type BookingRequirementTargetType = 'appointment_service' | 'event_series';
|
|
75833
76210
|
type BookingRequirementValidityPolicy = {
|
|
@@ -76640,7 +77017,8 @@ type ClientRecordEventAttendanceHistoryItem = Readonly<{
|
|
|
76640
77017
|
startAt: string;
|
|
76641
77018
|
endAt: string;
|
|
76642
77019
|
timezone: string;
|
|
76643
|
-
status: CustomerAttendanceRecord['status'];
|
|
77020
|
+
status: CustomerAttendanceRecord['status']; /** An owner marked this as a no-show. */
|
|
77021
|
+
noShow: boolean;
|
|
76644
77022
|
venueName: string | null;
|
|
76645
77023
|
ticketsCount: number;
|
|
76646
77024
|
}>;
|
|
@@ -77231,7 +77609,10 @@ type BookingOwedAmount = {
|
|
|
77231
77609
|
currency: string;
|
|
77232
77610
|
};
|
|
77233
77611
|
type BookingEventSeriesAttendee = {
|
|
77234
|
-
checkedInCount?: number;
|
|
77612
|
+
checkedInCount?: number; /** When an owner marked this booking, or this course session, as a no-show. Only a record. */
|
|
77613
|
+
noShowAt?: string | null; /** When the date ends, which is when it can first be marked. */
|
|
77614
|
+
eventEndsAt?: string;
|
|
77615
|
+
eventDateCancelled?: boolean;
|
|
77235
77616
|
id: string;
|
|
77236
77617
|
customerId: string;
|
|
77237
77618
|
eventInstanceId: string;
|
|
@@ -77272,16 +77653,19 @@ type EventAttendeePaymentChoice = Exclude<HandAddedPaymentChoice, {
|
|
|
77272
77653
|
}>;
|
|
77273
77654
|
type AddEventOccurrenceAttendeeRequest = StaffAddAction;
|
|
77274
77655
|
type AddEventOccurrenceAttendeeResponse = StaffAddResponse;
|
|
77275
|
-
|
|
77656
|
+
/** Joining details for anything held online. `@riverbankcms/bookings` owns the rules about them. */
|
|
77657
|
+
type OnlineJoiningDetails = {
|
|
77276
77658
|
joinUrl: string;
|
|
77277
77659
|
accessCode: string | null;
|
|
77278
77660
|
notes: string | null;
|
|
77279
77661
|
};
|
|
77280
|
-
type
|
|
77662
|
+
type OnlineJoiningDetailsInput = {
|
|
77281
77663
|
joinUrl: string;
|
|
77282
77664
|
accessCode?: string | null;
|
|
77283
77665
|
notes?: string | null;
|
|
77284
77666
|
};
|
|
77667
|
+
type EventOnlineDetails = OnlineJoiningDetails;
|
|
77668
|
+
type EventOnlineDetailsInput = OnlineJoiningDetailsInput;
|
|
77285
77669
|
type StaffAssignmentMode = 'inherit' | 'override';
|
|
77286
77670
|
type EventOccurrenceOverrides = {
|
|
77287
77671
|
title?: string;
|
|
@@ -78111,7 +78495,7 @@ type AppointmentListPeriod = (typeof APPOINTMENT_LIST_PERIODS)[number];
|
|
|
78111
78495
|
declare const BOOKING_SETTINGS_SECTION_KEYS: {
|
|
78112
78496
|
readonly basics: readonly ["modules", "verticalConfig", "eventTypePresets", "personRecordMode", "defaultTimezone", "calendarDisplay", "icsFeedsEnabled", "waitlists", "teamMemberProfilePages"];
|
|
78113
78497
|
readonly payments: readonly ["paymentDefaults", "currency", "refundsIssueCredit"];
|
|
78114
|
-
readonly events: readonly ["defaultVenueId", "eventReminderOverrides", "eventScheduleWindowMonths", "eventOrganizerNotifications", "eventOrganizerEmail", "eventTicketingDefaultEnabled", "collectAllAttendeeDetails", "eventTypeBookingDefaults", "eventBookingPolicies", "defaultEventImage", "eventDestinationPolicy"];
|
|
78498
|
+
readonly events: readonly ["defaultVenueId", "eventReminderOverrides", "eventScheduleWindowMonths", "eventOrganizerNotifications", "eventOrganizerEmail", "eventTicketingDefaultEnabled", "collectAllAttendeeDetails", "eventTypeBookingDefaults", "eventBookingPolicies", "eventBookingCutOffHours", "defaultEventImage", "eventDestinationPolicy"];
|
|
78115
78499
|
readonly appointments: readonly ["serviceDestinationPolicy", "appointmentReminderOverrides", "appointmentDefaultMinLeadMinutes", "appointmentDefaultMaxBookingNoticeMinutes", "appointmentBookingPolicies"];
|
|
78116
78500
|
readonly messages: readonly ["notificationSettings", "appointmentStaffChangeNotifications", "discreetAppointmentEmails"];
|
|
78117
78501
|
};
|
|
@@ -78312,6 +78696,11 @@ declare const applyAppointmentSetupRequestSchema: z$1.ZodObject<{
|
|
|
78312
78696
|
}, z$1.core.$strip>], "kind">>;
|
|
78313
78697
|
}, z$1.core.$strip>], "kind">;
|
|
78314
78698
|
categoryId: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
78699
|
+
onlineDetails: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
|
|
78700
|
+
joinUrl: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
78701
|
+
accessCode: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
78702
|
+
notes: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
78703
|
+
}, z$1.core.$strict>>>;
|
|
78315
78704
|
}, z$1.core.$strip>>;
|
|
78316
78705
|
practitioners: z$1.ZodArray<z$1.ZodObject<{
|
|
78317
78706
|
ref: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
@@ -78491,7 +78880,8 @@ type EventSeriesRecord = {
|
|
|
78491
78880
|
priceNote: string | null;
|
|
78492
78881
|
acceptsPasses: boolean;
|
|
78493
78882
|
acceptsMemberships: boolean;
|
|
78494
|
-
waitlistMode: WaitlistOverride;
|
|
78883
|
+
waitlistMode: WaitlistOverride; /** Null follows the site; zero is when it starts. Absent keeps what the event has. */
|
|
78884
|
+
bookingCutOffHours?: number | null;
|
|
78495
78885
|
staffMemberIds?: string[];
|
|
78496
78886
|
mainHostStaffMemberId?: string | null;
|
|
78497
78887
|
settingsRevision: number; /** Arbitrary per-series settings persisted to event_series.settings_json. */
|
|
@@ -78688,7 +79078,8 @@ type BookingSettings = {
|
|
|
78688
79078
|
* both.
|
|
78689
79079
|
*/
|
|
78690
79080
|
eventTypeBookingDefaults: EventTypeBookingDefaults; /** Site-wide cancellation/refund/transfer policies for event bookings */
|
|
78691
|
-
eventBookingPolicies: EventBookingPolicies; /**
|
|
79081
|
+
eventBookingPolicies: EventBookingPolicies; /** Hours before the start that online bookings stop, unless an event chooses otherwise. Zero is when it starts. */
|
|
79082
|
+
eventBookingCutOffHours: number; /** Site-wide refund and reschedule policies for appointment bookings */
|
|
78692
79083
|
appointmentBookingPolicies: AppointmentBookingPolicies; /** Default image shown for events that don't have their own image */
|
|
78693
79084
|
defaultEventImage: BookingDefaultImage | null; /** Post-event feedback follow-up email configuration */
|
|
78694
79085
|
eventFeedback: EventFeedbackSettings; /** Post-appointment follow-up email configuration */
|
|
@@ -80234,6 +80625,11 @@ type PortalAppointmentReschedule = {
|
|
|
80234
80625
|
cutoffAt: string | null;
|
|
80235
80626
|
};
|
|
80236
80627
|
type PortalAppointmentWithDetails = {
|
|
80628
|
+
/** How to join, only on the client's own upcoming online booking. */joiningDetails?: {
|
|
80629
|
+
joinUrl: string;
|
|
80630
|
+
accessCode: string | null;
|
|
80631
|
+
notes: string | null;
|
|
80632
|
+
} | null;
|
|
80237
80633
|
requestedAt: string | null;
|
|
80238
80634
|
requestOutcome: AppointmentRequestOutcome | null;
|
|
80239
80635
|
requestDecidedAt: string | null;
|
|
@@ -82166,7 +82562,8 @@ type SdkEventRunUpsertCommon = Readonly<{
|
|
|
82166
82562
|
status?: SdkPullEventRun['status'];
|
|
82167
82563
|
visibility?: SdkPullEventRun['visibility'];
|
|
82168
82564
|
capacity?: number | null;
|
|
82169
|
-
waitlistMode?: WaitlistOverride;
|
|
82565
|
+
waitlistMode?: WaitlistOverride; /** Hours before the start that online bookings stop. Null follows the site. */
|
|
82566
|
+
bookingCutOffHours?: number | null;
|
|
82170
82567
|
bookings?: ScheduleBookingChoice;
|
|
82171
82568
|
attendeeMigration?: Readonly<{
|
|
82172
82569
|
pricingOptionIdentifier: string;
|
|
@@ -83402,7 +83799,8 @@ type SdkPullEventRunCommon = {
|
|
|
83402
83799
|
occurrences: readonly SdkPullEventOccurrence[]; /** Recurrence intent; occurrences are generated readback when this is present. */
|
|
83403
83800
|
authoredSchedule?: SdkEventSchedule;
|
|
83404
83801
|
capacity: number | null;
|
|
83405
|
-
waitlistMode?: WaitlistOverride;
|
|
83802
|
+
waitlistMode?: WaitlistOverride; /** Hours before the start that online bookings stop. Null follows the site. */
|
|
83803
|
+
bookingCutOffHours?: number | null;
|
|
83406
83804
|
bookingOffer: SdkEventBookingOffer;
|
|
83407
83805
|
venueRef: string | null;
|
|
83408
83806
|
bookingQuestions?: BookingQuestionAttachmentInput | null;
|
|
@@ -85237,7 +85635,8 @@ type BookAppointmentOutcome = Readonly<{
|
|
|
85237
85635
|
practitionerId: string;
|
|
85238
85636
|
customerEmail: boolean;
|
|
85239
85637
|
email: RequestedSendOutcome;
|
|
85240
|
-
payment: AssistantAppointmentPayment;
|
|
85638
|
+
payment: AssistantAppointmentPayment; /** The practitioner's Google calendar couldn't be checked for this time, so tell the owner it might clash. */
|
|
85639
|
+
googleCalendarWarning: OwnerGoogleCalendarWarning | null;
|
|
85241
85640
|
}>;
|
|
85242
85641
|
//#endregion
|
|
85243
85642
|
//#region .cache/declarations/api/src/common/rescheduleAppointmentOperation.d.ts
|
|
@@ -85255,7 +85654,8 @@ type RescheduleAppointmentOutcome = Readonly<{
|
|
|
85255
85654
|
startsAt: string;
|
|
85256
85655
|
endsAt: string;
|
|
85257
85656
|
practitionerId: string;
|
|
85258
|
-
email: RequestedSendOutcome;
|
|
85657
|
+
email: RequestedSendOutcome; /** The practitioner's Google calendar couldn't be checked for the new time, so tell the owner it might clash. */
|
|
85658
|
+
googleCalendarWarning: OwnerGoogleCalendarWarning | null;
|
|
85259
85659
|
}>;
|
|
85260
85660
|
//#endregion
|
|
85261
85661
|
//#region .cache/declarations/api/src/common/timeOffOperations.d.ts
|
|
@@ -87327,12 +87727,7 @@ type MacadamiaOnboardingSurfaceData = {
|
|
|
87327
87727
|
ownerName: string | null;
|
|
87328
87728
|
offeringKinds: MacadamiaOnboardingOfferingKind[];
|
|
87329
87729
|
bookingVerticalConfig?: SiteVerticalBookingConfig | null;
|
|
87330
|
-
|
|
87331
|
-
* Resolved by the payload schema before any reader sees it: an attempt
|
|
87332
|
-
* written before the two-mode wizard parses as `website`, and an explicit
|
|
87333
|
-
* null is someone who has not chosen a mode yet.
|
|
87334
|
-
*/
|
|
87335
|
-
publicExperience: MacadamiaOnboardingPublicExperience | null;
|
|
87730
|
+
publicExperience: MacadamiaOnboardingPublicExperience;
|
|
87336
87731
|
planPreference?: MacadamiaOnboardingPlanPreference | null; /** Only the answer collected with explicitly public wording; absent historical attempts are private. */
|
|
87337
87732
|
businessDescription?: string | null;
|
|
87338
87733
|
tagline?: string | null;
|
|
@@ -87786,8 +88181,8 @@ type PublicOnboardingAttemptProgress = {
|
|
|
87786
88181
|
*/
|
|
87787
88182
|
failedStage: PublicOnboardingProvisioningStage;
|
|
87788
88183
|
} | {
|
|
87789
|
-
kind: 'unavailable';
|
|
87790
|
-
reason: 'completed' | 'cancelled' | 'invalid_site'
|
|
88184
|
+
kind: 'unavailable';
|
|
88185
|
+
reason: 'completed' | 'cancelled' | 'invalid_site';
|
|
87791
88186
|
message: string;
|
|
87792
88187
|
};
|
|
87793
88188
|
/**
|
|
@@ -87803,8 +88198,8 @@ type PublicOnboardingContinueStep = 'card_page' | 'destination' | 'destination_p
|
|
|
87803
88198
|
* screen's last words match where it is about to go.
|
|
87804
88199
|
*/
|
|
87805
88200
|
type PublicOnboardingAttemptProgressResponse = {
|
|
87806
|
-
progress: PublicOnboardingAttemptProgress; /** The experience being set up.
|
|
87807
|
-
experience: MacadamiaOnboardingPublicExperience
|
|
88201
|
+
progress: PublicOnboardingAttemptProgress; /** The experience being set up. */
|
|
88202
|
+
experience: MacadamiaOnboardingPublicExperience;
|
|
87808
88203
|
continueStep: PublicOnboardingContinueStep | null;
|
|
87809
88204
|
};
|
|
87810
88205
|
type PublicOnboardingAttemptRunKickoff = {
|
|
@@ -92214,10 +92609,11 @@ type RegistrationSubject = Readonly<{
|
|
|
92214
92609
|
eventOfferingId: string; /** Ordered live booking sessions; cancellation history stays on PublicEvent.run. */
|
|
92215
92610
|
sessions: readonly PublicRunSession[];
|
|
92216
92611
|
}>;
|
|
92217
|
-
type RegistrationEvent = Pick<PublicEvent$1, 'seriesId' | 'scheduleSummary' | 'title' | 'startsAt' | 'endsAt' | 'bookingAvailability' | 'deliveryMode' | 'attendanceModes' | 'capacity' | 'registeredCount' | 'availableSpots' | 'waitlistEnabled' | 'venue' | 'addressAfterBooking' | 'eventCategory' | 'teamMembers' | 'status' | 'timeZone' | 'siteTimeZone' | 'paymentTerms' | 'asksSiteTerms' | 'consent' | 'bookingQuestions' | 'requireGuestDetails' | 'acceptsPasses' | 'acceptsMemberships' | 'eventPreset' | 'allowsMultipleBooking' | 'combinationPrices'> & Readonly<{
|
|
92612
|
+
type RegistrationEvent = Pick<PublicEvent$1, 'seriesId' | 'scheduleSummary' | 'title' | 'startsAt' | 'endsAt' | 'bookingAvailability' | 'bookingClosesAt' | 'deliveryMode' | 'attendanceModes' | 'capacity' | 'registeredCount' | 'availableSpots' | 'waitlistEnabled' | 'venue' | 'addressAfterBooking' | 'eventCategory' | 'teamMembers' | 'status' | 'timeZone' | 'siteTimeZone' | 'paymentTerms' | 'asksSiteTerms' | 'consent' | 'bookingQuestions' | 'requireGuestDetails' | 'acceptsPasses' | 'acceptsMemberships' | 'eventPreset' | 'allowsMultipleBooking' | 'combinationPrices'> & Readonly<{
|
|
92218
92613
|
selectionId: string;
|
|
92219
92614
|
registrationSubject: RegistrationSubject;
|
|
92220
|
-
pricing: PublicEventPricing;
|
|
92615
|
+
pricing: PublicEventPricing; /** "Bookings close 2 hours before the start.", when there's a cut-off to mention. */
|
|
92616
|
+
bookingCloseLine?: string;
|
|
92221
92617
|
}>;
|
|
92222
92618
|
/**
|
|
92223
92619
|
* Payment selection state for the summary bar.
|
|
@@ -97283,6 +97679,24 @@ type BookingManagementAPIEndpoints = ClientArrangementEndpoints & WholeSeriesEnd
|
|
|
97283
97679
|
success: boolean;
|
|
97284
97680
|
serviceIds: string[];
|
|
97285
97681
|
}>;
|
|
97682
|
+
listStaffServiceOnlineDetails: APIEndpoint<never, {
|
|
97683
|
+
siteId: string;
|
|
97684
|
+
resourceId: string;
|
|
97685
|
+
}, {
|
|
97686
|
+
details: {
|
|
97687
|
+
serviceId: string;
|
|
97688
|
+
onlineDetails: OnlineJoiningDetails;
|
|
97689
|
+
}[];
|
|
97690
|
+
}>;
|
|
97691
|
+
setStaffServiceOnlineDetails: APIEndpoint<{
|
|
97692
|
+
serviceId: string;
|
|
97693
|
+
onlineDetails: OnlineJoiningDetailsInput | null;
|
|
97694
|
+
}, {
|
|
97695
|
+
siteId: string;
|
|
97696
|
+
resourceId: string;
|
|
97697
|
+
}, {
|
|
97698
|
+
onlineDetails: OnlineJoiningDetails | null;
|
|
97699
|
+
}>;
|
|
97286
97700
|
getServiceResources: APIEndpoint<never, {
|
|
97287
97701
|
siteId: string;
|
|
97288
97702
|
serviceId: string;
|
|
@@ -97413,7 +97827,8 @@ type BookingManagementAPIEndpoints = ClientArrangementEndpoints & WholeSeriesEnd
|
|
|
97413
97827
|
resourceId: string;
|
|
97414
97828
|
};
|
|
97415
97829
|
emailSent: boolean;
|
|
97416
|
-
overrideUsed: boolean;
|
|
97830
|
+
overrideUsed: boolean; /** The owner's Google calendar couldn't be read when the new time was chosen. */
|
|
97831
|
+
googleCalendarWarning: OwnerGoogleCalendarWarning | null;
|
|
97417
97832
|
}>;
|
|
97418
97833
|
listEventOfferingCombinationPrices: APIEndpoint<never, {
|
|
97419
97834
|
siteId: string;
|
|
@@ -97481,6 +97896,12 @@ type BookingManagementAPIEndpoints = ClientArrangementEndpoints & WholeSeriesEnd
|
|
|
97481
97896
|
siteId: string;
|
|
97482
97897
|
attendeeId: string;
|
|
97483
97898
|
}, OpsEventAttendeeCheckinUpdate>;
|
|
97899
|
+
setEventAttendeesNoShow: APIEndpoint<{
|
|
97900
|
+
action: 'mark' | 'undo';
|
|
97901
|
+
attendeeIds: string[];
|
|
97902
|
+
}, {
|
|
97903
|
+
siteId: string;
|
|
97904
|
+
}, SetEventAttendeesNoShowResponse>;
|
|
97484
97905
|
saveEventSeriesRegistrationAnswers: SaveRegistrationAnswers;
|
|
97485
97906
|
listEvents: APIEndpoint<never, {
|
|
97486
97907
|
siteId: string;
|
|
@@ -98313,6 +98734,33 @@ type CommercePortalAPIEndpoints = {
|
|
|
98313
98734
|
customerId: string;
|
|
98314
98735
|
expiresAt: string;
|
|
98315
98736
|
}>;
|
|
98737
|
+
portalEntryPreview: APIEndpoint<{
|
|
98738
|
+
siteId: string;
|
|
98739
|
+
token: string;
|
|
98740
|
+
sessionToken?: string;
|
|
98741
|
+
}, never, {
|
|
98742
|
+
state: 'ready' | 'used' | 'expired';
|
|
98743
|
+
maskedEmail: string;
|
|
98744
|
+
sameCustomer: boolean;
|
|
98745
|
+
} | {
|
|
98746
|
+
state: 'unknown';
|
|
98747
|
+
}>;
|
|
98748
|
+
portalEntryRedeem: APIEndpoint<{
|
|
98749
|
+
token: string;
|
|
98750
|
+
callbackOrigin: string;
|
|
98751
|
+
}, never, {
|
|
98752
|
+
outcome: 'signed_in';
|
|
98753
|
+
sessionToken: string;
|
|
98754
|
+
} | {
|
|
98755
|
+
outcome: 'used' | 'expired' | 'unknown';
|
|
98756
|
+
}>;
|
|
98757
|
+
portalEntryResend: APIEndpoint<{
|
|
98758
|
+
token: string;
|
|
98759
|
+
redirectPath: string;
|
|
98760
|
+
callbackOrigin: string;
|
|
98761
|
+
}, never, {
|
|
98762
|
+
outcome: 'sent' | 'rate_limited' | 'demo_refused' | 'unknown';
|
|
98763
|
+
}>;
|
|
98316
98764
|
portalLogout: APIEndpoint<never, never, {
|
|
98317
98765
|
message: string;
|
|
98318
98766
|
}>;
|