@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
package/dist/slack-bot-scopes.js
CHANGED
|
@@ -14,8 +14,10 @@ import {
|
|
|
14
14
|
evaluateOpenGeniSlackBotScopes,
|
|
15
15
|
hasOpenGeniSlackBotSearchScopes,
|
|
16
16
|
hasOpenGeniSlackFileUploadScope,
|
|
17
|
-
hasOpenGeniSlackReactionScope
|
|
18
|
-
|
|
17
|
+
hasOpenGeniSlackReactionScope,
|
|
18
|
+
openGeniSlackBotRequestedScopes
|
|
19
|
+
} from "./chunk-SHO4YO4B.js";
|
|
20
|
+
import "./chunk-PUIUXIOL.js";
|
|
19
21
|
export {
|
|
20
22
|
OPENGENI_MANAGED_PUBLIC_BASE_URL,
|
|
21
23
|
OPENGENI_SLACK_BOT_EVENTS,
|
|
@@ -32,6 +34,7 @@ export {
|
|
|
32
34
|
evaluateOpenGeniSlackBotScopes,
|
|
33
35
|
hasOpenGeniSlackBotSearchScopes,
|
|
34
36
|
hasOpenGeniSlackFileUploadScope,
|
|
35
|
-
hasOpenGeniSlackReactionScope
|
|
37
|
+
hasOpenGeniSlackReactionScope,
|
|
38
|
+
openGeniSlackBotRequestedScopes
|
|
36
39
|
};
|
|
37
40
|
//# sourceMappingURL=slack-bot-scopes.js.map
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/** The catalog and OAuth identity stay stable while calls use the ordinary Web API. */
|
|
2
|
+
export declare const OFFICIAL_SLACK_MCP_URL = "https://mcp.slack.com/mcp";
|
|
3
|
+
export declare const SLACK_REST_API_BASE = "https://slack.com/api/";
|
|
4
|
+
/** Private Slack file bytes are served only from this origin and path. */
|
|
5
|
+
export declare const SLACK_PRIVATE_FILE_ORIGIN = "https://files.slack.com";
|
|
6
|
+
export declare const SLACK_PRIVATE_FILE_PATH_PREFIX = "/files-pri/";
|
|
7
|
+
/** A private Slack file download URL that may carry a Slack user token. */
|
|
8
|
+
export declare function isSlackPrivateFileUrl(value: string | URL): boolean;
|
|
9
|
+
export declare const OPENGENI_SLACK_REST_USER_SCOPES: readonly ["channels:read", "groups:read", "im:read", "mpim:read", "channels:history", "groups:history", "im:history", "mpim:history", "users:read", "files:read", "im:write", "chat:write"];
|
|
10
|
+
/** Slack returns comma-delimited scopes, including in existing saved grants. */
|
|
11
|
+
export declare function normalizeSlackScopes(scopes: readonly string[] | string | undefined | null): string[];
|
|
12
|
+
export type SlackRestMcpTool = {
|
|
13
|
+
name: string;
|
|
14
|
+
description: string;
|
|
15
|
+
inputSchema: {
|
|
16
|
+
type: "object";
|
|
17
|
+
properties: Record<string, unknown>;
|
|
18
|
+
required: string[];
|
|
19
|
+
additionalProperties: false;
|
|
20
|
+
};
|
|
21
|
+
annotations: {
|
|
22
|
+
readOnlyHint: boolean;
|
|
23
|
+
destructiveHint: false;
|
|
24
|
+
idempotentHint: boolean;
|
|
25
|
+
openWorldHint: true;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
/** Static reviewed pilot surface. Each call reads only one explicitly requested page. */
|
|
29
|
+
export declare const SLACK_REST_MCP_TOOLS: SlackRestMcpTool[];
|
|
30
|
+
export declare function slackRestMcpToolsForScopes(scopes: readonly string[] | string): SlackRestMcpTool[];
|
|
31
|
+
export declare const SLACK_CONVERSATION_READ_SCOPE_BY_TYPE: {
|
|
32
|
+
readonly public_channel: "channels:read";
|
|
33
|
+
readonly private_channel: "groups:read";
|
|
34
|
+
readonly im: "im:read";
|
|
35
|
+
readonly mpim: "mpim:read";
|
|
36
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import {
|
|
2
|
+
OFFICIAL_SLACK_MCP_URL,
|
|
3
|
+
OPENGENI_SLACK_REST_USER_SCOPES,
|
|
4
|
+
SLACK_CONVERSATION_READ_SCOPE_BY_TYPE,
|
|
5
|
+
SLACK_PRIVATE_FILE_ORIGIN,
|
|
6
|
+
SLACK_PRIVATE_FILE_PATH_PREFIX,
|
|
7
|
+
SLACK_REST_API_BASE,
|
|
8
|
+
SLACK_REST_MCP_TOOLS,
|
|
9
|
+
isSlackPrivateFileUrl,
|
|
10
|
+
normalizeSlackScopes,
|
|
11
|
+
slackRestMcpToolsForScopes
|
|
12
|
+
} from "./chunk-PUIUXIOL.js";
|
|
13
|
+
export {
|
|
14
|
+
OFFICIAL_SLACK_MCP_URL,
|
|
15
|
+
OPENGENI_SLACK_REST_USER_SCOPES,
|
|
16
|
+
SLACK_CONVERSATION_READ_SCOPE_BY_TYPE,
|
|
17
|
+
SLACK_PRIVATE_FILE_ORIGIN,
|
|
18
|
+
SLACK_PRIVATE_FILE_PATH_PREFIX,
|
|
19
|
+
SLACK_REST_API_BASE,
|
|
20
|
+
SLACK_REST_MCP_TOOLS,
|
|
21
|
+
isSlackPrivateFileUrl,
|
|
22
|
+
normalizeSlackScopes,
|
|
23
|
+
slackRestMcpToolsForScopes
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=slack-rest-mcp.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -11,6 +11,9 @@ export declare const SPREADSHEET_ARTIFACT_COMMAND_MAX_COMMANDS = 4096;
|
|
|
11
11
|
export declare const SPREADSHEET_ARTIFACT_COMMAND_MAX_CELLS = 1000000;
|
|
12
12
|
export declare const SPREADSHEET_ARTIFACT_COMMAND_MAX_STRING_BYTES: number;
|
|
13
13
|
export declare const SPREADSHEET_ARTIFACT_SHEET_NAME_MAX_UTF16_UNITS = 31;
|
|
14
|
+
export declare const SPREADSHEET_DEFAULT_ROW_HEIGHT = 24;
|
|
15
|
+
export declare const SPREADSHEET_DEFAULT_COLUMN_WIDTH = 96;
|
|
16
|
+
export declare const SPREADSHEET_MAX_DIMENSION_PIXELS = 4096;
|
|
14
17
|
declare const stableIdBrand: unique symbol;
|
|
15
18
|
/** Fixed-width lowercase hexadecimal 128-bit id. Runtime helpers enforce use. */
|
|
16
19
|
export type EditableArtifactStableId = string & {
|
|
@@ -85,7 +88,17 @@ export type SpreadsheetClearRangeCommand = Readonly<{
|
|
|
85
88
|
sheet: SpreadsheetSheetPrecondition;
|
|
86
89
|
range: SpreadsheetCellRange;
|
|
87
90
|
}>;
|
|
88
|
-
export type SpreadsheetArtifactCommand = SpreadsheetCreateSheetCommand | SpreadsheetRenameSheetCommand | SpreadsheetDeleteSheetCommand | SpreadsheetSetCellsCommand | SpreadsheetClearRangeCommand
|
|
91
|
+
export type SpreadsheetArtifactCommand = SpreadsheetCreateSheetCommand | SpreadsheetRenameSheetCommand | SpreadsheetDeleteSheetCommand | SpreadsheetSetCellsCommand | SpreadsheetClearRangeCommand | Readonly<{
|
|
92
|
+
kind: "row.height.set";
|
|
93
|
+
sheet: SpreadsheetSheetPrecondition;
|
|
94
|
+
row: number;
|
|
95
|
+
height: number | null;
|
|
96
|
+
}> | Readonly<{
|
|
97
|
+
kind: "column.width.set";
|
|
98
|
+
sheet: SpreadsheetSheetPrecondition;
|
|
99
|
+
column: number;
|
|
100
|
+
width: number | null;
|
|
101
|
+
}>;
|
|
89
102
|
export type SpreadsheetArtifactCommandBatch = Readonly<{
|
|
90
103
|
version: typeof SPREADSHEET_ARTIFACT_COMMAND_VERSION;
|
|
91
104
|
commands: readonly SpreadsheetArtifactCommand[];
|
|
@@ -4,15 +4,19 @@ import {
|
|
|
4
4
|
SPREADSHEET_ARTIFACT_COMMAND_MAX_COMMANDS,
|
|
5
5
|
SPREADSHEET_ARTIFACT_COMMAND_MAX_STRING_BYTES,
|
|
6
6
|
SPREADSHEET_ARTIFACT_SHEET_NAME_MAX_UTF16_UNITS,
|
|
7
|
+
SPREADSHEET_DEFAULT_COLUMN_WIDTH,
|
|
8
|
+
SPREADSHEET_DEFAULT_ROW_HEIGHT,
|
|
9
|
+
SPREADSHEET_MAX_DIMENSION_PIXELS,
|
|
7
10
|
assertCanonicalSpreadsheetArtifactCommandBytes,
|
|
8
11
|
decodeSpreadsheetArtifactCommandBatch,
|
|
9
12
|
editableArtifactStableId,
|
|
10
13
|
encodeSpreadsheetArtifactCommandBatch,
|
|
11
14
|
spreadsheetSheetId
|
|
12
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-RUQ4I6DO.js";
|
|
13
16
|
import {
|
|
14
17
|
SPREADSHEET_ARTIFACT_COMMAND_VERSION
|
|
15
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-WVCFSOUZ.js";
|
|
19
|
+
import "./chunk-WQI7VNN4.js";
|
|
16
20
|
export {
|
|
17
21
|
SPREADSHEET_ARTIFACT_COMMAND_MAX_BYTES,
|
|
18
22
|
SPREADSHEET_ARTIFACT_COMMAND_MAX_CELLS,
|
|
@@ -20,6 +24,9 @@ export {
|
|
|
20
24
|
SPREADSHEET_ARTIFACT_COMMAND_MAX_STRING_BYTES,
|
|
21
25
|
SPREADSHEET_ARTIFACT_COMMAND_VERSION,
|
|
22
26
|
SPREADSHEET_ARTIFACT_SHEET_NAME_MAX_UTF16_UNITS,
|
|
27
|
+
SPREADSHEET_DEFAULT_COLUMN_WIDTH,
|
|
28
|
+
SPREADSHEET_DEFAULT_ROW_HEIGHT,
|
|
29
|
+
SPREADSHEET_MAX_DIMENSION_PIXELS,
|
|
23
30
|
assertCanonicalSpreadsheetArtifactCommandBytes,
|
|
24
31
|
decodeSpreadsheetArtifactCommandBatch,
|
|
25
32
|
editableArtifactStableId,
|
|
@@ -9,6 +9,13 @@ export declare const SPREADSHEET_ARTIFACT_METADATA_MAX_SHEETS = 10000;
|
|
|
9
9
|
export declare const SPREADSHEET_ARTIFACT_PROJECTION_MAX_STRING_BYTES: number;
|
|
10
10
|
export declare const SPREADSHEET_ARTIFACT_VIEWPORT_MIN_RESPONSE_BYTES = 92;
|
|
11
11
|
export declare const SPREADSHEET_ARTIFACT_METADATA_MIN_RESPONSE_BYTES = 48;
|
|
12
|
+
/** Sparse absolute zero-based indices; omitted only in pre-dimension private projections. */
|
|
13
|
+
export type SpreadsheetArtifactDimensions = Readonly<{
|
|
14
|
+
defaultRowHeight?: number;
|
|
15
|
+
defaultColumnWidth?: number;
|
|
16
|
+
rowHeights?: readonly (readonly [number, number])[];
|
|
17
|
+
columnWidths?: readonly (readonly [number, number])[];
|
|
18
|
+
}>;
|
|
12
19
|
export type SpreadsheetArtifactViewportQuery = Readonly<{
|
|
13
20
|
sheetId: EditableArtifactStableId;
|
|
14
21
|
startRow: number;
|
|
@@ -61,7 +68,7 @@ export type SpreadsheetArtifactProjectedCell = Readonly<{
|
|
|
61
68
|
value: SpreadsheetArtifactProjectedCellValue;
|
|
62
69
|
}>;
|
|
63
70
|
/** Complete and non-truncated. A limit breach is an error, never a partial response. */
|
|
64
|
-
export type SpreadsheetArtifactViewportProjection = Readonly<{
|
|
71
|
+
export type SpreadsheetArtifactViewportProjection = SpreadsheetArtifactDimensions & Readonly<{
|
|
65
72
|
revision: bigint;
|
|
66
73
|
sheetId: EditableArtifactStableId;
|
|
67
74
|
generationId: EditableArtifactStableId | null;
|
|
@@ -77,19 +84,19 @@ export type SpreadsheetArtifactUsedBounds = Readonly<{
|
|
|
77
84
|
endRow: number;
|
|
78
85
|
endColumn: number;
|
|
79
86
|
}>;
|
|
80
|
-
export type SpreadsheetArtifactSheetMetadata = Readonly<{
|
|
87
|
+
export type SpreadsheetArtifactSheetMetadata = SpreadsheetArtifactDimensions & Readonly<{
|
|
81
88
|
sheetId: EditableArtifactStableId;
|
|
82
89
|
generationId: EditableArtifactStableId | null;
|
|
83
90
|
name: string;
|
|
84
91
|
usedBounds: SpreadsheetArtifactUsedBounds | null;
|
|
85
92
|
}>;
|
|
86
93
|
/**
|
|
87
|
-
*
|
|
88
|
-
* merges
|
|
89
|
-
*
|
|
94
|
+
* Dimensions are carried under the explicit dimensions flag. Hidden state,
|
|
95
|
+
* merges and styles remain unsupported. Pre-dimension private projections
|
|
96
|
+
* carry dimensions=false and round-trip without inventing geometry.
|
|
90
97
|
*/
|
|
91
98
|
export type SpreadsheetArtifactModeledFeatures = Readonly<{
|
|
92
|
-
dimensions:
|
|
99
|
+
dimensions: boolean;
|
|
93
100
|
hidden: false;
|
|
94
101
|
merges: false;
|
|
95
102
|
}>;
|
|
@@ -20,9 +20,10 @@ import {
|
|
|
20
20
|
encodeSpreadsheetMetadataKernelQuery,
|
|
21
21
|
encodeSpreadsheetViewportKernelProjection,
|
|
22
22
|
encodeSpreadsheetViewportKernelQuery
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
23
|
+
} from "./chunk-W3NBPR4E.js";
|
|
24
|
+
import "./chunk-RUQ4I6DO.js";
|
|
25
|
+
import "./chunk-WVCFSOUZ.js";
|
|
26
|
+
import "./chunk-WQI7VNN4.js";
|
|
26
27
|
export {
|
|
27
28
|
SPREADSHEET_ARTIFACT_METADATA_MAX_SHEETS,
|
|
28
29
|
SPREADSHEET_ARTIFACT_METADATA_MIN_RESPONSE_BYTES,
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/**
|
|
3
|
+
* Request bodies for subscription account actions (Codex, Claude, SuperGrok):
|
|
4
|
+
* renaming, pausing, rotation, extra credits and device sign-in. The routes
|
|
5
|
+
* validate with these, and the agent action catalog shows them as the input.
|
|
6
|
+
*/
|
|
7
|
+
/** Rename an account. An empty or null label goes back to the account's email. */
|
|
8
|
+
export declare const SubscriptionAccountRenameRequest: z.ZodObject<{
|
|
9
|
+
label: z.ZodNullable<z.ZodString>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
export type SubscriptionAccountRenameRequest = z.infer<typeof SubscriptionAccountRenameRequest>;
|
|
12
|
+
/**
|
|
13
|
+
* Turn one account setting on or off: "used for new work" (allocator) or extra
|
|
14
|
+
* credits. expectedVersion is the account's current allocatorVersion or
|
|
15
|
+
* extraCreditsVersion; a stale version is refused so concurrent edits don't clash.
|
|
16
|
+
*/
|
|
17
|
+
export declare const SubscriptionAccountToggleRequest: z.ZodObject<{
|
|
18
|
+
enabled: z.ZodBoolean;
|
|
19
|
+
expectedVersion: z.ZodNumber;
|
|
20
|
+
}, z.core.$strip>;
|
|
21
|
+
export type SubscriptionAccountToggleRequest = z.infer<typeof SubscriptionAccountToggleRequest>;
|
|
22
|
+
/** Account picking: true spreads work across every usable account, false uses the primary one only. */
|
|
23
|
+
export declare const SubscriptionRotationSettingsRequest: z.ZodObject<{
|
|
24
|
+
rotationEnabled: z.ZodBoolean;
|
|
25
|
+
}, z.core.$strip>;
|
|
26
|
+
export type SubscriptionRotationSettingsRequest = z.infer<typeof SubscriptionRotationSettingsRequest>;
|
|
27
|
+
/** Check a device sign-in with the state returned by its connect/start call. */
|
|
28
|
+
export declare const SubscriptionConnectPollRequest: z.ZodObject<{
|
|
29
|
+
state: z.ZodString;
|
|
30
|
+
}, z.core.$strip>;
|
|
31
|
+
export type SubscriptionConnectPollRequest = z.infer<typeof SubscriptionConnectPollRequest>;
|
|
32
|
+
/** Where a workspace SuperGrok sign-in lands: the shared workspace pool or only the person. */
|
|
33
|
+
export declare const SupergrokConnectStartRequest: z.ZodObject<{
|
|
34
|
+
scope: z.ZodDefault<z.ZodEnum<{
|
|
35
|
+
user: "user";
|
|
36
|
+
workspace: "workspace";
|
|
37
|
+
}>>;
|
|
38
|
+
}, z.core.$strip>;
|
|
39
|
+
export type SupergrokConnectStartRequest = z.infer<typeof SupergrokConnectStartRequest>;
|
|
40
|
+
/**
|
|
41
|
+
* A started device sign-in (Codex or SuperGrok): the person enters userCode at
|
|
42
|
+
* verificationUri (or opens verificationUriComplete), then the caller polls
|
|
43
|
+
* connect/poll with state every intervalSeconds.
|
|
44
|
+
*/
|
|
45
|
+
export declare const SubscriptionDeviceSignInStart: z.ZodObject<{
|
|
46
|
+
userCode: z.ZodString;
|
|
47
|
+
verificationUri: z.ZodString;
|
|
48
|
+
verificationUriComplete: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
49
|
+
intervalSeconds: z.ZodNumber;
|
|
50
|
+
expiresInSeconds: z.ZodOptional<z.ZodNumber>;
|
|
51
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
52
|
+
organization: "organization";
|
|
53
|
+
user: "user";
|
|
54
|
+
workspace: "workspace";
|
|
55
|
+
}>>;
|
|
56
|
+
state: z.ZodString;
|
|
57
|
+
}, z.core.$strip>;
|
|
58
|
+
export type SubscriptionDeviceSignInStart = z.infer<typeof SubscriptionDeviceSignInStart>;
|
|
59
|
+
/**
|
|
60
|
+
* Which Codex accounts a workspace uses: automatic (Opengeni picks from the
|
|
61
|
+
* workspace's and the organization's accounts), only the workspace's own, only
|
|
62
|
+
* the organization's, or none (Codex off for the workspace).
|
|
63
|
+
*/
|
|
64
|
+
export declare const CodexSourceRequest: z.ZodObject<{
|
|
65
|
+
mode: z.ZodEnum<{
|
|
66
|
+
automatic: "automatic";
|
|
67
|
+
disabled: "disabled";
|
|
68
|
+
organization: "organization";
|
|
69
|
+
workspace: "workspace";
|
|
70
|
+
}>;
|
|
71
|
+
}, z.core.$strip>;
|
|
72
|
+
export type CodexSourceRequest = z.infer<typeof CodexSourceRequest>;
|
|
73
|
+
/** Choose the Codex account that serves Codex Apps; expectedVersion is the current designation version. */
|
|
74
|
+
export declare const CodexAppsDesignationRequest: z.ZodObject<{
|
|
75
|
+
accountId: z.ZodString;
|
|
76
|
+
expectedVersion: z.ZodNumber;
|
|
77
|
+
}, z.core.$strip>;
|
|
78
|
+
export type CodexAppsDesignationRequest = z.infer<typeof CodexAppsDesignationRequest>;
|
|
79
|
+
/** Pin one chat to a Codex account by id, or "auto" to let Opengeni pick again. */
|
|
80
|
+
export declare const SessionCodexAccountPinRequest: z.ZodObject<{
|
|
81
|
+
target: z.ZodString;
|
|
82
|
+
}, z.core.$strip>;
|
|
83
|
+
export type SessionCodexAccountPinRequest = z.infer<typeof SessionCodexAccountPinRequest>;
|
|
@@ -0,0 +1,326 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/**
|
|
3
|
+
* Who an account in the organization's list reaches: the workspace that owns
|
|
4
|
+
* it (its own account, used only there), every workspace including new ones,
|
|
5
|
+
* chosen shared workspaces, Personal workspaces, or chosen people.
|
|
6
|
+
*/
|
|
7
|
+
export declare const SubscriptionAccountReach: z.ZodObject<{
|
|
8
|
+
ownerWorkspaceId: z.ZodNullable<z.ZodString>;
|
|
9
|
+
everyWorkspace: z.ZodBoolean;
|
|
10
|
+
workspaceIds: z.ZodArray<z.ZodString>;
|
|
11
|
+
personalWorkspaces: z.ZodBoolean;
|
|
12
|
+
people: z.ZodNullable<z.ZodNumber>;
|
|
13
|
+
}, z.core.$strict>;
|
|
14
|
+
export type SubscriptionAccountReach = z.infer<typeof SubscriptionAccountReach>;
|
|
15
|
+
/** Shared, secret-free account list contract for native subscription pools. */
|
|
16
|
+
export declare const SubscriptionAccountSummary: z.ZodObject<{
|
|
17
|
+
id: z.ZodString;
|
|
18
|
+
scope: z.ZodEnum<{
|
|
19
|
+
organization: "organization";
|
|
20
|
+
user: "user";
|
|
21
|
+
workspace: "workspace";
|
|
22
|
+
}>;
|
|
23
|
+
subject: z.ZodString;
|
|
24
|
+
email: z.ZodNullable<z.ZodString>;
|
|
25
|
+
label: z.ZodNullable<z.ZodString>;
|
|
26
|
+
plan: z.ZodNullable<z.ZodString>;
|
|
27
|
+
status: z.ZodEnum<{
|
|
28
|
+
active: "active";
|
|
29
|
+
disabled: "disabled";
|
|
30
|
+
error: "error";
|
|
31
|
+
needs_relogin: "needs_relogin";
|
|
32
|
+
}>;
|
|
33
|
+
active: z.ZodBoolean;
|
|
34
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
35
|
+
lastRefreshAt: z.ZodNullable<z.ZodString>;
|
|
36
|
+
lastError: z.ZodNullable<z.ZodString>;
|
|
37
|
+
allocatorEnabled: z.ZodBoolean;
|
|
38
|
+
allocatorVersion: z.ZodNumber;
|
|
39
|
+
allocatorUpdatedAt: z.ZodNullable<z.ZodString>;
|
|
40
|
+
reach: z.ZodOptional<z.ZodObject<{
|
|
41
|
+
ownerWorkspaceId: z.ZodNullable<z.ZodString>;
|
|
42
|
+
everyWorkspace: z.ZodBoolean;
|
|
43
|
+
workspaceIds: z.ZodArray<z.ZodString>;
|
|
44
|
+
personalWorkspaces: z.ZodBoolean;
|
|
45
|
+
people: z.ZodNullable<z.ZodNumber>;
|
|
46
|
+
}, z.core.$strict>>;
|
|
47
|
+
}, z.core.$strip>;
|
|
48
|
+
export type SubscriptionAccountSummary = z.infer<typeof SubscriptionAccountSummary>;
|
|
49
|
+
export declare const SubscriptionPoolSettings: z.ZodObject<{
|
|
50
|
+
rotationEnabled: z.ZodBoolean;
|
|
51
|
+
rotationStrategy: z.ZodLiteral<"sharded">;
|
|
52
|
+
activeCredentialId: z.ZodNullable<z.ZodString>;
|
|
53
|
+
}, z.core.$strict>;
|
|
54
|
+
export type SubscriptionPoolSettings = z.infer<typeof SubscriptionPoolSettings>;
|
|
55
|
+
export declare const ClaudeSubscriptionAccount: z.ZodObject<{
|
|
56
|
+
id: z.ZodString;
|
|
57
|
+
scope: z.ZodEnum<{
|
|
58
|
+
organization: "organization";
|
|
59
|
+
user: "user";
|
|
60
|
+
workspace: "workspace";
|
|
61
|
+
}>;
|
|
62
|
+
subject: z.ZodString;
|
|
63
|
+
email: z.ZodNullable<z.ZodString>;
|
|
64
|
+
label: z.ZodNullable<z.ZodString>;
|
|
65
|
+
plan: z.ZodNullable<z.ZodString>;
|
|
66
|
+
status: z.ZodEnum<{
|
|
67
|
+
active: "active";
|
|
68
|
+
disabled: "disabled";
|
|
69
|
+
error: "error";
|
|
70
|
+
needs_relogin: "needs_relogin";
|
|
71
|
+
}>;
|
|
72
|
+
active: z.ZodBoolean;
|
|
73
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
74
|
+
lastRefreshAt: z.ZodNullable<z.ZodString>;
|
|
75
|
+
lastError: z.ZodNullable<z.ZodString>;
|
|
76
|
+
allocatorEnabled: z.ZodBoolean;
|
|
77
|
+
allocatorVersion: z.ZodNumber;
|
|
78
|
+
allocatorUpdatedAt: z.ZodNullable<z.ZodString>;
|
|
79
|
+
reach: z.ZodOptional<z.ZodObject<{
|
|
80
|
+
ownerWorkspaceId: z.ZodNullable<z.ZodString>;
|
|
81
|
+
everyWorkspace: z.ZodBoolean;
|
|
82
|
+
workspaceIds: z.ZodArray<z.ZodString>;
|
|
83
|
+
personalWorkspaces: z.ZodBoolean;
|
|
84
|
+
people: z.ZodNullable<z.ZodNumber>;
|
|
85
|
+
}, z.core.$strict>>;
|
|
86
|
+
version: z.ZodNumber;
|
|
87
|
+
usage: z.ZodOptional<z.ZodObject<{
|
|
88
|
+
connected: z.ZodBoolean;
|
|
89
|
+
credentialVersion: z.ZodNullable<z.ZodNumber>;
|
|
90
|
+
windows: z.ZodArray<z.ZodObject<{
|
|
91
|
+
id: z.ZodEnum<{
|
|
92
|
+
five_hour: "five_hour";
|
|
93
|
+
overage: "overage";
|
|
94
|
+
seven_day: "seven_day";
|
|
95
|
+
seven_day_opus: "seven_day_opus";
|
|
96
|
+
seven_day_overage_included: "seven_day_overage_included";
|
|
97
|
+
seven_day_sonnet: "seven_day_sonnet";
|
|
98
|
+
}>;
|
|
99
|
+
usedPercent: z.ZodNullable<z.ZodNumber>;
|
|
100
|
+
resetsAt: z.ZodNullable<z.ZodString>;
|
|
101
|
+
status: z.ZodNullable<z.ZodEnum<{
|
|
102
|
+
allowed: "allowed";
|
|
103
|
+
allowed_warning: "allowed_warning";
|
|
104
|
+
rejected: "rejected";
|
|
105
|
+
}>>;
|
|
106
|
+
observedAt: z.ZodString;
|
|
107
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
108
|
+
provider: "provider";
|
|
109
|
+
response_headers: "response_headers";
|
|
110
|
+
}>>;
|
|
111
|
+
}, z.core.$strict>>;
|
|
112
|
+
observedAt: z.ZodNullable<z.ZodString>;
|
|
113
|
+
source: z.ZodNullable<z.ZodEnum<{
|
|
114
|
+
provider: "provider";
|
|
115
|
+
response_headers: "response_headers";
|
|
116
|
+
}>>;
|
|
117
|
+
refreshStatus: z.ZodEnum<{
|
|
118
|
+
available: "available";
|
|
119
|
+
not_checked: "not_checked";
|
|
120
|
+
reconnect: "reconnect";
|
|
121
|
+
scope_required: "scope_required";
|
|
122
|
+
unavailable: "unavailable";
|
|
123
|
+
}>;
|
|
124
|
+
refreshCheckedAt: z.ZodNullable<z.ZodString>;
|
|
125
|
+
requestStatus: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
126
|
+
status: z.ZodNullable<z.ZodEnum<{
|
|
127
|
+
allowed: "allowed";
|
|
128
|
+
allowed_warning: "allowed_warning";
|
|
129
|
+
rejected: "rejected";
|
|
130
|
+
}>>;
|
|
131
|
+
resetsAt: z.ZodNullable<z.ZodString>;
|
|
132
|
+
representativeClaim: z.ZodNullable<z.ZodEnum<{
|
|
133
|
+
five_hour: "five_hour";
|
|
134
|
+
overage: "overage";
|
|
135
|
+
seven_day: "seven_day";
|
|
136
|
+
seven_day_opus: "seven_day_opus";
|
|
137
|
+
seven_day_overage_included: "seven_day_overage_included";
|
|
138
|
+
seven_day_sonnet: "seven_day_sonnet";
|
|
139
|
+
}>>;
|
|
140
|
+
overageStatus: z.ZodNullable<z.ZodEnum<{
|
|
141
|
+
allowed: "allowed";
|
|
142
|
+
allowed_warning: "allowed_warning";
|
|
143
|
+
rejected: "rejected";
|
|
144
|
+
}>>;
|
|
145
|
+
overageResetsAt: z.ZodNullable<z.ZodString>;
|
|
146
|
+
upstreamModelId: z.ZodNullable<z.ZodString>;
|
|
147
|
+
observedAt: z.ZodString;
|
|
148
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
149
|
+
provider: "provider";
|
|
150
|
+
response_headers: "response_headers";
|
|
151
|
+
}>>;
|
|
152
|
+
}, z.core.$strict>>>;
|
|
153
|
+
requestRestrictions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
154
|
+
status: z.ZodNullable<z.ZodEnum<{
|
|
155
|
+
allowed: "allowed";
|
|
156
|
+
allowed_warning: "allowed_warning";
|
|
157
|
+
rejected: "rejected";
|
|
158
|
+
}>>;
|
|
159
|
+
resetsAt: z.ZodNullable<z.ZodString>;
|
|
160
|
+
representativeClaim: z.ZodNullable<z.ZodEnum<{
|
|
161
|
+
five_hour: "five_hour";
|
|
162
|
+
overage: "overage";
|
|
163
|
+
seven_day: "seven_day";
|
|
164
|
+
seven_day_opus: "seven_day_opus";
|
|
165
|
+
seven_day_overage_included: "seven_day_overage_included";
|
|
166
|
+
seven_day_sonnet: "seven_day_sonnet";
|
|
167
|
+
}>>;
|
|
168
|
+
overageStatus: z.ZodNullable<z.ZodEnum<{
|
|
169
|
+
allowed: "allowed";
|
|
170
|
+
allowed_warning: "allowed_warning";
|
|
171
|
+
rejected: "rejected";
|
|
172
|
+
}>>;
|
|
173
|
+
overageResetsAt: z.ZodNullable<z.ZodString>;
|
|
174
|
+
upstreamModelId: z.ZodNullable<z.ZodString>;
|
|
175
|
+
observedAt: z.ZodString;
|
|
176
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
177
|
+
provider: "provider";
|
|
178
|
+
response_headers: "response_headers";
|
|
179
|
+
}>>;
|
|
180
|
+
}, z.core.$strict>>>;
|
|
181
|
+
}, z.core.$strict>>;
|
|
182
|
+
}, z.core.$strict>;
|
|
183
|
+
export type ClaudeSubscriptionAccount = z.infer<typeof ClaudeSubscriptionAccount>;
|
|
184
|
+
export declare const ClaudeSubscriptionAccountsResponse: z.ZodObject<{
|
|
185
|
+
accounts: z.ZodArray<z.ZodObject<{
|
|
186
|
+
id: z.ZodString;
|
|
187
|
+
scope: z.ZodEnum<{
|
|
188
|
+
organization: "organization";
|
|
189
|
+
user: "user";
|
|
190
|
+
workspace: "workspace";
|
|
191
|
+
}>;
|
|
192
|
+
subject: z.ZodString;
|
|
193
|
+
email: z.ZodNullable<z.ZodString>;
|
|
194
|
+
label: z.ZodNullable<z.ZodString>;
|
|
195
|
+
plan: z.ZodNullable<z.ZodString>;
|
|
196
|
+
status: z.ZodEnum<{
|
|
197
|
+
active: "active";
|
|
198
|
+
disabled: "disabled";
|
|
199
|
+
error: "error";
|
|
200
|
+
needs_relogin: "needs_relogin";
|
|
201
|
+
}>;
|
|
202
|
+
active: z.ZodBoolean;
|
|
203
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
204
|
+
lastRefreshAt: z.ZodNullable<z.ZodString>;
|
|
205
|
+
lastError: z.ZodNullable<z.ZodString>;
|
|
206
|
+
allocatorEnabled: z.ZodBoolean;
|
|
207
|
+
allocatorVersion: z.ZodNumber;
|
|
208
|
+
allocatorUpdatedAt: z.ZodNullable<z.ZodString>;
|
|
209
|
+
reach: z.ZodOptional<z.ZodObject<{
|
|
210
|
+
ownerWorkspaceId: z.ZodNullable<z.ZodString>;
|
|
211
|
+
everyWorkspace: z.ZodBoolean;
|
|
212
|
+
workspaceIds: z.ZodArray<z.ZodString>;
|
|
213
|
+
personalWorkspaces: z.ZodBoolean;
|
|
214
|
+
people: z.ZodNullable<z.ZodNumber>;
|
|
215
|
+
}, z.core.$strict>>;
|
|
216
|
+
version: z.ZodNumber;
|
|
217
|
+
usage: z.ZodOptional<z.ZodObject<{
|
|
218
|
+
connected: z.ZodBoolean;
|
|
219
|
+
credentialVersion: z.ZodNullable<z.ZodNumber>;
|
|
220
|
+
windows: z.ZodArray<z.ZodObject<{
|
|
221
|
+
id: z.ZodEnum<{
|
|
222
|
+
five_hour: "five_hour";
|
|
223
|
+
overage: "overage";
|
|
224
|
+
seven_day: "seven_day";
|
|
225
|
+
seven_day_opus: "seven_day_opus";
|
|
226
|
+
seven_day_overage_included: "seven_day_overage_included";
|
|
227
|
+
seven_day_sonnet: "seven_day_sonnet";
|
|
228
|
+
}>;
|
|
229
|
+
usedPercent: z.ZodNullable<z.ZodNumber>;
|
|
230
|
+
resetsAt: z.ZodNullable<z.ZodString>;
|
|
231
|
+
status: z.ZodNullable<z.ZodEnum<{
|
|
232
|
+
allowed: "allowed";
|
|
233
|
+
allowed_warning: "allowed_warning";
|
|
234
|
+
rejected: "rejected";
|
|
235
|
+
}>>;
|
|
236
|
+
observedAt: z.ZodString;
|
|
237
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
238
|
+
provider: "provider";
|
|
239
|
+
response_headers: "response_headers";
|
|
240
|
+
}>>;
|
|
241
|
+
}, z.core.$strict>>;
|
|
242
|
+
observedAt: z.ZodNullable<z.ZodString>;
|
|
243
|
+
source: z.ZodNullable<z.ZodEnum<{
|
|
244
|
+
provider: "provider";
|
|
245
|
+
response_headers: "response_headers";
|
|
246
|
+
}>>;
|
|
247
|
+
refreshStatus: z.ZodEnum<{
|
|
248
|
+
available: "available";
|
|
249
|
+
not_checked: "not_checked";
|
|
250
|
+
reconnect: "reconnect";
|
|
251
|
+
scope_required: "scope_required";
|
|
252
|
+
unavailable: "unavailable";
|
|
253
|
+
}>;
|
|
254
|
+
refreshCheckedAt: z.ZodNullable<z.ZodString>;
|
|
255
|
+
requestStatus: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
256
|
+
status: z.ZodNullable<z.ZodEnum<{
|
|
257
|
+
allowed: "allowed";
|
|
258
|
+
allowed_warning: "allowed_warning";
|
|
259
|
+
rejected: "rejected";
|
|
260
|
+
}>>;
|
|
261
|
+
resetsAt: z.ZodNullable<z.ZodString>;
|
|
262
|
+
representativeClaim: z.ZodNullable<z.ZodEnum<{
|
|
263
|
+
five_hour: "five_hour";
|
|
264
|
+
overage: "overage";
|
|
265
|
+
seven_day: "seven_day";
|
|
266
|
+
seven_day_opus: "seven_day_opus";
|
|
267
|
+
seven_day_overage_included: "seven_day_overage_included";
|
|
268
|
+
seven_day_sonnet: "seven_day_sonnet";
|
|
269
|
+
}>>;
|
|
270
|
+
overageStatus: z.ZodNullable<z.ZodEnum<{
|
|
271
|
+
allowed: "allowed";
|
|
272
|
+
allowed_warning: "allowed_warning";
|
|
273
|
+
rejected: "rejected";
|
|
274
|
+
}>>;
|
|
275
|
+
overageResetsAt: z.ZodNullable<z.ZodString>;
|
|
276
|
+
upstreamModelId: z.ZodNullable<z.ZodString>;
|
|
277
|
+
observedAt: z.ZodString;
|
|
278
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
279
|
+
provider: "provider";
|
|
280
|
+
response_headers: "response_headers";
|
|
281
|
+
}>>;
|
|
282
|
+
}, z.core.$strict>>>;
|
|
283
|
+
requestRestrictions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
284
|
+
status: z.ZodNullable<z.ZodEnum<{
|
|
285
|
+
allowed: "allowed";
|
|
286
|
+
allowed_warning: "allowed_warning";
|
|
287
|
+
rejected: "rejected";
|
|
288
|
+
}>>;
|
|
289
|
+
resetsAt: z.ZodNullable<z.ZodString>;
|
|
290
|
+
representativeClaim: z.ZodNullable<z.ZodEnum<{
|
|
291
|
+
five_hour: "five_hour";
|
|
292
|
+
overage: "overage";
|
|
293
|
+
seven_day: "seven_day";
|
|
294
|
+
seven_day_opus: "seven_day_opus";
|
|
295
|
+
seven_day_overage_included: "seven_day_overage_included";
|
|
296
|
+
seven_day_sonnet: "seven_day_sonnet";
|
|
297
|
+
}>>;
|
|
298
|
+
overageStatus: z.ZodNullable<z.ZodEnum<{
|
|
299
|
+
allowed: "allowed";
|
|
300
|
+
allowed_warning: "allowed_warning";
|
|
301
|
+
rejected: "rejected";
|
|
302
|
+
}>>;
|
|
303
|
+
overageResetsAt: z.ZodNullable<z.ZodString>;
|
|
304
|
+
upstreamModelId: z.ZodNullable<z.ZodString>;
|
|
305
|
+
observedAt: z.ZodString;
|
|
306
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
307
|
+
provider: "provider";
|
|
308
|
+
response_headers: "response_headers";
|
|
309
|
+
}>>;
|
|
310
|
+
}, z.core.$strict>>>;
|
|
311
|
+
}, z.core.$strict>>;
|
|
312
|
+
}, z.core.$strict>>;
|
|
313
|
+
activeAccountId: z.ZodNullable<z.ZodString>;
|
|
314
|
+
source: z.ZodEnum<{
|
|
315
|
+
organization: "organization";
|
|
316
|
+
user: "user";
|
|
317
|
+
workspace: "workspace";
|
|
318
|
+
}>;
|
|
319
|
+
organizationId: z.ZodString;
|
|
320
|
+
settings: z.ZodObject<{
|
|
321
|
+
rotationEnabled: z.ZodBoolean;
|
|
322
|
+
rotationStrategy: z.ZodLiteral<"sharded">;
|
|
323
|
+
activeCredentialId: z.ZodNullable<z.ZodString>;
|
|
324
|
+
}, z.core.$strict>;
|
|
325
|
+
}, z.core.$strict>;
|
|
326
|
+
export type ClaudeSubscriptionAccountsResponse = z.infer<typeof ClaudeSubscriptionAccountsResponse>;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/**
|
|
3
|
+
* Immutable personal authority for accepted subscription work. Shared pool
|
|
4
|
+
* eligibility is live and deliberately absent from this snapshot.
|
|
5
|
+
*/
|
|
6
|
+
export declare const SubscriptionPersonalAuthorityV2: z.ZodObject<{
|
|
7
|
+
version: z.ZodLiteral<2>;
|
|
8
|
+
personal: z.ZodArray<z.ZodObject<{
|
|
9
|
+
provider: z.ZodEnum<{
|
|
10
|
+
claude: "claude";
|
|
11
|
+
codex: "codex";
|
|
12
|
+
xai: "xai";
|
|
13
|
+
}>;
|
|
14
|
+
ownerMembershipId: z.ZodString;
|
|
15
|
+
authorityGeneration: z.ZodNumber;
|
|
16
|
+
sharedSessionChoice: z.ZodOptional<z.ZodObject<{
|
|
17
|
+
sessionId: z.ZodString;
|
|
18
|
+
connectionId: z.ZodString;
|
|
19
|
+
}, z.core.$strict>>;
|
|
20
|
+
}, z.core.$strict>>;
|
|
21
|
+
}, z.core.$strict>;
|
|
22
|
+
export type SubscriptionPersonalAuthorityV2 = z.infer<typeof SubscriptionPersonalAuthorityV2>;
|
|
23
|
+
/** Return one provider's immutable personal authority from a parsed snapshot. */
|
|
24
|
+
export declare function subscriptionPersonalAuthorityForProviderV2(snapshot: SubscriptionPersonalAuthorityV2, provider: SubscriptionPersonalAuthorityV2["personal"][number]["provider"]): SubscriptionPersonalAuthorityV2["personal"][number] | null;
|
|
25
|
+
export declare const EMPTY_SUBSCRIPTION_PERSONAL_AUTHORITY_V2: {
|
|
26
|
+
readonly version: 2;
|
|
27
|
+
readonly personal: [];
|
|
28
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import {
|
|
2
|
+
EMPTY_SUBSCRIPTION_PERSONAL_AUTHORITY_V2,
|
|
3
|
+
SubscriptionPersonalAuthorityV2,
|
|
4
|
+
subscriptionPersonalAuthorityForProviderV2
|
|
5
|
+
} from "./chunk-W2QQ5Y6K.js";
|
|
6
|
+
import "./chunk-AQYDZUJV.js";
|
|
7
|
+
import "./chunk-56SNIMDO.js";
|
|
8
|
+
export {
|
|
9
|
+
EMPTY_SUBSCRIPTION_PERSONAL_AUTHORITY_V2,
|
|
10
|
+
SubscriptionPersonalAuthorityV2,
|
|
11
|
+
subscriptionPersonalAuthorityForProviderV2
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=subscription-personal-authority-v2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|