@riverbankcms/sdk 0.153.0 → 0.154.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/{EventEmbeddedCheckoutStep-veN-QiAE.mjs → EventEmbeddedCheckoutStep-ba9npQtb.mjs} +1 -1
- package/dist/{PreviewEditorSidebar-jI_4DTZY.mjs → PreviewEditorSidebar-C7FiaxlF.mjs} +194 -22
- package/dist/{PreviewEditorUI-ORkVZhfu.mjs → PreviewEditorUI-DFst50q1.mjs} +20 -44
- package/dist/{SdkPreviewModeRuntime-DaNqevI1.mjs → SdkPreviewModeRuntime-BUNV_YHZ.mjs} +49 -32
- package/dist/{SiteChromeCustomizeContext-CgNuBHC0.mjs → SiteChromeCustomizeContext-DEj7qppF.mjs} +3558 -2321
- package/dist/{ThemedButton-X2UxhW6F.mjs → ThemedButton-C8kzu0hY.mjs} +400 -81
- package/dist/_dts/ai/src/contracts/proposals.d.ts +364 -130
- package/dist/_dts/ai/src/contracts/siteStyleProposalSchemas.d.ts +1035 -477
- package/dist/_dts/api/src/billing.d.ts +2 -0
- package/dist/_dts/api/src/billingEndpointDefinitions.d.ts +78 -0
- package/dist/_dts/api/src/bookingAdjustments.d.ts +3 -2
- package/dist/_dts/api/src/bookingOperations.d.ts +7 -2
- package/dist/_dts/api/src/bookingPeople.d.ts +19 -0
- package/dist/_dts/api/src/bookingPeopleEndpointDefinitions.d.ts +8 -0
- package/dist/_dts/api/src/bookingRecords.d.ts +4 -106
- package/dist/_dts/api/src/bookings.d.ts +2 -3
- package/dist/_dts/api/src/contentRuntime.d.ts +1 -0
- package/dist/_dts/api/src/endpoints.d.ts +88 -43
- package/dist/_dts/api/src/index.d.ts +4 -2
- package/dist/_dts/api/src/indexCoreTypes.d.ts +1 -0
- package/dist/_dts/api/src/moneyPayments.d.ts +116 -0
- package/dist/_dts/api/src/onboarding/surfaceData.d.ts +2 -0
- package/dist/_dts/api/src/sdk-event-upsert.d.ts +2 -2
- package/dist/_dts/api/src/sdkThemeWire.d.ts +162 -103
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +18 -0
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +17 -16
- package/dist/_dts/api/src/siteSettings.d.ts +1 -0
- package/dist/_dts/api/src/stripeConnectSetup.d.ts +90 -0
- package/dist/_dts/api/src/types.d.ts +11 -31
- package/dist/_dts/api/src/wholeSeriesRuns.d.ts +2 -4
- package/dist/_dts/blocks/src/client/site-chrome.d.ts +1 -1
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +8 -96
- package/dist/_dts/blocks/src/primitives/content/components/RichText.d.ts +1 -1
- package/dist/_dts/blocks/src/primitives/content/primitives.d.ts +4 -1
- package/dist/_dts/blocks/src/primitives/layout/Section.d.ts +1 -0
- package/dist/_dts/blocks/src/system/blocks/events/event-calendar.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/events/eventSelectionFields.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/events/shared/fields.d.ts +0 -4
- package/dist/_dts/blocks/src/system/blocks/events/shared/index.d.ts +0 -1
- package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +4 -4
- package/dist/_dts/blocks/src/system/blocks/form.d.ts +10 -0
- package/dist/_dts/blocks/src/system/blocks/image-gallery/fields.d.ts +1 -0
- package/dist/_dts/blocks/src/system/blocks/image-gallery.d.ts +6 -1
- package/dist/_dts/blocks/src/system/blocks/location-map.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +47 -45
- package/dist/_dts/blocks/src/system/blocks/newsletter-signup.d.ts +12 -0
- package/dist/_dts/blocks/src/system/blocks/site-footer-runtime-layout.d.ts +23 -0
- package/dist/_dts/blocks/src/system/blocks/site-footer-runtime-profile.d.ts +20 -0
- package/dist/_dts/blocks/src/system/blocks/site-footer-runtime.d.ts +17 -16
- package/dist/_dts/blocks/src/system/blocks/site-footer.d.ts +1 -1
- package/dist/_dts/blocks/src/system/customize/facets.d.ts +75 -9
- package/dist/_dts/blocks/src/system/manifest/schema.d.ts +24 -24
- package/dist/_dts/blocks/src/system/node/fragments/index.d.ts +1 -0
- package/dist/_dts/blocks/src/system/node/fragments/lookSlot.d.ts +1 -1
- package/dist/_dts/blocks/src/system/node/fragments/responsiveTwoColumn.d.ts +3 -1
- package/dist/_dts/blocks/src/system/node/fragments/sectionHead.d.ts +15 -0
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +18 -198
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +9 -99
- package/dist/_dts/blocks/src/system/runtime/lookSurfaces.d.ts +16 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/basic.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details/lookPresentation.d.ts +10 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details/presentation.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/domain/dates.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCollectionContract.d.ts +29 -17
- package/dist/_dts/blocks/src/system/runtime/nodes/form.fields.d.ts +5 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/form.interactive.d.ts +11 -79
- package/dist/_dts/blocks/src/system/runtime/nodes/form.parts.d.ts +7 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/form.server.d.ts +2 -13
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.interactive.d.ts +8 -72
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.parts.d.ts +6 -6
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.types.d.ts +3 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/shared/contract-schemas.d.ts +2 -2
- package/dist/_dts/blocks/src/system/transforms/registry/_utils/surfaceForegroundStyles.d.ts +3 -0
- package/dist/_dts/blocks/src/system/transforms/registry/footerArrangement.d.ts +6 -0
- package/dist/_dts/blocks/src/system/transforms/registry/layout.d.ts +0 -11
- package/dist/_dts/blocks/src/system/transforms/typed.d.ts +1 -10
- package/dist/_dts/commerce/src/purchase/orderConfirmationPlanning.d.ts +1 -0
- package/dist/_dts/content-editor/src/FooterComposerOverview.d.ts +5 -2
- package/dist/_dts/content-editor/src/FooterComposerPanel.d.ts +1 -1
- package/dist/_dts/content-editor/src/FooterNavigationLayoutControl.d.ts +6 -3
- package/dist/_dts/content-editor/src/controller/editorLeaseParticipation.d.ts +1 -1
- package/dist/_dts/content-editor/src/footerComposer.d.ts +2 -1
- package/dist/_dts/content-editor/src/footerComposerPanelTypes.d.ts +3 -1
- package/dist/_dts/content-editor/src/footerNavigationLayoutState.d.ts +56 -0
- package/dist/_dts/content-editor/src/footerPreviewRuntime.d.ts +2 -1
- package/dist/_dts/content-editor/src/useFooterComposerState.d.ts +3 -4
- package/dist/_dts/content-editor/src/useFooterNavigationLayout.d.ts +11 -8
- package/dist/_dts/core/src/booking-refunds.d.ts +2 -0
- package/dist/_dts/core/src/date-display.d.ts +85 -0
- package/dist/_dts/core/src/date-time-formatter.d.ts +2 -0
- package/dist/_dts/core/src/footer-arrangement.d.ts +8 -1
- package/dist/_dts/core/src/footer-composition-types.d.ts +6 -1
- package/dist/_dts/core/src/footer-composition.d.ts +1 -1
- package/dist/_dts/core/src/footer-navigation-layout.d.ts +3 -0
- package/dist/_dts/core/src/index.d.ts +2 -0
- package/dist/_dts/core/src/mailing-list-setup.d.ts +3 -0
- package/dist/_dts/core/src/mailing-list-submission.d.ts +6 -1
- package/dist/_dts/core/src/public-profile.d.ts +3 -1
- package/dist/_dts/core/src/scheduled-date-time.d.ts +69 -0
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +50 -9
- package/dist/_dts/db/src/schemas/forms.d.ts +16 -16
- package/dist/_dts/preview-next/src/client/blocks/ArrangementBlockToolbar.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +1 -0
- package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +1 -0
- package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeContext.d.ts +4 -1
- package/dist/_dts/preview-next/src/client/preview/siteChromeSavePlan.d.ts +27 -5
- package/dist/_dts/preview-next/src/client/preview/siteStylePreviewPlanner.d.ts +2 -0
- package/dist/_dts/preview-next/src/client/preview/useConfirmedPreferenceRecord.d.ts +12 -0
- package/dist/_dts/preview-next/src/client/preview/usePersistedFooterPreferences.d.ts +26 -0
- package/dist/_dts/preview-next/src/client/preview/usePersistedHeaderPreferences.d.ts +40 -2
- package/dist/_dts/sdk/src/config/validation.d.ts +3 -3
- package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +4 -46
- package/dist/_dts/sdk/src/date-time/index.d.ts +2 -68
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +1 -0
- package/dist/_dts/sdk/src/rendering/islands/types.d.ts +1 -1
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/theme-core/src/buttons/buttonColourContract.d.ts +2 -0
- package/dist/_dts/theme-core/src/buttons/resolveButtonColourStates.d.ts +2 -0
- package/dist/_dts/theme-core/src/buttons/styles/recipes/lanternRecipes.d.ts +60 -0
- package/dist/_dts/theme-core/src/buttons/styles/registry.d.ts +57 -0
- package/dist/_dts/theme-core/src/buttons/styles/selection.d.ts +10 -1
- package/dist/_dts/theme-core/src/buttons/types.d.ts +358 -46
- package/dist/_dts/theme-core/src/buttons/typography.d.ts +24 -0
- package/dist/_dts/theme-core/src/cards/types.d.ts +8 -8
- package/dist/_dts/theme-core/src/footer/effectiveNavLinkStyle.d.ts +1 -1
- package/dist/_dts/theme-core/src/footer/generateFooterCss.d.ts +4 -1
- package/dist/_dts/theme-core/src/footer/mode.d.ts +2 -11
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +234 -147
- package/dist/_dts/theme-core/src/navigation/types.d.ts +4 -4
- package/dist/_dts/theme-core/src/schema.d.ts +300 -192
- package/dist/_dts/theme-core/src/site-styles/appearancePresetTypes.d.ts +23 -7
- package/dist/_dts/theme-core/src/site-styles/backgroundAppearance.d.ts +2 -2
- package/dist/_dts/theme-core/src/site-styles/compilationPlan.d.ts +4 -6
- package/dist/_dts/theme-core/src/site-styles/compileFooterAgainstRow.d.ts +121 -0
- package/dist/_dts/theme-core/src/site-styles/curatedSiteStyles.d.ts +25 -0
- package/dist/_dts/theme-core/src/site-styles/footerLookDefaults.d.ts +45 -0
- package/dist/_dts/theme-core/src/site-styles/footerLookRecipe.d.ts +50 -0
- package/dist/_dts/theme-core/src/site-styles/footerLooks.d.ts +9 -35
- package/dist/_dts/theme-core/src/site-styles/footerPreferences.d.ts +29 -0
- package/dist/_dts/theme-core/src/site-styles/headerPreferencesPersistence.d.ts +2 -3
- package/dist/_dts/theme-core/src/site-styles/index.d.ts +4 -0
- package/dist/_dts/theme-core/src/site-styles/lookResolution.d.ts +2 -2
- package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/siteChromeBackgrounds.d.ts +8 -0
- package/dist/_dts/theme-core/src/site-styles/themeParity.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/tokenRecipes.d.ts +1 -1
- package/dist/_dts/ui/src/card.d.ts +1 -1
- package/dist/client/{BookingMailingListNote-DrchYW1m.mjs → BookingMailingListNote-CNoSqFtf.mjs} +2 -2
- package/dist/client/{CardListItem-CC_GVmF6.mjs → CardListItem-BkTkqBkh.mjs} +3 -3
- package/dist/client/{CheckboxChoice-Dq30m3DO.mjs → CheckboxChoice-CHJpsty4.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-ojwbVUmx.mjs → DemoBookingPortalAccess-C7KQKFNt.mjs} +2 -2
- package/dist/client/{EventCombined.client-DyN0v0Xk.mjs → EventCombined.client-BgeYMjHJ.mjs} +5 -5
- package/dist/client/{EventEmbeddedCheckoutStep-CgfpKc3n.mjs → EventEmbeddedCheckoutStep-BTc_lTkM.mjs} +2 -2
- package/dist/client/{EventListing.client-CuOuvYMz.mjs → EventListing.client-ChRs9Hl2.mjs} +2 -2
- package/dist/client/{LeafletStaticMap-B0WhRr3j.mjs → LeafletStaticMap-C_dNQgd0.mjs} +1 -1
- package/dist/client/{RichText-C1fIXBzA.mjs → RichText-BI9bzbjo.mjs} +75 -42
- package/dist/client/{ThemedButton-B7HFqFBg.mjs → ThemedButton-wl3Z3wkH.mjs} +1 -1
- package/dist/client/{accordion-DCDVWSye.mjs → accordion-6Yz8Wd83.mjs} +1 -1
- package/dist/client/{bookingForm-BJ3C4GlM.mjs → bookingForm-i_pKIGiY.mjs} +8 -8
- package/dist/client/bookings.mjs +12565 -11839
- package/dist/client/{carousel-BSCBhfHY.mjs → carousel-DNqd_PjC.mjs} +2 -2
- package/dist/client/{carousel.client-GEtOGsxo.mjs → carousel.client-BUgjPbb6.mjs} +1 -1
- package/dist/client/{cart-Yv-aAtck.mjs → cart-D8OBHuF4.mjs} +3 -3
- package/dist/client/{checkout-B9xDkl30.mjs → checkout-F3-9IGLU.mjs} +3 -3
- package/dist/client/client.mjs +6109 -4778
- package/dist/client/{context-BOGe3rIA.mjs → context-Dg4ZrxDD.mjs} +1 -1
- package/dist/client/{eventCalendar-D6M0T9hs.mjs → eventCalendar-BUc7YIBM.mjs} +8 -8
- package/dist/client/{eventCombined-NM4UFBq8.mjs → eventCombined-BwfShk2a.mjs} +4 -4
- package/dist/client/{eventDetails-f_FhV4O8.mjs → eventDetails-BMOVC3go.mjs} +3 -3
- package/dist/client/{eventListing-WLkfAROh.mjs → eventListing-BwE9PM-t.mjs} +4 -4
- package/dist/client/{eventRegistration-D3ejfLvW.mjs → eventRegistration-CCWPYDc7.mjs} +9 -9
- package/dist/client/{form-D5Or2Jyu.mjs → form-CXFr0Gd5.mjs} +115 -51
- package/dist/client/{headerSection-hWgnv27V.mjs → headerSection-BX8qw8kH.mjs} +3 -3
- package/dist/client/hooks.mjs +2041 -1193
- package/dist/client/{locationMap-Di1K0O2S.mjs → locationMap-B3La71m0.mjs} +3 -3
- package/dist/client/{media-D29-F1u_.mjs → media-B1Cbv721.mjs} +1 -1
- package/dist/client/{newsletterForm-CwxcwTNO.mjs → newsletterForm-DnGyR0x7.mjs} +50 -14
- package/dist/client/{productDetail-BLSnhPdA.mjs → productDetail-BVgTqvkb.mjs} +3 -3
- package/dist/client/{productList-oGytONOX.mjs → productList-CcO7kUQw.mjs} +3 -3
- package/dist/client/{propsDecoder-lf_dTeZS.mjs → propsDecoder-B1OeWavE.mjs} +706 -229
- package/dist/client/rendering/client.mjs +11868 -11098
- package/dist/client/rendering/islands.mjs +17 -17
- package/dist/client/rendering.mjs +6058 -4676
- package/dist/client/{routeIslandApiConfig-Bc_WVPS8.mjs → routeIslandApiConfig-Dl4vglJm.mjs} +1 -1
- package/dist/client/{shop-BQ3bR7fA.mjs → shop-P72nX5Fs.mjs} +7 -7
- package/dist/client/{shop-commerce-DDPll6ZC.mjs → shop-commerce-Bt7uraDx.mjs} +8 -8
- package/dist/client/{shop-commerce-store-DO-e1pTe.mjs → shop-commerce-store-C1-mxSye.mjs} +1 -1
- package/dist/client/{shopShared-BylM9jh1.mjs → shopShared-Db-cRGu3.mjs} +4 -4
- package/dist/client/{useDiscountCodeUi-B1Puub2v.mjs → useDiscountCodeUi-jvAiUoUX.mjs} +1 -1
- package/dist/client/{useEventPagination-BBhkmQaT.mjs → useEventPagination-BdWpCniq.mjs} +6 -6
- package/dist/preview-next/before-render.mjs +133 -51
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/editor-chrome.css +5 -2
- package/dist/preview-next/keepAlive.mjs +133 -51
- package/dist/preview-next/middleware.mjs +133 -51
- package/dist/{sdk-runtime-DWCvhJGu.mjs → sdk-runtime-DLhjF2Nw.mjs} +1 -1
- package/dist/server/components.mjs +11284 -10014
- package/dist/server/config-validation.mjs +2016 -1188
- package/dist/server/config.mjs +2016 -1188
- package/dist/server/data.mjs +2041 -1193
- package/dist/server/date-time.mjs +258 -116
- package/dist/server/index.mjs +134 -52
- package/dist/server/next.mjs +10571 -9350
- package/dist/server/page-converter.mjs +1629 -941
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +11156 -9872
- package/dist/server/rendering.mjs +11284 -10014
- package/dist/server/routing.mjs +2204 -1283
- package/dist/server/server.mjs +2369 -1570
- package/dist/server/theme-bridge.mjs +838 -124
- package/dist/server/theme.mjs +348 -64
- package/dist/{spinner-BYM-Y81w.mjs → spinner-MTooKfck.mjs} +1 -1
- package/dist/styles/index.css +254 -1
- package/package.json +1 -1
- package/dist/_dts/blocks/src/system/blocks/events/shared/layout.d.ts +0 -12
|
@@ -119,6 +119,8 @@ export type UpdateStripeAutomaticTaxRequest = {
|
|
|
119
119
|
enabled: boolean;
|
|
120
120
|
};
|
|
121
121
|
export type StripeConnectStatusResponse = {
|
|
122
|
+
setup?: import('./stripeConnectSetup').StripeConnectSetupResponse | null;
|
|
123
|
+
setupPrefill?: import('./stripeConnectSetup').StripeConnectSetupPrefill | null;
|
|
122
124
|
isConnected: boolean;
|
|
123
125
|
stripeAccountId: string | null;
|
|
124
126
|
stripeAccountEmail: string | null;
|
|
@@ -28,4 +28,82 @@ export declare const BILLING_ENDPOINT_DEFINITIONS: {
|
|
|
28
28
|
auth: "user";
|
|
29
29
|
responseKind: "json";
|
|
30
30
|
};
|
|
31
|
+
stripeConnectSetupStart: {
|
|
32
|
+
path: "/sites/{siteId}/billing/connect/setup";
|
|
33
|
+
method: "POST";
|
|
34
|
+
tags: ("site-{siteId}" | "stripe-connect")[];
|
|
35
|
+
auth: "user";
|
|
36
|
+
responseKind: "json";
|
|
37
|
+
errors: ("auth:forbidden" | "validation:invalid_input" | "resource:conflict" | "server:internal_error")[];
|
|
38
|
+
};
|
|
39
|
+
stripeConnectSetupDiscard: {
|
|
40
|
+
path: "/sites/{siteId}/billing/connect/setup";
|
|
41
|
+
method: "DELETE";
|
|
42
|
+
tags: ("site-{siteId}" | "stripe-connect")[];
|
|
43
|
+
auth: "user";
|
|
44
|
+
responseKind: "json";
|
|
45
|
+
errors: ("auth:forbidden" | "validation:invalid_input" | "resource:conflict" | "server:internal_error")[];
|
|
46
|
+
};
|
|
47
|
+
stripeConnectSetupSave: {
|
|
48
|
+
path: "/sites/{siteId}/billing/connect/setup/save";
|
|
49
|
+
method: "POST";
|
|
50
|
+
tags: ("site-{siteId}" | "stripe-connect")[];
|
|
51
|
+
auth: "user";
|
|
52
|
+
responseKind: "json";
|
|
53
|
+
errors: ("auth:forbidden" | "validation:invalid_input" | "resource:conflict" | "server:internal_error")[];
|
|
54
|
+
};
|
|
55
|
+
stripeConnectAccountSession: {
|
|
56
|
+
path: "/sites/{siteId}/billing/connect/session";
|
|
57
|
+
method: "POST";
|
|
58
|
+
tags: ("site-{siteId}" | "stripe-connect")[];
|
|
59
|
+
auth: "user";
|
|
60
|
+
responseKind: "json";
|
|
61
|
+
errors: ("auth:forbidden" | "validation:invalid_input" | "resource:conflict" | "server:internal_error")[];
|
|
62
|
+
};
|
|
63
|
+
stripeConnectStart: {
|
|
64
|
+
path: "/sites/{siteId}/billing/connect/start";
|
|
65
|
+
method: "POST";
|
|
66
|
+
tags: ("site-{siteId}" | "stripe-connect")[];
|
|
67
|
+
auth: "user";
|
|
68
|
+
responseKind: "json";
|
|
69
|
+
errors: ("auth:forbidden" | "validation:invalid_input" | "resource:conflict" | "server:internal_error")[];
|
|
70
|
+
};
|
|
71
|
+
stripeConnectStatus: {
|
|
72
|
+
path: "/sites/{siteId}/billing/connect/status";
|
|
73
|
+
method: "GET";
|
|
74
|
+
tags: ("site-{siteId}" | "stripe-connect")[];
|
|
75
|
+
auth: "user";
|
|
76
|
+
responseKind: "json";
|
|
77
|
+
errors: ("auth:forbidden" | "validation:invalid_input" | "resource:conflict" | "server:internal_error")[];
|
|
78
|
+
};
|
|
79
|
+
stripeAutomaticTaxUpdate: {
|
|
80
|
+
path: "/sites/{siteId}/billing/automatic-tax";
|
|
81
|
+
method: "POST";
|
|
82
|
+
tags: ("billing" | "site-{siteId}" | "stripe-tax")[];
|
|
83
|
+
auth: "user";
|
|
84
|
+
responseKind: "json";
|
|
85
|
+
errors: ("auth:forbidden" | "validation:invalid_input" | "resource:not_found" | "server:internal_error" | "server:unavailable")[];
|
|
86
|
+
};
|
|
87
|
+
stripeConnectDisconnect: {
|
|
88
|
+
path: "/sites/{siteId}/billing/connect/disconnect";
|
|
89
|
+
method: "DELETE";
|
|
90
|
+
tags: ("site-{siteId}" | "stripe-connect")[];
|
|
91
|
+
auth: "user";
|
|
92
|
+
responseKind: "json";
|
|
93
|
+
errors: ("auth:forbidden" | "validation:invalid_input" | "resource:conflict" | "server:internal_error")[];
|
|
94
|
+
};
|
|
95
|
+
billingConnectReturn: {
|
|
96
|
+
path: "/billing/connect/return";
|
|
97
|
+
method: "GET";
|
|
98
|
+
auth: "user";
|
|
99
|
+
responseKind: "void";
|
|
100
|
+
errors: never[];
|
|
101
|
+
};
|
|
102
|
+
billingConnectRefresh: {
|
|
103
|
+
path: "/billing/connect/refresh";
|
|
104
|
+
method: "GET";
|
|
105
|
+
auth: "user";
|
|
106
|
+
responseKind: "void";
|
|
107
|
+
errors: never[];
|
|
108
|
+
};
|
|
31
109
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { StaffBookingPersonInput } from './bookingPeople';
|
|
1
2
|
import type { CustomerMembershipCancellationResultKind, CustomerMembershipPaymentRefundFailedCode, CustomerMembershipPaymentRefundSkippedCode } from './customerMembershipOutcomes';
|
|
2
3
|
import type { CustomerPassRefundFailedCode, CustomerPassRefundSkippedCode } from './bookingRefundOutcomes';
|
|
3
4
|
/**
|
|
@@ -32,7 +33,7 @@ export type ConvertCreditRefundToCashResponse = {
|
|
|
32
33
|
};
|
|
33
34
|
};
|
|
34
35
|
export type AssignCustomerPassRequest = {
|
|
35
|
-
|
|
36
|
+
person: StaffBookingPersonInput;
|
|
36
37
|
passId: string;
|
|
37
38
|
creditsTotal?: number;
|
|
38
39
|
};
|
|
@@ -66,7 +67,7 @@ export type AdjustCustomerPassDetailsResponse = {
|
|
|
66
67
|
};
|
|
67
68
|
};
|
|
68
69
|
export type AssignCustomerMembershipRequest = {
|
|
69
|
-
|
|
70
|
+
person: StaffBookingPersonInput;
|
|
70
71
|
membershipId: string;
|
|
71
72
|
};
|
|
72
73
|
export type AssignCustomerMembershipResponse = {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { StaffBookingPersonInput } from './bookingPeople';
|
|
1
2
|
import type { TimeSlot } from './availability';
|
|
2
3
|
import type { PublicCreateBookingAppointmentRequest, PublicCreateBookingAppointmentResponse } from './publicAppointmentBookingContracts';
|
|
3
4
|
export type { PublicCreateBookingAppointmentRequest, PublicCreateBookingAppointmentResponse, PublicBookingAppointmentSummary, PublicBookingCustomerSummary, PublicAppointmentPaymentChoices, } from './publicAppointmentBookingContracts';
|
|
@@ -399,6 +400,7 @@ export type AppointmentReservation = {
|
|
|
399
400
|
cleanupMinutes: number;
|
|
400
401
|
};
|
|
401
402
|
export type AppointmentReservationListItem = AppointmentReservation & {
|
|
403
|
+
personId: string | null;
|
|
402
404
|
updatedAt: string;
|
|
403
405
|
customerName: string;
|
|
404
406
|
customerEmail: string;
|
|
@@ -416,7 +418,7 @@ export type ListAppointmentReservationsRequest = {
|
|
|
416
418
|
endDate?: string;
|
|
417
419
|
};
|
|
418
420
|
export type CreateAppointmentReservationRequest = {
|
|
419
|
-
|
|
421
|
+
person: StaffBookingPersonInput;
|
|
420
422
|
resourceId: string;
|
|
421
423
|
serviceId: string;
|
|
422
424
|
weekday: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
@@ -426,8 +428,11 @@ export type CreateAppointmentReservationRequest = {
|
|
|
426
428
|
endsOn?: string | null;
|
|
427
429
|
paymentMode?: AppointmentReservationPaymentMode;
|
|
428
430
|
};
|
|
429
|
-
export type UpdateAppointmentReservationRequest = Partial<Omit<CreateAppointmentReservationRequest, 'paymentMode'>> & {
|
|
431
|
+
export type UpdateAppointmentReservationRequest = Partial<Omit<CreateAppointmentReservationRequest, 'paymentMode' | 'person'>> & {
|
|
430
432
|
expectedUpdatedAt: string;
|
|
433
|
+
person?: Extract<StaffBookingPersonInput, {
|
|
434
|
+
kind: 'existing';
|
|
435
|
+
}>;
|
|
431
436
|
paymentMode?: AppointmentReservationPaymentMode;
|
|
432
437
|
};
|
|
433
438
|
export type AppointmentReservationLifecycleRequest = {
|
|
@@ -29,6 +29,19 @@ export type PersonListItem = {
|
|
|
29
29
|
lastBookingAt: string | null;
|
|
30
30
|
account: PersonListAccount;
|
|
31
31
|
};
|
|
32
|
+
/** Staff explicitly choose a saved identity or enter a genuinely new person. */
|
|
33
|
+
export type StaffBookingPersonInput = Readonly<{
|
|
34
|
+
kind: 'existing';
|
|
35
|
+
personId: string;
|
|
36
|
+
}> | Readonly<{
|
|
37
|
+
kind: 'new';
|
|
38
|
+
name: string;
|
|
39
|
+
email: string;
|
|
40
|
+
phone?: string | null;
|
|
41
|
+
}>;
|
|
42
|
+
export type StaffBookingPersonErrorTag = 'STAFF_PERSON_NOT_FOUND' | 'STAFF_PERSON_EMAIL_REQUIRED' | 'STAFF_PERSON_EMAIL_EXISTS' | 'STAFF_PERSON_RESOLUTION_FAILED';
|
|
43
|
+
/** The small identity projection used by booking pickers and contact refresh. */
|
|
44
|
+
export type BookingPersonContact = Pick<PersonListItem, 'personId' | 'name' | 'email' | 'phone' | 'account'>;
|
|
32
45
|
export type ListPeopleRequest = {
|
|
33
46
|
page?: number;
|
|
34
47
|
limit?: number;
|
|
@@ -75,6 +88,12 @@ export type DeletePersonResponse = {
|
|
|
75
88
|
};
|
|
76
89
|
/** The People endpoints' request and response types. */
|
|
77
90
|
export type BookingPeopleEndpoints = {
|
|
91
|
+
getBookingPerson: APIEndpoint<never, {
|
|
92
|
+
siteId: string;
|
|
93
|
+
personId: string;
|
|
94
|
+
}, {
|
|
95
|
+
person: BookingPersonContact;
|
|
96
|
+
}>;
|
|
78
97
|
listPeople: APIEndpoint<never, {
|
|
79
98
|
siteId: string;
|
|
80
99
|
} & ListPeopleRequest, ListPeopleResponse>;
|
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
* person when nothing is attached to them.
|
|
4
4
|
*/
|
|
5
5
|
export declare const BOOKING_PEOPLE_ENDPOINT_DEFINITIONS: {
|
|
6
|
+
getBookingPerson: {
|
|
7
|
+
path: "/sites/{siteId}/bookings/people/{personId}";
|
|
8
|
+
method: "GET";
|
|
9
|
+
tags: ("site-{siteId}" | "customers-{siteId}")[];
|
|
10
|
+
auth: "user";
|
|
11
|
+
responseKind: "json";
|
|
12
|
+
errors: ("resource:not_found" | "server:internal_error")[];
|
|
13
|
+
};
|
|
6
14
|
listPeople: {
|
|
7
15
|
path: "/sites/{siteId}/bookings/people";
|
|
8
16
|
method: "GET";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { StaffBookingPersonInput } from './bookingPeople';
|
|
1
2
|
import type { BookingFlexibleBalanceContractStatus, PersonRecordNoteKind } from '../../core/src/index';
|
|
2
3
|
import type { RichTextDoc } from '../../blocks/src/index';
|
|
3
4
|
import type { EventTicketBreakdownLine } from './bookingOperations';
|
|
@@ -157,9 +158,7 @@ export type BookingEventSeriesAttendee = {
|
|
|
157
158
|
guests?: BookingEventSeriesAttendeeGuest[];
|
|
158
159
|
};
|
|
159
160
|
export type AddEventOccurrenceAttendeeRequest = {
|
|
160
|
-
|
|
161
|
-
customerEmail: string;
|
|
162
|
-
customerPhone?: string | null;
|
|
161
|
+
person: StaffBookingPersonInput;
|
|
163
162
|
sendConfirmation?: boolean;
|
|
164
163
|
attendanceMode?: 'in_person' | 'online' | null;
|
|
165
164
|
pricingOptionId?: string | null;
|
|
@@ -179,7 +178,7 @@ export type AddEventOccurrenceAttendeeResponse = {
|
|
|
179
178
|
membershipName?: string;
|
|
180
179
|
};
|
|
181
180
|
export type CheckEventAdminEligibilityRequest = {
|
|
182
|
-
|
|
181
|
+
personId: string;
|
|
183
182
|
};
|
|
184
183
|
export type CheckEventAdminEligibilityResponse = {
|
|
185
184
|
passes: Array<{
|
|
@@ -869,108 +868,7 @@ export type GetMoneyReportResponse = {
|
|
|
869
868
|
comparisonSeries: MoneyTimeSeriesBucket[];
|
|
870
869
|
breakdowns: MoneyBreakdownSection[];
|
|
871
870
|
};
|
|
872
|
-
|
|
873
|
-
* Whether the booking a payment paid for is still live, so Payments can offer
|
|
874
|
-
* "Cancel booking" only while it applies. The cancellation preview owns every
|
|
875
|
-
* finer rule. Items carry null when the booking couldn't be read: Cancel is
|
|
876
|
-
* hidden, Refund still shows.
|
|
877
|
-
*/
|
|
878
|
-
export type MoneyPaymentBookingStatus = 'active' | 'cancelled';
|
|
879
|
-
export type MoneyPaymentAllocationItem = {
|
|
880
|
-
kind: 'event';
|
|
881
|
-
sourceLabel: string;
|
|
882
|
-
eventAttendeeId: string;
|
|
883
|
-
bookingStatus: MoneyPaymentBookingStatus | null;
|
|
884
|
-
} | {
|
|
885
|
-
kind: 'event_series_registration';
|
|
886
|
-
sourceLabel: string;
|
|
887
|
-
eventSeriesId: string;
|
|
888
|
-
eventSeriesRegistrationId: string;
|
|
889
|
-
bookingStatus: MoneyPaymentBookingStatus | null;
|
|
890
|
-
} | {
|
|
891
|
-
kind: 'pass';
|
|
892
|
-
sourceLabel: string;
|
|
893
|
-
customerPassId: string;
|
|
894
|
-
} | {
|
|
895
|
-
kind: 'membership';
|
|
896
|
-
sourceLabel: string;
|
|
897
|
-
customerMembershipId: string;
|
|
898
|
-
} | {
|
|
899
|
-
kind: 'product';
|
|
900
|
-
sourceLabel: string;
|
|
901
|
-
};
|
|
902
|
-
export type MoneyPaymentListItem = {
|
|
903
|
-
id: string;
|
|
904
|
-
orderId: string;
|
|
905
|
-
orderNumber: string | null;
|
|
906
|
-
allocation: {
|
|
907
|
-
kind: 'single';
|
|
908
|
-
item: MoneyPaymentAllocationItem;
|
|
909
|
-
} | {
|
|
910
|
-
kind: 'multiple';
|
|
911
|
-
itemKinds: readonly MoneyItemKind[];
|
|
912
|
-
sourceLabels: readonly string[];
|
|
913
|
-
} | {
|
|
914
|
-
kind: 'unresolved';
|
|
915
|
-
itemKinds: readonly MoneyItemKind[];
|
|
916
|
-
sourceLabels: readonly string[];
|
|
917
|
-
};
|
|
918
|
-
refundAccess: {
|
|
919
|
-
kind: 'entity';
|
|
920
|
-
target: Exclude<MoneyPaymentAllocationItem, {
|
|
921
|
-
kind: 'product';
|
|
922
|
-
}>;
|
|
923
|
-
onlineAction: {
|
|
924
|
-
kind: 'available';
|
|
925
|
-
} | {
|
|
926
|
-
kind: 'unavailable';
|
|
927
|
-
reason: 'manual_receipt' | 'provider_target_mismatch' | 'fully_refunded' | 'payment_reconciliation_pending';
|
|
928
|
-
};
|
|
929
|
-
} | {
|
|
930
|
-
kind: 'unavailable';
|
|
931
|
-
reason: 'multiple_allocations' | 'unresolved_allocation' | 'product';
|
|
932
|
-
};
|
|
933
|
-
status: 'paid' | 'partially_refunded' | 'refunded' | 'payment_reconciliation_pending';
|
|
934
|
-
purpose: 'initial_checkout' | 'flexible_balance_paydown' | 'instalment' | 'instalment_payoff' | 'subscription_renewal';
|
|
935
|
-
rail: 'stripe_checkout' | 'stripe_invoice' | 'manual';
|
|
936
|
-
provenance: 'live' | 'backfilled_exact';
|
|
937
|
-
paymentMethod: 'stripe' | 'mixed' | 'store_credit' | 'pass_redemption' | 'membership_access' | 'free' | 'manual' | 'waived' | null;
|
|
938
|
-
provider: 'stripe' | 'internal';
|
|
939
|
-
amountPaidCents: number;
|
|
940
|
-
amountSubtotalCents: number;
|
|
941
|
-
knownRefundedCents: number;
|
|
942
|
-
amountRefundedCents: number | null;
|
|
943
|
-
amountDiscountCents: number;
|
|
944
|
-
currency: string;
|
|
945
|
-
orderTotalCents: number;
|
|
946
|
-
orderCollectedCents: number;
|
|
947
|
-
orderOutstandingCents: number;
|
|
948
|
-
paymentDueAt: string | null;
|
|
949
|
-
createdAt: string;
|
|
950
|
-
stripeCheckoutSessionId: string | null;
|
|
951
|
-
stripePaymentIntentId: string | null;
|
|
952
|
-
stripeInvoiceId: string | null;
|
|
953
|
-
stripeAccountId: string | null;
|
|
954
|
-
discountCode: string | null;
|
|
955
|
-
discountPublicLabel: string | null;
|
|
956
|
-
customer: SiteCustomerRecord | null;
|
|
957
|
-
};
|
|
958
|
-
export type ListMoneyPaymentsRequest = MoneyFilterQuery & {
|
|
959
|
-
search?: string;
|
|
960
|
-
view?: MoneyPaymentsView;
|
|
961
|
-
customerId?: string;
|
|
962
|
-
stripeCheckoutSessionId?: string;
|
|
963
|
-
limit?: number;
|
|
964
|
-
offset?: number;
|
|
965
|
-
};
|
|
966
|
-
export type ListMoneyPaymentsResponse = {
|
|
967
|
-
payments: MoneyPaymentListItem[];
|
|
968
|
-
pagination: {
|
|
969
|
-
limit: number;
|
|
970
|
-
offset: number;
|
|
971
|
-
hasMore: boolean;
|
|
972
|
-
};
|
|
973
|
-
};
|
|
871
|
+
export type { MoneyPaymentBookingStatus, MoneyPaymentAllocationItem, MoneyPaymentListItem, ListMoneyPaymentsRequest, ListMoneyPaymentsResponse, } from './moneyPayments';
|
|
974
872
|
export type DiscountCodeType = 'percent' | 'fixed';
|
|
975
873
|
export type DiscountPerEmailLimit = 'once' | 'unlimited';
|
|
976
874
|
export type DiscountMembershipDuration = 'once' | 'forever';
|
|
@@ -7,12 +7,11 @@ export type { CustomerMembershipStatus, CustomerPassStatus, } from './bookingRec
|
|
|
7
7
|
export { DELETE_EVENT_OFFERING_CONFLICT_REASONS, isDeleteEventOfferingConflictReason, } from './wholeSeriesRuns';
|
|
8
8
|
export type { DeleteEventOfferingConflictReason } from './wholeSeriesRuns';
|
|
9
9
|
export type CreateAppointmentRequest = {
|
|
10
|
-
|
|
10
|
+
person: import('./bookingPeople').StaffBookingPersonInput;
|
|
11
11
|
serviceId: string;
|
|
12
|
-
resourceId
|
|
12
|
+
resourceId: string;
|
|
13
13
|
startAt: string;
|
|
14
14
|
endAt: string;
|
|
15
|
-
customFields: Record<string, unknown>;
|
|
16
15
|
timezone?: string;
|
|
17
16
|
};
|
|
18
17
|
export declare const APPOINTMENT_STATUS_VALUES: readonly ["pending", "confirmed", "cancelled", "no_show"];
|
|
@@ -374,6 +374,7 @@ export type SiteBySlugResponse = {
|
|
|
374
374
|
selectionButtonStyleSelection?: import('../../theme-core/src/buttons/index').ButtonStyleSelection | null;
|
|
375
375
|
selectionButtonStyleRepairs?: readonly import('../../theme-core/src/buttons/index').ButtonStyleSelectionRepair[];
|
|
376
376
|
selectionHeaderPreferences?: import('../../theme-core/src/site-styles/index').HeaderPreferences | null;
|
|
377
|
+
selectionFooterPreferences?: import('../../theme-core/src/site-styles/index').FooterPreferences | null;
|
|
377
378
|
selectionHeaderSelection?: import('../../theme-core/src/site-styles/index').HeaderLayoutStyleSelection | null;
|
|
378
379
|
selectionFooterLookId?: string | null;
|
|
379
380
|
navigation: NavigationMenuWithItems[];
|
|
@@ -911,7 +911,7 @@ export declare const API_ENDPOINTS: {
|
|
|
911
911
|
readonly tags: ["site-{siteId}", "customers-{siteId}"];
|
|
912
912
|
readonly auth: "user";
|
|
913
913
|
readonly responseKind: "json";
|
|
914
|
-
readonly errors: readonly ["validation:invalid_input", "resource:not_found", "server:internal_error"];
|
|
914
|
+
readonly errors: readonly ["validation:invalid_input", "resource:not_found", "resource:conflict", "server:internal_error"];
|
|
915
915
|
};
|
|
916
916
|
readonly adjustCustomerPassDetails: {
|
|
917
917
|
readonly path: "/sites/{siteId}/bookings/customer-passes/{customerPassId}";
|
|
@@ -927,7 +927,7 @@ export declare const API_ENDPOINTS: {
|
|
|
927
927
|
readonly tags: ["site-{siteId}", "customers-{siteId}"];
|
|
928
928
|
readonly auth: "user";
|
|
929
929
|
readonly responseKind: "json";
|
|
930
|
-
readonly errors: readonly ["validation:invalid_input", "resource:not_found", "server:internal_error"];
|
|
930
|
+
readonly errors: readonly ["validation:invalid_input", "resource:not_found", "resource:conflict", "server:internal_error"];
|
|
931
931
|
};
|
|
932
932
|
readonly listSiteCustomerPasses: {
|
|
933
933
|
readonly path: "/sites/{siteId}/bookings/customer-passes";
|
|
@@ -1274,6 +1274,14 @@ export declare const API_ENDPOINTS: {
|
|
|
1274
1274
|
readonly auth: "user";
|
|
1275
1275
|
readonly responseKind: "json";
|
|
1276
1276
|
};
|
|
1277
|
+
readonly getBookingPerson: {
|
|
1278
|
+
path: "/sites/{siteId}/bookings/people/{personId}";
|
|
1279
|
+
method: "GET";
|
|
1280
|
+
tags: ("site-{siteId}" | "customers-{siteId}")[];
|
|
1281
|
+
auth: "user";
|
|
1282
|
+
responseKind: "json";
|
|
1283
|
+
errors: ("resource:not_found" | "server:internal_error")[];
|
|
1284
|
+
};
|
|
1277
1285
|
readonly listPeople: {
|
|
1278
1286
|
path: "/sites/{siteId}/bookings/people";
|
|
1279
1287
|
method: "GET";
|
|
@@ -1944,47 +1952,6 @@ export declare const API_ENDPOINTS: {
|
|
|
1944
1952
|
readonly errors: readonly [];
|
|
1945
1953
|
readonly responseKind: "json";
|
|
1946
1954
|
};
|
|
1947
|
-
readonly stripeConnectStart: {
|
|
1948
|
-
readonly path: "/sites/{siteId}/billing/connect/start";
|
|
1949
|
-
readonly method: "POST";
|
|
1950
|
-
readonly tags: ["site-{siteId}", "stripe-connect"];
|
|
1951
|
-
readonly auth: "user";
|
|
1952
|
-
readonly responseKind: "json";
|
|
1953
|
-
};
|
|
1954
|
-
readonly stripeConnectStatus: {
|
|
1955
|
-
readonly path: "/sites/{siteId}/billing/connect/status";
|
|
1956
|
-
readonly method: "GET";
|
|
1957
|
-
readonly tags: ["site-{siteId}", "stripe-connect"];
|
|
1958
|
-
readonly auth: "user";
|
|
1959
|
-
readonly responseKind: "json";
|
|
1960
|
-
};
|
|
1961
|
-
readonly stripeAutomaticTaxUpdate: {
|
|
1962
|
-
readonly path: "/sites/{siteId}/billing/automatic-tax";
|
|
1963
|
-
readonly method: "POST";
|
|
1964
|
-
readonly tags: ["site-{siteId}", "billing", "stripe-tax"];
|
|
1965
|
-
readonly auth: "user";
|
|
1966
|
-
readonly responseKind: "json";
|
|
1967
|
-
readonly errors: readonly ["validation:invalid_input", "auth:forbidden", "resource:not_found", "server:unavailable", "server:internal_error"];
|
|
1968
|
-
};
|
|
1969
|
-
readonly stripeConnectDisconnect: {
|
|
1970
|
-
readonly path: "/sites/{siteId}/billing/connect/disconnect";
|
|
1971
|
-
readonly method: "DELETE";
|
|
1972
|
-
readonly tags: ["site-{siteId}", "stripe-connect"];
|
|
1973
|
-
readonly auth: "user";
|
|
1974
|
-
readonly responseKind: "json";
|
|
1975
|
-
};
|
|
1976
|
-
readonly billingConnectReturn: {
|
|
1977
|
-
readonly path: "/billing/connect/return";
|
|
1978
|
-
readonly method: "GET";
|
|
1979
|
-
readonly auth: "user";
|
|
1980
|
-
readonly responseKind: "void";
|
|
1981
|
-
};
|
|
1982
|
-
readonly billingConnectRefresh: {
|
|
1983
|
-
readonly path: "/billing/connect/refresh";
|
|
1984
|
-
readonly method: "GET";
|
|
1985
|
-
readonly auth: "user";
|
|
1986
|
-
readonly responseKind: "void";
|
|
1987
|
-
};
|
|
1988
1955
|
readonly importSiteBackup: {
|
|
1989
1956
|
readonly path: "/sites/{siteId}/backup/import";
|
|
1990
1957
|
readonly method: "POST";
|
|
@@ -5886,6 +5853,84 @@ export declare const API_ENDPOINTS: {
|
|
|
5886
5853
|
auth: "user";
|
|
5887
5854
|
responseKind: "json";
|
|
5888
5855
|
};
|
|
5856
|
+
readonly stripeConnectSetupStart: {
|
|
5857
|
+
path: "/sites/{siteId}/billing/connect/setup";
|
|
5858
|
+
method: "POST";
|
|
5859
|
+
tags: ("site-{siteId}" | "stripe-connect")[];
|
|
5860
|
+
auth: "user";
|
|
5861
|
+
responseKind: "json";
|
|
5862
|
+
errors: ("auth:forbidden" | "validation:invalid_input" | "resource:conflict" | "server:internal_error")[];
|
|
5863
|
+
};
|
|
5864
|
+
readonly stripeConnectSetupDiscard: {
|
|
5865
|
+
path: "/sites/{siteId}/billing/connect/setup";
|
|
5866
|
+
method: "DELETE";
|
|
5867
|
+
tags: ("site-{siteId}" | "stripe-connect")[];
|
|
5868
|
+
auth: "user";
|
|
5869
|
+
responseKind: "json";
|
|
5870
|
+
errors: ("auth:forbidden" | "validation:invalid_input" | "resource:conflict" | "server:internal_error")[];
|
|
5871
|
+
};
|
|
5872
|
+
readonly stripeConnectSetupSave: {
|
|
5873
|
+
path: "/sites/{siteId}/billing/connect/setup/save";
|
|
5874
|
+
method: "POST";
|
|
5875
|
+
tags: ("site-{siteId}" | "stripe-connect")[];
|
|
5876
|
+
auth: "user";
|
|
5877
|
+
responseKind: "json";
|
|
5878
|
+
errors: ("auth:forbidden" | "validation:invalid_input" | "resource:conflict" | "server:internal_error")[];
|
|
5879
|
+
};
|
|
5880
|
+
readonly stripeConnectAccountSession: {
|
|
5881
|
+
path: "/sites/{siteId}/billing/connect/session";
|
|
5882
|
+
method: "POST";
|
|
5883
|
+
tags: ("site-{siteId}" | "stripe-connect")[];
|
|
5884
|
+
auth: "user";
|
|
5885
|
+
responseKind: "json";
|
|
5886
|
+
errors: ("auth:forbidden" | "validation:invalid_input" | "resource:conflict" | "server:internal_error")[];
|
|
5887
|
+
};
|
|
5888
|
+
readonly stripeConnectStart: {
|
|
5889
|
+
path: "/sites/{siteId}/billing/connect/start";
|
|
5890
|
+
method: "POST";
|
|
5891
|
+
tags: ("site-{siteId}" | "stripe-connect")[];
|
|
5892
|
+
auth: "user";
|
|
5893
|
+
responseKind: "json";
|
|
5894
|
+
errors: ("auth:forbidden" | "validation:invalid_input" | "resource:conflict" | "server:internal_error")[];
|
|
5895
|
+
};
|
|
5896
|
+
readonly stripeConnectStatus: {
|
|
5897
|
+
path: "/sites/{siteId}/billing/connect/status";
|
|
5898
|
+
method: "GET";
|
|
5899
|
+
tags: ("site-{siteId}" | "stripe-connect")[];
|
|
5900
|
+
auth: "user";
|
|
5901
|
+
responseKind: "json";
|
|
5902
|
+
errors: ("auth:forbidden" | "validation:invalid_input" | "resource:conflict" | "server:internal_error")[];
|
|
5903
|
+
};
|
|
5904
|
+
readonly stripeAutomaticTaxUpdate: {
|
|
5905
|
+
path: "/sites/{siteId}/billing/automatic-tax";
|
|
5906
|
+
method: "POST";
|
|
5907
|
+
tags: ("billing" | "site-{siteId}" | "stripe-tax")[];
|
|
5908
|
+
auth: "user";
|
|
5909
|
+
responseKind: "json";
|
|
5910
|
+
errors: ("auth:forbidden" | "validation:invalid_input" | "resource:not_found" | "server:internal_error" | "server:unavailable")[];
|
|
5911
|
+
};
|
|
5912
|
+
readonly stripeConnectDisconnect: {
|
|
5913
|
+
path: "/sites/{siteId}/billing/connect/disconnect";
|
|
5914
|
+
method: "DELETE";
|
|
5915
|
+
tags: ("site-{siteId}" | "stripe-connect")[];
|
|
5916
|
+
auth: "user";
|
|
5917
|
+
responseKind: "json";
|
|
5918
|
+
errors: ("auth:forbidden" | "validation:invalid_input" | "resource:conflict" | "server:internal_error")[];
|
|
5919
|
+
};
|
|
5920
|
+
readonly billingConnectReturn: {
|
|
5921
|
+
path: "/billing/connect/return";
|
|
5922
|
+
method: "GET";
|
|
5923
|
+
auth: "user";
|
|
5924
|
+
responseKind: "void";
|
|
5925
|
+
errors: never[];
|
|
5926
|
+
};
|
|
5927
|
+
readonly billingConnectRefresh: {
|
|
5928
|
+
path: "/billing/connect/refresh";
|
|
5929
|
+
method: "GET";
|
|
5930
|
+
auth: "user";
|
|
5931
|
+
responseKind: "void";
|
|
5932
|
+
errors: never[];
|
|
5933
|
+
};
|
|
5889
5934
|
readonly getPublishedEntryPreview: {
|
|
5890
5935
|
path: "/public/content/{siteId}/{type}/{slug}/preview";
|
|
5891
5936
|
method: "GET";
|
|
@@ -15,9 +15,9 @@ export { isNavigationDropdownSentinel, normalizeNavigationAuthoringLinkForComman
|
|
|
15
15
|
export type { NavigationAuthoringItemInput, NavigationAuthoringLinkInput, NavigationBoundaryPortalLinkPayload, NavigationCommandBoundaryItemInput, NavigationConfigItemInput, NavigationDropdownSentinel, NavigationLocalItemInput, NavigationReadItemInput, } from './navigation/boundaries';
|
|
16
16
|
export { pushSdkConfigBodySchema, loaderFallbackScalarSchema, riverbankSiteConfigInputSchema, sdkCustomBlockInputSchema, sdkWorkflowConfigSchema, sdkWorkflowTriggerSchema, sdkWorkflowConfirmationSchema, sdkWorkflowsSchema, SDK_WORKFLOW_CONFIRMATION_BODY_MAX_LENGTH, SDK_WORKFLOW_CONFIRMATION_TITLE_MAX_LENGTH, SDK_WORKFLOW_CONTENT_TYPE_MAX_LENGTH, SDK_WORKFLOW_DESCRIPTION_MAX_LENGTH, SDK_WORKFLOW_ENDPOINT_MAX_LENGTH, SDK_WORKFLOW_ENDPOINT_PATTERN, SDK_WORKFLOW_ID_MAX_LENGTH, SDK_WORKFLOW_ID_PATTERN, SDK_WORKFLOW_MAX_COUNT, SDK_WORKFLOW_TITLE_MAX_LENGTH, SDK_WORKFLOW_TRIGGER_CONDITION_MAX_COUNT, SDK_WORKFLOW_TRIGGER_FIELD_MAX_LENGTH, SDK_WORKFLOW_TRIGGER_MAX_COUNT, fieldDefinitionInputSchema, } from './sdkConfig/contracts';
|
|
17
17
|
export { formatIgnoredDocumentSyncSectionWarning, type SdkSiteLayoutConfig } from './sdkContracts';
|
|
18
|
-
export { normalizeSdkThemeWire, sdkThemeWireSchema, type SdkCanonicalTheme, type SdkThemeWire, type
|
|
18
|
+
export { normalizeSdkThemeWire, sdkThemeWireSchema, type SdkCanonicalTheme, type SdkThemeWire, type SdkThemeWireWithoutChrome, } from './sdkThemeWire';
|
|
19
19
|
export { createIncrementalJsonAccumulator } from './incrementalJson';
|
|
20
|
-
export type { ApplySiteStyleSelectionBody, SiteStyleHeaderSelectionChange, SiteStyleSelectionChange, SaveSiteChromeSelectionBody, SaveSiteChromeSelectionResponse, SiteThemeSelectionsPayload,
|
|
20
|
+
export type { ApplySiteStyleSelectionBody, SiteStyleHeaderSelectionChange, SiteStyleSelectionChange, SaveSiteChromeSelectionBody, SaveSiteChromeSelectionResponse, SiteThemeSelectionsPayload, ThemeWithoutChrome, } from './siteRuntimeEndpoints';
|
|
21
21
|
export { PUBLIC_EVENT_TICKET_SELECTION_CONTRACT_VERSION, type DiscountsAvailableResponse, type MailingListSignupSourceRef, type PublicEvent, type PublicEventBase, type PublicEventRecurrence, type PublicRunSession, type PublicWholeSeriesRun, type PublicWholeSeriesRunLifecycle, type PublicWholeSeriesRunVisibility, } from './publicExperienceEndpoints';
|
|
22
22
|
export { parseMailchimpAudienceId, parseMailchimpConnectionId, type ListMailchimpAudiencesResponse, type MailchimpAudienceId, type MailchimpAudienceCompatibilityIssue, type MailchimpAudienceReferenceItem, type MailchimpConnectionId, type MailchimpIntegrationConnectionStatus, type MailchimpIntegrationReauthReason, type MailchimpOAuthReturnIntent, type StartMailchimpOAuthRequest, type StartMailchimpOAuthResponse, } from './mailchimpIntegration';
|
|
23
23
|
export type { BrevoConnectionStatus, ConnectBrevoRequest, MailingListAuthoringContext, MailingListProviderCatalog, MailingListProviderHealth, MailingListSetupApplyResponse, MailingListSetupChangeRequest, MailingListSetupPreviewResponse, } from './mailingListIntegration';
|
|
@@ -145,3 +145,5 @@ export type { SdkBlockContentAdmission } from './sdkBlockContentAdmission';
|
|
|
145
145
|
export type { EventPageWordsInput } from './eventPageWords';
|
|
146
146
|
export type { SaveEventContentTabResponse } from './pageSurfaceEndpoints';
|
|
147
147
|
export type { SdkEditorRevision } from './siteRuntimeEntry';
|
|
148
|
+
export type * from './stripeConnectSetup';
|
|
149
|
+
export { STRIPE_CONNECT_BUSINESS_CATEGORIES } from './stripeConnectSetup';
|
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
export type { APIEndpoint, APIEndpoints, AccountAPIEndpoints, AccountAPIEndpointMap, AccountIdentityResponse, AccountSite, AccountSiteDeploymentMode, AccountSiteLinkCapability, AccountListSitesQuery, AccountListSitesResponse, AccountCreateSiteRequest, AccountCreateSiteResponse, AccountProjectCredential, AccountProjectCredentialKeyIds, AccountProjectCredentialRecoveryFailureTag, AccountProvisionProjectCredentialsRequest, AccountProvisionProjectCredentialsResponse, PageBlockDesignSyncWarning, AiAPIEndpoints, LaunchReadinessAPIEndpoints, SiteMembersAPIEndpoints, SeoAPIEndpoints, RedirectsAPIEndpoints, AvailabilityAPIEndpoints, CalendarAPIEndpoints, ContentTypesAPIEndpoints, MediaAPIEndpoints, RiverbankSiteConfig, RiverbankSiteConfigInput, SdkWorkflowConfig, SdkWorkflowEntryDraftUpdatedCondition, SdkWorkflowEntryDraftUpdatedTrigger, SdkWorkflowManualTrigger, SdkWorkflowTrigger, SdkWorkflowConfirmation, GetEndpoint, HTTPMethod, APICallParamsStrict, CreateManualSiteRequest, CreateManualSiteResponse, ApiKeyRecord, PageRecord, NavigationMenuRecord, NavigationItemRecord, NavigationMenuWithItems, AccessPolicyContract, EntitledCustomerAccessScopeContract, AccessPolicyTag, CartLinkLabelConfig, CartLinkPayload, LinkPayload, InternalLinkRoutablePayload, EntryRoutableContentItem, NavigationLinkInput, RoutableContentItem, PageRoutableContentItem, PageSurfaceRoutableContentItem, CreateMediaAssetBody, FileKindContract, FileKindTag, FileUseContract, FileUseTag, ImageFileFormat, MediaAssetResponse, MediaClassifyJobResponse, MediaJobSummaryResponse, MediaLabelSummary, MediaSettingsResponse, RenderableFileKindTag, StorageClass, UploadIntentContract, UploadIntentTag, BookingSettings, AppointmentStaffChangeNotificationSettings, AppointmentStaffNotificationSetupHealth, AppointmentStaffReminderSettings, BookingNotificationOverrideRule, BookingNotificationSendRule, BookingNotificationSettings, BookingNotificationState, BookingNotificationUpdateKind, TeamMemberProfilePagePolicyMode, TeamMemberProfilePageSettings, BookingCurrencyEditState, BookingSettingsEditorSnapshot, BookingSettingsResponse, BookingWaitlistSettings, BookingModuleToggles, BookingReminderOverrides, BookingDefaultImage, AppointmentFollowUpScopeIds, AppointmentFollowUpScopeMode, AppointmentFollowUpSettings, WaitlistMode, WaitlistOverride, EventBookingPolicyMode, EventBookingPolicy, EventBookingPolicies, EventTypeBookingDefault, EventTypeBookingDefaults, UpdateBookingSettingsRequest, RefundEventAttendeeRequest, EventAttendeeRefundResult, RefundEventAttendeeResponse, RefundEventSeriesRegistrationRequest, EventSeriesRegistrationRefundResult, RefundEventSeriesRegistrationResponse, TransferEventAttendeeRequest, EventAttendeeTransferResult, TransferEventAttendeeResponse, DiscardTeamMemberProfileDraftResponse, PublishTeamMemberProfileRequest, PublishTeamMemberProfileResponse, CancelScheduledTeamMemberProfileResponse, ScheduleTeamMemberProfileRequest, ScheduleTeamMemberProfileResponse, TeamMemberProfileContentResponse, UnpublishTeamMemberProfileResponse, UpdateTeamMemberProfileContentRequest, UpdateTeamMemberProfilePolicyRequest, UpdateTeamMemberProfilePolicyResponse, UpdateTeamMemberProfileRouteMetadataRequest, UpdateTeamMemberProfileRouteMetadataResponse, OpsEventOccurrenceSummary, EventTicketBreakdownLine, OpsOccurrenceAttendee, OpsListUpcomingEventOccurrencesResponse, OpsOccurrenceAttendeesResponse, OpsValidateEventTicketRequest, OpsValidateEventTicketResponse, OpsEventAttendeeCheckinUpdate, OpsUpdateEventAttendeeCheckinRequest, OpsUpdateEventAttendeeCheckinResponse, OpsEventAttendeeDetailsResponse, OpsCancelEventAttendeeRequest, OpsCancelEventAttendeeResult, OpsCancelEventAttendeeResponse, OpsRefundEventAttendeeResponse, EventAttendeeRefundHistoryItem, ListEventAttendeeRefundsResponse, EventSeriesRegistrationRefundHistoryItem, ListEventSeriesRegistrationRefundsResponse, EventAttendeeTransferHistoryItem, ListEventAttendeeTransfersResponse, EmailTemplateType, EmailTemplate, EmailTemplateInput, EventEmailTemplateType, EventEmailTemplate, GetEventSeriesEmailTemplatesResponse, UpdateEventSeriesEmailTemplatesRequest, UpdateEventSeriesEmailTemplatesResponse, GetEmailSettingsResponse, UpdateEmailSettingsRequest, UpdateEmailSettingsResponse, SendTestEmailRequest, SendTestEmailResponse, PreviewEmailTemplateRequest, PreviewEmailTemplateResponse, AvailabilityScheduleSettings, ServiceSpecificAvailabilityScheduleSettings, ListAvailabilityRulesResponse, WeeklyAvailabilityWindowInput, SetWeeklyAvailabilityRequest, SetWeeklyAvailabilityResponse, SetWeeklyAvailabilityIssue, AppointmentBlackout, CreateBlackoutRequest, ListBlackoutsResponse, CreateBlackoutResponse, DeleteBlackoutResponse, TimeSlot, GetAvailableSlotsQuery, GetAvailableSlotsResponse, CreateAppointmentRequest, CreateAppointmentResponse, BookingQuestionFormSummary, BookingQuestionRequirementScope, BookingRequirementConfigRequest, BookingRequirementConfigResponse, BookingRequirementTargetType, BookingQuestionsRequirementConfig, BookingRequirementValidityPolicy, ConsentRequirementConfig, PublicCreateBookingAppointmentRequest, AppointmentRecord, AppointmentStatus, BookingCustomerRecord, BookingSessionUpdateMeRequest, WholeSeriesRunStatus, WholeSeriesRunMutableStatus, WholeSeriesRunCancellationSettlement, DeleteWholeSeriesRunResponse, DeleteEventOfferingResponse, EventSeriesContentOwnershipBlocker, EventSeriesContentOwnershipRequest, EventSeriesContentOwnershipResponse, EventSeriesRegistrationStatus, EventSeriesRegistrationPaymentMethod, EventSeriesRegistrationPaymentStatus, EventSeriesRegistrationRecord, EventSeriesRegistrationWithCustomer, ListEventSeriesRegistrationsResponse, WholeSeriesParticipantMessageStatus, GetParticipantMessageRecipientsRequest, ListParticipantMessageHistoryRequest, ParticipantMessageEmailReadiness, ParticipantMessageEmailIdentity, ParticipantMessageHistoryEntry, ParticipantMessageHistoryResponse, ParticipantMessageExcludedRecipientPreview, ParticipantMessageRecipientPreview, ParticipantMessageRecipientSummary, ParticipantMessageRecipientsResponse, ParticipantMessageSendResponse, ParticipantMessageTarget, ParticipantRecipientExclusionReason, SendParticipantMessageRequest, TestParticipantMessageRequest, TestParticipantMessageResponse, AddEventSeriesRegistrationRequest, AddEventSeriesRegistrationResponse, UpdateEventSeriesRegistrationRequest, UpdateEventSeriesRegistrationResponse, SaveEventSeriesRegistrationAnswersRequest, SaveEventSeriesRegistrationAnswersResponse, BookingCustomerWithCounts, BookingCustomerListItem, CustomerAggregateCoverage, CustomerAggregateSnapshot, CustomerBookingActivitySummary, CustomerFinancialCoverage, CustomerFinancialValue, CustomerLifecycleFlagCode, CustomerLifecycleSegmentCode, CustomerLifecycleSummary, CustomerWaitlistStatus, CustomerWaitlistSummary, CreateBookingCustomerRequest, CreateBookingCustomerResponse, CustomerContactChange, CustomerContactField, CustomerProfileRectificationSourceContext, CustomerProfileRectificationSourceSurface, RectifyBookingCustomerProfileRequest, RectifyBookingCustomerProfileResponse, BookingParticipantIdentityForRectification, ParticipantIdentityRectificationSourceContext, ParticipantIdentityRectificationSourceSurface, RectifyBookingParticipantIdentityRequest, RectifyBookingParticipantIdentityResponse, CustomerPassRecord, CustomerPassStatus, ListCustomerPassesResponse, SiteCustomerRecord, SiteHolderRecord, SiteCustomerPassRecord, ListSiteCustomerPassesRequest, ListSiteCustomerPassesResponse, CustomerPassRefundResult, CustomerPassRefundRecord, AdjustCustomerPassDetailsRequest, AdjustCustomerPassDetailsResponse, RefundCustomerPassRequest, RefundCustomerPassResponse, ListCustomerPassRefundsResponse, CustomerMembershipRecord, ListCustomerMembershipsResponse, CustomerMembershipStatus, SiteCustomerMembershipRecord, ListSiteCustomerMembershipsRequest, ListSiteCustomerMembershipsResponse, MoneyPeriodPreset, MoneyItemKind, MoneyPaymentsView, MoneyTimeSeriesGranularity, MoneyBreakdownDimension, MoneyFilterQuery, MoneyComparisonMetric, MoneyDateRange, MoneyReportSummary, MoneyTimeSeriesBucket, MoneyBreakdownRow, MoneyBreakdownSection, GetMoneyReportRequest, GetMoneyReportResponse, MoneyPaymentAllocationItem, MoneyPaymentBookingStatus, MoneyPaymentListItem, ListMoneyPaymentsRequest, ListMoneyPaymentsResponse, BookingActivityCategory, BookingActivityType, BookingActivityCursor, BookingActivityListItem, ListBookingActivityRequest, ListBookingActivityResponse, BookingLedgerKind, BookingLedgerDateBasis, BookingLedgerPeriodPreset, BookingLedgerCancellationMode, ExportBookingLedgerCsvRequest, DiscountCodeType, DiscountPerEmailLimit, DiscountMembershipDuration, DiscountEventScopeMode, DiscountScopeMode, ProductScopeMode, DiscountCodeRecord, DiscountCodeScopeIds, DiscountCodeDetails, AutoAppliedDiscountPreview, EventAutoApplyDiscountPreview, CreateDiscountCodeRequest, UpdateDiscountCodeRequest, ListDiscountCodesResponse, DiscountCodeResponse, DeleteDiscountCodeResponse, DiscountRedemptionStatus, DiscountRedemptionListItem, ListDiscountRedemptionsRequest, ListDiscountRedemptionsResponse, MembershipPaymentForRefund, ListCustomerMembershipPaymentsResponse, CancelCustomerMembershipAtPeriodEndResult, CustomerMembershipPaymentRefundResult, CustomerMembershipPaymentRefundRecord, RefundCustomerMembershipPaymentRequest, RefundCustomerMembershipPaymentResponse, ListCustomerMembershipPaymentRefundsResponse, CustomerAttendanceRecord, CustomerAttendancePayment, CustomerAttendanceLivePayment, CustomerAttendanceArchivedPayment, CustomerAttendancePaymentMethod, CustomerAttendancePaymentStatus, BookingCustomerCreditSummary, BookingCustomerCreditTransactionListItem, GetCustomerCreditResponse, } from './types';
|
|
2
2
|
export type { BlockListItem, RevisionedBlockListItem, EntryPageContentSlot, EntryPageContentSlotAllowedBlocks, EntryPageContentSlotWarning, EntryPageContentSlotsResponse, PageSurfaceContentSlot, PageSurfaceContentSlotsResponse, PageSurfaceEditorDocument, ContentEntryEditorDetail, PublishContentEntryBody, PublishPageSurfaceResponse, SdkEntrySlotContent, SdkRuntimeEntry, SdkRuntimeContentByPathResponse, SdkRuntimePageSurface, SdkRuntimePageSurfaceContentSource, SdkRuntimePageSurfaceResponse, SdkRuntimePageSurfaceSubject, SdkSurfaceSlotContent, SiteBookingOfferingPresetSummary, WorkflowContentEntryTargetSnapshot, WorkflowPageDraftContent, WorkflowPagePublishedContent, WorkflowPageStatus, WorkflowPageTargetSnapshot, WorkflowRunStatusResponse, WorkflowTargetEntrySnapshot, } from './contentRuntime';
|
|
3
|
+
export type { MoneyPaymentAccountNavigation } from './moneyPayments';
|