@riverbankcms/sdk 0.96.0 → 0.99.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +20 -1
- package/dist/{PreviewEditorSidebar-46VT4QVU.mjs → PreviewEditorSidebar-TPOKCCKY.mjs} +3 -3
- package/dist/{PreviewEditorUI-JD75GE5F.mjs → PreviewEditorUI-Y347GLC2.mjs} +3 -3
- package/dist/SdkPreviewModeRuntime-OGTXRQ4M.mjs +8 -0
- package/dist/_dts/ai/src/contracts/proposals.d.ts +36 -36
- package/dist/_dts/api/src/billing.d.ts +2 -0
- package/dist/_dts/api/src/bookingManagementEndpoints.d.ts +35 -1
- package/dist/_dts/api/src/bookingOperations.d.ts +246 -0
- package/dist/_dts/api/src/commercePortalEndpoints.d.ts +5 -1
- package/dist/_dts/api/src/contentRuntime.d.ts +109 -40
- package/dist/_dts/api/src/endpoints.d.ts +88 -0
- package/dist/_dts/api/src/index.d.ts +3 -2
- package/dist/_dts/api/src/public/endpoints.d.ts +1 -1
- package/dist/_dts/api/src/publicExperienceEndpoints.d.ts +10 -0
- package/dist/_dts/api/src/sdkContracts.d.ts +2 -0
- package/dist/_dts/api/src/siteManagementEndpoints.d.ts +2 -1
- package/dist/_dts/api/src/siteOperations.d.ts +65 -1
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +7 -1
- package/dist/_dts/billing/src/site-arrangements.d.ts +151 -0
- package/dist/_dts/billing/src/subscriptions/store.d.ts +2 -0
- package/dist/_dts/block-form/src/widgets/RepeaterField/utils/resolveThumbnail.d.ts +2 -1
- package/dist/_dts/blocks/src/PageRenderer.d.ts +8 -1
- package/dist/_dts/blocks/src/bindings/types.d.ts +0 -4
- package/dist/_dts/blocks/src/client/site-chrome.d.ts +7 -0
- package/dist/_dts/blocks/src/contracts/index.d.ts +1 -0
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +12 -12
- package/dist/_dts/blocks/src/primitives/content/primitives.d.ts +4 -0
- package/dist/_dts/blocks/src/system/blocks/events/shared/index.d.ts +1 -0
- package/dist/_dts/blocks/src/system/blocks/events/shared/layout.d.ts +2 -0
- package/dist/_dts/blocks/src/system/blocks/index.d.ts +1 -0
- package/dist/_dts/blocks/src/system/blocks/weekly-slot-availability.d.ts +34 -0
- package/dist/_dts/blocks/src/system/componentFactory.d.ts +1 -0
- package/dist/_dts/blocks/src/system/constants/blockKinds.d.ts +1 -1
- package/dist/_dts/blocks/src/system/customize/facets.d.ts +2 -2
- package/dist/_dts/blocks/src/system/data/loaderEndpoints.d.ts +1 -1
- package/dist/_dts/blocks/src/system/data/prefetchBlockData.d.ts +4 -1
- package/dist/_dts/blocks/src/system/node/builder.d.ts +2 -0
- package/dist/_dts/blocks/src/system/node/schema.d.ts +13 -0
- package/dist/_dts/blocks/src/system/node/validation-constants.d.ts +1 -1
- package/dist/_dts/blocks/src/system/registry.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/api/client.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/api/endpoints.d.ts +8 -0
- package/dist/_dts/blocks/src/system/runtime/api/types.d.ts +24 -0
- package/dist/_dts/blocks/src/system/runtime/components/booking/DatePicker.d.ts +6 -2
- package/dist/_dts/blocks/src/system/runtime/components/booking/SuccessMessage.d.ts +3 -1
- package/dist/_dts/blocks/src/system/runtime/components/booking/TimeSlotSelector.d.ts +10 -4
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +6 -0
- package/dist/_dts/blocks/src/system/runtime/hooks/useAppointmentCheckoutVerification.d.ts +7 -0
- package/dist/_dts/blocks/src/system/runtime/hooks/useAvailableSlots.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessBookingFlow.state.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessEventRegistrationFlow.d.ts +4 -0
- package/dist/_dts/blocks/src/system/runtime/hooks/usePaymentVerification.d.ts +5 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.headless.state.d.ts +11 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/StepIndicator.d.ts +3 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/hooks.d.ts +14 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationSubmit.d.ts +8 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationWizard.d.ts +133 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/weekly-slot-availability.client.controller.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/weekly-slot-availability.client.d.ts +9 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/weekly-slot-availability.client.state.d.ts +14 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/weekly-slot-availability.server.d.ts +10 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/weekly-slot-availability.view.d.ts +11 -0
- package/dist/_dts/blocks/src/system/runtime/resolver.d.ts +31 -1
- package/dist/_dts/blocks/src/system/runtime/shared/components/FeedbackMessage.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/{nodes/event-registration → shared/components}/SelectableOptionCard.d.ts +11 -2
- package/dist/_dts/blocks/src/system/runtime/shared/components/StepIndicator.d.ts +16 -5
- package/dist/_dts/blocks/src/system/runtime/shared/components/index.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/shared/index.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/shared/useWaitlistClaim.d.ts +5 -0
- package/dist/_dts/blocks/src/utils/date-formatting.d.ts +18 -2
- package/dist/_dts/content-editor/src/primitives/PreviewInlineTextEditor.d.ts +1 -1
- package/dist/_dts/content-editor/src/primitives/PreviewRichTextEditor.d.ts +1 -1
- package/dist/_dts/content-model/src/templates/defaults.d.ts +5 -5
- package/dist/_dts/content-model/src/templates/types.d.ts +2 -6
- package/dist/_dts/core/src/branded.d.ts +8 -0
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +767 -20
- package/dist/_dts/field-primitives/src/bindings/index.d.ts +8 -0
- package/dist/_dts/sdk/src/__mocks__/next-cache.d.ts +1 -1
- package/dist/_dts/sdk/src/cli/commands/push/publishGuidance.d.ts +15 -0
- package/dist/_dts/sdk/src/cli/commands/push/scopes/commandBackedDatedOfferingScope.d.ts +2 -1
- package/dist/_dts/sdk/src/cli/commands/push/scopes/types.d.ts +3 -1
- package/dist/_dts/sdk/src/cli/commands/push/stale-resolution.d.ts +9 -3
- package/dist/_dts/sdk/src/cli/commands/push/workflowPlan.d.ts +34 -0
- package/dist/_dts/sdk/src/cli/commands/push.d.ts +13 -0
- package/dist/_dts/sdk/src/cli/commands/setup.d.ts +2 -0
- package/dist/_dts/sdk/src/cli/config-loader.d.ts +2 -0
- package/dist/_dts/sdk/src/cli/content/metadataStore.d.ts +29 -0
- package/dist/_dts/sdk/src/cli/content/reader.d.ts +16 -14
- package/dist/_dts/sdk/src/cli/content/writer.d.ts +6 -4
- package/dist/_dts/sdk/src/cli/env-scope.d.ts +2 -0
- package/dist/_dts/sdk/src/cli/helpers.d.ts +6 -7
- package/dist/_dts/sdk/src/cli/merge-remote/entryMergePush.d.ts +2 -0
- package/dist/_dts/sdk/src/cli/merge-remote/entryMergeReport.d.ts +6 -18
- package/dist/_dts/sdk/src/cli/merge-remote/entrySnapshots.d.ts +2 -4
- package/dist/_dts/sdk/src/cli/merge-remote/pageMergePush.d.ts +2 -0
- package/dist/_dts/sdk/src/cli/merge-remote/pageMergeReport.d.ts +6 -18
- package/dist/_dts/sdk/src/cli/merge-remote/pageSnapshots.d.ts +2 -4
- package/dist/_dts/sdk/src/cli/merge-remote/sharedBaseSnapshots.d.ts +32 -0
- package/dist/_dts/sdk/src/cli/merge-remote/sharedMergePlan.d.ts +27 -0
- package/dist/_dts/sdk/src/cli/merge-remote/sharedMergeReport.d.ts +63 -0
- package/dist/_dts/sdk/src/cli/push-config.d.ts +13 -2
- package/dist/_dts/sdk/src/cli/setup/setupPlan.d.ts +51 -0
- package/dist/_dts/sdk/src/cli/site-commands/commandRuntime.d.ts +21 -0
- package/dist/_dts/sdk/src/client/index.d.ts +6 -0
- package/dist/_dts/sdk/src/client/runtimeCachePolicy.d.ts +1 -1
- package/dist/_dts/sdk/src/client/types.d.ts +18 -2
- package/dist/_dts/sdk/src/config/types.d.ts +1 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +3 -0
- package/dist/_dts/sdk/src/contracts/bindings.d.ts +3 -7
- package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +13 -0
- package/dist/_dts/sdk/src/data/prefetchBlockData.d.ts +6 -1
- package/dist/_dts/sdk/src/next/route-outcome-proxy.d.ts +3 -3
- package/dist/_dts/sdk/src/next/types.d.ts +19 -0
- package/dist/_dts/sdk/src/prebuild/loader.d.ts +8 -1
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +174 -78
- package/dist/_dts/sdk/src/public-api/runtime.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/blocks-page-renderer.d.ts +2 -0
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +4 -0
- package/dist/_dts/sdk/src/rendering/helpers/bindings.d.ts +4 -4
- package/dist/_dts/sdk/src/rendering/helpers/loadContent.d.ts +58 -1
- package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +8 -0
- package/dist/_dts/sdk/src/rendering/hooks/usePage.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/index.d.ts +7 -7
- package/dist/_dts/sdk/src/rendering/islands/types.d.ts +18 -66
- package/dist/_dts/sdk/src/rendering/overrides.d.ts +2 -0
- package/dist/_dts/sdk/src/routing/resolveRoute.d.ts +18 -0
- package/dist/_dts/sdk/src/test/apiClient.d.ts +17 -0
- package/dist/_dts/sdk/src/test/bunDom.setup.d.ts +1 -0
- package/dist/_dts/sdk/src/test/env.d.ts +4 -0
- package/dist/_dts/sdk/src/types/block-kinds.d.ts +1 -1
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/site-commands/src/commands.d.ts +3 -3
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/interactive/generateBaseCSS.d.ts +6 -0
- package/dist/_dts/theme-core/src/status/contextualColors.d.ts +6 -0
- package/dist/_dts/theme-core/src/status/index.d.ts +1 -0
- package/dist/{chunk-VHIMXQ7Z.mjs → chunk-4HXF2QLH.mjs} +2 -2
- package/dist/{chunk-VTPPVAOL.mjs → chunk-EMJIT3ZJ.mjs} +1 -1
- package/dist/{chunk-4TLTV7OB.mjs → chunk-PM7HGDHM.mjs} +2 -2
- package/dist/{chunk-XMATDBXO.mjs → chunk-XO34WBBP.mjs} +2139 -1348
- package/dist/{chunk-EL55VV6Q.mjs → chunk-YGTTEVUM.mjs} +31 -10
- package/dist/{chunk-7ED5UNHL.mjs → chunk-YWTCCOSF.mjs} +117 -0
- package/dist/cli/index.mjs +2690 -1503
- package/dist/cli/init-docs/content/cli-reference.md +29 -1
- package/dist/cli/init-docs/content/getting-started.md +8 -0
- package/dist/cli/init-docs/content/workflow-agent-safe-sync.md +3 -1
- package/dist/cli/init-docs/content/workflow-preview-mode.md +6 -0
- package/dist/cli/init-docs/content/workflow-remote-setup.md +51 -0
- package/dist/client/{accordion-GUNXIIZR.mjs → accordion-QSUEYL4L.mjs} +2 -2
- package/dist/client/{bookingForm-AOU4VHP5.mjs → bookingForm-QYGAHPDP.mjs} +376 -302
- package/dist/client/bookings.mjs +795 -429
- package/dist/client/{carousel-4QSX2JPC.mjs → carousel-SM2LEWAU.mjs} +3 -3
- package/dist/client/{cart-JKN6C4ZB.mjs → cart-3N3SFKNQ.mjs} +7 -7
- package/dist/client/{checkout-YY6YMITW.mjs → checkout-YFAYPKPZ.mjs} +7 -7
- package/dist/client/{chunk-SY543WZ3.mjs → chunk-5DLGREUB.mjs} +1 -1
- package/dist/client/{chunk-A3YN7M3G.mjs → chunk-CLZ7NBSP.mjs} +147 -75
- package/dist/client/{chunk-GWCRCJLB.mjs → chunk-CYJ3MUFP.mjs} +18 -6
- package/dist/client/{chunk-JNE6UI6U.mjs → chunk-H3H3ODO7.mjs} +1 -1
- package/dist/client/{chunk-CPKMJVBD.mjs → chunk-HPEQ4YWW.mjs} +83 -109
- package/dist/client/{chunk-PCHACQEB.mjs → chunk-IIUIKJ4K.mjs} +15 -7
- package/dist/client/{chunk-TNGL2WJF.mjs → chunk-IOAHWAQG.mjs} +18 -0
- package/dist/client/{chunk-6H27K6AA.mjs → chunk-JTKBF3W2.mjs} +10 -4
- package/dist/client/{chunk-OLAOAZEO.mjs → chunk-K7KTSACR.mjs} +1 -1
- package/dist/client/{chunk-BFCJZODD.mjs → chunk-R32M5HFS.mjs} +6 -6
- package/dist/client/{chunk-VJROUYOQ.mjs → chunk-WEVT46PX.mjs} +3 -3
- package/dist/client/{chunk-H7A6PUGM.mjs → chunk-ZU65LTI3.mjs} +1 -1
- package/dist/client/client.mjs +5052 -4083
- package/dist/client/{courseRegistration-UU2KMPSQ.mjs → courseRegistration-LYBE7VVK.mjs} +7 -7
- package/dist/client/{eventCalendar-WIVNS2TM.mjs → eventCalendar-FMTB75X6.mjs} +9 -9
- package/dist/client/{eventCombined-P3G5MW4J.mjs → eventCombined-E4LUCJXT.mjs} +9 -9
- package/dist/client/{eventDetails-2VHJ2RDG.mjs → eventDetails-GELSRR4Z.mjs} +9 -9
- package/dist/client/{eventListing-TGO6JI3R.mjs → eventListing-TB623B6R.mjs} +9 -9
- package/dist/client/{eventRegistration-B46HEJES.mjs → eventRegistration-NRIKHXTI.mjs} +9 -9
- package/dist/client/{form-VKRTFUNQ.mjs → form-Y4U4IAXE.mjs} +3 -3
- package/dist/client/{headerSection-XUX4ZJLO.mjs → headerSection-QSOVV5P7.mjs} +3 -3
- package/dist/client/hooks.mjs +1776 -1355
- package/dist/client/{locationMap-NQFI5MJO.mjs → locationMap-QYCAHH7H.mjs} +3 -3
- package/dist/client/{newsletterForm-P2GETCQK.mjs → newsletterForm-NWHY5TBY.mjs} +3 -3
- package/dist/client/{productDetail-7NQ7O5IF.mjs → productDetail-FYDMU2CE.mjs} +7 -7
- package/dist/client/{productList-RX6ZJ7BL.mjs → productList-D76CGACQ.mjs} +7 -7
- package/dist/client/rendering/client.mjs +2990 -2470
- package/dist/client/rendering/islands.mjs +19 -19
- package/dist/client/rendering.mjs +3236 -2236
- package/dist/client/{shop-BHN5AKY6.mjs → shop-SOUACT5N.mjs} +7 -7
- package/dist/preview-next/before-render.mjs +117 -0
- package/dist/preview-next/client/runtime.mjs +5 -5
- package/dist/preview-next/middleware.mjs +117 -0
- package/dist/{sdk-runtime-X2LXQ5IC.mjs → sdk-runtime-XPVE3LBA.mjs} +6 -6
- package/dist/server/components.mjs +3115 -2484
- package/dist/server/config-template-validation.mjs +6 -2
- package/dist/server/config-validation.mjs +1961 -1580
- package/dist/server/config.mjs +1961 -1580
- package/dist/server/data.mjs +1762 -1352
- package/dist/server/index.mjs +266 -33
- package/dist/server/next/middleware.mjs +2 -2
- package/dist/server/next.mjs +3399 -2504
- package/dist/server/page-converter.mjs +1553 -1295
- package/dist/server/prebuild-loader.mjs +42 -23
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +3151 -2489
- package/dist/server/rendering.mjs +3363 -2555
- package/dist/server/routing.mjs +1877 -1388
- package/dist/server/server.mjs +2057 -1402
- package/dist/server/theme-bridge.mjs +597 -505
- package/dist/server/theme.mjs +5 -4
- package/dist/styles/index.css +499 -490
- package/package.json +6 -4
- package/dist/SdkPreviewModeRuntime-MJUSYUFB.mjs +0 -8
|
@@ -902,6 +902,69 @@ export declare const API_ENDPOINTS: {
|
|
|
902
902
|
readonly responseKind: "json";
|
|
903
903
|
readonly errors: readonly ["resource:not_found", "server:internal_error"];
|
|
904
904
|
};
|
|
905
|
+
readonly listAppointmentReservations: {
|
|
906
|
+
readonly path: "/sites/{siteId}/bookings/appointment-reservations";
|
|
907
|
+
readonly method: "GET";
|
|
908
|
+
readonly auth: "user";
|
|
909
|
+
readonly responseKind: "json";
|
|
910
|
+
readonly errors: readonly [];
|
|
911
|
+
};
|
|
912
|
+
readonly createAppointmentReservation: {
|
|
913
|
+
readonly path: "/sites/{siteId}/bookings/appointment-reservations";
|
|
914
|
+
readonly method: "POST";
|
|
915
|
+
readonly auth: "user";
|
|
916
|
+
readonly responseKind: "json";
|
|
917
|
+
readonly errors: readonly ["validation:invalid_input", "resource:not_found", "resource:conflict", "server:internal_error"];
|
|
918
|
+
};
|
|
919
|
+
readonly getAppointmentReservation: {
|
|
920
|
+
readonly path: "/sites/{siteId}/bookings/appointment-reservations/{reservationId}";
|
|
921
|
+
readonly method: "GET";
|
|
922
|
+
readonly auth: "user";
|
|
923
|
+
readonly responseKind: "json";
|
|
924
|
+
readonly errors: readonly ["resource:not_found", "server:internal_error"];
|
|
925
|
+
};
|
|
926
|
+
readonly updateAppointmentReservation: {
|
|
927
|
+
readonly path: "/sites/{siteId}/bookings/appointment-reservations/{reservationId}";
|
|
928
|
+
readonly method: "PUT";
|
|
929
|
+
readonly auth: "user";
|
|
930
|
+
readonly responseKind: "json";
|
|
931
|
+
readonly errors: readonly ["validation:invalid_input", "resource:not_found", "resource:conflict", "server:internal_error"];
|
|
932
|
+
};
|
|
933
|
+
readonly pauseAppointmentReservation: {
|
|
934
|
+
readonly path: "/sites/{siteId}/bookings/appointment-reservations/{reservationId}/pause";
|
|
935
|
+
readonly method: "POST";
|
|
936
|
+
readonly auth: "user";
|
|
937
|
+
readonly responseKind: "json";
|
|
938
|
+
readonly errors: readonly ["resource:not_found", "resource:conflict", "server:internal_error"];
|
|
939
|
+
};
|
|
940
|
+
readonly resumeAppointmentReservation: {
|
|
941
|
+
readonly path: "/sites/{siteId}/bookings/appointment-reservations/{reservationId}/resume";
|
|
942
|
+
readonly method: "POST";
|
|
943
|
+
readonly auth: "user";
|
|
944
|
+
readonly responseKind: "json";
|
|
945
|
+
readonly errors: readonly ["resource:not_found", "resource:conflict", "server:internal_error"];
|
|
946
|
+
};
|
|
947
|
+
readonly endAppointmentReservation: {
|
|
948
|
+
readonly path: "/sites/{siteId}/bookings/appointment-reservations/{reservationId}/end";
|
|
949
|
+
readonly method: "POST";
|
|
950
|
+
readonly auth: "user";
|
|
951
|
+
readonly responseKind: "json";
|
|
952
|
+
readonly errors: readonly ["validation:invalid_input", "resource:not_found", "resource:conflict", "server:internal_error"];
|
|
953
|
+
};
|
|
954
|
+
readonly previewAppointmentReservationRun: {
|
|
955
|
+
readonly path: "/sites/{siteId}/bookings/appointment-reservations/{reservationId}/run-preview";
|
|
956
|
+
readonly method: "POST";
|
|
957
|
+
readonly auth: "user";
|
|
958
|
+
readonly responseKind: "json";
|
|
959
|
+
readonly errors: readonly ["validation:invalid_input", "resource:not_found", "resource:conflict", "server:internal_error"];
|
|
960
|
+
};
|
|
961
|
+
readonly createAppointmentReservationRun: {
|
|
962
|
+
readonly path: "/sites/{siteId}/bookings/appointment-reservations/{reservationId}/runs";
|
|
963
|
+
readonly method: "POST";
|
|
964
|
+
readonly auth: "user";
|
|
965
|
+
readonly responseKind: "json";
|
|
966
|
+
readonly errors: readonly ["validation:invalid_input", "resource:not_found", "resource:conflict", "server:internal_error"];
|
|
967
|
+
};
|
|
905
968
|
readonly createTeamMemberProfile: {
|
|
906
969
|
readonly path: "/sites/{siteId}/bookings/resources/{resourceId}/profile";
|
|
907
970
|
readonly method: "POST";
|
|
@@ -2965,6 +3028,14 @@ export declare const API_ENDPOINTS: {
|
|
|
2965
3028
|
readonly responseKind: "json";
|
|
2966
3029
|
readonly errors: readonly ["validation:invalid_input", "server:internal_error"];
|
|
2967
3030
|
};
|
|
3031
|
+
readonly resolveRouteDecision: {
|
|
3032
|
+
readonly path: "/sites/{siteId}/route-decision";
|
|
3033
|
+
readonly method: "GET";
|
|
3034
|
+
readonly tags: ["riverbank:site:{siteId}:routable-content", "riverbank:site:{siteId}:redirects", "riverbank:site:{siteId}:route-outcomes"];
|
|
3035
|
+
readonly auth: "public";
|
|
3036
|
+
readonly responseKind: "json";
|
|
3037
|
+
readonly errors: readonly ["validation:invalid_input", "server:internal_error"];
|
|
3038
|
+
};
|
|
2968
3039
|
readonly getPageByPath: {
|
|
2969
3040
|
readonly path: "/sites/{siteId}/pages";
|
|
2970
3041
|
readonly method: "GET";
|
|
@@ -3093,6 +3164,15 @@ export declare const API_ENDPOINTS: {
|
|
|
3093
3164
|
readonly auth: "public";
|
|
3094
3165
|
readonly responseKind: "json";
|
|
3095
3166
|
};
|
|
3167
|
+
readonly getPublicWeeklySlotAvailability: {
|
|
3168
|
+
readonly path: "/public/bookings/weekly-slot-availability";
|
|
3169
|
+
readonly method: "GET";
|
|
3170
|
+
readonly revalidate: 60;
|
|
3171
|
+
readonly tags: ["site-{siteId}"];
|
|
3172
|
+
readonly auth: "public";
|
|
3173
|
+
readonly responseKind: "json";
|
|
3174
|
+
readonly errors: readonly [];
|
|
3175
|
+
};
|
|
3096
3176
|
readonly createPublicBookingAppointment: {
|
|
3097
3177
|
readonly path: "/public/bookings/appointments";
|
|
3098
3178
|
readonly method: "POST";
|
|
@@ -4675,6 +4755,14 @@ export declare const API_ENDPOINTS: {
|
|
|
4675
4755
|
readonly responseKind: "json";
|
|
4676
4756
|
readonly errors: readonly [];
|
|
4677
4757
|
};
|
|
4758
|
+
readonly adminResolveSiteBillingManualReview: {
|
|
4759
|
+
readonly path: "/admin/sites/{siteId}/billing/manual-reviews/{reviewId}/resolve";
|
|
4760
|
+
readonly method: "POST";
|
|
4761
|
+
readonly tags: ["admin", "site-{siteId}", "billing"];
|
|
4762
|
+
readonly auth: "admin";
|
|
4763
|
+
readonly responseKind: "json";
|
|
4764
|
+
readonly errors: readonly [];
|
|
4765
|
+
};
|
|
4678
4766
|
readonly adminGscVerifyStart: {
|
|
4679
4767
|
readonly path: "/admin/seo/gsc/properties/verify/start";
|
|
4680
4768
|
readonly method: "POST";
|
|
@@ -12,6 +12,7 @@ export { formatIgnoredDocumentSyncSectionWarning } from "./sdkContracts";
|
|
|
12
12
|
export { createIncrementalJsonAccumulator } from "./incrementalJson";
|
|
13
13
|
export type { SaveSiteChromeLookSelectionBody, SaveSiteChromeLookSelectionResponse, SiteThemeSelectionsPayload, } from "./siteRuntimeEndpoints";
|
|
14
14
|
export type { DiscountsAvailableResponse, NewsletterSubscribeTarget, NewsletterSignupPublicDestinationRef, } from "./publicExperienceEndpoints";
|
|
15
|
+
export { PUBLIC_EVENT_TICKET_SELECTION_CONTRACT_VERSION } from "./publicExperienceEndpoints";
|
|
15
16
|
export type { ListMailchimpAudiencesResponse, MailchimpAudienceId, MailchimpAudienceCompatibilityIssue, MailchimpAudienceReferenceItem, MailchimpConnectionId, MailchimpIntegrationConnectionStatus, MailchimpIntegrationReauthReason, MailchimpOAuthReturnIntent, MailchimpSignupSyncHealthCounts, MailchimpSignupSyncHealthErrorCategory, MailchimpSignupSyncHealthGroup, MailchimpSignupSyncHealthResponse, MailchimpSignupSyncHealthState, MailchimpSignupSourceBlockId, StartMailchimpOAuthRequest, StartMailchimpOAuthResponse, } from "./mailchimpIntegration";
|
|
16
17
|
export { parseMailchimpAudienceId, parseMailchimpConnectionId, } from "./mailchimpIntegration";
|
|
17
18
|
export type { GeneratedIconSetApplyRequest, GeneratedIconSetApplyResponse, GeneratedIconSetCandidate, GeneratedIconSetGenerateRequest, GeneratedIconSetGenerateResponse, GeneratedIconRenderAsset, GeneratedIconRenderAssetRef, GeneratedIconRenderAssetsRequest, GeneratedIconRenderAssetsResponse, SiteIconStyleGuidePayload, SiteIconStyleGuideResponse, SiteIconStyleStrokeRule, SiteIconStyleGuideUpdateRequest, } from "./siteIcons";
|
|
@@ -29,7 +30,7 @@ export { DEFAULT_EXTERNAL_EVENT_CTA_LABEL, EVENT_LISTING_DESTINATION_SETTINGS_KE
|
|
|
29
30
|
export type { EventListingDestination, EventListingDestinationInput, EventListingDestinationPublicationIssue, ExternalEventUrl, ExternalEventUrlValidationError, ExternalEventUrlValidationErrorCode, ExternalEventUrlValidationResult, PublicEventDestination, } from "./event-listing-destination";
|
|
30
31
|
export { APPOINTMENT_DEFAULT_MAX_BOOKING_NOTICE_MINUTES_MAX, APPOINTMENT_DEFAULT_MIN_LEAD_MINUTES_MAX, applyAppointmentSetupRequestSchema, applyAppointmentSetupRequest, appointmentSetupAvailabilityDraftSchema, appointmentSetupBookingNoticeSchema, appointmentSetupPaymentDraftSchema, appointmentSetupPractitionerDraftSchema, appointmentSetupRefSchema, appointmentSetupServiceAssignmentDraftSchema, appointmentSetupServiceDraftSchema, appointmentSetupVenueChoiceSchema, appointmentSetupWeeklyWindowDraftSchema, getAppointmentSetupRequest, } from "./appointmentSetup";
|
|
31
32
|
export type { ApplyAppointmentSetupRequest, ApplyAppointmentSetupResponse, AppointmentPractitionerMode, AppointmentSetupAvailabilityDraft, AppointmentSetupAvailabilityWindowInvalidReason, AppointmentSetupBookingNotice, AppointmentSetupDraftMapping, AppointmentSetupPaymentDraft, AppointmentSetupPlanIssue, AppointmentSetupPractitionerDraft, AppointmentSetupReadiness, AppointmentSetupRef, AppointmentSetupResponse, AppointmentSetupSeedCandidate, AppointmentSetupSeedInvalidMetadata, AppointmentSetupSeedSelection, AppointmentSetupServiceAssignmentDraft, AppointmentSetupServiceDraft, AppointmentSetupServiceResourceLink, AppointmentSetupTargetStep, AppointmentSetupVenueChoice, AppointmentSetupWeeklyWindowDraft, } from "./appointmentSetup";
|
|
32
|
-
export type { AppointmentHistoryStatus, BookingSessionCreateAppointmentRequest, BookingSessionCreateAppointmentResponse, BookingSessionEligibleAppointmentPackage, BookingSessionListEligibleAppointmentPackagesResponse, } from "./bookingOperations";
|
|
33
|
+
export type { AppointmentHistoryStatus, AppointmentReservation, AppointmentReservationListItem, AppointmentReservationPaymentMode, AppointmentReservationStatus, BookingSessionCreateAppointmentRequest, BookingSessionCreateAppointmentResponse, BookingSessionEligibleAppointmentPackage, BookingSessionListEligibleAppointmentPackagesResponse, PublicWeeklySlotAvailabilityOption, PublicWeeklySlotAvailabilityQuery, PublicWeeklySlotAvailabilityResponse, } from "./bookingOperations";
|
|
33
34
|
export { APPOINTMENT_HISTORY_STATUS_VALUES } from "./bookingOperations";
|
|
34
35
|
export type { BookingClosureAffectedItemKind, BookingClosureAutoCancelItem, BookingClosureAutoCancelReason, BookingClosureConflictResponse, BookingClosureImpactPlan, BookingClosureImpactSummary, BookingClosureManualReviewItem, BookingClosureManualReviewReason, BookingClosureRecord, BookingClosureRequest, BookingClosureScope, CreateBookingClosureRequest, CreateBookingClosureResponse, DeleteBookingClosureResponse, GetBookingClosureResponse, ListBookingClosuresResponse, PreviewBookingClosureResponse, } from "./bookingClosures";
|
|
35
36
|
export type { PublicTeamMemberBlockItem, PublicTeamMemberPhoto, PublicTeamMemberSummary, } from "./teamMembers";
|
|
@@ -111,7 +112,7 @@ export { enrollTotpFactor, verifyTotpFactor, activateTotpFactor, deleteMfaFactor
|
|
|
111
112
|
export type { ApiResult, ApiResponse, ApiError, ApiErrorCode, ApiEnvelopeErrorDetails, FieldError, ResponseMeta, } from "./common/envelope";
|
|
112
113
|
export type { JsonPrimitive, JsonValue } from "./types";
|
|
113
114
|
export type { PublicEventLoaderParams, PublicRouteCandidate, PublicEventPriceDisplay, PublicCoursePriceDisplay, PublicEventScheduleScope, PublicEventSurfaceScope, } from "./types";
|
|
114
|
-
export type { APIEndpoint, APIEndpoints, 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, NavigationLinkInput, RoutableContentItem, CreateMediaAssetBody, FileKindContract, FileKindTag, FileUseContract, FileUseTag, ImageFileFormat, MediaAssetResponse, MediaClassifyJobResponse, MediaJobSummaryResponse, MediaLabelSummary, MediaSettingsResponse, RenderableFileKindTag, StorageClass, UploadIntentContract, UploadIntentTag, BookingSettings, AppointmentStaffChangeNotificationSettings, AppointmentStaffNotificationSetupHealth, AppointmentStaffReminderSettings, BookingNotificationRule, BookingNotificationSettings, BookingNotificationUpdateKind, TeamMemberProfilePagePolicyMode, TeamMemberProfilePageSettings, BookingVerticalConfig, BookingCurrencyEditState, BookingSettingsEditorSnapshot, BookingSettingsResponse, BookingWaitlistSettings, BookingModuleToggles, BookingReminderOverrides, BookingDefaultImage, AppointmentFollowUpScopeIds, AppointmentFollowUpScopeMode, AppointmentFollowUpSettings, WaitlistMode, WaitlistOverride, EventBookingPolicyMode, EventBookingPolicy, EventBookingPolicies, UpdateBookingSettingsRequest, RefundEventAttendeeRequest, EventAttendeeRefundResult, RefundEventAttendeeResponse, RefundCourseEnrollmentRequest, CourseEnrollmentRefundResult, RefundCourseEnrollmentResponse, 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, CourseEnrollmentRefundHistoryItem, ListCourseEnrollmentRefundsResponse, 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, CourseStatus, MutableCourseStatus, CourseSessionInput, CreateCourseRequest, UpdateCourseRequest, DeleteCourseResponse, DeleteCourseProgramResponse, DuplicateCourseRequest, DuplicateCourseResponse, CourseSeriesRecord, CourseRecord, CreateCourseResponse, UpdateCourseResponse, CourseEnrollmentStatus, CourseEnrollmentPaymentMethod, CourseEnrollmentPaymentStatus, CourseEnrollmentRecord, CourseEnrollmentWithCustomer, ListCourseEnrollmentsResponse, CourseParticipantMessageStatus, GetParticipantMessageRecipientsRequest, ListParticipantMessageHistoryRequest, ParticipantMessageEmailReadiness, ParticipantMessageHistoryEntry, ParticipantMessageHistoryResponse, ParticipantMessageExcludedRecipientPreview, ParticipantMessageRecipientPreview, ParticipantMessageRecipientSummary, ParticipantMessageRecipientsResponse, ParticipantMessageSendResponse, ParticipantMessageTarget, ParticipantRecipientExclusionReason, SendParticipantMessageRequest, TestParticipantMessageRequest, TestParticipantMessageResponse, AddCourseEnrollmentRequest, AddCourseEnrollmentResponse, UpdateCourseEnrollmentRequest, UpdateCourseEnrollmentResponse, BookingCustomerWithCounts, BookingCustomerListItem, CustomerAggregateCoverage, CustomerAggregateSnapshot, CustomerBookingActivitySummary, CustomerFinancialCoverage, CustomerFinancialValue, CustomerLifecycleFlagCode, CustomerLifecycleSegmentCode, CustomerLifecycleSummary, CustomerWaitlistStatus, CustomerWaitlistSummary, CustomerSortColumn, CustomerFilter, ListBookingCustomersRequest, ListBookingCustomersResponse, CreateBookingCustomerRequest, CreateBookingCustomerResponse, CustomerContactChange, CustomerContactField, CustomerProfileRectificationSourceContext, CustomerProfileRectificationSourceSurface, RectifyBookingCustomerProfileRequest, RectifyBookingCustomerProfileResponse, BookingParticipantIdentityForRectification, ParticipantIdentityRectificationSourceContext, ParticipantIdentityRectificationSourceSurface, RectifyBookingParticipantIdentityRequest, RectifyBookingParticipantIdentityResponse, CustomerPassRecord, CustomerPassStatus, ListCustomerPassesResponse, SiteCustomerRecord, SiteCustomerPassRecord, ListSiteCustomerPassesRequest, ListSiteCustomerPassesResponse, CustomerPassRefundResult, CustomerPassRefundRecord, AdjustCustomerPassDetailsRequest, AdjustCustomerPassDetailsResponse, RefundCustomerPassRequest, RefundCustomerPassResponse, ListCustomerPassRefundsResponse, CustomerMembershipRecord, ListCustomerMembershipsResponse, CustomerMembershipStatus, SiteCustomerMembershipRecord, ListSiteCustomerMembershipsRequest, ListSiteCustomerMembershipsResponse, BookingPaymentKind, BookingPaymentStatus, BookingPaymentsView, BookingPaymentListItem, ListBookingPaymentsRequest, ListBookingPaymentsResponse, MoneyPeriodPreset, MoneyItemKind, MoneyPaymentsView, MoneyTimeSeriesGranularity, MoneyBreakdownDimension, MoneyNonCashUsageKind, MoneyReportIncompleteReason, MoneyFilterQuery, MoneyComparisonMetric, MoneyDateRange, MoneyReportSummary, MoneyTimeSeriesBucket, MoneyBreakdownRow, MoneyBreakdownSection, MoneyNonCashUsageRow, MoneyNonCashUsageSection, GetMoneyReportRequest, GetMoneyReportResponse, 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, ListCustomerAttendancesRequest, ListCustomerAttendancesResponse, BookingCustomerCreditSummary, BookingCustomerCreditTransactionListItem, GetCustomerCreditResponse, AccountRevokeSessionsBody, AccountRevokeSessionsResponse, AccountUpdatePasswordBody, AccountUpdatePasswordResponse, AuthFieldKey, AuthSubmissionErrorReason, AuthSubmissionSuccess, AuthSubmissionError, AuthSubmissionResult, ReauthSubmissionResult, DomainAvailability, SiteDomainRecord, SiteDomainContactPayload, RegistrarLifecycleState, RegistrarLifecycleMutationOutcome, RegistrarLifecycleMutationOperation, RegistrarLifecycleMutationBase, RegistrarLifecycleMutationResponse, ExposedRegistrarLifecycleMutationResponse, RegistrarLifecycleResponse, RegistrarBooleanMutationRequest, RegistrarRenewalCostEstimate, RegistrarProviderName, RegistrarRenewalRiskReason, RegistrarRenewalManualReviewReason, RegistrarRenewalManualReviewReasonWithoutExpiry, RegistrarRenewalManualReviewReasonWithExpiry, RegistrarRenewalFailedReason, RegistrarRenewalPosture, RegistrarAccountBalance, RegistrarRenewalPostureResponse, LookupSiteDomainRequest, LookupSiteDomainResponse, RegisterSiteDomainRequest, RegisterSiteDomainResponse, AddCustomDomainRequest, AddCustomDomainResponse, SetHomepageRequest, SetHomepageResponse, ContentRouteRecord, SeoOverviewResponse, SeoOverviewQuery, SeoOverviewTimePoint, SeoRangePreset, PerformanceOverviewResponse, PerformanceOverviewQuery, PerformanceRangePreset, SeoSearchPagesQuery, SeoSearchPagesResponse, SeoSearchQueriesQuery, SeoSearchQueriesResponse, SeoSearchSummary, ContentEntryRecord, ContentEntrySummary, FormSummary, ContentEntryDetail, ScheduledContentEntryOrPageResponse, BookingsEventSeriesContentEditorResponse, PublishedContentEntryPreview, PublishedContentEntryPreviewResponse, PublishedPostPreview, PublishedPostPreviewResponse, ContentEntryListStage, ContentEntryListItem, ListPublishedEntriesResponse, ContentTypeTemplateSummary, PublicContentTypeFieldMeta, PublicContentTypeMeta, ListPublishedEntriesMeta, ContentTemplateSummary, ContentTemplateBlockSummary, ContentTemplateAddonSummary, ContentAddonDefinition, ContentTemplateDetailsResponse, UpdateContentTemplateBlockRequest, ApplyContentTemplateAddonRequest, StartImpersonationRequest, StartImpersonationResponse, StopImpersonationRequest, StopImpersonationResponse, UpsertAdminRoleRequest, RevokeAdminRoleRequest, AdminRoleMutationResponse, AdminProfileRole, DTOType, MfaFactorSummary, MfaOverviewPayload, MfaOverviewResponse, MfaTotpActivateRequest, MfaTotpEnrollResponse, MfaTotpVerifyRequest, MfaTotpVerifyResponse, MfaPhoneEnrollRequest, MfaPhoneEnrollResponse, MfaPhoneChallengeRequest, MfaPhoneChallengeResponse, MfaPhoneVerifyRequest, MfaBackupCodeSummary, MfaBackupCodesOverview, MfaBackupCodesOverviewResponse, MfaBackupCodesRotateResponse, CreateAdminInviteRequest, CreateAdminInviteResponse, CreateAdminUserRequest, CreateAdminUserResponse, ListAdminInvitesResponse, RevokeAdminInviteResponse, CreateAllowedDomainRequest, CreateAllowedDomainResponse, ListAllowedDomainsResponse, DeleteAllowedDomainResponse, AcceptAdminInviteRequest, AcceptAdminInviteResponse, AdminInvite, AllowedEmailDomain, AdminChangePlanRequest, AdminChangePlanResponse, ChangePlanRequest, ChangePlanResponse, BillingPriceOverride, AdminGetPriceOverrideQuery, AdminGetPriceOverrideResponse, AdminUpsertPriceOverrideRequest, AdminUpsertPriceOverrideResponse, AdminDeletePriceOverrideRequest, AdminDeletePriceOverrideResponse, DomainSearchResultResponse, AcceptedManagedDomainAddOnPricing, AnalyticsPreset, AnalyticsReportQuery, AnalyticsSeriesPoint, AnalyticsTopPage, AnalyticsReferrer, AnalyticsTotals, AnalyticsReportResponse, RegisterDomainRequestPayload, RegisterDomainResponse, DomainConfigResult, OperationalStaffSurfaces, SiteRole, StaffOperationalCapability, SiteMember, SiteMemberProfile, SiteInvitation, SiteAccessSummary, SitePlanSummaryResponse, ListSiteMembersResponse, InviteSiteMemberRequest, InviteSiteMemberResponse, UpdateSiteMemberRoleRequest, UpdateSiteMemberRoleResponse, RemoveSiteMemberResponse, RevokeSiteInvitationResponse, ResendSiteInvitationResponse, TransferSiteOwnershipRequest, TransferSiteOwnershipResponse, AcceptSiteInvitationRequest, AcceptSiteInvitationResponse, DevToolsImpersonationResponse, DevToolsSeedResponse, DowngradeRole, RoleDowngradeActualRole, SiteRoleDowngradeState, DevToolsGetSiteRoleDowngradeQuery, DevToolsSetSiteRoleDowngradeRequest, SitePagePayload, SiteBySlugResponse, BlockWithContentResponse, ContentDataResponse, RedirectHttpStatus, SdkRouteOutcomeResponse, BackupAccessImportResult, BackupImportResponse, PreviewKeyRecord, ApiKeyAccessLogRecord, ListSiteApiKeysResponse, CreateSiteApiKeyRequest, CreateSiteApiKeyResponse, RevokeSiteApiKeyResponse, GetSitePreviewKeyResponse, CreateSitePreviewKeyResponse, GetSiteApiKeyAccessLogsResponse, ApiKeyAccessLogsPagination, ManagementKeyRecord, ListManagementKeysResponse, CreateManagementKeyRequest, CreateManagementKeyResponse, RevokeManagementKeyRequest, RevokeManagementKeyResponse, EventPreset, EventOnlineDetails, EventOnlineDetailsInput, StaffAssignmentMode, EventSeriesRecord, CreateEventSeriesRequest, UpdateEventSeriesRequest, EventAttendeeRecord, BookingBeforeYouComeDeliveryIssue, BookingBeforeYouComeReadiness, BookingEventSeriesAttendeeGuest, BookingEventSeriesAttendee, BookingPaymentIssueReason, BookingPaymentAttentionSummary, EventOccurrenceRecord, EventOccurrenceOverrides, EventOccurrenceStatus, EventOccurrenceDeletionEligibility, EventOccurrenceListRecord, UpdateOccurrenceRequest, VenueRecord, VenueLocation, CreateVenueRequest, UpdateVenueRequest, DeleteVenueResponse, GeocodeVenueRequest, GeocodeVenueResponse, AiPlaygroundApplyRequest, AiPlaygroundApplyResponse, BillingStatusResponse, BillingCheckoutRequest, BillingCheckoutResponse, BillingSummaryResponse, BillingSummaryComponent, BillingSummaryComponentKind, BillingSummaryComponentSource, BillingSummaryBasePlanComponent, BillingSummarySiteComponent, BillingSummaryAddOnComponent, SiteBillingCostResponse, SitePurpose, AiBrandGuidelinesExample, SiteAiBrandGuidelinesPayload, SiteAiBrandGuidelinesResponse, SiteAiProfileEntityType, SiteAiProfileLocationMode, SiteAiProfilePayload, SiteAiProfileResponse, SiteBusinessAddressPayload, SiteBusinessAddressResponse, SiteContentSamplingStats, SiteContentSampledItem, AiBrandGuidelinesGenerationContextResponse, AiBrandGuidelinesGenerateRequest, AiBrandGuidelinesGenerateResponse, DeleteAccountRequest, DeleteAccountResponse, FontRecord, ExportBackupRequest, BackupPreviewRequest, BackupPreviewResponse, CreateBackupUploadUrlRequest, CreateBackupUploadUrlResponse, DeleteBackupUploadRequest, DeleteBackupUploadResponse, ImportBackupAsNewSiteRequest, ImportBackupAsNewSiteResponse, AdminSiteCostResponse, AdminUpdateSiteCostRequest, BulkOperationResult, SchedulePreviewRequest, SchedulePreviewResponse, AffectedOccurrence, ModifiedOccurrence, RegenerationSummary, AiGenerateSiteEntityType, AiGenerateSitePrimaryCta, AiGenerateSiteRequest, AiGenerateSiteResponse, AiSiteWizardIntakeTriageRequest, AiSiteWizardIntakeTriageResponse, AiSiteWizardTelemetryEvent, AiSiteWizardTelemetryRequest, AiSiteWizardTelemetryResponse, PublicOnboardingAttempt, PublicOnboardingAttemptPayload, PublicOnboardingLogoUploadRequest, PublicOnboardingLogoUploadResponse, PublicOnboardingLogoUploadUrlRequest, PublicOnboardingLogoUploadUrlResponse, PublicOnboardingAttemptStatus, PublicOnboardingSurfaceId, SiteGenerationScope, SiteGenerationFeatureKey, SiteWizardResumeSnapshot, SiteGenerationIntakePayload, SiteGenerationIntakeResponse, CalendarConnectionStatus, CalendarStatusResponse, DebugArtifact, DebugArtifacts, PageBlock, PageConverterOutput, PageConversionSuccess, PageConversionAttempt, PageConversionFailure, PageConversionResult, PageConvertResponse, PageConvertJobStatus, PageConvertJob, PageConvertJobEventType, PageConvertJobEvent, PageConvertJobsCreateRequest, PageConvertJobsCreateResponse, PageConvertJobsListResponse, PageConvertJobGetResponse, PageConvertJobRunResponse, PageConvertJobEventsResponse, NewsletterSettingsRecord, NewsletterSubscriberRecord, NewsletterListRecord, GetNewsletterSettingsResponse, UpdateNewsletterSettingsRequest, UpdateNewsletterSettingsResponse, ListNewsletterTagsResponse, ListNewsletterSubscribersResponse, UpsertNewsletterSubscriberRequest, UpsertNewsletterSubscriberResponse, ImportNewsletterSubscribersCsvResponse, ExportNewsletterSubscribersCsvResponse, GetNewsletterSubscriberResponse, UpdateNewsletterSubscriberRequest, UpdateNewsletterSubscriberResponse, DeleteNewsletterSubscriberResponse, AnonymizeNewsletterSubscriberResponse, ExportNewsletterSubscriberDataResponse, ListNewsletterListsResponse, CreateNewsletterListRequest, CreateNewsletterListResponse, UpdateNewsletterListRequest, UpdateNewsletterListResponse, DeleteNewsletterListResponse, ListNewsletterListMembersResponse, UpdateNewsletterListMembershipsRequest, UpdateNewsletterListMembershipsResponse, NewsletterTemplateRecord, ListNewsletterTemplatesResponse, CreateNewsletterTemplateRequest, CreateNewsletterTemplateResponse, GetNewsletterTemplateResponse, UpdateNewsletterTemplateRequest, UpdateNewsletterTemplateResponse, DeleteNewsletterTemplateResponse, PreviewNewsletterTemplateRequest, PreviewNewsletterTemplateResponse, NewsletterCampaignRecord, ListNewsletterCampaignsResponse, CreateNewsletterCampaignRequest, CreateNewsletterCampaignResponse, GetNewsletterCampaignResponse, UpdateNewsletterCampaignRequest, UpdateNewsletterCampaignResponse, DeleteNewsletterCampaignResponse, NewsletterCampaignRecipientsSummary, GetNewsletterCampaignRecipientsSummaryResponse, NewsletterCampaignStats, GetNewsletterCampaignStatsResponse, NewsletterSendJobRecord, NewsletterSendJobStatus, ListNewsletterSendJobsQuery, ListNewsletterSendJobsResponse, RetryNewsletterSendJobResponse, CancelNewsletterSendJobResponse, SiteLogActor, SiteContentActivityLogEntry, SiteFormSubmissionActivityLogEntry, SiteActivityLogEntry, ListSiteActivityLogsResponse, SiteEmailLogEntry, ListSiteEmailLogsResponse, SiteEmailEventLogEntry, ListSiteEmailEventLogsResponse, SitePublicErrorLogEntry, ListSitePublicErrorLogsResponse, } from "./types";
|
|
115
|
+
export type { APIEndpoint, APIEndpoints, 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, NavigationLinkInput, RoutableContentItem, CreateMediaAssetBody, FileKindContract, FileKindTag, FileUseContract, FileUseTag, ImageFileFormat, MediaAssetResponse, MediaClassifyJobResponse, MediaJobSummaryResponse, MediaLabelSummary, MediaSettingsResponse, RenderableFileKindTag, StorageClass, UploadIntentContract, UploadIntentTag, BookingSettings, AppointmentStaffChangeNotificationSettings, AppointmentStaffNotificationSetupHealth, AppointmentStaffReminderSettings, BookingNotificationRule, BookingNotificationSettings, BookingNotificationUpdateKind, TeamMemberProfilePagePolicyMode, TeamMemberProfilePageSettings, BookingVerticalConfig, BookingCurrencyEditState, BookingSettingsEditorSnapshot, BookingSettingsResponse, BookingWaitlistSettings, BookingModuleToggles, BookingReminderOverrides, BookingDefaultImage, AppointmentFollowUpScopeIds, AppointmentFollowUpScopeMode, AppointmentFollowUpSettings, WaitlistMode, WaitlistOverride, EventBookingPolicyMode, EventBookingPolicy, EventBookingPolicies, UpdateBookingSettingsRequest, RefundEventAttendeeRequest, EventAttendeeRefundResult, RefundEventAttendeeResponse, RefundCourseEnrollmentRequest, CourseEnrollmentRefundResult, RefundCourseEnrollmentResponse, 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, CourseEnrollmentRefundHistoryItem, ListCourseEnrollmentRefundsResponse, 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, CourseStatus, MutableCourseStatus, CourseSessionInput, CreateCourseRequest, UpdateCourseRequest, DeleteCourseResponse, DeleteCourseProgramResponse, DuplicateCourseRequest, DuplicateCourseResponse, CourseSeriesRecord, CourseRecord, CreateCourseResponse, UpdateCourseResponse, CourseEnrollmentStatus, CourseEnrollmentPaymentMethod, CourseEnrollmentPaymentStatus, CourseEnrollmentRecord, CourseEnrollmentWithCustomer, ListCourseEnrollmentsResponse, CourseParticipantMessageStatus, GetParticipantMessageRecipientsRequest, ListParticipantMessageHistoryRequest, ParticipantMessageEmailReadiness, ParticipantMessageHistoryEntry, ParticipantMessageHistoryResponse, ParticipantMessageExcludedRecipientPreview, ParticipantMessageRecipientPreview, ParticipantMessageRecipientSummary, ParticipantMessageRecipientsResponse, ParticipantMessageSendResponse, ParticipantMessageTarget, ParticipantRecipientExclusionReason, SendParticipantMessageRequest, TestParticipantMessageRequest, TestParticipantMessageResponse, AddCourseEnrollmentRequest, AddCourseEnrollmentResponse, UpdateCourseEnrollmentRequest, UpdateCourseEnrollmentResponse, BookingCustomerWithCounts, BookingCustomerListItem, CustomerAggregateCoverage, CustomerAggregateSnapshot, CustomerBookingActivitySummary, CustomerFinancialCoverage, CustomerFinancialValue, CustomerLifecycleFlagCode, CustomerLifecycleSegmentCode, CustomerLifecycleSummary, CustomerWaitlistStatus, CustomerWaitlistSummary, CustomerSortColumn, CustomerFilter, ListBookingCustomersRequest, ListBookingCustomersResponse, CreateBookingCustomerRequest, CreateBookingCustomerResponse, CustomerContactChange, CustomerContactField, CustomerProfileRectificationSourceContext, CustomerProfileRectificationSourceSurface, RectifyBookingCustomerProfileRequest, RectifyBookingCustomerProfileResponse, BookingParticipantIdentityForRectification, ParticipantIdentityRectificationSourceContext, ParticipantIdentityRectificationSourceSurface, RectifyBookingParticipantIdentityRequest, RectifyBookingParticipantIdentityResponse, CustomerPassRecord, CustomerPassStatus, ListCustomerPassesResponse, SiteCustomerRecord, SiteCustomerPassRecord, ListSiteCustomerPassesRequest, ListSiteCustomerPassesResponse, CustomerPassRefundResult, CustomerPassRefundRecord, AdjustCustomerPassDetailsRequest, AdjustCustomerPassDetailsResponse, RefundCustomerPassRequest, RefundCustomerPassResponse, ListCustomerPassRefundsResponse, CustomerMembershipRecord, ListCustomerMembershipsResponse, CustomerMembershipStatus, SiteCustomerMembershipRecord, ListSiteCustomerMembershipsRequest, ListSiteCustomerMembershipsResponse, BookingPaymentKind, BookingPaymentStatus, BookingPaymentsView, BookingPaymentListItem, ListBookingPaymentsRequest, ListBookingPaymentsResponse, MoneyPeriodPreset, MoneyItemKind, MoneyPaymentsView, MoneyTimeSeriesGranularity, MoneyBreakdownDimension, MoneyNonCashUsageKind, MoneyReportIncompleteReason, MoneyFilterQuery, MoneyComparisonMetric, MoneyDateRange, MoneyReportSummary, MoneyTimeSeriesBucket, MoneyBreakdownRow, MoneyBreakdownSection, MoneyNonCashUsageRow, MoneyNonCashUsageSection, GetMoneyReportRequest, GetMoneyReportResponse, 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, ListCustomerAttendancesRequest, ListCustomerAttendancesResponse, BookingCustomerCreditSummary, BookingCustomerCreditTransactionListItem, GetCustomerCreditResponse, AccountRevokeSessionsBody, AccountRevokeSessionsResponse, AccountUpdatePasswordBody, AccountUpdatePasswordResponse, AuthFieldKey, AuthSubmissionErrorReason, AuthSubmissionSuccess, AuthSubmissionError, AuthSubmissionResult, ReauthSubmissionResult, DomainAvailability, SiteDomainRecord, SiteDomainContactPayload, RegistrarLifecycleState, RegistrarLifecycleMutationOutcome, RegistrarLifecycleMutationOperation, RegistrarLifecycleMutationBase, RegistrarLifecycleMutationResponse, ExposedRegistrarLifecycleMutationResponse, RegistrarLifecycleResponse, RegistrarBooleanMutationRequest, RegistrarRenewalCostEstimate, RegistrarProviderName, RegistrarRenewalRiskReason, RegistrarRenewalManualReviewReason, RegistrarRenewalManualReviewReasonWithoutExpiry, RegistrarRenewalManualReviewReasonWithExpiry, RegistrarRenewalFailedReason, RegistrarRenewalPosture, RegistrarAccountBalance, RegistrarRenewalPostureResponse, LookupSiteDomainRequest, LookupSiteDomainResponse, RegisterSiteDomainRequest, RegisterSiteDomainResponse, AddCustomDomainRequest, AddCustomDomainResponse, SetHomepageRequest, SetHomepageResponse, ContentRouteRecord, SeoOverviewResponse, SeoOverviewQuery, SeoOverviewTimePoint, SeoRangePreset, PerformanceOverviewResponse, PerformanceOverviewQuery, PerformanceRangePreset, SeoSearchPagesQuery, SeoSearchPagesResponse, SeoSearchQueriesQuery, SeoSearchQueriesResponse, SeoSearchSummary, ContentEntryRecord, ContentEntrySummary, FormSummary, ContentEntryDetail, ScheduledContentEntryOrPageResponse, BookingsEventSeriesContentEditorResponse, PublishedContentEntryPreview, PublishedContentEntryPreviewResponse, PublishedPostPreview, PublishedPostPreviewResponse, ContentEntryListStage, ContentEntryListItem, ListPublishedEntriesResponse, ContentTypeTemplateSummary, PublicContentTypeFieldMeta, PublicContentTypeMeta, ListPublishedEntriesMeta, ContentTemplateSummary, ContentTemplateBlockSummary, ContentTemplateAddonSummary, ContentAddonDefinition, ContentTemplateDetailsResponse, UpdateContentTemplateBlockRequest, ApplyContentTemplateAddonRequest, StartImpersonationRequest, StartImpersonationResponse, StopImpersonationRequest, StopImpersonationResponse, UpsertAdminRoleRequest, RevokeAdminRoleRequest, AdminRoleMutationResponse, AdminProfileRole, DTOType, MfaFactorSummary, MfaOverviewPayload, MfaOverviewResponse, MfaTotpActivateRequest, MfaTotpEnrollResponse, MfaTotpVerifyRequest, MfaTotpVerifyResponse, MfaPhoneEnrollRequest, MfaPhoneEnrollResponse, MfaPhoneChallengeRequest, MfaPhoneChallengeResponse, MfaPhoneVerifyRequest, MfaBackupCodeSummary, MfaBackupCodesOverview, MfaBackupCodesOverviewResponse, MfaBackupCodesRotateResponse, CreateAdminInviteRequest, CreateAdminInviteResponse, CreateAdminUserRequest, CreateAdminUserResponse, ListAdminInvitesResponse, RevokeAdminInviteResponse, CreateAllowedDomainRequest, CreateAllowedDomainResponse, ListAllowedDomainsResponse, DeleteAllowedDomainResponse, AcceptAdminInviteRequest, AcceptAdminInviteResponse, AdminInvite, AllowedEmailDomain, AdminChangePlanRequest, AdminChangePlanResponse, ChangePlanRequest, ChangePlanResponse, BillingPriceOverride, AdminGetPriceOverrideQuery, AdminGetPriceOverrideResponse, AdminUpsertPriceOverrideRequest, AdminUpsertPriceOverrideResponse, AdminDeletePriceOverrideRequest, AdminDeletePriceOverrideResponse, DomainSearchResultResponse, AcceptedManagedDomainAddOnPricing, AnalyticsPreset, AnalyticsReportQuery, AnalyticsSeriesPoint, AnalyticsTopPage, AnalyticsReferrer, AnalyticsTotals, AnalyticsReportResponse, RegisterDomainRequestPayload, RegisterDomainResponse, DomainConfigResult, OperationalStaffSurfaces, SiteRole, StaffOperationalCapability, SiteMember, SiteMemberProfile, SiteInvitation, SiteAccessSummary, SitePlanSummaryResponse, ListSiteMembersResponse, InviteSiteMemberRequest, InviteSiteMemberResponse, UpdateSiteMemberRoleRequest, UpdateSiteMemberRoleResponse, RemoveSiteMemberResponse, RevokeSiteInvitationResponse, ResendSiteInvitationResponse, TransferSiteOwnershipRequest, TransferSiteOwnershipResponse, AcceptSiteInvitationRequest, AcceptSiteInvitationResponse, DevToolsImpersonationResponse, DevToolsSeedResponse, DowngradeRole, RoleDowngradeActualRole, SiteRoleDowngradeState, DevToolsGetSiteRoleDowngradeQuery, DevToolsSetSiteRoleDowngradeRequest, SitePagePayload, SiteBySlugResponse, BlockWithContentResponse, ContentDataResponse, RedirectHttpStatus, SdkRouteDecisionResponse, SdkRouteOutcomeResponse, BackupAccessImportResult, BackupImportResponse, PreviewKeyRecord, ApiKeyAccessLogRecord, ListSiteApiKeysResponse, CreateSiteApiKeyRequest, CreateSiteApiKeyResponse, RevokeSiteApiKeyResponse, GetSitePreviewKeyResponse, CreateSitePreviewKeyResponse, GetSiteApiKeyAccessLogsResponse, ApiKeyAccessLogsPagination, ManagementKeyRecord, ListManagementKeysResponse, CreateManagementKeyRequest, CreateManagementKeyResponse, RevokeManagementKeyRequest, RevokeManagementKeyResponse, EventPreset, EventOnlineDetails, EventOnlineDetailsInput, StaffAssignmentMode, EventSeriesRecord, CreateEventSeriesRequest, UpdateEventSeriesRequest, EventAttendeeRecord, BookingBeforeYouComeDeliveryIssue, BookingBeforeYouComeReadiness, BookingEventSeriesAttendeeGuest, BookingEventSeriesAttendee, BookingPaymentIssueReason, BookingPaymentAttentionSummary, EventOccurrenceRecord, EventOccurrenceOverrides, EventOccurrenceStatus, EventOccurrenceDeletionEligibility, EventOccurrenceListRecord, UpdateOccurrenceRequest, VenueRecord, VenueLocation, CreateVenueRequest, UpdateVenueRequest, DeleteVenueResponse, GeocodeVenueRequest, GeocodeVenueResponse, AiPlaygroundApplyRequest, AiPlaygroundApplyResponse, BillingStatusResponse, BillingCheckoutRequest, BillingCheckoutResponse, BillingSummaryResponse, BillingSummaryComponent, BillingSummaryComponentKind, BillingSummaryComponentSource, BillingSummaryBasePlanComponent, BillingSummarySiteComponent, BillingSummaryAddOnComponent, SiteBillingCostResponse, SitePurpose, AiBrandGuidelinesExample, SiteAiBrandGuidelinesPayload, SiteAiBrandGuidelinesResponse, SiteAiProfileEntityType, SiteAiProfileLocationMode, SiteAiProfilePayload, SiteAiProfileResponse, SiteBusinessAddressPayload, SiteBusinessAddressResponse, SiteContentSamplingStats, SiteContentSampledItem, AiBrandGuidelinesGenerationContextResponse, AiBrandGuidelinesGenerateRequest, AiBrandGuidelinesGenerateResponse, DeleteAccountRequest, DeleteAccountResponse, FontRecord, ExportBackupRequest, BackupPreviewRequest, BackupPreviewResponse, CreateBackupUploadUrlRequest, CreateBackupUploadUrlResponse, DeleteBackupUploadRequest, DeleteBackupUploadResponse, ImportBackupAsNewSiteRequest, ImportBackupAsNewSiteResponse, AdminSiteCostManualReview, AdminSiteCostResponse, AdminUpdateSiteCostRequest, BulkOperationResult, SchedulePreviewRequest, SchedulePreviewResponse, AffectedOccurrence, ModifiedOccurrence, RegenerationSummary, AiGenerateSiteEntityType, AiGenerateSitePrimaryCta, AiGenerateSiteRequest, AiGenerateSiteResponse, AiSiteWizardIntakeTriageRequest, AiSiteWizardIntakeTriageResponse, AiSiteWizardTelemetryEvent, AiSiteWizardTelemetryRequest, AiSiteWizardTelemetryResponse, PublicOnboardingAttempt, PublicOnboardingAttemptPayload, PublicOnboardingLogoUploadRequest, PublicOnboardingLogoUploadResponse, PublicOnboardingLogoUploadUrlRequest, PublicOnboardingLogoUploadUrlResponse, PublicOnboardingAttemptStatus, PublicOnboardingSurfaceId, SiteGenerationScope, SiteGenerationFeatureKey, SiteWizardResumeSnapshot, SiteGenerationIntakePayload, SiteGenerationIntakeResponse, CalendarConnectionStatus, CalendarStatusResponse, DebugArtifact, DebugArtifacts, PageBlock, PageConverterOutput, PageConversionSuccess, PageConversionAttempt, PageConversionFailure, PageConversionResult, PageConvertResponse, PageConvertJobStatus, PageConvertJob, PageConvertJobEventType, PageConvertJobEvent, PageConvertJobsCreateRequest, PageConvertJobsCreateResponse, PageConvertJobsListResponse, PageConvertJobGetResponse, PageConvertJobRunResponse, PageConvertJobEventsResponse, NewsletterSettingsRecord, NewsletterSubscriberRecord, NewsletterListRecord, GetNewsletterSettingsResponse, UpdateNewsletterSettingsRequest, UpdateNewsletterSettingsResponse, ListNewsletterTagsResponse, ListNewsletterSubscribersResponse, UpsertNewsletterSubscriberRequest, UpsertNewsletterSubscriberResponse, ImportNewsletterSubscribersCsvResponse, ExportNewsletterSubscribersCsvResponse, GetNewsletterSubscriberResponse, UpdateNewsletterSubscriberRequest, UpdateNewsletterSubscriberResponse, DeleteNewsletterSubscriberResponse, AnonymizeNewsletterSubscriberResponse, ExportNewsletterSubscriberDataResponse, ListNewsletterListsResponse, CreateNewsletterListRequest, CreateNewsletterListResponse, UpdateNewsletterListRequest, UpdateNewsletterListResponse, DeleteNewsletterListResponse, ListNewsletterListMembersResponse, UpdateNewsletterListMembershipsRequest, UpdateNewsletterListMembershipsResponse, NewsletterTemplateRecord, ListNewsletterTemplatesResponse, CreateNewsletterTemplateRequest, CreateNewsletterTemplateResponse, GetNewsletterTemplateResponse, UpdateNewsletterTemplateRequest, UpdateNewsletterTemplateResponse, DeleteNewsletterTemplateResponse, PreviewNewsletterTemplateRequest, PreviewNewsletterTemplateResponse, NewsletterCampaignRecord, ListNewsletterCampaignsResponse, CreateNewsletterCampaignRequest, CreateNewsletterCampaignResponse, GetNewsletterCampaignResponse, UpdateNewsletterCampaignRequest, UpdateNewsletterCampaignResponse, DeleteNewsletterCampaignResponse, NewsletterCampaignRecipientsSummary, GetNewsletterCampaignRecipientsSummaryResponse, NewsletterCampaignStats, GetNewsletterCampaignStatsResponse, NewsletterSendJobRecord, NewsletterSendJobStatus, ListNewsletterSendJobsQuery, ListNewsletterSendJobsResponse, RetryNewsletterSendJobResponse, CancelNewsletterSendJobResponse, SiteLogActor, SiteContentActivityLogEntry, SiteFormSubmissionActivityLogEntry, SiteActivityLogEntry, ListSiteActivityLogsResponse, SiteEmailLogEntry, ListSiteEmailLogsResponse, SiteEmailEventLogEntry, ListSiteEmailEventLogsResponse, SitePublicErrorLogEntry, ListSitePublicErrorLogsResponse, } from "./types";
|
|
115
116
|
export { STAFF_OPERATIONAL_CAPABILITIES, getDefaultStaffCapabilities, } from "./types";
|
|
116
117
|
export { appointmentResourceIdFromStaffMemberId, canAccessOwnAppointmentResource, deriveLinkedAppointmentIdentity, deriveOpsLandingDestination, deriveSiteListingNavigationPlan, deriveStaffScope, deriveStaffSiteHomeDestination, getIdentityAppointmentResourceId, getIdentityAppointmentResourceIdValue, getIdentityStaffMemberId, getIdentityStaffMemberIdValue, getLinkedStaffMemberId, getOwnAppointmentResourceId, hasAppointmentStaffAccess, hasEventOpsAccess, isEventOpsOnlyUser, isLinkedAppointmentResource, isStaffScoped, isTeamMemberScope, roleAtLeast, roleAtLeastOrNone, shouldRedirectStaffScopeToOps, } from "./types";
|
|
117
118
|
export type { LinkedAppointmentIdentity, OpsLandingDestination, SiteListingDestination, SiteListingNavigationPlan, StaffMembershipInput, StaffScope, StaffSiteHomeDestination, } from "./types";
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* List of endpoint names that are part of the public SDK API.
|
|
13
13
|
* These endpoints are used by the SDK client.
|
|
14
14
|
*/
|
|
15
|
-
export declare const PUBLIC_ENDPOINT_NAMES: readonly ["getSite", "getContentByPath", "resolveRouteOutcome", "listPublishedEntries", "getPublishedEntryPreview", "getPublicFormById", "listPublicForms", "getPublicBookingServices", "getPublicChallenge", "listPublicEvents", "listPublicCourses", "listPublicTeamMembers", "getPublicSitemapRoutes"];
|
|
15
|
+
export declare const PUBLIC_ENDPOINT_NAMES: readonly ["getSite", "getContentByPath", "resolveRouteOutcome", "resolveRouteDecision", "listPublishedEntries", "getPublishedEntryPreview", "getPublicFormById", "listPublicForms", "getPublicBookingServices", "getPublicChallenge", "listPublicEvents", "listPublicCourses", "listPublicTeamMembers", "getPublicSitemapRoutes"];
|
|
16
16
|
/**
|
|
17
17
|
* Type for public endpoint names
|
|
18
18
|
*/
|
|
@@ -3,6 +3,7 @@ import type { PublicEventPricing } from "../../core/src/index";
|
|
|
3
3
|
import type { PublicEventDestination } from "./event-listing-destination";
|
|
4
4
|
import type { BookingPaymentTermsConfig, BookingPricing, DirectCheckoutCollectionOptionKind, EventAttendanceMode, EventDeliveryMode, EventPricingMode, PublicEventEligibilityTicketTypeRecord, PublicEventTicketTypeRecord } from "./bookingConfig";
|
|
5
5
|
import type { AutoAppliedDiscountPreview } from "./bookingRecords";
|
|
6
|
+
export declare const PUBLIC_EVENT_TICKET_SELECTION_CONTRACT_VERSION: "public-event-ticket-selection.v2";
|
|
6
7
|
export type EventTicketSelectionRequest = {
|
|
7
8
|
ticketTypeId?: string | null;
|
|
8
9
|
quantity: number;
|
|
@@ -726,6 +727,15 @@ export type PublicExperienceAPIEndpoints = {
|
|
|
726
727
|
params?: {
|
|
727
728
|
ids?: string;
|
|
728
729
|
};
|
|
730
|
+
} | {
|
|
731
|
+
id: string;
|
|
732
|
+
endpoint: "getPublicWeeklySlotAvailability";
|
|
733
|
+
params: {
|
|
734
|
+
serviceId: string;
|
|
735
|
+
resourceId?: string;
|
|
736
|
+
horizonWeeks?: number;
|
|
737
|
+
timezone?: string;
|
|
738
|
+
};
|
|
729
739
|
} | {
|
|
730
740
|
id: string;
|
|
731
741
|
endpoint: "getPublicFormById";
|
|
@@ -186,6 +186,7 @@ export interface RiverbankSiteConfigInput extends Omit<RiverbankSiteConfig, 'cus
|
|
|
186
186
|
export type PushSdkConfigRequest = {
|
|
187
187
|
config: RiverbankSiteConfigInput;
|
|
188
188
|
forceContentTypes?: boolean;
|
|
189
|
+
mode?: 'apply' | 'preview';
|
|
189
190
|
};
|
|
190
191
|
export type SyncCollectionResult = {
|
|
191
192
|
created: number;
|
|
@@ -226,6 +227,7 @@ export type SdkConfigSyncResult = {
|
|
|
226
227
|
};
|
|
227
228
|
export type PushSdkConfigResponse = {
|
|
228
229
|
success: true;
|
|
230
|
+
mode: 'apply' | 'preview';
|
|
229
231
|
message: string;
|
|
230
232
|
/**
|
|
231
233
|
* Legacy all-content-shaped sync payload retained for published CLIs that
|
|
@@ -4,7 +4,7 @@ import type { APIEndpoint } from "./apiEndpointTypes";
|
|
|
4
4
|
import type { AcceptAdminInviteRequest, AcceptAdminInviteResponse, AcceptSiteInvitationRequest, AcceptSiteInvitationResponse, AddCustomDomainRequest, AddCustomDomainResponse, AdminChangePlanRequest, AdminChangePlanResponse, AdminDeleteUserResponse, AuthInviteContinueRequest, AuthInviteContinueResponse, AuthInviteRegisterRequest, AuthInviteRegisterResponse, AuthResetCompleteRequest, AuthResetCompleteResponse, AuthSubmissionResult, BulkOperationResult, ChangePlanRequest, ChangePlanResponse, CreateAdminInviteRequest, CreateAdminInviteResponse, CreateAdminUserRequest, CreateAdminUserResponse, CreateAllowedDomainRequest, CreateAllowedDomainResponse, DeleteAllowedDomainResponse, DomainConfigResult, DomainSearchResultResponse, CurrentUserPractitionerLinkResponse, InviteSiteMemberRequest, InviteSiteMemberResponse, LinkCurrentUserPractitionerRequest, ListAdminInvitesResponse, ListAllowedDomainsResponse, ListSiteMembersResponse, LookupSiteDomainRequest, LookupSiteDomainResponse, MfaBackupCodesOverviewResponse, MfaBackupCodesRotateResponse, MfaOverviewResponse, MfaPhoneChallengeRequest, MfaPhoneChallengeResponse, MfaPhoneEnrollRequest, MfaPhoneEnrollResponse, MfaPhoneVerifyRequest, MfaTotpActivateRequest, MfaTotpEnrollResponse, MfaTotpVerifyRequest, MfaTotpVerifyResponse, ReauthSubmissionResult, RegisterDomainRequestPayload, RegisterDomainResponse, RegistrarBooleanMutationRequest, RegistrarLifecycleResponse, RegistrarRenewalPostureResponse, RegisterSiteDomainRequest, RegisterSiteDomainResponse, RemoveSiteMemberResponse, RevokeAdminInviteResponse, RevokeSiteInvitationResponse, ResendSiteInvitationResponse, SetHomepageRequest, SetHomepageResponse, SiteDomainContactPayload, SiteDomainRecord, TransferSiteOwnershipRequest, TransferSiteOwnershipResponse, UpdateSiteMemberRoleRequest, UpdateSiteMemberRoleResponse } from "./accessAdmin";
|
|
5
5
|
import type { AdminRoleMutationResponse, RevokeAdminRoleRequest, StartImpersonationRequest, StartImpersonationResponse, StopImpersonationRequest, StopImpersonationResponse, UpsertAdminRoleRequest } from "./admin/types";
|
|
6
6
|
import type { AccountRevokeSessionsBody, AccountRevokeSessionsResponse, AccountUpdatePasswordBody, AccountUpdatePasswordResponse, CreateManualSiteRequest, CreateManualSiteResponse } from "./siteOperations";
|
|
7
|
-
import type { BookingSessionCancelAppointmentRequest, BookingSessionCancelAppointmentResponse, BookingSessionCreateAppointmentRequest, BookingSessionCreateAppointmentResponse, BookingSessionGetAppointmentResponse, BookingSessionListEligibleAppointmentPackagesResponse, BookingSessionGetEventResponse, BookingSessionListAppointmentsResponse, BookingSessionListEventsResponse, BookingSessionListMembershipsResponse, BookingSessionListPassesResponse, BookingSessionMeResponse, BookingSessionUpdateMeRequest, BookingSessionUpdateMeResponse, PublicBookingAppointmentStatusResponse, PublicBookingAvailabilityQuery, PublicBookingAvailableDatesResponse, PublicBookingAvailableSlotsResponse, PublicBookingService, PublicCreateBookingAppointmentRequest, PublicCreateBookingAppointmentResponse, ReferenceOptionsResponse } from "./bookingOperations";
|
|
7
|
+
import type { BookingSessionCancelAppointmentRequest, BookingSessionCancelAppointmentResponse, BookingSessionCreateAppointmentRequest, BookingSessionCreateAppointmentResponse, BookingSessionGetAppointmentResponse, BookingSessionListEligibleAppointmentPackagesResponse, BookingSessionGetEventResponse, BookingSessionListAppointmentsResponse, BookingSessionListEventsResponse, BookingSessionListMembershipsResponse, BookingSessionListPassesResponse, BookingSessionMeResponse, BookingSessionUpdateMeRequest, BookingSessionUpdateMeResponse, PublicBookingAppointmentStatusResponse, PublicBookingAvailabilityQuery, PublicBookingAvailableDatesResponse, PublicBookingAvailableSlotsResponse, PublicBookingService, PublicWeeklySlotAvailabilityQuery, PublicWeeklySlotAvailabilityResponse, PublicCreateBookingAppointmentRequest, PublicCreateBookingAppointmentResponse, ReferenceOptionsResponse } from "./bookingOperations";
|
|
8
8
|
import type { ContentEntryOrPageResponse, ContentEntrySummary, ExportFormSubmissionsCsvQuery, ExportFormSubmissionsCsvResponse, CreateFormSubmissionRectificationAnnotationRequest, CreateFormSubmissionRectificationAnnotationResponse, FormRecord, FormSubmissionWithRectificationAnnotations, FormSummary, NavigationItemRecord, NavigationMenuWithItems, PublicFormRecord, PublishedContentEntryOrPageResponse, RunSdkWorkflowResponse, ScheduledContentEntryOrPageResponse, WorkflowRunStatusResponse } from "./contentRuntime";
|
|
9
9
|
import type { GetVersionHistoryResponse, ListVersionHistoryResponse, RestoreVersionHistoryRequest, RestoreVersionHistoryResponse, VersionHistoryListQuery } from "./contentVersionHistory";
|
|
10
10
|
import type { ApplyContentTemplateAddonRequest, ContentTemplateDetailsResponse, CreateTemplateBlockRequest, GetTransformsResponse, ReorderTemplateBlocksRequest, SerializedContentTypeSummary, UpdateContentTemplateBlockBindingsRequest, UpdateContentTemplateBlockRequest } from "./contentTypes";
|
|
@@ -984,6 +984,7 @@ export type SiteManagementAPIEndpoints = {
|
|
|
984
984
|
}, ReferenceOptionsResponse>;
|
|
985
985
|
getPublicBookingAvailableDates: APIEndpoint<never, PublicBookingAvailabilityQuery, PublicBookingAvailableDatesResponse>;
|
|
986
986
|
getPublicBookingAvailableSlots: APIEndpoint<never, PublicBookingAvailabilityQuery, PublicBookingAvailableSlotsResponse>;
|
|
987
|
+
getPublicWeeklySlotAvailability: APIEndpoint<never, PublicWeeklySlotAvailabilityQuery, PublicWeeklySlotAvailabilityResponse>;
|
|
987
988
|
createPublicBookingAppointment: APIEndpoint<PublicCreateBookingAppointmentRequest, never, PublicCreateBookingAppointmentResponse>;
|
|
988
989
|
getPublicBookingAppointmentStatus: APIEndpoint<never, {
|
|
989
990
|
siteId: string;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { AppointmentBookingQuestionsTask } from "./bookingOperations";
|
|
2
2
|
import type { SiteRole } from "./siteMembers";
|
|
3
|
+
import type { AdminManagedSubscriptionActionChoice, ManagedManualBillingReason, SiteBillingArrangement, SiteBillingArrangementKind, SiteBillingArrangementSubscriptionAction, SiteBillingManualReviewPayload, SiteBillingManualReviewResolutionAction, SiteBillingManualReviewStatus } from "../../billing/src/site-arrangements";
|
|
3
4
|
/**
|
|
4
5
|
* Site Operations Contracts
|
|
5
6
|
*
|
|
@@ -70,8 +71,12 @@ export type AdminSiteCostResponse = {
|
|
|
70
71
|
site: {
|
|
71
72
|
id: string;
|
|
72
73
|
name: string;
|
|
74
|
+
arrangement: SiteBillingArrangement;
|
|
75
|
+
arrangementKind: SiteBillingArrangementKind;
|
|
73
76
|
monthlyCostCents: number;
|
|
74
77
|
billingStartsAt: string | null;
|
|
78
|
+
manualReason: ManagedManualBillingReason | null;
|
|
79
|
+
manualNote: string | null;
|
|
75
80
|
formattedCost: string;
|
|
76
81
|
};
|
|
77
82
|
owner: {
|
|
@@ -88,10 +93,46 @@ export type AdminSiteCostResponse = {
|
|
|
88
93
|
formattedPreviousCost: string;
|
|
89
94
|
formattedNewCost: string;
|
|
90
95
|
}>;
|
|
96
|
+
arrangementHistory: Array<{
|
|
97
|
+
id: string;
|
|
98
|
+
previousArrangement: SiteBillingArrangementKind;
|
|
99
|
+
newArrangement: SiteBillingArrangementKind;
|
|
100
|
+
previousCostCents: number;
|
|
101
|
+
newCostCents: number;
|
|
102
|
+
previousManualReason: ManagedManualBillingReason | null;
|
|
103
|
+
newManualReason: ManagedManualBillingReason | null;
|
|
104
|
+
previousManualNote: string | null;
|
|
105
|
+
newManualNote: string | null;
|
|
106
|
+
changedBy: string;
|
|
107
|
+
reason: string | null;
|
|
108
|
+
subscriptionAction: SiteBillingArrangementSubscriptionAction;
|
|
109
|
+
subscriptionActionResult: unknown;
|
|
110
|
+
createdAt: string;
|
|
111
|
+
formattedPreviousCost: string;
|
|
112
|
+
formattedNewCost: string;
|
|
113
|
+
}>;
|
|
114
|
+
manualReviews: AdminSiteCostManualReview[];
|
|
91
115
|
};
|
|
92
|
-
export type
|
|
116
|
+
export type AdminSiteCostManualReview = SiteBillingManualReviewPayload & {
|
|
117
|
+
id: string;
|
|
118
|
+
status: SiteBillingManualReviewStatus;
|
|
119
|
+
resolutionAction: SiteBillingManualReviewResolutionAction | null;
|
|
120
|
+
createdAt: string;
|
|
121
|
+
};
|
|
122
|
+
export type AdminSiteBillingArrangementRequest = {
|
|
123
|
+
tag: "self_serve";
|
|
124
|
+
} | {
|
|
125
|
+
tag: "managed_platform_subscription";
|
|
93
126
|
monthlyCostCents: number;
|
|
94
127
|
billingStartsAt?: string | null;
|
|
128
|
+
} | {
|
|
129
|
+
tag: "managed_manual";
|
|
130
|
+
reason: ManagedManualBillingReason;
|
|
131
|
+
note?: string | null;
|
|
132
|
+
};
|
|
133
|
+
export type AdminUpdateSiteCostRequest = {
|
|
134
|
+
arrangement: AdminSiteBillingArrangementRequest;
|
|
135
|
+
subscriptionAction?: AdminManagedSubscriptionActionChoice;
|
|
95
136
|
reason?: string;
|
|
96
137
|
};
|
|
97
138
|
export type AdminSiteCostUpdateSyncResult = {
|
|
@@ -106,6 +147,15 @@ export type AdminSiteCostUpdateSyncResult = {
|
|
|
106
147
|
} | {
|
|
107
148
|
status: "failed";
|
|
108
149
|
message: string;
|
|
150
|
+
} | {
|
|
151
|
+
status: "cancelled";
|
|
152
|
+
message: null;
|
|
153
|
+
} | {
|
|
154
|
+
status: "scheduled_cancel_at_period_end";
|
|
155
|
+
message: null;
|
|
156
|
+
} | {
|
|
157
|
+
status: "manual_review_required";
|
|
158
|
+
message: string;
|
|
109
159
|
};
|
|
110
160
|
export type AdminUpdateSiteCostResponse = AdminSiteCostResponse & {
|
|
111
161
|
subscriptionSync: AdminSiteCostUpdateSyncResult;
|
|
@@ -120,6 +170,20 @@ export type AdminScheduleBillingComponentEndResponse = {
|
|
|
120
170
|
endsAt: string;
|
|
121
171
|
};
|
|
122
172
|
};
|
|
173
|
+
export type AdminResolveSiteBillingManualReviewRequest = {
|
|
174
|
+
resolutionAction: SiteBillingManualReviewResolutionAction;
|
|
175
|
+
resolutionNote: string;
|
|
176
|
+
};
|
|
177
|
+
export type AdminResolveSiteBillingManualReviewResponse = {
|
|
178
|
+
review: {
|
|
179
|
+
id: string;
|
|
180
|
+
status: SiteBillingManualReviewStatus;
|
|
181
|
+
resolutionAction: SiteBillingManualReviewResolutionAction | null;
|
|
182
|
+
resolvedAt: string | null;
|
|
183
|
+
resolvedBy: string | null;
|
|
184
|
+
resolutionNote: string | null;
|
|
185
|
+
};
|
|
186
|
+
};
|
|
123
187
|
export type ListGscPropertiesAdminResponse = {
|
|
124
188
|
properties: Array<{
|
|
125
189
|
id: string;
|
|
@@ -8,7 +8,7 @@ import type { APIEndpoint } from './apiEndpointTypes';
|
|
|
8
8
|
import type { AnalyticsReportQuery, AnalyticsReportResponse } from './analytics';
|
|
9
9
|
import type { CreateMediaAssetBody, MediaAssetResponse, MediaAssetFileFilterContract, MediaBulkDeleteResponse, MediaClassifyJobResponse, MediaJobSummaryResponse, MediaLabelSummary, MediaSettingsResponse } from './media';
|
|
10
10
|
import type { MediaUsageCheckResponse } from './shared-contracts';
|
|
11
|
-
import type { BlockWithContentResponse, BlockListItem, ContentEntryListStage, EntryPageContentSlotsResponse, ListPublishedEntriesResponse, PageDraftRecord, PublishedBlockBaseline, PublishedContentEntryPreviewResponse, PublishedPostPreviewResponse, SdkBlockContent, SdkRuntimeContentByPathResponse, SdkRouteOutcomeResponse, SdkTemplate, SiteBySlugResponse, ThemeGenerationTurn, ThemePreferencesRecord, ThemeRow } from './contentRuntime';
|
|
11
|
+
import type { BlockWithContentResponse, BlockListItem, ContentEntryListStage, EntryPageContentSlotsResponse, ListPublishedEntriesResponse, PageDraftRecord, PublishedBlockBaseline, PublishedContentEntryPreviewResponse, PublishedPostPreviewResponse, SdkBlockContent, SdkRuntimeContentByPathResponse, SdkRouteDecisionResponse, SdkRouteOutcomeResponse, SdkTemplate, SiteBySlugResponse, ThemeGenerationTurn, ThemePreferencesRecord, ThemeRow } from './contentRuntime';
|
|
12
12
|
import type { GetVersionHistoryResponse, ListVersionHistoryResponse, RestoreVersionHistoryRequest, RestoreVersionHistoryResponse, VersionHistoryListQuery } from './contentVersionHistory';
|
|
13
13
|
import type { CreateMediaUploadUrlRequest, CreateMediaUploadUrlResponse, CreateSiteLogoUploadUrlRequest, CreateSiteLogoUploadUrlResponse, MediaUploadFinalizeRequest, UploadSiteLogoRequest } from './siteInfrastructure';
|
|
14
14
|
import type { DevToolsGetSiteRoleDowngradeQuery, DevToolsImpersonationResponse, DevToolsSeedResponse, DevToolsSetSiteRoleDowngradeRequest, SiteRoleDowngradeState } from './siteOperations';
|
|
@@ -584,12 +584,18 @@ export type SiteRuntimeAPIEndpoints = {
|
|
|
584
584
|
siteId: string;
|
|
585
585
|
path: string;
|
|
586
586
|
preview?: boolean;
|
|
587
|
+
contentContract?: 'compat' | 'native';
|
|
587
588
|
}, SdkRuntimeContentByPathResponse>;
|
|
588
589
|
resolveRouteOutcome: APIEndpoint<never, {
|
|
589
590
|
siteId: string;
|
|
590
591
|
path: string;
|
|
591
592
|
preview?: boolean;
|
|
592
593
|
}, SdkRouteOutcomeResponse>;
|
|
594
|
+
resolveRouteDecision: APIEndpoint<never, {
|
|
595
|
+
siteId: string;
|
|
596
|
+
path: string;
|
|
597
|
+
preview?: boolean;
|
|
598
|
+
}, SdkRouteDecisionResponse>;
|
|
593
599
|
getPageByPath: APIEndpoint<never, {
|
|
594
600
|
siteId: string;
|
|
595
601
|
path: string;
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
import { type PositiveCents, type Result } from '../../core/src/index';
|
|
2
|
+
export declare const SITE_BILLING_ARRANGEMENT_KINDS: readonly ["self_serve", "managed_platform_subscription", "managed_manual"];
|
|
3
|
+
export type SiteBillingArrangementKind = (typeof SITE_BILLING_ARRANGEMENT_KINDS)[number];
|
|
4
|
+
export declare const MANAGED_MANUAL_BILLING_REASONS: readonly ["bank_transfer", "testing_exchange", "complimentary", "other"];
|
|
5
|
+
export type ManagedManualBillingReason = (typeof MANAGED_MANUAL_BILLING_REASONS)[number];
|
|
6
|
+
export type SiteBillingArrangement = Readonly<{
|
|
7
|
+
tag: 'self_serve';
|
|
8
|
+
}> | Readonly<{
|
|
9
|
+
tag: 'managed_platform_subscription';
|
|
10
|
+
monthlyCostCents: PositiveCents;
|
|
11
|
+
billingStartsAt: string | null;
|
|
12
|
+
}> | Readonly<{
|
|
13
|
+
tag: 'managed_manual';
|
|
14
|
+
reason: ManagedManualBillingReason;
|
|
15
|
+
note: string | null;
|
|
16
|
+
}>;
|
|
17
|
+
export type SiteBillingArrangementRow = Readonly<{
|
|
18
|
+
siteBillingArrangement: string | null | undefined;
|
|
19
|
+
monthlyCostCents: number | null | undefined;
|
|
20
|
+
billingStartsAt: string | null | undefined;
|
|
21
|
+
siteBillingManualReason?: string | null | undefined;
|
|
22
|
+
siteBillingManualNote?: string | null | undefined;
|
|
23
|
+
}>;
|
|
24
|
+
export type SiteBillingArrangementParseError = Readonly<{
|
|
25
|
+
kind: 'unknown_arrangement';
|
|
26
|
+
value: string | null | undefined;
|
|
27
|
+
}> | Readonly<{
|
|
28
|
+
kind: 'invalid_platform_cost';
|
|
29
|
+
value: number | null | undefined;
|
|
30
|
+
}> | Readonly<{
|
|
31
|
+
kind: 'unexpected_platform_fields_for_self_serve';
|
|
32
|
+
}> | Readonly<{
|
|
33
|
+
kind: 'missing_manual_reason';
|
|
34
|
+
}> | Readonly<{
|
|
35
|
+
kind: 'unknown_manual_reason';
|
|
36
|
+
value: string | null | undefined;
|
|
37
|
+
}> | Readonly<{
|
|
38
|
+
kind: 'unexpected_platform_fields_for_manual';
|
|
39
|
+
}> | Readonly<{
|
|
40
|
+
kind: 'unexpected_manual_fields_for_non_manual';
|
|
41
|
+
}>;
|
|
42
|
+
export type SiteBillingArrangementStorageFields = Readonly<{
|
|
43
|
+
siteBillingArrangement: SiteBillingArrangementKind;
|
|
44
|
+
monthlyCostCents: number;
|
|
45
|
+
billingStartsAt: string | null;
|
|
46
|
+
siteBillingManualReason: ManagedManualBillingReason | null;
|
|
47
|
+
siteBillingManualNote: string | null;
|
|
48
|
+
}>;
|
|
49
|
+
export type BillingSubscriptionOrigin = 'self_serve_plan' | 'managed_site_aggregate';
|
|
50
|
+
export declare const BILLING_SUBSCRIPTION_ORIGINS: readonly ["self_serve_plan", "managed_site_aggregate"];
|
|
51
|
+
export type AdminManagedSubscriptionActionChoice = 'cancel_immediately' | 'cancel_at_period_end' | 'manual_review';
|
|
52
|
+
export type ActiveSiteLinkedPlatformAddOn = Readonly<{
|
|
53
|
+
id: string;
|
|
54
|
+
kind: string;
|
|
55
|
+
}>;
|
|
56
|
+
export type SiteBillingSubscriptionSnapshot = Readonly<{
|
|
57
|
+
id: string;
|
|
58
|
+
origin: BillingSubscriptionOrigin | null;
|
|
59
|
+
status: string;
|
|
60
|
+
}> | null;
|
|
61
|
+
export type SiteBillingManualReviewReason = 'ambiguous_subscription_origin' | 'active_site_linked_add_on' | 'admin_requested_manual_review' | 'missing_admin_subscription_choice' | 'subscription_action_failed';
|
|
62
|
+
export declare const SITE_BILLING_MANUAL_REVIEW_REASONS: readonly ["ambiguous_subscription_origin", "active_site_linked_add_on", "admin_requested_manual_review", "missing_admin_subscription_choice", "subscription_action_failed"];
|
|
63
|
+
export type SiteBillingManualReviewStatus = 'open' | 'resolved';
|
|
64
|
+
export declare const SITE_BILLING_MANUAL_REVIEW_STATUSES: readonly ["open", "resolved"];
|
|
65
|
+
export type SiteBillingManualReviewResolutionAction = 'external_action_completed' | 'no_action_needed' | 'duplicate' | 'superseded_by_arrangement_change' | 'accepted_risk';
|
|
66
|
+
export declare const SITE_BILLING_MANUAL_REVIEW_RESOLUTION_ACTIONS: readonly ["external_action_completed", "no_action_needed", "duplicate", "superseded_by_arrangement_change", "accepted_risk"];
|
|
67
|
+
export type SiteBillingManualReviewFailureAction = 'cancel_immediately' | 'cancel_at_period_end' | 'sync_existing_subscription' | 'post_stripe_arrangement_update_failed';
|
|
68
|
+
export type SiteBillingManualReviewDetailsByReason = Readonly<{
|
|
69
|
+
ambiguous_subscription_origin: Readonly<{
|
|
70
|
+
subscriptionId: string | null;
|
|
71
|
+
}>;
|
|
72
|
+
active_site_linked_add_on: Readonly<{
|
|
73
|
+
activeAddOnIds: readonly string[];
|
|
74
|
+
}>;
|
|
75
|
+
admin_requested_manual_review: Readonly<{
|
|
76
|
+
subscriptionId: string | null;
|
|
77
|
+
}>;
|
|
78
|
+
missing_admin_subscription_choice: Readonly<{
|
|
79
|
+
subscriptionId: string | null;
|
|
80
|
+
}>;
|
|
81
|
+
subscription_action_failed: Readonly<{
|
|
82
|
+
action: SiteBillingManualReviewFailureAction;
|
|
83
|
+
error: string;
|
|
84
|
+
stripeSubscriptionId: string | null;
|
|
85
|
+
externalActionCompleted?: boolean;
|
|
86
|
+
transitionAttemptId?: string | null;
|
|
87
|
+
}>;
|
|
88
|
+
}>;
|
|
89
|
+
export type SiteBillingManualReviewPayload = {
|
|
90
|
+
[TReason in SiteBillingManualReviewReason]: Readonly<{
|
|
91
|
+
reason: TReason;
|
|
92
|
+
details: SiteBillingManualReviewDetailsByReason[TReason];
|
|
93
|
+
}>;
|
|
94
|
+
}[SiteBillingManualReviewReason];
|
|
95
|
+
export type SiteBillingArrangementPlanManualReviewReason = Exclude<SiteBillingManualReviewReason, 'subscription_action_failed'>;
|
|
96
|
+
export type SiteBillingArrangementSubscriptionAction = 'not_applicable' | 'sync_attempted' | 'cancelled_immediately' | 'scheduled_cancel_at_period_end' | 'manual_review_required' | 'failed';
|
|
97
|
+
export declare const SITE_BILLING_ARRANGEMENT_SUBSCRIPTION_ACTIONS: readonly ["not_applicable", "sync_attempted", "cancelled_immediately", "scheduled_cancel_at_period_end", "manual_review_required", "failed"];
|
|
98
|
+
export type SiteBillingTransitionAttemptStatus = 'pending_external_action' | 'external_action_succeeded' | 'finalized' | 'failed';
|
|
99
|
+
export declare const SITE_BILLING_TRANSITION_ATTEMPT_STATUSES: readonly ["pending_external_action", "external_action_succeeded", "finalized", "failed"];
|
|
100
|
+
export type SiteBillingArrangementChangePlan = Readonly<{
|
|
101
|
+
tag: 'no_stripe_action';
|
|
102
|
+
}> | Readonly<{
|
|
103
|
+
tag: 'sync_existing_subscription';
|
|
104
|
+
}> | Readonly<{
|
|
105
|
+
tag: 'cancel_managed_site_subscription';
|
|
106
|
+
timing: 'immediate' | 'period_end';
|
|
107
|
+
subscriptionId: string;
|
|
108
|
+
}> | Readonly<{
|
|
109
|
+
tag: 'manual_review_required';
|
|
110
|
+
reason: SiteBillingArrangementPlanManualReviewReason;
|
|
111
|
+
subscriptionId?: string;
|
|
112
|
+
activeAddOnIds?: readonly string[];
|
|
113
|
+
}>;
|
|
114
|
+
export declare function isSiteBillingArrangementKind(value: string | null | undefined): value is SiteBillingArrangementKind;
|
|
115
|
+
export declare function isManagedManualBillingReason(value: string | null | undefined): value is ManagedManualBillingReason;
|
|
116
|
+
export declare function isBillingSubscriptionOrigin(value: string | null | undefined): value is BillingSubscriptionOrigin;
|
|
117
|
+
export declare function isSiteBillingArrangementSubscriptionAction(value: string | null | undefined): value is SiteBillingArrangementSubscriptionAction;
|
|
118
|
+
export declare function isSiteBillingManualReviewReason(value: string | null | undefined): value is SiteBillingManualReviewReason;
|
|
119
|
+
export declare function isSiteBillingManualReviewStatus(value: string | null | undefined): value is SiteBillingManualReviewStatus;
|
|
120
|
+
export declare function isSiteBillingManualReviewResolutionAction(value: string | null | undefined): value is SiteBillingManualReviewResolutionAction;
|
|
121
|
+
export declare function isSiteBillingTransitionAttemptStatus(value: string | null | undefined): value is SiteBillingTransitionAttemptStatus;
|
|
122
|
+
export declare function normalizeSiteBillingManualReviewPayload(payload: SiteBillingManualReviewPayload): SiteBillingManualReviewPayload;
|
|
123
|
+
export declare function parseSiteBillingArrangement(row: SiteBillingArrangementRow): Result<SiteBillingArrangement, SiteBillingArrangementParseError>;
|
|
124
|
+
export declare function unwrapSiteBillingArrangement(row: SiteBillingArrangementRow): SiteBillingArrangement;
|
|
125
|
+
export declare function siteBillingArrangementToStorage(arrangement: SiteBillingArrangement): SiteBillingArrangementStorageFields;
|
|
126
|
+
export declare function getSiteBillingArrangementKind(arrangement: SiteBillingArrangement): SiteBillingArrangementKind;
|
|
127
|
+
export declare function grantsStudioEquivalentEntitlements(arrangement: SiteBillingArrangement): boolean;
|
|
128
|
+
export declare function isManagedSiteArrangement(arrangement: SiteBillingArrangement): boolean;
|
|
129
|
+
export declare function isPlatformCollectedManagedSite(arrangement: SiteBillingArrangement): arrangement is Extract<SiteBillingArrangement, {
|
|
130
|
+
tag: 'managed_platform_subscription';
|
|
131
|
+
}>;
|
|
132
|
+
export declare function requiresSiteBillingCheckout(arrangement: SiteBillingArrangement): boolean;
|
|
133
|
+
export declare function countsAsSelfServeMacadamiaSite(arrangement: SiteBillingArrangement): boolean;
|
|
134
|
+
export declare function toChargeableManagedSiteCost(site: Readonly<{
|
|
135
|
+
siteId: string;
|
|
136
|
+
siteName: string;
|
|
137
|
+
arrangement: SiteBillingArrangement;
|
|
138
|
+
}>): Readonly<{
|
|
139
|
+
siteId: string;
|
|
140
|
+
siteName: string;
|
|
141
|
+
monthlyCostCents: number;
|
|
142
|
+
billingStartsAt: string | null;
|
|
143
|
+
}> | null;
|
|
144
|
+
export declare function planSiteBillingArrangementChange(input: Readonly<{
|
|
145
|
+
previous: SiteBillingArrangement;
|
|
146
|
+
next: SiteBillingArrangement;
|
|
147
|
+
subscription: SiteBillingSubscriptionSnapshot;
|
|
148
|
+
activeSiteLinkedAddOns: readonly ActiveSiteLinkedPlatformAddOn[];
|
|
149
|
+
adminSubscriptionAction?: AdminManagedSubscriptionActionChoice | null;
|
|
150
|
+
}>): SiteBillingArrangementChangePlan;
|
|
151
|
+
export declare function isSubscriptionActiveForArrangementPlanning(status: string): boolean;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import type { BillingInterval } from '../plans/types';
|
|
2
|
+
import type { BillingSubscriptionOrigin } from '../site-arrangements';
|
|
2
3
|
export type SubscriptionStatus = 'incomplete' | 'trialing' | 'active' | 'past_due' | 'canceled' | 'unpaid';
|
|
3
4
|
export interface SubscriptionRecord {
|
|
4
5
|
id: string;
|
|
5
6
|
userId: string;
|
|
6
7
|
customerId: string;
|
|
7
8
|
planId: string;
|
|
9
|
+
origin: BillingSubscriptionOrigin | null;
|
|
8
10
|
interval: BillingInterval;
|
|
9
11
|
status: SubscriptionStatus;
|
|
10
12
|
currentPeriodEnd: string;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { type ResolveImageUrlContext } from '../../../../../blocks/src/index';
|
|
1
|
+
import { resolveImageUrlWithContext, type ResolveImageUrlContext } from '../../../../../blocks/src/index';
|
|
2
2
|
type ResolveRepeaterThumbnailOptions = {
|
|
3
3
|
siteId?: string;
|
|
4
4
|
imageResolveContext?: ResolveImageUrlContext;
|
|
5
|
+
resolveImageUrl?: typeof resolveImageUrlWithContext;
|
|
5
6
|
};
|
|
6
7
|
export type ResolvedRepeaterThumbnail = {
|
|
7
8
|
src: string | null;
|