@riverbankcms/sdk 0.128.0 → 0.129.1
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 +52 -256
- package/dist/{PreviewEditorSidebar-Dbvb7GIr.mjs → PreviewEditorSidebar-DceRseRV.mjs} +3 -3
- package/dist/{PreviewEditorUI-e9O9l20X.mjs → PreviewEditorUI-BNunq3kk.mjs} +2 -2
- package/dist/{SdkPreviewModeRuntime-BZHt6e9w.mjs → SdkPreviewModeRuntime-Bt87-62u.mjs} +495 -292
- package/dist/{SiteChromeCustomizeContext-CvuGbHJX.mjs → SiteChromeCustomizeContext-BLl-OlL4.mjs} +600 -533
- package/dist/_dts/ai/src/contracts/commandExposure.d.ts +1 -1
- package/dist/_dts/ai/src/contracts/proposals.d.ts +4897 -4897
- package/dist/_dts/api/src/index.d.ts +2 -1
- package/dist/_dts/api/src/sdk-event-management.d.ts +53 -0
- package/dist/_dts/api/src/sdk-event-schedule.d.ts +3 -6
- package/dist/_dts/api/src/sdkContracts.d.ts +37 -50
- package/dist/_dts/api/src/sdkThemeWire.d.ts +2595 -0
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +13 -29
- package/dist/_dts/blocks/src/PageRenderer.d.ts +20 -10
- package/dist/_dts/blocks/src/index.d.ts +2 -1
- package/dist/_dts/blocks/src/pageRendererBoundaries.d.ts +30 -0
- package/dist/_dts/blocks/src/pageRenderingMode.d.ts +37 -0
- package/dist/_dts/blocks/src/server.d.ts +1 -1
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +14 -0
- package/dist/_dts/media-core/src/index.d.ts +1 -0
- package/dist/_dts/preview-next/src/client/blocks/pageDesignRuntimePreview.d.ts +2 -0
- package/dist/_dts/preview-next/src/client/index.d.ts +47 -47
- package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +18 -6
- package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +30 -21
- package/dist/_dts/preview-next/src/client/preview/PreviewThemedSiteDocument.d.ts +18 -5
- package/dist/_dts/preview-next/src/client/preview/themeRuntime.d.ts +9 -0
- package/dist/_dts/preview-next/src/client/sdk/SdkPreviewMode.d.ts +21 -6
- package/dist/_dts/preview-next/src/client/sdk-runtime.d.ts +8 -8
- package/dist/_dts/sdk/src/config/types.d.ts +4 -4
- package/dist/_dts/sdk/src/next/catch-all.d.ts +6 -0
- package/dist/_dts/sdk/src/next/index.d.ts +2 -1
- package/dist/_dts/sdk/src/next/renderSdkContent.d.ts +33 -0
- package/dist/_dts/sdk/src/next/types.d.ts +23 -9
- package/dist/_dts/sdk/src/preview-next/before-render.d.ts +4 -6
- package/dist/_dts/sdk/src/preview-next/client/index.d.ts +3 -3
- package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/blocks-page-renderer.d.ts +25 -3
- package/dist/_dts/sdk/src/rendering/components/Block.shared.d.ts +13 -2
- package/dist/_dts/sdk/src/rendering/components/Layout.d.ts +31 -18
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +20 -9
- package/dist/_dts/sdk/src/rendering/index.d.ts +4 -2
- package/dist/_dts/sdk/src/rendering/renderingMode.d.ts +23 -0
- package/dist/_dts/sdk/src/rendering/server.d.ts +5 -3
- package/dist/_dts/sdk/src/rendering/themeRuntime.d.ts +6 -0
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/theme-core/src/buttons/index.d.ts +1 -0
- package/dist/_dts/theme-core/src/palette/index.d.ts +1 -0
- package/dist/_dts/theme-core/src/site-styles/headerLayoutStyleCatalog.d.ts +254 -0
- package/dist/_dts/theme-core/src/site-styles/headerLegacyLooks.d.ts +372 -0
- package/dist/_dts/theme-core/src/site-styles/headerLookBranding.d.ts +106 -0
- package/dist/_dts/theme-core/src/site-styles/headerLookSelection.d.ts +2 -0
- package/dist/_dts/theme-core/src/site-styles/headerLookTypes.d.ts +212 -0
- package/dist/_dts/theme-core/src/site-styles/headerLooks.d.ts +7 -841
- package/dist/_dts/theme-core/src/site-styles/headerStyleCompiler.d.ts +3 -0
- package/dist/_dts/theme-core/src/site-styles/headerStyleCompilerPrimitives.d.ts +23 -0
- package/dist/client/client.mjs +911 -762
- package/dist/client/hooks.mjs +59 -36
- package/dist/client/rendering/client.mjs +593 -547
- package/dist/client/rendering.mjs +994 -783
- package/dist/preview-next/before-render.mjs +10 -3
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/{sdk-runtime-Cn_QSCOg.mjs → sdk-runtime-C20CVWbb.mjs} +1 -1
- package/dist/{separator-CEoGABRc.mjs → separator-BE3NCquy.mjs} +1 -1
- package/dist/server/components.mjs +549 -399
- package/dist/server/config-validation.mjs +59 -36
- package/dist/server/config.mjs +59 -36
- package/dist/server/data.mjs +59 -36
- package/dist/server/index.mjs +1 -1
- package/dist/server/manifest.mjs +4966 -0
- package/dist/server/next.mjs +700 -537
- package/dist/server/page-converter.mjs +40 -36
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +571 -404
- package/dist/server/rendering.mjs +571 -404
- package/dist/server/routing.mjs +472 -402
- package/dist/server/server.mjs +60 -37
- package/dist/server/theme-bridge.mjs +70 -66
- package/package.json +9 -12
- package/dist/_dts/api/src/event-presentation.d.ts +0 -14
- package/dist/_dts/blocks/src/definitions.d.ts +0 -14
- package/dist/_dts/sdk/src/cli/canonical-entry-policy.d.ts +0 -53
- package/dist/_dts/sdk/src/cli/commands/audit.d.ts +0 -101
- package/dist/_dts/sdk/src/cli/commands/block.d.ts +0 -24
- package/dist/_dts/sdk/src/cli/commands/compare.d.ts +0 -62
- package/dist/_dts/sdk/src/cli/commands/content-type.d.ts +0 -10
- package/dist/_dts/sdk/src/cli/commands/content.d.ts +0 -56
- package/dist/_dts/sdk/src/cli/commands/delete.d.ts +0 -14
- package/dist/_dts/sdk/src/cli/commands/deploy.d.ts +0 -43
- package/dist/_dts/sdk/src/cli/commands/drafts.d.ts +0 -18
- package/dist/_dts/sdk/src/cli/commands/entry.d.ts +0 -55
- package/dist/_dts/sdk/src/cli/commands/env.d.ts +0 -31
- package/dist/_dts/sdk/src/cli/commands/event.d.ts +0 -23
- package/dist/_dts/sdk/src/cli/commands/eventOccurrenceSchedule.d.ts +0 -12
- package/dist/_dts/sdk/src/cli/commands/identifiers.d.ts +0 -10
- package/dist/_dts/sdk/src/cli/commands/init-docs.d.ts +0 -13
- package/dist/_dts/sdk/src/cli/commands/manifest.d.ts +0 -10
- package/dist/_dts/sdk/src/cli/commands/media-validation.d.ts +0 -3
- package/dist/_dts/sdk/src/cli/commands/migrate.d.ts +0 -11
- package/dist/_dts/sdk/src/cli/commands/navigation.d.ts +0 -12
- package/dist/_dts/sdk/src/cli/commands/page.d.ts +0 -14
- package/dist/_dts/sdk/src/cli/commands/publish-all.d.ts +0 -50
- package/dist/_dts/sdk/src/cli/commands/pull-dated-offering-scope.d.ts +0 -10
- package/dist/_dts/sdk/src/cli/commands/pull-dry-run.d.ts +0 -70
- package/dist/_dts/sdk/src/cli/commands/pull-scope-diff.d.ts +0 -8
- package/dist/_dts/sdk/src/cli/commands/pull.d.ts +0 -43
- package/dist/_dts/sdk/src/cli/commands/push/consts.d.ts +0 -3
- package/dist/_dts/sdk/src/cli/commands/push/execute/diff.d.ts +0 -19
- package/dist/_dts/sdk/src/cli/commands/push/execute/footer.d.ts +0 -42
- package/dist/_dts/sdk/src/cli/commands/push/execute/localMediaReporting.d.ts +0 -23
- package/dist/_dts/sdk/src/cli/commands/push/execute/media.d.ts +0 -22
- package/dist/_dts/sdk/src/cli/commands/push/execute/metadata.d.ts +0 -1
- package/dist/_dts/sdk/src/cli/commands/push/execute/reporting.d.ts +0 -7
- package/dist/_dts/sdk/src/cli/commands/push/execute/theme.d.ts +0 -63
- package/dist/_dts/sdk/src/cli/commands/push/filter.d.ts +0 -15
- package/dist/_dts/sdk/src/cli/commands/push/metadata.d.ts +0 -29
- package/dist/_dts/sdk/src/cli/commands/push/normalizeLocalContent.d.ts +0 -2
- package/dist/_dts/sdk/src/cli/commands/push/options.d.ts +0 -32
- package/dist/_dts/sdk/src/cli/commands/push/publishGuidance.d.ts +0 -15
- package/dist/_dts/sdk/src/cli/commands/push/pushAllExtras.d.ts +0 -25
- package/dist/_dts/sdk/src/cli/commands/push/scopes/commandBackedDatedOfferingScope.d.ts +0 -83
- package/dist/_dts/sdk/src/cli/commands/push/scopes/eventCategories.d.ts +0 -4
- package/dist/_dts/sdk/src/cli/commands/push/scopes/events.d.ts +0 -4
- package/dist/_dts/sdk/src/cli/commands/push/scopes/mediaPrep.d.ts +0 -14
- package/dist/_dts/sdk/src/cli/commands/push/scopes/pushScopeGeneric.d.ts +0 -6
- package/dist/_dts/sdk/src/cli/commands/push/scopes/types.d.ts +0 -87
- package/dist/_dts/sdk/src/cli/commands/push/scopes/venues.d.ts +0 -4
- package/dist/_dts/sdk/src/cli/commands/push/stale-resolution.d.ts +0 -48
- package/dist/_dts/sdk/src/cli/commands/push/stale.d.ts +0 -17
- package/dist/_dts/sdk/src/cli/commands/push/verification.d.ts +0 -56
- package/dist/_dts/sdk/src/cli/commands/push/workflowPlan.d.ts +0 -34
- package/dist/_dts/sdk/src/cli/commands/push-execute.d.ts +0 -54
- package/dist/_dts/sdk/src/cli/commands/push.d.ts +0 -40
- package/dist/_dts/sdk/src/cli/commands/setup.d.ts +0 -3
- package/dist/_dts/sdk/src/cli/commands/style.d.ts +0 -60
- package/dist/_dts/sdk/src/cli/commands/verify.d.ts +0 -11
- package/dist/_dts/sdk/src/cli/commands/webhooks.d.ts +0 -44
- package/dist/_dts/sdk/src/cli/config-loader.d.ts +0 -47
- package/dist/_dts/sdk/src/cli/content/collectionWriters.d.ts +0 -23
- package/dist/_dts/sdk/src/cli/content/edit/format.d.ts +0 -2
- package/dist/_dts/sdk/src/cli/content/edit/path.d.ts +0 -14
- package/dist/_dts/sdk/src/cli/content/edit/planner.d.ts +0 -46
- package/dist/_dts/sdk/src/cli/content/entryPaths.d.ts +0 -6
- package/dist/_dts/sdk/src/cli/content/footerFile.d.ts +0 -10
- package/dist/_dts/sdk/src/cli/content/fs-utils.d.ts +0 -39
- package/dist/_dts/sdk/src/cli/content/legacyEventScheduleShapeError.d.ts +0 -5
- package/dist/_dts/sdk/src/cli/content/localEventSchedule.d.ts +0 -17
- package/dist/_dts/sdk/src/cli/content/media-manifest.d.ts +0 -13
- package/dist/_dts/sdk/src/cli/content/metadataAfterPush.d.ts +0 -25
- package/dist/_dts/sdk/src/cli/content/metadataStore.d.ts +0 -29
- package/dist/_dts/sdk/src/cli/content/reader.d.ts +0 -488
- package/dist/_dts/sdk/src/cli/content/writer.d.ts +0 -142
- package/dist/_dts/sdk/src/cli/env-scope.d.ts +0 -2
- package/dist/_dts/sdk/src/cli/env.d.ts +0 -71
- package/dist/_dts/sdk/src/cli/errors.d.ts +0 -62
- package/dist/_dts/sdk/src/cli/helpers/ai-runtime.d.ts +0 -2
- package/dist/_dts/sdk/src/cli/helpers.d.ts +0 -399
- package/dist/_dts/sdk/src/cli/index.d.ts +0 -11
- package/dist/_dts/sdk/src/cli/init-docs/constants.d.ts +0 -16
- package/dist/_dts/sdk/src/cli/init-docs/index.d.ts +0 -12
- package/dist/_dts/sdk/src/cli/init-docs/templates.d.ts +0 -18
- package/dist/_dts/sdk/src/cli/init-docs/zod-to-markdown.d.ts +0 -28
- package/dist/_dts/sdk/src/cli/load-config.d.ts +0 -14
- package/dist/_dts/sdk/src/cli/media/identifiers.d.ts +0 -18
- package/dist/_dts/sdk/src/cli/media/local-media.d.ts +0 -14
- package/dist/_dts/sdk/src/cli/media/local-sync.d.ts +0 -91
- package/dist/_dts/sdk/src/cli/media/portable.d.ts +0 -11
- package/dist/_dts/sdk/src/cli/media/rich-text.d.ts +0 -12
- package/dist/_dts/sdk/src/cli/media/value-utils.d.ts +0 -15
- package/dist/_dts/sdk/src/cli/media/write-guard.d.ts +0 -52
- package/dist/_dts/sdk/src/cli/merge-remote/entryLocal.d.ts +0 -3
- package/dist/_dts/sdk/src/cli/merge-remote/entryMerge.d.ts +0 -78
- package/dist/_dts/sdk/src/cli/merge-remote/entryMergePlan.d.ts +0 -45
- package/dist/_dts/sdk/src/cli/merge-remote/entryMergePush.d.ts +0 -24
- package/dist/_dts/sdk/src/cli/merge-remote/entryMergeReport.d.ts +0 -18
- package/dist/_dts/sdk/src/cli/merge-remote/entryRemote.d.ts +0 -9
- package/dist/_dts/sdk/src/cli/merge-remote/entrySnapshots.d.ts +0 -48
- package/dist/_dts/sdk/src/cli/merge-remote/mergeFieldChanges.d.ts +0 -22
- package/dist/_dts/sdk/src/cli/merge-remote/pageLocal.d.ts +0 -3
- package/dist/_dts/sdk/src/cli/merge-remote/pageMerge.d.ts +0 -78
- package/dist/_dts/sdk/src/cli/merge-remote/pageMergePlan.d.ts +0 -36
- package/dist/_dts/sdk/src/cli/merge-remote/pageMergePush.d.ts +0 -23
- package/dist/_dts/sdk/src/cli/merge-remote/pageMergeReport.d.ts +0 -17
- package/dist/_dts/sdk/src/cli/merge-remote/pageSnapshots.d.ts +0 -46
- package/dist/_dts/sdk/src/cli/merge-remote/sharedBaseSnapshots.d.ts +0 -32
- package/dist/_dts/sdk/src/cli/merge-remote/sharedMergePlan.d.ts +0 -27
- package/dist/_dts/sdk/src/cli/merge-remote/sharedMergeReport.d.ts +0 -63
- package/dist/_dts/sdk/src/cli/migrations/entries.d.ts +0 -28
- package/dist/_dts/sdk/src/cli/migrations/events.d.ts +0 -73
- package/dist/_dts/sdk/src/cli/navigationIdentity.d.ts +0 -11
- package/dist/_dts/sdk/src/cli/output.d.ts +0 -133
- package/dist/_dts/sdk/src/cli/program.d.ts +0 -29
- package/dist/_dts/sdk/src/cli/push-config.d.ts +0 -49
- package/dist/_dts/sdk/src/cli/setup/setupPlan.d.ts +0 -51
- package/dist/_dts/sdk/src/cli/site-commands/commandKeys.d.ts +0 -13
- package/dist/_dts/sdk/src/cli/site-commands/commandRuntime.d.ts +0 -170
- package/dist/_dts/sdk/src/cli/site-commands/commandRuntimeCompat.d.ts +0 -21
- package/dist/_dts/sdk/src/cli/site-commands/commandSurfaceDispatch.d.ts +0 -32
- package/dist/_dts/sdk/src/cli/site-commands/datedOfferingCommands.d.ts +0 -53
- package/dist/_dts/sdk/src/cli/site-commands/entryCommands.d.ts +0 -65
- package/dist/_dts/sdk/src/cli/site-commands/eventScheduleCompiler.d.ts +0 -24
- package/dist/_dts/sdk/src/cli/site-commands/footerCommands.d.ts +0 -68
- package/dist/_dts/sdk/src/cli/site-commands/formCommands.d.ts +0 -53
- package/dist/_dts/sdk/src/cli/site-commands/index.d.ts +0 -8
- package/dist/_dts/sdk/src/cli/site-commands/localBlockManifestResolver.d.ts +0 -31
- package/dist/_dts/sdk/src/cli/site-commands/navigationCommands.d.ts +0 -57
- package/dist/_dts/sdk/src/cli/site-commands/oneOffCommands.d.ts +0 -82
- package/dist/_dts/sdk/src/cli/site-commands/pageCommands.d.ts +0 -84
- package/dist/_dts/sdk/src/cli/site-commands/pushExecution.d.ts +0 -39
- package/dist/_dts/sdk/src/cli/site-commands/pushExecutionPlan.d.ts +0 -8
- package/dist/_dts/sdk/src/cli/site-commands/pushExecutionTypes.d.ts +0 -97
- package/dist/_dts/sdk/src/cli/site-commands/residualSettingsTrimming.d.ts +0 -15
- package/dist/_dts/sdk/src/cli/sync/diff.d.ts +0 -222
- package/dist/_dts/sdk/src/cli/sync/executor.d.ts +0 -84
- package/dist/_dts/sdk/src/cli/sync/field-diff.d.ts +0 -39
- package/dist/_dts/sdk/src/cli/sync/index.d.ts +0 -10
- package/dist/_dts/sdk/src/cli/sync/mapper.d.ts +0 -41
- package/dist/_dts/sdk/src/cli/sync/media-sync.d.ts +0 -15
- package/dist/_dts/sdk/src/cli/sync/media.d.ts +0 -158
- package/dist/_dts/sdk/src/cli/sync/syncResultAggregation.d.ts +0 -4
- package/dist/_dts/sdk/src/cli/sync/validation.d.ts +0 -68
- package/dist/_dts/sdk/src/cli/utils/checksum.d.ts +0 -1
- package/dist/_dts/sdk/src/client/management/blocks.d.ts +0 -19
- package/dist/_dts/sdk/src/client/management/catalog.d.ts +0 -10
- package/dist/_dts/sdk/src/client/management/entries.d.ts +0 -6
- package/dist/_dts/sdk/src/client/management/eventCategories.d.ts +0 -6
- package/dist/_dts/sdk/src/client/management/events.d.ts +0 -7
- package/dist/_dts/sdk/src/client/management/footer.d.ts +0 -9
- package/dist/_dts/sdk/src/client/management/forms.d.ts +0 -6
- package/dist/_dts/sdk/src/client/management/http.d.ts +0 -79
- package/dist/_dts/sdk/src/client/management/identifiers.d.ts +0 -11
- package/dist/_dts/sdk/src/client/management/index.d.ts +0 -41
- package/dist/_dts/sdk/src/client/management/media.d.ts +0 -72
- package/dist/_dts/sdk/src/client/management/navigation.d.ts +0 -6
- package/dist/_dts/sdk/src/client/management/pages.d.ts +0 -6
- package/dist/_dts/sdk/src/client/management/pull.d.ts +0 -6
- package/dist/_dts/sdk/src/client/management/settings-branding.d.ts +0 -32
- package/dist/_dts/sdk/src/client/management/settings.d.ts +0 -6
- package/dist/_dts/sdk/src/client/management/theme.d.ts +0 -8
- package/dist/_dts/sdk/src/client/management/types.d.ts +0 -1069
- package/dist/_dts/sdk/src/client/management/venues.d.ts +0 -6
- package/dist/_dts/sdk/src/client/management/webhooks.d.ts +0 -3
- package/dist/_dts/sdk/src/test/env.d.ts +0 -4
- package/dist/_dts/site-commands/src/adapter.d.ts +0 -23
- package/dist/_dts/site-commands/src/appointmentCommandSchemas.d.ts +0 -100
- package/dist/_dts/site-commands/src/capabilityGaps.d.ts +0 -8
- package/dist/_dts/site-commands/src/commandContract.d.ts +0 -1277
- package/dist/_dts/site-commands/src/commandDomain.d.ts +0 -20
- package/dist/_dts/site-commands/src/commandIdentifiers.d.ts +0 -7
- package/dist/_dts/site-commands/src/commandValidation.d.ts +0 -10
- package/dist/_dts/site-commands/src/commands.d.ts +0 -1983
- package/dist/_dts/site-commands/src/domain.d.ts +0 -104
- package/dist/_dts/site-commands/src/eventCommandContent.d.ts +0 -11
- package/dist/_dts/site-commands/src/exposure.d.ts +0 -41
- package/dist/_dts/site-commands/src/guards.d.ts +0 -1
- package/dist/_dts/site-commands/src/index.d.ts +0 -18
- package/dist/_dts/site-commands/src/metadata.d.ts +0 -555
- package/dist/_dts/site-commands/src/pagePaths.d.ts +0 -6
- package/dist/_dts/site-commands/src/planner.d.ts +0 -58
- package/dist/_dts/site-commands/src/refContributions.d.ts +0 -11
- package/dist/_dts/site-commands/src/refs.d.ts +0 -90
- package/dist/_dts/site-commands/src/siteStyleCommandSchema.d.ts +0 -405
- package/dist/_dts/site-commands/src/siteStyleSelectionSchemaBuilder.d.ts +0 -46
- package/dist/_dts/site-commands/src/stableJson.d.ts +0 -5
- package/dist/_dts/site-commands/src/staticExecutionGaps.d.ts +0 -10
- package/dist/_dts/site-commands/src/venueCommandMapping.d.ts +0 -21
- package/dist/_dts/theme-core/src/data.d.ts +0 -12
- package/dist/_dts/theme-core/src/site-styles/headerStyleParts.d.ts +0 -4
- package/dist/cli/index.mjs +0 -162962
- package/dist/cli/init-docs/content/agents-section.md +0 -67
- package/dist/cli/init-docs/content/cli-reference.md +0 -1238
- package/dist/cli/init-docs/content/content-management.md +0 -792
- package/dist/cli/init-docs/content/context-brand.md +0 -125
- package/dist/cli/init-docs/content/context-brief.md +0 -77
- package/dist/cli/init-docs/content/context-knowledge.md +0 -111
- package/dist/cli/init-docs/content/getting-started.md +0 -171
- package/dist/cli/init-docs/content/site-workflows-readme.md +0 -96
- package/dist/cli/init-docs/content/workflow-add-block.md +0 -299
- package/dist/cli/init-docs/content/workflow-agent-safe-sync.md +0 -83
- package/dist/cli/init-docs/content/workflow-block-extensions.md +0 -370
- package/dist/cli/init-docs/content/workflow-cmsify-page.md +0 -357
- package/dist/cli/init-docs/content/workflow-content-types.md +0 -330
- package/dist/cli/init-docs/content/workflow-create-page.md +0 -212
- package/dist/cli/init-docs/content/workflow-custom-block.md +0 -470
- package/dist/cli/init-docs/content/workflow-editor-workflows.md +0 -130
- package/dist/cli/init-docs/content/workflow-isr-revalidation.md +0 -158
- package/dist/cli/init-docs/content/workflow-preview-mode.md +0 -239
- package/dist/cli/init-docs/content/workflow-publish.md +0 -285
- package/dist/cli/init-docs/content/workflow-remote-setup.md +0 -51
- package/dist/cli/init-docs/content/workflow-templates.md +0 -381
- /package/dist/_dts/{sdk/src/cli/utils/mime.d.ts → media-core/src/mimeType.d.ts} +0 -0
|
@@ -1,1983 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
import { type RichTextDoc } from '../../core/src/index';
|
|
3
|
-
import { type BlockRef, type BlocksRef, type CommandRef, type ContentEntryRef, type PassProductRef, type MembershipProductRef, type BookingCustomerRef, type CustomerPassRef, type CustomerMembershipRef, type AppointmentBookingRef, type CourseEnrollmentRef, type EventRegistrationRef, type PassRedemptionRef, type OrderRef, type EventSeriesRef, type FormRef, type FooterRef, type MediaRef, type NavigationRef, type PageRef, type StaffRef, type TicketTypeRef, type VenueRef, type EventCategoryRef, type AppointmentServiceRef, type AppointmentResourceRef } from './refs';
|
|
4
|
-
export { blockIdentifierForCommand, blockOrderIdentifiersForCommand, entryIdentifierForCommand, pageIdentifierForBlockCommand, pageIdentifierForCommand, pagePathForCommand, } from './commandIdentifiers';
|
|
5
|
-
/** Configures site-level metadata that must be available before content commands run. */
|
|
6
|
-
export declare const configureSiteIdentityCommandSchema: z.ZodObject<{
|
|
7
|
-
type: z.ZodLiteral<"configureSiteIdentity">;
|
|
8
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<CommandRef, string>>;
|
|
9
|
-
input: z.ZodObject<{
|
|
10
|
-
title: z.ZodString;
|
|
11
|
-
tagline: z.ZodOptional<z.ZodString>;
|
|
12
|
-
timezone: z.ZodOptional<z.ZodString>;
|
|
13
|
-
seoIndexing: z.ZodOptional<z.ZodEnum<{
|
|
14
|
-
index: "index";
|
|
15
|
-
noindex: "noindex";
|
|
16
|
-
noindex_demo: "noindex_demo";
|
|
17
|
-
}>>;
|
|
18
|
-
}, z.core.$strict>;
|
|
19
|
-
}, z.core.$strict>;
|
|
20
|
-
export declare const upsertMediaAssetCommandSchema: z.ZodObject<{
|
|
21
|
-
type: z.ZodLiteral<"upsertMediaAsset">;
|
|
22
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<MediaRef, string>>;
|
|
23
|
-
input: z.ZodObject<{
|
|
24
|
-
identifier: z.ZodString;
|
|
25
|
-
checksum: z.ZodString;
|
|
26
|
-
filename: z.ZodString;
|
|
27
|
-
mimeType: z.ZodString;
|
|
28
|
-
alt: z.ZodString;
|
|
29
|
-
}, z.core.$strict>;
|
|
30
|
-
}, z.core.$strict>;
|
|
31
|
-
export declare const upsertPageCommandSchema: z.ZodObject<{
|
|
32
|
-
type: z.ZodLiteral<"upsertPage">;
|
|
33
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<PageRef, string>>;
|
|
34
|
-
input: z.ZodObject<{
|
|
35
|
-
identifier: z.ZodOptional<z.ZodString>;
|
|
36
|
-
slug: z.ZodString;
|
|
37
|
-
title: z.ZodString;
|
|
38
|
-
path: z.ZodOptional<z.ZodString>;
|
|
39
|
-
seoTitle: z.ZodOptional<z.ZodString>;
|
|
40
|
-
seoDescription: z.ZodOptional<z.ZodString>;
|
|
41
|
-
status: z.ZodOptional<z.ZodEnum<{
|
|
42
|
-
draft: "draft";
|
|
43
|
-
published: "published";
|
|
44
|
-
}>>;
|
|
45
|
-
}, z.core.$strict>;
|
|
46
|
-
}, z.core.$strict>;
|
|
47
|
-
export declare const upsertBlockTreeCommandSchema: z.ZodObject<{
|
|
48
|
-
type: z.ZodLiteral<"upsertBlockTree">;
|
|
49
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<BlocksRef, string>>;
|
|
50
|
-
input: z.ZodObject<{
|
|
51
|
-
pageRef: z.ZodPipe<z.ZodString, z.ZodTransform<PageRef, string>>;
|
|
52
|
-
replaceExisting: z.ZodOptional<z.ZodBoolean>;
|
|
53
|
-
blocks: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
54
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<BlockRef, string>>;
|
|
55
|
-
type: z.ZodString;
|
|
56
|
-
purpose: z.ZodOptional<z.ZodString>;
|
|
57
|
-
identifier: z.ZodOptional<z.ZodString>;
|
|
58
|
-
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
59
|
-
children: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodUnknown>>>;
|
|
60
|
-
}, z.core.$strict>>>;
|
|
61
|
-
}, z.core.$strict>;
|
|
62
|
-
}, z.core.$strict>;
|
|
63
|
-
export declare const upsertPageBlockCommandSchema: z.ZodObject<{
|
|
64
|
-
type: z.ZodLiteral<"upsertPageBlock">;
|
|
65
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<BlockRef, string>>;
|
|
66
|
-
input: z.ZodObject<{
|
|
67
|
-
pageIdentifier: z.ZodString;
|
|
68
|
-
pageRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<PageRef, string>>>;
|
|
69
|
-
identifier: z.ZodOptional<z.ZodString>;
|
|
70
|
-
type: z.ZodString;
|
|
71
|
-
purpose: z.ZodOptional<z.ZodString>;
|
|
72
|
-
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
73
|
-
children: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodUnknown>>>;
|
|
74
|
-
}, z.core.$strict>;
|
|
75
|
-
}, z.core.$strict>;
|
|
76
|
-
export declare const patchPageBlockContentCommandSchema: z.ZodObject<{
|
|
77
|
-
type: z.ZodLiteral<"patchPageBlockContent">;
|
|
78
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<CommandRef, string>>;
|
|
79
|
-
input: z.ZodObject<{
|
|
80
|
-
pageIdentifier: z.ZodString;
|
|
81
|
-
pageRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<PageRef, string>>>;
|
|
82
|
-
identifier: z.ZodString;
|
|
83
|
-
field: z.ZodString;
|
|
84
|
-
value: z.ZodUnknown;
|
|
85
|
-
}, z.core.$strict>;
|
|
86
|
-
}, z.core.$strict>;
|
|
87
|
-
export declare const deletePageBlockCommandSchema: z.ZodObject<{
|
|
88
|
-
type: z.ZodLiteral<"deletePageBlock">;
|
|
89
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<CommandRef, string>>;
|
|
90
|
-
input: z.ZodObject<{
|
|
91
|
-
pageIdentifier: z.ZodString;
|
|
92
|
-
pageRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<PageRef, string>>>;
|
|
93
|
-
blockRef: z.ZodPipe<z.ZodString, z.ZodTransform<BlockRef, string>>;
|
|
94
|
-
identifier: z.ZodOptional<z.ZodString>;
|
|
95
|
-
}, z.core.$strict>;
|
|
96
|
-
}, z.core.$strict>;
|
|
97
|
-
export declare const reorderPageBlocksCommandSchema: z.ZodObject<{
|
|
98
|
-
type: z.ZodLiteral<"reorderPageBlocks">;
|
|
99
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<BlocksRef, string>>;
|
|
100
|
-
input: z.ZodObject<{
|
|
101
|
-
pageIdentifier: z.ZodString;
|
|
102
|
-
pageRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<PageRef, string>>>;
|
|
103
|
-
blocks: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
104
|
-
blockRef: z.ZodPipe<z.ZodString, z.ZodTransform<BlockRef, string>>;
|
|
105
|
-
identifier: z.ZodOptional<z.ZodString>;
|
|
106
|
-
}, z.core.$strict>>>;
|
|
107
|
-
}, z.core.$strict>;
|
|
108
|
-
}, z.core.$strict>;
|
|
109
|
-
type NavigationItem = Readonly<{
|
|
110
|
-
label: string;
|
|
111
|
-
isCta?: boolean;
|
|
112
|
-
pageRef?: PageRef;
|
|
113
|
-
contentEntryRef?: ContentEntryRef;
|
|
114
|
-
link?: NavigationLinkCommandInput;
|
|
115
|
-
url?: string;
|
|
116
|
-
children?: readonly NavigationItem[];
|
|
117
|
-
}>;
|
|
118
|
-
declare const navigationLinkCommandInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
119
|
-
kind: z.ZodLiteral<"page">;
|
|
120
|
-
identifier: z.ZodString;
|
|
121
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
122
|
-
kind: z.ZodLiteral<"entry">;
|
|
123
|
-
contentType: z.ZodString;
|
|
124
|
-
identifier: z.ZodString;
|
|
125
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
126
|
-
kind: z.ZodLiteral<"external">;
|
|
127
|
-
href: z.ZodString;
|
|
128
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
129
|
-
kind: z.ZodLiteral<"url">;
|
|
130
|
-
href: z.ZodString;
|
|
131
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
132
|
-
kind: z.ZodLiteral<"portal">;
|
|
133
|
-
path: z.ZodOptional<z.ZodString>;
|
|
134
|
-
labels: z.ZodOptional<z.ZodObject<{
|
|
135
|
-
loggedOut: z.ZodOptional<z.ZodString>;
|
|
136
|
-
loggedIn: z.ZodOptional<z.ZodString>;
|
|
137
|
-
}, z.core.$strict>>;
|
|
138
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
139
|
-
kind: z.ZodLiteral<"cart">;
|
|
140
|
-
badge: z.ZodEnum<{
|
|
141
|
-
"show-count": "show-count";
|
|
142
|
-
hidden: "hidden";
|
|
143
|
-
}>;
|
|
144
|
-
label: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
145
|
-
kind: z.ZodLiteral<"icon-only">;
|
|
146
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
147
|
-
kind: z.ZodLiteral<"icon-with-label">;
|
|
148
|
-
label: z.ZodString;
|
|
149
|
-
}, z.core.$strict>], "kind">;
|
|
150
|
-
}, z.core.$strict>], "kind">;
|
|
151
|
-
type NavigationLinkCommandInput = z.infer<typeof navigationLinkCommandInputSchema>;
|
|
152
|
-
export declare const upsertNavigationMenuCommandSchema: z.ZodObject<{
|
|
153
|
-
type: z.ZodLiteral<"upsertNavigationMenu">;
|
|
154
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<NavigationRef, string>>;
|
|
155
|
-
input: z.ZodObject<{
|
|
156
|
-
identifier: z.ZodOptional<z.ZodString>;
|
|
157
|
-
name: z.ZodOptional<z.ZodString>;
|
|
158
|
-
location: z.ZodOptional<z.ZodEnum<{
|
|
159
|
-
main: "main";
|
|
160
|
-
footer: "footer";
|
|
161
|
-
header: "header";
|
|
162
|
-
}>>;
|
|
163
|
-
role: z.ZodOptional<z.ZodEnum<{
|
|
164
|
-
"legal-policy": "legal-policy";
|
|
165
|
-
footer: "footer";
|
|
166
|
-
primary: "primary";
|
|
167
|
-
}>>;
|
|
168
|
-
items: z.ZodReadonly<z.ZodArray<z.ZodType<Readonly<{
|
|
169
|
-
label: string;
|
|
170
|
-
isCta?: boolean;
|
|
171
|
-
pageRef?: PageRef;
|
|
172
|
-
contentEntryRef?: ContentEntryRef;
|
|
173
|
-
link?: NavigationLinkCommandInput;
|
|
174
|
-
url?: string;
|
|
175
|
-
children?: readonly NavigationItem[];
|
|
176
|
-
}>, unknown, z.core.$ZodTypeInternals<Readonly<{
|
|
177
|
-
label: string;
|
|
178
|
-
isCta?: boolean;
|
|
179
|
-
pageRef?: PageRef;
|
|
180
|
-
contentEntryRef?: ContentEntryRef;
|
|
181
|
-
link?: NavigationLinkCommandInput;
|
|
182
|
-
url?: string;
|
|
183
|
-
children?: readonly NavigationItem[];
|
|
184
|
-
}>, unknown>>>>;
|
|
185
|
-
}, z.core.$strict>;
|
|
186
|
-
}, z.core.$strict>;
|
|
187
|
-
export declare const upsertFormCommandSchema: z.ZodObject<{
|
|
188
|
-
type: z.ZodLiteral<"upsertForm">;
|
|
189
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<FormRef, string>>;
|
|
190
|
-
input: z.ZodObject<{
|
|
191
|
-
slug: z.ZodString;
|
|
192
|
-
name: z.ZodString;
|
|
193
|
-
schema: z.ZodObject<{
|
|
194
|
-
version: z.ZodOptional<z.ZodString>;
|
|
195
|
-
fields: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
196
|
-
id: z.ZodString;
|
|
197
|
-
label: z.ZodString;
|
|
198
|
-
type: z.ZodString;
|
|
199
|
-
required: z.ZodOptional<z.ZodBoolean>;
|
|
200
|
-
placeholder: z.ZodOptional<z.ZodString>;
|
|
201
|
-
helpText: z.ZodOptional<z.ZodString>;
|
|
202
|
-
layout: z.ZodOptional<z.ZodObject<{
|
|
203
|
-
width: z.ZodOptional<z.ZodEnum<{
|
|
204
|
-
full: "full";
|
|
205
|
-
half: "half";
|
|
206
|
-
}>>;
|
|
207
|
-
}, z.core.$strict>>;
|
|
208
|
-
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
209
|
-
value: z.ZodString;
|
|
210
|
-
label: z.ZodString;
|
|
211
|
-
}, z.core.$strict>>>;
|
|
212
|
-
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
213
|
-
minLength: z.ZodOptional<z.ZodNumber>;
|
|
214
|
-
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
215
|
-
pattern: z.ZodOptional<z.ZodString>;
|
|
216
|
-
min: z.ZodOptional<z.ZodNumber>;
|
|
217
|
-
max: z.ZodOptional<z.ZodNumber>;
|
|
218
|
-
}, z.core.$strict>>>;
|
|
219
|
-
}, z.core.$strict>;
|
|
220
|
-
settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
221
|
-
}, z.core.$strict>;
|
|
222
|
-
}, z.core.$strict>;
|
|
223
|
-
export declare const upsertFooterContentCommandSchema: z.ZodObject<{
|
|
224
|
-
type: z.ZodLiteral<"upsertFooterContent">;
|
|
225
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<FooterRef, string>>;
|
|
226
|
-
input: z.ZodObject<{
|
|
227
|
-
composition: z.ZodCustom<Readonly<{
|
|
228
|
-
schemaVersion: 1;
|
|
229
|
-
sections: readonly import("../../core/src/index").FooterSection[];
|
|
230
|
-
}>, Readonly<{
|
|
231
|
-
schemaVersion: 1;
|
|
232
|
-
sections: readonly import("../../core/src/index").FooterSection[];
|
|
233
|
-
}>>;
|
|
234
|
-
baseRevision: z.ZodNumber;
|
|
235
|
-
}, z.core.$strict>;
|
|
236
|
-
}, z.core.$strict>;
|
|
237
|
-
export declare const upsertContentEntryCommandSchema: z.ZodObject<{
|
|
238
|
-
type: z.ZodLiteral<"upsertContentEntry">;
|
|
239
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<ContentEntryRef, string>>;
|
|
240
|
-
input: z.ZodObject<{
|
|
241
|
-
identifier: z.ZodOptional<z.ZodString>;
|
|
242
|
-
contentTypeKey: z.ZodString;
|
|
243
|
-
slug: z.ZodOptional<z.ZodString>;
|
|
244
|
-
title: z.ZodOptional<z.ZodString>;
|
|
245
|
-
manualOrder: z.ZodOptional<z.ZodNumber>;
|
|
246
|
-
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
247
|
-
blocks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
248
|
-
identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
249
|
-
kind: z.ZodString;
|
|
250
|
-
content: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
251
|
-
}, z.core.$strict>>>>;
|
|
252
|
-
linkedSubjectRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContentEntryRef, string>>>;
|
|
253
|
-
mediaRefs: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<MediaRef, string>>>>>;
|
|
254
|
-
}, z.core.$strict>;
|
|
255
|
-
}, z.core.$strict>;
|
|
256
|
-
export declare const publishPageCommandSchema: z.ZodObject<{
|
|
257
|
-
type: z.ZodLiteral<"publishPage">;
|
|
258
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<CommandRef, string>>;
|
|
259
|
-
input: z.ZodUnion<readonly [z.ZodObject<{
|
|
260
|
-
identifier: z.ZodString;
|
|
261
|
-
pageRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<PageRef, string>>>;
|
|
262
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
263
|
-
pageRef: z.ZodPipe<z.ZodString, z.ZodTransform<PageRef, string>>;
|
|
264
|
-
identifier: z.ZodOptional<z.ZodString>;
|
|
265
|
-
}, z.core.$strict>]>;
|
|
266
|
-
}, z.core.$strict>;
|
|
267
|
-
export declare const unpublishPageCommandSchema: z.ZodObject<{
|
|
268
|
-
type: z.ZodLiteral<"unpublishPage">;
|
|
269
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<CommandRef, string>>;
|
|
270
|
-
input: z.ZodUnion<readonly [z.ZodObject<{
|
|
271
|
-
identifier: z.ZodString;
|
|
272
|
-
pageRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<PageRef, string>>>;
|
|
273
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
274
|
-
pageRef: z.ZodPipe<z.ZodString, z.ZodTransform<PageRef, string>>;
|
|
275
|
-
identifier: z.ZodOptional<z.ZodString>;
|
|
276
|
-
}, z.core.$strict>]>;
|
|
277
|
-
}, z.core.$strict>;
|
|
278
|
-
export declare const publishContentEntryCommandSchema: z.ZodObject<{
|
|
279
|
-
type: z.ZodLiteral<"publishContentEntry">;
|
|
280
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<CommandRef, string>>;
|
|
281
|
-
input: z.ZodObject<{
|
|
282
|
-
contentEntryRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContentEntryRef, string>>>;
|
|
283
|
-
contentTypeKey: z.ZodString;
|
|
284
|
-
identifier: z.ZodString;
|
|
285
|
-
}, z.core.$strict>;
|
|
286
|
-
}, z.core.$strict>;
|
|
287
|
-
export declare const unpublishContentEntryCommandSchema: z.ZodObject<{
|
|
288
|
-
type: z.ZodLiteral<"unpublishContentEntry">;
|
|
289
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<CommandRef, string>>;
|
|
290
|
-
input: z.ZodObject<{
|
|
291
|
-
contentEntryRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContentEntryRef, string>>>;
|
|
292
|
-
contentTypeKey: z.ZodString;
|
|
293
|
-
identifier: z.ZodString;
|
|
294
|
-
}, z.core.$strict>;
|
|
295
|
-
}, z.core.$strict>;
|
|
296
|
-
export declare const deleteContentEntryCommandSchema: z.ZodObject<{
|
|
297
|
-
type: z.ZodLiteral<"deleteContentEntry">;
|
|
298
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<CommandRef, string>>;
|
|
299
|
-
input: z.ZodObject<{
|
|
300
|
-
contentEntryRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContentEntryRef, string>>>;
|
|
301
|
-
contentTypeKey: z.ZodString;
|
|
302
|
-
identifier: z.ZodString;
|
|
303
|
-
}, z.core.$strict>;
|
|
304
|
-
}, z.core.$strict>;
|
|
305
|
-
export declare const upsertStaffMemberCommandSchema: z.ZodObject<{
|
|
306
|
-
type: z.ZodLiteral<"upsertStaffMember">;
|
|
307
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<StaffRef, string>>;
|
|
308
|
-
input: z.ZodObject<{
|
|
309
|
-
identity: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
310
|
-
kind: z.ZodLiteral<"site_user">;
|
|
311
|
-
userId: z.ZodString;
|
|
312
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
313
|
-
kind: z.ZodLiteral<"create_only">;
|
|
314
|
-
}, z.core.$strict>], "kind">;
|
|
315
|
-
displayName: z.ZodString;
|
|
316
|
-
roleLabel: z.ZodOptional<z.ZodString>;
|
|
317
|
-
shortBio: z.ZodOptional<z.ZodString>;
|
|
318
|
-
timezone: z.ZodOptional<z.ZodString>;
|
|
319
|
-
specialties: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
320
|
-
publicVisibility: z.ZodOptional<z.ZodEnum<{
|
|
321
|
-
hidden: "hidden";
|
|
322
|
-
visible: "visible";
|
|
323
|
-
}>>;
|
|
324
|
-
}, z.core.$strict>;
|
|
325
|
-
}, z.core.$strict>;
|
|
326
|
-
export declare const upsertVenueCommandSchema: z.ZodObject<{
|
|
327
|
-
type: z.ZodLiteral<"upsertVenue">;
|
|
328
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<VenueRef, string>>;
|
|
329
|
-
input: z.ZodObject<{
|
|
330
|
-
slug: z.ZodString;
|
|
331
|
-
title: z.ZodString;
|
|
332
|
-
description: z.ZodOptional<z.ZodString>;
|
|
333
|
-
timezone: z.ZodString;
|
|
334
|
-
capacity: z.ZodOptional<z.ZodNumber>;
|
|
335
|
-
address: z.ZodOptional<z.ZodObject<{
|
|
336
|
-
line1: z.ZodOptional<z.ZodString>;
|
|
337
|
-
line2: z.ZodOptional<z.ZodString>;
|
|
338
|
-
city: z.ZodOptional<z.ZodString>;
|
|
339
|
-
region: z.ZodOptional<z.ZodString>;
|
|
340
|
-
postalCode: z.ZodOptional<z.ZodString>;
|
|
341
|
-
country: z.ZodOptional<z.ZodString>;
|
|
342
|
-
}, z.core.$strict>>;
|
|
343
|
-
location: z.ZodOptional<z.ZodObject<{
|
|
344
|
-
latitude: z.ZodNumber;
|
|
345
|
-
longitude: z.ZodNumber;
|
|
346
|
-
}, z.core.$strict>>;
|
|
347
|
-
mapEmbedUrl: z.ZodOptional<z.ZodString>;
|
|
348
|
-
}, z.core.$strict>;
|
|
349
|
-
}, z.core.$strict>;
|
|
350
|
-
export declare const deleteVenueCommandSchema: z.ZodObject<{
|
|
351
|
-
type: z.ZodLiteral<"deleteVenue">;
|
|
352
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<CommandRef, string>>;
|
|
353
|
-
input: z.ZodObject<{
|
|
354
|
-
slug: z.ZodString;
|
|
355
|
-
venueRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<VenueRef, string>>>;
|
|
356
|
-
}, z.core.$strict>;
|
|
357
|
-
}, z.core.$strict>;
|
|
358
|
-
export declare const upsertEventCategoryCommandSchema: z.ZodObject<{
|
|
359
|
-
type: z.ZodLiteral<"upsertEventCategory">;
|
|
360
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<EventCategoryRef, string>>;
|
|
361
|
-
input: z.ZodObject<{
|
|
362
|
-
identifier: z.ZodOptional<z.ZodString>;
|
|
363
|
-
name: z.ZodString;
|
|
364
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
365
|
-
color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
366
|
-
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
367
|
-
}, z.core.$strict>;
|
|
368
|
-
}, z.core.$strict>;
|
|
369
|
-
export declare const deleteEventCategoryCommandSchema: z.ZodObject<{
|
|
370
|
-
type: z.ZodLiteral<"deleteEventCategory">;
|
|
371
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<CommandRef, string>>;
|
|
372
|
-
input: z.ZodObject<{
|
|
373
|
-
identifier: z.ZodString;
|
|
374
|
-
eventCategoryRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<EventCategoryRef, string>>>;
|
|
375
|
-
}, z.core.$strict>;
|
|
376
|
-
}, z.core.$strict>;
|
|
377
|
-
export declare const upsertEventSeriesCommandSchema: z.ZodObject<{
|
|
378
|
-
type: z.ZodLiteral<"upsertEventSeries">;
|
|
379
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<EventSeriesRef, string>>;
|
|
380
|
-
input: z.ZodObject<{
|
|
381
|
-
slug: z.ZodString;
|
|
382
|
-
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
383
|
-
title: z.ZodString;
|
|
384
|
-
preset: z.ZodEnum<{
|
|
385
|
-
course: "course";
|
|
386
|
-
event: "event";
|
|
387
|
-
performance: "performance";
|
|
388
|
-
class: "class";
|
|
389
|
-
workshop: "workshop";
|
|
390
|
-
retreat: "retreat";
|
|
391
|
-
}>;
|
|
392
|
-
bookingScope: z.ZodEnum<{
|
|
393
|
-
single_occurrence: "single_occurrence";
|
|
394
|
-
whole_series: "whole_series";
|
|
395
|
-
}>;
|
|
396
|
-
status: z.ZodOptional<z.ZodEnum<{
|
|
397
|
-
active: "active";
|
|
398
|
-
draft: "draft";
|
|
399
|
-
archived: "archived";
|
|
400
|
-
cancelled: "cancelled";
|
|
401
|
-
}>>;
|
|
402
|
-
visibility: z.ZodEnum<{
|
|
403
|
-
draft: "draft";
|
|
404
|
-
published: "published";
|
|
405
|
-
unlisted: "unlisted";
|
|
406
|
-
listed: "listed";
|
|
407
|
-
}>;
|
|
408
|
-
timezone: z.ZodString;
|
|
409
|
-
venueRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<VenueRef, string>>>;
|
|
410
|
-
venueIdentifier: z.ZodOptional<z.ZodString>;
|
|
411
|
-
categoryRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<EventCategoryRef, string>>>;
|
|
412
|
-
categoryIdentifier: z.ZodOptional<z.ZodString>;
|
|
413
|
-
formRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<FormRef, string>>>;
|
|
414
|
-
formIdentifier: z.ZodOptional<z.ZodString>;
|
|
415
|
-
capacity: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
416
|
-
kind: z.ZodLiteral<"unlimited">;
|
|
417
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
418
|
-
kind: z.ZodLiteral<"limited">;
|
|
419
|
-
quantity: z.ZodNumber;
|
|
420
|
-
}, z.core.$strict>], "kind">>;
|
|
421
|
-
waitlist: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
422
|
-
kind: z.ZodLiteral<"disabled">;
|
|
423
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
424
|
-
kind: z.ZodLiteral<"enabled_when_full">;
|
|
425
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
426
|
-
kind: z.ZodLiteral<"enabled_always">;
|
|
427
|
-
}, z.core.$strict>], "kind">>;
|
|
428
|
-
pricing: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
429
|
-
kind: z.ZodLiteral<"free">;
|
|
430
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
431
|
-
kind: z.ZodLiteral<"fixed_price">;
|
|
432
|
-
price: z.ZodObject<{
|
|
433
|
-
amountCents: z.ZodNumber;
|
|
434
|
-
currency: z.ZodOptional<z.ZodString>;
|
|
435
|
-
}, z.core.$strict>;
|
|
436
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
437
|
-
kind: z.ZodLiteral<"ticket_types">;
|
|
438
|
-
currency: z.ZodOptional<z.ZodString>;
|
|
439
|
-
ticketTypes: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
440
|
-
identifier: z.ZodString;
|
|
441
|
-
cmsTicketTypeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
442
|
-
name: z.ZodString;
|
|
443
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
444
|
-
priceAmount: z.ZodNumber;
|
|
445
|
-
priceCurrency: z.ZodOptional<z.ZodString>;
|
|
446
|
-
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
447
|
-
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
448
|
-
capacityLimit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
449
|
-
attendanceScope: z.ZodOptional<z.ZodEnum<{
|
|
450
|
-
in_person: "in_person";
|
|
451
|
-
both: "both";
|
|
452
|
-
online: "online";
|
|
453
|
-
}>>;
|
|
454
|
-
saleStartsAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
455
|
-
saleEndsAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
456
|
-
}, z.core.$strict>>>>;
|
|
457
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
458
|
-
kind: z.ZodLiteral<"manual_payment">;
|
|
459
|
-
instructions: z.ZodOptional<z.ZodString>;
|
|
460
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
461
|
-
kind: z.ZodLiteral<"external">;
|
|
462
|
-
url: z.ZodString;
|
|
463
|
-
}, z.core.$strict>], "kind">;
|
|
464
|
-
priceDisplay: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
465
|
-
acceptsPasses: z.ZodOptional<z.ZodBoolean>;
|
|
466
|
-
acceptsMemberships: z.ZodOptional<z.ZodBoolean>;
|
|
467
|
-
deliveryMode: z.ZodOptional<z.ZodEnum<{
|
|
468
|
-
in_person: "in_person";
|
|
469
|
-
hybrid: "hybrid";
|
|
470
|
-
online: "online";
|
|
471
|
-
}>>;
|
|
472
|
-
occurrences: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
473
|
-
title: z.ZodOptional<z.ZodString>;
|
|
474
|
-
capacity: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
475
|
-
kind: z.ZodLiteral<"unlimited">;
|
|
476
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
477
|
-
kind: z.ZodLiteral<"limited">;
|
|
478
|
-
quantity: z.ZodNumber;
|
|
479
|
-
}, z.core.$strict>], "kind">>;
|
|
480
|
-
startAt: z.ZodString;
|
|
481
|
-
endAt: z.ZodString;
|
|
482
|
-
venueRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<VenueRef, string>>>;
|
|
483
|
-
}, z.core.$strict>>>;
|
|
484
|
-
content: z.ZodOptional<z.ZodObject<{
|
|
485
|
-
summary: z.ZodOptional<z.ZodString>;
|
|
486
|
-
body: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<RichTextDoc, RichTextDoc>]>>;
|
|
487
|
-
image: z.ZodOptional<z.ZodObject<{
|
|
488
|
-
identifier: z.ZodString;
|
|
489
|
-
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
490
|
-
imageRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<MediaRef, string>>>;
|
|
491
|
-
mediaRefs: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<MediaRef, string>>>>>;
|
|
492
|
-
}, z.core.$strict>>;
|
|
493
|
-
settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
494
|
-
paymentTerms: z.ZodOptional<z.ZodUnknown>;
|
|
495
|
-
presentation: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
496
|
-
tags: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
497
|
-
blocks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
498
|
-
identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
499
|
-
kind: z.ZodString;
|
|
500
|
-
content: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
501
|
-
}, z.core.$strict>>>>;
|
|
502
|
-
staffRefs: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<StaffRef, string>>>>>;
|
|
503
|
-
}, z.core.$strict>;
|
|
504
|
-
}, z.core.$strict>;
|
|
505
|
-
export declare const deleteEventSeriesCommandSchema: z.ZodObject<{
|
|
506
|
-
type: z.ZodLiteral<"deleteEventSeries">;
|
|
507
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<CommandRef, string>>;
|
|
508
|
-
input: z.ZodObject<{
|
|
509
|
-
identifier: z.ZodString;
|
|
510
|
-
eventRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<EventSeriesRef, string>>>;
|
|
511
|
-
}, z.core.$strict>;
|
|
512
|
-
}, z.core.$strict>;
|
|
513
|
-
export declare const upsertEventTicketTypeCommandSchema: z.ZodObject<{
|
|
514
|
-
type: z.ZodLiteral<"upsertEventTicketType">;
|
|
515
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<TicketTypeRef, string>>;
|
|
516
|
-
input: z.ZodObject<{
|
|
517
|
-
eventRef: z.ZodPipe<z.ZodString, z.ZodTransform<EventSeriesRef, string>>;
|
|
518
|
-
ticketSlug: z.ZodString;
|
|
519
|
-
label: z.ZodString;
|
|
520
|
-
price: z.ZodObject<{
|
|
521
|
-
amountCents: z.ZodNumber;
|
|
522
|
-
currency: z.ZodOptional<z.ZodString>;
|
|
523
|
-
}, z.core.$strict>;
|
|
524
|
-
quantity: z.ZodOptional<z.ZodNumber>;
|
|
525
|
-
visibility: z.ZodOptional<z.ZodEnum<{
|
|
526
|
-
hidden: "hidden";
|
|
527
|
-
visible: "visible";
|
|
528
|
-
}>>;
|
|
529
|
-
attendanceScope: z.ZodOptional<z.ZodEnum<{
|
|
530
|
-
single_occurrence: "single_occurrence";
|
|
531
|
-
all_occurrences: "all_occurrences";
|
|
532
|
-
}>>;
|
|
533
|
-
salesWindow: z.ZodOptional<z.ZodObject<{
|
|
534
|
-
salesStartAt: z.ZodOptional<z.ZodString>;
|
|
535
|
-
salesEndAt: z.ZodOptional<z.ZodString>;
|
|
536
|
-
}, z.core.$strict>>;
|
|
537
|
-
}, z.core.$strict>;
|
|
538
|
-
}, z.core.$strict>;
|
|
539
|
-
export declare const ensureTeamMemberProfileCommandSchema: z.ZodObject<{
|
|
540
|
-
type: z.ZodLiteral<"ensureTeamMemberProfile">;
|
|
541
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<ContentEntryRef, string>>;
|
|
542
|
-
input: z.ZodObject<{
|
|
543
|
-
staffMemberRef: z.ZodPipe<z.ZodString, z.ZodTransform<StaffRef, string>>;
|
|
544
|
-
contentTypeKey: z.ZodDefault<z.ZodLiteral<"team-member">>;
|
|
545
|
-
title: z.ZodString;
|
|
546
|
-
slug: z.ZodString;
|
|
547
|
-
draftContent: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
548
|
-
seedDraftContent: z.ZodDefault<z.ZodEnum<{
|
|
549
|
-
never: "never";
|
|
550
|
-
when_created: "when_created";
|
|
551
|
-
}>>;
|
|
552
|
-
publish: z.ZodOptional<z.ZodBoolean>;
|
|
553
|
-
}, z.core.$strict>;
|
|
554
|
-
}, z.core.$strict>;
|
|
555
|
-
/** Configures site-wide booking modules and default appointment policies. */
|
|
556
|
-
export declare const configureBookingSettingsCommandSchema: z.ZodObject<{
|
|
557
|
-
type: z.ZodLiteral<"configureBookingSettings">;
|
|
558
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<CommandRef, string>>;
|
|
559
|
-
input: z.ZodObject<{
|
|
560
|
-
modules: z.ZodOptional<z.ZodObject<{
|
|
561
|
-
appointments: z.ZodOptional<z.ZodBoolean>;
|
|
562
|
-
events: z.ZodOptional<z.ZodBoolean>;
|
|
563
|
-
}, z.core.$strict>>;
|
|
564
|
-
defaultTimezone: z.ZodOptional<z.ZodString>;
|
|
565
|
-
currency: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
566
|
-
appointmentDefaultMinLeadMinutes: z.ZodOptional<z.ZodNumber>;
|
|
567
|
-
appointmentDefaultMaxBookingNoticeMinutes: z.ZodOptional<z.ZodNumber>;
|
|
568
|
-
appointmentBookingPolicies: z.ZodOptional<z.ZodObject<{
|
|
569
|
-
refunds: z.ZodOptional<z.ZodObject<{
|
|
570
|
-
mode: z.ZodEnum<{
|
|
571
|
-
never: "never";
|
|
572
|
-
always: "always";
|
|
573
|
-
cutoff: "cutoff";
|
|
574
|
-
}>;
|
|
575
|
-
cutoffHours: z.ZodOptional<z.ZodNumber>;
|
|
576
|
-
}, z.core.$strict>>;
|
|
577
|
-
}, z.core.$strict>>;
|
|
578
|
-
eventDestinationPolicy: z.ZodOptional<z.ZodObject<{
|
|
579
|
-
defaultMode: z.ZodEnum<{
|
|
580
|
-
"cms-managed": "cms-managed";
|
|
581
|
-
"system-managed": "system-managed";
|
|
582
|
-
}>;
|
|
583
|
-
presetOverrides: z.ZodDefault<z.ZodRecord<z.ZodEnum<{
|
|
584
|
-
event: "event";
|
|
585
|
-
performance: "performance";
|
|
586
|
-
class: "class";
|
|
587
|
-
workshop: "workshop";
|
|
588
|
-
retreat: "retreat";
|
|
589
|
-
}> & z.core.$partial, z.ZodEnum<{
|
|
590
|
-
"cms-managed": "cms-managed";
|
|
591
|
-
"system-managed": "system-managed";
|
|
592
|
-
}>>>;
|
|
593
|
-
}, z.core.$strict>>;
|
|
594
|
-
}, z.core.$strict>;
|
|
595
|
-
}, z.core.$strict>;
|
|
596
|
-
/** Describes a command-owned booking pass or appointment package product. */
|
|
597
|
-
export declare const upsertBookingPassProductCommandSchema: z.ZodObject<{
|
|
598
|
-
type: z.ZodLiteral<"upsertBookingPassProduct">;
|
|
599
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<PassProductRef, string>>;
|
|
600
|
-
input: z.ZodObject<{
|
|
601
|
-
passSlug: z.ZodString;
|
|
602
|
-
name: z.ZodString;
|
|
603
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
604
|
-
creditsTotal: z.ZodNumber;
|
|
605
|
-
price: z.ZodObject<{
|
|
606
|
-
amountCents: z.ZodNumber;
|
|
607
|
-
currency: z.ZodString;
|
|
608
|
-
}, z.core.$strict>;
|
|
609
|
-
validDays: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
610
|
-
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
611
|
-
productUseCase: z.ZodDefault<z.ZodEnum<{
|
|
612
|
-
event_pass: "event_pass";
|
|
613
|
-
appointment_package: "appointment_package";
|
|
614
|
-
}>>;
|
|
615
|
-
appointmentScope: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
616
|
-
mode: z.ZodLiteral<"all_services">;
|
|
617
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
618
|
-
mode: z.ZodLiteral<"selected_services">;
|
|
619
|
-
serviceRefs: z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<AppointmentServiceRef, string>>>>;
|
|
620
|
-
}, z.core.$strict>], "mode">>;
|
|
621
|
-
}, z.core.$strict>;
|
|
622
|
-
}, z.core.$strict>;
|
|
623
|
-
/** Describes a command-owned booking membership product. */
|
|
624
|
-
export declare const upsertBookingMembershipProductCommandSchema: z.ZodObject<{
|
|
625
|
-
type: z.ZodLiteral<"upsertBookingMembershipProduct">;
|
|
626
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<MembershipProductRef, string>>;
|
|
627
|
-
input: z.ZodObject<{
|
|
628
|
-
membershipSlug: z.ZodString;
|
|
629
|
-
name: z.ZodString;
|
|
630
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
631
|
-
price: z.ZodObject<{
|
|
632
|
-
amountCents: z.ZodNumber;
|
|
633
|
-
currency: z.ZodString;
|
|
634
|
-
}, z.core.$strict>;
|
|
635
|
-
billingInterval: z.ZodEnum<{
|
|
636
|
-
month: "month";
|
|
637
|
-
year: "year";
|
|
638
|
-
}>;
|
|
639
|
-
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
640
|
-
eventAllowance: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
641
|
-
kind: z.ZodLiteral<"unlimited">;
|
|
642
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
643
|
-
kind: z.ZodLiteral<"credits_per_period">;
|
|
644
|
-
credits: z.ZodNumber;
|
|
645
|
-
}, z.core.$strict>], "kind">>;
|
|
646
|
-
}, z.core.$strict>;
|
|
647
|
-
}, z.core.$strict>;
|
|
648
|
-
/** Seeds a booking customer record that existing portal projections can read. */
|
|
649
|
-
export declare const seedBookingCustomerCommandSchema: z.ZodObject<{
|
|
650
|
-
type: z.ZodLiteral<"seedBookingCustomer">;
|
|
651
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<BookingCustomerRef, string>>;
|
|
652
|
-
input: z.ZodObject<{
|
|
653
|
-
email: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
654
|
-
name: z.ZodString;
|
|
655
|
-
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
656
|
-
}, z.core.$strict>;
|
|
657
|
-
}, z.core.$strict>;
|
|
658
|
-
/** Grants a command-owned customer pass without invoking checkout or Stripe. */
|
|
659
|
-
export declare const grantCustomerPassCommandSchema: z.ZodObject<{
|
|
660
|
-
type: z.ZodLiteral<"grantCustomerPass">;
|
|
661
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<CustomerPassRef, string>>;
|
|
662
|
-
input: z.ZodObject<{
|
|
663
|
-
customerRef: z.ZodPipe<z.ZodString, z.ZodTransform<BookingCustomerRef, string>>;
|
|
664
|
-
passRef: z.ZodPipe<z.ZodString, z.ZodTransform<PassProductRef, string>>;
|
|
665
|
-
creditsRemaining: z.ZodOptional<z.ZodNumber>;
|
|
666
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
667
|
-
status: z.ZodDefault<z.ZodEnum<{
|
|
668
|
-
active: "active";
|
|
669
|
-
expired: "expired";
|
|
670
|
-
refunded: "refunded";
|
|
671
|
-
exhausted: "exhausted";
|
|
672
|
-
}>>;
|
|
673
|
-
note: z.ZodOptional<z.ZodString>;
|
|
674
|
-
}, z.core.$strict>;
|
|
675
|
-
}, z.core.$strict>;
|
|
676
|
-
/** Grants a command-owned customer membership without invoking checkout or Stripe. */
|
|
677
|
-
export declare const grantCustomerMembershipCommandSchema: z.ZodObject<{
|
|
678
|
-
type: z.ZodLiteral<"grantCustomerMembership">;
|
|
679
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<CustomerMembershipRef, string>>;
|
|
680
|
-
input: z.ZodObject<{
|
|
681
|
-
customerRef: z.ZodPipe<z.ZodString, z.ZodTransform<BookingCustomerRef, string>>;
|
|
682
|
-
membershipRef: z.ZodPipe<z.ZodString, z.ZodTransform<MembershipProductRef, string>>;
|
|
683
|
-
status: z.ZodDefault<z.ZodEnum<{
|
|
684
|
-
active: "active";
|
|
685
|
-
canceled: "canceled";
|
|
686
|
-
trialing: "trialing";
|
|
687
|
-
past_due: "past_due";
|
|
688
|
-
paused: "paused";
|
|
689
|
-
}>>;
|
|
690
|
-
currentPeriodStart: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
691
|
-
currentPeriodEnd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
692
|
-
cancelAtPeriodEnd: z.ZodDefault<z.ZodBoolean>;
|
|
693
|
-
note: z.ZodOptional<z.ZodString>;
|
|
694
|
-
}, z.core.$strict>;
|
|
695
|
-
}, z.core.$strict>;
|
|
696
|
-
/** Seeds a portal-visible appointment booking without invoking checkout or Stripe.
|
|
697
|
-
* `formSubmission` is free-form demo payload and is not validated against a form because seeded bookings use no form.
|
|
698
|
-
*/
|
|
699
|
-
export declare const seedAppointmentBookingCommandSchema: z.ZodObject<{
|
|
700
|
-
type: z.ZodLiteral<"seedAppointmentBooking">;
|
|
701
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<AppointmentBookingRef, string>>;
|
|
702
|
-
input: z.ZodObject<{
|
|
703
|
-
customerRef: z.ZodPipe<z.ZodString, z.ZodTransform<BookingCustomerRef, string>>;
|
|
704
|
-
serviceRef: z.ZodPipe<z.ZodString, z.ZodTransform<AppointmentServiceRef, string>>;
|
|
705
|
-
resourceRef: z.ZodPipe<z.ZodString, z.ZodTransform<AppointmentResourceRef, string>>;
|
|
706
|
-
startAt: z.ZodString;
|
|
707
|
-
endAt: z.ZodString;
|
|
708
|
-
timezone: z.ZodString;
|
|
709
|
-
status: z.ZodDefault<z.ZodEnum<{
|
|
710
|
-
cancelled: "cancelled";
|
|
711
|
-
pending: "pending";
|
|
712
|
-
confirmed: "confirmed";
|
|
713
|
-
no_show: "no_show";
|
|
714
|
-
}>>;
|
|
715
|
-
formSubmission: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
716
|
-
note: z.ZodOptional<z.ZodString>;
|
|
717
|
-
}, z.core.$strict>;
|
|
718
|
-
}, z.core.$strict>;
|
|
719
|
-
/** Seeds a portal-visible whole-series enrollment without invoking checkout or Stripe. */
|
|
720
|
-
export declare const seedCourseEnrollmentCommandSchema: z.ZodObject<{
|
|
721
|
-
type: z.ZodLiteral<"seedCourseEnrollment">;
|
|
722
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<CourseEnrollmentRef, string>>;
|
|
723
|
-
input: z.ZodObject<{
|
|
724
|
-
customerRef: z.ZodPipe<z.ZodString, z.ZodTransform<BookingCustomerRef, string>>;
|
|
725
|
-
eventRef: z.ZodPipe<z.ZodString, z.ZodTransform<EventSeriesRef, string>>;
|
|
726
|
-
status: z.ZodDefault<z.ZodEnum<{
|
|
727
|
-
enrolled: "enrolled";
|
|
728
|
-
}>>;
|
|
729
|
-
paymentMethod: z.ZodDefault<z.ZodLiteral<"free">>;
|
|
730
|
-
paymentStatus: z.ZodDefault<z.ZodLiteral<"not_required">>;
|
|
731
|
-
formSubmission: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
732
|
-
note: z.ZodOptional<z.ZodString>;
|
|
733
|
-
}, z.core.$strict>;
|
|
734
|
-
}, z.core.$strict>;
|
|
735
|
-
/** Seeds a portal-visible event registration for one occurrence without invoking checkout or Stripe. */
|
|
736
|
-
export declare const seedEventRegistrationCommandSchema: z.ZodObject<{
|
|
737
|
-
type: z.ZodLiteral<"seedEventRegistration">;
|
|
738
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<EventRegistrationRef, string>>;
|
|
739
|
-
input: z.ZodObject<{
|
|
740
|
-
customerRef: z.ZodPipe<z.ZodString, z.ZodTransform<BookingCustomerRef, string>>;
|
|
741
|
-
eventRef: z.ZodPipe<z.ZodString, z.ZodTransform<EventSeriesRef, string>>;
|
|
742
|
-
occurrenceIndex: z.ZodDefault<z.ZodNumber>;
|
|
743
|
-
status: z.ZodDefault<z.ZodEnum<{
|
|
744
|
-
confirmed: "confirmed";
|
|
745
|
-
}>>;
|
|
746
|
-
attendanceMode: z.ZodDefault<z.ZodEnum<{
|
|
747
|
-
in_person: "in_person";
|
|
748
|
-
online: "online";
|
|
749
|
-
}>>;
|
|
750
|
-
ticketsCount: z.ZodDefault<z.ZodNumber>;
|
|
751
|
-
paymentMethod: z.ZodDefault<z.ZodLiteral<"free">>;
|
|
752
|
-
paymentStatus: z.ZodDefault<z.ZodLiteral<"not_required">>;
|
|
753
|
-
formSubmission: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
754
|
-
note: z.ZodOptional<z.ZodString>;
|
|
755
|
-
}, z.core.$strict>;
|
|
756
|
-
}, z.core.$strict>;
|
|
757
|
-
/** Seeds one portal-visible pass credit redemption without invoking checkout or Stripe. */
|
|
758
|
-
export declare const seedPassRedemptionCommandSchema: z.ZodObject<{
|
|
759
|
-
type: z.ZodLiteral<"seedPassRedemption">;
|
|
760
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<PassRedemptionRef, string>>;
|
|
761
|
-
input: z.ZodObject<{
|
|
762
|
-
customerPassRef: z.ZodPipe<z.ZodString, z.ZodTransform<CustomerPassRef, string>>;
|
|
763
|
-
subject: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
764
|
-
kind: z.ZodLiteral<"appointment">;
|
|
765
|
-
appointmentRef: z.ZodPipe<z.ZodString, z.ZodTransform<AppointmentBookingRef, string>>;
|
|
766
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
767
|
-
kind: z.ZodLiteral<"event_registration">;
|
|
768
|
-
eventRegistrationRef: z.ZodPipe<z.ZodString, z.ZodTransform<EventRegistrationRef, string>>;
|
|
769
|
-
}, z.core.$strict>], "kind">;
|
|
770
|
-
}, z.core.$strict>;
|
|
771
|
-
}, z.core.$strict>;
|
|
772
|
-
/** Seeds one portal-visible historical order for existing seeded booking activity. */
|
|
773
|
-
export declare const seedPortalOrderCommandSchema: z.ZodObject<{
|
|
774
|
-
type: z.ZodLiteral<"seedPortalOrder">;
|
|
775
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<OrderRef, string>>;
|
|
776
|
-
input: z.ZodObject<{
|
|
777
|
-
customerRef: z.ZodPipe<z.ZodString, z.ZodTransform<BookingCustomerRef, string>>;
|
|
778
|
-
subject: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
779
|
-
kind: z.ZodLiteral<"event_registration">;
|
|
780
|
-
eventRegistrationRef: z.ZodPipe<z.ZodString, z.ZodTransform<EventRegistrationRef, string>>;
|
|
781
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
782
|
-
kind: z.ZodLiteral<"course_enrollment">;
|
|
783
|
-
courseEnrollmentRef: z.ZodPipe<z.ZodString, z.ZodTransform<CourseEnrollmentRef, string>>;
|
|
784
|
-
}, z.core.$strict>], "kind">;
|
|
785
|
-
paymentMethod: z.ZodEnum<{
|
|
786
|
-
free: "free";
|
|
787
|
-
membership_access: "membership_access";
|
|
788
|
-
}>;
|
|
789
|
-
subtotalCents: z.ZodNumber;
|
|
790
|
-
currency: z.ZodString;
|
|
791
|
-
}, z.core.$strict>;
|
|
792
|
-
}, z.core.$strict>;
|
|
793
|
-
export declare const siteCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
794
|
-
type: z.ZodLiteral<"configureSiteIdentity">;
|
|
795
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<CommandRef, string>>;
|
|
796
|
-
input: z.ZodObject<{
|
|
797
|
-
title: z.ZodString;
|
|
798
|
-
tagline: z.ZodOptional<z.ZodString>;
|
|
799
|
-
timezone: z.ZodOptional<z.ZodString>;
|
|
800
|
-
seoIndexing: z.ZodOptional<z.ZodEnum<{
|
|
801
|
-
index: "index";
|
|
802
|
-
noindex: "noindex";
|
|
803
|
-
noindex_demo: "noindex_demo";
|
|
804
|
-
}>>;
|
|
805
|
-
}, z.core.$strict>;
|
|
806
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
807
|
-
type: z.ZodLiteral<"configureBookingSettings">;
|
|
808
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<CommandRef, string>>;
|
|
809
|
-
input: z.ZodObject<{
|
|
810
|
-
modules: z.ZodOptional<z.ZodObject<{
|
|
811
|
-
appointments: z.ZodOptional<z.ZodBoolean>;
|
|
812
|
-
events: z.ZodOptional<z.ZodBoolean>;
|
|
813
|
-
}, z.core.$strict>>;
|
|
814
|
-
defaultTimezone: z.ZodOptional<z.ZodString>;
|
|
815
|
-
currency: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
816
|
-
appointmentDefaultMinLeadMinutes: z.ZodOptional<z.ZodNumber>;
|
|
817
|
-
appointmentDefaultMaxBookingNoticeMinutes: z.ZodOptional<z.ZodNumber>;
|
|
818
|
-
appointmentBookingPolicies: z.ZodOptional<z.ZodObject<{
|
|
819
|
-
refunds: z.ZodOptional<z.ZodObject<{
|
|
820
|
-
mode: z.ZodEnum<{
|
|
821
|
-
never: "never";
|
|
822
|
-
always: "always";
|
|
823
|
-
cutoff: "cutoff";
|
|
824
|
-
}>;
|
|
825
|
-
cutoffHours: z.ZodOptional<z.ZodNumber>;
|
|
826
|
-
}, z.core.$strict>>;
|
|
827
|
-
}, z.core.$strict>>;
|
|
828
|
-
eventDestinationPolicy: z.ZodOptional<z.ZodObject<{
|
|
829
|
-
defaultMode: z.ZodEnum<{
|
|
830
|
-
"cms-managed": "cms-managed";
|
|
831
|
-
"system-managed": "system-managed";
|
|
832
|
-
}>;
|
|
833
|
-
presetOverrides: z.ZodDefault<z.ZodRecord<z.ZodEnum<{
|
|
834
|
-
event: "event";
|
|
835
|
-
performance: "performance";
|
|
836
|
-
class: "class";
|
|
837
|
-
workshop: "workshop";
|
|
838
|
-
retreat: "retreat";
|
|
839
|
-
}> & z.core.$partial, z.ZodEnum<{
|
|
840
|
-
"cms-managed": "cms-managed";
|
|
841
|
-
"system-managed": "system-managed";
|
|
842
|
-
}>>>;
|
|
843
|
-
}, z.core.$strict>>;
|
|
844
|
-
}, z.core.$strict>;
|
|
845
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
846
|
-
type: z.ZodLiteral<"applySiteStyleSelection">;
|
|
847
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<import("./refs").SiteStyleRef, string>>;
|
|
848
|
-
input: z.ZodObject<{
|
|
849
|
-
changes: z.ZodReadonly<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
850
|
-
kind: z.ZodLiteral<"set-site-style">;
|
|
851
|
-
siteStyleId: z.ZodPipe<z.ZodString, z.ZodTransform<import("./refs").SiteStyleRef, string>>;
|
|
852
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
853
|
-
kind: z.ZodLiteral<"set-button-style">;
|
|
854
|
-
buttonStyleSelection: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
855
|
-
styleId: z.ZodLiteral<"soft-pill">;
|
|
856
|
-
parameters: z.ZodObject<{}, z.core.$strict>;
|
|
857
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
858
|
-
styleId: z.ZodLiteral<"earth-pill">;
|
|
859
|
-
parameters: z.ZodObject<{}, z.core.$strict>;
|
|
860
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
861
|
-
styleId: z.ZodLiteral<"confident-chip">;
|
|
862
|
-
parameters: z.ZodObject<{}, z.core.$strict>;
|
|
863
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
864
|
-
styleId: z.ZodLiteral<"editorial-link">;
|
|
865
|
-
parameters: z.ZodObject<{}, z.core.$strict>;
|
|
866
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
867
|
-
styleId: z.ZodLiteral<"pebble">;
|
|
868
|
-
parameters: z.ZodObject<{}, z.core.$strict>;
|
|
869
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
870
|
-
styleId: z.ZodLiteral<"ink-stamp">;
|
|
871
|
-
parameters: z.ZodObject<{}, z.core.$strict>;
|
|
872
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
873
|
-
styleId: z.ZodLiteral<"flat-ink">;
|
|
874
|
-
parameters: z.ZodObject<{}, z.core.$strict>;
|
|
875
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
876
|
-
styleId: z.ZodLiteral<"brushed-wash">;
|
|
877
|
-
parameters: z.ZodObject<{}, z.core.$strict>;
|
|
878
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
879
|
-
styleId: z.ZodLiteral<"showtime-pill">;
|
|
880
|
-
parameters: z.ZodObject<{}, z.core.$strict>;
|
|
881
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
882
|
-
styleId: z.ZodLiteral<"joy-stamp">;
|
|
883
|
-
parameters: z.ZodObject<{}, z.core.$strict>;
|
|
884
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
885
|
-
styleId: z.ZodLiteral<"ornate-ritual">;
|
|
886
|
-
parameters: z.ZodObject<{}, z.core.$strict>;
|
|
887
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
888
|
-
styleId: z.ZodLiteral<"quiet-arrow">;
|
|
889
|
-
parameters: z.ZodObject<{
|
|
890
|
-
secondaryTreatment: z.ZodEnum<{
|
|
891
|
-
outlined: "outlined";
|
|
892
|
-
"solid-accent": "solid-accent";
|
|
893
|
-
}>;
|
|
894
|
-
}, z.core.$strict>;
|
|
895
|
-
}, z.core.$strict>], "styleId">>;
|
|
896
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
897
|
-
kind: z.ZodLiteral<"set-palette">;
|
|
898
|
-
palette: z.ZodPipe<z.ZodObject<{
|
|
899
|
-
colors: z.ZodArray<z.ZodObject<{
|
|
900
|
-
name: z.ZodString;
|
|
901
|
-
hex: z.ZodString;
|
|
902
|
-
}, z.core.$strip>>;
|
|
903
|
-
meta: z.ZodObject<{
|
|
904
|
-
mode: z.ZodEnum<{
|
|
905
|
-
light: "light";
|
|
906
|
-
dark: "dark";
|
|
907
|
-
}>;
|
|
908
|
-
}, z.core.$strip>;
|
|
909
|
-
}, z.core.$strip>, z.ZodTransform<{
|
|
910
|
-
colors: {
|
|
911
|
-
name: string;
|
|
912
|
-
hex: string;
|
|
913
|
-
}[];
|
|
914
|
-
meta: {
|
|
915
|
-
mode: "light" | "dark";
|
|
916
|
-
};
|
|
917
|
-
}, {
|
|
918
|
-
colors: {
|
|
919
|
-
name: string;
|
|
920
|
-
hex: string;
|
|
921
|
-
}[];
|
|
922
|
-
meta: {
|
|
923
|
-
mode: "light" | "dark";
|
|
924
|
-
};
|
|
925
|
-
}>>;
|
|
926
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
927
|
-
kind: z.ZodLiteral<"set-typography">;
|
|
928
|
-
typography: z.ZodNullable<z.ZodObject<{
|
|
929
|
-
body: z.ZodObject<{
|
|
930
|
-
family: z.ZodString;
|
|
931
|
-
weight: z.ZodEnum<{
|
|
932
|
-
medium: "medium";
|
|
933
|
-
bold: "bold";
|
|
934
|
-
light: "light";
|
|
935
|
-
regular: "regular";
|
|
936
|
-
semibold: "semibold";
|
|
937
|
-
}>;
|
|
938
|
-
letterSpacing: z.ZodEnum<{
|
|
939
|
-
tight: "tight";
|
|
940
|
-
normal: "normal";
|
|
941
|
-
loose: "loose";
|
|
942
|
-
}>;
|
|
943
|
-
lineHeight: z.ZodEnum<{
|
|
944
|
-
normal: "normal";
|
|
945
|
-
loose: "loose";
|
|
946
|
-
relaxed: "relaxed";
|
|
947
|
-
}>;
|
|
948
|
-
size: z.ZodEnum<{
|
|
949
|
-
md: "md";
|
|
950
|
-
lg: "lg";
|
|
951
|
-
xl: "xl";
|
|
952
|
-
}>;
|
|
953
|
-
}, z.core.$strip>;
|
|
954
|
-
headings: z.ZodObject<{
|
|
955
|
-
default: z.ZodObject<{
|
|
956
|
-
family: z.ZodString;
|
|
957
|
-
weight: z.ZodEnum<{
|
|
958
|
-
medium: "medium";
|
|
959
|
-
bold: "bold";
|
|
960
|
-
light: "light";
|
|
961
|
-
regular: "regular";
|
|
962
|
-
semibold: "semibold";
|
|
963
|
-
}>;
|
|
964
|
-
letterSpacing: z.ZodEnum<{
|
|
965
|
-
tight: "tight";
|
|
966
|
-
normal: "normal";
|
|
967
|
-
loose: "loose";
|
|
968
|
-
}>;
|
|
969
|
-
lineHeight: z.ZodEnum<{
|
|
970
|
-
normal: "normal";
|
|
971
|
-
loose: "loose";
|
|
972
|
-
relaxed: "relaxed";
|
|
973
|
-
}>;
|
|
974
|
-
case: z.ZodNullable<z.ZodEnum<{
|
|
975
|
-
uppercase: "uppercase";
|
|
976
|
-
normal: "normal";
|
|
977
|
-
smallCaps: "smallCaps";
|
|
978
|
-
}>>;
|
|
979
|
-
italic: z.ZodNullable<z.ZodBoolean>;
|
|
980
|
-
colorToken: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
981
|
-
}, z.core.$strip>;
|
|
982
|
-
h1: z.ZodObject<{
|
|
983
|
-
weight: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
984
|
-
medium: "medium";
|
|
985
|
-
bold: "bold";
|
|
986
|
-
light: "light";
|
|
987
|
-
regular: "regular";
|
|
988
|
-
semibold: "semibold";
|
|
989
|
-
}>>>;
|
|
990
|
-
letterSpacing: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
991
|
-
tight: "tight";
|
|
992
|
-
normal: "normal";
|
|
993
|
-
loose: "loose";
|
|
994
|
-
}>>>;
|
|
995
|
-
size: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
996
|
-
sm: "sm";
|
|
997
|
-
md: "md";
|
|
998
|
-
lg: "lg";
|
|
999
|
-
xl: "xl";
|
|
1000
|
-
xs: "xs";
|
|
1001
|
-
"2xl": "2xl";
|
|
1002
|
-
}>>>;
|
|
1003
|
-
lineHeight: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1004
|
-
tight: "tight";
|
|
1005
|
-
normal: "normal";
|
|
1006
|
-
loose: "loose";
|
|
1007
|
-
relaxed: "relaxed";
|
|
1008
|
-
snug: "snug";
|
|
1009
|
-
}>>>;
|
|
1010
|
-
italic: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1011
|
-
colorToken: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1012
|
-
}, z.core.$strip>;
|
|
1013
|
-
h2: z.ZodObject<{
|
|
1014
|
-
weight: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1015
|
-
medium: "medium";
|
|
1016
|
-
bold: "bold";
|
|
1017
|
-
light: "light";
|
|
1018
|
-
regular: "regular";
|
|
1019
|
-
semibold: "semibold";
|
|
1020
|
-
}>>>;
|
|
1021
|
-
letterSpacing: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1022
|
-
tight: "tight";
|
|
1023
|
-
normal: "normal";
|
|
1024
|
-
loose: "loose";
|
|
1025
|
-
}>>>;
|
|
1026
|
-
size: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1027
|
-
sm: "sm";
|
|
1028
|
-
md: "md";
|
|
1029
|
-
lg: "lg";
|
|
1030
|
-
xl: "xl";
|
|
1031
|
-
xs: "xs";
|
|
1032
|
-
"2xl": "2xl";
|
|
1033
|
-
}>>>;
|
|
1034
|
-
lineHeight: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1035
|
-
tight: "tight";
|
|
1036
|
-
normal: "normal";
|
|
1037
|
-
loose: "loose";
|
|
1038
|
-
relaxed: "relaxed";
|
|
1039
|
-
snug: "snug";
|
|
1040
|
-
}>>>;
|
|
1041
|
-
italic: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1042
|
-
colorToken: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1043
|
-
}, z.core.$strip>;
|
|
1044
|
-
h3: z.ZodObject<{
|
|
1045
|
-
weight: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1046
|
-
medium: "medium";
|
|
1047
|
-
bold: "bold";
|
|
1048
|
-
light: "light";
|
|
1049
|
-
regular: "regular";
|
|
1050
|
-
semibold: "semibold";
|
|
1051
|
-
}>>>;
|
|
1052
|
-
letterSpacing: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1053
|
-
tight: "tight";
|
|
1054
|
-
normal: "normal";
|
|
1055
|
-
loose: "loose";
|
|
1056
|
-
}>>>;
|
|
1057
|
-
size: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1058
|
-
sm: "sm";
|
|
1059
|
-
md: "md";
|
|
1060
|
-
lg: "lg";
|
|
1061
|
-
xl: "xl";
|
|
1062
|
-
xs: "xs";
|
|
1063
|
-
"2xl": "2xl";
|
|
1064
|
-
}>>>;
|
|
1065
|
-
lineHeight: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1066
|
-
tight: "tight";
|
|
1067
|
-
normal: "normal";
|
|
1068
|
-
loose: "loose";
|
|
1069
|
-
relaxed: "relaxed";
|
|
1070
|
-
snug: "snug";
|
|
1071
|
-
}>>>;
|
|
1072
|
-
italic: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1073
|
-
colorToken: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1074
|
-
}, z.core.$strip>;
|
|
1075
|
-
h4: z.ZodOptional<z.ZodObject<{
|
|
1076
|
-
weight: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1077
|
-
medium: "medium";
|
|
1078
|
-
bold: "bold";
|
|
1079
|
-
light: "light";
|
|
1080
|
-
regular: "regular";
|
|
1081
|
-
semibold: "semibold";
|
|
1082
|
-
}>>>;
|
|
1083
|
-
letterSpacing: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1084
|
-
tight: "tight";
|
|
1085
|
-
normal: "normal";
|
|
1086
|
-
loose: "loose";
|
|
1087
|
-
}>>>;
|
|
1088
|
-
size: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1089
|
-
sm: "sm";
|
|
1090
|
-
md: "md";
|
|
1091
|
-
lg: "lg";
|
|
1092
|
-
xl: "xl";
|
|
1093
|
-
xs: "xs";
|
|
1094
|
-
"2xl": "2xl";
|
|
1095
|
-
}>>>;
|
|
1096
|
-
lineHeight: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1097
|
-
tight: "tight";
|
|
1098
|
-
normal: "normal";
|
|
1099
|
-
loose: "loose";
|
|
1100
|
-
relaxed: "relaxed";
|
|
1101
|
-
snug: "snug";
|
|
1102
|
-
}>>>;
|
|
1103
|
-
italic: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1104
|
-
colorToken: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1105
|
-
}, z.core.$strip>>;
|
|
1106
|
-
h5: z.ZodOptional<z.ZodObject<{
|
|
1107
|
-
weight: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1108
|
-
medium: "medium";
|
|
1109
|
-
bold: "bold";
|
|
1110
|
-
light: "light";
|
|
1111
|
-
regular: "regular";
|
|
1112
|
-
semibold: "semibold";
|
|
1113
|
-
}>>>;
|
|
1114
|
-
letterSpacing: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1115
|
-
tight: "tight";
|
|
1116
|
-
normal: "normal";
|
|
1117
|
-
loose: "loose";
|
|
1118
|
-
}>>>;
|
|
1119
|
-
size: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1120
|
-
sm: "sm";
|
|
1121
|
-
md: "md";
|
|
1122
|
-
lg: "lg";
|
|
1123
|
-
xl: "xl";
|
|
1124
|
-
xs: "xs";
|
|
1125
|
-
"2xl": "2xl";
|
|
1126
|
-
}>>>;
|
|
1127
|
-
lineHeight: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1128
|
-
tight: "tight";
|
|
1129
|
-
normal: "normal";
|
|
1130
|
-
loose: "loose";
|
|
1131
|
-
relaxed: "relaxed";
|
|
1132
|
-
snug: "snug";
|
|
1133
|
-
}>>>;
|
|
1134
|
-
italic: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1135
|
-
colorToken: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1136
|
-
}, z.core.$strip>>;
|
|
1137
|
-
h6: z.ZodOptional<z.ZodObject<{
|
|
1138
|
-
weight: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1139
|
-
medium: "medium";
|
|
1140
|
-
bold: "bold";
|
|
1141
|
-
light: "light";
|
|
1142
|
-
regular: "regular";
|
|
1143
|
-
semibold: "semibold";
|
|
1144
|
-
}>>>;
|
|
1145
|
-
letterSpacing: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1146
|
-
tight: "tight";
|
|
1147
|
-
normal: "normal";
|
|
1148
|
-
loose: "loose";
|
|
1149
|
-
}>>>;
|
|
1150
|
-
size: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1151
|
-
sm: "sm";
|
|
1152
|
-
md: "md";
|
|
1153
|
-
lg: "lg";
|
|
1154
|
-
xl: "xl";
|
|
1155
|
-
xs: "xs";
|
|
1156
|
-
"2xl": "2xl";
|
|
1157
|
-
}>>>;
|
|
1158
|
-
lineHeight: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1159
|
-
tight: "tight";
|
|
1160
|
-
normal: "normal";
|
|
1161
|
-
loose: "loose";
|
|
1162
|
-
relaxed: "relaxed";
|
|
1163
|
-
snug: "snug";
|
|
1164
|
-
}>>>;
|
|
1165
|
-
italic: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1166
|
-
colorToken: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1167
|
-
}, z.core.$strip>>;
|
|
1168
|
-
}, z.core.$strip>;
|
|
1169
|
-
scale: z.ZodEnum<{
|
|
1170
|
-
compact: "compact";
|
|
1171
|
-
spacious: "spacious";
|
|
1172
|
-
balanced: "balanced";
|
|
1173
|
-
minorThird: "minorThird";
|
|
1174
|
-
majorThird: "majorThird";
|
|
1175
|
-
perfectFourth: "perfectFourth";
|
|
1176
|
-
}>;
|
|
1177
|
-
proseLinkStyle: z.ZodOptional<z.ZodObject<{
|
|
1178
|
-
colorToken: z.ZodOptional<z.ZodString>;
|
|
1179
|
-
hoverColorToken: z.ZodOptional<z.ZodString>;
|
|
1180
|
-
underline: z.ZodOptional<z.ZodBoolean>;
|
|
1181
|
-
decorationColorToken: z.ZodOptional<z.ZodString>;
|
|
1182
|
-
hoverDecorationColorToken: z.ZodOptional<z.ZodString>;
|
|
1183
|
-
underlineStyle: z.ZodOptional<z.ZodEnum<{
|
|
1184
|
-
solid: "solid";
|
|
1185
|
-
dotted: "dotted";
|
|
1186
|
-
dashed: "dashed";
|
|
1187
|
-
}>>;
|
|
1188
|
-
underlineThickness: z.ZodOptional<z.ZodEnum<{
|
|
1189
|
-
auto: "auto";
|
|
1190
|
-
medium: "medium";
|
|
1191
|
-
fromFont: "fromFont";
|
|
1192
|
-
thin: "thin";
|
|
1193
|
-
thick: "thick";
|
|
1194
|
-
}>>;
|
|
1195
|
-
underlineOffset: z.ZodOptional<z.ZodEnum<{
|
|
1196
|
-
auto: "auto";
|
|
1197
|
-
tight: "tight";
|
|
1198
|
-
normal: "normal";
|
|
1199
|
-
loose: "loose";
|
|
1200
|
-
}>>;
|
|
1201
|
-
}, z.core.$strip>>;
|
|
1202
|
-
eyebrow: z.ZodOptional<z.ZodObject<{
|
|
1203
|
-
family: z.ZodString;
|
|
1204
|
-
size: z.ZodOptional<z.ZodEnum<{
|
|
1205
|
-
sm: "sm";
|
|
1206
|
-
md: "md";
|
|
1207
|
-
lg: "lg";
|
|
1208
|
-
}>>;
|
|
1209
|
-
weight: z.ZodOptional<z.ZodEnum<{
|
|
1210
|
-
medium: "medium";
|
|
1211
|
-
bold: "bold";
|
|
1212
|
-
light: "light";
|
|
1213
|
-
regular: "regular";
|
|
1214
|
-
semibold: "semibold";
|
|
1215
|
-
}>>;
|
|
1216
|
-
letterSpacing: z.ZodOptional<z.ZodEnum<{
|
|
1217
|
-
tight: "tight";
|
|
1218
|
-
normal: "normal";
|
|
1219
|
-
loose: "loose";
|
|
1220
|
-
wide: "wide";
|
|
1221
|
-
}>>;
|
|
1222
|
-
case: z.ZodOptional<z.ZodEnum<{
|
|
1223
|
-
uppercase: "uppercase";
|
|
1224
|
-
normal: "normal";
|
|
1225
|
-
}>>;
|
|
1226
|
-
}, z.core.$strip>>;
|
|
1227
|
-
}, z.core.$strip>>;
|
|
1228
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1229
|
-
kind: z.ZodLiteral<"set-header">;
|
|
1230
|
-
selection: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1231
|
-
kind: z.ZodLiteral<"default">;
|
|
1232
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1233
|
-
kind: z.ZodLiteral<"legacy">;
|
|
1234
|
-
headerLookId: z.ZodNullable<z.ZodString>;
|
|
1235
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1236
|
-
kind: z.ZodLiteral<"canonical">;
|
|
1237
|
-
headerLookId: z.ZodNullable<z.ZodString>;
|
|
1238
|
-
layoutId: z.ZodString;
|
|
1239
|
-
styleId: z.ZodString;
|
|
1240
|
-
}, z.core.$strict>], "kind">;
|
|
1241
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1242
|
-
kind: z.ZodLiteral<"set-footer-look">;
|
|
1243
|
-
footerLookId: z.ZodNullable<z.ZodString>;
|
|
1244
|
-
}, z.core.$strict>], "kind">>>;
|
|
1245
|
-
baseSelectionVersion: z.ZodOptional<z.ZodNumber>;
|
|
1246
|
-
}, z.core.$strict>;
|
|
1247
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1248
|
-
type: z.ZodLiteral<"upsertMediaAsset">;
|
|
1249
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<MediaRef, string>>;
|
|
1250
|
-
input: z.ZodObject<{
|
|
1251
|
-
identifier: z.ZodString;
|
|
1252
|
-
checksum: z.ZodString;
|
|
1253
|
-
filename: z.ZodString;
|
|
1254
|
-
mimeType: z.ZodString;
|
|
1255
|
-
alt: z.ZodString;
|
|
1256
|
-
}, z.core.$strict>;
|
|
1257
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1258
|
-
type: z.ZodLiteral<"upsertPage">;
|
|
1259
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<PageRef, string>>;
|
|
1260
|
-
input: z.ZodObject<{
|
|
1261
|
-
identifier: z.ZodOptional<z.ZodString>;
|
|
1262
|
-
slug: z.ZodString;
|
|
1263
|
-
title: z.ZodString;
|
|
1264
|
-
path: z.ZodOptional<z.ZodString>;
|
|
1265
|
-
seoTitle: z.ZodOptional<z.ZodString>;
|
|
1266
|
-
seoDescription: z.ZodOptional<z.ZodString>;
|
|
1267
|
-
status: z.ZodOptional<z.ZodEnum<{
|
|
1268
|
-
draft: "draft";
|
|
1269
|
-
published: "published";
|
|
1270
|
-
}>>;
|
|
1271
|
-
}, z.core.$strict>;
|
|
1272
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1273
|
-
type: z.ZodLiteral<"upsertBlockTree">;
|
|
1274
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<BlocksRef, string>>;
|
|
1275
|
-
input: z.ZodObject<{
|
|
1276
|
-
pageRef: z.ZodPipe<z.ZodString, z.ZodTransform<PageRef, string>>;
|
|
1277
|
-
replaceExisting: z.ZodOptional<z.ZodBoolean>;
|
|
1278
|
-
blocks: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1279
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<BlockRef, string>>;
|
|
1280
|
-
type: z.ZodString;
|
|
1281
|
-
purpose: z.ZodOptional<z.ZodString>;
|
|
1282
|
-
identifier: z.ZodOptional<z.ZodString>;
|
|
1283
|
-
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1284
|
-
children: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodUnknown>>>;
|
|
1285
|
-
}, z.core.$strict>>>;
|
|
1286
|
-
}, z.core.$strict>;
|
|
1287
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1288
|
-
type: z.ZodLiteral<"upsertPageBlock">;
|
|
1289
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<BlockRef, string>>;
|
|
1290
|
-
input: z.ZodObject<{
|
|
1291
|
-
pageIdentifier: z.ZodString;
|
|
1292
|
-
pageRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<PageRef, string>>>;
|
|
1293
|
-
identifier: z.ZodOptional<z.ZodString>;
|
|
1294
|
-
type: z.ZodString;
|
|
1295
|
-
purpose: z.ZodOptional<z.ZodString>;
|
|
1296
|
-
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1297
|
-
children: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodUnknown>>>;
|
|
1298
|
-
}, z.core.$strict>;
|
|
1299
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1300
|
-
type: z.ZodLiteral<"patchPageBlockContent">;
|
|
1301
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<CommandRef, string>>;
|
|
1302
|
-
input: z.ZodObject<{
|
|
1303
|
-
pageIdentifier: z.ZodString;
|
|
1304
|
-
pageRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<PageRef, string>>>;
|
|
1305
|
-
identifier: z.ZodString;
|
|
1306
|
-
field: z.ZodString;
|
|
1307
|
-
value: z.ZodUnknown;
|
|
1308
|
-
}, z.core.$strict>;
|
|
1309
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1310
|
-
type: z.ZodLiteral<"deletePageBlock">;
|
|
1311
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<CommandRef, string>>;
|
|
1312
|
-
input: z.ZodObject<{
|
|
1313
|
-
pageIdentifier: z.ZodString;
|
|
1314
|
-
pageRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<PageRef, string>>>;
|
|
1315
|
-
blockRef: z.ZodPipe<z.ZodString, z.ZodTransform<BlockRef, string>>;
|
|
1316
|
-
identifier: z.ZodOptional<z.ZodString>;
|
|
1317
|
-
}, z.core.$strict>;
|
|
1318
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1319
|
-
type: z.ZodLiteral<"reorderPageBlocks">;
|
|
1320
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<BlocksRef, string>>;
|
|
1321
|
-
input: z.ZodObject<{
|
|
1322
|
-
pageIdentifier: z.ZodString;
|
|
1323
|
-
pageRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<PageRef, string>>>;
|
|
1324
|
-
blocks: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1325
|
-
blockRef: z.ZodPipe<z.ZodString, z.ZodTransform<BlockRef, string>>;
|
|
1326
|
-
identifier: z.ZodOptional<z.ZodString>;
|
|
1327
|
-
}, z.core.$strict>>>;
|
|
1328
|
-
}, z.core.$strict>;
|
|
1329
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1330
|
-
type: z.ZodLiteral<"upsertNavigationMenu">;
|
|
1331
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<NavigationRef, string>>;
|
|
1332
|
-
input: z.ZodObject<{
|
|
1333
|
-
identifier: z.ZodOptional<z.ZodString>;
|
|
1334
|
-
name: z.ZodOptional<z.ZodString>;
|
|
1335
|
-
location: z.ZodOptional<z.ZodEnum<{
|
|
1336
|
-
main: "main";
|
|
1337
|
-
footer: "footer";
|
|
1338
|
-
header: "header";
|
|
1339
|
-
}>>;
|
|
1340
|
-
role: z.ZodOptional<z.ZodEnum<{
|
|
1341
|
-
"legal-policy": "legal-policy";
|
|
1342
|
-
footer: "footer";
|
|
1343
|
-
primary: "primary";
|
|
1344
|
-
}>>;
|
|
1345
|
-
items: z.ZodReadonly<z.ZodArray<z.ZodType<Readonly<{
|
|
1346
|
-
label: string;
|
|
1347
|
-
isCta?: boolean;
|
|
1348
|
-
pageRef?: PageRef;
|
|
1349
|
-
contentEntryRef?: ContentEntryRef;
|
|
1350
|
-
link?: NavigationLinkCommandInput;
|
|
1351
|
-
url?: string;
|
|
1352
|
-
children?: readonly NavigationItem[];
|
|
1353
|
-
}>, unknown, z.core.$ZodTypeInternals<Readonly<{
|
|
1354
|
-
label: string;
|
|
1355
|
-
isCta?: boolean;
|
|
1356
|
-
pageRef?: PageRef;
|
|
1357
|
-
contentEntryRef?: ContentEntryRef;
|
|
1358
|
-
link?: NavigationLinkCommandInput;
|
|
1359
|
-
url?: string;
|
|
1360
|
-
children?: readonly NavigationItem[];
|
|
1361
|
-
}>, unknown>>>>;
|
|
1362
|
-
}, z.core.$strict>;
|
|
1363
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1364
|
-
type: z.ZodLiteral<"upsertForm">;
|
|
1365
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<FormRef, string>>;
|
|
1366
|
-
input: z.ZodObject<{
|
|
1367
|
-
slug: z.ZodString;
|
|
1368
|
-
name: z.ZodString;
|
|
1369
|
-
schema: z.ZodObject<{
|
|
1370
|
-
version: z.ZodOptional<z.ZodString>;
|
|
1371
|
-
fields: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1372
|
-
id: z.ZodString;
|
|
1373
|
-
label: z.ZodString;
|
|
1374
|
-
type: z.ZodString;
|
|
1375
|
-
required: z.ZodOptional<z.ZodBoolean>;
|
|
1376
|
-
placeholder: z.ZodOptional<z.ZodString>;
|
|
1377
|
-
helpText: z.ZodOptional<z.ZodString>;
|
|
1378
|
-
layout: z.ZodOptional<z.ZodObject<{
|
|
1379
|
-
width: z.ZodOptional<z.ZodEnum<{
|
|
1380
|
-
full: "full";
|
|
1381
|
-
half: "half";
|
|
1382
|
-
}>>;
|
|
1383
|
-
}, z.core.$strict>>;
|
|
1384
|
-
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1385
|
-
value: z.ZodString;
|
|
1386
|
-
label: z.ZodString;
|
|
1387
|
-
}, z.core.$strict>>>;
|
|
1388
|
-
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
1389
|
-
minLength: z.ZodOptional<z.ZodNumber>;
|
|
1390
|
-
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
1391
|
-
pattern: z.ZodOptional<z.ZodString>;
|
|
1392
|
-
min: z.ZodOptional<z.ZodNumber>;
|
|
1393
|
-
max: z.ZodOptional<z.ZodNumber>;
|
|
1394
|
-
}, z.core.$strict>>>;
|
|
1395
|
-
}, z.core.$strict>;
|
|
1396
|
-
settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1397
|
-
}, z.core.$strict>;
|
|
1398
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1399
|
-
type: z.ZodLiteral<"upsertFooterContent">;
|
|
1400
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<FooterRef, string>>;
|
|
1401
|
-
input: z.ZodObject<{
|
|
1402
|
-
composition: z.ZodCustom<Readonly<{
|
|
1403
|
-
schemaVersion: 1;
|
|
1404
|
-
sections: readonly import("../../core/src/index").FooterSection[];
|
|
1405
|
-
}>, Readonly<{
|
|
1406
|
-
schemaVersion: 1;
|
|
1407
|
-
sections: readonly import("../../core/src/index").FooterSection[];
|
|
1408
|
-
}>>;
|
|
1409
|
-
baseRevision: z.ZodNumber;
|
|
1410
|
-
}, z.core.$strict>;
|
|
1411
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1412
|
-
type: z.ZodLiteral<"upsertContentEntry">;
|
|
1413
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<ContentEntryRef, string>>;
|
|
1414
|
-
input: z.ZodObject<{
|
|
1415
|
-
identifier: z.ZodOptional<z.ZodString>;
|
|
1416
|
-
contentTypeKey: z.ZodString;
|
|
1417
|
-
slug: z.ZodOptional<z.ZodString>;
|
|
1418
|
-
title: z.ZodOptional<z.ZodString>;
|
|
1419
|
-
manualOrder: z.ZodOptional<z.ZodNumber>;
|
|
1420
|
-
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1421
|
-
blocks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
1422
|
-
identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1423
|
-
kind: z.ZodString;
|
|
1424
|
-
content: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1425
|
-
}, z.core.$strict>>>>;
|
|
1426
|
-
linkedSubjectRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContentEntryRef, string>>>;
|
|
1427
|
-
mediaRefs: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<MediaRef, string>>>>>;
|
|
1428
|
-
}, z.core.$strict>;
|
|
1429
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1430
|
-
type: z.ZodLiteral<"publishPage">;
|
|
1431
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<CommandRef, string>>;
|
|
1432
|
-
input: z.ZodUnion<readonly [z.ZodObject<{
|
|
1433
|
-
identifier: z.ZodString;
|
|
1434
|
-
pageRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<PageRef, string>>>;
|
|
1435
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1436
|
-
pageRef: z.ZodPipe<z.ZodString, z.ZodTransform<PageRef, string>>;
|
|
1437
|
-
identifier: z.ZodOptional<z.ZodString>;
|
|
1438
|
-
}, z.core.$strict>]>;
|
|
1439
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1440
|
-
type: z.ZodLiteral<"unpublishPage">;
|
|
1441
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<CommandRef, string>>;
|
|
1442
|
-
input: z.ZodUnion<readonly [z.ZodObject<{
|
|
1443
|
-
identifier: z.ZodString;
|
|
1444
|
-
pageRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<PageRef, string>>>;
|
|
1445
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1446
|
-
pageRef: z.ZodPipe<z.ZodString, z.ZodTransform<PageRef, string>>;
|
|
1447
|
-
identifier: z.ZodOptional<z.ZodString>;
|
|
1448
|
-
}, z.core.$strict>]>;
|
|
1449
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1450
|
-
type: z.ZodLiteral<"publishContentEntry">;
|
|
1451
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<CommandRef, string>>;
|
|
1452
|
-
input: z.ZodObject<{
|
|
1453
|
-
contentEntryRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContentEntryRef, string>>>;
|
|
1454
|
-
contentTypeKey: z.ZodString;
|
|
1455
|
-
identifier: z.ZodString;
|
|
1456
|
-
}, z.core.$strict>;
|
|
1457
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1458
|
-
type: z.ZodLiteral<"unpublishContentEntry">;
|
|
1459
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<CommandRef, string>>;
|
|
1460
|
-
input: z.ZodObject<{
|
|
1461
|
-
contentEntryRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContentEntryRef, string>>>;
|
|
1462
|
-
contentTypeKey: z.ZodString;
|
|
1463
|
-
identifier: z.ZodString;
|
|
1464
|
-
}, z.core.$strict>;
|
|
1465
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1466
|
-
type: z.ZodLiteral<"deleteContentEntry">;
|
|
1467
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<CommandRef, string>>;
|
|
1468
|
-
input: z.ZodObject<{
|
|
1469
|
-
contentEntryRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContentEntryRef, string>>>;
|
|
1470
|
-
contentTypeKey: z.ZodString;
|
|
1471
|
-
identifier: z.ZodString;
|
|
1472
|
-
}, z.core.$strict>;
|
|
1473
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1474
|
-
type: z.ZodLiteral<"upsertStaffMember">;
|
|
1475
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<StaffRef, string>>;
|
|
1476
|
-
input: z.ZodObject<{
|
|
1477
|
-
identity: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1478
|
-
kind: z.ZodLiteral<"site_user">;
|
|
1479
|
-
userId: z.ZodString;
|
|
1480
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1481
|
-
kind: z.ZodLiteral<"create_only">;
|
|
1482
|
-
}, z.core.$strict>], "kind">;
|
|
1483
|
-
displayName: z.ZodString;
|
|
1484
|
-
roleLabel: z.ZodOptional<z.ZodString>;
|
|
1485
|
-
shortBio: z.ZodOptional<z.ZodString>;
|
|
1486
|
-
timezone: z.ZodOptional<z.ZodString>;
|
|
1487
|
-
specialties: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
1488
|
-
publicVisibility: z.ZodOptional<z.ZodEnum<{
|
|
1489
|
-
hidden: "hidden";
|
|
1490
|
-
visible: "visible";
|
|
1491
|
-
}>>;
|
|
1492
|
-
}, z.core.$strict>;
|
|
1493
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1494
|
-
type: z.ZodLiteral<"ensureTeamMemberProfile">;
|
|
1495
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<ContentEntryRef, string>>;
|
|
1496
|
-
input: z.ZodObject<{
|
|
1497
|
-
staffMemberRef: z.ZodPipe<z.ZodString, z.ZodTransform<StaffRef, string>>;
|
|
1498
|
-
contentTypeKey: z.ZodDefault<z.ZodLiteral<"team-member">>;
|
|
1499
|
-
title: z.ZodString;
|
|
1500
|
-
slug: z.ZodString;
|
|
1501
|
-
draftContent: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1502
|
-
seedDraftContent: z.ZodDefault<z.ZodEnum<{
|
|
1503
|
-
never: "never";
|
|
1504
|
-
when_created: "when_created";
|
|
1505
|
-
}>>;
|
|
1506
|
-
publish: z.ZodOptional<z.ZodBoolean>;
|
|
1507
|
-
}, z.core.$strict>;
|
|
1508
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1509
|
-
type: z.ZodLiteral<"upsertVenue">;
|
|
1510
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<VenueRef, string>>;
|
|
1511
|
-
input: z.ZodObject<{
|
|
1512
|
-
slug: z.ZodString;
|
|
1513
|
-
title: z.ZodString;
|
|
1514
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1515
|
-
timezone: z.ZodString;
|
|
1516
|
-
capacity: z.ZodOptional<z.ZodNumber>;
|
|
1517
|
-
address: z.ZodOptional<z.ZodObject<{
|
|
1518
|
-
line1: z.ZodOptional<z.ZodString>;
|
|
1519
|
-
line2: z.ZodOptional<z.ZodString>;
|
|
1520
|
-
city: z.ZodOptional<z.ZodString>;
|
|
1521
|
-
region: z.ZodOptional<z.ZodString>;
|
|
1522
|
-
postalCode: z.ZodOptional<z.ZodString>;
|
|
1523
|
-
country: z.ZodOptional<z.ZodString>;
|
|
1524
|
-
}, z.core.$strict>>;
|
|
1525
|
-
location: z.ZodOptional<z.ZodObject<{
|
|
1526
|
-
latitude: z.ZodNumber;
|
|
1527
|
-
longitude: z.ZodNumber;
|
|
1528
|
-
}, z.core.$strict>>;
|
|
1529
|
-
mapEmbedUrl: z.ZodOptional<z.ZodString>;
|
|
1530
|
-
}, z.core.$strict>;
|
|
1531
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1532
|
-
type: z.ZodLiteral<"deleteVenue">;
|
|
1533
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<CommandRef, string>>;
|
|
1534
|
-
input: z.ZodObject<{
|
|
1535
|
-
slug: z.ZodString;
|
|
1536
|
-
venueRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<VenueRef, string>>>;
|
|
1537
|
-
}, z.core.$strict>;
|
|
1538
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1539
|
-
type: z.ZodLiteral<"upsertEventCategory">;
|
|
1540
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<EventCategoryRef, string>>;
|
|
1541
|
-
input: z.ZodObject<{
|
|
1542
|
-
identifier: z.ZodOptional<z.ZodString>;
|
|
1543
|
-
name: z.ZodString;
|
|
1544
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1545
|
-
color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1546
|
-
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
1547
|
-
}, z.core.$strict>;
|
|
1548
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1549
|
-
type: z.ZodLiteral<"deleteEventCategory">;
|
|
1550
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<CommandRef, string>>;
|
|
1551
|
-
input: z.ZodObject<{
|
|
1552
|
-
identifier: z.ZodString;
|
|
1553
|
-
eventCategoryRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<EventCategoryRef, string>>>;
|
|
1554
|
-
}, z.core.$strict>;
|
|
1555
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1556
|
-
type: z.ZodLiteral<"upsertEventSeries">;
|
|
1557
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<EventSeriesRef, string>>;
|
|
1558
|
-
input: z.ZodObject<{
|
|
1559
|
-
slug: z.ZodString;
|
|
1560
|
-
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1561
|
-
title: z.ZodString;
|
|
1562
|
-
preset: z.ZodEnum<{
|
|
1563
|
-
course: "course";
|
|
1564
|
-
event: "event";
|
|
1565
|
-
performance: "performance";
|
|
1566
|
-
class: "class";
|
|
1567
|
-
workshop: "workshop";
|
|
1568
|
-
retreat: "retreat";
|
|
1569
|
-
}>;
|
|
1570
|
-
bookingScope: z.ZodEnum<{
|
|
1571
|
-
single_occurrence: "single_occurrence";
|
|
1572
|
-
whole_series: "whole_series";
|
|
1573
|
-
}>;
|
|
1574
|
-
status: z.ZodOptional<z.ZodEnum<{
|
|
1575
|
-
active: "active";
|
|
1576
|
-
draft: "draft";
|
|
1577
|
-
archived: "archived";
|
|
1578
|
-
cancelled: "cancelled";
|
|
1579
|
-
}>>;
|
|
1580
|
-
visibility: z.ZodEnum<{
|
|
1581
|
-
draft: "draft";
|
|
1582
|
-
published: "published";
|
|
1583
|
-
unlisted: "unlisted";
|
|
1584
|
-
listed: "listed";
|
|
1585
|
-
}>;
|
|
1586
|
-
timezone: z.ZodString;
|
|
1587
|
-
venueRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<VenueRef, string>>>;
|
|
1588
|
-
venueIdentifier: z.ZodOptional<z.ZodString>;
|
|
1589
|
-
categoryRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<EventCategoryRef, string>>>;
|
|
1590
|
-
categoryIdentifier: z.ZodOptional<z.ZodString>;
|
|
1591
|
-
formRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<FormRef, string>>>;
|
|
1592
|
-
formIdentifier: z.ZodOptional<z.ZodString>;
|
|
1593
|
-
capacity: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1594
|
-
kind: z.ZodLiteral<"unlimited">;
|
|
1595
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1596
|
-
kind: z.ZodLiteral<"limited">;
|
|
1597
|
-
quantity: z.ZodNumber;
|
|
1598
|
-
}, z.core.$strict>], "kind">>;
|
|
1599
|
-
waitlist: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1600
|
-
kind: z.ZodLiteral<"disabled">;
|
|
1601
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1602
|
-
kind: z.ZodLiteral<"enabled_when_full">;
|
|
1603
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1604
|
-
kind: z.ZodLiteral<"enabled_always">;
|
|
1605
|
-
}, z.core.$strict>], "kind">>;
|
|
1606
|
-
pricing: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1607
|
-
kind: z.ZodLiteral<"free">;
|
|
1608
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1609
|
-
kind: z.ZodLiteral<"fixed_price">;
|
|
1610
|
-
price: z.ZodObject<{
|
|
1611
|
-
amountCents: z.ZodNumber;
|
|
1612
|
-
currency: z.ZodOptional<z.ZodString>;
|
|
1613
|
-
}, z.core.$strict>;
|
|
1614
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1615
|
-
kind: z.ZodLiteral<"ticket_types">;
|
|
1616
|
-
currency: z.ZodOptional<z.ZodString>;
|
|
1617
|
-
ticketTypes: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1618
|
-
identifier: z.ZodString;
|
|
1619
|
-
cmsTicketTypeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1620
|
-
name: z.ZodString;
|
|
1621
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1622
|
-
priceAmount: z.ZodNumber;
|
|
1623
|
-
priceCurrency: z.ZodOptional<z.ZodString>;
|
|
1624
|
-
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
1625
|
-
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
1626
|
-
capacityLimit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1627
|
-
attendanceScope: z.ZodOptional<z.ZodEnum<{
|
|
1628
|
-
in_person: "in_person";
|
|
1629
|
-
both: "both";
|
|
1630
|
-
online: "online";
|
|
1631
|
-
}>>;
|
|
1632
|
-
saleStartsAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1633
|
-
saleEndsAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1634
|
-
}, z.core.$strict>>>>;
|
|
1635
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1636
|
-
kind: z.ZodLiteral<"manual_payment">;
|
|
1637
|
-
instructions: z.ZodOptional<z.ZodString>;
|
|
1638
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1639
|
-
kind: z.ZodLiteral<"external">;
|
|
1640
|
-
url: z.ZodString;
|
|
1641
|
-
}, z.core.$strict>], "kind">;
|
|
1642
|
-
priceDisplay: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1643
|
-
acceptsPasses: z.ZodOptional<z.ZodBoolean>;
|
|
1644
|
-
acceptsMemberships: z.ZodOptional<z.ZodBoolean>;
|
|
1645
|
-
deliveryMode: z.ZodOptional<z.ZodEnum<{
|
|
1646
|
-
in_person: "in_person";
|
|
1647
|
-
hybrid: "hybrid";
|
|
1648
|
-
online: "online";
|
|
1649
|
-
}>>;
|
|
1650
|
-
occurrences: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1651
|
-
title: z.ZodOptional<z.ZodString>;
|
|
1652
|
-
capacity: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1653
|
-
kind: z.ZodLiteral<"unlimited">;
|
|
1654
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1655
|
-
kind: z.ZodLiteral<"limited">;
|
|
1656
|
-
quantity: z.ZodNumber;
|
|
1657
|
-
}, z.core.$strict>], "kind">>;
|
|
1658
|
-
startAt: z.ZodString;
|
|
1659
|
-
endAt: z.ZodString;
|
|
1660
|
-
venueRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<VenueRef, string>>>;
|
|
1661
|
-
}, z.core.$strict>>>;
|
|
1662
|
-
content: z.ZodOptional<z.ZodObject<{
|
|
1663
|
-
summary: z.ZodOptional<z.ZodString>;
|
|
1664
|
-
body: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<RichTextDoc, RichTextDoc>]>>;
|
|
1665
|
-
image: z.ZodOptional<z.ZodObject<{
|
|
1666
|
-
identifier: z.ZodString;
|
|
1667
|
-
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
1668
|
-
imageRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<MediaRef, string>>>;
|
|
1669
|
-
mediaRefs: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<MediaRef, string>>>>>;
|
|
1670
|
-
}, z.core.$strict>>;
|
|
1671
|
-
settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1672
|
-
paymentTerms: z.ZodOptional<z.ZodUnknown>;
|
|
1673
|
-
presentation: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
1674
|
-
tags: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
1675
|
-
blocks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
1676
|
-
identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1677
|
-
kind: z.ZodString;
|
|
1678
|
-
content: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1679
|
-
}, z.core.$strict>>>>;
|
|
1680
|
-
staffRefs: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<StaffRef, string>>>>>;
|
|
1681
|
-
}, z.core.$strict>;
|
|
1682
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1683
|
-
type: z.ZodLiteral<"deleteEventSeries">;
|
|
1684
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<CommandRef, string>>;
|
|
1685
|
-
input: z.ZodObject<{
|
|
1686
|
-
identifier: z.ZodString;
|
|
1687
|
-
eventRef: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<EventSeriesRef, string>>>;
|
|
1688
|
-
}, z.core.$strict>;
|
|
1689
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1690
|
-
type: z.ZodLiteral<"upsertEventTicketType">;
|
|
1691
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<TicketTypeRef, string>>;
|
|
1692
|
-
input: z.ZodObject<{
|
|
1693
|
-
eventRef: z.ZodPipe<z.ZodString, z.ZodTransform<EventSeriesRef, string>>;
|
|
1694
|
-
ticketSlug: z.ZodString;
|
|
1695
|
-
label: z.ZodString;
|
|
1696
|
-
price: z.ZodObject<{
|
|
1697
|
-
amountCents: z.ZodNumber;
|
|
1698
|
-
currency: z.ZodOptional<z.ZodString>;
|
|
1699
|
-
}, z.core.$strict>;
|
|
1700
|
-
quantity: z.ZodOptional<z.ZodNumber>;
|
|
1701
|
-
visibility: z.ZodOptional<z.ZodEnum<{
|
|
1702
|
-
hidden: "hidden";
|
|
1703
|
-
visible: "visible";
|
|
1704
|
-
}>>;
|
|
1705
|
-
attendanceScope: z.ZodOptional<z.ZodEnum<{
|
|
1706
|
-
single_occurrence: "single_occurrence";
|
|
1707
|
-
all_occurrences: "all_occurrences";
|
|
1708
|
-
}>>;
|
|
1709
|
-
salesWindow: z.ZodOptional<z.ZodObject<{
|
|
1710
|
-
salesStartAt: z.ZodOptional<z.ZodString>;
|
|
1711
|
-
salesEndAt: z.ZodOptional<z.ZodString>;
|
|
1712
|
-
}, z.core.$strict>>;
|
|
1713
|
-
}, z.core.$strict>;
|
|
1714
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1715
|
-
type: z.ZodLiteral<"upsertBookingPassProduct">;
|
|
1716
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<PassProductRef, string>>;
|
|
1717
|
-
input: z.ZodObject<{
|
|
1718
|
-
passSlug: z.ZodString;
|
|
1719
|
-
name: z.ZodString;
|
|
1720
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1721
|
-
creditsTotal: z.ZodNumber;
|
|
1722
|
-
price: z.ZodObject<{
|
|
1723
|
-
amountCents: z.ZodNumber;
|
|
1724
|
-
currency: z.ZodString;
|
|
1725
|
-
}, z.core.$strict>;
|
|
1726
|
-
validDays: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1727
|
-
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
1728
|
-
productUseCase: z.ZodDefault<z.ZodEnum<{
|
|
1729
|
-
event_pass: "event_pass";
|
|
1730
|
-
appointment_package: "appointment_package";
|
|
1731
|
-
}>>;
|
|
1732
|
-
appointmentScope: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1733
|
-
mode: z.ZodLiteral<"all_services">;
|
|
1734
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1735
|
-
mode: z.ZodLiteral<"selected_services">;
|
|
1736
|
-
serviceRefs: z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<AppointmentServiceRef, string>>>>;
|
|
1737
|
-
}, z.core.$strict>], "mode">>;
|
|
1738
|
-
}, z.core.$strict>;
|
|
1739
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1740
|
-
type: z.ZodLiteral<"upsertBookingMembershipProduct">;
|
|
1741
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<MembershipProductRef, string>>;
|
|
1742
|
-
input: z.ZodObject<{
|
|
1743
|
-
membershipSlug: z.ZodString;
|
|
1744
|
-
name: z.ZodString;
|
|
1745
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1746
|
-
price: z.ZodObject<{
|
|
1747
|
-
amountCents: z.ZodNumber;
|
|
1748
|
-
currency: z.ZodString;
|
|
1749
|
-
}, z.core.$strict>;
|
|
1750
|
-
billingInterval: z.ZodEnum<{
|
|
1751
|
-
month: "month";
|
|
1752
|
-
year: "year";
|
|
1753
|
-
}>;
|
|
1754
|
-
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
1755
|
-
eventAllowance: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1756
|
-
kind: z.ZodLiteral<"unlimited">;
|
|
1757
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1758
|
-
kind: z.ZodLiteral<"credits_per_period">;
|
|
1759
|
-
credits: z.ZodNumber;
|
|
1760
|
-
}, z.core.$strict>], "kind">>;
|
|
1761
|
-
}, z.core.$strict>;
|
|
1762
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1763
|
-
type: z.ZodLiteral<"seedBookingCustomer">;
|
|
1764
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<BookingCustomerRef, string>>;
|
|
1765
|
-
input: z.ZodObject<{
|
|
1766
|
-
email: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
1767
|
-
name: z.ZodString;
|
|
1768
|
-
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1769
|
-
}, z.core.$strict>;
|
|
1770
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1771
|
-
type: z.ZodLiteral<"grantCustomerPass">;
|
|
1772
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<CustomerPassRef, string>>;
|
|
1773
|
-
input: z.ZodObject<{
|
|
1774
|
-
customerRef: z.ZodPipe<z.ZodString, z.ZodTransform<BookingCustomerRef, string>>;
|
|
1775
|
-
passRef: z.ZodPipe<z.ZodString, z.ZodTransform<PassProductRef, string>>;
|
|
1776
|
-
creditsRemaining: z.ZodOptional<z.ZodNumber>;
|
|
1777
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1778
|
-
status: z.ZodDefault<z.ZodEnum<{
|
|
1779
|
-
active: "active";
|
|
1780
|
-
expired: "expired";
|
|
1781
|
-
refunded: "refunded";
|
|
1782
|
-
exhausted: "exhausted";
|
|
1783
|
-
}>>;
|
|
1784
|
-
note: z.ZodOptional<z.ZodString>;
|
|
1785
|
-
}, z.core.$strict>;
|
|
1786
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1787
|
-
type: z.ZodLiteral<"grantCustomerMembership">;
|
|
1788
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<CustomerMembershipRef, string>>;
|
|
1789
|
-
input: z.ZodObject<{
|
|
1790
|
-
customerRef: z.ZodPipe<z.ZodString, z.ZodTransform<BookingCustomerRef, string>>;
|
|
1791
|
-
membershipRef: z.ZodPipe<z.ZodString, z.ZodTransform<MembershipProductRef, string>>;
|
|
1792
|
-
status: z.ZodDefault<z.ZodEnum<{
|
|
1793
|
-
active: "active";
|
|
1794
|
-
canceled: "canceled";
|
|
1795
|
-
trialing: "trialing";
|
|
1796
|
-
past_due: "past_due";
|
|
1797
|
-
paused: "paused";
|
|
1798
|
-
}>>;
|
|
1799
|
-
currentPeriodStart: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1800
|
-
currentPeriodEnd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1801
|
-
cancelAtPeriodEnd: z.ZodDefault<z.ZodBoolean>;
|
|
1802
|
-
note: z.ZodOptional<z.ZodString>;
|
|
1803
|
-
}, z.core.$strict>;
|
|
1804
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1805
|
-
type: z.ZodLiteral<"seedAppointmentBooking">;
|
|
1806
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<AppointmentBookingRef, string>>;
|
|
1807
|
-
input: z.ZodObject<{
|
|
1808
|
-
customerRef: z.ZodPipe<z.ZodString, z.ZodTransform<BookingCustomerRef, string>>;
|
|
1809
|
-
serviceRef: z.ZodPipe<z.ZodString, z.ZodTransform<AppointmentServiceRef, string>>;
|
|
1810
|
-
resourceRef: z.ZodPipe<z.ZodString, z.ZodTransform<AppointmentResourceRef, string>>;
|
|
1811
|
-
startAt: z.ZodString;
|
|
1812
|
-
endAt: z.ZodString;
|
|
1813
|
-
timezone: z.ZodString;
|
|
1814
|
-
status: z.ZodDefault<z.ZodEnum<{
|
|
1815
|
-
cancelled: "cancelled";
|
|
1816
|
-
pending: "pending";
|
|
1817
|
-
confirmed: "confirmed";
|
|
1818
|
-
no_show: "no_show";
|
|
1819
|
-
}>>;
|
|
1820
|
-
formSubmission: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1821
|
-
note: z.ZodOptional<z.ZodString>;
|
|
1822
|
-
}, z.core.$strict>;
|
|
1823
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1824
|
-
type: z.ZodLiteral<"seedCourseEnrollment">;
|
|
1825
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<CourseEnrollmentRef, string>>;
|
|
1826
|
-
input: z.ZodObject<{
|
|
1827
|
-
customerRef: z.ZodPipe<z.ZodString, z.ZodTransform<BookingCustomerRef, string>>;
|
|
1828
|
-
eventRef: z.ZodPipe<z.ZodString, z.ZodTransform<EventSeriesRef, string>>;
|
|
1829
|
-
status: z.ZodDefault<z.ZodEnum<{
|
|
1830
|
-
enrolled: "enrolled";
|
|
1831
|
-
}>>;
|
|
1832
|
-
paymentMethod: z.ZodDefault<z.ZodLiteral<"free">>;
|
|
1833
|
-
paymentStatus: z.ZodDefault<z.ZodLiteral<"not_required">>;
|
|
1834
|
-
formSubmission: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1835
|
-
note: z.ZodOptional<z.ZodString>;
|
|
1836
|
-
}, z.core.$strict>;
|
|
1837
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1838
|
-
type: z.ZodLiteral<"seedEventRegistration">;
|
|
1839
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<EventRegistrationRef, string>>;
|
|
1840
|
-
input: z.ZodObject<{
|
|
1841
|
-
customerRef: z.ZodPipe<z.ZodString, z.ZodTransform<BookingCustomerRef, string>>;
|
|
1842
|
-
eventRef: z.ZodPipe<z.ZodString, z.ZodTransform<EventSeriesRef, string>>;
|
|
1843
|
-
occurrenceIndex: z.ZodDefault<z.ZodNumber>;
|
|
1844
|
-
status: z.ZodDefault<z.ZodEnum<{
|
|
1845
|
-
confirmed: "confirmed";
|
|
1846
|
-
}>>;
|
|
1847
|
-
attendanceMode: z.ZodDefault<z.ZodEnum<{
|
|
1848
|
-
in_person: "in_person";
|
|
1849
|
-
online: "online";
|
|
1850
|
-
}>>;
|
|
1851
|
-
ticketsCount: z.ZodDefault<z.ZodNumber>;
|
|
1852
|
-
paymentMethod: z.ZodDefault<z.ZodLiteral<"free">>;
|
|
1853
|
-
paymentStatus: z.ZodDefault<z.ZodLiteral<"not_required">>;
|
|
1854
|
-
formSubmission: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1855
|
-
note: z.ZodOptional<z.ZodString>;
|
|
1856
|
-
}, z.core.$strict>;
|
|
1857
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1858
|
-
type: z.ZodLiteral<"seedPassRedemption">;
|
|
1859
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<PassRedemptionRef, string>>;
|
|
1860
|
-
input: z.ZodObject<{
|
|
1861
|
-
customerPassRef: z.ZodPipe<z.ZodString, z.ZodTransform<CustomerPassRef, string>>;
|
|
1862
|
-
subject: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1863
|
-
kind: z.ZodLiteral<"appointment">;
|
|
1864
|
-
appointmentRef: z.ZodPipe<z.ZodString, z.ZodTransform<AppointmentBookingRef, string>>;
|
|
1865
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1866
|
-
kind: z.ZodLiteral<"event_registration">;
|
|
1867
|
-
eventRegistrationRef: z.ZodPipe<z.ZodString, z.ZodTransform<EventRegistrationRef, string>>;
|
|
1868
|
-
}, z.core.$strict>], "kind">;
|
|
1869
|
-
}, z.core.$strict>;
|
|
1870
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1871
|
-
type: z.ZodLiteral<"seedPortalOrder">;
|
|
1872
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<OrderRef, string>>;
|
|
1873
|
-
input: z.ZodObject<{
|
|
1874
|
-
customerRef: z.ZodPipe<z.ZodString, z.ZodTransform<BookingCustomerRef, string>>;
|
|
1875
|
-
subject: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1876
|
-
kind: z.ZodLiteral<"event_registration">;
|
|
1877
|
-
eventRegistrationRef: z.ZodPipe<z.ZodString, z.ZodTransform<EventRegistrationRef, string>>;
|
|
1878
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1879
|
-
kind: z.ZodLiteral<"course_enrollment">;
|
|
1880
|
-
courseEnrollmentRef: z.ZodPipe<z.ZodString, z.ZodTransform<CourseEnrollmentRef, string>>;
|
|
1881
|
-
}, z.core.$strict>], "kind">;
|
|
1882
|
-
paymentMethod: z.ZodEnum<{
|
|
1883
|
-
free: "free";
|
|
1884
|
-
membership_access: "membership_access";
|
|
1885
|
-
}>;
|
|
1886
|
-
subtotalCents: z.ZodNumber;
|
|
1887
|
-
currency: z.ZodString;
|
|
1888
|
-
}, z.core.$strict>;
|
|
1889
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1890
|
-
type: z.ZodLiteral<"upsertAppointmentService">;
|
|
1891
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<AppointmentServiceRef, string>>;
|
|
1892
|
-
input: z.ZodUnion<readonly [z.ZodObject<{
|
|
1893
|
-
priceAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1894
|
-
payment: z.ZodDefault<z.ZodObject<{
|
|
1895
|
-
mode: z.ZodLiteral<"manual_request">;
|
|
1896
|
-
}, z.core.$strict>>;
|
|
1897
|
-
title: z.ZodString;
|
|
1898
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1899
|
-
durationMinutes: z.ZodNumber;
|
|
1900
|
-
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
1901
|
-
locationType: z.ZodDefault<z.ZodEnum<{
|
|
1902
|
-
virtual: "virtual";
|
|
1903
|
-
in_person: "in_person";
|
|
1904
|
-
hybrid: "hybrid";
|
|
1905
|
-
}>>;
|
|
1906
|
-
timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1907
|
-
buffers: z.ZodOptional<z.ZodObject<{
|
|
1908
|
-
beforeMinutes: z.ZodDefault<z.ZodNumber>;
|
|
1909
|
-
afterMinutes: z.ZodDefault<z.ZodNumber>;
|
|
1910
|
-
}, z.core.$strict>>;
|
|
1911
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1912
|
-
priceAmount: z.ZodOptional<z.ZodNull>;
|
|
1913
|
-
payment: z.ZodObject<{
|
|
1914
|
-
mode: z.ZodLiteral<"free">;
|
|
1915
|
-
}, z.core.$strict>;
|
|
1916
|
-
title: z.ZodString;
|
|
1917
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1918
|
-
durationMinutes: z.ZodNumber;
|
|
1919
|
-
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
1920
|
-
locationType: z.ZodDefault<z.ZodEnum<{
|
|
1921
|
-
virtual: "virtual";
|
|
1922
|
-
in_person: "in_person";
|
|
1923
|
-
hybrid: "hybrid";
|
|
1924
|
-
}>>;
|
|
1925
|
-
timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1926
|
-
buffers: z.ZodOptional<z.ZodObject<{
|
|
1927
|
-
beforeMinutes: z.ZodDefault<z.ZodNumber>;
|
|
1928
|
-
afterMinutes: z.ZodDefault<z.ZodNumber>;
|
|
1929
|
-
}, z.core.$strict>>;
|
|
1930
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1931
|
-
priceAmount: z.ZodNumber;
|
|
1932
|
-
payment: z.ZodObject<{
|
|
1933
|
-
mode: z.ZodLiteral<"paid_online_intent">;
|
|
1934
|
-
}, z.core.$strict>;
|
|
1935
|
-
title: z.ZodString;
|
|
1936
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1937
|
-
durationMinutes: z.ZodNumber;
|
|
1938
|
-
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
1939
|
-
locationType: z.ZodDefault<z.ZodEnum<{
|
|
1940
|
-
virtual: "virtual";
|
|
1941
|
-
in_person: "in_person";
|
|
1942
|
-
hybrid: "hybrid";
|
|
1943
|
-
}>>;
|
|
1944
|
-
timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1945
|
-
buffers: z.ZodOptional<z.ZodObject<{
|
|
1946
|
-
beforeMinutes: z.ZodDefault<z.ZodNumber>;
|
|
1947
|
-
afterMinutes: z.ZodDefault<z.ZodNumber>;
|
|
1948
|
-
}, z.core.$strict>>;
|
|
1949
|
-
}, z.core.$strict>]>;
|
|
1950
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1951
|
-
type: z.ZodLiteral<"upsertBookableResource">;
|
|
1952
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<AppointmentResourceRef, string>>;
|
|
1953
|
-
input: z.ZodObject<{
|
|
1954
|
-
displayName: z.ZodString;
|
|
1955
|
-
bio: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1956
|
-
timezone: z.ZodString;
|
|
1957
|
-
colorHex: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1958
|
-
kind: z.ZodDefault<z.ZodLiteral<"practitioner">>;
|
|
1959
|
-
capacity: z.ZodDefault<z.ZodLiteral<1>>;
|
|
1960
|
-
publicVisibility: z.ZodDefault<z.ZodLiteral<"visible">>;
|
|
1961
|
-
}, z.core.$strict>;
|
|
1962
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1963
|
-
type: z.ZodLiteral<"assignAppointmentServiceResources">;
|
|
1964
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<CommandRef, string>>;
|
|
1965
|
-
input: z.ZodObject<{
|
|
1966
|
-
serviceRef: z.ZodPipe<z.ZodString, z.ZodTransform<AppointmentServiceRef, string>>;
|
|
1967
|
-
resourceRefs: z.ZodReadonly<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<AppointmentResourceRef, string>>>>;
|
|
1968
|
-
}, z.core.$strict>;
|
|
1969
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1970
|
-
type: z.ZodLiteral<"configureAppointmentAvailability">;
|
|
1971
|
-
ref: z.ZodPipe<z.ZodString, z.ZodTransform<import("./refs").AppointmentAvailabilityRef, string>>;
|
|
1972
|
-
input: z.ZodObject<{
|
|
1973
|
-
resourceRef: z.ZodPipe<z.ZodString, z.ZodTransform<AppointmentResourceRef, string>>;
|
|
1974
|
-
serviceRef: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<AppointmentServiceRef, string>>>>;
|
|
1975
|
-
timezone: z.ZodString;
|
|
1976
|
-
replaceScope: z.ZodDefault<z.ZodLiteral<"schedule">>;
|
|
1977
|
-
windows: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1978
|
-
weekday: z.ZodNumber;
|
|
1979
|
-
startTime: z.ZodString;
|
|
1980
|
-
endTime: z.ZodString;
|
|
1981
|
-
}, z.core.$strict>>>;
|
|
1982
|
-
}, z.core.$strict>;
|
|
1983
|
-
}, z.core.$strict>], "type">;
|