@anthropic-ai/sdk 0.119.0 → 0.121.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +46 -0
- package/helpers/beta/environments.d.mts +5 -4
- package/helpers/beta/environments.d.mts.map +1 -1
- package/helpers/beta/environments.d.ts +5 -4
- package/helpers/beta/environments.d.ts.map +1 -1
- package/helpers/beta/environments.js +5 -4
- package/helpers/beta/environments.js.map +1 -1
- package/helpers/beta/environments.mjs +5 -4
- package/helpers/beta/environments.mjs.map +1 -1
- package/helpers/beta/standard-schema.d.mts +45 -0
- package/helpers/beta/standard-schema.d.mts.map +1 -0
- package/helpers/beta/standard-schema.d.ts +45 -0
- package/helpers/beta/standard-schema.d.ts.map +1 -0
- package/helpers/beta/standard-schema.js +58 -0
- package/helpers/beta/standard-schema.js.map +1 -0
- package/helpers/beta/standard-schema.mjs +54 -0
- package/helpers/beta/standard-schema.mjs.map +1 -0
- package/internal/detect-platform.js +1 -1
- package/internal/detect-platform.js.map +1 -1
- package/internal/detect-platform.mjs +1 -1
- package/internal/detect-platform.mjs.map +1 -1
- package/internal/file-store.d.mts +136 -0
- package/internal/file-store.d.mts.map +1 -0
- package/internal/file-store.d.ts +136 -0
- package/internal/file-store.d.ts.map +1 -0
- package/internal/file-store.js +531 -0
- package/internal/file-store.js.map +1 -0
- package/internal/file-store.mjs +523 -0
- package/internal/file-store.mjs.map +1 -0
- package/internal/utils/values.d.mts +6 -0
- package/internal/utils/values.d.mts.map +1 -1
- package/internal/utils/values.d.ts +6 -0
- package/internal/utils/values.d.ts.map +1 -1
- package/internal/utils/values.js +7 -0
- package/internal/utils/values.js.map +1 -1
- package/internal/utils/values.mjs +6 -0
- package/internal/utils/values.mjs.map +1 -1
- package/lib/BetaMessageStream.d.mts.map +1 -1
- package/lib/BetaMessageStream.d.ts.map +1 -1
- package/lib/BetaMessageStream.js +3 -4
- package/lib/BetaMessageStream.js.map +1 -1
- package/lib/BetaMessageStream.mjs +1 -2
- package/lib/BetaMessageStream.mjs.map +1 -1
- package/lib/MessageStream.d.mts.map +1 -1
- package/lib/MessageStream.d.ts.map +1 -1
- package/lib/MessageStream.js +3 -4
- package/lib/MessageStream.js.map +1 -1
- package/lib/MessageStream.mjs +1 -2
- package/lib/MessageStream.mjs.map +1 -1
- package/lib/environments/poller.d.mts +6 -0
- package/lib/environments/poller.d.mts.map +1 -1
- package/lib/environments/poller.d.ts +6 -0
- package/lib/environments/poller.d.ts.map +1 -1
- package/lib/environments/poller.js +46 -1
- package/lib/environments/poller.js.map +1 -1
- package/lib/environments/poller.mjs +46 -1
- package/lib/environments/poller.mjs.map +1 -1
- package/lib/environments/worker.d.mts +89 -12
- package/lib/environments/worker.d.mts.map +1 -1
- package/lib/environments/worker.d.ts +89 -12
- package/lib/environments/worker.d.ts.map +1 -1
- package/lib/environments/worker.js +336 -67
- package/lib/environments/worker.js.map +1 -1
- package/lib/environments/worker.mjs +336 -68
- package/lib/environments/worker.mjs.map +1 -1
- package/lib/sessions/accumulate.d.mts.map +1 -1
- package/lib/sessions/accumulate.d.ts.map +1 -1
- package/lib/sessions/accumulate.js +3 -4
- package/lib/sessions/accumulate.js.map +1 -1
- package/lib/sessions/accumulate.mjs +1 -2
- package/lib/sessions/accumulate.mjs.map +1 -1
- package/lib/standard-schema.d.mts +131 -0
- package/lib/standard-schema.d.mts.map +1 -0
- package/lib/standard-schema.d.ts +131 -0
- package/lib/standard-schema.d.ts.map +1 -0
- package/lib/standard-schema.js +45 -0
- package/lib/standard-schema.js.map +1 -0
- package/lib/standard-schema.mjs +41 -0
- package/lib/standard-schema.mjs.map +1 -0
- package/lib/tools/BetaToolRunner.d.mts.map +1 -1
- package/lib/tools/BetaToolRunner.d.ts.map +1 -1
- package/lib/tools/BetaToolRunner.js +35 -6
- package/lib/tools/BetaToolRunner.js.map +1 -1
- package/lib/tools/BetaToolRunner.mjs +35 -6
- package/lib/tools/BetaToolRunner.mjs.map +1 -1
- package/package.json +2 -11
- package/resources/beta/agents/agents.d.mts +322 -27
- package/resources/beta/agents/agents.d.mts.map +1 -1
- package/resources/beta/agents/agents.d.ts +322 -27
- package/resources/beta/agents/agents.d.ts.map +1 -1
- package/resources/beta/agents/agents.js.map +1 -1
- package/resources/beta/agents/agents.mjs.map +1 -1
- package/resources/beta/agents/index.d.mts +1 -1
- package/resources/beta/agents/index.d.mts.map +1 -1
- package/resources/beta/agents/index.d.ts +1 -1
- package/resources/beta/agents/index.d.ts.map +1 -1
- package/resources/beta/agents/index.js.map +1 -1
- package/resources/beta/agents/index.mjs.map +1 -1
- package/resources/beta/beta.d.mts +7 -3
- package/resources/beta/beta.d.mts.map +1 -1
- package/resources/beta/beta.d.ts +7 -3
- package/resources/beta/beta.d.ts.map +1 -1
- package/resources/beta/beta.js +4 -0
- package/resources/beta/beta.js.map +1 -1
- package/resources/beta/beta.mjs +4 -0
- package/resources/beta/beta.mjs.map +1 -1
- package/resources/beta/environments/environments.d.mts +8 -1
- package/resources/beta/environments/environments.d.mts.map +1 -1
- package/resources/beta/environments/environments.d.ts +8 -1
- package/resources/beta/environments/environments.d.ts.map +1 -1
- package/resources/beta/environments/environments.js.map +1 -1
- package/resources/beta/environments/environments.mjs.map +1 -1
- package/resources/beta/environments/work.d.mts +5 -1
- package/resources/beta/environments/work.d.mts.map +1 -1
- package/resources/beta/environments/work.d.ts +5 -1
- package/resources/beta/environments/work.d.ts.map +1 -1
- package/resources/beta/environments/work.js +0 -17
- package/resources/beta/environments/work.js.map +1 -1
- package/resources/beta/environments/work.mjs +0 -17
- package/resources/beta/environments/work.mjs.map +1 -1
- package/resources/beta/index.d.mts +2 -1
- package/resources/beta/index.d.mts.map +1 -1
- package/resources/beta/index.d.ts +2 -1
- package/resources/beta/index.d.ts.map +1 -1
- package/resources/beta/index.js +11 -9
- package/resources/beta/index.js.map +1 -1
- package/resources/beta/index.mjs +1 -0
- package/resources/beta/index.mjs.map +1 -1
- package/resources/beta/memory-stores/memories.d.mts +6 -5
- package/resources/beta/memory-stores/memories.d.mts.map +1 -1
- package/resources/beta/memory-stores/memories.d.ts +6 -5
- package/resources/beta/memory-stores/memories.d.ts.map +1 -1
- package/resources/beta/memory-stores/memory-versions.d.mts +8 -5
- package/resources/beta/memory-stores/memory-versions.d.mts.map +1 -1
- package/resources/beta/memory-stores/memory-versions.d.ts +8 -5
- package/resources/beta/memory-stores/memory-versions.d.ts.map +1 -1
- package/resources/beta/messages/messages.d.mts +51 -9
- package/resources/beta/messages/messages.d.mts.map +1 -1
- package/resources/beta/messages/messages.d.ts +51 -9
- package/resources/beta/messages/messages.d.ts.map +1 -1
- package/resources/beta/messages/messages.js.map +1 -1
- package/resources/beta/messages/messages.mjs.map +1 -1
- package/resources/beta/organization/api-keys.d.mts +177 -0
- package/resources/beta/organization/api-keys.d.mts.map +1 -0
- package/resources/beta/organization/api-keys.d.ts +177 -0
- package/resources/beta/organization/api-keys.d.ts.map +1 -0
- package/resources/beta/organization/api-keys.js +56 -0
- package/resources/beta/organization/api-keys.js.map +1 -0
- package/resources/beta/organization/api-keys.mjs +52 -0
- package/resources/beta/organization/api-keys.mjs.map +1 -0
- package/resources/beta/organization/external-keys.d.mts +269 -0
- package/resources/beta/organization/external-keys.d.mts.map +1 -0
- package/resources/beta/organization/external-keys.d.ts +269 -0
- package/resources/beta/organization/external-keys.d.ts.map +1 -0
- package/resources/beta/organization/external-keys.js +119 -0
- package/resources/beta/organization/external-keys.js.map +1 -0
- package/resources/beta/organization/external-keys.mjs +115 -0
- package/resources/beta/organization/external-keys.mjs.map +1 -0
- package/resources/beta/organization/federation/federation.d.mts +14 -0
- package/resources/beta/organization/federation/federation.d.mts.map +1 -0
- package/resources/beta/organization/federation/federation.d.ts +14 -0
- package/resources/beta/organization/federation/federation.d.ts.map +1 -0
- package/resources/beta/organization/federation/federation.js +21 -0
- package/resources/beta/organization/federation/federation.js.map +1 -0
- package/resources/beta/organization/federation/federation.mjs +16 -0
- package/resources/beta/organization/federation/federation.mjs.map +1 -0
- package/resources/beta/organization/federation/index.d.mts +4 -0
- package/resources/beta/organization/federation/index.d.mts.map +1 -0
- package/resources/beta/organization/federation/index.d.ts +4 -0
- package/resources/beta/organization/federation/index.d.ts.map +1 -0
- package/resources/beta/organization/federation/index.js +11 -0
- package/resources/beta/organization/federation/index.js.map +1 -0
- package/resources/beta/organization/federation/index.mjs +5 -0
- package/resources/beta/organization/federation/index.mjs.map +1 -0
- package/resources/beta/organization/federation/issuers.d.mts +353 -0
- package/resources/beta/organization/federation/issuers.d.mts.map +1 -0
- package/resources/beta/organization/federation/issuers.d.ts +353 -0
- package/resources/beta/organization/federation/issuers.d.ts.map +1 -0
- package/resources/beta/organization/federation/issuers.js +169 -0
- package/resources/beta/organization/federation/issuers.js.map +1 -0
- package/resources/beta/organization/federation/issuers.mjs +165 -0
- package/resources/beta/organization/federation/issuers.mjs.map +1 -0
- package/resources/beta/organization/federation/rules/index.d.mts +3 -0
- package/resources/beta/organization/federation/rules/index.d.mts.map +1 -0
- package/resources/beta/organization/federation/rules/index.d.ts +3 -0
- package/resources/beta/organization/federation/rules/index.d.ts.map +1 -0
- package/resources/beta/organization/federation/rules/index.js +9 -0
- package/resources/beta/organization/federation/rules/index.js.map +1 -0
- package/resources/beta/organization/federation/rules/index.mjs +4 -0
- package/resources/beta/organization/federation/rules/index.mjs.map +1 -0
- package/resources/beta/organization/federation/rules/rules.d.mts +468 -0
- package/resources/beta/organization/federation/rules/rules.d.mts.map +1 -0
- package/resources/beta/organization/federation/rules/rules.d.ts +468 -0
- package/resources/beta/organization/federation/rules/rules.d.ts.map +1 -0
- package/resources/beta/organization/federation/rules/rules.js +198 -0
- package/resources/beta/organization/federation/rules/rules.js.map +1 -0
- package/resources/beta/organization/federation/rules/rules.mjs +193 -0
- package/resources/beta/organization/federation/rules/rules.mjs.map +1 -0
- package/resources/beta/organization/federation/rules/workspaces.d.mts +124 -0
- package/resources/beta/organization/federation/rules/workspaces.d.mts.map +1 -0
- package/resources/beta/organization/federation/rules/workspaces.d.ts +124 -0
- package/resources/beta/organization/federation/rules/workspaces.d.ts.map +1 -0
- package/resources/beta/organization/federation/rules/workspaces.js +114 -0
- package/resources/beta/organization/federation/rules/workspaces.js.map +1 -0
- package/resources/beta/organization/federation/rules/workspaces.mjs +110 -0
- package/resources/beta/organization/federation/rules/workspaces.mjs.map +1 -0
- package/resources/beta/organization/federation/rules.d.mts +2 -0
- package/resources/beta/organization/federation/rules.d.mts.map +1 -0
- package/resources/beta/organization/federation/rules.d.ts +2 -0
- package/resources/beta/organization/federation/rules.d.ts.map +1 -0
- package/resources/beta/organization/federation/rules.js +6 -0
- package/resources/beta/organization/federation/rules.js.map +1 -0
- package/resources/beta/organization/federation/rules.mjs +3 -0
- package/resources/beta/organization/federation/rules.mjs.map +1 -0
- package/resources/beta/organization/federation.d.mts +2 -0
- package/resources/beta/organization/federation.d.mts.map +1 -0
- package/resources/beta/organization/federation.d.ts +2 -0
- package/resources/beta/organization/federation.d.ts.map +1 -0
- package/resources/beta/organization/federation.js +6 -0
- package/resources/beta/organization/federation.js.map +1 -0
- package/resources/beta/organization/federation.mjs +3 -0
- package/resources/beta/organization/federation.mjs.map +1 -0
- package/resources/beta/organization/index.d.mts +10 -0
- package/resources/beta/organization/index.d.mts.map +1 -0
- package/resources/beta/organization/index.d.ts +10 -0
- package/resources/beta/organization/index.d.ts.map +1 -0
- package/resources/beta/organization/index.js +23 -0
- package/resources/beta/organization/index.js.map +1 -0
- package/resources/beta/organization/index.mjs +11 -0
- package/resources/beta/organization/index.mjs.map +1 -0
- package/resources/beta/organization/invites.d.mts +162 -0
- package/resources/beta/organization/invites.d.mts.map +1 -0
- package/resources/beta/organization/invites.d.ts +162 -0
- package/resources/beta/organization/invites.d.ts.map +1 -0
- package/resources/beta/organization/invites.js +76 -0
- package/resources/beta/organization/invites.js.map +1 -0
- package/resources/beta/organization/invites.mjs +72 -0
- package/resources/beta/organization/invites.mjs.map +1 -0
- package/resources/beta/organization/organization.d.mts +69 -0
- package/resources/beta/organization/organization.d.mts.map +1 -0
- package/resources/beta/organization/organization.d.ts +69 -0
- package/resources/beta/organization/organization.d.ts.map +1 -0
- package/resources/beta/organization/organization.js +58 -0
- package/resources/beta/organization/organization.js.map +1 -0
- package/resources/beta/organization/organization.mjs +53 -0
- package/resources/beta/organization/organization.mjs.map +1 -0
- package/resources/beta/organization/rate-limits.d.mts +78 -0
- package/resources/beta/organization/rate-limits.d.mts.map +1 -0
- package/resources/beta/organization/rate-limits.d.ts +78 -0
- package/resources/beta/organization/rate-limits.d.ts.map +1 -0
- package/resources/beta/organization/rate-limits.js +32 -0
- package/resources/beta/organization/rate-limits.js.map +1 -0
- package/resources/beta/organization/rate-limits.mjs +28 -0
- package/resources/beta/organization/rate-limits.mjs.map +1 -0
- package/resources/beta/organization/service-accounts/index.d.mts +3 -0
- package/resources/beta/organization/service-accounts/index.d.mts.map +1 -0
- package/resources/beta/organization/service-accounts/index.d.ts +3 -0
- package/resources/beta/organization/service-accounts/index.d.ts.map +1 -0
- package/resources/beta/organization/service-accounts/index.js +9 -0
- package/resources/beta/organization/service-accounts/index.js.map +1 -0
- package/resources/beta/organization/service-accounts/index.mjs +4 -0
- package/resources/beta/organization/service-accounts/index.mjs.map +1 -0
- package/resources/beta/organization/service-accounts/service-accounts.d.mts +258 -0
- package/resources/beta/organization/service-accounts/service-accounts.d.mts.map +1 -0
- package/resources/beta/organization/service-accounts/service-accounts.d.ts +258 -0
- package/resources/beta/organization/service-accounts/service-accounts.d.ts.map +1 -0
- package/resources/beta/organization/service-accounts/service-accounts.js +174 -0
- package/resources/beta/organization/service-accounts/service-accounts.js.map +1 -0
- package/resources/beta/organization/service-accounts/service-accounts.mjs +169 -0
- package/resources/beta/organization/service-accounts/service-accounts.mjs.map +1 -0
- package/resources/beta/organization/service-accounts/workspaces.d.mts +141 -0
- package/resources/beta/organization/service-accounts/workspaces.d.mts.map +1 -0
- package/resources/beta/organization/service-accounts/workspaces.d.ts +141 -0
- package/resources/beta/organization/service-accounts/workspaces.d.ts.map +1 -0
- package/resources/beta/organization/service-accounts/workspaces.js +125 -0
- package/resources/beta/organization/service-accounts/workspaces.js.map +1 -0
- package/resources/beta/organization/service-accounts/workspaces.mjs +121 -0
- package/resources/beta/organization/service-accounts/workspaces.mjs.map +1 -0
- package/resources/beta/organization/service-accounts.d.mts +2 -0
- package/resources/beta/organization/service-accounts.d.mts.map +1 -0
- package/resources/beta/organization/service-accounts.d.ts +2 -0
- package/resources/beta/organization/service-accounts.d.ts.map +1 -0
- package/resources/beta/organization/service-accounts.js +6 -0
- package/resources/beta/organization/service-accounts.js.map +1 -0
- package/resources/beta/organization/service-accounts.mjs +3 -0
- package/resources/beta/organization/service-accounts.mjs.map +1 -0
- package/resources/beta/organization/users.d.mts +124 -0
- package/resources/beta/organization/users.d.mts.map +1 -0
- package/resources/beta/organization/users.d.ts +124 -0
- package/resources/beta/organization/users.d.ts.map +1 -0
- package/resources/beta/organization/users.js +67 -0
- package/resources/beta/organization/users.js.map +1 -0
- package/resources/beta/organization/users.mjs +63 -0
- package/resources/beta/organization/users.mjs.map +1 -0
- package/resources/beta/organization/workspaces/index.d.mts +5 -0
- package/resources/beta/organization/workspaces/index.d.mts.map +1 -0
- package/resources/beta/organization/workspaces/index.d.ts +5 -0
- package/resources/beta/organization/workspaces/index.d.ts.map +1 -0
- package/resources/beta/organization/workspaces/index.js +13 -0
- package/resources/beta/organization/workspaces/index.js.map +1 -0
- package/resources/beta/organization/workspaces/index.mjs +6 -0
- package/resources/beta/organization/workspaces/index.mjs.map +1 -0
- package/resources/beta/organization/workspaces/members.d.mts +135 -0
- package/resources/beta/organization/workspaces/members.d.mts.map +1 -0
- package/resources/beta/organization/workspaces/members.d.ts +135 -0
- package/resources/beta/organization/workspaces/members.d.ts.map +1 -0
- package/resources/beta/organization/workspaces/members.js +102 -0
- package/resources/beta/organization/workspaces/members.js.map +1 -0
- package/resources/beta/organization/workspaces/members.mjs +98 -0
- package/resources/beta/organization/workspaces/members.mjs.map +1 -0
- package/resources/beta/organization/workspaces/rate-limits.d.mts +84 -0
- package/resources/beta/organization/workspaces/rate-limits.d.mts.map +1 -0
- package/resources/beta/organization/workspaces/rate-limits.d.ts +84 -0
- package/resources/beta/organization/workspaces/rate-limits.d.ts.map +1 -0
- package/resources/beta/organization/workspaces/rate-limits.js +35 -0
- package/resources/beta/organization/workspaces/rate-limits.js.map +1 -0
- package/resources/beta/organization/workspaces/rate-limits.mjs +31 -0
- package/resources/beta/organization/workspaces/rate-limits.mjs.map +1 -0
- package/resources/beta/organization/workspaces/service-accounts.d.mts +210 -0
- package/resources/beta/organization/workspaces/service-accounts.d.mts.map +1 -0
- package/resources/beta/organization/workspaces/service-accounts.d.ts +210 -0
- package/resources/beta/organization/workspaces/service-accounts.d.ts.map +1 -0
- package/resources/beta/organization/workspaces/service-accounts.js +189 -0
- package/resources/beta/organization/workspaces/service-accounts.js.map +1 -0
- package/resources/beta/organization/workspaces/service-accounts.mjs +185 -0
- package/resources/beta/organization/workspaces/service-accounts.mjs.map +1 -0
- package/resources/beta/organization/workspaces/workspaces.d.mts +287 -0
- package/resources/beta/organization/workspaces/workspaces.d.mts.map +1 -0
- package/resources/beta/organization/workspaces/workspaces.d.ts +287 -0
- package/resources/beta/organization/workspaces/workspaces.d.ts.map +1 -0
- package/resources/beta/organization/workspaces/workspaces.js +112 -0
- package/resources/beta/organization/workspaces/workspaces.js.map +1 -0
- package/resources/beta/organization/workspaces/workspaces.mjs +107 -0
- package/resources/beta/organization/workspaces/workspaces.mjs.map +1 -0
- package/resources/beta/organization/workspaces.d.mts +2 -0
- package/resources/beta/organization/workspaces.d.mts.map +1 -0
- package/resources/beta/organization/workspaces.d.ts +2 -0
- package/resources/beta/organization/workspaces.d.ts.map +1 -0
- package/resources/beta/organization/workspaces.js +6 -0
- package/resources/beta/organization/workspaces.js.map +1 -0
- package/resources/beta/organization/workspaces.mjs +3 -0
- package/resources/beta/organization/workspaces.mjs.map +1 -0
- package/resources/beta/organization.d.mts +2 -0
- package/resources/beta/organization.d.mts.map +1 -0
- package/resources/beta/organization.d.ts +2 -0
- package/resources/beta/organization.d.ts.map +1 -0
- package/resources/beta/organization.js +6 -0
- package/resources/beta/organization.js.map +1 -0
- package/resources/beta/organization.mjs +3 -0
- package/resources/beta/organization.mjs.map +1 -0
- package/resources/beta/sessions/threads/threads.d.mts +2 -1
- package/resources/beta/sessions/threads/threads.d.mts.map +1 -1
- package/resources/beta/sessions/threads/threads.d.ts +2 -1
- package/resources/beta/sessions/threads/threads.d.ts.map +1 -1
- package/resources/beta/sessions/threads/threads.js.map +1 -1
- package/resources/beta/sessions/threads/threads.mjs.map +1 -1
- package/resources/messages/messages.d.mts +1 -1
- package/resources/messages/messages.d.ts +1 -1
- package/src/helpers/beta/environments.ts +5 -4
- package/src/helpers/beta/standard-schema.ts +99 -0
- package/src/internal/detect-platform.ts +1 -1
- package/src/internal/file-store.ts +550 -0
- package/src/internal/utils/values.ts +7 -0
- package/src/lib/BetaMessageStream.ts +1 -3
- package/src/lib/MessageStream.ts +1 -3
- package/src/lib/environments/poller.ts +47 -1
- package/src/lib/environments/worker.ts +419 -79
- package/src/lib/sessions/accumulate.ts +1 -3
- package/src/lib/standard-schema.ts +209 -0
- package/src/lib/tools/BetaToolRunner.ts +38 -6
- package/src/resources/beta/agents/agents.ts +435 -30
- package/src/resources/beta/agents/index.ts +17 -0
- package/src/resources/beta/beta.ts +52 -1
- package/src/resources/beta/environments/environments.ts +8 -1
- package/src/resources/beta/environments/work.ts +7 -0
- package/src/resources/beta/index.ts +18 -0
- package/src/resources/beta/memory-stores/memories.ts +6 -5
- package/src/resources/beta/memory-stores/memory-versions.ts +8 -5
- package/src/resources/beta/messages/messages.ts +51 -9
- package/src/resources/beta/organization/api-keys.ts +231 -0
- package/src/resources/beta/organization/external-keys.ts +362 -0
- package/src/resources/beta/organization/federation/federation.ts +71 -0
- package/src/resources/beta/organization/federation/index.ts +31 -0
- package/src/resources/beta/organization/federation/issuers.ts +486 -0
- package/src/resources/beta/organization/federation/rules/index.ts +23 -0
- package/src/resources/beta/organization/federation/rules/rules.ts +624 -0
- package/src/resources/beta/organization/federation/rules/workspaces.ts +196 -0
- package/src/resources/beta/organization/federation/rules.ts +3 -0
- package/src/resources/beta/organization/federation.ts +3 -0
- package/src/resources/beta/organization/index.ts +83 -0
- package/src/resources/beta/organization/invites.ts +207 -0
- package/src/resources/beta/organization/organization.ts +245 -0
- package/src/resources/beta/organization/rate-limits.ts +105 -0
- package/src/resources/beta/organization/service-accounts/index.ts +21 -0
- package/src/resources/beta/organization/service-accounts/service-accounts.ts +389 -0
- package/src/resources/beta/organization/service-accounts/workspaces.ts +217 -0
- package/src/resources/beta/organization/service-accounts.ts +3 -0
- package/src/resources/beta/organization/users.ts +163 -0
- package/src/resources/beta/organization/workspaces/index.ts +43 -0
- package/src/resources/beta/organization/workspaces/members.ts +209 -0
- package/src/resources/beta/organization/workspaces/rate-limits.ts +114 -0
- package/src/resources/beta/organization/workspaces/service-accounts.ts +325 -0
- package/src/resources/beta/organization/workspaces/workspaces.ts +434 -0
- package/src/resources/beta/organization/workspaces.ts +3 -0
- package/src/resources/beta/organization.ts +3 -0
- package/src/resources/beta/sessions/threads/threads.ts +2 -1
- package/src/resources/messages/messages.ts +1 -1
- package/src/tools/agent-toolset/fs-util.ts +40 -24
- package/src/tools/agent-toolset/memories.ts +1017 -0
- package/src/tools/agent-toolset/node.browser.ts +69 -1
- package/src/tools/agent-toolset/node.ts +143 -57
- package/src/tools/agent-toolset/skills.ts +29 -9
- package/src/tools/agent-toolset/sync-interval.ts +30 -0
- package/src/version.ts +1 -1
- package/tools/agent-toolset/fs-util.d.mts +23 -10
- package/tools/agent-toolset/fs-util.d.mts.map +1 -1
- package/tools/agent-toolset/fs-util.d.ts +23 -10
- package/tools/agent-toolset/fs-util.d.ts.map +1 -1
- package/tools/agent-toolset/fs-util.js +40 -25
- package/tools/agent-toolset/fs-util.js.map +1 -1
- package/tools/agent-toolset/fs-util.mjs +38 -25
- package/tools/agent-toolset/fs-util.mjs.map +1 -1
- package/tools/agent-toolset/memories.d.mts +173 -0
- package/tools/agent-toolset/memories.d.mts.map +1 -0
- package/tools/agent-toolset/memories.d.ts +173 -0
- package/tools/agent-toolset/memories.d.ts.map +1 -0
- package/tools/agent-toolset/memories.js +902 -0
- package/tools/agent-toolset/memories.js.map +1 -0
- package/tools/agent-toolset/memories.mjs +895 -0
- package/tools/agent-toolset/memories.mjs.map +1 -0
- package/tools/agent-toolset/node.browser.d.mts +32 -1
- package/tools/agent-toolset/node.browser.d.mts.map +1 -1
- package/tools/agent-toolset/node.browser.d.ts +32 -1
- package/tools/agent-toolset/node.browser.d.ts.map +1 -1
- package/tools/agent-toolset/node.browser.js +59 -1
- package/tools/agent-toolset/node.browser.js.map +1 -1
- package/tools/agent-toolset/node.browser.mjs +54 -0
- package/tools/agent-toolset/node.browser.mjs.map +1 -1
- package/tools/agent-toolset/node.d.mts +56 -24
- package/tools/agent-toolset/node.d.mts.map +1 -1
- package/tools/agent-toolset/node.d.ts +56 -24
- package/tools/agent-toolset/node.d.ts.map +1 -1
- package/tools/agent-toolset/node.js +83 -44
- package/tools/agent-toolset/node.js.map +1 -1
- package/tools/agent-toolset/node.mjs +77 -44
- package/tools/agent-toolset/node.mjs.map +1 -1
- package/tools/agent-toolset/skills.d.mts +16 -7
- package/tools/agent-toolset/skills.d.mts.map +1 -1
- package/tools/agent-toolset/skills.d.ts +16 -7
- package/tools/agent-toolset/skills.d.ts.map +1 -1
- package/tools/agent-toolset/skills.js +27 -9
- package/tools/agent-toolset/skills.js.map +1 -1
- package/tools/agent-toolset/skills.mjs +27 -9
- package/tools/agent-toolset/skills.mjs.map +1 -1
- package/tools/agent-toolset/sync-interval.d.mts +19 -0
- package/tools/agent-toolset/sync-interval.d.mts.map +1 -0
- package/tools/agent-toolset/sync-interval.d.ts +19 -0
- package/tools/agent-toolset/sync-interval.d.ts.map +1 -0
- package/tools/agent-toolset/sync-interval.js +29 -0
- package/tools/agent-toolset/sync-interval.js.map +1 -0
- package/tools/agent-toolset/sync-interval.mjs +25 -0
- package/tools/agent-toolset/sync-interval.mjs.map +1 -0
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -0,0 +1,362 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../../../core/resource';
|
|
4
|
+
import { APIPromise } from '../../../core/api-promise';
|
|
5
|
+
import { PageCursor, type PageCursorParams, PagePromise } from '../../../core/pagination';
|
|
6
|
+
import { RequestOptions } from '../../../internal/request-options';
|
|
7
|
+
import { path } from '../../../internal/utils/path';
|
|
8
|
+
|
|
9
|
+
export class ExternalKeys extends APIResource {
|
|
10
|
+
/**
|
|
11
|
+
* Create an external key config owned by the caller's organization.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```ts
|
|
15
|
+
* const betaExternalKey =
|
|
16
|
+
* await client.beta.organization.externalKeys.create({
|
|
17
|
+
* provider_config: {
|
|
18
|
+
* kms_arn:
|
|
19
|
+
* 'arn:aws:kms:us-east-1:111122223333:key/abcd1234-5678-90ab-cdef-000011112222',
|
|
20
|
+
* type: 'aws',
|
|
21
|
+
* },
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
create(body: ExternalKeyCreateParams, options?: RequestOptions): APIPromise<BetaExternalKey> {
|
|
26
|
+
return this._client.post('/v1/organizations/external_keys?beta=true', { body, ...options });
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Retrieve a single external key config in the caller's organization by ID.
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* ```ts
|
|
34
|
+
* const betaExternalKey =
|
|
35
|
+
* await client.beta.organization.externalKeys.retrieve(
|
|
36
|
+
* 'external_key_id',
|
|
37
|
+
* );
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
retrieve(externalKeyID: string, options?: RequestOptions): APIPromise<BetaExternalKey> {
|
|
41
|
+
return this._client.get(path`/v1/organizations/external_keys/${externalKeyID}?beta=true`, options);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Partially update an external key config. Omitted fields are left unchanged.
|
|
46
|
+
*
|
|
47
|
+
* `display_name` is always editable. `geo` and `provider_config` cannot be changed
|
|
48
|
+
* once any workspace references this config, because previously encrypted data
|
|
49
|
+
* requires the original key identity to decrypt.
|
|
50
|
+
*
|
|
51
|
+
* @example
|
|
52
|
+
* ```ts
|
|
53
|
+
* const betaExternalKey =
|
|
54
|
+
* await client.beta.organization.externalKeys.update(
|
|
55
|
+
* 'external_key_id',
|
|
56
|
+
* );
|
|
57
|
+
* ```
|
|
58
|
+
*/
|
|
59
|
+
update(
|
|
60
|
+
externalKeyID: string,
|
|
61
|
+
body: ExternalKeyUpdateParams,
|
|
62
|
+
options?: RequestOptions,
|
|
63
|
+
): APIPromise<BetaExternalKey> {
|
|
64
|
+
return this._client.post(path`/v1/organizations/external_keys/${externalKeyID}?beta=true`, {
|
|
65
|
+
body,
|
|
66
|
+
...options,
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* List external key configs in the caller's organization.
|
|
72
|
+
*
|
|
73
|
+
* Results are ordered by creation time (newest first). Use the `next_page` cursor
|
|
74
|
+
* from the response to fetch subsequent pages.
|
|
75
|
+
*
|
|
76
|
+
* @example
|
|
77
|
+
* ```ts
|
|
78
|
+
* // Automatically fetches more pages as needed.
|
|
79
|
+
* for await (const betaExternalKey of client.beta.organization.externalKeys.list()) {
|
|
80
|
+
* // ...
|
|
81
|
+
* }
|
|
82
|
+
* ```
|
|
83
|
+
*/
|
|
84
|
+
list(
|
|
85
|
+
query: ExternalKeyListParams | null | undefined = {},
|
|
86
|
+
options?: RequestOptions,
|
|
87
|
+
): PagePromise<BetaExternalKeysPageCursor, BetaExternalKey> {
|
|
88
|
+
return this._client.getAPIList('/v1/organizations/external_keys?beta=true', PageCursor<BetaExternalKey>, {
|
|
89
|
+
query,
|
|
90
|
+
...options,
|
|
91
|
+
});
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* Delete an external key config.
|
|
96
|
+
*
|
|
97
|
+
* The request is rejected if any workspace still references this config.
|
|
98
|
+
*
|
|
99
|
+
* @example
|
|
100
|
+
* ```ts
|
|
101
|
+
* const externalKey =
|
|
102
|
+
* await client.beta.organization.externalKeys.delete(
|
|
103
|
+
* 'external_key_id',
|
|
104
|
+
* );
|
|
105
|
+
* ```
|
|
106
|
+
*/
|
|
107
|
+
delete(externalKeyID: string, options?: RequestOptions): APIPromise<ExternalKeyDeleteResponse> {
|
|
108
|
+
return this._client.delete(path`/v1/organizations/external_keys/${externalKeyID}?beta=true`, options);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* Validate an external key config against the customer's KMS.
|
|
113
|
+
*
|
|
114
|
+
* Anthropic performs an encrypt/decrypt roundtrip against the configured KMS key
|
|
115
|
+
* and waits up to 30 seconds for the result. The response status is `success` if
|
|
116
|
+
* the roundtrip succeeded, or `failure` with an error message if it failed or
|
|
117
|
+
* timed out.
|
|
118
|
+
*
|
|
119
|
+
* @example
|
|
120
|
+
* ```ts
|
|
121
|
+
* const response =
|
|
122
|
+
* await client.beta.organization.externalKeys.validate(
|
|
123
|
+
* 'external_key_id',
|
|
124
|
+
* );
|
|
125
|
+
* ```
|
|
126
|
+
*/
|
|
127
|
+
validate(externalKeyID: string, options?: RequestOptions): APIPromise<ExternalKeyValidateResponse> {
|
|
128
|
+
return this._client.post(
|
|
129
|
+
path`/v1/organizations/external_keys/${externalKeyID}/validate?beta=true`,
|
|
130
|
+
options,
|
|
131
|
+
);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
export type BetaExternalKeysPageCursor = PageCursor<BetaExternalKey>;
|
|
136
|
+
|
|
137
|
+
export interface BetaAWSExternalKeyConfig {
|
|
138
|
+
/**
|
|
139
|
+
* Full ARN of the AWS KMS key.
|
|
140
|
+
*/
|
|
141
|
+
kms_arn: string;
|
|
142
|
+
|
|
143
|
+
type: 'aws';
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* AWS region. Derived from `kms_arn` if omitted.
|
|
147
|
+
*/
|
|
148
|
+
region?: string | null;
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* @deprecated IAM role ARN. Deprecated — Anthropic reaches the KMS key via a
|
|
152
|
+
* managed intermediate role; this field is ignored.
|
|
153
|
+
*/
|
|
154
|
+
role_arn?: string | null;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
export interface BetaAzureExternalKeyConfig {
|
|
158
|
+
/**
|
|
159
|
+
* Name of the key within the vault.
|
|
160
|
+
*/
|
|
161
|
+
key_name: string;
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* Azure AD tenant ID.
|
|
165
|
+
*/
|
|
166
|
+
tenant_id: string;
|
|
167
|
+
|
|
168
|
+
type: 'azure';
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* Key Vault data-plane URI — `https://{vault-name}.vault.azure.net` or
|
|
172
|
+
* `https://{hsm-name}.managedhsm.azure.net`.
|
|
173
|
+
*/
|
|
174
|
+
vault_uri: string;
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
* Azure AD application (client) ID. Omit to use Anthropic's multitenant app.
|
|
178
|
+
* Provide only if using a single-tenant app registration in the customer's
|
|
179
|
+
* directory.
|
|
180
|
+
*/
|
|
181
|
+
client_id?: string | null;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
/**
|
|
185
|
+
* Azure Key Vault provider configuration.
|
|
186
|
+
*/
|
|
187
|
+
export interface BetaAzureExternalKeyConfigParam {
|
|
188
|
+
/**
|
|
189
|
+
* Name of the key within the vault.
|
|
190
|
+
*/
|
|
191
|
+
key_name: string;
|
|
192
|
+
|
|
193
|
+
/**
|
|
194
|
+
* Azure AD tenant ID.
|
|
195
|
+
*/
|
|
196
|
+
tenant_id: string;
|
|
197
|
+
|
|
198
|
+
type: 'azure';
|
|
199
|
+
|
|
200
|
+
/**
|
|
201
|
+
* Key Vault data-plane URI — `https://{vault-name}.vault.azure.net` or
|
|
202
|
+
* `https://{hsm-name}.managedhsm.azure.net`.
|
|
203
|
+
*/
|
|
204
|
+
vault_uri: string;
|
|
205
|
+
|
|
206
|
+
/**
|
|
207
|
+
* Azure AD application (client) ID. Omit to use Anthropic's multitenant app.
|
|
208
|
+
* Provide only if using a single-tenant app registration in the customer's
|
|
209
|
+
* directory.
|
|
210
|
+
*/
|
|
211
|
+
client_id?: string | null;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
/**
|
|
215
|
+
* CMEK external key config belonging to the caller's organization.
|
|
216
|
+
*
|
|
217
|
+
* Configs are organization-scoped. Workspaces attach to a config; once any
|
|
218
|
+
* workspace references it, the provider fields become effectively immutable
|
|
219
|
+
* (existing encrypted data needs the config for decrypt).
|
|
220
|
+
*/
|
|
221
|
+
export interface BetaExternalKey {
|
|
222
|
+
/**
|
|
223
|
+
* Identifier of the external key config. A tagged ID prefixed `ekey_`, or — for
|
|
224
|
+
* organizations on the Claude Platform on AWS — the AWS KMS key ARN.
|
|
225
|
+
*/
|
|
226
|
+
id: string;
|
|
227
|
+
|
|
228
|
+
/**
|
|
229
|
+
* Whether any workspace uses this config to encrypt its data — counting live and
|
|
230
|
+
* archived workspaces (an archived workspace's data remains encrypted under the
|
|
231
|
+
* config), excluding deleted ones. Only an attached config is used by the
|
|
232
|
+
* encryption path; an `unattached` config is inert and can be deleted.
|
|
233
|
+
*/
|
|
234
|
+
attachment: BetaExternalKeyAttachedAttachment | BetaExternalKeyUnattachedAttachment;
|
|
235
|
+
|
|
236
|
+
created_at: string;
|
|
237
|
+
|
|
238
|
+
/**
|
|
239
|
+
* Human-friendly display name. Null if none was set.
|
|
240
|
+
*/
|
|
241
|
+
display_name: string | null;
|
|
242
|
+
|
|
243
|
+
/**
|
|
244
|
+
* Data residency geo. Selects which regional validator handles this key's
|
|
245
|
+
* encrypt/decrypt roundtrips.
|
|
246
|
+
*/
|
|
247
|
+
geo: string;
|
|
248
|
+
|
|
249
|
+
/**
|
|
250
|
+
* KMS provider identity and auth coordinates.
|
|
251
|
+
*/
|
|
252
|
+
provider_config: BetaAWSExternalKeyConfig | BetaGCPExternalKeyConfig | BetaAzureExternalKeyConfig;
|
|
253
|
+
|
|
254
|
+
type: 'external_key';
|
|
255
|
+
|
|
256
|
+
updated_at: string;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
export interface BetaExternalKeyAttachedAttachment {
|
|
260
|
+
type: 'attached';
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
export interface BetaExternalKeyUnattachedAttachment {
|
|
264
|
+
type: 'unattached';
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
export interface BetaGCPExternalKeyConfig {
|
|
268
|
+
/**
|
|
269
|
+
* Full resource name of the Cloud KMS key.
|
|
270
|
+
*/
|
|
271
|
+
key_name: string;
|
|
272
|
+
|
|
273
|
+
type: 'gcp';
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
export interface ExternalKeyDeleteResponse {
|
|
277
|
+
/**
|
|
278
|
+
* ID of the deleted External Key.
|
|
279
|
+
*/
|
|
280
|
+
id: string;
|
|
281
|
+
|
|
282
|
+
type: 'external_key_deleted';
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
/**
|
|
286
|
+
* Result of a validation roundtrip against the customer's KMS.
|
|
287
|
+
*
|
|
288
|
+
* HTTP 200 for both outcomes — the operation completed; `status` says whether the
|
|
289
|
+
* key works.
|
|
290
|
+
*/
|
|
291
|
+
export interface ExternalKeyValidateResponse {
|
|
292
|
+
/**
|
|
293
|
+
* Error message when status is `failure`. Null otherwise.
|
|
294
|
+
*/
|
|
295
|
+
error: string | null;
|
|
296
|
+
|
|
297
|
+
/**
|
|
298
|
+
* `success` — encrypt/decrypt roundtrip succeeded. `failure` — the roundtrip
|
|
299
|
+
* failed or timed out; see `error`.
|
|
300
|
+
*/
|
|
301
|
+
status: 'failure' | 'success';
|
|
302
|
+
|
|
303
|
+
type: 'external_key_validation';
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
export interface ExternalKeyCreateParams {
|
|
307
|
+
/**
|
|
308
|
+
* KMS provider identity and auth coordinates.
|
|
309
|
+
*/
|
|
310
|
+
provider_config: BetaAWSExternalKeyConfig | BetaGCPExternalKeyConfig | BetaAzureExternalKeyConfigParam;
|
|
311
|
+
|
|
312
|
+
/**
|
|
313
|
+
* Human-friendly display name.
|
|
314
|
+
*/
|
|
315
|
+
display_name?: string | null;
|
|
316
|
+
|
|
317
|
+
/**
|
|
318
|
+
* Data residency geo. Only `us` is supported.
|
|
319
|
+
*/
|
|
320
|
+
geo?: 'us';
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
export interface ExternalKeyUpdateParams {
|
|
324
|
+
/**
|
|
325
|
+
* Human-friendly display name.
|
|
326
|
+
*/
|
|
327
|
+
display_name?: string | null;
|
|
328
|
+
|
|
329
|
+
/**
|
|
330
|
+
* Data residency geo. Only `us` is supported.
|
|
331
|
+
*/
|
|
332
|
+
geo?: 'us' | null;
|
|
333
|
+
|
|
334
|
+
/**
|
|
335
|
+
* KMS provider identity and auth coordinates.
|
|
336
|
+
*/
|
|
337
|
+
provider_config?:
|
|
338
|
+
| BetaAWSExternalKeyConfig
|
|
339
|
+
| BetaGCPExternalKeyConfig
|
|
340
|
+
| BetaAzureExternalKeyConfigParam
|
|
341
|
+
| null;
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
export interface ExternalKeyListParams extends PageCursorParams {}
|
|
345
|
+
|
|
346
|
+
export declare namespace ExternalKeys {
|
|
347
|
+
export {
|
|
348
|
+
type BetaAWSExternalKeyConfig as BetaAWSExternalKeyConfig,
|
|
349
|
+
type BetaAzureExternalKeyConfig as BetaAzureExternalKeyConfig,
|
|
350
|
+
type BetaAzureExternalKeyConfigParam as BetaAzureExternalKeyConfigParam,
|
|
351
|
+
type BetaExternalKey as BetaExternalKey,
|
|
352
|
+
type BetaExternalKeyAttachedAttachment as BetaExternalKeyAttachedAttachment,
|
|
353
|
+
type BetaExternalKeyUnattachedAttachment as BetaExternalKeyUnattachedAttachment,
|
|
354
|
+
type BetaGCPExternalKeyConfig as BetaGCPExternalKeyConfig,
|
|
355
|
+
type ExternalKeyDeleteResponse as ExternalKeyDeleteResponse,
|
|
356
|
+
type ExternalKeyValidateResponse as ExternalKeyValidateResponse,
|
|
357
|
+
type BetaExternalKeysPageCursor as BetaExternalKeysPageCursor,
|
|
358
|
+
type ExternalKeyCreateParams as ExternalKeyCreateParams,
|
|
359
|
+
type ExternalKeyUpdateParams as ExternalKeyUpdateParams,
|
|
360
|
+
type ExternalKeyListParams as ExternalKeyListParams,
|
|
361
|
+
};
|
|
362
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../../../../core/resource';
|
|
4
|
+
import * as IssuersAPI from './issuers';
|
|
5
|
+
import {
|
|
6
|
+
BetaFederationIssuer,
|
|
7
|
+
BetaFederationIssuerPollStatus,
|
|
8
|
+
BetaFederationIssuersPageCursor,
|
|
9
|
+
BetaJWKSDiscovery,
|
|
10
|
+
BetaJWKSExplicitURL,
|
|
11
|
+
BetaJWKSInline,
|
|
12
|
+
IssuerArchiveParams,
|
|
13
|
+
IssuerCreateParams,
|
|
14
|
+
IssuerListParams,
|
|
15
|
+
IssuerRetrieveParams,
|
|
16
|
+
IssuerUpdateParams,
|
|
17
|
+
Issuers,
|
|
18
|
+
} from './issuers';
|
|
19
|
+
import * as RulesAPI from './rules/rules';
|
|
20
|
+
import {
|
|
21
|
+
BetaFederationRule,
|
|
22
|
+
BetaFederationRuleMatch,
|
|
23
|
+
BetaFederationRuleWorkspace,
|
|
24
|
+
BetaFederationRulesPageCursor,
|
|
25
|
+
BetaServiceAccountTarget,
|
|
26
|
+
RuleArchiveParams,
|
|
27
|
+
RuleCreateParams,
|
|
28
|
+
RuleListParams,
|
|
29
|
+
RuleRetrieveParams,
|
|
30
|
+
RuleUpdateParams,
|
|
31
|
+
Rules,
|
|
32
|
+
} from './rules/rules';
|
|
33
|
+
|
|
34
|
+
export class Federation extends APIResource {
|
|
35
|
+
issuers: IssuersAPI.Issuers = new IssuersAPI.Issuers(this._client);
|
|
36
|
+
rules: RulesAPI.Rules = new RulesAPI.Rules(this._client);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
Federation.Issuers = Issuers;
|
|
40
|
+
Federation.Rules = Rules;
|
|
41
|
+
|
|
42
|
+
export declare namespace Federation {
|
|
43
|
+
export {
|
|
44
|
+
Issuers as Issuers,
|
|
45
|
+
type BetaFederationIssuer as BetaFederationIssuer,
|
|
46
|
+
type BetaFederationIssuerPollStatus as BetaFederationIssuerPollStatus,
|
|
47
|
+
type BetaJWKSDiscovery as BetaJWKSDiscovery,
|
|
48
|
+
type BetaJWKSExplicitURL as BetaJWKSExplicitURL,
|
|
49
|
+
type BetaJWKSInline as BetaJWKSInline,
|
|
50
|
+
type BetaFederationIssuersPageCursor as BetaFederationIssuersPageCursor,
|
|
51
|
+
type IssuerCreateParams as IssuerCreateParams,
|
|
52
|
+
type IssuerRetrieveParams as IssuerRetrieveParams,
|
|
53
|
+
type IssuerUpdateParams as IssuerUpdateParams,
|
|
54
|
+
type IssuerListParams as IssuerListParams,
|
|
55
|
+
type IssuerArchiveParams as IssuerArchiveParams,
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
export {
|
|
59
|
+
Rules as Rules,
|
|
60
|
+
type BetaFederationRule as BetaFederationRule,
|
|
61
|
+
type BetaFederationRuleMatch as BetaFederationRuleMatch,
|
|
62
|
+
type BetaFederationRuleWorkspace as BetaFederationRuleWorkspace,
|
|
63
|
+
type BetaServiceAccountTarget as BetaServiceAccountTarget,
|
|
64
|
+
type BetaFederationRulesPageCursor as BetaFederationRulesPageCursor,
|
|
65
|
+
type RuleCreateParams as RuleCreateParams,
|
|
66
|
+
type RuleRetrieveParams as RuleRetrieveParams,
|
|
67
|
+
type RuleUpdateParams as RuleUpdateParams,
|
|
68
|
+
type RuleListParams as RuleListParams,
|
|
69
|
+
type RuleArchiveParams as RuleArchiveParams,
|
|
70
|
+
};
|
|
71
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
export { Federation } from './federation';
|
|
4
|
+
export {
|
|
5
|
+
Issuers,
|
|
6
|
+
type BetaFederationIssuer,
|
|
7
|
+
type BetaFederationIssuerPollStatus,
|
|
8
|
+
type BetaJWKSDiscovery,
|
|
9
|
+
type BetaJWKSExplicitURL,
|
|
10
|
+
type BetaJWKSInline,
|
|
11
|
+
type IssuerCreateParams,
|
|
12
|
+
type IssuerRetrieveParams,
|
|
13
|
+
type IssuerUpdateParams,
|
|
14
|
+
type IssuerListParams,
|
|
15
|
+
type IssuerArchiveParams,
|
|
16
|
+
type BetaFederationIssuersPageCursor,
|
|
17
|
+
} from './issuers';
|
|
18
|
+
export {
|
|
19
|
+
Rules,
|
|
20
|
+
type BetaFederationRule,
|
|
21
|
+
type BetaFederationRuleMatch,
|
|
22
|
+
type BetaFederationRuleWorkspace,
|
|
23
|
+
type BetaServiceAccountTarget,
|
|
24
|
+
type RuleCreateParams,
|
|
25
|
+
type RuleRetrieveParams,
|
|
26
|
+
type RuleUpdateParams,
|
|
27
|
+
type RuleListParams,
|
|
28
|
+
type RuleArchiveParams,
|
|
29
|
+
type BetaFederationRuleWorkspacesPageCursor,
|
|
30
|
+
type BetaFederationRulesPageCursor,
|
|
31
|
+
} from './rules/index';
|