@riverbankcms/sdk 0.104.3 → 0.107.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +84 -51
- package/dist/{PreviewEditorSidebar-CBMhU9p_.mjs → PreviewEditorSidebar-DpAbAl08.mjs} +1811 -1179
- package/dist/{PreviewEditorUI-C5KEw4M8.mjs → PreviewEditorUI-O7cn6Xxv.mjs} +3 -3
- package/dist/{PreviewQueryProvider-CStABBUh.mjs → PreviewQueryProvider-D0tnKl0t.mjs} +1 -1
- package/dist/{SdkPreviewModeRuntime-Iq12HjL7.mjs → SdkPreviewModeRuntime-CVB7urtl.mjs} +2144 -393
- package/dist/{SiteChromeCustomizeContext-Cx0NMdyv.mjs → SiteChromeCustomizeContext-C_sizso-.mjs} +3825 -2653
- package/dist/_dts/ai/src/contracts/proposals.d.ts +32945 -1339
- package/dist/_dts/api/src/bookingConfig.d.ts +2 -0
- package/dist/_dts/api/src/bookingManagementEndpoints.d.ts +5 -1
- package/dist/_dts/api/src/contentRuntime.d.ts +6 -15
- package/dist/_dts/api/src/courses.d.ts +68 -10
- package/dist/_dts/api/src/endpoints.d.ts +29 -0
- package/dist/_dts/api/src/index.d.ts +124 -124
- package/dist/_dts/api/src/publicExperienceEndpoints.d.ts +9 -0
- package/dist/_dts/api/src/sdkContracts.d.ts +116 -6
- package/dist/_dts/api/src/siteOperations.d.ts +1 -0
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +26 -4
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +31 -46
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +36 -4
- package/dist/_dts/blocks/src/definitions.d.ts +1 -1
- package/dist/_dts/blocks/src/portal/types.d.ts +25 -7
- package/dist/_dts/blocks/src/system/blocks/course-registration.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/courses/shared/schemas.d.ts +2 -0
- package/dist/_dts/blocks/src/system/blocks/courses/shared/types.d.ts +2 -0
- package/dist/_dts/blocks/src/system/blocks/events/event-calendar.d.ts +4 -0
- package/dist/_dts/blocks/src/system/blocks/events/recurring-schedule-projection.d.ts +52 -0
- package/dist/_dts/blocks/src/system/blocks/events/recurring-schedule.d.ts +22 -0
- package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +45 -0
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +10 -0
- package/dist/_dts/blocks/src/system/blocks/feature-cards.d.ts +4 -1
- package/dist/_dts/blocks/src/system/blocks/index.d.ts +1 -0
- package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +9 -0
- package/dist/_dts/blocks/src/system/blocks/newsletter-signup.d.ts +8 -2
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/index.d.ts +8 -8
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/model.d.ts +24 -24
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/scheduleSummary.d.ts +29 -0
- package/dist/_dts/blocks/src/system/blocks/shop.d.ts +2 -1
- package/dist/_dts/blocks/src/system/constants/blockKinds.d.ts +1 -1
- package/dist/_dts/blocks/src/system/customize/backgrounds.d.ts +2 -5
- package/dist/_dts/blocks/src/system/data/loaderEndpoints.d.ts +1 -1
- package/dist/_dts/blocks/src/system/designCapabilities.d.ts +1 -0
- package/dist/_dts/blocks/src/system/fragments/library/newsletterForm.d.ts +2 -2
- package/dist/_dts/blocks/src/system/node/fragments/styledCard.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/api/index.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/blockComposition.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +90 -6
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +45 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/basic.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/commerce/shared/display.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/course-details/logic.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-details/view.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/course-details.server.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-page-surface-scope.d.ts +17 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/types.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration.interactive.d.ts +5 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/eventScope.d.ts +9 -18
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCalendar.interactive.d.ts +106 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/RecurringSchedule.d.ts +11 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/WeekBoardView.d.ts +7 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/media.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.interactive.d.ts +11 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.types.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/offerings-preview.d.ts +6 -6
- package/dist/_dts/blocks/src/system/runtime/nodes/shop.interactive.d.ts +11 -5
- package/dist/_dts/blocks/src/system/runtime/nodes/shop.types.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/svg.d.ts +7 -0
- package/dist/_dts/core/src/branded.d.ts +44 -0
- package/dist/_dts/core/src/dated-offering-settlement.d.ts +47 -0
- package/dist/_dts/core/src/event-page-surface-subject.d.ts +44 -0
- package/dist/_dts/core/src/index.d.ts +49 -47
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +1452 -15
- package/dist/_dts/editor-blocks/src/block-editor/FeatureCardIconsPanel.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/GeneratedIconSetDialog.d.ts +4 -1
- package/dist/_dts/media-core/src/index.d.ts +2 -1
- package/dist/_dts/media-core/src/storagePathDomain.d.ts +47 -0
- package/dist/_dts/media-core/src/url.d.ts +1 -21
- package/dist/_dts/preview-next/src/client/blocks/pageDesignRuntimePreview.d.ts +4 -2
- package/dist/_dts/preview-next/src/client/blocks/previewProjection/runtimeContentDecoration.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/PageBlockEditorPanel.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewEditorSidebar.d.ts +3 -9
- package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +7 -11
- package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +3 -9
- package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeContext.d.ts +2 -6
- package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.d.ts +5 -9
- package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.state.d.ts +81 -43
- package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.typography.d.ts +61 -0
- package/dist/_dts/preview-next/src/client/preview/siteStylePreviewPlanner.d.ts +7 -17
- package/dist/_dts/preview-next/src/client/preview/styleConfiguratorSnapshot.d.ts +15 -8
- package/dist/_dts/preview-next/src/client/preview/typographyFontCatalog.d.ts +57 -0
- package/dist/_dts/sdk/src/cli/commands/pull.d.ts +1 -1
- package/dist/_dts/sdk/src/cli/commands/push/execute/theme.d.ts +4 -7
- package/dist/_dts/sdk/src/cli/commands/style.d.ts +24 -10
- package/dist/_dts/sdk/src/cli/site-commands/oneOffCommands.d.ts +3 -3
- package/dist/_dts/sdk/src/cli/sync/media.d.ts +16 -2
- package/dist/_dts/sdk/src/client/management/blocks.d.ts +1 -1
- package/dist/_dts/sdk/src/client/management/index.d.ts +1 -1
- package/dist/_dts/sdk/src/client/management/types.d.ts +132 -23
- package/dist/_dts/sdk/src/client/types.d.ts +2 -0
- package/dist/_dts/sdk/src/config/types.d.ts +1 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +3 -0
- package/dist/_dts/sdk/src/contracts/index.d.ts +1 -1
- package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +23 -3
- package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +17 -0
- package/dist/_dts/sdk/src/data/dataLoaderValue.d.ts +36 -0
- package/dist/_dts/sdk/src/data/defineOwnDataProperty.d.ts +2 -0
- package/dist/_dts/sdk/src/data/executeCodeLoaders.d.ts +36 -40
- package/dist/_dts/sdk/src/data/index.d.ts +3 -3
- package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +54 -0
- package/dist/_dts/sdk/src/data/types.d.ts +43 -78
- package/dist/_dts/sdk/src/next/index.d.ts +1 -0
- package/dist/_dts/sdk/src/next/redirect-destination.d.ts +1 -1
- package/dist/_dts/sdk/src/next/resolveTheme.d.ts +2 -1
- package/dist/_dts/sdk/src/next/types.d.ts +10 -1
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +3 -8
- package/dist/_dts/sdk/src/rendering/helpers/loadContent.d.ts +9 -4
- package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +6 -10
- package/dist/_dts/sdk/src/rendering/index.d.ts +1 -0
- package/dist/_dts/sdk/src/server.d.ts +4 -3
- package/dist/_dts/sdk/src/types/block-kinds.d.ts +1 -1
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/site-commands/src/capabilityGaps.d.ts +2 -2
- package/dist/_dts/site-commands/src/commands.d.ts +921 -30
- package/dist/_dts/theme-core/src/buttons/generateDefaultButtonSystem.d.ts +5 -1
- package/dist/_dts/theme-core/src/buttons/personalities/index.d.ts +11 -0
- package/dist/_dts/theme-core/src/buttons/personalities/quiet-arrow.d.ts +17 -0
- package/dist/_dts/theme-core/src/buttons/personalities/types.d.ts +2 -2
- package/dist/_dts/theme-core/src/buttons/types.d.ts +9 -5
- package/dist/_dts/theme-core/src/data.d.ts +12 -0
- package/dist/_dts/theme-core/src/fonts/index.d.ts +1 -1
- package/dist/_dts/theme-core/src/fonts/types.d.ts +6 -0
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +36 -24
- package/dist/_dts/theme-core/src/palette/colors.d.ts +12 -0
- package/dist/_dts/theme-core/src/palette/curated/brand-led.d.ts +10 -5
- package/dist/_dts/theme-core/src/palette/curated/high-contrast.d.ts +6 -3
- package/dist/_dts/theme-core/src/palette/curated/index.d.ts +31 -236
- package/dist/_dts/theme-core/src/palette/curated/soft-natural.d.ts +8 -4
- package/dist/_dts/theme-core/src/palette/curated/types.d.ts +14 -12
- package/dist/_dts/theme-core/src/palette/curated/warm-dark.d.ts +4 -2
- package/dist/_dts/theme-core/src/palette/curated/warm-neutral.d.ts +8 -4
- package/dist/_dts/theme-core/src/palette/editorState.d.ts +33 -3
- package/dist/_dts/theme-core/src/palette/index.d.ts +0 -4
- package/dist/_dts/theme-core/src/palette/libraryModel.d.ts +12 -6
- package/dist/_dts/theme-core/src/palette/persistenceReadSource.d.ts +20 -72
- package/dist/_dts/theme-core/src/palette/resolveSelection.d.ts +29 -4
- package/dist/_dts/theme-core/src/palette/selection.d.ts +6 -4
- package/dist/_dts/theme-core/src/schema.d.ts +121 -4
- package/dist/_dts/theme-core/src/site-styles/appearancePresetCatalog.d.ts +218 -158
- package/dist/_dts/theme-core/src/site-styles/appearancePresetTypes.d.ts +5 -6
- package/dist/_dts/theme-core/src/site-styles/blockAppearancePresets.d.ts +218 -158
- package/dist/_dts/theme-core/src/site-styles/compositionBudget.d.ts +1 -0
- package/dist/_dts/theme-core/src/site-styles/contentTemplateRuntimeCompiler.d.ts +2 -1
- package/dist/_dts/theme-core/src/site-styles/curatedSiteStyles.d.ts +161 -51
- package/dist/_dts/theme-core/src/site-styles/designState.d.ts +6 -0
- package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +4 -2
- package/dist/_dts/theme-core/src/site-styles/index.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/pageDesignEditorModel.d.ts +24 -1
- package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +14 -48
- package/dist/_dts/theme-core/src/site-styles/runtimeCompiler.d.ts +10 -23
- package/dist/_dts/theme-core/src/site-styles/siteStyleThemeCompiler.d.ts +1 -2
- package/dist/_dts/theme-core/src/site-styles/siteStyleTypography.d.ts +456 -0
- package/dist/_dts/theme-core/src/site-styles/types.d.ts +52 -3
- package/dist/cli/index.mjs +3155 -1701
- package/dist/client/{DiscountCodeDisclosure-BXM73_E5.mjs → DiscountCodeDisclosure-BwGkvmVH.mjs} +1 -1
- package/dist/client/{EventCombined.client-DT5elP7j.mjs → EventCombined.client-JnWE6Hzc.mjs} +3 -3
- package/dist/client/{EventListing.client-pTYGfV9C.mjs → EventListing.client-DQewc_kg.mjs} +2 -2
- package/dist/client/{LeafletStaticMap-dQrhlUe3.mjs → LeafletStaticMap-DPAU3SFt.mjs} +1 -1
- package/dist/client/{MagicLinkForm-u6Dul4j5.mjs → MagicLinkForm-D4kpWCbW.mjs} +2 -2
- package/dist/client/{StepIndicator-nWqineJ2.mjs → StepIndicator-CBlkb4rA.mjs} +2 -2
- package/dist/client/{accordion-CSJcTUyH.mjs → accordion-DAIBVpTS.mjs} +1 -1
- package/dist/client/{bookingForm-C73wOuVa.mjs → bookingForm-DZ-4l5_1.mjs} +7 -7
- package/dist/client/bookings.mjs +239 -110
- package/dist/client/{buttons-DfYyqt8C.mjs → buttons-DJgynGHQ.mjs} +122 -58
- package/dist/client/{carousel-fMBb0JSc.mjs → carousel-D-SLfX8r.mjs} +1 -1
- package/dist/client/{cart-BtaCwT3S.mjs → cart-CEgbgJhX.mjs} +3 -3
- package/dist/client/{checkout-DkTwZSnh.mjs → checkout-CXWrCRAA.mjs} +3 -3
- package/dist/client/client.mjs +4300 -1560
- package/dist/client/{colorStyles-Wyl6JujD.mjs → colorStyles-jZS6KfkP.mjs} +1 -1
- package/dist/client/{colorTokenParts-dT8MISgJ.mjs → colorTokenParts-CMugwvX_.mjs} +3 -1
- package/dist/client/{courseRegistration-DnLmapJu.mjs → courseRegistration-DVmLrRVz.mjs} +56 -21
- package/dist/client/{eventCalendar-BvLOc9KY.mjs → eventCalendar-DCuyPY_c.mjs} +29 -21
- package/dist/client/{eventCombined-kShgJPQr.mjs → eventCombined-kP2CA2D4.mjs} +2 -2
- package/dist/client/{eventDetails-C5NTM0Vo.mjs → eventDetails-DU0LeF5e.mjs} +4 -4
- package/dist/client/{eventListing-B82ZdKP6.mjs → eventListing-CcHF87BI.mjs} +2 -2
- package/dist/client/{eventRegistration-qJVFqBWo.mjs → eventRegistration-DJnR0yFH.mjs} +8 -8
- package/dist/client/{form-BvAcKiuu.mjs → form-CH1lCusH.mjs} +2 -2
- package/dist/client/{headerSection-NvAiEHAg.mjs → headerSection-CBPFZoku.mjs} +3 -3
- package/dist/client/hooks.mjs +2958 -1848
- package/dist/client/{locationMap-D0j52xfI.mjs → locationMap-Cx1hBg5n.mjs} +3 -3
- package/dist/client/{media-BCW_g2cQ.mjs → media-DHtSxS5V.mjs} +61 -56
- package/dist/client/{newsletterForm-B8_i93qH.mjs → newsletterForm-1ZL_ti9u.mjs} +3 -3
- package/dist/client/{pricing-DIYnyHOk.mjs → pricing-BIbzmV0G.mjs} +1 -1
- package/dist/client/{productDetail-w0eAHkuQ.mjs → productDetail-BTh5gHBV.mjs} +3 -3
- package/dist/client/{productList-Vsguq5Xt.mjs → productList-Cc7OMrqN.mjs} +3 -3
- package/dist/client/{propsDecoder-CD2pJ1WB.mjs → propsDecoder-oR-M-ISN.mjs} +192 -59
- package/dist/client/rendering/client.mjs +2031 -1239
- package/dist/client/rendering/islands.mjs +20 -20
- package/dist/client/rendering.mjs +4889 -1712
- package/dist/client/{shop-Dgxs-Q8F.mjs → shop-CQ_YbCnn.mjs} +8 -8
- package/dist/client/{shop-commerce-DJAhsTaT.mjs → shop-commerce-BM-AoD3M.mjs} +6 -6
- package/dist/client/{shop-commerce-store-CfCXltXW.mjs → shop-commerce-store-DFMQhU5p.mjs} +1 -1
- package/dist/client/{shopShared-CmDcPXUt.mjs → shopShared-D0SKO2Cu.mjs} +3 -3
- package/dist/client/{useDiscountCodeUi-CirrT2bM.mjs → useDiscountCodeUi-CrG4_ARt.mjs} +1 -1
- package/dist/client/{useEventFilters-CNZxlCcO.mjs → useEventFilters-CxK8Fekl.mjs} +6 -6
- package/dist/client/{usePolling-Baks_iBI.mjs → usePolling-jcVryNgZ.mjs} +2 -2
- package/dist/preview-next/before-render.mjs +40 -1
- package/dist/preview-next/client/runtime.mjs +4 -4
- package/dist/preview-next/middleware.mjs +40 -1
- package/dist/{previewAuthStore-CfquDtTh.mjs → previewAuthStore-BPcJPzdz.mjs} +40 -1
- package/dist/{sdk-runtime-BfNiFeNJ.mjs → sdk-runtime-C39Rsk-x.mjs} +2 -2
- package/dist/{separator-BhAR_Xmf.mjs → separator-BoMSQnsP.mjs} +1 -1
- package/dist/server/components.mjs +4661 -2162
- package/dist/server/config-validation.mjs +2728 -1847
- package/dist/server/config.mjs +2728 -1847
- package/dist/server/data.mjs +3381 -1915
- package/dist/server/index.mjs +46 -4
- package/dist/server/next/middleware.mjs +1 -1
- package/dist/server/next.mjs +5555 -2225
- package/dist/server/page-converter.mjs +3058 -2182
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +4850 -2125
- package/dist/server/rendering.mjs +5664 -2464
- package/dist/server/routing.mjs +3027 -1509
- package/dist/server/server.mjs +3844 -2217
- package/dist/server/theme-bridge.mjs +9121 -7765
- package/dist/server/theme.mjs +152 -59
- package/dist/styles/index.css +1217 -31
- package/package.json +1 -1
- package/dist/_dts/preview-next/src/client/preview/typographySelectionInput.d.ts +0 -16
- package/dist/_dts/theme-core/src/palette/historicalThemePalette.d.ts +0 -44
- package/dist/_dts/theme-core/src/palette/legacyRuntimeProjection.d.ts +0 -55
- package/dist/_dts/theme-core/src/palette/legacySelection.d.ts +0 -45
- package/dist/_dts/theme-core/src/palette/paletteCompatibilityTransition.d.ts +0 -232
- package/dist/_dts/theme-core/src/site-styles/typographyPresets.d.ts +0 -234
|
@@ -54,6 +54,13 @@ export type SafeDownloadFilename = Brand<string, 'SafeDownloadFilename'>;
|
|
|
54
54
|
export type PositiveByteCount = Brand<number, 'PositiveByteCount'>;
|
|
55
55
|
export type PositiveSeconds = Brand<number, 'PositiveSeconds'>;
|
|
56
56
|
export type BookingSessionId = Brand<string, 'BookingSessionId'>;
|
|
57
|
+
export type DatedOfferingCapacityHoldId = Brand<string, 'DatedOfferingCapacityHoldId'>;
|
|
58
|
+
export type DatedOfferingCapacityHoldAuditRef = Brand<string, 'DatedOfferingCapacityHoldAuditRef'>;
|
|
59
|
+
export type DatedOfferingRevocationAuditEventId = Brand<string, 'DatedOfferingRevocationAuditEventId'>;
|
|
60
|
+
export type DatedOfferingNonCashProjectionClaimToken = Brand<string, 'DatedOfferingNonCashProjectionClaimToken'>;
|
|
61
|
+
export type DatedOfferingWaitlistCapacityEffectId = Brand<string, 'DatedOfferingWaitlistCapacityEffectId'>;
|
|
62
|
+
export type DatedOfferingWaitlistCapacityEffectClaimToken = Brand<string, 'DatedOfferingWaitlistCapacityEffectClaimToken'>;
|
|
63
|
+
export type DatedOfferingRunCancellationOperationId = Brand<string, 'DatedOfferingRunCancellationOperationId'>;
|
|
57
64
|
export type EntitlementId = Brand<string, 'EntitlementId'>;
|
|
58
65
|
export type SiteFontId = Brand<string, 'SiteFontId'>;
|
|
59
66
|
export type UserId = Brand<string, 'UserId'>;
|
|
@@ -66,6 +73,12 @@ export type CourseProgramId = Brand<string, 'CourseProgramId'>;
|
|
|
66
73
|
export type CustomerId = Brand<string, 'CustomerId'>;
|
|
67
74
|
export type OrderId = Brand<string, 'OrderId'>;
|
|
68
75
|
export type OrderItemId = Brand<string, 'OrderItemId'>;
|
|
76
|
+
export type OrderRefundId = Brand<string, 'OrderRefundId'>;
|
|
77
|
+
export type OrderPaymentReceiptId = Brand<string, 'OrderPaymentReceiptId'>;
|
|
78
|
+
export type OrderFlexibleBalanceContractId = Brand<string, 'OrderFlexibleBalanceContractId'>;
|
|
79
|
+
export type OrderPaymentPlanId = Brand<string, 'OrderPaymentPlanId'>;
|
|
80
|
+
export type OrderPaymentPlanInstalmentId = Brand<string, 'OrderPaymentPlanInstalmentId'>;
|
|
81
|
+
export type ManualPaymentOperationId = Brand<string, 'ManualPaymentOperationId'>;
|
|
69
82
|
export type CheckoutLineId = Brand<string, 'CheckoutLineId'>;
|
|
70
83
|
export type AttendeeId = Brand<string, 'AttendeeId'>;
|
|
71
84
|
export type CustomerPassId = Brand<string, 'CustomerPassId'>;
|
|
@@ -175,6 +188,13 @@ export declare const unsafeAsSafeDownloadFilename: (value: string) => SafeDownlo
|
|
|
175
188
|
export declare const unsafeAsPositiveByteCount: (value: number) => PositiveByteCount;
|
|
176
189
|
export declare const unsafeAsPositiveSeconds: (value: number) => PositiveSeconds;
|
|
177
190
|
export declare const unsafeAsBookingSessionId: (id: string) => BookingSessionId;
|
|
191
|
+
export declare const unsafeAsDatedOfferingCapacityHoldId: (value: string) => DatedOfferingCapacityHoldId;
|
|
192
|
+
export declare const unsafeAsDatedOfferingCapacityHoldAuditRef: (value: string) => DatedOfferingCapacityHoldAuditRef;
|
|
193
|
+
export declare const unsafeAsDatedOfferingRevocationAuditEventId: (value: string) => DatedOfferingRevocationAuditEventId;
|
|
194
|
+
export declare const unsafeAsDatedOfferingNonCashProjectionClaimToken: (value: string) => DatedOfferingNonCashProjectionClaimToken;
|
|
195
|
+
export declare const unsafeAsDatedOfferingWaitlistCapacityEffectId: (value: string) => DatedOfferingWaitlistCapacityEffectId;
|
|
196
|
+
export declare const unsafeAsDatedOfferingWaitlistCapacityEffectClaimToken: (value: string) => DatedOfferingWaitlistCapacityEffectClaimToken;
|
|
197
|
+
export declare const unsafeAsDatedOfferingRunCancellationOperationId: (value: string) => DatedOfferingRunCancellationOperationId;
|
|
178
198
|
export declare const unsafeAsEntitlementId: (id: string) => EntitlementId;
|
|
179
199
|
export declare const unsafeAsSiteFontId: (id: string) => SiteFontId;
|
|
180
200
|
export declare const unsafeAsUserId: (id: string) => UserId;
|
|
@@ -187,6 +207,12 @@ export declare const unsafeAsCourseProgramId: (id: string) => CourseProgramId;
|
|
|
187
207
|
export declare const unsafeAsCustomerId: (id: string) => CustomerId;
|
|
188
208
|
export declare const unsafeAsOrderId: (id: string) => OrderId;
|
|
189
209
|
export declare const unsafeAsOrderItemId: (id: string) => OrderItemId;
|
|
210
|
+
export declare const unsafeAsOrderRefundId: (id: string) => OrderRefundId;
|
|
211
|
+
export declare const unsafeAsOrderPaymentReceiptId: (id: string) => OrderPaymentReceiptId;
|
|
212
|
+
export declare const unsafeAsOrderFlexibleBalanceContractId: (id: string) => OrderFlexibleBalanceContractId;
|
|
213
|
+
export declare const unsafeAsOrderPaymentPlanId: (id: string) => OrderPaymentPlanId;
|
|
214
|
+
export declare const unsafeAsOrderPaymentPlanInstalmentId: (id: string) => OrderPaymentPlanInstalmentId;
|
|
215
|
+
export declare const unsafeAsManualPaymentOperationId: (id: string) => ManualPaymentOperationId;
|
|
190
216
|
export declare const unsafeAsCheckoutLineId: (id: string) => CheckoutLineId;
|
|
191
217
|
export declare const unsafeAsAttendeeId: (id: string) => AttendeeId;
|
|
192
218
|
export declare const unsafeAsCustomerPassId: (id: string) => CustomerPassId;
|
|
@@ -267,8 +293,26 @@ export declare const parseAppointmentResourceId: (value: unknown) => Result<Appo
|
|
|
267
293
|
export declare const parseAppointmentReservationId: (value: unknown) => Result<AppointmentReservationId, BrandedIdParseError>;
|
|
268
294
|
export declare const parseAppointmentReservationRunId: (value: unknown) => Result<AppointmentReservationRunId, BrandedIdParseError>;
|
|
269
295
|
export declare const parseAttendeeId: (value: unknown) => Result<AttendeeId, BrandedIdParseError>;
|
|
296
|
+
export declare const parseDatedOfferingCapacityHoldId: (value: unknown) => Result<DatedOfferingCapacityHoldId, BrandedIdParseError>;
|
|
297
|
+
export declare const parseDatedOfferingCapacityHoldAuditRef: (value: unknown) => Result<DatedOfferingCapacityHoldAuditRef, BrandedIdParseError>;
|
|
298
|
+
export declare const parseDatedOfferingRevocationAuditEventId: (value: unknown) => Result<DatedOfferingRevocationAuditEventId, BrandedIdParseError>;
|
|
299
|
+
export declare const parseDatedOfferingNonCashProjectionClaimToken: (value: unknown) => Result<DatedOfferingNonCashProjectionClaimToken, BrandedIdParseError>;
|
|
300
|
+
export declare const parseDatedOfferingWaitlistCapacityEffectId: (value: unknown) => Result<DatedOfferingWaitlistCapacityEffectId, BrandedIdParseError>;
|
|
301
|
+
export declare const parseDatedOfferingWaitlistCapacityEffectClaimToken: (value: unknown) => Result<DatedOfferingWaitlistCapacityEffectClaimToken, BrandedIdParseError>;
|
|
302
|
+
export declare const parseDatedOfferingRunCancellationOperationId: (value: unknown) => Result<DatedOfferingRunCancellationOperationId, BrandedIdParseError>;
|
|
270
303
|
export declare const parseCustomerId: (value: unknown) => Result<CustomerId, BrandedIdParseError>;
|
|
271
304
|
export declare const parseCustomerPassId: (value: unknown) => Result<CustomerPassId, BrandedIdParseError>;
|
|
272
305
|
export declare const parseCustomerMembershipId: (value: unknown) => Result<CustomerMembershipId, BrandedIdParseError>;
|
|
273
306
|
export declare const parseEventSeriesId: (value: unknown) => Result<EventSeriesId, BrandedIdParseError>;
|
|
307
|
+
export declare const parseEnrollmentId: (value: unknown) => Result<EnrollmentId, BrandedIdParseError>;
|
|
308
|
+
export declare const parseParticipantId: (value: unknown) => Result<ParticipantId, BrandedIdParseError>;
|
|
309
|
+
export declare const parseParticipantParticipationId: (value: unknown) => Result<ParticipantParticipationId, BrandedIdParseError>;
|
|
310
|
+
export declare const parseOrderItemId: (value: unknown) => Result<OrderItemId, BrandedIdParseError>;
|
|
311
|
+
export declare const parseOrderId: (value: unknown) => Result<OrderId, BrandedIdParseError>;
|
|
312
|
+
export declare const parseOrderRefundId: (value: unknown) => Result<OrderRefundId, BrandedIdParseError>;
|
|
313
|
+
export declare const parseOrderPaymentReceiptId: (value: unknown) => Result<OrderPaymentReceiptId, BrandedIdParseError>;
|
|
314
|
+
export declare const parseOrderFlexibleBalanceContractId: (value: unknown) => Result<OrderFlexibleBalanceContractId, BrandedIdParseError>;
|
|
315
|
+
export declare const parseOrderPaymentPlanId: (value: unknown) => Result<OrderPaymentPlanId, BrandedIdParseError>;
|
|
316
|
+
export declare const parseOrderPaymentPlanInstalmentId: (value: unknown) => Result<OrderPaymentPlanInstalmentId, BrandedIdParseError>;
|
|
317
|
+
export declare const parseManualPaymentOperationId: (value: unknown) => Result<ManualPaymentOperationId, BrandedIdParseError>;
|
|
274
318
|
export {};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import type { UtcIsoDateTimeString } from './booking-date-time';
|
|
2
|
+
import type { Brand, StripeCheckoutSessionId } from './branded';
|
|
3
|
+
import { type Result } from './result';
|
|
4
|
+
export type StripePaymentIntentRef = Brand<string, 'StripePaymentIntentRef'>;
|
|
5
|
+
export type StripeWebhookEventRef = Brand<string, 'StripeWebhookEventRef'>;
|
|
6
|
+
export type StripeBalanceTransactionRef = Brand<string, 'StripeBalanceTransactionRef'>;
|
|
7
|
+
export type StripeChargeRef = Brand<string, 'StripeChargeRef'>;
|
|
8
|
+
export type StripeAccountRef = Brand<string, 'StripeAccountRef'>;
|
|
9
|
+
export type StripeSettlementReferenceParseError = Readonly<{
|
|
10
|
+
kind: 'not_string';
|
|
11
|
+
}> | Readonly<{
|
|
12
|
+
kind: 'empty_string';
|
|
13
|
+
}>;
|
|
14
|
+
export declare const parseStripePaymentIntentRef: (value: unknown) => Result<StripePaymentIntentRef, StripeSettlementReferenceParseError>;
|
|
15
|
+
export declare const parseStripeWebhookEventRef: (value: unknown) => Result<StripeWebhookEventRef, StripeSettlementReferenceParseError>;
|
|
16
|
+
export declare const parseStripeBalanceTransactionRef: (value: unknown) => Result<StripeBalanceTransactionRef, StripeSettlementReferenceParseError>;
|
|
17
|
+
export declare const parseStripeChargeRef: (value: unknown) => Result<StripeChargeRef, StripeSettlementReferenceParseError>;
|
|
18
|
+
export declare const parseStripeAccountRef: (value: unknown) => Result<StripeAccountRef, StripeSettlementReferenceParseError>;
|
|
19
|
+
export declare const parseStripeCheckoutSessionId: (value: unknown) => Result<StripeCheckoutSessionId, StripeSettlementReferenceParseError>;
|
|
20
|
+
export type DatedOfferingSettlementIdentity = Readonly<{
|
|
21
|
+
kind: 'stripe_payment_intent';
|
|
22
|
+
paymentIntentRef: StripePaymentIntentRef;
|
|
23
|
+
}>;
|
|
24
|
+
/**
|
|
25
|
+
* A webhook says when Riverbank observed Stripe state, not when funds settled.
|
|
26
|
+
* It must never be used for capacity-hold deadline arbitration.
|
|
27
|
+
*/
|
|
28
|
+
export type DatedOfferingSettlementObservation = Readonly<{
|
|
29
|
+
kind: 'stripe_webhook_event_observed';
|
|
30
|
+
identity: DatedOfferingSettlementIdentity;
|
|
31
|
+
eventRef: StripeWebhookEventRef;
|
|
32
|
+
observedAtIso: UtcIsoDateTimeString;
|
|
33
|
+
}>;
|
|
34
|
+
/** Authoritative Stripe settlement fact retrieved with its charge evidence. */
|
|
35
|
+
export type DatedOfferingSettlementEvidence = Readonly<{
|
|
36
|
+
kind: 'stripe_balance_transaction';
|
|
37
|
+
identity: DatedOfferingSettlementIdentity;
|
|
38
|
+
evidenceRef: StripeBalanceTransactionRef;
|
|
39
|
+
chargeRef: StripeChargeRef;
|
|
40
|
+
settledAtIso: UtcIsoDateTimeString;
|
|
41
|
+
}>;
|
|
42
|
+
export type VerifiedDatedOfferingCheckoutSettlement = Readonly<{
|
|
43
|
+
kind: 'verified_stripe_checkout_settlement';
|
|
44
|
+
stripeAccountRef: StripeAccountRef;
|
|
45
|
+
checkoutSessionId: StripeCheckoutSessionId;
|
|
46
|
+
evidence: DatedOfferingSettlementEvidence;
|
|
47
|
+
}>;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { type BrandedIdParseError, type EventOfferingId, type EventSeriesId } from './branded';
|
|
2
|
+
import { type Result } from './result';
|
|
3
|
+
export type EventPageSurfaceSubjectRef = Readonly<{
|
|
4
|
+
kind: 'eventSeries';
|
|
5
|
+
eventSeriesId: EventSeriesId;
|
|
6
|
+
}> | Readonly<{
|
|
7
|
+
kind: 'eventOffering';
|
|
8
|
+
eventOfferingId: EventOfferingId;
|
|
9
|
+
}>;
|
|
10
|
+
export type EventPageSurfaceSubjectRefWire = Readonly<{
|
|
11
|
+
kind: 'eventSeries';
|
|
12
|
+
eventSeriesId: string;
|
|
13
|
+
}> | Readonly<{
|
|
14
|
+
kind: 'eventOffering';
|
|
15
|
+
eventOfferingId: string;
|
|
16
|
+
}>;
|
|
17
|
+
export type EventPageSurfaceSubject = Extract<EventPageSurfaceSubjectRef, {
|
|
18
|
+
kind: 'eventSeries';
|
|
19
|
+
}> | Readonly<{
|
|
20
|
+
kind: 'eventOffering';
|
|
21
|
+
eventOfferingId: EventOfferingId;
|
|
22
|
+
availableEventSeriesIds: readonly EventSeriesId[];
|
|
23
|
+
}>;
|
|
24
|
+
export type EventPageSurfaceSubjectWire = Extract<EventPageSurfaceSubjectRefWire, {
|
|
25
|
+
kind: 'eventSeries';
|
|
26
|
+
}> | Readonly<{
|
|
27
|
+
kind: 'eventOffering';
|
|
28
|
+
eventOfferingId: string;
|
|
29
|
+
availableEventSeriesIds: readonly string[];
|
|
30
|
+
}>;
|
|
31
|
+
export type EventPageSurfaceSubjectParseError = Readonly<{
|
|
32
|
+
kind: 'notObject';
|
|
33
|
+
}> | Readonly<{
|
|
34
|
+
kind: 'unsupportedSubject';
|
|
35
|
+
subjectKind: unknown;
|
|
36
|
+
}> | Readonly<{
|
|
37
|
+
kind: 'invalidEventSeriesId';
|
|
38
|
+
error: BrandedIdParseError;
|
|
39
|
+
}> | Readonly<{
|
|
40
|
+
kind: 'invalidEventOfferingId';
|
|
41
|
+
error: BrandedIdParseError;
|
|
42
|
+
}>;
|
|
43
|
+
export declare function parseEventPageSurfaceSubject(value: unknown): Result<EventPageSurfaceSubject, EventPageSurfaceSubjectParseError>;
|
|
44
|
+
export declare function toEventPageSurfaceSubjectWire(subject: EventPageSurfaceSubject): EventPageSurfaceSubjectWire;
|
|
@@ -1,47 +1,49 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
6
|
-
export * from
|
|
7
|
-
export * from
|
|
8
|
-
export * from
|
|
9
|
-
export * from
|
|
10
|
-
export * from
|
|
11
|
-
export * from
|
|
12
|
-
export * from
|
|
13
|
-
export * from
|
|
14
|
-
export * from
|
|
15
|
-
export * from
|
|
16
|
-
export * from
|
|
17
|
-
export * from
|
|
18
|
-
export * from
|
|
19
|
-
export * from
|
|
20
|
-
export
|
|
21
|
-
export
|
|
22
|
-
export
|
|
23
|
-
export
|
|
24
|
-
export * from
|
|
25
|
-
export * from
|
|
26
|
-
export * from
|
|
27
|
-
export * from
|
|
28
|
-
export * from
|
|
29
|
-
export * from
|
|
30
|
-
export * from
|
|
31
|
-
export * from
|
|
32
|
-
export * from
|
|
33
|
-
export * from
|
|
34
|
-
export * from
|
|
35
|
-
export * from
|
|
36
|
-
export * from
|
|
37
|
-
export * from
|
|
38
|
-
export * from
|
|
39
|
-
export * from
|
|
40
|
-
export * from
|
|
41
|
-
export * from
|
|
42
|
-
export * from
|
|
43
|
-
export * from
|
|
44
|
-
export * from
|
|
45
|
-
export * from
|
|
46
|
-
export
|
|
47
|
-
export
|
|
1
|
+
export * from './branded';
|
|
2
|
+
export * from './date-math';
|
|
3
|
+
export * from './duration';
|
|
4
|
+
export * from './demo-capability-policy';
|
|
5
|
+
export * from './demo-claim-access';
|
|
6
|
+
export * from './demo-lifecycle-status';
|
|
7
|
+
export * from './demo-runtime';
|
|
8
|
+
export * from './collections';
|
|
9
|
+
export * from './event-pricing';
|
|
10
|
+
export * from './event-page-surface-subject';
|
|
11
|
+
export * from './money-input';
|
|
12
|
+
export * from './booking-flexible-balance';
|
|
13
|
+
export * from './booking-refunds';
|
|
14
|
+
export * from './booking-instalments';
|
|
15
|
+
export * from './booking-date-time';
|
|
16
|
+
export * from './dated-offering-settlement';
|
|
17
|
+
export * from './person-records';
|
|
18
|
+
export * from './rectification';
|
|
19
|
+
export * from './location';
|
|
20
|
+
export * from './business-address';
|
|
21
|
+
export * from './result';
|
|
22
|
+
export { assertNever } from './assert-never';
|
|
23
|
+
export { tryAsync } from './try-async';
|
|
24
|
+
export * from './narrow-result';
|
|
25
|
+
export * from './non-empty-array';
|
|
26
|
+
export * from './editor-state';
|
|
27
|
+
export * from './sensitive-collection';
|
|
28
|
+
export * from './assertNever';
|
|
29
|
+
export * from './participants';
|
|
30
|
+
export * from './participant-identity';
|
|
31
|
+
export * from './public-url-validation';
|
|
32
|
+
export * from './number-input';
|
|
33
|
+
export * from './field-errors';
|
|
34
|
+
export * from './form-submission-preview';
|
|
35
|
+
export * from './csv-cells';
|
|
36
|
+
export * from './csv-date-filter';
|
|
37
|
+
export * from './csv-escape';
|
|
38
|
+
export * from './csv-filename';
|
|
39
|
+
export * from './csv-render';
|
|
40
|
+
export * from './csv-types';
|
|
41
|
+
export * from './currency-format';
|
|
42
|
+
export * from './email-format';
|
|
43
|
+
export * from './slug';
|
|
44
|
+
export * from './string';
|
|
45
|
+
export * from './uuid';
|
|
46
|
+
export * from './stable-json';
|
|
47
|
+
export * from './site-route-target';
|
|
48
|
+
export { disabledSelection, enabledSelection, plannerNoChange, plannerPatch, plannerUpdate, resolvePlanningDateInput, resolvePlanningNow, resolvePlanningNowDate, systemPlanningClock, } from './planner';
|
|
49
|
+
export type { DisabledSelection, EnabledSelection, OptionalSelection, PlannerNoChange, PlannerPatch, PlannerUpdate, PlanningClock, PlanningDateInput, PlanningTimeOptions, } from './planner';
|