@opengeni/contracts 5.5.0 → 5.5.2-canary.40656248492001
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 +9 -9
- package/dist/agent-config.d.ts +148 -37
- package/dist/api-key-presets.d.ts +19 -0
- package/dist/app-action-catalog-types.d.ts +32 -0
- package/dist/app-action-catalog.gen.d.ts +2 -0
- package/dist/app-actions.d.ts +91 -0
- package/dist/app-actions.js +10130 -0
- package/dist/app-actions.js.map +1 -0
- package/dist/app-shot.d.ts +55 -0
- package/dist/artifact-catalog.d.ts +33 -0
- package/dist/artifacts.d.ts +166 -0
- 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.js +48 -23
- package/dist/automation-templates.d.ts +434 -0
- package/dist/automation-templates.js +31 -0
- package/dist/automation-templates.js.map +1 -0
- package/dist/billing-subscriptions.d.ts +61 -0
- package/dist/bots.d.ts +583 -0
- package/dist/bundled-skills.d.ts +58 -2
- package/dist/canonical-human-identities.js +3 -1
- package/dist/child-lifecycle-notice-protocol.d.ts +45 -0
- package/dist/chunk-2QKIEAGY.js +396 -0
- package/dist/chunk-2QKIEAGY.js.map +1 -0
- package/dist/chunk-2WOWEWXV.js +426 -0
- package/dist/chunk-2WOWEWXV.js.map +1 -0
- package/dist/chunk-2ZIHHL72.js +153 -0
- package/dist/chunk-2ZIHHL72.js.map +1 -0
- package/dist/chunk-32U6NKQQ.js +389 -0
- package/dist/chunk-32U6NKQQ.js.map +1 -0
- package/dist/chunk-4YDDHSO2.js +799 -0
- package/dist/chunk-4YDDHSO2.js.map +1 -0
- package/dist/chunk-56SNIMDO.js +9 -0
- package/dist/chunk-56SNIMDO.js.map +1 -0
- package/dist/chunk-5RWB6QVL.js +101 -0
- package/dist/chunk-5RWB6QVL.js.map +1 -0
- package/dist/chunk-5UGUOT3L.js +243 -0
- package/dist/chunk-5UGUOT3L.js.map +1 -0
- package/dist/chunk-6LAT33BH.js +130 -0
- package/dist/chunk-6LAT33BH.js.map +1 -0
- package/dist/chunk-7272KVWZ.js +60 -0
- package/dist/chunk-7272KVWZ.js.map +1 -0
- package/dist/chunk-72QC2GTL.js +36 -0
- package/dist/chunk-72QC2GTL.js.map +1 -0
- package/dist/chunk-7EQGGZBY.js +105 -0
- package/dist/chunk-7EQGGZBY.js.map +1 -0
- package/dist/chunk-A3LXWVYU.js +382 -0
- package/dist/chunk-A3LXWVYU.js.map +1 -0
- package/dist/chunk-AQYDZUJV.js +34 -0
- package/dist/chunk-AQYDZUJV.js.map +1 -0
- package/dist/chunk-BHCEVVUP.js +93 -0
- package/dist/chunk-BHCEVVUP.js.map +1 -0
- package/dist/chunk-BMUTAZX5.js +486 -0
- package/dist/chunk-BMUTAZX5.js.map +1 -0
- package/dist/chunk-DGG6IBBK.js +150 -0
- package/dist/chunk-DGG6IBBK.js.map +1 -0
- package/dist/{chunk-YBW5JSA3.js → chunk-FBCTUMHI.js} +123 -102
- package/dist/chunk-FBCTUMHI.js.map +1 -0
- package/dist/chunk-G2KJTFIC.js +97 -0
- package/dist/chunk-G2KJTFIC.js.map +1 -0
- package/dist/chunk-G4RKARXZ.js +1167 -0
- package/dist/chunk-G4RKARXZ.js.map +1 -0
- package/dist/chunk-H6UJJIUM.js +350 -0
- package/dist/chunk-H6UJJIUM.js.map +1 -0
- package/dist/chunk-JOTHDW4H.js +18 -0
- package/dist/chunk-JOTHDW4H.js.map +1 -0
- package/dist/chunk-L4GUEP7K.js +56480 -0
- package/dist/chunk-L4GUEP7K.js.map +1 -0
- package/dist/{chunk-SIOU2K4U.js → chunk-LJH2EYGT.js} +23 -23
- package/dist/chunk-MTJKSIGA.js +161 -0
- package/dist/chunk-MTJKSIGA.js.map +1 -0
- package/dist/chunk-MYHMB6GZ.js +202 -0
- package/dist/chunk-MYHMB6GZ.js.map +1 -0
- package/dist/chunk-PI5VIKJY.js +660 -0
- package/dist/chunk-PI5VIKJY.js.map +1 -0
- package/dist/{chunk-RIY7GYQS.js → chunk-PTSROVDG.js} +2 -2
- package/dist/chunk-PUIUXIOL.js +189 -0
- package/dist/chunk-PUIUXIOL.js.map +1 -0
- package/dist/chunk-R6VXJIMB.js +19 -0
- package/dist/chunk-R6VXJIMB.js.map +1 -0
- package/dist/chunk-RLJUNVAM.js +15 -0
- package/dist/chunk-RLJUNVAM.js.map +1 -0
- package/dist/chunk-RR6APCBK.js +213 -0
- package/dist/chunk-RR6APCBK.js.map +1 -0
- package/dist/{chunk-TXTQIYCV.js → chunk-RUQ4I6DO.js} +59 -13
- package/dist/chunk-RUQ4I6DO.js.map +1 -0
- package/dist/{chunk-WYBDERIY.js → chunk-RWEEUDHD.js} +53 -42
- package/dist/chunk-RWEEUDHD.js.map +1 -0
- package/dist/chunk-S7MSQQL6.js +158 -0
- package/dist/chunk-S7MSQQL6.js.map +1 -0
- package/dist/{chunk-5Q54VCCH.js → chunk-SHO4YO4B.js} +20 -36
- package/dist/chunk-SHO4YO4B.js.map +1 -0
- package/dist/{chunk-HHZSZYYF.js → chunk-T3HSWMA5.js} +20 -4
- package/dist/chunk-T3HSWMA5.js.map +1 -0
- package/dist/{chunk-YRKRZ6OF.js → chunk-TOOJIBJC.js} +2 -2
- package/dist/chunk-UCUOTRS6.js +431 -0
- package/dist/chunk-UCUOTRS6.js.map +1 -0
- package/dist/chunk-UH4K7GP7.js +424 -0
- package/dist/chunk-UH4K7GP7.js.map +1 -0
- package/dist/chunk-UIZWGPHV.js +120 -0
- package/dist/chunk-UIZWGPHV.js.map +1 -0
- package/dist/chunk-VLUKBV6Y.js +1170 -0
- package/dist/chunk-VLUKBV6Y.js.map +1 -0
- package/dist/chunk-W2QQ5Y6K.js +55 -0
- package/dist/chunk-W2QQ5Y6K.js.map +1 -0
- package/dist/{chunk-Y3KNXVTD.js → chunk-W3NBPR4E.js} +131 -31
- package/dist/chunk-W3NBPR4E.js.map +1 -0
- package/dist/{chunk-NRMCVHAU.js → chunk-WMGO4HJU.js} +11 -9
- package/dist/chunk-WMGO4HJU.js.map +1 -0
- package/dist/{chunk-MYBZRDTY.js → chunk-WQI7VNN4.js} +19 -9
- package/dist/chunk-WQI7VNN4.js.map +1 -0
- package/dist/{chunk-PX3VCKAU.js → chunk-WVCFSOUZ.js} +1 -1
- package/dist/{chunk-PX3VCKAU.js.map → chunk-WVCFSOUZ.js.map} +1 -1
- package/dist/chunk-XB6GQLBH.js +76 -0
- package/dist/chunk-XB6GQLBH.js.map +1 -0
- package/dist/{chunk-D2HKF2EF.js → chunk-XP5M3IKT.js} +2 -2
- package/dist/{chunk-O77VSFYZ.js → chunk-ZMPU5BWE.js} +12 -2
- package/dist/chunk-ZMPU5BWE.js.map +1 -0
- package/dist/{chunk-3SIZGL3O.js → chunk-ZYVEJFNU.js} +22 -18
- package/dist/chunk-ZYVEJFNU.js.map +1 -0
- package/dist/claude-provider-account-authority.d.ts +18 -0
- package/dist/claude-subscription-oauth.d.ts +25 -0
- package/dist/claude-subscription-usage.d.ts +95 -1
- package/dist/client-error-report.d.ts +154 -8
- package/dist/client-error-report.js +157 -2
- package/dist/client-error-report.js.map +1 -1
- package/dist/code-search.d.ts +1 -1
- package/dist/code-search.js.map +1 -1
- package/dist/codex-provider-account-authority.js +23 -12
- package/dist/codex-provider-account-authority.js.map +1 -1
- package/dist/company-profile.d.ts +144 -0
- package/dist/connect.d.ts +38 -0
- package/dist/connect.js +244 -164
- package/dist/connect.js.map +1 -1
- package/dist/connection-account-label.d.ts +2 -0
- package/dist/connection-account-label.js +34 -0
- package/dist/connection-account-label.js.map +1 -0
- package/dist/connection-authority.js +49 -24
- package/dist/connector-attachments.js +3 -1
- package/dist/connector-destinations.js +3 -1
- package/dist/connector-tool-permissions.d.ts +68 -4
- package/dist/credential-profiles.d.ts +166 -0
- package/dist/cua-desktop-tools.d.ts +19 -0
- package/dist/define-schema.d.ts +8 -0
- package/dist/desktop-app.d.ts +28 -0
- package/dist/direct-model-provider.d.ts +38 -0
- package/dist/document-artifact-commands.js +2 -2
- package/dist/document-artifact-query.js +2 -2
- package/dist/editable-artifact-binary.d.ts +7 -0
- package/dist/editable-artifact-causal-frontier.js +2 -2
- package/dist/editable-artifact-codec-registry.js +7 -7
- package/dist/editable-artifact-committed-transaction.js +4 -2
- package/dist/editable-artifact-live.js +8 -8
- package/dist/editable-artifact-serialized-commit.js +9 -9
- package/dist/editable-artifact-versions.d.ts +7 -1
- package/dist/editable-artifact-versions.js +1 -1
- package/dist/editable-artifacts.js +49 -43
- package/dist/event-preview.d.ts +22 -0
- package/dist/event-triggers.d.ts +1253 -0
- package/dist/event-triggers.js +148 -0
- package/dist/event-triggers.js.map +1 -0
- package/dist/external-identities.d.ts +34 -0
- package/dist/external-identities.js +4 -2
- package/dist/feedback.d.ts +181 -0
- package/dist/file-access.d.ts +23 -0
- package/dist/first-party-tool-authorization.d.ts +852 -0
- package/dist/github-repository-contracts.js +64 -43
- package/dist/github-repository-contracts.js.map +1 -1
- package/dist/google-drive-native-retirement.d.ts +12 -0
- package/dist/google-drive-native-retirement.js +20 -0
- package/dist/google-drive-native-retirement.js.map +1 -0
- package/dist/google-drive.d.ts +1 -1
- package/dist/google-drive.js +323 -239
- package/dist/google-drive.js.map +1 -1
- package/dist/host-mcp-bindings.js +250 -198
- package/dist/host-mcp-bindings.js.map +1 -1
- package/dist/index.d.ts +29072 -20593
- package/dist/index.js +2432 -366
- package/dist/inference-residency.d.ts +22 -0
- package/dist/insights-usage.d.ts +948 -0
- package/dist/insights-usage.js +608 -0
- package/dist/insights-usage.js.map +1 -0
- package/dist/integration-capability-id.d.ts +8 -0
- package/dist/interaction-action-deadline.d.ts +48 -0
- package/dist/interaction-driver-diagnostic.d.ts +28 -0
- package/dist/interaction.d.ts +2126 -881
- package/dist/knowledge-entries.d.ts +38 -0
- package/dist/knowledge-preparation.d.ts +4 -0
- package/dist/learning-refusal.d.ts +43 -0
- package/dist/learning-refusal.js +49 -0
- package/dist/learning-refusal.js.map +1 -0
- package/dist/managed-auth-session-sets.d.ts +1 -0
- package/dist/managed-auth-session-sets.js +207 -146
- package/dist/managed-auth-session-sets.js.map +1 -1
- package/dist/managed-sign-in-methods.d.ts +96 -0
- package/dist/managed-sign-in-methods.js +157 -35
- package/dist/managed-sign-in-methods.js.map +1 -1
- package/dist/mcp-structured-content.d.ts +25 -0
- package/dist/message-time-zone.d.ts +38 -0
- package/dist/message-time-zone.js +19 -0
- package/dist/message-time-zone.js.map +1 -0
- package/dist/modal-native-proof-v2.d.ts +587 -0
- package/dist/modal-native-proof-v2.js +39 -0
- package/dist/modal-native-proof-v2.js.map +1 -0
- package/dist/model-account-choice.d.ts +237 -0
- package/dist/model-account-settings.d.ts +422 -0
- package/dist/model-availability.d.ts +15 -0
- package/dist/model-connection-access.d.ts +13 -0
- package/dist/model-context-inspector.d.ts +8 -0
- package/dist/model-display.d.ts +43 -0
- package/dist/model-display.js +17 -0
- package/dist/model-display.js.map +1 -0
- package/dist/model-picker-order.js.map +1 -1
- package/dist/model-residency.d.ts +304 -0
- package/dist/organization-access.d.ts +416 -0
- package/dist/organization-access.js +40 -0
- package/dist/organization-access.js.map +1 -0
- package/dist/organization-integration-policy.d.ts +18 -0
- package/dist/organization-membership-lifecycle.d.ts +66 -0
- package/dist/organization-model-usage.d.ts +146 -0
- package/dist/organization-model-usage.js +87 -0
- package/dist/organization-model-usage.js.map +1 -0
- package/dist/organization-recovery.js +3 -1
- package/dist/organization-usage.d.ts +12 -0
- package/dist/passkey-only-account.d.ts +14 -0
- package/dist/passkey-only-account.js +13 -0
- package/dist/passkey-only-account.js.map +1 -0
- package/dist/permissions.d.ts +19 -0
- package/dist/personal-github.js +220 -148
- package/dist/personal-github.js.map +1 -1
- package/dist/personal-integration-setup.d.ts +81 -0
- package/dist/personal-integration-setup.js +42 -0
- package/dist/personal-integration-setup.js.map +1 -0
- package/dist/prepared-mcp-setup.d.ts +54 -0
- package/dist/prepared-mcp-setup.js +13 -0
- package/dist/prepared-mcp-setup.js.map +1 -0
- package/dist/presentation-artifact-commands.js +2 -2
- package/dist/presentation-artifact-query.js +2 -2
- package/dist/primitives.d.ts +18 -0
- package/dist/product-analytics.d.ts +27 -10
- package/dist/product-lifecycle-facts.d.ts +26 -3
- package/dist/prompt-cache-diagnostics.d.ts +92 -0
- package/dist/recordings.d.ts +1371 -0
- package/dist/remember.d.ts +98 -2
- package/dist/retained-output.d.ts +4 -2
- package/dist/sandbox-file-artifacts.d.ts +19 -2
- package/dist/sandbox-provider-command.d.ts +5 -44
- package/dist/sandbox-recovery.d.ts +139 -8
- package/dist/secret-generator.d.ts +44 -0
- package/dist/secret-mask-strings.d.ts +32 -0
- package/dist/secret-references.d.ts +90 -0
- package/dist/secret-resolution.d.ts +143 -0
- package/dist/secret-shape-masking.d.ts +52 -0
- package/dist/secret-shape-masking.js +19 -0
- package/dist/secret-shape-masking.js.map +1 -0
- package/dist/secret-totp.d.ts +41 -0
- package/dist/secret-use-approval-question.d.ts +11 -0
- package/dist/secret-use-approval-question.js +11 -0
- package/dist/secret-use-approval-question.js.map +1 -0
- package/dist/secret-use-approvals.d.ts +106 -0
- package/dist/secret-value-masking.d.ts +299 -0
- package/dist/secret-value-masking.js +62 -0
- package/dist/secret-value-masking.js.map +1 -0
- package/dist/secret-value.d.ts +19 -0
- package/dist/session-history-import.d.ts +444 -8
- package/dist/session-history.d.ts +111 -0
- package/dist/session-history.js +35 -0
- package/dist/session-history.js.map +1 -0
- package/dist/session-list-entries.d.ts +8 -0
- package/dist/session-list-entries.js +61 -0
- package/dist/session-list-entries.js.map +1 -0
- package/dist/session-mcp-projections.d.ts +13 -1
- package/dist/session-mcp-tool-permissions.d.ts +62 -0
- package/dist/session-target.d.ts +18 -0
- package/dist/session-titles.d.ts +8 -0
- package/dist/session-titles.js +5 -1
- package/dist/session-usage-limit-refusal.d.ts +34 -0
- package/dist/session-usage-limit-refusal.js +15 -0
- package/dist/session-usage-limit-refusal.js.map +1 -0
- package/dist/session-usage-limits.d.ts +127 -0
- package/dist/session-usage-limits.js +43 -0
- package/dist/session-usage-limits.js.map +1 -0
- package/dist/site-data.d.ts +286 -0
- package/dist/site-operations.d.ts +39 -0
- package/dist/site-publishing.d.ts +813 -0
- package/dist/site-session-http.d.ts +103 -4
- package/dist/site-session-http.js +27 -1
- package/dist/site-sql.d.ts +425 -0
- package/dist/skills.d.ts +38 -0
- package/dist/slack-bot-scopes.d.ts +9 -7
- package/dist/slack-bot-scopes.js +6 -3
- package/dist/slack-rest-mcp.d.ts +36 -0
- package/dist/slack-rest-mcp.js +25 -0
- package/dist/slack-rest-mcp.js.map +1 -0
- package/dist/spreadsheet-artifact-commands.d.ts +14 -1
- package/dist/spreadsheet-artifact-commands.js +9 -2
- package/dist/spreadsheet-artifact-query.d.ts +13 -6
- package/dist/spreadsheet-artifact-query.js +4 -3
- package/dist/subscription-account-actions.d.ts +83 -0
- package/dist/subscription-account-pools.d.ts +326 -0
- package/dist/subscription-personal-authority-v2.d.ts +28 -0
- package/dist/subscription-personal-authority-v2.js +13 -0
- package/dist/subscription-personal-authority-v2.js.map +1 -0
- package/dist/subscription-plans.d.ts +38 -0
- package/dist/subscription-usage-pool.d.ts +89 -0
- package/dist/tool-action-review.d.ts +141 -0
- package/dist/tool-catalog.d.ts +479 -0
- package/dist/tool-policy.d.ts +5 -0
- package/dist/tool-review-presentation.d.ts +29 -0
- package/dist/tool-review-presentation.js +21 -0
- package/dist/tool-review-presentation.js.map +1 -0
- package/dist/turn-serving-policy.d.ts +223 -0
- package/dist/usage-allowances.d.ts +30 -0
- package/dist/usage-allowances.js +5 -1
- package/dist/values.d.ts +11 -0
- package/dist/values.js +19 -0
- package/dist/values.js.map +1 -0
- package/dist/vault-provider-wire.d.ts +907 -0
- package/dist/vault-provider-wire.js +74 -0
- package/dist/vault-provider-wire.js.map +1 -0
- package/dist/vaults.d.ts +2185 -0
- package/dist/video-generation.d.ts +75 -0
- package/dist/video-generation.js +8 -1
- package/dist/workspace-control-event.d.ts +18 -0
- package/dist/workspace-control-event.js +18 -0
- package/dist/workspace-control-event.js.map +1 -0
- package/dist/workspace-governance-context.d.ts +18 -0
- package/dist/workspace-integration-wire.d.ts +1 -1
- package/dist/workspace-integration-wire.js +1 -1
- package/dist/workspace-integrations.d.ts +212 -12
- package/dist/xai-provider-account-authority.js +3 -1
- package/package.json +121 -4
- package/src/agent-authored-durable-text.ts +14 -11
- package/src/agent-config.ts +382 -203
- package/src/agent-instruction-changes.ts +94 -74
- package/src/agent-learning.ts +94 -66
- package/src/agent-topology.ts +58 -52
- package/src/api-key-presets.ts +28 -0
- package/src/app-action-catalog-types.ts +32 -0
- package/src/app-action-catalog.gen.ts +9905 -0
- package/src/app-actions.ts +365 -0
- package/src/app-shot.ts +176 -0
- package/src/artifact-catalog.ts +81 -46
- package/src/artifacts.ts +360 -227
- package/src/atlassian-native-retirement.ts +33 -0
- package/src/atlassian.ts +136 -108
- package/src/automation-templates.ts +201 -0
- package/src/billing-subscriptions.ts +48 -0
- package/src/bots.ts +238 -0
- package/src/bundled-skills.ts +79 -22
- package/src/canonical-human-identities.ts +65 -62
- package/src/child-lifecycle-notice-protocol.gen.json +1310 -0
- package/src/child-lifecycle-notice-protocol.ts +224 -0
- package/src/claude-provider-account-authority.ts +12 -0
- package/src/claude-subscription-oauth.ts +61 -19
- package/src/claude-subscription-usage.ts +64 -35
- package/src/client-error-report.ts +344 -9
- package/src/code-search.ts +1 -1
- package/src/codex-provider-account-authority.ts +22 -16
- package/src/company-brain-governed-writes.ts +265 -244
- package/src/company-brain.ts +165 -154
- package/src/company-profile.ts +362 -297
- package/src/connect.ts +222 -173
- package/src/connection-account-label.ts +45 -0
- package/src/connection-authority.ts +172 -152
- package/src/connector-attachments.ts +139 -123
- package/src/connector-destinations.ts +48 -43
- package/src/connector-tool-permissions.ts +104 -46
- package/src/credential-profiles.ts +161 -0
- package/src/cua-desktop-tools.gen.json +6722 -0
- package/src/cua-desktop-tools.linux.gen.json +6798 -0
- package/src/cua-desktop-tools.ts +42 -0
- package/src/cua-desktop-tools.windows.gen.json +6739 -0
- package/src/define-schema.ts +10 -0
- package/src/desktop-app.ts +50 -0
- package/src/direct-model-provider.ts +112 -0
- package/src/editable-artifact-binary.ts +29 -8
- package/src/editable-artifact-committed-transaction.ts +19 -18
- package/src/editable-artifact-serialized-commit.ts +8 -2
- package/src/editable-artifact-versions.ts +7 -1
- package/src/event-preview.ts +53 -3
- package/src/event-triggers.ts +891 -0
- package/src/external-identities.ts +239 -195
- package/src/feedback.ts +125 -30
- package/src/file-access.ts +26 -0
- package/src/first-party-tool-authorization.ts +383 -0
- package/src/github-repository-contracts.ts +78 -64
- package/src/google-drive-native-retirement.ts +20 -0
- package/src/google-drive.ts +286 -234
- package/src/governed-learning-activation.ts +159 -137
- package/src/governed-learning-evaluator.ts +141 -133
- package/src/host-mcp-bindings.ts +244 -221
- package/src/image-generation.ts +105 -95
- package/src/index.ts +13928 -9899
- package/src/inference-residency.ts +36 -0
- package/src/insights-usage.ts +774 -0
- package/src/integration-capability-id.ts +16 -0
- package/src/interaction-action-deadline.ts +143 -0
- package/src/interaction-driver-diagnostic.ts +89 -0
- package/src/interaction.ts +3527 -2427
- package/src/knowledge-entries.ts +386 -299
- package/src/knowledge-preparation.ts +49 -41
- package/src/knowledge.ts +242 -213
- package/src/learning-refusal.ts +90 -0
- package/src/managed-auth-session-sets.ts +180 -133
- package/src/managed-sign-in-methods.ts +156 -34
- package/src/mcp-oauth.ts +58 -46
- package/src/mcp-receipts.ts +199 -194
- package/src/mcp-structured-content.ts +81 -0
- package/src/memory-slack-delivery.ts +172 -142
- package/src/message-time-zone.ts +109 -0
- package/src/modal-native-proof-v2.ts +430 -0
- package/src/model-account-choice.ts +178 -0
- package/src/model-account-settings.ts +210 -0
- package/src/model-availability.ts +22 -0
- package/src/model-connection-access.ts +62 -14
- package/src/model-context-inspector.ts +130 -109
- package/src/model-display.ts +221 -0
- package/src/model-picker-order.ts +1 -1
- package/src/model-residency.ts +535 -0
- package/src/organization-access.ts +216 -0
- package/src/organization-integration-policy.ts +47 -28
- package/src/organization-membership-lifecycle.ts +558 -384
- package/src/organization-model-usage.ts +82 -0
- package/src/organization-recovery.ts +148 -135
- package/src/organization-usage.ts +84 -52
- package/src/passkey-only-account.ts +29 -0
- package/src/permissions.ts +94 -52
- package/src/personal-github.ts +211 -171
- package/src/personal-integration-setup.ts +150 -0
- package/src/preference-registry.ts +319 -263
- package/src/prepared-mcp-setup.ts +190 -0
- package/src/primitives.ts +22 -0
- package/src/product-analytics.ts +40 -15
- package/src/product-lifecycle-facts.ts +50 -20
- package/src/prompt-cache-diagnostics.ts +212 -0
- package/src/recordings.ts +1153 -0
- package/src/remember.ts +184 -172
- package/src/retained-output.ts +181 -168
- package/src/sandbox-file-artifacts.ts +78 -57
- package/src/sandbox-provider-command.ts +55 -72
- package/src/sandbox-recovery.ts +163 -77
- package/src/scoped-knowledge.ts +62 -43
- package/src/secret-generator.ts +156 -0
- package/src/secret-mask-strings.ts +175 -0
- package/src/secret-references.ts +414 -0
- package/src/secret-resolution.ts +322 -0
- package/src/secret-shape-masking.ts +573 -0
- package/src/secret-totp.ts +188 -0
- package/src/secret-use-approval-question.ts +22 -0
- package/src/secret-use-approvals.ts +219 -0
- package/src/secret-value-masking.ts +1283 -0
- package/src/secret-value.ts +22 -0
- package/src/session-goal-reports.ts +55 -49
- package/src/session-history-import.ts +84 -68
- package/src/session-history.ts +197 -0
- package/src/session-list-entries.ts +106 -0
- package/src/session-mcp-projections.ts +21 -3
- package/src/session-mcp-tool-permissions.ts +109 -0
- package/src/session-message-search.ts +46 -38
- package/src/session-target.ts +58 -0
- package/src/session-titles.ts +40 -4
- package/src/session-topology-primitives.ts +20 -12
- package/src/session-usage-limit-refusal.ts +101 -0
- package/src/session-usage-limits.ts +169 -0
- package/src/signup-attribution.ts +20 -15
- package/src/site-data.ts +337 -0
- package/src/site-operations.ts +154 -0
- package/src/site-publishing.ts +903 -0
- package/src/site-session-http.ts +344 -16
- package/src/site-sql.ts +1120 -0
- package/src/skill-use.ts +18 -17
- package/src/skills.ts +105 -50
- package/src/slack-bot-scopes.ts +18 -35
- package/src/slack-rest-mcp.ts +222 -0
- package/src/slack-task-policy.ts +97 -73
- package/src/spreadsheet-artifact-commands.ts +74 -13
- package/src/spreadsheet-artifact-query.ts +188 -50
- package/src/subscription-account-actions.ts +103 -0
- package/src/subscription-account-pools.ts +74 -0
- package/src/subscription-personal-authority-v2.ts +69 -0
- package/src/subscription-plans.ts +51 -0
- package/src/subscription-usage-pool.ts +44 -0
- package/src/task-notes.ts +70 -68
- package/src/tool-action-review.ts +271 -0
- package/src/tool-catalog.ts +694 -379
- package/src/tool-policy.ts +82 -0
- package/src/tool-result-spill.ts +13 -9
- package/src/tool-review-presentation.ts +643 -0
- package/src/turn-serving-policy.ts +167 -0
- package/src/usage-allowances.ts +212 -136
- package/src/values.ts +25 -0
- package/src/vault-provider-wire.ts +580 -0
- package/src/vaults.ts +1296 -0
- package/src/video-generation.ts +430 -361
- package/src/work-claims.ts +183 -166
- package/src/workspace-control-event.ts +134 -0
- package/src/workspace-governance-context.ts +63 -0
- package/src/workspace-instruction-policies.ts +346 -279
- package/src/workspace-integration-wire.ts +10 -0
- package/src/workspace-integrations.ts +488 -398
- package/src/workspace-learning-administration.ts +58 -44
- package/src/workspace-learning-policy.ts +126 -99
- package/src/workspace-state.ts +239 -220
- package/src/xai-provider-account-authority.ts +23 -17
- package/dist/chunk-3SIZGL3O.js.map +0 -1
- package/dist/chunk-566IFOVP.js +0 -26133
- package/dist/chunk-566IFOVP.js.map +0 -1
- package/dist/chunk-5IXYF6XN.js +0 -728
- package/dist/chunk-5IXYF6XN.js.map +0 -1
- package/dist/chunk-5Q54VCCH.js.map +0 -1
- package/dist/chunk-BCS7WHCK.js +0 -139
- package/dist/chunk-BCS7WHCK.js.map +0 -1
- package/dist/chunk-EK7NDGFR.js +0 -128
- package/dist/chunk-EK7NDGFR.js.map +0 -1
- package/dist/chunk-GRG7PHWQ.js +0 -25
- package/dist/chunk-GRG7PHWQ.js.map +0 -1
- package/dist/chunk-HHZSZYYF.js.map +0 -1
- package/dist/chunk-ICDZGUX2.js +0 -186
- package/dist/chunk-ICDZGUX2.js.map +0 -1
- package/dist/chunk-JUFK3T4Q.js +0 -80
- package/dist/chunk-JUFK3T4Q.js.map +0 -1
- package/dist/chunk-MYBZRDTY.js.map +0 -1
- package/dist/chunk-NRMCVHAU.js.map +0 -1
- package/dist/chunk-O77VSFYZ.js.map +0 -1
- package/dist/chunk-P3HLDT77.js +0 -59
- package/dist/chunk-P3HLDT77.js.map +0 -1
- package/dist/chunk-TXTQIYCV.js.map +0 -1
- package/dist/chunk-WYBDERIY.js.map +0 -1
- package/dist/chunk-Y3KNXVTD.js.map +0 -1
- package/dist/chunk-YBW5JSA3.js.map +0 -1
- package/dist/chunk-YRXAWWCU.js +0 -45
- package/dist/chunk-YRXAWWCU.js.map +0 -1
- package/dist/chunk-YWMOIZ6A.js +0 -185
- package/dist/chunk-YWMOIZ6A.js.map +0 -1
- package/dist/site-request-headers.test.d.ts +0 -1
- package/dist/transcription-recordings.d.ts +0 -300
- package/src/transcription-recordings.ts +0 -169
- /package/dist/{chunk-SIOU2K4U.js.map → chunk-LJH2EYGT.js.map} +0 -0
- /package/dist/{chunk-RIY7GYQS.js.map → chunk-PTSROVDG.js.map} +0 -0
- /package/dist/{chunk-YRKRZ6OF.js.map → chunk-TOOJIBJC.js.map} +0 -0
- /package/dist/{chunk-D2HKF2EF.js.map → chunk-XP5M3IKT.js.map} +0 -0
|
@@ -0,0 +1,907 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `opengeni.vault.v1`: the signed remote vault-provider protocol.
|
|
3
|
+
*
|
|
4
|
+
* Opengeni POSTs one JSON request per operation to a registered endpoint,
|
|
5
|
+
* signed over the exact body with the existing `OpenGeni-Signature` scheme
|
|
6
|
+
* (`signOpenGeniPayload`). The receiver verifies the signature, then maps the
|
|
7
|
+
* trusted native authority tuple to its own tenant and user and rechecks
|
|
8
|
+
* access on every operation: a valid MAC authenticates Opengeni, it is not an
|
|
9
|
+
* authorization decision. Responses are signed with a response-only derived
|
|
10
|
+
* key (`vaultProviderWireResponseKey`) so a response can never be replayed as
|
|
11
|
+
* a request.
|
|
12
|
+
*
|
|
13
|
+
* Every shape is strict and bounded. Item metadata may carry a username display
|
|
14
|
+
* hint, but never other field values.
|
|
15
|
+
* Mutations carry an idempotency key; Opengeni never retries a mutation
|
|
16
|
+
* automatically and reports an ambiguous outcome instead.
|
|
17
|
+
*/
|
|
18
|
+
import { z } from "zod";
|
|
19
|
+
export declare const VAULT_PROVIDER_WIRE_VERSION: "opengeni.vault.v1";
|
|
20
|
+
/** Response signature header. Requests use the shared `OpenGeni-Signature` header. */
|
|
21
|
+
export declare const VAULT_PROVIDER_WIRE_RESPONSE_SIGNATURE_HEADER = "OpenGeni-Vault-Response-Signature";
|
|
22
|
+
/**
|
|
23
|
+
* The response signing key is derived from the connection secret with a fixed
|
|
24
|
+
* domain label, so request and response MACs are never interchangeable.
|
|
25
|
+
*/
|
|
26
|
+
export declare function vaultProviderWireResponseKey(signingSecret: string): string;
|
|
27
|
+
export declare const VAULT_PROVIDER_WIRE_LIMITS: {
|
|
28
|
+
readonly maxRequestBytes: number;
|
|
29
|
+
readonly maxResponseBytes: number;
|
|
30
|
+
/** Sum of returned secret value bytes in one read. */
|
|
31
|
+
readonly maxReadValueBytes: number;
|
|
32
|
+
readonly pageSizeMax: 100;
|
|
33
|
+
readonly cursorMaxChars: 1024;
|
|
34
|
+
readonly snapshotMaxChars: 1024;
|
|
35
|
+
readonly externalIdMaxChars: 300;
|
|
36
|
+
readonly vaultNameMaxChars: 300;
|
|
37
|
+
readonly nativeIdMaxChars: 200;
|
|
38
|
+
readonly readFieldsMax: 50;
|
|
39
|
+
readonly idempotencyKeyMaxChars: 200;
|
|
40
|
+
readonly accountIdMaxChars: 300;
|
|
41
|
+
readonly accountNameMaxChars: 300;
|
|
42
|
+
readonly versionMaxChars: 300;
|
|
43
|
+
readonly cacheEpochMaxChars: 200;
|
|
44
|
+
/** Per request deadline enforced by Opengeni's transport. */
|
|
45
|
+
readonly defaultTimeoutMs: 15000;
|
|
46
|
+
readonly maxTimeoutMs: 60000;
|
|
47
|
+
/** Accepted request age; matches `OPENGENI_SIGNATURE_TOLERANCE_SECONDS`. */
|
|
48
|
+
readonly signatureToleranceSeconds: 300;
|
|
49
|
+
};
|
|
50
|
+
/** Mirrors `VAULT_PROVIDER_ERROR_CODES` in `@opengeni/vaults` (parity tested there). */
|
|
51
|
+
export declare const VAULT_PROVIDER_WIRE_ERROR_CODES: readonly ["provider_auth_invalid", "provider_auth_expired", "provider_rate_limited", "provider_unavailable", "provider_conflict", "provider_not_found", "provider_permission_denied", "provider_locked", "provider_inventory_incomplete", "provider_outcome_unknown"];
|
|
52
|
+
export type VaultProviderWireErrorCode = (typeof VAULT_PROVIDER_WIRE_ERROR_CODES)[number];
|
|
53
|
+
export declare const VAULT_PROVIDER_WIRE_OPERATIONS: readonly ["describe", "refresh", "list_vaults", "list_items", "read_fields", "write_item", "archive_item"];
|
|
54
|
+
export type VaultProviderWireOperationName = (typeof VAULT_PROVIDER_WIRE_OPERATIONS)[number];
|
|
55
|
+
export type VaultProviderWireMutationName = "write_item" | "archive_item";
|
|
56
|
+
export declare function isVaultProviderWireMutation(op: VaultProviderWireOperationName): op is VaultProviderWireMutationName;
|
|
57
|
+
/** Remote providers that use this protocol. */
|
|
58
|
+
export declare const VaultProviderWireProvider: z.ZodEnum<{
|
|
59
|
+
external: "external";
|
|
60
|
+
}>;
|
|
61
|
+
export type VaultProviderWireProvider = z.infer<typeof VaultProviderWireProvider>;
|
|
62
|
+
export declare function vaultProviderWireUtf8Bytes(value: string): number;
|
|
63
|
+
/** Case-insensitive name identity used for field-name uniqueness. */
|
|
64
|
+
export declare function vaultProviderWireNameKey(name: string): string;
|
|
65
|
+
/**
|
|
66
|
+
* The trusted native caller. Opengeni fills it from the authorized registry,
|
|
67
|
+
* never from model or body-supplied arguments.
|
|
68
|
+
*/
|
|
69
|
+
export declare const VaultProviderWireAuthority: z.ZodObject<{
|
|
70
|
+
accountId: z.ZodString;
|
|
71
|
+
workspaceId: z.ZodString;
|
|
72
|
+
subjectId: z.ZodNullable<z.ZodString>;
|
|
73
|
+
connectionWorkspaceId: z.ZodString;
|
|
74
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
75
|
+
turnId: z.ZodOptional<z.ZodString>;
|
|
76
|
+
attemptId: z.ZodOptional<z.ZodString>;
|
|
77
|
+
siteId: z.ZodOptional<z.ZodString>;
|
|
78
|
+
}, z.core.$strict>;
|
|
79
|
+
export type VaultProviderWireAuthority = z.infer<typeof VaultProviderWireAuthority>;
|
|
80
|
+
export declare const VaultProviderWirePage: z.ZodObject<{
|
|
81
|
+
limit: z.ZodNumber;
|
|
82
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
83
|
+
snapshot: z.ZodOptional<z.ZodString>;
|
|
84
|
+
}, z.core.$strict>;
|
|
85
|
+
export type VaultProviderWirePage = z.infer<typeof VaultProviderWirePage>;
|
|
86
|
+
export declare const VaultProviderWireWriteField: z.ZodObject<{
|
|
87
|
+
externalFieldId: z.ZodOptional<z.ZodString>;
|
|
88
|
+
name: z.ZodString;
|
|
89
|
+
kind: z.ZodEnum<{
|
|
90
|
+
concealed: "concealed";
|
|
91
|
+
file: "file";
|
|
92
|
+
text: "text";
|
|
93
|
+
totp: "totp";
|
|
94
|
+
}>;
|
|
95
|
+
value: z.ZodOptional<z.ZodString>;
|
|
96
|
+
remove: z.ZodOptional<z.ZodLiteral<true>>;
|
|
97
|
+
}, z.core.$strict>;
|
|
98
|
+
export type VaultProviderWireWriteField = z.infer<typeof VaultProviderWireWriteField>;
|
|
99
|
+
export declare const VaultProviderWireWriteItem: z.ZodObject<{
|
|
100
|
+
externalItemId: z.ZodOptional<z.ZodString>;
|
|
101
|
+
expectedVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
102
|
+
name: z.ZodString;
|
|
103
|
+
type: z.ZodEnum<{
|
|
104
|
+
api_key: "api_key";
|
|
105
|
+
card: "card";
|
|
106
|
+
file: "file";
|
|
107
|
+
identity: "identity";
|
|
108
|
+
login: "login";
|
|
109
|
+
note: "note";
|
|
110
|
+
passkey: "passkey";
|
|
111
|
+
ssh_key: "ssh_key";
|
|
112
|
+
}> & z.ZodType<"api_key" | "card" | "file" | "identity" | "login" | "note" | "ssh_key", "api_key" | "card" | "file" | "identity" | "login" | "note" | "passkey" | "ssh_key", z.core.$ZodTypeInternals<"api_key" | "card" | "file" | "identity" | "login" | "note" | "ssh_key", "api_key" | "card" | "file" | "identity" | "login" | "note" | "passkey" | "ssh_key">>;
|
|
113
|
+
category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
114
|
+
websites: z.ZodArray<z.ZodString>;
|
|
115
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
116
|
+
externalFieldId: z.ZodOptional<z.ZodString>;
|
|
117
|
+
name: z.ZodString;
|
|
118
|
+
kind: z.ZodEnum<{
|
|
119
|
+
concealed: "concealed";
|
|
120
|
+
file: "file";
|
|
121
|
+
text: "text";
|
|
122
|
+
totp: "totp";
|
|
123
|
+
}>;
|
|
124
|
+
value: z.ZodOptional<z.ZodString>;
|
|
125
|
+
remove: z.ZodOptional<z.ZodLiteral<true>>;
|
|
126
|
+
}, z.core.$strict>>;
|
|
127
|
+
}, z.core.$strict>;
|
|
128
|
+
export type VaultProviderWireWriteItem = z.infer<typeof VaultProviderWireWriteItem>;
|
|
129
|
+
export declare const VaultProviderWireOperation: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
130
|
+
op: z.ZodLiteral<"describe">;
|
|
131
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
132
|
+
op: z.ZodLiteral<"refresh">;
|
|
133
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
134
|
+
forceRefresh: z.ZodBoolean;
|
|
135
|
+
cacheEpoch: z.ZodNullable<z.ZodString>;
|
|
136
|
+
op: z.ZodLiteral<"list_vaults">;
|
|
137
|
+
page: z.ZodObject<{
|
|
138
|
+
limit: z.ZodNumber;
|
|
139
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
140
|
+
snapshot: z.ZodOptional<z.ZodString>;
|
|
141
|
+
}, z.core.$strict>;
|
|
142
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
143
|
+
forceRefresh: z.ZodBoolean;
|
|
144
|
+
cacheEpoch: z.ZodNullable<z.ZodString>;
|
|
145
|
+
op: z.ZodLiteral<"list_items">;
|
|
146
|
+
externalVaultId: z.ZodString;
|
|
147
|
+
page: z.ZodObject<{
|
|
148
|
+
limit: z.ZodNumber;
|
|
149
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
150
|
+
snapshot: z.ZodOptional<z.ZodString>;
|
|
151
|
+
}, z.core.$strict>;
|
|
152
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
153
|
+
forceRefresh: z.ZodBoolean;
|
|
154
|
+
cacheEpoch: z.ZodNullable<z.ZodString>;
|
|
155
|
+
op: z.ZodLiteral<"read_fields">;
|
|
156
|
+
externalVaultId: z.ZodString;
|
|
157
|
+
externalItemId: z.ZodString;
|
|
158
|
+
externalFieldIds: z.ZodArray<z.ZodString>;
|
|
159
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
160
|
+
op: z.ZodLiteral<"write_item">;
|
|
161
|
+
externalVaultId: z.ZodString;
|
|
162
|
+
item: z.ZodObject<{
|
|
163
|
+
externalItemId: z.ZodOptional<z.ZodString>;
|
|
164
|
+
expectedVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
165
|
+
name: z.ZodString;
|
|
166
|
+
type: z.ZodEnum<{
|
|
167
|
+
api_key: "api_key";
|
|
168
|
+
card: "card";
|
|
169
|
+
file: "file";
|
|
170
|
+
identity: "identity";
|
|
171
|
+
login: "login";
|
|
172
|
+
note: "note";
|
|
173
|
+
passkey: "passkey";
|
|
174
|
+
ssh_key: "ssh_key";
|
|
175
|
+
}> & z.ZodType<"api_key" | "card" | "file" | "identity" | "login" | "note" | "ssh_key", "api_key" | "card" | "file" | "identity" | "login" | "note" | "passkey" | "ssh_key", z.core.$ZodTypeInternals<"api_key" | "card" | "file" | "identity" | "login" | "note" | "ssh_key", "api_key" | "card" | "file" | "identity" | "login" | "note" | "passkey" | "ssh_key">>;
|
|
176
|
+
category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
177
|
+
websites: z.ZodArray<z.ZodString>;
|
|
178
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
179
|
+
externalFieldId: z.ZodOptional<z.ZodString>;
|
|
180
|
+
name: z.ZodString;
|
|
181
|
+
kind: z.ZodEnum<{
|
|
182
|
+
concealed: "concealed";
|
|
183
|
+
file: "file";
|
|
184
|
+
text: "text";
|
|
185
|
+
totp: "totp";
|
|
186
|
+
}>;
|
|
187
|
+
value: z.ZodOptional<z.ZodString>;
|
|
188
|
+
remove: z.ZodOptional<z.ZodLiteral<true>>;
|
|
189
|
+
}, z.core.$strict>>;
|
|
190
|
+
}, z.core.$strict>;
|
|
191
|
+
idempotencyKey: z.ZodString;
|
|
192
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
193
|
+
op: z.ZodLiteral<"archive_item">;
|
|
194
|
+
externalVaultId: z.ZodString;
|
|
195
|
+
externalItemId: z.ZodString;
|
|
196
|
+
idempotencyKey: z.ZodString;
|
|
197
|
+
}, z.core.$strict>], "op">;
|
|
198
|
+
export type VaultProviderWireOperation = z.infer<typeof VaultProviderWireOperation>;
|
|
199
|
+
export type VaultProviderWireOperationOf<Op extends VaultProviderWireOperationName> = Extract<VaultProviderWireOperation, {
|
|
200
|
+
op: Op;
|
|
201
|
+
}>;
|
|
202
|
+
export declare const VaultProviderWireRequest: z.ZodObject<{
|
|
203
|
+
version: z.ZodLiteral<"opengeni.vault.v1">;
|
|
204
|
+
type: z.ZodLiteral<"request">;
|
|
205
|
+
requestId: z.ZodString;
|
|
206
|
+
sentAt: z.ZodString;
|
|
207
|
+
provider: z.ZodEnum<{
|
|
208
|
+
external: "external";
|
|
209
|
+
}>;
|
|
210
|
+
connectionId: z.ZodString;
|
|
211
|
+
authority: z.ZodObject<{
|
|
212
|
+
accountId: z.ZodString;
|
|
213
|
+
workspaceId: z.ZodString;
|
|
214
|
+
subjectId: z.ZodNullable<z.ZodString>;
|
|
215
|
+
connectionWorkspaceId: z.ZodString;
|
|
216
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
217
|
+
turnId: z.ZodOptional<z.ZodString>;
|
|
218
|
+
attemptId: z.ZodOptional<z.ZodString>;
|
|
219
|
+
siteId: z.ZodOptional<z.ZodString>;
|
|
220
|
+
}, z.core.$strict>;
|
|
221
|
+
operation: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
222
|
+
op: z.ZodLiteral<"describe">;
|
|
223
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
224
|
+
op: z.ZodLiteral<"refresh">;
|
|
225
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
226
|
+
forceRefresh: z.ZodBoolean;
|
|
227
|
+
cacheEpoch: z.ZodNullable<z.ZodString>;
|
|
228
|
+
op: z.ZodLiteral<"list_vaults">;
|
|
229
|
+
page: z.ZodObject<{
|
|
230
|
+
limit: z.ZodNumber;
|
|
231
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
232
|
+
snapshot: z.ZodOptional<z.ZodString>;
|
|
233
|
+
}, z.core.$strict>;
|
|
234
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
235
|
+
forceRefresh: z.ZodBoolean;
|
|
236
|
+
cacheEpoch: z.ZodNullable<z.ZodString>;
|
|
237
|
+
op: z.ZodLiteral<"list_items">;
|
|
238
|
+
externalVaultId: z.ZodString;
|
|
239
|
+
page: z.ZodObject<{
|
|
240
|
+
limit: z.ZodNumber;
|
|
241
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
242
|
+
snapshot: z.ZodOptional<z.ZodString>;
|
|
243
|
+
}, z.core.$strict>;
|
|
244
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
245
|
+
forceRefresh: z.ZodBoolean;
|
|
246
|
+
cacheEpoch: z.ZodNullable<z.ZodString>;
|
|
247
|
+
op: z.ZodLiteral<"read_fields">;
|
|
248
|
+
externalVaultId: z.ZodString;
|
|
249
|
+
externalItemId: z.ZodString;
|
|
250
|
+
externalFieldIds: z.ZodArray<z.ZodString>;
|
|
251
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
252
|
+
op: z.ZodLiteral<"write_item">;
|
|
253
|
+
externalVaultId: z.ZodString;
|
|
254
|
+
item: z.ZodObject<{
|
|
255
|
+
externalItemId: z.ZodOptional<z.ZodString>;
|
|
256
|
+
expectedVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
257
|
+
name: z.ZodString;
|
|
258
|
+
type: z.ZodEnum<{
|
|
259
|
+
api_key: "api_key";
|
|
260
|
+
card: "card";
|
|
261
|
+
file: "file";
|
|
262
|
+
identity: "identity";
|
|
263
|
+
login: "login";
|
|
264
|
+
note: "note";
|
|
265
|
+
passkey: "passkey";
|
|
266
|
+
ssh_key: "ssh_key";
|
|
267
|
+
}> & z.ZodType<"api_key" | "card" | "file" | "identity" | "login" | "note" | "ssh_key", "api_key" | "card" | "file" | "identity" | "login" | "note" | "passkey" | "ssh_key", z.core.$ZodTypeInternals<"api_key" | "card" | "file" | "identity" | "login" | "note" | "ssh_key", "api_key" | "card" | "file" | "identity" | "login" | "note" | "passkey" | "ssh_key">>;
|
|
268
|
+
category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
269
|
+
websites: z.ZodArray<z.ZodString>;
|
|
270
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
271
|
+
externalFieldId: z.ZodOptional<z.ZodString>;
|
|
272
|
+
name: z.ZodString;
|
|
273
|
+
kind: z.ZodEnum<{
|
|
274
|
+
concealed: "concealed";
|
|
275
|
+
file: "file";
|
|
276
|
+
text: "text";
|
|
277
|
+
totp: "totp";
|
|
278
|
+
}>;
|
|
279
|
+
value: z.ZodOptional<z.ZodString>;
|
|
280
|
+
remove: z.ZodOptional<z.ZodLiteral<true>>;
|
|
281
|
+
}, z.core.$strict>>;
|
|
282
|
+
}, z.core.$strict>;
|
|
283
|
+
idempotencyKey: z.ZodString;
|
|
284
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
285
|
+
op: z.ZodLiteral<"archive_item">;
|
|
286
|
+
externalVaultId: z.ZodString;
|
|
287
|
+
externalItemId: z.ZodString;
|
|
288
|
+
idempotencyKey: z.ZodString;
|
|
289
|
+
}, z.core.$strict>], "op">;
|
|
290
|
+
}, z.core.$strict>;
|
|
291
|
+
export type VaultProviderWireRequest = z.infer<typeof VaultProviderWireRequest>;
|
|
292
|
+
export declare const VaultProviderWireErrorCode: z.ZodEnum<{
|
|
293
|
+
provider_auth_expired: "provider_auth_expired";
|
|
294
|
+
provider_auth_invalid: "provider_auth_invalid";
|
|
295
|
+
provider_conflict: "provider_conflict";
|
|
296
|
+
provider_inventory_incomplete: "provider_inventory_incomplete";
|
|
297
|
+
provider_locked: "provider_locked";
|
|
298
|
+
provider_not_found: "provider_not_found";
|
|
299
|
+
provider_outcome_unknown: "provider_outcome_unknown";
|
|
300
|
+
provider_permission_denied: "provider_permission_denied";
|
|
301
|
+
provider_rate_limited: "provider_rate_limited";
|
|
302
|
+
provider_unavailable: "provider_unavailable";
|
|
303
|
+
}>;
|
|
304
|
+
/** Receiver freshness. Opengeni adds its own `lastCheckedAt`. */
|
|
305
|
+
export declare const VaultProviderWireFreshness: z.ZodObject<{
|
|
306
|
+
state: z.ZodEnum<{
|
|
307
|
+
current: "current";
|
|
308
|
+
refreshing: "refreshing";
|
|
309
|
+
stale: "stale";
|
|
310
|
+
unavailable: "unavailable";
|
|
311
|
+
}>;
|
|
312
|
+
sourceSyncedAt: z.ZodNullable<z.ZodString>;
|
|
313
|
+
source: z.ZodEnum<{
|
|
314
|
+
cache: "cache";
|
|
315
|
+
live: "live";
|
|
316
|
+
unknown: "unknown";
|
|
317
|
+
}>;
|
|
318
|
+
errorCode: z.ZodNullable<z.ZodEnum<{
|
|
319
|
+
provider_auth_expired: "provider_auth_expired";
|
|
320
|
+
provider_auth_invalid: "provider_auth_invalid";
|
|
321
|
+
provider_conflict: "provider_conflict";
|
|
322
|
+
provider_inventory_incomplete: "provider_inventory_incomplete";
|
|
323
|
+
provider_locked: "provider_locked";
|
|
324
|
+
provider_not_found: "provider_not_found";
|
|
325
|
+
provider_outcome_unknown: "provider_outcome_unknown";
|
|
326
|
+
provider_permission_denied: "provider_permission_denied";
|
|
327
|
+
provider_rate_limited: "provider_rate_limited";
|
|
328
|
+
provider_unavailable: "provider_unavailable";
|
|
329
|
+
}>>;
|
|
330
|
+
retryAt: z.ZodNullable<z.ZodString>;
|
|
331
|
+
}, z.core.$strict>;
|
|
332
|
+
export type VaultProviderWireFreshness = z.infer<typeof VaultProviderWireFreshness>;
|
|
333
|
+
export declare const VaultProviderWireVault: z.ZodObject<{
|
|
334
|
+
externalVaultId: z.ZodString;
|
|
335
|
+
name: z.ZodString;
|
|
336
|
+
contentVersion: z.ZodNullable<z.ZodString>;
|
|
337
|
+
itemCount: z.ZodNullable<z.ZodNumber>;
|
|
338
|
+
writeAccess: z.ZodEnum<{
|
|
339
|
+
read_only: "read_only";
|
|
340
|
+
read_write: "read_write";
|
|
341
|
+
unknown: "unknown";
|
|
342
|
+
}>;
|
|
343
|
+
operations: z.ZodOptional<z.ZodObject<{
|
|
344
|
+
createItemTypes: z.ZodArray<z.ZodEnum<{
|
|
345
|
+
api_key: "api_key";
|
|
346
|
+
card: "card";
|
|
347
|
+
file: "file";
|
|
348
|
+
identity: "identity";
|
|
349
|
+
login: "login";
|
|
350
|
+
note: "note";
|
|
351
|
+
passkey: "passkey";
|
|
352
|
+
ssh_key: "ssh_key";
|
|
353
|
+
}>>;
|
|
354
|
+
updateItem: z.ZodBoolean;
|
|
355
|
+
removeField: z.ZodBoolean;
|
|
356
|
+
archiveItem: z.ZodBoolean;
|
|
357
|
+
archiveKind: z.ZodEnum<{
|
|
358
|
+
archive: "archive";
|
|
359
|
+
none: "none";
|
|
360
|
+
trash: "trash";
|
|
361
|
+
}>;
|
|
362
|
+
deleteItem: z.ZodLiteral<false>;
|
|
363
|
+
restoreItem: z.ZodBoolean;
|
|
364
|
+
readFiles: z.ZodBoolean;
|
|
365
|
+
writeFiles: z.ZodBoolean;
|
|
366
|
+
createTotp: z.ZodBoolean;
|
|
367
|
+
updateTotp: z.ZodBoolean;
|
|
368
|
+
createVault: z.ZodBoolean;
|
|
369
|
+
restoreFieldHistory: z.ZodBoolean;
|
|
370
|
+
}, z.core.$strict>>;
|
|
371
|
+
}, z.core.$strict>;
|
|
372
|
+
export type VaultProviderWireVault = z.infer<typeof VaultProviderWireVault>;
|
|
373
|
+
export declare const VaultProviderWireFieldMeta: z.ZodObject<{
|
|
374
|
+
externalFieldId: z.ZodString;
|
|
375
|
+
name: z.ZodString;
|
|
376
|
+
kind: z.ZodEnum<{
|
|
377
|
+
concealed: "concealed";
|
|
378
|
+
file: "file";
|
|
379
|
+
text: "text";
|
|
380
|
+
totp: "totp";
|
|
381
|
+
}>;
|
|
382
|
+
}, z.core.$strict>;
|
|
383
|
+
export type VaultProviderWireFieldMeta = z.infer<typeof VaultProviderWireFieldMeta>;
|
|
384
|
+
/** Item metadata, including an optional username display hint but no other values. */
|
|
385
|
+
export declare const VaultProviderWireItemMeta: z.ZodObject<{
|
|
386
|
+
externalItemId: z.ZodString;
|
|
387
|
+
name: z.ZodString;
|
|
388
|
+
type: z.ZodEnum<{
|
|
389
|
+
api_key: "api_key";
|
|
390
|
+
card: "card";
|
|
391
|
+
file: "file";
|
|
392
|
+
identity: "identity";
|
|
393
|
+
login: "login";
|
|
394
|
+
note: "note";
|
|
395
|
+
passkey: "passkey";
|
|
396
|
+
ssh_key: "ssh_key";
|
|
397
|
+
}>;
|
|
398
|
+
username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
399
|
+
category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
400
|
+
websites: z.ZodArray<z.ZodString>;
|
|
401
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
402
|
+
externalFieldId: z.ZodString;
|
|
403
|
+
name: z.ZodString;
|
|
404
|
+
kind: z.ZodEnum<{
|
|
405
|
+
concealed: "concealed";
|
|
406
|
+
file: "file";
|
|
407
|
+
text: "text";
|
|
408
|
+
totp: "totp";
|
|
409
|
+
}>;
|
|
410
|
+
}, z.core.$strict>>;
|
|
411
|
+
version: z.ZodNullable<z.ZodString>;
|
|
412
|
+
updatedAt: z.ZodNullable<z.ZodString>;
|
|
413
|
+
}, z.core.$strict>;
|
|
414
|
+
export type VaultProviderWireItemMeta = z.infer<typeof VaultProviderWireItemMeta>;
|
|
415
|
+
export declare const VaultProviderWireFieldValue: z.ZodObject<{
|
|
416
|
+
externalFieldId: z.ZodString;
|
|
417
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
418
|
+
type: z.ZodLiteral<"text">;
|
|
419
|
+
value: z.ZodString;
|
|
420
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
421
|
+
type: z.ZodLiteral<"totp">;
|
|
422
|
+
value: z.ZodString;
|
|
423
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
424
|
+
type: z.ZodLiteral<"bytes">;
|
|
425
|
+
base64: z.ZodString;
|
|
426
|
+
}, z.core.$strict>], "type">;
|
|
427
|
+
}, z.core.$strict>;
|
|
428
|
+
export type VaultProviderWireFieldValue = z.infer<typeof VaultProviderWireFieldValue>;
|
|
429
|
+
export declare const VaultProviderWireDescribeResult: z.ZodObject<{
|
|
430
|
+
accountId: z.ZodString;
|
|
431
|
+
accountName: z.ZodNullable<z.ZodString>;
|
|
432
|
+
operations: z.ZodObject<{
|
|
433
|
+
createItemTypes: z.ZodArray<z.ZodEnum<{
|
|
434
|
+
api_key: "api_key";
|
|
435
|
+
card: "card";
|
|
436
|
+
file: "file";
|
|
437
|
+
identity: "identity";
|
|
438
|
+
login: "login";
|
|
439
|
+
note: "note";
|
|
440
|
+
passkey: "passkey";
|
|
441
|
+
ssh_key: "ssh_key";
|
|
442
|
+
}>>;
|
|
443
|
+
updateItem: z.ZodBoolean;
|
|
444
|
+
removeField: z.ZodBoolean;
|
|
445
|
+
archiveItem: z.ZodBoolean;
|
|
446
|
+
archiveKind: z.ZodEnum<{
|
|
447
|
+
archive: "archive";
|
|
448
|
+
none: "none";
|
|
449
|
+
trash: "trash";
|
|
450
|
+
}>;
|
|
451
|
+
deleteItem: z.ZodLiteral<false>;
|
|
452
|
+
restoreItem: z.ZodBoolean;
|
|
453
|
+
readFiles: z.ZodBoolean;
|
|
454
|
+
writeFiles: z.ZodBoolean;
|
|
455
|
+
createTotp: z.ZodBoolean;
|
|
456
|
+
updateTotp: z.ZodBoolean;
|
|
457
|
+
createVault: z.ZodBoolean;
|
|
458
|
+
restoreFieldHistory: z.ZodBoolean;
|
|
459
|
+
}, z.core.$strict>;
|
|
460
|
+
capabilities: z.ZodObject<{
|
|
461
|
+
totp: z.ZodBoolean;
|
|
462
|
+
files: z.ZodBoolean;
|
|
463
|
+
}, z.core.$strict>;
|
|
464
|
+
inventoryScope: z.ZodLiteral<"connection">;
|
|
465
|
+
}, z.core.$strict>;
|
|
466
|
+
export type VaultProviderWireDescribeResult = z.infer<typeof VaultProviderWireDescribeResult>;
|
|
467
|
+
export declare const VaultProviderWireListVaultsResult: z.ZodObject<{
|
|
468
|
+
items: z.ZodArray<z.ZodObject<{
|
|
469
|
+
externalVaultId: z.ZodString;
|
|
470
|
+
name: z.ZodString;
|
|
471
|
+
contentVersion: z.ZodNullable<z.ZodString>;
|
|
472
|
+
itemCount: z.ZodNullable<z.ZodNumber>;
|
|
473
|
+
writeAccess: z.ZodEnum<{
|
|
474
|
+
read_only: "read_only";
|
|
475
|
+
read_write: "read_write";
|
|
476
|
+
unknown: "unknown";
|
|
477
|
+
}>;
|
|
478
|
+
operations: z.ZodOptional<z.ZodObject<{
|
|
479
|
+
createItemTypes: z.ZodArray<z.ZodEnum<{
|
|
480
|
+
api_key: "api_key";
|
|
481
|
+
card: "card";
|
|
482
|
+
file: "file";
|
|
483
|
+
identity: "identity";
|
|
484
|
+
login: "login";
|
|
485
|
+
note: "note";
|
|
486
|
+
passkey: "passkey";
|
|
487
|
+
ssh_key: "ssh_key";
|
|
488
|
+
}>>;
|
|
489
|
+
updateItem: z.ZodBoolean;
|
|
490
|
+
removeField: z.ZodBoolean;
|
|
491
|
+
archiveItem: z.ZodBoolean;
|
|
492
|
+
archiveKind: z.ZodEnum<{
|
|
493
|
+
archive: "archive";
|
|
494
|
+
none: "none";
|
|
495
|
+
trash: "trash";
|
|
496
|
+
}>;
|
|
497
|
+
deleteItem: z.ZodLiteral<false>;
|
|
498
|
+
restoreItem: z.ZodBoolean;
|
|
499
|
+
readFiles: z.ZodBoolean;
|
|
500
|
+
writeFiles: z.ZodBoolean;
|
|
501
|
+
createTotp: z.ZodBoolean;
|
|
502
|
+
updateTotp: z.ZodBoolean;
|
|
503
|
+
createVault: z.ZodBoolean;
|
|
504
|
+
restoreFieldHistory: z.ZodBoolean;
|
|
505
|
+
}, z.core.$strict>>;
|
|
506
|
+
}, z.core.$strict>>;
|
|
507
|
+
nextCursor: z.ZodNullable<z.ZodString>;
|
|
508
|
+
snapshot: z.ZodNullable<z.ZodString>;
|
|
509
|
+
}, z.core.$strict>;
|
|
510
|
+
export declare const VaultProviderWireListItemsResult: z.ZodObject<{
|
|
511
|
+
items: z.ZodArray<z.ZodObject<{
|
|
512
|
+
externalItemId: z.ZodString;
|
|
513
|
+
name: z.ZodString;
|
|
514
|
+
type: z.ZodEnum<{
|
|
515
|
+
api_key: "api_key";
|
|
516
|
+
card: "card";
|
|
517
|
+
file: "file";
|
|
518
|
+
identity: "identity";
|
|
519
|
+
login: "login";
|
|
520
|
+
note: "note";
|
|
521
|
+
passkey: "passkey";
|
|
522
|
+
ssh_key: "ssh_key";
|
|
523
|
+
}>;
|
|
524
|
+
username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
525
|
+
category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
526
|
+
websites: z.ZodArray<z.ZodString>;
|
|
527
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
528
|
+
externalFieldId: z.ZodString;
|
|
529
|
+
name: z.ZodString;
|
|
530
|
+
kind: z.ZodEnum<{
|
|
531
|
+
concealed: "concealed";
|
|
532
|
+
file: "file";
|
|
533
|
+
text: "text";
|
|
534
|
+
totp: "totp";
|
|
535
|
+
}>;
|
|
536
|
+
}, z.core.$strict>>;
|
|
537
|
+
version: z.ZodNullable<z.ZodString>;
|
|
538
|
+
updatedAt: z.ZodNullable<z.ZodString>;
|
|
539
|
+
}, z.core.$strict>>;
|
|
540
|
+
nextCursor: z.ZodNullable<z.ZodString>;
|
|
541
|
+
snapshot: z.ZodNullable<z.ZodString>;
|
|
542
|
+
}, z.core.$strict>;
|
|
543
|
+
export declare const VaultProviderWireReadFieldsResult: z.ZodObject<{
|
|
544
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
545
|
+
externalFieldId: z.ZodString;
|
|
546
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
547
|
+
type: z.ZodLiteral<"text">;
|
|
548
|
+
value: z.ZodString;
|
|
549
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
550
|
+
type: z.ZodLiteral<"totp">;
|
|
551
|
+
value: z.ZodString;
|
|
552
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
553
|
+
type: z.ZodLiteral<"bytes">;
|
|
554
|
+
base64: z.ZodString;
|
|
555
|
+
}, z.core.$strict>], "type">;
|
|
556
|
+
}, z.core.$strict>>;
|
|
557
|
+
}, z.core.$strict>;
|
|
558
|
+
export declare const VaultProviderWireRefreshResult: z.ZodObject<{
|
|
559
|
+
refreshed: z.ZodLiteral<true>;
|
|
560
|
+
}, z.core.$strict>;
|
|
561
|
+
export declare const VaultProviderWireWriteItemResult: z.ZodObject<{
|
|
562
|
+
item: z.ZodObject<{
|
|
563
|
+
externalItemId: z.ZodString;
|
|
564
|
+
name: z.ZodString;
|
|
565
|
+
type: z.ZodEnum<{
|
|
566
|
+
api_key: "api_key";
|
|
567
|
+
card: "card";
|
|
568
|
+
file: "file";
|
|
569
|
+
identity: "identity";
|
|
570
|
+
login: "login";
|
|
571
|
+
note: "note";
|
|
572
|
+
passkey: "passkey";
|
|
573
|
+
ssh_key: "ssh_key";
|
|
574
|
+
}>;
|
|
575
|
+
username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
576
|
+
category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
577
|
+
websites: z.ZodArray<z.ZodString>;
|
|
578
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
579
|
+
externalFieldId: z.ZodString;
|
|
580
|
+
name: z.ZodString;
|
|
581
|
+
kind: z.ZodEnum<{
|
|
582
|
+
concealed: "concealed";
|
|
583
|
+
file: "file";
|
|
584
|
+
text: "text";
|
|
585
|
+
totp: "totp";
|
|
586
|
+
}>;
|
|
587
|
+
}, z.core.$strict>>;
|
|
588
|
+
version: z.ZodNullable<z.ZodString>;
|
|
589
|
+
updatedAt: z.ZodNullable<z.ZodString>;
|
|
590
|
+
}, z.core.$strict>;
|
|
591
|
+
}, z.core.$strict>;
|
|
592
|
+
export declare const VaultProviderWireArchiveItemResult: z.ZodObject<{
|
|
593
|
+
archived: z.ZodLiteral<true>;
|
|
594
|
+
}, z.core.$strict>;
|
|
595
|
+
export declare const VaultProviderWireResults: {
|
|
596
|
+
readonly describe: z.ZodObject<{
|
|
597
|
+
accountId: z.ZodString;
|
|
598
|
+
accountName: z.ZodNullable<z.ZodString>;
|
|
599
|
+
operations: z.ZodObject<{
|
|
600
|
+
createItemTypes: z.ZodArray<z.ZodEnum<{
|
|
601
|
+
api_key: "api_key";
|
|
602
|
+
card: "card";
|
|
603
|
+
file: "file";
|
|
604
|
+
identity: "identity";
|
|
605
|
+
login: "login";
|
|
606
|
+
note: "note";
|
|
607
|
+
passkey: "passkey";
|
|
608
|
+
ssh_key: "ssh_key";
|
|
609
|
+
}>>;
|
|
610
|
+
updateItem: z.ZodBoolean;
|
|
611
|
+
removeField: z.ZodBoolean;
|
|
612
|
+
archiveItem: z.ZodBoolean;
|
|
613
|
+
archiveKind: z.ZodEnum<{
|
|
614
|
+
archive: "archive";
|
|
615
|
+
none: "none";
|
|
616
|
+
trash: "trash";
|
|
617
|
+
}>;
|
|
618
|
+
deleteItem: z.ZodLiteral<false>;
|
|
619
|
+
restoreItem: z.ZodBoolean;
|
|
620
|
+
readFiles: z.ZodBoolean;
|
|
621
|
+
writeFiles: z.ZodBoolean;
|
|
622
|
+
createTotp: z.ZodBoolean;
|
|
623
|
+
updateTotp: z.ZodBoolean;
|
|
624
|
+
createVault: z.ZodBoolean;
|
|
625
|
+
restoreFieldHistory: z.ZodBoolean;
|
|
626
|
+
}, z.core.$strict>;
|
|
627
|
+
capabilities: z.ZodObject<{
|
|
628
|
+
totp: z.ZodBoolean;
|
|
629
|
+
files: z.ZodBoolean;
|
|
630
|
+
}, z.core.$strict>;
|
|
631
|
+
inventoryScope: z.ZodLiteral<"connection">;
|
|
632
|
+
}, z.core.$strict>;
|
|
633
|
+
readonly refresh: z.ZodObject<{
|
|
634
|
+
refreshed: z.ZodLiteral<true>;
|
|
635
|
+
}, z.core.$strict>;
|
|
636
|
+
readonly list_vaults: z.ZodObject<{
|
|
637
|
+
items: z.ZodArray<z.ZodObject<{
|
|
638
|
+
externalVaultId: z.ZodString;
|
|
639
|
+
name: z.ZodString;
|
|
640
|
+
contentVersion: z.ZodNullable<z.ZodString>;
|
|
641
|
+
itemCount: z.ZodNullable<z.ZodNumber>;
|
|
642
|
+
writeAccess: z.ZodEnum<{
|
|
643
|
+
read_only: "read_only";
|
|
644
|
+
read_write: "read_write";
|
|
645
|
+
unknown: "unknown";
|
|
646
|
+
}>;
|
|
647
|
+
operations: z.ZodOptional<z.ZodObject<{
|
|
648
|
+
createItemTypes: z.ZodArray<z.ZodEnum<{
|
|
649
|
+
api_key: "api_key";
|
|
650
|
+
card: "card";
|
|
651
|
+
file: "file";
|
|
652
|
+
identity: "identity";
|
|
653
|
+
login: "login";
|
|
654
|
+
note: "note";
|
|
655
|
+
passkey: "passkey";
|
|
656
|
+
ssh_key: "ssh_key";
|
|
657
|
+
}>>;
|
|
658
|
+
updateItem: z.ZodBoolean;
|
|
659
|
+
removeField: z.ZodBoolean;
|
|
660
|
+
archiveItem: z.ZodBoolean;
|
|
661
|
+
archiveKind: z.ZodEnum<{
|
|
662
|
+
archive: "archive";
|
|
663
|
+
none: "none";
|
|
664
|
+
trash: "trash";
|
|
665
|
+
}>;
|
|
666
|
+
deleteItem: z.ZodLiteral<false>;
|
|
667
|
+
restoreItem: z.ZodBoolean;
|
|
668
|
+
readFiles: z.ZodBoolean;
|
|
669
|
+
writeFiles: z.ZodBoolean;
|
|
670
|
+
createTotp: z.ZodBoolean;
|
|
671
|
+
updateTotp: z.ZodBoolean;
|
|
672
|
+
createVault: z.ZodBoolean;
|
|
673
|
+
restoreFieldHistory: z.ZodBoolean;
|
|
674
|
+
}, z.core.$strict>>;
|
|
675
|
+
}, z.core.$strict>>;
|
|
676
|
+
nextCursor: z.ZodNullable<z.ZodString>;
|
|
677
|
+
snapshot: z.ZodNullable<z.ZodString>;
|
|
678
|
+
}, z.core.$strict>;
|
|
679
|
+
readonly list_items: z.ZodObject<{
|
|
680
|
+
items: z.ZodArray<z.ZodObject<{
|
|
681
|
+
externalItemId: z.ZodString;
|
|
682
|
+
name: z.ZodString;
|
|
683
|
+
type: z.ZodEnum<{
|
|
684
|
+
api_key: "api_key";
|
|
685
|
+
card: "card";
|
|
686
|
+
file: "file";
|
|
687
|
+
identity: "identity";
|
|
688
|
+
login: "login";
|
|
689
|
+
note: "note";
|
|
690
|
+
passkey: "passkey";
|
|
691
|
+
ssh_key: "ssh_key";
|
|
692
|
+
}>;
|
|
693
|
+
username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
694
|
+
category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
695
|
+
websites: z.ZodArray<z.ZodString>;
|
|
696
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
697
|
+
externalFieldId: z.ZodString;
|
|
698
|
+
name: z.ZodString;
|
|
699
|
+
kind: z.ZodEnum<{
|
|
700
|
+
concealed: "concealed";
|
|
701
|
+
file: "file";
|
|
702
|
+
text: "text";
|
|
703
|
+
totp: "totp";
|
|
704
|
+
}>;
|
|
705
|
+
}, z.core.$strict>>;
|
|
706
|
+
version: z.ZodNullable<z.ZodString>;
|
|
707
|
+
updatedAt: z.ZodNullable<z.ZodString>;
|
|
708
|
+
}, z.core.$strict>>;
|
|
709
|
+
nextCursor: z.ZodNullable<z.ZodString>;
|
|
710
|
+
snapshot: z.ZodNullable<z.ZodString>;
|
|
711
|
+
}, z.core.$strict>;
|
|
712
|
+
readonly read_fields: z.ZodObject<{
|
|
713
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
714
|
+
externalFieldId: z.ZodString;
|
|
715
|
+
value: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
716
|
+
type: z.ZodLiteral<"text">;
|
|
717
|
+
value: z.ZodString;
|
|
718
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
719
|
+
type: z.ZodLiteral<"totp">;
|
|
720
|
+
value: z.ZodString;
|
|
721
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
722
|
+
type: z.ZodLiteral<"bytes">;
|
|
723
|
+
base64: z.ZodString;
|
|
724
|
+
}, z.core.$strict>], "type">;
|
|
725
|
+
}, z.core.$strict>>;
|
|
726
|
+
}, z.core.$strict>;
|
|
727
|
+
readonly write_item: z.ZodObject<{
|
|
728
|
+
item: z.ZodObject<{
|
|
729
|
+
externalItemId: z.ZodString;
|
|
730
|
+
name: z.ZodString;
|
|
731
|
+
type: z.ZodEnum<{
|
|
732
|
+
api_key: "api_key";
|
|
733
|
+
card: "card";
|
|
734
|
+
file: "file";
|
|
735
|
+
identity: "identity";
|
|
736
|
+
login: "login";
|
|
737
|
+
note: "note";
|
|
738
|
+
passkey: "passkey";
|
|
739
|
+
ssh_key: "ssh_key";
|
|
740
|
+
}>;
|
|
741
|
+
username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
742
|
+
category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
743
|
+
websites: z.ZodArray<z.ZodString>;
|
|
744
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
745
|
+
externalFieldId: z.ZodString;
|
|
746
|
+
name: z.ZodString;
|
|
747
|
+
kind: z.ZodEnum<{
|
|
748
|
+
concealed: "concealed";
|
|
749
|
+
file: "file";
|
|
750
|
+
text: "text";
|
|
751
|
+
totp: "totp";
|
|
752
|
+
}>;
|
|
753
|
+
}, z.core.$strict>>;
|
|
754
|
+
version: z.ZodNullable<z.ZodString>;
|
|
755
|
+
updatedAt: z.ZodNullable<z.ZodString>;
|
|
756
|
+
}, z.core.$strict>;
|
|
757
|
+
}, z.core.$strict>;
|
|
758
|
+
readonly archive_item: z.ZodObject<{
|
|
759
|
+
archived: z.ZodLiteral<true>;
|
|
760
|
+
}, z.core.$strict>;
|
|
761
|
+
};
|
|
762
|
+
export type VaultProviderWireResult<Op extends VaultProviderWireOperationName> = z.infer<(typeof VaultProviderWireResults)[Op]>;
|
|
763
|
+
export declare const VaultProviderWireError: z.ZodObject<{
|
|
764
|
+
code: z.ZodEnum<{
|
|
765
|
+
provider_auth_expired: "provider_auth_expired";
|
|
766
|
+
provider_auth_invalid: "provider_auth_invalid";
|
|
767
|
+
provider_conflict: "provider_conflict";
|
|
768
|
+
provider_inventory_incomplete: "provider_inventory_incomplete";
|
|
769
|
+
provider_locked: "provider_locked";
|
|
770
|
+
provider_not_found: "provider_not_found";
|
|
771
|
+
provider_outcome_unknown: "provider_outcome_unknown";
|
|
772
|
+
provider_permission_denied: "provider_permission_denied";
|
|
773
|
+
provider_rate_limited: "provider_rate_limited";
|
|
774
|
+
provider_unavailable: "provider_unavailable";
|
|
775
|
+
}>;
|
|
776
|
+
retryAfterMs: z.ZodNullable<z.ZodNumber>;
|
|
777
|
+
}, z.core.$strict>;
|
|
778
|
+
export type VaultProviderWireError = z.infer<typeof VaultProviderWireError>;
|
|
779
|
+
/**
|
|
780
|
+
* Response envelope. `result` is validated separately against
|
|
781
|
+
* `VaultProviderWireResults[op]` for the operation that was requested.
|
|
782
|
+
*/
|
|
783
|
+
export declare const VaultProviderWireResponseEnvelope: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
784
|
+
version: z.ZodLiteral<"opengeni.vault.v1">;
|
|
785
|
+
type: z.ZodLiteral<"response">;
|
|
786
|
+
requestId: z.ZodString;
|
|
787
|
+
ok: z.ZodLiteral<true>;
|
|
788
|
+
op: z.ZodEnum<{
|
|
789
|
+
archive_item: "archive_item";
|
|
790
|
+
describe: "describe";
|
|
791
|
+
list_items: "list_items";
|
|
792
|
+
list_vaults: "list_vaults";
|
|
793
|
+
read_fields: "read_fields";
|
|
794
|
+
refresh: "refresh";
|
|
795
|
+
write_item: "write_item";
|
|
796
|
+
}>;
|
|
797
|
+
result: z.ZodUnknown;
|
|
798
|
+
freshness: z.ZodNullable<z.ZodObject<{
|
|
799
|
+
state: z.ZodEnum<{
|
|
800
|
+
current: "current";
|
|
801
|
+
refreshing: "refreshing";
|
|
802
|
+
stale: "stale";
|
|
803
|
+
unavailable: "unavailable";
|
|
804
|
+
}>;
|
|
805
|
+
sourceSyncedAt: z.ZodNullable<z.ZodString>;
|
|
806
|
+
source: z.ZodEnum<{
|
|
807
|
+
cache: "cache";
|
|
808
|
+
live: "live";
|
|
809
|
+
unknown: "unknown";
|
|
810
|
+
}>;
|
|
811
|
+
errorCode: z.ZodNullable<z.ZodEnum<{
|
|
812
|
+
provider_auth_expired: "provider_auth_expired";
|
|
813
|
+
provider_auth_invalid: "provider_auth_invalid";
|
|
814
|
+
provider_conflict: "provider_conflict";
|
|
815
|
+
provider_inventory_incomplete: "provider_inventory_incomplete";
|
|
816
|
+
provider_locked: "provider_locked";
|
|
817
|
+
provider_not_found: "provider_not_found";
|
|
818
|
+
provider_outcome_unknown: "provider_outcome_unknown";
|
|
819
|
+
provider_permission_denied: "provider_permission_denied";
|
|
820
|
+
provider_rate_limited: "provider_rate_limited";
|
|
821
|
+
provider_unavailable: "provider_unavailable";
|
|
822
|
+
}>>;
|
|
823
|
+
retryAt: z.ZodNullable<z.ZodString>;
|
|
824
|
+
}, z.core.$strict>>;
|
|
825
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
826
|
+
version: z.ZodLiteral<"opengeni.vault.v1">;
|
|
827
|
+
type: z.ZodLiteral<"response">;
|
|
828
|
+
requestId: z.ZodString;
|
|
829
|
+
ok: z.ZodLiteral<false>;
|
|
830
|
+
op: z.ZodEnum<{
|
|
831
|
+
archive_item: "archive_item";
|
|
832
|
+
describe: "describe";
|
|
833
|
+
list_items: "list_items";
|
|
834
|
+
list_vaults: "list_vaults";
|
|
835
|
+
read_fields: "read_fields";
|
|
836
|
+
refresh: "refresh";
|
|
837
|
+
write_item: "write_item";
|
|
838
|
+
}>;
|
|
839
|
+
error: z.ZodObject<{
|
|
840
|
+
code: z.ZodEnum<{
|
|
841
|
+
provider_auth_expired: "provider_auth_expired";
|
|
842
|
+
provider_auth_invalid: "provider_auth_invalid";
|
|
843
|
+
provider_conflict: "provider_conflict";
|
|
844
|
+
provider_inventory_incomplete: "provider_inventory_incomplete";
|
|
845
|
+
provider_locked: "provider_locked";
|
|
846
|
+
provider_not_found: "provider_not_found";
|
|
847
|
+
provider_outcome_unknown: "provider_outcome_unknown";
|
|
848
|
+
provider_permission_denied: "provider_permission_denied";
|
|
849
|
+
provider_rate_limited: "provider_rate_limited";
|
|
850
|
+
provider_unavailable: "provider_unavailable";
|
|
851
|
+
}>;
|
|
852
|
+
retryAfterMs: z.ZodNullable<z.ZodNumber>;
|
|
853
|
+
}, z.core.$strict>;
|
|
854
|
+
freshness: z.ZodNullable<z.ZodObject<{
|
|
855
|
+
state: z.ZodEnum<{
|
|
856
|
+
current: "current";
|
|
857
|
+
refreshing: "refreshing";
|
|
858
|
+
stale: "stale";
|
|
859
|
+
unavailable: "unavailable";
|
|
860
|
+
}>;
|
|
861
|
+
sourceSyncedAt: z.ZodNullable<z.ZodString>;
|
|
862
|
+
source: z.ZodEnum<{
|
|
863
|
+
cache: "cache";
|
|
864
|
+
live: "live";
|
|
865
|
+
unknown: "unknown";
|
|
866
|
+
}>;
|
|
867
|
+
errorCode: z.ZodNullable<z.ZodEnum<{
|
|
868
|
+
provider_auth_expired: "provider_auth_expired";
|
|
869
|
+
provider_auth_invalid: "provider_auth_invalid";
|
|
870
|
+
provider_conflict: "provider_conflict";
|
|
871
|
+
provider_inventory_incomplete: "provider_inventory_incomplete";
|
|
872
|
+
provider_locked: "provider_locked";
|
|
873
|
+
provider_not_found: "provider_not_found";
|
|
874
|
+
provider_outcome_unknown: "provider_outcome_unknown";
|
|
875
|
+
provider_permission_denied: "provider_permission_denied";
|
|
876
|
+
provider_rate_limited: "provider_rate_limited";
|
|
877
|
+
provider_unavailable: "provider_unavailable";
|
|
878
|
+
}>>;
|
|
879
|
+
retryAt: z.ZodNullable<z.ZodString>;
|
|
880
|
+
}, z.core.$strict>>;
|
|
881
|
+
}, z.core.$strict>], "ok">;
|
|
882
|
+
export type VaultProviderWireSuccess<Op extends VaultProviderWireOperationName = VaultProviderWireOperationName> = {
|
|
883
|
+
[K in Op]: {
|
|
884
|
+
version: typeof VAULT_PROVIDER_WIRE_VERSION;
|
|
885
|
+
type: "response";
|
|
886
|
+
requestId: string;
|
|
887
|
+
ok: true;
|
|
888
|
+
op: K;
|
|
889
|
+
result: VaultProviderWireResult<K>;
|
|
890
|
+
freshness: VaultProviderWireFreshness | null;
|
|
891
|
+
};
|
|
892
|
+
}[Op];
|
|
893
|
+
export type VaultProviderWireFailure = {
|
|
894
|
+
version: typeof VAULT_PROVIDER_WIRE_VERSION;
|
|
895
|
+
type: "response";
|
|
896
|
+
requestId: string;
|
|
897
|
+
ok: false;
|
|
898
|
+
op: VaultProviderWireOperationName;
|
|
899
|
+
error: VaultProviderWireError;
|
|
900
|
+
freshness: VaultProviderWireFreshness | null;
|
|
901
|
+
};
|
|
902
|
+
export type VaultProviderWireResponse = VaultProviderWireSuccess | VaultProviderWireFailure;
|
|
903
|
+
/** Parse one response envelope and its operation-specific result. */
|
|
904
|
+
export declare function parseVaultProviderWireResponse<Op extends VaultProviderWireOperationName>(value: unknown, expected: {
|
|
905
|
+
requestId: string;
|
|
906
|
+
op: Op;
|
|
907
|
+
}): VaultProviderWireSuccess<Op> | VaultProviderWireFailure | null;
|