@riverbankcms/sdk 0.144.0 → 0.146.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/CHANGELOG.md +17 -0
- package/dist/{PreviewEditorSidebar-CQZNnFiM.mjs → PreviewEditorSidebar-kg2r2Fyi.mjs} +4 -4
- package/dist/{PreviewEditorUI-DCNxnmI0.mjs → PreviewEditorUI-sWMLp5dT.mjs} +3 -3
- package/dist/{PreviewQueryProvider-BCYICImX.mjs → PreviewQueryProvider-Cg51xq1w.mjs} +1 -1
- package/dist/{SdkPreviewModeRuntime-BJolUbr1.mjs → SdkPreviewModeRuntime-h2ti3Hch.mjs} +688 -519
- package/dist/{SiteChromeCustomizeContext-CKgEpoxi.mjs → SiteChromeCustomizeContext-DEACFH9m.mjs} +3381 -2017
- package/dist/_dts/ai/src/contracts/proposals.d.ts +5643 -66
- package/dist/_dts/ai/src/contracts/siteStyleProposalSchemas.d.ts +513 -6
- package/dist/_dts/api/src/appointmentEndpointDefinitions.d.ts +49 -0
- package/dist/_dts/api/src/appointmentServiceCategoryEndpoints.d.ts +75 -0
- package/dist/_dts/api/src/appointmentServiceContracts.d.ts +80 -0
- package/dist/_dts/api/src/appointmentSetup.d.ts +8 -1
- package/dist/_dts/api/src/bookingConfig.d.ts +8 -1
- package/dist/_dts/api/src/bookingManagementEndpoints.d.ts +10 -26
- package/dist/_dts/api/src/bookingManagementEventEndpointTypes.d.ts +45 -1
- package/dist/_dts/api/src/clientErrorReporting.d.ts +50 -0
- package/dist/_dts/api/src/communications.d.ts +32 -24
- package/dist/_dts/api/src/contentRuntime.d.ts +3 -5
- package/dist/_dts/api/src/endpoints.d.ts +316 -134
- package/dist/_dts/api/src/event-visibility.d.ts +20 -0
- package/dist/_dts/api/src/eventManagementContracts.d.ts +56 -3
- package/dist/_dts/api/src/eventManagementEndpointDefinitions.d.ts +24 -0
- package/dist/_dts/api/src/eventPageWords.d.ts +19 -0
- package/dist/_dts/api/src/eventSeriesRegistrationEndpointDefinitions.d.ts +14 -0
- package/dist/_dts/api/src/index.d.ts +7 -1
- package/dist/_dts/api/src/indexCoreTypes.d.ts +1 -1
- package/dist/_dts/api/src/indexExtendedTypes.d.ts +1 -1
- package/dist/_dts/api/src/launchReadiness.d.ts +22 -2
- package/dist/_dts/api/src/launchRequirementPriority.d.ts +3 -0
- package/dist/_dts/api/src/newsletterCampaignCommandEndpoints.d.ts +13 -0
- package/dist/_dts/api/src/newsletterEndpointDefinitions.d.ts +30 -11
- package/dist/_dts/api/src/occurrenceScheduling.d.ts +10 -0
- package/dist/_dts/api/src/onboarding/confirmationResend.d.ts +3 -0
- package/dist/_dts/api/src/pageSurfaceEndpoints.d.ts +44 -0
- package/dist/_dts/api/src/participantMessaging.d.ts +11 -1
- package/dist/_dts/api/src/publicBookingService.d.ts +35 -1
- package/dist/_dts/api/src/publicExperience/newsletterEndpoints.d.ts +13 -0
- package/dist/_dts/api/src/publicNewsletterEndpointDefinitions.d.ts +58 -0
- package/dist/_dts/api/src/schemas/admin-observability-logs.d.ts +3 -3
- package/dist/_dts/api/src/sdk-event-upsert.d.ts +40 -1
- package/dist/_dts/api/src/sdkContracts.d.ts +3 -42
- package/dist/_dts/api/src/sdkCourseBooking.d.ts +30 -0
- package/dist/_dts/api/src/sdkEventEndpointDefinitions.d.ts +76 -0
- package/dist/_dts/api/src/sdkEventLifecycle.d.ts +37 -0
- package/dist/_dts/api/src/sdkManagedEventContracts.d.ts +18 -0
- package/dist/_dts/api/src/sdkPageDesign.d.ts +388 -0
- package/dist/_dts/api/src/sdkPageDesignEndpointDefinitions.d.ts +22 -0
- package/dist/_dts/api/src/sdkPullEventContracts.d.ts +46 -0
- package/dist/_dts/api/src/siteAddressEndpoints.d.ts +29 -0
- package/dist/_dts/api/src/siteManagementEndpointDefinitions.d.ts +49 -0
- package/dist/_dts/api/src/siteManagementEndpoints.d.ts +4 -38
- package/dist/_dts/api/src/siteOnboarding.d.ts +75 -9
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +1 -1
- package/dist/_dts/api/src/types.d.ts +8 -1
- package/dist/_dts/api/src/wholeSeriesRuns.d.ts +14 -0
- package/dist/_dts/blocks/src/PageRenderer.d.ts +4 -4
- package/dist/_dts/blocks/src/bindings/index.d.ts +2 -2
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +24 -0
- package/dist/_dts/blocks/src/index.d.ts +3 -1
- package/dist/_dts/blocks/src/pageRenderAdmission.d.ts +10 -0
- package/dist/_dts/blocks/src/pageRenderJoins.d.ts +68 -0
- package/dist/_dts/blocks/src/pageRenderPlan.d.ts +8 -27
- package/dist/_dts/blocks/src/pageRenderPreparation.d.ts +7 -4
- package/dist/_dts/blocks/src/pageRendererBoundaries.d.ts +40 -23
- package/dist/_dts/blocks/src/pageRendererContracts.d.ts +3 -1
- package/dist/_dts/blocks/src/server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/appointment-services.d.ts +2 -0
- package/dist/_dts/blocks/src/system/blocks/events/eventSelectionFields.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/events/shared/calendarWindow.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +27 -5
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +14 -1
- package/dist/_dts/blocks/src/system/blocks/location-map.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +47 -47
- package/dist/_dts/blocks/src/system/icons/social.d.ts +1 -1
- package/dist/_dts/blocks/src/system/manifest/schema.d.ts +29 -3
- package/dist/_dts/blocks/src/system/registry.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessBookingFlow.d.ts +8 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/appointment-services.d.ts +22 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.headless.state.d.ts +3 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.interactive.d.ts +57 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.service-categories.d.ts +29 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.service-choices.d.ts +13 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.state.d.ts +3 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-runtime-sources.d.ts +13 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/eventSourceRecovery.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCollectionContract.d.ts +23 -7
- package/dist/_dts/blocks/src/system/runtime/nodes/form.fields.d.ts +5 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.block-submission.d.ts +36 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.client.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.interactive.d.ts +6 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.parts.d.ts +46 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.submission.d.ts +20 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.types.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/resolver.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/shared/components/CheckboxChoice.d.ts +18 -0
- package/dist/_dts/blocks/src/system/runtime/shared/components/index.d.ts +1 -0
- package/dist/_dts/content-editor/src/index.d.ts +1 -0
- package/dist/_dts/content-editor/src/primitives/previewEditableOutline.d.ts +2 -0
- package/dist/_dts/content-editor/src/ui/editorBlockEquality.d.ts +3 -0
- package/dist/_dts/content-editor/src/ui/editorSnapshot.d.ts +3 -3
- package/dist/_dts/content-model/src/content-types/schema.d.ts +1 -1
- package/dist/_dts/core/src/appointment-service-categories.d.ts +108 -0
- package/dist/_dts/core/src/block-content-identity.d.ts +5 -0
- package/dist/_dts/core/src/editor-state.d.ts +2 -1
- package/dist/_dts/core/src/index.d.ts +2 -0
- package/dist/_dts/core/src/mailing-list-submission.d.ts +3 -1
- package/dist/_dts/core/src/public-event-booking-availability.d.ts +20 -1
- package/dist/_dts/core/src/public-profile.d.ts +12 -1
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +711 -242
- package/dist/_dts/editor-blocks/src/BlockEditor.d.ts +3 -0
- package/dist/_dts/editor-blocks/src/block-editor/EmptyState.d.ts +13 -1
- package/dist/_dts/editor-blocks/src/block-editor/types.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/index.d.ts +1 -0
- package/dist/_dts/editor-blocks/src/widgets/site-option-picker/loaders.d.ts +16 -1
- package/dist/_dts/editor-blocks/src/widgets/site-option-picker/types.d.ts +13 -0
- package/dist/_dts/editor-blocks/src/widgets/site-option-picker/utils.d.ts +29 -0
- package/dist/_dts/preview-next/src/client/blocks/BoundaryControl.d.ts +7 -2
- package/dist/_dts/preview-next/src/client/blocks/composer/mergeDrafts.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/blocks/composer/types.d.ts +3 -3
- package/dist/_dts/preview-next/src/client/blocks/previewProjection/applyPreviewProjections.d.ts +1 -3
- package/dist/_dts/preview-next/src/client/blocks/previewProjection/runtimeContentDecoration.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/blocks/previewProjection/types.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/preview/PreviewEntryControllerProvider.d.ts +1 -1
- package/dist/_dts/sdk/src/client/runtimeCacheKeys.d.ts +8 -0
- package/dist/_dts/sdk/src/client/types.d.ts +1 -1
- package/dist/_dts/sdk/src/contracts/index.d.ts +1 -1
- package/dist/_dts/sdk/src/contracts/page.d.ts +7 -2
- package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +5 -0
- package/dist/_dts/sdk/src/manifest/passes/pass1-fields.d.ts +2 -2
- package/dist/_dts/sdk/src/next/renderSdkContent.d.ts +0 -1
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +6 -8
- package/dist/_dts/sdk/src/rendering/blocks-page-renderer.d.ts +4 -4
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +4 -4
- package/dist/_dts/sdk/src/rendering/helpers/loadContent.d.ts +7 -2
- package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +5 -2
- package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +6 -1
- package/dist/_dts/sdk/src/rendering/helpers/templateContent.d.ts +2 -0
- package/dist/_dts/sdk/src/rendering/hooks/useContent.d.ts +6 -2
- package/dist/_dts/sdk/src/rendering/hooks/usePage.d.ts +5 -1
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/surfaces/src/index.d.ts +10 -0
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/inputs/checkable.d.ts +42 -0
- package/dist/_dts/theme-core/src/inputs/inputGroup.d.ts +19 -0
- package/dist/_dts/theme-core/src/layout/boundaryCss.d.ts +3 -0
- package/dist/_dts/theme-core/src/site-styles/compositionBudget.d.ts +8 -0
- package/dist/_dts/theme-core/src/site-styles/contentTemplateRuntimeCompiler.d.ts +3 -2
- package/dist/_dts/theme-core/src/site-styles/designState.d.ts +1 -3
- package/dist/_dts/theme-core/src/site-styles/generatedDesignPipeline.d.ts +3 -0
- package/dist/_dts/theme-core/src/site-styles/index.d.ts +3 -0
- package/dist/_dts/theme-core/src/site-styles/joinTreatment.d.ts +132 -0
- package/dist/_dts/theme-core/src/site-styles/pageDesignEditorBoundaries.d.ts +31 -0
- package/dist/_dts/theme-core/src/site-styles/pageDesignEditorModel.d.ts +33 -29
- package/dist/_dts/theme-core/src/site-styles/pageDesignIntent.d.ts +4 -4
- package/dist/_dts/theme-core/src/site-styles/pageFlowPresets.d.ts +36 -0
- package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +4 -10
- package/dist/_dts/theme-core/src/site-styles/rawStyleFields.d.ts +17 -4
- package/dist/_dts/theme-core/src/site-styles/runtimeCompiler.d.ts +20 -74
- package/dist/_dts/theme-core/src/site-styles/sectionBoundaryComposition.d.ts +95 -0
- package/dist/_dts/theme-core/src/site-styles/sectionTransitions.d.ts +80 -518
- package/dist/_dts/theme-core/src/site-styles/siteStyleBlockPolicies.d.ts +9 -4
- package/dist/_dts/theme-core/src/site-styles/transitionCatalogue.d.ts +320 -0
- package/dist/_dts/theme-core/src/site-styles/types.d.ts +3 -18
- package/dist/_dts/ui/src/navigation-tabs.d.ts +2 -1
- package/dist/client/{BookingConsentAgreement-DoAILrkN.mjs → BookingConsentAgreement-BQKL045f.mjs} +2 -2
- package/dist/client/CheckboxChoice--W2n6yKs.mjs +24 -0
- package/dist/client/{DiscountCodeDisclosure-X528hUTf.mjs → DiscountCodeDisclosure-CsOtjFY7.mjs} +1 -1
- package/dist/client/{EventCombined.client-DSBVwq5m.mjs → EventCombined.client-BdRjVbhH.mjs} +6 -6
- package/dist/client/{EventListing.client-DmFAX7Vb.mjs → EventListing.client-DBxC6xOU.mjs} +2 -2
- package/dist/client/{LeafletStaticMap-BAqXdfhq.mjs → LeafletStaticMap-mHEJKrTs.mjs} +1 -1
- package/dist/client/{ThemedButton-BwNFVwi4.mjs → ThemedButton-CE5KYT6z.mjs} +1 -1
- package/dist/client/{accordion-DRhMdkbd.mjs → accordion-BEQNSptH.mjs} +1 -1
- package/dist/client/{bookingForm-iJ_nCsNF.mjs → bookingForm-AMr-s5vw.mjs} +168 -95
- package/dist/client/bookings.mjs +239 -110
- package/dist/client/{carousel-D8zuffZr.mjs → carousel-Bbt_QgJy.mjs} +1 -1
- package/dist/client/{cart-DeMGJViN.mjs → cart-CnWi30zJ.mjs} +3 -3
- package/dist/client/{checkout-DXc06Km2.mjs → checkout-f3nkWgd4.mjs} +3 -3
- package/dist/client/client.mjs +3222 -1612
- package/dist/client/{context-CDLCfDep.mjs → context-Bc8T6pCe.mjs} +1 -1
- package/dist/client/{dates-ClFx7Epy.mjs → dates-DUsCEzLb.mjs} +2 -3
- package/dist/client/{eventCalendar-BaGpnOGN.mjs → eventCalendar-CKwgXui5.mjs} +9 -9
- package/dist/client/{eventCombined-ywONOx2m.mjs → eventCombined-CBAOSTGR.mjs} +4 -4
- package/dist/client/{eventDetails-B2LlOTYY.mjs → eventDetails-Dh-_WiBD.mjs} +4 -4
- package/dist/client/{eventListing-CMgxWpqP.mjs → eventListing-CA3frIH5.mjs} +4 -4
- package/dist/client/{eventRegistration-BarLDNHR.mjs → eventRegistration-BHtsgdcg.mjs} +21 -22
- package/dist/client/{form-BjqKaBJ7.mjs → form-C2h3YAcg.mjs} +135 -104
- package/dist/client/{headerSection-CP4XDwz1.mjs → headerSection-lwMuMTH9.mjs} +3 -3
- package/dist/client/hooks.mjs +1023 -148
- package/dist/client/{locationMap-C5gW-d-w.mjs → locationMap-DJ2bLODV.mjs} +3 -3
- package/dist/client/{newsletterForm-afXlVSA0.mjs → newsletterForm-8Pu5K32g.mjs} +225 -102
- package/dist/client/{pricing-Bl1CAl28.mjs → pricing-HHx3IgBz.mjs} +1 -1
- package/dist/client/{productDetail-CvQ3jWQe.mjs → productDetail-C_1odnAf.mjs} +3 -3
- package/dist/client/{productList-U874PGO7.mjs → productList-CtCv-Nmx.mjs} +3 -3
- package/dist/client/{propsDecoder-DPXtCZWP.mjs → propsDecoder-Dcgsncxb.mjs} +111 -55
- package/dist/client/rendering/client.mjs +1389 -722
- package/dist/client/rendering/islands.mjs +17 -17
- package/dist/client/rendering.mjs +3136 -1400
- package/dist/client/{routeIslandApiConfig-NGYiUWXu.mjs → routeIslandApiConfig-CWLP7wu3.mjs} +1 -1
- package/dist/client/{scrollToBlock-0-C3DVhK.mjs → scrollToBlock-BNgaEUpo.mjs} +1 -1
- package/dist/client/{shop-BXjXhM9P.mjs → shop-DQXrQ8kJ.mjs} +7 -7
- package/dist/client/{shop-commerce-BZ6UlWJ7.mjs → shop-commerce-B88zmWWo.mjs} +6 -6
- package/dist/client/{shop-commerce-store-DlSBXb3D.mjs → shop-commerce-store-DtSfkKuX.mjs} +1 -1
- package/dist/client/{shopShared-kkEOiLPA.mjs → shopShared-cuaONpkJ.mjs} +4 -4
- package/dist/client/{useEventFilters-zvnnE1ro.mjs → useEventFilters-Bukew6Gb.mjs} +6 -6
- package/dist/preview-next/before-render.mjs +500 -165
- package/dist/preview-next/client/runtime.mjs +4 -4
- package/dist/preview-next/editor-base.css +11 -0
- package/dist/preview-next/keepAlive.mjs +460 -165
- package/dist/preview-next/middleware.mjs +461 -165
- package/dist/{previewAuthStore-JA6-I_sL.mjs → previewAuthStore-h5IgbSp4.mjs} +485 -165
- package/dist/{sdk-runtime-DFJlQt3q.mjs → sdk-runtime-DTc1uIXn.mjs} +2 -2
- package/dist/{separator-o8GHb1xh.mjs → separator-BpHS1KZK.mjs} +1 -1
- package/dist/server/components.mjs +3088 -1307
- package/dist/server/config-validation.mjs +927 -109
- package/dist/server/config.mjs +927 -109
- package/dist/server/data.mjs +939 -110
- package/dist/server/index.mjs +513 -169
- package/dist/server/next.mjs +2874 -1195
- package/dist/server/page-converter.mjs +420 -79
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +3071 -1289
- package/dist/server/rendering.mjs +3169 -1350
- package/dist/server/routing.mjs +1085 -159
- package/dist/server/server.mjs +1042 -291
- package/dist/server/theme-bridge.mjs +1658 -137
- package/dist/server/theme.mjs +6 -4
- package/dist/styles/index.css +186 -65
- package/package.json +2 -1
|
@@ -7,7 +7,7 @@ import type { RiverbankSiteConfig } from './sdkContracts';
|
|
|
7
7
|
import type { SdkBlockContentAdmission } from './sdkBlockContentAdmission';
|
|
8
8
|
import type { SiteAnalyticsSettingsPayload } from './siteAnalytics';
|
|
9
9
|
import type { SiteLayoutResolvedPayload, SiteRuntimeBusinessDetails } from './siteSettings';
|
|
10
|
-
import type { BookingEngine, CanonicalBookingBehaviour } from '../../core/src/index';
|
|
10
|
+
import type { BookingEngine, CanonicalBookingBehaviour, BlockContentIdentity } from '../../core/src/index';
|
|
11
11
|
export type SiteBookingOfferingPresetSummary = Readonly<{
|
|
12
12
|
id: string;
|
|
13
13
|
canonicalBehaviour: CanonicalBookingBehaviour;
|
|
@@ -409,7 +409,7 @@ export type SiteBySlugResponse = {
|
|
|
409
409
|
/** Pending Google Search Console verification token (for meta tag injection on homepage) */
|
|
410
410
|
googleSiteVerificationToken?: string | null;
|
|
411
411
|
};
|
|
412
|
-
export type BlockListItem = {
|
|
412
|
+
export type BlockListItem = BlockContentIdentity & {
|
|
413
413
|
id: string;
|
|
414
414
|
kind: string;
|
|
415
415
|
purpose?: string | null;
|
|
@@ -530,7 +530,7 @@ export type ListPublishedEntriesResponse<TContent = Record<string, unknown>> = {
|
|
|
530
530
|
* Note: draft/published content can contain hydrated structures; treat as `unknown` at the API layer
|
|
531
531
|
* unless/until we formalize the hydrated content schema.
|
|
532
532
|
*/
|
|
533
|
-
type SdkRuntimeBlockContent<TScope, TContentVersionId extends string | null> = TScope & {
|
|
533
|
+
type SdkRuntimeBlockContent<TScope, TContentVersionId extends string | null> = TScope & BlockContentIdentity & {
|
|
534
534
|
id: string;
|
|
535
535
|
blockId: string;
|
|
536
536
|
contentVersionId: TContentVersionId;
|
|
@@ -540,8 +540,6 @@ type SdkRuntimeBlockContent<TScope, TContentVersionId extends string | null> = T
|
|
|
540
540
|
content: Record<string, unknown>;
|
|
541
541
|
draftContent: unknown;
|
|
542
542
|
publishedContent: unknown;
|
|
543
|
-
draftContentId: string | null;
|
|
544
|
-
publishedContentId: string | null;
|
|
545
543
|
admission?: SdkBlockContentAdmission;
|
|
546
544
|
};
|
|
547
545
|
export type SdkBlockContent = SdkRuntimeBlockContent<{
|
|
@@ -408,30 +408,79 @@ export declare const API_ENDPOINTS: {
|
|
|
408
408
|
readonly auth: "service";
|
|
409
409
|
readonly responseKind: "json";
|
|
410
410
|
};
|
|
411
|
-
readonly
|
|
412
|
-
readonly path: "/sdk/{siteId}/
|
|
411
|
+
readonly sdkUpsertEntry: {
|
|
412
|
+
readonly path: "/sdk/{siteId}/entries";
|
|
413
413
|
readonly method: "POST";
|
|
414
414
|
readonly auth: "service";
|
|
415
415
|
readonly responseKind: "json";
|
|
416
416
|
};
|
|
417
|
-
readonly
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
417
|
+
readonly sdkListEvents: {
|
|
418
|
+
path: "/sdk/{siteId}/events";
|
|
419
|
+
method: "GET";
|
|
420
|
+
auth: "service";
|
|
421
|
+
responseKind: "json";
|
|
422
422
|
};
|
|
423
|
-
readonly
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
423
|
+
readonly sdkUpsertEvent: {
|
|
424
|
+
path: "/sdk/{siteId}/events";
|
|
425
|
+
method: "POST";
|
|
426
|
+
auth: "service";
|
|
427
|
+
responseKind: "json";
|
|
428
|
+
errors: ("validation:invalid_input" | "resource:not_found" | "resource:conflict" | "billing:plan_limit_exceeded" | "server:internal_error")[];
|
|
428
429
|
};
|
|
429
|
-
readonly
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
430
|
+
readonly sdkGetEvent: {
|
|
431
|
+
path: "/sdk/{siteId}/events/{identifier}";
|
|
432
|
+
method: "GET";
|
|
433
|
+
auth: "service";
|
|
434
|
+
responseKind: "json";
|
|
435
|
+
};
|
|
436
|
+
readonly sdkDeleteEvent: {
|
|
437
|
+
path: "/sdk/{siteId}/events/{identifier}";
|
|
438
|
+
method: "DELETE";
|
|
439
|
+
auth: "service";
|
|
440
|
+
responseKind: "json";
|
|
441
|
+
errors: ("resource:not_found" | "resource:conflict" | "server:internal_error")[];
|
|
442
|
+
};
|
|
443
|
+
readonly sdkTakeEventOffline: {
|
|
444
|
+
path: "/sdk/{siteId}/events/{identifier}/lifecycle";
|
|
445
|
+
method: "POST";
|
|
446
|
+
auth: "service";
|
|
447
|
+
responseKind: "json";
|
|
448
|
+
errors: ("validation:invalid_input" | "resource:not_found" | "resource:conflict" | "server:internal_error")[];
|
|
449
|
+
};
|
|
450
|
+
readonly sdkListEventOccurrences: {
|
|
451
|
+
path: "/sdk/{siteId}/events/{identifier}/runs/{runIdentifier}/occurrences";
|
|
452
|
+
method: "GET";
|
|
453
|
+
auth: "service";
|
|
454
|
+
responseKind: "json";
|
|
455
|
+
errors: ("validation:invalid_input" | "resource:not_found" | "server:internal_error")[];
|
|
456
|
+
};
|
|
457
|
+
readonly sdkAddEventOccurrence: {
|
|
458
|
+
path: "/sdk/{siteId}/events/{identifier}/runs/{runIdentifier}/occurrences";
|
|
459
|
+
method: "POST";
|
|
460
|
+
auth: "service";
|
|
461
|
+
responseKind: "json";
|
|
462
|
+
errors: ("validation:invalid_input" | "resource:not_found" | "resource:conflict" | "server:internal_error")[];
|
|
463
|
+
};
|
|
464
|
+
readonly sdkUpdateEventOccurrence: {
|
|
465
|
+
path: "/sdk/{siteId}/events/{identifier}/runs/{runIdentifier}/occurrences/{occurrenceId}";
|
|
466
|
+
method: "PATCH";
|
|
467
|
+
auth: "service";
|
|
468
|
+
responseKind: "json";
|
|
469
|
+
errors: ("validation:invalid_input" | "resource:not_found" | "resource:conflict" | "server:internal_error")[];
|
|
470
|
+
};
|
|
471
|
+
readonly sdkCancelEventOccurrence: {
|
|
472
|
+
path: "/sdk/{siteId}/events/{identifier}/runs/{runIdentifier}/occurrences/{occurrenceId}/cancel";
|
|
473
|
+
method: "POST";
|
|
474
|
+
auth: "service";
|
|
475
|
+
responseKind: "json";
|
|
476
|
+
errors: ("resource:not_found" | "resource:conflict" | "server:internal_error")[];
|
|
477
|
+
};
|
|
478
|
+
readonly sdkDeleteEventOccurrence: {
|
|
479
|
+
path: "/sdk/{siteId}/events/{identifier}/runs/{runIdentifier}/occurrences/{occurrenceId}";
|
|
480
|
+
method: "DELETE";
|
|
481
|
+
auth: "service";
|
|
482
|
+
responseKind: "json";
|
|
483
|
+
errors: ("resource:not_found" | "resource:conflict" | "server:internal_error")[];
|
|
435
484
|
};
|
|
436
485
|
readonly sdkUpsertPageBlock: {
|
|
437
486
|
readonly path: "/sdk/{siteId}/pages/{identifier}/blocks";
|
|
@@ -549,68 +598,42 @@ export declare const API_ENDPOINTS: {
|
|
|
549
598
|
readonly auth: "service";
|
|
550
599
|
readonly responseKind: "json";
|
|
551
600
|
};
|
|
552
|
-
readonly
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
readonly sdkUpsertEvent: {
|
|
559
|
-
readonly path: "/sdk/{siteId}/events";
|
|
560
|
-
readonly method: "POST";
|
|
561
|
-
readonly auth: "service";
|
|
562
|
-
readonly responseKind: "json";
|
|
563
|
-
};
|
|
564
|
-
readonly sdkGetEvent: {
|
|
565
|
-
readonly path: "/sdk/{siteId}/events/{identifier}";
|
|
566
|
-
readonly method: "GET";
|
|
567
|
-
readonly auth: "service";
|
|
568
|
-
readonly responseKind: "json";
|
|
569
|
-
};
|
|
570
|
-
readonly sdkDeleteEvent: {
|
|
571
|
-
readonly path: "/sdk/{siteId}/events/{identifier}";
|
|
572
|
-
readonly method: "DELETE";
|
|
573
|
-
readonly auth: "service";
|
|
574
|
-
readonly responseKind: "json";
|
|
601
|
+
readonly sdkGetPageDesign: {
|
|
602
|
+
path: "/sdk/{siteId}/pages/{identifier}/design";
|
|
603
|
+
method: "GET";
|
|
604
|
+
auth: "service";
|
|
605
|
+
responseKind: "json";
|
|
606
|
+
errors: ("validation:invalid_input" | "resource:not_found" | "server:internal_error")[];
|
|
575
607
|
};
|
|
576
|
-
readonly
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
608
|
+
readonly sdkSavePageDesign: {
|
|
609
|
+
path: "/sdk/{siteId}/pages/{identifier}/design";
|
|
610
|
+
method: "POST";
|
|
611
|
+
auth: "service";
|
|
612
|
+
responseKind: "json";
|
|
613
|
+
errors: ("validation:invalid_input" | "resource:not_found" | "resource:conflict" | "server:internal_error")[];
|
|
582
614
|
};
|
|
583
|
-
readonly
|
|
584
|
-
readonly path: "/sdk/{siteId}/
|
|
615
|
+
readonly sdkUpsertPage: {
|
|
616
|
+
readonly path: "/sdk/{siteId}/pages";
|
|
585
617
|
readonly method: "POST";
|
|
586
618
|
readonly auth: "service";
|
|
587
619
|
readonly responseKind: "json";
|
|
588
|
-
readonly errors: readonly ["resource:not_found", "validation:invalid_input", "resource:conflict", "server:internal_error"];
|
|
589
620
|
};
|
|
590
|
-
readonly
|
|
591
|
-
readonly path: "/sdk/{siteId}/
|
|
592
|
-
readonly method: "
|
|
621
|
+
readonly sdkPublishPage: {
|
|
622
|
+
readonly path: "/sdk/{siteId}/pages/{identifier}/publish";
|
|
623
|
+
readonly method: "POST";
|
|
593
624
|
readonly auth: "service";
|
|
594
625
|
readonly responseKind: "json";
|
|
595
|
-
readonly errors: readonly ["resource:not_found", "validation:invalid_input", "resource:conflict", "server:internal_error"];
|
|
596
626
|
};
|
|
597
|
-
readonly
|
|
598
|
-
readonly path: "/sdk/{siteId}/
|
|
627
|
+
readonly sdkUnpublishPage: {
|
|
628
|
+
readonly path: "/sdk/{siteId}/pages/{identifier}/unpublish";
|
|
599
629
|
readonly method: "POST";
|
|
600
630
|
readonly auth: "service";
|
|
601
631
|
readonly responseKind: "json";
|
|
602
|
-
readonly errors: readonly ["resource:not_found", "resource:conflict", "server:internal_error"];
|
|
603
632
|
};
|
|
604
|
-
readonly
|
|
605
|
-
readonly path: "/sdk/{siteId}/
|
|
633
|
+
readonly sdkDeletePage: {
|
|
634
|
+
readonly path: "/sdk/{siteId}/pages/{identifier}";
|
|
606
635
|
readonly method: "DELETE";
|
|
607
|
-
readonly
|
|
608
|
-
readonly responseKind: "json";
|
|
609
|
-
readonly errors: readonly ["resource:not_found", "resource:conflict", "server:internal_error"];
|
|
610
|
-
};
|
|
611
|
-
readonly sdkUpsertEntry: {
|
|
612
|
-
readonly path: "/sdk/{siteId}/entries";
|
|
613
|
-
readonly method: "POST";
|
|
636
|
+
readonly errors: readonly ["resource:not_found", "server:internal_error"];
|
|
614
637
|
readonly auth: "service";
|
|
615
638
|
readonly responseKind: "json";
|
|
616
639
|
};
|
|
@@ -1796,6 +1819,14 @@ export declare const API_ENDPOINTS: {
|
|
|
1796
1819
|
responseKind: "json";
|
|
1797
1820
|
errors: ("validation:invalid_input" | "resource:not_found" | "server:internal_error")[];
|
|
1798
1821
|
};
|
|
1822
|
+
readonly updateEventAddress: {
|
|
1823
|
+
path: "/sites/{siteId}/bookings/events/{eventId}/address";
|
|
1824
|
+
method: "PATCH";
|
|
1825
|
+
tags: ("riverbank:site:{siteId}:routable-content" | "riverbank:site:{siteId}:redirects" | "site-{siteId}" | "event-series-{siteId}")[];
|
|
1826
|
+
auth: "user";
|
|
1827
|
+
responseKind: "json";
|
|
1828
|
+
errors: ("validation:invalid_input" | "resource:not_found" | "resource:conflict" | "server:internal_error")[];
|
|
1829
|
+
};
|
|
1799
1830
|
readonly createWholeSeriesRun: {
|
|
1800
1831
|
path: "/sites/{siteId}/bookings/events/{eventId}/runs";
|
|
1801
1832
|
method: "POST";
|
|
@@ -1812,6 +1843,14 @@ export declare const API_ENDPOINTS: {
|
|
|
1812
1843
|
responseKind: "json";
|
|
1813
1844
|
errors: ("validation:invalid_input" | "resource:not_found" | "resource:conflict" | "server:internal_error")[];
|
|
1814
1845
|
};
|
|
1846
|
+
readonly updateCourseBookingSettings: {
|
|
1847
|
+
path: "/sites/{siteId}/bookings/events/{eventId}/booking-settings";
|
|
1848
|
+
method: "PATCH";
|
|
1849
|
+
tags: ("site-{siteId}" | "event-series-{siteId}")[];
|
|
1850
|
+
auth: "user";
|
|
1851
|
+
responseKind: "json";
|
|
1852
|
+
errors: ("auth:forbidden" | "validation:invalid_input" | "resource:not_found" | "resource:conflict" | "server:internal_error")[];
|
|
1853
|
+
};
|
|
1815
1854
|
readonly cancelWholeSeriesRun: {
|
|
1816
1855
|
path: "/sites/{siteId}/bookings/events/{eventId}/runs/{runId}/cancellation";
|
|
1817
1856
|
method: "POST";
|
|
@@ -1820,6 +1859,14 @@ export declare const API_ENDPOINTS: {
|
|
|
1820
1859
|
responseKind: "json";
|
|
1821
1860
|
errors: ("validation:invalid_input" | "resource:not_found" | "resource:conflict" | "server:internal_error")[];
|
|
1822
1861
|
};
|
|
1862
|
+
readonly saveEventPageWords: {
|
|
1863
|
+
path: "/sites/{siteId}/page-surfaces/{pageSurfaceId}/words";
|
|
1864
|
+
method: "PUT";
|
|
1865
|
+
tags: ("riverbank:site" | "riverbank:site:{siteId}:routable-content" | "riverbank:page-surface:{pageSurfaceId}")[];
|
|
1866
|
+
auth: "user";
|
|
1867
|
+
responseKind: "json";
|
|
1868
|
+
errors: ("auth:forbidden" | "validation:invalid_input" | "resource:not_found" | "resource:conflict" | "server:internal_error")[];
|
|
1869
|
+
};
|
|
1823
1870
|
readonly getPublicEventRegistrationStatus: {
|
|
1824
1871
|
readonly path: "/public/sites/{siteId}/events/registration-status";
|
|
1825
1872
|
readonly method: "GET";
|
|
@@ -1842,41 +1889,6 @@ export declare const API_ENDPOINTS: {
|
|
|
1842
1889
|
readonly responseKind: "text";
|
|
1843
1890
|
readonly errors: readonly ["resource:not_found", "resource:gone", "server:internal_error"];
|
|
1844
1891
|
};
|
|
1845
|
-
readonly subscribeNewsletter: {
|
|
1846
|
-
readonly path: "/public/sites/{siteId}/newsletter/subscribe";
|
|
1847
|
-
readonly method: "POST";
|
|
1848
|
-
readonly tags: ["public-newsletter-{siteId}"];
|
|
1849
|
-
readonly auth: "public";
|
|
1850
|
-
readonly responseKind: "json";
|
|
1851
|
-
};
|
|
1852
|
-
readonly confirmNewsletter: {
|
|
1853
|
-
readonly path: "/public/sites/{siteId}/newsletter/confirm/{token}";
|
|
1854
|
-
readonly method: "GET";
|
|
1855
|
-
readonly tags: ["public-newsletter-{siteId}"];
|
|
1856
|
-
readonly auth: "public";
|
|
1857
|
-
readonly responseKind: "text";
|
|
1858
|
-
};
|
|
1859
|
-
readonly unsubscribeNewsletter: {
|
|
1860
|
-
readonly path: "/public/sites/{siteId}/newsletter/unsubscribe/{token}";
|
|
1861
|
-
readonly method: "GET";
|
|
1862
|
-
readonly tags: ["public-newsletter-{siteId}"];
|
|
1863
|
-
readonly auth: "public";
|
|
1864
|
-
readonly responseKind: "text";
|
|
1865
|
-
};
|
|
1866
|
-
readonly unsubscribeNewsletterPost: {
|
|
1867
|
-
readonly path: "/public/sites/{siteId}/newsletter/unsubscribe/{token}";
|
|
1868
|
-
readonly method: "POST";
|
|
1869
|
-
readonly tags: ["public-newsletter-{siteId}"];
|
|
1870
|
-
readonly auth: "public";
|
|
1871
|
-
readonly responseKind: "text";
|
|
1872
|
-
};
|
|
1873
|
-
readonly getNewsletterArchive: {
|
|
1874
|
-
readonly path: "/public/sites/{siteId}/newsletter/archive/{token}";
|
|
1875
|
-
readonly method: "GET";
|
|
1876
|
-
readonly tags: ["public-newsletter-{siteId}"];
|
|
1877
|
-
readonly auth: "public";
|
|
1878
|
-
readonly responseKind: "text";
|
|
1879
|
-
};
|
|
1880
1892
|
readonly listSiteContentTypes: {
|
|
1881
1893
|
readonly path: "/sites/{siteId}/content-types";
|
|
1882
1894
|
readonly method: "GET";
|
|
@@ -2466,13 +2478,6 @@ export declare const API_ENDPOINTS: {
|
|
|
2466
2478
|
readonly auth: "user";
|
|
2467
2479
|
readonly responseKind: "json";
|
|
2468
2480
|
};
|
|
2469
|
-
readonly createSite: {
|
|
2470
|
-
readonly path: "/sites/manage";
|
|
2471
|
-
readonly method: "POST";
|
|
2472
|
-
readonly tags: ["site"];
|
|
2473
|
-
readonly auth: "user";
|
|
2474
|
-
readonly responseKind: "json";
|
|
2475
|
-
};
|
|
2476
2481
|
readonly createSiteManual: {
|
|
2477
2482
|
readonly path: "/sites/manual";
|
|
2478
2483
|
readonly method: "POST";
|
|
@@ -2480,21 +2485,6 @@ export declare const API_ENDPOINTS: {
|
|
|
2480
2485
|
readonly auth: "user";
|
|
2481
2486
|
readonly responseKind: "json";
|
|
2482
2487
|
};
|
|
2483
|
-
readonly updateSite: {
|
|
2484
|
-
readonly path: "/sites/manage";
|
|
2485
|
-
readonly method: "PUT";
|
|
2486
|
-
readonly tags: ["site"];
|
|
2487
|
-
readonly auth: "user";
|
|
2488
|
-
readonly responseKind: "json";
|
|
2489
|
-
};
|
|
2490
|
-
readonly deleteSite: {
|
|
2491
|
-
readonly path: "/sites/{siteId}";
|
|
2492
|
-
readonly method: "DELETE";
|
|
2493
|
-
readonly tags: ["site", "site-{siteId}"];
|
|
2494
|
-
readonly auth: "user";
|
|
2495
|
-
readonly responseKind: "json";
|
|
2496
|
-
readonly demoMutation: import("./apiEndpointTypes").ApiDemoMutationPolicy;
|
|
2497
|
-
};
|
|
2498
2488
|
readonly listSiteMembers: {
|
|
2499
2489
|
readonly path: "/sites/{siteId}/members";
|
|
2500
2490
|
readonly method: "GET";
|
|
@@ -4224,6 +4214,13 @@ export declare const API_ENDPOINTS: {
|
|
|
4224
4214
|
errors: never[];
|
|
4225
4215
|
responseKind: "blob";
|
|
4226
4216
|
};
|
|
4217
|
+
readonly exportEventOfferingRegistrationsCsv: {
|
|
4218
|
+
path: "/sites/{siteId}/bookings/event-offerings/{eventOfferingId}/registrations/export.csv";
|
|
4219
|
+
method: "GET";
|
|
4220
|
+
auth: "user";
|
|
4221
|
+
errors: never[];
|
|
4222
|
+
responseKind: "blob";
|
|
4223
|
+
};
|
|
4227
4224
|
readonly updateEventSeriesRegistration: {
|
|
4228
4225
|
path: "/sites/{siteId}/bookings/event-series/{seriesId}/registrations/{registrationId}";
|
|
4229
4226
|
method: "PATCH";
|
|
@@ -4231,6 +4228,13 @@ export declare const API_ENDPOINTS: {
|
|
|
4231
4228
|
responseKind: "json";
|
|
4232
4229
|
errors: ("validation:invalid_input" | "resource:not_found" | "server:internal_error")[];
|
|
4233
4230
|
};
|
|
4231
|
+
readonly saveEventSeriesRegistrationAnswers: {
|
|
4232
|
+
path: "/sites/{siteId}/bookings/event-series/{seriesId}/registrations/{registrationId}/answers";
|
|
4233
|
+
method: "PUT";
|
|
4234
|
+
auth: "user";
|
|
4235
|
+
responseKind: "json";
|
|
4236
|
+
errors: ("auth:forbidden" | "validation:invalid_input" | "resource:not_found" | "resource:conflict" | "server:internal_error")[];
|
|
4237
|
+
};
|
|
4234
4238
|
readonly listAppointmentResources: {
|
|
4235
4239
|
path: "/sites/{siteId}/bookings/resources";
|
|
4236
4240
|
method: "GET";
|
|
@@ -4664,6 +4668,55 @@ export declare const API_ENDPOINTS: {
|
|
|
4664
4668
|
responseKind: "json";
|
|
4665
4669
|
errors: ("auth:forbidden" | "validation:invalid_input" | "resource:not_found" | "resource:conflict" | "server:internal_error")[];
|
|
4666
4670
|
};
|
|
4671
|
+
readonly listGroupedAppointmentServices: {
|
|
4672
|
+
path: "/sites/{siteId}/bookings/services/grouped";
|
|
4673
|
+
method: "GET";
|
|
4674
|
+
auth: "user";
|
|
4675
|
+
responseKind: "json";
|
|
4676
|
+
errors: "server:internal_error"[];
|
|
4677
|
+
};
|
|
4678
|
+
readonly reorderAppointmentServices: {
|
|
4679
|
+
path: "/sites/{siteId}/bookings/services/order";
|
|
4680
|
+
method: "PUT";
|
|
4681
|
+
auth: "user";
|
|
4682
|
+
responseKind: "json";
|
|
4683
|
+
errors: ("auth:forbidden" | "validation:invalid_input" | "resource:not_found" | "resource:conflict" | "server:internal_error")[];
|
|
4684
|
+
};
|
|
4685
|
+
readonly listAppointmentServiceCategories: {
|
|
4686
|
+
path: "/sites/{siteId}/bookings/service-categories";
|
|
4687
|
+
method: "GET";
|
|
4688
|
+
auth: "user";
|
|
4689
|
+
responseKind: "json";
|
|
4690
|
+
errors: "server:internal_error"[];
|
|
4691
|
+
};
|
|
4692
|
+
readonly createAppointmentServiceCategory: {
|
|
4693
|
+
path: "/sites/{siteId}/bookings/service-categories";
|
|
4694
|
+
method: "POST";
|
|
4695
|
+
auth: "user";
|
|
4696
|
+
responseKind: "json";
|
|
4697
|
+
errors: ("auth:forbidden" | "validation:invalid_input" | "resource:conflict" | "server:internal_error")[];
|
|
4698
|
+
};
|
|
4699
|
+
readonly updateAppointmentServiceCategory: {
|
|
4700
|
+
path: "/sites/{siteId}/bookings/service-categories/{categoryId}";
|
|
4701
|
+
method: "PUT";
|
|
4702
|
+
auth: "user";
|
|
4703
|
+
responseKind: "json";
|
|
4704
|
+
errors: ("auth:forbidden" | "validation:invalid_input" | "resource:not_found" | "resource:conflict" | "server:internal_error")[];
|
|
4705
|
+
};
|
|
4706
|
+
readonly deleteAppointmentServiceCategory: {
|
|
4707
|
+
path: "/sites/{siteId}/bookings/service-categories/{categoryId}";
|
|
4708
|
+
method: "DELETE";
|
|
4709
|
+
auth: "user";
|
|
4710
|
+
responseKind: "json";
|
|
4711
|
+
errors: ("auth:forbidden" | "resource:not_found" | "server:internal_error")[];
|
|
4712
|
+
};
|
|
4713
|
+
readonly reorderAppointmentServiceCategories: {
|
|
4714
|
+
path: "/sites/{siteId}/bookings/service-categories/order";
|
|
4715
|
+
method: "PUT";
|
|
4716
|
+
auth: "user";
|
|
4717
|
+
responseKind: "json";
|
|
4718
|
+
errors: ("auth:forbidden" | "validation:invalid_input" | "resource:conflict" | "server:internal_error")[];
|
|
4719
|
+
};
|
|
4667
4720
|
readonly getNewsletterSettings: {
|
|
4668
4721
|
path: "/sites/{siteId}/newsletter/settings";
|
|
4669
4722
|
method: "GET";
|
|
@@ -5108,8 +5161,8 @@ export declare const API_ENDPOINTS: {
|
|
|
5108
5161
|
publicMessage: string;
|
|
5109
5162
|
};
|
|
5110
5163
|
};
|
|
5111
|
-
readonly
|
|
5112
|
-
path: "/sites/{siteId}/newsletter/campaigns/{campaignId}/
|
|
5164
|
+
readonly scheduleNewsletterCampaign: {
|
|
5165
|
+
path: "/sites/{siteId}/newsletter/campaigns/{campaignId}/schedule";
|
|
5113
5166
|
method: "POST";
|
|
5114
5167
|
tags: ("riverbank:site:{siteId}" | "riverbank:site:{siteId}:newsletter")[];
|
|
5115
5168
|
auth: "user";
|
|
@@ -5122,28 +5175,47 @@ export declare const API_ENDPOINTS: {
|
|
|
5122
5175
|
publicMessage: string;
|
|
5123
5176
|
};
|
|
5124
5177
|
};
|
|
5125
|
-
readonly
|
|
5126
|
-
path: "/sites/{siteId}/newsletter/
|
|
5127
|
-
method: "
|
|
5178
|
+
readonly unscheduleNewsletterCampaign: {
|
|
5179
|
+
path: "/sites/{siteId}/newsletter/campaigns/{campaignId}/unschedule";
|
|
5180
|
+
method: "POST";
|
|
5128
5181
|
tags: ("riverbank:site:{siteId}" | "riverbank:site:{siteId}:newsletter")[];
|
|
5129
5182
|
auth: "user";
|
|
5130
5183
|
responseKind: "json";
|
|
5184
|
+
demoMutation: {
|
|
5185
|
+
classification: "allowed";
|
|
5186
|
+
publicMessage: "";
|
|
5187
|
+
} | {
|
|
5188
|
+
classification: import("./apiEndpointTypes").ApiDemoMutationBlockingClassification;
|
|
5189
|
+
publicMessage: string;
|
|
5190
|
+
};
|
|
5131
5191
|
};
|
|
5132
|
-
readonly
|
|
5133
|
-
path: "/sites/{siteId}/newsletter/
|
|
5192
|
+
readonly stopNewsletterCampaign: {
|
|
5193
|
+
path: "/sites/{siteId}/newsletter/campaigns/{campaignId}/stop";
|
|
5134
5194
|
method: "POST";
|
|
5135
|
-
errors: ("auth:forbidden" | "validation:invalid_input" | "resource:not_found" | "server:internal_error")[];
|
|
5136
5195
|
tags: ("riverbank:site:{siteId}" | "riverbank:site:{siteId}:newsletter")[];
|
|
5137
5196
|
auth: "user";
|
|
5138
5197
|
responseKind: "json";
|
|
5198
|
+
demoMutation: {
|
|
5199
|
+
classification: "allowed";
|
|
5200
|
+
publicMessage: "";
|
|
5201
|
+
} | {
|
|
5202
|
+
classification: import("./apiEndpointTypes").ApiDemoMutationBlockingClassification;
|
|
5203
|
+
publicMessage: string;
|
|
5204
|
+
};
|
|
5139
5205
|
};
|
|
5140
|
-
readonly
|
|
5141
|
-
path: "/sites/{siteId}/newsletter/
|
|
5206
|
+
readonly testSendNewsletterCampaign: {
|
|
5207
|
+
path: "/sites/{siteId}/newsletter/campaigns/{campaignId}/test-send";
|
|
5142
5208
|
method: "POST";
|
|
5143
|
-
errors: ("auth:forbidden" | "validation:invalid_input" | "resource:not_found" | "server:internal_error")[];
|
|
5144
5209
|
tags: ("riverbank:site:{siteId}" | "riverbank:site:{siteId}:newsletter")[];
|
|
5145
5210
|
auth: "user";
|
|
5146
5211
|
responseKind: "json";
|
|
5212
|
+
demoMutation: {
|
|
5213
|
+
classification: "allowed";
|
|
5214
|
+
publicMessage: "";
|
|
5215
|
+
} | {
|
|
5216
|
+
classification: import("./apiEndpointTypes").ApiDemoMutationBlockingClassification;
|
|
5217
|
+
publicMessage: string;
|
|
5218
|
+
};
|
|
5147
5219
|
};
|
|
5148
5220
|
readonly getBookingSettings: {
|
|
5149
5221
|
readonly path: "/sites/{siteId}/bookings/settings";
|
|
@@ -5627,6 +5699,53 @@ export declare const API_ENDPOINTS: {
|
|
|
5627
5699
|
readonly responseKind: "json";
|
|
5628
5700
|
readonly demoMutation: import("./apiEndpointTypes").ApiDemoMutationPolicy;
|
|
5629
5701
|
};
|
|
5702
|
+
readonly createSite: {
|
|
5703
|
+
path: "/sites/manage";
|
|
5704
|
+
method: "POST";
|
|
5705
|
+
tags: "site"[];
|
|
5706
|
+
auth: "user";
|
|
5707
|
+
responseKind: "json";
|
|
5708
|
+
};
|
|
5709
|
+
readonly updateSite: {
|
|
5710
|
+
path: "/sites/manage";
|
|
5711
|
+
method: "PUT";
|
|
5712
|
+
tags: "site"[];
|
|
5713
|
+
auth: "user";
|
|
5714
|
+
responseKind: "json";
|
|
5715
|
+
};
|
|
5716
|
+
readonly changeSiteAddress: {
|
|
5717
|
+
path: "/sites/{siteId}/address";
|
|
5718
|
+
method: "PUT";
|
|
5719
|
+
auth: "user";
|
|
5720
|
+
responseKind: "json";
|
|
5721
|
+
demoMutation: {
|
|
5722
|
+
classification: "allowed";
|
|
5723
|
+
publicMessage: "";
|
|
5724
|
+
} | {
|
|
5725
|
+
classification: import("./apiEndpointTypes").ApiDemoMutationBlockingClassification;
|
|
5726
|
+
publicMessage: string;
|
|
5727
|
+
};
|
|
5728
|
+
};
|
|
5729
|
+
readonly getSiteAddressAvailability: {
|
|
5730
|
+
path: "/sites/{siteId}/address/availability";
|
|
5731
|
+
method: "GET";
|
|
5732
|
+
auth: "user";
|
|
5733
|
+
responseKind: "json";
|
|
5734
|
+
};
|
|
5735
|
+
readonly deleteSite: {
|
|
5736
|
+
path: "/sites/{siteId}";
|
|
5737
|
+
method: "DELETE";
|
|
5738
|
+
tags: ("site" | "site-{siteId}")[];
|
|
5739
|
+
auth: "user";
|
|
5740
|
+
responseKind: "json";
|
|
5741
|
+
demoMutation: {
|
|
5742
|
+
classification: "allowed";
|
|
5743
|
+
publicMessage: "";
|
|
5744
|
+
} | {
|
|
5745
|
+
classification: import("./apiEndpointTypes").ApiDemoMutationBlockingClassification;
|
|
5746
|
+
publicMessage: string;
|
|
5747
|
+
};
|
|
5748
|
+
};
|
|
5630
5749
|
readonly adminChangePlan: {
|
|
5631
5750
|
path: "/admin/billing/plan";
|
|
5632
5751
|
method: "POST";
|
|
@@ -5954,5 +6073,68 @@ export declare const API_ENDPOINTS: {
|
|
|
5954
6073
|
errors: ("auth:unauthenticated" | "auth:forbidden" | "validation:invalid_input" | "resource:not_found" | "server:internal_error")[];
|
|
5955
6074
|
responseKind: "json";
|
|
5956
6075
|
};
|
|
6076
|
+
readonly subscribeNewsletter: {
|
|
6077
|
+
path: "/public/sites/{siteId}/newsletter/subscribe";
|
|
6078
|
+
method: "POST";
|
|
6079
|
+
tags: "public-newsletter-{siteId}"[];
|
|
6080
|
+
auth: "public";
|
|
6081
|
+
responseKind: "json";
|
|
6082
|
+
};
|
|
6083
|
+
readonly confirmNewsletter: {
|
|
6084
|
+
path: "/public/sites/{siteId}/newsletter/confirm/{token}";
|
|
6085
|
+
method: "GET";
|
|
6086
|
+
tags: "public-newsletter-{siteId}"[];
|
|
6087
|
+
auth: "public";
|
|
6088
|
+
responseKind: "text";
|
|
6089
|
+
};
|
|
6090
|
+
readonly unsubscribeNewsletter: {
|
|
6091
|
+
path: "/public/sites/{siteId}/newsletter/unsubscribe/{token}";
|
|
6092
|
+
method: "GET";
|
|
6093
|
+
tags: "public-newsletter-{siteId}"[];
|
|
6094
|
+
auth: "public";
|
|
6095
|
+
responseKind: "text";
|
|
6096
|
+
};
|
|
6097
|
+
readonly unsubscribeNewsletterPost: {
|
|
6098
|
+
path: "/public/sites/{siteId}/newsletter/unsubscribe/{token}";
|
|
6099
|
+
method: "POST";
|
|
6100
|
+
tags: "public-newsletter-{siteId}"[];
|
|
6101
|
+
auth: "public";
|
|
6102
|
+
responseKind: "text";
|
|
6103
|
+
};
|
|
6104
|
+
readonly confirmNewsletterPost: {
|
|
6105
|
+
path: "/public/sites/{siteId}/newsletter/confirm/{token}";
|
|
6106
|
+
method: "POST";
|
|
6107
|
+
tags: "public-newsletter-{siteId}"[];
|
|
6108
|
+
auth: "public";
|
|
6109
|
+
responseKind: "text";
|
|
6110
|
+
};
|
|
6111
|
+
readonly getNewsletterPreferences: {
|
|
6112
|
+
path: "/public/sites/{siteId}/newsletter/preferences/{token}";
|
|
6113
|
+
method: "GET";
|
|
6114
|
+
tags: "public-newsletter-{siteId}"[];
|
|
6115
|
+
auth: "public";
|
|
6116
|
+
responseKind: "text";
|
|
6117
|
+
};
|
|
6118
|
+
readonly saveNewsletterPreferences: {
|
|
6119
|
+
path: "/public/sites/{siteId}/newsletter/preferences/{token}";
|
|
6120
|
+
method: "POST";
|
|
6121
|
+
tags: "public-newsletter-{siteId}"[];
|
|
6122
|
+
auth: "public";
|
|
6123
|
+
responseKind: "text";
|
|
6124
|
+
};
|
|
6125
|
+
readonly getNewsletterArchive: {
|
|
6126
|
+
path: "/public/sites/{siteId}/newsletter/archive/{token}";
|
|
6127
|
+
method: "GET";
|
|
6128
|
+
tags: "public-newsletter-{siteId}"[];
|
|
6129
|
+
auth: "public";
|
|
6130
|
+
responseKind: "text";
|
|
6131
|
+
};
|
|
6132
|
+
readonly reportClientError: {
|
|
6133
|
+
path: "/client/error-report";
|
|
6134
|
+
method: "POST";
|
|
6135
|
+
auth: "user";
|
|
6136
|
+
errors: never[];
|
|
6137
|
+
responseKind: "json";
|
|
6138
|
+
};
|
|
5957
6139
|
};
|
|
5958
6140
|
export declare function buildEndpointURL(baseURL: string, endpoint: keyof APIEndpoints): string;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const EVENT_VISIBILITY_VALUES: readonly ["public", "unlisted"];
|
|
3
|
+
/**
|
|
4
|
+
* Where an Event is listed, mirroring appointment service visibility.
|
|
5
|
+
*
|
|
6
|
+
* `public` appears in listings, search and sitemaps. `unlisted` is still
|
|
7
|
+
* bookable by anyone holding the link — it is simply left out of discovery.
|
|
8
|
+
*
|
|
9
|
+
* Whether anybody can reach the Event at all is a different question, answered
|
|
10
|
+
* by its page being online and its run being live. There used to be a third
|
|
11
|
+
* value, `private`, which answered that question a second time; issue 1477
|
|
12
|
+
* retired it.
|
|
13
|
+
*/
|
|
14
|
+
export type EventVisibility = (typeof EVENT_VISIBILITY_VALUES)[number];
|
|
15
|
+
export declare const EVENT_VISIBILITY_ERROR_MESSAGE = "visibility must be 'public' or 'unlisted'";
|
|
16
|
+
export declare function isEventVisibility(value: unknown): value is EventVisibility;
|
|
17
|
+
export declare const eventVisibilitySchema: z.ZodEnum<{
|
|
18
|
+
public: "public";
|
|
19
|
+
unlisted: "unlisted";
|
|
20
|
+
}>;
|