@noodleseed/one 0.162.0 → 0.164.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/banner.d.ts +6 -0
- package/dist/banner.d.ts.map +1 -0
- package/dist/banner.js +29 -0
- package/dist/banner.js.map +1 -0
- package/dist/commands/billing-catalog-ops.d.ts +4 -0
- package/dist/commands/billing-catalog-ops.d.ts.map +1 -0
- package/dist/commands/billing-catalog-ops.js +58 -0
- package/dist/commands/billing-catalog-ops.js.map +1 -0
- package/dist/commands/billing-ops.d.ts.map +1 -1
- package/dist/commands/billing-ops.js +3 -0
- package/dist/commands/billing-ops.js.map +1 -1
- package/dist/commands/catalog.d.ts.map +1 -1
- package/dist/commands/catalog.js +2 -0
- package/dist/commands/catalog.js.map +1 -1
- package/dist/commands/config-values.d.ts.map +1 -1
- package/dist/commands/config-values.js +16 -0
- package/dist/commands/config-values.js.map +1 -1
- package/dist/commands/installation-variables.d.ts +26 -0
- package/dist/commands/installation-variables.d.ts.map +1 -0
- package/dist/commands/installation-variables.js +171 -0
- package/dist/commands/installation-variables.js.map +1 -0
- package/dist/commands/project-setup.d.ts.map +1 -1
- package/dist/commands/project-setup.js +2 -0
- package/dist/commands/project-setup.js.map +1 -1
- package/dist/commands/solutions-activity.d.ts +5 -0
- package/dist/commands/solutions-activity.d.ts.map +1 -0
- package/dist/commands/solutions-activity.js +116 -0
- package/dist/commands/solutions-activity.js.map +1 -0
- package/dist/commands/solutions-connections.d.ts +7 -0
- package/dist/commands/solutions-connections.d.ts.map +1 -0
- package/dist/commands/solutions-connections.js +88 -0
- package/dist/commands/solutions-connections.js.map +1 -0
- package/dist/commands/solutions-installation-options.d.ts +5 -0
- package/dist/commands/solutions-installation-options.d.ts.map +1 -0
- package/dist/commands/solutions-installation-options.js +52 -0
- package/dist/commands/solutions-installation-options.js.map +1 -0
- package/dist/commands/solutions-onboarding.d.ts +5 -0
- package/dist/commands/solutions-onboarding.d.ts.map +1 -0
- package/dist/commands/solutions-onboarding.js +113 -0
- package/dist/commands/solutions-onboarding.js.map +1 -0
- package/dist/commands/solutions-ops.d.ts.map +1 -1
- package/dist/commands/solutions-ops.js +278 -17
- package/dist/commands/solutions-ops.js.map +1 -1
- package/dist/first-run.d.ts.map +1 -1
- package/dist/first-run.js +2 -0
- package/dist/first-run.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/node_modules/@noodle-borg/admission-limits/dist/counter-store.d.ts +21 -2
- package/node_modules/@noodle-borg/admission-limits/dist/counter-store.js +10 -1
- package/node_modules/@noodle-borg/admission-limits/dist/in-memory-counter-store.d.ts +5 -1
- package/node_modules/@noodle-borg/admission-limits/dist/in-memory-counter-store.js +31 -2
- package/node_modules/@noodle-borg/admission-limits/dist/portable.d.ts +3 -0
- package/node_modules/@noodle-borg/admission-limits/dist/portable.js +3 -0
- package/node_modules/@noodle-borg/admission-limits/dist/public-admission-assertion.d.ts +28 -0
- package/node_modules/@noodle-borg/admission-limits/dist/public-admission-assertion.js +124 -0
- package/node_modules/@noodle-borg/admission-limits/dist/public-record-admission.d.ts +54 -0
- package/node_modules/@noodle-borg/admission-limits/dist/public-record-admission.js +74 -0
- package/node_modules/@noodle-borg/admission-limits/dist/request-attribution.d.ts +11 -0
- package/node_modules/@noodle-borg/admission-limits/dist/request-attribution.js +19 -0
- package/node_modules/@noodle-borg/agent-kit/dist/curated/error-fixes.js +2 -0
- package/node_modules/@noodle-borg/agent-kit/dist/generated/example-files.js +5 -5
- package/node_modules/@noodle-borg/agent-kit/dist/generated/surface.js +3 -0
- package/node_modules/@noodle-borg/agent-kit/dist/index.d.ts +1 -0
- package/node_modules/@noodle-borg/agent-kit/dist/index.js +1 -0
- package/node_modules/@noodle-borg/agent-kit/dist/plugin-bootstrap-skill.js +10 -0
- package/node_modules/@noodle-borg/agent-kit/dist/skill-authoring-refs.js +15 -3
- package/node_modules/@noodle-borg/agent-kit/dist/skill-content.js +1 -1
- package/node_modules/@noodle-borg/agent-kit/dist/welcome-wordmark.d.ts +3 -0
- package/node_modules/@noodle-borg/agent-kit/dist/welcome-wordmark.js +10 -0
- package/node_modules/@noodle-borg/agent-kit/package.json +1 -1
- package/node_modules/@noodle-borg/assistant-gateway/dist/assistant-configuration.d.ts +9 -1
- package/node_modules/@noodle-borg/assistant-gateway/dist/assistant-configuration.js +33 -2
- package/node_modules/@noodle-borg/assistant-gateway/dist/assistant-execution-bound.d.ts +3 -0
- package/node_modules/@noodle-borg/assistant-gateway/dist/assistant-execution-bound.js +29 -0
- package/node_modules/@noodle-borg/assistant-gateway/dist/assistant-interaction-state.d.ts +5 -3
- package/node_modules/@noodle-borg/assistant-gateway/dist/assistant-interaction-state.js +21 -10
- package/node_modules/@noodle-borg/assistant-gateway/dist/assistant-store.d.ts +1 -1
- package/node_modules/@noodle-borg/assistant-gateway/dist/assistant-store.js +3 -3
- package/node_modules/@noodle-borg/assistant-gateway/dist/portable.d.ts +1 -0
- package/node_modules/@noodle-borg/assistant-gateway/dist/portable.js +1 -0
- package/node_modules/@noodle-borg/assistant-gateway/dist/session-target.js +5 -4
- package/node_modules/@noodle-borg/assistant-gateway/package.json +1 -1
- package/node_modules/@noodle-borg/authoring/dist/config.d.ts +20 -0
- package/node_modules/@noodle-borg/authoring/dist/config.js +29 -2
- package/node_modules/@noodle-borg/authoring/dist/connectors.d.ts +6 -1
- package/node_modules/@noodle-borg/authoring/dist/connectors.js +5 -0
- package/node_modules/@noodle-borg/authoring/dist/index.d.ts +2 -2
- package/node_modules/@noodle-borg/authoring/dist/json-schema.d.ts +1 -1
- package/node_modules/@noodle-borg/authoring/dist/json-schema.js +15 -2
- package/node_modules/@noodle-borg/authoring/dist/load-authored.js +1 -1
- package/node_modules/@noodle-borg/authoring/dist/managed-collection.d.ts +18 -4
- package/node_modules/@noodle-borg/authoring/dist/managed-collection.js +22 -3
- package/node_modules/@noodle-borg/authoring/dist/platform.d.ts +3 -0
- package/node_modules/@noodle-borg/authoring/dist/platform.js +4 -0
- package/node_modules/@noodle-borg/authoring/dist/server-presentation.js +43 -0
- package/node_modules/@noodle-borg/authoring/dist/server.d.ts +3 -1
- package/node_modules/@noodle-borg/authoring/dist/server.js +4 -44
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-billing.js +18 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-config.js +31 -4
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-solutions.js +778 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-data-tenant-resources.js +0 -241
- package/node_modules/@noodle-borg/cli-catalog/dist/catalog-types.js +7 -0
- package/node_modules/@noodle-borg/cli-catalog/dist/index.js +20 -0
- package/node_modules/@noodle-borg/compiler/dist/artifact/assemble.js +2 -1
- package/node_modules/@noodle-borg/compiler/dist/artifact/catalog-emission.js +3 -1
- package/node_modules/@noodle-borg/compiler/dist/artifact/config.js +3 -0
- package/node_modules/@noodle-borg/compiler/dist/artifact/types.d.ts +17 -1
- package/node_modules/@noodle-borg/compiler/dist/artifact/version.d.ts +6 -1
- package/node_modules/@noodle-borg/compiler/dist/artifact/version.js +6 -1
- package/node_modules/@noodle-borg/compiler/dist/business-variables.d.ts +27 -0
- package/node_modules/@noodle-borg/compiler/dist/business-variables.js +230 -0
- package/node_modules/@noodle-borg/compiler/dist/compile.js +7 -1
- package/node_modules/@noodle-borg/compiler/dist/errors.d.ts +1 -1
- package/node_modules/@noodle-borg/compiler/dist/index.d.ts +3 -0
- package/node_modules/@noodle-borg/compiler/dist/index.js +3 -0
- package/node_modules/@noodle-borg/compiler/dist/managed-collection-controls.d.ts +52 -0
- package/node_modules/@noodle-borg/compiler/dist/managed-collection-controls.js +92 -0
- package/node_modules/@noodle-borg/compiler/dist/managed-collections.d.ts +26 -1
- package/node_modules/@noodle-borg/compiler/dist/managed-collections.js +190 -1
- package/node_modules/@noodle-borg/compiler/dist/manifest/schema.d.ts +100 -36
- package/node_modules/@noodle-borg/compiler/dist/manifest/schema.js +2 -0
- package/node_modules/@noodle-borg/compiler/dist/native-record-operations.d.ts +7 -0
- package/node_modules/@noodle-borg/compiler/dist/native-record-operations.js +59 -0
- package/node_modules/@noodle-borg/connector-defs/dist/compile-http.js +83 -8
- package/node_modules/@noodle-borg/connector-defs/dist/schema.d.ts +31 -1
- package/node_modules/@noodle-borg/connector-defs/dist/schema.js +16 -0
- package/node_modules/@noodle-borg/connector-http/dist/http-connector.d.ts +12 -3
- package/node_modules/@noodle-borg/connector-http/dist/http-connector.js +41 -2
- package/node_modules/@noodle-borg/connector-http/dist/http-response.js +3 -2
- package/node_modules/@noodle-borg/connector-http/dist/mcp/config.js +1 -1
- package/node_modules/@noodle-borg/connector-http/dist/url-resolution.js +1 -1
- package/node_modules/@noodle-borg/control-plane/dist/contracts.d.ts +4 -1
- package/node_modules/@noodle-borg/control-plane/dist/deploy-gates.js +1 -0
- package/node_modules/@noodle-borg/control-plane/dist/in-memory-organization-store.d.ts +3 -0
- package/node_modules/@noodle-borg/control-plane/dist/in-memory-organization-store.js +11 -0
- package/node_modules/@noodle-borg/control-plane/dist/organization-agreements.d.ts +45 -0
- package/node_modules/@noodle-borg/control-plane/dist/organization-agreements.js +74 -0
- package/node_modules/@noodle-borg/control-plane/dist/portable.d.ts +1 -0
- package/node_modules/@noodle-borg/control-plane/dist/portable.js +1 -0
- package/node_modules/@noodle-borg/module/dist/contract.d.ts +22 -0
- package/node_modules/@noodle-borg/module/dist/platform-human-identity.d.ts +2 -0
- package/node_modules/@noodle-borg/protocol/dist/request-deps.js +1 -0
- package/node_modules/@noodle-borg/protocol/dist/request-state.d.ts +1 -0
- package/node_modules/@noodle-borg/protocol/dist/request-state.js +11 -2
- package/node_modules/@noodle-borg/protocol/dist/sdk-server.d.ts +2 -0
- package/node_modules/@noodle-borg/protocol/dist/v2/input-required.js +2 -1
- package/node_modules/@noodle-borg/protocol/dist/v2/server.js +2 -1
- package/node_modules/@noodle-borg/runtime/dist/ambient-context.js +6 -1
- package/node_modules/@noodle-borg/runtime/dist/broker/types.d.ts +2 -0
- package/node_modules/@noodle-borg/runtime/dist/business-variables.d.ts +15 -0
- package/node_modules/@noodle-borg/runtime/dist/business-variables.js +75 -0
- package/node_modules/@noodle-borg/runtime/dist/confirmation-continuation.js +2 -1
- package/node_modules/@noodle-borg/runtime/dist/confirmation.js +23 -3
- package/node_modules/@noodle-borg/runtime/dist/connector/types.d.ts +17 -1
- package/node_modules/@noodle-borg/runtime/dist/connector-snapshot.js +6 -0
- package/node_modules/@noodle-borg/runtime/dist/execute.d.ts +18 -3
- package/node_modules/@noodle-borg/runtime/dist/execute.js +13 -3
- package/node_modules/@noodle-borg/runtime/dist/index.d.ts +2 -0
- package/node_modules/@noodle-borg/runtime/dist/index.js +1 -0
- package/node_modules/@noodle-borg/runtime/dist/interactive.js +11 -0
- package/node_modules/@noodle-borg/runtime/dist/managed-origins.d.ts +3 -1
- package/node_modules/@noodle-borg/runtime/dist/managed-origins.js +32 -7
- package/node_modules/@noodle-borg/runtime/dist/operation-credential.js +6 -0
- package/node_modules/@noodle-borg/runtime/dist/operation-evidence.d.ts +30 -0
- package/node_modules/@noodle-borg/runtime/dist/operation-evidence.js +68 -0
- package/node_modules/@noodle-borg/runtime/dist/operation-execution.d.ts +2 -2
- package/node_modules/@noodle-borg/runtime/dist/operation-execution.js +142 -71
- package/node_modules/@noodle-borg/runtime/dist/result.d.ts +6 -4
- package/node_modules/@noodle-borg/runtime/dist/tool-dispatch.d.ts +7 -0
- package/node_modules/@noodle-borg/runtime/dist/tool-dispatch.js +48 -4
- package/node_modules/@noodle-borg/service/dist/admission.js +2 -1
- package/node_modules/@noodle-borg/service/dist/application-activity.js +236 -0
- package/node_modules/@noodle-borg/service/dist/application-business-notice.js +28 -0
- package/node_modules/@noodle-borg/service/dist/application-runtime-target.js +141 -0
- package/node_modules/@noodle-borg/service/dist/application-settings-targets.js +72 -0
- package/node_modules/@noodle-borg/service/dist/application-settings.js +210 -0
- package/node_modules/@noodle-borg/service/dist/business-api-admission.js +121 -0
- package/node_modules/@noodle-borg/service/dist/business-information/activity-pagination.js +73 -0
- package/node_modules/@noodle-borg/service/dist/business-information/business-notice.d.ts +24 -0
- package/node_modules/@noodle-borg/service/dist/business-information/business-notice.js +18 -0
- package/node_modules/@noodle-borg/service/dist/business-information/collection-controls.js +51 -0
- package/node_modules/@noodle-borg/service/dist/business-information/contracts.d.ts +439 -0
- package/node_modules/@noodle-borg/service/dist/business-information/definition-resolver.js +94 -0
- package/node_modules/@noodle-borg/service/dist/business-information/in-memory-installation-lifecycle.js +136 -0
- package/node_modules/@noodle-borg/service/dist/business-information/in-memory-invitations.js +160 -0
- package/node_modules/@noodle-borg/service/dist/business-information/in-memory-locks.js +23 -0
- package/node_modules/@noodle-borg/service/dist/business-information/in-memory-store.js +287 -132
- package/node_modules/@noodle-borg/service/dist/business-information/installation-capacity.js +10 -0
- package/node_modules/@noodle-borg/service/dist/business-information/invitations.js +68 -0
- package/node_modules/@noodle-borg/service/dist/business-information/legacy-request-migration.js +60 -0
- package/node_modules/@noodle-borg/service/dist/business-information/managed-releases.js +245 -0
- package/node_modules/@noodle-borg/service/dist/business-information/managed-solution-blueprints.js +51 -0
- package/node_modules/@noodle-borg/service/dist/business-information/managed-solution-executable.js +76 -0
- package/node_modules/@noodle-borg/service/dist/business-information/model.js +124 -23
- package/node_modules/@noodle-borg/service/dist/business-information/native-query.js +162 -0
- package/node_modules/@noodle-borg/service/dist/business-information/native-storage-budget.js +60 -0
- package/node_modules/@noodle-borg/service/dist/business-information/pagination.js +28 -0
- package/node_modules/@noodle-borg/service/dist/business-information/portable.js +9 -0
- package/node_modules/@noodle-borg/service/dist/business-information/principal-authority.d.ts +11 -0
- package/node_modules/@noodle-borg/service/dist/business-information/principal-authority.js +42 -0
- package/node_modules/@noodle-borg/service/dist/business-information/profiles.js +137 -6
- package/node_modules/@noodle-borg/service/dist/business-information/reader-floor.js +26 -0
- package/node_modules/@noodle-borg/service/dist/business-information/source-credential-fence.js +79 -0
- package/node_modules/@noodle-borg/service/dist/business-information/source-custody-budget.js +30 -0
- package/node_modules/@noodle-borg/service/dist/business-information/source-custody-memory.js +122 -0
- package/node_modules/@noodle-borg/service/dist/business-information/source-executor.js +191 -0
- package/node_modules/@noodle-borg/service/dist/business-information/source-ingestion-contracts.js +2 -0
- package/node_modules/@noodle-borg/service/dist/business-information/source-ingestion-coordinator.js +136 -0
- package/node_modules/@noodle-borg/service/dist/business-information/source-ingestion-failures.js +32 -0
- package/node_modules/@noodle-borg/service/dist/business-information/source-ingestion-memory-state.js +154 -0
- package/node_modules/@noodle-borg/service/dist/business-information/source-ingestion-memory-store.js +568 -0
- package/node_modules/@noodle-borg/service/dist/business-information/source-ingestion-memory-types.js +26 -0
- package/node_modules/@noodle-borg/service/dist/business-information/source-ingestion-memory-values.js +59 -0
- package/node_modules/@noodle-borg/service/dist/business-information/source-ingestion-pagination.js +54 -0
- package/node_modules/@noodle-borg/service/dist/business-information/source-ingestion-validation.js +163 -0
- package/node_modules/@noodle-borg/service/dist/business-information/source-refresh-retention.js +29 -0
- package/node_modules/@noodle-borg/service/dist/business-information-runtime.js +80 -0
- package/node_modules/@noodle-borg/service/dist/business-onboarding.js +73 -0
- package/node_modules/@noodle-borg/service/dist/connections/types.js +8 -0
- package/node_modules/@noodle-borg/service/dist/credential-binding-index.js +38 -33
- package/node_modules/@noodle-borg/service/dist/deployment-execution.js +275 -0
- package/node_modules/@noodle-borg/service/dist/external-credential-binding-broker.js +19 -1
- package/node_modules/@noodle-borg/service/dist/external-credential-exchange.d.ts +16 -1
- package/node_modules/@noodle-borg/service/dist/modules/host.js +4 -1
- package/node_modules/@noodle-borg/service/dist/native-record-connector.d.ts +20 -0
- package/node_modules/@noodle-borg/service/dist/native-record-connector.js +206 -0
- package/node_modules/@noodle-borg/service/dist/oauth/store.d.ts +3 -0
- package/node_modules/@noodle-borg/service/dist/operation-evidence.js +89 -0
- package/node_modules/@noodle-borg/service/dist/recovery-quarantine.js +49 -0
- package/node_modules/@noodle-borg/service/dist/registry-compile.js +60 -11
- package/node_modules/@noodle-borg/service/dist/registry-deploy-transaction.js +18 -0
- package/node_modules/@noodle-borg/service/dist/registry-rollback.js +2 -1
- package/node_modules/@noodle-borg/service/dist/registry-state.d.ts +1 -1
- package/node_modules/@noodle-borg/service/dist/registry-state.js +6 -3
- package/node_modules/@noodle-borg/service/dist/registry-targets.js +49 -0
- package/node_modules/@noodle-borg/service/dist/registry-types.d.ts +2 -0
- package/node_modules/@noodle-borg/service/dist/registry.d.ts +15 -3
- package/node_modules/@noodle-borg/service/dist/registry.js +177 -137
- package/node_modules/@noodle-borg/service/dist/routes/assistant-appearance.js +3 -2
- package/node_modules/@noodle-borg/service/dist/routes/assistant-clients.js +2 -1
- package/node_modules/@noodle-borg/service/dist/routes/assistant-doctor.js +2 -1
- package/node_modules/@noodle-borg/service/dist/routes/assistant-embeds.js +8 -3
- package/node_modules/@noodle-borg/service/dist/routes/assistant-interaction-replay.js +1 -1
- package/node_modules/@noodle-borg/service/dist/routes/assistant-interactions.js +48 -36
- package/node_modules/@noodle-borg/service/dist/routes/assistant-public-configuration.js +3 -2
- package/node_modules/@noodle-borg/service/dist/routes/assistant-public-session.js +10 -10
- package/node_modules/@noodle-borg/service/dist/routes/assistant-session-target.js +32 -3
- package/node_modules/@noodle-borg/service/dist/routes/assistant-suggestions.js +1 -1
- package/node_modules/@noodle-borg/service/dist/routes/assistant-transcript.js +1 -1
- package/node_modules/@noodle-borg/service/dist/routes/assistant.js +10 -10
- package/node_modules/@noodle-borg/service/dist/routes/business-information-activity.js +83 -0
- package/node_modules/@noodle-borg/service/dist/routes/business-information-admission.js +26 -0
- package/node_modules/@noodle-borg/service/dist/routes/business-information-channels.js +153 -0
- package/node_modules/@noodle-borg/service/dist/routes/business-information-connections.js +107 -0
- package/node_modules/@noodle-borg/service/dist/routes/business-information-dispatch.js +87 -4
- package/node_modules/@noodle-borg/service/dist/routes/business-information-external.js +79 -0
- package/node_modules/@noodle-borg/service/dist/routes/business-information-installation.js +24 -0
- package/node_modules/@noodle-borg/service/dist/routes/business-information-notice.js +69 -0
- package/node_modules/@noodle-borg/service/dist/routes/business-information-onboarding.js +58 -0
- package/node_modules/@noodle-borg/service/dist/routes/business-information-paths.js +76 -0
- package/node_modules/@noodle-borg/service/dist/routes/business-information-public.js +151 -0
- package/node_modules/@noodle-borg/service/dist/routes/business-information-reader-floor.js +15 -0
- package/node_modules/@noodle-borg/service/dist/routes/business-information-record-create.js +29 -0
- package/node_modules/@noodle-borg/service/dist/routes/business-information-record-reads.js +36 -0
- package/node_modules/@noodle-borg/service/dist/routes/business-information-request.js +64 -0
- package/node_modules/@noodle-borg/service/dist/routes/business-information-settings.js +64 -0
- package/node_modules/@noodle-borg/service/dist/routes/business-information-source.js +249 -0
- package/node_modules/@noodle-borg/service/dist/routes/business-information-staff.js +258 -0
- package/node_modules/@noodle-borg/service/dist/routes/business-information-wire.js +226 -26
- package/node_modules/@noodle-borg/service/dist/routes/business-information.js +238 -197
- package/node_modules/@noodle-borg/service/dist/routes/config-values-dispatch.js +1 -1
- package/node_modules/@noodle-borg/service/dist/routes/config-values.js +26 -4
- package/node_modules/@noodle-borg/service/dist/routes/control-plane.js +33 -234
- package/node_modules/@noodle-borg/service/dist/routes/deployment-activation-response.js +13 -4
- package/node_modules/@noodle-borg/service/dist/service-resource-cleanup.js +4 -0
- package/node_modules/@noodle-borg/service/dist/service.js +57 -11
- package/node_modules/@noodle-borg/service/dist/solution-installation-activation.js +149 -0
- package/node_modules/@noodle-borg/service/dist/source-configuration-authority.js +94 -0
- package/node_modules/@noodle-borg/service/dist/state-catalog.js +6 -5
- package/node_modules/@noodle-borg/service/dist/store/config-values.d.ts +42 -17
- package/node_modules/@noodle-borg/service/dist/store/config-values.js +123 -24
- package/node_modules/@noodle-borg/service/dist/store/in-memory.d.ts +1 -0
- package/node_modules/@noodle-borg/service/dist/store/in-memory.js +3 -0
- package/node_modules/@noodle-borg/service/dist/store/json-file.d.ts +1 -0
- package/node_modules/@noodle-borg/service/dist/store/json-file.js +3 -0
- package/node_modules/@noodle-borg/service/dist/store.d.ts +3 -1
- package/node_modules/@noodle-borg/service/package.json +2 -2
- package/node_modules/@noodle-borg/transport-http/dist/serve-request.js +9 -0
- package/node_modules/@noodle-borg/transport-http/package.json +1 -0
- package/node_modules/@noodle-borg/wire-contracts/dist/application-activity.d.ts +143 -0
- package/node_modules/@noodle-borg/wire-contracts/dist/application-activity.js +90 -0
- package/node_modules/@noodle-borg/wire-contracts/dist/application-channels.d.ts +130 -0
- package/node_modules/@noodle-borg/wire-contracts/dist/application-channels.js +77 -0
- package/node_modules/@noodle-borg/wire-contracts/dist/application-connections.d.ts +105 -0
- package/node_modules/@noodle-borg/wire-contracts/dist/application-connections.js +67 -0
- package/node_modules/@noodle-borg/wire-contracts/dist/application-onboarding.d.ts +27 -0
- package/node_modules/@noodle-borg/wire-contracts/dist/application-onboarding.js +28 -0
- package/node_modules/@noodle-borg/wire-contracts/dist/application-settings.d.ts +112 -0
- package/node_modules/@noodle-borg/wire-contracts/dist/application-settings.js +88 -0
- package/node_modules/@noodle-borg/wire-contracts/dist/assistant.d.ts +1 -1
- package/node_modules/@noodle-borg/wire-contracts/dist/billing-catalog.d.ts +62 -0
- package/node_modules/@noodle-borg/wire-contracts/dist/billing-catalog.js +57 -0
- package/node_modules/@noodle-borg/wire-contracts/dist/billing-enforcement.d.ts +12 -12
- package/node_modules/@noodle-borg/wire-contracts/dist/billing-metering.d.ts +4 -4
- package/node_modules/@noodle-borg/wire-contracts/dist/billing-org-transfer.d.ts +3 -3
- package/node_modules/@noodle-borg/wire-contracts/dist/business-information-query.d.ts +25 -0
- package/node_modules/@noodle-borg/wire-contracts/dist/business-information-query.js +37 -0
- package/node_modules/@noodle-borg/wire-contracts/dist/business-information.d.ts +1816 -158
- package/node_modules/@noodle-borg/wire-contracts/dist/business-information.js +416 -41
- package/node_modules/@noodle-borg/wire-contracts/dist/control-plane.d.ts +2 -2
- package/node_modules/@noodle-borg/wire-contracts/dist/distribution.d.ts +5 -5
- package/node_modules/@noodle-borg/wire-contracts/dist/index.d.ts +8 -0
- package/node_modules/@noodle-borg/wire-contracts/dist/index.js +8 -0
- package/node_modules/@noodle-borg/wire-contracts/dist/knowledge.d.ts +3 -3
- package/node_modules/@noodle-borg/wire-contracts/dist/managed-assistant-sponsorship.d.ts +7 -7
- package/node_modules/@noodle-borg/wire-contracts/dist/platform-account-reset.d.ts +5 -0
- package/node_modules/@noodle-borg/wire-contracts/dist/platform-account-reset.js +1 -0
- package/node_modules/@noodle-borg/wire-contracts/dist/platform-auth.d.ts +66 -66
- package/node_modules/@noodle-borg/wire-contracts/dist/solution-onboarding.d.ts +143 -0
- package/node_modules/@noodle-borg/wire-contracts/dist/solution-onboarding.js +94 -0
- package/node_modules/@noodleseed/assistant/README.md +5 -0
- package/node_modules/@noodleseed/assistant/package.json +1 -1
- package/package.json +2 -2
|
@@ -1,16 +1,30 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
/** Public
|
|
3
|
-
export declare const
|
|
4
|
-
export declare const
|
|
2
|
+
/** Public Noodle-authored profiles. B2B SaaS uses the private-definition path. */
|
|
3
|
+
export declare const MANAGED_SOLUTION_PROFILE_IDS: readonly ["travel", "ecommerce", "restaurant"];
|
|
4
|
+
export declare const LEGACY_SOLUTION_PROFILE_IDS: readonly ["b2b_saas"];
|
|
5
|
+
export declare const SOLUTION_PROFILE_IDS: readonly ["travel", "ecommerce", "restaurant", "b2b_saas"];
|
|
6
|
+
export declare const ManagedSolutionProfileIdSchema: z.ZodEnum<{
|
|
5
7
|
travel: "travel";
|
|
8
|
+
ecommerce: "ecommerce";
|
|
9
|
+
restaurant: "restaurant";
|
|
10
|
+
}>;
|
|
11
|
+
export declare const LegacySolutionProfileIdSchema: z.ZodEnum<{
|
|
6
12
|
b2b_saas: "b2b_saas";
|
|
13
|
+
}>;
|
|
14
|
+
/** Read compatibility for persisted identifiers; never use this schema for new catalog entries. */
|
|
15
|
+
export declare const SolutionProfileIdSchema: z.ZodEnum<{
|
|
16
|
+
travel: "travel";
|
|
7
17
|
ecommerce: "ecommerce";
|
|
8
18
|
restaurant: "restaurant";
|
|
19
|
+
b2b_saas: "b2b_saas";
|
|
9
20
|
}>;
|
|
21
|
+
export type ManagedSolutionProfileId = z.infer<typeof ManagedSolutionProfileIdSchema>;
|
|
22
|
+
export type LegacySolutionProfileId = z.infer<typeof LegacySolutionProfileIdSchema>;
|
|
10
23
|
export type SolutionProfileId = z.infer<typeof SolutionProfileIdSchema>;
|
|
11
24
|
export declare const MANAGED_RECORD_RETENTION_DAYS: readonly [7, 30, 90];
|
|
12
25
|
export declare const ManagedRecordRetentionDaysSchema: z.ZodUnion<readonly [z.ZodLiteral<7>, z.ZodLiteral<30>, z.ZodLiteral<90>]>;
|
|
13
26
|
export type ManagedRecordRetentionDays = z.infer<typeof ManagedRecordRetentionDaysSchema>;
|
|
27
|
+
/** Optional request-application behavior; not a universal collection lifecycle. */
|
|
14
28
|
export declare const MANAGED_RECORD_STATUSES: readonly ["new", "in_progress", "resolved", "closed"];
|
|
15
29
|
export declare const ManagedRecordStatusSchema: z.ZodEnum<{
|
|
16
30
|
new: "new";
|
|
@@ -21,10 +35,10 @@ export declare const ManagedRecordStatusSchema: z.ZodEnum<{
|
|
|
21
35
|
export type ManagedRecordStatus = z.infer<typeof ManagedRecordStatusSchema>;
|
|
22
36
|
export declare const BUSINESS_GRANT_ROLES: readonly ["administrator", "manager", "operator", "viewer"];
|
|
23
37
|
export declare const BusinessGrantRoleSchema: z.ZodEnum<{
|
|
38
|
+
operator: "operator";
|
|
24
39
|
viewer: "viewer";
|
|
25
40
|
administrator: "administrator";
|
|
26
41
|
manager: "manager";
|
|
27
|
-
operator: "operator";
|
|
28
42
|
}>;
|
|
29
43
|
export type BusinessGrantRole = z.infer<typeof BusinessGrantRoleSchema>;
|
|
30
44
|
export declare const MANAGED_RECORD_ORIGIN_SURFACES: readonly ["public", "portal", "mcp", "api"];
|
|
@@ -35,7 +49,87 @@ export declare const ManagedRecordOriginSurfaceSchema: z.ZodEnum<{
|
|
|
35
49
|
api: "api";
|
|
36
50
|
}>;
|
|
37
51
|
export type ManagedRecordOriginSurface = z.infer<typeof ManagedRecordOriginSurfaceSchema>;
|
|
38
|
-
export declare const
|
|
52
|
+
export declare const COLLECTION_SOURCE_HEALTH_STATES: readonly ["pending", "healthy", "degraded", "unavailable", "authorization_required", "paused"];
|
|
53
|
+
export declare const CollectionSourceHealthSchema: z.ZodEnum<{
|
|
54
|
+
unavailable: "unavailable";
|
|
55
|
+
paused: "paused";
|
|
56
|
+
pending: "pending";
|
|
57
|
+
healthy: "healthy";
|
|
58
|
+
degraded: "degraded";
|
|
59
|
+
authorization_required: "authorization_required";
|
|
60
|
+
}>;
|
|
61
|
+
export type CollectionSourceHealth = z.infer<typeof CollectionSourceHealthSchema>;
|
|
62
|
+
export declare const COLLECTION_SOURCE_COMPLETENESS_STATES: readonly ["unknown", "partial", "complete", "rebuilding"];
|
|
63
|
+
export declare const CollectionSourceCompletenessSchema: z.ZodEnum<{
|
|
64
|
+
unknown: "unknown";
|
|
65
|
+
partial: "partial";
|
|
66
|
+
complete: "complete";
|
|
67
|
+
rebuilding: "rebuilding";
|
|
68
|
+
}>;
|
|
69
|
+
export type CollectionSourceCompleteness = z.infer<typeof CollectionSourceCompletenessSchema>;
|
|
70
|
+
export declare const ManagedRequestBehaviorSchema: z.ZodObject<{
|
|
71
|
+
statuses: z.ZodArray<z.ZodEnum<{
|
|
72
|
+
new: "new";
|
|
73
|
+
in_progress: "in_progress";
|
|
74
|
+
resolved: "resolved";
|
|
75
|
+
closed: "closed";
|
|
76
|
+
}>>;
|
|
77
|
+
assignment: z.ZodBoolean;
|
|
78
|
+
notes: z.ZodBoolean;
|
|
79
|
+
}, z.core.$strict>;
|
|
80
|
+
export type ManagedRequestBehavior = z.infer<typeof ManagedRequestBehaviorSchema>;
|
|
81
|
+
export declare const NativeManagedCollectionProfileSchema: z.ZodObject<{
|
|
82
|
+
management: z.ZodOptional<z.ZodObject<{
|
|
83
|
+
assignment: z.ZodOptional<z.ZodLiteral<true>>;
|
|
84
|
+
notes: z.ZodOptional<z.ZodLiteral<true>>;
|
|
85
|
+
}, z.core.$strict>>;
|
|
86
|
+
publicFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
87
|
+
editableFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
88
|
+
capabilities: z.ZodObject<{
|
|
89
|
+
read: z.ZodLiteral<true>;
|
|
90
|
+
create: z.ZodLiteral<true>;
|
|
91
|
+
update: z.ZodLiteral<true>;
|
|
92
|
+
erase: z.ZodLiteral<true>;
|
|
93
|
+
sourceControls: z.ZodLiteral<false>;
|
|
94
|
+
}, z.core.$strict>;
|
|
95
|
+
requestBehavior: z.ZodOptional<z.ZodObject<{
|
|
96
|
+
statuses: z.ZodArray<z.ZodEnum<{
|
|
97
|
+
new: "new";
|
|
98
|
+
in_progress: "in_progress";
|
|
99
|
+
resolved: "resolved";
|
|
100
|
+
closed: "closed";
|
|
101
|
+
}>>;
|
|
102
|
+
assignment: z.ZodBoolean;
|
|
103
|
+
notes: z.ZodBoolean;
|
|
104
|
+
}, z.core.$strict>>;
|
|
105
|
+
key: z.ZodString;
|
|
106
|
+
title: z.ZodString;
|
|
107
|
+
singularTitle: z.ZodString;
|
|
108
|
+
schemaVersion: z.ZodNumber;
|
|
109
|
+
schemaDigest: z.ZodString;
|
|
110
|
+
recordSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
111
|
+
summaryFields: z.ZodArray<z.ZodString>;
|
|
112
|
+
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
113
|
+
label: z.ZodOptional<z.ZodString>;
|
|
114
|
+
help: z.ZodOptional<z.ZodString>;
|
|
115
|
+
}, z.core.$strict>>>;
|
|
116
|
+
filterFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
117
|
+
sortFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
118
|
+
authority: z.ZodLiteral<"native">;
|
|
119
|
+
}, z.core.$strict>;
|
|
120
|
+
export type NativeManagedCollectionProfile = z.infer<typeof NativeManagedCollectionProfileSchema>;
|
|
121
|
+
export declare const ExternalManagedCollectionProfileSchema: z.ZodObject<{
|
|
122
|
+
capabilities: z.ZodObject<{
|
|
123
|
+
read: z.ZodLiteral<true>;
|
|
124
|
+
create: z.ZodLiteral<false>;
|
|
125
|
+
update: z.ZodLiteral<false>;
|
|
126
|
+
erase: z.ZodLiteral<true>;
|
|
127
|
+
sourceControls: z.ZodLiteral<true>;
|
|
128
|
+
}, z.core.$strict>;
|
|
129
|
+
source: z.ZodObject<{
|
|
130
|
+
connector: z.ZodString;
|
|
131
|
+
scanOperation: z.ZodString;
|
|
132
|
+
}, z.core.$strict>;
|
|
39
133
|
key: z.ZodString;
|
|
40
134
|
title: z.ZodString;
|
|
41
135
|
singularTitle: z.ZodString;
|
|
@@ -43,18 +137,113 @@ export declare const ManagedCollectionProfileSchema: z.ZodObject<{
|
|
|
43
137
|
schemaDigest: z.ZodString;
|
|
44
138
|
recordSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
45
139
|
summaryFields: z.ZodArray<z.ZodString>;
|
|
140
|
+
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
141
|
+
label: z.ZodOptional<z.ZodString>;
|
|
142
|
+
help: z.ZodOptional<z.ZodString>;
|
|
143
|
+
}, z.core.$strict>>>;
|
|
144
|
+
filterFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
145
|
+
sortFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
146
|
+
authority: z.ZodLiteral<"external">;
|
|
46
147
|
}, z.core.$strict>;
|
|
148
|
+
export type ExternalManagedCollectionProfile = z.infer<typeof ExternalManagedCollectionProfileSchema>;
|
|
149
|
+
export declare const ManagedCollectionProfileSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
150
|
+
management: z.ZodOptional<z.ZodObject<{
|
|
151
|
+
assignment: z.ZodOptional<z.ZodLiteral<true>>;
|
|
152
|
+
notes: z.ZodOptional<z.ZodLiteral<true>>;
|
|
153
|
+
}, z.core.$strict>>;
|
|
154
|
+
publicFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
155
|
+
editableFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
156
|
+
capabilities: z.ZodObject<{
|
|
157
|
+
read: z.ZodLiteral<true>;
|
|
158
|
+
create: z.ZodLiteral<true>;
|
|
159
|
+
update: z.ZodLiteral<true>;
|
|
160
|
+
erase: z.ZodLiteral<true>;
|
|
161
|
+
sourceControls: z.ZodLiteral<false>;
|
|
162
|
+
}, z.core.$strict>;
|
|
163
|
+
requestBehavior: z.ZodOptional<z.ZodObject<{
|
|
164
|
+
statuses: z.ZodArray<z.ZodEnum<{
|
|
165
|
+
new: "new";
|
|
166
|
+
in_progress: "in_progress";
|
|
167
|
+
resolved: "resolved";
|
|
168
|
+
closed: "closed";
|
|
169
|
+
}>>;
|
|
170
|
+
assignment: z.ZodBoolean;
|
|
171
|
+
notes: z.ZodBoolean;
|
|
172
|
+
}, z.core.$strict>>;
|
|
173
|
+
key: z.ZodString;
|
|
174
|
+
title: z.ZodString;
|
|
175
|
+
singularTitle: z.ZodString;
|
|
176
|
+
schemaVersion: z.ZodNumber;
|
|
177
|
+
schemaDigest: z.ZodString;
|
|
178
|
+
recordSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
179
|
+
summaryFields: z.ZodArray<z.ZodString>;
|
|
180
|
+
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
181
|
+
label: z.ZodOptional<z.ZodString>;
|
|
182
|
+
help: z.ZodOptional<z.ZodString>;
|
|
183
|
+
}, z.core.$strict>>>;
|
|
184
|
+
filterFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
185
|
+
sortFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
186
|
+
authority: z.ZodLiteral<"native">;
|
|
187
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
188
|
+
capabilities: z.ZodObject<{
|
|
189
|
+
read: z.ZodLiteral<true>;
|
|
190
|
+
create: z.ZodLiteral<false>;
|
|
191
|
+
update: z.ZodLiteral<false>;
|
|
192
|
+
erase: z.ZodLiteral<true>;
|
|
193
|
+
sourceControls: z.ZodLiteral<true>;
|
|
194
|
+
}, z.core.$strict>;
|
|
195
|
+
source: z.ZodObject<{
|
|
196
|
+
connector: z.ZodString;
|
|
197
|
+
scanOperation: z.ZodString;
|
|
198
|
+
}, z.core.$strict>;
|
|
199
|
+
key: z.ZodString;
|
|
200
|
+
title: z.ZodString;
|
|
201
|
+
singularTitle: z.ZodString;
|
|
202
|
+
schemaVersion: z.ZodNumber;
|
|
203
|
+
schemaDigest: z.ZodString;
|
|
204
|
+
recordSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
205
|
+
summaryFields: z.ZodArray<z.ZodString>;
|
|
206
|
+
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
207
|
+
label: z.ZodOptional<z.ZodString>;
|
|
208
|
+
help: z.ZodOptional<z.ZodString>;
|
|
209
|
+
}, z.core.$strict>>>;
|
|
210
|
+
filterFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
211
|
+
sortFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
212
|
+
authority: z.ZodLiteral<"external">;
|
|
213
|
+
}, z.core.$strict>], "authority">;
|
|
47
214
|
export type ManagedCollectionProfile = z.infer<typeof ManagedCollectionProfileSchema>;
|
|
48
215
|
export declare const SolutionProfileSchema: z.ZodObject<{
|
|
49
216
|
id: z.ZodEnum<{
|
|
50
217
|
travel: "travel";
|
|
51
|
-
b2b_saas: "b2b_saas";
|
|
52
218
|
ecommerce: "ecommerce";
|
|
53
219
|
restaurant: "restaurant";
|
|
54
220
|
}>;
|
|
55
221
|
title: z.ZodString;
|
|
56
222
|
description: z.ZodString;
|
|
57
|
-
|
|
223
|
+
collections: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
224
|
+
management: z.ZodOptional<z.ZodObject<{
|
|
225
|
+
assignment: z.ZodOptional<z.ZodLiteral<true>>;
|
|
226
|
+
notes: z.ZodOptional<z.ZodLiteral<true>>;
|
|
227
|
+
}, z.core.$strict>>;
|
|
228
|
+
publicFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
229
|
+
editableFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
230
|
+
capabilities: z.ZodObject<{
|
|
231
|
+
read: z.ZodLiteral<true>;
|
|
232
|
+
create: z.ZodLiteral<true>;
|
|
233
|
+
update: z.ZodLiteral<true>;
|
|
234
|
+
erase: z.ZodLiteral<true>;
|
|
235
|
+
sourceControls: z.ZodLiteral<false>;
|
|
236
|
+
}, z.core.$strict>;
|
|
237
|
+
requestBehavior: z.ZodOptional<z.ZodObject<{
|
|
238
|
+
statuses: z.ZodArray<z.ZodEnum<{
|
|
239
|
+
new: "new";
|
|
240
|
+
in_progress: "in_progress";
|
|
241
|
+
resolved: "resolved";
|
|
242
|
+
closed: "closed";
|
|
243
|
+
}>>;
|
|
244
|
+
assignment: z.ZodBoolean;
|
|
245
|
+
notes: z.ZodBoolean;
|
|
246
|
+
}, z.core.$strict>>;
|
|
58
247
|
key: z.ZodString;
|
|
59
248
|
title: z.ZodString;
|
|
60
249
|
singularTitle: z.ZodString;
|
|
@@ -62,7 +251,40 @@ export declare const SolutionProfileSchema: z.ZodObject<{
|
|
|
62
251
|
schemaDigest: z.ZodString;
|
|
63
252
|
recordSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
64
253
|
summaryFields: z.ZodArray<z.ZodString>;
|
|
65
|
-
|
|
254
|
+
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
255
|
+
label: z.ZodOptional<z.ZodString>;
|
|
256
|
+
help: z.ZodOptional<z.ZodString>;
|
|
257
|
+
}, z.core.$strict>>>;
|
|
258
|
+
filterFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
259
|
+
sortFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
260
|
+
authority: z.ZodLiteral<"native">;
|
|
261
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
262
|
+
capabilities: z.ZodObject<{
|
|
263
|
+
read: z.ZodLiteral<true>;
|
|
264
|
+
create: z.ZodLiteral<false>;
|
|
265
|
+
update: z.ZodLiteral<false>;
|
|
266
|
+
erase: z.ZodLiteral<true>;
|
|
267
|
+
sourceControls: z.ZodLiteral<true>;
|
|
268
|
+
}, z.core.$strict>;
|
|
269
|
+
source: z.ZodObject<{
|
|
270
|
+
connector: z.ZodString;
|
|
271
|
+
scanOperation: z.ZodString;
|
|
272
|
+
}, z.core.$strict>;
|
|
273
|
+
key: z.ZodString;
|
|
274
|
+
title: z.ZodString;
|
|
275
|
+
singularTitle: z.ZodString;
|
|
276
|
+
schemaVersion: z.ZodNumber;
|
|
277
|
+
schemaDigest: z.ZodString;
|
|
278
|
+
recordSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
279
|
+
summaryFields: z.ZodArray<z.ZodString>;
|
|
280
|
+
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
281
|
+
label: z.ZodOptional<z.ZodString>;
|
|
282
|
+
help: z.ZodOptional<z.ZodString>;
|
|
283
|
+
}, z.core.$strict>>>;
|
|
284
|
+
filterFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
285
|
+
sortFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
286
|
+
authority: z.ZodLiteral<"external">;
|
|
287
|
+
}, z.core.$strict>], "authority">>;
|
|
66
288
|
}, z.core.$strict>;
|
|
67
289
|
export type SolutionProfile = z.infer<typeof SolutionProfileSchema>;
|
|
68
290
|
export declare const SolutionCatalogResponseSchema: z.ZodObject<{
|
|
@@ -71,13 +293,35 @@ export declare const SolutionCatalogResponseSchema: z.ZodObject<{
|
|
|
71
293
|
profiles: z.ZodArray<z.ZodObject<{
|
|
72
294
|
id: z.ZodEnum<{
|
|
73
295
|
travel: "travel";
|
|
74
|
-
b2b_saas: "b2b_saas";
|
|
75
296
|
ecommerce: "ecommerce";
|
|
76
297
|
restaurant: "restaurant";
|
|
77
298
|
}>;
|
|
78
299
|
title: z.ZodString;
|
|
79
300
|
description: z.ZodString;
|
|
80
|
-
|
|
301
|
+
collections: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
302
|
+
management: z.ZodOptional<z.ZodObject<{
|
|
303
|
+
assignment: z.ZodOptional<z.ZodLiteral<true>>;
|
|
304
|
+
notes: z.ZodOptional<z.ZodLiteral<true>>;
|
|
305
|
+
}, z.core.$strict>>;
|
|
306
|
+
publicFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
307
|
+
editableFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
308
|
+
capabilities: z.ZodObject<{
|
|
309
|
+
read: z.ZodLiteral<true>;
|
|
310
|
+
create: z.ZodLiteral<true>;
|
|
311
|
+
update: z.ZodLiteral<true>;
|
|
312
|
+
erase: z.ZodLiteral<true>;
|
|
313
|
+
sourceControls: z.ZodLiteral<false>;
|
|
314
|
+
}, z.core.$strict>;
|
|
315
|
+
requestBehavior: z.ZodOptional<z.ZodObject<{
|
|
316
|
+
statuses: z.ZodArray<z.ZodEnum<{
|
|
317
|
+
new: "new";
|
|
318
|
+
in_progress: "in_progress";
|
|
319
|
+
resolved: "resolved";
|
|
320
|
+
closed: "closed";
|
|
321
|
+
}>>;
|
|
322
|
+
assignment: z.ZodBoolean;
|
|
323
|
+
notes: z.ZodBoolean;
|
|
324
|
+
}, z.core.$strict>>;
|
|
81
325
|
key: z.ZodString;
|
|
82
326
|
title: z.ZodString;
|
|
83
327
|
singularTitle: z.ZodString;
|
|
@@ -85,53 +329,265 @@ export declare const SolutionCatalogResponseSchema: z.ZodObject<{
|
|
|
85
329
|
schemaDigest: z.ZodString;
|
|
86
330
|
recordSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
87
331
|
summaryFields: z.ZodArray<z.ZodString>;
|
|
88
|
-
|
|
332
|
+
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
333
|
+
label: z.ZodOptional<z.ZodString>;
|
|
334
|
+
help: z.ZodOptional<z.ZodString>;
|
|
335
|
+
}, z.core.$strict>>>;
|
|
336
|
+
filterFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
337
|
+
sortFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
338
|
+
authority: z.ZodLiteral<"native">;
|
|
339
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
340
|
+
capabilities: z.ZodObject<{
|
|
341
|
+
read: z.ZodLiteral<true>;
|
|
342
|
+
create: z.ZodLiteral<false>;
|
|
343
|
+
update: z.ZodLiteral<false>;
|
|
344
|
+
erase: z.ZodLiteral<true>;
|
|
345
|
+
sourceControls: z.ZodLiteral<true>;
|
|
346
|
+
}, z.core.$strict>;
|
|
347
|
+
source: z.ZodObject<{
|
|
348
|
+
connector: z.ZodString;
|
|
349
|
+
scanOperation: z.ZodString;
|
|
350
|
+
}, z.core.$strict>;
|
|
351
|
+
key: z.ZodString;
|
|
352
|
+
title: z.ZodString;
|
|
353
|
+
singularTitle: z.ZodString;
|
|
354
|
+
schemaVersion: z.ZodNumber;
|
|
355
|
+
schemaDigest: z.ZodString;
|
|
356
|
+
recordSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
357
|
+
summaryFields: z.ZodArray<z.ZodString>;
|
|
358
|
+
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
359
|
+
label: z.ZodOptional<z.ZodString>;
|
|
360
|
+
help: z.ZodOptional<z.ZodString>;
|
|
361
|
+
}, z.core.$strict>>>;
|
|
362
|
+
filterFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
363
|
+
sortFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
364
|
+
authority: z.ZodLiteral<"external">;
|
|
365
|
+
}, z.core.$strict>], "authority">>;
|
|
89
366
|
}, z.core.$strict>>;
|
|
90
367
|
}, z.core.$strict>;
|
|
91
368
|
}, z.core.$strict>;
|
|
92
369
|
export type SolutionCatalogResponse = z.infer<typeof SolutionCatalogResponseSchema>;
|
|
93
|
-
export declare const
|
|
370
|
+
export declare const ManagedSolutionDefinitionSelectorSchema: z.ZodObject<{
|
|
371
|
+
kind: z.ZodLiteral<"managed">;
|
|
372
|
+
profileId: z.ZodEnum<{
|
|
373
|
+
travel: "travel";
|
|
374
|
+
ecommerce: "ecommerce";
|
|
375
|
+
restaurant: "restaurant";
|
|
376
|
+
}>;
|
|
377
|
+
}, z.core.$strict>;
|
|
378
|
+
export declare const PrivateSolutionDefinitionReferenceSchema: z.ZodObject<{
|
|
379
|
+
kind: z.ZodLiteral<"private">;
|
|
380
|
+
publisherOrg: z.ZodString;
|
|
381
|
+
app: z.ZodString;
|
|
382
|
+
environment: z.ZodString;
|
|
383
|
+
deploymentId: z.ZodString;
|
|
384
|
+
}, z.core.$strict>;
|
|
385
|
+
export declare const InstallableSolutionDefinitionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
386
|
+
kind: z.ZodLiteral<"managed">;
|
|
94
387
|
profileId: z.ZodEnum<{
|
|
95
388
|
travel: "travel";
|
|
96
|
-
b2b_saas: "b2b_saas";
|
|
97
389
|
ecommerce: "ecommerce";
|
|
98
390
|
restaurant: "restaurant";
|
|
99
391
|
}>;
|
|
392
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
393
|
+
kind: z.ZodLiteral<"private">;
|
|
394
|
+
publisherOrg: z.ZodString;
|
|
395
|
+
app: z.ZodString;
|
|
396
|
+
environment: z.ZodString;
|
|
397
|
+
deploymentId: z.ZodString;
|
|
398
|
+
}, z.core.$strict>], "kind">;
|
|
399
|
+
export type InstallableSolutionDefinition = z.infer<typeof InstallableSolutionDefinitionSchema>;
|
|
400
|
+
export declare const SolutionInstallationCreateRequestSchema: z.ZodObject<{
|
|
401
|
+
businessNotice: z.ZodOptional<z.ZodObject<{
|
|
402
|
+
displayName: z.ZodString;
|
|
403
|
+
privacyUrl: z.ZodString;
|
|
404
|
+
supportUrl: z.ZodString;
|
|
405
|
+
}, z.core.$strict>>;
|
|
406
|
+
definition: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
407
|
+
kind: z.ZodLiteral<"managed">;
|
|
408
|
+
profileId: z.ZodEnum<{
|
|
409
|
+
travel: "travel";
|
|
410
|
+
ecommerce: "ecommerce";
|
|
411
|
+
restaurant: "restaurant";
|
|
412
|
+
}>;
|
|
413
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
414
|
+
kind: z.ZodLiteral<"private">;
|
|
415
|
+
publisherOrg: z.ZodString;
|
|
416
|
+
app: z.ZodString;
|
|
417
|
+
environment: z.ZodString;
|
|
418
|
+
deploymentId: z.ZodString;
|
|
419
|
+
}, z.core.$strict>], "kind">;
|
|
100
420
|
appSlug: z.ZodString;
|
|
101
421
|
environment: z.ZodString;
|
|
102
422
|
retentionDays: z.ZodUnion<readonly [z.ZodLiteral<7>, z.ZodLiteral<30>, z.ZodLiteral<90>]>;
|
|
103
423
|
}, z.core.$strict>;
|
|
104
424
|
export type SolutionInstallationCreateRequest = z.infer<typeof SolutionInstallationCreateRequestSchema>;
|
|
105
|
-
export declare const
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
425
|
+
export declare const SolutionInstallationIntakeRequestSchema: z.ZodObject<{
|
|
426
|
+
active: z.ZodBoolean;
|
|
427
|
+
expectedRevision: z.ZodNumber;
|
|
428
|
+
}, z.core.$strict>;
|
|
429
|
+
export type SolutionInstallationIntakeRequest = z.infer<typeof SolutionInstallationIntakeRequestSchema>;
|
|
430
|
+
export declare const ResolvedManagedSolutionDefinitionSchema: z.ZodObject<{
|
|
431
|
+
kind: z.ZodLiteral<"managed">;
|
|
432
|
+
definitionId: z.ZodEnum<{
|
|
109
433
|
travel: "travel";
|
|
434
|
+
ecommerce: "ecommerce";
|
|
435
|
+
restaurant: "restaurant";
|
|
436
|
+
}>;
|
|
437
|
+
release: z.ZodNumber;
|
|
438
|
+
digest: z.ZodString;
|
|
439
|
+
}, z.core.$strict>;
|
|
440
|
+
export declare const ResolvedPrivateSolutionDefinitionSchema: z.ZodObject<{
|
|
441
|
+
kind: z.ZodLiteral<"private">;
|
|
442
|
+
publisherOrg: z.ZodString;
|
|
443
|
+
app: z.ZodString;
|
|
444
|
+
environment: z.ZodString;
|
|
445
|
+
deploymentId: z.ZodString;
|
|
446
|
+
version: z.ZodString;
|
|
447
|
+
digest: z.ZodString;
|
|
448
|
+
}, z.core.$strict>;
|
|
449
|
+
export declare const ResolvedLegacySolutionDefinitionSchema: z.ZodObject<{
|
|
450
|
+
kind: z.ZodLiteral<"legacy">;
|
|
451
|
+
definitionId: z.ZodEnum<{
|
|
110
452
|
b2b_saas: "b2b_saas";
|
|
453
|
+
}>;
|
|
454
|
+
release: z.ZodNumber;
|
|
455
|
+
digest: z.ZodString;
|
|
456
|
+
}, z.core.$strict>;
|
|
457
|
+
export declare const ResolvedSolutionDefinitionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
458
|
+
kind: z.ZodLiteral<"managed">;
|
|
459
|
+
definitionId: z.ZodEnum<{
|
|
460
|
+
travel: "travel";
|
|
111
461
|
ecommerce: "ecommerce";
|
|
112
462
|
restaurant: "restaurant";
|
|
113
463
|
}>;
|
|
464
|
+
release: z.ZodNumber;
|
|
465
|
+
digest: z.ZodString;
|
|
466
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
467
|
+
kind: z.ZodLiteral<"private">;
|
|
468
|
+
publisherOrg: z.ZodString;
|
|
469
|
+
app: z.ZodString;
|
|
470
|
+
environment: z.ZodString;
|
|
471
|
+
deploymentId: z.ZodString;
|
|
472
|
+
version: z.ZodString;
|
|
473
|
+
digest: z.ZodString;
|
|
474
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
475
|
+
kind: z.ZodLiteral<"legacy">;
|
|
476
|
+
definitionId: z.ZodEnum<{
|
|
477
|
+
b2b_saas: "b2b_saas";
|
|
478
|
+
}>;
|
|
479
|
+
release: z.ZodNumber;
|
|
480
|
+
digest: z.ZodString;
|
|
481
|
+
}, z.core.$strict>], "kind">;
|
|
482
|
+
export type ResolvedSolutionDefinition = z.infer<typeof ResolvedSolutionDefinitionSchema>;
|
|
483
|
+
export declare const SolutionInstallationSchema: z.ZodObject<{
|
|
484
|
+
definition: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
485
|
+
kind: z.ZodLiteral<"managed">;
|
|
486
|
+
definitionId: z.ZodEnum<{
|
|
487
|
+
travel: "travel";
|
|
488
|
+
ecommerce: "ecommerce";
|
|
489
|
+
restaurant: "restaurant";
|
|
490
|
+
}>;
|
|
491
|
+
release: z.ZodNumber;
|
|
492
|
+
digest: z.ZodString;
|
|
493
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
494
|
+
kind: z.ZodLiteral<"private">;
|
|
495
|
+
publisherOrg: z.ZodString;
|
|
496
|
+
app: z.ZodString;
|
|
497
|
+
environment: z.ZodString;
|
|
498
|
+
deploymentId: z.ZodString;
|
|
499
|
+
version: z.ZodString;
|
|
500
|
+
digest: z.ZodString;
|
|
501
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
502
|
+
kind: z.ZodLiteral<"legacy">;
|
|
503
|
+
definitionId: z.ZodEnum<{
|
|
504
|
+
b2b_saas: "b2b_saas";
|
|
505
|
+
}>;
|
|
506
|
+
release: z.ZodNumber;
|
|
507
|
+
digest: z.ZodString;
|
|
508
|
+
}, z.core.$strict>], "kind">;
|
|
509
|
+
collections: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
510
|
+
management: z.ZodOptional<z.ZodObject<{
|
|
511
|
+
assignment: z.ZodOptional<z.ZodLiteral<true>>;
|
|
512
|
+
notes: z.ZodOptional<z.ZodLiteral<true>>;
|
|
513
|
+
}, z.core.$strict>>;
|
|
514
|
+
publicFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
515
|
+
editableFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
516
|
+
capabilities: z.ZodObject<{
|
|
517
|
+
read: z.ZodLiteral<true>;
|
|
518
|
+
create: z.ZodLiteral<true>;
|
|
519
|
+
update: z.ZodLiteral<true>;
|
|
520
|
+
erase: z.ZodLiteral<true>;
|
|
521
|
+
sourceControls: z.ZodLiteral<false>;
|
|
522
|
+
}, z.core.$strict>;
|
|
523
|
+
requestBehavior: z.ZodOptional<z.ZodObject<{
|
|
524
|
+
statuses: z.ZodArray<z.ZodEnum<{
|
|
525
|
+
new: "new";
|
|
526
|
+
in_progress: "in_progress";
|
|
527
|
+
resolved: "resolved";
|
|
528
|
+
closed: "closed";
|
|
529
|
+
}>>;
|
|
530
|
+
assignment: z.ZodBoolean;
|
|
531
|
+
notes: z.ZodBoolean;
|
|
532
|
+
}, z.core.$strict>>;
|
|
533
|
+
key: z.ZodString;
|
|
534
|
+
title: z.ZodString;
|
|
535
|
+
singularTitle: z.ZodString;
|
|
536
|
+
schemaVersion: z.ZodNumber;
|
|
537
|
+
schemaDigest: z.ZodString;
|
|
538
|
+
recordSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
539
|
+
summaryFields: z.ZodArray<z.ZodString>;
|
|
540
|
+
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
541
|
+
label: z.ZodOptional<z.ZodString>;
|
|
542
|
+
help: z.ZodOptional<z.ZodString>;
|
|
543
|
+
}, z.core.$strict>>>;
|
|
544
|
+
filterFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
545
|
+
sortFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
546
|
+
authority: z.ZodLiteral<"native">;
|
|
547
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
548
|
+
capabilities: z.ZodObject<{
|
|
549
|
+
read: z.ZodLiteral<true>;
|
|
550
|
+
create: z.ZodLiteral<false>;
|
|
551
|
+
update: z.ZodLiteral<false>;
|
|
552
|
+
erase: z.ZodLiteral<true>;
|
|
553
|
+
sourceControls: z.ZodLiteral<true>;
|
|
554
|
+
}, z.core.$strict>;
|
|
555
|
+
source: z.ZodObject<{
|
|
556
|
+
connector: z.ZodString;
|
|
557
|
+
scanOperation: z.ZodString;
|
|
558
|
+
}, z.core.$strict>;
|
|
559
|
+
key: z.ZodString;
|
|
560
|
+
title: z.ZodString;
|
|
561
|
+
singularTitle: z.ZodString;
|
|
562
|
+
schemaVersion: z.ZodNumber;
|
|
563
|
+
schemaDigest: z.ZodString;
|
|
564
|
+
recordSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
565
|
+
summaryFields: z.ZodArray<z.ZodString>;
|
|
566
|
+
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
567
|
+
label: z.ZodOptional<z.ZodString>;
|
|
568
|
+
help: z.ZodOptional<z.ZodString>;
|
|
569
|
+
}, z.core.$strict>>>;
|
|
570
|
+
filterFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
571
|
+
sortFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
572
|
+
authority: z.ZodLiteral<"external">;
|
|
573
|
+
}, z.core.$strict>], "authority">>;
|
|
574
|
+
profileId: z.ZodOptional<z.ZodEnum<{
|
|
575
|
+
b2b_saas: "b2b_saas";
|
|
576
|
+
}>>;
|
|
577
|
+
id: z.ZodString;
|
|
578
|
+
organizationId: z.ZodString;
|
|
114
579
|
appSlug: z.ZodString;
|
|
115
580
|
environment: z.ZodString;
|
|
116
581
|
retentionDays: z.ZodUnion<readonly [z.ZodLiteral<7>, z.ZodLiteral<30>, z.ZodLiteral<90>]>;
|
|
117
582
|
publicId: z.ZodString;
|
|
118
583
|
active: z.ZodBoolean;
|
|
119
584
|
currentRole: z.ZodEnum<{
|
|
585
|
+
operator: "operator";
|
|
120
586
|
viewer: "viewer";
|
|
121
587
|
administrator: "administrator";
|
|
122
588
|
manager: "manager";
|
|
123
|
-
operator: "operator";
|
|
124
589
|
}>;
|
|
125
590
|
revision: z.ZodNumber;
|
|
126
|
-
collection: z.ZodObject<{
|
|
127
|
-
key: z.ZodString;
|
|
128
|
-
title: z.ZodString;
|
|
129
|
-
singularTitle: z.ZodString;
|
|
130
|
-
schemaVersion: z.ZodNumber;
|
|
131
|
-
schemaDigest: z.ZodString;
|
|
132
|
-
recordSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
133
|
-
summaryFields: z.ZodArray<z.ZodString>;
|
|
134
|
-
}, z.core.$strict>;
|
|
135
591
|
createdAt: z.ZodISODateTime;
|
|
136
592
|
updatedAt: z.ZodISODateTime;
|
|
137
593
|
createdBySubject: z.ZodString;
|
|
@@ -141,35 +597,113 @@ export declare const SolutionInstallationResponseSchema: z.ZodObject<{
|
|
|
141
597
|
ok: z.ZodLiteral<true>;
|
|
142
598
|
data: z.ZodObject<{
|
|
143
599
|
installation: z.ZodObject<{
|
|
600
|
+
definition: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
601
|
+
kind: z.ZodLiteral<"managed">;
|
|
602
|
+
definitionId: z.ZodEnum<{
|
|
603
|
+
travel: "travel";
|
|
604
|
+
ecommerce: "ecommerce";
|
|
605
|
+
restaurant: "restaurant";
|
|
606
|
+
}>;
|
|
607
|
+
release: z.ZodNumber;
|
|
608
|
+
digest: z.ZodString;
|
|
609
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
610
|
+
kind: z.ZodLiteral<"private">;
|
|
611
|
+
publisherOrg: z.ZodString;
|
|
612
|
+
app: z.ZodString;
|
|
613
|
+
environment: z.ZodString;
|
|
614
|
+
deploymentId: z.ZodString;
|
|
615
|
+
version: z.ZodString;
|
|
616
|
+
digest: z.ZodString;
|
|
617
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
618
|
+
kind: z.ZodLiteral<"legacy">;
|
|
619
|
+
definitionId: z.ZodEnum<{
|
|
620
|
+
b2b_saas: "b2b_saas";
|
|
621
|
+
}>;
|
|
622
|
+
release: z.ZodNumber;
|
|
623
|
+
digest: z.ZodString;
|
|
624
|
+
}, z.core.$strict>], "kind">;
|
|
625
|
+
collections: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
626
|
+
management: z.ZodOptional<z.ZodObject<{
|
|
627
|
+
assignment: z.ZodOptional<z.ZodLiteral<true>>;
|
|
628
|
+
notes: z.ZodOptional<z.ZodLiteral<true>>;
|
|
629
|
+
}, z.core.$strict>>;
|
|
630
|
+
publicFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
631
|
+
editableFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
632
|
+
capabilities: z.ZodObject<{
|
|
633
|
+
read: z.ZodLiteral<true>;
|
|
634
|
+
create: z.ZodLiteral<true>;
|
|
635
|
+
update: z.ZodLiteral<true>;
|
|
636
|
+
erase: z.ZodLiteral<true>;
|
|
637
|
+
sourceControls: z.ZodLiteral<false>;
|
|
638
|
+
}, z.core.$strict>;
|
|
639
|
+
requestBehavior: z.ZodOptional<z.ZodObject<{
|
|
640
|
+
statuses: z.ZodArray<z.ZodEnum<{
|
|
641
|
+
new: "new";
|
|
642
|
+
in_progress: "in_progress";
|
|
643
|
+
resolved: "resolved";
|
|
644
|
+
closed: "closed";
|
|
645
|
+
}>>;
|
|
646
|
+
assignment: z.ZodBoolean;
|
|
647
|
+
notes: z.ZodBoolean;
|
|
648
|
+
}, z.core.$strict>>;
|
|
649
|
+
key: z.ZodString;
|
|
650
|
+
title: z.ZodString;
|
|
651
|
+
singularTitle: z.ZodString;
|
|
652
|
+
schemaVersion: z.ZodNumber;
|
|
653
|
+
schemaDigest: z.ZodString;
|
|
654
|
+
recordSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
655
|
+
summaryFields: z.ZodArray<z.ZodString>;
|
|
656
|
+
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
657
|
+
label: z.ZodOptional<z.ZodString>;
|
|
658
|
+
help: z.ZodOptional<z.ZodString>;
|
|
659
|
+
}, z.core.$strict>>>;
|
|
660
|
+
filterFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
661
|
+
sortFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
662
|
+
authority: z.ZodLiteral<"native">;
|
|
663
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
664
|
+
capabilities: z.ZodObject<{
|
|
665
|
+
read: z.ZodLiteral<true>;
|
|
666
|
+
create: z.ZodLiteral<false>;
|
|
667
|
+
update: z.ZodLiteral<false>;
|
|
668
|
+
erase: z.ZodLiteral<true>;
|
|
669
|
+
sourceControls: z.ZodLiteral<true>;
|
|
670
|
+
}, z.core.$strict>;
|
|
671
|
+
source: z.ZodObject<{
|
|
672
|
+
connector: z.ZodString;
|
|
673
|
+
scanOperation: z.ZodString;
|
|
674
|
+
}, z.core.$strict>;
|
|
675
|
+
key: z.ZodString;
|
|
676
|
+
title: z.ZodString;
|
|
677
|
+
singularTitle: z.ZodString;
|
|
678
|
+
schemaVersion: z.ZodNumber;
|
|
679
|
+
schemaDigest: z.ZodString;
|
|
680
|
+
recordSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
681
|
+
summaryFields: z.ZodArray<z.ZodString>;
|
|
682
|
+
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
683
|
+
label: z.ZodOptional<z.ZodString>;
|
|
684
|
+
help: z.ZodOptional<z.ZodString>;
|
|
685
|
+
}, z.core.$strict>>>;
|
|
686
|
+
filterFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
687
|
+
sortFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
688
|
+
authority: z.ZodLiteral<"external">;
|
|
689
|
+
}, z.core.$strict>], "authority">>;
|
|
690
|
+
profileId: z.ZodOptional<z.ZodEnum<{
|
|
691
|
+
b2b_saas: "b2b_saas";
|
|
692
|
+
}>>;
|
|
144
693
|
id: z.ZodString;
|
|
145
694
|
organizationId: z.ZodString;
|
|
146
|
-
profileId: z.ZodEnum<{
|
|
147
|
-
travel: "travel";
|
|
148
|
-
b2b_saas: "b2b_saas";
|
|
149
|
-
ecommerce: "ecommerce";
|
|
150
|
-
restaurant: "restaurant";
|
|
151
|
-
}>;
|
|
152
695
|
appSlug: z.ZodString;
|
|
153
696
|
environment: z.ZodString;
|
|
154
697
|
retentionDays: z.ZodUnion<readonly [z.ZodLiteral<7>, z.ZodLiteral<30>, z.ZodLiteral<90>]>;
|
|
155
698
|
publicId: z.ZodString;
|
|
156
699
|
active: z.ZodBoolean;
|
|
157
700
|
currentRole: z.ZodEnum<{
|
|
701
|
+
operator: "operator";
|
|
158
702
|
viewer: "viewer";
|
|
159
703
|
administrator: "administrator";
|
|
160
704
|
manager: "manager";
|
|
161
|
-
operator: "operator";
|
|
162
705
|
}>;
|
|
163
706
|
revision: z.ZodNumber;
|
|
164
|
-
collection: z.ZodObject<{
|
|
165
|
-
key: z.ZodString;
|
|
166
|
-
title: z.ZodString;
|
|
167
|
-
singularTitle: z.ZodString;
|
|
168
|
-
schemaVersion: z.ZodNumber;
|
|
169
|
-
schemaDigest: z.ZodString;
|
|
170
|
-
recordSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
171
|
-
summaryFields: z.ZodArray<z.ZodString>;
|
|
172
|
-
}, z.core.$strict>;
|
|
173
707
|
createdAt: z.ZodISODateTime;
|
|
174
708
|
updatedAt: z.ZodISODateTime;
|
|
175
709
|
createdBySubject: z.ZodString;
|
|
@@ -181,39 +715,118 @@ export declare const SolutionInstallationListResponseSchema: z.ZodObject<{
|
|
|
181
715
|
ok: z.ZodLiteral<true>;
|
|
182
716
|
data: z.ZodObject<{
|
|
183
717
|
installations: z.ZodArray<z.ZodObject<{
|
|
718
|
+
definition: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
719
|
+
kind: z.ZodLiteral<"managed">;
|
|
720
|
+
definitionId: z.ZodEnum<{
|
|
721
|
+
travel: "travel";
|
|
722
|
+
ecommerce: "ecommerce";
|
|
723
|
+
restaurant: "restaurant";
|
|
724
|
+
}>;
|
|
725
|
+
release: z.ZodNumber;
|
|
726
|
+
digest: z.ZodString;
|
|
727
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
728
|
+
kind: z.ZodLiteral<"private">;
|
|
729
|
+
publisherOrg: z.ZodString;
|
|
730
|
+
app: z.ZodString;
|
|
731
|
+
environment: z.ZodString;
|
|
732
|
+
deploymentId: z.ZodString;
|
|
733
|
+
version: z.ZodString;
|
|
734
|
+
digest: z.ZodString;
|
|
735
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
736
|
+
kind: z.ZodLiteral<"legacy">;
|
|
737
|
+
definitionId: z.ZodEnum<{
|
|
738
|
+
b2b_saas: "b2b_saas";
|
|
739
|
+
}>;
|
|
740
|
+
release: z.ZodNumber;
|
|
741
|
+
digest: z.ZodString;
|
|
742
|
+
}, z.core.$strict>], "kind">;
|
|
743
|
+
collections: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
744
|
+
management: z.ZodOptional<z.ZodObject<{
|
|
745
|
+
assignment: z.ZodOptional<z.ZodLiteral<true>>;
|
|
746
|
+
notes: z.ZodOptional<z.ZodLiteral<true>>;
|
|
747
|
+
}, z.core.$strict>>;
|
|
748
|
+
publicFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
749
|
+
editableFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
750
|
+
capabilities: z.ZodObject<{
|
|
751
|
+
read: z.ZodLiteral<true>;
|
|
752
|
+
create: z.ZodLiteral<true>;
|
|
753
|
+
update: z.ZodLiteral<true>;
|
|
754
|
+
erase: z.ZodLiteral<true>;
|
|
755
|
+
sourceControls: z.ZodLiteral<false>;
|
|
756
|
+
}, z.core.$strict>;
|
|
757
|
+
requestBehavior: z.ZodOptional<z.ZodObject<{
|
|
758
|
+
statuses: z.ZodArray<z.ZodEnum<{
|
|
759
|
+
new: "new";
|
|
760
|
+
in_progress: "in_progress";
|
|
761
|
+
resolved: "resolved";
|
|
762
|
+
closed: "closed";
|
|
763
|
+
}>>;
|
|
764
|
+
assignment: z.ZodBoolean;
|
|
765
|
+
notes: z.ZodBoolean;
|
|
766
|
+
}, z.core.$strict>>;
|
|
767
|
+
key: z.ZodString;
|
|
768
|
+
title: z.ZodString;
|
|
769
|
+
singularTitle: z.ZodString;
|
|
770
|
+
schemaVersion: z.ZodNumber;
|
|
771
|
+
schemaDigest: z.ZodString;
|
|
772
|
+
recordSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
773
|
+
summaryFields: z.ZodArray<z.ZodString>;
|
|
774
|
+
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
775
|
+
label: z.ZodOptional<z.ZodString>;
|
|
776
|
+
help: z.ZodOptional<z.ZodString>;
|
|
777
|
+
}, z.core.$strict>>>;
|
|
778
|
+
filterFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
779
|
+
sortFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
780
|
+
authority: z.ZodLiteral<"native">;
|
|
781
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
782
|
+
capabilities: z.ZodObject<{
|
|
783
|
+
read: z.ZodLiteral<true>;
|
|
784
|
+
create: z.ZodLiteral<false>;
|
|
785
|
+
update: z.ZodLiteral<false>;
|
|
786
|
+
erase: z.ZodLiteral<true>;
|
|
787
|
+
sourceControls: z.ZodLiteral<true>;
|
|
788
|
+
}, z.core.$strict>;
|
|
789
|
+
source: z.ZodObject<{
|
|
790
|
+
connector: z.ZodString;
|
|
791
|
+
scanOperation: z.ZodString;
|
|
792
|
+
}, z.core.$strict>;
|
|
793
|
+
key: z.ZodString;
|
|
794
|
+
title: z.ZodString;
|
|
795
|
+
singularTitle: z.ZodString;
|
|
796
|
+
schemaVersion: z.ZodNumber;
|
|
797
|
+
schemaDigest: z.ZodString;
|
|
798
|
+
recordSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
799
|
+
summaryFields: z.ZodArray<z.ZodString>;
|
|
800
|
+
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
801
|
+
label: z.ZodOptional<z.ZodString>;
|
|
802
|
+
help: z.ZodOptional<z.ZodString>;
|
|
803
|
+
}, z.core.$strict>>>;
|
|
804
|
+
filterFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
805
|
+
sortFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
806
|
+
authority: z.ZodLiteral<"external">;
|
|
807
|
+
}, z.core.$strict>], "authority">>;
|
|
808
|
+
profileId: z.ZodOptional<z.ZodEnum<{
|
|
809
|
+
b2b_saas: "b2b_saas";
|
|
810
|
+
}>>;
|
|
184
811
|
id: z.ZodString;
|
|
185
812
|
organizationId: z.ZodString;
|
|
186
|
-
profileId: z.ZodEnum<{
|
|
187
|
-
travel: "travel";
|
|
188
|
-
b2b_saas: "b2b_saas";
|
|
189
|
-
ecommerce: "ecommerce";
|
|
190
|
-
restaurant: "restaurant";
|
|
191
|
-
}>;
|
|
192
813
|
appSlug: z.ZodString;
|
|
193
814
|
environment: z.ZodString;
|
|
194
815
|
retentionDays: z.ZodUnion<readonly [z.ZodLiteral<7>, z.ZodLiteral<30>, z.ZodLiteral<90>]>;
|
|
195
816
|
publicId: z.ZodString;
|
|
196
817
|
active: z.ZodBoolean;
|
|
197
818
|
currentRole: z.ZodEnum<{
|
|
819
|
+
operator: "operator";
|
|
198
820
|
viewer: "viewer";
|
|
199
821
|
administrator: "administrator";
|
|
200
822
|
manager: "manager";
|
|
201
|
-
operator: "operator";
|
|
202
823
|
}>;
|
|
203
824
|
revision: z.ZodNumber;
|
|
204
|
-
collection: z.ZodObject<{
|
|
205
|
-
key: z.ZodString;
|
|
206
|
-
title: z.ZodString;
|
|
207
|
-
singularTitle: z.ZodString;
|
|
208
|
-
schemaVersion: z.ZodNumber;
|
|
209
|
-
schemaDigest: z.ZodString;
|
|
210
|
-
recordSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
211
|
-
summaryFields: z.ZodArray<z.ZodString>;
|
|
212
|
-
}, z.core.$strict>;
|
|
213
825
|
createdAt: z.ZodISODateTime;
|
|
214
826
|
updatedAt: z.ZodISODateTime;
|
|
215
827
|
createdBySubject: z.ZodString;
|
|
216
828
|
}, z.core.$strict>>;
|
|
829
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
217
830
|
}, z.core.$strict>;
|
|
218
831
|
}, z.core.$strict>;
|
|
219
832
|
export type SolutionInstallationListResponse = z.infer<typeof SolutionInstallationListResponseSchema>;
|
|
@@ -221,10 +834,10 @@ export declare const BusinessGrantCreateRequestSchema: z.ZodObject<{
|
|
|
221
834
|
subject: z.ZodString;
|
|
222
835
|
email: z.ZodEmail;
|
|
223
836
|
role: z.ZodEnum<{
|
|
837
|
+
operator: "operator";
|
|
224
838
|
viewer: "viewer";
|
|
225
839
|
administrator: "administrator";
|
|
226
840
|
manager: "manager";
|
|
227
|
-
operator: "operator";
|
|
228
841
|
}>;
|
|
229
842
|
expectedRevision: z.ZodOptional<z.ZodNumber>;
|
|
230
843
|
}, z.core.$strict>;
|
|
@@ -234,10 +847,10 @@ export declare const BusinessGrantSchema: z.ZodObject<{
|
|
|
234
847
|
subject: z.ZodString;
|
|
235
848
|
email: z.ZodEmail;
|
|
236
849
|
role: z.ZodEnum<{
|
|
850
|
+
operator: "operator";
|
|
237
851
|
viewer: "viewer";
|
|
238
852
|
administrator: "administrator";
|
|
239
853
|
manager: "manager";
|
|
240
|
-
operator: "operator";
|
|
241
854
|
}>;
|
|
242
855
|
revision: z.ZodNumber;
|
|
243
856
|
createdAt: z.ZodISODateTime;
|
|
@@ -253,10 +866,10 @@ export declare const BusinessGrantResponseSchema: z.ZodObject<{
|
|
|
253
866
|
subject: z.ZodString;
|
|
254
867
|
email: z.ZodEmail;
|
|
255
868
|
role: z.ZodEnum<{
|
|
869
|
+
operator: "operator";
|
|
256
870
|
viewer: "viewer";
|
|
257
871
|
administrator: "administrator";
|
|
258
872
|
manager: "manager";
|
|
259
|
-
operator: "operator";
|
|
260
873
|
}>;
|
|
261
874
|
revision: z.ZodNumber;
|
|
262
875
|
createdAt: z.ZodISODateTime;
|
|
@@ -274,10 +887,10 @@ export declare const BusinessGrantListResponseSchema: z.ZodObject<{
|
|
|
274
887
|
subject: z.ZodString;
|
|
275
888
|
email: z.ZodEmail;
|
|
276
889
|
role: z.ZodEnum<{
|
|
890
|
+
operator: "operator";
|
|
277
891
|
viewer: "viewer";
|
|
278
892
|
administrator: "administrator";
|
|
279
893
|
manager: "manager";
|
|
280
|
-
operator: "operator";
|
|
281
894
|
}>;
|
|
282
895
|
revision: z.ZodNumber;
|
|
283
896
|
createdAt: z.ZodISODateTime;
|
|
@@ -287,35 +900,328 @@ export declare const BusinessGrantListResponseSchema: z.ZodObject<{
|
|
|
287
900
|
}, z.core.$strict>;
|
|
288
901
|
}, z.core.$strict>;
|
|
289
902
|
export type BusinessGrantListResponse = z.infer<typeof BusinessGrantListResponseSchema>;
|
|
290
|
-
export declare const
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
903
|
+
export declare const BUSINESS_INVITATION_STATUSES: readonly ["pending", "accepted", "revoked", "expired"];
|
|
904
|
+
export declare const BusinessInvitationStatusSchema: z.ZodEnum<{
|
|
905
|
+
accepted: "accepted";
|
|
906
|
+
revoked: "revoked";
|
|
907
|
+
pending: "pending";
|
|
908
|
+
expired: "expired";
|
|
909
|
+
}>;
|
|
910
|
+
export type BusinessInvitationStatus = z.infer<typeof BusinessInvitationStatusSchema>;
|
|
911
|
+
/** The raw token is supplied by the trusted client and is never persisted by the service. */
|
|
912
|
+
export declare const BusinessInvitationCreateRequestSchema: z.ZodObject<{
|
|
913
|
+
email: z.ZodEmail;
|
|
914
|
+
role: z.ZodEnum<{
|
|
915
|
+
operator: "operator";
|
|
916
|
+
viewer: "viewer";
|
|
917
|
+
administrator: "administrator";
|
|
918
|
+
manager: "manager";
|
|
300
919
|
}>;
|
|
301
|
-
|
|
920
|
+
token: z.ZodString;
|
|
921
|
+
idempotencyKey: z.ZodString;
|
|
922
|
+
expiresInHours: z.ZodDefault<z.ZodNumber>;
|
|
302
923
|
}, z.core.$strict>;
|
|
303
|
-
export type
|
|
304
|
-
export declare const
|
|
305
|
-
|
|
924
|
+
export type BusinessInvitationCreateRequest = z.infer<typeof BusinessInvitationCreateRequestSchema>;
|
|
925
|
+
export declare const BusinessInvitationRevokeRequestSchema: z.ZodObject<{
|
|
926
|
+
expectedRevision: z.ZodNumber;
|
|
927
|
+
}, z.core.$strict>;
|
|
928
|
+
export type BusinessInvitationRevokeRequest = z.infer<typeof BusinessInvitationRevokeRequestSchema>;
|
|
929
|
+
export declare const BusinessInvitationSchema: z.ZodObject<{
|
|
930
|
+
invitationId: z.ZodString;
|
|
306
931
|
installationId: z.ZodString;
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
932
|
+
email: z.ZodEmail;
|
|
933
|
+
role: z.ZodEnum<{
|
|
934
|
+
operator: "operator";
|
|
935
|
+
viewer: "viewer";
|
|
936
|
+
administrator: "administrator";
|
|
937
|
+
manager: "manager";
|
|
938
|
+
}>;
|
|
311
939
|
status: z.ZodEnum<{
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
940
|
+
accepted: "accepted";
|
|
941
|
+
revoked: "revoked";
|
|
942
|
+
pending: "pending";
|
|
943
|
+
expired: "expired";
|
|
944
|
+
}>;
|
|
945
|
+
revision: z.ZodNumber;
|
|
946
|
+
createdAt: z.ZodISODateTime;
|
|
947
|
+
expiresAt: z.ZodISODateTime;
|
|
948
|
+
createdBySubject: z.ZodString;
|
|
949
|
+
acceptedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
950
|
+
revokedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
951
|
+
}, z.core.$strict>;
|
|
952
|
+
export type BusinessInvitation = z.infer<typeof BusinessInvitationSchema>;
|
|
953
|
+
export declare const BusinessInvitationResponseSchema: z.ZodObject<{
|
|
954
|
+
ok: z.ZodLiteral<true>;
|
|
955
|
+
data: z.ZodObject<{
|
|
956
|
+
invitation: z.ZodObject<{
|
|
957
|
+
invitationId: z.ZodString;
|
|
958
|
+
installationId: z.ZodString;
|
|
959
|
+
email: z.ZodEmail;
|
|
960
|
+
role: z.ZodEnum<{
|
|
961
|
+
operator: "operator";
|
|
962
|
+
viewer: "viewer";
|
|
963
|
+
administrator: "administrator";
|
|
964
|
+
manager: "manager";
|
|
965
|
+
}>;
|
|
966
|
+
status: z.ZodEnum<{
|
|
967
|
+
accepted: "accepted";
|
|
968
|
+
revoked: "revoked";
|
|
969
|
+
pending: "pending";
|
|
970
|
+
expired: "expired";
|
|
971
|
+
}>;
|
|
972
|
+
revision: z.ZodNumber;
|
|
973
|
+
createdAt: z.ZodISODateTime;
|
|
974
|
+
expiresAt: z.ZodISODateTime;
|
|
975
|
+
createdBySubject: z.ZodString;
|
|
976
|
+
acceptedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
977
|
+
revokedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
978
|
+
}, z.core.$strict>;
|
|
979
|
+
}, z.core.$strict>;
|
|
980
|
+
}, z.core.$strict>;
|
|
981
|
+
export type BusinessInvitationResponse = z.infer<typeof BusinessInvitationResponseSchema>;
|
|
982
|
+
export declare const BusinessInvitationCreateResponseSchema: z.ZodObject<{
|
|
983
|
+
ok: z.ZodLiteral<true>;
|
|
984
|
+
data: z.ZodObject<{
|
|
985
|
+
invitation: z.ZodObject<{
|
|
986
|
+
invitationId: z.ZodString;
|
|
987
|
+
installationId: z.ZodString;
|
|
988
|
+
email: z.ZodEmail;
|
|
989
|
+
role: z.ZodEnum<{
|
|
990
|
+
operator: "operator";
|
|
991
|
+
viewer: "viewer";
|
|
992
|
+
administrator: "administrator";
|
|
993
|
+
manager: "manager";
|
|
994
|
+
}>;
|
|
995
|
+
status: z.ZodEnum<{
|
|
996
|
+
accepted: "accepted";
|
|
997
|
+
revoked: "revoked";
|
|
998
|
+
pending: "pending";
|
|
999
|
+
expired: "expired";
|
|
1000
|
+
}>;
|
|
1001
|
+
revision: z.ZodNumber;
|
|
1002
|
+
createdAt: z.ZodISODateTime;
|
|
1003
|
+
expiresAt: z.ZodISODateTime;
|
|
1004
|
+
createdBySubject: z.ZodString;
|
|
1005
|
+
acceptedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1006
|
+
revokedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1007
|
+
}, z.core.$strict>;
|
|
1008
|
+
acceptPath: z.ZodString;
|
|
1009
|
+
replayed: z.ZodBoolean;
|
|
1010
|
+
}, z.core.$strict>;
|
|
1011
|
+
}, z.core.$strict>;
|
|
1012
|
+
export type BusinessInvitationCreateResponse = z.infer<typeof BusinessInvitationCreateResponseSchema>;
|
|
1013
|
+
export declare const BusinessInvitationListResponseSchema: z.ZodObject<{
|
|
1014
|
+
ok: z.ZodLiteral<true>;
|
|
1015
|
+
data: z.ZodObject<{
|
|
1016
|
+
invitations: z.ZodArray<z.ZodObject<{
|
|
1017
|
+
invitationId: z.ZodString;
|
|
1018
|
+
installationId: z.ZodString;
|
|
1019
|
+
email: z.ZodEmail;
|
|
1020
|
+
role: z.ZodEnum<{
|
|
1021
|
+
operator: "operator";
|
|
1022
|
+
viewer: "viewer";
|
|
1023
|
+
administrator: "administrator";
|
|
1024
|
+
manager: "manager";
|
|
1025
|
+
}>;
|
|
1026
|
+
status: z.ZodEnum<{
|
|
1027
|
+
accepted: "accepted";
|
|
1028
|
+
revoked: "revoked";
|
|
1029
|
+
pending: "pending";
|
|
1030
|
+
expired: "expired";
|
|
1031
|
+
}>;
|
|
1032
|
+
revision: z.ZodNumber;
|
|
1033
|
+
createdAt: z.ZodISODateTime;
|
|
1034
|
+
expiresAt: z.ZodISODateTime;
|
|
1035
|
+
createdBySubject: z.ZodString;
|
|
1036
|
+
acceptedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1037
|
+
revokedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1038
|
+
}, z.core.$strict>>;
|
|
1039
|
+
}, z.core.$strict>;
|
|
1040
|
+
}, z.core.$strict>;
|
|
1041
|
+
export type BusinessInvitationListResponse = z.infer<typeof BusinessInvitationListResponseSchema>;
|
|
1042
|
+
export declare const BusinessInvitationAcceptResponseSchema: z.ZodObject<{
|
|
1043
|
+
ok: z.ZodLiteral<true>;
|
|
1044
|
+
data: z.ZodObject<{
|
|
1045
|
+
installation: z.ZodObject<{
|
|
1046
|
+
definition: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1047
|
+
kind: z.ZodLiteral<"managed">;
|
|
1048
|
+
definitionId: z.ZodEnum<{
|
|
1049
|
+
travel: "travel";
|
|
1050
|
+
ecommerce: "ecommerce";
|
|
1051
|
+
restaurant: "restaurant";
|
|
1052
|
+
}>;
|
|
1053
|
+
release: z.ZodNumber;
|
|
1054
|
+
digest: z.ZodString;
|
|
1055
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1056
|
+
kind: z.ZodLiteral<"private">;
|
|
1057
|
+
publisherOrg: z.ZodString;
|
|
1058
|
+
app: z.ZodString;
|
|
1059
|
+
environment: z.ZodString;
|
|
1060
|
+
deploymentId: z.ZodString;
|
|
1061
|
+
version: z.ZodString;
|
|
1062
|
+
digest: z.ZodString;
|
|
1063
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1064
|
+
kind: z.ZodLiteral<"legacy">;
|
|
1065
|
+
definitionId: z.ZodEnum<{
|
|
1066
|
+
b2b_saas: "b2b_saas";
|
|
1067
|
+
}>;
|
|
1068
|
+
release: z.ZodNumber;
|
|
1069
|
+
digest: z.ZodString;
|
|
1070
|
+
}, z.core.$strict>], "kind">;
|
|
1071
|
+
collections: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1072
|
+
management: z.ZodOptional<z.ZodObject<{
|
|
1073
|
+
assignment: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1074
|
+
notes: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1075
|
+
}, z.core.$strict>>;
|
|
1076
|
+
publicFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1077
|
+
editableFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1078
|
+
capabilities: z.ZodObject<{
|
|
1079
|
+
read: z.ZodLiteral<true>;
|
|
1080
|
+
create: z.ZodLiteral<true>;
|
|
1081
|
+
update: z.ZodLiteral<true>;
|
|
1082
|
+
erase: z.ZodLiteral<true>;
|
|
1083
|
+
sourceControls: z.ZodLiteral<false>;
|
|
1084
|
+
}, z.core.$strict>;
|
|
1085
|
+
requestBehavior: z.ZodOptional<z.ZodObject<{
|
|
1086
|
+
statuses: z.ZodArray<z.ZodEnum<{
|
|
1087
|
+
new: "new";
|
|
1088
|
+
in_progress: "in_progress";
|
|
1089
|
+
resolved: "resolved";
|
|
1090
|
+
closed: "closed";
|
|
1091
|
+
}>>;
|
|
1092
|
+
assignment: z.ZodBoolean;
|
|
1093
|
+
notes: z.ZodBoolean;
|
|
1094
|
+
}, z.core.$strict>>;
|
|
1095
|
+
key: z.ZodString;
|
|
1096
|
+
title: z.ZodString;
|
|
1097
|
+
singularTitle: z.ZodString;
|
|
1098
|
+
schemaVersion: z.ZodNumber;
|
|
1099
|
+
schemaDigest: z.ZodString;
|
|
1100
|
+
recordSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1101
|
+
summaryFields: z.ZodArray<z.ZodString>;
|
|
1102
|
+
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1103
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1104
|
+
help: z.ZodOptional<z.ZodString>;
|
|
1105
|
+
}, z.core.$strict>>>;
|
|
1106
|
+
filterFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1107
|
+
sortFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1108
|
+
authority: z.ZodLiteral<"native">;
|
|
1109
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1110
|
+
capabilities: z.ZodObject<{
|
|
1111
|
+
read: z.ZodLiteral<true>;
|
|
1112
|
+
create: z.ZodLiteral<false>;
|
|
1113
|
+
update: z.ZodLiteral<false>;
|
|
1114
|
+
erase: z.ZodLiteral<true>;
|
|
1115
|
+
sourceControls: z.ZodLiteral<true>;
|
|
1116
|
+
}, z.core.$strict>;
|
|
1117
|
+
source: z.ZodObject<{
|
|
1118
|
+
connector: z.ZodString;
|
|
1119
|
+
scanOperation: z.ZodString;
|
|
1120
|
+
}, z.core.$strict>;
|
|
1121
|
+
key: z.ZodString;
|
|
1122
|
+
title: z.ZodString;
|
|
1123
|
+
singularTitle: z.ZodString;
|
|
1124
|
+
schemaVersion: z.ZodNumber;
|
|
1125
|
+
schemaDigest: z.ZodString;
|
|
1126
|
+
recordSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1127
|
+
summaryFields: z.ZodArray<z.ZodString>;
|
|
1128
|
+
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1129
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1130
|
+
help: z.ZodOptional<z.ZodString>;
|
|
1131
|
+
}, z.core.$strict>>>;
|
|
1132
|
+
filterFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1133
|
+
sortFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1134
|
+
authority: z.ZodLiteral<"external">;
|
|
1135
|
+
}, z.core.$strict>], "authority">>;
|
|
1136
|
+
profileId: z.ZodOptional<z.ZodEnum<{
|
|
1137
|
+
b2b_saas: "b2b_saas";
|
|
1138
|
+
}>>;
|
|
1139
|
+
id: z.ZodString;
|
|
1140
|
+
organizationId: z.ZodString;
|
|
1141
|
+
appSlug: z.ZodString;
|
|
1142
|
+
environment: z.ZodString;
|
|
1143
|
+
retentionDays: z.ZodUnion<readonly [z.ZodLiteral<7>, z.ZodLiteral<30>, z.ZodLiteral<90>]>;
|
|
1144
|
+
publicId: z.ZodString;
|
|
1145
|
+
active: z.ZodBoolean;
|
|
1146
|
+
currentRole: z.ZodEnum<{
|
|
1147
|
+
operator: "operator";
|
|
1148
|
+
viewer: "viewer";
|
|
1149
|
+
administrator: "administrator";
|
|
1150
|
+
manager: "manager";
|
|
1151
|
+
}>;
|
|
1152
|
+
revision: z.ZodNumber;
|
|
1153
|
+
createdAt: z.ZodISODateTime;
|
|
1154
|
+
updatedAt: z.ZodISODateTime;
|
|
1155
|
+
createdBySubject: z.ZodString;
|
|
1156
|
+
}, z.core.$strict>;
|
|
1157
|
+
grant: z.ZodObject<{
|
|
1158
|
+
installationId: z.ZodString;
|
|
1159
|
+
subject: z.ZodString;
|
|
1160
|
+
email: z.ZodEmail;
|
|
1161
|
+
role: z.ZodEnum<{
|
|
1162
|
+
operator: "operator";
|
|
1163
|
+
viewer: "viewer";
|
|
1164
|
+
administrator: "administrator";
|
|
1165
|
+
manager: "manager";
|
|
1166
|
+
}>;
|
|
1167
|
+
revision: z.ZodNumber;
|
|
1168
|
+
createdAt: z.ZodISODateTime;
|
|
1169
|
+
createdBySubject: z.ZodString;
|
|
1170
|
+
revokedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1171
|
+
}, z.core.$strict>;
|
|
1172
|
+
}, z.core.$strict>;
|
|
1173
|
+
}, z.core.$strict>;
|
|
1174
|
+
export type BusinessInvitationAcceptResponse = z.infer<typeof BusinessInvitationAcceptResponseSchema>;
|
|
1175
|
+
export declare const EligibleBusinessAssigneeSchema: z.ZodObject<{
|
|
1176
|
+
subject: z.ZodString;
|
|
1177
|
+
email: z.ZodEmail;
|
|
1178
|
+
role: z.ZodEnum<{
|
|
1179
|
+
operator: "operator";
|
|
1180
|
+
administrator: "administrator";
|
|
1181
|
+
manager: "manager";
|
|
1182
|
+
}>;
|
|
1183
|
+
}, z.core.$strict>;
|
|
1184
|
+
export type EligibleBusinessAssignee = z.infer<typeof EligibleBusinessAssigneeSchema>;
|
|
1185
|
+
export declare const EligibleBusinessAssigneeListResponseSchema: z.ZodObject<{
|
|
1186
|
+
ok: z.ZodLiteral<true>;
|
|
1187
|
+
data: z.ZodObject<{
|
|
1188
|
+
assignees: z.ZodArray<z.ZodObject<{
|
|
1189
|
+
subject: z.ZodString;
|
|
1190
|
+
email: z.ZodEmail;
|
|
1191
|
+
role: z.ZodEnum<{
|
|
1192
|
+
operator: "operator";
|
|
1193
|
+
administrator: "administrator";
|
|
1194
|
+
manager: "manager";
|
|
1195
|
+
}>;
|
|
1196
|
+
}, z.core.$strict>>;
|
|
1197
|
+
}, z.core.$strict>;
|
|
1198
|
+
}, z.core.$strict>;
|
|
1199
|
+
export type EligibleBusinessAssigneeListResponse = z.infer<typeof EligibleBusinessAssigneeListResponseSchema>;
|
|
1200
|
+
export declare const ManagedRecordCreateRequestSchema: z.ZodObject<{
|
|
1201
|
+
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1202
|
+
}, z.core.$strict>;
|
|
1203
|
+
export type ManagedRecordCreateRequest = z.infer<typeof ManagedRecordCreateRequestSchema>;
|
|
1204
|
+
export declare const ManagedRecordOriginSchema: z.ZodObject<{
|
|
1205
|
+
surface: z.ZodEnum<{
|
|
1206
|
+
public: "public";
|
|
1207
|
+
mcp: "mcp";
|
|
1208
|
+
portal: "portal";
|
|
1209
|
+
api: "api";
|
|
1210
|
+
}>;
|
|
1211
|
+
subject: z.ZodOptional<z.ZodString>;
|
|
1212
|
+
}, z.core.$strict>;
|
|
1213
|
+
export type ManagedRecordOrigin = z.infer<typeof ManagedRecordOriginSchema>;
|
|
1214
|
+
export declare const ManagedRecordRequestStateSchema: z.ZodObject<{
|
|
1215
|
+
status: z.ZodEnum<{
|
|
1216
|
+
new: "new";
|
|
1217
|
+
in_progress: "in_progress";
|
|
1218
|
+
resolved: "resolved";
|
|
315
1219
|
closed: "closed";
|
|
316
1220
|
}>;
|
|
317
1221
|
assigneeSubject: z.ZodOptional<z.ZodString>;
|
|
318
|
-
|
|
1222
|
+
}, z.core.$strict>;
|
|
1223
|
+
export type ManagedRecordRequestState = z.infer<typeof ManagedRecordRequestStateSchema>;
|
|
1224
|
+
export declare const NativeManagedRecordSchema: z.ZodObject<{
|
|
319
1225
|
origin: z.ZodObject<{
|
|
320
1226
|
surface: z.ZodEnum<{
|
|
321
1227
|
public: "public";
|
|
@@ -325,81 +1231,377 @@ export declare const ManagedRecordSchema: z.ZodObject<{
|
|
|
325
1231
|
}>;
|
|
326
1232
|
subject: z.ZodOptional<z.ZodString>;
|
|
327
1233
|
}, z.core.$strict>;
|
|
1234
|
+
assigneeSubject: z.ZodOptional<z.ZodString>;
|
|
1235
|
+
request: z.ZodOptional<z.ZodObject<{
|
|
1236
|
+
status: z.ZodEnum<{
|
|
1237
|
+
new: "new";
|
|
1238
|
+
in_progress: "in_progress";
|
|
1239
|
+
resolved: "resolved";
|
|
1240
|
+
closed: "closed";
|
|
1241
|
+
}>;
|
|
1242
|
+
assigneeSubject: z.ZodOptional<z.ZodString>;
|
|
1243
|
+
}, z.core.$strict>>;
|
|
1244
|
+
id: z.ZodString;
|
|
1245
|
+
organizationId: z.ZodString;
|
|
1246
|
+
appSlug: z.ZodString;
|
|
1247
|
+
environment: z.ZodString;
|
|
1248
|
+
installationId: z.ZodString;
|
|
1249
|
+
collection: z.ZodString;
|
|
1250
|
+
schemaVersion: z.ZodNumber;
|
|
1251
|
+
schemaDigest: z.ZodString;
|
|
1252
|
+
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1253
|
+
revision: z.ZodNumber;
|
|
328
1254
|
createdAt: z.ZodISODateTime;
|
|
329
1255
|
updatedAt: z.ZodISODateTime;
|
|
330
1256
|
retentionExpiresAt: z.ZodISODateTime;
|
|
1257
|
+
authority: z.ZodLiteral<"native">;
|
|
331
1258
|
}, z.core.$strict>;
|
|
332
|
-
export type
|
|
333
|
-
export declare const
|
|
1259
|
+
export type NativeManagedRecord = z.infer<typeof NativeManagedRecordSchema>;
|
|
1260
|
+
export declare const ExternalManagedRecordSourceSchema: z.ZodObject<{
|
|
1261
|
+
bindingReference: z.ZodString;
|
|
1262
|
+
bindingGeneration: z.ZodNumber;
|
|
1263
|
+
sourceRecordId: z.ZodString;
|
|
1264
|
+
sourceVersion: z.ZodOptional<z.ZodString>;
|
|
1265
|
+
observedAt: z.ZodISODateTime;
|
|
1266
|
+
lastCompletedSyncAt: z.ZodISODateTime;
|
|
1267
|
+
health: z.ZodEnum<{
|
|
1268
|
+
unavailable: "unavailable";
|
|
1269
|
+
paused: "paused";
|
|
1270
|
+
pending: "pending";
|
|
1271
|
+
healthy: "healthy";
|
|
1272
|
+
degraded: "degraded";
|
|
1273
|
+
authorization_required: "authorization_required";
|
|
1274
|
+
}>;
|
|
1275
|
+
completeness: z.ZodEnum<{
|
|
1276
|
+
unknown: "unknown";
|
|
1277
|
+
partial: "partial";
|
|
1278
|
+
complete: "complete";
|
|
1279
|
+
rebuilding: "rebuilding";
|
|
1280
|
+
}>;
|
|
1281
|
+
}, z.core.$strict>;
|
|
1282
|
+
export declare const ExternalManagedRecordSchema: z.ZodObject<{
|
|
1283
|
+
source: z.ZodObject<{
|
|
1284
|
+
bindingReference: z.ZodString;
|
|
1285
|
+
bindingGeneration: z.ZodNumber;
|
|
1286
|
+
sourceRecordId: z.ZodString;
|
|
1287
|
+
sourceVersion: z.ZodOptional<z.ZodString>;
|
|
1288
|
+
observedAt: z.ZodISODateTime;
|
|
1289
|
+
lastCompletedSyncAt: z.ZodISODateTime;
|
|
1290
|
+
health: z.ZodEnum<{
|
|
1291
|
+
unavailable: "unavailable";
|
|
1292
|
+
paused: "paused";
|
|
1293
|
+
pending: "pending";
|
|
1294
|
+
healthy: "healthy";
|
|
1295
|
+
degraded: "degraded";
|
|
1296
|
+
authorization_required: "authorization_required";
|
|
1297
|
+
}>;
|
|
1298
|
+
completeness: z.ZodEnum<{
|
|
1299
|
+
unknown: "unknown";
|
|
1300
|
+
partial: "partial";
|
|
1301
|
+
complete: "complete";
|
|
1302
|
+
rebuilding: "rebuilding";
|
|
1303
|
+
}>;
|
|
1304
|
+
}, z.core.$strict>;
|
|
334
1305
|
id: z.ZodString;
|
|
1306
|
+
organizationId: z.ZodString;
|
|
1307
|
+
appSlug: z.ZodString;
|
|
1308
|
+
environment: z.ZodString;
|
|
335
1309
|
installationId: z.ZodString;
|
|
336
1310
|
collection: z.ZodString;
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
1311
|
+
schemaVersion: z.ZodNumber;
|
|
1312
|
+
schemaDigest: z.ZodString;
|
|
1313
|
+
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1314
|
+
revision: z.ZodNumber;
|
|
1315
|
+
createdAt: z.ZodISODateTime;
|
|
1316
|
+
updatedAt: z.ZodISODateTime;
|
|
1317
|
+
retentionExpiresAt: z.ZodISODateTime;
|
|
1318
|
+
authority: z.ZodLiteral<"external">;
|
|
1319
|
+
}, z.core.$strict>;
|
|
1320
|
+
export type ExternalManagedRecord = z.infer<typeof ExternalManagedRecordSchema>;
|
|
1321
|
+
export declare const ManagedRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1322
|
+
origin: z.ZodObject<{
|
|
1323
|
+
surface: z.ZodEnum<{
|
|
1324
|
+
public: "public";
|
|
1325
|
+
mcp: "mcp";
|
|
1326
|
+
portal: "portal";
|
|
1327
|
+
api: "api";
|
|
1328
|
+
}>;
|
|
1329
|
+
subject: z.ZodOptional<z.ZodString>;
|
|
1330
|
+
}, z.core.$strict>;
|
|
1331
|
+
assigneeSubject: z.ZodOptional<z.ZodString>;
|
|
1332
|
+
request: z.ZodOptional<z.ZodObject<{
|
|
1333
|
+
status: z.ZodEnum<{
|
|
1334
|
+
new: "new";
|
|
1335
|
+
in_progress: "in_progress";
|
|
1336
|
+
resolved: "resolved";
|
|
1337
|
+
closed: "closed";
|
|
1338
|
+
}>;
|
|
1339
|
+
assigneeSubject: z.ZodOptional<z.ZodString>;
|
|
1340
|
+
}, z.core.$strict>>;
|
|
1341
|
+
id: z.ZodString;
|
|
1342
|
+
organizationId: z.ZodString;
|
|
1343
|
+
appSlug: z.ZodString;
|
|
1344
|
+
environment: z.ZodString;
|
|
1345
|
+
installationId: z.ZodString;
|
|
1346
|
+
collection: z.ZodString;
|
|
1347
|
+
schemaVersion: z.ZodNumber;
|
|
1348
|
+
schemaDigest: z.ZodString;
|
|
1349
|
+
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1350
|
+
revision: z.ZodNumber;
|
|
1351
|
+
createdAt: z.ZodISODateTime;
|
|
1352
|
+
updatedAt: z.ZodISODateTime;
|
|
1353
|
+
retentionExpiresAt: z.ZodISODateTime;
|
|
1354
|
+
authority: z.ZodLiteral<"native">;
|
|
1355
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1356
|
+
source: z.ZodObject<{
|
|
1357
|
+
bindingReference: z.ZodString;
|
|
1358
|
+
bindingGeneration: z.ZodNumber;
|
|
1359
|
+
sourceRecordId: z.ZodString;
|
|
1360
|
+
sourceVersion: z.ZodOptional<z.ZodString>;
|
|
1361
|
+
observedAt: z.ZodISODateTime;
|
|
1362
|
+
lastCompletedSyncAt: z.ZodISODateTime;
|
|
1363
|
+
health: z.ZodEnum<{
|
|
1364
|
+
unavailable: "unavailable";
|
|
1365
|
+
paused: "paused";
|
|
1366
|
+
pending: "pending";
|
|
1367
|
+
healthy: "healthy";
|
|
1368
|
+
degraded: "degraded";
|
|
1369
|
+
authorization_required: "authorization_required";
|
|
1370
|
+
}>;
|
|
1371
|
+
completeness: z.ZodEnum<{
|
|
1372
|
+
unknown: "unknown";
|
|
1373
|
+
partial: "partial";
|
|
1374
|
+
complete: "complete";
|
|
1375
|
+
rebuilding: "rebuilding";
|
|
1376
|
+
}>;
|
|
1377
|
+
}, z.core.$strict>;
|
|
1378
|
+
id: z.ZodString;
|
|
1379
|
+
organizationId: z.ZodString;
|
|
1380
|
+
appSlug: z.ZodString;
|
|
1381
|
+
environment: z.ZodString;
|
|
1382
|
+
installationId: z.ZodString;
|
|
1383
|
+
collection: z.ZodString;
|
|
1384
|
+
schemaVersion: z.ZodNumber;
|
|
1385
|
+
schemaDigest: z.ZodString;
|
|
1386
|
+
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1387
|
+
revision: z.ZodNumber;
|
|
1388
|
+
createdAt: z.ZodISODateTime;
|
|
1389
|
+
updatedAt: z.ZodISODateTime;
|
|
1390
|
+
retentionExpiresAt: z.ZodISODateTime;
|
|
1391
|
+
authority: z.ZodLiteral<"external">;
|
|
1392
|
+
}, z.core.$strict>], "authority">;
|
|
1393
|
+
export type ManagedRecord = z.infer<typeof ManagedRecordSchema>;
|
|
1394
|
+
export declare const NativeManagedRecordTombstoneSchema: z.ZodObject<{
|
|
1395
|
+
deletionReason: z.ZodEnum<{
|
|
1396
|
+
customer_request: "customer_request";
|
|
1397
|
+
retention_expired: "retention_expired";
|
|
342
1398
|
}>;
|
|
1399
|
+
id: z.ZodString;
|
|
1400
|
+
organizationId: z.ZodString;
|
|
1401
|
+
appSlug: z.ZodString;
|
|
1402
|
+
environment: z.ZodString;
|
|
1403
|
+
installationId: z.ZodString;
|
|
1404
|
+
collection: z.ZodString;
|
|
1405
|
+
revision: z.ZodNumber;
|
|
1406
|
+
deletedAt: z.ZodISODateTime;
|
|
1407
|
+
authority: z.ZodLiteral<"native">;
|
|
1408
|
+
}, z.core.$strict>;
|
|
1409
|
+
export declare const ExternalManagedRecordSuppressionSchema: z.ZodObject<{
|
|
1410
|
+
deletionReason: z.ZodLiteral<"customer_request">;
|
|
1411
|
+
source: z.ZodObject<{
|
|
1412
|
+
bindingReference: z.ZodString;
|
|
1413
|
+
bindingGeneration: z.ZodNumber;
|
|
1414
|
+
sourceRecordId: z.ZodString;
|
|
1415
|
+
}, z.core.$strict>;
|
|
1416
|
+
id: z.ZodString;
|
|
1417
|
+
organizationId: z.ZodString;
|
|
1418
|
+
appSlug: z.ZodString;
|
|
1419
|
+
environment: z.ZodString;
|
|
1420
|
+
installationId: z.ZodString;
|
|
1421
|
+
collection: z.ZodString;
|
|
343
1422
|
revision: z.ZodNumber;
|
|
344
1423
|
deletedAt: z.ZodISODateTime;
|
|
1424
|
+
authority: z.ZodLiteral<"external">;
|
|
1425
|
+
}, z.core.$strict>;
|
|
1426
|
+
export declare const ManagedRecordTombstoneSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
345
1427
|
deletionReason: z.ZodEnum<{
|
|
346
1428
|
customer_request: "customer_request";
|
|
347
1429
|
retention_expired: "retention_expired";
|
|
348
1430
|
}>;
|
|
349
|
-
|
|
1431
|
+
id: z.ZodString;
|
|
1432
|
+
organizationId: z.ZodString;
|
|
1433
|
+
appSlug: z.ZodString;
|
|
1434
|
+
environment: z.ZodString;
|
|
1435
|
+
installationId: z.ZodString;
|
|
1436
|
+
collection: z.ZodString;
|
|
1437
|
+
revision: z.ZodNumber;
|
|
1438
|
+
deletedAt: z.ZodISODateTime;
|
|
1439
|
+
authority: z.ZodLiteral<"native">;
|
|
1440
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1441
|
+
deletionReason: z.ZodLiteral<"customer_request">;
|
|
1442
|
+
source: z.ZodObject<{
|
|
1443
|
+
bindingReference: z.ZodString;
|
|
1444
|
+
bindingGeneration: z.ZodNumber;
|
|
1445
|
+
sourceRecordId: z.ZodString;
|
|
1446
|
+
}, z.core.$strict>;
|
|
1447
|
+
id: z.ZodString;
|
|
1448
|
+
organizationId: z.ZodString;
|
|
1449
|
+
appSlug: z.ZodString;
|
|
1450
|
+
environment: z.ZodString;
|
|
1451
|
+
installationId: z.ZodString;
|
|
1452
|
+
collection: z.ZodString;
|
|
1453
|
+
revision: z.ZodNumber;
|
|
1454
|
+
deletedAt: z.ZodISODateTime;
|
|
1455
|
+
authority: z.ZodLiteral<"external">;
|
|
1456
|
+
}, z.core.$strict>], "authority">;
|
|
350
1457
|
export type ManagedRecordTombstone = z.infer<typeof ManagedRecordTombstoneSchema>;
|
|
351
1458
|
export declare const ManagedRecordResponseSchema: z.ZodObject<{
|
|
352
1459
|
ok: z.ZodLiteral<true>;
|
|
353
1460
|
data: z.ZodObject<{
|
|
354
|
-
record: z.ZodObject<{
|
|
1461
|
+
record: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1462
|
+
origin: z.ZodObject<{
|
|
1463
|
+
surface: z.ZodEnum<{
|
|
1464
|
+
public: "public";
|
|
1465
|
+
mcp: "mcp";
|
|
1466
|
+
portal: "portal";
|
|
1467
|
+
api: "api";
|
|
1468
|
+
}>;
|
|
1469
|
+
subject: z.ZodOptional<z.ZodString>;
|
|
1470
|
+
}, z.core.$strict>;
|
|
1471
|
+
assigneeSubject: z.ZodOptional<z.ZodString>;
|
|
1472
|
+
request: z.ZodOptional<z.ZodObject<{
|
|
1473
|
+
status: z.ZodEnum<{
|
|
1474
|
+
new: "new";
|
|
1475
|
+
in_progress: "in_progress";
|
|
1476
|
+
resolved: "resolved";
|
|
1477
|
+
closed: "closed";
|
|
1478
|
+
}>;
|
|
1479
|
+
assigneeSubject: z.ZodOptional<z.ZodString>;
|
|
1480
|
+
}, z.core.$strict>>;
|
|
1481
|
+
id: z.ZodString;
|
|
1482
|
+
organizationId: z.ZodString;
|
|
1483
|
+
appSlug: z.ZodString;
|
|
1484
|
+
environment: z.ZodString;
|
|
1485
|
+
installationId: z.ZodString;
|
|
1486
|
+
collection: z.ZodString;
|
|
1487
|
+
schemaVersion: z.ZodNumber;
|
|
1488
|
+
schemaDigest: z.ZodString;
|
|
1489
|
+
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1490
|
+
revision: z.ZodNumber;
|
|
1491
|
+
createdAt: z.ZodISODateTime;
|
|
1492
|
+
updatedAt: z.ZodISODateTime;
|
|
1493
|
+
retentionExpiresAt: z.ZodISODateTime;
|
|
1494
|
+
authority: z.ZodLiteral<"native">;
|
|
1495
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1496
|
+
source: z.ZodObject<{
|
|
1497
|
+
bindingReference: z.ZodString;
|
|
1498
|
+
bindingGeneration: z.ZodNumber;
|
|
1499
|
+
sourceRecordId: z.ZodString;
|
|
1500
|
+
sourceVersion: z.ZodOptional<z.ZodString>;
|
|
1501
|
+
observedAt: z.ZodISODateTime;
|
|
1502
|
+
lastCompletedSyncAt: z.ZodISODateTime;
|
|
1503
|
+
health: z.ZodEnum<{
|
|
1504
|
+
unavailable: "unavailable";
|
|
1505
|
+
paused: "paused";
|
|
1506
|
+
pending: "pending";
|
|
1507
|
+
healthy: "healthy";
|
|
1508
|
+
degraded: "degraded";
|
|
1509
|
+
authorization_required: "authorization_required";
|
|
1510
|
+
}>;
|
|
1511
|
+
completeness: z.ZodEnum<{
|
|
1512
|
+
unknown: "unknown";
|
|
1513
|
+
partial: "partial";
|
|
1514
|
+
complete: "complete";
|
|
1515
|
+
rebuilding: "rebuilding";
|
|
1516
|
+
}>;
|
|
1517
|
+
}, z.core.$strict>;
|
|
355
1518
|
id: z.ZodString;
|
|
1519
|
+
organizationId: z.ZodString;
|
|
1520
|
+
appSlug: z.ZodString;
|
|
1521
|
+
environment: z.ZodString;
|
|
356
1522
|
installationId: z.ZodString;
|
|
357
1523
|
collection: z.ZodString;
|
|
358
1524
|
schemaVersion: z.ZodNumber;
|
|
359
1525
|
schemaDigest: z.ZodString;
|
|
360
1526
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
361
|
-
status: z.ZodEnum<{
|
|
362
|
-
new: "new";
|
|
363
|
-
in_progress: "in_progress";
|
|
364
|
-
resolved: "resolved";
|
|
365
|
-
closed: "closed";
|
|
366
|
-
}>;
|
|
367
|
-
assigneeSubject: z.ZodOptional<z.ZodString>;
|
|
368
1527
|
revision: z.ZodNumber;
|
|
369
|
-
origin: z.ZodObject<{
|
|
370
|
-
surface: z.ZodEnum<{
|
|
371
|
-
public: "public";
|
|
372
|
-
mcp: "mcp";
|
|
373
|
-
portal: "portal";
|
|
374
|
-
api: "api";
|
|
375
|
-
}>;
|
|
376
|
-
subject: z.ZodOptional<z.ZodString>;
|
|
377
|
-
}, z.core.$strict>;
|
|
378
1528
|
createdAt: z.ZodISODateTime;
|
|
379
1529
|
updatedAt: z.ZodISODateTime;
|
|
380
1530
|
retentionExpiresAt: z.ZodISODateTime;
|
|
381
|
-
|
|
1531
|
+
authority: z.ZodLiteral<"external">;
|
|
1532
|
+
}, z.core.$strict>], "authority">;
|
|
1533
|
+
collection: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1534
|
+
management: z.ZodOptional<z.ZodObject<{
|
|
1535
|
+
assignment: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1536
|
+
notes: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1537
|
+
}, z.core.$strict>>;
|
|
1538
|
+
publicFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1539
|
+
editableFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1540
|
+
capabilities: z.ZodObject<{
|
|
1541
|
+
read: z.ZodLiteral<true>;
|
|
1542
|
+
create: z.ZodLiteral<true>;
|
|
1543
|
+
update: z.ZodLiteral<true>;
|
|
1544
|
+
erase: z.ZodLiteral<true>;
|
|
1545
|
+
sourceControls: z.ZodLiteral<false>;
|
|
1546
|
+
}, z.core.$strict>;
|
|
1547
|
+
requestBehavior: z.ZodOptional<z.ZodObject<{
|
|
1548
|
+
statuses: z.ZodArray<z.ZodEnum<{
|
|
1549
|
+
new: "new";
|
|
1550
|
+
in_progress: "in_progress";
|
|
1551
|
+
resolved: "resolved";
|
|
1552
|
+
closed: "closed";
|
|
1553
|
+
}>>;
|
|
1554
|
+
assignment: z.ZodBoolean;
|
|
1555
|
+
notes: z.ZodBoolean;
|
|
1556
|
+
}, z.core.$strict>>;
|
|
1557
|
+
key: z.ZodString;
|
|
1558
|
+
title: z.ZodString;
|
|
1559
|
+
singularTitle: z.ZodString;
|
|
1560
|
+
schemaVersion: z.ZodNumber;
|
|
1561
|
+
schemaDigest: z.ZodString;
|
|
1562
|
+
recordSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1563
|
+
summaryFields: z.ZodArray<z.ZodString>;
|
|
1564
|
+
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1565
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1566
|
+
help: z.ZodOptional<z.ZodString>;
|
|
1567
|
+
}, z.core.$strict>>>;
|
|
1568
|
+
filterFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1569
|
+
sortFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1570
|
+
authority: z.ZodLiteral<"native">;
|
|
1571
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1572
|
+
capabilities: z.ZodObject<{
|
|
1573
|
+
read: z.ZodLiteral<true>;
|
|
1574
|
+
create: z.ZodLiteral<false>;
|
|
1575
|
+
update: z.ZodLiteral<false>;
|
|
1576
|
+
erase: z.ZodLiteral<true>;
|
|
1577
|
+
sourceControls: z.ZodLiteral<true>;
|
|
1578
|
+
}, z.core.$strict>;
|
|
1579
|
+
source: z.ZodObject<{
|
|
1580
|
+
connector: z.ZodString;
|
|
1581
|
+
scanOperation: z.ZodString;
|
|
1582
|
+
}, z.core.$strict>;
|
|
1583
|
+
key: z.ZodString;
|
|
1584
|
+
title: z.ZodString;
|
|
1585
|
+
singularTitle: z.ZodString;
|
|
1586
|
+
schemaVersion: z.ZodNumber;
|
|
1587
|
+
schemaDigest: z.ZodString;
|
|
1588
|
+
recordSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1589
|
+
summaryFields: z.ZodArray<z.ZodString>;
|
|
1590
|
+
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1591
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1592
|
+
help: z.ZodOptional<z.ZodString>;
|
|
1593
|
+
}, z.core.$strict>>>;
|
|
1594
|
+
filterFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1595
|
+
sortFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1596
|
+
authority: z.ZodLiteral<"external">;
|
|
1597
|
+
}, z.core.$strict>], "authority">>;
|
|
382
1598
|
}, z.core.$strict>;
|
|
383
1599
|
}, z.core.$strict>;
|
|
384
1600
|
export type ManagedRecordResponse = z.infer<typeof ManagedRecordResponseSchema>;
|
|
385
1601
|
export declare const ManagedRecordListResponseSchema: z.ZodObject<{
|
|
386
1602
|
ok: z.ZodLiteral<true>;
|
|
387
1603
|
data: z.ZodObject<{
|
|
388
|
-
records: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
389
|
-
id: z.ZodString;
|
|
390
|
-
installationId: z.ZodString;
|
|
391
|
-
collection: z.ZodString;
|
|
392
|
-
schemaVersion: z.ZodNumber;
|
|
393
|
-
schemaDigest: z.ZodString;
|
|
394
|
-
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
395
|
-
status: z.ZodEnum<{
|
|
396
|
-
new: "new";
|
|
397
|
-
in_progress: "in_progress";
|
|
398
|
-
resolved: "resolved";
|
|
399
|
-
closed: "closed";
|
|
400
|
-
}>;
|
|
401
|
-
assigneeSubject: z.ZodOptional<z.ZodString>;
|
|
402
|
-
revision: z.ZodNumber;
|
|
1604
|
+
records: z.ZodArray<z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
403
1605
|
origin: z.ZodObject<{
|
|
404
1606
|
surface: z.ZodEnum<{
|
|
405
1607
|
public: "public";
|
|
@@ -409,34 +1611,110 @@ export declare const ManagedRecordListResponseSchema: z.ZodObject<{
|
|
|
409
1611
|
}>;
|
|
410
1612
|
subject: z.ZodOptional<z.ZodString>;
|
|
411
1613
|
}, z.core.$strict>;
|
|
1614
|
+
assigneeSubject: z.ZodOptional<z.ZodString>;
|
|
1615
|
+
request: z.ZodOptional<z.ZodObject<{
|
|
1616
|
+
status: z.ZodEnum<{
|
|
1617
|
+
new: "new";
|
|
1618
|
+
in_progress: "in_progress";
|
|
1619
|
+
resolved: "resolved";
|
|
1620
|
+
closed: "closed";
|
|
1621
|
+
}>;
|
|
1622
|
+
assigneeSubject: z.ZodOptional<z.ZodString>;
|
|
1623
|
+
}, z.core.$strict>>;
|
|
1624
|
+
id: z.ZodString;
|
|
1625
|
+
organizationId: z.ZodString;
|
|
1626
|
+
appSlug: z.ZodString;
|
|
1627
|
+
environment: z.ZodString;
|
|
1628
|
+
installationId: z.ZodString;
|
|
1629
|
+
collection: z.ZodString;
|
|
1630
|
+
schemaVersion: z.ZodNumber;
|
|
1631
|
+
schemaDigest: z.ZodString;
|
|
1632
|
+
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1633
|
+
revision: z.ZodNumber;
|
|
412
1634
|
createdAt: z.ZodISODateTime;
|
|
413
1635
|
updatedAt: z.ZodISODateTime;
|
|
414
1636
|
retentionExpiresAt: z.ZodISODateTime;
|
|
1637
|
+
authority: z.ZodLiteral<"native">;
|
|
415
1638
|
}, z.core.$strict>, z.ZodObject<{
|
|
1639
|
+
source: z.ZodObject<{
|
|
1640
|
+
bindingReference: z.ZodString;
|
|
1641
|
+
bindingGeneration: z.ZodNumber;
|
|
1642
|
+
sourceRecordId: z.ZodString;
|
|
1643
|
+
sourceVersion: z.ZodOptional<z.ZodString>;
|
|
1644
|
+
observedAt: z.ZodISODateTime;
|
|
1645
|
+
lastCompletedSyncAt: z.ZodISODateTime;
|
|
1646
|
+
health: z.ZodEnum<{
|
|
1647
|
+
unavailable: "unavailable";
|
|
1648
|
+
paused: "paused";
|
|
1649
|
+
pending: "pending";
|
|
1650
|
+
healthy: "healthy";
|
|
1651
|
+
degraded: "degraded";
|
|
1652
|
+
authorization_required: "authorization_required";
|
|
1653
|
+
}>;
|
|
1654
|
+
completeness: z.ZodEnum<{
|
|
1655
|
+
unknown: "unknown";
|
|
1656
|
+
partial: "partial";
|
|
1657
|
+
complete: "complete";
|
|
1658
|
+
rebuilding: "rebuilding";
|
|
1659
|
+
}>;
|
|
1660
|
+
}, z.core.$strict>;
|
|
416
1661
|
id: z.ZodString;
|
|
1662
|
+
organizationId: z.ZodString;
|
|
1663
|
+
appSlug: z.ZodString;
|
|
1664
|
+
environment: z.ZodString;
|
|
417
1665
|
installationId: z.ZodString;
|
|
418
1666
|
collection: z.ZodString;
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
resolved: "resolved";
|
|
423
|
-
closed: "closed";
|
|
424
|
-
}>;
|
|
1667
|
+
schemaVersion: z.ZodNumber;
|
|
1668
|
+
schemaDigest: z.ZodString;
|
|
1669
|
+
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
425
1670
|
revision: z.ZodNumber;
|
|
426
|
-
|
|
1671
|
+
createdAt: z.ZodISODateTime;
|
|
1672
|
+
updatedAt: z.ZodISODateTime;
|
|
1673
|
+
retentionExpiresAt: z.ZodISODateTime;
|
|
1674
|
+
authority: z.ZodLiteral<"external">;
|
|
1675
|
+
}, z.core.$strict>], "authority">, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
427
1676
|
deletionReason: z.ZodEnum<{
|
|
428
1677
|
customer_request: "customer_request";
|
|
429
1678
|
retention_expired: "retention_expired";
|
|
430
1679
|
}>;
|
|
431
|
-
|
|
1680
|
+
id: z.ZodString;
|
|
1681
|
+
organizationId: z.ZodString;
|
|
1682
|
+
appSlug: z.ZodString;
|
|
1683
|
+
environment: z.ZodString;
|
|
1684
|
+
installationId: z.ZodString;
|
|
1685
|
+
collection: z.ZodString;
|
|
1686
|
+
revision: z.ZodNumber;
|
|
1687
|
+
deletedAt: z.ZodISODateTime;
|
|
1688
|
+
authority: z.ZodLiteral<"native">;
|
|
1689
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1690
|
+
deletionReason: z.ZodLiteral<"customer_request">;
|
|
1691
|
+
source: z.ZodObject<{
|
|
1692
|
+
bindingReference: z.ZodString;
|
|
1693
|
+
bindingGeneration: z.ZodNumber;
|
|
1694
|
+
sourceRecordId: z.ZodString;
|
|
1695
|
+
}, z.core.$strict>;
|
|
1696
|
+
id: z.ZodString;
|
|
1697
|
+
organizationId: z.ZodString;
|
|
1698
|
+
appSlug: z.ZodString;
|
|
1699
|
+
environment: z.ZodString;
|
|
1700
|
+
installationId: z.ZodString;
|
|
1701
|
+
collection: z.ZodString;
|
|
1702
|
+
revision: z.ZodNumber;
|
|
1703
|
+
deletedAt: z.ZodISODateTime;
|
|
1704
|
+
authority: z.ZodLiteral<"external">;
|
|
1705
|
+
}, z.core.$strict>], "authority">]>>;
|
|
432
1706
|
nextCursor: z.ZodOptional<z.ZodString>;
|
|
433
1707
|
}, z.core.$strict>;
|
|
434
1708
|
}, z.core.$strict>;
|
|
435
1709
|
export type ManagedRecordListResponse = z.infer<typeof ManagedRecordListResponseSchema>;
|
|
436
1710
|
export declare const ManagedRecordMutationRequestSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1711
|
+
operation: z.ZodLiteral<"migrate-schema">;
|
|
1712
|
+
expectedRevision: z.ZodNumber;
|
|
1713
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
437
1714
|
operation: z.ZodLiteral<"update">;
|
|
438
1715
|
expectedRevision: z.ZodNumber;
|
|
439
1716
|
patch: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1717
|
+
unset: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
440
1718
|
}, z.core.$strict>, z.ZodObject<{
|
|
441
1719
|
operation: z.ZodLiteral<"assign">;
|
|
442
1720
|
expectedRevision: z.ZodNumber;
|
|
@@ -456,17 +1734,62 @@ export declare const ManagedRecordMutationRequestSchema: z.ZodDiscriminatedUnion
|
|
|
456
1734
|
note: z.ZodString;
|
|
457
1735
|
}, z.core.$strict>], "operation">;
|
|
458
1736
|
export type ManagedRecordMutationRequest = z.infer<typeof ManagedRecordMutationRequestSchema>;
|
|
1737
|
+
export declare const BusinessApiAdmissionErrorSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1738
|
+
code: z.ZodLiteral<"business_api_rate_limited">;
|
|
1739
|
+
error: z.ZodString;
|
|
1740
|
+
category: z.ZodEnum<{
|
|
1741
|
+
read: "read";
|
|
1742
|
+
mutation: "mutation";
|
|
1743
|
+
recovery: "recovery";
|
|
1744
|
+
}>;
|
|
1745
|
+
resetAt: z.ZodISODateTime;
|
|
1746
|
+
limits: z.ZodObject<{
|
|
1747
|
+
subject: z.ZodNumber;
|
|
1748
|
+
installation: z.ZodNumber;
|
|
1749
|
+
org: z.ZodNumber;
|
|
1750
|
+
}, z.core.$strict>;
|
|
1751
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1752
|
+
code: z.ZodLiteral<"business_api_admission_unavailable">;
|
|
1753
|
+
error: z.ZodString;
|
|
1754
|
+
}, z.core.$strict>], "code">;
|
|
1755
|
+
export type BusinessApiAdmissionError = z.infer<typeof BusinessApiAdmissionErrorSchema>;
|
|
1756
|
+
export declare const SolutionInstallationCapacityErrorSchema: z.ZodObject<{
|
|
1757
|
+
code: z.ZodLiteral<"installation_capacity_exceeded">;
|
|
1758
|
+
error: z.ZodString;
|
|
1759
|
+
}, z.core.$strict>;
|
|
1760
|
+
export type SolutionInstallationCapacityError = z.infer<typeof SolutionInstallationCapacityErrorSchema>;
|
|
1761
|
+
export declare const ManagedRecordOperationNotSupportedErrorSchema: z.ZodObject<{
|
|
1762
|
+
ok: z.ZodLiteral<false>;
|
|
1763
|
+
error: z.ZodString;
|
|
1764
|
+
code: z.ZodLiteral<"operation_not_supported">;
|
|
1765
|
+
details: z.ZodObject<{
|
|
1766
|
+
authority: z.ZodLiteral<"external">;
|
|
1767
|
+
operation: z.ZodEnum<{
|
|
1768
|
+
create: "create";
|
|
1769
|
+
update: "update";
|
|
1770
|
+
"migrate-schema": "migrate-schema";
|
|
1771
|
+
assign: "assign";
|
|
1772
|
+
"set-status": "set-status";
|
|
1773
|
+
"add-note": "add-note";
|
|
1774
|
+
}>;
|
|
1775
|
+
}, z.core.$strict>;
|
|
1776
|
+
}, z.core.$strict>;
|
|
1777
|
+
export type ManagedRecordOperationNotSupportedError = z.infer<typeof ManagedRecordOperationNotSupportedErrorSchema>;
|
|
459
1778
|
export declare const ManagedRecordActivitySchema: z.ZodObject<{
|
|
460
1779
|
id: z.ZodString;
|
|
461
1780
|
recordId: z.ZodString;
|
|
462
1781
|
revision: z.ZodNumber;
|
|
463
1782
|
operation: z.ZodEnum<{
|
|
1783
|
+
create: "create";
|
|
464
1784
|
update: "update";
|
|
465
1785
|
assign: "assign";
|
|
466
1786
|
"set-status": "set-status";
|
|
467
1787
|
"add-note": "add-note";
|
|
468
|
-
create: "create";
|
|
469
1788
|
delete: "delete";
|
|
1789
|
+
"source-import": "source-import";
|
|
1790
|
+
"schema-migrated": "schema-migrated";
|
|
1791
|
+
"source-delete": "source-delete";
|
|
1792
|
+
suppress: "suppress";
|
|
470
1793
|
}>;
|
|
471
1794
|
actorSubject: z.ZodOptional<z.ZodString>;
|
|
472
1795
|
createdAt: z.ZodISODateTime;
|
|
@@ -481,17 +1804,22 @@ export declare const ManagedRecordActivityListResponseSchema: z.ZodObject<{
|
|
|
481
1804
|
recordId: z.ZodString;
|
|
482
1805
|
revision: z.ZodNumber;
|
|
483
1806
|
operation: z.ZodEnum<{
|
|
1807
|
+
create: "create";
|
|
484
1808
|
update: "update";
|
|
485
1809
|
assign: "assign";
|
|
486
1810
|
"set-status": "set-status";
|
|
487
1811
|
"add-note": "add-note";
|
|
488
|
-
create: "create";
|
|
489
1812
|
delete: "delete";
|
|
1813
|
+
"source-import": "source-import";
|
|
1814
|
+
"schema-migrated": "schema-migrated";
|
|
1815
|
+
"source-delete": "source-delete";
|
|
1816
|
+
suppress: "suppress";
|
|
490
1817
|
}>;
|
|
491
1818
|
actorSubject: z.ZodOptional<z.ZodString>;
|
|
492
1819
|
createdAt: z.ZodISODateTime;
|
|
493
1820
|
note: z.ZodOptional<z.ZodString>;
|
|
494
1821
|
}, z.core.$strict>>;
|
|
1822
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
495
1823
|
}, z.core.$strict>;
|
|
496
1824
|
}, z.core.$strict>;
|
|
497
1825
|
export type ManagedRecordActivityListResponse = z.infer<typeof ManagedRecordActivityListResponseSchema>;
|
|
@@ -499,28 +1827,28 @@ export declare const ManagedRecordDeleteResponseSchema: z.ZodObject<{
|
|
|
499
1827
|
ok: z.ZodLiteral<true>;
|
|
500
1828
|
data: z.ZodObject<{
|
|
501
1829
|
recordId: z.ZodString;
|
|
1830
|
+
authority: z.ZodEnum<{
|
|
1831
|
+
external: "external";
|
|
1832
|
+
native: "native";
|
|
1833
|
+
}>;
|
|
1834
|
+
disposition: z.ZodEnum<{
|
|
1835
|
+
deleted: "deleted";
|
|
1836
|
+
suppressed: "suppressed";
|
|
1837
|
+
}>;
|
|
502
1838
|
deletedAt: z.ZodISODateTime;
|
|
503
1839
|
}, z.core.$strict>;
|
|
504
1840
|
}, z.core.$strict>;
|
|
505
1841
|
export type ManagedRecordDeleteResponse = z.infer<typeof ManagedRecordDeleteResponseSchema>;
|
|
1842
|
+
export declare const ManagedRecordNoteSchema: z.ZodObject<{
|
|
1843
|
+
id: z.ZodString;
|
|
1844
|
+
text: z.ZodString;
|
|
1845
|
+
createdAt: z.ZodISODateTime;
|
|
1846
|
+
createdBySubject: z.ZodString;
|
|
1847
|
+
}, z.core.$strict>;
|
|
506
1848
|
export declare const ManagedRecordExportResponseSchema: z.ZodObject<{
|
|
507
1849
|
ok: z.ZodLiteral<true>;
|
|
508
1850
|
data: z.ZodObject<{
|
|
509
1851
|
records: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
510
|
-
id: z.ZodString;
|
|
511
|
-
installationId: z.ZodString;
|
|
512
|
-
collection: z.ZodString;
|
|
513
|
-
schemaVersion: z.ZodNumber;
|
|
514
|
-
schemaDigest: z.ZodString;
|
|
515
|
-
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
516
|
-
status: z.ZodEnum<{
|
|
517
|
-
new: "new";
|
|
518
|
-
in_progress: "in_progress";
|
|
519
|
-
resolved: "resolved";
|
|
520
|
-
closed: "closed";
|
|
521
|
-
}>;
|
|
522
|
-
assigneeSubject: z.ZodOptional<z.ZodString>;
|
|
523
|
-
revision: z.ZodNumber;
|
|
524
1852
|
origin: z.ZodObject<{
|
|
525
1853
|
surface: z.ZodEnum<{
|
|
526
1854
|
public: "public";
|
|
@@ -530,30 +1858,330 @@ export declare const ManagedRecordExportResponseSchema: z.ZodObject<{
|
|
|
530
1858
|
}>;
|
|
531
1859
|
subject: z.ZodOptional<z.ZodString>;
|
|
532
1860
|
}, z.core.$strict>;
|
|
1861
|
+
assigneeSubject: z.ZodOptional<z.ZodString>;
|
|
1862
|
+
request: z.ZodOptional<z.ZodObject<{
|
|
1863
|
+
status: z.ZodEnum<{
|
|
1864
|
+
new: "new";
|
|
1865
|
+
in_progress: "in_progress";
|
|
1866
|
+
resolved: "resolved";
|
|
1867
|
+
closed: "closed";
|
|
1868
|
+
}>;
|
|
1869
|
+
assigneeSubject: z.ZodOptional<z.ZodString>;
|
|
1870
|
+
}, z.core.$strict>>;
|
|
1871
|
+
id: z.ZodString;
|
|
1872
|
+
organizationId: z.ZodString;
|
|
1873
|
+
appSlug: z.ZodString;
|
|
1874
|
+
environment: z.ZodString;
|
|
1875
|
+
installationId: z.ZodString;
|
|
1876
|
+
collection: z.ZodString;
|
|
1877
|
+
schemaVersion: z.ZodNumber;
|
|
1878
|
+
schemaDigest: z.ZodString;
|
|
1879
|
+
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1880
|
+
revision: z.ZodNumber;
|
|
533
1881
|
createdAt: z.ZodISODateTime;
|
|
534
1882
|
updatedAt: z.ZodISODateTime;
|
|
535
1883
|
retentionExpiresAt: z.ZodISODateTime;
|
|
1884
|
+
authority: z.ZodLiteral<"native">;
|
|
1885
|
+
notes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1886
|
+
id: z.ZodString;
|
|
1887
|
+
text: z.ZodString;
|
|
1888
|
+
createdAt: z.ZodISODateTime;
|
|
1889
|
+
createdBySubject: z.ZodString;
|
|
1890
|
+
}, z.core.$strict>>>;
|
|
536
1891
|
}, z.core.$strict>, z.ZodObject<{
|
|
1892
|
+
source: z.ZodObject<{
|
|
1893
|
+
bindingReference: z.ZodString;
|
|
1894
|
+
bindingGeneration: z.ZodNumber;
|
|
1895
|
+
sourceRecordId: z.ZodString;
|
|
1896
|
+
sourceVersion: z.ZodOptional<z.ZodString>;
|
|
1897
|
+
observedAt: z.ZodISODateTime;
|
|
1898
|
+
lastCompletedSyncAt: z.ZodISODateTime;
|
|
1899
|
+
health: z.ZodEnum<{
|
|
1900
|
+
unavailable: "unavailable";
|
|
1901
|
+
paused: "paused";
|
|
1902
|
+
pending: "pending";
|
|
1903
|
+
healthy: "healthy";
|
|
1904
|
+
degraded: "degraded";
|
|
1905
|
+
authorization_required: "authorization_required";
|
|
1906
|
+
}>;
|
|
1907
|
+
completeness: z.ZodEnum<{
|
|
1908
|
+
unknown: "unknown";
|
|
1909
|
+
partial: "partial";
|
|
1910
|
+
complete: "complete";
|
|
1911
|
+
rebuilding: "rebuilding";
|
|
1912
|
+
}>;
|
|
1913
|
+
}, z.core.$strict>;
|
|
537
1914
|
id: z.ZodString;
|
|
1915
|
+
organizationId: z.ZodString;
|
|
1916
|
+
appSlug: z.ZodString;
|
|
1917
|
+
environment: z.ZodString;
|
|
538
1918
|
installationId: z.ZodString;
|
|
539
1919
|
collection: z.ZodString;
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
resolved: "resolved";
|
|
544
|
-
closed: "closed";
|
|
545
|
-
}>;
|
|
1920
|
+
schemaVersion: z.ZodNumber;
|
|
1921
|
+
schemaDigest: z.ZodString;
|
|
1922
|
+
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
546
1923
|
revision: z.ZodNumber;
|
|
547
|
-
|
|
1924
|
+
createdAt: z.ZodISODateTime;
|
|
1925
|
+
updatedAt: z.ZodISODateTime;
|
|
1926
|
+
retentionExpiresAt: z.ZodISODateTime;
|
|
1927
|
+
authority: z.ZodLiteral<"external">;
|
|
1928
|
+
}, z.core.$strict>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
548
1929
|
deletionReason: z.ZodEnum<{
|
|
549
1930
|
customer_request: "customer_request";
|
|
550
1931
|
retention_expired: "retention_expired";
|
|
551
1932
|
}>;
|
|
552
|
-
|
|
1933
|
+
id: z.ZodString;
|
|
1934
|
+
organizationId: z.ZodString;
|
|
1935
|
+
appSlug: z.ZodString;
|
|
1936
|
+
environment: z.ZodString;
|
|
1937
|
+
installationId: z.ZodString;
|
|
1938
|
+
collection: z.ZodString;
|
|
1939
|
+
revision: z.ZodNumber;
|
|
1940
|
+
deletedAt: z.ZodISODateTime;
|
|
1941
|
+
authority: z.ZodLiteral<"native">;
|
|
1942
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1943
|
+
deletionReason: z.ZodLiteral<"customer_request">;
|
|
1944
|
+
source: z.ZodObject<{
|
|
1945
|
+
bindingReference: z.ZodString;
|
|
1946
|
+
bindingGeneration: z.ZodNumber;
|
|
1947
|
+
sourceRecordId: z.ZodString;
|
|
1948
|
+
}, z.core.$strict>;
|
|
1949
|
+
id: z.ZodString;
|
|
1950
|
+
organizationId: z.ZodString;
|
|
1951
|
+
appSlug: z.ZodString;
|
|
1952
|
+
environment: z.ZodString;
|
|
1953
|
+
installationId: z.ZodString;
|
|
1954
|
+
collection: z.ZodString;
|
|
1955
|
+
revision: z.ZodNumber;
|
|
1956
|
+
deletedAt: z.ZodISODateTime;
|
|
1957
|
+
authority: z.ZodLiteral<"external">;
|
|
1958
|
+
}, z.core.$strict>], "authority">]>>;
|
|
553
1959
|
nextCursor: z.ZodOptional<z.ZodString>;
|
|
554
1960
|
}, z.core.$strict>;
|
|
555
1961
|
}, z.core.$strict>;
|
|
556
1962
|
export type ManagedRecordExportResponse = z.infer<typeof ManagedRecordExportResponseSchema>;
|
|
1963
|
+
export declare const UnconfiguredCollectionSourceSchema: z.ZodObject<{
|
|
1964
|
+
state: z.ZodLiteral<"unconfigured">;
|
|
1965
|
+
installationId: z.ZodString;
|
|
1966
|
+
collection: z.ZodString;
|
|
1967
|
+
authority: z.ZodLiteral<"external">;
|
|
1968
|
+
revision: z.ZodNumber;
|
|
1969
|
+
}, z.core.$strict>;
|
|
1970
|
+
export declare const ConfiguredCollectionSourceSchema: z.ZodObject<{
|
|
1971
|
+
state: z.ZodEnum<{
|
|
1972
|
+
error: "error";
|
|
1973
|
+
paused: "paused";
|
|
1974
|
+
active: "active";
|
|
1975
|
+
}>;
|
|
1976
|
+
binding: z.ZodObject<{
|
|
1977
|
+
reference: z.ZodString;
|
|
1978
|
+
generation: z.ZodNumber;
|
|
1979
|
+
}, z.core.$strict>;
|
|
1980
|
+
configurationReference: z.ZodString;
|
|
1981
|
+
enabled: z.ZodLiteral<true>;
|
|
1982
|
+
health: z.ZodEnum<{
|
|
1983
|
+
unavailable: "unavailable";
|
|
1984
|
+
paused: "paused";
|
|
1985
|
+
pending: "pending";
|
|
1986
|
+
healthy: "healthy";
|
|
1987
|
+
degraded: "degraded";
|
|
1988
|
+
authorization_required: "authorization_required";
|
|
1989
|
+
}>;
|
|
1990
|
+
completeness: z.ZodEnum<{
|
|
1991
|
+
unknown: "unknown";
|
|
1992
|
+
partial: "partial";
|
|
1993
|
+
complete: "complete";
|
|
1994
|
+
rebuilding: "rebuilding";
|
|
1995
|
+
}>;
|
|
1996
|
+
lastCompletedSyncAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1997
|
+
nextRefreshAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1998
|
+
error: z.ZodOptional<z.ZodObject<{
|
|
1999
|
+
code: z.ZodString;
|
|
2000
|
+
message: z.ZodString;
|
|
2001
|
+
retryable: z.ZodBoolean;
|
|
2002
|
+
}, z.core.$strict>>;
|
|
2003
|
+
installationId: z.ZodString;
|
|
2004
|
+
collection: z.ZodString;
|
|
2005
|
+
authority: z.ZodLiteral<"external">;
|
|
2006
|
+
revision: z.ZodNumber;
|
|
2007
|
+
}, z.core.$strict>;
|
|
2008
|
+
export declare const CollectionSourceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2009
|
+
state: z.ZodLiteral<"unconfigured">;
|
|
2010
|
+
installationId: z.ZodString;
|
|
2011
|
+
collection: z.ZodString;
|
|
2012
|
+
authority: z.ZodLiteral<"external">;
|
|
2013
|
+
revision: z.ZodNumber;
|
|
2014
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2015
|
+
state: z.ZodEnum<{
|
|
2016
|
+
error: "error";
|
|
2017
|
+
paused: "paused";
|
|
2018
|
+
active: "active";
|
|
2019
|
+
}>;
|
|
2020
|
+
binding: z.ZodObject<{
|
|
2021
|
+
reference: z.ZodString;
|
|
2022
|
+
generation: z.ZodNumber;
|
|
2023
|
+
}, z.core.$strict>;
|
|
2024
|
+
configurationReference: z.ZodString;
|
|
2025
|
+
enabled: z.ZodLiteral<true>;
|
|
2026
|
+
health: z.ZodEnum<{
|
|
2027
|
+
unavailable: "unavailable";
|
|
2028
|
+
paused: "paused";
|
|
2029
|
+
pending: "pending";
|
|
2030
|
+
healthy: "healthy";
|
|
2031
|
+
degraded: "degraded";
|
|
2032
|
+
authorization_required: "authorization_required";
|
|
2033
|
+
}>;
|
|
2034
|
+
completeness: z.ZodEnum<{
|
|
2035
|
+
unknown: "unknown";
|
|
2036
|
+
partial: "partial";
|
|
2037
|
+
complete: "complete";
|
|
2038
|
+
rebuilding: "rebuilding";
|
|
2039
|
+
}>;
|
|
2040
|
+
lastCompletedSyncAt: z.ZodOptional<z.ZodISODateTime>;
|
|
2041
|
+
nextRefreshAt: z.ZodOptional<z.ZodISODateTime>;
|
|
2042
|
+
error: z.ZodOptional<z.ZodObject<{
|
|
2043
|
+
code: z.ZodString;
|
|
2044
|
+
message: z.ZodString;
|
|
2045
|
+
retryable: z.ZodBoolean;
|
|
2046
|
+
}, z.core.$strict>>;
|
|
2047
|
+
installationId: z.ZodString;
|
|
2048
|
+
collection: z.ZodString;
|
|
2049
|
+
authority: z.ZodLiteral<"external">;
|
|
2050
|
+
revision: z.ZodNumber;
|
|
2051
|
+
}, z.core.$strict>], "state">;
|
|
2052
|
+
export type CollectionSource = z.infer<typeof CollectionSourceSchema>;
|
|
2053
|
+
export declare const CollectionSourceConfigureRequestSchema: z.ZodObject<{
|
|
2054
|
+
expectedRevision: z.ZodNumber;
|
|
2055
|
+
binding: z.ZodObject<{
|
|
2056
|
+
reference: z.ZodString;
|
|
2057
|
+
generation: z.ZodNumber;
|
|
2058
|
+
}, z.core.$strict>;
|
|
2059
|
+
configurationReference: z.ZodString;
|
|
2060
|
+
enable: z.ZodLiteral<true>;
|
|
2061
|
+
replace: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2062
|
+
}, z.core.$strict>;
|
|
2063
|
+
export type CollectionSourceConfigureRequest = z.infer<typeof CollectionSourceConfigureRequestSchema>;
|
|
2064
|
+
export declare const CollectionSourceRevisionRequestSchema: z.ZodObject<{
|
|
2065
|
+
expectedRevision: z.ZodNumber;
|
|
2066
|
+
}, z.core.$strict>;
|
|
2067
|
+
export type CollectionSourceRevisionRequest = z.infer<typeof CollectionSourceRevisionRequestSchema>;
|
|
2068
|
+
export declare const CollectionSourceRefreshRequestSchema: z.ZodObject<{
|
|
2069
|
+
expectedRevision: z.ZodNumber;
|
|
2070
|
+
idempotencyKey: z.ZodString;
|
|
2071
|
+
}, z.core.$strict>;
|
|
2072
|
+
export type CollectionSourceRefreshRequest = z.infer<typeof CollectionSourceRefreshRequestSchema>;
|
|
2073
|
+
export declare const CollectionSourceResponseSchema: z.ZodObject<{
|
|
2074
|
+
ok: z.ZodLiteral<true>;
|
|
2075
|
+
data: z.ZodObject<{
|
|
2076
|
+
source: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2077
|
+
state: z.ZodLiteral<"unconfigured">;
|
|
2078
|
+
installationId: z.ZodString;
|
|
2079
|
+
collection: z.ZodString;
|
|
2080
|
+
authority: z.ZodLiteral<"external">;
|
|
2081
|
+
revision: z.ZodNumber;
|
|
2082
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2083
|
+
state: z.ZodEnum<{
|
|
2084
|
+
error: "error";
|
|
2085
|
+
paused: "paused";
|
|
2086
|
+
active: "active";
|
|
2087
|
+
}>;
|
|
2088
|
+
binding: z.ZodObject<{
|
|
2089
|
+
reference: z.ZodString;
|
|
2090
|
+
generation: z.ZodNumber;
|
|
2091
|
+
}, z.core.$strict>;
|
|
2092
|
+
configurationReference: z.ZodString;
|
|
2093
|
+
enabled: z.ZodLiteral<true>;
|
|
2094
|
+
health: z.ZodEnum<{
|
|
2095
|
+
unavailable: "unavailable";
|
|
2096
|
+
paused: "paused";
|
|
2097
|
+
pending: "pending";
|
|
2098
|
+
healthy: "healthy";
|
|
2099
|
+
degraded: "degraded";
|
|
2100
|
+
authorization_required: "authorization_required";
|
|
2101
|
+
}>;
|
|
2102
|
+
completeness: z.ZodEnum<{
|
|
2103
|
+
unknown: "unknown";
|
|
2104
|
+
partial: "partial";
|
|
2105
|
+
complete: "complete";
|
|
2106
|
+
rebuilding: "rebuilding";
|
|
2107
|
+
}>;
|
|
2108
|
+
lastCompletedSyncAt: z.ZodOptional<z.ZodISODateTime>;
|
|
2109
|
+
nextRefreshAt: z.ZodOptional<z.ZodISODateTime>;
|
|
2110
|
+
error: z.ZodOptional<z.ZodObject<{
|
|
2111
|
+
code: z.ZodString;
|
|
2112
|
+
message: z.ZodString;
|
|
2113
|
+
retryable: z.ZodBoolean;
|
|
2114
|
+
}, z.core.$strict>>;
|
|
2115
|
+
installationId: z.ZodString;
|
|
2116
|
+
collection: z.ZodString;
|
|
2117
|
+
authority: z.ZodLiteral<"external">;
|
|
2118
|
+
revision: z.ZodNumber;
|
|
2119
|
+
}, z.core.$strict>], "state">;
|
|
2120
|
+
}, z.core.$strict>;
|
|
2121
|
+
}, z.core.$strict>;
|
|
2122
|
+
export type CollectionSourceResponse = z.infer<typeof CollectionSourceResponseSchema>;
|
|
2123
|
+
export declare const CollectionSourceRefreshResponseSchema: z.ZodObject<{
|
|
2124
|
+
ok: z.ZodLiteral<true>;
|
|
2125
|
+
data: z.ZodObject<{
|
|
2126
|
+
source: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2127
|
+
state: z.ZodLiteral<"unconfigured">;
|
|
2128
|
+
installationId: z.ZodString;
|
|
2129
|
+
collection: z.ZodString;
|
|
2130
|
+
authority: z.ZodLiteral<"external">;
|
|
2131
|
+
revision: z.ZodNumber;
|
|
2132
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2133
|
+
state: z.ZodEnum<{
|
|
2134
|
+
error: "error";
|
|
2135
|
+
paused: "paused";
|
|
2136
|
+
active: "active";
|
|
2137
|
+
}>;
|
|
2138
|
+
binding: z.ZodObject<{
|
|
2139
|
+
reference: z.ZodString;
|
|
2140
|
+
generation: z.ZodNumber;
|
|
2141
|
+
}, z.core.$strict>;
|
|
2142
|
+
configurationReference: z.ZodString;
|
|
2143
|
+
enabled: z.ZodLiteral<true>;
|
|
2144
|
+
health: z.ZodEnum<{
|
|
2145
|
+
unavailable: "unavailable";
|
|
2146
|
+
paused: "paused";
|
|
2147
|
+
pending: "pending";
|
|
2148
|
+
healthy: "healthy";
|
|
2149
|
+
degraded: "degraded";
|
|
2150
|
+
authorization_required: "authorization_required";
|
|
2151
|
+
}>;
|
|
2152
|
+
completeness: z.ZodEnum<{
|
|
2153
|
+
unknown: "unknown";
|
|
2154
|
+
partial: "partial";
|
|
2155
|
+
complete: "complete";
|
|
2156
|
+
rebuilding: "rebuilding";
|
|
2157
|
+
}>;
|
|
2158
|
+
lastCompletedSyncAt: z.ZodOptional<z.ZodISODateTime>;
|
|
2159
|
+
nextRefreshAt: z.ZodOptional<z.ZodISODateTime>;
|
|
2160
|
+
error: z.ZodOptional<z.ZodObject<{
|
|
2161
|
+
code: z.ZodString;
|
|
2162
|
+
message: z.ZodString;
|
|
2163
|
+
retryable: z.ZodBoolean;
|
|
2164
|
+
}, z.core.$strict>>;
|
|
2165
|
+
installationId: z.ZodString;
|
|
2166
|
+
collection: z.ZodString;
|
|
2167
|
+
authority: z.ZodLiteral<"external">;
|
|
2168
|
+
revision: z.ZodNumber;
|
|
2169
|
+
}, z.core.$strict>], "state">;
|
|
2170
|
+
job: z.ZodObject<{
|
|
2171
|
+
id: z.ZodString;
|
|
2172
|
+
state: z.ZodEnum<{
|
|
2173
|
+
completed: "completed";
|
|
2174
|
+
queued: "queued";
|
|
2175
|
+
running: "running";
|
|
2176
|
+
superseded: "superseded";
|
|
2177
|
+
}>;
|
|
2178
|
+
coalesced: z.ZodBoolean;
|
|
2179
|
+
requestedAt: z.ZodISODateTime;
|
|
2180
|
+
replayExpiresAt: z.ZodOptional<z.ZodISODateTime>;
|
|
2181
|
+
}, z.core.$strict>;
|
|
2182
|
+
}, z.core.$strict>;
|
|
2183
|
+
}, z.core.$strict>;
|
|
2184
|
+
export type CollectionSourceRefreshResponse = z.infer<typeof CollectionSourceRefreshResponseSchema>;
|
|
557
2185
|
export declare const PublicSolutionIntakeResponseSchema: z.ZodObject<{
|
|
558
2186
|
ok: z.ZodLiteral<true>;
|
|
559
2187
|
data: z.ZodObject<{
|
|
@@ -561,6 +2189,29 @@ export declare const PublicSolutionIntakeResponseSchema: z.ZodObject<{
|
|
|
561
2189
|
title: z.ZodString;
|
|
562
2190
|
description: z.ZodString;
|
|
563
2191
|
collection: z.ZodObject<{
|
|
2192
|
+
management: z.ZodOptional<z.ZodObject<{
|
|
2193
|
+
assignment: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2194
|
+
notes: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2195
|
+
}, z.core.$strict>>;
|
|
2196
|
+
publicFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2197
|
+
editableFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2198
|
+
capabilities: z.ZodObject<{
|
|
2199
|
+
read: z.ZodLiteral<true>;
|
|
2200
|
+
create: z.ZodLiteral<true>;
|
|
2201
|
+
update: z.ZodLiteral<true>;
|
|
2202
|
+
erase: z.ZodLiteral<true>;
|
|
2203
|
+
sourceControls: z.ZodLiteral<false>;
|
|
2204
|
+
}, z.core.$strict>;
|
|
2205
|
+
requestBehavior: z.ZodOptional<z.ZodObject<{
|
|
2206
|
+
statuses: z.ZodArray<z.ZodEnum<{
|
|
2207
|
+
new: "new";
|
|
2208
|
+
in_progress: "in_progress";
|
|
2209
|
+
resolved: "resolved";
|
|
2210
|
+
closed: "closed";
|
|
2211
|
+
}>>;
|
|
2212
|
+
assignment: z.ZodBoolean;
|
|
2213
|
+
notes: z.ZodBoolean;
|
|
2214
|
+
}, z.core.$strict>>;
|
|
564
2215
|
key: z.ZodString;
|
|
565
2216
|
title: z.ZodString;
|
|
566
2217
|
singularTitle: z.ZodString;
|
|
@@ -568,6 +2219,13 @@ export declare const PublicSolutionIntakeResponseSchema: z.ZodObject<{
|
|
|
568
2219
|
schemaDigest: z.ZodString;
|
|
569
2220
|
recordSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
570
2221
|
summaryFields: z.ZodArray<z.ZodString>;
|
|
2222
|
+
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2223
|
+
label: z.ZodOptional<z.ZodString>;
|
|
2224
|
+
help: z.ZodOptional<z.ZodString>;
|
|
2225
|
+
}, z.core.$strict>>>;
|
|
2226
|
+
filterFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2227
|
+
sortFields: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2228
|
+
authority: z.ZodLiteral<"native">;
|
|
571
2229
|
}, z.core.$strict>;
|
|
572
2230
|
}, z.core.$strict>;
|
|
573
2231
|
}, z.core.$strict>;
|