@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,193 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const ConnectionAuthoritySelectionSource: z.ZodEnum<{
|
|
3
|
+
explicit_workspace: "explicit_workspace";
|
|
4
|
+
sender: "sender";
|
|
5
|
+
}>;
|
|
6
|
+
export type ConnectionAuthoritySelectionSource = z.infer<typeof ConnectionAuthoritySelectionSource>;
|
|
7
|
+
export declare const ConnectionUseSelectionSource: z.ZodString;
|
|
8
|
+
export type ConnectionUseSelectionSource = z.infer<typeof ConnectionUseSelectionSource>;
|
|
9
|
+
/**
|
|
10
|
+
* Internal, credential-free authority frozen when work is accepted. Personal
|
|
11
|
+
* owner identity is retained only for live authorization and usage/audit
|
|
12
|
+
* attribution; it is never part of the public delegation envelope.
|
|
13
|
+
*/
|
|
14
|
+
export declare const ConnectionUseAuthoritySnapshot: z.ZodObject<{
|
|
15
|
+
organizationId: z.ZodString;
|
|
16
|
+
originWorkspaceId: z.ZodString;
|
|
17
|
+
targetWorkspaceId: z.ZodString;
|
|
18
|
+
targetSessionId: z.ZodString;
|
|
19
|
+
targetSessionVisibility: z.ZodEnum<{
|
|
20
|
+
user_private: "user_private";
|
|
21
|
+
workspace_shared: "workspace_shared";
|
|
22
|
+
}>;
|
|
23
|
+
targetSessionAuthorityEpoch: z.ZodNumber;
|
|
24
|
+
acceptedWork: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
25
|
+
kind: z.ZodLiteral<"turn">;
|
|
26
|
+
turnId: z.ZodString;
|
|
27
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
28
|
+
kind: z.ZodLiteral<"scheduled_task">;
|
|
29
|
+
taskId: z.ZodString;
|
|
30
|
+
taskAuthorityRevision: z.ZodNumber;
|
|
31
|
+
runId: z.ZodString;
|
|
32
|
+
}, z.core.$strict>], "kind">;
|
|
33
|
+
connectionId: z.ZodString;
|
|
34
|
+
connectionGeneration: z.ZodNumber;
|
|
35
|
+
connectionStatus: z.ZodLiteral<"active">;
|
|
36
|
+
providerDomain: z.ZodString;
|
|
37
|
+
connectionKind: z.ZodEnum<{
|
|
38
|
+
api_key: "api_key";
|
|
39
|
+
app_install: "app_install";
|
|
40
|
+
delegated: "delegated";
|
|
41
|
+
oauth2: "oauth2";
|
|
42
|
+
}>;
|
|
43
|
+
scope: z.ZodEnum<{
|
|
44
|
+
user: "user";
|
|
45
|
+
workspace: "workspace";
|
|
46
|
+
}>;
|
|
47
|
+
ownerSubjectId: z.ZodNullable<z.ZodString>;
|
|
48
|
+
ownerOrganizationMembershipId: z.ZodNullable<z.ZodString>;
|
|
49
|
+
ownerMembershipAuthorizationRevision: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
50
|
+
authoritySource: z.ZodEnum<{
|
|
51
|
+
explicit_workspace: "explicit_workspace";
|
|
52
|
+
sender: "sender";
|
|
53
|
+
}>;
|
|
54
|
+
selectionSources: z.ZodArray<z.ZodString>;
|
|
55
|
+
userDelegation: z.ZodNull;
|
|
56
|
+
}, z.core.$strict>;
|
|
57
|
+
export type ConnectionUseAuthoritySnapshot = z.infer<typeof ConnectionUseAuthoritySnapshot>;
|
|
58
|
+
export declare const ConnectionUseDenialReason: z.ZodEnum<{
|
|
59
|
+
accepted_attempt_authority_required: "accepted_attempt_authority_required";
|
|
60
|
+
accepted_snapshot_digest_changed: "accepted_snapshot_digest_changed";
|
|
61
|
+
authority_generation_changed: "authority_generation_changed";
|
|
62
|
+
authority_identity_changed: "authority_identity_changed";
|
|
63
|
+
authority_missing: "authority_missing";
|
|
64
|
+
authority_status_inactive: "authority_status_inactive";
|
|
65
|
+
connection_generation_changed: "connection_generation_changed";
|
|
66
|
+
connection_identity_changed: "connection_identity_changed";
|
|
67
|
+
connection_missing: "connection_missing";
|
|
68
|
+
connection_owner_changed: "connection_owner_changed";
|
|
69
|
+
connection_status_inactive: "connection_status_inactive";
|
|
70
|
+
grant_already_consumed: "grant_already_consumed";
|
|
71
|
+
grant_expired: "grant_expired";
|
|
72
|
+
grant_generation_changed: "grant_generation_changed";
|
|
73
|
+
grant_identity_changed: "grant_identity_changed";
|
|
74
|
+
grant_missing: "grant_missing";
|
|
75
|
+
grant_status_inactive: "grant_status_inactive";
|
|
76
|
+
owner_membership_inactive: "owner_membership_inactive";
|
|
77
|
+
session_authority_epoch_changed: "session_authority_epoch_changed";
|
|
78
|
+
session_identity_changed: "session_identity_changed";
|
|
79
|
+
session_inactive: "session_inactive";
|
|
80
|
+
session_visibility_changed: "session_visibility_changed";
|
|
81
|
+
tenant_mismatch: "tenant_mismatch";
|
|
82
|
+
workspace_access_inactive: "workspace_access_inactive";
|
|
83
|
+
}>;
|
|
84
|
+
export type ConnectionUseDenialReason = z.infer<typeof ConnectionUseDenialReason>;
|
|
85
|
+
/** Metadata-only attribution emitted after pre-use authorization. */
|
|
86
|
+
export declare const ConnectionUseAttribution: z.ZodObject<{
|
|
87
|
+
organizationId: z.ZodString;
|
|
88
|
+
workspaceId: z.ZodString;
|
|
89
|
+
sessionId: z.ZodString;
|
|
90
|
+
connectionId: z.ZodString;
|
|
91
|
+
connectionGeneration: z.ZodNumber;
|
|
92
|
+
ownerSubjectId: z.ZodNullable<z.ZodString>;
|
|
93
|
+
authorityId: z.ZodNullable<z.ZodString>;
|
|
94
|
+
scope: z.ZodEnum<{
|
|
95
|
+
user: "user";
|
|
96
|
+
workspace: "workspace";
|
|
97
|
+
}>;
|
|
98
|
+
grantId: z.ZodNull;
|
|
99
|
+
}, z.core.$strict>;
|
|
100
|
+
export type ConnectionUseAttribution = z.infer<typeof ConnectionUseAttribution>;
|
|
101
|
+
export declare const ConnectionUseAuditFact: z.ZodObject<{
|
|
102
|
+
organizationId: z.ZodString;
|
|
103
|
+
workspaceId: z.ZodString;
|
|
104
|
+
sessionId: z.ZodString;
|
|
105
|
+
connectionId: z.ZodString;
|
|
106
|
+
connectionGeneration: z.ZodNumber;
|
|
107
|
+
scope: z.ZodEnum<{
|
|
108
|
+
legacy_user: "legacy_user";
|
|
109
|
+
user: "user";
|
|
110
|
+
workspace: "workspace";
|
|
111
|
+
}>;
|
|
112
|
+
ownerSubjectId: z.ZodNullable<z.ZodString>;
|
|
113
|
+
authorityId: z.ZodNullable<z.ZodString>;
|
|
114
|
+
grantId: z.ZodNullable<z.ZodString>;
|
|
115
|
+
outcome: z.ZodEnum<{
|
|
116
|
+
authorized: "authorized";
|
|
117
|
+
denied: "denied";
|
|
118
|
+
}>;
|
|
119
|
+
denialReason: z.ZodNullable<z.ZodEnum<{
|
|
120
|
+
accepted_attempt_authority_required: "accepted_attempt_authority_required";
|
|
121
|
+
accepted_snapshot_digest_changed: "accepted_snapshot_digest_changed";
|
|
122
|
+
authority_generation_changed: "authority_generation_changed";
|
|
123
|
+
authority_identity_changed: "authority_identity_changed";
|
|
124
|
+
authority_missing: "authority_missing";
|
|
125
|
+
authority_status_inactive: "authority_status_inactive";
|
|
126
|
+
connection_generation_changed: "connection_generation_changed";
|
|
127
|
+
connection_identity_changed: "connection_identity_changed";
|
|
128
|
+
connection_missing: "connection_missing";
|
|
129
|
+
connection_owner_changed: "connection_owner_changed";
|
|
130
|
+
connection_status_inactive: "connection_status_inactive";
|
|
131
|
+
grant_already_consumed: "grant_already_consumed";
|
|
132
|
+
grant_expired: "grant_expired";
|
|
133
|
+
grant_generation_changed: "grant_generation_changed";
|
|
134
|
+
grant_identity_changed: "grant_identity_changed";
|
|
135
|
+
grant_missing: "grant_missing";
|
|
136
|
+
grant_status_inactive: "grant_status_inactive";
|
|
137
|
+
owner_membership_inactive: "owner_membership_inactive";
|
|
138
|
+
session_authority_epoch_changed: "session_authority_epoch_changed";
|
|
139
|
+
session_identity_changed: "session_identity_changed";
|
|
140
|
+
session_inactive: "session_inactive";
|
|
141
|
+
session_visibility_changed: "session_visibility_changed";
|
|
142
|
+
tenant_mismatch: "tenant_mismatch";
|
|
143
|
+
workspace_access_inactive: "workspace_access_inactive";
|
|
144
|
+
}>>;
|
|
145
|
+
occurredAt: z.ZodString;
|
|
146
|
+
}, z.core.$strict>;
|
|
147
|
+
export type ConnectionUseAuditFact = z.infer<typeof ConnectionUseAuditFact>;
|
|
148
|
+
export declare const ConnectionUseAuthorizationResult: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
149
|
+
status: z.ZodLiteral<"authorized">;
|
|
150
|
+
attribution: z.ZodObject<{
|
|
151
|
+
organizationId: z.ZodString;
|
|
152
|
+
workspaceId: z.ZodString;
|
|
153
|
+
sessionId: z.ZodString;
|
|
154
|
+
connectionId: z.ZodString;
|
|
155
|
+
connectionGeneration: z.ZodNumber;
|
|
156
|
+
ownerSubjectId: z.ZodNullable<z.ZodString>;
|
|
157
|
+
authorityId: z.ZodNullable<z.ZodString>;
|
|
158
|
+
scope: z.ZodEnum<{
|
|
159
|
+
user: "user";
|
|
160
|
+
workspace: "workspace";
|
|
161
|
+
}>;
|
|
162
|
+
grantId: z.ZodNull;
|
|
163
|
+
}, z.core.$strict>;
|
|
164
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
165
|
+
status: z.ZodLiteral<"denied">;
|
|
166
|
+
reason: z.ZodEnum<{
|
|
167
|
+
accepted_attempt_authority_required: "accepted_attempt_authority_required";
|
|
168
|
+
accepted_snapshot_digest_changed: "accepted_snapshot_digest_changed";
|
|
169
|
+
authority_generation_changed: "authority_generation_changed";
|
|
170
|
+
authority_identity_changed: "authority_identity_changed";
|
|
171
|
+
authority_missing: "authority_missing";
|
|
172
|
+
authority_status_inactive: "authority_status_inactive";
|
|
173
|
+
connection_generation_changed: "connection_generation_changed";
|
|
174
|
+
connection_identity_changed: "connection_identity_changed";
|
|
175
|
+
connection_missing: "connection_missing";
|
|
176
|
+
connection_owner_changed: "connection_owner_changed";
|
|
177
|
+
connection_status_inactive: "connection_status_inactive";
|
|
178
|
+
grant_already_consumed: "grant_already_consumed";
|
|
179
|
+
grant_expired: "grant_expired";
|
|
180
|
+
grant_generation_changed: "grant_generation_changed";
|
|
181
|
+
grant_identity_changed: "grant_identity_changed";
|
|
182
|
+
grant_missing: "grant_missing";
|
|
183
|
+
grant_status_inactive: "grant_status_inactive";
|
|
184
|
+
owner_membership_inactive: "owner_membership_inactive";
|
|
185
|
+
session_authority_epoch_changed: "session_authority_epoch_changed";
|
|
186
|
+
session_identity_changed: "session_identity_changed";
|
|
187
|
+
session_inactive: "session_inactive";
|
|
188
|
+
session_visibility_changed: "session_visibility_changed";
|
|
189
|
+
tenant_mismatch: "tenant_mismatch";
|
|
190
|
+
workspace_access_inactive: "workspace_access_inactive";
|
|
191
|
+
}>;
|
|
192
|
+
}, z.core.$strict>], "status">;
|
|
193
|
+
export type ConnectionUseAuthorizationResult = z.infer<typeof ConnectionUseAuthorizationResult>;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ConnectionAuthoritySelectionSource,
|
|
3
|
+
ConnectionUseAttribution,
|
|
4
|
+
ConnectionUseAuditFact,
|
|
5
|
+
ConnectionUseAuthoritySnapshot,
|
|
6
|
+
ConnectionUseAuthorizationResult,
|
|
7
|
+
ConnectionUseDenialReason,
|
|
8
|
+
ConnectionUseSelectionSource
|
|
9
|
+
} from "./chunk-46KLD2UH.js";
|
|
10
|
+
import "./chunk-X7ETVO4P.js";
|
|
11
|
+
import "./chunk-5IXYF6XN.js";
|
|
12
|
+
import "./chunk-NRMCVHAU.js";
|
|
13
|
+
import "./chunk-WYBDERIY.js";
|
|
14
|
+
import "./chunk-4JGHSSB7.js";
|
|
15
|
+
import "./chunk-EK7NDGFR.js";
|
|
16
|
+
import "./chunk-O77VSFYZ.js";
|
|
17
|
+
import "./chunk-NVJMJWLL.js";
|
|
18
|
+
import "./chunk-SIOU2K4U.js";
|
|
19
|
+
import "./chunk-YRKRZ6OF.js";
|
|
20
|
+
import "./chunk-2VORLN2R.js";
|
|
21
|
+
import "./chunk-FZ6BXQHL.js";
|
|
22
|
+
import "./chunk-GRG7PHWQ.js";
|
|
23
|
+
import "./chunk-YRXAWWCU.js";
|
|
24
|
+
import "./chunk-2ACYHZFB.js";
|
|
25
|
+
import "./chunk-KHHZTBP7.js";
|
|
26
|
+
import "./chunk-YBW5JSA3.js";
|
|
27
|
+
import "./chunk-RJ76DRPO.js";
|
|
28
|
+
import "./chunk-QR5D2IQC.js";
|
|
29
|
+
import "./chunk-3SIZGL3O.js";
|
|
30
|
+
import "./chunk-RIY7GYQS.js";
|
|
31
|
+
import "./chunk-JUFK3T4Q.js";
|
|
32
|
+
import "./chunk-TSCDAGET.js";
|
|
33
|
+
import "./chunk-BCS7WHCK.js";
|
|
34
|
+
import "./chunk-D2HKF2EF.js";
|
|
35
|
+
import "./chunk-MYBZRDTY.js";
|
|
36
|
+
import "./chunk-MZLBPKFE.js";
|
|
37
|
+
import "./chunk-RKX3NQYS.js";
|
|
38
|
+
import "./chunk-Y3KNXVTD.js";
|
|
39
|
+
import "./chunk-TXTQIYCV.js";
|
|
40
|
+
import "./chunk-PX3VCKAU.js";
|
|
41
|
+
export {
|
|
42
|
+
ConnectionAuthoritySelectionSource,
|
|
43
|
+
ConnectionUseAttribution,
|
|
44
|
+
ConnectionUseAuditFact,
|
|
45
|
+
ConnectionUseAuthoritySnapshot,
|
|
46
|
+
ConnectionUseAuthorizationResult,
|
|
47
|
+
ConnectionUseDenialReason,
|
|
48
|
+
ConnectionUseSelectionSource
|
|
49
|
+
};
|
|
50
|
+
//# sourceMappingURL=connection-authority.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const CONNECTOR_ATTACHMENT_TRANSFER_VERSION: 1;
|
|
3
|
+
export declare const CONNECTOR_ATTACHMENT_RECEIPT_VERSION: 1;
|
|
4
|
+
export declare const CONNECTOR_ATTACHMENT_TRANSFER_META_KEY: "opengeni/connector-attachment-transfers";
|
|
5
|
+
export declare const CONNECTOR_ATTACHMENT_RECEIPT_META_KEY: "opengeni/connector-attachment-receipts";
|
|
6
|
+
export declare const CONNECTOR_ATTACHMENT_MAX_COUNT = 16;
|
|
7
|
+
export declare const CONNECTOR_ATTACHMENT_MAX_BYTES = 5000000000;
|
|
8
|
+
export declare const CONNECTOR_ATTACHMENT_FILENAME_MAX_UTF8_BYTES = 255;
|
|
9
|
+
export declare const CONNECTOR_ATTACHMENT_MEDIA_TYPE_MAX_UTF8_BYTES = 256;
|
|
10
|
+
export declare const CONNECTOR_ATTACHMENT_PROVIDER_MAX_UTF8_BYTES = 128;
|
|
11
|
+
export declare const CONNECTOR_ATTACHMENT_PROVIDER_ID_MAX_UTF8_BYTES = 512;
|
|
12
|
+
export declare const CONNECTOR_ATTACHMENT_SOURCE_URL_MAX_UTF8_BYTES: number;
|
|
13
|
+
export declare const CONNECTOR_ATTACHMENT_SANDBOX_PATH_MAX_UTF8_BYTES: number;
|
|
14
|
+
export declare const ConnectorAttachmentProviderIdentity: z.ZodObject<{
|
|
15
|
+
provider: z.ZodString;
|
|
16
|
+
kind: z.ZodLiteral<"attachment">;
|
|
17
|
+
value: z.ZodString;
|
|
18
|
+
}, z.core.$strict>;
|
|
19
|
+
export type ConnectorAttachmentProviderIdentity = z.infer<typeof ConnectorAttachmentProviderIdentity>;
|
|
20
|
+
export declare const ConnectorAttachmentFileName: z.ZodString;
|
|
21
|
+
export declare const ConnectorAttachmentMediaType: z.ZodString;
|
|
22
|
+
export declare const ConnectorAttachmentSha256: z.ZodString;
|
|
23
|
+
export declare const ConnectorAttachmentPrivateSource: z.ZodObject<{
|
|
24
|
+
url: z.ZodString;
|
|
25
|
+
expiresAt: z.ZodISODateTime;
|
|
26
|
+
}, z.core.$strict>;
|
|
27
|
+
export type ConnectorAttachmentPrivateSource = z.infer<typeof ConnectorAttachmentPrivateSource>;
|
|
28
|
+
export declare const ConnectorAttachmentTransfer: z.ZodObject<{
|
|
29
|
+
providerAttachmentId: z.ZodObject<{
|
|
30
|
+
provider: z.ZodString;
|
|
31
|
+
kind: z.ZodLiteral<"attachment">;
|
|
32
|
+
value: z.ZodString;
|
|
33
|
+
}, z.core.$strict>;
|
|
34
|
+
fileName: z.ZodString;
|
|
35
|
+
mediaType: z.ZodString;
|
|
36
|
+
byteSize: z.ZodNumber;
|
|
37
|
+
contentSha256: z.ZodString;
|
|
38
|
+
source: z.ZodObject<{
|
|
39
|
+
url: z.ZodString;
|
|
40
|
+
expiresAt: z.ZodISODateTime;
|
|
41
|
+
}, z.core.$strict>;
|
|
42
|
+
}, z.core.$strict>;
|
|
43
|
+
export type ConnectorAttachmentTransfer = z.infer<typeof ConnectorAttachmentTransfer>;
|
|
44
|
+
export declare const ConnectorAttachmentTransferEnvelope: z.ZodObject<{
|
|
45
|
+
version: z.ZodLiteral<1>;
|
|
46
|
+
attachments: z.ZodArray<z.ZodObject<{
|
|
47
|
+
providerAttachmentId: z.ZodObject<{
|
|
48
|
+
provider: z.ZodString;
|
|
49
|
+
kind: z.ZodLiteral<"attachment">;
|
|
50
|
+
value: z.ZodString;
|
|
51
|
+
}, z.core.$strict>;
|
|
52
|
+
fileName: z.ZodString;
|
|
53
|
+
mediaType: z.ZodString;
|
|
54
|
+
byteSize: z.ZodNumber;
|
|
55
|
+
contentSha256: z.ZodString;
|
|
56
|
+
source: z.ZodObject<{
|
|
57
|
+
url: z.ZodString;
|
|
58
|
+
expiresAt: z.ZodISODateTime;
|
|
59
|
+
}, z.core.$strict>;
|
|
60
|
+
}, z.core.$strict>>;
|
|
61
|
+
}, z.core.$strict>;
|
|
62
|
+
export type ConnectorAttachmentTransferEnvelope = z.infer<typeof ConnectorAttachmentTransferEnvelope>;
|
|
63
|
+
export declare const ConnectorAttachmentSandboxPath: z.ZodString;
|
|
64
|
+
export declare const ConnectorAttachmentReceipt: z.ZodObject<{
|
|
65
|
+
providerAttachmentId: z.ZodObject<{
|
|
66
|
+
provider: z.ZodString;
|
|
67
|
+
kind: z.ZodLiteral<"attachment">;
|
|
68
|
+
value: z.ZodString;
|
|
69
|
+
}, z.core.$strict>;
|
|
70
|
+
fileName: z.ZodString;
|
|
71
|
+
mediaType: z.ZodString;
|
|
72
|
+
byteSize: z.ZodNumber;
|
|
73
|
+
contentSha256: z.ZodString;
|
|
74
|
+
sandboxPath: z.ZodString;
|
|
75
|
+
}, z.core.$strict>;
|
|
76
|
+
export type ConnectorAttachmentReceipt = z.infer<typeof ConnectorAttachmentReceipt>;
|
|
77
|
+
export declare const ConnectorAttachmentReceiptEnvelope: z.ZodObject<{
|
|
78
|
+
version: z.ZodLiteral<1>;
|
|
79
|
+
attachments: z.ZodArray<z.ZodObject<{
|
|
80
|
+
providerAttachmentId: z.ZodObject<{
|
|
81
|
+
provider: z.ZodString;
|
|
82
|
+
kind: z.ZodLiteral<"attachment">;
|
|
83
|
+
value: z.ZodString;
|
|
84
|
+
}, z.core.$strict>;
|
|
85
|
+
fileName: z.ZodString;
|
|
86
|
+
mediaType: z.ZodString;
|
|
87
|
+
byteSize: z.ZodNumber;
|
|
88
|
+
contentSha256: z.ZodString;
|
|
89
|
+
sandboxPath: z.ZodString;
|
|
90
|
+
}, z.core.$strict>>;
|
|
91
|
+
}, z.core.$strict>;
|
|
92
|
+
export type ConnectorAttachmentReceiptEnvelope = z.infer<typeof ConnectorAttachmentReceiptEnvelope>;
|
|
93
|
+
export declare function parseConnectorAttachmentTransferEnvelope(value: unknown, options?: {
|
|
94
|
+
nowMs?: number;
|
|
95
|
+
}): ConnectorAttachmentTransferEnvelope;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import {
|
|
2
|
+
CONNECTOR_ATTACHMENT_FILENAME_MAX_UTF8_BYTES,
|
|
3
|
+
CONNECTOR_ATTACHMENT_MAX_BYTES,
|
|
4
|
+
CONNECTOR_ATTACHMENT_MAX_COUNT,
|
|
5
|
+
CONNECTOR_ATTACHMENT_MEDIA_TYPE_MAX_UTF8_BYTES,
|
|
6
|
+
CONNECTOR_ATTACHMENT_PROVIDER_ID_MAX_UTF8_BYTES,
|
|
7
|
+
CONNECTOR_ATTACHMENT_PROVIDER_MAX_UTF8_BYTES,
|
|
8
|
+
CONNECTOR_ATTACHMENT_RECEIPT_META_KEY,
|
|
9
|
+
CONNECTOR_ATTACHMENT_RECEIPT_VERSION,
|
|
10
|
+
CONNECTOR_ATTACHMENT_SANDBOX_PATH_MAX_UTF8_BYTES,
|
|
11
|
+
CONNECTOR_ATTACHMENT_SOURCE_URL_MAX_UTF8_BYTES,
|
|
12
|
+
CONNECTOR_ATTACHMENT_TRANSFER_META_KEY,
|
|
13
|
+
CONNECTOR_ATTACHMENT_TRANSFER_VERSION,
|
|
14
|
+
ConnectorAttachmentFileName,
|
|
15
|
+
ConnectorAttachmentMediaType,
|
|
16
|
+
ConnectorAttachmentPrivateSource,
|
|
17
|
+
ConnectorAttachmentProviderIdentity,
|
|
18
|
+
ConnectorAttachmentReceipt,
|
|
19
|
+
ConnectorAttachmentReceiptEnvelope,
|
|
20
|
+
ConnectorAttachmentSandboxPath,
|
|
21
|
+
ConnectorAttachmentSha256,
|
|
22
|
+
ConnectorAttachmentTransfer,
|
|
23
|
+
ConnectorAttachmentTransferEnvelope,
|
|
24
|
+
parseConnectorAttachmentTransferEnvelope
|
|
25
|
+
} from "./chunk-YBW5JSA3.js";
|
|
26
|
+
export {
|
|
27
|
+
CONNECTOR_ATTACHMENT_FILENAME_MAX_UTF8_BYTES,
|
|
28
|
+
CONNECTOR_ATTACHMENT_MAX_BYTES,
|
|
29
|
+
CONNECTOR_ATTACHMENT_MAX_COUNT,
|
|
30
|
+
CONNECTOR_ATTACHMENT_MEDIA_TYPE_MAX_UTF8_BYTES,
|
|
31
|
+
CONNECTOR_ATTACHMENT_PROVIDER_ID_MAX_UTF8_BYTES,
|
|
32
|
+
CONNECTOR_ATTACHMENT_PROVIDER_MAX_UTF8_BYTES,
|
|
33
|
+
CONNECTOR_ATTACHMENT_RECEIPT_META_KEY,
|
|
34
|
+
CONNECTOR_ATTACHMENT_RECEIPT_VERSION,
|
|
35
|
+
CONNECTOR_ATTACHMENT_SANDBOX_PATH_MAX_UTF8_BYTES,
|
|
36
|
+
CONNECTOR_ATTACHMENT_SOURCE_URL_MAX_UTF8_BYTES,
|
|
37
|
+
CONNECTOR_ATTACHMENT_TRANSFER_META_KEY,
|
|
38
|
+
CONNECTOR_ATTACHMENT_TRANSFER_VERSION,
|
|
39
|
+
ConnectorAttachmentFileName,
|
|
40
|
+
ConnectorAttachmentMediaType,
|
|
41
|
+
ConnectorAttachmentPrivateSource,
|
|
42
|
+
ConnectorAttachmentProviderIdentity,
|
|
43
|
+
ConnectorAttachmentReceipt,
|
|
44
|
+
ConnectorAttachmentReceiptEnvelope,
|
|
45
|
+
ConnectorAttachmentSandboxPath,
|
|
46
|
+
ConnectorAttachmentSha256,
|
|
47
|
+
ConnectorAttachmentTransfer,
|
|
48
|
+
ConnectorAttachmentTransferEnvelope,
|
|
49
|
+
parseConnectorAttachmentTransferEnvelope
|
|
50
|
+
};
|
|
51
|
+
//# sourceMappingURL=connector-attachments.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const ConnectorToolPermission: z.ZodEnum<{
|
|
3
|
+
allow: "allow";
|
|
4
|
+
ask: "ask";
|
|
5
|
+
block: "block";
|
|
6
|
+
}>;
|
|
7
|
+
export type ConnectorToolPermission = z.infer<typeof ConnectorToolPermission>;
|
|
8
|
+
export declare const ConnectorToolPermissionEntry: z.ZodObject<{
|
|
9
|
+
name: z.ZodString;
|
|
10
|
+
title: z.ZodOptional<z.ZodString>;
|
|
11
|
+
description: z.ZodOptional<z.ZodString>;
|
|
12
|
+
group: z.ZodEnum<{
|
|
13
|
+
other: "other";
|
|
14
|
+
read: "read";
|
|
15
|
+
write: "write";
|
|
16
|
+
}>;
|
|
17
|
+
permission: z.ZodEnum<{
|
|
18
|
+
allow: "allow";
|
|
19
|
+
ask: "ask";
|
|
20
|
+
block: "block";
|
|
21
|
+
}>;
|
|
22
|
+
inherited: z.ZodBoolean;
|
|
23
|
+
approvalRequired: z.ZodBoolean;
|
|
24
|
+
}, z.core.$strip>;
|
|
25
|
+
export type ConnectorToolPermissionEntry = z.infer<typeof ConnectorToolPermissionEntry>;
|
|
26
|
+
export declare const ConnectorToolPermissionsResponse: z.ZodObject<{
|
|
27
|
+
connectionId: z.ZodString;
|
|
28
|
+
serverId: z.ZodString;
|
|
29
|
+
defaultPermission: z.ZodNullable<z.ZodEnum<{
|
|
30
|
+
allow: "allow";
|
|
31
|
+
ask: "ask";
|
|
32
|
+
block: "block";
|
|
33
|
+
}>>;
|
|
34
|
+
tools: z.ZodArray<z.ZodObject<{
|
|
35
|
+
name: z.ZodString;
|
|
36
|
+
title: z.ZodOptional<z.ZodString>;
|
|
37
|
+
description: z.ZodOptional<z.ZodString>;
|
|
38
|
+
group: z.ZodEnum<{
|
|
39
|
+
other: "other";
|
|
40
|
+
read: "read";
|
|
41
|
+
write: "write";
|
|
42
|
+
}>;
|
|
43
|
+
permission: z.ZodEnum<{
|
|
44
|
+
allow: "allow";
|
|
45
|
+
ask: "ask";
|
|
46
|
+
block: "block";
|
|
47
|
+
}>;
|
|
48
|
+
inherited: z.ZodBoolean;
|
|
49
|
+
approvalRequired: z.ZodBoolean;
|
|
50
|
+
}, z.core.$strip>>;
|
|
51
|
+
discoveryError: z.ZodNullable<z.ZodString>;
|
|
52
|
+
canManage: z.ZodBoolean;
|
|
53
|
+
}, z.core.$strip>;
|
|
54
|
+
export type ConnectorToolPermissionsResponse = z.infer<typeof ConnectorToolPermissionsResponse>;
|
|
55
|
+
export declare const UpdateConnectorToolPermissionsRequest: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
56
|
+
connectionId: z.ZodString;
|
|
57
|
+
target: z.ZodLiteral<"default">;
|
|
58
|
+
permission: z.ZodEnum<{
|
|
59
|
+
allow: "allow";
|
|
60
|
+
ask: "ask";
|
|
61
|
+
block: "block";
|
|
62
|
+
}>;
|
|
63
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
64
|
+
connectionId: z.ZodString;
|
|
65
|
+
target: z.ZodLiteral<"tools">;
|
|
66
|
+
toolNames: z.ZodArray<z.ZodString>;
|
|
67
|
+
permission: z.ZodEnum<{
|
|
68
|
+
allow: "allow";
|
|
69
|
+
ask: "ask";
|
|
70
|
+
block: "block";
|
|
71
|
+
}>;
|
|
72
|
+
}, z.core.$strict>], "target">;
|
|
73
|
+
export type UpdateConnectorToolPermissionsRequest = z.infer<typeof UpdateConnectorToolPermissionsRequest>;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const DirectModelProvider: z.ZodEnum<{
|
|
3
|
+
azure_openai: "azure_openai";
|
|
4
|
+
openai: "openai";
|
|
5
|
+
}>;
|
|
6
|
+
export type DirectModelProvider = z.infer<typeof DirectModelProvider>;
|
|
7
|
+
/** Pin customer credentials to official provider origins, never arbitrary URLs. */
|
|
8
|
+
export declare const AzureOpenAIEndpoint: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
9
|
+
export declare const DirectModelProviderMetadata: z.ZodObject<{
|
|
10
|
+
provider: z.ZodEnum<{
|
|
11
|
+
azure_openai: "azure_openai";
|
|
12
|
+
openai: "openai";
|
|
13
|
+
}>;
|
|
14
|
+
model: z.ZodString;
|
|
15
|
+
endpoint: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
16
|
+
}, z.core.$strict>;
|
|
17
|
+
export type DirectModelProviderMetadata = z.infer<typeof DirectModelProviderMetadata>;
|
|
18
|
+
export declare function directModelConnectionSpec(connection: {
|
|
19
|
+
id: string;
|
|
20
|
+
version: number;
|
|
21
|
+
subjectId: string | null;
|
|
22
|
+
kind: string;
|
|
23
|
+
status: string;
|
|
24
|
+
providerDomain: string;
|
|
25
|
+
metadata: Record<string, unknown>;
|
|
26
|
+
}): {
|
|
27
|
+
provider: "azure_openai" | "openai";
|
|
28
|
+
model: string;
|
|
29
|
+
endpoint?: string | undefined;
|
|
30
|
+
baseUrl: string;
|
|
31
|
+
providerId: string;
|
|
32
|
+
modelId: string;
|
|
33
|
+
connectionId: string;
|
|
34
|
+
version: number;
|
|
35
|
+
} | null;
|
|
36
|
+
export declare function isDirectModelId(modelId: string): boolean;
|
|
@@ -1,14 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
export { EDITABLE_ARTIFACT_MODEL_SCHEMA_VERSION, EDITABLE_ARTIFACT_SNAPSHOT_VERSION, } from "./editable-artifact-versions.js";
|
|
1
|
+
export { DOCUMENT_ARTIFACT_MODEL_SCHEMA_VERSION, DOCUMENT_ARTIFACT_SNAPSHOT_VERSION, PRESENTATION_ARTIFACT_MODEL_SCHEMA_VERSION, PRESENTATION_ARTIFACT_SNAPSHOT_VERSION, SPREADSHEET_COLLABORATION_SNAPSHOT_VERSION, SPREADSHEET_ARTIFACT_MODEL_SCHEMA_VERSION, } from "./editable-artifact-versions.js";
|
|
3
2
|
export type EditableArtifactModality = "spreadsheet" | "document" | "presentation";
|
|
4
3
|
export type EditableArtifactConcurrencySemantics = "causal-crdt-v1" | "authoritative-serialized-stale-base-v1";
|
|
4
|
+
export type CurrentEditableArtifactCompatibility = Readonly<{
|
|
5
|
+
modality: EditableArtifactModality;
|
|
6
|
+
liveProtocolVersion: number;
|
|
7
|
+
modelSchemaVersion: number;
|
|
8
|
+
snapshotVersion: number;
|
|
9
|
+
commandProtocolVersion: number;
|
|
10
|
+
committedTransactionProtocolVersion: number;
|
|
11
|
+
}>;
|
|
5
12
|
export type EditableArtifactCodecDescriptor = Readonly<{
|
|
6
13
|
modality: EditableArtifactModality;
|
|
7
|
-
modelSchemaVersion:
|
|
8
|
-
snapshotVersion:
|
|
14
|
+
modelSchemaVersion: 1 | 2;
|
|
15
|
+
snapshotVersion: 1 | 2;
|
|
9
16
|
command: Readonly<{
|
|
10
|
-
magic: "
|
|
11
|
-
version: 1;
|
|
17
|
+
magic: "OGASC002" | "OGADC001" | "OGAPC001";
|
|
18
|
+
version: 1 | 2;
|
|
12
19
|
maximumBytes: number;
|
|
13
20
|
maximumCommands: number;
|
|
14
21
|
encode: (value: unknown) => Uint8Array;
|
|
@@ -31,11 +38,13 @@ export type EditableArtifactCodecDescriptor = Readonly<{
|
|
|
31
38
|
}>;
|
|
32
39
|
concurrency: Readonly<{
|
|
33
40
|
semantics: EditableArtifactConcurrencySemantics;
|
|
34
|
-
collaborationEnvelope: "
|
|
41
|
+
collaborationEnvelope: "OGACO002" | null;
|
|
35
42
|
staleBaseMustBeRejected: boolean;
|
|
36
43
|
}>;
|
|
37
44
|
}>;
|
|
38
45
|
export declare const EDITABLE_ARTIFACT_CODEC_REGISTRY: Readonly<Record<EditableArtifactModality, EditableArtifactCodecDescriptor>>;
|
|
46
|
+
/** One exact current compatibility tuple per durable modality. */
|
|
47
|
+
export declare function currentEditableArtifactCompatibility(modality: EditableArtifactModality): CurrentEditableArtifactCompatibility;
|
|
39
48
|
/**
|
|
40
49
|
* Selects solely from the durable artifact modality plus persisted versions.
|
|
41
50
|
* Modality intentionally never enters OGATX001: the durable artifact row is
|
|
@@ -1,20 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
EDITABLE_ARTIFACT_CODEC_REGISTRY,
|
|
3
|
+
currentEditableArtifactCompatibility,
|
|
3
4
|
editableArtifactCodecFor
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-CADSX6UN.js";
|
|
5
|
+
} from "./chunk-SIOU2K4U.js";
|
|
6
6
|
import "./chunk-RIY7GYQS.js";
|
|
7
|
-
import {
|
|
8
|
-
EDITABLE_ARTIFACT_MODEL_SCHEMA_VERSION,
|
|
9
|
-
EDITABLE_ARTIFACT_SNAPSHOT_VERSION
|
|
10
|
-
} from "./chunk-BVGIYW7D.js";
|
|
11
7
|
import "./chunk-D2HKF2EF.js";
|
|
12
8
|
import "./chunk-MYBZRDTY.js";
|
|
13
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-Y3KNXVTD.js";
|
|
10
|
+
import "./chunk-TXTQIYCV.js";
|
|
11
|
+
import {
|
|
12
|
+
DOCUMENT_ARTIFACT_MODEL_SCHEMA_VERSION,
|
|
13
|
+
DOCUMENT_ARTIFACT_SNAPSHOT_VERSION,
|
|
14
|
+
PRESENTATION_ARTIFACT_MODEL_SCHEMA_VERSION,
|
|
15
|
+
PRESENTATION_ARTIFACT_SNAPSHOT_VERSION,
|
|
16
|
+
SPREADSHEET_ARTIFACT_MODEL_SCHEMA_VERSION,
|
|
17
|
+
SPREADSHEET_COLLABORATION_SNAPSHOT_VERSION
|
|
18
|
+
} from "./chunk-PX3VCKAU.js";
|
|
14
19
|
export {
|
|
20
|
+
DOCUMENT_ARTIFACT_MODEL_SCHEMA_VERSION,
|
|
21
|
+
DOCUMENT_ARTIFACT_SNAPSHOT_VERSION,
|
|
15
22
|
EDITABLE_ARTIFACT_CODEC_REGISTRY,
|
|
16
|
-
|
|
17
|
-
|
|
23
|
+
PRESENTATION_ARTIFACT_MODEL_SCHEMA_VERSION,
|
|
24
|
+
PRESENTATION_ARTIFACT_SNAPSHOT_VERSION,
|
|
25
|
+
SPREADSHEET_ARTIFACT_MODEL_SCHEMA_VERSION,
|
|
26
|
+
SPREADSHEET_COLLABORATION_SNAPSHOT_VERSION,
|
|
27
|
+
currentEditableArtifactCompatibility,
|
|
18
28
|
editableArtifactCodecFor
|
|
19
29
|
};
|
|
20
30
|
//# sourceMappingURL=editable-artifact-codec-registry.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Strict, allocation-bounded inspection of canonical
|
|
2
|
+
* Strict, allocation-bounded inspection of canonical OGACO002 transactions.
|
|
3
3
|
*
|
|
4
4
|
* The Rust kernel remains the authority for applying operations. This decoder
|
|
5
5
|
* validates the complete envelope and every typed operation so metadata after
|
|
@@ -27,7 +27,7 @@ export type CommittedTransactionSummary = Readonly<{
|
|
|
27
27
|
stateHash: string;
|
|
28
28
|
}>;
|
|
29
29
|
/**
|
|
30
|
-
* Decodes only the metadata of one exact canonical
|
|
30
|
+
* Decodes only the metadata of one exact canonical OGACO002 byte envelope.
|
|
31
31
|
*
|
|
32
32
|
* This function is synchronous and never mutates or retains `bytes`. The
|
|
33
33
|
* caller remains the owner of the exact canonical envelope.
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
MAX_COMMITTED_TRANSACTION_CELLS,
|
|
5
5
|
MAX_COMMITTED_TRANSACTION_OPERATIONS,
|
|
6
6
|
decodeCommittedTransactionSummary
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-3SIZGL3O.js";
|
|
8
8
|
import {
|
|
9
9
|
COMMITTED_TRANSACTION_PROTOCOL_VERSION
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-PX3VCKAU.js";
|
|
11
11
|
export {
|
|
12
12
|
COMMITTED_TRANSACTION_PROTOCOL_VERSION,
|
|
13
13
|
MAX_COMMITTED_TRANSACTION_BYTES,
|