@riverbankcms/sdk 0.145.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-O-V6Pl5a.mjs → PreviewEditorSidebar-kg2r2Fyi.mjs} +4 -4
- package/dist/{PreviewEditorUI-1UlX_9cw.mjs → PreviewEditorUI-sWMLp5dT.mjs} +3 -3
- package/dist/{PreviewQueryProvider-BxGwdOCV.mjs → PreviewQueryProvider-Cg51xq1w.mjs} +1 -1
- package/dist/{SdkPreviewModeRuntime-DYbA_4iv.mjs → SdkPreviewModeRuntime-h2ti3Hch.mjs} +280 -182
- package/dist/{SiteChromeCustomizeContext-CNTKQ9nx.mjs → SiteChromeCustomizeContext-DEACFH9m.mjs} +1330 -734
- package/dist/_dts/ai/src/contracts/proposals.d.ts +924 -0
- package/dist/_dts/ai/src/contracts/siteStyleProposalSchemas.d.ts +84 -0
- package/dist/_dts/api/src/bookingConfig.d.ts +8 -1
- package/dist/_dts/api/src/bookingManagementEndpoints.d.ts +8 -14
- 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 +20 -4
- package/dist/_dts/api/src/contentRuntime.d.ts +3 -7
- package/dist/_dts/api/src/endpoints.d.ts +223 -88
- 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 +20 -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 +42 -0
- package/dist/_dts/api/src/occurrenceScheduling.d.ts +10 -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/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 +2 -32
- 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 +7 -1
- package/dist/_dts/api/src/wholeSeriesRuns.d.ts +14 -0
- package/dist/_dts/blocks/src/index.d.ts +2 -0
- package/dist/_dts/blocks/src/pageRenderAdmission.d.ts +10 -0
- package/dist/_dts/blocks/src/pageRendererContracts.d.ts +3 -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/icons/social.d.ts +1 -1
- package/dist/_dts/blocks/src/system/registry.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/eventSourceRecovery.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCollectionContract.d.ts +20 -4
- 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.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 -5
- package/dist/_dts/core/src/block-content-identity.d.ts +5 -0
- package/dist/_dts/core/src/editor-state.d.ts +2 -7
- package/dist/_dts/core/src/index.d.ts +1 -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 +3 -1
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +49 -2
- 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 -8
- package/dist/_dts/editor-blocks/src/index.d.ts +1 -0
- package/dist/_dts/preview-next/src/client/blocks/composer/types.d.ts +3 -4
- package/dist/_dts/preview-next/src/client/preview/PreviewEntryControllerProvider.d.ts +1 -2
- package/dist/_dts/sdk/src/next/renderSdkContent.d.ts +0 -1
- package/dist/_dts/sdk/src/rendering/blocks-page-renderer.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/helpers/loadContent.d.ts +6 -1
- 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 +5 -1
- 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 +9 -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/ui/src/navigation-tabs.d.ts +2 -1
- package/dist/client/{BookingConsentAgreement-DlVOmpW4.mjs → BookingConsentAgreement-BQKL045f.mjs} +2 -2
- package/dist/client/CheckboxChoice--W2n6yKs.mjs +24 -0
- package/dist/client/{DiscountCodeDisclosure-T9q623PQ.mjs → DiscountCodeDisclosure-CsOtjFY7.mjs} +1 -1
- package/dist/client/{EventCombined.client-DnsUeONl.mjs → EventCombined.client-BdRjVbhH.mjs} +6 -6
- package/dist/client/{EventListing.client-CNBFqJS4.mjs → EventListing.client-DBxC6xOU.mjs} +2 -2
- package/dist/client/{LeafletStaticMap-C7higg52.mjs → LeafletStaticMap-mHEJKrTs.mjs} +1 -1
- package/dist/client/{ThemedButton-LAJTNrS8.mjs → ThemedButton-CE5KYT6z.mjs} +1 -1
- package/dist/client/{accordion-BcNF9TjX.mjs → accordion-BEQNSptH.mjs} +1 -1
- package/dist/client/{bookingForm-BUaQ3S03.mjs → bookingForm-AMr-s5vw.mjs} +33 -52
- package/dist/client/bookings.mjs +48 -46
- package/dist/client/{carousel-CTdF6e0V.mjs → carousel-Bbt_QgJy.mjs} +1 -1
- package/dist/client/{cart-pGtyf_XU.mjs → cart-CnWi30zJ.mjs} +3 -3
- package/dist/client/{checkout-Da9WSn7Y.mjs → checkout-f3nkWgd4.mjs} +3 -3
- package/dist/client/client.mjs +1611 -815
- package/dist/client/{context-BFeY_Wbm.mjs → context-Bc8T6pCe.mjs} +1 -1
- package/dist/client/{dates-BhwVSxDg.mjs → dates-DUsCEzLb.mjs} +2 -3
- package/dist/client/{eventCalendar-BAtdnR4s.mjs → eventCalendar-CKwgXui5.mjs} +9 -9
- package/dist/client/{eventCombined-RksA3tRC.mjs → eventCombined-CBAOSTGR.mjs} +4 -4
- package/dist/client/{eventDetails-BB9hB4wR.mjs → eventDetails-Dh-_WiBD.mjs} +4 -4
- package/dist/client/{eventListing-BpJBkviM.mjs → eventListing-CA3frIH5.mjs} +4 -4
- package/dist/client/{eventRegistration-B18jFq_o.mjs → eventRegistration-BHtsgdcg.mjs} +21 -22
- package/dist/client/{form-Dodt8Y8t.mjs → form-C2h3YAcg.mjs} +135 -104
- package/dist/client/{headerSection-B0qj9ttg.mjs → headerSection-lwMuMTH9.mjs} +3 -3
- package/dist/client/hooks.mjs +489 -65
- package/dist/client/{locationMap-gn-iMk7a.mjs → locationMap-DJ2bLODV.mjs} +3 -3
- package/dist/client/{newsletterForm-oByLdFkr.mjs → newsletterForm-8Pu5K32g.mjs} +203 -101
- package/dist/client/{pricing-BOU0_Hai.mjs → pricing-HHx3IgBz.mjs} +1 -1
- package/dist/client/{productDetail-D9v1zH2j.mjs → productDetail-C_1odnAf.mjs} +3 -3
- package/dist/client/{productList-D-mItx1n.mjs → productList-CtCv-Nmx.mjs} +3 -3
- package/dist/client/{propsDecoder-C3TP_z4x.mjs → propsDecoder-Dcgsncxb.mjs} +40 -23
- package/dist/client/rendering/client.mjs +490 -457
- package/dist/client/rendering/islands.mjs +17 -17
- package/dist/client/rendering.mjs +1515 -628
- package/dist/client/{routeIslandApiConfig-DzN1W0sq.mjs → routeIslandApiConfig-CWLP7wu3.mjs} +1 -1
- package/dist/client/{scrollToBlock-CWs8EIdo.mjs → scrollToBlock-BNgaEUpo.mjs} +1 -1
- package/dist/client/{shop-Dufw7N7o.mjs → shop-DQXrQ8kJ.mjs} +7 -7
- package/dist/client/{shop-commerce-gklw_hLF.mjs → shop-commerce-B88zmWWo.mjs} +6 -6
- package/dist/client/{shop-commerce-store-Sf1eyTaZ.mjs → shop-commerce-store-DtSfkKuX.mjs} +1 -1
- package/dist/client/{shopShared-B5nyA41S.mjs → shopShared-cuaONpkJ.mjs} +4 -4
- package/dist/client/{useEventFilters-CLL829vy.mjs → useEventFilters-Bukew6Gb.mjs} +6 -6
- package/dist/preview-next/before-render.mjs +368 -103
- package/dist/preview-next/client/runtime.mjs +4 -4
- package/dist/preview-next/editor-base.css +11 -0
- package/dist/preview-next/keepAlive.mjs +328 -103
- package/dist/preview-next/middleware.mjs +329 -103
- package/dist/{previewAuthStore-BxAFlu-j.mjs → previewAuthStore-h5IgbSp4.mjs} +353 -103
- package/dist/{sdk-runtime-D0uZFev7.mjs → sdk-runtime-DTc1uIXn.mjs} +2 -2
- package/dist/{separator-EvdCAn4V.mjs → separator-BpHS1KZK.mjs} +1 -1
- package/dist/server/components.mjs +1376 -331
- package/dist/server/config-validation.mjs +405 -27
- package/dist/server/config.mjs +405 -27
- package/dist/server/data.mjs +405 -27
- package/dist/server/index.mjs +370 -104
- package/dist/server/next.mjs +1430 -463
- package/dist/server/page-converter.mjs +36 -25
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +1374 -331
- package/dist/server/rendering.mjs +1436 -364
- package/dist/server/routing.mjs +476 -43
- package/dist/server/server.mjs +504 -169
- package/dist/server/theme-bridge.mjs +467 -111
- package/dist/styles/index.css +186 -65
- package/package.json +1 -1
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export { API_ENDPOINTS, buildEndpointURL } from './endpoints';
|
|
2
|
+
export { CLIENT_ERROR_REPORT_LIMITS, clientErrorReportSchema } from './clientErrorReporting';
|
|
3
|
+
export type { ClientErrorEvent, ClientErrorReportRequest } from './clientErrorReporting';
|
|
2
4
|
export { parsePreviewRefreshResponse, previewRefreshRequestSchema, previewRefreshResponseSchema, } from './preview-auth';
|
|
3
5
|
export type { PreviewRefreshParseError, PreviewRefreshRequest, PreviewRefreshResponse, } from './preview-auth';
|
|
4
6
|
export { RIVERBANK_CLI_OAUTH_APPLICATION_NAME, RIVERBANK_CLI_OAUTH_CALLBACK_URL, RIVERBANK_CLI_OAUTH_SCOPES, } from './oauth';
|
|
@@ -50,7 +52,7 @@ export { FLEXIBLE_BALANCE_ADMIN_ACTION_SOURCES } from './types';
|
|
|
50
52
|
export { getEventAttendanceModeLabel, getEventDeliveryModeLabel, getEventPricingOptionAttendanceScopeLabel, } from './eventAttendanceLabels';
|
|
51
53
|
export { analyzeSiteBannerBody, decodeSiteBannerSettings, EMPTY_SITE_BANNER_BODY, SITE_BANNER_COOKIE_NAME_PREFIX, SITE_BANNER_MAX_PARAGRAPHS, SITE_BANNER_MAX_TEXT_LENGTH, createSiteBannerRevision, encodeSiteBannerSettings, fromSiteBannerDraft, getSiteBannerCookieName, isSiteBannerEligibleForPath, planSiteBannerRender, resolveSiteBannerAnnouncementRole, resolveSiteBannerShellBehavior, sanitizeSiteBannerBody, siteBannerDraftEquals, siteBannerSettingsInputSchema, siteBannerSettingsSchema, toSiteBannerDraft, validateSiteBannerDraft, } from './siteBanner';
|
|
52
54
|
export type { SiteBannerBodyAnalysis, SiteBannerBodyIssue, SiteBannerDraft, SiteBannerDraftValidationIssue, SiteBannerRenderPlan, SiteBannerResolvedCta, } from './siteBanner';
|
|
53
|
-
export type { AiSiteWizardSuggestGoalsRequest, AiSiteWizardSuggestGoalsResponse, AdminDeleteSiteResponse, AdminDeleteUserResponse, AdminOwnedSiteSummary, DashboardConfig, DashboardNavigationConfig, DashboardNavVisibilityConfig, DashboardNavVisibilityConfigWithRoles, DashboardWaitlistEntry, DashboardWaitlistEntryStatus, DashboardWaitlistListResponse, MediaUsageCheckItem, MediaUsageCheckResponse, MediaUsageLocation, BookingCollectionOptionKind, DirectCheckoutCollectionOptionKind, BookingPaymentArchetype, BookingPaymentDefaultsKey, BookingPaymentDefaults, BookingInstalmentIntervalUnit, BookingPaymentOptionsSource, BookingInstalmentPlanConfig, BookingPaymentCollectionOption, BookingPaymentTermsConfig, PublicBookingPaymentTermsAvailability, PublishedBlockBaseline, PublicBookingAppointmentSummary, PublicBookingCustomerSummary, PublicBookingAppointmentStatusResponse, PublicCreateBookingAppointmentResponse, EventAttendanceMode, EventCapacityByAttendanceMode, EventDeliveryMode, EventModeCapacity, PublicEventPricingOptionAvailability, EventPricingOptionAttendanceScope, GoLiveDecision, LaunchReadiness, LaunchRequirement, LaunchRequirementAction, LaunchEmailPackState, LaunchReviewPackState, LaunchAppointmentsPackState, LaunchEventsPackState, LaunchCoursesPackState, LaunchPaymentsPackState, LaunchCustomDomainPackState, AcknowledgeLaunchRequirementRequest, AcknowledgeLaunchRequirementResponse, GoLiveSiteRequest, GoLiveSiteResponse, LaunchRequirementEvidence, LaunchRequirementId, LaunchOverridableRequirementId, LaunchRequirementOverride, LaunchRequirementOverrideDefinition, LaunchRequirementOverrideReason, LaunchRequirementOwner, LaunchRequirementPackId, LaunchRequirementPriority, LaunchRequirementState, OnboardingPreviewStatusResponse, OnboardingPreviewThemeOption, OnboardingPreviewThemesResponse, ResendOnboardingPreviewConfirmationResponse, PublicOnboardingAttemptResponse, PublicOnboardingAttemptProgress, PublicOnboardingAttemptProgressResponse, PublicOnboardingProvisioningStage, PublicOnboardingAttemptRunKickoff, PublicOnboardingAttemptRunResponse, MacadamiaOnboardingEventSession, MacadamiaOnboardingDraftFirstOffering, MacadamiaOnboardingFirstOffering, MacadamiaOnboardingFirstOfferingDeliveryMode, MacadamiaOnboardingFirstOfferingKind, MacadamiaOnboardingFirstOfferingScheduleMode, MacadamiaOnboardingLogoAnalysis, MacadamiaOnboardingLogoPaletteRecommendation, MacadamiaOnboardingMappedPalette, MacadamiaOnboardingOfferingKind, MacadamiaOnboardingPlanPreference, MacadamiaOnboardingPublicExperience, MacadamiaOnboardingSiteMode, MacadamiaOnboardingStyleMood, MacadamiaOnboardingSurfaceData, MacadamiaOnboardingTeamMode, MacadamiaOnboardingVisualIdentity, MacadamiaOnboardingWeekday, SiteGenerationBookingOfferingKind, SiteAnalyticsCookieBannerCopyOverrides, SiteAnalyticsSettingsPayload, SiteBannerAnnouncementRole, SiteBannerCta, SiteBannerScope, SiteBannerSettingsPayload, SiteBannerTone, StripeConnectRestrictions, SiteLegalJurisdiction, SiteLegalProfilePayload, SensitiveClientRecordsConfirmationKey, SensitiveClientRecordsMode, SensitiveClientRecordsRetentionProfile, SensitiveClientRecordsSettings, SensitiveClientRecordsUpdatePayload, SitePrivacyPolicyCapabilities, SitePrivacyPolicyDocument, SitePrivacySettings, SitePrivacySettingsPayload, SitePrivacySettingsResponse, SiteRuntimeBusinessDetails, SiteRuntimeBookingAttribution, SiteRuntimePrivacyPolicy, WaitlistDashboardActionResponse, } from './types';
|
|
55
|
+
export type { AiSiteWizardSuggestGoalsRequest, AiSiteWizardSuggestGoalsResponse, AdminDeleteSiteResponse, AdminDeleteUserResponse, AdminOwnedSiteSummary, DashboardConfig, DashboardNavigationConfig, DashboardNavVisibilityConfig, DashboardNavVisibilityConfigWithRoles, DashboardWaitlistEntry, DashboardWaitlistEntryStatus, DashboardWaitlistListResponse, MediaUsageCheckItem, MediaUsageCheckResponse, MediaUsageLocation, BookingCollectionOptionKind, DirectCheckoutCollectionOptionKind, BookingPaymentArchetype, BookingPaymentDefaultsKey, BookingPaymentDefaults, BookingInstalmentIntervalUnit, BookingPaymentOptionsSource, BookingInstalmentPlanConfig, BookingPaymentCollectionOption, BookingPaymentTermsConfig, PublicBookingPaymentTermsAvailability, PublishedBlockBaseline, PublicBookingAppointmentSummary, PublicBookingCustomerSummary, PublicBookingAppointmentStatusResponse, PublicCreateBookingAppointmentResponse, EventAttendanceMode, EventCapacityByAttendanceMode, EventDeliveryMode, EventModeCapacity, PublicEventPricingOptionAvailability, EventPricingOptionAttendanceScope, GoLiveDecision, LaunchReadiness, LaunchRequirement, LaunchRequirementAction, LaunchEmailPackState, LaunchReviewPackState, LaunchAppointmentsPackState, LaunchEventsPackState, LaunchCoursesPackState, LaunchPaymentsPackState, LaunchCustomDomainPackState, AcknowledgeLaunchRequirementRequest, AcknowledgeLaunchRequirementResponse, GoLiveSiteRequest, GoLiveSiteResponse, LaunchRequirementEvidence, LaunchRequirementDetail, LaunchDetailedRequirementId, LaunchAppointmentsGapDetail, LaunchPaymentsGapDetail, LaunchEventKindsDetail, LaunchRequirementId, LaunchOverridableRequirementId, LaunchRequirementOverride, LaunchRequirementOverrideDefinition, LaunchRequirementOverrideReason, LaunchRequirementOwner, LaunchRequirementPackId, LaunchRequirementPriority, LaunchRequirementState, OnboardingPreviewStatusResponse, OnboardingPreviewThemeOption, OnboardingPreviewThemesResponse, ResendOnboardingPreviewConfirmationResponse, PublicOnboardingAttemptResponse, PublicOnboardingAttemptProgress, PublicOnboardingAttemptProgressResponse, PublicOnboardingProvisioningStage, PublicOnboardingAttemptRunKickoff, PublicOnboardingAttemptRunResponse, MacadamiaOnboardingEventSession, MacadamiaOnboardingDraftFirstOffering, MacadamiaOnboardingFirstOffering, MacadamiaOnboardingFirstOfferingDeliveryMode, MacadamiaOnboardingFirstOfferingKind, MacadamiaOnboardingFirstOfferingScheduleMode, MacadamiaOnboardingLogoAnalysis, MacadamiaOnboardingLogoPaletteRecommendation, MacadamiaOnboardingMappedPalette, MacadamiaOnboardingOfferingKind, MacadamiaOnboardingPlanPreference, MacadamiaOnboardingPublicExperience, MacadamiaOnboardingSiteMode, MacadamiaOnboardingStyleMood, MacadamiaOnboardingSurfaceData, MacadamiaOnboardingTeamMode, MacadamiaOnboardingVisualIdentity, MacadamiaOnboardingWeekday, SiteGenerationBookingOfferingKind, SiteAnalyticsCookieBannerCopyOverrides, SiteAnalyticsSettingsPayload, SiteBannerAnnouncementRole, SiteBannerCta, SiteBannerScope, SiteBannerSettingsPayload, SiteBannerTone, StripeConnectRestrictions, SiteLegalJurisdiction, SiteLegalProfilePayload, SensitiveClientRecordsConfirmationKey, SensitiveClientRecordsMode, SensitiveClientRecordsRetentionProfile, SensitiveClientRecordsSettings, SensitiveClientRecordsUpdatePayload, SitePrivacyPolicyCapabilities, SitePrivacyPolicyDocument, SitePrivacySettings, SitePrivacySettingsPayload, SitePrivacySettingsResponse, SiteRuntimeBusinessDetails, SiteRuntimeBookingAttribution, SiteRuntimePrivacyPolicy, WaitlistDashboardActionResponse, } from './types';
|
|
54
56
|
export { acknowledgeLaunchRequirementRequestSchema, goLiveSiteRequestSchema, LAUNCH_REQUIREMENT_OVERRIDE_DEFINITIONS, toAcknowledgeLaunchRequirementRequest, } from './siteOnboarding';
|
|
55
57
|
export { MANAGED_PRIVACY_POLICY_PATH, DEFAULT_SITE_LEGAL_JURISDICTION, EU_MEMBER_COUNTRIES, JURISDICTION_LABELS, SENSITIVE_CLIENT_RECORDS_CONFIRMATION_KEYS, SENSITIVE_CLIENT_RECORDS_CONFIRMATION_VERSION, buildManagedPrivacyPolicyDocument, isSitePrivacyIdentityReady, mapCountryToLegalJurisdiction, resolveLegalIdentitySource, resolveSitePrivacyIdentity, type ResolvedSitePrivacyIdentity, type SiteLegalIdentitySource, type SiteLegalProfileInput, } from './privacyPolicy';
|
|
56
58
|
export { analyticsCollect } from './analytics';
|
|
@@ -69,6 +71,7 @@ export type { RouteMetadataPayload, RouteMetadataResponse } from './routes';
|
|
|
69
71
|
export { getBookingSettingsRequest, updateBookingSettingsRequest, createAppointmentRequest, addEventOccurrenceAttendeeRequest, } from './bookings';
|
|
70
72
|
export { deleteEventOfferingRequest, addEventSeriesRegistrationRequest, updateEventSeriesRegistrationRequest, } from './bookings';
|
|
71
73
|
export * from './appointmentServiceContracts';
|
|
74
|
+
export * from './event-visibility';
|
|
72
75
|
export type { BookingPricing, BookingPricingDraft, BookingPricingInput, BookingPricingInputValueTypes, BookingPricingOption, BookingPricingOptionInput, BookingSettingsSection, BookingSettingsSectionUpdate, BookingSettingsSectionUpdateRequest, } from './bookingConfig';
|
|
73
76
|
export type { BookingServicePricing, BookingServicePricingInput, BookingServicePricingOption, BookingServicePricingOptionInput, } from './bookingServicePricing';
|
|
74
77
|
export { BOOKING_SETTINGS_SECTION_LABELS, BOOKING_SETTINGS_SECTION_KEYS, BOOKING_SETTINGS_SECTIONS, DEFAULT_APPOINTMENT_STAFF_DIGEST_LOCAL_SEND_TIME, DEFAULT_BOOKING_NOTIFICATION_SEND_RULE, DEFAULT_BOOKING_NOTIFICATION_SETTINGS, DIRECT_CHECKOUT_COLLECTION_OPTION_KINDS, applyBookingSettingsSectionUpdate, applyBookingSettingsSectionUpdates, createBookingSettingsUpdateRequest, resolveBookingSettingsEventCatalogue, } from './bookingConfig';
|
|
@@ -125,7 +128,9 @@ export type * from './giftingDashboard';
|
|
|
125
128
|
export type * from './indexCoreTypes';
|
|
126
129
|
export type * from './indexExtendedTypes';
|
|
127
130
|
export type * from './eventManagementContracts';
|
|
131
|
+
export type { SdkTakeEventOfflineBody } from './sdkEventLifecycle';
|
|
128
132
|
export type * from './occurrenceScheduling';
|
|
133
|
+
export type * from './siteAddressEndpoints';
|
|
129
134
|
export { STAFF_OPERATIONAL_CAPABILITIES, getDefaultStaffCapabilities, } from './types';
|
|
130
135
|
export { appointmentResourceIdFromStaffMemberId, canAccessOwnAppointmentResource, deriveLinkedAppointmentIdentity, deriveOpsLandingDestination, deriveSiteListingNavigationPlan, deriveStaffScope, deriveStaffSiteHomeDestination, getIdentityAppointmentResourceId, getIdentityAppointmentResourceIdValue, getIdentityStaffMemberId, getIdentityStaffMemberIdValue, getLinkedStaffMemberId, getOwnAppointmentResourceId, hasAppointmentStaffAccess, hasEventOpsAccess, isEventOpsOnlyUser, isLinkedAppointmentResource, isStaffScoped, isTeamMemberScope, roleAtLeast, roleAtLeastOrNone, shouldRedirectStaffScopeToOps, } from './types';
|
|
131
136
|
export type { LinkedAppointmentIdentity, OpsLandingDestination, SiteListingDestination, SiteListingNavigationPlan, StaffMembershipInput, StaffScope, StaffSiteHomeDestination, } from './types';
|
|
@@ -137,3 +142,4 @@ export type { ContentTypeKey } from './contentEntries';
|
|
|
137
142
|
export type { CustomDomainConnectionSnapshot, CustomDomainConnectionState, DomainDnsInstruction, DomainHostingStatus, DomainVerificationRecord, } from './domainConnection';
|
|
138
143
|
export type { BlockListItem, EntryPageContentSlot, EntryPageContentSlotAllowedBlocks, EntryPageContentSlotWarning, EntryPageContentSlotsResponse, PageSurfaceContentSlot, PageSurfaceContentSlotsResponse, PageSurfaceEditorDocument, PublishPageSurfaceResponse, SdkEntrySlotContent, SdkRuntimeContentByPathResponse, SdkRuntimePageSurface, SdkRuntimePageSurfaceResponse, SdkRuntimePageSurfaceSubject, SdkSurfaceSlotContent, SiteBookingOfferingPresetSummary, WorkflowContentEntryTargetSnapshot, WorkflowPageDraftContent, WorkflowPagePublishedContent, WorkflowPageStatus, WorkflowPageTargetSnapshot, WorkflowRunStatusResponse, WorkflowTargetEntrySnapshot, } from './contentRuntime';
|
|
139
144
|
export type { SdkBlockContentAdmission } from './sdkBlockContentAdmission';
|
|
145
|
+
export type { SaveEventPageWordsPayload, SaveEventPageWordsResponse, } from './eventPageWords';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type { APIEndpoint, APIEndpoints, AccountAPIEndpoints, AccountAPIEndpointMap, AccountIdentityResponse, AccountSite, AccountSiteDeploymentMode, AccountSiteLinkCapability, AccountListSitesQuery, AccountListSitesResponse, AccountCreateSiteRequest, AccountCreateSiteResponse, AccountProjectCredential, AccountProjectCredentialKeyIds, AccountProjectCredentialRecoveryFailureTag, AccountProvisionProjectCredentialsRequest, AccountProvisionProjectCredentialsResponse, PageBlockDesignSyncWarning, AiAPIEndpoints, LaunchReadinessAPIEndpoints, SiteMembersAPIEndpoints, SeoAPIEndpoints, RedirectsAPIEndpoints, AvailabilityAPIEndpoints, CalendarAPIEndpoints, ContentTypesAPIEndpoints, MediaAPIEndpoints, RiverbankSiteConfig, RiverbankSiteConfigInput, SdkWorkflowConfig, SdkWorkflowEntryDraftUpdatedCondition, SdkWorkflowEntryDraftUpdatedTrigger, SdkWorkflowManualTrigger, SdkWorkflowTrigger, SdkWorkflowConfirmation, GetEndpoint, HTTPMethod, APICallParamsStrict, CreateManualSiteRequest, CreateManualSiteResponse, ApiKeyRecord, PageRecord, NavigationMenuRecord, NavigationItemRecord, NavigationMenuWithItems, AccessPolicyContract, EntitledCustomerAccessScopeContract, AccessPolicyTag, CartLinkLabelConfig, CartLinkPayload, LinkPayload, InternalLinkRoutablePayload, EntryRoutableContentItem, NavigationLinkInput, RoutableContentItem, PageRoutableContentItem, PageSurfaceRoutableContentItem, CreateMediaAssetBody, FileKindContract, FileKindTag, FileUseContract, FileUseTag, ImageFileFormat, MediaAssetResponse, MediaClassifyJobResponse, MediaJobSummaryResponse, MediaLabelSummary, MediaSettingsResponse, RenderableFileKindTag, StorageClass, UploadIntentContract, UploadIntentTag, BookingSettings, AppointmentStaffChangeNotificationSettings, AppointmentStaffNotificationSetupHealth, AppointmentStaffReminderSettings, BookingNotificationOverrideRule, BookingNotificationSendRule, BookingNotificationSettings, BookingNotificationState, BookingNotificationUpdateKind, TeamMemberProfilePagePolicyMode, TeamMemberProfilePageSettings, BookingCurrencyEditState, BookingSettingsEditorSnapshot, BookingSettingsResponse, BookingWaitlistSettings, BookingModuleToggles, BookingReminderOverrides, BookingDefaultImage, AppointmentFollowUpScopeIds, AppointmentFollowUpScopeMode, AppointmentFollowUpSettings, WaitlistMode, WaitlistOverride, EventBookingPolicyMode, EventBookingPolicy, EventBookingPolicies, UpdateBookingSettingsRequest, RefundEventAttendeeRequest, EventAttendeeRefundResult, RefundEventAttendeeResponse, RefundEventSeriesRegistrationRequest, EventSeriesRegistrationRefundResult, RefundEventSeriesRegistrationResponse, TransferEventAttendeeRequest, EventAttendeeTransferResult, TransferEventAttendeeResponse, DiscardTeamMemberProfileDraftResponse, PublishTeamMemberProfileRequest, PublishTeamMemberProfileResponse, CancelScheduledTeamMemberProfileResponse, ScheduleTeamMemberProfileRequest, ScheduleTeamMemberProfileResponse, TeamMemberProfileContentResponse, UnpublishTeamMemberProfileResponse, UpdateTeamMemberProfileContentRequest, UpdateTeamMemberProfilePolicyRequest, UpdateTeamMemberProfilePolicyResponse, UpdateTeamMemberProfileRouteMetadataRequest, UpdateTeamMemberProfileRouteMetadataResponse, OpsEventOccurrenceSummary, EventTicketBreakdownLine, OpsOccurrenceAttendee, OpsListUpcomingEventOccurrencesResponse, OpsOccurrenceAttendeesResponse, OpsValidateEventTicketRequest, OpsValidateEventTicketResponse, OpsEventAttendeeCheckinUpdate, OpsUpdateEventAttendeeCheckinRequest, OpsUpdateEventAttendeeCheckinResponse, OpsEventAttendeeDetailsResponse, OpsCancelEventAttendeeRequest, OpsCancelEventAttendeeResult, OpsCancelEventAttendeeResponse, OpsRefundEventAttendeeResponse, EventAttendeeRefundHistoryItem, ListEventAttendeeRefundsResponse, EventSeriesRegistrationRefundHistoryItem, ListEventSeriesRegistrationRefundsResponse, EventAttendeeTransferHistoryItem, ListEventAttendeeTransfersResponse, EmailTemplateType, EmailTemplate, EmailTemplateInput, EventEmailTemplateType, EventEmailTemplate, GetEventSeriesEmailTemplatesResponse, UpdateEventSeriesEmailTemplatesRequest, UpdateEventSeriesEmailTemplatesResponse, GetEmailSettingsResponse, UpdateEmailSettingsRequest, UpdateEmailSettingsResponse, SendTestEmailRequest, SendTestEmailResponse, PreviewEmailTemplateRequest, PreviewEmailTemplateResponse, AvailabilityScheduleSettings, ServiceSpecificAvailabilityScheduleSettings, ListAvailabilityRulesResponse, WeeklyAvailabilityWindowInput, SetWeeklyAvailabilityRequest, SetWeeklyAvailabilityResponse, SetWeeklyAvailabilityIssue, AppointmentBlackout, CreateBlackoutRequest, ListBlackoutsResponse, CreateBlackoutResponse, DeleteBlackoutResponse, TimeSlot, GetAvailableSlotsQuery, GetAvailableSlotsResponse, CreateAppointmentRequest, CreateAppointmentResponse, BookingQuestionFormSummary, BookingQuestionRequirementScope, BookingRequirementConfigRequest, BookingRequirementConfigResponse, BookingRequirementTargetType, BookingQuestionsRequirementConfig, BookingRequirementValidityPolicy, ConsentRequirementConfig, PublicCreateBookingAppointmentRequest, AppointmentRecord, AppointmentStatus, BookingCustomerRecord, BookingSessionUpdateMeRequest, WholeSeriesRunStatus, WholeSeriesRunMutableStatus, WholeSeriesRunCancellationSettlement, DeleteWholeSeriesRunResponse, DeleteEventOfferingResponse, EventSeriesContentOwnershipBlocker, EventSeriesContentOwnershipRequest, EventSeriesContentOwnershipResponse, EventSeriesRegistrationStatus, EventSeriesRegistrationPaymentMethod, EventSeriesRegistrationPaymentStatus, EventSeriesRegistrationRecord, EventSeriesRegistrationWithCustomer, ListEventSeriesRegistrationsResponse, WholeSeriesParticipantMessageStatus, GetParticipantMessageRecipientsRequest, ListParticipantMessageHistoryRequest, ParticipantMessageEmailReadiness, ParticipantMessageEmailIdentity, ParticipantMessageHistoryEntry, ParticipantMessageHistoryResponse, ParticipantMessageExcludedRecipientPreview, ParticipantMessageRecipientPreview, ParticipantMessageRecipientSummary, ParticipantMessageRecipientsResponse, ParticipantMessageSendResponse, ParticipantMessageTarget, ParticipantRecipientExclusionReason, SendParticipantMessageRequest, TestParticipantMessageRequest, TestParticipantMessageResponse, AddEventSeriesRegistrationRequest, AddEventSeriesRegistrationResponse, UpdateEventSeriesRegistrationRequest, UpdateEventSeriesRegistrationResponse, BookingCustomerWithCounts, BookingCustomerListItem, CustomerAggregateCoverage, CustomerAggregateSnapshot, CustomerBookingActivitySummary, CustomerFinancialCoverage, CustomerFinancialValue, CustomerLifecycleFlagCode, CustomerLifecycleSegmentCode, CustomerLifecycleSummary, CustomerWaitlistStatus, CustomerWaitlistSummary, CustomerSortColumn, CustomerFilter, ListBookingCustomersRequest, ListBookingCustomersResponse, CreateBookingCustomerRequest, CreateBookingCustomerResponse, CustomerContactChange, CustomerContactField, CustomerProfileRectificationSourceContext, CustomerProfileRectificationSourceSurface, RectifyBookingCustomerProfileRequest, RectifyBookingCustomerProfileResponse, BookingParticipantIdentityForRectification, ParticipantIdentityRectificationSourceContext, ParticipantIdentityRectificationSourceSurface, RectifyBookingParticipantIdentityRequest, RectifyBookingParticipantIdentityResponse, CustomerPassRecord, CustomerPassStatus, ListCustomerPassesResponse, SiteCustomerRecord, SiteCustomerPassRecord, ListSiteCustomerPassesRequest, ListSiteCustomerPassesResponse, CustomerPassRefundResult, CustomerPassRefundRecord, AdjustCustomerPassDetailsRequest, AdjustCustomerPassDetailsResponse, RefundCustomerPassRequest, RefundCustomerPassResponse, ListCustomerPassRefundsResponse, CustomerMembershipRecord, ListCustomerMembershipsResponse, CustomerMembershipStatus, SiteCustomerMembershipRecord, ListSiteCustomerMembershipsRequest, ListSiteCustomerMembershipsResponse, MoneyPeriodPreset, MoneyItemKind, MoneyPaymentsView, MoneyTimeSeriesGranularity, MoneyBreakdownDimension, MoneyFilterQuery, MoneyComparisonMetric, MoneyDateRange, MoneyReportSummary, MoneyTimeSeriesBucket, MoneyBreakdownRow, MoneyBreakdownSection, GetMoneyReportRequest, GetMoneyReportResponse, MoneyPaymentListItem, ListMoneyPaymentsRequest, ListMoneyPaymentsResponse, BookingActivityCategory, BookingActivityType, BookingActivityCursor, BookingActivityListItem, ListBookingActivityRequest, ListBookingActivityResponse, BookingLedgerKind, BookingLedgerDateBasis, BookingLedgerPeriodPreset, BookingLedgerCancellationMode, ExportBookingLedgerCsvRequest, DiscountCodeType, DiscountPerEmailLimit, DiscountMembershipDuration, DiscountEventScopeMode, DiscountScopeMode, ProductScopeMode, DiscountCodeRecord, DiscountCodeScopeIds, DiscountCodeDetails, AutoAppliedDiscountPreview, EventAutoApplyDiscountPreview, CreateDiscountCodeRequest, UpdateDiscountCodeRequest, ListDiscountCodesResponse, DiscountCodeResponse, DeleteDiscountCodeResponse, DiscountRedemptionStatus, DiscountRedemptionListItem, ListDiscountRedemptionsRequest, ListDiscountRedemptionsResponse, MembershipPaymentForRefund, ListCustomerMembershipPaymentsResponse, CancelCustomerMembershipAtPeriodEndResult, CustomerMembershipPaymentRefundResult, CustomerMembershipPaymentRefundRecord, RefundCustomerMembershipPaymentRequest, RefundCustomerMembershipPaymentResponse, ListCustomerMembershipPaymentRefundsResponse, CustomerAttendanceRecord, CustomerAttendancePayment, CustomerAttendanceLivePayment, CustomerAttendanceArchivedPayment, CustomerAttendancePaymentMethod, CustomerAttendancePaymentStatus, ListCustomerAttendancesRequest, ListCustomerAttendancesResponse, BookingCustomerCreditSummary, BookingCustomerCreditTransactionListItem, GetCustomerCreditResponse, } from './types';
|
|
1
|
+
export type { APIEndpoint, APIEndpoints, AccountAPIEndpoints, AccountAPIEndpointMap, AccountIdentityResponse, AccountSite, AccountSiteDeploymentMode, AccountSiteLinkCapability, AccountListSitesQuery, AccountListSitesResponse, AccountCreateSiteRequest, AccountCreateSiteResponse, AccountProjectCredential, AccountProjectCredentialKeyIds, AccountProjectCredentialRecoveryFailureTag, AccountProvisionProjectCredentialsRequest, AccountProvisionProjectCredentialsResponse, PageBlockDesignSyncWarning, AiAPIEndpoints, LaunchReadinessAPIEndpoints, SiteMembersAPIEndpoints, SeoAPIEndpoints, RedirectsAPIEndpoints, AvailabilityAPIEndpoints, CalendarAPIEndpoints, ContentTypesAPIEndpoints, MediaAPIEndpoints, RiverbankSiteConfig, RiverbankSiteConfigInput, SdkWorkflowConfig, SdkWorkflowEntryDraftUpdatedCondition, SdkWorkflowEntryDraftUpdatedTrigger, SdkWorkflowManualTrigger, SdkWorkflowTrigger, SdkWorkflowConfirmation, GetEndpoint, HTTPMethod, APICallParamsStrict, CreateManualSiteRequest, CreateManualSiteResponse, ApiKeyRecord, PageRecord, NavigationMenuRecord, NavigationItemRecord, NavigationMenuWithItems, AccessPolicyContract, EntitledCustomerAccessScopeContract, AccessPolicyTag, CartLinkLabelConfig, CartLinkPayload, LinkPayload, InternalLinkRoutablePayload, EntryRoutableContentItem, NavigationLinkInput, RoutableContentItem, PageRoutableContentItem, PageSurfaceRoutableContentItem, CreateMediaAssetBody, FileKindContract, FileKindTag, FileUseContract, FileUseTag, ImageFileFormat, MediaAssetResponse, MediaClassifyJobResponse, MediaJobSummaryResponse, MediaLabelSummary, MediaSettingsResponse, RenderableFileKindTag, StorageClass, UploadIntentContract, UploadIntentTag, BookingSettings, AppointmentStaffChangeNotificationSettings, AppointmentStaffNotificationSetupHealth, AppointmentStaffReminderSettings, BookingNotificationOverrideRule, BookingNotificationSendRule, BookingNotificationSettings, BookingNotificationState, BookingNotificationUpdateKind, TeamMemberProfilePagePolicyMode, TeamMemberProfilePageSettings, BookingCurrencyEditState, BookingSettingsEditorSnapshot, BookingSettingsResponse, BookingWaitlistSettings, BookingModuleToggles, BookingReminderOverrides, BookingDefaultImage, AppointmentFollowUpScopeIds, AppointmentFollowUpScopeMode, AppointmentFollowUpSettings, WaitlistMode, WaitlistOverride, EventBookingPolicyMode, EventBookingPolicy, EventBookingPolicies, UpdateBookingSettingsRequest, RefundEventAttendeeRequest, EventAttendeeRefundResult, RefundEventAttendeeResponse, RefundEventSeriesRegistrationRequest, EventSeriesRegistrationRefundResult, RefundEventSeriesRegistrationResponse, TransferEventAttendeeRequest, EventAttendeeTransferResult, TransferEventAttendeeResponse, DiscardTeamMemberProfileDraftResponse, PublishTeamMemberProfileRequest, PublishTeamMemberProfileResponse, CancelScheduledTeamMemberProfileResponse, ScheduleTeamMemberProfileRequest, ScheduleTeamMemberProfileResponse, TeamMemberProfileContentResponse, UnpublishTeamMemberProfileResponse, UpdateTeamMemberProfileContentRequest, UpdateTeamMemberProfilePolicyRequest, UpdateTeamMemberProfilePolicyResponse, UpdateTeamMemberProfileRouteMetadataRequest, UpdateTeamMemberProfileRouteMetadataResponse, OpsEventOccurrenceSummary, EventTicketBreakdownLine, OpsOccurrenceAttendee, OpsListUpcomingEventOccurrencesResponse, OpsOccurrenceAttendeesResponse, OpsValidateEventTicketRequest, OpsValidateEventTicketResponse, OpsEventAttendeeCheckinUpdate, OpsUpdateEventAttendeeCheckinRequest, OpsUpdateEventAttendeeCheckinResponse, OpsEventAttendeeDetailsResponse, OpsCancelEventAttendeeRequest, OpsCancelEventAttendeeResult, OpsCancelEventAttendeeResponse, OpsRefundEventAttendeeResponse, EventAttendeeRefundHistoryItem, ListEventAttendeeRefundsResponse, EventSeriesRegistrationRefundHistoryItem, ListEventSeriesRegistrationRefundsResponse, EventAttendeeTransferHistoryItem, ListEventAttendeeTransfersResponse, EmailTemplateType, EmailTemplate, EmailTemplateInput, EventEmailTemplateType, EventEmailTemplate, GetEventSeriesEmailTemplatesResponse, UpdateEventSeriesEmailTemplatesRequest, UpdateEventSeriesEmailTemplatesResponse, GetEmailSettingsResponse, UpdateEmailSettingsRequest, UpdateEmailSettingsResponse, SendTestEmailRequest, SendTestEmailResponse, PreviewEmailTemplateRequest, PreviewEmailTemplateResponse, AvailabilityScheduleSettings, ServiceSpecificAvailabilityScheduleSettings, ListAvailabilityRulesResponse, WeeklyAvailabilityWindowInput, SetWeeklyAvailabilityRequest, SetWeeklyAvailabilityResponse, SetWeeklyAvailabilityIssue, AppointmentBlackout, CreateBlackoutRequest, ListBlackoutsResponse, CreateBlackoutResponse, DeleteBlackoutResponse, TimeSlot, GetAvailableSlotsQuery, GetAvailableSlotsResponse, CreateAppointmentRequest, CreateAppointmentResponse, BookingQuestionFormSummary, BookingQuestionRequirementScope, BookingRequirementConfigRequest, BookingRequirementConfigResponse, BookingRequirementTargetType, BookingQuestionsRequirementConfig, BookingRequirementValidityPolicy, ConsentRequirementConfig, PublicCreateBookingAppointmentRequest, AppointmentRecord, AppointmentStatus, BookingCustomerRecord, BookingSessionUpdateMeRequest, WholeSeriesRunStatus, WholeSeriesRunMutableStatus, WholeSeriesRunCancellationSettlement, DeleteWholeSeriesRunResponse, DeleteEventOfferingResponse, EventSeriesContentOwnershipBlocker, EventSeriesContentOwnershipRequest, EventSeriesContentOwnershipResponse, EventSeriesRegistrationStatus, EventSeriesRegistrationPaymentMethod, EventSeriesRegistrationPaymentStatus, EventSeriesRegistrationRecord, EventSeriesRegistrationWithCustomer, ListEventSeriesRegistrationsResponse, WholeSeriesParticipantMessageStatus, GetParticipantMessageRecipientsRequest, ListParticipantMessageHistoryRequest, ParticipantMessageEmailReadiness, ParticipantMessageEmailIdentity, ParticipantMessageHistoryEntry, ParticipantMessageHistoryResponse, ParticipantMessageExcludedRecipientPreview, ParticipantMessageRecipientPreview, ParticipantMessageRecipientSummary, ParticipantMessageRecipientsResponse, ParticipantMessageSendResponse, ParticipantMessageTarget, ParticipantRecipientExclusionReason, SendParticipantMessageRequest, TestParticipantMessageRequest, TestParticipantMessageResponse, AddEventSeriesRegistrationRequest, AddEventSeriesRegistrationResponse, UpdateEventSeriesRegistrationRequest, UpdateEventSeriesRegistrationResponse, SaveEventSeriesRegistrationAnswersRequest, SaveEventSeriesRegistrationAnswersResponse, BookingCustomerWithCounts, BookingCustomerListItem, CustomerAggregateCoverage, CustomerAggregateSnapshot, CustomerBookingActivitySummary, CustomerFinancialCoverage, CustomerFinancialValue, CustomerLifecycleFlagCode, CustomerLifecycleSegmentCode, CustomerLifecycleSummary, CustomerWaitlistStatus, CustomerWaitlistSummary, CustomerSortColumn, CustomerFilter, ListBookingCustomersRequest, ListBookingCustomersResponse, CreateBookingCustomerRequest, CreateBookingCustomerResponse, CustomerContactChange, CustomerContactField, CustomerProfileRectificationSourceContext, CustomerProfileRectificationSourceSurface, RectifyBookingCustomerProfileRequest, RectifyBookingCustomerProfileResponse, BookingParticipantIdentityForRectification, ParticipantIdentityRectificationSourceContext, ParticipantIdentityRectificationSourceSurface, RectifyBookingParticipantIdentityRequest, RectifyBookingParticipantIdentityResponse, CustomerPassRecord, CustomerPassStatus, ListCustomerPassesResponse, SiteCustomerRecord, SiteCustomerPassRecord, ListSiteCustomerPassesRequest, ListSiteCustomerPassesResponse, CustomerPassRefundResult, CustomerPassRefundRecord, AdjustCustomerPassDetailsRequest, AdjustCustomerPassDetailsResponse, RefundCustomerPassRequest, RefundCustomerPassResponse, ListCustomerPassRefundsResponse, CustomerMembershipRecord, ListCustomerMembershipsResponse, CustomerMembershipStatus, SiteCustomerMembershipRecord, ListSiteCustomerMembershipsRequest, ListSiteCustomerMembershipsResponse, MoneyPeriodPreset, MoneyItemKind, MoneyPaymentsView, MoneyTimeSeriesGranularity, MoneyBreakdownDimension, MoneyFilterQuery, MoneyComparisonMetric, MoneyDateRange, MoneyReportSummary, MoneyTimeSeriesBucket, MoneyBreakdownRow, MoneyBreakdownSection, GetMoneyReportRequest, GetMoneyReportResponse, MoneyPaymentListItem, ListMoneyPaymentsRequest, ListMoneyPaymentsResponse, BookingActivityCategory, BookingActivityType, BookingActivityCursor, BookingActivityListItem, ListBookingActivityRequest, ListBookingActivityResponse, BookingLedgerKind, BookingLedgerDateBasis, BookingLedgerPeriodPreset, BookingLedgerCancellationMode, ExportBookingLedgerCsvRequest, DiscountCodeType, DiscountPerEmailLimit, DiscountMembershipDuration, DiscountEventScopeMode, DiscountScopeMode, ProductScopeMode, DiscountCodeRecord, DiscountCodeScopeIds, DiscountCodeDetails, AutoAppliedDiscountPreview, EventAutoApplyDiscountPreview, CreateDiscountCodeRequest, UpdateDiscountCodeRequest, ListDiscountCodesResponse, DiscountCodeResponse, DeleteDiscountCodeResponse, DiscountRedemptionStatus, DiscountRedemptionListItem, ListDiscountRedemptionsRequest, ListDiscountRedemptionsResponse, MembershipPaymentForRefund, ListCustomerMembershipPaymentsResponse, CancelCustomerMembershipAtPeriodEndResult, CustomerMembershipPaymentRefundResult, CustomerMembershipPaymentRefundRecord, RefundCustomerMembershipPaymentRequest, RefundCustomerMembershipPaymentResponse, ListCustomerMembershipPaymentRefundsResponse, CustomerAttendanceRecord, CustomerAttendancePayment, CustomerAttendanceLivePayment, CustomerAttendanceArchivedPayment, CustomerAttendancePaymentMethod, CustomerAttendancePaymentStatus, ListCustomerAttendancesRequest, ListCustomerAttendancesResponse, BookingCustomerCreditSummary, BookingCustomerCreditTransactionListItem, GetCustomerCreditResponse, } from './types';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type { AccountRevokeSessionsBody, AccountRevokeSessionsResponse, AccountUpdatePasswordBody, AccountUpdatePasswordResponse, AuthFieldKey, AuthSubmissionErrorReason, AuthRegistrationNext, AuthSubmissionSuccess, AuthSubmissionError, AuthSubmissionResult, ReauthSubmissionResult, DomainAvailability, SiteDomainRecord, SiteDomainContactPayload, RegistrarLifecycleState, RegistrarLifecycleMutationOutcome, RegistrarLifecycleMutationOperation, RegistrarLifecycleMutationBase, RegistrarLifecycleMutationResponse, ExposedRegistrarLifecycleMutationResponse, RegistrarLifecycleResponse, RegistrarBooleanMutationRequest, RegistrarRenewalCostEstimate, RegistrarProviderName, RegistrarRenewalRiskReason, RegistrarRenewalManualReviewReason, RegistrarRenewalManualReviewReasonWithoutExpiry, RegistrarRenewalManualReviewReasonWithExpiry, RegistrarRenewalFailedReason, RegistrarRenewalPosture, RegistrarAccountBalance, RegistrarRenewalPostureResponse, LookupSiteDomainRequest, LookupSiteDomainResponse, RegisterSiteDomainRequest, RegisterSiteDomainResponse, AddCustomDomainRequest, AddCustomDomainResponse, SetHomepageRequest, SetHomepageResponse, ContentRouteRecord, SeoOverviewResponse, SeoOverviewQuery, SeoOverviewTimePoint, SeoRangePreset, PerformanceOverviewResponse, PerformanceOverviewQuery, PerformanceRangePreset, SeoSearchPagesQuery, SeoSearchPagesResponse, SeoSearchQueriesQuery, SeoSearchQueriesResponse, SeoSearchSummary, ContentEntryRecord, ContentEntrySummary, FormSummary, ContentEntryDetail, ScheduledContentEntryOrPageResponse, PublishedContentEntryPreview, PublishedContentEntryPreviewResponse, PublishedPostPreview, PublishedPostPreviewResponse, ContentEntryListStage, ContentEntryListItem, ListPublishedEntriesResponse, ContentTypeTemplateSummary, PublicContentTypeFieldMeta, PublicContentTypeMeta, ListPublishedEntriesMeta, ContentTemplateSummary, ContentTemplateBlockSummary, ContentTemplateAddonSummary, ContentAddonDefinition, ContentTemplateDetailsResponse, UpdateContentTemplateBlockRequest, ApplyContentTemplateAddonRequest, StartImpersonationRequest, StartImpersonationResponse, StopImpersonationRequest, StopImpersonationResponse, UpsertAdminRoleRequest, RevokeAdminRoleRequest, AdminRoleMutationResponse, AdminProfileRole, DTOType, MfaFactorSummary, MfaOverviewPayload, MfaOverviewResponse, MfaTotpActivateRequest, MfaTotpEnrollResponse, MfaTotpVerifyRequest, MfaTotpVerifyResponse, MfaPhoneEnrollRequest, MfaPhoneEnrollResponse, MfaPhoneChallengeRequest, MfaPhoneChallengeResponse, MfaPhoneVerifyRequest, MfaBackupCodeSummary, MfaBackupCodesOverview, MfaBackupCodesOverviewResponse, MfaBackupCodesRotateResponse, CreateAdminInviteRequest, CreateAdminInviteResponse, CreateAdminUserRequest, CreateAdminUserResponse, ListAdminInvitesResponse, RevokeAdminInviteResponse, CreateAllowedDomainRequest, CreateAllowedDomainResponse, ListAllowedDomainsResponse, DeleteAllowedDomainResponse, AcceptAdminInviteRequest, AcceptAdminInviteResponse, AdminInvite, AllowedEmailDomain, AdminChangePlanRequest, AdminChangePlanResponse, ChangePlanRequest, ChangePlanResponse, BillingPriceOverride, AdminGetPriceOverrideQuery, AdminGetPriceOverrideResponse, AdminUpsertPriceOverrideRequest, AdminUpsertPriceOverrideResponse, AdminDeletePriceOverrideRequest, AdminDeletePriceOverrideResponse, DomainSearchResultResponse, AcceptedManagedDomainAddOnPricing, AnalyticsPreset, AnalyticsReportQuery, AnalyticsSeriesPoint, AnalyticsTopPage, AnalyticsReferrer, AnalyticsTotals, AnalyticsReportResponse, RegisterDomainRequestPayload, RegisterDomainResponse, DomainConfigResult, OperationalStaffSurfaces, SiteRole, StaffOperationalCapability, SiteMember, SiteMemberProfile, SiteInvitation, SiteAccessSummary, SitePlanSummaryResponse, ListSiteMembersResponse, InviteSiteMemberRequest, InviteSiteMemberResponse, UpdateSiteMemberRoleRequest, UpdateSiteMemberRoleResponse, RemoveSiteMemberResponse, RevokeSiteInvitationResponse, ResendSiteInvitationResponse, TransferSiteOwnershipRequest, TransferSiteOwnershipResponse, AcceptSiteInvitationRequest, AcceptSiteInvitationResponse, DevToolsImpersonationResponse, DevToolsSeedResponse, DowngradeRole, RoleDowngradeActualRole, SiteRoleDowngradeState, DevToolsGetSiteRoleDowngradeQuery, DevToolsSetSiteRoleDowngradeRequest, SitePagePayload, SiteBySlugResponse, BlockWithContentResponse, ContentDataResponse, RedirectHttpStatus, SdkRouteDecisionResponse, SdkRouteOutcomeResponse, BackupAccessImportResult, BackupImportResponse, PreviewKeyRecord, ApiKeyAccessLogRecord, ListSiteApiKeysResponse, CreateSiteApiKeyRequest, CreateSiteApiKeyResponse, RevokeSiteApiKeyResponse, ListSitePreviewKeysResponse, CreateSitePreviewKeyRequest, CreateSitePreviewKeyResponse, GetSiteApiKeyAccessLogsResponse, ApiKeyAccessLogsPagination, ManagementKeyRecord, ManagementKeyAccessMode, ListManagementKeysResponse, CreateManagementKeyRequest, CreateManagementKeyResponse, RevokeManagementKeyRequest, RevokeManagementKeyResponse, EventOnlineDetails, EventOnlineDetailsInput, StaffAssignmentMode, EventSeriesRecord, UpdateEventSeriesRequest, EventAttendeeRecord, BookingBeforeYouComeDeliveryIssue, BookingBeforeYouComeReadiness, BookingEventSeriesAttendeeGuest, BookingEventSeriesAttendee, BookingPaymentIssueReason, BookingPaymentAttentionSummary, EventOccurrenceRecord, EventOccurrenceOverrides, EventOccurrenceStatus, EventOccurrenceDeletionEligibility, EventOccurrenceListRecord, VenueRecord, VenueLocation, CreateVenueRequest, UpdateVenueRequest, DeleteVenueResponse, GeocodeVenueRequest, GeocodeVenueResponse, AiPlaygroundApplyRequest, AiPlaygroundApplyResponse, BillingStatusResponse, BillingCheckoutRequest, BillingCheckoutResponse, BillingSummaryResponse, BillingSummaryComponent, BillingSummaryComponentKind, BillingSummaryComponentSource, BillingSummaryBasePlanComponent, BillingSummarySiteComponent, BillingSummaryAddOnComponent, SiteBillingCostResponse, SitePurpose, AiBrandGuidelinesExample, SiteAiBrandGuidelinesPayload, SiteAiBrandGuidelinesResponse, SiteAiProfileEntityType, SiteAiProfileLocationMode, SiteAiProfilePayload, SiteAiProfileResponse, SiteBusinessAddressPayload, SiteBusinessAddressResponse, SiteContentSamplingStats, SiteContentSampledItem, AiBrandGuidelinesGenerationContextResponse, AiBrandGuidelinesGenerateRequest, AiBrandGuidelinesGenerateResponse, DeleteAccountRequest, DeleteAccountResponse, FontRecord, ExportBackupRequest, BackupPreviewRequest, BackupPreviewResponse, CreateBackupUploadUrlRequest, CreateBackupUploadUrlResponse, DeleteBackupUploadRequest, DeleteBackupUploadResponse, ImportBackupAsNewSiteRequest, ImportBackupAsNewSiteResponse, AdminSiteBillingArrangementManualReview, AdminSiteBillingArrangementResponse, AdminUpdateSiteBillingArrangementRequest, BulkOperationResult, SchedulePreviewRequest, SchedulePreviewResponse, AffectedOccurrence, ModifiedOccurrence, RegenerationSummary, AiGenerateSiteEntityType, AiGenerateSitePrimaryCta, AiGenerateSiteRequest, AiGenerateSiteResponse, AiSiteWizardIntakeTriageRequest, AiSiteWizardIntakeTriageResponse, AiSiteWizardTelemetryEvent, AiSiteWizardTelemetryRequest, AiSiteWizardTelemetryResponse, PublicOnboardingAttempt, PublicOnboardingAttemptPayload, PublicOnboardingLogoUploadRequest, PublicOnboardingLogoUploadResponse, PublicOnboardingLogoUploadUrlRequest, PublicOnboardingLogoUploadUrlResponse, PublicOnboardingAttemptStatus, PublicOnboardingSurfaceId, SiteGenerationScope, SiteGenerationFeatureKey, SiteWizardResumeSnapshot, SiteGenerationIntakePayload, SiteGenerationIntakeResponse, CalendarConnectionStatus, CalendarStatusResponse, DebugArtifact, DebugArtifacts, PageBlock, PageConverterOutput, PageConversionSuccess, PageConversionAttempt, PageConversionFailure, PageConversionResult, PageConvertResponse, PageConvertJobStatus, PageConvertJob, PageConvertJobEventType, PageConvertJobEvent, PageConvertJobsCreateRequest, PageConvertJobsCreateResponse, PageConvertJobsListResponse, PageConvertJobGetResponse, PageConvertJobRunResponse, PageConvertJobEventsResponse, NewsletterSettingsRecord, NewsletterSubscriberRecord, NewsletterListRecord, GetNewsletterSettingsResponse, UpdateNewsletterSettingsRequest, UpdateNewsletterSettingsResponse, ListNewsletterTagsResponse, ListNewsletterSubscribersResponse, UpsertNewsletterSubscriberRequest, UpsertNewsletterSubscriberResponse, ImportNewsletterSubscribersCsvResponse, ExportNewsletterSubscribersCsvResponse, GetNewsletterSubscriberResponse, UpdateNewsletterSubscriberRequest, UpdateNewsletterSubscriberResponse, DeleteNewsletterSubscriberResponse, AnonymizeNewsletterSubscriberResponse, ExportNewsletterSubscriberDataResponse, ListNewsletterListsResponse, CreateNewsletterListRequest, CreateNewsletterListResponse, UpdateNewsletterListRequest, UpdateNewsletterListResponse, DeleteNewsletterListResponse, ListNewsletterListMembersResponse, UpdateNewsletterListMembershipsRequest, UpdateNewsletterListMembershipsResponse, NewsletterTemplateRecord, ListNewsletterTemplatesResponse, CreateNewsletterTemplateRequest, CreateNewsletterTemplateResponse, GetNewsletterTemplateResponse, UpdateNewsletterTemplateRequest, UpdateNewsletterTemplateResponse, DeleteNewsletterTemplateResponse, PreviewNewsletterTemplateRequest, PreviewNewsletterTemplateResponse, NewsletterCampaignRecord, ListNewsletterCampaignsResponse, CreateNewsletterCampaignRequest, CreateNewsletterCampaignResponse, GetNewsletterCampaignResponse, UpdateNewsletterCampaignRequest, UpdateNewsletterCampaignResponse, DeleteNewsletterCampaignResponse, NewsletterCampaignRecipientsSummary, GetNewsletterCampaignRecipientsSummaryResponse, NewsletterCampaignStats, NewsletterNotSentReason, GetNewsletterCampaignStatsResponse, SiteLogActor, SiteContentActivityLogEntry, SiteFormSubmissionActivityLogEntry, SiteActivityLogEntry, ListSiteActivityLogsResponse, SiteEmailLogEntry, ListSiteEmailLogsResponse, SiteEmailEventLogEntry, ListSiteEmailEventLogsResponse, SitePublicErrorLogEntry, ListSitePublicErrorLogsResponse, } from './types';
|
|
1
|
+
export type { AccountRevokeSessionsBody, AccountRevokeSessionsResponse, AccountUpdatePasswordBody, AccountUpdatePasswordResponse, AuthFieldKey, AuthSubmissionErrorReason, AuthRegistrationNext, AuthSubmissionSuccess, AuthSubmissionError, AuthSubmissionResult, ReauthSubmissionResult, DomainAvailability, SiteDomainRecord, SiteDomainContactPayload, RegistrarLifecycleState, RegistrarLifecycleMutationOutcome, RegistrarLifecycleMutationOperation, RegistrarLifecycleMutationBase, RegistrarLifecycleMutationResponse, ExposedRegistrarLifecycleMutationResponse, RegistrarLifecycleResponse, RegistrarBooleanMutationRequest, RegistrarRenewalCostEstimate, RegistrarProviderName, RegistrarRenewalRiskReason, RegistrarRenewalManualReviewReason, RegistrarRenewalManualReviewReasonWithoutExpiry, RegistrarRenewalManualReviewReasonWithExpiry, RegistrarRenewalFailedReason, RegistrarRenewalPosture, RegistrarAccountBalance, RegistrarRenewalPostureResponse, LookupSiteDomainRequest, LookupSiteDomainResponse, RegisterSiteDomainRequest, RegisterSiteDomainResponse, AddCustomDomainRequest, AddCustomDomainResponse, SetHomepageRequest, SetHomepageResponse, ContentRouteRecord, SeoOverviewResponse, SeoOverviewQuery, SeoOverviewTimePoint, SeoRangePreset, PerformanceOverviewResponse, PerformanceOverviewQuery, PerformanceRangePreset, SeoSearchPagesQuery, SeoSearchPagesResponse, SeoSearchQueriesQuery, SeoSearchQueriesResponse, SeoSearchSummary, ContentEntryRecord, ContentEntrySummary, FormSummary, ContentEntryDetail, ScheduledContentEntryOrPageResponse, PublishedContentEntryPreview, PublishedContentEntryPreviewResponse, PublishedPostPreview, PublishedPostPreviewResponse, ContentEntryListStage, ContentEntryListItem, ListPublishedEntriesResponse, ContentTypeTemplateSummary, PublicContentTypeFieldMeta, PublicContentTypeMeta, ListPublishedEntriesMeta, ContentTemplateSummary, ContentTemplateBlockSummary, ContentTemplateAddonSummary, ContentAddonDefinition, ContentTemplateDetailsResponse, UpdateContentTemplateBlockRequest, ApplyContentTemplateAddonRequest, StartImpersonationRequest, StartImpersonationResponse, StopImpersonationRequest, StopImpersonationResponse, UpsertAdminRoleRequest, RevokeAdminRoleRequest, AdminRoleMutationResponse, AdminProfileRole, DTOType, MfaFactorSummary, MfaOverviewPayload, MfaOverviewResponse, MfaTotpActivateRequest, MfaTotpEnrollResponse, MfaTotpVerifyRequest, MfaTotpVerifyResponse, MfaPhoneEnrollRequest, MfaPhoneEnrollResponse, MfaPhoneChallengeRequest, MfaPhoneChallengeResponse, MfaPhoneVerifyRequest, MfaBackupCodeSummary, MfaBackupCodesOverview, MfaBackupCodesOverviewResponse, MfaBackupCodesRotateResponse, CreateAdminInviteRequest, CreateAdminInviteResponse, CreateAdminUserRequest, CreateAdminUserResponse, ListAdminInvitesResponse, RevokeAdminInviteResponse, CreateAllowedDomainRequest, CreateAllowedDomainResponse, ListAllowedDomainsResponse, DeleteAllowedDomainResponse, AcceptAdminInviteRequest, AcceptAdminInviteResponse, AdminInvite, AllowedEmailDomain, AdminChangePlanRequest, AdminChangePlanResponse, ChangePlanRequest, ChangePlanResponse, BillingPriceOverride, AdminGetPriceOverrideQuery, AdminGetPriceOverrideResponse, AdminUpsertPriceOverrideRequest, AdminUpsertPriceOverrideResponse, AdminDeletePriceOverrideRequest, AdminDeletePriceOverrideResponse, DomainSearchResultResponse, AcceptedManagedDomainAddOnPricing, AnalyticsPreset, AnalyticsReportQuery, AnalyticsSeriesPoint, AnalyticsTopPage, AnalyticsReferrer, AnalyticsTotals, AnalyticsReportResponse, RegisterDomainRequestPayload, RegisterDomainResponse, DomainConfigResult, OperationalStaffSurfaces, SiteRole, StaffOperationalCapability, SiteMember, SiteMemberProfile, SiteInvitation, SiteAccessSummary, SitePlanSummaryResponse, ListSiteMembersResponse, InviteSiteMemberRequest, InviteSiteMemberResponse, UpdateSiteMemberRoleRequest, UpdateSiteMemberRoleResponse, RemoveSiteMemberResponse, RevokeSiteInvitationResponse, ResendSiteInvitationResponse, TransferSiteOwnershipRequest, TransferSiteOwnershipResponse, AcceptSiteInvitationRequest, AcceptSiteInvitationResponse, DevToolsImpersonationResponse, DevToolsSeedResponse, DowngradeRole, RoleDowngradeActualRole, SiteRoleDowngradeState, DevToolsGetSiteRoleDowngradeQuery, DevToolsSetSiteRoleDowngradeRequest, SitePagePayload, SiteBySlugResponse, BlockWithContentResponse, ContentDataResponse, RedirectHttpStatus, SdkRouteDecisionResponse, SdkRouteOutcomeResponse, BackupAccessImportResult, BackupImportResponse, PreviewKeyRecord, ApiKeyAccessLogRecord, ListSiteApiKeysResponse, CreateSiteApiKeyRequest, CreateSiteApiKeyResponse, RevokeSiteApiKeyResponse, ListSitePreviewKeysResponse, CreateSitePreviewKeyRequest, CreateSitePreviewKeyResponse, GetSiteApiKeyAccessLogsResponse, ApiKeyAccessLogsPagination, ManagementKeyRecord, ManagementKeyAccessMode, ListManagementKeysResponse, CreateManagementKeyRequest, CreateManagementKeyResponse, RevokeManagementKeyRequest, RevokeManagementKeyResponse, EventOnlineDetails, EventOnlineDetailsInput, StaffAssignmentMode, EventSeriesRecord, UpdateEventSeriesRequest, EventAttendeeRecord, BookingBeforeYouComeDeliveryIssue, BookingBeforeYouComeReadiness, BookingEventSeriesAttendeeGuest, BookingEventSeriesAttendee, BookingPaymentIssueReason, BookingPaymentAttentionSummary, EventOccurrenceRecord, EventOccurrenceOverrides, EventOccurrenceStatus, EventOccurrenceDeletionEligibility, EventOccurrenceListRecord, VenueRecord, VenueLocation, CreateVenueRequest, UpdateVenueRequest, DeleteVenueResponse, GeocodeVenueRequest, GeocodeVenueResponse, AiPlaygroundApplyRequest, AiPlaygroundApplyResponse, BillingStatusResponse, BillingCheckoutRequest, BillingCheckoutResponse, BillingSummaryResponse, BillingSummaryComponent, BillingSummaryComponentKind, BillingSummaryComponentSource, BillingSummaryBasePlanComponent, BillingSummarySiteComponent, BillingSummaryAddOnComponent, SiteBillingCostResponse, SitePurpose, AiBrandGuidelinesExample, SiteAiBrandGuidelinesPayload, SiteAiBrandGuidelinesResponse, SiteAiProfileEntityType, SiteAiProfileLocationMode, SiteAiProfilePayload, SiteAiProfileResponse, SiteBusinessAddressPayload, SiteBusinessAddressResponse, SiteContentSamplingStats, SiteContentSampledItem, AiBrandGuidelinesGenerationContextResponse, AiBrandGuidelinesGenerateRequest, AiBrandGuidelinesGenerateResponse, DeleteAccountRequest, DeleteAccountResponse, FontRecord, ExportBackupRequest, BackupPreviewRequest, BackupPreviewResponse, CreateBackupUploadUrlRequest, CreateBackupUploadUrlResponse, DeleteBackupUploadRequest, DeleteBackupUploadResponse, ImportBackupAsNewSiteRequest, ImportBackupAsNewSiteResponse, AdminSiteBillingArrangementManualReview, AdminSiteBillingArrangementResponse, AdminUpdateSiteBillingArrangementRequest, BulkOperationResult, SchedulePreviewRequest, SchedulePreviewResponse, AffectedOccurrence, ModifiedOccurrence, RegenerationSummary, AiGenerateSiteEntityType, AiGenerateSitePrimaryCta, AiGenerateSiteRequest, AiGenerateSiteResponse, AiSiteWizardIntakeTriageRequest, AiSiteWizardIntakeTriageResponse, AiSiteWizardTelemetryEvent, AiSiteWizardTelemetryRequest, AiSiteWizardTelemetryResponse, PublicOnboardingAttempt, PublicOnboardingAttemptPayload, PublicOnboardingLogoUploadRequest, PublicOnboardingLogoUploadResponse, PublicOnboardingLogoUploadUrlRequest, PublicOnboardingLogoUploadUrlResponse, PublicOnboardingAttemptStatus, PublicOnboardingSurfaceId, SiteGenerationScope, SiteGenerationFeatureKey, SiteWizardResumeSnapshot, SiteGenerationIntakePayload, SiteGenerationIntakeResponse, CalendarConnectionStatus, CalendarStatusResponse, DebugArtifact, DebugArtifacts, PageBlock, PageConverterOutput, PageConversionSuccess, PageConversionAttempt, PageConversionFailure, PageConversionResult, PageConvertResponse, PageConvertJobStatus, PageConvertJob, PageConvertJobEventType, PageConvertJobEvent, PageConvertJobsCreateRequest, PageConvertJobsCreateResponse, PageConvertJobsListResponse, PageConvertJobGetResponse, PageConvertJobRunResponse, PageConvertJobEventsResponse, NewsletterSettingsRecord, NewsletterSubscriberRecord, NewsletterListRecord, GetNewsletterSettingsResponse, UpdateNewsletterSettingsRequest, UpdateNewsletterSettingsResponse, ListNewsletterTagsResponse, ListNewsletterSubscribersResponse, UpsertNewsletterSubscriberRequest, UpsertNewsletterSubscriberResponse, ImportNewsletterSubscribersCsvResponse, ExportNewsletterSubscribersCsvResponse, GetNewsletterSubscriberResponse, UpdateNewsletterSubscriberRequest, UpdateNewsletterSubscriberResponse, DeleteNewsletterSubscriberResponse, AnonymizeNewsletterSubscriberResponse, ExportNewsletterSubscriberDataResponse, ListNewsletterListsResponse, CreateNewsletterListRequest, CreateNewsletterListResponse, UpdateNewsletterListRequest, UpdateNewsletterListResponse, DeleteNewsletterListResponse, ListNewsletterListMembersResponse, UpdateNewsletterListMembershipsRequest, UpdateNewsletterListMembershipsResponse, NewsletterTemplateRecord, ListNewsletterTemplatesResponse, CreateNewsletterTemplateRequest, CreateNewsletterTemplateResponse, GetNewsletterTemplateResponse, UpdateNewsletterTemplateRequest, UpdateNewsletterTemplateResponse, DeleteNewsletterTemplateResponse, PreviewNewsletterTemplateRequest, PreviewNewsletterTemplateResponse, NewsletterCampaignRecord, ListNewsletterCampaignsResponse, CreateNewsletterCampaignRequest, CreateNewsletterCampaignResponse, GetNewsletterCampaignResponse, UpdateNewsletterCampaignRequest, UpdateNewsletterCampaignResponse, ScheduleNewsletterCampaignRequest, ScheduleNewsletterCampaignResponse, UnscheduleNewsletterCampaignResponse, StopNewsletterCampaignResponse, DeleteNewsletterCampaignResponse, NewsletterCampaignRecipientsSummary, GetNewsletterCampaignRecipientsSummaryResponse, NewsletterCampaignStats, NewsletterNotSentReason, GetNewsletterCampaignStatsResponse, SiteLogActor, SiteContentActivityLogEntry, SiteFormSubmissionActivityLogEntry, SiteActivityLogEntry, ListSiteActivityLogsResponse, SiteEmailLogEntry, ListSiteEmailLogsResponse, SiteEmailEventLogEntry, ListSiteEmailEventLogsResponse, SitePublicErrorLogEntry, ListSitePublicErrorLogsResponse, } from './types';
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type * as ApiTypes from './types';
|
|
2
2
|
import type { PublicExperience } from '../../core/src/index';
|
|
3
|
-
export {
|
|
4
|
-
export
|
|
3
|
+
export { requirementPriorityFor } from './launchRequirementPriority';
|
|
4
|
+
export { LAUNCH_EVENT_OFFERING_KINDS, LAUNCH_REQUIREMENT_OVERRIDE_DEFINITIONS, } from './siteOnboarding';
|
|
5
|
+
export type { AcknowledgeLaunchRequirementRequest, GoLiveDecision, LaunchReadiness, LaunchEmailPackState, LaunchReviewPackState, LaunchAppointmentsPackState, LaunchEventsPackState, LaunchCoursesPackState, LaunchPaymentsPackState, LaunchCustomDomainPackState, LaunchAppointmentsSetupGap, LaunchEventOfferingKind, LaunchOfferingsPackState, LaunchCoverImagePackState, LaunchPublicContactPackState, LaunchRequirement, LaunchRequirementAction, LaunchRequirementEvidence, LaunchRequirementDetail, LaunchDetailedRequirementId, LaunchAppointmentsGapDetail, LaunchPaymentsGapDetail, LaunchEventKindsDetail, LaunchRequirementId, LaunchRequirementOverride, LaunchRequirementOverrideDefinition, LaunchRequirementOverrideReason, LaunchRequirementOwner, LaunchRequirementPackId, LaunchRequirementPriority, SiteGenerationBookingOfferingKind, OnboardingPreviewStatusResponse, OnboardingPreviewThemeOption, OnboardingPreviewThemesResponse, ResendOnboardingPreviewConfirmationResponse, } from './types';
|
|
5
6
|
export type DeriveLaunchReadinessInput = Readonly<{
|
|
6
7
|
siteId?: string | null;
|
|
7
8
|
publicExperience?: PublicExperience;
|
|
@@ -12,6 +13,12 @@ export type DeriveLaunchReadinessInput = Readonly<{
|
|
|
12
13
|
courses: ApiTypes.LaunchCoursesPackState;
|
|
13
14
|
payments: ApiTypes.LaunchPaymentsPackState;
|
|
14
15
|
customDomain: ApiTypes.LaunchCustomDomainPackState;
|
|
16
|
+
/** Read for booking pages only. */
|
|
17
|
+
offerings: ApiTypes.LaunchOfferingsPackState;
|
|
18
|
+
/** Read for booking pages only. */
|
|
19
|
+
coverImage: ApiTypes.LaunchCoverImagePackState;
|
|
20
|
+
/** Read for booking pages only. */
|
|
21
|
+
publicContact: ApiTypes.LaunchPublicContactPackState;
|
|
15
22
|
overrides?: readonly ApiTypes.LaunchRequirementOverride[];
|
|
16
23
|
}>;
|
|
17
24
|
export declare const DEFAULT_LAUNCH_READINESS_INPUT: {
|
|
@@ -37,7 +44,18 @@ export declare const DEFAULT_LAUNCH_READINESS_INPUT: {
|
|
|
37
44
|
customDomain: {
|
|
38
45
|
kind: "pending_setup";
|
|
39
46
|
};
|
|
47
|
+
offerings: {
|
|
48
|
+
kind: "none";
|
|
49
|
+
};
|
|
50
|
+
coverImage: {
|
|
51
|
+
kind: "missing";
|
|
52
|
+
};
|
|
53
|
+
publicContact: {
|
|
54
|
+
kind: "missing";
|
|
55
|
+
};
|
|
40
56
|
overrides: never[];
|
|
41
57
|
};
|
|
58
|
+
/** The event kinds among the offering kinds recorded at onboarding, in their recorded order. */
|
|
59
|
+
export declare function pickLaunchEventOfferingKinds(kinds: readonly ApiTypes.SiteGenerationBookingOfferingKind[] | null): readonly ApiTypes.LaunchEventOfferingKind[];
|
|
42
60
|
export declare function deriveLaunchDomainRequirement(siteId: string | null | undefined, domainState: ApiTypes.LaunchCustomDomainPackState): ApiTypes.LaunchRequirement;
|
|
43
61
|
export declare function deriveLaunchReadiness(input: DeriveLaunchReadinessInput): ApiTypes.LaunchReadiness;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { PublicExperience } from '../../core/src/index';
|
|
2
|
+
import type { LaunchRequirementId, LaunchRequirementPriority } from './siteOnboarding';
|
|
3
|
+
export declare function requirementPriorityFor(id: LaunchRequirementId, publicExperience?: PublicExperience): LaunchRequirementPriority;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { APIEndpoint } from './apiEndpointTypes';
|
|
2
|
+
import type { ScheduleNewsletterCampaignRequest, ScheduleNewsletterCampaignResponse, StopNewsletterCampaignResponse, UnscheduleNewsletterCampaignResponse } from './communications';
|
|
3
|
+
type CampaignParams = {
|
|
4
|
+
siteId: string;
|
|
5
|
+
campaignId: string;
|
|
6
|
+
};
|
|
7
|
+
/** Campaign control transitions. Each is its own command so the wire names the transition. */
|
|
8
|
+
export interface NewsletterCampaignCommandAPIEndpoints {
|
|
9
|
+
scheduleNewsletterCampaign: APIEndpoint<ScheduleNewsletterCampaignRequest, CampaignParams, ScheduleNewsletterCampaignResponse>;
|
|
10
|
+
unscheduleNewsletterCampaign: APIEndpoint<never, CampaignParams, UnscheduleNewsletterCampaignResponse>;
|
|
11
|
+
stopNewsletterCampaign: APIEndpoint<never, CampaignParams, StopNewsletterCampaignResponse>;
|
|
12
|
+
}
|
|
13
|
+
export {};
|
|
@@ -443,6 +443,48 @@ export declare const NEWSLETTER_ENDPOINT_DEFINITIONS: {
|
|
|
443
443
|
publicMessage: string;
|
|
444
444
|
};
|
|
445
445
|
};
|
|
446
|
+
scheduleNewsletterCampaign: {
|
|
447
|
+
path: "/sites/{siteId}/newsletter/campaigns/{campaignId}/schedule";
|
|
448
|
+
method: "POST";
|
|
449
|
+
tags: ("riverbank:site:{siteId}" | "riverbank:site:{siteId}:newsletter")[];
|
|
450
|
+
auth: "user";
|
|
451
|
+
responseKind: "json";
|
|
452
|
+
demoMutation: {
|
|
453
|
+
classification: "allowed";
|
|
454
|
+
publicMessage: "";
|
|
455
|
+
} | {
|
|
456
|
+
classification: import("./apiEndpointTypes").ApiDemoMutationBlockingClassification;
|
|
457
|
+
publicMessage: string;
|
|
458
|
+
};
|
|
459
|
+
};
|
|
460
|
+
unscheduleNewsletterCampaign: {
|
|
461
|
+
path: "/sites/{siteId}/newsletter/campaigns/{campaignId}/unschedule";
|
|
462
|
+
method: "POST";
|
|
463
|
+
tags: ("riverbank:site:{siteId}" | "riverbank:site:{siteId}:newsletter")[];
|
|
464
|
+
auth: "user";
|
|
465
|
+
responseKind: "json";
|
|
466
|
+
demoMutation: {
|
|
467
|
+
classification: "allowed";
|
|
468
|
+
publicMessage: "";
|
|
469
|
+
} | {
|
|
470
|
+
classification: import("./apiEndpointTypes").ApiDemoMutationBlockingClassification;
|
|
471
|
+
publicMessage: string;
|
|
472
|
+
};
|
|
473
|
+
};
|
|
474
|
+
stopNewsletterCampaign: {
|
|
475
|
+
path: "/sites/{siteId}/newsletter/campaigns/{campaignId}/stop";
|
|
476
|
+
method: "POST";
|
|
477
|
+
tags: ("riverbank:site:{siteId}" | "riverbank:site:{siteId}:newsletter")[];
|
|
478
|
+
auth: "user";
|
|
479
|
+
responseKind: "json";
|
|
480
|
+
demoMutation: {
|
|
481
|
+
classification: "allowed";
|
|
482
|
+
publicMessage: "";
|
|
483
|
+
} | {
|
|
484
|
+
classification: import("./apiEndpointTypes").ApiDemoMutationBlockingClassification;
|
|
485
|
+
publicMessage: string;
|
|
486
|
+
};
|
|
487
|
+
};
|
|
446
488
|
testSendNewsletterCampaign: {
|
|
447
489
|
path: "/sites/{siteId}/newsletter/campaigns/{campaignId}/test-send";
|
|
448
490
|
method: "POST";
|
|
@@ -25,6 +25,16 @@ export type OccurrenceUpdateNotificationOutcome = Readonly<{
|
|
|
25
25
|
kind: 'submission_failed';
|
|
26
26
|
}>;
|
|
27
27
|
type UpdateOccurrenceFields = Readonly<{
|
|
28
|
+
/**
|
|
29
|
+
* The "let everyone booked know" tick, for changes that are not a schedule
|
|
30
|
+
* replacement (dropping the session, moving its venue). A schedule
|
|
31
|
+
* replacement carries its own intent inside `scheduleReplacement`, since
|
|
32
|
+
* rescheduling cannot be requested without answering the question.
|
|
33
|
+
*
|
|
34
|
+
* The caller only states intent. Which fixed system email applies is decided
|
|
35
|
+
* on the server from what actually changed.
|
|
36
|
+
*/
|
|
37
|
+
attendeeNotification?: AttendeeNotificationIntent;
|
|
28
38
|
staffAssignmentMode?: StaffAssignmentMode;
|
|
29
39
|
staffMemberIds?: string[];
|
|
30
40
|
mainHostStaffMemberId?: string | null;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import type { APIEndpoint } from './apiEndpointTypes';
|
|
2
|
+
import type { PageSurfaceEditorDocument, PublishPageSurfaceResponse } from './contentRuntime';
|
|
3
|
+
import type { SaveEventPageWordsPayload, SaveEventPageWordsResponse } from './eventPageWords';
|
|
4
|
+
import type { RouteMetadataPayload } from './routes';
|
|
5
|
+
import type { ContentRouteRecord } from './types';
|
|
6
|
+
/**
|
|
7
|
+
* The authoritative page surface behind an event's page: its content draft,
|
|
8
|
+
* its route metadata, its publication, and the words the Content tab owns.
|
|
9
|
+
*/
|
|
10
|
+
export type PageSurfaceAPIEndpoints = {
|
|
11
|
+
updatePageSurfaceDraftContent: APIEndpoint<{
|
|
12
|
+
data: Record<string, unknown>;
|
|
13
|
+
optimisticHash: string;
|
|
14
|
+
}, {
|
|
15
|
+
siteId: string;
|
|
16
|
+
pageSurfaceId: string;
|
|
17
|
+
}, {
|
|
18
|
+
document: PageSurfaceEditorDocument;
|
|
19
|
+
}>;
|
|
20
|
+
discardPageSurfaceDraftContent: APIEndpoint<{
|
|
21
|
+
optimisticHash: string;
|
|
22
|
+
}, {
|
|
23
|
+
siteId: string;
|
|
24
|
+
pageSurfaceId: string;
|
|
25
|
+
}, {
|
|
26
|
+
document: PageSurfaceEditorDocument;
|
|
27
|
+
}>;
|
|
28
|
+
updatePageSurfaceRouteMetadata: APIEndpoint<Pick<RouteMetadataPayload, 'draftSlug' | 'draftMetaTitle' | 'draftMetaDescription' | 'ogImageId'> & {
|
|
29
|
+
expectedDraftUpdatedAt: string | null;
|
|
30
|
+
}, {
|
|
31
|
+
siteId: string;
|
|
32
|
+
pageSurfaceId: string;
|
|
33
|
+
}, {
|
|
34
|
+
route: ContentRouteRecord;
|
|
35
|
+
}>;
|
|
36
|
+
publishPageSurface: APIEndpoint<never, {
|
|
37
|
+
siteId: string;
|
|
38
|
+
pageSurfaceId: string;
|
|
39
|
+
}, PublishPageSurfaceResponse>;
|
|
40
|
+
saveEventPageWords: APIEndpoint<SaveEventPageWordsPayload, {
|
|
41
|
+
siteId: string;
|
|
42
|
+
pageSurfaceId: string;
|
|
43
|
+
}, SaveEventPageWordsResponse>;
|
|
44
|
+
};
|
|
@@ -11,7 +11,12 @@ export type ParticipantMessageTarget = {
|
|
|
11
11
|
eventSeriesId: string;
|
|
12
12
|
includeStatuses: WholeSeriesParticipantMessageStatus[];
|
|
13
13
|
};
|
|
14
|
-
|
|
14
|
+
/**
|
|
15
|
+
* Which people on a run a message may reach. `waitlist` is only ever included
|
|
16
|
+
* when the sender asks for it, which is what the "people waiting" tick on the
|
|
17
|
+
* run's Messages tab turns on.
|
|
18
|
+
*/
|
|
19
|
+
export type WholeSeriesParticipantMessageStatus = Extract<EventSeriesRegistrationStatus, 'enrolled' | 'completed' | 'waitlist'>;
|
|
15
20
|
export type GetParticipantMessageRecipientsRequest = {
|
|
16
21
|
target: ParticipantMessageTarget;
|
|
17
22
|
};
|
|
@@ -106,6 +111,11 @@ export type ParticipantMessageHistoryEntry = {
|
|
|
106
111
|
batchId: string;
|
|
107
112
|
target: ParticipantMessageTarget;
|
|
108
113
|
subject: string;
|
|
114
|
+
/**
|
|
115
|
+
* What was written, so a sent message can be read back and sent again. Null
|
|
116
|
+
* for a batch whose stored payload predates this field.
|
|
117
|
+
*/
|
|
118
|
+
bodyText: string | null;
|
|
109
119
|
recipientCount: number;
|
|
110
120
|
sentCount: number;
|
|
111
121
|
queuedCount: number;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { SdkCourseBookingSettings } from './sdkCourseBooking';
|
|
1
2
|
import type { SdkEntryUpsertSlotBlock, SdkEventBookingOffer, SdkEventContentInput, SdkPullEvent, SdkPullEventRun, SdkEventUpsertScheduleInput } from './sdkContracts';
|
|
2
3
|
import { type BookingTimeZone, type UtcIsoDateTimeString } from '../../core/src/index';
|
|
3
4
|
export { classifySdkEventBookingOffer } from './sdk-event-booking-offer';
|
|
@@ -10,6 +11,39 @@ export declare const sdkEventOccurrenceInputSchema: z.ZodObject<{
|
|
|
10
11
|
endsAt: z.ZodString;
|
|
11
12
|
timeZone: z.ZodString;
|
|
12
13
|
}, z.core.$strip>;
|
|
14
|
+
/**
|
|
15
|
+
* A course's own booking settings, as they are pulled and pushed on the Event.
|
|
16
|
+
* One schema for both directions and for the CLI's site commands, so the three
|
|
17
|
+
* cannot drift apart.
|
|
18
|
+
*/
|
|
19
|
+
export declare const sdkCourseBookingSettingsSchema: z.ZodObject<{
|
|
20
|
+
visibility: z.ZodEnum<{
|
|
21
|
+
public: "public";
|
|
22
|
+
unlisted: "unlisted";
|
|
23
|
+
}>;
|
|
24
|
+
acceptsPasses: z.ZodBoolean;
|
|
25
|
+
acceptsMemberships: z.ZodBoolean;
|
|
26
|
+
cancellationPolicy: z.ZodObject<{
|
|
27
|
+
refunds: z.ZodObject<{
|
|
28
|
+
mode: z.ZodEnum<{
|
|
29
|
+
never: "never";
|
|
30
|
+
inherit: "inherit";
|
|
31
|
+
always: "always";
|
|
32
|
+
cutoff: "cutoff";
|
|
33
|
+
}>;
|
|
34
|
+
cutoffHours: z.ZodOptional<z.ZodNumber>;
|
|
35
|
+
}, z.core.$strict>;
|
|
36
|
+
transfers: z.ZodObject<{
|
|
37
|
+
mode: z.ZodEnum<{
|
|
38
|
+
never: "never";
|
|
39
|
+
inherit: "inherit";
|
|
40
|
+
always: "always";
|
|
41
|
+
cutoff: "cutoff";
|
|
42
|
+
}>;
|
|
43
|
+
cutoffHours: z.ZodOptional<z.ZodNumber>;
|
|
44
|
+
}, z.core.$strict>;
|
|
45
|
+
}, z.core.$strict>;
|
|
46
|
+
}, z.core.$strict>;
|
|
13
47
|
export declare const sdkEventUpsertOptionalFieldSchemas: {
|
|
14
48
|
readonly path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
49
|
readonly status: z.ZodOptional<z.ZodEnum<{
|
|
@@ -20,7 +54,6 @@ export declare const sdkEventUpsertOptionalFieldSchemas: {
|
|
|
20
54
|
cancelled: "cancelled";
|
|
21
55
|
}>>;
|
|
22
56
|
readonly visibility: z.ZodOptional<z.ZodEnum<{
|
|
23
|
-
private: "private";
|
|
24
57
|
public: "public";
|
|
25
58
|
unlisted: "unlisted";
|
|
26
59
|
}>>;
|
|
@@ -108,6 +141,12 @@ type SdkEventRunExplicitOccurrencesInput = Readonly<{
|
|
|
108
141
|
export type SdkEventRunUpsertBody = SdkEventRunUpsertCommon & (SdkEventRunAuthoredScheduleInput | SdkEventRunExplicitOccurrencesInput);
|
|
109
142
|
export type SdkEventUpsertBody = Readonly<{
|
|
110
143
|
identifier: string;
|
|
144
|
+
/**
|
|
145
|
+
* A course's listing, passes, memberships and refund policy, written onto
|
|
146
|
+
* every one of its runs in one go. Only a course may send it; leaving it out
|
|
147
|
+
* leaves those settings as they are.
|
|
148
|
+
*/
|
|
149
|
+
courseBooking?: SdkCourseBookingSettings;
|
|
111
150
|
administrativeStatus?: SdkPullEvent['administrativeStatus'];
|
|
112
151
|
title: string;
|
|
113
152
|
slug: string;
|
|
@@ -2,14 +2,13 @@ import type { SdkSiteLayoutConfig } from './sdkConfig/layout';
|
|
|
2
2
|
export type { SdkSiteLayoutConfig } from './sdkConfig/layout';
|
|
3
3
|
import type { BlockContentSource, BlockContentSourceKind, FieldDefinition, FieldDefinitionInput, SdkCustomBlock, SdkCustomBlockInput, Theme } from '../../blocks/src/index';
|
|
4
4
|
import type { ContentTypeSchema } from '../../content-model/src/index';
|
|
5
|
-
import type {
|
|
5
|
+
import type { FooterCompositionV1, RichTextDoc } from '../../core/src/index';
|
|
6
6
|
export type { SdkBlockAppearanceChoice, SdkBlockAppearanceOutcome, } from './sdkBlockUpsertContracts';
|
|
7
7
|
import type { LinkPayload } from './navigation/types';
|
|
8
8
|
import type { JsonValue } from './shared-contracts';
|
|
9
9
|
import type { EventBookingOfferIntent } from '@riverbankcms/site-commands';
|
|
10
10
|
import type { ManagementMediaAsset } from './sdkMediaContracts';
|
|
11
11
|
export type { ManagementMediaAsset, SdkMediaDeleteApplyResponse, SdkMediaDeletePreviewResponse, SdkMediaDownloadResponse, SdkMediaListResponse, } from './sdkMediaContracts';
|
|
12
|
-
import type { SdkPullEventOccurrence } from './sdk-event-schedule';
|
|
13
12
|
import type { SiteCommandApplicationResult } from '@riverbankcms/site-commands';
|
|
14
13
|
import type { SdkThemeWire } from './sdkThemeWire';
|
|
15
14
|
import type { SdkCatalogButtonStyleControl } from './sdkThemeCatalogContracts';
|
|
@@ -770,46 +769,8 @@ export interface SdkPullEventCategoriesResponse {
|
|
|
770
769
|
eventCategories: SdkPullEventCategory[];
|
|
771
770
|
meta: SdkPullMeta;
|
|
772
771
|
}
|
|
773
|
-
export
|
|
774
|
-
|
|
775
|
-
administrativeStatus: 'active' | 'archived';
|
|
776
|
-
title: string;
|
|
777
|
-
slug: string;
|
|
778
|
-
path: string | null;
|
|
779
|
-
preset: EventPreset;
|
|
780
|
-
runRefs: readonly [string, ...string[]];
|
|
781
|
-
content: {
|
|
782
|
-
summary?: string;
|
|
783
|
-
body?: RichTextDoc;
|
|
784
|
-
image?: Record<string, unknown> & {
|
|
785
|
-
identifier: string;
|
|
786
|
-
};
|
|
787
|
-
[key: string]: unknown;
|
|
788
|
-
};
|
|
789
|
-
updatedAt: string;
|
|
790
|
-
createdAt: string;
|
|
791
|
-
contentUpdatedAt: string | null;
|
|
792
|
-
blocks?: SdkEntrySlotBlocks;
|
|
793
|
-
}
|
|
794
|
-
export interface SdkPullEventRun {
|
|
795
|
-
identifier: string;
|
|
796
|
-
eventRef: string;
|
|
797
|
-
name: string | null;
|
|
798
|
-
status: 'draft' | 'active' | 'archived' | 'cancelled' | 'completed';
|
|
799
|
-
visibility: 'private' | 'public' | 'unlisted';
|
|
800
|
-
bookingScope: 'single_occurrence' | 'whole_series';
|
|
801
|
-
occurrences: readonly SdkPullEventOccurrence[];
|
|
802
|
-
capacity: number | null;
|
|
803
|
-
bookingOffer: SdkEventBookingOffer;
|
|
804
|
-
venueRef: string | null;
|
|
805
|
-
categoryRef: string | null;
|
|
806
|
-
formRef: string | null;
|
|
807
|
-
settings: Record<string, unknown>;
|
|
808
|
-
presentation: Record<string, unknown> | null;
|
|
809
|
-
tags: string[];
|
|
810
|
-
updatedAt: string;
|
|
811
|
-
createdAt: string;
|
|
812
|
-
}
|
|
772
|
+
export type { SdkPullEvent, SdkPullEventRun } from './sdkPullEventContracts';
|
|
773
|
+
import type { SdkPullEvent, SdkPullEventRun } from './sdkPullEventContracts';
|
|
813
774
|
export type { SdkPullEventOccurrence } from './sdk-event-schedule';
|
|
814
775
|
export type SdkEventContentInput = {
|
|
815
776
|
summary?: string;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { z } from 'zod';
|
|
2
|
+
import type { courseBookingSettingsSchema } from '@riverbankcms/site-commands';
|
|
3
|
+
import type { CourseBookingSettingsRequest } from './eventManagementContracts';
|
|
4
|
+
/**
|
|
5
|
+
* The four booking settings a course owns for every one of its runs: where it
|
|
6
|
+
* is listed, whether passes and memberships may be used, and the refunds and
|
|
7
|
+
* transfers policy.
|
|
8
|
+
*
|
|
9
|
+
* Storage is per run, but a run may not be written for them — the course is the
|
|
10
|
+
* single writer — so they are pulled and pushed on the Event and are absent
|
|
11
|
+
* from every whole-series run.
|
|
12
|
+
*
|
|
13
|
+
* Taken from the schema that validates a push, so the wire shape and what the
|
|
14
|
+
* parser admits cannot drift apart.
|
|
15
|
+
*/
|
|
16
|
+
export type SdkCourseBookingSettings = z.infer<typeof courseBookingSettingsSchema>;
|
|
17
|
+
type Assert<T extends true> = T;
|
|
18
|
+
/**
|
|
19
|
+
* The pushed settings and the management API's own request are the same four
|
|
20
|
+
* fields; if either changes without the other, this stops compiling.
|
|
21
|
+
*/
|
|
22
|
+
export type SdkCourseBookingSettingsMatchesRequest = Assert<SdkCourseBookingSettings extends CourseBookingSettingsRequest ? CourseBookingSettingsRequest extends SdkCourseBookingSettings ? true : false : false>;
|
|
23
|
+
/**
|
|
24
|
+
* Carried by the pulled Event. Present only for a course: an ordinary event
|
|
25
|
+
* owns its own listing and passes, on the run itself.
|
|
26
|
+
*/
|
|
27
|
+
export interface SdkPulledCourseBooking {
|
|
28
|
+
courseBooking?: SdkCourseBookingSettings;
|
|
29
|
+
}
|
|
30
|
+
export {};
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The SDK's Event graph: the Events themselves and the occurrences of one run.
|
|
3
|
+
* Extracted from `endpoints.ts` so this family can be read, and added to, on
|
|
4
|
+
* its own. New entries here must declare `errors`; the
|
|
5
|
+
* require-api-endpoint-errors lint enforces that here as in endpoints.ts.
|
|
6
|
+
*/
|
|
7
|
+
export declare const SDK_EVENT_ENDPOINT_DEFINITIONS: {
|
|
8
|
+
sdkListEvents: {
|
|
9
|
+
path: "/sdk/{siteId}/events";
|
|
10
|
+
method: "GET";
|
|
11
|
+
auth: "service";
|
|
12
|
+
responseKind: "json";
|
|
13
|
+
};
|
|
14
|
+
sdkUpsertEvent: {
|
|
15
|
+
path: "/sdk/{siteId}/events";
|
|
16
|
+
method: "POST";
|
|
17
|
+
auth: "service";
|
|
18
|
+
responseKind: "json";
|
|
19
|
+
errors: ("validation:invalid_input" | "resource:not_found" | "resource:conflict" | "billing:plan_limit_exceeded" | "server:internal_error")[];
|
|
20
|
+
};
|
|
21
|
+
sdkGetEvent: {
|
|
22
|
+
path: "/sdk/{siteId}/events/{identifier}";
|
|
23
|
+
method: "GET";
|
|
24
|
+
auth: "service";
|
|
25
|
+
responseKind: "json";
|
|
26
|
+
};
|
|
27
|
+
sdkDeleteEvent: {
|
|
28
|
+
path: "/sdk/{siteId}/events/{identifier}";
|
|
29
|
+
method: "DELETE";
|
|
30
|
+
auth: "service";
|
|
31
|
+
responseKind: "json";
|
|
32
|
+
errors: ("resource:not_found" | "resource:conflict" | "server:internal_error")[];
|
|
33
|
+
};
|
|
34
|
+
sdkTakeEventOffline: {
|
|
35
|
+
path: "/sdk/{siteId}/events/{identifier}/lifecycle";
|
|
36
|
+
method: "POST";
|
|
37
|
+
auth: "service";
|
|
38
|
+
responseKind: "json";
|
|
39
|
+
errors: ("validation:invalid_input" | "resource:not_found" | "resource:conflict" | "server:internal_error")[];
|
|
40
|
+
};
|
|
41
|
+
sdkListEventOccurrences: {
|
|
42
|
+
path: "/sdk/{siteId}/events/{identifier}/runs/{runIdentifier}/occurrences";
|
|
43
|
+
method: "GET";
|
|
44
|
+
auth: "service";
|
|
45
|
+
responseKind: "json";
|
|
46
|
+
errors: ("validation:invalid_input" | "resource:not_found" | "server:internal_error")[];
|
|
47
|
+
};
|
|
48
|
+
sdkAddEventOccurrence: {
|
|
49
|
+
path: "/sdk/{siteId}/events/{identifier}/runs/{runIdentifier}/occurrences";
|
|
50
|
+
method: "POST";
|
|
51
|
+
auth: "service";
|
|
52
|
+
responseKind: "json";
|
|
53
|
+
errors: ("validation:invalid_input" | "resource:not_found" | "resource:conflict" | "server:internal_error")[];
|
|
54
|
+
};
|
|
55
|
+
sdkUpdateEventOccurrence: {
|
|
56
|
+
path: "/sdk/{siteId}/events/{identifier}/runs/{runIdentifier}/occurrences/{occurrenceId}";
|
|
57
|
+
method: "PATCH";
|
|
58
|
+
auth: "service";
|
|
59
|
+
responseKind: "json";
|
|
60
|
+
errors: ("validation:invalid_input" | "resource:not_found" | "resource:conflict" | "server:internal_error")[];
|
|
61
|
+
};
|
|
62
|
+
sdkCancelEventOccurrence: {
|
|
63
|
+
path: "/sdk/{siteId}/events/{identifier}/runs/{runIdentifier}/occurrences/{occurrenceId}/cancel";
|
|
64
|
+
method: "POST";
|
|
65
|
+
auth: "service";
|
|
66
|
+
responseKind: "json";
|
|
67
|
+
errors: ("resource:not_found" | "resource:conflict" | "server:internal_error")[];
|
|
68
|
+
};
|
|
69
|
+
sdkDeleteEventOccurrence: {
|
|
70
|
+
path: "/sdk/{siteId}/events/{identifier}/runs/{runIdentifier}/occurrences/{occurrenceId}";
|
|
71
|
+
method: "DELETE";
|
|
72
|
+
auth: "service";
|
|
73
|
+
responseKind: "json";
|
|
74
|
+
errors: ("resource:not_found" | "resource:conflict" | "server:internal_error")[];
|
|
75
|
+
};
|
|
76
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The SDK management lifecycle contract for parent Events.
|
|
3
|
+
*
|
|
4
|
+
* Lifecycle is deliberately a single operation: a management key can take an
|
|
5
|
+
* Event offline, and nothing else. There is no put-online, no archive or
|
|
6
|
+
* restore, and no cancel (issue 1495). The endpoint itself is declared in
|
|
7
|
+
* `sdkEventEndpointDefinitions.ts`.
|
|
8
|
+
*/
|
|
9
|
+
import type { EventSeriesId } from '../../core/src/index';
|
|
10
|
+
import type { APIEndpoint } from './apiEndpointTypes';
|
|
11
|
+
/**
|
|
12
|
+
* An `applied` outcome always changed something: at least one run, or the
|
|
13
|
+
* Event page. Running the operation again on an Event that is already offline
|
|
14
|
+
* reports `already-offline` rather than failing.
|
|
15
|
+
*/
|
|
16
|
+
export type SdkTakeEventOfflineResponse = Readonly<{
|
|
17
|
+
kind: 'applied';
|
|
18
|
+
changedRunIds: readonly [EventSeriesId, ...EventSeriesId[]];
|
|
19
|
+
pageTakenOffline: boolean;
|
|
20
|
+
}> | Readonly<{
|
|
21
|
+
kind: 'applied';
|
|
22
|
+
changedRunIds: readonly [];
|
|
23
|
+
pageTakenOffline: true;
|
|
24
|
+
}> | Readonly<{
|
|
25
|
+
kind: 'already-offline';
|
|
26
|
+
}>;
|
|
27
|
+
export type SdkTakeEventOfflineBody = Readonly<{
|
|
28
|
+
command: Readonly<{
|
|
29
|
+
kind: 'takeOfferingOffline';
|
|
30
|
+
}>;
|
|
31
|
+
}>;
|
|
32
|
+
export type SdkEventLifecycleAPIEndpoints = {
|
|
33
|
+
sdkTakeEventOffline: APIEndpoint<SdkTakeEventOfflineBody, {
|
|
34
|
+
siteId: string;
|
|
35
|
+
identifier: string;
|
|
36
|
+
}, SdkTakeEventOfflineResponse>;
|
|
37
|
+
};
|