@opengeni/contracts 0.44.1 → 1.0.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/agent-authored-durable-text.d.ts +70 -0
- package/dist/agent-config.d.ts +869 -0
- package/dist/agent-instruction-changes.d.ts +110 -0
- package/dist/agent-learning.d.ts +243 -0
- package/dist/agent-topology.d.ts +292 -0
- package/dist/allowance-refusal.d.ts +9 -0
- package/dist/allowance-refusal.js +50 -0
- package/dist/allowance-refusal.js.map +1 -0
- package/dist/analytics-consent-report.d.ts +19 -0
- package/dist/analytics-consent-report.js +10 -0
- package/dist/analytics-consent-report.js.map +1 -0
- package/dist/api-key-presets.d.ts +19 -0
- package/dist/artifact-catalog.d.ts +161 -0
- package/dist/artifacts.d.ts +135 -11
- package/dist/atlassian-native-retirement.d.ts +16 -0
- package/dist/atlassian-native-retirement.js +30 -0
- package/dist/atlassian-native-retirement.js.map +1 -0
- package/dist/atlassian.d.ts +2 -0
- package/dist/atlassian.js +27 -11
- package/dist/browser-storage.d.ts +5 -0
- package/dist/browser-storage.js +9 -0
- package/dist/browser-storage.js.map +1 -0
- package/dist/bundled-skills.d.ts +40 -0
- package/dist/canonical-human-identities.d.ts +157 -0
- package/dist/canonical-human-identities.js +23 -0
- package/dist/canonical-human-identities.js.map +1 -0
- package/dist/chunk-2ACYHZFB.js +292 -0
- package/dist/chunk-2ACYHZFB.js.map +1 -0
- package/dist/chunk-2VORLN2R.js +353 -0
- package/dist/chunk-2VORLN2R.js.map +1 -0
- package/dist/{chunk-Y3MLSLB4.js → chunk-3SIZGL3O.js} +42 -30
- package/dist/chunk-3SIZGL3O.js.map +1 -0
- package/dist/chunk-46KLD2UH.js +186 -0
- package/dist/chunk-46KLD2UH.js.map +1 -0
- package/dist/chunk-4JGHSSB7.js +11 -0
- package/dist/chunk-4JGHSSB7.js.map +1 -0
- package/dist/{chunk-52SGB2QO.js → chunk-5IXYF6XN.js} +50 -10
- package/dist/chunk-5IXYF6XN.js.map +1 -0
- package/dist/chunk-BCS7WHCK.js +139 -0
- package/dist/chunk-BCS7WHCK.js.map +1 -0
- package/dist/chunk-EK7NDGFR.js +128 -0
- package/dist/chunk-EK7NDGFR.js.map +1 -0
- package/dist/{chunk-5UDNP7AO.js → chunk-FZ6BXQHL.js} +78 -38
- package/dist/chunk-FZ6BXQHL.js.map +1 -0
- package/dist/chunk-GRG7PHWQ.js +25 -0
- package/dist/chunk-GRG7PHWQ.js.map +1 -0
- package/dist/chunk-JUFK3T4Q.js +80 -0
- package/dist/chunk-JUFK3T4Q.js.map +1 -0
- package/dist/chunk-KHHZTBP7.js +11 -0
- package/dist/chunk-KHHZTBP7.js.map +1 -0
- package/dist/chunk-KR2V42UZ.js +187 -0
- package/dist/chunk-KR2V42UZ.js.map +1 -0
- package/dist/chunk-MZLBPKFE.js +168 -0
- package/dist/chunk-MZLBPKFE.js.map +1 -0
- package/dist/{chunk-H5BVCZKF.js → chunk-NRMCVHAU.js} +6 -5
- package/dist/chunk-NRMCVHAU.js.map +1 -0
- package/dist/{chunk-TZ6YEYN4.js → chunk-NVJMJWLL.js} +3 -1
- package/dist/chunk-NVJMJWLL.js.map +1 -0
- package/dist/chunk-O77VSFYZ.js +70 -0
- package/dist/chunk-O77VSFYZ.js.map +1 -0
- package/dist/chunk-PX3VCKAU.js +29 -0
- package/dist/chunk-PX3VCKAU.js.map +1 -0
- package/dist/chunk-QR5D2IQC.js +61 -0
- package/dist/chunk-QR5D2IQC.js.map +1 -0
- package/dist/chunk-RJ76DRPO.js +117 -0
- package/dist/chunk-RJ76DRPO.js.map +1 -0
- package/dist/chunk-RKX3NQYS.js +28 -0
- package/dist/chunk-RKX3NQYS.js.map +1 -0
- package/dist/{chunk-FJBG5E4O.js → chunk-SIOU2K4U.js} +45 -22
- package/dist/chunk-SIOU2K4U.js.map +1 -0
- package/dist/chunk-TSCDAGET.js +75 -0
- package/dist/chunk-TSCDAGET.js.map +1 -0
- package/dist/{chunk-LSB7GRLG.js → chunk-TXTQIYCV.js} +15 -11
- package/dist/chunk-TXTQIYCV.js.map +1 -0
- package/dist/chunk-X7ETVO4P.js +26544 -0
- package/dist/chunk-X7ETVO4P.js.map +1 -0
- package/dist/{chunk-CADSX6UN.js → chunk-Y3KNXVTD.js} +2 -2
- package/dist/chunk-YBW5JSA3.js +251 -0
- package/dist/chunk-YBW5JSA3.js.map +1 -0
- package/dist/chunk-YRXAWWCU.js +45 -0
- package/dist/chunk-YRXAWWCU.js.map +1 -0
- package/dist/claude-provider-account-authority.d.ts +18 -0
- package/dist/claude-subscription-oauth.d.ts +42 -0
- package/dist/claude-subscription-usage.d.ts +159 -0
- package/dist/client-error-report.d.ts +109 -0
- package/dist/client-error-report.js +87 -0
- package/dist/client-error-report.js.map +1 -0
- package/dist/code-search.d.ts +52 -0
- package/dist/code-search.js +40 -0
- package/dist/code-search.js.map +1 -0
- package/dist/codex-provider-account-authority.d.ts +23 -0
- package/dist/codex-provider-account-authority.js +23 -0
- package/dist/codex-provider-account-authority.js.map +1 -0
- package/dist/company-brain-governed-writes.d.ts +475 -0
- package/dist/company-brain.d.ts +336 -0
- package/dist/company-profile.d.ts +566 -0
- package/dist/connect.d.ts +325 -0
- package/dist/connect.js +191 -0
- package/dist/connect.js.map +1 -0
- package/dist/connection-account-label.d.ts +2 -0
- package/dist/connection-account-label.js +35 -0
- package/dist/connection-account-label.js.map +1 -0
- package/dist/connection-authority.d.ts +193 -0
- package/dist/connection-authority.js +50 -0
- package/dist/connection-authority.js.map +1 -0
- package/dist/connector-attachments.d.ts +95 -0
- package/dist/connector-attachments.js +51 -0
- package/dist/connector-attachments.js.map +1 -0
- package/dist/connector-tool-permissions.d.ts +73 -0
- package/dist/direct-model-provider.d.ts +36 -0
- package/dist/editable-artifact-codec-registry.d.ts +16 -7
- package/dist/editable-artifact-codec-registry.js +19 -9
- package/dist/editable-artifact-committed-transaction.d.ts +2 -2
- package/dist/editable-artifact-committed-transaction.js +2 -2
- package/dist/editable-artifact-live.d.ts +11 -12
- package/dist/editable-artifact-live.js +110 -45
- package/dist/editable-artifact-live.js.map +1 -1
- package/dist/editable-artifact-serialized-commit.d.ts +2 -1
- package/dist/editable-artifact-serialized-commit.js +8 -7
- package/dist/editable-artifact-versions.d.ts +20 -5
- package/dist/editable-artifact-versions.js +23 -5
- package/dist/editable-artifacts.d.ts +2 -0
- package/dist/editable-artifacts.js +48 -36
- package/dist/external-identities.d.ts +784 -0
- package/dist/external-identities.js +44 -0
- package/dist/external-identities.js.map +1 -0
- package/dist/feedback.d.ts +51 -0
- package/dist/github-repository-contracts.d.ts +36 -0
- package/dist/github-repository-contracts.js +59 -0
- package/dist/github-repository-contracts.js.map +1 -0
- package/dist/github-repository.d.ts +14 -0
- package/dist/github-repository.js +36 -0
- package/dist/github-repository.js.map +1 -0
- package/dist/google-drive.d.ts +90 -1
- package/dist/google-drive.js +91 -15
- package/dist/google-drive.js.map +1 -1
- package/dist/governed-learning-activation.d.ts +154 -0
- package/dist/governed-learning-evaluator.d.ts +152 -0
- package/dist/host-mcp-bindings.d.ts +326 -0
- package/dist/host-mcp-bindings.js +252 -0
- package/dist/host-mcp-bindings.js.map +1 -0
- package/dist/image-generation.d.ts +1 -0
- package/dist/index.d.ts +27574 -5374
- package/dist/index.js +2531 -177
- package/dist/insights-usage.d.ts +877 -0
- package/dist/insights-usage.js +509 -0
- package/dist/insights-usage.js.map +1 -0
- package/dist/interaction.d.ts +1752 -13
- package/dist/knowledge-entries.d.ts +982 -0
- package/dist/knowledge-preparation.d.ts +237 -0
- package/dist/knowledge.d.ts +740 -0
- package/dist/managed-auth-session-sets.d.ts +241 -0
- package/dist/managed-auth-session-sets.js +191 -0
- package/dist/managed-auth-session-sets.js.map +1 -0
- package/dist/managed-sign-in-methods.d.ts +56 -0
- package/dist/managed-sign-in-methods.js +46 -0
- package/dist/managed-sign-in-methods.js.map +1 -0
- package/dist/mcp-catalog-limits.d.ts +2 -0
- package/dist/mcp-endpoint.d.ts +7 -0
- package/dist/mcp-endpoint.js +9 -0
- package/dist/mcp-endpoint.js.map +1 -0
- package/dist/mcp-oauth.d.ts +71 -0
- package/dist/modal-native-proof-v2.d.ts +587 -0
- package/dist/modal-native-proof-v2.js +37 -0
- package/dist/modal-native-proof-v2.js.map +1 -0
- package/dist/model-availability.d.ts +15 -0
- package/dist/model-connection-access.d.ts +24 -0
- package/dist/model-context-inspector.d.ts +329 -0
- package/dist/model-display.d.ts +38 -0
- package/dist/model-display.js +134 -0
- package/dist/model-display.js.map +1 -0
- package/dist/model-picker-order.d.ts +25 -0
- package/dist/model-picker-order.js +42 -0
- package/dist/model-picker-order.js.map +1 -0
- package/dist/organization-access.d.ts +231 -0
- package/dist/organization-access.js +34 -0
- package/dist/organization-access.js.map +1 -0
- package/dist/organization-integration-policy.d.ts +27 -0
- package/dist/organization-membership-lifecycle.d.ts +1022 -0
- package/dist/organization-model-usage.d.ts +146 -0
- package/dist/organization-model-usage.js +67 -0
- package/dist/organization-model-usage.js.map +1 -0
- package/dist/organization-recovery.d.ts +337 -0
- package/dist/organization-recovery.js +37 -0
- package/dist/organization-recovery.js.map +1 -0
- package/dist/organization-usage.d.ts +138 -0
- package/dist/permissions.d.ts +54 -0
- package/dist/personal-github.d.ts +320 -0
- package/dist/personal-github.js +222 -0
- package/dist/personal-github.js.map +1 -0
- package/dist/plugin-discovery.d.ts +35 -0
- package/dist/plugin-discovery.js +7 -0
- package/dist/plugin-discovery.js.map +1 -0
- package/dist/preference-registry.d.ts +44 -1
- package/dist/product-analytics.d.ts +113 -0
- package/dist/product-lifecycle-facts.d.ts +73 -0
- package/dist/remember.d.ts +350 -0
- package/dist/retained-output.d.ts +8 -0
- package/dist/sandbox-file-artifacts.d.ts +57 -0
- package/dist/sandbox-provider-command.d.ts +113 -0
- package/dist/sandbox-recovery.d.ts +146 -0
- package/dist/sandbox-snapshots.d.ts +39 -0
- package/dist/session-final-reply.d.ts +6 -0
- package/dist/session-final-reply.js +9 -0
- package/dist/session-final-reply.js.map +1 -0
- package/dist/session-goal-reports.d.ts +21 -0
- package/dist/session-history-import.d.ts +947 -0
- package/dist/session-list-entries.d.ts +4 -0
- package/dist/session-list-entries.js +51 -0
- package/dist/session-list-entries.js.map +1 -0
- package/dist/session-mcp-projections.d.ts +215 -0
- package/dist/session-message-search.d.ts +68 -0
- package/dist/session-titles.d.ts +68 -0
- package/dist/session-titles.js +25 -0
- package/dist/session-titles.js.map +1 -0
- package/dist/session-topology-primitives.d.ts +22 -0
- package/dist/signup-attribution.d.ts +39 -0
- package/dist/site-request-headers.test.d.ts +1 -0
- package/dist/site-session-http.d.ts +11 -0
- package/dist/site-session-http.js +11 -0
- package/dist/site-session-http.js.map +1 -0
- package/dist/skill-catalog-context.d.ts +7 -0
- package/dist/skill-files.d.ts +12 -0
- package/dist/skill-metadata.d.ts +9 -0
- package/dist/skill-use.d.ts +61 -0
- package/dist/skills.d.ts +185 -0
- package/dist/slack-bot-scopes.d.ts +46 -21
- package/dist/slack-bot-scopes.js +14 -3
- package/dist/slack-rest-mcp.d.ts +31 -0
- package/dist/slack-rest-mcp.js +19 -0
- package/dist/slack-rest-mcp.js.map +1 -0
- package/dist/slack-task-policy.d.ts +294 -0
- package/dist/spreadsheet-artifact-commands.d.ts +2 -3
- package/dist/spreadsheet-artifact-commands.js +4 -2
- package/dist/spreadsheet-artifact-query.js +3 -2
- package/dist/subscription-account-pools.d.ts +292 -0
- package/dist/task-notes.d.ts +169 -0
- package/dist/tool-catalog.d.ts +286 -0
- package/dist/tool-result-spill.d.ts +16 -0
- package/dist/usage-allowances.d.ts +285 -0
- package/dist/usage-allowances.js +49 -0
- package/dist/usage-allowances.js.map +1 -0
- package/dist/video-generation.d.ts +51 -0
- package/dist/video-generation.js +9 -1
- package/dist/work-claims.d.ts +411 -0
- package/dist/workspace-instruction-policies.d.ts +94 -0
- package/dist/workspace-integration-wire.d.ts +36 -0
- package/dist/workspace-integration-wire.js +23 -0
- package/dist/workspace-integration-wire.js.map +1 -0
- package/dist/workspace-integrations.d.ts +948 -0
- package/dist/workspace-learning-administration.d.ts +289 -0
- package/dist/workspace-learning-policy.d.ts +1 -1
- package/dist/workspace-state.d.ts +85 -416
- package/dist/xai-provider-account-authority.d.ts +26 -0
- package/dist/xai-provider-account-authority.js +9 -0
- package/dist/xai-provider-account-authority.js.map +1 -0
- package/package.json +146 -1
- package/src/agent-authored-durable-text.ts +116 -0
- package/src/agent-config.ts +1527 -0
- package/src/agent-instruction-changes.ts +98 -0
- package/src/agent-learning.ts +161 -0
- package/src/agent-topology.ts +69 -0
- package/src/allowance-refusal.ts +81 -0
- package/src/analytics-consent-report.ts +20 -0
- package/src/api-key-presets.ts +25 -0
- package/src/artifact-catalog.ts +60 -0
- package/src/artifacts.ts +146 -18
- package/src/atlassian-native-retirement.ts +33 -0
- package/src/browser-storage.ts +10 -0
- package/src/bundled-skills.ts +73 -0
- package/src/canonical-human-identities.ts +93 -0
- package/src/claude-provider-account-authority.ts +12 -0
- package/src/claude-subscription-oauth.ts +62 -0
- package/src/claude-subscription-usage.ts +59 -0
- package/src/client-error-report.ts +184 -0
- package/src/code-search.ts +105 -0
- package/src/codex-provider-account-authority.ts +37 -0
- package/src/company-brain-governed-writes.ts +356 -0
- package/src/company-brain.ts +201 -0
- package/src/company-profile.ts +167 -1
- package/src/connect.ts +202 -0
- package/src/connection-account-label.ts +46 -0
- package/src/connection-authority.ts +213 -0
- package/src/connector-attachments.ts +327 -0
- package/src/connector-tool-permissions.ts +60 -0
- package/src/direct-model-provider.ts +98 -0
- package/src/editable-artifact-codec-registry.ts +55 -17
- package/src/editable-artifact-committed-transaction.ts +44 -31
- package/src/editable-artifact-live.ts +123 -57
- package/src/editable-artifact-serialized-commit.ts +2 -1
- package/src/editable-artifact-versions.ts +26 -5
- package/src/editable-artifacts.ts +2 -0
- package/src/external-identities.ts +285 -0
- package/src/feedback.ts +39 -0
- package/src/github-repository-contracts.ts +85 -0
- package/src/github-repository.ts +59 -0
- package/src/google-drive.ts +76 -4
- package/src/governed-learning-activation.ts +191 -0
- package/src/governed-learning-evaluator.ts +176 -0
- package/src/host-mcp-bindings.ts +298 -0
- package/src/image-generation.ts +8 -2
- package/src/index.ts +8019 -1799
- package/src/insights-usage.ts +679 -0
- package/src/interaction.ts +1102 -6
- package/src/knowledge-entries.ts +375 -0
- package/src/knowledge-preparation.ts +50 -0
- package/src/knowledge.ts +335 -0
- package/src/managed-auth-session-sets.ts +253 -0
- package/src/managed-sign-in-methods.ts +37 -0
- package/src/mcp-catalog-limits.ts +2 -0
- package/src/mcp-endpoint.ts +30 -0
- package/src/mcp-oauth.ts +66 -0
- package/src/modal-native-proof-v2.ts +398 -0
- package/src/model-availability.ts +22 -0
- package/src/model-connection-access.ts +17 -0
- package/src/model-context-inspector.ts +139 -0
- package/src/model-display.ts +195 -0
- package/src/model-picker-order.ts +97 -0
- package/src/organization-access.ts +176 -0
- package/src/organization-integration-policy.ts +54 -0
- package/src/organization-membership-lifecycle.ts +559 -0
- package/src/organization-model-usage.ts +72 -0
- package/src/organization-recovery.ts +186 -0
- package/src/organization-usage.ts +79 -0
- package/src/permissions.ts +58 -0
- package/src/personal-github.ts +267 -0
- package/src/plugin-discovery.ts +33 -0
- package/src/preference-registry.ts +20 -1
- package/src/product-analytics.ts +253 -0
- package/src/product-lifecycle-facts.ts +121 -0
- package/src/remember.ts +243 -0
- package/src/retained-output.ts +20 -3
- package/src/sandbox-file-artifacts.ts +73 -0
- package/src/sandbox-provider-command.ts +82 -0
- package/src/sandbox-recovery.ts +116 -0
- package/src/sandbox-snapshots.ts +142 -0
- package/src/session-final-reply.ts +16 -0
- package/src/session-goal-reports.ts +55 -0
- package/src/session-history-import.ts +159 -0
- package/src/session-list-entries.ts +91 -0
- package/src/session-mcp-projections.ts +273 -0
- package/src/session-message-search.ts +54 -0
- package/src/session-titles.ts +467 -0
- package/src/session-topology-primitives.ts +21 -0
- package/src/signup-attribution.ts +81 -0
- package/src/site-request-headers.test.ts +28 -0
- package/src/site-session-http.ts +63 -0
- package/src/skill-catalog-context.ts +50 -0
- package/src/skill-files.ts +52 -0
- package/src/skill-metadata.ts +40 -0
- package/src/skill-use.ts +77 -0
- package/src/skills.ts +136 -0
- package/src/slack-bot-scopes.ts +106 -42
- package/src/slack-rest-mcp.ts +194 -0
- package/src/slack-task-policy.ts +215 -0
- package/src/spreadsheet-artifact-commands.ts +12 -13
- package/src/subscription-account-pools.ts +44 -0
- package/src/task-notes.ts +105 -0
- package/src/tool-catalog.ts +155 -0
- package/src/tool-result-spill.ts +35 -0
- package/src/usage-allowances.ts +187 -0
- package/src/video-generation.ts +43 -6
- package/src/work-claims.ts +266 -0
- package/src/workspace-instruction-policies.ts +31 -0
- package/src/workspace-integration-wire.ts +99 -0
- package/src/workspace-integrations.ts +640 -0
- package/src/workspace-learning-administration.ts +88 -0
- package/src/workspace-learning-policy.ts +4 -3
- package/src/workspace-state.ts +16 -126
- package/src/xai-provider-account-authority.ts +38 -0
- package/dist/chunk-52SGB2QO.js.map +0 -1
- package/dist/chunk-5UDNP7AO.js.map +0 -1
- package/dist/chunk-BVGIYW7D.js +0 -11
- package/dist/chunk-BVGIYW7D.js.map +0 -1
- package/dist/chunk-FJBG5E4O.js.map +0 -1
- package/dist/chunk-H5BVCZKF.js.map +0 -1
- package/dist/chunk-LSB7GRLG.js.map +0 -1
- package/dist/chunk-TZ6YEYN4.js.map +0 -1
- package/dist/chunk-VA22KRHS.js +0 -15177
- package/dist/chunk-VA22KRHS.js.map +0 -1
- package/dist/chunk-Y3MLSLB4.js.map +0 -1
- /package/dist/{chunk-CADSX6UN.js.map → chunk-Y3KNXVTD.js.map} +0 -0
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/** Read-only discovery before a model decides whether and where to save. */
|
|
3
|
+
export declare const KnowledgeSavePreparationRequest: z.ZodObject<{
|
|
4
|
+
query: z.ZodString;
|
|
5
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
6
|
+
collectionCursors: z.ZodOptional<z.ZodObject<{
|
|
7
|
+
published: z.ZodNullable<z.ZodString>;
|
|
8
|
+
needs_review: z.ZodNullable<z.ZodString>;
|
|
9
|
+
}, z.core.$strict>>;
|
|
10
|
+
}, z.core.$strict>;
|
|
11
|
+
export type KnowledgeSavePreparationRequest = z.input<typeof KnowledgeSavePreparationRequest>;
|
|
12
|
+
export declare const KnowledgeCollectionDescriptor: z.ZodObject<{
|
|
13
|
+
id: z.ZodUUID;
|
|
14
|
+
revisionId: z.ZodUUID;
|
|
15
|
+
version: z.ZodNumber;
|
|
16
|
+
scope: z.ZodEnum<{
|
|
17
|
+
organization: "organization";
|
|
18
|
+
personal: "personal";
|
|
19
|
+
workspace: "workspace";
|
|
20
|
+
}>;
|
|
21
|
+
view: z.ZodEnum<{
|
|
22
|
+
needs_review: "needs_review";
|
|
23
|
+
published: "published";
|
|
24
|
+
}>;
|
|
25
|
+
title: z.ZodString;
|
|
26
|
+
description: z.ZodString;
|
|
27
|
+
descriptionTruncated: z.ZodBoolean;
|
|
28
|
+
parentIds: z.ZodArray<z.ZodUUID>;
|
|
29
|
+
}, z.core.$strict>;
|
|
30
|
+
export declare const KnowledgeSavePreparationResponse: z.ZodObject<{
|
|
31
|
+
collections: z.ZodObject<{
|
|
32
|
+
entries: z.ZodArray<z.ZodObject<{
|
|
33
|
+
id: z.ZodUUID;
|
|
34
|
+
revisionId: z.ZodUUID;
|
|
35
|
+
version: z.ZodNumber;
|
|
36
|
+
scope: z.ZodEnum<{
|
|
37
|
+
organization: "organization";
|
|
38
|
+
personal: "personal";
|
|
39
|
+
workspace: "workspace";
|
|
40
|
+
}>;
|
|
41
|
+
view: z.ZodEnum<{
|
|
42
|
+
needs_review: "needs_review";
|
|
43
|
+
published: "published";
|
|
44
|
+
}>;
|
|
45
|
+
title: z.ZodString;
|
|
46
|
+
description: z.ZodString;
|
|
47
|
+
descriptionTruncated: z.ZodBoolean;
|
|
48
|
+
parentIds: z.ZodArray<z.ZodUUID>;
|
|
49
|
+
}, z.core.$strict>>;
|
|
50
|
+
complete: z.ZodBoolean;
|
|
51
|
+
nextCursors: z.ZodObject<{
|
|
52
|
+
published: z.ZodNullable<z.ZodString>;
|
|
53
|
+
needs_review: z.ZodNullable<z.ZodString>;
|
|
54
|
+
}, z.core.$strip>;
|
|
55
|
+
}, z.core.$strip>;
|
|
56
|
+
matches: z.ZodObject<{
|
|
57
|
+
published: z.ZodObject<{
|
|
58
|
+
entries: z.ZodArray<z.ZodObject<{
|
|
59
|
+
id: z.ZodUUID;
|
|
60
|
+
scope: z.ZodEnum<{
|
|
61
|
+
organization: "organization";
|
|
62
|
+
personal: "personal";
|
|
63
|
+
workspace: "workspace";
|
|
64
|
+
}>;
|
|
65
|
+
version: z.ZodNumber;
|
|
66
|
+
publishedRevisionId: z.ZodNullable<z.ZodUUID>;
|
|
67
|
+
latestRevisionId: z.ZodUUID;
|
|
68
|
+
archived: z.ZodBoolean;
|
|
69
|
+
createdAt: z.ZodString;
|
|
70
|
+
updatedAt: z.ZodString;
|
|
71
|
+
indexStatus: z.ZodOptional<z.ZodEnum<{
|
|
72
|
+
awaiting_funding: "awaiting_funding";
|
|
73
|
+
indexed: "indexed";
|
|
74
|
+
indexing: "indexing";
|
|
75
|
+
provider_failed: "provider_failed";
|
|
76
|
+
queued: "queued";
|
|
77
|
+
saved: "saved";
|
|
78
|
+
source_unavailable: "source_unavailable";
|
|
79
|
+
}>>;
|
|
80
|
+
score: z.ZodOptional<z.ZodNumber>;
|
|
81
|
+
excerpts: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
82
|
+
field: z.ZodEnum<{
|
|
83
|
+
content: "content";
|
|
84
|
+
title: "title";
|
|
85
|
+
}>;
|
|
86
|
+
start: z.ZodNumber;
|
|
87
|
+
end: z.ZodNumber;
|
|
88
|
+
text: z.ZodString;
|
|
89
|
+
}, z.core.$strip>>>;
|
|
90
|
+
revision: z.ZodObject<{
|
|
91
|
+
id: z.ZodUUID;
|
|
92
|
+
entryId: z.ZodUUID;
|
|
93
|
+
number: z.ZodNumber;
|
|
94
|
+
change: z.ZodEnum<{
|
|
95
|
+
archive: "archive";
|
|
96
|
+
upsert: "upsert";
|
|
97
|
+
}>;
|
|
98
|
+
previousRevisionId: z.ZodNullable<z.ZodUUID>;
|
|
99
|
+
restoredFromRevisionId: z.ZodNullable<z.ZodUUID>;
|
|
100
|
+
createdAt: z.ZodString;
|
|
101
|
+
createdBySessionId: z.ZodNullable<z.ZodUUID>;
|
|
102
|
+
reviewBatchId: z.ZodNullable<z.ZodUUID>;
|
|
103
|
+
outcome: z.ZodEnum<{
|
|
104
|
+
pending: "pending";
|
|
105
|
+
published: "published";
|
|
106
|
+
rejected: "rejected";
|
|
107
|
+
superseded: "superseded";
|
|
108
|
+
}>;
|
|
109
|
+
title: z.ZodString;
|
|
110
|
+
kind: z.ZodEnum<{
|
|
111
|
+
decision: "decision";
|
|
112
|
+
fact: "fact";
|
|
113
|
+
group: "group";
|
|
114
|
+
incident: "incident";
|
|
115
|
+
note: "note";
|
|
116
|
+
requirement: "requirement";
|
|
117
|
+
source: "source";
|
|
118
|
+
}>;
|
|
119
|
+
preview: z.ZodString;
|
|
120
|
+
groupIds: z.ZodArray<z.ZodUUID>;
|
|
121
|
+
sourceKind: z.ZodNullable<z.ZodEnum<{
|
|
122
|
+
connector: "connector";
|
|
123
|
+
conversation: "conversation";
|
|
124
|
+
file: "file";
|
|
125
|
+
manual: "manual";
|
|
126
|
+
repository: "repository";
|
|
127
|
+
slack: "slack";
|
|
128
|
+
task_note: "task_note";
|
|
129
|
+
web: "web";
|
|
130
|
+
}>>;
|
|
131
|
+
}, z.core.$strict>;
|
|
132
|
+
}, z.core.$strict>>;
|
|
133
|
+
nextCursor: z.ZodNullable<z.ZodString>;
|
|
134
|
+
searchMode: z.ZodOptional<z.ZodEnum<{
|
|
135
|
+
hybrid: "hybrid";
|
|
136
|
+
keyword: "keyword";
|
|
137
|
+
vector: "vector";
|
|
138
|
+
}>>;
|
|
139
|
+
fallbackReason: z.ZodOptional<z.ZodEnum<{
|
|
140
|
+
awaiting_funding: "awaiting_funding";
|
|
141
|
+
provider_unavailable: "provider_unavailable";
|
|
142
|
+
query_limit: "query_limit";
|
|
143
|
+
quota: "quota";
|
|
144
|
+
}>>;
|
|
145
|
+
}, z.core.$strip>;
|
|
146
|
+
needs_review: z.ZodObject<{
|
|
147
|
+
entries: z.ZodArray<z.ZodObject<{
|
|
148
|
+
id: z.ZodUUID;
|
|
149
|
+
scope: z.ZodEnum<{
|
|
150
|
+
organization: "organization";
|
|
151
|
+
personal: "personal";
|
|
152
|
+
workspace: "workspace";
|
|
153
|
+
}>;
|
|
154
|
+
version: z.ZodNumber;
|
|
155
|
+
publishedRevisionId: z.ZodNullable<z.ZodUUID>;
|
|
156
|
+
latestRevisionId: z.ZodUUID;
|
|
157
|
+
archived: z.ZodBoolean;
|
|
158
|
+
createdAt: z.ZodString;
|
|
159
|
+
updatedAt: z.ZodString;
|
|
160
|
+
indexStatus: z.ZodOptional<z.ZodEnum<{
|
|
161
|
+
awaiting_funding: "awaiting_funding";
|
|
162
|
+
indexed: "indexed";
|
|
163
|
+
indexing: "indexing";
|
|
164
|
+
provider_failed: "provider_failed";
|
|
165
|
+
queued: "queued";
|
|
166
|
+
saved: "saved";
|
|
167
|
+
source_unavailable: "source_unavailable";
|
|
168
|
+
}>>;
|
|
169
|
+
score: z.ZodOptional<z.ZodNumber>;
|
|
170
|
+
excerpts: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
171
|
+
field: z.ZodEnum<{
|
|
172
|
+
content: "content";
|
|
173
|
+
title: "title";
|
|
174
|
+
}>;
|
|
175
|
+
start: z.ZodNumber;
|
|
176
|
+
end: z.ZodNumber;
|
|
177
|
+
text: z.ZodString;
|
|
178
|
+
}, z.core.$strip>>>;
|
|
179
|
+
revision: z.ZodObject<{
|
|
180
|
+
id: z.ZodUUID;
|
|
181
|
+
entryId: z.ZodUUID;
|
|
182
|
+
number: z.ZodNumber;
|
|
183
|
+
change: z.ZodEnum<{
|
|
184
|
+
archive: "archive";
|
|
185
|
+
upsert: "upsert";
|
|
186
|
+
}>;
|
|
187
|
+
previousRevisionId: z.ZodNullable<z.ZodUUID>;
|
|
188
|
+
restoredFromRevisionId: z.ZodNullable<z.ZodUUID>;
|
|
189
|
+
createdAt: z.ZodString;
|
|
190
|
+
createdBySessionId: z.ZodNullable<z.ZodUUID>;
|
|
191
|
+
reviewBatchId: z.ZodNullable<z.ZodUUID>;
|
|
192
|
+
outcome: z.ZodEnum<{
|
|
193
|
+
pending: "pending";
|
|
194
|
+
published: "published";
|
|
195
|
+
rejected: "rejected";
|
|
196
|
+
superseded: "superseded";
|
|
197
|
+
}>;
|
|
198
|
+
title: z.ZodString;
|
|
199
|
+
kind: z.ZodEnum<{
|
|
200
|
+
decision: "decision";
|
|
201
|
+
fact: "fact";
|
|
202
|
+
group: "group";
|
|
203
|
+
incident: "incident";
|
|
204
|
+
note: "note";
|
|
205
|
+
requirement: "requirement";
|
|
206
|
+
source: "source";
|
|
207
|
+
}>;
|
|
208
|
+
preview: z.ZodString;
|
|
209
|
+
groupIds: z.ZodArray<z.ZodUUID>;
|
|
210
|
+
sourceKind: z.ZodNullable<z.ZodEnum<{
|
|
211
|
+
connector: "connector";
|
|
212
|
+
conversation: "conversation";
|
|
213
|
+
file: "file";
|
|
214
|
+
manual: "manual";
|
|
215
|
+
repository: "repository";
|
|
216
|
+
slack: "slack";
|
|
217
|
+
task_note: "task_note";
|
|
218
|
+
web: "web";
|
|
219
|
+
}>>;
|
|
220
|
+
}, z.core.$strict>;
|
|
221
|
+
}, z.core.$strict>>;
|
|
222
|
+
nextCursor: z.ZodNullable<z.ZodString>;
|
|
223
|
+
searchMode: z.ZodOptional<z.ZodEnum<{
|
|
224
|
+
hybrid: "hybrid";
|
|
225
|
+
keyword: "keyword";
|
|
226
|
+
vector: "vector";
|
|
227
|
+
}>>;
|
|
228
|
+
fallbackReason: z.ZodOptional<z.ZodEnum<{
|
|
229
|
+
awaiting_funding: "awaiting_funding";
|
|
230
|
+
provider_unavailable: "provider_unavailable";
|
|
231
|
+
query_limit: "query_limit";
|
|
232
|
+
quota: "quota";
|
|
233
|
+
}>>;
|
|
234
|
+
}, z.core.$strip>;
|
|
235
|
+
}, z.core.$strip>;
|
|
236
|
+
}, z.core.$strict>;
|
|
237
|
+
export type KnowledgeSavePreparationResponse = z.infer<typeof KnowledgeSavePreparationResponse>;
|