@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
|
@@ -8734,6 +8734,34 @@ export declare const ProposeSiteStyleSelectionCommandBackedOutputSchema: z.ZodOb
|
|
|
8734
8734
|
type: z.ZodLiteral<"upsertEventSeries">;
|
|
8735
8735
|
ref: z.ZodPipe<z.ZodString, z.ZodTransform<import("@riverbankcms/site-commands").EventSeriesRef, string>>;
|
|
8736
8736
|
input: z.ZodObject<{
|
|
8737
|
+
courseBooking: z.ZodOptional<z.ZodObject<{
|
|
8738
|
+
visibility: z.ZodEnum<{
|
|
8739
|
+
public: "public";
|
|
8740
|
+
unlisted: "unlisted";
|
|
8741
|
+
}>;
|
|
8742
|
+
acceptsPasses: z.ZodBoolean;
|
|
8743
|
+
acceptsMemberships: z.ZodBoolean;
|
|
8744
|
+
cancellationPolicy: z.ZodObject<{
|
|
8745
|
+
refunds: z.ZodObject<{
|
|
8746
|
+
mode: z.ZodEnum<{
|
|
8747
|
+
never: "never";
|
|
8748
|
+
inherit: "inherit";
|
|
8749
|
+
always: "always";
|
|
8750
|
+
cutoff: "cutoff";
|
|
8751
|
+
}>;
|
|
8752
|
+
cutoffHours: z.ZodOptional<z.ZodNumber>;
|
|
8753
|
+
}, z.core.$strict>;
|
|
8754
|
+
transfers: z.ZodObject<{
|
|
8755
|
+
mode: z.ZodEnum<{
|
|
8756
|
+
never: "never";
|
|
8757
|
+
inherit: "inherit";
|
|
8758
|
+
always: "always";
|
|
8759
|
+
cutoff: "cutoff";
|
|
8760
|
+
}>;
|
|
8761
|
+
cutoffHours: z.ZodOptional<z.ZodNumber>;
|
|
8762
|
+
}, z.core.$strict>;
|
|
8763
|
+
}, z.core.$strict>;
|
|
8764
|
+
}, z.core.$strict>>;
|
|
8737
8765
|
waitlist: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
8738
8766
|
kind: z.ZodLiteral<"disabled">;
|
|
8739
8767
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -9200,10 +9228,61 @@ export declare const ProposeSiteStyleSelectionCommandBackedOutputSchema: z.ZodOb
|
|
|
9200
9228
|
subtotalCents: z.ZodNumber;
|
|
9201
9229
|
currency: z.ZodString;
|
|
9202
9230
|
}, z.core.$strict>;
|
|
9231
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
9232
|
+
type: z.ZodLiteral<"upsertAppointmentServiceCategory">;
|
|
9233
|
+
ref: z.ZodPipe<z.ZodString, z.ZodTransform<import("@riverbankcms/site-commands").AppointmentServiceCategoryRef, string>>;
|
|
9234
|
+
input: z.ZodObject<{
|
|
9235
|
+
identifier: z.ZodOptional<z.ZodString>;
|
|
9236
|
+
name: z.ZodString;
|
|
9237
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9238
|
+
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
9239
|
+
}, z.core.$strict>;
|
|
9203
9240
|
}, z.core.$strict>, z.ZodObject<{
|
|
9204
9241
|
type: z.ZodLiteral<"upsertAppointmentService">;
|
|
9205
9242
|
ref: z.ZodPipe<z.ZodString, z.ZodTransform<import("@riverbankcms/site-commands").AppointmentServiceRef, string>>;
|
|
9206
|
-
input: z.ZodUnion<readonly [z.ZodObject<{
|
|
9243
|
+
input: z.ZodPipe<z.ZodUnknown, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
9244
|
+
priceAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
9245
|
+
payment: z.ZodDefault<z.ZodObject<{
|
|
9246
|
+
mode: z.ZodLiteral<"manual_request">;
|
|
9247
|
+
}, z.core.$strict>>;
|
|
9248
|
+
title: z.ZodString;
|
|
9249
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9250
|
+
durationMinutes: z.ZodNumber;
|
|
9251
|
+
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
9252
|
+
locationType: z.ZodDefault<z.ZodEnum<{
|
|
9253
|
+
in_person: "in_person";
|
|
9254
|
+
hybrid: "hybrid";
|
|
9255
|
+
virtual: "virtual";
|
|
9256
|
+
}>>;
|
|
9257
|
+
timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9258
|
+
buffers: z.ZodOptional<z.ZodObject<{
|
|
9259
|
+
beforeMinutes: z.ZodDefault<z.ZodNumber>;
|
|
9260
|
+
afterMinutes: z.ZodDefault<z.ZodNumber>;
|
|
9261
|
+
}, z.core.$strict>>;
|
|
9262
|
+
readonly categoryRef: z.ZodOptional<z.ZodUndefined>;
|
|
9263
|
+
readonly categoryIdentifier: z.ZodOptional<z.ZodUndefined>;
|
|
9264
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
9265
|
+
priceAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
9266
|
+
payment: z.ZodDefault<z.ZodObject<{
|
|
9267
|
+
mode: z.ZodLiteral<"manual_request">;
|
|
9268
|
+
}, z.core.$strict>>;
|
|
9269
|
+
title: z.ZodString;
|
|
9270
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9271
|
+
durationMinutes: z.ZodNumber;
|
|
9272
|
+
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
9273
|
+
locationType: z.ZodDefault<z.ZodEnum<{
|
|
9274
|
+
in_person: "in_person";
|
|
9275
|
+
hybrid: "hybrid";
|
|
9276
|
+
virtual: "virtual";
|
|
9277
|
+
}>>;
|
|
9278
|
+
timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9279
|
+
buffers: z.ZodOptional<z.ZodObject<{
|
|
9280
|
+
beforeMinutes: z.ZodDefault<z.ZodNumber>;
|
|
9281
|
+
afterMinutes: z.ZodDefault<z.ZodNumber>;
|
|
9282
|
+
}, z.core.$strict>>;
|
|
9283
|
+
readonly categoryRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("@riverbankcms/site-commands").AppointmentServiceCategoryRef, string>>;
|
|
9284
|
+
readonly categoryIdentifier: z.ZodOptional<z.ZodUndefined>;
|
|
9285
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
9207
9286
|
priceAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
9208
9287
|
payment: z.ZodDefault<z.ZodObject<{
|
|
9209
9288
|
mode: z.ZodLiteral<"manual_request">;
|
|
@@ -9222,6 +9301,29 @@ export declare const ProposeSiteStyleSelectionCommandBackedOutputSchema: z.ZodOb
|
|
|
9222
9301
|
beforeMinutes: z.ZodDefault<z.ZodNumber>;
|
|
9223
9302
|
afterMinutes: z.ZodDefault<z.ZodNumber>;
|
|
9224
9303
|
}, z.core.$strict>>;
|
|
9304
|
+
readonly categoryRef: z.ZodOptional<z.ZodUndefined>;
|
|
9305
|
+
readonly categoryIdentifier: z.ZodString;
|
|
9306
|
+
}, z.core.$strict>]>, z.ZodUnion<readonly [z.ZodObject<{
|
|
9307
|
+
priceAmount: z.ZodOptional<z.ZodNull>;
|
|
9308
|
+
payment: z.ZodObject<{
|
|
9309
|
+
mode: z.ZodLiteral<"free">;
|
|
9310
|
+
}, z.core.$strict>;
|
|
9311
|
+
title: z.ZodString;
|
|
9312
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9313
|
+
durationMinutes: z.ZodNumber;
|
|
9314
|
+
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
9315
|
+
locationType: z.ZodDefault<z.ZodEnum<{
|
|
9316
|
+
in_person: "in_person";
|
|
9317
|
+
hybrid: "hybrid";
|
|
9318
|
+
virtual: "virtual";
|
|
9319
|
+
}>>;
|
|
9320
|
+
timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9321
|
+
buffers: z.ZodOptional<z.ZodObject<{
|
|
9322
|
+
beforeMinutes: z.ZodDefault<z.ZodNumber>;
|
|
9323
|
+
afterMinutes: z.ZodDefault<z.ZodNumber>;
|
|
9324
|
+
}, z.core.$strict>>;
|
|
9325
|
+
readonly categoryRef: z.ZodOptional<z.ZodUndefined>;
|
|
9326
|
+
readonly categoryIdentifier: z.ZodOptional<z.ZodUndefined>;
|
|
9225
9327
|
}, z.core.$strict>, z.ZodObject<{
|
|
9226
9328
|
priceAmount: z.ZodOptional<z.ZodNull>;
|
|
9227
9329
|
payment: z.ZodObject<{
|
|
@@ -9241,7 +9343,30 @@ export declare const ProposeSiteStyleSelectionCommandBackedOutputSchema: z.ZodOb
|
|
|
9241
9343
|
beforeMinutes: z.ZodDefault<z.ZodNumber>;
|
|
9242
9344
|
afterMinutes: z.ZodDefault<z.ZodNumber>;
|
|
9243
9345
|
}, z.core.$strict>>;
|
|
9346
|
+
readonly categoryRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("@riverbankcms/site-commands").AppointmentServiceCategoryRef, string>>;
|
|
9347
|
+
readonly categoryIdentifier: z.ZodOptional<z.ZodUndefined>;
|
|
9244
9348
|
}, z.core.$strict>, z.ZodObject<{
|
|
9349
|
+
priceAmount: z.ZodOptional<z.ZodNull>;
|
|
9350
|
+
payment: z.ZodObject<{
|
|
9351
|
+
mode: z.ZodLiteral<"free">;
|
|
9352
|
+
}, z.core.$strict>;
|
|
9353
|
+
title: z.ZodString;
|
|
9354
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9355
|
+
durationMinutes: z.ZodNumber;
|
|
9356
|
+
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
9357
|
+
locationType: z.ZodDefault<z.ZodEnum<{
|
|
9358
|
+
in_person: "in_person";
|
|
9359
|
+
hybrid: "hybrid";
|
|
9360
|
+
virtual: "virtual";
|
|
9361
|
+
}>>;
|
|
9362
|
+
timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9363
|
+
buffers: z.ZodOptional<z.ZodObject<{
|
|
9364
|
+
beforeMinutes: z.ZodDefault<z.ZodNumber>;
|
|
9365
|
+
afterMinutes: z.ZodDefault<z.ZodNumber>;
|
|
9366
|
+
}, z.core.$strict>>;
|
|
9367
|
+
readonly categoryRef: z.ZodOptional<z.ZodUndefined>;
|
|
9368
|
+
readonly categoryIdentifier: z.ZodString;
|
|
9369
|
+
}, z.core.$strict>]>, z.ZodUnion<readonly [z.ZodObject<{
|
|
9245
9370
|
priceAmount: z.ZodNumber;
|
|
9246
9371
|
payment: z.ZodObject<{
|
|
9247
9372
|
mode: z.ZodLiteral<"paid_online_intent">;
|
|
@@ -9260,7 +9385,51 @@ export declare const ProposeSiteStyleSelectionCommandBackedOutputSchema: z.ZodOb
|
|
|
9260
9385
|
beforeMinutes: z.ZodDefault<z.ZodNumber>;
|
|
9261
9386
|
afterMinutes: z.ZodDefault<z.ZodNumber>;
|
|
9262
9387
|
}, z.core.$strict>>;
|
|
9263
|
-
|
|
9388
|
+
readonly categoryRef: z.ZodOptional<z.ZodUndefined>;
|
|
9389
|
+
readonly categoryIdentifier: z.ZodOptional<z.ZodUndefined>;
|
|
9390
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
9391
|
+
priceAmount: z.ZodNumber;
|
|
9392
|
+
payment: z.ZodObject<{
|
|
9393
|
+
mode: z.ZodLiteral<"paid_online_intent">;
|
|
9394
|
+
}, z.core.$strict>;
|
|
9395
|
+
title: z.ZodString;
|
|
9396
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9397
|
+
durationMinutes: z.ZodNumber;
|
|
9398
|
+
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
9399
|
+
locationType: z.ZodDefault<z.ZodEnum<{
|
|
9400
|
+
in_person: "in_person";
|
|
9401
|
+
hybrid: "hybrid";
|
|
9402
|
+
virtual: "virtual";
|
|
9403
|
+
}>>;
|
|
9404
|
+
timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9405
|
+
buffers: z.ZodOptional<z.ZodObject<{
|
|
9406
|
+
beforeMinutes: z.ZodDefault<z.ZodNumber>;
|
|
9407
|
+
afterMinutes: z.ZodDefault<z.ZodNumber>;
|
|
9408
|
+
}, z.core.$strict>>;
|
|
9409
|
+
readonly categoryRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("@riverbankcms/site-commands").AppointmentServiceCategoryRef, string>>;
|
|
9410
|
+
readonly categoryIdentifier: z.ZodOptional<z.ZodUndefined>;
|
|
9411
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
9412
|
+
priceAmount: z.ZodNumber;
|
|
9413
|
+
payment: z.ZodObject<{
|
|
9414
|
+
mode: z.ZodLiteral<"paid_online_intent">;
|
|
9415
|
+
}, z.core.$strict>;
|
|
9416
|
+
title: z.ZodString;
|
|
9417
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9418
|
+
durationMinutes: z.ZodNumber;
|
|
9419
|
+
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
9420
|
+
locationType: z.ZodDefault<z.ZodEnum<{
|
|
9421
|
+
in_person: "in_person";
|
|
9422
|
+
hybrid: "hybrid";
|
|
9423
|
+
virtual: "virtual";
|
|
9424
|
+
}>>;
|
|
9425
|
+
timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9426
|
+
buffers: z.ZodOptional<z.ZodObject<{
|
|
9427
|
+
beforeMinutes: z.ZodDefault<z.ZodNumber>;
|
|
9428
|
+
afterMinutes: z.ZodDefault<z.ZodNumber>;
|
|
9429
|
+
}, z.core.$strict>>;
|
|
9430
|
+
readonly categoryRef: z.ZodOptional<z.ZodUndefined>;
|
|
9431
|
+
readonly categoryIdentifier: z.ZodString;
|
|
9432
|
+
}, z.core.$strict>]>]>>;
|
|
9264
9433
|
}, z.core.$strict>, z.ZodObject<{
|
|
9265
9434
|
type: z.ZodLiteral<"upsertBookableResource">;
|
|
9266
9435
|
ref: z.ZodPipe<z.ZodString, z.ZodTransform<import("@riverbankcms/site-commands").AppointmentResourceRef, string>>;
|
|
@@ -18085,6 +18254,34 @@ export declare const ProposeSiteStyleSelectionOutputSchema: z.ZodUnion<readonly
|
|
|
18085
18254
|
type: z.ZodLiteral<"upsertEventSeries">;
|
|
18086
18255
|
ref: z.ZodPipe<z.ZodString, z.ZodTransform<import("@riverbankcms/site-commands").EventSeriesRef, string>>;
|
|
18087
18256
|
input: z.ZodObject<{
|
|
18257
|
+
courseBooking: z.ZodOptional<z.ZodObject<{
|
|
18258
|
+
visibility: z.ZodEnum<{
|
|
18259
|
+
public: "public";
|
|
18260
|
+
unlisted: "unlisted";
|
|
18261
|
+
}>;
|
|
18262
|
+
acceptsPasses: z.ZodBoolean;
|
|
18263
|
+
acceptsMemberships: z.ZodBoolean;
|
|
18264
|
+
cancellationPolicy: z.ZodObject<{
|
|
18265
|
+
refunds: z.ZodObject<{
|
|
18266
|
+
mode: z.ZodEnum<{
|
|
18267
|
+
never: "never";
|
|
18268
|
+
inherit: "inherit";
|
|
18269
|
+
always: "always";
|
|
18270
|
+
cutoff: "cutoff";
|
|
18271
|
+
}>;
|
|
18272
|
+
cutoffHours: z.ZodOptional<z.ZodNumber>;
|
|
18273
|
+
}, z.core.$strict>;
|
|
18274
|
+
transfers: z.ZodObject<{
|
|
18275
|
+
mode: z.ZodEnum<{
|
|
18276
|
+
never: "never";
|
|
18277
|
+
inherit: "inherit";
|
|
18278
|
+
always: "always";
|
|
18279
|
+
cutoff: "cutoff";
|
|
18280
|
+
}>;
|
|
18281
|
+
cutoffHours: z.ZodOptional<z.ZodNumber>;
|
|
18282
|
+
}, z.core.$strict>;
|
|
18283
|
+
}, z.core.$strict>;
|
|
18284
|
+
}, z.core.$strict>>;
|
|
18088
18285
|
waitlist: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
18089
18286
|
kind: z.ZodLiteral<"disabled">;
|
|
18090
18287
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -18551,10 +18748,19 @@ export declare const ProposeSiteStyleSelectionOutputSchema: z.ZodUnion<readonly
|
|
|
18551
18748
|
subtotalCents: z.ZodNumber;
|
|
18552
18749
|
currency: z.ZodString;
|
|
18553
18750
|
}, z.core.$strict>;
|
|
18751
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
18752
|
+
type: z.ZodLiteral<"upsertAppointmentServiceCategory">;
|
|
18753
|
+
ref: z.ZodPipe<z.ZodString, z.ZodTransform<import("@riverbankcms/site-commands").AppointmentServiceCategoryRef, string>>;
|
|
18754
|
+
input: z.ZodObject<{
|
|
18755
|
+
identifier: z.ZodOptional<z.ZodString>;
|
|
18756
|
+
name: z.ZodString;
|
|
18757
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18758
|
+
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
18759
|
+
}, z.core.$strict>;
|
|
18554
18760
|
}, z.core.$strict>, z.ZodObject<{
|
|
18555
18761
|
type: z.ZodLiteral<"upsertAppointmentService">;
|
|
18556
18762
|
ref: z.ZodPipe<z.ZodString, z.ZodTransform<import("@riverbankcms/site-commands").AppointmentServiceRef, string>>;
|
|
18557
|
-
input: z.ZodUnion<readonly [z.ZodObject<{
|
|
18763
|
+
input: z.ZodPipe<z.ZodUnknown, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
18558
18764
|
priceAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18559
18765
|
payment: z.ZodDefault<z.ZodObject<{
|
|
18560
18766
|
mode: z.ZodLiteral<"manual_request">;
|
|
@@ -18573,6 +18779,71 @@ export declare const ProposeSiteStyleSelectionOutputSchema: z.ZodUnion<readonly
|
|
|
18573
18779
|
beforeMinutes: z.ZodDefault<z.ZodNumber>;
|
|
18574
18780
|
afterMinutes: z.ZodDefault<z.ZodNumber>;
|
|
18575
18781
|
}, z.core.$strict>>;
|
|
18782
|
+
readonly categoryRef: z.ZodOptional<z.ZodUndefined>;
|
|
18783
|
+
readonly categoryIdentifier: z.ZodOptional<z.ZodUndefined>;
|
|
18784
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
18785
|
+
priceAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18786
|
+
payment: z.ZodDefault<z.ZodObject<{
|
|
18787
|
+
mode: z.ZodLiteral<"manual_request">;
|
|
18788
|
+
}, z.core.$strict>>;
|
|
18789
|
+
title: z.ZodString;
|
|
18790
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18791
|
+
durationMinutes: z.ZodNumber;
|
|
18792
|
+
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
18793
|
+
locationType: z.ZodDefault<z.ZodEnum<{
|
|
18794
|
+
in_person: "in_person";
|
|
18795
|
+
hybrid: "hybrid";
|
|
18796
|
+
virtual: "virtual";
|
|
18797
|
+
}>>;
|
|
18798
|
+
timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18799
|
+
buffers: z.ZodOptional<z.ZodObject<{
|
|
18800
|
+
beforeMinutes: z.ZodDefault<z.ZodNumber>;
|
|
18801
|
+
afterMinutes: z.ZodDefault<z.ZodNumber>;
|
|
18802
|
+
}, z.core.$strict>>;
|
|
18803
|
+
readonly categoryRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("@riverbankcms/site-commands").AppointmentServiceCategoryRef, string>>;
|
|
18804
|
+
readonly categoryIdentifier: z.ZodOptional<z.ZodUndefined>;
|
|
18805
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
18806
|
+
priceAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18807
|
+
payment: z.ZodDefault<z.ZodObject<{
|
|
18808
|
+
mode: z.ZodLiteral<"manual_request">;
|
|
18809
|
+
}, z.core.$strict>>;
|
|
18810
|
+
title: z.ZodString;
|
|
18811
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18812
|
+
durationMinutes: z.ZodNumber;
|
|
18813
|
+
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
18814
|
+
locationType: z.ZodDefault<z.ZodEnum<{
|
|
18815
|
+
in_person: "in_person";
|
|
18816
|
+
hybrid: "hybrid";
|
|
18817
|
+
virtual: "virtual";
|
|
18818
|
+
}>>;
|
|
18819
|
+
timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18820
|
+
buffers: z.ZodOptional<z.ZodObject<{
|
|
18821
|
+
beforeMinutes: z.ZodDefault<z.ZodNumber>;
|
|
18822
|
+
afterMinutes: z.ZodDefault<z.ZodNumber>;
|
|
18823
|
+
}, z.core.$strict>>;
|
|
18824
|
+
readonly categoryRef: z.ZodOptional<z.ZodUndefined>;
|
|
18825
|
+
readonly categoryIdentifier: z.ZodString;
|
|
18826
|
+
}, z.core.$strict>]>, z.ZodUnion<readonly [z.ZodObject<{
|
|
18827
|
+
priceAmount: z.ZodOptional<z.ZodNull>;
|
|
18828
|
+
payment: z.ZodObject<{
|
|
18829
|
+
mode: z.ZodLiteral<"free">;
|
|
18830
|
+
}, z.core.$strict>;
|
|
18831
|
+
title: z.ZodString;
|
|
18832
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18833
|
+
durationMinutes: z.ZodNumber;
|
|
18834
|
+
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
18835
|
+
locationType: z.ZodDefault<z.ZodEnum<{
|
|
18836
|
+
in_person: "in_person";
|
|
18837
|
+
hybrid: "hybrid";
|
|
18838
|
+
virtual: "virtual";
|
|
18839
|
+
}>>;
|
|
18840
|
+
timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18841
|
+
buffers: z.ZodOptional<z.ZodObject<{
|
|
18842
|
+
beforeMinutes: z.ZodDefault<z.ZodNumber>;
|
|
18843
|
+
afterMinutes: z.ZodDefault<z.ZodNumber>;
|
|
18844
|
+
}, z.core.$strict>>;
|
|
18845
|
+
readonly categoryRef: z.ZodOptional<z.ZodUndefined>;
|
|
18846
|
+
readonly categoryIdentifier: z.ZodOptional<z.ZodUndefined>;
|
|
18576
18847
|
}, z.core.$strict>, z.ZodObject<{
|
|
18577
18848
|
priceAmount: z.ZodOptional<z.ZodNull>;
|
|
18578
18849
|
payment: z.ZodObject<{
|
|
@@ -18592,7 +18863,30 @@ export declare const ProposeSiteStyleSelectionOutputSchema: z.ZodUnion<readonly
|
|
|
18592
18863
|
beforeMinutes: z.ZodDefault<z.ZodNumber>;
|
|
18593
18864
|
afterMinutes: z.ZodDefault<z.ZodNumber>;
|
|
18594
18865
|
}, z.core.$strict>>;
|
|
18866
|
+
readonly categoryRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("@riverbankcms/site-commands").AppointmentServiceCategoryRef, string>>;
|
|
18867
|
+
readonly categoryIdentifier: z.ZodOptional<z.ZodUndefined>;
|
|
18595
18868
|
}, z.core.$strict>, z.ZodObject<{
|
|
18869
|
+
priceAmount: z.ZodOptional<z.ZodNull>;
|
|
18870
|
+
payment: z.ZodObject<{
|
|
18871
|
+
mode: z.ZodLiteral<"free">;
|
|
18872
|
+
}, z.core.$strict>;
|
|
18873
|
+
title: z.ZodString;
|
|
18874
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18875
|
+
durationMinutes: z.ZodNumber;
|
|
18876
|
+
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
18877
|
+
locationType: z.ZodDefault<z.ZodEnum<{
|
|
18878
|
+
in_person: "in_person";
|
|
18879
|
+
hybrid: "hybrid";
|
|
18880
|
+
virtual: "virtual";
|
|
18881
|
+
}>>;
|
|
18882
|
+
timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18883
|
+
buffers: z.ZodOptional<z.ZodObject<{
|
|
18884
|
+
beforeMinutes: z.ZodDefault<z.ZodNumber>;
|
|
18885
|
+
afterMinutes: z.ZodDefault<z.ZodNumber>;
|
|
18886
|
+
}, z.core.$strict>>;
|
|
18887
|
+
readonly categoryRef: z.ZodOptional<z.ZodUndefined>;
|
|
18888
|
+
readonly categoryIdentifier: z.ZodString;
|
|
18889
|
+
}, z.core.$strict>]>, z.ZodUnion<readonly [z.ZodObject<{
|
|
18596
18890
|
priceAmount: z.ZodNumber;
|
|
18597
18891
|
payment: z.ZodObject<{
|
|
18598
18892
|
mode: z.ZodLiteral<"paid_online_intent">;
|
|
@@ -18611,7 +18905,51 @@ export declare const ProposeSiteStyleSelectionOutputSchema: z.ZodUnion<readonly
|
|
|
18611
18905
|
beforeMinutes: z.ZodDefault<z.ZodNumber>;
|
|
18612
18906
|
afterMinutes: z.ZodDefault<z.ZodNumber>;
|
|
18613
18907
|
}, z.core.$strict>>;
|
|
18614
|
-
|
|
18908
|
+
readonly categoryRef: z.ZodOptional<z.ZodUndefined>;
|
|
18909
|
+
readonly categoryIdentifier: z.ZodOptional<z.ZodUndefined>;
|
|
18910
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
18911
|
+
priceAmount: z.ZodNumber;
|
|
18912
|
+
payment: z.ZodObject<{
|
|
18913
|
+
mode: z.ZodLiteral<"paid_online_intent">;
|
|
18914
|
+
}, z.core.$strict>;
|
|
18915
|
+
title: z.ZodString;
|
|
18916
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18917
|
+
durationMinutes: z.ZodNumber;
|
|
18918
|
+
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
18919
|
+
locationType: z.ZodDefault<z.ZodEnum<{
|
|
18920
|
+
in_person: "in_person";
|
|
18921
|
+
hybrid: "hybrid";
|
|
18922
|
+
virtual: "virtual";
|
|
18923
|
+
}>>;
|
|
18924
|
+
timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18925
|
+
buffers: z.ZodOptional<z.ZodObject<{
|
|
18926
|
+
beforeMinutes: z.ZodDefault<z.ZodNumber>;
|
|
18927
|
+
afterMinutes: z.ZodDefault<z.ZodNumber>;
|
|
18928
|
+
}, z.core.$strict>>;
|
|
18929
|
+
readonly categoryRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("@riverbankcms/site-commands").AppointmentServiceCategoryRef, string>>;
|
|
18930
|
+
readonly categoryIdentifier: z.ZodOptional<z.ZodUndefined>;
|
|
18931
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
18932
|
+
priceAmount: z.ZodNumber;
|
|
18933
|
+
payment: z.ZodObject<{
|
|
18934
|
+
mode: z.ZodLiteral<"paid_online_intent">;
|
|
18935
|
+
}, z.core.$strict>;
|
|
18936
|
+
title: z.ZodString;
|
|
18937
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18938
|
+
durationMinutes: z.ZodNumber;
|
|
18939
|
+
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
18940
|
+
locationType: z.ZodDefault<z.ZodEnum<{
|
|
18941
|
+
in_person: "in_person";
|
|
18942
|
+
hybrid: "hybrid";
|
|
18943
|
+
virtual: "virtual";
|
|
18944
|
+
}>>;
|
|
18945
|
+
timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18946
|
+
buffers: z.ZodOptional<z.ZodObject<{
|
|
18947
|
+
beforeMinutes: z.ZodDefault<z.ZodNumber>;
|
|
18948
|
+
afterMinutes: z.ZodDefault<z.ZodNumber>;
|
|
18949
|
+
}, z.core.$strict>>;
|
|
18950
|
+
readonly categoryRef: z.ZodOptional<z.ZodUndefined>;
|
|
18951
|
+
readonly categoryIdentifier: z.ZodString;
|
|
18952
|
+
}, z.core.$strict>]>]>>;
|
|
18615
18953
|
}, z.core.$strict>, z.ZodObject<{
|
|
18616
18954
|
type: z.ZodLiteral<"upsertBookableResource">;
|
|
18617
18955
|
ref: z.ZodPipe<z.ZodString, z.ZodTransform<import("@riverbankcms/site-commands").AppointmentResourceRef, string>>;
|
|
@@ -27437,6 +27775,34 @@ export declare const ProposeSiteStyleSelectionResultSchema: z.ZodUnion<readonly
|
|
|
27437
27775
|
type: z.ZodLiteral<"upsertEventSeries">;
|
|
27438
27776
|
ref: z.ZodPipe<z.ZodString, z.ZodTransform<import("@riverbankcms/site-commands").EventSeriesRef, string>>;
|
|
27439
27777
|
input: z.ZodObject<{
|
|
27778
|
+
courseBooking: z.ZodOptional<z.ZodObject<{
|
|
27779
|
+
visibility: z.ZodEnum<{
|
|
27780
|
+
public: "public";
|
|
27781
|
+
unlisted: "unlisted";
|
|
27782
|
+
}>;
|
|
27783
|
+
acceptsPasses: z.ZodBoolean;
|
|
27784
|
+
acceptsMemberships: z.ZodBoolean;
|
|
27785
|
+
cancellationPolicy: z.ZodObject<{
|
|
27786
|
+
refunds: z.ZodObject<{
|
|
27787
|
+
mode: z.ZodEnum<{
|
|
27788
|
+
never: "never";
|
|
27789
|
+
inherit: "inherit";
|
|
27790
|
+
always: "always";
|
|
27791
|
+
cutoff: "cutoff";
|
|
27792
|
+
}>;
|
|
27793
|
+
cutoffHours: z.ZodOptional<z.ZodNumber>;
|
|
27794
|
+
}, z.core.$strict>;
|
|
27795
|
+
transfers: z.ZodObject<{
|
|
27796
|
+
mode: z.ZodEnum<{
|
|
27797
|
+
never: "never";
|
|
27798
|
+
inherit: "inherit";
|
|
27799
|
+
always: "always";
|
|
27800
|
+
cutoff: "cutoff";
|
|
27801
|
+
}>;
|
|
27802
|
+
cutoffHours: z.ZodOptional<z.ZodNumber>;
|
|
27803
|
+
}, z.core.$strict>;
|
|
27804
|
+
}, z.core.$strict>;
|
|
27805
|
+
}, z.core.$strict>>;
|
|
27440
27806
|
waitlist: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
27441
27807
|
kind: z.ZodLiteral<"disabled">;
|
|
27442
27808
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -27903,10 +28269,19 @@ export declare const ProposeSiteStyleSelectionResultSchema: z.ZodUnion<readonly
|
|
|
27903
28269
|
subtotalCents: z.ZodNumber;
|
|
27904
28270
|
currency: z.ZodString;
|
|
27905
28271
|
}, z.core.$strict>;
|
|
28272
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
28273
|
+
type: z.ZodLiteral<"upsertAppointmentServiceCategory">;
|
|
28274
|
+
ref: z.ZodPipe<z.ZodString, z.ZodTransform<import("@riverbankcms/site-commands").AppointmentServiceCategoryRef, string>>;
|
|
28275
|
+
input: z.ZodObject<{
|
|
28276
|
+
identifier: z.ZodOptional<z.ZodString>;
|
|
28277
|
+
name: z.ZodString;
|
|
28278
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28279
|
+
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
28280
|
+
}, z.core.$strict>;
|
|
27906
28281
|
}, z.core.$strict>, z.ZodObject<{
|
|
27907
28282
|
type: z.ZodLiteral<"upsertAppointmentService">;
|
|
27908
28283
|
ref: z.ZodPipe<z.ZodString, z.ZodTransform<import("@riverbankcms/site-commands").AppointmentServiceRef, string>>;
|
|
27909
|
-
input: z.ZodUnion<readonly [z.ZodObject<{
|
|
28284
|
+
input: z.ZodPipe<z.ZodUnknown, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
27910
28285
|
priceAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
27911
28286
|
payment: z.ZodDefault<z.ZodObject<{
|
|
27912
28287
|
mode: z.ZodLiteral<"manual_request">;
|
|
@@ -27925,7 +28300,51 @@ export declare const ProposeSiteStyleSelectionResultSchema: z.ZodUnion<readonly
|
|
|
27925
28300
|
beforeMinutes: z.ZodDefault<z.ZodNumber>;
|
|
27926
28301
|
afterMinutes: z.ZodDefault<z.ZodNumber>;
|
|
27927
28302
|
}, z.core.$strict>>;
|
|
28303
|
+
readonly categoryRef: z.ZodOptional<z.ZodUndefined>;
|
|
28304
|
+
readonly categoryIdentifier: z.ZodOptional<z.ZodUndefined>;
|
|
27928
28305
|
}, z.core.$strict>, z.ZodObject<{
|
|
28306
|
+
priceAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
28307
|
+
payment: z.ZodDefault<z.ZodObject<{
|
|
28308
|
+
mode: z.ZodLiteral<"manual_request">;
|
|
28309
|
+
}, z.core.$strict>>;
|
|
28310
|
+
title: z.ZodString;
|
|
28311
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28312
|
+
durationMinutes: z.ZodNumber;
|
|
28313
|
+
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
28314
|
+
locationType: z.ZodDefault<z.ZodEnum<{
|
|
28315
|
+
in_person: "in_person";
|
|
28316
|
+
hybrid: "hybrid";
|
|
28317
|
+
virtual: "virtual";
|
|
28318
|
+
}>>;
|
|
28319
|
+
timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28320
|
+
buffers: z.ZodOptional<z.ZodObject<{
|
|
28321
|
+
beforeMinutes: z.ZodDefault<z.ZodNumber>;
|
|
28322
|
+
afterMinutes: z.ZodDefault<z.ZodNumber>;
|
|
28323
|
+
}, z.core.$strict>>;
|
|
28324
|
+
readonly categoryRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("@riverbankcms/site-commands").AppointmentServiceCategoryRef, string>>;
|
|
28325
|
+
readonly categoryIdentifier: z.ZodOptional<z.ZodUndefined>;
|
|
28326
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
28327
|
+
priceAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
28328
|
+
payment: z.ZodDefault<z.ZodObject<{
|
|
28329
|
+
mode: z.ZodLiteral<"manual_request">;
|
|
28330
|
+
}, z.core.$strict>>;
|
|
28331
|
+
title: z.ZodString;
|
|
28332
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28333
|
+
durationMinutes: z.ZodNumber;
|
|
28334
|
+
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
28335
|
+
locationType: z.ZodDefault<z.ZodEnum<{
|
|
28336
|
+
in_person: "in_person";
|
|
28337
|
+
hybrid: "hybrid";
|
|
28338
|
+
virtual: "virtual";
|
|
28339
|
+
}>>;
|
|
28340
|
+
timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28341
|
+
buffers: z.ZodOptional<z.ZodObject<{
|
|
28342
|
+
beforeMinutes: z.ZodDefault<z.ZodNumber>;
|
|
28343
|
+
afterMinutes: z.ZodDefault<z.ZodNumber>;
|
|
28344
|
+
}, z.core.$strict>>;
|
|
28345
|
+
readonly categoryRef: z.ZodOptional<z.ZodUndefined>;
|
|
28346
|
+
readonly categoryIdentifier: z.ZodString;
|
|
28347
|
+
}, z.core.$strict>]>, z.ZodUnion<readonly [z.ZodObject<{
|
|
27929
28348
|
priceAmount: z.ZodOptional<z.ZodNull>;
|
|
27930
28349
|
payment: z.ZodObject<{
|
|
27931
28350
|
mode: z.ZodLiteral<"free">;
|
|
@@ -27944,7 +28363,51 @@ export declare const ProposeSiteStyleSelectionResultSchema: z.ZodUnion<readonly
|
|
|
27944
28363
|
beforeMinutes: z.ZodDefault<z.ZodNumber>;
|
|
27945
28364
|
afterMinutes: z.ZodDefault<z.ZodNumber>;
|
|
27946
28365
|
}, z.core.$strict>>;
|
|
28366
|
+
readonly categoryRef: z.ZodOptional<z.ZodUndefined>;
|
|
28367
|
+
readonly categoryIdentifier: z.ZodOptional<z.ZodUndefined>;
|
|
27947
28368
|
}, z.core.$strict>, z.ZodObject<{
|
|
28369
|
+
priceAmount: z.ZodOptional<z.ZodNull>;
|
|
28370
|
+
payment: z.ZodObject<{
|
|
28371
|
+
mode: z.ZodLiteral<"free">;
|
|
28372
|
+
}, z.core.$strict>;
|
|
28373
|
+
title: z.ZodString;
|
|
28374
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28375
|
+
durationMinutes: z.ZodNumber;
|
|
28376
|
+
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
28377
|
+
locationType: z.ZodDefault<z.ZodEnum<{
|
|
28378
|
+
in_person: "in_person";
|
|
28379
|
+
hybrid: "hybrid";
|
|
28380
|
+
virtual: "virtual";
|
|
28381
|
+
}>>;
|
|
28382
|
+
timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28383
|
+
buffers: z.ZodOptional<z.ZodObject<{
|
|
28384
|
+
beforeMinutes: z.ZodDefault<z.ZodNumber>;
|
|
28385
|
+
afterMinutes: z.ZodDefault<z.ZodNumber>;
|
|
28386
|
+
}, z.core.$strict>>;
|
|
28387
|
+
readonly categoryRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("@riverbankcms/site-commands").AppointmentServiceCategoryRef, string>>;
|
|
28388
|
+
readonly categoryIdentifier: z.ZodOptional<z.ZodUndefined>;
|
|
28389
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
28390
|
+
priceAmount: z.ZodOptional<z.ZodNull>;
|
|
28391
|
+
payment: z.ZodObject<{
|
|
28392
|
+
mode: z.ZodLiteral<"free">;
|
|
28393
|
+
}, z.core.$strict>;
|
|
28394
|
+
title: z.ZodString;
|
|
28395
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28396
|
+
durationMinutes: z.ZodNumber;
|
|
28397
|
+
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
28398
|
+
locationType: z.ZodDefault<z.ZodEnum<{
|
|
28399
|
+
in_person: "in_person";
|
|
28400
|
+
hybrid: "hybrid";
|
|
28401
|
+
virtual: "virtual";
|
|
28402
|
+
}>>;
|
|
28403
|
+
timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28404
|
+
buffers: z.ZodOptional<z.ZodObject<{
|
|
28405
|
+
beforeMinutes: z.ZodDefault<z.ZodNumber>;
|
|
28406
|
+
afterMinutes: z.ZodDefault<z.ZodNumber>;
|
|
28407
|
+
}, z.core.$strict>>;
|
|
28408
|
+
readonly categoryRef: z.ZodOptional<z.ZodUndefined>;
|
|
28409
|
+
readonly categoryIdentifier: z.ZodString;
|
|
28410
|
+
}, z.core.$strict>]>, z.ZodUnion<readonly [z.ZodObject<{
|
|
27948
28411
|
priceAmount: z.ZodNumber;
|
|
27949
28412
|
payment: z.ZodObject<{
|
|
27950
28413
|
mode: z.ZodLiteral<"paid_online_intent">;
|
|
@@ -27963,7 +28426,51 @@ export declare const ProposeSiteStyleSelectionResultSchema: z.ZodUnion<readonly
|
|
|
27963
28426
|
beforeMinutes: z.ZodDefault<z.ZodNumber>;
|
|
27964
28427
|
afterMinutes: z.ZodDefault<z.ZodNumber>;
|
|
27965
28428
|
}, z.core.$strict>>;
|
|
27966
|
-
|
|
28429
|
+
readonly categoryRef: z.ZodOptional<z.ZodUndefined>;
|
|
28430
|
+
readonly categoryIdentifier: z.ZodOptional<z.ZodUndefined>;
|
|
28431
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
28432
|
+
priceAmount: z.ZodNumber;
|
|
28433
|
+
payment: z.ZodObject<{
|
|
28434
|
+
mode: z.ZodLiteral<"paid_online_intent">;
|
|
28435
|
+
}, z.core.$strict>;
|
|
28436
|
+
title: z.ZodString;
|
|
28437
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28438
|
+
durationMinutes: z.ZodNumber;
|
|
28439
|
+
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
28440
|
+
locationType: z.ZodDefault<z.ZodEnum<{
|
|
28441
|
+
in_person: "in_person";
|
|
28442
|
+
hybrid: "hybrid";
|
|
28443
|
+
virtual: "virtual";
|
|
28444
|
+
}>>;
|
|
28445
|
+
timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28446
|
+
buffers: z.ZodOptional<z.ZodObject<{
|
|
28447
|
+
beforeMinutes: z.ZodDefault<z.ZodNumber>;
|
|
28448
|
+
afterMinutes: z.ZodDefault<z.ZodNumber>;
|
|
28449
|
+
}, z.core.$strict>>;
|
|
28450
|
+
readonly categoryRef: z.ZodPipe<z.ZodString, z.ZodTransform<import("@riverbankcms/site-commands").AppointmentServiceCategoryRef, string>>;
|
|
28451
|
+
readonly categoryIdentifier: z.ZodOptional<z.ZodUndefined>;
|
|
28452
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
28453
|
+
priceAmount: z.ZodNumber;
|
|
28454
|
+
payment: z.ZodObject<{
|
|
28455
|
+
mode: z.ZodLiteral<"paid_online_intent">;
|
|
28456
|
+
}, z.core.$strict>;
|
|
28457
|
+
title: z.ZodString;
|
|
28458
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28459
|
+
durationMinutes: z.ZodNumber;
|
|
28460
|
+
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
28461
|
+
locationType: z.ZodDefault<z.ZodEnum<{
|
|
28462
|
+
in_person: "in_person";
|
|
28463
|
+
hybrid: "hybrid";
|
|
28464
|
+
virtual: "virtual";
|
|
28465
|
+
}>>;
|
|
28466
|
+
timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28467
|
+
buffers: z.ZodOptional<z.ZodObject<{
|
|
28468
|
+
beforeMinutes: z.ZodDefault<z.ZodNumber>;
|
|
28469
|
+
afterMinutes: z.ZodDefault<z.ZodNumber>;
|
|
28470
|
+
}, z.core.$strict>>;
|
|
28471
|
+
readonly categoryRef: z.ZodOptional<z.ZodUndefined>;
|
|
28472
|
+
readonly categoryIdentifier: z.ZodString;
|
|
28473
|
+
}, z.core.$strict>]>]>>;
|
|
27967
28474
|
}, z.core.$strict>, z.ZodObject<{
|
|
27968
28475
|
type: z.ZodLiteral<"upsertBookableResource">;
|
|
27969
28476
|
ref: z.ZodPipe<z.ZodString, z.ZodTransform<import("@riverbankcms/site-commands").AppointmentResourceRef, string>>;
|