@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,475 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/** Exact accepted-attempt authority. It is validated again inside the write transaction. */
|
|
3
|
+
export declare const CompanyBrainGovernedWriteAttempt: z.ZodObject<{
|
|
4
|
+
accountId: z.ZodString;
|
|
5
|
+
workspaceId: z.ZodString;
|
|
6
|
+
sessionId: z.ZodString;
|
|
7
|
+
turnId: z.ZodString;
|
|
8
|
+
attemptId: z.ZodString;
|
|
9
|
+
executionGeneration: z.ZodNumber;
|
|
10
|
+
}, z.core.$strict>;
|
|
11
|
+
export type CompanyBrainGovernedWriteAttempt = z.infer<typeof CompanyBrainGovernedWriteAttempt>;
|
|
12
|
+
export declare const ProposeWorkspaceKnowledgeClaimRequest: z.ZodObject<{
|
|
13
|
+
claimId: z.ZodString;
|
|
14
|
+
evidenceId: z.ZodString;
|
|
15
|
+
kind: z.ZodLiteral<"propose_knowledge">;
|
|
16
|
+
operationId: z.ZodString;
|
|
17
|
+
reason: z.ZodString;
|
|
18
|
+
}, z.core.$strict>;
|
|
19
|
+
export type ProposeWorkspaceKnowledgeClaimRequest = z.infer<typeof ProposeWorkspaceKnowledgeClaimRequest>;
|
|
20
|
+
export declare const CorrectWorkspaceKnowledgeClaimRequest: z.ZodObject<{
|
|
21
|
+
claimId: z.ZodString;
|
|
22
|
+
evidenceId: z.ZodString;
|
|
23
|
+
kind: z.ZodLiteral<"correct_knowledge">;
|
|
24
|
+
operationId: z.ZodString;
|
|
25
|
+
replacesClaimId: z.ZodString;
|
|
26
|
+
reason: z.ZodString;
|
|
27
|
+
}, z.core.$strict>;
|
|
28
|
+
export type CorrectWorkspaceKnowledgeClaimRequest = z.infer<typeof CorrectWorkspaceKnowledgeClaimRequest>;
|
|
29
|
+
/**
|
|
30
|
+
* Promote one still-active task-tree note into a normalized, workspace-local
|
|
31
|
+
* Knowledge claim proposal. The note text is the exact fact value and source
|
|
32
|
+
* evidence; callers may describe the subject and predicate but cannot widen
|
|
33
|
+
* authority or supply replacement source bytes.
|
|
34
|
+
*/
|
|
35
|
+
export declare const PromoteTaskNoteKnowledgeRequest: z.ZodObject<{
|
|
36
|
+
kind: z.ZodLiteral<"promote_task_note_knowledge">;
|
|
37
|
+
operationId: z.ZodString;
|
|
38
|
+
noteId: z.ZodString;
|
|
39
|
+
expectedNoteVersion: z.ZodLiteral<1>;
|
|
40
|
+
entityType: z.ZodString;
|
|
41
|
+
normalizedKey: z.ZodString;
|
|
42
|
+
displayName: z.ZodString;
|
|
43
|
+
predicateKey: z.ZodString;
|
|
44
|
+
confidenceBps: z.ZodNumber;
|
|
45
|
+
reason: z.ZodString;
|
|
46
|
+
}, z.core.$strict>;
|
|
47
|
+
export type PromoteTaskNoteKnowledgeRequest = z.infer<typeof PromoteTaskNoteKnowledgeRequest>;
|
|
48
|
+
/**
|
|
49
|
+
* Promote the exact immutable Task-note bytes into an inactive mandatory-rule
|
|
50
|
+
* draft. The caller selects only the governed target and active-head baseline;
|
|
51
|
+
* it cannot replace the source content or activate the draft.
|
|
52
|
+
*/
|
|
53
|
+
export declare const PromoteTaskNoteInstructionPolicyRequest: z.ZodObject<{
|
|
54
|
+
kind: z.ZodLiteral<"promote_task_note_instruction_policy">;
|
|
55
|
+
operationId: z.ZodString;
|
|
56
|
+
noteId: z.ZodString;
|
|
57
|
+
expectedNoteVersion: z.ZodLiteral<1>;
|
|
58
|
+
entityType: z.ZodString;
|
|
59
|
+
normalizedKey: z.ZodString;
|
|
60
|
+
displayName: z.ZodString;
|
|
61
|
+
predicateKey: z.ZodString;
|
|
62
|
+
confidenceBps: z.ZodNumber;
|
|
63
|
+
target: z.ZodObject<{
|
|
64
|
+
kind: z.ZodEnum<{
|
|
65
|
+
charter: "charter";
|
|
66
|
+
policy: "policy";
|
|
67
|
+
}>;
|
|
68
|
+
scope: z.ZodEnum<{
|
|
69
|
+
global: "global";
|
|
70
|
+
role: "role";
|
|
71
|
+
}>;
|
|
72
|
+
roleKey: z.ZodNullable<z.ZodString>;
|
|
73
|
+
}, z.core.$strip>;
|
|
74
|
+
expectedCurrentRevisionId: z.ZodNullable<z.ZodString>;
|
|
75
|
+
expectedActivationVersion: z.ZodNumber;
|
|
76
|
+
reason: z.ZodString;
|
|
77
|
+
}, z.core.$strict>;
|
|
78
|
+
export type PromoteTaskNoteInstructionPolicyRequest = z.infer<typeof PromoteTaskNoteInstructionPolicyRequest>;
|
|
79
|
+
/**
|
|
80
|
+
* Promote the exact immutable Task-note bytes into an inactive workspace
|
|
81
|
+
* preference proposal. Descriptor metadata is caller-supplied and bounded,
|
|
82
|
+
* while the full proposal content always comes from the admitted note.
|
|
83
|
+
*/
|
|
84
|
+
export declare const PromoteTaskNotePreferenceRequest: z.ZodObject<{
|
|
85
|
+
kind: z.ZodLiteral<"promote_task_note_preference">;
|
|
86
|
+
operationId: z.ZodString;
|
|
87
|
+
noteId: z.ZodString;
|
|
88
|
+
expectedNoteVersion: z.ZodLiteral<1>;
|
|
89
|
+
entityType: z.ZodString;
|
|
90
|
+
normalizedKey: z.ZodString;
|
|
91
|
+
displayName: z.ZodString;
|
|
92
|
+
predicateKey: z.ZodString;
|
|
93
|
+
confidenceBps: z.ZodNumber;
|
|
94
|
+
stableKey: z.ZodString;
|
|
95
|
+
title: z.ZodString;
|
|
96
|
+
description: z.ZodString;
|
|
97
|
+
precedenceRank: z.ZodDefault<z.ZodNumber>;
|
|
98
|
+
conflictStrategy: z.ZodDefault<z.ZodEnum<{
|
|
99
|
+
inform: "inform";
|
|
100
|
+
merge: "merge";
|
|
101
|
+
override: "override";
|
|
102
|
+
reject: "reject";
|
|
103
|
+
}>>;
|
|
104
|
+
conflictsWith: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
105
|
+
expiresAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
106
|
+
reason: z.ZodString;
|
|
107
|
+
}, z.core.$strict>;
|
|
108
|
+
export type PromoteTaskNotePreferenceRequest = z.infer<typeof PromoteTaskNotePreferenceRequest>;
|
|
109
|
+
export declare const ProposeWorkspaceInstructionPolicyRequest: z.ZodObject<{
|
|
110
|
+
claimId: z.ZodString;
|
|
111
|
+
evidenceId: z.ZodString;
|
|
112
|
+
kind: z.ZodLiteral<"propose_instruction_policy">;
|
|
113
|
+
operationId: z.ZodString;
|
|
114
|
+
target: z.ZodObject<{
|
|
115
|
+
kind: z.ZodEnum<{
|
|
116
|
+
charter: "charter";
|
|
117
|
+
policy: "policy";
|
|
118
|
+
}>;
|
|
119
|
+
scope: z.ZodEnum<{
|
|
120
|
+
global: "global";
|
|
121
|
+
role: "role";
|
|
122
|
+
}>;
|
|
123
|
+
roleKey: z.ZodNullable<z.ZodString>;
|
|
124
|
+
}, z.core.$strip>;
|
|
125
|
+
content: z.ZodString;
|
|
126
|
+
expectedCurrentRevisionId: z.ZodNullable<z.ZodString>;
|
|
127
|
+
expectedActivationVersion: z.ZodNumber;
|
|
128
|
+
reason: z.ZodString;
|
|
129
|
+
}, z.core.$strict>;
|
|
130
|
+
export type ProposeWorkspaceInstructionPolicyRequest = z.infer<typeof ProposeWorkspaceInstructionPolicyRequest>;
|
|
131
|
+
export declare const ProposeWorkspacePreferenceRequest: z.ZodObject<{
|
|
132
|
+
claimId: z.ZodString;
|
|
133
|
+
evidenceId: z.ZodString;
|
|
134
|
+
kind: z.ZodLiteral<"propose_preference">;
|
|
135
|
+
operationId: z.ZodString;
|
|
136
|
+
stableKey: z.ZodString;
|
|
137
|
+
title: z.ZodString;
|
|
138
|
+
description: z.ZodString;
|
|
139
|
+
content: z.ZodString;
|
|
140
|
+
precedenceRank: z.ZodDefault<z.ZodNumber>;
|
|
141
|
+
conflictStrategy: z.ZodDefault<z.ZodEnum<{
|
|
142
|
+
inform: "inform";
|
|
143
|
+
merge: "merge";
|
|
144
|
+
override: "override";
|
|
145
|
+
reject: "reject";
|
|
146
|
+
}>>;
|
|
147
|
+
conflictsWith: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
148
|
+
expiresAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
149
|
+
reason: z.ZodString;
|
|
150
|
+
}, z.core.$strict>;
|
|
151
|
+
export type ProposeWorkspacePreferenceRequest = z.infer<typeof ProposeWorkspacePreferenceRequest>;
|
|
152
|
+
/**
|
|
153
|
+
* Destination selection is explicit and structured. There is deliberately no
|
|
154
|
+
* generic "remember" operation, classifier, personal scope, or active authority.
|
|
155
|
+
*/
|
|
156
|
+
export declare const CompanyBrainGovernedWriteRequest: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
157
|
+
claimId: z.ZodString;
|
|
158
|
+
evidenceId: z.ZodString;
|
|
159
|
+
kind: z.ZodLiteral<"propose_knowledge">;
|
|
160
|
+
operationId: z.ZodString;
|
|
161
|
+
reason: z.ZodString;
|
|
162
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
163
|
+
claimId: z.ZodString;
|
|
164
|
+
evidenceId: z.ZodString;
|
|
165
|
+
kind: z.ZodLiteral<"correct_knowledge">;
|
|
166
|
+
operationId: z.ZodString;
|
|
167
|
+
replacesClaimId: z.ZodString;
|
|
168
|
+
reason: z.ZodString;
|
|
169
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
170
|
+
kind: z.ZodLiteral<"promote_task_note_knowledge">;
|
|
171
|
+
operationId: z.ZodString;
|
|
172
|
+
noteId: z.ZodString;
|
|
173
|
+
expectedNoteVersion: z.ZodLiteral<1>;
|
|
174
|
+
entityType: z.ZodString;
|
|
175
|
+
normalizedKey: z.ZodString;
|
|
176
|
+
displayName: z.ZodString;
|
|
177
|
+
predicateKey: z.ZodString;
|
|
178
|
+
confidenceBps: z.ZodNumber;
|
|
179
|
+
reason: z.ZodString;
|
|
180
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
181
|
+
kind: z.ZodLiteral<"promote_task_note_instruction_policy">;
|
|
182
|
+
operationId: z.ZodString;
|
|
183
|
+
noteId: z.ZodString;
|
|
184
|
+
expectedNoteVersion: z.ZodLiteral<1>;
|
|
185
|
+
entityType: z.ZodString;
|
|
186
|
+
normalizedKey: z.ZodString;
|
|
187
|
+
displayName: z.ZodString;
|
|
188
|
+
predicateKey: z.ZodString;
|
|
189
|
+
confidenceBps: z.ZodNumber;
|
|
190
|
+
target: z.ZodObject<{
|
|
191
|
+
kind: z.ZodEnum<{
|
|
192
|
+
charter: "charter";
|
|
193
|
+
policy: "policy";
|
|
194
|
+
}>;
|
|
195
|
+
scope: z.ZodEnum<{
|
|
196
|
+
global: "global";
|
|
197
|
+
role: "role";
|
|
198
|
+
}>;
|
|
199
|
+
roleKey: z.ZodNullable<z.ZodString>;
|
|
200
|
+
}, z.core.$strip>;
|
|
201
|
+
expectedCurrentRevisionId: z.ZodNullable<z.ZodString>;
|
|
202
|
+
expectedActivationVersion: z.ZodNumber;
|
|
203
|
+
reason: z.ZodString;
|
|
204
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
205
|
+
kind: z.ZodLiteral<"promote_task_note_preference">;
|
|
206
|
+
operationId: z.ZodString;
|
|
207
|
+
noteId: z.ZodString;
|
|
208
|
+
expectedNoteVersion: z.ZodLiteral<1>;
|
|
209
|
+
entityType: z.ZodString;
|
|
210
|
+
normalizedKey: z.ZodString;
|
|
211
|
+
displayName: z.ZodString;
|
|
212
|
+
predicateKey: z.ZodString;
|
|
213
|
+
confidenceBps: z.ZodNumber;
|
|
214
|
+
stableKey: z.ZodString;
|
|
215
|
+
title: z.ZodString;
|
|
216
|
+
description: z.ZodString;
|
|
217
|
+
precedenceRank: z.ZodDefault<z.ZodNumber>;
|
|
218
|
+
conflictStrategy: z.ZodDefault<z.ZodEnum<{
|
|
219
|
+
inform: "inform";
|
|
220
|
+
merge: "merge";
|
|
221
|
+
override: "override";
|
|
222
|
+
reject: "reject";
|
|
223
|
+
}>>;
|
|
224
|
+
conflictsWith: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
225
|
+
expiresAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
226
|
+
reason: z.ZodString;
|
|
227
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
228
|
+
claimId: z.ZodString;
|
|
229
|
+
evidenceId: z.ZodString;
|
|
230
|
+
kind: z.ZodLiteral<"propose_instruction_policy">;
|
|
231
|
+
operationId: z.ZodString;
|
|
232
|
+
target: z.ZodObject<{
|
|
233
|
+
kind: z.ZodEnum<{
|
|
234
|
+
charter: "charter";
|
|
235
|
+
policy: "policy";
|
|
236
|
+
}>;
|
|
237
|
+
scope: z.ZodEnum<{
|
|
238
|
+
global: "global";
|
|
239
|
+
role: "role";
|
|
240
|
+
}>;
|
|
241
|
+
roleKey: z.ZodNullable<z.ZodString>;
|
|
242
|
+
}, z.core.$strip>;
|
|
243
|
+
content: z.ZodString;
|
|
244
|
+
expectedCurrentRevisionId: z.ZodNullable<z.ZodString>;
|
|
245
|
+
expectedActivationVersion: z.ZodNumber;
|
|
246
|
+
reason: z.ZodString;
|
|
247
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
248
|
+
claimId: z.ZodString;
|
|
249
|
+
evidenceId: z.ZodString;
|
|
250
|
+
kind: z.ZodLiteral<"propose_preference">;
|
|
251
|
+
operationId: z.ZodString;
|
|
252
|
+
stableKey: z.ZodString;
|
|
253
|
+
title: z.ZodString;
|
|
254
|
+
description: z.ZodString;
|
|
255
|
+
content: z.ZodString;
|
|
256
|
+
precedenceRank: z.ZodDefault<z.ZodNumber>;
|
|
257
|
+
conflictStrategy: z.ZodDefault<z.ZodEnum<{
|
|
258
|
+
inform: "inform";
|
|
259
|
+
merge: "merge";
|
|
260
|
+
override: "override";
|
|
261
|
+
reject: "reject";
|
|
262
|
+
}>>;
|
|
263
|
+
conflictsWith: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
264
|
+
expiresAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
265
|
+
reason: z.ZodString;
|
|
266
|
+
}, z.core.$strict>], "kind">;
|
|
267
|
+
export type CompanyBrainGovernedWriteRequest = z.infer<typeof CompanyBrainGovernedWriteRequest>;
|
|
268
|
+
export declare const CompanyBrainGovernedWriteDestination: z.ZodEnum<{
|
|
269
|
+
instruction_policy: "instruction_policy";
|
|
270
|
+
knowledge: "knowledge";
|
|
271
|
+
preference: "preference";
|
|
272
|
+
}>;
|
|
273
|
+
export type CompanyBrainGovernedWriteDestination = z.infer<typeof CompanyBrainGovernedWriteDestination>;
|
|
274
|
+
export declare const CompanyBrainGovernedWriteReceipt: z.ZodObject<{
|
|
275
|
+
operationId: z.ZodString;
|
|
276
|
+
inputHash: z.ZodString;
|
|
277
|
+
workspaceId: z.ZodString;
|
|
278
|
+
destination: z.ZodEnum<{
|
|
279
|
+
instruction_policy: "instruction_policy";
|
|
280
|
+
knowledge: "knowledge";
|
|
281
|
+
preference: "preference";
|
|
282
|
+
}>;
|
|
283
|
+
outcome: z.ZodLiteral<"proposed">;
|
|
284
|
+
claimId: z.ZodString;
|
|
285
|
+
evidenceId: z.ZodString;
|
|
286
|
+
relationId: z.ZodNullable<z.ZodString>;
|
|
287
|
+
reviewId: z.ZodNullable<z.ZodString>;
|
|
288
|
+
knowledgeChangeProposalId: z.ZodNullable<z.ZodString>;
|
|
289
|
+
destinationProposalId: z.ZodNullable<z.ZodString>;
|
|
290
|
+
destinationRevisionId: z.ZodNullable<z.ZodString>;
|
|
291
|
+
taskNoteSource: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
292
|
+
noteId: z.ZodString;
|
|
293
|
+
rootSessionId: z.ZodString;
|
|
294
|
+
noteVersion: z.ZodLiteral<1>;
|
|
295
|
+
textHash: z.ZodString;
|
|
296
|
+
}, z.core.$strip>>>;
|
|
297
|
+
effectiveBoundary: z.ZodLiteral<"human_review_required">;
|
|
298
|
+
rollback: z.ZodObject<{
|
|
299
|
+
supported: z.ZodLiteral<false>;
|
|
300
|
+
mechanism: z.ZodLiteral<"not_applicable_proposal_only">;
|
|
301
|
+
}, z.core.$strip>;
|
|
302
|
+
}, z.core.$strip>;
|
|
303
|
+
export type CompanyBrainGovernedWriteReceipt = z.infer<typeof CompanyBrainGovernedWriteReceipt>;
|
|
304
|
+
/**
|
|
305
|
+
* Policy routing is deliberately separate from destination admission. The
|
|
306
|
+
* immutable accepted-attempt snapshot decides whether derived evidence may
|
|
307
|
+
* create a proposal; the destination still owns activation and rollback.
|
|
308
|
+
*/
|
|
309
|
+
export declare const CompanyBrainLearningPolicyDecision: z.ZodEnum<{
|
|
310
|
+
activated: "activated";
|
|
311
|
+
activation_requested: "activation_requested";
|
|
312
|
+
blocked: "blocked";
|
|
313
|
+
proposal_created: "proposal_created";
|
|
314
|
+
}>;
|
|
315
|
+
export type CompanyBrainLearningPolicyDecision = z.infer<typeof CompanyBrainLearningPolicyDecision>;
|
|
316
|
+
/**
|
|
317
|
+
* Content-free summary of the governed-learning decision receipt recorded for
|
|
318
|
+
* a Ways-of-working proposal (instruction policy or preference). Knowledge
|
|
319
|
+
* destinations create no `knowledge_change_proposals` row and are therefore
|
|
320
|
+
* never evaluated; they report `null`.
|
|
321
|
+
*/
|
|
322
|
+
export declare const CompanyBrainLearningDecisionSummary: z.ZodObject<{
|
|
323
|
+
receiptId: z.ZodString;
|
|
324
|
+
outcome: z.ZodEnum<{
|
|
325
|
+
automatic: "automatic";
|
|
326
|
+
confidence: "confidence";
|
|
327
|
+
conflict: "conflict";
|
|
328
|
+
off: "off";
|
|
329
|
+
revoked: "revoked";
|
|
330
|
+
stale: "stale";
|
|
331
|
+
suggest: "suggest";
|
|
332
|
+
}>;
|
|
333
|
+
automaticEligible: z.ZodBoolean;
|
|
334
|
+
reasons: z.ZodArray<z.ZodEnum<{
|
|
335
|
+
confidence_below_floor: "confidence_below_floor";
|
|
336
|
+
evidence_conflict: "evidence_conflict";
|
|
337
|
+
evidence_revoked: "evidence_revoked";
|
|
338
|
+
policy_automatic: "policy_automatic";
|
|
339
|
+
policy_off: "policy_off";
|
|
340
|
+
policy_suggest: "policy_suggest";
|
|
341
|
+
proposal_stale: "proposal_stale";
|
|
342
|
+
}>>;
|
|
343
|
+
}, z.core.$strip>;
|
|
344
|
+
export type CompanyBrainLearningDecisionSummary = z.infer<typeof CompanyBrainLearningDecisionSummary>;
|
|
345
|
+
/**
|
|
346
|
+
* Bounded, content-free reason why evaluation or activation did not complete.
|
|
347
|
+
* The proposal write itself remains durable regardless.
|
|
348
|
+
*/
|
|
349
|
+
export declare const CompanyBrainLearningStepFailure: z.ZodObject<{
|
|
350
|
+
stage: z.ZodEnum<{
|
|
351
|
+
activation: "activation";
|
|
352
|
+
evaluation: "evaluation";
|
|
353
|
+
}>;
|
|
354
|
+
code: z.ZodEnum<{
|
|
355
|
+
authority: "authority";
|
|
356
|
+
conflict: "conflict";
|
|
357
|
+
invalid_operation: "invalid_operation";
|
|
358
|
+
unavailable: "unavailable";
|
|
359
|
+
}>;
|
|
360
|
+
}, z.core.$strip>;
|
|
361
|
+
export type CompanyBrainLearningStepFailure = z.infer<typeof CompanyBrainLearningStepFailure>;
|
|
362
|
+
export declare const CompanyBrainLearningPolicyRouteReceipt: z.ZodObject<{
|
|
363
|
+
operationId: z.ZodString;
|
|
364
|
+
workspaceId: z.ZodString;
|
|
365
|
+
effectivePolicy: z.ZodObject<{
|
|
366
|
+
mode: z.ZodEnum<{
|
|
367
|
+
automatic: "automatic";
|
|
368
|
+
off: "off";
|
|
369
|
+
suggest: "suggest";
|
|
370
|
+
}>;
|
|
371
|
+
snapshotId: z.ZodString;
|
|
372
|
+
revisionId: z.ZodString;
|
|
373
|
+
inherited: z.ZodBoolean;
|
|
374
|
+
source: z.ZodObject<{
|
|
375
|
+
kind: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodString>;
|
|
376
|
+
id: z.ZodString;
|
|
377
|
+
}, z.core.$strip>;
|
|
378
|
+
policyRevision: z.ZodNullable<z.ZodObject<{
|
|
379
|
+
id: z.ZodString;
|
|
380
|
+
revision: z.ZodNumber;
|
|
381
|
+
policyHash: z.ZodString;
|
|
382
|
+
}, z.core.$strip>>;
|
|
383
|
+
activationVersion: z.ZodNumber;
|
|
384
|
+
snapshotHash: z.ZodString;
|
|
385
|
+
}, z.core.$strip>;
|
|
386
|
+
decision: z.ZodEnum<{
|
|
387
|
+
activated: "activated";
|
|
388
|
+
activation_requested: "activation_requested";
|
|
389
|
+
blocked: "blocked";
|
|
390
|
+
proposal_created: "proposal_created";
|
|
391
|
+
}>;
|
|
392
|
+
write: z.ZodNullable<z.ZodObject<{
|
|
393
|
+
operationId: z.ZodString;
|
|
394
|
+
inputHash: z.ZodString;
|
|
395
|
+
workspaceId: z.ZodString;
|
|
396
|
+
destination: z.ZodEnum<{
|
|
397
|
+
instruction_policy: "instruction_policy";
|
|
398
|
+
knowledge: "knowledge";
|
|
399
|
+
preference: "preference";
|
|
400
|
+
}>;
|
|
401
|
+
outcome: z.ZodLiteral<"proposed">;
|
|
402
|
+
claimId: z.ZodString;
|
|
403
|
+
evidenceId: z.ZodString;
|
|
404
|
+
relationId: z.ZodNullable<z.ZodString>;
|
|
405
|
+
reviewId: z.ZodNullable<z.ZodString>;
|
|
406
|
+
knowledgeChangeProposalId: z.ZodNullable<z.ZodString>;
|
|
407
|
+
destinationProposalId: z.ZodNullable<z.ZodString>;
|
|
408
|
+
destinationRevisionId: z.ZodNullable<z.ZodString>;
|
|
409
|
+
taskNoteSource: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
410
|
+
noteId: z.ZodString;
|
|
411
|
+
rootSessionId: z.ZodString;
|
|
412
|
+
noteVersion: z.ZodLiteral<1>;
|
|
413
|
+
textHash: z.ZodString;
|
|
414
|
+
}, z.core.$strip>>>;
|
|
415
|
+
effectiveBoundary: z.ZodLiteral<"human_review_required">;
|
|
416
|
+
rollback: z.ZodObject<{
|
|
417
|
+
supported: z.ZodLiteral<false>;
|
|
418
|
+
mechanism: z.ZodLiteral<"not_applicable_proposal_only">;
|
|
419
|
+
}, z.core.$strip>;
|
|
420
|
+
}, z.core.$strip>>;
|
|
421
|
+
learning: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
422
|
+
receiptId: z.ZodString;
|
|
423
|
+
outcome: z.ZodEnum<{
|
|
424
|
+
automatic: "automatic";
|
|
425
|
+
confidence: "confidence";
|
|
426
|
+
conflict: "conflict";
|
|
427
|
+
off: "off";
|
|
428
|
+
revoked: "revoked";
|
|
429
|
+
stale: "stale";
|
|
430
|
+
suggest: "suggest";
|
|
431
|
+
}>;
|
|
432
|
+
automaticEligible: z.ZodBoolean;
|
|
433
|
+
reasons: z.ZodArray<z.ZodEnum<{
|
|
434
|
+
confidence_below_floor: "confidence_below_floor";
|
|
435
|
+
evidence_conflict: "evidence_conflict";
|
|
436
|
+
evidence_revoked: "evidence_revoked";
|
|
437
|
+
policy_automatic: "policy_automatic";
|
|
438
|
+
policy_off: "policy_off";
|
|
439
|
+
policy_suggest: "policy_suggest";
|
|
440
|
+
proposal_stale: "proposal_stale";
|
|
441
|
+
}>>;
|
|
442
|
+
}, z.core.$strip>>>;
|
|
443
|
+
learningFailure: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
444
|
+
stage: z.ZodEnum<{
|
|
445
|
+
activation: "activation";
|
|
446
|
+
evaluation: "evaluation";
|
|
447
|
+
}>;
|
|
448
|
+
code: z.ZodEnum<{
|
|
449
|
+
authority: "authority";
|
|
450
|
+
conflict: "conflict";
|
|
451
|
+
invalid_operation: "invalid_operation";
|
|
452
|
+
unavailable: "unavailable";
|
|
453
|
+
}>;
|
|
454
|
+
}, z.core.$strip>>>;
|
|
455
|
+
activation: z.ZodObject<{
|
|
456
|
+
requested: z.ZodBoolean;
|
|
457
|
+
activated: z.ZodBoolean;
|
|
458
|
+
boundary: z.ZodEnum<{
|
|
459
|
+
activated: "activated";
|
|
460
|
+
destination_authority: "destination_authority";
|
|
461
|
+
human_activation_required: "human_activation_required";
|
|
462
|
+
human_review: "human_review";
|
|
463
|
+
not_eligible: "not_eligible";
|
|
464
|
+
policy_off: "policy_off";
|
|
465
|
+
}>;
|
|
466
|
+
receiptId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
467
|
+
destination: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
|
|
468
|
+
instruction_policy: "instruction_policy";
|
|
469
|
+
preference: "preference";
|
|
470
|
+
}>>>;
|
|
471
|
+
destinationRevisionId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
472
|
+
effectiveAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
473
|
+
}, z.core.$strip>;
|
|
474
|
+
}, z.core.$strip>;
|
|
475
|
+
export type CompanyBrainLearningPolicyRouteReceipt = z.infer<typeof CompanyBrainLearningPolicyRouteReceipt>;
|